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

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 (372) hide show
  1. package/components/async-directive-DWRUSKKF-C2JoUGYR.cjs +56 -0
  2. package/components/async-directive-DWRUSKKF-CNTJHpgh.js +152 -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/{lib/button-base-CtfPWS-P.js → components/button-base-B7v4eeRh-B4fczZlv.js} +55 -36
  8. package/components/button-base-B7v4eeRh-CjngVDsD.cjs +43 -0
  9. package/components/checkbox-mixin-BFGTmw17-BR4ufh0S.js +88 -0
  10. package/components/checkbox-mixin-BFGTmw17-lIHmn1jk.cjs +45 -0
  11. package/components/directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs +80 -0
  12. package/components/directive-helpers-nlQRAaQt-arNFWD5u.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 +136 -0
  21. package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
  22. package/{lib/en-GB-BqYHIX1v.cjs → 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/components/display-settings-grand-totals/index.cjs +41 -0
  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} +116 -106
  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} +113 -132
  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} +143 -242
  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-Ck3NFAli.cjs +53 -0
  99. package/components/edit-option-base-w3UBiCoU.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/droppable-slot/index.cjs → components/en-BvtH5B9A.cjs} +1 -1
  139. package/{lib/index-D_KYpfBM.js → components/en-CN4CDOzo.js} +2 -3
  140. package/{lib/en-GB-CYx--4nh.js → components/en-GB-BMvD7axC.js} +1 -1
  141. package/{lib/index-0314DjEl.cjs → components/en-GB-DrOGXwdM.cjs} +1 -1
  142. package/{lib/draggable-data-item/index.cjs → components/en-US-BvtH5B9A.cjs} +1 -1
  143. package/components/en-US-CN4CDOzo.js +23 -0
  144. package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
  145. package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
  146. package/{lib/get-css-variable-BHHQ0SnL.js → components/get-css-variable-Bhbr-Kr1.js} +379 -410
  147. package/components/get-css-variable-DLiZYZEi.cjs +24 -0
  148. package/components/if-defined-BSAr_4u4-CNmaFBUP.cjs +60 -0
  149. package/components/if-defined-BSAr_4u4-CVDyXUmc.js +95 -0
  150. package/components/if-defined-_S7apvH1.js +29 -0
  151. package/components/if-defined-aQZR75uI.cjs +24 -0
  152. package/components/index-B0ZqIWfU.cjs +39 -0
  153. package/components/index-BEi8DTwW.cjs +36 -0
  154. package/components/index-Bti4K2L2.cjs +67 -0
  155. package/components/index-BuW8doNV.js +299 -0
  156. package/components/index-BxFGd_xp.cjs +36 -0
  157. package/components/index-ByfMhxDr.cjs +36 -0
  158. package/{lib/progress-circle/index.js → components/index-C44nA7Wn.js} +53 -20
  159. package/components/index-CHLcEawI.js +77 -0
  160. package/components/index-CKbGBBId.cjs +54 -0
  161. package/components/index-CMvLpPKD-CgGXdNKs.js +935 -0
  162. package/components/index-CMvLpPKD-DoxJRhRP.cjs +95 -0
  163. package/components/index-CQjWiSIp.cjs +202 -0
  164. package/components/index-C_Cxv6xn.js +164 -0
  165. package/components/index-C_xCeCrL.cjs +185 -0
  166. package/components/index-CdHFj3ra.cjs +59 -0
  167. package/components/index-Ci0Pe5UA.js +317 -0
  168. package/components/index-DC2Pby0z.cjs +95 -0
  169. package/components/index-DDleIdd8.cjs +192 -0
  170. package/components/index-DLrQ4hc5.cjs +42 -0
  171. package/components/index-DMbzEC_s.js +104 -0
  172. package/{lib/index-B9h2L_hV.js → components/index-DUlH3hbL.js} +1233 -1110
  173. package/{lib/en-CIeY2T5K.js → components/index-DeyQ1JGg.js} +439 -447
  174. package/components/index-DiSrnT1e.js +77 -0
  175. package/{lib/picker/index.js → components/index-Dkom_Qy5.js} +22 -6
  176. package/components/index-DxXcY78P.cjs +36 -0
  177. package/components/index-EkTLplXl.cjs +95 -0
  178. package/{lib/droppable-slot/index.js → components/index-FSUV_4nO.js} +18 -4
  179. package/components/index-Pmv-d4iw.js +744 -0
  180. package/{lib/index-CBCm4_7S.js → components/index-aLxc3xA_.js} +400 -459
  181. package/{lib/index-Bd4cKS9O.js → components/index-dJXOanPE.js} +67 -47
  182. package/components/index-f8GtjOLn.cjs +57 -0
  183. package/components/index-fbS4OrPM.js +145 -0
  184. package/components/index.cjs +20 -0
  185. package/components/index.js +74 -0
  186. package/components/language-resolution-8yZa5r_P-CLZhU076.js +161 -0
  187. package/components/language-resolution-8yZa5r_P-CpbzT4ej.cjs +52 -0
  188. package/components/localize-B6AsX_Zv.js +52 -0
  189. package/components/localize-DbobqcKs.cjs +20 -0
  190. package/components/observe-slot-text-ggb4kKgY-DqsddtTd.cjs +86 -0
  191. package/components/observe-slot-text-ggb4kKgY-yUxhPbbJ.js +221 -0
  192. package/{lib/popover-Bwnkg-5-.js → components/popover-DlkzrLpl-DFIvgCjc.js} +25 -6
  193. package/components/popover-DlkzrLpl-TYw7ejnD.cjs +48 -0
  194. package/components/property-CXJD1jOW.js +1480 -0
  195. package/components/property-ChsOQ1Yj.cjs +112 -0
  196. package/components/query-D5qWDopr.cjs +24 -0
  197. package/components/query-Ddbd72Um.js +39 -0
  198. package/components/query-assigned-nodes-C76XVPWY-BcyGjObB.cjs +40 -0
  199. package/components/query-assigned-nodes-C76XVPWY-DPC6kOmH.js +55 -0
  200. package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +36 -0
  201. package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +85 -0
  202. package/components/sized-mixin-BxMraZLS-Dc6r-Wg4.js +82 -0
  203. package/components/sized-mixin-BxMraZLS-w9I35lP7.cjs +36 -0
  204. package/components/slot-menu/index.cjs +55 -0
  205. package/components/slot-menu/index.d.ts +7 -0
  206. package/components/slot-menu/index.js +188 -0
  207. package/components/slot-menu/slot-menu.d.ts +66 -0
  208. package/components/slot-menu-list/index.cjs +39 -0
  209. package/components/slot-menu-list/index.d.ts +7 -0
  210. package/components/slot-menu-list/index.js +351 -0
  211. package/components/slot-menu-list/slot-menu-list.d.ts +33 -0
  212. package/components/state-DLrsMPet.cjs +24 -0
  213. package/components/state-DwFtyqCc.js +31 -0
  214. package/components/task-CgK9ztaw.cjs +24 -0
  215. package/components/task-DYLITx7R.js +120 -0
  216. package/components/text-field-CvKSS59x-BzSqtt2_.js +412 -0
  217. package/components/text-field-CvKSS59x-D0MM0fDH.cjs +131 -0
  218. package/components/utils.cjs +20 -0
  219. package/components/utils.js +20 -0
  220. package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +40 -0
  221. package/components/when-CDK1Tt5Y-C6ViXC43.js +47 -0
  222. package/custom-elements.json +3562 -884
  223. package/index.d.ts +23 -0
  224. package/package.json +132 -17
  225. package/utils/formatter/calculate-duration.d.ts +2 -0
  226. package/utils/formatter/decompose-numeric-format.d.ts +11 -0
  227. package/utils/formatter/default-local-formats.d.ts +20 -0
  228. package/utils/formatter/formats/cs.d.ts +20 -0
  229. package/utils/formatter/formats/da.d.ts +20 -0
  230. package/utils/formatter/formats/de.d.ts +21 -0
  231. package/utils/formatter/formats/en-GB.d.ts +21 -0
  232. package/utils/formatter/formats/en-US.d.ts +1 -0
  233. package/utils/formatter/formats/en.d.ts +1 -0
  234. package/utils/formatter/formats/es.d.ts +54 -0
  235. package/utils/formatter/formats/fi.d.ts +20 -0
  236. package/utils/formatter/formats/fr.d.ts +54 -0
  237. package/utils/formatter/formats/he.d.ts +20 -0
  238. package/utils/formatter/formats/hu.d.ts +20 -0
  239. package/utils/formatter/formats/it.d.ts +54 -0
  240. package/utils/formatter/formats/ja.d.ts +20 -0
  241. package/utils/formatter/formats/ko.d.ts +20 -0
  242. package/utils/formatter/formats/mk.d.ts +20 -0
  243. package/utils/formatter/formats/nl.d.ts +21 -0
  244. package/utils/formatter/formats/no.d.ts +21 -0
  245. package/utils/formatter/formats/pl.d.ts +20 -0
  246. package/utils/formatter/formats/pt.d.ts +20 -0
  247. package/utils/formatter/formats/ru.d.ts +20 -0
  248. package/utils/formatter/formats/sv.d.ts +20 -0
  249. package/utils/formatter/formats/tr.d.ts +21 -0
  250. package/utils/formatter/formats/zh-CN.d.ts +20 -0
  251. package/utils/formatter/formats/zh-TW.d.ts +20 -0
  252. package/utils/formatter/formatter.d.ts +9 -0
  253. package/utils/formatter/localize.d.ts +3 -0
  254. package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  255. package/utils/get-css-variable.d.ts +1 -0
  256. package/utils/index.d.ts +1 -0
  257. package/utils/time/formats.const.d.ts +8 -0
  258. package/utils/time/periods.const.d.ts +29 -0
  259. package/utils/types/column.types.d.ts +56 -0
  260. package/utils/types/type-check.d.ts +7 -0
  261. package/lib/async-directive-CPjMHOPu.cjs +0 -24
  262. package/lib/async-directive-SCUUQ3Mh.js +0 -114
  263. package/lib/button-base-B4PdJFVe.cjs +0 -27
  264. package/lib/directive-helpers-BSB0tfc9.cjs +0 -32
  265. package/lib/directive-helpers-eY1rHtyn.js +0 -154
  266. package/lib/divider.module-BW8qaMVq.js +0 -211
  267. package/lib/divider.module-DEy88Ieh.cjs +0 -20
  268. package/lib/en-BDBzmAXX.cjs +0 -202
  269. package/lib/get-css-variable-D439CdH9.cjs +0 -24
  270. package/lib/if-defined-BbzmSG-O.js +0 -757
  271. package/lib/if-defined-V7yEJWI3.cjs +0 -54
  272. package/lib/index-BDXFsKUM.cjs +0 -146
  273. package/lib/index-BmAD29P2.js +0 -106
  274. package/lib/index-Bo1DpZ-1.cjs +0 -58
  275. package/lib/index-C4ePDYEC.cjs +0 -41
  276. package/lib/index-C9xEN5Ji.js +0 -82
  277. package/lib/index-CcF-9wyF.cjs +0 -71
  278. package/lib/index-CfEm5P0J.cjs +0 -196
  279. package/lib/index-CrWoFMZ3.cjs +0 -22
  280. package/lib/index-CtEJZdT0.js +0 -1627
  281. package/lib/index-CvX-HLY1.cjs +0 -322
  282. package/lib/index-D37RwuEH.js +0 -1584
  283. package/lib/index-D5puKlcm.cjs +0 -96
  284. package/lib/index-DGz6jCKo.cjs +0 -26
  285. package/lib/index-DSbgZduE.js +0 -501
  286. package/lib/index-DdtjeKYI.js +0 -928
  287. package/lib/index-Dj7PF4Q9.cjs +0 -63
  288. package/lib/index-Dq3HAOaM.js +0 -127
  289. package/lib/index-jt6FL_uE.cjs +0 -20
  290. package/lib/index-kJR406YZ.cjs +0 -112
  291. package/lib/index-v8ZTprPO.cjs +0 -51
  292. package/lib/index.cjs +0 -875
  293. package/lib/index.js +0 -6411
  294. package/lib/observe-slot-text-DOYmGOZe.js +0 -181
  295. package/lib/observe-slot-text-oJ0a2KY9.cjs +0 -42
  296. package/lib/picker/index.cjs +0 -20
  297. package/lib/popover-CQGN8nbX.cjs +0 -32
  298. package/lib/progress-circle/index.cjs +0 -35
  299. /package/{lib → components}/area-chart-slots.config-BLxiYX05.cjs +0 -0
  300. /package/{lib → components}/area-chart-slots.config-C0c2ZzBh.js +0 -0
  301. /package/{lib → components}/bar-chart-slots.config-GSSL7XVA.js +0 -0
  302. /package/{lib → components}/bar-chart-slots.config-Jx1PveTM.cjs +0 -0
  303. /package/{lib → components}/bar-chart.config-B57geUzJ.cjs +0 -0
  304. /package/{lib → components}/bar-chart.config-CQ6HAvs2.js +0 -0
  305. /package/{lib → components}/bar-chart.en-BqYbiHO3.cjs +0 -0
  306. /package/{lib → components}/bar-chart.en-FwT00qdU.js +0 -0
  307. /package/{lib → components}/bar-chart.fr-DGx9smEh.cjs +0 -0
  308. /package/{lib → components}/bar-chart.fr-DbxKiM0j.js +0 -0
  309. /package/{lib → components}/bar-chart.nl-BYzVExsz.cjs +0 -0
  310. /package/{lib → components}/bar-chart.nl-ahX1ARpH.js +0 -0
  311. /package/{lib → components}/column-chart.config-B57geUzJ.cjs +0 -0
  312. /package/{lib → components}/column-chart.config-C9hP0kX7.js +0 -0
  313. /package/{lib → components}/cs-DVZ0Tapy.js +0 -0
  314. /package/{lib → components}/cs-I9E81keK.cjs +0 -0
  315. /package/{lib → components}/da-DHy05oSR.js +0 -0
  316. /package/{lib → components}/da-QkdvupDg.cjs +0 -0
  317. /package/{lib → components}/de-Dn5mUzha.cjs +0 -0
  318. /package/{lib → components}/de-iM39JlAt.js +0 -0
  319. /package/{lib → components}/decompose-numeric-format-B3rVVHpO.cjs +0 -0
  320. /package/{lib → components}/decompose-numeric-format-BuZcjH2k.js +0 -0
  321. /package/{lib → components}/donut-chart-slots.config-BEwhfq27.js +0 -0
  322. /package/{lib → components}/donut-chart-slots.config-DIp-24lO.cjs +0 -0
  323. /package/{lib → components}/donut-chart.config-3DhKiSSM.js +0 -0
  324. /package/{lib → components}/donut-chart.config-DLWJUlHx.cjs +0 -0
  325. /package/{lib → components}/donut-chart.en-Blb9oSdU.cjs +0 -0
  326. /package/{lib → components}/donut-chart.en-CzjT4-XN.js +0 -0
  327. /package/{lib → components}/donut-chart.fr-BeTVa2wh.cjs +0 -0
  328. /package/{lib → components}/donut-chart.fr-DftPrKbG.js +0 -0
  329. /package/{lib → components}/donut-chart.nl-D9YGbOce.cjs +0 -0
  330. /package/{lib → components}/donut-chart.nl-NMatXfhK.js +0 -0
  331. /package/{lib → components}/es-CwyPlN5d.cjs +0 -0
  332. /package/{lib → components}/es-KhTq4jX8.js +0 -0
  333. /package/{lib → components}/fi-Dh_ebgpe.js +0 -0
  334. /package/{lib → components}/fi-rijeZE5V.cjs +0 -0
  335. /package/{lib → components}/fr-BcgE-6S_.cjs +0 -0
  336. /package/{lib → components}/fr-CU727YF1.js +0 -0
  337. /package/{lib → components}/he-Au3xg6lR.js +0 -0
  338. /package/{lib → components}/he-O6Ih8Bqh.cjs +0 -0
  339. /package/{lib → components}/hu-BnZ8y3xQ.cjs +0 -0
  340. /package/{lib → components}/hu-DNJ-P_MW.js +0 -0
  341. /package/{lib → components}/imageobject.config-B7ld9bj3.cjs +0 -0
  342. /package/{lib → components}/imageobject.config-DZLp9Elq.js +0 -0
  343. /package/{lib → components}/it-Bh5U73z6.js +0 -0
  344. /package/{lib → components}/it-PshtLMkq.cjs +0 -0
  345. /package/{lib → components}/ja-CCcHUL61.js +0 -0
  346. /package/{lib → components}/ja-KIS2HdaG.cjs +0 -0
  347. /package/{lib → components}/ko--l4qmjLV.cjs +0 -0
  348. /package/{lib → components}/ko-DhapsZMM.js +0 -0
  349. /package/{lib → components}/line-chart.config-BZcvfO2c.cjs +0 -0
  350. /package/{lib → components}/line-chart.config-CIVN6uLI.js +0 -0
  351. /package/{lib → components}/mk-B9HPSuKa.js +0 -0
  352. /package/{lib → components}/mk-DZlj-edb.cjs +0 -0
  353. /package/{lib → components}/nl-BKlDqOXb.cjs +0 -0
  354. /package/{lib → components}/nl-BwSt5Bf4.js +0 -0
  355. /package/{lib → components}/no-D-DofYnx.js +0 -0
  356. /package/{lib → components}/no-D_SzxhTu.cjs +0 -0
  357. /package/{lib → components}/pl-D_L_0Boq.js +0 -0
  358. /package/{lib → components}/pl-PIK23rK_.cjs +0 -0
  359. /package/{lib → components}/pt-B0BBS5VB.js +0 -0
  360. /package/{lib → components}/pt-Dqlu4MS5.cjs +0 -0
  361. /package/{lib → components}/ru-Vo-m3O_2.js +0 -0
  362. /package/{lib → components}/ru-zyNDTB04.cjs +0 -0
  363. /package/{lib → components}/sv-1DPTltNQ.cjs +0 -0
  364. /package/{lib → components}/sv-CiozMaev.js +0 -0
  365. /package/{lib → components}/textobject.config-C8opcGG4.js +0 -0
  366. /package/{lib → components}/textobject.config-DbAajFz8.cjs +0 -0
  367. /package/{lib → components}/tr-BkmWvOG2.cjs +0 -0
  368. /package/{lib → components}/tr-D_D4i5iv.js +0 -0
  369. /package/{lib → components}/zh-CN-DTZ4OmdP.cjs +0 -0
  370. /package/{lib → components}/zh-CN-wsl7eFSd.js +0 -0
  371. /package/{lib → components}/zh-TW-DTZ4OmdP.cjs +0 -0
  372. /package/{lib → components}/zh-TW-wsl7eFSd.js +0 -0
@@ -0,0 +1,163 @@
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
+ /*! * 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
+ * */
37
+ function c(i, e, r) {
38
+ const s = i.getAttribute(e);
39
+ let t = s ? s.split(/\s+/) : [];
40
+ t = t.filter((l) => !r.includes(l)), t.length > 0 ? i.setAttribute(e, t.join(" ")) : i.removeAttribute(e);
41
+ }
42
+ function d(i, e, r) {
43
+ const s = Array.isArray(r) ? r : [r], t = i.getAttribute(e), l = t ? t.split(/\s+/) : [];
44
+ return s.every((o) => l.includes(o)) ? () => {
45
+ } : (l.push(...s), i.setAttribute(e, l.join(" ")), () => c(i, e, s));
46
+ }
47
+ /*! * Lucero - The design system for Luzmo.
48
+ *
49
+ * Copyright © 2025 Luzmo
50
+ * All rights reserved.
51
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
52
+ * This license allows users with a current active Luzmo account to use Lucero.
53
+ * This license terminates automatically if a user no longer has an active Luzmo account.
54
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
55
+ *
56
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
57
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
58
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
59
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
60
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
61
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
62
+ * SOFTWARE.
63
+ * */
64
+ function m() {
65
+ return Array.from(
66
+ crypto.getRandomValues(new Uint8Array(4)),
67
+ (i) => `0${(i & 255).toString(16)}`.slice(-2)
68
+ ).join("");
69
+ }
70
+ /*! * Lucero - The design system for Luzmo.
71
+ *
72
+ * Copyright © 2025 Luzmo
73
+ * All rights reserved.
74
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
75
+ * This license allows users with a current active Luzmo account to use Lucero.
76
+ * This license terminates automatically if a user no longer has an active Luzmo account.
77
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
78
+ *
79
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
80
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
81
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
82
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
83
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
84
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
85
+ * SOFTWARE.
86
+ * */
87
+ const u = Symbol("element resolver updated");
88
+ class a {
89
+ constructor(e, { selector: r } = { selector: "" }) {
90
+ this._element = null, this._selector = "", this.mutationCallback = (s) => {
91
+ let t = !1;
92
+ s.forEach((l) => {
93
+ if (!t) {
94
+ if (l.type === "childList") {
95
+ const o = this.element && [...l.removedNodes].includes(this.element), n = !!this.selector && [...l.addedNodes].some(
96
+ (h) => this.elementIsSelected(h)
97
+ );
98
+ t = t || o || n;
99
+ }
100
+ if (l.type === "attributes") {
101
+ const o = l.target === this.element, n = !!this.selector && this.elementIsSelected(l.target);
102
+ t = t || o || n;
103
+ }
104
+ }
105
+ }), t && this.resolveElement();
106
+ }, this.elementIsSelected = (s) => {
107
+ var t;
108
+ return this.selectorIsId ? (s == null ? void 0 : s.id) === this.selectorAsId : (t = s == null ? void 0 : s.matches) == null ? void 0 : t.call(s, this.selector);
109
+ }, this.host = e, this.selector = r, this.observer = new MutationObserver(this.mutationCallback), this.host.addController(this);
110
+ }
111
+ get element() {
112
+ return this._element;
113
+ }
114
+ set element(e) {
115
+ if (e === this.element)
116
+ return;
117
+ const r = this.element;
118
+ this._element = e, this.host.requestUpdate(u, r);
119
+ }
120
+ get selector() {
121
+ return this._selector;
122
+ }
123
+ set selector(e) {
124
+ e !== this.selector && (this.releaseElement(), this._selector = e, this.resolveElement());
125
+ }
126
+ get selectorAsId() {
127
+ return this.selector.slice(1);
128
+ }
129
+ get selectorIsId() {
130
+ return !!this.selector && this.selector.startsWith("#");
131
+ }
132
+ hostConnected() {
133
+ this.resolveElement(), this.observer.observe(this.host.getRootNode(), {
134
+ subtree: !0,
135
+ childList: !0,
136
+ attributes: !0
137
+ });
138
+ }
139
+ hostDisconnected() {
140
+ this.releaseElement(), this.observer.disconnect();
141
+ }
142
+ resolveElement() {
143
+ if (!this.selector) {
144
+ this.releaseElement();
145
+ return;
146
+ }
147
+ const e = this.host.getRootNode();
148
+ this.element = this.selectorIsId ? (
149
+ // eslint-disable-next-line unicorn/prefer-query-selector
150
+ e.getElementById(this.selectorAsId)
151
+ ) : e.querySelector(this.selector);
152
+ }
153
+ releaseElement() {
154
+ this.element = null;
155
+ }
156
+ }
157
+ export {
158
+ c,
159
+ a as d,
160
+ u as h,
161
+ m as n,
162
+ d as u
163
+ };
@@ -0,0 +1,68 @@
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";/*! * 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
+ * */function h(i,e,r){const s=i.getAttribute(e);let t=s?s.split(/\s+/):[];t=t.filter(l=>!r.includes(l)),t.length>0?i.setAttribute(e,t.join(" ")):i.removeAttribute(e)}function d(i,e,r){const s=Array.isArray(r)?r:[r],t=i.getAttribute(e),l=t?t.split(/\s+/):[];return s.every(o=>l.includes(o))?()=>{}:(l.push(...s),i.setAttribute(e,l.join(" ")),()=>h(i,e,s))}/*! * Lucero - The design system for Luzmo.
37
+ *
38
+ * Copyright © 2025 Luzmo
39
+ * All rights reserved.
40
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
41
+ * This license allows users with a current active Luzmo account to use Lucero.
42
+ * This license terminates automatically if a user no longer has an active Luzmo account.
43
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
44
+ *
45
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
46
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
47
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
48
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
49
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
50
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
51
+ * SOFTWARE.
52
+ * */function m(){return Array.from(crypto.getRandomValues(new Uint8Array(4)),i=>`0${(i&255).toString(16)}`.slice(-2)).join("")}/*! * Lucero - The design system for Luzmo.
53
+ *
54
+ * Copyright © 2025 Luzmo
55
+ * All rights reserved.
56
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
57
+ * This license allows users with a current active Luzmo account to use Lucero.
58
+ * This license terminates automatically if a user no longer has an active Luzmo account.
59
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
60
+ *
61
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
62
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
63
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
64
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
66
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
67
+ * SOFTWARE.
68
+ * */const c=Symbol("element resolver updated");class a{constructor(e,{selector:r}={selector:""}){this._element=null,this._selector="",this.mutationCallback=s=>{let t=!1;s.forEach(l=>{if(!t){if(l.type==="childList"){const o=this.element&&[...l.removedNodes].includes(this.element),n=!!this.selector&&[...l.addedNodes].some(u=>this.elementIsSelected(u));t=t||o||n}if(l.type==="attributes"){const o=l.target===this.element,n=!!this.selector&&this.elementIsSelected(l.target);t=t||o||n}}}),t&&this.resolveElement()},this.elementIsSelected=s=>{var t;return this.selectorIsId?(s==null?void 0:s.id)===this.selectorAsId:(t=s==null?void 0:s.matches)==null?void 0:t.call(s,this.selector)},this.host=e,this.selector=r,this.observer=new MutationObserver(this.mutationCallback),this.host.addController(this)}get element(){return this._element}set element(e){if(e===this.element)return;const r=this.element;this._element=e,this.host.requestUpdate(c,r)}get selector(){return this._selector}set selector(e){e!==this.selector&&(this.releaseElement(),this._selector=e,this.resolveElement())}get selectorAsId(){return this.selector.slice(1)}get selectorIsId(){return!!this.selector&&this.selector.startsWith("#")}hostConnected(){this.resolveElement(),this.observer.observe(this.host.getRootNode(),{subtree:!0,childList:!0,attributes:!0})}hostDisconnected(){this.releaseElement(),this.observer.disconnect()}resolveElement(){if(!this.selector){this.releaseElement();return}const e=this.host.getRootNode();this.element=this.selectorIsId?e.getElementById(this.selectorAsId):e.querySelector(this.selector)}releaseElement(){this.element=null}}exports.c=h;exports.d=a;exports.h=c;exports.n=m;exports.u=d;
@@ -17,4 +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
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-CvX-HLY1.cjs");exports.LuzmoDroppableSlot=e.LuzmoDroppableSlot;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CQjWiSIp.cjs");exports.default=e.DEFAULT_LOCAL_FORMATS;
@@ -17,8 +17,7 @@
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);
20
+ import { D as f } from "./index-DeyQ1JGg.js";
22
21
  export {
23
- o as Popover
22
+ f as default
24
23
  };
@@ -17,7 +17,7 @@
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 { D as e } from "./en-CIeY2T5K.js";
20
+ import { D as e } from "./index-DeyQ1JGg.js";
21
21
  const t = {
22
22
  ...e,
23
23
  currency: ["£", ""],
@@ -17,4 +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
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./popover-CQGN8nbX.cjs");customElements.get("luzmo-popover")||customElements.define("luzmo-popover",e.Popover);exports.Popover=e.Popover;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CQjWiSIp.cjs"),t={...e.DEFAULT_LOCAL_FORMATS,currency:["£",""],date:"%d/%m/%Y"};exports.default=t;
@@ -17,4 +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
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-CcF-9wyF.cjs");exports.LuzmoDraggableDataItem=e.LuzmoDraggableDataItem;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CQjWiSIp.cjs");exports.default=e.DEFAULT_LOCAL_FORMATS;
@@ -0,0 +1,23 @@
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 { D as f } from "./index-DeyQ1JGg.js";
21
+ export {
22
+ f as default
23
+ };
@@ -0,0 +1,36 @@
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";/*! * 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
+ * */function d(o,e,t){return typeof o===e?()=>o:typeof o=="function"?o:t}let m=class{constructor(e,{direction:t,elementEnterAction:r,elements:s,focusInIndex:c,isFocusableElement:u,listenerScope:l}={elements:()=>[]}){this._currentIndex=-1,this.prevIndex=-1,this._direction=()=>"both",this.directionLength=5,this.elementEnterAction=n=>{},this._focused=!1,this._focusInIndex=n=>0,this.isFocusableElement=n=>!0,this._listenerScope=()=>this.host,this.offset=0,this.recentlyConnected=!1,this.handleFocusin=n=>{if(!this.isEventWithinListenerScope(n))return;const i=n.composedPath();let h=-1;i.find(a=>(h=this.elements.indexOf(a),h!==-1)),this.prevIndex=this.currentIndex,this.currentIndex=h>-1?h:this.currentIndex,this.isRelatedTargetOrContainAnElement(n)&&this.hostContainsFocus()},this.handleClick=()=>{var n;const i=this.elements;if(i.length===0)return;let h=i[this.currentIndex];this.currentIndex<0||((!h||!this.isFocusableElement(h))&&(this.setCurrentIndexCircularly(1),h=i[this.currentIndex]),h&&this.isFocusableElement(h)&&((n=i[this.prevIndex])==null||n.setAttribute("tabindex","-1"),h.setAttribute("tabindex","0")))},this.handleFocusout=n=>{this.isRelatedTargetOrContainAnElement(n)&&this.hostNoLongerContainsFocus()},this.handleKeydown=n=>{if(!this.acceptsEventCode(n.code)||n.defaultPrevented)return;let i=0;switch(this.prevIndex=this.currentIndex,n.code){case"ArrowRight":{i+=1;break}case"ArrowDown":{i+=this.direction==="grid"?this.directionLength:1;break}case"ArrowLeft":{i-=1;break}case"ArrowUp":{i-=this.direction==="grid"?this.directionLength:1;break}case"End":{this.currentIndex=0,i-=1;break}case"Home":{this.currentIndex=this.elements.length-1,i+=1;break}}n.preventDefault(),this.direction==="grid"&&this.currentIndex+i<0?this.currentIndex=0:this.direction==="grid"&&this.currentIndex+i>this.elements.length-1?this.currentIndex=this.elements.length-1:this.setCurrentIndexCircularly(i),this.elementEnterAction(this.elements[this.currentIndex]),this.focus()},this.mutationObserver=new MutationObserver(()=>{this.handleItemMutation()}),this.host=e,this.host.addController(this),this._elements=s,this.isFocusableElement=u||this.isFocusableElement,this._direction=d(t,"string",this._direction),this.elementEnterAction=r||this.elementEnterAction,this._focusInIndex=d(c,"number",this._focusInIndex),this._listenerScope=d(l,"object",this._listenerScope)}get currentIndex(){return this._currentIndex===-1&&(this._currentIndex=this.focusInIndex),this._currentIndex-this.offset}set currentIndex(e){this._currentIndex=e+this.offset}get direction(){return this._direction()}get elements(){return this.cachedElements||(this.cachedElements=this._elements()),this.cachedElements}set focused(e){e!==this.focused&&(this._focused=e)}get focused(){return this._focused}get focusInElement(){return this.elements[this.focusInIndex]}get focusInIndex(){return this._focusInIndex(this.elements)}isEventWithinListenerScope(e){return this._listenerScope()===this.host?!0:e.composedPath().includes(this._listenerScope())}handleItemMutation(){if(this._currentIndex===-1||this.elements.length<=this._elements().length)return;const e=this.elements[this.currentIndex];if(this.clearElementCache(),this.elements.includes(e))return;const t=this.currentIndex!==this.elements.length,r=t?1:-1;t&&this.setCurrentIndexCircularly(-1),this.setCurrentIndexCircularly(r),this.focus()}update({elements:e}={elements:()=>[]}){this.unmanage(),this._elements=e,this.clearElementCache(),this.manage()}focus(e){var t;const r=this.elements;if(r.length===0)return;let s=r[this.currentIndex];(!s||!this.isFocusableElement(s))&&(this.setCurrentIndexCircularly(1),s=r[this.currentIndex]),s&&this.isFocusableElement(s)&&((t=r[this.prevIndex])==null||t.setAttribute("tabindex","-1"),s.tabIndex=0,s.focus(e))}clearElementCache(e=0){this.mutationObserver.disconnect(),delete this.cachedElements,this.offset=e,requestAnimationFrame(()=>{this.elements.forEach(t=>{this.mutationObserver.observe(t,{attributes:!0})})})}setCurrentIndexCircularly(e){const{length:t}=this.elements;let r=t;this.prevIndex=this.currentIndex;let s=(t+this.currentIndex+e)%t;for(;r&&this.elements[s]&&!this.isFocusableElement(this.elements[s]);)s=(t+s+e)%t,r-=1;this.currentIndex=s}hostContainsFocus(){this.host.addEventListener("focusout",this.handleFocusout),this.host.addEventListener("keydown",this.handleKeydown),this.focused=!0}hostNoLongerContainsFocus(){this.host.addEventListener("focusin",this.handleFocusin),this.host.removeEventListener("focusout",this.handleFocusout),this.host.removeEventListener("keydown",this.handleKeydown),this.focused=!1}isRelatedTargetOrContainAnElement(e){const t=e.relatedTarget,r=this.elements.includes(t),s=this.elements.some(c=>c.contains(t));return!(r||s)}acceptsEventCode(e){if(e==="End"||e==="Home")return!0;switch(this.direction){case"horizontal":return e==="ArrowLeft"||e==="ArrowRight";case"vertical":return e==="ArrowUp"||e==="ArrowDown";case"both":case"grid":return e.startsWith("Arrow")}}manage(){this.addEventListeners()}unmanage(){this.removeEventListeners()}addEventListeners(){this.host.addEventListener("focusin",this.handleFocusin),this.host.addEventListener("click",this.handleClick)}removeEventListeners(){this.host.removeEventListener("focusin",this.handleFocusin),this.host.removeEventListener("focusout",this.handleFocusout),this.host.removeEventListener("keydown",this.handleKeydown),this.host.removeEventListener("click",this.handleClick)}hostConnected(){this.recentlyConnected=!0,this.addEventListeners()}hostDisconnected(){this.mutationObserver.disconnect(),this.removeEventListeners()}hostUpdated(){this.recentlyConnected&&(this.recentlyConnected=!1,this.elements.forEach(e=>{this.mutationObserver.observe(e,{attributes:!0})}))}};exports.m=m;
@@ -0,0 +1,237 @@
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
+ /*! * 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
+ * */
37
+ function d(o, e, t) {
38
+ return typeof o === e ? () => o : typeof o == "function" ? o : t;
39
+ }
40
+ let m = class {
41
+ constructor(e, {
42
+ direction: t,
43
+ elementEnterAction: r,
44
+ elements: s,
45
+ focusInIndex: c,
46
+ isFocusableElement: u,
47
+ listenerScope: l
48
+ } = { elements: () => [] }) {
49
+ this._currentIndex = -1, this.prevIndex = -1, this._direction = () => "both", this.directionLength = 5, this.elementEnterAction = (n) => {
50
+ }, this._focused = !1, this._focusInIndex = (n) => 0, this.isFocusableElement = (n) => !0, this._listenerScope = () => this.host, this.offset = 0, this.recentlyConnected = !1, this.handleFocusin = (n) => {
51
+ if (!this.isEventWithinListenerScope(n))
52
+ return;
53
+ const i = n.composedPath();
54
+ let h = -1;
55
+ i.find((a) => (h = this.elements.indexOf(a), h !== -1)), this.prevIndex = this.currentIndex, this.currentIndex = h > -1 ? h : this.currentIndex, this.isRelatedTargetOrContainAnElement(n) && this.hostContainsFocus();
56
+ }, this.handleClick = () => {
57
+ var n;
58
+ const i = this.elements;
59
+ if (i.length === 0)
60
+ return;
61
+ let h = i[this.currentIndex];
62
+ this.currentIndex < 0 || ((!h || !this.isFocusableElement(h)) && (this.setCurrentIndexCircularly(1), h = i[this.currentIndex]), h && this.isFocusableElement(h) && ((n = i[this.prevIndex]) == null || n.setAttribute("tabindex", "-1"), h.setAttribute("tabindex", "0")));
63
+ }, this.handleFocusout = (n) => {
64
+ this.isRelatedTargetOrContainAnElement(n) && this.hostNoLongerContainsFocus();
65
+ }, this.handleKeydown = (n) => {
66
+ if (!this.acceptsEventCode(n.code) || n.defaultPrevented)
67
+ return;
68
+ let i = 0;
69
+ switch (this.prevIndex = this.currentIndex, n.code) {
70
+ case "ArrowRight": {
71
+ i += 1;
72
+ break;
73
+ }
74
+ case "ArrowDown": {
75
+ i += this.direction === "grid" ? this.directionLength : 1;
76
+ break;
77
+ }
78
+ case "ArrowLeft": {
79
+ i -= 1;
80
+ break;
81
+ }
82
+ case "ArrowUp": {
83
+ i -= this.direction === "grid" ? this.directionLength : 1;
84
+ break;
85
+ }
86
+ case "End": {
87
+ this.currentIndex = 0, i -= 1;
88
+ break;
89
+ }
90
+ case "Home": {
91
+ this.currentIndex = this.elements.length - 1, i += 1;
92
+ break;
93
+ }
94
+ }
95
+ n.preventDefault(), this.direction === "grid" && this.currentIndex + i < 0 ? this.currentIndex = 0 : this.direction === "grid" && this.currentIndex + i > this.elements.length - 1 ? this.currentIndex = this.elements.length - 1 : this.setCurrentIndexCircularly(i), this.elementEnterAction(this.elements[this.currentIndex]), this.focus();
96
+ }, this.mutationObserver = new MutationObserver(() => {
97
+ this.handleItemMutation();
98
+ }), this.host = e, this.host.addController(this), this._elements = s, this.isFocusableElement = u || this.isFocusableElement, this._direction = d(
99
+ t,
100
+ "string",
101
+ this._direction
102
+ ), this.elementEnterAction = r || this.elementEnterAction, this._focusInIndex = d(
103
+ c,
104
+ "number",
105
+ this._focusInIndex
106
+ ), this._listenerScope = d(
107
+ l,
108
+ "object",
109
+ this._listenerScope
110
+ );
111
+ }
112
+ get currentIndex() {
113
+ return this._currentIndex === -1 && (this._currentIndex = this.focusInIndex), this._currentIndex - this.offset;
114
+ }
115
+ set currentIndex(e) {
116
+ this._currentIndex = e + this.offset;
117
+ }
118
+ get direction() {
119
+ return this._direction();
120
+ }
121
+ get elements() {
122
+ return this.cachedElements || (this.cachedElements = this._elements()), this.cachedElements;
123
+ }
124
+ set focused(e) {
125
+ e !== this.focused && (this._focused = e);
126
+ }
127
+ get focused() {
128
+ return this._focused;
129
+ }
130
+ get focusInElement() {
131
+ return this.elements[this.focusInIndex];
132
+ }
133
+ get focusInIndex() {
134
+ return this._focusInIndex(this.elements);
135
+ }
136
+ isEventWithinListenerScope(e) {
137
+ return this._listenerScope() === this.host ? !0 : e.composedPath().includes(this._listenerScope());
138
+ }
139
+ /* In handleItemMutation() method the first if condition is checking if the element is not focused or if the element's children's length is not decreasing then it means no element has been deleted and we must return.
140
+ Then we are checking if the deleted element was the focused one before the deletion if so then we need to proceed else we casn return;
141
+ */
142
+ handleItemMutation() {
143
+ if (this._currentIndex === -1 || this.elements.length <= this._elements().length)
144
+ return;
145
+ const e = this.elements[this.currentIndex];
146
+ if (this.clearElementCache(), this.elements.includes(e))
147
+ return;
148
+ const t = this.currentIndex !== this.elements.length, r = t ? 1 : -1;
149
+ t && this.setCurrentIndexCircularly(-1), this.setCurrentIndexCircularly(r), this.focus();
150
+ }
151
+ update({ elements: e } = { elements: () => [] }) {
152
+ this.unmanage(), this._elements = e, this.clearElementCache(), this.manage();
153
+ }
154
+ focus(e) {
155
+ var t;
156
+ const r = this.elements;
157
+ if (r.length === 0)
158
+ return;
159
+ let s = r[this.currentIndex];
160
+ (!s || !this.isFocusableElement(s)) && (this.setCurrentIndexCircularly(1), s = r[this.currentIndex]), s && this.isFocusableElement(s) && ((t = r[this.prevIndex]) == null || t.setAttribute("tabindex", "-1"), s.tabIndex = 0, s.focus(e));
161
+ }
162
+ clearElementCache(e = 0) {
163
+ this.mutationObserver.disconnect(), delete this.cachedElements, this.offset = e, requestAnimationFrame(() => {
164
+ this.elements.forEach((t) => {
165
+ this.mutationObserver.observe(t, {
166
+ attributes: !0
167
+ });
168
+ });
169
+ });
170
+ }
171
+ setCurrentIndexCircularly(e) {
172
+ const { length: t } = this.elements;
173
+ let r = t;
174
+ this.prevIndex = this.currentIndex;
175
+ let s = (t + this.currentIndex + e) % t;
176
+ for (
177
+ ;
178
+ // don't cycle the elements more than once
179
+ r && this.elements[s] && !this.isFocusableElement(this.elements[s]);
180
+ )
181
+ s = (t + s + e) % t, r -= 1;
182
+ this.currentIndex = s;
183
+ }
184
+ hostContainsFocus() {
185
+ this.host.addEventListener("focusout", this.handleFocusout), this.host.addEventListener("keydown", this.handleKeydown), this.focused = !0;
186
+ }
187
+ hostNoLongerContainsFocus() {
188
+ this.host.addEventListener("focusin", this.handleFocusin), this.host.removeEventListener("focusout", this.handleFocusout), this.host.removeEventListener("keydown", this.handleKeydown), this.focused = !1;
189
+ }
190
+ isRelatedTargetOrContainAnElement(e) {
191
+ const t = e.relatedTarget, r = this.elements.includes(t), s = this.elements.some(
192
+ (c) => c.contains(t)
193
+ );
194
+ return !(r || s);
195
+ }
196
+ acceptsEventCode(e) {
197
+ if (e === "End" || e === "Home")
198
+ return !0;
199
+ switch (this.direction) {
200
+ case "horizontal":
201
+ return e === "ArrowLeft" || e === "ArrowRight";
202
+ case "vertical":
203
+ return e === "ArrowUp" || e === "ArrowDown";
204
+ case "both":
205
+ case "grid":
206
+ return e.startsWith("Arrow");
207
+ }
208
+ }
209
+ manage() {
210
+ this.addEventListeners();
211
+ }
212
+ unmanage() {
213
+ this.removeEventListeners();
214
+ }
215
+ addEventListeners() {
216
+ this.host.addEventListener("focusin", this.handleFocusin), this.host.addEventListener("click", this.handleClick);
217
+ }
218
+ removeEventListeners() {
219
+ this.host.removeEventListener("focusin", this.handleFocusin), this.host.removeEventListener("focusout", this.handleFocusout), this.host.removeEventListener("keydown", this.handleKeydown), this.host.removeEventListener("click", this.handleClick);
220
+ }
221
+ hostConnected() {
222
+ this.recentlyConnected = !0, this.addEventListeners();
223
+ }
224
+ hostDisconnected() {
225
+ this.mutationObserver.disconnect(), this.removeEventListeners();
226
+ }
227
+ hostUpdated() {
228
+ this.recentlyConnected && (this.recentlyConnected = !1, this.elements.forEach((e) => {
229
+ this.mutationObserver.observe(e, {
230
+ attributes: !0
231
+ });
232
+ }));
233
+ }
234
+ };
235
+ export {
236
+ m
237
+ };