@luzmo/analytics-components-kit 1.0.1-alpha.1 → 1.0.1-alpha.10

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/LICENSE +3 -3
  2. package/components/area-chart-slots.config-BLxiYX05.cjs +20 -0
  3. package/components/area-chart-slots.config-C0c2ZzBh.js +52 -0
  4. package/components/async-directive-DWRUSKKF-CmOVMf6V.js +152 -0
  5. package/components/async-directive-DWRUSKKF-D4itZyzc.cjs +56 -0
  6. package/components/bar-chart-slots.config-GSSL7XVA.js +47 -0
  7. package/components/bar-chart-slots.config-Jx1PveTM.cjs +20 -0
  8. package/components/bar-chart.config-B57geUzJ.cjs +20 -0
  9. package/components/bar-chart.config-CQ6HAvs2.js +153 -0
  10. package/components/bar-chart.en-BqYbiHO3.cjs +20 -0
  11. package/components/bar-chart.en-FwT00qdU.js +69 -0
  12. package/components/bar-chart.fr-DGx9smEh.cjs +20 -0
  13. package/components/bar-chart.fr-DbxKiM0j.js +44 -0
  14. package/components/bar-chart.nl-BYzVExsz.cjs +20 -0
  15. package/components/bar-chart.nl-ahX1ARpH.js +44 -0
  16. package/components/base-BjTwmyRF.cjs +24 -0
  17. package/components/base-D76d76ww-BiajPmzU.cjs +40 -0
  18. package/components/base-D76d76ww-gf0ESLsU.js +45 -0
  19. package/components/base-D76d76ww.js +28 -0
  20. package/components/button-base-B7v4eeRh-BKKUK3x0.cjs +43 -0
  21. package/components/button-base-B7v4eeRh-D3-GH03o.js +161 -0
  22. package/components/checkbox-mixin-BFGTmw17-C34LMsgu.js +88 -0
  23. package/components/checkbox-mixin-BFGTmw17-CCjGd0nS.cjs +45 -0
  24. package/components/column-chart.config-B57geUzJ.cjs +20 -0
  25. package/components/column-chart.config-C9hP0kX7.js +153 -0
  26. package/components/cs-DVZ0Tapy.js +89 -0
  27. package/components/cs-I9E81keK.cjs +20 -0
  28. package/components/da-DHy05oSR.js +97 -0
  29. package/components/da-QkdvupDg.cjs +20 -0
  30. package/components/de-BaTUIQk1.js +104 -0
  31. package/components/de-DgHoh7KS.cjs +20 -0
  32. package/components/de-Dn5mUzha.cjs +20 -0
  33. package/components/de-iM39JlAt.js +109 -0
  34. package/components/decompose-numeric-format-B3rVVHpO.cjs +20 -0
  35. package/components/decompose-numeric-format-BuZcjH2k.js +39 -0
  36. package/components/directive-helpers-nlQRAaQt-3kEWF2GV.cjs +80 -0
  37. package/components/directive-helpers-nlQRAaQt-I6T4KZKW.js +115 -0
  38. package/components/display-settings/display-settings.d.ts +70 -0
  39. package/components/display-settings/index.cjs +105 -0
  40. package/components/display-settings/index.d.ts +7 -0
  41. package/components/display-settings/index.js +238 -0
  42. package/components/display-settings-binning/display-settings-binning.d.ts +33 -0
  43. package/components/display-settings-binning/index.cjs +55 -0
  44. package/components/display-settings-binning/index.d.ts +7 -0
  45. package/components/display-settings-binning/index.js +151 -0
  46. package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
  47. package/components/display-settings-datetime/index.cjs +20 -0
  48. package/components/display-settings-datetime/index.d.ts +7 -0
  49. package/components/display-settings-datetime/index.js +30 -0
  50. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +31 -0
  51. package/components/display-settings-grand-totals/index.cjs +43 -0
  52. package/components/display-settings-grand-totals/index.d.ts +7 -0
  53. package/components/display-settings-grand-totals/index.js +126 -0
  54. package/components/display-settings-numeric/display-settings-numeric.d.ts +73 -0
  55. package/components/display-settings-numeric/helpers/constants.d.ts +18 -0
  56. package/components/display-settings-numeric/index.cjs +156 -0
  57. package/components/display-settings-numeric/index.d.ts +7 -0
  58. package/components/display-settings-numeric/index.js +477 -0
  59. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +44 -0
  60. package/components/display-settings-period-over-period/helpers/constants.d.ts +36 -0
  61. package/components/display-settings-period-over-period/index.cjs +103 -0
  62. package/components/display-settings-period-over-period/index.d.ts +7 -0
  63. package/components/display-settings-period-over-period/index.js +314 -0
  64. package/components/divider.module-DwOuLGU3-B19eHVg2.js +40 -0
  65. package/components/divider.module-DwOuLGU3-Bg8RrFkc.cjs +36 -0
  66. package/components/donut-chart-slots.config-BEwhfq27.js +39 -0
  67. package/components/donut-chart-slots.config-DIp-24lO.cjs +20 -0
  68. package/components/donut-chart.config-3DhKiSSM.js +177 -0
  69. package/components/donut-chart.config-DLWJUlHx.cjs +20 -0
  70. package/components/donut-chart.en-Blb9oSdU.cjs +20 -0
  71. package/components/donut-chart.en-CzjT4-XN.js +85 -0
  72. package/components/donut-chart.fr-BeTVa2wh.cjs +20 -0
  73. package/components/donut-chart.fr-DftPrKbG.js +39 -0
  74. package/components/donut-chart.nl-D9YGbOce.cjs +20 -0
  75. package/components/donut-chart.nl-NMatXfhK.js +39 -0
  76. package/components/draggable-data-item/draggable-data-item.d.ts +26 -0
  77. package/components/draggable-data-item/index.cjs +55 -0
  78. package/components/draggable-data-item/index.d.ts +7 -0
  79. package/components/draggable-data-item/index.js +135 -0
  80. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +29 -0
  81. package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +2 -0
  82. package/components/draggable-data-item-level/helpers/generate-preview.d.ts +1 -0
  83. package/components/draggable-data-item-level/index.cjs +36 -0
  84. package/components/draggable-data-item-level/index.d.ts +7 -0
  85. package/components/draggable-data-item-level/index.js +293 -0
  86. package/components/droppable-slot/droppable-slot.d.ts +49 -0
  87. package/components/droppable-slot/index.cjs +69 -0
  88. package/components/droppable-slot/index.d.ts +7 -0
  89. package/components/droppable-slot/index.js +266 -0
  90. package/components/droppable-slot/item-slots-configs/area-chart-slots.config.d.ts +44 -0
  91. package/components/droppable-slot/item-slots-configs/bar-chart-slots.config.d.ts +24 -0
  92. package/components/droppable-slot/item-slots-configs/donut-chart-slots.config.d.ts +20 -0
  93. package/components/droppable-slot/item-slots-configs/slot-labels.const.d.ts +8 -0
  94. package/components/edit-item/edit-item.d.ts +50 -0
  95. package/components/edit-item/index.cjs +85 -0
  96. package/components/edit-item/index.d.ts +7 -0
  97. package/components/edit-item/index.js +333 -0
  98. package/components/edit-option/edit-option.d.ts +22 -0
  99. package/components/edit-option/helpers/control-markup.d.ts +14 -0
  100. package/components/edit-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
  101. package/components/edit-option/helpers/control-templates/color-picker-template.d.ts +2 -0
  102. package/components/edit-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
  103. package/components/edit-option/helpers/control-templates/number-field-template.d.ts +2 -0
  104. package/components/edit-option/helpers/control-templates/picker-template.d.ts +2 -0
  105. package/components/edit-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
  106. package/components/edit-option/helpers/control-templates/radio-button-group.d.ts +2 -0
  107. package/components/edit-option/helpers/control-templates/slider-template.d.ts +2 -0
  108. package/components/edit-option/helpers/control-templates/switch-template.d.ts +2 -0
  109. package/components/edit-option/helpers/control-templates/text-field-template.d.ts +7 -0
  110. package/components/edit-option/helpers/generate-callback.d.ts +1 -0
  111. package/components/edit-option/helpers/get-control-by-key.d.ts +1 -0
  112. package/components/edit-option/helpers/get-extra-label-values.d.ts +7 -0
  113. package/components/edit-option/helpers/get-value-by-key.d.ts +1 -0
  114. package/components/edit-option/index.cjs +176 -0
  115. package/components/edit-option/index.d.ts +7 -0
  116. package/components/edit-option/index.js +507 -0
  117. package/components/edit-option/item-configs/bar-chart.config.d.ts +108 -0
  118. package/components/edit-option/item-configs/column-chart.config.d.ts +108 -0
  119. package/components/edit-option/item-configs/donut-chart.config.d.ts +102 -0
  120. package/components/edit-option/item-configs/imageobject.config.d.ts +128 -0
  121. package/components/edit-option/item-configs/line-chart.config.d.ts +96 -0
  122. package/components/edit-option/item-configs/textobject.config.d.ts +13 -0
  123. package/components/edit-option/item-translations/bar-chart.en.d.ts +48 -0
  124. package/components/edit-option/item-translations/bar-chart.fr.d.ts +23 -0
  125. package/components/edit-option/item-translations/bar-chart.nl.d.ts +23 -0
  126. package/components/edit-option/item-translations/donut-chart.en.d.ts +64 -0
  127. package/components/edit-option/item-translations/donut-chart.fr.d.ts +18 -0
  128. package/components/edit-option/item-translations/donut-chart.nl.d.ts +18 -0
  129. package/components/edit-option-action-button-group/edit-option-action-button-group.d.ts +27 -0
  130. package/components/edit-option-action-button-group/index.cjs +44 -0
  131. package/components/edit-option-action-button-group/index.d.ts +7 -0
  132. package/components/edit-option-action-button-group/index.js +144 -0
  133. package/components/edit-option-base/edit-option-base.d.ts +22 -0
  134. package/components/edit-option-base-Boz7TNRZ.cjs +53 -0
  135. package/components/edit-option-base-qePiIQWd.js +120 -0
  136. package/components/edit-option-color-picker/edit-option-color-picker.d.ts +23 -0
  137. package/components/edit-option-color-picker/index.cjs +472 -0
  138. package/components/edit-option-color-picker/index.d.ts +7 -0
  139. package/components/edit-option-color-picker/index.js +2553 -0
  140. package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +15 -0
  141. package/components/edit-option-multi-language-field/index.cjs +31 -0
  142. package/components/edit-option-multi-language-field/index.d.ts +7 -0
  143. package/components/edit-option-multi-language-field/index.js +102 -0
  144. package/components/edit-option-number-field/edit-option-number-field.d.ts +19 -0
  145. package/components/edit-option-number-field/index.cjs +32 -0
  146. package/components/edit-option-number-field/index.d.ts +7 -0
  147. package/components/edit-option-number-field/index.js +115 -0
  148. package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
  149. package/components/edit-option-picker/index.cjs +35 -0
  150. package/components/edit-option-picker/index.d.ts +7 -0
  151. package/components/edit-option-picker/index.js +106 -0
  152. package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +28 -0
  153. package/components/edit-option-positions-number-field/index.cjs +42 -0
  154. package/components/edit-option-positions-number-field/index.d.ts +7 -0
  155. package/components/edit-option-positions-number-field/index.js +170 -0
  156. package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +18 -0
  157. package/components/edit-option-radio-button-group/index.cjs +36 -0
  158. package/components/edit-option-radio-button-group/index.d.ts +7 -0
  159. package/components/edit-option-radio-button-group/index.js +113 -0
  160. package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
  161. package/components/edit-option-slider/index.cjs +48 -0
  162. package/components/edit-option-slider/index.d.ts +7 -0
  163. package/components/edit-option-slider/index.js +1253 -0
  164. package/components/edit-option-switch/edit-option-switch.d.ts +11 -0
  165. package/components/edit-option-switch/index.cjs +50 -0
  166. package/components/edit-option-switch/index.d.ts +7 -0
  167. package/components/edit-option-switch/index.js +171 -0
  168. package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
  169. package/components/edit-option-text-field/index.cjs +31 -0
  170. package/components/edit-option-text-field/index.d.ts +7 -0
  171. package/components/edit-option-text-field/index.js +100 -0
  172. package/components/element-resolution-FCUT-wql--7ctE626.js +163 -0
  173. package/components/element-resolution-FCUT-wql-DSTvdyds.cjs +68 -0
  174. package/components/en-BByOeNuP.js +1989 -0
  175. package/components/en-BFGuvaVG.cjs +228 -0
  176. package/components/en-GB-Bz4u7Uqv.cjs +20 -0
  177. package/components/en-GB-DX5un7Gr.js +28 -0
  178. package/components/es-ByW01bzN.cjs +20 -0
  179. package/components/es-CwyPlN5d.cjs +20 -0
  180. package/components/es-D37mTCZB.js +104 -0
  181. package/components/es-KhTq4jX8.js +305 -0
  182. package/components/fi-Dh_ebgpe.js +97 -0
  183. package/components/fi-rijeZE5V.cjs +20 -0
  184. package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
  185. package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
  186. package/components/fr-BWJHvkss.js +104 -0
  187. package/components/fr-BcgE-6S_.cjs +20 -0
  188. package/components/fr-CU727YF1.js +305 -0
  189. package/components/fr-DnFUAglm.cjs +20 -0
  190. package/components/get-css-variable-Bhbr-Kr1.js +1413 -0
  191. package/components/get-css-variable-DLiZYZEi.cjs +24 -0
  192. package/components/he-Au3xg6lR.js +89 -0
  193. package/components/he-O6Ih8Bqh.cjs +20 -0
  194. package/components/hu-BnZ8y3xQ.cjs +20 -0
  195. package/components/hu-DNJ-P_MW.js +97 -0
  196. package/components/if-defined-8BOch-oC.cjs +24 -0
  197. package/components/if-defined-BSAr_4u4-4Ys8VE7T.js +95 -0
  198. package/components/if-defined-BSAr_4u4-gECNwmTC.cjs +60 -0
  199. package/components/if-defined-Bv6MRdSW.js +29 -0
  200. package/components/imageobject.config-B7ld9bj3.cjs +20 -0
  201. package/components/imageobject.config-DZLp9Elq.js +127 -0
  202. package/components/index-86cIx1Ql.cjs +57 -0
  203. package/components/index-B3ve6cAj.js +810 -0
  204. package/components/index-B5Wvyv9s.js +744 -0
  205. package/components/index-BBrer3_5.js +44 -0
  206. package/components/index-BJVxTeoi.cjs +192 -0
  207. package/components/index-BUSWsm5N.js +77 -0
  208. package/components/index-BVX_ozT9.js +77 -0
  209. package/components/index-BYfDERr7.js +145 -0
  210. package/components/index-Bee1uunR.js +299 -0
  211. package/components/index-BrEDK88k.cjs +185 -0
  212. package/components/index-Bt5nP_6w.cjs +59 -0
  213. package/components/index-ByjLd3bT.cjs +95 -0
  214. package/components/index-C8IL2IZ6.js +317 -0
  215. package/components/index-CMvLpPKD-D5MpMVYZ.js +935 -0
  216. package/components/index-CMvLpPKD-Yf1PLWrj.cjs +95 -0
  217. package/components/index-CXIT0cYY.js +3171 -0
  218. package/components/index-CdCtJpK9.js +175 -0
  219. package/components/index-CdUTqQ3L.cjs +39 -0
  220. package/components/index-CdpyJ7hp.cjs +36 -0
  221. package/components/index-CfEn3fIT.js +137 -0
  222. package/components/index-D8qmoauu.cjs +36 -0
  223. package/components/index-DEVOZNSc.cjs +36 -0
  224. package/components/index-DUO13KGl.cjs +54 -0
  225. package/components/index-DVAsMiOm.js +164 -0
  226. package/components/index-DnozlYag.js +48 -0
  227. package/components/index-h9T5DPIm.cjs +36 -0
  228. package/components/index-i8GaIN7i.cjs +67 -0
  229. package/components/index-iYpAy-Kg.cjs +95 -0
  230. package/components/index-ymMEPngt.js +104 -0
  231. package/components/index-zuArOtOt.cjs +42 -0
  232. package/components/index.cjs +20 -0
  233. package/components/index.js +74 -0
  234. package/components/it-Bh5U73z6.js +305 -0
  235. package/components/it-PshtLMkq.cjs +20 -0
  236. package/components/ja-CCcHUL61.js +89 -0
  237. package/components/ja-KIS2HdaG.cjs +20 -0
  238. package/components/ko--l4qmjLV.cjs +20 -0
  239. package/components/ko-DhapsZMM.js +89 -0
  240. package/components/language-resolution-8yZa5r_P-Bn0bYosv.js +161 -0
  241. package/components/language-resolution-8yZa5r_P-FqQChUDW.cjs +52 -0
  242. package/components/line-chart.config-BZcvfO2c.cjs +20 -0
  243. package/components/line-chart.config-CIVN6uLI.js +115 -0
  244. package/components/localize-B6AsX_Zv.js +52 -0
  245. package/components/localize-DbobqcKs.cjs +20 -0
  246. package/components/luzmo-icons-BE2T8vWu.js +613 -0
  247. package/components/luzmo-icons-XsFsTAl3.cjs +31 -0
  248. package/components/mk-B9HPSuKa.js +97 -0
  249. package/components/mk-DZlj-edb.cjs +20 -0
  250. package/components/nl-BKlDqOXb.cjs +20 -0
  251. package/components/nl-BwSt5Bf4.js +109 -0
  252. package/components/nl-CWxJcTNT.js +104 -0
  253. package/components/nl-CpfDNK5c.cjs +20 -0
  254. package/components/no-D-DofYnx.js +109 -0
  255. package/components/no-D_SzxhTu.cjs +20 -0
  256. package/components/observe-slot-text-ggb4kKgY-DBVrKDBD.cjs +86 -0
  257. package/components/observe-slot-text-ggb4kKgY-o5QFWUeA.js +221 -0
  258. package/components/periods.const-CDIkC5CK.cjs +20 -0
  259. package/components/periods.const-GHh5bPfs.js +176 -0
  260. package/components/pl-D_L_0Boq.js +97 -0
  261. package/components/pl-PIK23rK_.cjs +20 -0
  262. package/components/popover-DlkzrLpl-BhTvuvTu.cjs +48 -0
  263. package/components/popover-DlkzrLpl-CCwcTIXr.js +86 -0
  264. package/components/property-0L4eB11h.cjs +112 -0
  265. package/components/property-B2F7x7Cz.js +1481 -0
  266. package/components/pt-B0BBS5VB.js +89 -0
  267. package/components/pt-Dqlu4MS5.cjs +20 -0
  268. package/components/query-D5qWDopr.cjs +24 -0
  269. package/components/query-Ddbd72Um.js +39 -0
  270. package/components/query-assigned-nodes-C76XVPWY-BcyGjObB.cjs +40 -0
  271. package/components/query-assigned-nodes-C76XVPWY-DPC6kOmH.js +55 -0
  272. package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +36 -0
  273. package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +85 -0
  274. package/components/ru-Vo-m3O_2.js +108 -0
  275. package/components/ru-zyNDTB04.cjs +20 -0
  276. package/components/set-locale-ByIApH40.cjs +60 -0
  277. package/components/set-locale-DJYT4V7U.js +212 -0
  278. package/components/sized-mixin-BxMraZLS-B_y0PzR3.js +82 -0
  279. package/components/sized-mixin-BxMraZLS-DEFWqo8f.cjs +36 -0
  280. package/components/slot-menu/index.cjs +55 -0
  281. package/components/slot-menu/index.d.ts +7 -0
  282. package/components/slot-menu/index.js +188 -0
  283. package/components/slot-menu/slot-menu.d.ts +66 -0
  284. package/components/slot-menu-list/index.cjs +39 -0
  285. package/components/slot-menu-list/index.d.ts +7 -0
  286. package/components/slot-menu-list/index.js +351 -0
  287. package/components/slot-menu-list/slot-menu-list.d.ts +33 -0
  288. package/components/state-BFA93Sye.cjs +24 -0
  289. package/components/state-Joaryhrg.js +31 -0
  290. package/components/sv-1DPTltNQ.cjs +20 -0
  291. package/components/sv-CiozMaev.js +89 -0
  292. package/components/task-B8yMzxui.cjs +24 -0
  293. package/components/task-Cr9aRIbV.js +120 -0
  294. package/components/text-field-CvKSS59x-Dn0_1HO7.js +412 -0
  295. package/components/text-field-CvKSS59x-E9LQElL4.cjs +131 -0
  296. package/components/textobject.config-C8opcGG4.js +52 -0
  297. package/components/textobject.config-DbAajFz8.cjs +20 -0
  298. package/components/tr-BkmWvOG2.cjs +20 -0
  299. package/components/tr-D_D4i5iv.js +109 -0
  300. package/components/utils.cjs +20 -0
  301. package/components/utils.js +20 -0
  302. package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +40 -0
  303. package/components/when-CDK1Tt5Y-C6ViXC43.js +47 -0
  304. package/components/zh-CN-DTZ4OmdP.cjs +20 -0
  305. package/components/zh-CN-wsl7eFSd.js +89 -0
  306. package/components/zh-TW-DTZ4OmdP.cjs +20 -0
  307. package/components/zh-TW-wsl7eFSd.js +89 -0
  308. package/custom-elements.json +4260 -0
  309. package/generated/locale-codes.d.ts +13 -0
  310. package/generated/locales/de.d.ts +82 -0
  311. package/generated/locales/es.d.ts +82 -0
  312. package/generated/locales/fr.d.ts +82 -0
  313. package/generated/locales/nl.d.ts +82 -0
  314. package/index.d.ts +23 -0
  315. package/package.json +130 -20
  316. package/utils/formatter/calculate-duration.d.ts +2 -0
  317. package/utils/formatter/decompose-numeric-format.d.ts +11 -0
  318. package/utils/formatter/default-local-formats.d.ts +20 -0
  319. package/utils/formatter/formats/cs.d.ts +20 -0
  320. package/utils/formatter/formats/da.d.ts +20 -0
  321. package/utils/formatter/formats/de.d.ts +21 -0
  322. package/utils/formatter/formats/en-GB.d.ts +21 -0
  323. package/utils/formatter/formats/en-US.d.ts +1 -0
  324. package/utils/formatter/formats/en.d.ts +1 -0
  325. package/utils/formatter/formats/es.d.ts +54 -0
  326. package/utils/formatter/formats/fi.d.ts +20 -0
  327. package/utils/formatter/formats/fr.d.ts +54 -0
  328. package/utils/formatter/formats/he.d.ts +20 -0
  329. package/utils/formatter/formats/hu.d.ts +20 -0
  330. package/utils/formatter/formats/it.d.ts +54 -0
  331. package/utils/formatter/formats/ja.d.ts +20 -0
  332. package/utils/formatter/formats/ko.d.ts +20 -0
  333. package/utils/formatter/formats/mk.d.ts +20 -0
  334. package/utils/formatter/formats/nl.d.ts +21 -0
  335. package/utils/formatter/formats/no.d.ts +21 -0
  336. package/utils/formatter/formats/pl.d.ts +20 -0
  337. package/utils/formatter/formats/pt.d.ts +20 -0
  338. package/utils/formatter/formats/ru.d.ts +20 -0
  339. package/utils/formatter/formats/sv.d.ts +20 -0
  340. package/utils/formatter/formats/tr.d.ts +21 -0
  341. package/utils/formatter/formats/zh-CN.d.ts +20 -0
  342. package/utils/formatter/formats/zh-TW.d.ts +20 -0
  343. package/utils/formatter/formatter.d.ts +9 -0
  344. package/utils/formatter/localize.d.ts +3 -0
  345. package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  346. package/utils/get-css-variable.d.ts +1 -0
  347. package/utils/index.d.ts +1 -0
  348. package/utils/localize/set-locale.d.ts +5 -0
  349. package/utils/time/formats.const.d.ts +4 -0
  350. package/utils/time/periods.const.d.ts +15 -0
  351. package/utils/types/column.types.d.ts +56 -0
  352. package/utils/types/type-check.d.ts +7 -0
  353. package/37.js +0 -1
  354. package/729.js +0 -1
  355. package/README.md +0 -1
  356. package/common-31743c5a.js +0 -13
  357. package/common-b02547a0.js +0 -1
  358. package/common-b49d9a9d.js +0 -1
  359. package/common-b5232813.js +0 -56
  360. package/common-cefd4f4c.js +0 -1
  361. package/common-d6cb565f.js +0 -1
  362. package/common-fd868059.js +0 -1
  363. package/common-fedaf338.js +0 -32
  364. package/edit-option-picker/index.js +0 -314
  365. package/edit-option-slider/index.js +0 -102
  366. package/edit-option-toggle/index.js +0 -114
  367. package/index.js +0 -346
  368. package/vendors-93cc3efa.js +0 -1
  369. package/vendors-bb3d84b5.js +0 -1
@@ -0,0 +1,66 @@
1
+ import '@luzmo/lucero/divider';
2
+ import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
3
+ import './../display-settings';
4
+ import './../slot-menu-list';
5
+ import { LuzmoElement } from '@luzmo/lucero/utils';
6
+ import { LuzmoDisplaySettings } from './../display-settings/display-settings';
7
+ import { LuzmoSlotMenuList } from './../slot-menu-list/slot-menu-list';
8
+ declare const LuzmoSlotMenu_base: typeof LuzmoElement & {
9
+ new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
10
+ prototype: import("@luzmo/lucero").SizedElementInterface;
11
+ };
12
+ /**
13
+ * @element luzmo-slot-menu
14
+ */
15
+ export declare class LuzmoSlotMenu extends LuzmoSlotMenu_base {
16
+ static get styles(): CSSResultArray;
17
+ /**
18
+ * The language of the settings interface
19
+ */
20
+ language: string;
21
+ /**
22
+ * The language to use for locale-aware formatting and labels
23
+ */
24
+ contentLanguage: string;
25
+ /**
26
+ * The slot type
27
+ */
28
+ slotType?: string;
29
+ /**
30
+ * Whether to show the drag handle and allow dragging
31
+ */
32
+ noDrag?: boolean;
33
+ /**
34
+ * Whether to show the close button
35
+ */
36
+ noClose?: boolean;
37
+ /**
38
+ * The variant to show
39
+ */
40
+ variant?: 'popup' | 'draggable' | 'default';
41
+ /**
42
+ * Whether to show the top menu label & delete button
43
+ */
44
+ noTopMenuLabel?: boolean;
45
+ slotContents: any;
46
+ slotContentLabelElement: HTMLElement;
47
+ displaySettingsElement: LuzmoDisplaySettings;
48
+ slotMenuListElement: LuzmoSlotMenuList;
49
+ _slotListData: any[];
50
+ _slotContents: any[];
51
+ _currentSlotContent: any;
52
+ _activeIndex: number;
53
+ disconnectedCallback(): void;
54
+ private _sendChangeEvent;
55
+ private _sendCloseEvent;
56
+ protected willUpdate(changedProperties: PropertyValues): void;
57
+ protected updated(): void;
58
+ private _handleSlotListChange;
59
+ private _handleSlotContentChange;
60
+ updateContentLabel(): void;
61
+ removeSlotContent(index: number): void;
62
+ close(): void;
63
+ _removeActiveSlotContent(): void;
64
+ protected render(): TemplateResult;
65
+ }
66
+ export {};
@@ -0,0 +1,39 @@
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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../property-0L4eB11h.cjs"),p=require("../get-css-variable-DLiZYZEi.cjs"),C=require("../luzmo-icons-XsFsTAl3.cjs"),k=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),_=require("../localize-DbobqcKs.cjs"),P=require("../base-BjTwmyRF.cjs");/**
21
+ * @license
22
+ * Copyright 2017 Google LLC
23
+ * SPDX-License-Identifier: BSD-3-Clause
24
+ */let j;function D(i){return(t,e)=>P.e(t,e,{get(){return(this.renderRoot??j??(j=document.createDocumentFragment())).querySelectorAll(i)}})}var F={large:700};function $(i){i.animate([{backgroundColor:"var(--ds-background-selected, #E9F2FF)"},{}],{duration:F.large,easing:"cubic-bezier(0.25, 0.1, 0.25, 1.0)",iterations:1})}function w(i,t){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable})),e.push.apply(e,o)}return e}function S(i){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?w(Object(e),!0).forEach(function(o){p._defineProperty(i,o,e[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):w(Object(e)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(e,o))})}return i}var L={top:function(t,e){return Math.abs(e.y-t.top)},right:function(t,e){return Math.abs(t.right-e.x)},bottom:function(t,e){return Math.abs(t.bottom-e.y)},left:function(t,e){return Math.abs(e.x-t.left)}},O=Symbol("closestEdge");function M(i,t){var e,o,s=t.element,u=t.input,n=t.allowedEdges,l={x:u.clientX,y:u.clientY},r=s.getBoundingClientRect(),a=n.map(function(c){return{edge:c,value:L[c](r,l)}}),d=(e=(o=a.sort(function(c,b){return c.value-b.value})[0])===null||o===void 0?void 0:o.edge)!==null&&e!==void 0?e:null;return S(S({},i),{},p._defineProperty({},O,d))}function E(i){var t;return(t=i[O])!==null&&t!==void 0?t:null}const q=':host{font-family:var(--luzmo-slot-menu-list-font-family, var(--luzmo-font-family));font-size:var(--luzmo-slot-menu-list-font-size, var(--slot-menu-list-font-size));color:var(--luzmo-slot-menu-listfont-color, var(--luzmo-font-color))}:host{margin:0;padding:0;list-style:none;border-right:var(--luzmo-slot-menu-list-border-right-width, var(--luzmo-border-width)) solid var(--luzmo-slot-menu-list-border-right-color, var(--luzmo-border-color))}:host li{position:relative;cursor:pointer}:host li:hover{background-color:var(--luzmo-slot-menu-list-background-color-hover, var(--slot-menu-list-background-color-hover))}:host .active{background-color:var(--luzmo-slot-menu-list-active-background-color, var(--slot-menu-list-active-background-color));color:var(--luzmo-slot-menu-list-active-color, var(--slot-menu-list-active-color))}:host .active:hover{background-color:var(--luzmo-slot-menu-list-active-background-color-hover, var(--slot-menu-list-active-background-color-hover))}.drop-indicator{position:absolute;left:0;right:0;height:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height));background-color:var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color))}.drop-indicator:before{content:"";display:block;width:100%;border:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)) solid var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color));border-radius:50%;position:absolute;background:var(--luzmo-slot-menu-list-drop-indicator-background, var(--luzmo-background-color));left:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));top:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));height:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size));width:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size))}.drop-indicator[data-edge=top]{top:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.drop-indicator[data-edge=bottom]{bottom:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.draggable-slot-content{display:flex;justify-content:space-between;gap:var(--luzmo-slot-menu-label-to-icon-gap, var(--slot-menu-label-to-icon-gap));align-items:center}.draggable-slot-content .draggable-slot-content-label,.draggable-slot-content .draggable-slot-content-remove{padding-block-start:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding));padding-block-end:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding))}.draggable-slot-content .draggable-slot-content-label{padding-inline-start:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draggable-slot-content .draggable-slot-content-remove{padding-inline-end:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:0 0 auto}:host{--slot-menu-list-active-background-color: var(--luzmo-primary);--slot-menu-list-active-background-color-hover: var(--luzmo-primary-hover);--slot-menu-list-active-color: var(--luzmo-primary-inverse-color);--slot-menu-list-background-color-hover: var(--luzmo-background-color-hover);--slot-menu-list-drop-indicator-color: var(--luzmo-font-color-down);--slot-menu-list-drop-indicator-height: 2px;--slot-menu-list-drop-indicator-circle-size: 4px}:host{--slot-menu-display-settings-min-width: 19rem;--slot-menu-min-height: calc(var(--luzmo-component-height) * 2);--slot-menu-font-size: var(--luzmo-font-size);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-4);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-3)}:host([size=s]){--slot-menu-display-settings-min-width: 16rem;--slot-menu-min-height: calc(var(--luzmo-component-height-s) * 2);--slot-menu-font-size: var(--luzmo-font-size-s);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-3);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-2)}:host([size=l]){--slot-menu-display-settings-min-width: 23rem;--slot-menu-min-height: calc(var(--luzmo-component-height-l) * 2);--slot-menu-font-size: var(--luzmo-font-size-l);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-4)}:host([size=xl]){--slot-menu-display-settings-min-width: 26rem;--slot-menu-min-height: calc(var(--luzmo-component-height-xl) * 2);--slot-menu-font-size: var(--luzmo-font-size-xl);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-4);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-5)}';var A=Object.defineProperty,f=(i,t,e,o)=>{for(var s=void 0,u=i.length-1,n;u>=0;u--)(n=i[u])&&(s=n(t,e,s)||s);return s&&A(t,e,s),s};class h extends k.m(g.kt,{validSizes:Object.values(k.d)}){constructor(){super(...arguments),this.language="en",this.contentLanguage="en",this.slotContents=[],this.activeIndex=0,this._sendChangeEvent=()=>{this.dispatchEvent(new CustomEvent("slot-list-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:structuredClone(this.slotContents),activeIndex:this.activeIndex}}))},this._cleanupFns=[],this._attachAll=()=>{[...this._draggableSlotContentElements].forEach(t=>{const e=this._sendChangeEvent.bind(this),o=this,s=p.draggable({element:t,onGenerateDragPreview({nativeSetDragImage:n}){p.setCustomNativeDragPreview({nativeSetDragImage:n,render({container:l}){var d;const r=document.createElement("div");r.classList.add("drag-preview");const a={};[["borderColor","--luzmo-slot-menu-list-border-color","--luzmo-border-color"],["backgroundColor","--luzmo-slot-menu-list-background-color","--luzmo-background-color"],["color","--luzmo-slot-menu-list-font-color","--slot-menu-list-font-color"],["fontSize","--luzmo-slot-menu-list-font-size","--slot-menu-list-font-size"],["horizontalPadding","--luzmo-slot-menu-list-item-horizontal-padding","--slot-menu-list-item-horizontal-padding"],["verticalPadding","--luzmo-slot-menu-list-item-vertical-padding","--slot-menu-list-item-vertical-padding"],["borderRadius","--luzmo-slot-menu-list-border-radius","--luzmo-border-radius"],["fontFamily","--luzmo-slot-menu-list-font-family","--luzmo-font-family"]].forEach(([c,b,y])=>{const m=p.getCssVariableValue(t,b)||p.getCssVariableValue(t,y);a[c]=m}),r.textContent=((d=t.querySelector("[data-task-content]"))==null?void 0:d.textContent)??t.textContent,Object.assign(r.style,{border:`1px solid ${a.borderColor}`,backgroundColor:a.backgroundColor,borderRadius:a.borderRadius,fontFamily:a.fontFamily,fontSize:a.fontSize,color:a.color,paddingInline:`${a.horizontalPadding}`,paddingBlock:`${a.verticalPadding}`}),l.append(r)}})},getInitialData(){var r;const n=t.parentElement;let l=0;return n&&(l=[...((r=n.parentElement)==null?void 0:r.children)??[]].indexOf(n)),{index:l}},onDragStart(){t.style.opacity="0.5"},onDrop(){t.style.opacity="1"}});this._cleanupFns.push(s);const u=p.dropTargetForElements({element:t,canDrop({source:n}){var l;return n.element===t?!1:(l=n==null?void 0:n.element)==null?void 0:l.classList.contains("draggable-slot-content")},getData(n){return M({},{element:t,input:n.input,allowedEdges:["top","bottom"]})},getIsSticky(){return!0},onDragEnter({self:n}){const l=E(n.data);if(!l)return;const r=document.createElement("div");r.classList.add("drop-indicator"),r.dataset.edge=l,t.after(r)},onDrag({self:n}){var a,d,c;const l=E(n.data);if(!l){(a=t.nextElementSibling)==null||a.remove();return}if(((d=t.nextElementSibling)==null?void 0:d.getAttribute("data-edge"))===l)return;(c=t.nextElementSibling)==null||c.remove();const r=document.createElement("div");r.classList.add("drop-indicator"),r.dataset.edge=l,t.after(r)},onDragLeave(){var n;(n=t.nextElementSibling)==null||n.remove()},onDrop({self:n,source:l}){var d,c,b,y;(d=t.nextElementSibling)==null||d.remove();const r=E(n.data),a=n.element.parentElement;if(typeof l.data.index=="number"&&a){let m=[...((c=a.parentElement)==null?void 0:c.children)??[]].indexOf(a);r==="bottom"&&l.data.index>=m&&m<(((y=(b=a==null?void 0:a.parentElement)==null?void 0:b.children)==null?void 0:y.length)??0)-1?m+=1:r==="top"&&m>l.data.index&&(m-=1);const v=o.activeIndex,z=l.data.index,x=m,I=o.slotContents[z];o.slotContents.splice(z,1),o.slotContents.splice(x,0,I),z===v?o.activeIndex=x:z<v&&x>=v?o.activeIndex=v-1:z>v&&x<=v&&(o.activeIndex=v+1)}r&&($(l.element),o.requestUpdate(),e())}});this._cleanupFns.push(u)})},this._detachAll=()=>{this._cleanupFns.forEach(t=>t()),this._cleanupFns=[]}}static get styles(){return[g.r$1(q)]}willUpdate(){this._detachAll()}updated(){this._attachAll()}setActiveIndex(t){this.activeIndex=t,this._sendChangeEvent()}removeSlotContent(t){this.slotContents=this.slotContents.filter((e,o)=>o!==t),this.activeIndex===t?this.activeIndex=t:this.slotContents.length>0&&this.activeIndex>t&&this.activeIndex--,this._sendChangeEvent()}render(){const t=this.slotContents.map((e,o)=>{const s=_.localize(e.label,this.contentLanguage);return g.x`<li class=${o===this.activeIndex?"active":""}>
25
+ <div class="draggable-slot-content">
26
+ <div
27
+ class="draggable-slot-content-label"
28
+ @click=${this.setActiveIndex.bind(this,o)}
29
+ >
30
+ ${s}
31
+ </div>
32
+ <div
33
+ class="draggable-slot-content-remove"
34
+ @click=${this.removeSlotContent.bind(this,o)}
35
+ >
36
+ ${C.O2(C.v1)}
37
+ </div>
38
+ </div>
39
+ </li>`});return g.x`<div>${t}</div>`}}f([g.n({type:String,reflect:!0})],h.prototype,"language");f([g.n({type:String,attribute:"content-language",reflect:!0})],h.prototype,"contentLanguage");f([D(".draggable-slot-content")],h.prototype,"_draggableSlotContentElements");f([g.n()],h.prototype,"slotContents");f([g.n({type:Number})],h.prototype,"activeIndex");customElements.get("luzmo-slot-menu-list")||customElements.define("luzmo-slot-menu-list",h);exports.LuzmoSlotMenuList=h;
@@ -0,0 +1,7 @@
1
+ import { LuzmoSlotMenuList } from './slot-menu-list';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'luzmo-slot-menu-list': LuzmoSlotMenuList;
5
+ }
6
+ }
7
+ export { LuzmoSlotMenuList } from './slot-menu-list';
@@ -0,0 +1,351 @@
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 { k as P, a as F, x as k, n as x } from "../property-B2F7x7Cz.js";
21
+ import { _ as S, a as D, d as j, s as $, g as w } from "../get-css-variable-Bhbr-Kr1.js";
22
+ import { O as L, v as A } from "../luzmo-icons-BE2T8vWu.js";
23
+ import { m as M, d as R } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
24
+ import { l as q } from "../localize-B6AsX_Zv.js";
25
+ import { e as T } from "../base-D76d76ww.js";
26
+ const _ = () => {
27
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
28
+ const l = document.createElement("style");
29
+ l.setAttribute("data-luzmo-vars", ""), l.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(l);
30
+ }
31
+ };
32
+ _();
33
+ /**
34
+ * @license
35
+ * Copyright 2017 Google LLC
36
+ * SPDX-License-Identifier: BSD-3-Clause
37
+ */
38
+ let U;
39
+ function B(l) {
40
+ return (o, t) => T(o, t, { get() {
41
+ return (this.renderRoot ?? U ?? (U = document.createDocumentFragment())).querySelectorAll(l);
42
+ } });
43
+ }
44
+ var N = {
45
+ large: 700
46
+ };
47
+ function V(l) {
48
+ l.animate([{
49
+ backgroundColor: "var(--ds-background-selected, #E9F2FF)"
50
+ }, {}], {
51
+ duration: N.large,
52
+ /**
53
+ * This is equivalent to the browser default, but we are making it
54
+ * explicit to avoid relying on implicit behavior.
55
+ *
56
+ * This curve is not part of `@atlaskit/motion` but it was an intentional
57
+ * design decision to use this curve.
58
+ */
59
+ easing: "cubic-bezier(0.25, 0.1, 0.25, 1.0)",
60
+ iterations: 1
61
+ });
62
+ }
63
+ function E(l, o) {
64
+ var t = Object.keys(l);
65
+ if (Object.getOwnPropertySymbols) {
66
+ var e = Object.getOwnPropertySymbols(l);
67
+ o && (e = e.filter(function(s) {
68
+ return Object.getOwnPropertyDescriptor(l, s).enumerable;
69
+ })), t.push.apply(t, e);
70
+ }
71
+ return t;
72
+ }
73
+ function C(l) {
74
+ for (var o = 1; o < arguments.length; o++) {
75
+ var t = arguments[o] != null ? arguments[o] : {};
76
+ o % 2 ? E(Object(t), !0).forEach(function(e) {
77
+ S(l, e, t[e]);
78
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(l, Object.getOwnPropertyDescriptors(t)) : E(Object(t)).forEach(function(e) {
79
+ Object.defineProperty(l, e, Object.getOwnPropertyDescriptor(t, e));
80
+ });
81
+ }
82
+ return l;
83
+ }
84
+ var G = {
85
+ top: function(o, t) {
86
+ return Math.abs(t.y - o.top);
87
+ },
88
+ right: function(o, t) {
89
+ return Math.abs(o.right - t.x);
90
+ },
91
+ bottom: function(o, t) {
92
+ return Math.abs(o.bottom - t.y);
93
+ },
94
+ left: function(o, t) {
95
+ return Math.abs(t.x - o.left);
96
+ }
97
+ }, O = Symbol("closestEdge");
98
+ function H(l, o) {
99
+ var t, e, s = o.element, d = o.input, r = o.allowedEdges, n = {
100
+ x: d.clientX,
101
+ y: d.clientY
102
+ }, i = s.getBoundingClientRect(), a = r.map(function(c) {
103
+ return {
104
+ edge: c,
105
+ value: G[c](i, n)
106
+ };
107
+ }), u = (t = (e = a.sort(function(c, p) {
108
+ return c.value - p.value;
109
+ })[0]) === null || e === void 0 ? void 0 : e.edge) !== null && t !== void 0 ? t : null;
110
+ return C(C({}, l), {}, S({}, O, u));
111
+ }
112
+ function y(l) {
113
+ var o;
114
+ return (o = l[O]) !== null && o !== void 0 ? o : null;
115
+ }
116
+ const K = ':host{font-family:var(--luzmo-slot-menu-list-font-family, var(--luzmo-font-family));font-size:var(--luzmo-slot-menu-list-font-size, var(--slot-menu-list-font-size));color:var(--luzmo-slot-menu-listfont-color, var(--luzmo-font-color))}:host{margin:0;padding:0;list-style:none;border-right:var(--luzmo-slot-menu-list-border-right-width, var(--luzmo-border-width)) solid var(--luzmo-slot-menu-list-border-right-color, var(--luzmo-border-color))}:host li{position:relative;cursor:pointer}:host li:hover{background-color:var(--luzmo-slot-menu-list-background-color-hover, var(--slot-menu-list-background-color-hover))}:host .active{background-color:var(--luzmo-slot-menu-list-active-background-color, var(--slot-menu-list-active-background-color));color:var(--luzmo-slot-menu-list-active-color, var(--slot-menu-list-active-color))}:host .active:hover{background-color:var(--luzmo-slot-menu-list-active-background-color-hover, var(--slot-menu-list-active-background-color-hover))}.drop-indicator{position:absolute;left:0;right:0;height:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height));background-color:var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color))}.drop-indicator:before{content:"";display:block;width:100%;border:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)) solid var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color));border-radius:50%;position:absolute;background:var(--luzmo-slot-menu-list-drop-indicator-background, var(--luzmo-background-color));left:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));top:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));height:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size));width:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size))}.drop-indicator[data-edge=top]{top:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.drop-indicator[data-edge=bottom]{bottom:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.draggable-slot-content{display:flex;justify-content:space-between;gap:var(--luzmo-slot-menu-label-to-icon-gap, var(--slot-menu-label-to-icon-gap));align-items:center}.draggable-slot-content .draggable-slot-content-label,.draggable-slot-content .draggable-slot-content-remove{padding-block-start:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding));padding-block-end:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding))}.draggable-slot-content .draggable-slot-content-label{padding-inline-start:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draggable-slot-content .draggable-slot-content-remove{padding-inline-end:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:0 0 auto}:host{--slot-menu-list-active-background-color: var(--luzmo-primary);--slot-menu-list-active-background-color-hover: var(--luzmo-primary-hover);--slot-menu-list-active-color: var(--luzmo-primary-inverse-color);--slot-menu-list-background-color-hover: var(--luzmo-background-color-hover);--slot-menu-list-drop-indicator-color: var(--luzmo-font-color-down);--slot-menu-list-drop-indicator-height: 2px;--slot-menu-list-drop-indicator-circle-size: 4px}:host{--slot-menu-display-settings-min-width: 19rem;--slot-menu-min-height: calc(var(--luzmo-component-height) * 2);--slot-menu-font-size: var(--luzmo-font-size);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-4);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-3)}:host([size=s]){--slot-menu-display-settings-min-width: 16rem;--slot-menu-min-height: calc(var(--luzmo-component-height-s) * 2);--slot-menu-font-size: var(--luzmo-font-size-s);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-3);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-2)}:host([size=l]){--slot-menu-display-settings-min-width: 23rem;--slot-menu-min-height: calc(var(--luzmo-component-height-l) * 2);--slot-menu-font-size: var(--luzmo-font-size-l);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-4)}:host([size=xl]){--slot-menu-display-settings-min-width: 26rem;--slot-menu-min-height: calc(var(--luzmo-component-height-xl) * 2);--slot-menu-font-size: var(--luzmo-font-size-xl);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-4);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-5)}';
117
+ var X = Object.defineProperty, h = (l, o, t, e) => {
118
+ for (var s = void 0, d = l.length - 1, r; d >= 0; d--)
119
+ (r = l[d]) && (s = r(o, t, s) || s);
120
+ return s && X(o, t, s), s;
121
+ };
122
+ class z extends M(P, {
123
+ validSizes: Object.values(R)
124
+ }) {
125
+ constructor() {
126
+ super(...arguments), this.language = "en", this.contentLanguage = "en", this.slotContents = [], this.activeIndex = 0, this._sendChangeEvent = () => {
127
+ this.dispatchEvent(
128
+ new CustomEvent("slot-list-changed", {
129
+ bubbles: !0,
130
+ composed: !0,
131
+ cancelable: !0,
132
+ detail: {
133
+ slotContents: structuredClone(this.slotContents),
134
+ activeIndex: this.activeIndex
135
+ }
136
+ })
137
+ );
138
+ }, this._cleanupFns = [], this._attachAll = () => {
139
+ [...this._draggableSlotContentElements].forEach((o) => {
140
+ const t = this._sendChangeEvent.bind(this), e = this, s = D({
141
+ element: o,
142
+ onGenerateDragPreview({ nativeSetDragImage: r }) {
143
+ $({
144
+ nativeSetDragImage: r,
145
+ render({ container: n }) {
146
+ var u;
147
+ const i = document.createElement("div");
148
+ i.classList.add("drag-preview");
149
+ const a = {};
150
+ [
151
+ [
152
+ "borderColor",
153
+ "--luzmo-slot-menu-list-border-color",
154
+ "--luzmo-border-color"
155
+ ],
156
+ [
157
+ "backgroundColor",
158
+ "--luzmo-slot-menu-list-background-color",
159
+ "--luzmo-background-color"
160
+ ],
161
+ [
162
+ "color",
163
+ "--luzmo-slot-menu-list-font-color",
164
+ "--slot-menu-list-font-color"
165
+ ],
166
+ [
167
+ "fontSize",
168
+ "--luzmo-slot-menu-list-font-size",
169
+ "--slot-menu-list-font-size"
170
+ ],
171
+ [
172
+ "horizontalPadding",
173
+ "--luzmo-slot-menu-list-item-horizontal-padding",
174
+ "--slot-menu-list-item-horizontal-padding"
175
+ ],
176
+ [
177
+ "verticalPadding",
178
+ "--luzmo-slot-menu-list-item-vertical-padding",
179
+ "--slot-menu-list-item-vertical-padding"
180
+ ],
181
+ [
182
+ "borderRadius",
183
+ "--luzmo-slot-menu-list-border-radius",
184
+ "--luzmo-border-radius"
185
+ ],
186
+ [
187
+ "fontFamily",
188
+ "--luzmo-slot-menu-list-font-family",
189
+ "--luzmo-font-family"
190
+ ]
191
+ ].forEach(([c, p, b]) => {
192
+ const m = w(o, p) || w(o, b);
193
+ a[c] = m;
194
+ }), i.textContent = ((u = o.querySelector("[data-task-content]")) == null ? void 0 : u.textContent) ?? // worst case fallback if we set up our data-* up wrong
195
+ o.textContent, Object.assign(i.style, {
196
+ border: `1px solid ${a.borderColor}`,
197
+ backgroundColor: a.backgroundColor,
198
+ borderRadius: a.borderRadius,
199
+ fontFamily: a.fontFamily,
200
+ fontSize: a.fontSize,
201
+ color: a.color,
202
+ paddingInline: `${a.horizontalPadding}`,
203
+ paddingBlock: `${a.verticalPadding}`
204
+ }), n.append(i);
205
+ }
206
+ });
207
+ },
208
+ getInitialData() {
209
+ var i;
210
+ const r = o.parentElement;
211
+ let n = 0;
212
+ return r && (n = [...((i = r.parentElement) == null ? void 0 : i.children) ?? []].indexOf(
213
+ r
214
+ )), {
215
+ index: n
216
+ };
217
+ },
218
+ onDragStart() {
219
+ o.style.opacity = "0.5";
220
+ },
221
+ onDrop() {
222
+ o.style.opacity = "1";
223
+ }
224
+ });
225
+ this._cleanupFns.push(s);
226
+ const d = j({
227
+ element: o,
228
+ canDrop({ source: r }) {
229
+ var n;
230
+ return r.element === o ? !1 : (n = r == null ? void 0 : r.element) == null ? void 0 : n.classList.contains("draggable-slot-content");
231
+ },
232
+ getData(r) {
233
+ return H(
234
+ {},
235
+ {
236
+ element: o,
237
+ input: r.input,
238
+ allowedEdges: ["top", "bottom"]
239
+ }
240
+ );
241
+ },
242
+ getIsSticky() {
243
+ return !0;
244
+ },
245
+ onDragEnter({ self: r }) {
246
+ const n = y(r.data);
247
+ if (!n)
248
+ return;
249
+ const i = document.createElement("div");
250
+ i.classList.add("drop-indicator"), i.dataset.edge = n, o.after(i);
251
+ },
252
+ onDrag({ self: r }) {
253
+ var a, u, c;
254
+ const n = y(r.data);
255
+ if (!n) {
256
+ (a = o.nextElementSibling) == null || a.remove();
257
+ return;
258
+ }
259
+ if (((u = o.nextElementSibling) == null ? void 0 : u.getAttribute("data-edge")) === n)
260
+ return;
261
+ (c = o.nextElementSibling) == null || c.remove();
262
+ const i = document.createElement("div");
263
+ i.classList.add("drop-indicator"), i.dataset.edge = n, o.after(i);
264
+ },
265
+ onDragLeave() {
266
+ var r;
267
+ (r = o.nextElementSibling) == null || r.remove();
268
+ },
269
+ onDrop({ self: r, source: n }) {
270
+ var u, c, p, b;
271
+ (u = o.nextElementSibling) == null || u.remove();
272
+ const i = y(r.data), a = r.element.parentElement;
273
+ if (typeof n.data.index == "number" && a) {
274
+ let m = [...((c = a.parentElement) == null ? void 0 : c.children) ?? []].indexOf(
275
+ a
276
+ );
277
+ i === "bottom" && n.data.index >= m && m < (((b = (p = a == null ? void 0 : a.parentElement) == null ? void 0 : p.children) == null ? void 0 : b.length) ?? 0) - 1 ? m += 1 : i === "top" && m > n.data.index && (m -= 1);
278
+ const g = e.activeIndex, v = n.data.index, f = m, I = e.slotContents[v];
279
+ e.slotContents.splice(v, 1), e.slotContents.splice(f, 0, I), v === g ? e.activeIndex = f : v < g && f >= g ? e.activeIndex = g - 1 : v > g && f <= g && (e.activeIndex = g + 1);
280
+ }
281
+ i && (V(n.element), e.requestUpdate(), t());
282
+ }
283
+ });
284
+ this._cleanupFns.push(d);
285
+ });
286
+ }, this._detachAll = () => {
287
+ this._cleanupFns.forEach((o) => o()), this._cleanupFns = [];
288
+ };
289
+ }
290
+ static get styles() {
291
+ return [F(K)];
292
+ }
293
+ willUpdate() {
294
+ this._detachAll();
295
+ }
296
+ updated() {
297
+ this._attachAll();
298
+ }
299
+ setActiveIndex(o) {
300
+ this.activeIndex = o, this._sendChangeEvent();
301
+ }
302
+ removeSlotContent(o) {
303
+ this.slotContents = this.slotContents.filter(
304
+ (t, e) => e !== o
305
+ ), this.activeIndex === o ? this.activeIndex = o : this.slotContents.length > 0 && // go one down if index < activeIndex
306
+ this.activeIndex > o && this.activeIndex--, this._sendChangeEvent();
307
+ }
308
+ render() {
309
+ const o = this.slotContents.map(
310
+ (t, e) => {
311
+ const s = q(t.label, this.contentLanguage);
312
+ return k`<li class=${e === this.activeIndex ? "active" : ""}>
313
+ <div class="draggable-slot-content">
314
+ <div
315
+ class="draggable-slot-content-label"
316
+ @click=${this.setActiveIndex.bind(this, e)}
317
+ >
318
+ ${s}
319
+ </div>
320
+ <div
321
+ class="draggable-slot-content-remove"
322
+ @click=${this.removeSlotContent.bind(this, e)}
323
+ >
324
+ ${L(A)}
325
+ </div>
326
+ </div>
327
+ </li>`;
328
+ }
329
+ );
330
+ return k`<div>${o}</div>`;
331
+ }
332
+ }
333
+ h([
334
+ x({ type: String, reflect: !0 })
335
+ ], z.prototype, "language");
336
+ h([
337
+ x({ type: String, attribute: "content-language", reflect: !0 })
338
+ ], z.prototype, "contentLanguage");
339
+ h([
340
+ B(".draggable-slot-content")
341
+ ], z.prototype, "_draggableSlotContentElements");
342
+ h([
343
+ x()
344
+ ], z.prototype, "slotContents");
345
+ h([
346
+ x({ type: Number })
347
+ ], z.prototype, "activeIndex");
348
+ customElements.get("luzmo-slot-menu-list") || customElements.define("luzmo-slot-menu-list", z);
349
+ export {
350
+ z as LuzmoSlotMenuList
351
+ };
@@ -0,0 +1,33 @@
1
+ import { CSSResultArray, TemplateResult } from 'lit';
2
+ import { LuzmoElement } from '@luzmo/lucero/utils';
3
+ declare const LuzmoSlotMenuList_base: typeof LuzmoElement & {
4
+ new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
5
+ prototype: import("@luzmo/lucero").SizedElementInterface;
6
+ };
7
+ /**
8
+ * @element luzmo-slot-menu-list
9
+ */
10
+ export declare class LuzmoSlotMenuList extends LuzmoSlotMenuList_base {
11
+ static get styles(): CSSResultArray;
12
+ /**
13
+ * The language of the settings interface
14
+ */
15
+ language: string;
16
+ /**
17
+ * The language to use for locale-aware formatting and labels
18
+ */
19
+ contentLanguage: string;
20
+ _draggableSlotContentElements: HTMLElement[];
21
+ slotContents: any;
22
+ activeIndex: number;
23
+ private _sendChangeEvent;
24
+ private _cleanupFns;
25
+ private _attachAll;
26
+ private _detachAll;
27
+ protected willUpdate(): void;
28
+ protected updated(): void;
29
+ setActiveIndex(index: number): void;
30
+ removeSlotContent(index: number): void;
31
+ protected render(): TemplateResult;
32
+ }
33
+ export {};
@@ -0,0 +1,24 @@
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 r=require("./property-0L4eB11h.cjs");/**
21
+ * @license
22
+ * Copyright 2017 Google LLC
23
+ * SPDX-License-Identifier: BSD-3-Clause
24
+ */function e(t){return r.n({...t,state:!0,attribute:!1})}exports.r=e;
@@ -0,0 +1,31 @@
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 r } from "./property-B2F7x7Cz.js";
21
+ /**
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */
26
+ function n(t) {
27
+ return r({ ...t, state: !0, attribute: !1 });
28
+ }
29
+ export {
30
+ n as r
31
+ };
@@ -0,0 +1,20 @@
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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={decimal:",",thousands:" ",grouping:[3],currency:["","SEK"],dateTime:"%A den %d %B %Y %X",date:"%Y-%m-%d",dateSeparator:"-",time:"%H:%M:%S",periods:["fm","em"],days:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],shortDays:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],shortMonths:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],levels:["Alla","År","Kvartal","Månad","Vecka","Datum","Timme","Minut","Іekund","Millisekund"],durationLongSuffix:["","år","kvartal","månader","veckor","dagar","timmar","minuter","sekunder","millisekunder"],durationShortSuffix:["","å","kv","må","v","d","t","m","s","ms"],multi:[".%L",":%S","%I:%M","%I %p","%a %d","W%G","%b %d","%B","%Y"]};exports.default=e;