{"version":3,"file":"listStyleClassMapper.cjs","sources":["../../../../../../src/components/ui/theme/list/listStyleClassMapper.ts"],"sourcesContent":["import { BaseClassMapper } from \"../common/BaseClassMapper\";\nimport type { CategoryProps } from \"../../props\";\nimport { ListStyleKey } from \"../../props\";\n\nexport class ListStyleClassMapper extends BaseClassMapper implements Record<ListStyleKey, string> {\n  /** Filled bullet — default for unordered lists */\n  listDisc: string = 'list-disc';\n  /** Arabic numerals — default for ordered lists */\n  listDecimal: string = 'list-decimal';\n  /** Hollow circle */\n  listCircle: string = 'list-[circle]';\n  /** Filled square */\n  listSquare: string = 'list-[square]';\n  /** Lowercase letters (a, b, c) */\n  listLowerAlpha: string = 'list-[lower-alpha]';\n  /** Lowercase roman numerals (i, ii, iii) */\n  listLowerRoman: string = 'list-[lower-roman]';\n\n  getClasses(extractedKeys: CategoryProps): string[] {\n    const listStyle = extractedKeys?.listStyle;\n    if (listStyle !== undefined) {\n      return [this[listStyle]];\n    }\n    return [this.listDisc];\n  }\n}\n"],"names":["BaseClassMapper"],"mappings":";;;;AAIO,MAAM,6BAA6BA,+BAAA,CAAwD;AAAA,EAA3F,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEL;AAAA,IAAA,IAAA,CAAA,QAAA,GAAmB,WAAA;AAEnB;AAAA,IAAA,IAAA,CAAA,WAAA,GAAsB,cAAA;AAEtB;AAAA,IAAA,IAAA,CAAA,UAAA,GAAqB,eAAA;AAErB;AAAA,IAAA,IAAA,CAAA,UAAA,GAAqB,eAAA;AAErB;AAAA,IAAA,IAAA,CAAA,cAAA,GAAyB,oBAAA;AAEzB;AAAA,IAAA,IAAA,CAAA,cAAA,GAAyB,oBAAA;AAAA,EAAA;AAAA,EAEzB,WAAW,aAAA,EAAwC;AACjD,IAAA,MAAM,YAAY,aAAA,EAAe,SAAA;AACjC,IAAA,IAAI,cAAc,MAAA,EAAW;AAC3B,MAAA,OAAO,CAAC,IAAA,CAAK,SAAS,CAAC,CAAA;AAAA,IACzB;AACA,IAAA,OAAO,CAAC,KAAK,QAAQ,CAAA;AAAA,EACvB;AACF;;;;"}