@luzmo/analytics-components-kit 1.0.1-alpha.4 → 1.0.1-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/components/async-directive-FGzMycjH-Bgeca09f.js +152 -0
  2. package/components/async-directive-FGzMycjH-CeG35vZ3.cjs +56 -0
  3. package/components/base-BjTwmyRF.cjs +24 -0
  4. package/components/base-D76d76ww-BiajPmzU.cjs +40 -0
  5. package/components/base-D76d76ww-gf0ESLsU.js +45 -0
  6. package/components/base-D76d76ww.js +28 -0
  7. package/components/button-base-CDLQV7Vk-BXgdcJZo.cjs +43 -0
  8. package/{lib/button-base-CtfPWS-P.js → components/button-base-CDLQV7Vk-C_3zTrbV.js} +55 -36
  9. package/components/checkbox-mixin-DXUIwtea-DNISZS47.cjs +45 -0
  10. package/components/checkbox-mixin-DXUIwtea-wiCZr_KI.js +88 -0
  11. package/components/directive-helpers-BLDZnGQv-DYFfxaqA.cjs +80 -0
  12. package/components/directive-helpers-BLDZnGQv-oKMCBvb2.js +115 -0
  13. package/components/display-settings/display-settings.d.ts +70 -0
  14. package/components/display-settings/index.cjs +105 -0
  15. package/components/display-settings/index.d.ts +7 -0
  16. package/components/display-settings/index.js +238 -0
  17. package/components/display-settings-binning/display-settings-binning.d.ts +32 -0
  18. package/components/display-settings-binning/index.cjs +51 -0
  19. package/components/display-settings-binning/index.d.ts +7 -0
  20. package/components/display-settings-binning/index.js +137 -0
  21. package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
  22. package/{lib/draggable-data-item → components/display-settings-datetime}/index.cjs +1 -1
  23. package/components/display-settings-datetime/index.d.ts +7 -0
  24. package/{lib/draggable-data-item → components/display-settings-datetime}/index.js +2 -2
  25. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +30 -0
  26. package/{lib/index-C4ePDYEC.cjs → components/display-settings-grand-totals/index.cjs} +4 -4
  27. package/components/display-settings-grand-totals/index.d.ts +7 -0
  28. package/components/display-settings-grand-totals/index.js +115 -0
  29. package/components/display-settings-numeric/display-settings-numeric.d.ts +73 -0
  30. package/components/display-settings-numeric/helpers/constants.d.ts +17 -0
  31. package/components/display-settings-numeric/index.cjs +146 -0
  32. package/components/display-settings-numeric/index.d.ts +7 -0
  33. package/{lib/index-CM80_HQw.js → components/display-settings-numeric/index.js} +106 -96
  34. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +44 -0
  35. package/components/display-settings-period-over-period/helpers/constants.d.ts +33 -0
  36. package/components/display-settings-period-over-period/index.cjs +103 -0
  37. package/components/display-settings-period-over-period/index.d.ts +7 -0
  38. package/{lib/index-DJp_9h0l.js → components/display-settings-period-over-period/index.js} +104 -123
  39. package/components/divider.module-DwOuLGU3-B19eHVg2.js +40 -0
  40. package/components/divider.module-DwOuLGU3-Bg8RrFkc.cjs +36 -0
  41. package/components/draggable-data-item/draggable-data-item.d.ts +25 -0
  42. package/components/draggable-data-item/index.cjs +55 -0
  43. package/components/draggable-data-item/index.d.ts +7 -0
  44. package/components/draggable-data-item/index.js +140 -0
  45. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +29 -0
  46. package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +2 -0
  47. package/components/draggable-data-item-level/helpers/generate-preview.d.ts +1 -0
  48. package/components/draggable-data-item-level/index.cjs +36 -0
  49. package/components/draggable-data-item-level/index.d.ts +7 -0
  50. package/{lib/index-DrIA0eFE.js → components/draggable-data-item-level/index.js} +137 -236
  51. package/components/droppable-slot/droppable-slot.d.ts +49 -0
  52. package/components/droppable-slot/index.cjs +69 -0
  53. package/components/droppable-slot/index.d.ts +7 -0
  54. package/components/droppable-slot/index.js +255 -0
  55. package/components/droppable-slot/item-slots-configs/area-chart-slots.config.d.ts +44 -0
  56. package/components/droppable-slot/item-slots-configs/bar-chart-slots.config.d.ts +24 -0
  57. package/components/droppable-slot/item-slots-configs/donut-chart-slots.config.d.ts +20 -0
  58. package/components/edit-item/edit-item.d.ts +50 -0
  59. package/components/edit-item/index.cjs +85 -0
  60. package/components/edit-item/index.d.ts +7 -0
  61. package/components/edit-item/index.js +333 -0
  62. package/components/edit-option/edit-option.d.ts +22 -0
  63. package/components/edit-option/helpers/control-markup.d.ts +14 -0
  64. package/components/edit-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
  65. package/components/edit-option/helpers/control-templates/color-picker-template.d.ts +2 -0
  66. package/components/edit-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
  67. package/components/edit-option/helpers/control-templates/number-field-template.d.ts +2 -0
  68. package/components/edit-option/helpers/control-templates/picker-template.d.ts +2 -0
  69. package/components/edit-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
  70. package/components/edit-option/helpers/control-templates/radio-button-group.d.ts +2 -0
  71. package/components/edit-option/helpers/control-templates/slider-template.d.ts +2 -0
  72. package/components/edit-option/helpers/control-templates/switch-template.d.ts +2 -0
  73. package/components/edit-option/helpers/control-templates/text-field-template.d.ts +7 -0
  74. package/components/edit-option/helpers/generate-callback.d.ts +1 -0
  75. package/components/edit-option/helpers/get-control-by-key.d.ts +1 -0
  76. package/components/edit-option/helpers/get-extra-label-values.d.ts +7 -0
  77. package/components/edit-option/helpers/get-value-by-key.d.ts +1 -0
  78. package/components/edit-option/index.cjs +176 -0
  79. package/components/edit-option/index.d.ts +7 -0
  80. package/components/edit-option/index.js +507 -0
  81. package/components/edit-option/item-configs/bar-chart.config.d.ts +108 -0
  82. package/components/edit-option/item-configs/column-chart.config.d.ts +108 -0
  83. package/components/edit-option/item-configs/donut-chart.config.d.ts +102 -0
  84. package/components/edit-option/item-configs/imageobject.config.d.ts +128 -0
  85. package/components/edit-option/item-configs/line-chart.config.d.ts +96 -0
  86. package/components/edit-option/item-configs/textobject.config.d.ts +13 -0
  87. package/components/edit-option/item-translations/bar-chart.en.d.ts +48 -0
  88. package/components/edit-option/item-translations/bar-chart.fr.d.ts +23 -0
  89. package/components/edit-option/item-translations/bar-chart.nl.d.ts +23 -0
  90. package/components/edit-option/item-translations/donut-chart.en.d.ts +64 -0
  91. package/components/edit-option/item-translations/donut-chart.fr.d.ts +18 -0
  92. package/components/edit-option/item-translations/donut-chart.nl.d.ts +18 -0
  93. package/components/edit-option-action-button-group/edit-option-action-button-group.d.ts +27 -0
  94. package/components/edit-option-action-button-group/index.cjs +44 -0
  95. package/components/edit-option-action-button-group/index.d.ts +7 -0
  96. package/components/edit-option-action-button-group/index.js +144 -0
  97. package/components/edit-option-base/edit-option-base.d.ts +22 -0
  98. package/components/edit-option-base-DnrerC_T.cjs +53 -0
  99. package/components/edit-option-base-oIvlolV9.js +120 -0
  100. package/components/edit-option-color-picker/edit-option-color-picker.d.ts +23 -0
  101. package/components/edit-option-color-picker/index.cjs +472 -0
  102. package/components/edit-option-color-picker/index.d.ts +7 -0
  103. package/components/edit-option-color-picker/index.js +2553 -0
  104. package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +15 -0
  105. package/components/edit-option-multi-language-field/index.cjs +31 -0
  106. package/components/edit-option-multi-language-field/index.d.ts +7 -0
  107. package/components/edit-option-multi-language-field/index.js +102 -0
  108. package/components/edit-option-number-field/edit-option-number-field.d.ts +19 -0
  109. package/components/edit-option-number-field/index.cjs +32 -0
  110. package/components/edit-option-number-field/index.d.ts +7 -0
  111. package/components/edit-option-number-field/index.js +115 -0
  112. package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
  113. package/components/edit-option-picker/index.cjs +35 -0
  114. package/components/edit-option-picker/index.d.ts +7 -0
  115. package/components/edit-option-picker/index.js +106 -0
  116. package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +28 -0
  117. package/components/edit-option-positions-number-field/index.cjs +42 -0
  118. package/components/edit-option-positions-number-field/index.d.ts +7 -0
  119. package/components/edit-option-positions-number-field/index.js +170 -0
  120. package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +18 -0
  121. package/components/edit-option-radio-button-group/index.cjs +36 -0
  122. package/components/edit-option-radio-button-group/index.d.ts +7 -0
  123. package/components/edit-option-radio-button-group/index.js +113 -0
  124. package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
  125. package/components/edit-option-slider/index.cjs +48 -0
  126. package/components/edit-option-slider/index.d.ts +7 -0
  127. package/components/edit-option-slider/index.js +1253 -0
  128. package/components/edit-option-switch/edit-option-switch.d.ts +11 -0
  129. package/components/edit-option-switch/index.cjs +50 -0
  130. package/components/edit-option-switch/index.d.ts +7 -0
  131. package/components/edit-option-switch/index.js +171 -0
  132. package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
  133. package/components/edit-option-text-field/index.cjs +31 -0
  134. package/components/edit-option-text-field/index.d.ts +7 -0
  135. package/components/edit-option-text-field/index.js +100 -0
  136. package/components/element-resolution-FCUT-wql--7ctE626.js +163 -0
  137. package/components/element-resolution-FCUT-wql-DSTvdyds.cjs +68 -0
  138. package/{lib/en-CIeY2T5K.js → components/en-BsAhbMzm.js} +101 -102
  139. package/components/en-CdROUdjt.cjs +202 -0
  140. package/{lib/en-GB-BqYHIX1v.cjs → components/en-GB-g8rSQSba.cjs} +1 -1
  141. package/{lib/en-GB-CYx--4nh.js → components/en-GB-qub-Kemt.js} +1 -1
  142. package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
  143. package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
  144. package/{lib/get-css-variable-BHHQ0SnL.js → components/get-css-variable-Bhbr-Kr1.js} +379 -410
  145. package/components/get-css-variable-DLiZYZEi.cjs +24 -0
  146. package/components/if-defined-CYpcjGCb-Bzbg7zmM.cjs +60 -0
  147. package/components/if-defined-CYpcjGCb-tXzyj9Dq.js +95 -0
  148. package/components/if-defined-Ch2dtEOS.js +29 -0
  149. package/components/if-defined-DMSuo5Qx.cjs +24 -0
  150. package/components/index-3ewegRbb.cjs +67 -0
  151. package/components/index-B0cBkCaq.cjs +39 -0
  152. package/components/index-B2N_PZf3.js +164 -0
  153. package/components/index-B2z7i1-X.js +77 -0
  154. package/components/index-B5VaT0lQ.js +145 -0
  155. package/components/index-BC-nmKjU.js +104 -0
  156. package/{lib/droppable-slot/index.js → components/index-BD3VxQBH.js} +18 -4
  157. package/components/index-BGaxFTL4.js +299 -0
  158. package/{lib/index-B9h2L_hV.js → components/index-BRk42NQn.js} +1235 -1112
  159. package/components/index-Bjs6Yqet.cjs +185 -0
  160. package/components/index-Bofs4Q2E.cjs +36 -0
  161. package/components/index-BqTdFs1o.js +77 -0
  162. package/components/index-C2qG2Sm8-BQUlk-w0.js +935 -0
  163. package/components/index-C2qG2Sm8-CbVWlbag.cjs +95 -0
  164. package/components/index-CTPox3yS.cjs +54 -0
  165. package/components/index-C_3Ak4MQ.cjs +59 -0
  166. package/components/index-CayjvyyX.cjs +95 -0
  167. package/components/index-CkDDDzuJ.js +744 -0
  168. package/{lib/progress-circle/index.js → components/index-Cp-lHUlX.js} +53 -20
  169. package/components/index-CtHO6VyI.cjs +42 -0
  170. package/components/index-D4x-O9Uc.cjs +192 -0
  171. package/components/index-D9vzXhtJ.cjs +95 -0
  172. package/components/index-DQiQXn8N.cjs +36 -0
  173. package/{lib/picker/index.js → components/index-DVaeDCbe.js} +22 -6
  174. package/components/index-DskAouD-.js +317 -0
  175. package/{lib/index-CBCm4_7S.js → components/index-DszPbTTD.js} +401 -460
  176. package/{lib/index-Bd4cKS9O.js → components/index-EQldC-LR.js} +67 -47
  177. package/components/index-ON4x-yZ7.cjs +36 -0
  178. package/components/index-gfU9TGd5.cjs +57 -0
  179. package/components/index-liTHhAef.cjs +36 -0
  180. package/components/index.cjs +20 -0
  181. package/components/index.js +74 -0
  182. package/components/language-resolution-8yZa5r_P-CTSmbE1U.js +161 -0
  183. package/components/language-resolution-8yZa5r_P-DQ3rZzW5.cjs +52 -0
  184. package/components/localize-B6AsX_Zv.js +52 -0
  185. package/components/localize-DbobqcKs.cjs +20 -0
  186. package/components/luzmo-icons-BrtBl3E5.cjs +31 -0
  187. package/{lib/index-DdtjeKYI.js → components/luzmo-icons-CZEpXpvy.js} +157 -472
  188. package/components/observe-slot-text-BG0H7bQK-C0wmc4DO.js +221 -0
  189. package/components/observe-slot-text-BG0H7bQK-CrkAqUMj.cjs +86 -0
  190. package/{lib/popover-Bwnkg-5-.js → components/popover-bg0EQQ8p-D4-hrhIx.js} +25 -6
  191. package/components/popover-bg0EQQ8p-Dha09dhV.cjs +48 -0
  192. package/components/property-CD3dwBJC.js +1447 -0
  193. package/components/property-Su1Q6aME.cjs +124 -0
  194. package/components/query-D5qWDopr.cjs +24 -0
  195. package/components/query-Ddbd72Um.js +39 -0
  196. package/components/query-assigned-nodes-C76XVPWY-BcyGjObB.cjs +40 -0
  197. package/components/query-assigned-nodes-C76XVPWY-DPC6kOmH.js +55 -0
  198. package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +36 -0
  199. package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +85 -0
  200. package/components/sized-mixin-PyCYpyQq-B40Ek2UB.js +82 -0
  201. package/components/sized-mixin-PyCYpyQq-sKzDjc75.cjs +36 -0
  202. package/components/slot-menu/index.cjs +55 -0
  203. package/components/slot-menu/index.d.ts +7 -0
  204. package/components/slot-menu/index.js +188 -0
  205. package/components/slot-menu/slot-menu.d.ts +66 -0
  206. package/components/slot-menu-list/index.cjs +39 -0
  207. package/components/slot-menu-list/index.d.ts +7 -0
  208. package/components/slot-menu-list/index.js +351 -0
  209. package/components/slot-menu-list/slot-menu-list.d.ts +33 -0
  210. package/components/state-B1a8XIDm.js +31 -0
  211. package/components/state-ByiKNRhp.cjs +24 -0
  212. package/components/task-BPD0PyaQ.js +120 -0
  213. package/components/task-HFsHfTra.cjs +24 -0
  214. package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +131 -0
  215. package/components/text-field-7ITo3Lac-DqVO04kR.js +412 -0
  216. package/{lib/index-D_KYpfBM.js → components/utils.cjs} +1 -5
  217. package/{lib/droppable-slot/index.cjs → components/utils.js} +1 -1
  218. package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +40 -0
  219. package/components/when-CDK1Tt5Y-C6ViXC43.js +47 -0
  220. package/custom-elements.json +3562 -884
  221. package/index.d.ts +23 -0
  222. package/package.json +132 -17
  223. package/utils/formatter/calculate-duration.d.ts +2 -0
  224. package/utils/formatter/decompose-numeric-format.d.ts +11 -0
  225. package/utils/formatter/default-local-formats.d.ts +20 -0
  226. package/utils/formatter/formats/cs.d.ts +20 -0
  227. package/utils/formatter/formats/da.d.ts +20 -0
  228. package/utils/formatter/formats/de.d.ts +21 -0
  229. package/utils/formatter/formats/en-GB.d.ts +21 -0
  230. package/utils/formatter/formats/en-US.d.ts +1 -0
  231. package/utils/formatter/formats/en.d.ts +1 -0
  232. package/utils/formatter/formats/es.d.ts +54 -0
  233. package/utils/formatter/formats/fi.d.ts +20 -0
  234. package/utils/formatter/formats/fr.d.ts +54 -0
  235. package/utils/formatter/formats/he.d.ts +20 -0
  236. package/utils/formatter/formats/hu.d.ts +20 -0
  237. package/utils/formatter/formats/it.d.ts +54 -0
  238. package/utils/formatter/formats/ja.d.ts +20 -0
  239. package/utils/formatter/formats/ko.d.ts +20 -0
  240. package/utils/formatter/formats/mk.d.ts +20 -0
  241. package/utils/formatter/formats/nl.d.ts +21 -0
  242. package/utils/formatter/formats/no.d.ts +21 -0
  243. package/utils/formatter/formats/pl.d.ts +20 -0
  244. package/utils/formatter/formats/pt.d.ts +20 -0
  245. package/utils/formatter/formats/ru.d.ts +20 -0
  246. package/utils/formatter/formats/sv.d.ts +20 -0
  247. package/utils/formatter/formats/tr.d.ts +21 -0
  248. package/utils/formatter/formats/zh-CN.d.ts +20 -0
  249. package/utils/formatter/formats/zh-TW.d.ts +20 -0
  250. package/utils/formatter/formatter.d.ts +9 -0
  251. package/utils/formatter/localize.d.ts +3 -0
  252. package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  253. package/utils/get-css-variable.d.ts +1 -0
  254. package/utils/index.d.ts +1 -0
  255. package/utils/time/formats.const.d.ts +8 -0
  256. package/utils/time/periods.const.d.ts +29 -0
  257. package/utils/types/column.types.d.ts +56 -0
  258. package/utils/types/type-check.d.ts +7 -0
  259. package/lib/async-directive-CPjMHOPu.cjs +0 -24
  260. package/lib/async-directive-SCUUQ3Mh.js +0 -114
  261. package/lib/button-base-B4PdJFVe.cjs +0 -27
  262. package/lib/directive-helpers-BSB0tfc9.cjs +0 -32
  263. package/lib/directive-helpers-eY1rHtyn.js +0 -154
  264. package/lib/divider.module-BW8qaMVq.js +0 -211
  265. package/lib/divider.module-DEy88Ieh.cjs +0 -20
  266. package/lib/en-BDBzmAXX.cjs +0 -202
  267. package/lib/get-css-variable-D439CdH9.cjs +0 -24
  268. package/lib/if-defined-BbzmSG-O.js +0 -757
  269. package/lib/if-defined-V7yEJWI3.cjs +0 -54
  270. package/lib/index-0314DjEl.cjs +0 -20
  271. package/lib/index-BDXFsKUM.cjs +0 -146
  272. package/lib/index-BmAD29P2.js +0 -106
  273. package/lib/index-Bo1DpZ-1.cjs +0 -58
  274. package/lib/index-C9xEN5Ji.js +0 -82
  275. package/lib/index-CcF-9wyF.cjs +0 -71
  276. package/lib/index-CfEm5P0J.cjs +0 -196
  277. package/lib/index-CrWoFMZ3.cjs +0 -22
  278. package/lib/index-CtEJZdT0.js +0 -1627
  279. package/lib/index-CvX-HLY1.cjs +0 -322
  280. package/lib/index-D37RwuEH.js +0 -1584
  281. package/lib/index-D5puKlcm.cjs +0 -96
  282. package/lib/index-DGz6jCKo.cjs +0 -26
  283. package/lib/index-DSbgZduE.js +0 -501
  284. package/lib/index-Dj7PF4Q9.cjs +0 -63
  285. package/lib/index-Dq3HAOaM.js +0 -127
  286. package/lib/index-jt6FL_uE.cjs +0 -20
  287. package/lib/index-kJR406YZ.cjs +0 -112
  288. package/lib/index-v8ZTprPO.cjs +0 -51
  289. package/lib/index.cjs +0 -875
  290. package/lib/index.js +0 -6411
  291. package/lib/observe-slot-text-DOYmGOZe.js +0 -181
  292. package/lib/observe-slot-text-oJ0a2KY9.cjs +0 -42
  293. package/lib/picker/index.cjs +0 -20
  294. package/lib/popover-CQGN8nbX.cjs +0 -32
  295. package/lib/progress-circle/index.cjs +0 -35
  296. /package/{lib → components}/area-chart-slots.config-BLxiYX05.cjs +0 -0
  297. /package/{lib → components}/area-chart-slots.config-C0c2ZzBh.js +0 -0
  298. /package/{lib → components}/bar-chart-slots.config-GSSL7XVA.js +0 -0
  299. /package/{lib → components}/bar-chart-slots.config-Jx1PveTM.cjs +0 -0
  300. /package/{lib → components}/bar-chart.config-B57geUzJ.cjs +0 -0
  301. /package/{lib → components}/bar-chart.config-CQ6HAvs2.js +0 -0
  302. /package/{lib → components}/bar-chart.en-BqYbiHO3.cjs +0 -0
  303. /package/{lib → components}/bar-chart.en-FwT00qdU.js +0 -0
  304. /package/{lib → components}/bar-chart.fr-DGx9smEh.cjs +0 -0
  305. /package/{lib → components}/bar-chart.fr-DbxKiM0j.js +0 -0
  306. /package/{lib → components}/bar-chart.nl-BYzVExsz.cjs +0 -0
  307. /package/{lib → components}/bar-chart.nl-ahX1ARpH.js +0 -0
  308. /package/{lib → components}/column-chart.config-B57geUzJ.cjs +0 -0
  309. /package/{lib → components}/column-chart.config-C9hP0kX7.js +0 -0
  310. /package/{lib → components}/cs-DVZ0Tapy.js +0 -0
  311. /package/{lib → components}/cs-I9E81keK.cjs +0 -0
  312. /package/{lib → components}/da-DHy05oSR.js +0 -0
  313. /package/{lib → components}/da-QkdvupDg.cjs +0 -0
  314. /package/{lib → components}/de-Dn5mUzha.cjs +0 -0
  315. /package/{lib → components}/de-iM39JlAt.js +0 -0
  316. /package/{lib → components}/decompose-numeric-format-B3rVVHpO.cjs +0 -0
  317. /package/{lib → components}/decompose-numeric-format-BuZcjH2k.js +0 -0
  318. /package/{lib → components}/donut-chart-slots.config-BEwhfq27.js +0 -0
  319. /package/{lib → components}/donut-chart-slots.config-DIp-24lO.cjs +0 -0
  320. /package/{lib → components}/donut-chart.config-3DhKiSSM.js +0 -0
  321. /package/{lib → components}/donut-chart.config-DLWJUlHx.cjs +0 -0
  322. /package/{lib → components}/donut-chart.en-Blb9oSdU.cjs +0 -0
  323. /package/{lib → components}/donut-chart.en-CzjT4-XN.js +0 -0
  324. /package/{lib → components}/donut-chart.fr-BeTVa2wh.cjs +0 -0
  325. /package/{lib → components}/donut-chart.fr-DftPrKbG.js +0 -0
  326. /package/{lib → components}/donut-chart.nl-D9YGbOce.cjs +0 -0
  327. /package/{lib → components}/donut-chart.nl-NMatXfhK.js +0 -0
  328. /package/{lib → components}/es-CwyPlN5d.cjs +0 -0
  329. /package/{lib → components}/es-KhTq4jX8.js +0 -0
  330. /package/{lib → components}/fi-Dh_ebgpe.js +0 -0
  331. /package/{lib → components}/fi-rijeZE5V.cjs +0 -0
  332. /package/{lib → components}/fr-BcgE-6S_.cjs +0 -0
  333. /package/{lib → components}/fr-CU727YF1.js +0 -0
  334. /package/{lib → components}/he-Au3xg6lR.js +0 -0
  335. /package/{lib → components}/he-O6Ih8Bqh.cjs +0 -0
  336. /package/{lib → components}/hu-BnZ8y3xQ.cjs +0 -0
  337. /package/{lib → components}/hu-DNJ-P_MW.js +0 -0
  338. /package/{lib → components}/imageobject.config-B7ld9bj3.cjs +0 -0
  339. /package/{lib → components}/imageobject.config-DZLp9Elq.js +0 -0
  340. /package/{lib → components}/it-Bh5U73z6.js +0 -0
  341. /package/{lib → components}/it-PshtLMkq.cjs +0 -0
  342. /package/{lib → components}/ja-CCcHUL61.js +0 -0
  343. /package/{lib → components}/ja-KIS2HdaG.cjs +0 -0
  344. /package/{lib → components}/ko--l4qmjLV.cjs +0 -0
  345. /package/{lib → components}/ko-DhapsZMM.js +0 -0
  346. /package/{lib → components}/line-chart.config-BZcvfO2c.cjs +0 -0
  347. /package/{lib → components}/line-chart.config-CIVN6uLI.js +0 -0
  348. /package/{lib → components}/mk-B9HPSuKa.js +0 -0
  349. /package/{lib → components}/mk-DZlj-edb.cjs +0 -0
  350. /package/{lib → components}/nl-BKlDqOXb.cjs +0 -0
  351. /package/{lib → components}/nl-BwSt5Bf4.js +0 -0
  352. /package/{lib → components}/no-D-DofYnx.js +0 -0
  353. /package/{lib → components}/no-D_SzxhTu.cjs +0 -0
  354. /package/{lib → components}/pl-D_L_0Boq.js +0 -0
  355. /package/{lib → components}/pl-PIK23rK_.cjs +0 -0
  356. /package/{lib → components}/pt-B0BBS5VB.js +0 -0
  357. /package/{lib → components}/pt-Dqlu4MS5.cjs +0 -0
  358. /package/{lib → components}/ru-Vo-m3O_2.js +0 -0
  359. /package/{lib → components}/ru-zyNDTB04.cjs +0 -0
  360. /package/{lib → components}/sv-1DPTltNQ.cjs +0 -0
  361. /package/{lib → components}/sv-CiozMaev.js +0 -0
  362. /package/{lib → components}/textobject.config-C8opcGG4.js +0 -0
  363. /package/{lib → components}/textobject.config-DbAajFz8.cjs +0 -0
  364. /package/{lib → components}/tr-BkmWvOG2.cjs +0 -0
  365. /package/{lib → components}/tr-D_D4i5iv.js +0 -0
  366. /package/{lib → components}/zh-CN-DTZ4OmdP.cjs +0 -0
  367. /package/{lib → components}/zh-CN-wsl7eFSd.js +0 -0
  368. /package/{lib → components}/zh-TW-DTZ4OmdP.cjs +0 -0
  369. /package/{lib → components}/zh-TW-wsl7eFSd.js +0 -0
@@ -0,0 +1,131 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";const t=require("./property-Su1Q6aME.cjs"),d=require("./directive-helpers-BLDZnGQv-DYFfxaqA.cjs"),a=require("./if-defined-CYpcjGCb-Bzbg7zmM.cjs"),c=require("./luzmo-icons-BrtBl3E5.cjs"),f=require("./sized-mixin-PyCYpyQq-sKzDjc75.cjs"),p=require("./element-resolution-FCUT-wql-DSTvdyds.cjs");/*! * Lucero - The design system for Luzmo.
21
+ *
22
+ * Copyright © 2025 Luzmo
23
+ * All rights reserved.
24
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
25
+ * This license allows users with a current active Luzmo account to use Lucero.
26
+ * This license terminates automatically if a user no longer has an active Luzmo account.
27
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
28
+ *
29
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
+ * SOFTWARE.
36
+ * */class m{constructor(e,{mode:i}={mode:"internal"}){this.mode="internal",this.handleSlotchange=({target:n})=>{this.handleHelpText(n),this.handleNegativeHelpText(n)},this.host=e,this.id=`luzmo-help-text-${p.n()}`,this.mode=i}get isInternal(){return this.mode==="internal"}render(e){return t.x`
37
+ <div
38
+ id=${a.m(this.isInternal?this.id:void 0)}
39
+ aria-live="assertive"
40
+ >
41
+ <slot
42
+ name=${e?"negative-help-text":`pass-through-help-text-${p.n()}`}
43
+ @slotchange=${this.handleSlotchange}
44
+ >
45
+ <slot name="help-text"></slot>
46
+ </slot>
47
+ </div>
48
+ `}addId(){const e=this.helpTextElement?this.helpTextElement.id:this.id;this.conditionId=p.u(this.host,"aria-describedby",e),this.host.hasAttribute("tabindex")&&(this.previousTabindex=Number.parseFloat(this.host.getAttribute("tabindex"))),this.host.tabIndex=0}removeId(){this.conditionId&&(this.conditionId(),delete this.conditionId),!this.helpTextElement&&(this.previousTabindex?this.host.tabIndex=this.previousTabindex:this.host.removeAttribute("tabindex"))}handleHelpText(e){if(this.isInternal)return;this.helpTextElement&&this.helpTextElement.id===this.id&&this.helpTextElement.removeAttribute("id"),this.removeId();const i=e.assignedElements()[0];this.helpTextElement=i,i&&(i.id||(i.id=this.id),this.addId())}handleNegativeHelpText(e){e.name==="negative-help-text"&&e.assignedElements().forEach(i=>i.variant="negative")}}function x(r,{mode:e}={mode:"internal"}){class i extends r{constructor(){super(...arguments),this.helpTextManager=new m(this,{mode:e})}get helpTextId(){return this.helpTextManager.id}renderHelpText(s){return this.helpTextManager.render(s)}}return i}/*! * Lucero - The design system for Luzmo.
49
+ *
50
+ * Copyright © 2025 Luzmo
51
+ * All rights reserved.
52
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
53
+ * This license allows users with a current active Luzmo account to use Lucero.
54
+ * This license terminates automatically if a user no longer has an active Luzmo account.
55
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
56
+ *
57
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
58
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
63
+ * SOFTWARE.
64
+ * *//**
65
+ * @license
66
+ * Copyright 2020 Google LLC
67
+ * SPDX-License-Identifier: BSD-3-Clause
68
+ */const g=d._(class extends d.${constructor(r){if(super(r),r.type!==d.s.PROPERTY&&r.type!==d.s.ATTRIBUTE&&r.type!==d.s.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!d.r(r))throw Error("`live` bindings can only contain a single expression")}render(r){return r}update(r,[e]){if(e===t.H$1||e===t.A)return e;const i=r.element,n=r.name;if(r.type===d.s.PROPERTY){if(e===i[n])return t.H$1}else if(r.type===d.s.BOOLEAN_ATTRIBUTE){if(!!e===i.hasAttribute(n))return t.H$1}else if(r.type===d.s.ATTRIBUTE&&i.getAttribute(n)===e+"")return t.H$1;return d.f(r),e}}),b='#text-field{--luzmo-text-field-input-line-height: var( --luzmo-text-field-height, var(--text-field-height) );text-overflow:ellipsis;inline-size:var(--luzmo-text-field-width, 240px);grid-template-rows:auto auto auto;grid-template-columns:auto auto;margin:0;display:inline-grid;position:relative;overflow:visible}:host([quiet]) #text-field:after{content:"";pointer-events:none;inline-size:100%;block-size:var(--luzmo-text-field-focus-indicator-width, 2px);position:absolute;inset-block-end:calc((var(--luzmo-text-field-focus-indicator-gap, 2px) + var(--luzmo-text-field-focus-indicator-width, 2px)) * -1);inset-inline-start:0}:host([quiet][focused]) #text-field:after{background-color:var(--highcontrast-text-field-focus-indicator-color, var(--luzmo-text-field-focus-indicator-color, var(--luzmo-color-informative)))}:host([quiet][invalid]) #text-field .input{padding-inline-end:calc(var(--luzmo-text-field-icon-spacing-inline-start-invalid, var(--text-field-icon-spacing-inline-start-invalid)) + var(--luzmo-text-field-icon-size-invalid, var(--text-field-icon-size-invalid)))}:host([quiet][valid]) #text-field .input{padding-inline-end:calc(var(--luzmo-text-field-icon-spacing-inline-start-valid, var(--text-field-icon-spacing-inline-start-valid)) + var(--luzmo-text-field-icon-size-valid, var(--text-field-icon-size-valid)))}:host([invalid]) #text-field .icon,:host([valid]) #text-field .icon{pointer-events:all;grid-area:2/2;margin-inline-start:auto;position:absolute;inset-block-start:0;display:flex;align-items:center;justify-content:center}#text-field.luzmo-text-field--sideLabel .icon{grid-area:1/2/span 1/span 1}:host([valid]) #text-field .icon{font-size:var(--luzmo-text-field-icon-size-valid, var(--text-field-icon-size-valid));color:var(--highcontrast-text-field-icon-color-valid, var(--luzmo-text-field-icon-color-valid, var(--luzmo-color-positive)));inset-block-start:var(--luzmo-text-field-icon-spacing-block-valid, var(--text-field-icon-spacing-block-valid));inset-block-end:var(--luzmo-text-field-icon-spacing-block-valid, var(--text-field-icon-spacing-block-valid));inset-inline-end:var(--luzmo-text-field-icon-spacing-inline-end-valid, var(--text-field-icon-spacing-inline-end-valid))}:host([invalid]) #text-field .icon{font-size:var(--luzmo-text-field-icon-size-invalid, var(--text-field-icon-size-invalid));color:var(--highcontrast-text-field-icon-color-invalid, var(--luzmo-text-field-icon-color-invalid, var(--luzmo-color-negative)));inset-block-start:var(--luzmo-text-field-icon-spacing-block-invalid, var(--text-field-icon-spacing-block-invalid));inset-block-end:var(--luzmo-text-field-icon-spacing-block-invalid, var(--text-field-icon-spacing-block-invalid));inset-inline-end:var(--luzmo-text-field-icon-spacing-inline-end-invalid, var(--text-field-icon-spacing-inline-end-invalid))}:host([disabled]) #text-field .icon,:host([readonly]) #text-field .icon{color:#0000}:host([quiet]) .icon{padding-inline-end:0}:host([quiet][valid]) .icon{inset-inline-end:var(--luzmo-text-field-icon-spacing-inline-end-quiet-valid, 0px)}:host([quiet][invalid]) .icon{inset-inline-end:var(--luzmo-text-field-icon-spacing-inline-end-quiet-invalid, 0px)}#text-field .luzmo-field-label{grid-area:1/1/auto/span 1;margin-block-end:var(--luzmo-text-field-label-spacing-block, 0px)}:host([quiet]) .luzmo-field-label{margin-block-end:var(--luzmo-text-field-label-spacing-block-quiet, var(--text-field-label-spacing-block-quiet))}:host([disabled]) .luzmo-field-label{color:var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled))}#text-field .luzmo-help-text{grid-area:3/1/auto/span 2;margin-block-start:var(--luzmo-text-field-helptext-spacing-block, 0px)}.luzmo-text-field-characterCount{inline-size:auto;font-size:var(--luzmo-text-field-character-count-font-size, var(--text-field-character-count-font-size));font-family:var(--luzmo-text-field-character-count-font-family, var(--luzmo-font-family));font-weight:var(--luzmo-text-field-character-count-font-weight, var(--luzmo-font-weight));grid-area:1/2/auto/span 1;justify-content:flex-end;align-items:flex-end;margin-block-end:var(--luzmo-text-field-character-count-spacing-block, var(--text-field-character-count-spacing-block));margin-inline-start:var(--luzmo-text-field-character-count-spacing-inline, 12px);margin-inline-end:0;padding-inline-end:calc(var(--luzmo-text-field-corner-radius, var(--luzmo-border-radius)) / 2);display:inline-flex}:host([quiet]) .luzmo-text-field-characterCount{margin-block-end:var(--luzmo-text-field-character-count-spacing-block-quiet, var(--text-field-character-count-spacing-block-quiet))}.input{text-align:var(--luzmo-text-field-text-align, start);line-height:var(--luzmo-text-field-input-line-height);box-sizing:border-box;inline-size:100%;min-inline-size:var(--luzmo-text-field-min-width, 1.5);block-size:var(--luzmo-text-field-height, var(--text-field-height));padding-block-start:calc(var(--luzmo-text-field-spacing-block-start, var(--luzmo-spacing-3)) - var(--luzmo-text-field-border-width, var(--luzmo-border-width)));padding-block-end:calc(var(--luzmo-text-field-spacing-block-end, var(--luzmo-spacing-3)) - var(--luzmo-text-field-border-width, var(--luzmo-border-width)));padding-inline:calc(var(--luzmo-text-field-spacing-inline, var(--text-field-spacing-inline)) - var(--luzmo-text-field-border-width, var(--luzmo-border-width)));vertical-align:top;background-color:var(--luzmo-text-field-background-color, var(--luzmo-background-color));border-color:var(--highcontrast-text-field-border-color, var(--luzmo-text-field-border-color, var(--luzmo-border-color)));border-style:solid;border-width:var(--luzmo-text-field-border-width, var(--luzmo-border-width));border-radius:var(--luzmo-text-field-corner-radius, var(--luzmo-border-radius));transition:border-color var(--luzmo-text-field-animation-duration, var(--luzmo-animation-duration)) ease-in-out;font-size:var(--luzmo-text-field-placeholder-font-size, var(--text-field-placeholder-font-size));font-family:var(--luzmo-text-field-font-family, var(--luzmo-font-family));font-weight:var(--luzmo-text-field-font-weight, var(--luzmo-font-weight));color:var(--highcontrast-text-field-text-color-default, var(--luzmo-text-field-text-color-default, var(--luzmo-font-color)));text-overflow:ellipsis;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;grid-area:2/1/auto/span 2;margin:0}:host([type=number]) .input{-moz-appearance:text-field}:host([type=number]) .input::-webkit-inner-spin-button,:host([type=number]) .input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.input:-moz-ui-invalid{box-shadow:none}.input::placeholder{opacity:1;font-size:var(--luzmo-text-field-placeholder-font-size, var(--text-field-placeholder-font-size));font-family:var(--luzmo-text-field-font-family, var(--luzmo-font-family));font-weight:var(--luzmo-text-field-font-weight, var(--luzmo-font-weight));color:var(--highcontrast-text-field-text-color-default, var(--luzmo-text-field-placeholder-text-color-default, var(--luzmo-font-color-disabled)));transition:color var(--luzmo-text-field-animation-duration, var(--luzmo-animation-duration)) ease-in-out}.input:lang(ja)::placeholder,.input:lang(ko)::placeholder,.input:lang(zh)::placeholder{font-style:normal}:host([focused]) .input,.input:focus{border-color:var(--highcontrast-text-field-border-color-focus, var(--luzmo-text-field-border-color-focus, var(--luzmo-primary)));color:var(--highcontrast-text-field-text-color-focus, var(--luzmo-text-field-text-color-focus, var(--luzmo-font-color-hard)))}:host([focused]) .input::placeholder,.input:focus::placeholder{color:var(--highcontrast-text-field-text-color-focus, var(--luzmo-text-field-placeholder-text-color-focus, var(--luzmo-color-disabled)))}:host([focused]) .input{border-color:var(--highcontrast-text-field-border-color-keyboard-focus, var(--luzmo-text-field-border-color-keyboard-focus, var(--luzmo-primary)));outline:var(--luzmo-text-field-focus-indicator-width, 0) solid;outline-color:var(--highcontrast-text-field-focus-indicator-color, var(--luzmo-text-field-focus-indicator-color, var(--luzmo-color-informative)));outline-offset:var(--luzmo-text-field-focus-indicator-gap, 2px);color:var(--highcontrast-text-field-text-color-keyboard-focus, var(--luzmo-text-field-text-color-keyboard-focus, var(--luzmo-font-color-hard)))}:host([focused]) .input::placeholder{color:var(--highcontrast-text-field-text-color-keyboard-focus, var(--luzmo-text-field-placeholder-text-color-keyboard-focus, var(--luzmo-color-disabled)))}:host([valid]) .input{color:var(--highcontrast-text-field-text-color-valid, var(--luzmo-text-field-text-color-valid, var(--luzmo-font-color)));padding-inline-end:calc(var(--luzmo-text-field-icon-spacing-inline-start-valid, var(--text-field-icon-spacing-inline-start-valid)) + var(--luzmo-text-field-icon-size-valid, var(--text-field-icon-size-valid)) + var(--luzmo-text-field-icon-spacing-inline-end-valid, var(--text-field-icon-spacing-inline-end-valid)) - var(--luzmo-text-field-border-width, var(--luzmo-border-width)))}:host([invalid]) .input{color:var(--highcontrast-text-field-text-color-invalid, var(--luzmo-text-field-text-color-invalid, var(--luzmo-font-color)));border-color:var(--highcontrast-text-field-border-color-invalid-default, var(--luzmo-text-field-border-color-invalid-default, var(luzmo-danger-color)));padding-inline-end:calc(var(--luzmo-text-field-icon-spacing-inline-start-invalid, var(--text-field-icon-spacing-inline-start-invalid)) + var(--luzmo-text-field-icon-size-invalid, var(--text-field-icon-size-invalid)) + var(--luzmo-text-field-icon-spacing-inline-end-invalid, var(--text-field-icon-spacing-inline-end-invalid)) - var(--luzmo-text-field-border-width, var(--luzmo-border-width)))}:host([invalid]) .input:focus,:host([invalid][focused]) .input,:host([invalid]:focus) .input{border-color:var(--highcontrast-text-field-border-color-invalid-focus, var(--luzmo-text-field-border-color-invalid-focus, var(luzmo-danger-color)))}:host([invalid]) .input:focus-visible,:host([invalid][focused]) .input{border-color:var(--highcontrast-text-field-border-color-invalid-keyboard-focus, var(--luzmo-text-field-border-color-invalid-keyboard-focus, var(luzmo-danger-color)))}.input:disabled,:host([disabled]) #text-field .input{background-color:var(--luzmo-text-field-background-color-disabled, var(--luzmo-background-color-disabled));resize:none;opacity:1;border-color:#0000}.input:disabled,.input:disabled::placeholder,:host([disabled]) #text-field .input,:host([disabled]) #text-field .input::placeholder{color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled)))}:host([border=none]) .input{border-width:0;outline:none}:host([quiet]) .input{padding-block-start:var(--luzmo-text-field-spacing-block-start, var(--luzmo-spacing-2));padding-inline:var(--luzmo-text-field-spacing-inline-quiet, 0px);background-color:initial;resize:none;border-block-start-width:0;border-inline-width:0;border-radius:0;outline:none;margin-block-end:var(--luzmo-text-field-spacing-block-quiet, 0px);overflow-y:hidden}:host([quiet][disabled]) .input,.input:disabled{background-color:initial;border-color:var(--luzmo-text-field-border-color-disabled, var(--luzmo-border-color-disabled))}:host([quiet][disabled]) .input,:host([quiet][disabled]) .input::placeholder,.input:disabled,.input:disabled::placeholder{color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-color-disabled)))}.input:read-only,:host([readonly]) #text-field .input{background-color:initial;color:var(--highcontrast-text-field-text-color-readonly, var(--luzmo-text-field-text-color-readonly, var(--luzmo-font-color)));border-color:#0000;outline:none}.input:read-only::placeholder,:host([readonly]) #text-field .input::placeholder{color:var(--highcontrast-text-field-text-color-readonly, var(--luzmo-text-field-text-color-readonly, var(--luzmo-color-disabled)));background-color:initial}@media (hover: hover){.input:hover,#text-field:hover .input{border-color:var(--highcontrast-text-field-border-color-hover, var(--luzmo-text-field-border-color-hover, rgba(var(--luzmo-primary-rgb), .3)))}.input:hover,#text-field:hover .input{color:var(--highcontrast-text-field-text-color-hover, var(--luzmo-text-field-text-color-hover, var(--luzmo-font-color-hard)))}.input:hover::placeholder,#text-field:hover .input::placeholder{color:var(--highcontrast-text-field-text-color-hover, var(--luzmo-text-field-placeholder-text-color-hover, var(--luzmo-color-disabled)))}:host([focused]) .input:hover,:host([focused]) #text-field:hover .input,.input:focus:hover{border-color:var(--highcontrast-text-field-border-color-focus-hover, var(--luzmo-text-field-border-color-focus-hover, var(--luzmo-primary)))}:host([focused]) .input:hover,.input:focus:hover{color:var(--highcontrast-text-field-text-color-focus-hover, var(--luzmo-text-field-text-color-focus-hover, var(--luzmo-font-color-hard)))}:host([focused]) .input:hover::placeholder,.input:focus:hover::placeholder{color:var(--highcontrast-text-field-text-color-focus-hover, var(--luzmo-text-field-placeholder-text-color-focus-hover, var(--luzmo-color-disabled)))}:host([invalid]) .input:hover:not(.is-disabled),:host([invalid]:hover):not(.is-disabled) .input{border-color:var(--highcontrast-text-field-border-color-invalid-hover, var(--luzmo-text-field-border-color-invalid-hover, var(luzmo-danger-color)))}:host([invalid]) .input:focus:hover,:host([invalid][focused]) .input:hover,:host([invalid]:focus) .input:hover{border-color:var(--highcontrast-text-field-border-color-invalid-focus-hover, var(--luzmo-text-field-border-color-invalid-focus-hover, var(luzmo-danger-color)))}:host([disabled]) #text-field:hover .input{background-color:var(--luzmo-text-field-background-color-disabled, var(--luzmo-background-color-disabled));resize:none;opacity:1;border-color:#0000}:host([quiet][disabled]:hover) .input,:host([disabled]) #text-field:hover .input,:host([disabled]) #text-field:hover .input::placeholder{color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled)))}:host([quiet][disabled]:hover) .input{background-color:initial;border-color:var(--luzmo-text-field-border-color-disabled, var(--luzmo-border-color-disabled))}:host([quiet][disabled]:hover) .input::placeholder{color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled)))}:host([readonly]) #text-field:hover .input{border-color:#0000;outline:none}:host([readonly]) #text-field:hover .input,:host([readonly]) #text-field:hover .input::placeholder{background-color:initial;color:var(--highcontrast-text-field-text-color-readonly, var(--luzmo-text-field-text-color-readonly, var(--luzmo-font-color)))}}.luzmo-text-field--sideLabel{grid-template-rows:auto auto;grid-template-columns:auto auto auto}.luzmo-text-field--sideLabel:after{grid-area:1/2/span 1/span 1}.luzmo-text-field--sideLabel .luzmo-field-label{grid-area:1/1/span 2/span 1;margin-inline-end:var(--luzmo-text-field-label-spacing-inline-side-label, var(--text-field-label-spacing-inline-side-label))}.luzmo-text-field--sideLabel .luzmo-text-field-characterCount{grid-area:1/3/auto/span 1;align-items:flex-start;margin-block-start:var(--luzmo-text-field-character-count-spacing-block-side, var(--text-field-character-count-spacing-block-side));margin-inline-start:var(--luzmo-text-field-character-count-spacing-inline-side, 12px)}.luzmo-text-field--sideLabel .luzmo-help-text{grid-area:2/2/auto/span 1}.luzmo-text-field--sideLabel .input,.luzmo-text-field--sideLabel .icon{grid-area:1/2/span 1/span 1}:host([multiline]){--luzmo-text-field-input-line-height: normal}:host([multiline]) .input{min-inline-size:var(--luzmo-text-area-min-inline-size, 112px);min-block-size:var(--luzmo-text-area-min-block-size, 56px);resize:inherit}:host([multiline][grows]) .input{grid-row:2}:host([multiline][grows]) .luzmo-text-field--sideLabel .input{grid-row:1}:host([multiline][quiet]) .input{min-block-size:var(--luzmo-text-area-min-block-size-quiet, var(--text-area-min-block-size-quiet));resize:none;overflow-y:hidden}@media (forced-colors: active){:host{--highcontrast-text-field-border-color-hover: Highlight;--highcontrast-text-field-border-color-focus: Highlight;--highcontrast-text-field-border-color-keyboard-focus: CanvasText;--highcontrast-text-field-focus-indicator-color: Highlight;--highcontrast-text-field-border-color-invalid-default: Highlight;--highcontrast-text-field-border-color-invalid-hover: Highlight;--highcontrast-text-field-border-color-invalid-focus: Highlight;--highcontrast-text-field-border-color-invalid-keyboard-focus: Highlight;--highcontrast-text-field-text-color-valid: CanvasText;--highcontrast-text-field-text-color-invalid: CanvasText}#text-field .input{--highcontrast-text-field-text-color-default: CanvasText;--highcontrast-text-field-text-color-hover: CanvasText;--highcontrast-text-field-text-color-keyboard-focus: CanvasText;--highcontrast-text-field-text-color-disabled: GrayText;--highcontrast-text-field-text-color-readonly: CanvasText}#text-field .input::placeholder{--highcontrast-text-field-text-color-default: GrayText;--highcontrast-text-field-text-color-hover: GrayText;--highcontrast-text-field-text-color-keyboard-focus: GrayText;--highcontrast-text-field-text-color-disabled: GrayText;--highcontrast-text-field-text-color-readonly: CanvasText}}:host{display:inline-flex;flex-direction:column;inline-size:var(--luzmo-text-field-width, 240px)}:host([multiline]){resize:both}:host([multiline][readonly]){resize:none}:host([disabled]:focus-visible){outline:none}#text-field{inline-size:100%}#text-field,textarea{resize:inherit}.input{min-inline-size:var(--luzmo-text-field-min-width, 1.5)}:host([focused]) .input{caret-color:var(--swc-test-caret-color);forced-color-adjust:var(--swc-test-forced-color-adjust)}#sizer{block-size:auto;word-break:break-word;opacity:0;white-space:pre-line}.icon,.icon-workflow{pointer-events:none}:host([multiline]) #text-field{display:inline-grid;--luzmo-text-field-input-line-height: normal}:host([multiline]) textarea{transition:box-shadow var(--luzmo-animation-duration) ease-in-out,border-color var(--luzmo-animation-duration) ease-in-out}:host([multiline]:not([quiet])) #text-field:after{box-shadow:none}:host([multiline][rows]) .input{block-size:auto;resize:none}:host([multiline][rows="1"]) .input{min-block-size:auto}:host([disabled][quiet]) #text-field .input,:host([disabled][quiet]) #text-field:hover .input,:host([quiet]) .input :disabled{background-color:#0000;border-color:var(--luzmo-text-field-border-color-disabled, var(--luzmo-border-color-disabled));color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled)))}:host([disabled]) #text-field .icon.icon-search,:host([readonly]) #text-field .icon.icon-search{color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled)))}:host([multiline][grows]:not([quiet])) #text-field:after{grid-area:unset;min-block-size:calc(var(--luzmo-text-area-min-block-size, var(--luzmo-text-area-min-block-size)) + var(--luzmo-text-field-focus-indicator-gap, 2px) * 2)}:host([multiline][grows]:not([rows])) .input:not(#sizer){position:absolute;top:0;left:0;height:100%;resize:none;overflow:hidden}:host{--text-field-height: var(--luzmo-component-height);--text-field-label-spacing-block-quiet: -8px;--text-field-label-spacing-inline-side-label: 12px;--text-field-placeholder-font-size: 14px;--text-field-spacing-inline: 12px;--text-field-icon-size-invalid: 18px;--text-field-icon-size-valid: 10px;--text-field-icon-spacing-inline-end-invalid: 12px;--text-field-icon-spacing-inline-end-valid: 15px;--text-field-icon-spacing-block-invalid: 7px;--text-field-icon-spacing-block-valid: 4px;--text-field-icon-spacing-inline-start-invalid: var(--luzmo-spacing-4);--text-field-icon-spacing-inline-start-valid: var(--luzmo-spacing-4);--text-field-character-count-font-size: var(--luzmo-font-size-s);--text-field-character-count-spacing-block: 5px;--text-field-character-count-spacing-block-quiet: -3px;--text-field-character-count-spacing-block-side: 8px;--text-area-min-block-size-quiet: var(--luzmo-component-height)}:host([size=s]){--text-field-height: var(--luzmo-component-height-s);--text-field-label-spacing-block-quiet: -8px;--text-field-label-spacing-inline-side-label: 8px;--text-field-placeholder-font-size: 12px;--text-field-spacing-inline: 9px;--text-field-icon-size-invalid: 16px;--text-field-icon-size-valid: 10px;--text-field-icon-spacing-inline-end-invalid: 9px;--text-field-icon-spacing-inline-end-valid: 11px;--text-field-icon-spacing-block-invalid: 2px;--text-field-icon-spacing-block-valid: -1px;--text-field-icon-spacing-inline-start-invalid: var(--luzmo-spacing-3);--text-field-icon-spacing-inline-start-valid: var(--luzmo-spacing-3);--text-field-character-count-font-size: var(--luzmo-font-size-xs);--text-field-character-count-spacing-block: 5px;--text-field-character-count-spacing-block-quiet: -3px;--text-field-character-count-spacing-block-side: 4px;--text-area-min-block-size-quiet: var(--luzmo-component-height-s)}:host([size=l]){--text-field-height: var(--luzmo-component-height-l);--text-field-label-spacing-block-quiet: -12px;--text-field-label-spacing-inline-side-label: 12px;--text-field-placeholder-font-size: 16px;--text-field-spacing-inline: 15px;--text-field-icon-size-invalid: 20px;--text-field-icon-size-valid: 12px;--text-field-icon-spacing-inline-end-invalid: 15px;--text-field-icon-spacing-inline-end-valid: 17px;--text-field-icon-spacing-block-invalid: 10px;--text-field-icon-spacing-block-valid: 8px;--text-field-icon-spacing-inline-start-invalid: 15px;--text-field-icon-spacing-inline-start-valid: 15px;--text-field-character-count-font-size: var(--luzmo-font-size);--text-field-character-count-spacing-block: 9px;--text-field-character-count-spacing-block-quiet: -3px;--text-field-character-count-spacing-block-side: 11px;--text-area-min-block-size-quiet: var(--luzmo-component-height-l)}:host([size=xl]){--text-field-height: var(--luzmo-component-height-xl);--text-field-label-spacing-block-quiet: -15px;--text-field-label-spacing-inline-side-label: 12px;--text-field-placeholder-font-size: 18px;--text-field-spacing-inline: 15px;--text-field-icon-size-invalid: 22px;--text-field-icon-size-valid: 14px;--text-field-icon-spacing-inline-end-invalid: 18px;--text-field-icon-spacing-inline-end-valid: 20px;--text-field-icon-spacing-block-invalid: 12px;--text-field-icon-spacing-block-valid: 13px;--text-field-icon-spacing-inline-start-invalid: 18px;--text-field-icon-spacing-inline-start-valid: 18px;--text-field-character-count-font-size: var(--luzmo-font-size-l);--text-field-character-count-spacing-block: 11px;--text-field-character-count-spacing-block-quiet: -4px;--text-field-character-count-spacing-block-side: 14px;--text-area-min-block-size-quiet: var(--luzmo-component-height-xl)}';var z=Object.defineProperty,y=Object.getOwnPropertyDescriptor,l=(r,e,i,n)=>{for(var s=n>1?void 0:n?y(e,i):e,u=r.length-1,h;u>=0;u--)(h=r[u])&&(s=(n?h(e,i,s):h(s))||s);return n&&s&&z(e,i,s),s};const k=["text","url","tel","email","password"];class o extends x(f.m(t.r$1,{noDefaultSize:!0})){constructor(){super(...arguments),this.allowedKeys="",this.focused=!1,this.invalid=!1,this.label="",this.placeholder="",this._type="text",this.grows=!1,this.maxlength=-1,this.minlength=-1,this.multiline=!1,this.readonly=!1,this.rows=-1,this.valid=!1,this._value="",this.quiet=!1,this.required=!1}static get styles(){return[t.r(b)]}set type(e){const i=this._type;this._type=e,this.requestUpdate("type",i)}get type(){return k.find(e=>e===this._type)??"text"}set value(e){if(e===this.value)return;const i=this._value;this._value=e,this.requestUpdate("value",i)}get value(){return this._value}get focusElement(){return this.inputElement}setSelectionRange(e,i,n="none"){this.inputElement.setSelectionRange(e,i,n)}select(){this.inputElement.select()}handleInput(e){if(this.allowedKeys&&this.inputElement.value&&!new RegExp(`^[${this.allowedKeys}]*$`,"u").test(this.inputElement.value)){const i=this.inputElement.selectionStart-1;this.inputElement.value=this.value.toString(),this.inputElement.setSelectionRange(i,i);return}this.value=this.inputElement.value}handleChange(){this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}onFocus(){this.focused=!this.readonly&&!0}onBlur(e){this.focused=!this.readonly&&!1}handleInputElementPointerdown(){}renderStateIcons(){return this.invalid?t.x`
69
+ <div id="invalid" class="icon">${c.O2(c.I)}</div>
70
+ `:this.valid?t.x`
71
+ <div id="valid" class="icon">${c.O2(c.F)}</div>
72
+ `:t.E}get displayValue(){return this.value.toString()}get renderMultiline(){return t.x`
73
+ ${this.multiline&&this.grows&&this.rows===-1?t.x`
74
+ <div id="sizer" class="input" aria-hidden="true">${this.value}&#8203;
75
+ </div>
76
+ `:t.E}
77
+ <!-- @ts-ignore -->
78
+ <textarea
79
+ name=${a.m(this.name||void 0)}
80
+ aria-describedby=${this.helpTextId}
81
+ aria-label=${this.label||this.appliedLabel||this.placeholder}
82
+ aria-invalid=${a.m(this.invalid||void 0)}
83
+ class="input"
84
+ maxlength=${a.m(this.maxlength>-1?this.maxlength:void 0)}
85
+ minlength=${a.m(this.minlength>-1?this.minlength:void 0)}
86
+ title=${this.invalid?"":t.E}
87
+ pattern=${a.m(this.pattern)}
88
+ placeholder=${this.placeholder}
89
+ .value=${this.displayValue}
90
+ @change=${this.handleChange}
91
+ @input=${this.handleInput}
92
+ @focus=${this.onFocus}
93
+ @blur=${this.onBlur}
94
+ ?disabled=${this.disabled}
95
+ ?required=${this.required}
96
+ ?readonly=${this.readonly}
97
+ rows=${a.m(this.rows>-1?this.rows:void 0)}
98
+ autocomplete=${a.m(this.autocomplete)}
99
+ ></textarea>
100
+ `}get renderInput(){return t.x`
101
+ <!-- @ts-ignore -->
102
+ <input
103
+ name=${a.m(this.name||void 0)}
104
+ type=${this.type}
105
+ aria-describedby=${this.helpTextId}
106
+ aria-label=${this.label||this.appliedLabel||this.placeholder}
107
+ aria-invalid=${a.m(this.invalid||void 0)}
108
+ class="input"
109
+ title=${this.invalid?"":t.E}
110
+ maxlength=${a.m(this.maxlength>-1?this.maxlength:void 0)}
111
+ minlength=${a.m(this.minlength>-1?this.minlength:void 0)}
112
+ pattern=${a.m(this.pattern)}
113
+ placeholder=${this.placeholder}
114
+ .value=${g(this.displayValue)}
115
+ @change=${this.handleChange}
116
+ @input=${this.handleInput}
117
+ @pointerdown=${this.handleInputElementPointerdown}
118
+ @focus=${this.onFocus}
119
+ @blur=${this.onBlur}
120
+ ?disabled=${this.disabled}
121
+ ?required=${this.required}
122
+ ?readonly=${this.readonly}
123
+ autocomplete=${a.m(this.autocomplete)}
124
+ />
125
+ `}renderField(){return t.x`
126
+ ${this.renderStateIcons()}
127
+ ${this.multiline?this.renderMultiline:this.renderInput}
128
+ `}render(){return t.x`
129
+ <div id="text-field">${this.renderField()}</div>
130
+ ${this.renderHelpText(this.invalid)}
131
+ `}update(e){(e.has("value")||e.has("required")&&this.required)&&this.updateComplete.then(()=>{this.checkValidity()}),super.update(e)}checkValidity(){let e=this.inputElement.checkValidity();return(this.required||this.value&&this.pattern)&&((this.disabled||this.multiline)&&this.pattern&&(e=new RegExp(`^${this.pattern}$`,"u").test(this.value.toString())),this.minlength!==void 0&&(e=e&&this.value.toString().length>=this.minlength),this.valid=e,this.invalid=!e),e}}l([d.n()],o.prototype,"appliedLabel",2);l([t.H({attribute:"allowed-keys"})],o.prototype,"allowedKeys",2);l([t.H({type:Boolean,reflect:!0})],o.prototype,"focused",2);l([a.d(".input:not(#sizer)")],o.prototype,"inputElement",2);l([t.H({type:Boolean,reflect:!0})],o.prototype,"invalid",2);l([t.H()],o.prototype,"label",2);l([t.H({type:String,reflect:!0})],o.prototype,"name",2);l([t.H()],o.prototype,"placeholder",2);l([d.n()],o.prototype,"type",1);l([t.H({attribute:"type",reflect:!0})],o.prototype,"_type",2);l([t.H()],o.prototype,"pattern",2);l([t.H({type:Boolean,reflect:!0})],o.prototype,"grows",2);l([t.H({type:Number})],o.prototype,"maxlength",2);l([t.H({type:Number})],o.prototype,"minlength",2);l([t.H({type:Boolean,reflect:!0})],o.prototype,"multiline",2);l([t.H({type:Boolean,reflect:!0})],o.prototype,"readonly",2);l([t.H({type:Number})],o.prototype,"rows",2);l([t.H({type:Boolean,reflect:!0})],o.prototype,"valid",2);l([t.H({type:String})],o.prototype,"value",1);l([t.H({type:Boolean,reflect:!0})],o.prototype,"quiet",2);l([t.H({type:Boolean,reflect:!0})],o.prototype,"required",2);l([t.H({type:String,reflect:!0})],o.prototype,"autocomplete",2);class v extends o{constructor(){super(...arguments),this._value=""}set value(e){if(e===this.value)return;const i=this._value;this._value=e,this.requestUpdate("value",i)}get value(){return this._value}}l([t.H({type:String})],v.prototype,"value",1);exports.R=v;exports.i=o;exports.u=x;
@@ -0,0 +1,412 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ import { x as s, a as g, r as b, E as u, c as h, A as z, H as r } from "./property-CD3dwBJC.js";
21
+ import { _ as y, n as m, $ as k, s as c, r as w, f as $ } from "./directive-helpers-BLDZnGQv-oKMCBvb2.js";
22
+ import { m as n, d as q } from "./if-defined-CYpcjGCb-tXzyj9Dq.js";
23
+ import { O as v, I as T, F as E } from "./luzmo-icons-CZEpXpvy.js";
24
+ import { m as I } from "./sized-mixin-PyCYpyQq-B40Ek2UB.js";
25
+ import { n as f, u as B } from "./element-resolution-FCUT-wql--7ctE626.js";
26
+ /*! * Lucero - The design system for Luzmo.
27
+ *
28
+ * Copyright © 2025 Luzmo
29
+ * All rights reserved.
30
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
31
+ * This license allows users with a current active Luzmo account to use Lucero.
32
+ * This license terminates automatically if a user no longer has an active Luzmo account.
33
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
34
+ *
35
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
36
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
37
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
38
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
39
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
40
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
41
+ * SOFTWARE.
42
+ * */
43
+ class _ {
44
+ constructor(e, { mode: t } = { mode: "internal" }) {
45
+ this.mode = "internal", this.handleSlotchange = ({
46
+ target: a
47
+ }) => {
48
+ this.handleHelpText(a), this.handleNegativeHelpText(a);
49
+ }, this.host = e, this.id = `luzmo-help-text-${f()}`, this.mode = t;
50
+ }
51
+ get isInternal() {
52
+ return this.mode === "internal";
53
+ }
54
+ render(e) {
55
+ return s`
56
+ <div
57
+ id=${n(this.isInternal ? this.id : void 0)}
58
+ aria-live="assertive"
59
+ >
60
+ <slot
61
+ name=${e ? "negative-help-text" : `pass-through-help-text-${f()}`}
62
+ @slotchange=${this.handleSlotchange}
63
+ >
64
+ <slot name="help-text"></slot>
65
+ </slot>
66
+ </div>
67
+ `;
68
+ }
69
+ addId() {
70
+ const e = this.helpTextElement ? this.helpTextElement.id : this.id;
71
+ this.conditionId = B(
72
+ this.host,
73
+ "aria-describedby",
74
+ e
75
+ ), this.host.hasAttribute("tabindex") && (this.previousTabindex = Number.parseFloat(
76
+ this.host.getAttribute("tabindex")
77
+ )), this.host.tabIndex = 0;
78
+ }
79
+ removeId() {
80
+ this.conditionId && (this.conditionId(), delete this.conditionId), !this.helpTextElement && (this.previousTabindex ? this.host.tabIndex = this.previousTabindex : this.host.removeAttribute("tabindex"));
81
+ }
82
+ handleHelpText(e) {
83
+ if (this.isInternal)
84
+ return;
85
+ this.helpTextElement && this.helpTextElement.id === this.id && this.helpTextElement.removeAttribute("id"), this.removeId();
86
+ const t = e.assignedElements()[0];
87
+ this.helpTextElement = t, t && (t.id || (t.id = this.id), this.addId());
88
+ }
89
+ handleNegativeHelpText(e) {
90
+ e.name === "negative-help-text" && e.assignedElements().forEach(
91
+ (t) => t.variant = "negative"
92
+ );
93
+ }
94
+ }
95
+ function S(l, { mode: e } = { mode: "internal" }) {
96
+ class t extends l {
97
+ constructor() {
98
+ super(...arguments), this.helpTextManager = new _(this, { mode: e });
99
+ }
100
+ get helpTextId() {
101
+ return this.helpTextManager.id;
102
+ }
103
+ renderHelpText(d) {
104
+ return this.helpTextManager.render(d);
105
+ }
106
+ }
107
+ return t;
108
+ }
109
+ /*! * Lucero - The design system for Luzmo.
110
+ *
111
+ * Copyright © 2025 Luzmo
112
+ * All rights reserved.
113
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
114
+ * This license allows users with a current active Luzmo account to use Lucero.
115
+ * This license terminates automatically if a user no longer has an active Luzmo account.
116
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
117
+ *
118
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
119
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
120
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
121
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
122
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
123
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
124
+ * SOFTWARE.
125
+ * */
126
+ /**
127
+ * @license
128
+ * Copyright 2020 Google LLC
129
+ * SPDX-License-Identifier: BSD-3-Clause
130
+ */
131
+ const C = y(class extends k {
132
+ constructor(l) {
133
+ if (super(l), l.type !== c.PROPERTY && l.type !== c.ATTRIBUTE && l.type !== c.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
134
+ if (!w(l)) throw Error("`live` bindings can only contain a single expression");
135
+ }
136
+ render(l) {
137
+ return l;
138
+ }
139
+ update(l, [e]) {
140
+ if (e === h || e === z) return e;
141
+ const t = l.element, a = l.name;
142
+ if (l.type === c.PROPERTY) {
143
+ if (e === t[a]) return h;
144
+ } else if (l.type === c.BOOLEAN_ATTRIBUTE) {
145
+ if (!!e === t.hasAttribute(a)) return h;
146
+ } else if (l.type === c.ATTRIBUTE && t.getAttribute(a) === e + "") return h;
147
+ return $(l), e;
148
+ }
149
+ }), H = '#text-field{--luzmo-text-field-input-line-height: var( --luzmo-text-field-height, var(--text-field-height) );text-overflow:ellipsis;inline-size:var(--luzmo-text-field-width, 240px);grid-template-rows:auto auto auto;grid-template-columns:auto auto;margin:0;display:inline-grid;position:relative;overflow:visible}:host([quiet]) #text-field:after{content:"";pointer-events:none;inline-size:100%;block-size:var(--luzmo-text-field-focus-indicator-width, 2px);position:absolute;inset-block-end:calc((var(--luzmo-text-field-focus-indicator-gap, 2px) + var(--luzmo-text-field-focus-indicator-width, 2px)) * -1);inset-inline-start:0}:host([quiet][focused]) #text-field:after{background-color:var(--highcontrast-text-field-focus-indicator-color, var(--luzmo-text-field-focus-indicator-color, var(--luzmo-color-informative)))}:host([quiet][invalid]) #text-field .input{padding-inline-end:calc(var(--luzmo-text-field-icon-spacing-inline-start-invalid, var(--text-field-icon-spacing-inline-start-invalid)) + var(--luzmo-text-field-icon-size-invalid, var(--text-field-icon-size-invalid)))}:host([quiet][valid]) #text-field .input{padding-inline-end:calc(var(--luzmo-text-field-icon-spacing-inline-start-valid, var(--text-field-icon-spacing-inline-start-valid)) + var(--luzmo-text-field-icon-size-valid, var(--text-field-icon-size-valid)))}:host([invalid]) #text-field .icon,:host([valid]) #text-field .icon{pointer-events:all;grid-area:2/2;margin-inline-start:auto;position:absolute;inset-block-start:0;display:flex;align-items:center;justify-content:center}#text-field.luzmo-text-field--sideLabel .icon{grid-area:1/2/span 1/span 1}:host([valid]) #text-field .icon{font-size:var(--luzmo-text-field-icon-size-valid, var(--text-field-icon-size-valid));color:var(--highcontrast-text-field-icon-color-valid, var(--luzmo-text-field-icon-color-valid, var(--luzmo-color-positive)));inset-block-start:var(--luzmo-text-field-icon-spacing-block-valid, var(--text-field-icon-spacing-block-valid));inset-block-end:var(--luzmo-text-field-icon-spacing-block-valid, var(--text-field-icon-spacing-block-valid));inset-inline-end:var(--luzmo-text-field-icon-spacing-inline-end-valid, var(--text-field-icon-spacing-inline-end-valid))}:host([invalid]) #text-field .icon{font-size:var(--luzmo-text-field-icon-size-invalid, var(--text-field-icon-size-invalid));color:var(--highcontrast-text-field-icon-color-invalid, var(--luzmo-text-field-icon-color-invalid, var(--luzmo-color-negative)));inset-block-start:var(--luzmo-text-field-icon-spacing-block-invalid, var(--text-field-icon-spacing-block-invalid));inset-block-end:var(--luzmo-text-field-icon-spacing-block-invalid, var(--text-field-icon-spacing-block-invalid));inset-inline-end:var(--luzmo-text-field-icon-spacing-inline-end-invalid, var(--text-field-icon-spacing-inline-end-invalid))}:host([disabled]) #text-field .icon,:host([readonly]) #text-field .icon{color:#0000}:host([quiet]) .icon{padding-inline-end:0}:host([quiet][valid]) .icon{inset-inline-end:var(--luzmo-text-field-icon-spacing-inline-end-quiet-valid, 0px)}:host([quiet][invalid]) .icon{inset-inline-end:var(--luzmo-text-field-icon-spacing-inline-end-quiet-invalid, 0px)}#text-field .luzmo-field-label{grid-area:1/1/auto/span 1;margin-block-end:var(--luzmo-text-field-label-spacing-block, 0px)}:host([quiet]) .luzmo-field-label{margin-block-end:var(--luzmo-text-field-label-spacing-block-quiet, var(--text-field-label-spacing-block-quiet))}:host([disabled]) .luzmo-field-label{color:var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled))}#text-field .luzmo-help-text{grid-area:3/1/auto/span 2;margin-block-start:var(--luzmo-text-field-helptext-spacing-block, 0px)}.luzmo-text-field-characterCount{inline-size:auto;font-size:var(--luzmo-text-field-character-count-font-size, var(--text-field-character-count-font-size));font-family:var(--luzmo-text-field-character-count-font-family, var(--luzmo-font-family));font-weight:var(--luzmo-text-field-character-count-font-weight, var(--luzmo-font-weight));grid-area:1/2/auto/span 1;justify-content:flex-end;align-items:flex-end;margin-block-end:var(--luzmo-text-field-character-count-spacing-block, var(--text-field-character-count-spacing-block));margin-inline-start:var(--luzmo-text-field-character-count-spacing-inline, 12px);margin-inline-end:0;padding-inline-end:calc(var(--luzmo-text-field-corner-radius, var(--luzmo-border-radius)) / 2);display:inline-flex}:host([quiet]) .luzmo-text-field-characterCount{margin-block-end:var(--luzmo-text-field-character-count-spacing-block-quiet, var(--text-field-character-count-spacing-block-quiet))}.input{text-align:var(--luzmo-text-field-text-align, start);line-height:var(--luzmo-text-field-input-line-height);box-sizing:border-box;inline-size:100%;min-inline-size:var(--luzmo-text-field-min-width, 1.5);block-size:var(--luzmo-text-field-height, var(--text-field-height));padding-block-start:calc(var(--luzmo-text-field-spacing-block-start, var(--luzmo-spacing-3)) - var(--luzmo-text-field-border-width, var(--luzmo-border-width)));padding-block-end:calc(var(--luzmo-text-field-spacing-block-end, var(--luzmo-spacing-3)) - var(--luzmo-text-field-border-width, var(--luzmo-border-width)));padding-inline:calc(var(--luzmo-text-field-spacing-inline, var(--text-field-spacing-inline)) - var(--luzmo-text-field-border-width, var(--luzmo-border-width)));vertical-align:top;background-color:var(--luzmo-text-field-background-color, var(--luzmo-background-color));border-color:var(--highcontrast-text-field-border-color, var(--luzmo-text-field-border-color, var(--luzmo-border-color)));border-style:solid;border-width:var(--luzmo-text-field-border-width, var(--luzmo-border-width));border-radius:var(--luzmo-text-field-corner-radius, var(--luzmo-border-radius));transition:border-color var(--luzmo-text-field-animation-duration, var(--luzmo-animation-duration)) ease-in-out;font-size:var(--luzmo-text-field-placeholder-font-size, var(--text-field-placeholder-font-size));font-family:var(--luzmo-text-field-font-family, var(--luzmo-font-family));font-weight:var(--luzmo-text-field-font-weight, var(--luzmo-font-weight));color:var(--highcontrast-text-field-text-color-default, var(--luzmo-text-field-text-color-default, var(--luzmo-font-color)));text-overflow:ellipsis;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;grid-area:2/1/auto/span 2;margin:0}:host([type=number]) .input{-moz-appearance:text-field}:host([type=number]) .input::-webkit-inner-spin-button,:host([type=number]) .input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.input:-moz-ui-invalid{box-shadow:none}.input::placeholder{opacity:1;font-size:var(--luzmo-text-field-placeholder-font-size, var(--text-field-placeholder-font-size));font-family:var(--luzmo-text-field-font-family, var(--luzmo-font-family));font-weight:var(--luzmo-text-field-font-weight, var(--luzmo-font-weight));color:var(--highcontrast-text-field-text-color-default, var(--luzmo-text-field-placeholder-text-color-default, var(--luzmo-font-color-disabled)));transition:color var(--luzmo-text-field-animation-duration, var(--luzmo-animation-duration)) ease-in-out}.input:lang(ja)::placeholder,.input:lang(ko)::placeholder,.input:lang(zh)::placeholder{font-style:normal}:host([focused]) .input,.input:focus{border-color:var(--highcontrast-text-field-border-color-focus, var(--luzmo-text-field-border-color-focus, var(--luzmo-primary)));color:var(--highcontrast-text-field-text-color-focus, var(--luzmo-text-field-text-color-focus, var(--luzmo-font-color-hard)))}:host([focused]) .input::placeholder,.input:focus::placeholder{color:var(--highcontrast-text-field-text-color-focus, var(--luzmo-text-field-placeholder-text-color-focus, var(--luzmo-color-disabled)))}:host([focused]) .input{border-color:var(--highcontrast-text-field-border-color-keyboard-focus, var(--luzmo-text-field-border-color-keyboard-focus, var(--luzmo-primary)));outline:var(--luzmo-text-field-focus-indicator-width, 0) solid;outline-color:var(--highcontrast-text-field-focus-indicator-color, var(--luzmo-text-field-focus-indicator-color, var(--luzmo-color-informative)));outline-offset:var(--luzmo-text-field-focus-indicator-gap, 2px);color:var(--highcontrast-text-field-text-color-keyboard-focus, var(--luzmo-text-field-text-color-keyboard-focus, var(--luzmo-font-color-hard)))}:host([focused]) .input::placeholder{color:var(--highcontrast-text-field-text-color-keyboard-focus, var(--luzmo-text-field-placeholder-text-color-keyboard-focus, var(--luzmo-color-disabled)))}:host([valid]) .input{color:var(--highcontrast-text-field-text-color-valid, var(--luzmo-text-field-text-color-valid, var(--luzmo-font-color)));padding-inline-end:calc(var(--luzmo-text-field-icon-spacing-inline-start-valid, var(--text-field-icon-spacing-inline-start-valid)) + var(--luzmo-text-field-icon-size-valid, var(--text-field-icon-size-valid)) + var(--luzmo-text-field-icon-spacing-inline-end-valid, var(--text-field-icon-spacing-inline-end-valid)) - var(--luzmo-text-field-border-width, var(--luzmo-border-width)))}:host([invalid]) .input{color:var(--highcontrast-text-field-text-color-invalid, var(--luzmo-text-field-text-color-invalid, var(--luzmo-font-color)));border-color:var(--highcontrast-text-field-border-color-invalid-default, var(--luzmo-text-field-border-color-invalid-default, var(luzmo-danger-color)));padding-inline-end:calc(var(--luzmo-text-field-icon-spacing-inline-start-invalid, var(--text-field-icon-spacing-inline-start-invalid)) + var(--luzmo-text-field-icon-size-invalid, var(--text-field-icon-size-invalid)) + var(--luzmo-text-field-icon-spacing-inline-end-invalid, var(--text-field-icon-spacing-inline-end-invalid)) - var(--luzmo-text-field-border-width, var(--luzmo-border-width)))}:host([invalid]) .input:focus,:host([invalid][focused]) .input,:host([invalid]:focus) .input{border-color:var(--highcontrast-text-field-border-color-invalid-focus, var(--luzmo-text-field-border-color-invalid-focus, var(luzmo-danger-color)))}:host([invalid]) .input:focus-visible,:host([invalid][focused]) .input{border-color:var(--highcontrast-text-field-border-color-invalid-keyboard-focus, var(--luzmo-text-field-border-color-invalid-keyboard-focus, var(luzmo-danger-color)))}.input:disabled,:host([disabled]) #text-field .input{background-color:var(--luzmo-text-field-background-color-disabled, var(--luzmo-background-color-disabled));resize:none;opacity:1;border-color:#0000}.input:disabled,.input:disabled::placeholder,:host([disabled]) #text-field .input,:host([disabled]) #text-field .input::placeholder{color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled)))}:host([border=none]) .input{border-width:0;outline:none}:host([quiet]) .input{padding-block-start:var(--luzmo-text-field-spacing-block-start, var(--luzmo-spacing-2));padding-inline:var(--luzmo-text-field-spacing-inline-quiet, 0px);background-color:initial;resize:none;border-block-start-width:0;border-inline-width:0;border-radius:0;outline:none;margin-block-end:var(--luzmo-text-field-spacing-block-quiet, 0px);overflow-y:hidden}:host([quiet][disabled]) .input,.input:disabled{background-color:initial;border-color:var(--luzmo-text-field-border-color-disabled, var(--luzmo-border-color-disabled))}:host([quiet][disabled]) .input,:host([quiet][disabled]) .input::placeholder,.input:disabled,.input:disabled::placeholder{color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-color-disabled)))}.input:read-only,:host([readonly]) #text-field .input{background-color:initial;color:var(--highcontrast-text-field-text-color-readonly, var(--luzmo-text-field-text-color-readonly, var(--luzmo-font-color)));border-color:#0000;outline:none}.input:read-only::placeholder,:host([readonly]) #text-field .input::placeholder{color:var(--highcontrast-text-field-text-color-readonly, var(--luzmo-text-field-text-color-readonly, var(--luzmo-color-disabled)));background-color:initial}@media (hover: hover){.input:hover,#text-field:hover .input{border-color:var(--highcontrast-text-field-border-color-hover, var(--luzmo-text-field-border-color-hover, rgba(var(--luzmo-primary-rgb), .3)))}.input:hover,#text-field:hover .input{color:var(--highcontrast-text-field-text-color-hover, var(--luzmo-text-field-text-color-hover, var(--luzmo-font-color-hard)))}.input:hover::placeholder,#text-field:hover .input::placeholder{color:var(--highcontrast-text-field-text-color-hover, var(--luzmo-text-field-placeholder-text-color-hover, var(--luzmo-color-disabled)))}:host([focused]) .input:hover,:host([focused]) #text-field:hover .input,.input:focus:hover{border-color:var(--highcontrast-text-field-border-color-focus-hover, var(--luzmo-text-field-border-color-focus-hover, var(--luzmo-primary)))}:host([focused]) .input:hover,.input:focus:hover{color:var(--highcontrast-text-field-text-color-focus-hover, var(--luzmo-text-field-text-color-focus-hover, var(--luzmo-font-color-hard)))}:host([focused]) .input:hover::placeholder,.input:focus:hover::placeholder{color:var(--highcontrast-text-field-text-color-focus-hover, var(--luzmo-text-field-placeholder-text-color-focus-hover, var(--luzmo-color-disabled)))}:host([invalid]) .input:hover:not(.is-disabled),:host([invalid]:hover):not(.is-disabled) .input{border-color:var(--highcontrast-text-field-border-color-invalid-hover, var(--luzmo-text-field-border-color-invalid-hover, var(luzmo-danger-color)))}:host([invalid]) .input:focus:hover,:host([invalid][focused]) .input:hover,:host([invalid]:focus) .input:hover{border-color:var(--highcontrast-text-field-border-color-invalid-focus-hover, var(--luzmo-text-field-border-color-invalid-focus-hover, var(luzmo-danger-color)))}:host([disabled]) #text-field:hover .input{background-color:var(--luzmo-text-field-background-color-disabled, var(--luzmo-background-color-disabled));resize:none;opacity:1;border-color:#0000}:host([quiet][disabled]:hover) .input,:host([disabled]) #text-field:hover .input,:host([disabled]) #text-field:hover .input::placeholder{color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled)))}:host([quiet][disabled]:hover) .input{background-color:initial;border-color:var(--luzmo-text-field-border-color-disabled, var(--luzmo-border-color-disabled))}:host([quiet][disabled]:hover) .input::placeholder{color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled)))}:host([readonly]) #text-field:hover .input{border-color:#0000;outline:none}:host([readonly]) #text-field:hover .input,:host([readonly]) #text-field:hover .input::placeholder{background-color:initial;color:var(--highcontrast-text-field-text-color-readonly, var(--luzmo-text-field-text-color-readonly, var(--luzmo-font-color)))}}.luzmo-text-field--sideLabel{grid-template-rows:auto auto;grid-template-columns:auto auto auto}.luzmo-text-field--sideLabel:after{grid-area:1/2/span 1/span 1}.luzmo-text-field--sideLabel .luzmo-field-label{grid-area:1/1/span 2/span 1;margin-inline-end:var(--luzmo-text-field-label-spacing-inline-side-label, var(--text-field-label-spacing-inline-side-label))}.luzmo-text-field--sideLabel .luzmo-text-field-characterCount{grid-area:1/3/auto/span 1;align-items:flex-start;margin-block-start:var(--luzmo-text-field-character-count-spacing-block-side, var(--text-field-character-count-spacing-block-side));margin-inline-start:var(--luzmo-text-field-character-count-spacing-inline-side, 12px)}.luzmo-text-field--sideLabel .luzmo-help-text{grid-area:2/2/auto/span 1}.luzmo-text-field--sideLabel .input,.luzmo-text-field--sideLabel .icon{grid-area:1/2/span 1/span 1}:host([multiline]){--luzmo-text-field-input-line-height: normal}:host([multiline]) .input{min-inline-size:var(--luzmo-text-area-min-inline-size, 112px);min-block-size:var(--luzmo-text-area-min-block-size, 56px);resize:inherit}:host([multiline][grows]) .input{grid-row:2}:host([multiline][grows]) .luzmo-text-field--sideLabel .input{grid-row:1}:host([multiline][quiet]) .input{min-block-size:var(--luzmo-text-area-min-block-size-quiet, var(--text-area-min-block-size-quiet));resize:none;overflow-y:hidden}@media (forced-colors: active){:host{--highcontrast-text-field-border-color-hover: Highlight;--highcontrast-text-field-border-color-focus: Highlight;--highcontrast-text-field-border-color-keyboard-focus: CanvasText;--highcontrast-text-field-focus-indicator-color: Highlight;--highcontrast-text-field-border-color-invalid-default: Highlight;--highcontrast-text-field-border-color-invalid-hover: Highlight;--highcontrast-text-field-border-color-invalid-focus: Highlight;--highcontrast-text-field-border-color-invalid-keyboard-focus: Highlight;--highcontrast-text-field-text-color-valid: CanvasText;--highcontrast-text-field-text-color-invalid: CanvasText}#text-field .input{--highcontrast-text-field-text-color-default: CanvasText;--highcontrast-text-field-text-color-hover: CanvasText;--highcontrast-text-field-text-color-keyboard-focus: CanvasText;--highcontrast-text-field-text-color-disabled: GrayText;--highcontrast-text-field-text-color-readonly: CanvasText}#text-field .input::placeholder{--highcontrast-text-field-text-color-default: GrayText;--highcontrast-text-field-text-color-hover: GrayText;--highcontrast-text-field-text-color-keyboard-focus: GrayText;--highcontrast-text-field-text-color-disabled: GrayText;--highcontrast-text-field-text-color-readonly: CanvasText}}:host{display:inline-flex;flex-direction:column;inline-size:var(--luzmo-text-field-width, 240px)}:host([multiline]){resize:both}:host([multiline][readonly]){resize:none}:host([disabled]:focus-visible){outline:none}#text-field{inline-size:100%}#text-field,textarea{resize:inherit}.input{min-inline-size:var(--luzmo-text-field-min-width, 1.5)}:host([focused]) .input{caret-color:var(--swc-test-caret-color);forced-color-adjust:var(--swc-test-forced-color-adjust)}#sizer{block-size:auto;word-break:break-word;opacity:0;white-space:pre-line}.icon,.icon-workflow{pointer-events:none}:host([multiline]) #text-field{display:inline-grid;--luzmo-text-field-input-line-height: normal}:host([multiline]) textarea{transition:box-shadow var(--luzmo-animation-duration) ease-in-out,border-color var(--luzmo-animation-duration) ease-in-out}:host([multiline]:not([quiet])) #text-field:after{box-shadow:none}:host([multiline][rows]) .input{block-size:auto;resize:none}:host([multiline][rows="1"]) .input{min-block-size:auto}:host([disabled][quiet]) #text-field .input,:host([disabled][quiet]) #text-field:hover .input,:host([quiet]) .input :disabled{background-color:#0000;border-color:var(--luzmo-text-field-border-color-disabled, var(--luzmo-border-color-disabled));color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled)))}:host([disabled]) #text-field .icon.icon-search,:host([readonly]) #text-field .icon.icon-search{color:var(--highcontrast-text-field-text-color-disabled, var(--luzmo-text-field-text-color-disabled, var(--luzmo-font-color-disabled)))}:host([multiline][grows]:not([quiet])) #text-field:after{grid-area:unset;min-block-size:calc(var(--luzmo-text-area-min-block-size, var(--luzmo-text-area-min-block-size)) + var(--luzmo-text-field-focus-indicator-gap, 2px) * 2)}:host([multiline][grows]:not([rows])) .input:not(#sizer){position:absolute;top:0;left:0;height:100%;resize:none;overflow:hidden}:host{--text-field-height: var(--luzmo-component-height);--text-field-label-spacing-block-quiet: -8px;--text-field-label-spacing-inline-side-label: 12px;--text-field-placeholder-font-size: 14px;--text-field-spacing-inline: 12px;--text-field-icon-size-invalid: 18px;--text-field-icon-size-valid: 10px;--text-field-icon-spacing-inline-end-invalid: 12px;--text-field-icon-spacing-inline-end-valid: 15px;--text-field-icon-spacing-block-invalid: 7px;--text-field-icon-spacing-block-valid: 4px;--text-field-icon-spacing-inline-start-invalid: var(--luzmo-spacing-4);--text-field-icon-spacing-inline-start-valid: var(--luzmo-spacing-4);--text-field-character-count-font-size: var(--luzmo-font-size-s);--text-field-character-count-spacing-block: 5px;--text-field-character-count-spacing-block-quiet: -3px;--text-field-character-count-spacing-block-side: 8px;--text-area-min-block-size-quiet: var(--luzmo-component-height)}:host([size=s]){--text-field-height: var(--luzmo-component-height-s);--text-field-label-spacing-block-quiet: -8px;--text-field-label-spacing-inline-side-label: 8px;--text-field-placeholder-font-size: 12px;--text-field-spacing-inline: 9px;--text-field-icon-size-invalid: 16px;--text-field-icon-size-valid: 10px;--text-field-icon-spacing-inline-end-invalid: 9px;--text-field-icon-spacing-inline-end-valid: 11px;--text-field-icon-spacing-block-invalid: 2px;--text-field-icon-spacing-block-valid: -1px;--text-field-icon-spacing-inline-start-invalid: var(--luzmo-spacing-3);--text-field-icon-spacing-inline-start-valid: var(--luzmo-spacing-3);--text-field-character-count-font-size: var(--luzmo-font-size-xs);--text-field-character-count-spacing-block: 5px;--text-field-character-count-spacing-block-quiet: -3px;--text-field-character-count-spacing-block-side: 4px;--text-area-min-block-size-quiet: var(--luzmo-component-height-s)}:host([size=l]){--text-field-height: var(--luzmo-component-height-l);--text-field-label-spacing-block-quiet: -12px;--text-field-label-spacing-inline-side-label: 12px;--text-field-placeholder-font-size: 16px;--text-field-spacing-inline: 15px;--text-field-icon-size-invalid: 20px;--text-field-icon-size-valid: 12px;--text-field-icon-spacing-inline-end-invalid: 15px;--text-field-icon-spacing-inline-end-valid: 17px;--text-field-icon-spacing-block-invalid: 10px;--text-field-icon-spacing-block-valid: 8px;--text-field-icon-spacing-inline-start-invalid: 15px;--text-field-icon-spacing-inline-start-valid: 15px;--text-field-character-count-font-size: var(--luzmo-font-size);--text-field-character-count-spacing-block: 9px;--text-field-character-count-spacing-block-quiet: -3px;--text-field-character-count-spacing-block-side: 11px;--text-area-min-block-size-quiet: var(--luzmo-component-height-l)}:host([size=xl]){--text-field-height: var(--luzmo-component-height-xl);--text-field-label-spacing-block-quiet: -15px;--text-field-label-spacing-inline-side-label: 12px;--text-field-placeholder-font-size: 18px;--text-field-spacing-inline: 15px;--text-field-icon-size-invalid: 22px;--text-field-icon-size-valid: 14px;--text-field-icon-spacing-inline-end-invalid: 18px;--text-field-icon-spacing-inline-end-valid: 20px;--text-field-icon-spacing-block-invalid: 12px;--text-field-icon-spacing-block-valid: 13px;--text-field-icon-spacing-inline-start-invalid: 18px;--text-field-icon-spacing-inline-start-valid: 18px;--text-field-character-count-font-size: var(--luzmo-font-size-l);--text-field-character-count-spacing-block: 11px;--text-field-character-count-spacing-block-quiet: -4px;--text-field-character-count-spacing-block-side: 14px;--text-area-min-block-size-quiet: var(--luzmo-component-height-xl)}';
150
+ var L = Object.defineProperty, R = Object.getOwnPropertyDescriptor, i = (l, e, t, a) => {
151
+ for (var d = a > 1 ? void 0 : a ? R(e, t) : e, p = l.length - 1, x; p >= 0; p--)
152
+ (x = l[p]) && (d = (a ? x(e, t, d) : x(d)) || d);
153
+ return a && d && L(e, t, d), d;
154
+ };
155
+ const A = ["text", "url", "tel", "email", "password"];
156
+ class o extends S(
157
+ I(g, {
158
+ noDefaultSize: !0
159
+ })
160
+ ) {
161
+ constructor() {
162
+ super(...arguments), this.allowedKeys = "", this.focused = !1, this.invalid = !1, this.label = "", this.placeholder = "", this._type = "text", this.grows = !1, this.maxlength = -1, this.minlength = -1, this.multiline = !1, this.readonly = !1, this.rows = -1, this.valid = !1, this._value = "", this.quiet = !1, this.required = !1;
163
+ }
164
+ static get styles() {
165
+ return [b(H)];
166
+ }
167
+ set type(e) {
168
+ const t = this._type;
169
+ this._type = e, this.requestUpdate("type", t);
170
+ }
171
+ get type() {
172
+ return A.find((e) => e === this._type) ?? "text";
173
+ }
174
+ set value(e) {
175
+ if (e === this.value)
176
+ return;
177
+ const t = this._value;
178
+ this._value = e, this.requestUpdate("value", t);
179
+ }
180
+ get value() {
181
+ return this._value;
182
+ }
183
+ get focusElement() {
184
+ return this.inputElement;
185
+ }
186
+ /**
187
+ * Sets the start and end positions of the current selection.
188
+ *
189
+ * @param selectionStart The 0-based index of the first selected character. An index greater than the length of the
190
+ * element's value is treated as pointing to the end of the value.
191
+ * @param selectionEnd The 0-based index of the character after the last selected character. An index greater than
192
+ * the length of the element's value is treated as pointing to the end of the value.
193
+ * @param [selectionDirection="none"] A string indicating the direction in which the selection is considered to
194
+ * have been performed.
195
+ */
196
+ setSelectionRange(e, t, a = "none") {
197
+ this.inputElement.setSelectionRange(
198
+ e,
199
+ t,
200
+ a
201
+ );
202
+ }
203
+ /**
204
+ * Selects all the text.
205
+ */
206
+ select() {
207
+ this.inputElement.select();
208
+ }
209
+ handleInput(e) {
210
+ if (this.allowedKeys && this.inputElement.value && !new RegExp(`^[${this.allowedKeys}]*$`, "u").test(this.inputElement.value)) {
211
+ const t = this.inputElement.selectionStart - 1;
212
+ this.inputElement.value = this.value.toString(), this.inputElement.setSelectionRange(t, t);
213
+ return;
214
+ }
215
+ this.value = this.inputElement.value;
216
+ }
217
+ handleChange() {
218
+ this.dispatchEvent(
219
+ new Event("change", {
220
+ bubbles: !0,
221
+ composed: !0
222
+ })
223
+ );
224
+ }
225
+ onFocus() {
226
+ this.focused = !this.readonly && !0;
227
+ }
228
+ onBlur(e) {
229
+ this.focused = !this.readonly && !1;
230
+ }
231
+ handleInputElementPointerdown() {
232
+ }
233
+ renderStateIcons() {
234
+ return this.invalid ? s`
235
+ <div id="invalid" class="icon">${v(T)}</div>
236
+ ` : this.valid ? s`
237
+ <div id="valid" class="icon">${v(E)}</div>
238
+ ` : u;
239
+ }
240
+ get displayValue() {
241
+ return this.value.toString();
242
+ }
243
+ // prettier-ignore
244
+ get renderMultiline() {
245
+ return s`
246
+ ${this.multiline && this.grows && this.rows === -1 ? s`
247
+ <div id="sizer" class="input" aria-hidden="true">${this.value}&#8203;
248
+ </div>
249
+ ` : u}
250
+ <!-- @ts-ignore -->
251
+ <textarea
252
+ name=${n(this.name || void 0)}
253
+ aria-describedby=${this.helpTextId}
254
+ aria-label=${this.label || this.appliedLabel || this.placeholder}
255
+ aria-invalid=${n(this.invalid || void 0)}
256
+ class="input"
257
+ maxlength=${n(this.maxlength > -1 ? this.maxlength : void 0)}
258
+ minlength=${n(this.minlength > -1 ? this.minlength : void 0)}
259
+ title=${this.invalid ? "" : u}
260
+ pattern=${n(this.pattern)}
261
+ placeholder=${this.placeholder}
262
+ .value=${this.displayValue}
263
+ @change=${this.handleChange}
264
+ @input=${this.handleInput}
265
+ @focus=${this.onFocus}
266
+ @blur=${this.onBlur}
267
+ ?disabled=${this.disabled}
268
+ ?required=${this.required}
269
+ ?readonly=${this.readonly}
270
+ rows=${n(this.rows > -1 ? this.rows : void 0)}
271
+ autocomplete=${n(this.autocomplete)}
272
+ ></textarea>
273
+ `;
274
+ }
275
+ get renderInput() {
276
+ return s`
277
+ <!-- @ts-ignore -->
278
+ <input
279
+ name=${n(this.name || void 0)}
280
+ type=${this.type}
281
+ aria-describedby=${this.helpTextId}
282
+ aria-label=${this.label || this.appliedLabel || this.placeholder}
283
+ aria-invalid=${n(this.invalid || void 0)}
284
+ class="input"
285
+ title=${this.invalid ? "" : u}
286
+ maxlength=${n(this.maxlength > -1 ? this.maxlength : void 0)}
287
+ minlength=${n(this.minlength > -1 ? this.minlength : void 0)}
288
+ pattern=${n(this.pattern)}
289
+ placeholder=${this.placeholder}
290
+ .value=${C(this.displayValue)}
291
+ @change=${this.handleChange}
292
+ @input=${this.handleInput}
293
+ @pointerdown=${this.handleInputElementPointerdown}
294
+ @focus=${this.onFocus}
295
+ @blur=${this.onBlur}
296
+ ?disabled=${this.disabled}
297
+ ?required=${this.required}
298
+ ?readonly=${this.readonly}
299
+ autocomplete=${n(this.autocomplete)}
300
+ />
301
+ `;
302
+ }
303
+ renderField() {
304
+ return s`
305
+ ${this.renderStateIcons()}
306
+ ${this.multiline ? this.renderMultiline : this.renderInput}
307
+ `;
308
+ }
309
+ render() {
310
+ return s`
311
+ <div id="text-field">${this.renderField()}</div>
312
+ ${this.renderHelpText(this.invalid)}
313
+ `;
314
+ }
315
+ update(e) {
316
+ (e.has("value") || e.has("required") && this.required) && this.updateComplete.then(() => {
317
+ this.checkValidity();
318
+ }), super.update(e);
319
+ }
320
+ checkValidity() {
321
+ let e = this.inputElement.checkValidity();
322
+ return (this.required || this.value && this.pattern) && ((this.disabled || this.multiline) && this.pattern && (e = new RegExp(`^${this.pattern}$`, "u").test(this.value.toString())), this.minlength !== void 0 && (e = e && this.value.toString().length >= this.minlength), this.valid = e, this.invalid = !e), e;
323
+ }
324
+ }
325
+ i([
326
+ m()
327
+ ], o.prototype, "appliedLabel", 2);
328
+ i([
329
+ r({ attribute: "allowed-keys" })
330
+ ], o.prototype, "allowedKeys", 2);
331
+ i([
332
+ r({ type: Boolean, reflect: !0 })
333
+ ], o.prototype, "focused", 2);
334
+ i([
335
+ q(".input:not(#sizer)")
336
+ ], o.prototype, "inputElement", 2);
337
+ i([
338
+ r({ type: Boolean, reflect: !0 })
339
+ ], o.prototype, "invalid", 2);
340
+ i([
341
+ r()
342
+ ], o.prototype, "label", 2);
343
+ i([
344
+ r({ type: String, reflect: !0 })
345
+ ], o.prototype, "name", 2);
346
+ i([
347
+ r()
348
+ ], o.prototype, "placeholder", 2);
349
+ i([
350
+ m()
351
+ ], o.prototype, "type", 1);
352
+ i([
353
+ r({ attribute: "type", reflect: !0 })
354
+ ], o.prototype, "_type", 2);
355
+ i([
356
+ r()
357
+ ], o.prototype, "pattern", 2);
358
+ i([
359
+ r({ type: Boolean, reflect: !0 })
360
+ ], o.prototype, "grows", 2);
361
+ i([
362
+ r({ type: Number })
363
+ ], o.prototype, "maxlength", 2);
364
+ i([
365
+ r({ type: Number })
366
+ ], o.prototype, "minlength", 2);
367
+ i([
368
+ r({ type: Boolean, reflect: !0 })
369
+ ], o.prototype, "multiline", 2);
370
+ i([
371
+ r({ type: Boolean, reflect: !0 })
372
+ ], o.prototype, "readonly", 2);
373
+ i([
374
+ r({ type: Number })
375
+ ], o.prototype, "rows", 2);
376
+ i([
377
+ r({ type: Boolean, reflect: !0 })
378
+ ], o.prototype, "valid", 2);
379
+ i([
380
+ r({ type: String })
381
+ ], o.prototype, "value", 1);
382
+ i([
383
+ r({ type: Boolean, reflect: !0 })
384
+ ], o.prototype, "quiet", 2);
385
+ i([
386
+ r({ type: Boolean, reflect: !0 })
387
+ ], o.prototype, "required", 2);
388
+ i([
389
+ r({ type: String, reflect: !0 })
390
+ ], o.prototype, "autocomplete", 2);
391
+ class O extends o {
392
+ constructor() {
393
+ super(...arguments), this._value = "";
394
+ }
395
+ set value(e) {
396
+ if (e === this.value)
397
+ return;
398
+ const t = this._value;
399
+ this._value = e, this.requestUpdate("value", t);
400
+ }
401
+ get value() {
402
+ return this._value;
403
+ }
404
+ }
405
+ i([
406
+ r({ type: String })
407
+ ], O.prototype, "value", 1);
408
+ export {
409
+ O as R,
410
+ o as i,
411
+ S as u
412
+ };
@@ -17,8 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { Popover as o } from "./popover-Bwnkg-5-.js";
21
- customElements.get("luzmo-popover") || customElements.define("luzmo-popover", o);
22
- export {
23
- o as Popover
24
- };
20
+ "use strict";