@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,20 @@
1
+ declare const _default: {
2
+ decimal: string;
3
+ thousands: string;
4
+ grouping: number[];
5
+ currency: string[];
6
+ dateTime: string;
7
+ date: string;
8
+ dateSeparator: string;
9
+ time: string;
10
+ periods: string[];
11
+ days: string[];
12
+ shortDays: string[];
13
+ months: string[];
14
+ shortMonths: string[];
15
+ levels: string[];
16
+ durationLongSuffix: string[];
17
+ durationShortSuffix: string[];
18
+ multi: string[];
19
+ };
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ declare const _default: {
2
+ decimal: string;
3
+ thousands: string;
4
+ grouping: number[];
5
+ currency: string[];
6
+ dateTime: string;
7
+ date: string;
8
+ dateSeparator: string;
9
+ time: string;
10
+ periods: string[];
11
+ days: string[];
12
+ shortDays: string[];
13
+ months: string[];
14
+ shortMonths: string[];
15
+ levels: string[];
16
+ durationLongSuffix: string[];
17
+ durationShortSuffix: string[];
18
+ multi: string[];
19
+ };
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ declare const _default: {
2
+ decimal: string;
3
+ thousands: string;
4
+ grouping: number[];
5
+ currency: string[];
6
+ dateTime: string;
7
+ date: string;
8
+ dateSeparator: string;
9
+ time: string;
10
+ periods: string[];
11
+ days: string[];
12
+ shortDays: string[];
13
+ months: string[];
14
+ shortMonths: string[];
15
+ levels: string[];
16
+ durationLongSuffix: string[];
17
+ durationShortSuffix: string[];
18
+ multi: string[];
19
+ };
20
+ export default _default;
@@ -0,0 +1,21 @@
1
+ declare const _default: {
2
+ decimal: string;
3
+ thousands: string;
4
+ grouping: number[];
5
+ currency: string[];
6
+ dateTime: string;
7
+ date: string;
8
+ dateSeparator: string;
9
+ time: string;
10
+ periods: string[];
11
+ days: string[];
12
+ shortDays: string[];
13
+ months: string[];
14
+ shortMonths: string[];
15
+ levels: string[];
16
+ shortLevels: string[];
17
+ durationLongSuffix: string[];
18
+ durationShortSuffix: string[];
19
+ multi: string[];
20
+ };
21
+ export default _default;
@@ -0,0 +1,20 @@
1
+ declare const _default: {
2
+ decimal: string;
3
+ thousands: string;
4
+ grouping: number[];
5
+ currency: string[];
6
+ dateTime: string;
7
+ date: string;
8
+ dateSeparator: string;
9
+ time: string;
10
+ periods: string[];
11
+ days: string[];
12
+ shortDays: string[];
13
+ months: string[];
14
+ shortMonths: string[];
15
+ levels: string[];
16
+ durationLongSuffix: string[];
17
+ durationShortSuffix: string[];
18
+ multi: string[];
19
+ };
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ declare const _default: {
2
+ decimal: string;
3
+ thousands: string;
4
+ grouping: number[];
5
+ currency: string[];
6
+ dateTime: string;
7
+ date: string;
8
+ dateSeparator: string;
9
+ time: string;
10
+ periods: string[];
11
+ days: string[];
12
+ shortDays: string[];
13
+ months: string[];
14
+ shortMonths: string[];
15
+ levels: string[];
16
+ durationLongSuffix: string[];
17
+ durationShortSuffix: string[];
18
+ multi: string[];
19
+ };
20
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export declare function formatter(content: any, options?: {
2
+ level?: number;
3
+ locale?: string;
4
+ localFormats?: Record<string, any>;
5
+ multi?: boolean;
6
+ hideDuration?: boolean;
7
+ hideCurrency?: boolean;
8
+ trimZero?: boolean;
9
+ }): (value: number | string | Date) => string;
@@ -0,0 +1,3 @@
1
+ export declare function localize(item: Record<string, string> | string | number | boolean, locale?: string, options?: {
2
+ allowEmpty: boolean;
3
+ }): string;
@@ -0,0 +1,36 @@
1
+ import { FormatLocaleDefinition } from 'd3-format';
2
+ import { TimeLocaleDefinition } from 'd3-time-format';
3
+ export type DateFormat = {
4
+ key: string;
5
+ lev1: string;
6
+ lev2: string;
7
+ lev3: string;
8
+ lev4: string;
9
+ lev5: string;
10
+ monthType?: string;
11
+ longText?: boolean;
12
+ weekday?: boolean;
13
+ mmdd?: boolean | null;
14
+ separator?: '/' | '-' | '.' | '~';
15
+ };
16
+ export type TimeFormat = {
17
+ key: string;
18
+ ampm: boolean;
19
+ lev6: string;
20
+ lev7: string;
21
+ lev8: string;
22
+ lev9: string;
23
+ };
24
+ export declare const DEFAULT_DATETIME_FORMAT = "%d-%m-%Y";
25
+ export interface LocaleFormat extends TimeLocaleDefinition, FormatLocaleDefinition {
26
+ dateSeparator?: string;
27
+ durationLongSuffix?: string[];
28
+ durationShortSuffix?: string[];
29
+ levels?: string[];
30
+ multi?: string[];
31
+ shortLevels?: string[];
32
+ smartDateFormats?: DateFormat[];
33
+ smartTimeFormats?: TimeFormat[];
34
+ }
35
+ export declare const SMART_DATE_FORMATS: DateFormat[];
36
+ export declare const SMART_TIME_FORMATS: TimeFormat[];
@@ -0,0 +1 @@
1
+ export declare const getCssVariableValue: (element: HTMLElement, variable: string) => string;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ export type DateFormats = 'auto' | 'mmdd' | 'ddmm';
2
+ export declare const DATE_FORMATS: {
3
+ auto: string;
4
+ ddmm: string;
5
+ mmdd: string;
6
+ };
7
+ export type DateSeparators = '~' | '.' | '-' | '/';
8
+ export declare const DATE_SEPARATORS: Record<DateSeparators, string>;
@@ -0,0 +1,29 @@
1
+ export declare const PERIOD_LEVELS: {
2
+ 1: string;
3
+ 2: string;
4
+ 3: string;
5
+ 4: string;
6
+ 5: string;
7
+ 6: string;
8
+ 7: string;
9
+ 8: string;
10
+ 9: string;
11
+ };
12
+ export declare const DAYS_IN_WEEK: {
13
+ 0: string;
14
+ 1: string;
15
+ 2: string;
16
+ 3: string;
17
+ 4: string;
18
+ 5: string;
19
+ 6: string;
20
+ };
21
+ export declare const DATETIME_AS_STRING_FORMATS_PER_LEVEL: Record<string, {
22
+ key: string;
23
+ label: string;
24
+ }[]>;
25
+ export declare const DATETIME_WEEKDAY_AND_MONTH_STRING_FORMATS: Record<string, string>;
26
+ export declare const WEEK_STARTS_ON: {
27
+ sunday: string;
28
+ monday: string;
29
+ };
@@ -0,0 +1,56 @@
1
+ export type HierarchyLevel = {
2
+ id: string;
3
+ color: string;
4
+ level: number;
5
+ name: Record<string, string>;
6
+ };
7
+ export type Currency = {
8
+ id: string;
9
+ name: string;
10
+ symbol: string;
11
+ };
12
+ export type JoinType = {
13
+ id: string;
14
+ currency_id: string | null;
15
+ securable_id: string;
16
+ hierarchy_enabled?: boolean;
17
+ join: {
18
+ column_id: string;
19
+ created_at: string;
20
+ update_at: string;
21
+ updated_at?: string;
22
+ subtype?: string;
23
+ type: 'lookup' | 'exact';
24
+ joins_id: string;
25
+ };
26
+ };
27
+ export type Column = {
28
+ cardinality?: number;
29
+ color: string;
30
+ currency_id?: string;
31
+ currency?: Currency;
32
+ duration_format: 'long' | 'short' | 'time';
33
+ duration_levels: number[];
34
+ expression?: string;
35
+ format: string;
36
+ hierarchy_enabled: boolean;
37
+ hierarchyLevels: HierarchyLevel[];
38
+ highestLevel: number;
39
+ id: string;
40
+ informat?: string;
41
+ isLabel?: boolean;
42
+ joins: JoinType[];
43
+ level?: number;
44
+ lowestLevel: number;
45
+ name: Record<string, string>;
46
+ description?: Record<string, string>;
47
+ order?: number;
48
+ securable_id: string;
49
+ source_name?: string;
50
+ subtype: ColumnSubtype;
51
+ type: ColumnType;
52
+ version?: number;
53
+ width?: number;
54
+ };
55
+ export type ColumnType = 'numeric' | 'hierarchy' | 'datetime' | 'spatial';
56
+ export type ColumnSubtype = 'duration' | 'currency' | 'coordinates' | 'hierarchy_element_expression' | 'topography';
@@ -0,0 +1,7 @@
1
+ export declare function isEmpty(value: any): boolean;
2
+ export declare function isString(value: any): value is string;
3
+ export declare function isNumeric(value: any): value is number;
4
+ export declare function isBoolean(value: any): value is boolean;
5
+ export declare function isObject(value: any): boolean;
6
+ export declare function isDate(value: any): value is Date;
7
+ export declare function isEmptyObject(value: any): boolean;
@@ -1,24 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2024 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- "use strict";const f=require("./directive-helpers-BSB0tfc9.cjs");function c(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.userAgent):!1}function u(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):!1}function l(){return u(/^Mac/)}function h(){return u(/^iPhone/)}function A(){return u(/^iPad/)||l()&&navigator.maxTouchPoints>1}function _(){return h()||A()}function $(){return c(/Chrome/)}function w(){return c(/AppleWebKit/)&&!$()}function v(){return c(/Android/)}/**
21
- * @license
22
- * Copyright 2017 Google LLC
23
- * SPDX-License-Identifier: BSD-3-Clause
24
- */const o=(t,e)=>{var s;const n=t._$AN;if(n===void 0)return!1;for(const i of n)(s=i._$AO)==null||s.call(i,e,!1),o(i,e);return!0},d=t=>{let e,n;do{if((e=t._$AM)===void 0)break;n=e._$AN,n.delete(t),t=e}while((n==null?void 0:n.size)===0)},a=t=>{for(let e;e=t._$AM;t=e){let n=e._$AN;if(n===void 0)e._$AN=n=new Set;else if(n.has(t))break;n.add(t),p(e)}};function C(t){this._$AN!==void 0?(d(this),this._$AM=t,a(this)):this._$AM=t}function g(t,e=!1,n=0){const s=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(s))for(let r=n;r<s.length;r++)o(s[r],!1),d(s[r]);else s!=null&&(o(s,!1),d(s));else o(this,t)}const p=t=>{t.type==f.t.CHILD&&(t._$AP??(t._$AP=g),t._$AQ??(t._$AQ=C))};class I extends f.i{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,n,s){super._$AT(e,n,s),a(this),this.isConnected=e._$AU}_$AO(e,n=!0){var s,i;e!==this.isConnected&&(this.isConnected=e,e?(s=this.reconnected)==null||s.call(this):(i=this.disconnected)==null||i.call(this)),n&&(o(this,e),d(this))}setValue(e){if(f.f(this._$Ct))this._$Ct._$AI(e,this);else{const n=[...this._$Ct._$AH];n[this._$Ci]=e,this._$Ct._$AI(n,this,0)}}disconnected(){}reconnected(){}}exports.f=I;exports.isAndroid=v;exports.isIOS=_;exports.isIPhone=h;exports.isWebKit=w;
@@ -1,114 +0,0 @@
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 { i as u, f as h, t as l } from "./directive-helpers-eY1rHtyn.js";
21
- function a(t) {
22
- return typeof window < "u" && window.navigator != null ? t.test(window.navigator.userAgent) : !1;
23
- }
24
- function c(t) {
25
- return typeof window < "u" && window.navigator != null ? t.test(window.navigator.platform) : !1;
26
- }
27
- function A() {
28
- return c(/^Mac/);
29
- }
30
- function $() {
31
- return c(/^iPhone/);
32
- }
33
- function _() {
34
- return c(/^iPad/) || A() && navigator.maxTouchPoints > 1;
35
- }
36
- function m() {
37
- return $() || _();
38
- }
39
- function w() {
40
- return a(/Chrome/);
41
- }
42
- function N() {
43
- return a(/AppleWebKit/) && !w();
44
- }
45
- function P() {
46
- return a(/Android/);
47
- }
48
- /**
49
- * @license
50
- * Copyright 2017 Google LLC
51
- * SPDX-License-Identifier: BSD-3-Clause
52
- */
53
- const o = (t, e) => {
54
- var s;
55
- const n = t._$AN;
56
- if (n === void 0) return !1;
57
- for (const i of n) (s = i._$AO) == null || s.call(i, e, !1), o(i, e);
58
- return !0;
59
- }, f = (t) => {
60
- let e, n;
61
- do {
62
- if ((e = t._$AM) === void 0) break;
63
- n = e._$AN, n.delete(t), t = e;
64
- } while ((n == null ? void 0 : n.size) === 0);
65
- }, d = (t) => {
66
- for (let e; e = t._$AM; t = e) {
67
- let n = e._$AN;
68
- if (n === void 0) e._$AN = n = /* @__PURE__ */ new Set();
69
- else if (n.has(t)) break;
70
- n.add(t), p(e);
71
- }
72
- };
73
- function v(t) {
74
- this._$AN !== void 0 ? (f(this), this._$AM = t, d(this)) : this._$AM = t;
75
- }
76
- function C(t, e = !1, n = 0) {
77
- const s = this._$AH, i = this._$AN;
78
- if (i !== void 0 && i.size !== 0) if (e) if (Array.isArray(s)) for (let r = n; r < s.length; r++) o(s[r], !1), f(s[r]);
79
- else s != null && (o(s, !1), f(s));
80
- else o(this, t);
81
- }
82
- const p = (t) => {
83
- t.type == l.CHILD && (t._$AP ?? (t._$AP = C), t._$AQ ?? (t._$AQ = v));
84
- };
85
- class I extends u {
86
- constructor() {
87
- super(...arguments), this._$AN = void 0;
88
- }
89
- _$AT(e, n, s) {
90
- super._$AT(e, n, s), d(this), this.isConnected = e._$AU;
91
- }
92
- _$AO(e, n = !0) {
93
- var s, i;
94
- e !== this.isConnected && (this.isConnected = e, e ? (s = this.reconnected) == null || s.call(this) : (i = this.disconnected) == null || i.call(this)), n && (o(this, e), f(this));
95
- }
96
- setValue(e) {
97
- if (h(this._$Ct)) this._$Ct._$AI(e, this);
98
- else {
99
- const n = [...this._$Ct._$AH];
100
- n[this._$Ci] = e, this._$Ct._$AI(n, this, 0);
101
- }
102
- }
103
- disconnected() {
104
- }
105
- reconnected() {
106
- }
107
- }
108
- export {
109
- $ as a,
110
- P as b,
111
- N as c,
112
- I as f,
113
- m as i
114
- };
@@ -1,27 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2024 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- "use strict";const c=require("./divider.module-DEy88Ieh.cjs"),h=require("./observe-slot-text-oJ0a2KY9.cjs"),s=require("./if-defined-V7yEJWI3.cjs"),u=":host{display:inline-flex;vertical-align:top;--parent-element-progress-circle-size: 18px;--icon-size: 18px}:host([dir]){-webkit-appearance:none}:host([disabled]){pointer-events:none;cursor:auto}#button{position:absolute;top:0;right:0;bottom:0;left:0}::slotted(luzmo-overlay),::slotted(luzmo-tooltip){position:absolute}:host:after{pointer-events:none}::slotted(*){pointer-events:none}::slotted([slot=icon]){--parent-element-icon-vertical-align: 0}slot[name=icon]::slotted(svg),slot[name=icon]::slotted(img){fill:currentcolor;stroke:currentcolor;block-size:var(--luzmo-button-icon-size, var(--icon-size));inline-size:var(--luzmo-button-icon-size, var(--icon-size))}[icon-only]+#label{display:contents}:host([size=s]){--parent-element-progress-circle-size: 16px;--icon-size: 16px}:host([size=l]){--parent-element-progress-circle-size: 20px;--icon-size: 20px}:host([size=xl]){--parent-element-progress-circle-size: 22px;--icon-size: 22px}";var p=Object.defineProperty,l=(r,e,t,d)=>{for(var i=void 0,o=r.length-1,a;o>=0;o--)(a=r[o])&&(i=a(e,t,i)||i);return i&&p(e,t,i),i};class n extends h.ObserveSlotText(h.LikeAnchor(c.Focusable),"",["luzmo-overlay,luzmo-tooltip"]){constructor(){super(),this.active=!1,this.type="button",this.proxyFocus=this.proxyFocus.bind(this),this.addEventListener("click",this.handleClickCapture,{capture:!0})}static get styles(){return[s.r(u)]}get focusElement(){return this}get hasLabel(){return this.slotHasContent}get buttonContent(){return[s.x` <slot name="icon" ?icon-only=${!this.hasLabel}></slot> `,s.x`
21
- <span id="label">
22
- <slot @slotchange=${this.manageTextObservedSlot}></slot>
23
- </span>
24
- `]}handleClickCapture(e){if(this.disabled)return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),!1;this.shouldProxyClick()}proxyFocus(){this.focus()}shouldProxyClick(){let e=!1;if(this.anchorElement)this.anchorElement.click(),e=!0;else if(this.type!=="button"){const t=document.createElement("button");t.type=this.type,this.insertAdjacentElement("afterend",t),t.click(),t.remove(),e=!0}return e}renderAnchor(){return s.x`
25
- ${this.buttonContent}
26
- ${super.renderAnchor({id:"button",ariaHidden:!0,className:"button anchor hidden"})}
27
- `}renderButton(){return s.x` ${this.buttonContent} `}render(){return this.href&&this.href.length>0?this.renderAnchor():this.renderButton()}handleKeydown(e){const{code:t}=e;switch(t){case"Space":{e.preventDefault(),this.href===void 0&&(this.addEventListener("keyup",this.handleKeyup),this.active=!0);break}}}handleKeypress(e){const{code:t}=e;switch(t){case"Enter":case"NumpadEnter":{this.click();break}}}handleKeyup(e){const{code:t}=e;switch(t){case"Space":{this.removeEventListener("keyup",this.handleKeyup),this.active=!1,this.click();break}}}manageAnchor(){this.href&&this.href.length>0?(!this.hasAttribute("role")||this.getAttribute("role")==="button")&&this.setAttribute("role","link"):(!this.hasAttribute("role")||this.getAttribute("role")==="link")&&this.setAttribute("role","button")}firstUpdated(e){super.firstUpdated(e),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0"),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")),this.manageAnchor(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keypress",this.handleKeypress)}updated(e){super.updated(e),e.has("href")&&this.manageAnchor(),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1)}update(e){super.update(e),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}}l([s.n({type:Boolean,reflect:!0})],n.prototype,"active");l([s.n({type:String})],n.prototype,"type");l([s.e(".anchor")],n.prototype,"anchorElement");exports.ButtonBase=n;
@@ -1,32 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2024 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- "use strict";const u=require("./if-defined-V7yEJWI3.cjs");/**
21
- * @license
22
- * Copyright 2017 Google LLC
23
- * SPDX-License-Identifier: BSD-3-Clause
24
- */function a(t){return u.n({...t,state:!0,attribute:!1})}function c(t,e,i){const s=t.getAttribute(e);let r=s?s.split(/\s+/):[];r=r.filter(n=>!i.includes(n)),r.length>0?t.setAttribute(e,r.join(" ")):t.removeAttribute(e)}function m(t,e,i){const s=Array.isArray(i)?i:[i],r=t.getAttribute(e),n=r?r.split(/\s+/):[];return s.every(o=>n.includes(o))?()=>{}:(n.push(...s),t.setAttribute(e,n.join(" ")),()=>c(t,e,s))}function A(){return Array.from(crypto.getRandomValues(new Uint8Array(4)),t=>`0${(t&255).toString(16)}`.slice(-2)).join("")}const h=Symbol("element resolver updated");class b{constructor(e,{selector:i}={selector:""}){this._element=null,this._selector="",this.mutationCallback=s=>{let r=!1;s.forEach(n=>{if(!r){if(n.type==="childList"){const l=this.element&&[...n.removedNodes].includes(this.element),o=!!this.selector&&[...n.addedNodes].some(d=>this.elementIsSelected(d));r=r||l||o}if(n.type==="attributes"){const l=n.target===this.element,o=!!this.selector&&this.elementIsSelected(n.target);r=r||l||o}}}),r&&this.resolveElement()},this.elementIsSelected=s=>{var r;return this.selectorIsId?(s==null?void 0:s.id)===this.selectorAsId:(r=s==null?void 0:s.matches)==null?void 0:r.call(s,this.selector)},this.host=e,this.selector=i,this.observer=new MutationObserver(this.mutationCallback),this.host.addController(this)}get element(){return this._element}set element(e){if(e===this.element)return;const i=this.element;this._element=e,this.host.requestUpdate(h,i)}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}}/**
25
- * @license
26
- * Copyright 2017 Google LLC
27
- * SPDX-License-Identifier: BSD-3-Clause
28
- */const I={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4},f=t=>(...e)=>({_$litDirective$:t,values:e});class g{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,i,s){this._$Ct=e,this._$AM=i,this._$Ci=s}_$AS(e,i){return this.update(e,i)}update(e,i){return this.render(...i)}}/**
29
- * @license
30
- * Copyright 2020 Google LLC
31
- * SPDX-License-Identifier: BSD-3-Clause
32
- */const v=t=>t.strings===void 0,E={},_=(t,e=E)=>t._$AH=e;exports.ElementResolutionController=b;exports.conditionAttributeWithId=m;exports.conditionAttributeWithoutId=c;exports.e=f;exports.elementResolverUpdatedSymbol=h;exports.f=v;exports.i=g;exports.m=_;exports.r=a;exports.randomID=A;exports.t=I;
@@ -1,154 +0,0 @@
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 { n as h } from "./if-defined-BbzmSG-O.js";
21
- /**
22
- * @license
23
- * Copyright 2017 Google LLC
24
- * SPDX-License-Identifier: BSD-3-Clause
25
- */
26
- function A(t) {
27
- return h({ ...t, state: !0, attribute: !1 });
28
- }
29
- function d(t, e, i) {
30
- const s = t.getAttribute(e);
31
- let r = s ? s.split(/\s+/) : [];
32
- r = r.filter(
33
- (n) => !i.includes(n)
34
- ), r.length > 0 ? t.setAttribute(e, r.join(" ")) : t.removeAttribute(e);
35
- }
36
- function b(t, e, i) {
37
- const s = Array.isArray(i) ? i : [i], r = t.getAttribute(e), n = r ? r.split(/\s+/) : [];
38
- return s.every((o) => n.includes(o)) ? () => {
39
- } : (n.push(...s), t.setAttribute(e, n.join(" ")), () => d(t, e, s));
40
- }
41
- function f() {
42
- return Array.from(
43
- crypto.getRandomValues(new Uint8Array(4)),
44
- (t) => `0${(t & 255).toString(16)}`.slice(-2)
45
- ).join("");
46
- }
47
- const u = Symbol("element resolver updated");
48
- class I {
49
- constructor(e, { selector: i } = { selector: "" }) {
50
- this._element = null, this._selector = "", this.mutationCallback = (s) => {
51
- let r = !1;
52
- s.forEach((n) => {
53
- if (!r) {
54
- if (n.type === "childList") {
55
- const l = this.element && [...n.removedNodes].includes(this.element), o = !!this.selector && [...n.addedNodes].some(
56
- (c) => this.elementIsSelected(c)
57
- );
58
- r = r || l || o;
59
- }
60
- if (n.type === "attributes") {
61
- const l = n.target === this.element, o = !!this.selector && this.elementIsSelected(n.target);
62
- r = r || l || o;
63
- }
64
- }
65
- }), r && this.resolveElement();
66
- }, this.elementIsSelected = (s) => {
67
- var r;
68
- return this.selectorIsId ? (s == null ? void 0 : s.id) === this.selectorAsId : (r = s == null ? void 0 : s.matches) == null ? void 0 : r.call(s, this.selector);
69
- }, this.host = e, this.selector = i, this.observer = new MutationObserver(this.mutationCallback), this.host.addController(this);
70
- }
71
- get element() {
72
- return this._element;
73
- }
74
- set element(e) {
75
- if (e === this.element)
76
- return;
77
- const i = this.element;
78
- this._element = e, this.host.requestUpdate(u, i);
79
- }
80
- get selector() {
81
- return this._selector;
82
- }
83
- set selector(e) {
84
- e !== this.selector && (this.releaseElement(), this._selector = e, this.resolveElement());
85
- }
86
- get selectorAsId() {
87
- return this.selector.slice(1);
88
- }
89
- get selectorIsId() {
90
- return !!this.selector && this.selector.startsWith("#");
91
- }
92
- hostConnected() {
93
- this.resolveElement(), this.observer.observe(this.host.getRootNode(), {
94
- subtree: !0,
95
- childList: !0,
96
- attributes: !0
97
- });
98
- }
99
- hostDisconnected() {
100
- this.releaseElement(), this.observer.disconnect();
101
- }
102
- resolveElement() {
103
- if (!this.selector) {
104
- this.releaseElement();
105
- return;
106
- }
107
- const e = this.host.getRootNode();
108
- this.element = this.selectorIsId ? e.getElementById(this.selectorAsId) : e.querySelector(this.selector);
109
- }
110
- releaseElement() {
111
- this.element = null;
112
- }
113
- }
114
- /**
115
- * @license
116
- * Copyright 2017 Google LLC
117
- * SPDX-License-Identifier: BSD-3-Clause
118
- */
119
- const g = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4 }, E = (t) => (...e) => ({ _$litDirective$: t, values: e });
120
- class v {
121
- constructor(e) {
122
- }
123
- get _$AU() {
124
- return this._$AM._$AU;
125
- }
126
- _$AT(e, i, s) {
127
- this._$Ct = e, this._$AM = i, this._$Ci = s;
128
- }
129
- _$AS(e, i) {
130
- return this.update(e, i);
131
- }
132
- update(e, i) {
133
- return this.render(...i);
134
- }
135
- }
136
- /**
137
- * @license
138
- * Copyright 2020 Google LLC
139
- * SPDX-License-Identifier: BSD-3-Clause
140
- */
141
- const p = (t) => t.strings === void 0, a = {}, _ = (t, e = a) => t._$AH = e;
142
- export {
143
- I as E,
144
- f as a,
145
- u as b,
146
- b as c,
147
- d,
148
- E as e,
149
- p as f,
150
- v as i,
151
- _ as m,
152
- A as r,
153
- g as t
154
- };