@luzmo/analytics-components-kit 1.0.1-alpha.3 → 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 (349) hide show
  1. package/LICENSE +18 -0
  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-FGzMycjH-Bgeca09f.js +152 -0
  5. package/components/async-directive-FGzMycjH-CeG35vZ3.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-CDLQV7Vk-BXgdcJZo.cjs +43 -0
  21. package/components/button-base-CDLQV7Vk-C_3zTrbV.js +161 -0
  22. package/components/checkbox-mixin-DXUIwtea-DNISZS47.cjs +45 -0
  23. package/components/checkbox-mixin-DXUIwtea-wiCZr_KI.js +88 -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-Dn5mUzha.cjs +20 -0
  31. package/components/de-iM39JlAt.js +109 -0
  32. package/components/decompose-numeric-format-B3rVVHpO.cjs +20 -0
  33. package/components/decompose-numeric-format-BuZcjH2k.js +39 -0
  34. package/components/directive-helpers-BLDZnGQv-DYFfxaqA.cjs +80 -0
  35. package/components/directive-helpers-BLDZnGQv-oKMCBvb2.js +115 -0
  36. package/components/display-settings/display-settings.d.ts +70 -0
  37. package/components/display-settings/index.cjs +105 -0
  38. package/components/display-settings/index.d.ts +7 -0
  39. package/components/display-settings/index.js +238 -0
  40. package/components/display-settings-binning/display-settings-binning.d.ts +32 -0
  41. package/components/display-settings-binning/index.cjs +51 -0
  42. package/components/display-settings-binning/index.d.ts +7 -0
  43. package/components/display-settings-binning/index.js +137 -0
  44. package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
  45. package/components/display-settings-datetime/index.cjs +20 -0
  46. package/components/display-settings-datetime/index.d.ts +7 -0
  47. package/components/display-settings-datetime/index.js +30 -0
  48. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +30 -0
  49. package/components/display-settings-grand-totals/index.cjs +41 -0
  50. package/components/display-settings-grand-totals/index.d.ts +7 -0
  51. package/components/display-settings-grand-totals/index.js +115 -0
  52. package/components/display-settings-numeric/display-settings-numeric.d.ts +73 -0
  53. package/components/display-settings-numeric/helpers/constants.d.ts +17 -0
  54. package/components/display-settings-numeric/index.cjs +146 -0
  55. package/components/display-settings-numeric/index.d.ts +7 -0
  56. package/components/display-settings-numeric/index.js +452 -0
  57. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +44 -0
  58. package/components/display-settings-period-over-period/helpers/constants.d.ts +33 -0
  59. package/components/display-settings-period-over-period/index.cjs +103 -0
  60. package/components/display-settings-period-over-period/index.d.ts +7 -0
  61. package/components/display-settings-period-over-period/index.js +308 -0
  62. package/components/divider.module-DwOuLGU3-B19eHVg2.js +40 -0
  63. package/components/divider.module-DwOuLGU3-Bg8RrFkc.cjs +36 -0
  64. package/components/donut-chart-slots.config-BEwhfq27.js +39 -0
  65. package/components/donut-chart-slots.config-DIp-24lO.cjs +20 -0
  66. package/components/donut-chart.config-3DhKiSSM.js +177 -0
  67. package/components/donut-chart.config-DLWJUlHx.cjs +20 -0
  68. package/components/donut-chart.en-Blb9oSdU.cjs +20 -0
  69. package/components/donut-chart.en-CzjT4-XN.js +85 -0
  70. package/components/donut-chart.fr-BeTVa2wh.cjs +20 -0
  71. package/components/donut-chart.fr-DftPrKbG.js +39 -0
  72. package/components/donut-chart.nl-D9YGbOce.cjs +20 -0
  73. package/components/donut-chart.nl-NMatXfhK.js +39 -0
  74. package/components/draggable-data-item/draggable-data-item.d.ts +25 -0
  75. package/components/draggable-data-item/index.cjs +55 -0
  76. package/components/draggable-data-item/index.d.ts +7 -0
  77. package/components/draggable-data-item/index.js +140 -0
  78. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +29 -0
  79. package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +2 -0
  80. package/components/draggable-data-item-level/helpers/generate-preview.d.ts +1 -0
  81. package/components/draggable-data-item-level/index.cjs +36 -0
  82. package/components/draggable-data-item-level/index.d.ts +7 -0
  83. package/components/draggable-data-item-level/index.js +293 -0
  84. package/components/droppable-slot/droppable-slot.d.ts +49 -0
  85. package/components/droppable-slot/index.cjs +69 -0
  86. package/components/droppable-slot/index.d.ts +7 -0
  87. package/components/droppable-slot/index.js +255 -0
  88. package/components/droppable-slot/item-slots-configs/area-chart-slots.config.d.ts +44 -0
  89. package/components/droppable-slot/item-slots-configs/bar-chart-slots.config.d.ts +24 -0
  90. package/components/droppable-slot/item-slots-configs/donut-chart-slots.config.d.ts +20 -0
  91. package/components/edit-item/edit-item.d.ts +50 -0
  92. package/components/edit-item/index.cjs +85 -0
  93. package/components/edit-item/index.d.ts +7 -0
  94. package/components/edit-item/index.js +333 -0
  95. package/components/edit-option/edit-option.d.ts +22 -0
  96. package/components/edit-option/helpers/control-markup.d.ts +14 -0
  97. package/components/edit-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
  98. package/components/edit-option/helpers/control-templates/color-picker-template.d.ts +2 -0
  99. package/components/edit-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
  100. package/components/edit-option/helpers/control-templates/number-field-template.d.ts +2 -0
  101. package/components/edit-option/helpers/control-templates/picker-template.d.ts +2 -0
  102. package/components/edit-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
  103. package/components/edit-option/helpers/control-templates/radio-button-group.d.ts +2 -0
  104. package/components/edit-option/helpers/control-templates/slider-template.d.ts +2 -0
  105. package/components/edit-option/helpers/control-templates/switch-template.d.ts +2 -0
  106. package/components/edit-option/helpers/control-templates/text-field-template.d.ts +7 -0
  107. package/components/edit-option/helpers/generate-callback.d.ts +1 -0
  108. package/components/edit-option/helpers/get-control-by-key.d.ts +1 -0
  109. package/components/edit-option/helpers/get-extra-label-values.d.ts +7 -0
  110. package/components/edit-option/helpers/get-value-by-key.d.ts +1 -0
  111. package/components/edit-option/index.cjs +176 -0
  112. package/components/edit-option/index.d.ts +7 -0
  113. package/components/edit-option/index.js +507 -0
  114. package/components/edit-option/item-configs/bar-chart.config.d.ts +108 -0
  115. package/components/edit-option/item-configs/column-chart.config.d.ts +108 -0
  116. package/components/edit-option/item-configs/donut-chart.config.d.ts +102 -0
  117. package/components/edit-option/item-configs/imageobject.config.d.ts +128 -0
  118. package/components/edit-option/item-configs/line-chart.config.d.ts +96 -0
  119. package/components/edit-option/item-configs/textobject.config.d.ts +13 -0
  120. package/components/edit-option/item-translations/bar-chart.en.d.ts +48 -0
  121. package/components/edit-option/item-translations/bar-chart.fr.d.ts +23 -0
  122. package/components/edit-option/item-translations/bar-chart.nl.d.ts +23 -0
  123. package/components/edit-option/item-translations/donut-chart.en.d.ts +64 -0
  124. package/components/edit-option/item-translations/donut-chart.fr.d.ts +18 -0
  125. package/components/edit-option/item-translations/donut-chart.nl.d.ts +18 -0
  126. package/components/edit-option-action-button-group/edit-option-action-button-group.d.ts +27 -0
  127. package/components/edit-option-action-button-group/index.cjs +44 -0
  128. package/components/edit-option-action-button-group/index.d.ts +7 -0
  129. package/components/edit-option-action-button-group/index.js +144 -0
  130. package/components/edit-option-base/edit-option-base.d.ts +22 -0
  131. package/components/edit-option-base-DnrerC_T.cjs +53 -0
  132. package/components/edit-option-base-oIvlolV9.js +120 -0
  133. package/components/edit-option-color-picker/edit-option-color-picker.d.ts +23 -0
  134. package/components/edit-option-color-picker/index.cjs +472 -0
  135. package/components/edit-option-color-picker/index.d.ts +7 -0
  136. package/components/edit-option-color-picker/index.js +2553 -0
  137. package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +15 -0
  138. package/components/edit-option-multi-language-field/index.cjs +31 -0
  139. package/components/edit-option-multi-language-field/index.d.ts +7 -0
  140. package/components/edit-option-multi-language-field/index.js +102 -0
  141. package/components/edit-option-number-field/edit-option-number-field.d.ts +19 -0
  142. package/components/edit-option-number-field/index.cjs +32 -0
  143. package/components/edit-option-number-field/index.d.ts +7 -0
  144. package/components/edit-option-number-field/index.js +115 -0
  145. package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
  146. package/components/edit-option-picker/index.cjs +35 -0
  147. package/components/edit-option-picker/index.d.ts +7 -0
  148. package/components/edit-option-picker/index.js +106 -0
  149. package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +28 -0
  150. package/components/edit-option-positions-number-field/index.cjs +42 -0
  151. package/components/edit-option-positions-number-field/index.d.ts +7 -0
  152. package/components/edit-option-positions-number-field/index.js +170 -0
  153. package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +18 -0
  154. package/components/edit-option-radio-button-group/index.cjs +36 -0
  155. package/components/edit-option-radio-button-group/index.d.ts +7 -0
  156. package/components/edit-option-radio-button-group/index.js +113 -0
  157. package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
  158. package/components/edit-option-slider/index.cjs +48 -0
  159. package/components/edit-option-slider/index.d.ts +7 -0
  160. package/components/edit-option-slider/index.js +1253 -0
  161. package/components/edit-option-switch/edit-option-switch.d.ts +11 -0
  162. package/components/edit-option-switch/index.cjs +50 -0
  163. package/components/edit-option-switch/index.d.ts +7 -0
  164. package/components/edit-option-switch/index.js +171 -0
  165. package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
  166. package/components/edit-option-text-field/index.cjs +31 -0
  167. package/components/edit-option-text-field/index.d.ts +7 -0
  168. package/components/edit-option-text-field/index.js +100 -0
  169. package/components/element-resolution-FCUT-wql--7ctE626.js +163 -0
  170. package/components/element-resolution-FCUT-wql-DSTvdyds.cjs +68 -0
  171. package/components/en-BsAhbMzm.js +1979 -0
  172. package/components/en-CdROUdjt.cjs +202 -0
  173. package/components/en-GB-g8rSQSba.cjs +20 -0
  174. package/components/en-GB-qub-Kemt.js +28 -0
  175. package/components/es-CwyPlN5d.cjs +20 -0
  176. package/components/es-KhTq4jX8.js +305 -0
  177. package/components/fi-Dh_ebgpe.js +97 -0
  178. package/components/fi-rijeZE5V.cjs +20 -0
  179. package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
  180. package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
  181. package/components/fr-BcgE-6S_.cjs +20 -0
  182. package/components/fr-CU727YF1.js +305 -0
  183. package/components/get-css-variable-Bhbr-Kr1.js +1413 -0
  184. package/components/get-css-variable-DLiZYZEi.cjs +24 -0
  185. package/components/he-Au3xg6lR.js +89 -0
  186. package/components/he-O6Ih8Bqh.cjs +20 -0
  187. package/components/hu-BnZ8y3xQ.cjs +20 -0
  188. package/components/hu-DNJ-P_MW.js +97 -0
  189. package/components/if-defined-CYpcjGCb-Bzbg7zmM.cjs +60 -0
  190. package/components/if-defined-CYpcjGCb-tXzyj9Dq.js +95 -0
  191. package/components/if-defined-Ch2dtEOS.js +29 -0
  192. package/components/if-defined-DMSuo5Qx.cjs +24 -0
  193. package/components/imageobject.config-B7ld9bj3.cjs +20 -0
  194. package/components/imageobject.config-DZLp9Elq.js +127 -0
  195. package/components/index-3ewegRbb.cjs +67 -0
  196. package/components/index-B0cBkCaq.cjs +39 -0
  197. package/components/index-B2N_PZf3.js +164 -0
  198. package/components/index-B2z7i1-X.js +77 -0
  199. package/components/index-B5VaT0lQ.js +145 -0
  200. package/components/index-BC-nmKjU.js +104 -0
  201. package/components/index-BD3VxQBH.js +44 -0
  202. package/components/index-BGaxFTL4.js +299 -0
  203. package/components/index-BRk42NQn.js +3171 -0
  204. package/components/index-Bjs6Yqet.cjs +185 -0
  205. package/components/index-Bofs4Q2E.cjs +36 -0
  206. package/components/index-BqTdFs1o.js +77 -0
  207. package/components/index-C2qG2Sm8-BQUlk-w0.js +935 -0
  208. package/components/index-C2qG2Sm8-CbVWlbag.cjs +95 -0
  209. package/components/index-CTPox3yS.cjs +54 -0
  210. package/components/index-C_3Ak4MQ.cjs +59 -0
  211. package/components/index-CayjvyyX.cjs +95 -0
  212. package/components/index-CkDDDzuJ.js +744 -0
  213. package/components/index-Cp-lHUlX.js +137 -0
  214. package/components/index-CtHO6VyI.cjs +42 -0
  215. package/components/index-D4x-O9Uc.cjs +192 -0
  216. package/components/index-D9vzXhtJ.cjs +95 -0
  217. package/components/index-DQiQXn8N.cjs +36 -0
  218. package/components/index-DVaeDCbe.js +48 -0
  219. package/components/index-DskAouD-.js +317 -0
  220. package/components/index-DszPbTTD.js +810 -0
  221. package/components/index-EQldC-LR.js +175 -0
  222. package/components/index-ON4x-yZ7.cjs +36 -0
  223. package/components/index-gfU9TGd5.cjs +57 -0
  224. package/components/index-liTHhAef.cjs +36 -0
  225. package/components/index.cjs +20 -0
  226. package/components/index.js +74 -0
  227. package/components/it-Bh5U73z6.js +305 -0
  228. package/components/it-PshtLMkq.cjs +20 -0
  229. package/components/ja-CCcHUL61.js +89 -0
  230. package/components/ja-KIS2HdaG.cjs +20 -0
  231. package/components/ko--l4qmjLV.cjs +20 -0
  232. package/components/ko-DhapsZMM.js +89 -0
  233. package/components/language-resolution-8yZa5r_P-CTSmbE1U.js +161 -0
  234. package/components/language-resolution-8yZa5r_P-DQ3rZzW5.cjs +52 -0
  235. package/components/line-chart.config-BZcvfO2c.cjs +20 -0
  236. package/components/line-chart.config-CIVN6uLI.js +115 -0
  237. package/components/localize-B6AsX_Zv.js +52 -0
  238. package/components/localize-DbobqcKs.cjs +20 -0
  239. package/components/luzmo-icons-BrtBl3E5.cjs +31 -0
  240. package/components/luzmo-icons-CZEpXpvy.js +613 -0
  241. package/components/mk-B9HPSuKa.js +97 -0
  242. package/components/mk-DZlj-edb.cjs +20 -0
  243. package/components/nl-BKlDqOXb.cjs +20 -0
  244. package/components/nl-BwSt5Bf4.js +109 -0
  245. package/components/no-D-DofYnx.js +109 -0
  246. package/components/no-D_SzxhTu.cjs +20 -0
  247. package/components/observe-slot-text-BG0H7bQK-C0wmc4DO.js +221 -0
  248. package/components/observe-slot-text-BG0H7bQK-CrkAqUMj.cjs +86 -0
  249. package/components/pl-D_L_0Boq.js +97 -0
  250. package/components/pl-PIK23rK_.cjs +20 -0
  251. package/components/popover-bg0EQQ8p-D4-hrhIx.js +86 -0
  252. package/components/popover-bg0EQQ8p-Dha09dhV.cjs +48 -0
  253. package/components/property-CD3dwBJC.js +1447 -0
  254. package/components/property-Su1Q6aME.cjs +124 -0
  255. package/components/pt-B0BBS5VB.js +89 -0
  256. package/components/pt-Dqlu4MS5.cjs +20 -0
  257. package/components/query-D5qWDopr.cjs +24 -0
  258. package/components/query-Ddbd72Um.js +39 -0
  259. package/components/query-assigned-nodes-C76XVPWY-BcyGjObB.cjs +40 -0
  260. package/components/query-assigned-nodes-C76XVPWY-DPC6kOmH.js +55 -0
  261. package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +36 -0
  262. package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +85 -0
  263. package/components/ru-Vo-m3O_2.js +108 -0
  264. package/components/ru-zyNDTB04.cjs +20 -0
  265. package/components/sized-mixin-PyCYpyQq-B40Ek2UB.js +82 -0
  266. package/components/sized-mixin-PyCYpyQq-sKzDjc75.cjs +36 -0
  267. package/components/slot-menu/index.cjs +55 -0
  268. package/components/slot-menu/index.d.ts +7 -0
  269. package/components/slot-menu/index.js +188 -0
  270. package/components/slot-menu/slot-menu.d.ts +66 -0
  271. package/components/slot-menu-list/index.cjs +39 -0
  272. package/components/slot-menu-list/index.d.ts +7 -0
  273. package/components/slot-menu-list/index.js +351 -0
  274. package/components/slot-menu-list/slot-menu-list.d.ts +33 -0
  275. package/components/state-B1a8XIDm.js +31 -0
  276. package/components/state-ByiKNRhp.cjs +24 -0
  277. package/components/sv-1DPTltNQ.cjs +20 -0
  278. package/components/sv-CiozMaev.js +89 -0
  279. package/components/task-BPD0PyaQ.js +120 -0
  280. package/components/task-HFsHfTra.cjs +24 -0
  281. package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +131 -0
  282. package/components/text-field-7ITo3Lac-DqVO04kR.js +412 -0
  283. package/components/textobject.config-C8opcGG4.js +52 -0
  284. package/components/textobject.config-DbAajFz8.cjs +20 -0
  285. package/components/tr-BkmWvOG2.cjs +20 -0
  286. package/components/tr-D_D4i5iv.js +109 -0
  287. package/components/utils.cjs +20 -0
  288. package/components/utils.js +20 -0
  289. package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +40 -0
  290. package/components/when-CDK1Tt5Y-C6ViXC43.js +47 -0
  291. package/components/zh-CN-DTZ4OmdP.cjs +20 -0
  292. package/components/zh-CN-wsl7eFSd.js +89 -0
  293. package/components/zh-TW-DTZ4OmdP.cjs +20 -0
  294. package/components/zh-TW-wsl7eFSd.js +89 -0
  295. package/custom-elements.json +4228 -0
  296. package/index.d.ts +23 -0
  297. package/package.json +133 -14
  298. package/utils/formatter/calculate-duration.d.ts +2 -0
  299. package/utils/formatter/decompose-numeric-format.d.ts +11 -0
  300. package/utils/formatter/default-local-formats.d.ts +20 -0
  301. package/utils/formatter/formats/cs.d.ts +20 -0
  302. package/utils/formatter/formats/da.d.ts +20 -0
  303. package/utils/formatter/formats/de.d.ts +21 -0
  304. package/utils/formatter/formats/en-GB.d.ts +21 -0
  305. package/utils/formatter/formats/en-US.d.ts +1 -0
  306. package/utils/formatter/formats/en.d.ts +1 -0
  307. package/utils/formatter/formats/es.d.ts +54 -0
  308. package/utils/formatter/formats/fi.d.ts +20 -0
  309. package/utils/formatter/formats/fr.d.ts +54 -0
  310. package/utils/formatter/formats/he.d.ts +20 -0
  311. package/utils/formatter/formats/hu.d.ts +20 -0
  312. package/utils/formatter/formats/it.d.ts +54 -0
  313. package/utils/formatter/formats/ja.d.ts +20 -0
  314. package/utils/formatter/formats/ko.d.ts +20 -0
  315. package/utils/formatter/formats/mk.d.ts +20 -0
  316. package/utils/formatter/formats/nl.d.ts +21 -0
  317. package/utils/formatter/formats/no.d.ts +21 -0
  318. package/utils/formatter/formats/pl.d.ts +20 -0
  319. package/utils/formatter/formats/pt.d.ts +20 -0
  320. package/utils/formatter/formats/ru.d.ts +20 -0
  321. package/utils/formatter/formats/sv.d.ts +20 -0
  322. package/utils/formatter/formats/tr.d.ts +21 -0
  323. package/utils/formatter/formats/zh-CN.d.ts +20 -0
  324. package/utils/formatter/formats/zh-TW.d.ts +20 -0
  325. package/utils/formatter/formatter.d.ts +9 -0
  326. package/utils/formatter/localize.d.ts +3 -0
  327. package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  328. package/utils/get-css-variable.d.ts +1 -0
  329. package/utils/index.d.ts +1 -0
  330. package/utils/time/formats.const.d.ts +8 -0
  331. package/utils/time/periods.const.d.ts +29 -0
  332. package/utils/types/column.types.d.ts +56 -0
  333. package/utils/types/type-check.d.ts +7 -0
  334. package/lib/37.js +0 -1
  335. package/lib/729.js +0 -1
  336. package/lib/common-31743c5a.js +0 -13
  337. package/lib/common-b02547a0.js +0 -1
  338. package/lib/common-b49d9a9d.js +0 -1
  339. package/lib/common-b5232813.js +0 -56
  340. package/lib/common-cefd4f4c.js +0 -1
  341. package/lib/common-d6cb565f.js +0 -1
  342. package/lib/common-fd868059.js +0 -1
  343. package/lib/common-fedaf338.js +0 -32
  344. package/lib/edit-option-picker/index.js +0 -314
  345. package/lib/edit-option-slider/index.js +0 -102
  346. package/lib/edit-option-toggle/index.js +0 -114
  347. package/lib/index.js +0 -346
  348. package/lib/vendors-93cc3efa.js +0 -1
  349. package/lib/vendors-bb3d84b5.js +0 -1
@@ -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-Su1Q6aME.cjs"),p=require("../get-css-variable-DLiZYZEi.cjs"),C=require("../luzmo-icons-BrtBl3E5.cjs"),k=require("../sized-mixin-PyCYpyQq-sKzDjc75.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)}},I=Symbol("closestEdge");function q(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({},I,d))}function E(i){var t;return(t=i[I])!==null&&t!==void 0?t:null}const M=':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.I,{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 q({},{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,O=o.slotContents[z];o.slotContents.splice(z,1),o.slotContents.splice(x,0,O),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(M)]}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 { I as P, r as F, x as w, n as x } from "../property-CD3dwBJC.js";
21
+ import { _ as S, a as D, d as j, s as $, g as E } from "../get-css-variable-Bhbr-Kr1.js";
22
+ import { O as L, v as A } from "../luzmo-icons-CZEpXpvy.js";
23
+ import { m as M, d as R } from "../sized-mixin-PyCYpyQq-B40Ek2UB.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 k(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 ? k(Object(t), !0).forEach(function(e) {
77
+ S(l, e, t[e]);
78
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(l, Object.getOwnPropertyDescriptors(t)) : k(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 = E(o, p) || E(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 w`<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 w`<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,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-CD3dwBJC.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,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-Su1Q6aME.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,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;
@@ -0,0 +1,89 @@
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
+ const a = {
21
+ decimal: ",",
22
+ thousands: " ",
23
+ grouping: [3],
24
+ currency: ["", "SEK"],
25
+ dateTime: "%A den %d %B %Y %X",
26
+ date: "%Y-%m-%d",
27
+ dateSeparator: "-",
28
+ time: "%H:%M:%S",
29
+ periods: ["fm", "em"],
30
+ days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"],
31
+ shortDays: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör"],
32
+ months: [
33
+ "Januari",
34
+ "Februari",
35
+ "Mars",
36
+ "April",
37
+ "Maj",
38
+ "Juni",
39
+ "Juli",
40
+ "Augusti",
41
+ "September",
42
+ "Oktober",
43
+ "November",
44
+ "December"
45
+ ],
46
+ shortMonths: [
47
+ "Jan",
48
+ "Feb",
49
+ "Mar",
50
+ "Apr",
51
+ "Maj",
52
+ "Jun",
53
+ "Jul",
54
+ "Aug",
55
+ "Sep",
56
+ "Okt",
57
+ "Nov",
58
+ "Dec"
59
+ ],
60
+ levels: [
61
+ "Alla",
62
+ "År",
63
+ "Kvartal",
64
+ "Månad",
65
+ "Vecka",
66
+ "Datum",
67
+ "Timme",
68
+ "Minut",
69
+ "Іekund",
70
+ "Millisekund"
71
+ ],
72
+ durationLongSuffix: [
73
+ "",
74
+ "år",
75
+ "kvartal",
76
+ "månader",
77
+ "veckor",
78
+ "dagar",
79
+ "timmar",
80
+ "minuter",
81
+ "sekunder",
82
+ "millisekunder"
83
+ ],
84
+ durationShortSuffix: ["", "å", "kv", "må", "v", "d", "t", "m", "s", "ms"],
85
+ multi: [".%L", ":%S", "%I:%M", "%I %p", "%a %d", "W%G", "%b %d", "%B", "%Y"]
86
+ };
87
+ export {
88
+ a as default
89
+ };