@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,744 @@
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 c, a as y, E as x, B as w, c as C, r as I, H as s } from "./property-CD3dwBJC.js";
21
+ import { _ as $, n as p, $ as S, s as E } from "./directive-helpers-BLDZnGQv-oKMCBvb2.js";
22
+ import { m as u, d as v } from "./if-defined-CYpcjGCb-tXzyj9Dq.js";
23
+ import { p as M } from "./index-BRk42NQn.js";
24
+ import { a as q } from "./index-DskAouD-.js";
25
+ import "./index-Cp-lHUlX.js";
26
+ import { m as A } from "./sized-mixin-PyCYpyQq-B40Ek2UB.js";
27
+ import { O as f, T as L, I as F } from "./luzmo-icons-CZEpXpvy.js";
28
+ import "./index-C2qG2Sm8-BQUlk-w0.js";
29
+ import { c as b } from "./async-directive-FGzMycjH-Bgeca09f.js";
30
+ /*! * Lucero - The design system for Luzmo.
31
+ *
32
+ * Copyright © 2025 Luzmo
33
+ * All rights reserved.
34
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
35
+ * This license allows users with a current active Luzmo account to use Lucero.
36
+ * This license terminates automatically if a user no longer has an active Luzmo account.
37
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
38
+ *
39
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
+ * SOFTWARE.
46
+ * */
47
+ class B {
48
+ /**
49
+ * Creates an instance of PendingStateController.
50
+ * @param host - The host element that this controller is attached to.
51
+ */
52
+ constructor(e) {
53
+ this.cachedAriaLabel = null, this.host = e, this.host.addController(this);
54
+ }
55
+ /**
56
+ * Renders the pending state UI.
57
+ * @returns A TemplateResult representing the pending state UI.
58
+ */
59
+ renderPendingState() {
60
+ const e = this.host.pendingLabel || "Pending";
61
+ return this.host.pending ? c`
62
+ <luzmo-progress-circle
63
+ id="loader"
64
+ size="s"
65
+ indeterminate
66
+ aria-valuetext=${e}
67
+ class="progress-circle"
68
+ ></luzmo-progress-circle>
69
+ ` : c``;
70
+ }
71
+ /**
72
+ * Updates the ARIA label of the host element based on the pending state.
73
+ * Manages Cached Aria Label
74
+ */
75
+ updateAriaLabel() {
76
+ const { pending: e, disabled: o, pendingLabel: r } = this.host, n = this.host.getAttribute("aria-label");
77
+ e && !o && n !== r ? (this.cachedAriaLabel = n, this.host.setAttribute("aria-label", r || "Pending")) : (!e || o) && (this.cachedAriaLabel ? this.host.setAttribute("aria-label", this.cachedAriaLabel) : e || this.host.removeAttribute("aria-label"));
78
+ }
79
+ hostConnected() {
80
+ this.cachedAriaLabel || (this.cachedAriaLabel = this.host.getAttribute("aria-label")), this.updateAriaLabel();
81
+ }
82
+ hostUpdated() {
83
+ this.updateAriaLabel();
84
+ }
85
+ }
86
+ /*! * Lucero - The design system for Luzmo.
87
+ *
88
+ * Copyright © 2025 Luzmo
89
+ * All rights reserved.
90
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
91
+ * This license allows users with a current active Luzmo account to use Lucero.
92
+ * This license terminates automatically if a user no longer has an active Luzmo account.
93
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
94
+ *
95
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
96
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
97
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
98
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
99
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
100
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
101
+ * SOFTWARE.
102
+ * */
103
+ /**
104
+ * @license
105
+ * Copyright 2018 Google LLC
106
+ * SPDX-License-Identifier: BSD-3-Clause
107
+ */
108
+ const O = $(class extends S {
109
+ constructor(t) {
110
+ var e;
111
+ if (super(t), t.type !== E.ATTRIBUTE || t.name !== "class" || ((e = t.strings) == null ? void 0 : e.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
112
+ }
113
+ render(t) {
114
+ return " " + Object.keys(t).filter((e) => t[e]).join(" ") + " ";
115
+ }
116
+ update(t, [e]) {
117
+ var o, r;
118
+ if (this.st === void 0) {
119
+ this.st = /* @__PURE__ */ new Set(), t.strings !== void 0 && (this.nt = new Set(t.strings.join(" ").split(/\s/).filter((i) => i !== "")));
120
+ for (const i in e) e[i] && !((o = this.nt) != null && o.has(i)) && this.st.add(i);
121
+ return this.render(e);
122
+ }
123
+ const n = t.element.classList;
124
+ for (const i of this.st) i in e || (n.remove(i), this.st.delete(i));
125
+ for (const i in e) {
126
+ const d = !!e[i];
127
+ d === this.st.has(i) || (r = this.nt) != null && r.has(i) || (d ? (n.add(i), this.st.add(i)) : (n.remove(i), this.st.delete(i)));
128
+ }
129
+ return C;
130
+ }
131
+ }), T = "(max-width: 743px) and (hover: none) and (pointer: coarse)";
132
+ class P {
133
+ constructor(e, o) {
134
+ this.key = Symbol("match-media-key"), this.matches = !1, this.host = e, this.host.addController(this), this.media = window.matchMedia(o), this.matches = this.media.matches, this.onChange = this.onChange.bind(this), e.addController(this);
135
+ }
136
+ hostConnected() {
137
+ var e;
138
+ (e = this.media) == null || e.addEventListener("change", this.onChange);
139
+ }
140
+ hostDisconnected() {
141
+ var e;
142
+ (e = this.media) == null || e.removeEventListener("change", this.onChange);
143
+ }
144
+ onChange(e) {
145
+ this.matches !== e.matches && (this.matches = e.matches, this.host.requestUpdate(this.key, !this.matches));
146
+ }
147
+ }
148
+ const D = '#button{cursor:pointer;-webkit-user-select:none;user-select:none;font-family:var(--luzmo-button-font-family, var(--luzmo-font-family));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:var(--luzmo-button-line-height, var(--luzmo-line-height, 1.3));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out,border-color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out,color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out,box-shadow var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out;justify-content:center;align-items:center;margin:0;-webkit-text-decoration:none;text-decoration:none;display:inline-flex;position:relative;overflow:visible}#button::-moz-focus-inner{border-style:none;padding:0}#button:focus{outline:none}@media (forced-colors: active){:host{--highcontrast-picker-focus-indicator-color: Highlight;--highcontrast-picker-border-color-default: ButtonBorder;--highcontrast-picker-border-color-hover: Highlight;--highcontrast-picker-border-color-disabled: GrayText;--highcontrast-picker-content-color-default: ButtonText;--highcontrast-picker-content-color-disabled: GrayText;--highcontrast-picker-background-color: ButtonFace}#button.is-keyboardFocused,#button:focus-visible{--highcontrast-picker-border-color-hover: ButtonText}#button .label,#button:after{forced-color-adjust:none}}#button{box-sizing:border-box;max-inline-size:100%;min-inline-size:calc(var(--picker-minimum-width-multiplier) * var(--luzmo-picker-block-size, var(--picker-block-size)));block-size:var(--luzmo-picker-block-size, var(--picker-block-size));border-width:var(--luzmo-picker-border-width, var(--picker-border-width));border-radius:var(--luzmo-picker-border-radius, var(--picker-border-radius));box-shadow:var(--luzmo-picker-box-shadow, var(--picker-box-shadow));transition:background-color var(--luzmo-picker-animation-duration, var(--picker-animation-duration)),box-shadow var(--luzmo-picker-animation-duration, var(--picker-animation-duration)),border-color var(--luzmo-picker-animation-duration, var(--picker-animation-duration)) ease-in-out;color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default, var(--picker-font-color-default)));background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-default, var(--picker-background-color-default)));border-style:solid;border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-default, var(--picker-border-color-default)));margin-block-start:var(--luzmo-picker-spacing-label-to-picker, var(--picker-spacing-label-to-picker));padding-block:0;padding-inline-start:var(--luzmo-picker-spacing-edge-to-text, var(--picker-spacing-edge-to-text));padding-inline-end:var(--luzmo-picker-spacing-edge-to-disclosure-icon, var(--picker-spacing-edge-to-disclosure-icon));display:flex}#button:after{pointer-events:none;content:"";block-size:calc(100% + var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) * 2 + var(--luzmo-picker-border-width, var(--picker-border-width)) * 2);inline-size:calc(100% + var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) * 2 + var(--luzmo-picker-border-width, var(--picker-border-width)) * 2);border-style:solid;border-width:var(--luzmo-picker-focus-indicator-thickness, var(--picker-focus-indicator-thickness));border-radius:calc(var(--luzmo-picker-border-radius, var(--picker-border-radius)) + var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) + var(--luzmo-picker-border-width, var(--picker-border-width)));border-color:#0000;margin-block-start:calc((var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) + var(--luzmo-picker-focus-indicator-thickness, var(--picker-focus-indicator-thickness)) + var(--luzmo-picker-border-width, var(--picker-border-width))) * -1);margin-inline-start:calc((var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) + var(--luzmo-picker-focus-indicator-thickness, var(--picker-focus-indicator-thickness)) + var(--luzmo-picker-border-width, var(--picker-border-width))) * -1);position:absolute;inset-block:0;inset-inline:0}#button:active{background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-active, var(--picker-background-color-active)));border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-active, var(--picker-border-color-active)))}#button:active:after{border-color:#0000}#button.placeholder:active .label{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-active, var(--picker-font-color-active)))}#button.is-keyboardFocused,#button:focus-visible{background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-key-focus, var(--picker-background-color-key-focus)));border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-key-focus, var(--picker-border-color-key-focus)));color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-key-focus, var(--picker-font-color-key-focus)));outline:none}#button.is-keyboardFocused:after,#button:focus-visible:after{border-color:var(--highcontrast-picker-focus-indicator-color, var(--luzmo-picker-focus-indicator-color, var(--picker-focus-indicator-color)))}#button.is-keyboardFocused.placeholder,#button.placeholder:focus-visible{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-key-focus, var(--picker-font-color-key-focus)))}#button.is-keyboardFocused .disclosure-icon,#button:focus-visible .disclosure-icon{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-key-focus, var(--picker-icon-color-key-focus)))}:host([open]) #button:not(:disabled,.is-disabled){color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default-open, var(--picker-font-color-default-open)));background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-default-open, var(--picker-background-color-default-open)));border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-default-open, var(--picker-border-color-default-open)))}:host([open]) #button:not(:disabled,.is-disabled) .disclosure-icon{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-default-open, var(--picker-icon-color-default-open)))}:host([invalid]) #button:not(:disabled,.is-disabled){border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-error-default, var(--picker-border-color-error-default)))}:host([invalid]) #button:not(:disabled,.is-disabled) .validation-icon{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-error, var(--picker-icon-color-error)))}:host([invalid]) #button:not(:disabled,.is-disabled):active{border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-error-active, var(--picker-border-color-error-active)))}:host([invalid][open]) #button:not(:disabled,.is-disabled){border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-error-default-open, var(--picker-border-color-error-default-open)))}:host([invalid]) #button.is-keyboardFocused:not(:disabled,.is-disabled),:host([invalid]) #button:not(:disabled,.is-disabled):focus-visible{border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-error-key-focus, var(--picker-border-color-error-key-focus)))}:host([pending]) #button .disclosure-icon{color:var(--highcontrast-picker-content-color-disabled, var(--luzmo-picker-icon-color-disabled, var(--picker-icon-color-disabled)))}.icon{flex-shrink:0}.label{white-space:nowrap;font-size:var(--luzmo-picker-font-size, var(--picker-font-size));line-height:var(--luzmo-picker-line-height, var(--picker-line-height));font-weight:var(--luzmo-picker-font-weight, var(--picker-font-weight));text-overflow:ellipsis;text-align:start;flex:auto;overflow:hidden}.label.placeholder{font-weight:var(--luzmo-picker-placeholder-font-weight, var(--picker-font-weight));font-style:var(--luzmo-picker-placeholder-font-style, var(--picker-placeholder-font-style));transition:color var(--luzmo-picker-animation-duration, var(--picker-animation-duration)) ease-in-out;color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default, var(--picker-font-color-default)))}.label.placeholder:active{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-active, var(--picker-font-color-active)))}.disclosure-icon{vertical-align:top;transition:color var(--luzmo-picker-animation-duration, var(--picker-animation-duration)) ease-out;margin-inline-start:var(--luzmo-picker-spacing-icon-to-disclosure-icon, var(--picker-spacing-icon-to-disclosure-icon));color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-default, var(--picker-icon-color-default)));flex-shrink:0;display:inline-block;position:relative}.disclosure-icon:active{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-active, var(--picker-icon-color-active)))}luzmo-progress-circle,.validation-icon{margin-inline-start:var(--luzmo-picker-spacing-text-to-icon, var(--picker-spacing-text-to-icon))}.icon-container{display:flex;position:relative;height:100%;align-items:center;font-size:var(--luzmo-picker-disclosure-icon-size, var(--picker-disclosure-icon-size))}.icon-container.disclosure-icon{margin-inline-end:0}.label~.disclosure-icon{margin-inline-start:var(--luzmo-picker-spacing-text-to-icon, var(--picker-spacing-text-to-icon))}:host([quiet]) #button{inline-size:auto;min-inline-size:0;padding-inline:var(--luzmo-picker-spacing-edge-to-text-quiet, var(--picker-spacing-edge-to-text-quiet));color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default, var(--picker-font-color-default)));background-color:initial;background-color:var(--highcontrast-picker-background-color, transparent);border:none;border-radius:0;box-shadow:none;margin-block-start:calc(var(--luzmo-picker-spacing-label-to-picker-quiet, var(--picker-spacing-label-to-picker-quiet)) + 1px)}:host([quiet]) #button.label-inline{margin-block-start:0}:host([quiet]) #button .disclosure-icon{margin-inline-end:var(--luzmo-picker-spacing-edge-to-disclosure-icon-quiet, var(--picker-spacing-edge-to-disclosure-icon-quiet))}:host([quiet]) #button:after{block-size:auto;inline-size:auto;border:none}@media (hover: hover){#button:hover{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-hover, var(--picker-font-color-hover)));background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-hover, var(--picker-background-color-hover)));border-color:var(--highcontrast-picker-border-color-hover, var(--luzmo-picker-border-color-hover, var(--picker-border-color-hover)))}#button:hover .disclosure-icon{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-hover, var(--picker-icon-color-hover)))}:host([open]):not([quiet]) #button:not(:disabled,.is-disabled):hover{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-hover-open, var(--picker-font-color-hover-open)));background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-hover-open, var(--picker-background-color-hover-open)));border-color:var(--highcontrast-picker-border-color-hover, var(--luzmo-picker-border-color-hover-open, var(--picker-border-color-hover-open)))}:host([open]) #button:not(:disabled,.is-disabled):hover .disclosure-icon{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-hover-open, var(--picker-icon-color-hover-open)))}:host([invalid]) #button:not(:disabled,.is-disabled):hover{border-color:var(--highcontrast-picker-border-color-hover, var(--luzmo-picker-border-color-error-hover, var(--picker-border-color-error-hover)))}:host([invalid][open]) #button:not(:disabled,.is-disabled):hover{border-color:var(--highcontrast-picker-border-color-hover, var(--luzmo-picker-border-color-error-hover-open, var(--picker-border-color-error-hover-open)))}.label.placeholder:hover{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-hover, var(--picker-font-color-hover)))}:host([quiet]) #button:hover{background-color:initial;background-color:var(--highcontrast-picker-background-color, transparent)!important}}:host([quiet]) #button.is-keyboardFocused,:host([quiet]) #button:focus-visible{background-color:initial;background-color:var(--highcontrast-picker-background-color, transparent)}:host([quiet]) #button.is-keyboardFocused:after,:host([quiet]) #button:focus-visible:after{box-shadow:0 var(--luzmo-picker-focus-indicator-thickness, var(--picker-focus-indicator-thickness)) 0 0 var(--highcontrast-picker-focus-indicator-color, var(--luzmo-picker-focus-indicator-color, var(--picker-focus-indicator-color)));margin:calc((var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) + var(--luzmo-picker-border-width, var(--picker-border-width))) * -1) 0;border:none;border-radius:0}:host([quiet][open]) #button,:host([quiet][disabled]) #button#button,:host([quiet]) #button#button:disabled,:host([quiet]) #button:active{background-color:initial;background-color:var(--highcontrast-picker-background-color, transparent)}.label-inline{vertical-align:top;display:inline-flex}:host([disabled]) #button,#button:disabled{cursor:default;background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-disabled, var(--picker-background-color-disabled)));border-color:#0000;border-color:var(--highcontrast-picker-border-color-disabled, transparent);color:var(--highcontrast-picker-content-color-disabled, var(--luzmo-picker-font-color-disabled, var(--picker-font-color-disabled)))}:host([disabled]) #button .icon,:host([disabled]) #button .disclosure-icon,:host([disabled]) #button .validation-icon,#button:disabled .icon,#button:disabled .disclosure-icon,#button:disabled .validation-icon{color:var(--highcontrast-picker-content-color-disabled, var(--luzmo-picker-icon-color-disabled, var(--picker-icon-color-disabled)))}:host([disabled]) #button .label.placeholder,#button:disabled .label.placeholder{color:var(--highcontrast-picker-content-color-disabled, var(--luzmo-picker-font-color-disabled, var(--picker-font-color-disabled)))}:host{--picker-box-shadow: 0px 1px 3px 0px rgba(var(--luzmo-border-color-rgb), .06);--picker-background-color-default: var(--luzmo-background-color);--picker-background-color-default-open: var(--luzmo-background-color-hover);--picker-background-color-active: var(--luzmo-background-color-down);--picker-background-color-hover: var(--luzmo-background-color-hover);--picker-background-color-hover-open: var(--luzmo-background-color-down);--picker-background-color-key-focus: var(--luzmo-background-color-down);--picker-border-color-default: var(--luzmo-border-color);--picker-border-color-default-open: var(--luzmo-border-color-hover);--picker-border-color-hover: var(--luzmo-border-color);--picker-border-color-hover-open: var(--luzmo-border-color-hover);--picker-border-color-active: var(--luzmo-border-color);--picker-border-color-key-focus: var(--luzmo-border-color);--picker-border-width: var(--luzmo-border-width);--picker-font-size: var(--luzmo-font-size);--picker-font-weight: var(--luzmo-font-weight);--picker-placeholder-font-style: var(--luzmo-font-style);--picker-line-height: var(--luzmo-line-height);--picker-block-size: 32px;--picker-border-radius: var(--luzmo-border-radius);--picker-spacing-edge-to-text: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-text-to-icon: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-text-to-icon-inline-end: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-icon-to-disclosure-icon: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-edge-to-text-quiet: 0px;--picker-spacing-label-to-picker: 0px;--picker-spacing-label-to-picker-quiet: calc( -1 * var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-edge-to-disclosure-icon: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-edge-to-disclosure-icon-quiet: 0px;--picker-animation-duration: var(--luzmo-animation-duration);--picker-font-color-default: var(--luzmo-font-color);--picker-font-color-default-open: var(--luzmo-font-color-hover);--picker-font-color-hover: var(--luzmo-font-color-hover);--picker-font-color-hover-open: var(--luzmo-font-color-down);--picker-font-color-active: var(--luzmo-font-color-focus);--picker-font-color-key-focus: var(--luzmo-font-color-focus);--picker-icon-color-default: var(--luzmo-font-color);--picker-icon-color-default-open: var(--luzmo-font-color-hover);--picker-icon-color-hover: var(--luzmo-font-color-hover);--picker-icon-color-hover-open: var(--luzmo-font-color-hover);--picker-icon-color-active: var(--luzmo-font-color-focus);--picker-icon-color-key-focus: var(--luzmo-font-color-focus);--picker-border-color-error-default: var(--luzmo-color-negative);--picker-border-color-error-default-open: var(--luzmo-color-negative-down);--picker-border-color-error-hover: var(--luzmo-color-negative-hover);--picker-border-color-error-hover-open: var(--luzmo-color-negative-down);--picker-border-color-error-active: var(--luzmo-color-negative-down);--picker-border-color-error-key-focus: var(--luzmo-color-negative-focus);--picker-icon-color-error: var(--luzmo-color-negative);--picker-background-color-disabled: var(--luzmo-background-color-disabled);--picker-font-color-disabled: var(--luzmo-color-disabled);--picker-icon-color-disabled: var(--luzmo-color-disabled);--picker-focus-indicator-gap: var(--luzmo-indicator-gap);--picker-focus-indicator-thickness: var(--luzmo-indicator-width);--picker-focus-indicator-color: var(--luzmo-indicator-color);--picker-disclosure-icon-size: var(--luzmo-font-size-s)}:host([size=s]){--picker-block-size: 28px;--picker-font-size: var(--luzmo-font-size-s);--picker-border-radius: var(--luzmo-border-radius);--picker-spacing-edge-to-text: var(--luzmo-spacing-3);--picker-spacing-text-to-icon: var(--luzmo-spacing-3);--picker-spacing-text-to-icon-inline-end: var(--luzmo-spacing-3);--picker-spacing-icon-to-disclosure-icon: var(--luzmo-spacing-3);--picker-spacing-label-to-picker-quiet: calc(-1 * var(--luzmo-spacing-3));--picker-spacing-edge-to-disclosure-icon: var(--luzmo-spacing-3);--picker-disclosure-icon-size: var(--luzmo-font-size-s)}:host([size=l]){--picker-block-size: 40px;--picker-font-size: var(--luzmo-font-size-l);--picker-border-radius: var(--luzmo-border-radius);--picker-spacing-edge-to-text: var(--luzmo-spacing-4);--picker-spacing-text-to-icon: var(--luzmo-spacing-4);--picker-spacing-text-to-icon-inline-end: var(--luzmo-spacing-4);--picker-spacing-icon-to-disclosure-icon: var(--luzmo-spacing-4);--picker-spacing-label-to-picker-quiet: calc(-1 * var(--luzmo-spacing-4));--picker-spacing-edge-to-disclosure-icon: var(--luzmo-spacing-4);--picker-disclosure-icon-size: var(--luzmo-font-size)}:host([size=xl]){--picker-block-size: 48px;--picker-font-size: var(--luzmo-font-size-xl);--picker-border-radius: var(--luzmo-border-radius-l);--picker-spacing-edge-to-text: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-spacing-text-to-icon: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-spacing-text-to-icon-inline-end: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-spacing-icon-to-disclosure-icon: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-spacing-label-to-picker-quiet: calc( -1 * var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-spacing-edge-to-disclosure-icon: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-disclosure-icon-size: var(--luzmo-font-size-l)}:host([variant=highlight]) ::slotted(luzmo-menu-item[selected]){--menu-item-highlight-label-content-color: var(--luzmo-primary-inverse-color);--menu-checkmark-display: var(--menu-checkmark-display-hidden);padding-inline-start:var(--luzmo-menu-item-label-inline-edge-to-content, var(--menu-item-label-inline-edge-to-content));background-color:var(--luzmo-menu-item-highlight-label-background-color, var(--menu-item-highlight-label-background-color, var(--luzmo-border-color)))}:host{display:inline-flex;vertical-align:top;max-inline-size:100%;inline-size:var(--luzmo-picker-inline-size, var(--picker-inline-size));min-inline-size:calc(var(--picker-minimum-width-multiplier) * var(--luzmo-picker-block-size, var(--picker-block-size)))}:host([quiet]){width:auto;min-width:0}:host([disabled]){pointer-events:none}#button{width:100%;min-width:100%;max-width:100%}#icon:not([hidden]){display:inline-flex}:host([readonly]) #button{-webkit-user-select:inherit;user-select:inherit}.picker,.validation-icon{flex-shrink:0}luzmo-overlay{pointer-events:none}luzmo-menu{pointer-events:initial}:host>luzmo-menu{display:none}:host([focused]:not([quiet])) #button #label.placeholder{color:var(--picker-placeholder-text-color-key-focus, var(--alias-placeholder-text-color-hover))}#label.visually-hidden~.picker{margin-inline-start:auto}:host([focused]:not([quiet],[pending])) #button .picker{color:var(--picker-icon-color-key-focus, var(--alias-icon-color-focus))}.visually-hidden{border:0;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}luzmo-overlay:not(:defined){display:none}#button.remove-focus-ring-safari-hack:focus-visible{background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-default, var(--picker-background-color-default)));border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-default, var(--picker-border-color-default)));color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default, var(--picker-font-color-default)))}#button.remove-focus-ring-safari-hack:after{border:none}#button.remove-focus-ring-safari-hack:focus-visible:after{box-shadow:none}#button.remove-focus-ring-safari-hack:active{background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-default, var(--picker-background-color-default)));border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-default, var(--picker-border-color-default)));color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default, var(--picker-font-color-default)))}';
149
+ var m = /* @__PURE__ */ ((t) => (t[t.desktop = 0] = "desktop", t[t.mobile = 1] = "mobile", t))(m || {});
150
+ class z {
151
+ constructor(e, o) {
152
+ this.target = e, this.host = o, this.preventNextToggle = "no", this.pointerdownState = !1, this.enterKeydownOn = null, this._open = !1, this.target = e, this.host = o, this.host.addController(this), this.init();
153
+ }
154
+ get activelyOpening() {
155
+ return !1;
156
+ }
157
+ get open() {
158
+ return this._open;
159
+ }
160
+ /**
161
+ * Set `open`
162
+ */
163
+ set open(e) {
164
+ if (this._open !== e) {
165
+ if (this._open = e, this.overlay) {
166
+ this.host.open = e;
167
+ return;
168
+ }
169
+ customElements.whenDefined("luzmo-overlay").then(async () => {
170
+ const { LuzmoOverlay: o } = await import("./index-BRk42NQn.js").then((r) => r.i);
171
+ this.overlay = new o(), this.host.open = !0, this.host.requestUpdate();
172
+ }), import("./index-BRk42NQn.js").then((o) => o.i);
173
+ }
174
+ }
175
+ get overlay() {
176
+ return this._overlay;
177
+ }
178
+ set overlay(e) {
179
+ e && this.overlay !== e && (this._overlay = e, this.initOverlay());
180
+ }
181
+ releaseDescription() {
182
+ }
183
+ handleBeforetoggle(e) {
184
+ var o;
185
+ e.composedPath()[0] === e.target && (e.newState === "closed" && (this.preventNextToggle === "no" ? this.open = !1 : this.pointerdownState || (o = this.overlay) == null || o.manuallyKeepOpen()), this.open || (this.host.optionsMenu.updateSelectedItemIndex(), this.host.optionsMenu.closeDescendentOverlays()));
186
+ }
187
+ initOverlay() {
188
+ this.overlay && (this.overlay.addEventListener("beforetoggle", (e) => {
189
+ this.handleBeforetoggle(
190
+ e
191
+ );
192
+ }), this.overlay.type = this.host.isMobile.matches ? "modal" : "auto", this.overlay.triggerElement = this.host, this.overlay.placement = this.host.isMobile.matches ? void 0 : this.host.placement, this.overlay.receivesFocus = "true", this.overlay.willPreventClose = this.preventNextToggle !== "no" && this.open, this.overlay.addEventListener(
193
+ "slottable-request",
194
+ this.host.handleSlottableRequest
195
+ ));
196
+ }
197
+ handlePointerdown(e) {
198
+ }
199
+ handleButtonFocus(e) {
200
+ this.preventNextToggle === "maybe" && e.relatedTarget === this.host.optionsMenu && (this.preventNextToggle = "yes");
201
+ }
202
+ handleActivate(e) {
203
+ }
204
+ /* c8 ignore next 3 */
205
+ init() {
206
+ }
207
+ abort() {
208
+ var e;
209
+ this.releaseDescription(), (e = this.abortController) == null || e.abort();
210
+ }
211
+ hostConnected() {
212
+ this.init();
213
+ }
214
+ hostDisconnected() {
215
+ var e;
216
+ (e = this.abortController) == null || e.abort();
217
+ }
218
+ hostUpdated() {
219
+ this.overlay && this.host.dependencyManager.loaded && this.host.open !== this.overlay.open && (this.overlay.willPreventClose = this.preventNextToggle !== "no", this.overlay.open = this.host.open);
220
+ }
221
+ }
222
+ class U extends z {
223
+ constructor() {
224
+ super(...arguments), this.type = m.desktop;
225
+ }
226
+ handlePointerdown(e) {
227
+ if (e.button !== 0 || e.pointerType === "touch")
228
+ return;
229
+ this.pointerdownState = this.open, this.preventNextToggle = "maybe";
230
+ let o = 0;
231
+ const r = () => {
232
+ cancelAnimationFrame(o), o = requestAnimationFrame(() => {
233
+ document.removeEventListener("pointerup", r), document.removeEventListener("pointercancel", r), this.target.removeEventListener("click", r), requestAnimationFrame(() => {
234
+ this.preventNextToggle = "no";
235
+ });
236
+ });
237
+ };
238
+ document.addEventListener("pointerup", r), document.addEventListener("pointercancel", r), this.target.addEventListener("click", r), this.handleActivate();
239
+ }
240
+ handleActivate(e) {
241
+ this.enterKeydownOn && this.enterKeydownOn !== this.target || this.preventNextToggle !== "yes" && ((e == null ? void 0 : e.type) === "click" && this.open !== this.pointerdownState || this.host.toggle());
242
+ }
243
+ init() {
244
+ var e;
245
+ (e = this.abortController) == null || e.abort(), this.abortController = new AbortController();
246
+ const { signal: o } = this.abortController;
247
+ this.target.addEventListener(
248
+ "click",
249
+ (r) => this.handleActivate(r),
250
+ {
251
+ signal: o
252
+ }
253
+ ), this.target.addEventListener(
254
+ "pointerdown",
255
+ (r) => this.handlePointerdown(r),
256
+ { signal: o }
257
+ ), this.target.addEventListener(
258
+ "focus",
259
+ (r) => this.handleButtonFocus(r),
260
+ {
261
+ signal: o
262
+ }
263
+ );
264
+ }
265
+ }
266
+ const h = "remove-focus-ring-safari-hack";
267
+ class K extends z {
268
+ constructor() {
269
+ super(...arguments), this.type = m.mobile;
270
+ }
271
+ handleClick() {
272
+ this.preventNextToggle === "no" && (this.open = !this.open), this.preventNextToggle = "no";
273
+ }
274
+ handlePointerdown() {
275
+ this.preventNextToggle = this.open ? "yes" : "no", b() && this.target.classList.add(h);
276
+ }
277
+ handleFocusOut() {
278
+ this.host.open || b() && this.target.classList.contains(h) && this.target.classList.remove(h);
279
+ }
280
+ init() {
281
+ var e;
282
+ (e = this.abortController) == null || e.abort(), this.abortController = new AbortController();
283
+ const { signal: o } = this.abortController;
284
+ this.target.addEventListener("click", () => this.handleClick(), {
285
+ signal: o
286
+ }), this.target.addEventListener(
287
+ "pointerdown",
288
+ () => this.handlePointerdown(),
289
+ { signal: o }
290
+ ), this.target.addEventListener("focusout", () => this.handleFocusOut(), {
291
+ signal: o
292
+ });
293
+ }
294
+ }
295
+ const g = {
296
+ desktop: U,
297
+ mobile: K
298
+ };
299
+ var N = Object.defineProperty, R = Object.getOwnPropertyDescriptor, a = (t, e, o, r) => {
300
+ for (var n = r > 1 ? void 0 : r ? R(e, o) : e, i = t.length - 1, d; i >= 0; i--)
301
+ (d = t[i]) && (n = (r ? d(e, o, n) : d(n)) || n);
302
+ return r && n && N(e, o, n), n;
303
+ };
304
+ const _ = () => c`
305
+ <div class="disclosure-icon icon">
306
+ ${f(L, { className: "indicator" })}
307
+ </div>
308
+ `, H = () => c`
309
+ <div class="icon-container validation-icon icon">
310
+ ${f(F)}
311
+ </div>
312
+ `, k = "option-picker";
313
+ class l extends A(y, {
314
+ noDefaultSize: !0
315
+ }) {
316
+ /**
317
+ * Initializes the `PendingStateController` for the Picker component.
318
+ * The `PendingStateController` manages the pending state of the Picker.
319
+ */
320
+ constructor() {
321
+ super(), this.disabled = !1, this.focused = !1, this.invalid = !1, this.pending = !1, this.pendingLabel = "Pending", this.open = !1, this.readonly = !1, this.placement = "bottom-start", this.quiet = !1, this.value = "", this.selects = "single", this.dependencyManager = new q(this), this.isMobile = new P(this, T), this.listRole = "listbox", this.itemRole = "option", this.hasRenderedOverlay = !1, this._selfManageFocusElement = !1, this.deprecatedMenu = null, this.selectionPromise = Promise.resolve(), this.willManageSelection = !1, this.recentlyConnected = !1, this.enterKeydownOn = null, this.handleSlottableRequest = (e) => {
322
+ }, this.applyFocusElementLabel = (e, o) => {
323
+ this.appliedLabel = e, this.labelAlignment = o.sideAligned ? "inline" : void 0;
324
+ }, this.handleKeydown = (e) => {
325
+ this.focused = !0, !(e.code !== "ArrowDown" && e.code !== "ArrowUp") && (e.stopPropagation(), e.preventDefault(), this.toggle(!0));
326
+ }, this.renderAngleIcon = () => _(), this.renderAlertIcon = () => H(), this.handleEnterKeydown = (e) => {
327
+ if (e.code === "Enter") {
328
+ if (this.enterKeydownOn) {
329
+ e.preventDefault();
330
+ return;
331
+ }
332
+ this.enterKeydownOn = e.target, this.addEventListener(
333
+ "keyup",
334
+ (o) => {
335
+ o.code === "Enter" && (this.enterKeydownOn = null);
336
+ },
337
+ { once: !0 }
338
+ );
339
+ }
340
+ }, this.pendingStateController = new B(this);
341
+ }
342
+ get selectedItem() {
343
+ return this._selectedItem;
344
+ }
345
+ get selectedItemContent() {
346
+ return this._selectedItemContent || { icon: [], content: [] };
347
+ }
348
+ get selfManageFocusElement() {
349
+ return this._selfManageFocusElement;
350
+ }
351
+ get menuItems() {
352
+ return this.optionsMenu.childItems;
353
+ }
354
+ set selectedItem(e) {
355
+ if (this.selectedItemContent = e ? e.itemChildren : void 0, e === this.selectedItem)
356
+ return;
357
+ const o = this.selectedItem;
358
+ this._selectedItem = e, this.requestUpdate("selectedItem", o);
359
+ }
360
+ get focusElement() {
361
+ return this.open ? this.optionsMenu : this.button;
362
+ }
363
+ forceFocusVisible() {
364
+ this.disabled || (this.focused = !0);
365
+ }
366
+ click() {
367
+ this.disabled || this.toggle();
368
+ }
369
+ handleButtonBlur() {
370
+ this.focused = !1;
371
+ }
372
+ focus(e) {
373
+ super.focus(e), !this.disabled && this.focusElement && (this.focused = this.hasVisibleFocusInTree());
374
+ }
375
+ handleHelperFocus() {
376
+ this.focused = !0, this.button.focus();
377
+ }
378
+ handleChange(e) {
379
+ this.strategy && (this.strategy.preventNextToggle = "no");
380
+ const o = e.target, [r] = o.selectedItems;
381
+ e.stopPropagation(), e.cancelable ? this.setValueFromItem(r, e) : (this.open = !1, this.strategy && (this.strategy.open = !1));
382
+ }
383
+ handleButtonFocus(e) {
384
+ var o;
385
+ (o = this.strategy) == null || o.handleButtonFocus(e);
386
+ }
387
+ toggle(e) {
388
+ this.readonly || this.pending || (this.open = e === void 0 ? !this.open : e, this.strategy && (this.strategy.open = this.open), this._selfManageFocusElement = this.open);
389
+ }
390
+ close() {
391
+ this.readonly || this.strategy && (this.open = !1, this.strategy.open = !1);
392
+ }
393
+ bindEvents() {
394
+ var e;
395
+ (e = this.strategy) == null || e.abort(), this.strategy = this.isMobile.matches ? new g.mobile(this.button, this) : new g.desktop(this.button, this);
396
+ }
397
+ connectedCallback() {
398
+ super.connectedCallback(), this.recentlyConnected = this.hasUpdated;
399
+ }
400
+ disconnectedCallback() {
401
+ var e;
402
+ this.close(), (e = this.strategy) == null || e.releaseDescription(), super.disconnectedCallback();
403
+ }
404
+ async setValueFromItem(e, o) {
405
+ this.open = !1, this.strategy && (this.strategy.open = !1);
406
+ const r = this.selectedItem, n = this.value;
407
+ if (this.selectedItem = e, this.value = (e == null ? void 0 : e.value) ?? "", await this.updateComplete, !this.dispatchEvent(
408
+ new CustomEvent("change", {
409
+ bubbles: !0,
410
+ // Allow it to be prevented.
411
+ cancelable: !0,
412
+ composed: !0,
413
+ detail: this.value
414
+ })
415
+ ) && this.selects) {
416
+ o && o.preventDefault(), this.setMenuItemSelected(this.selectedItem, !1), r && this.setMenuItemSelected(r, !0), this.selectedItem = r, this.value = n, this.open = !0, this.strategy && (this.strategy.open = !0);
417
+ return;
418
+ } else if (!this.selects) {
419
+ this.selectedItem = r, this.value = n;
420
+ return;
421
+ }
422
+ r && this.setMenuItemSelected(r, !1), this.setMenuItemSelected(e, !!this.selects);
423
+ }
424
+ setMenuItemSelected(e, o) {
425
+ this.selects != null && (e.selected = o);
426
+ }
427
+ get containerStyles() {
428
+ return this.isMobile.matches ? {
429
+ "--swc-menu-width": "100%"
430
+ } : {};
431
+ }
432
+ set selectedItemContent(e) {
433
+ if (e === this.selectedItemContent)
434
+ return;
435
+ const o = this.selectedItemContent;
436
+ this._selectedItemContent = e, this.requestUpdate("selectedItemContent", o);
437
+ }
438
+ handleTooltipSlotchange(e) {
439
+ this.tooltipEl = e.target.assignedElements()[0];
440
+ }
441
+ renderLabelContent(e) {
442
+ return this.value && this.selectedItem ? e : c`
443
+ <slot name="label" id="label">
444
+ <span aria-hidden=${u(this.appliedLabel ? void 0 : "true")}>
445
+ ${this.label}
446
+ </span>
447
+ </slot>
448
+ `;
449
+ }
450
+ get buttonContent() {
451
+ const e = {
452
+ "visually-hidden": this.icons === "only" && !!this.value,
453
+ placeholder: !this.value,
454
+ label: !0
455
+ }, o = this.appliedLabel || this.label;
456
+ return [
457
+ c`
458
+ <div id="icon" ?hidden=${this.icons === "none"}>
459
+ ${this.selectedItemContent.icon}
460
+ </div>
461
+ <div
462
+ id=${u(this.value && this.selectedItem ? "label" : void 0)}
463
+ class=${O(e)}
464
+ >
465
+ ${this.renderLabelContent(this.selectedItemContent.content)}
466
+ </div>
467
+ ${this.value && this.selectedItem ? c`
468
+ <div
469
+ aria-hidden="true"
470
+ class="visually-hidden"
471
+ id="applied-label"
472
+ >
473
+ ${o}
474
+ <slot name="label"></slot>
475
+ </div>
476
+ ` : c` <span hidden id="applied-label">${o}</span> `}
477
+ ${this.invalid && !this.pending ? c` ${this.renderAlertIcon()} ` : x}
478
+ ${this.pendingStateController.renderPendingState()}
479
+ ${this.renderAngleIcon()}
480
+ <slot
481
+ aria-hidden="true"
482
+ name="tooltip"
483
+ id="tooltip"
484
+ @slotchange=${this.handleTooltipSlotchange}
485
+ ></slot>
486
+ `
487
+ ];
488
+ }
489
+ renderOverlay(e) {
490
+ var o, r, n;
491
+ if (((o = this.strategy) == null ? void 0 : o.overlay) === void 0)
492
+ return e;
493
+ const i = this.renderContainer(e);
494
+ return w(i, (r = this.strategy) == null ? void 0 : r.overlay, {
495
+ host: this
496
+ }), (n = this.strategy) == null ? void 0 : n.overlay;
497
+ }
498
+ get renderDescriptionSlot() {
499
+ return c`
500
+ <div id=${k}>
501
+ <slot name="description"></slot>
502
+ </div>
503
+ `;
504
+ }
505
+ // a helper to throw focus to the button is needed because Safari
506
+ // won't include buttons in the tab order even with tabindex="0"
507
+ render() {
508
+ return this.tooltipEl && (this.tooltipEl.disabled = this.open), c`
509
+ <span
510
+ id="focus-helper"
511
+ tabindex=${this.focused || this.open ? "-1" : "0"}
512
+ @focus=${this.handleHelperFocus}
513
+ aria-describedby=${k}
514
+ ></span>
515
+ <button
516
+ aria-controls=${u(this.open ? "menu" : void 0)}
517
+ aria-describedby="tooltip"
518
+ aria-expanded=${this.open ? "true" : "false"}
519
+ aria-haspopup="true"
520
+ aria-labelledby="loader icon label applied-label"
521
+ id="button"
522
+ class=${u(
523
+ this.labelAlignment ? `label-${this.labelAlignment}` : void 0
524
+ )}
525
+ @blur=${this.handleButtonBlur}
526
+ @keydown=${{
527
+ handleEvent: this.handleEnterKeydown,
528
+ capture: !0
529
+ }}
530
+ ?disabled=${this.disabled}
531
+ tabindex="-1"
532
+ >
533
+ ${this.buttonContent}
534
+ </button>
535
+ ${this.renderMenu} ${this.renderDescriptionSlot}
536
+ `;
537
+ }
538
+ update(e) {
539
+ var o, r;
540
+ this.selects && (this.selects = "single"), e.has("disabled") && this.disabled && this.strategy && (this.open = !1, this.strategy.open = !1), e.has("pending") && this.pending && this.strategy && (this.open = !1, this.strategy.open = !1), e.has("value") && this.shouldScheduleManageSelection(), this.hasUpdated || (this.deprecatedMenu = this.querySelector(":scope > luzmo-menu"), (o = this.deprecatedMenu) == null || o.toggleAttribute("ignore", !0), (r = this.deprecatedMenu) == null || r.setAttribute("selects", "inherit")), super.update(e);
541
+ }
542
+ bindButtonKeydownListener() {
543
+ this.button.addEventListener("keydown", this.handleKeydown);
544
+ }
545
+ updated(e) {
546
+ super.updated(e), e.has("open") && (this.strategy.open = this.open);
547
+ }
548
+ firstUpdated(e) {
549
+ super.firstUpdated(e), this.bindButtonKeydownListener(), this.bindEvents();
550
+ }
551
+ get dismissHelper() {
552
+ return c`
553
+ <div class="visually-hidden">
554
+ <button
555
+ tabindex="-1"
556
+ aria-label="Dismiss"
557
+ @click=${this.close}
558
+ ></button>
559
+ </div>
560
+ `;
561
+ }
562
+ renderContainer(e) {
563
+ const o = c`
564
+ ${this.dismissHelper} ${e} ${this.dismissHelper}
565
+ `;
566
+ return this.dependencyManager.add("luzmo-popover"), import("./index-DVaeDCbe.js"), c`
567
+ <luzmo-popover
568
+ id="popover"
569
+ size=${this.size}
570
+ role="presentation"
571
+ style=${M(this.containerStyles)}
572
+ placement=${this.placement}
573
+ >
574
+ ${o}
575
+ </luzmo-popover>
576
+ `;
577
+ }
578
+ get renderMenu() {
579
+ const e = c`
580
+ <luzmo-menu
581
+ aria-labelledby="applied-label"
582
+ @change=${this.handleChange}
583
+ id="menu"
584
+ @keydown=${{
585
+ handleEvent: this.handleEnterKeydown,
586
+ capture: !0
587
+ }}
588
+ @scroll=${this.onScroll}
589
+ role=${this.listRole}
590
+ .selects=${this.selects}
591
+ .selected=${this.value ? [this.value] : []}
592
+ size=${this.size}
593
+ @luzmo-menu-item-added-or-updated=${this.shouldManageSelection}
594
+ >
595
+ <slot @slotchange=${this.shouldScheduleManageSelection}></slot>
596
+ </luzmo-menu>
597
+ `;
598
+ return this.hasRenderedOverlay = this.hasRenderedOverlay || this.focused || this.open || !!this.deprecatedMenu, this.hasRenderedOverlay ? (this.dependencyManager.loaded && this.dependencyManager.add("luzmo-overlay"), this.renderOverlay(e)) : e;
599
+ }
600
+ shouldScheduleManageSelection(e) {
601
+ !this.willManageSelection && (!e || e.target.getRootNode().host === this) && (this.willManageSelection = !0, requestAnimationFrame(() => {
602
+ requestAnimationFrame(() => {
603
+ this.manageSelection();
604
+ });
605
+ }));
606
+ }
607
+ shouldManageSelection() {
608
+ this.willManageSelection || (this.willManageSelection = !0, this.manageSelection());
609
+ }
610
+ async manageSelection() {
611
+ if (this.selects == null)
612
+ return;
613
+ this.selectionPromise = new Promise(
614
+ (o) => this.selectionResolver = o
615
+ );
616
+ let e;
617
+ await this.optionsMenu.updateComplete, this.recentlyConnected && (await new Promise((o) => requestAnimationFrame(() => o(!0))), this.recentlyConnected = !1), this.menuItems.forEach((o) => {
618
+ this.value === o.value && !o.disabled ? e = o : o.selected = !1;
619
+ }), e ? (e.selected = !!this.selects, this.selectedItem = e) : (this.value = "", this.selectedItem = void 0), this.open && (await this.optionsMenu.updateComplete, this.optionsMenu.updateSelectedItemIndex()), this.selectionResolver(), this.willManageSelection = !1;
620
+ }
621
+ async getUpdateComplete() {
622
+ const e = await super.getUpdateComplete();
623
+ return await this.selectionPromise, e;
624
+ }
625
+ onScroll() {
626
+ this.dispatchEvent(
627
+ new Event("scroll", {
628
+ cancelable: !0,
629
+ composed: !0
630
+ })
631
+ );
632
+ }
633
+ }
634
+ a([
635
+ p()
636
+ ], l.prototype, "appliedLabel", 2);
637
+ a([
638
+ v("#button")
639
+ ], l.prototype, "button", 2);
640
+ a([
641
+ s({ type: Boolean, reflect: !0 })
642
+ ], l.prototype, "disabled", 2);
643
+ a([
644
+ s({ type: Boolean, reflect: !0 })
645
+ ], l.prototype, "focused", 2);
646
+ a([
647
+ s({ type: String, reflect: !0 })
648
+ ], l.prototype, "icons", 2);
649
+ a([
650
+ s({ type: String, reflect: !0 })
651
+ ], l.prototype, "variant", 2);
652
+ a([
653
+ s({ type: Boolean, reflect: !0 })
654
+ ], l.prototype, "invalid", 2);
655
+ a([
656
+ s({ type: Boolean, reflect: !0 })
657
+ ], l.prototype, "pending", 2);
658
+ a([
659
+ s({ type: String, attribute: "pending-label" })
660
+ ], l.prototype, "pendingLabel", 2);
661
+ a([
662
+ s()
663
+ ], l.prototype, "label", 2);
664
+ a([
665
+ s({ type: Boolean, reflect: !0 })
666
+ ], l.prototype, "open", 2);
667
+ a([
668
+ s({ type: Boolean, reflect: !0 })
669
+ ], l.prototype, "readonly", 2);
670
+ a([
671
+ p()
672
+ ], l.prototype, "labelAlignment", 2);
673
+ a([
674
+ v("luzmo-menu")
675
+ ], l.prototype, "optionsMenu", 2);
676
+ a([
677
+ v("luzmo-overlay")
678
+ ], l.prototype, "overlayElement", 2);
679
+ a([
680
+ s()
681
+ ], l.prototype, "placement", 2);
682
+ a([
683
+ s({ type: Boolean, reflect: !0 })
684
+ ], l.prototype, "quiet", 2);
685
+ a([
686
+ s({ type: String })
687
+ ], l.prototype, "value", 2);
688
+ a([
689
+ s({ attribute: !1 })
690
+ ], l.prototype, "selectedItem", 1);
691
+ a([
692
+ p()
693
+ ], l.prototype, "selectedItemContent", 1);
694
+ class j extends l {
695
+ constructor() {
696
+ super(...arguments), this.handleKeydown = (e) => {
697
+ const { code: o } = e;
698
+ if (this.focused = !0, !o.startsWith("Arrow") || this.readonly || this.pending)
699
+ return;
700
+ if (o === "ArrowUp" || o === "ArrowDown") {
701
+ this.toggle(!0), e.preventDefault();
702
+ return;
703
+ }
704
+ e.preventDefault();
705
+ const r = this.selectedItem ? this.menuItems.indexOf(this.selectedItem) : -1, n = r < 0 || o === "ArrowRight" ? 1 : -1;
706
+ let i = r + n;
707
+ for (; this.menuItems[i] && this.menuItems[i].disabled; )
708
+ i += n;
709
+ !this.menuItems[i] || this.menuItems[i].disabled || (!this.value || i !== r) && this.setValueFromItem(this.menuItems[i]);
710
+ };
711
+ }
712
+ static get styles() {
713
+ return [I(D)];
714
+ }
715
+ get containerStyles() {
716
+ const e = super.containerStyles;
717
+ return this.quiet || (e["min-width"] = `${this.offsetWidth}px`), e;
718
+ }
719
+ }
720
+ /*! * Lucero - The design system for Luzmo.
721
+ *
722
+ * Copyright © 2025 Luzmo
723
+ * All rights reserved.
724
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
725
+ * This license allows users with a current active Luzmo account to use Lucero.
726
+ * This license terminates automatically if a user no longer has an active Luzmo account.
727
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
728
+ *
729
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
730
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
731
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
732
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
733
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
734
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
735
+ * SOFTWARE.
736
+ * */
737
+ const V = () => {
738
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
739
+ const t = document.createElement("style");
740
+ t.setAttribute("data-luzmo-vars", ""), t.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(t);
741
+ }
742
+ };
743
+ V();
744
+ customElements.get("luzmo-picker") || customElements.define("luzmo-picker", j);