@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,69 @@
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 f=require("../get-css-variable-DLiZYZEi.cjs"),p=require("../set-locale-ByIApH40.cjs"),y=require("../task-B8yMzxui.cjs"),m=require("../luzmo-icons-XsFsTAl3.cjs");require("../index-ByjLd3bT.cjs");const r=require("../property-0L4eB11h.cjs"),C=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),S=require("../localize-DbobqcKs.cjs"),L=require("../query-D5qWDopr.cjs");require("../slot-menu/index.cjs");const D=":host{font-family:var(--luzmo-droppable-slot-font-family, var(--luzmo-font-family))}.droppable-slot[filled]{cursor:pointer;border:var(--luzmo-droppable-slot-filled-border-width, var(--droppable-slot-filled-border-width)) var(--luzmo-droppable-slot-filled-border-style, var(--droppable-slot-filled-border-style)) var(--luzmo-droppable-slot-filled-border-color, var(--droppable-slot-filled-border-color));background-color:var(--luzmo-droppable-slot-filled-background-color, var(--droppable-slot-filled-background-color));color:var(--luzmo-droppable-slot-filled-color, var(--droppable-slot-filled-color))}.droppable-slot{color:var(--luzmo-droppable-slot-font-color, var(--droppable-slot-font-color));border:var(--luzmo-droppable-slot-border-width, var(--droppable-slot-border-width)) var(--luzmo-droppable-slot-border-style, var(--droppable-slot-border-style)) var(--luzmo-droppable-slot-border-color, var(--droppable-slot-border-color));background-color:var(--luzmo-droppable-slot-background-color, var(--droppable-slot-background-color));display:flex;justify-content:space-between;align-items:center;padding-left:var(--luzmo-droppable-slot-edge-to-label, var(--droppable-slot-edge-to-label));gap:var(--luzmo-spacing-5);border-radius:var(--luzmo-border-radius);height:var(--luzmo-droppable-slot-height, var(--droppable-slot-height));cursor:move}:host([disabled]) .droppable-slot{background-color:var(--luzmo-droppable-slot-background-color-disabled, var(--droppable-slot-background-color-disabled));color:var(--luzmo-droppable-slot-color-disabled, var(--droppable-slot-color-disabled));cursor:not-allowed}:host([disabled]) .drag-handle-icon{opacity:.25;font-size:12px}.drag-handle-icon{opacity:.5;font-size:12px}.droppable-slot-label{font-size:var(--luzmo-droppable-slot-label-font-size, var(--droppable-slot-label-font-size));flex-grow:1;margin-right:var(--luzmo-droppable-slot-text-to-controls, var(--droppable-slot-text-to-controls));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.controls{height:100%;display:flex;align-items:center;gap:var(--luzmo-droppable-slot-controls-gap, var(--droppable-slot-controls-gap));background-color:var(--luzmo-droppable-slot-controls-background-color, var(--droppable-slot-controls-background-color));color:var(--luzmo-droppable-slot-controls-color, var(--droppable-slot-controls-color));margin-right:var(--luzmo-droppable-slot-controls-to-edge, var(--droppable-slot-controls-to-edge));padding:0 var(--luzmo-droppable-slot-controls-horizontal-padding, var(--droppable-slot-controls-horizontal-padding))}.controls div{cursor:pointer;height:100%;display:flex;align-items:center;padding:0 var(--luzmo-droppable-slot-controls-control-horizontal-padding, var(--droppable-slot-controls-control-horizontal-padding))}luzmo-slot-menu[placement=bottom],luzmo-slot-menu[placement=top],luzmo-slot-menu[placement=bottom-start],luzmo-slot-menu[placement=top-start],luzmo-slot-menu[placement=bottom-end],luzmo-slot-menu[placement=top-end]{margin:var(--luzmo-droppable-slot-overlay-vertical-gap, var(--droppable-slot-overlay-vertical-gap)) 0}luzmo-slot-menu[placement=left],luzmo-slot-menu[placement=right],luzmo-slot-menu[placement=left-start],luzmo-slot-menu[placement=right-start],luzmo-slot-menu[placement=left-end],luzmo-slot-menu[placement=right-end]{margin:0 var(--luzmo-droppable-slot-overlay-horizontal-gap, var(--droppable-slot-overlay-horizontal-gap))}:host{--droppable-slot-border-width: var(--luzmo-border-width);--droppable-slot-border-style: dashed;--droppable-slot-border-color: var(--luzmo-border-color);--droppable-slot-background-color: transparent;--droppable-slot-font-color: var(--luzmo-font-color);--droppable-slot-controls-background-color: var(--luzmo-primary-down);--droppable-slot-controls-color: var(--luzmo-primary-inverse-color);--droppable-slot-text-to-controls: var(--luzmo-spacing-3);--droppable-slot-controls-to-edge: 0;--droppable-slot-controls-gap: var(--luzmo-spacing-2);--droppable-slot-controls-horizontal-padding: var(--luzmo-spacing-2);--droppable-slot-controls-control-horizontal-padding: var(--luzmo-spacing-3);--droppable-slot-filled-background-color: var(--luzmo-primary);--droppable-slot-filled-color: var(--luzmo-primary-inverse-color);--droppable-slot-filled-border-width: var(--luzmo-border-width);--droppable-slot-filled-border-style: solid;--droppable-slot-filled-border-color: var(--luzmo-primary-down);--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-edge-to-label: var(--luzmo-spacing-5);--droppable-slot-color-disabled: var(--luzmo-color-disabled);--droppable-slot-background-color-disabled: var( --luzmo-background-color-disabled )}:host([accept-drag]){--droppable-slot-filled-background-color: var(--luzmo-color-positive);--droppable-slot-filled-color: white;--droppable-slot-filled-border-color: var(--luzmo-color-positive-down);--droppable-slot-controls-background-color: var(--luzmo-color-positive-down);--droppable-slot-controls-color: white;--droppable-slot-background-color: var(--luzmo-color-positive);--droppable-slot-font-color: white}:host{--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=s]){--droppable-slot-height: var(--luzmo-component-height-s);--droppable-slot-label-font-size: var(--luzmo-font-size-s);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-s);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=l]){--droppable-slot-height: var(--luzmo-component-height-l);--droppable-slot-label-font-size: var(--luzmo-font-size-l);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-l);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host([size=xl]){--droppable-slot-height: var(--luzmo-component-height-xl);--droppable-slot-label-font-size: var(--luzmo-font-size-xl);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-xl);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host{box-sizing:border-box}",v={Category:()=>p.msg("Category",{desc:"Category label"}),Measure:()=>p.msg("Measure",{desc:"Measure label"}),Legend:()=>p.msg("Legend",{desc:"Legend label"}),"Y-Axis":()=>p.msg("Y-Axis",{desc:"Y-Axis label"}),"X-Axis":()=>p.msg("X-Axis",{desc:"X-Axis label"}),"Group by":()=>p.msg("Group by",{desc:"Group by label"})};var x=Object.defineProperty,_=Object.getOwnPropertyDescriptor,n=(h,l,t,o)=>{for(var e=o>1?void 0:o?_(l,t):l,a=h.length-1,s;a>=0;a--)(s=h[a])&&(e=(o?s(l,t,e):s(e))||e);return o&&e&&x(l,t,e),e};exports.LuzmoDroppableSlot=class extends C.m(r.kt,{validSizes:["s","m","l","xl"],noDefaultSize:!0}){constructor(){super(...arguments),this._loadSlotsConfig=new y.h(this,{task:async([l])=>{if(l&&l!==this._itemTypeLoaded){const t=Object.assign({"./item-slots-configs/area-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../area-chart-slots.config-BLxiYX05.cjs")),"./item-slots-configs/bar-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../bar-chart-slots.config-Jx1PveTM.cjs")),"./item-slots-configs/donut-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../donut-chart-slots.config-DIp-24lO.cjs"))});if(t[`./item-slots-configs/${l}-slots.config.ts`]){const o=await t[`./item-slots-configs/${l}-slots.config.ts`]();this._slotsConfig=(o==null?void 0:o.default)??{}}return this._slotsConfig}},args:()=>[this.itemType,this.language]}),this.slotConfiguration={},this.slotContents=[],this.language="en",this.menu="default",this.placement="bottom-end",this.changedSlotContents=l=>{this.dispatchEvent(new CustomEvent("slot-contents-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:l}}))},this._currentSlotContents=[]}disconnectedCallback(){super.disconnectedCallback(),this._cleanupDroppable()}emptySlotContents(l){l.preventDefault(),l.stopPropagation(),this.slotContents=[],this.changedSlotContents([])}willUpdate(l){l.has("language")&&([...p.targetLocales].includes(this.language)||this.language==="en")&&(p.setLocale(this.language),this.requestUpdate()),l.has("slotContents")&&(this._currentSlotContents=structuredClone(this.slotContents))}firstUpdated(l){this._cleanupDroppable||(this._cleanupDroppable=f.dropTargetForElements({element:this,onDrop:t=>{var s,i,d,c;const o={...(s=t.source)==null?void 0:s.data},e={...(o==null?void 0:o.label)??{en:"Untitled"}},a=o==null?void 0:o.type;if(a==="datetime"&&!o.level&&(o.level=o.lowestLevel??(o.subtype==="date"?5:9)),a==="datetime"&&((d=(i=t==null?void 0:t.source)==null?void 0:i.element)!=null&&d.hasAttribute("sublevel"))){const u=["(Yr)","(Qtr)","(Mth)","(Wk)","(Date)","(Hr)","(Min)","(Sec)","(Msec)"],b=(o==null?void 0:o.level)??1,g=Object.keys(e);for(const z of g)e[z]=`${e[z]} ${u[b-1]}`;o.label=e}this.slotContents=(c=this.slotConfiguration)!=null&&c.canAcceptMultipleColumns?[...this.slotContents??[],o]:[o],this.removeAttribute("accept-drag"),this.changedSlotContents(this.slotContents)},canDrop:({source:t})=>{var e,a,s,i,d,c,u,b,g;if(!["LUZMO-DRAGGABLE-DATA-ITEM-LEVEL","LUZMO-DRAGGABLE-DATA-ITEM"].includes((e=t.element)==null?void 0:e.tagName))return!1;const o=((s=(a=this.slotConfiguration)==null?void 0:a.acceptableColumnTypes)==null?void 0:s.length)>0?this.slotConfiguration.acceptableColumnTypes:["numeric","hierarchy","datetime"];return(i=t==null?void 0:t.data)!=null&&i.type&&!o.includes((d=t==null?void 0:t.data)==null?void 0:d.type)?!1:!((c=t==null?void 0:t.data)!=null&&c.subtype&&((b=(u=this.slotConfiguration)==null?void 0:u.acceptableColumnSubtypes)==null?void 0:b.length)>0&&!this.slotConfiguration.acceptableColumnSubtypes.includes((g=t==null?void 0:t.data)==null?void 0:g.subtype))},getDropEffect:()=>"link",onDragEnter:()=>{this.setAttribute("accept-drag","")},onDragLeave:()=>{this.removeAttribute("accept-drag")}}))}updated(){this.createFullLabel()}_onSlotMenuChanges(l){var t;l.preventDefault(),l.stopPropagation(),this.slotContents.length===((t=l.detail.slotContents)==null?void 0:t.length)?(this._currentSlotContents=l.detail.slotContents,this.createFullLabel(),this.changedSlotContents(this._currentSlotContents)):(this.slotContents=l.detail.slotContents,this.changedSlotContents(this.slotContents))}createFullLabel(){var e,a,s,i,d,c,u,b,g;let l="";const t=v[(e=this.slotConfiguration)==null?void 0:e.label]?v[(a=this.slotConfiguration)==null?void 0:a.label]():(s=this.slotConfiguration)==null?void 0:s.label;((i=this._currentSlotContents)==null?void 0:i.length)===1?l=S.localize((c=(d=this._currentSlotContents)==null?void 0:d[0])==null?void 0:c.label,this.language)??"Untitled":((u=this._currentSlotContents)==null?void 0:u.length)>1&&(l=`${this._currentSlotContents.length} items`);let o="";this.label?o=this.label:t&&(o=t),o=o||"Untitled",((b=this._currentSlotContents)==null?void 0:b.length)>0&&(o+=((g=this._currentSlotContents)==null?void 0:g.length)>1?`: ${this._currentSlotContents.length} items`:`: ${l}`),this._droppableSlotLabelElement&&(this._droppableSlotLabelElement.textContent=o)}droppableSlotMarkup(){var l,t,o,e;return r.x`
21
+ <div
22
+ class="droppable-slot"
23
+ ?filled=${((l=this.slotContents)==null?void 0:l.length)>0}
24
+ id="trigger"
25
+ >
26
+ <div class="droppable-slot-label"></div>
27
+ ${((t=this.slotContents)==null?void 0:t.length)>0&&!(this.hideConfiguration&&this.hideDelete)?r.x`<div class="controls">
28
+ ${this.hideConfiguration?"":r.x`<div>
29
+ ${m.O2(m.M1)}
30
+ <luzmo-tooltip
31
+ self-managed
32
+ placement="top"
33
+ size=${this.size}
34
+ >
35
+ edit
36
+ </luzmo-tooltip>
37
+ </div> `}
38
+ ${this.hideDelete?"":r.x`<div @click=${this.emptySlotContents}>
39
+ ${m.O2(m.v1)}
40
+ <luzmo-tooltip
41
+ self-managed
42
+ placement="top"
43
+ size=${this.size}
44
+ >
45
+ Delete
46
+ </luzmo-tooltip>
47
+ </div>`}
48
+ </div>`:""}
49
+ ${((o=this.slotContents)==null?void 0:o.length)>0?r.x`<luzmo-overlay
50
+ trigger="trigger@click"
51
+ .placement=${this.placement}
52
+ >
53
+ <luzmo-slot-menu
54
+ language=${this.language}
55
+ content-language=${this.language}
56
+ slot-type=${(e=this.slotConfiguration)==null?void 0:e.type}
57
+ .slotContents=${this._currentSlotContents}
58
+ variant="popup"
59
+ .size=${this.size}
60
+ @slot-contents-changed=${this._onSlotMenuChanges}
61
+ ></luzmo-slot-menu>
62
+ </luzmo-overlay>`:""}
63
+ </div>
64
+ `}render(){return this._loadSlotsConfig.render({pending:()=>r.x`<p>Loading...</p>`,complete:l=>{if(this.slotName&&this.itemType&&l){const t=l.find(o=>o.name===this.slotName);t&&(this.slotConfiguration=t)}return this.droppableSlotMarkup()},error:l=>r.x`
65
+ <div>
66
+ Could not load droppable slot: '${this.slotName}' of chart
67
+ '${this.itemType}': ${l}.
68
+ </div>
69
+ `})}};exports.LuzmoDroppableSlot.styles=r.r$1(D);n([r.n({type:String,reflect:!0,attribute:"item-type"})],exports.LuzmoDroppableSlot.prototype,"itemType",2);n([r.n({type:String,reflect:!0,attribute:"slot-name"})],exports.LuzmoDroppableSlot.prototype,"slotName",2);n([r.n({type:Object})],exports.LuzmoDroppableSlot.prototype,"slotConfiguration",2);n([r.n({type:Object})],exports.LuzmoDroppableSlot.prototype,"slotContents",2);n([r.n({type:String,reflect:!0})],exports.LuzmoDroppableSlot.prototype,"label",2);n([r.n({type:String,reflect:!0})],exports.LuzmoDroppableSlot.prototype,"language",2);n([r.n({type:String,reflect:!0})],exports.LuzmoDroppableSlot.prototype,"menu",2);n([r.n({type:String,reflect:!0})],exports.LuzmoDroppableSlot.prototype,"placement",2);n([r.n({type:Boolean,reflect:!0,attribute:"hide-delete"})],exports.LuzmoDroppableSlot.prototype,"hideDelete",2);n([r.n({type:Boolean,reflect:!0,attribute:"hide-configuration"})],exports.LuzmoDroppableSlot.prototype,"hideConfiguration",2);n([L.e(".droppable-slot-label")],exports.LuzmoDroppableSlot.prototype,"_droppableSlotLabelElement",2);exports.LuzmoDroppableSlot=n([p.localized()],exports.LuzmoDroppableSlot);customElements.get("luzmo-droppable-slot")||customElements.define("luzmo-droppable-slot",exports.LuzmoDroppableSlot);
@@ -0,0 +1,7 @@
1
+ import { LuzmoDroppableSlot } from './droppable-slot';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'luzmo-droppable-slot': LuzmoDroppableSlot;
5
+ }
6
+ }
7
+ export { LuzmoDroppableSlot } from './droppable-slot';
@@ -0,0 +1,266 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ import { d as x } from "../get-css-variable-Bhbr-Kr1.js";
21
+ import { m as z, t as C, s as S, l as w } from "../set-locale-DJYT4V7U.js";
22
+ import { h as k } from "../task-Cr9aRIbV.js";
23
+ import { O as f, M as _, v as L } from "../luzmo-icons-BE2T8vWu.js";
24
+ import "../index-C8IL2IZ6.js";
25
+ import { k as $, x as g, a as A, n as p } from "../property-B2F7x7Cz.js";
26
+ import { m as D } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
27
+ import { l as E } from "../localize-B6AsX_Zv.js";
28
+ import { e as M } from "../query-Ddbd72Um.js";
29
+ import "../slot-menu/index.js";
30
+ const y = () => {
31
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
32
+ const o = document.createElement("style");
33
+ o.setAttribute("data-luzmo-vars", ""), o.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(o);
34
+ }
35
+ };
36
+ y();
37
+ const O = ":host{font-family:var(--luzmo-droppable-slot-font-family, var(--luzmo-font-family))}.droppable-slot[filled]{cursor:pointer;border:var(--luzmo-droppable-slot-filled-border-width, var(--droppable-slot-filled-border-width)) var(--luzmo-droppable-slot-filled-border-style, var(--droppable-slot-filled-border-style)) var(--luzmo-droppable-slot-filled-border-color, var(--droppable-slot-filled-border-color));background-color:var(--luzmo-droppable-slot-filled-background-color, var(--droppable-slot-filled-background-color));color:var(--luzmo-droppable-slot-filled-color, var(--droppable-slot-filled-color))}.droppable-slot{color:var(--luzmo-droppable-slot-font-color, var(--droppable-slot-font-color));border:var(--luzmo-droppable-slot-border-width, var(--droppable-slot-border-width)) var(--luzmo-droppable-slot-border-style, var(--droppable-slot-border-style)) var(--luzmo-droppable-slot-border-color, var(--droppable-slot-border-color));background-color:var(--luzmo-droppable-slot-background-color, var(--droppable-slot-background-color));display:flex;justify-content:space-between;align-items:center;padding-left:var(--luzmo-droppable-slot-edge-to-label, var(--droppable-slot-edge-to-label));gap:var(--luzmo-spacing-5);border-radius:var(--luzmo-border-radius);height:var(--luzmo-droppable-slot-height, var(--droppable-slot-height));cursor:move}:host([disabled]) .droppable-slot{background-color:var(--luzmo-droppable-slot-background-color-disabled, var(--droppable-slot-background-color-disabled));color:var(--luzmo-droppable-slot-color-disabled, var(--droppable-slot-color-disabled));cursor:not-allowed}:host([disabled]) .drag-handle-icon{opacity:.25;font-size:12px}.drag-handle-icon{opacity:.5;font-size:12px}.droppable-slot-label{font-size:var(--luzmo-droppable-slot-label-font-size, var(--droppable-slot-label-font-size));flex-grow:1;margin-right:var(--luzmo-droppable-slot-text-to-controls, var(--droppable-slot-text-to-controls));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.controls{height:100%;display:flex;align-items:center;gap:var(--luzmo-droppable-slot-controls-gap, var(--droppable-slot-controls-gap));background-color:var(--luzmo-droppable-slot-controls-background-color, var(--droppable-slot-controls-background-color));color:var(--luzmo-droppable-slot-controls-color, var(--droppable-slot-controls-color));margin-right:var(--luzmo-droppable-slot-controls-to-edge, var(--droppable-slot-controls-to-edge));padding:0 var(--luzmo-droppable-slot-controls-horizontal-padding, var(--droppable-slot-controls-horizontal-padding))}.controls div{cursor:pointer;height:100%;display:flex;align-items:center;padding:0 var(--luzmo-droppable-slot-controls-control-horizontal-padding, var(--droppable-slot-controls-control-horizontal-padding))}luzmo-slot-menu[placement=bottom],luzmo-slot-menu[placement=top],luzmo-slot-menu[placement=bottom-start],luzmo-slot-menu[placement=top-start],luzmo-slot-menu[placement=bottom-end],luzmo-slot-menu[placement=top-end]{margin:var(--luzmo-droppable-slot-overlay-vertical-gap, var(--droppable-slot-overlay-vertical-gap)) 0}luzmo-slot-menu[placement=left],luzmo-slot-menu[placement=right],luzmo-slot-menu[placement=left-start],luzmo-slot-menu[placement=right-start],luzmo-slot-menu[placement=left-end],luzmo-slot-menu[placement=right-end]{margin:0 var(--luzmo-droppable-slot-overlay-horizontal-gap, var(--droppable-slot-overlay-horizontal-gap))}:host{--droppable-slot-border-width: var(--luzmo-border-width);--droppable-slot-border-style: dashed;--droppable-slot-border-color: var(--luzmo-border-color);--droppable-slot-background-color: transparent;--droppable-slot-font-color: var(--luzmo-font-color);--droppable-slot-controls-background-color: var(--luzmo-primary-down);--droppable-slot-controls-color: var(--luzmo-primary-inverse-color);--droppable-slot-text-to-controls: var(--luzmo-spacing-3);--droppable-slot-controls-to-edge: 0;--droppable-slot-controls-gap: var(--luzmo-spacing-2);--droppable-slot-controls-horizontal-padding: var(--luzmo-spacing-2);--droppable-slot-controls-control-horizontal-padding: var(--luzmo-spacing-3);--droppable-slot-filled-background-color: var(--luzmo-primary);--droppable-slot-filled-color: var(--luzmo-primary-inverse-color);--droppable-slot-filled-border-width: var(--luzmo-border-width);--droppable-slot-filled-border-style: solid;--droppable-slot-filled-border-color: var(--luzmo-primary-down);--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-edge-to-label: var(--luzmo-spacing-5);--droppable-slot-color-disabled: var(--luzmo-color-disabled);--droppable-slot-background-color-disabled: var( --luzmo-background-color-disabled )}:host([accept-drag]){--droppable-slot-filled-background-color: var(--luzmo-color-positive);--droppable-slot-filled-color: white;--droppable-slot-filled-border-color: var(--luzmo-color-positive-down);--droppable-slot-controls-background-color: var(--luzmo-color-positive-down);--droppable-slot-controls-color: white;--droppable-slot-background-color: var(--luzmo-color-positive);--droppable-slot-font-color: white}:host{--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=s]){--droppable-slot-height: var(--luzmo-component-height-s);--droppable-slot-label-font-size: var(--luzmo-font-size-s);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-s);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=l]){--droppable-slot-height: var(--luzmo-component-height-l);--droppable-slot-label-font-size: var(--luzmo-font-size-l);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-l);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host([size=xl]){--droppable-slot-height: var(--luzmo-component-height-xl);--droppable-slot-label-font-size: var(--luzmo-font-size-xl);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-xl);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host{box-sizing:border-box}", v = {
38
+ Category: () => z("Category", { desc: "Category label" }),
39
+ Measure: () => z("Measure", { desc: "Measure label" }),
40
+ Legend: () => z("Legend", { desc: "Legend label" }),
41
+ "Y-Axis": () => z("Y-Axis", { desc: "Y-Axis label" }),
42
+ "X-Axis": () => z("X-Axis", { desc: "X-Axis label" }),
43
+ "Group by": () => z("Group by", { desc: "Group by label" })
44
+ };
45
+ var T = Object.defineProperty, U = Object.getOwnPropertyDescriptor, i = (o, l, t, e) => {
46
+ for (var r = e > 1 ? void 0 : e ? U(l, t) : l, s = o.length - 1, n; s >= 0; s--)
47
+ (n = o[s]) && (r = (e ? n(l, t, r) : n(r)) || r);
48
+ return e && r && T(l, t, r), r;
49
+ };
50
+ let a = class extends D($, {
51
+ validSizes: ["s", "m", "l", "xl"],
52
+ noDefaultSize: !0
53
+ }) {
54
+ constructor() {
55
+ super(...arguments), this._loadSlotsConfig = new k(this, {
56
+ task: async ([o]) => {
57
+ if (o && o !== this._itemTypeLoaded) {
58
+ const l = /* @__PURE__ */ Object.assign({
59
+ "./item-slots-configs/area-chart-slots.config.ts": () => import("../area-chart-slots.config-C0c2ZzBh.js"),
60
+ "./item-slots-configs/bar-chart-slots.config.ts": () => import("../bar-chart-slots.config-GSSL7XVA.js"),
61
+ "./item-slots-configs/donut-chart-slots.config.ts": () => import("../donut-chart-slots.config-BEwhfq27.js")
62
+ });
63
+ if (l[`./item-slots-configs/${o}-slots.config.ts`]) {
64
+ const t = await l[`./item-slots-configs/${o}-slots.config.ts`]();
65
+ this._slotsConfig = (t == null ? void 0 : t.default) ?? {};
66
+ }
67
+ return this._slotsConfig;
68
+ }
69
+ },
70
+ args: () => [this.itemType, this.language]
71
+ }), this.slotConfiguration = {}, this.slotContents = [], this.language = "en", this.menu = "default", this.placement = "bottom-end", this.changedSlotContents = (o) => {
72
+ this.dispatchEvent(
73
+ new CustomEvent("slot-contents-changed", {
74
+ bubbles: !0,
75
+ composed: !0,
76
+ cancelable: !0,
77
+ detail: {
78
+ slotContents: o
79
+ }
80
+ })
81
+ );
82
+ }, this._currentSlotContents = [];
83
+ }
84
+ disconnectedCallback() {
85
+ super.disconnectedCallback(), this._cleanupDroppable();
86
+ }
87
+ emptySlotContents(o) {
88
+ o.preventDefault(), o.stopPropagation(), this.slotContents = [], this.changedSlotContents([]);
89
+ }
90
+ willUpdate(o) {
91
+ o.has("language") && ([...C].includes(this.language) || this.language === "en") && (S(this.language), this.requestUpdate()), o.has("slotContents") && (this._currentSlotContents = structuredClone(this.slotContents));
92
+ }
93
+ firstUpdated(o) {
94
+ this._cleanupDroppable || (this._cleanupDroppable = x({
95
+ element: this,
96
+ onDrop: (l) => {
97
+ var s, n, d, c;
98
+ const t = { ...(s = l.source) == null ? void 0 : s.data }, e = {
99
+ ...(t == null ? void 0 : t.label) ?? { en: "Untitled" }
100
+ }, r = t == null ? void 0 : t.type;
101
+ if (r === "datetime" && !t.level && (t.level = t.lowestLevel ?? (t.subtype === "date" ? 5 : 9)), r === "datetime" && ((d = (n = l == null ? void 0 : l.source) == null ? void 0 : n.element) != null && d.hasAttribute("sublevel"))) {
102
+ const u = [
103
+ "(Yr)",
104
+ "(Qtr)",
105
+ "(Mth)",
106
+ "(Wk)",
107
+ "(Date)",
108
+ "(Hr)",
109
+ "(Min)",
110
+ "(Sec)",
111
+ "(Msec)"
112
+ ], m = (t == null ? void 0 : t.level) ?? 1, b = Object.keys(e);
113
+ for (const h of b)
114
+ e[h] = `${e[h]} ${u[m - 1]}`;
115
+ t.label = e;
116
+ }
117
+ this.slotContents = (c = this.slotConfiguration) != null && c.canAcceptMultipleColumns ? [...this.slotContents ?? [], t] : [t], this.removeAttribute("accept-drag"), this.changedSlotContents(this.slotContents);
118
+ },
119
+ canDrop: ({ source: l }) => {
120
+ var e, r, s, n, d, c, u, m, b;
121
+ if (![
122
+ "LUZMO-DRAGGABLE-DATA-ITEM-LEVEL",
123
+ "LUZMO-DRAGGABLE-DATA-ITEM"
124
+ ].includes((e = l.element) == null ? void 0 : e.tagName))
125
+ return !1;
126
+ const t = ((s = (r = this.slotConfiguration) == null ? void 0 : r.acceptableColumnTypes) == null ? void 0 : s.length) > 0 ? this.slotConfiguration.acceptableColumnTypes : ["numeric", "hierarchy", "datetime"];
127
+ return (n = l == null ? void 0 : l.data) != null && n.type && !t.includes((d = l == null ? void 0 : l.data) == null ? void 0 : d.type) ? !1 : !((c = l == null ? void 0 : l.data) != null && c.subtype && ((m = (u = this.slotConfiguration) == null ? void 0 : u.acceptableColumnSubtypes) == null ? void 0 : m.length) > 0 && !this.slotConfiguration.acceptableColumnSubtypes.includes(
128
+ (b = l == null ? void 0 : l.data) == null ? void 0 : b.subtype
129
+ ));
130
+ },
131
+ getDropEffect: () => "link",
132
+ onDragEnter: () => {
133
+ this.setAttribute("accept-drag", "");
134
+ },
135
+ onDragLeave: () => {
136
+ this.removeAttribute("accept-drag");
137
+ }
138
+ }));
139
+ }
140
+ updated() {
141
+ this.createFullLabel();
142
+ }
143
+ _onSlotMenuChanges(o) {
144
+ var l;
145
+ o.preventDefault(), o.stopPropagation(), this.slotContents.length === ((l = o.detail.slotContents) == null ? void 0 : l.length) ? (this._currentSlotContents = o.detail.slotContents, this.createFullLabel(), this.changedSlotContents(this._currentSlotContents)) : (this.slotContents = o.detail.slotContents, this.changedSlotContents(this.slotContents));
146
+ }
147
+ // we update the label outside the lit render method to not lose focus when typing in the display settings bc of rerender
148
+ // we use a copy of slotContents '_currentSlotContents' to not trigger a rerender when the slotContents change from the slot-menu
149
+ createFullLabel() {
150
+ var e, r, s, n, d, c, u, m, b;
151
+ let o = "";
152
+ const l = v[(e = this.slotConfiguration) == null ? void 0 : e.label] ? v[(r = this.slotConfiguration) == null ? void 0 : r.label]() : (s = this.slotConfiguration) == null ? void 0 : s.label;
153
+ ((n = this._currentSlotContents) == null ? void 0 : n.length) === 1 ? o = E((c = (d = this._currentSlotContents) == null ? void 0 : d[0]) == null ? void 0 : c.label, this.language) ?? "Untitled" : ((u = this._currentSlotContents) == null ? void 0 : u.length) > 1 && (o = `${this._currentSlotContents.length} items`);
154
+ let t = "";
155
+ this.label ? t = this.label : l && (t = l), t = t || "Untitled", ((m = this._currentSlotContents) == null ? void 0 : m.length) > 0 && (t += ((b = this._currentSlotContents) == null ? void 0 : b.length) > 1 ? `: ${this._currentSlotContents.length} items` : `: ${o}`), this._droppableSlotLabelElement && (this._droppableSlotLabelElement.textContent = t);
156
+ }
157
+ droppableSlotMarkup() {
158
+ var o, l, t, e;
159
+ return g`
160
+ <div
161
+ class="droppable-slot"
162
+ ?filled=${((o = this.slotContents) == null ? void 0 : o.length) > 0}
163
+ id="trigger"
164
+ >
165
+ <div class="droppable-slot-label"></div>
166
+ ${((l = this.slotContents) == null ? void 0 : l.length) > 0 && !(this.hideConfiguration && this.hideDelete) ? g`<div class="controls">
167
+ ${this.hideConfiguration ? "" : g`<div>
168
+ ${f(_)}
169
+ <luzmo-tooltip
170
+ self-managed
171
+ placement="top"
172
+ size=${this.size}
173
+ >
174
+ edit
175
+ </luzmo-tooltip>
176
+ </div> `}
177
+ ${this.hideDelete ? "" : g`<div @click=${this.emptySlotContents}>
178
+ ${f(L)}
179
+ <luzmo-tooltip
180
+ self-managed
181
+ placement="top"
182
+ size=${this.size}
183
+ >
184
+ Delete
185
+ </luzmo-tooltip>
186
+ </div>`}
187
+ </div>` : ""}
188
+ ${((t = this.slotContents) == null ? void 0 : t.length) > 0 ? g`<luzmo-overlay
189
+ trigger="trigger@click"
190
+ .placement=${this.placement}
191
+ >
192
+ <luzmo-slot-menu
193
+ language=${this.language}
194
+ content-language=${this.language}
195
+ slot-type=${(e = this.slotConfiguration) == null ? void 0 : e.type}
196
+ .slotContents=${this._currentSlotContents}
197
+ variant="popup"
198
+ .size=${this.size}
199
+ @slot-contents-changed=${this._onSlotMenuChanges}
200
+ ></luzmo-slot-menu>
201
+ </luzmo-overlay>` : ""}
202
+ </div>
203
+ `;
204
+ }
205
+ render() {
206
+ return this._loadSlotsConfig.render({
207
+ pending: () => g`<p>Loading...</p>`,
208
+ complete: (o) => {
209
+ if (this.slotName && this.itemType && o) {
210
+ const l = o.find(
211
+ (t) => t.name === this.slotName
212
+ );
213
+ l && (this.slotConfiguration = l);
214
+ }
215
+ return this.droppableSlotMarkup();
216
+ },
217
+ error: (o) => g`
218
+ <div>
219
+ Could not load droppable slot: '${this.slotName}' of chart
220
+ '${this.itemType}': ${o}.
221
+ </div>
222
+ `
223
+ });
224
+ }
225
+ };
226
+ a.styles = A(O);
227
+ i([
228
+ p({ type: String, reflect: !0, attribute: "item-type" })
229
+ ], a.prototype, "itemType", 2);
230
+ i([
231
+ p({ type: String, reflect: !0, attribute: "slot-name" })
232
+ ], a.prototype, "slotName", 2);
233
+ i([
234
+ p({ type: Object })
235
+ ], a.prototype, "slotConfiguration", 2);
236
+ i([
237
+ p({ type: Object })
238
+ ], a.prototype, "slotContents", 2);
239
+ i([
240
+ p({ type: String, reflect: !0 })
241
+ ], a.prototype, "label", 2);
242
+ i([
243
+ p({ type: String, reflect: !0 })
244
+ ], a.prototype, "language", 2);
245
+ i([
246
+ p({ type: String, reflect: !0 })
247
+ ], a.prototype, "menu", 2);
248
+ i([
249
+ p({ type: String, reflect: !0 })
250
+ ], a.prototype, "placement", 2);
251
+ i([
252
+ p({ type: Boolean, reflect: !0, attribute: "hide-delete" })
253
+ ], a.prototype, "hideDelete", 2);
254
+ i([
255
+ p({ type: Boolean, reflect: !0, attribute: "hide-configuration" })
256
+ ], a.prototype, "hideConfiguration", 2);
257
+ i([
258
+ M(".droppable-slot-label")
259
+ ], a.prototype, "_droppableSlotLabelElement", 2);
260
+ a = i([
261
+ w()
262
+ ], a);
263
+ customElements.get("luzmo-droppable-slot") || customElements.define("luzmo-droppable-slot", a);
264
+ export {
265
+ a as LuzmoDroppableSlot
266
+ };
@@ -0,0 +1,44 @@
1
+ declare const _default: ({
2
+ name: string;
3
+ rotate: boolean;
4
+ label: string;
5
+ type: string;
6
+ options: {
7
+ isAggregationDisabled: boolean;
8
+ isBinningDisabled: boolean;
9
+ areDatetimeOptionsEnabled: boolean;
10
+ isCumulativeSumEnabled?: undefined;
11
+ };
12
+ isRequired: boolean;
13
+ canAcceptMultipleColumns?: undefined;
14
+ canAcceptFormula?: undefined;
15
+ } | {
16
+ name: string;
17
+ rotate: boolean;
18
+ label: string;
19
+ type: string;
20
+ options: {
21
+ isCumulativeSumEnabled: boolean;
22
+ isAggregationDisabled?: undefined;
23
+ isBinningDisabled?: undefined;
24
+ areDatetimeOptionsEnabled?: undefined;
25
+ };
26
+ canAcceptMultipleColumns: boolean;
27
+ canAcceptFormula: boolean;
28
+ isRequired?: undefined;
29
+ } | {
30
+ name: string;
31
+ rotate: boolean;
32
+ label: string;
33
+ options: {
34
+ areDatetimeOptionsEnabled: boolean;
35
+ isAggregationDisabled?: undefined;
36
+ isBinningDisabled?: undefined;
37
+ isCumulativeSumEnabled?: undefined;
38
+ };
39
+ type: string;
40
+ isRequired?: undefined;
41
+ canAcceptMultipleColumns?: undefined;
42
+ canAcceptFormula?: undefined;
43
+ })[];
44
+ export default _default;
@@ -0,0 +1,24 @@
1
+ declare const _default: ({
2
+ name: string;
3
+ label: string;
4
+ type: string;
5
+ rotate: boolean;
6
+ options: {
7
+ areDatetimeOptionsEnabled: boolean;
8
+ isCumulativeSumEnabled?: undefined;
9
+ };
10
+ canAcceptMultipleColumns?: undefined;
11
+ canAcceptFormula?: undefined;
12
+ } | {
13
+ name: string;
14
+ label: string;
15
+ type: string;
16
+ rotate: boolean;
17
+ options: {
18
+ isCumulativeSumEnabled: boolean;
19
+ areDatetimeOptionsEnabled?: undefined;
20
+ };
21
+ canAcceptMultipleColumns: boolean;
22
+ canAcceptFormula: boolean;
23
+ })[];
24
+ export default _default;
@@ -0,0 +1,20 @@
1
+ declare const _default: ({
2
+ name: string;
3
+ rotate: boolean;
4
+ label: string;
5
+ type: string;
6
+ canAcceptMultipleColumns: boolean;
7
+ canAcceptFormula: boolean;
8
+ options?: undefined;
9
+ } | {
10
+ name: string;
11
+ rotate: boolean;
12
+ label: string;
13
+ type: string;
14
+ options: {
15
+ areDatetimeOptionsEnabled: boolean;
16
+ };
17
+ canAcceptMultipleColumns?: undefined;
18
+ canAcceptFormula?: undefined;
19
+ })[];
20
+ export default _default;
@@ -0,0 +1,8 @@
1
+ export declare const SLOT_LABELS: {
2
+ Category: () => string;
3
+ Measure: () => string;
4
+ Legend: () => string;
5
+ 'Y-Axis': () => string;
6
+ 'X-Axis': () => string;
7
+ 'Group by': () => string;
8
+ };
@@ -0,0 +1,50 @@
1
+ import '@luzmo/lucero/accordion';
2
+ import '@luzmo/lucero/divider';
3
+ import { ElementSize, LuzmoElement } from '@luzmo/lucero/utils';
4
+ import './../edit-option';
5
+ /**
6
+ * @element luzmo-edit-item
7
+ */
8
+ export declare class LuzmoEditItem extends LuzmoElement {
9
+ static styles: import("lit").CSSResult;
10
+ private _loadItemConfig;
11
+ /**
12
+ * The language in which to display the option configuration controls.
13
+ */
14
+ language: string;
15
+ /**
16
+ * The item type to load the configuration for. Leave empty if using a custom options configuration.
17
+ */
18
+ itemType: string;
19
+ /**
20
+ * The options of the item.
21
+ */
22
+ options?: any;
23
+ /**
24
+ * The slots of the item.
25
+ */
26
+ slots?: any;
27
+ /**
28
+ * The theme of the item.
29
+ */
30
+ theme?: any;
31
+ /**
32
+ * The size of the edit item component.
33
+ */
34
+ size: ElementSize;
35
+ /**
36
+ * The configuration of the options. Fill in manually if you want to use a custom configuration. Leave empty if using a default configuration and use 'item-type'.
37
+ */
38
+ optionsConfiguration: any;
39
+ /**
40
+ * The translations of the item options configuration.
41
+ */
42
+ translations: any;
43
+ private _itemTypeLoaded;
44
+ private _languageLoaded;
45
+ private renderAllGroups;
46
+ private renderGroup;
47
+ private renderOptionControl;
48
+ private renderDivider;
49
+ render(): import("lit-html").TemplateResult<1> | undefined;
50
+ }