@luzmo/analytics-components-kit 1.0.5-beta.3 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1176) hide show
  1. package/README.md +3 -1
  2. package/components/area-chart-options.config-C49V29Y8.js +229 -0
  3. package/components/area-chart-positioning.config-1oFe5GQZ.cjs +20 -0
  4. package/components/area-chart-positioning.config-CpN8ybzu.js +55 -0
  5. package/components/area-chart-slots.config-DHeIgMLg.js +55 -0
  6. package/components/bar-chart-options.config-CL5P0qO3.js +300 -0
  7. package/components/bar-chart-positioning.config-D8xaCMCZ.cjs +20 -0
  8. package/components/bar-chart-positioning.config-FY7a9tkw.js +59 -0
  9. package/components/bar-chart-slots.config-DwTg8FbR.js +50 -0
  10. package/components/base-C637VyP1.cjs +20 -0
  11. package/components/base-DCUhSENj.js +248 -0
  12. package/components/box-plot-options.config-Qr3EjXtR.js +356 -0
  13. package/components/box-plot-positioning.config-B8KZRp7Z.cjs +20 -0
  14. package/components/box-plot-positioning.config-BDiLuilt.js +48 -0
  15. package/components/box-plot-slots.config-DiKHnGWa.js +40 -0
  16. package/components/bubble-chart-options.config-C5AjfJ-e.js +135 -0
  17. package/components/bubble-chart-positioning.config-B_iuArqa.js +55 -0
  18. package/components/bubble-chart-positioning.config-CjQj2Xw7.cjs +20 -0
  19. package/components/bubble-chart-slots.config-B8jVSy39.js +47 -0
  20. package/components/bullet-chart-options.config-oj1ECQfr.js +75 -0
  21. package/components/bullet-chart-positioning.config-DCIEjZ-u.js +56 -0
  22. package/components/bullet-chart-positioning.config-DYa0-Ssl.cjs +20 -0
  23. package/components/bullet-chart-slots.config-fNIvT9pt.js +46 -0
  24. package/components/choropleth-map-options.config-CBCRL0Q9.js +348 -0
  25. package/components/choropleth-map-positioning.config-CBaaidlT.js +55 -0
  26. package/components/choropleth-map-positioning.config-Cmgu7SkX.cjs +20 -0
  27. package/components/choropleth-map-slots.config-DEFBSjr_.js +53 -0
  28. package/components/circle-pack-chart-options.config-Ql_H79R5.js +54 -0
  29. package/components/circle-pack-chart-positioning.config-BpRTuvX3.js +48 -0
  30. package/components/circle-pack-chart-positioning.config-D-OOazzj.cjs +20 -0
  31. package/components/circle-pack-chart-slots.config-C88i4e0I.js +38 -0
  32. package/components/circular-gauge-options.config-DVqkM9J-.js +188 -0
  33. package/components/circular-gauge-positioning.config-CPmuEH4P.js +48 -0
  34. package/components/circular-gauge-positioning.config-CU5j-YVN.cjs +20 -0
  35. package/components/circular-gauge-slots.config-tCi8lb6r.js +39 -0
  36. package/components/column-chart-options.config-CP6dQDMX.js +299 -0
  37. package/components/column-chart-positioning.config-BZrwf5kb.js +55 -0
  38. package/components/column-chart-positioning.config-COLCV6uF.cjs +20 -0
  39. package/components/column-chart-slots.config-DlgmagVN.js +50 -0
  40. package/components/combination-chart-options.config-CxipfQJd.js +150 -0
  41. package/components/combination-chart-positioning.config-C7x9UeXL.cjs +20 -0
  42. package/components/combination-chart-positioning.config-vlhurz7H.js +48 -0
  43. package/components/combination-chart-slots.config-HWXOi_xL.js +43 -0
  44. package/components/conditional-number-options.config-DEoWU4SM.js +205 -0
  45. package/components/conditional-number-positioning.config-B5cUO8xu.cjs +20 -0
  46. package/components/conditional-number-positioning.config-B_yYXm1g.js +48 -0
  47. package/components/conditional-number-slots.config-B1c3brbY.js +39 -0
  48. package/components/data-field/index.cjs +1 -1
  49. package/components/data-field/index.d.ts +0 -1
  50. package/components/data-field/index.js +2 -2
  51. package/components/data-field-DHgFf3bH.js +341 -0
  52. package/components/data-field-panel/index.cjs +1 -1
  53. package/components/data-field-panel/index.d.ts +0 -1
  54. package/components/data-field-panel/index.js +2 -2
  55. package/components/data-field-panel-D8jv5MJx.js +384 -0
  56. package/components/data-field-panel-DX_D-jOn.cjs +87 -0
  57. package/components/data-field-ud8KRJ4-.cjs +89 -0
  58. package/components/data-fields-select-CfGQXzkr.js +261 -0
  59. package/components/data-fields-select-DdNVT54e.cjs +41 -0
  60. package/components/date-comparison-filter-options.config-b46nQkma.js +126 -0
  61. package/components/date-comparison-filter-slots.config-BO_WlGJf.js +33 -0
  62. package/components/date-filter-options.config-DsAxIR5F.js +118 -0
  63. package/components/date-filter-slots.config-DOwkclvY.js +37 -0
  64. package/components/display-settings-binning-D5PEKaBI.cjs +56 -0
  65. package/components/display-settings-binning-DjRX5Ysr.js +112 -0
  66. package/components/display-settings-datetime-CPBtYtAy.cjs +217 -0
  67. package/components/display-settings-datetime-D0pphxmh.js +415 -0
  68. package/components/display-settings-grand-totals-C4feNejJ.cjs +44 -0
  69. package/components/display-settings-grand-totals-DlTKDKin.js +91 -0
  70. package/components/display-settings-numeric-BFjHxdXz.cjs +190 -0
  71. package/components/display-settings-numeric-CzC7orK1.js +481 -0
  72. package/components/display-settings-period-over-period-CzQW7v30.cjs +229 -0
  73. package/components/display-settings-period-over-period-DFWx_SLM.js +434 -0
  74. package/components/donut-chart-options.config-wVCdbZZr.js +207 -0
  75. package/components/donut-chart-positioning.config-S0YvSx2H.cjs +20 -0
  76. package/components/donut-chart-positioning.config-_6eKwCtI.js +48 -0
  77. package/components/donut-chart-slots.config-BiyZvM68.js +39 -0
  78. package/components/dropdown-filter-options.config-D8Nr-pia.js +153 -0
  79. package/components/dropdown-filter-slots.config-kuGNR6kG.js +38 -0
  80. package/components/en-CSPDwq2y.cjs +20 -0
  81. package/components/en-GB-CJR66Ci_.cjs +20 -0
  82. package/components/en-GB-DPjL71xN.js +28 -0
  83. package/components/en-US-CSPDwq2y.cjs +20 -0
  84. package/components/en-US-dzaDznn9.js +21 -0
  85. package/components/en-dzaDznn9.js +21 -0
  86. package/components/evolution-number-options.config-C3J_ZYpv.js +228 -0
  87. package/components/evolution-number-positioning.config-BOdHq6-i.cjs +20 -0
  88. package/components/evolution-number-positioning.config-tvmjQEaG.js +48 -0
  89. package/components/evolution-number-slots.config-CoDxHhwF.js +37 -0
  90. package/components/filters/index.cjs +1 -1
  91. package/components/filters/index.js +2 -2
  92. package/components/filters-B6jGM3ej.cjs +323 -0
  93. package/components/filters-Dj6sRMSR.js +1644 -0
  94. package/components/formula/index.cjs +1 -1
  95. package/components/formula/index.js +2 -2
  96. package/components/formula-BFcOs8RL.js +137 -0
  97. package/components/formula-BcVDJ9m_.cjs +45 -0
  98. package/components/formula-codemirror-DiVcMrIg.cjs +215 -0
  99. package/components/formula-codemirror-J0QWRZ49.js +12016 -0
  100. package/components/formula-display-store-BH4tCSWY.js +1122 -0
  101. package/components/formula-display-store-BWDj367s.cjs +20 -0
  102. package/components/formula-editor/index.cjs +1 -1
  103. package/components/formula-editor/index.d.ts +0 -1
  104. package/components/formula-editor/index.js +4 -5
  105. package/components/formula-editor-Boo1er25.js +895 -0
  106. package/components/formula-editor-N227w8sy.cjs +253 -0
  107. package/components/funnel-chart-options.config-DjF4mn2V.js +207 -0
  108. package/components/funnel-chart-positioning.config-B27G3I3l.cjs +20 -0
  109. package/components/funnel-chart-positioning.config-qBendkC6.js +48 -0
  110. package/components/funnel-chart-slots.config-YDfkl0W9.js +43 -0
  111. package/components/get-css-variable-N_PVMivH.cjs +20 -0
  112. package/components/get-css-variable-SptLB8Tz.js +63 -0
  113. package/components/heat-map-options.config-Tr3qWkye.js +224 -0
  114. package/components/heat-map-positioning.config-BF2SUfIH.cjs +20 -0
  115. package/components/heat-map-positioning.config-C06WNZYE.js +48 -0
  116. package/components/heat-map-slots.config-BTkTaVV1.js +37 -0
  117. package/components/heat-table-options.config-cXCjQymW.js +372 -0
  118. package/components/heat-table-positioning.config-B6fQCm6r.cjs +20 -0
  119. package/components/heat-table-positioning.config-CtKVYd7I.js +55 -0
  120. package/components/heat-table-slots.config-dqh1PMWX.js +49 -0
  121. package/components/hexbin-map-options.config-Bc5rtsom.js +276 -0
  122. package/components/hexbin-map-positioning.config-CC1odymH.js +48 -0
  123. package/components/hexbin-map-positioning.config-CsDTcimL.cjs +20 -0
  124. package/components/hexbin-map-slots.config-BrfF5JYT.js +37 -0
  125. package/components/image-options.config-BQHeuAsU.js +153 -0
  126. package/components/image-slots.config-ZRSv3b5w.js +24 -0
  127. package/components/index.cjs +793 -1
  128. package/components/index.js +6228 -65
  129. package/components/item-grid/index.cjs +1 -1
  130. package/components/item-grid/index.js +2 -2
  131. package/components/item-grid-B9Y-6W5m.cjs +113 -0
  132. package/components/item-grid-pykaS5G4.js +4558 -0
  133. package/components/item-option/index.cjs +1 -1
  134. package/components/item-option/index.js +2 -2
  135. package/components/item-option-DYXtwzIM.js +919 -0
  136. package/components/item-option-XpGZVVdr.cjs +252 -0
  137. package/components/item-option-action-button-group/index.cjs +1 -1
  138. package/components/item-option-action-button-group/index.js +2 -2
  139. package/components/item-option-action-button-group-CBtZKVx-.js +118 -0
  140. package/components/item-option-action-button-group-DyzXk2JJ.cjs +53 -0
  141. package/components/item-option-base-BrU7dJsV.js +123 -0
  142. package/components/item-option-base-Cqo4amTV.cjs +56 -0
  143. package/components/item-option-color-palette-picker/index.cjs +1 -1
  144. package/components/item-option-color-palette-picker/index.js +2 -2
  145. package/components/item-option-color-palette-picker-DEys6FIg.js +2041 -0
  146. package/components/item-option-color-palette-picker-E49SIqt5.cjs +40 -0
  147. package/components/item-option-color-picker/index.cjs +1 -1
  148. package/components/item-option-color-picker/index.js +2 -2
  149. package/components/item-option-color-picker-B8imRobf.js +87 -0
  150. package/components/item-option-color-picker-DqEWnNcU.cjs +34 -0
  151. package/components/item-option-color-range/index.cjs +1 -1
  152. package/components/item-option-color-range/index.js +2 -2
  153. package/components/item-option-color-range-CJnk4E24.cjs +98 -0
  154. package/components/item-option-color-range-CqJwKIEd.js +220 -0
  155. package/components/item-option-multi-language-field/index.cjs +1 -1
  156. package/components/item-option-multi-language-field/index.js +2 -2
  157. package/components/item-option-multi-language-field-Dp2Mpr5b.js +82 -0
  158. package/components/item-option-multi-language-field-sgiTxGdm.cjs +33 -0
  159. package/components/item-option-number-field/index.cjs +1 -1
  160. package/components/item-option-number-field/index.js +2 -2
  161. package/components/item-option-number-field-C3nRZtW1.js +102 -0
  162. package/components/item-option-number-field-DT2HXuYC.cjs +38 -0
  163. package/components/item-option-panel/index.cjs +1 -1
  164. package/components/item-option-panel/index.js +2 -2
  165. package/components/item-option-panel-DLdIbuAy.cjs +67 -0
  166. package/components/item-option-panel-DwGkEeMw.js +183 -0
  167. package/components/item-option-picker/index.cjs +1 -1
  168. package/components/item-option-picker/index.js +2 -2
  169. package/components/item-option-picker-Crb6PnE8.cjs +37 -0
  170. package/components/item-option-picker-nS_nnfVF.js +77 -0
  171. package/components/item-option-position-picker/index.cjs +1 -1
  172. package/components/item-option-position-picker/index.js +2 -2
  173. package/components/item-option-position-picker-BMuua3Lj.cjs +32 -0
  174. package/components/item-option-position-picker-BbAOSkmu.js +117 -0
  175. package/components/item-option-positions-number-field/index.cjs +1 -1
  176. package/components/item-option-positions-number-field/index.js +2 -2
  177. package/components/item-option-positions-number-field-BOp3cutd.js +164 -0
  178. package/components/item-option-positions-number-field-DKSdRWTW.cjs +49 -0
  179. package/components/item-option-radio-button-group/index.cjs +1 -1
  180. package/components/item-option-radio-button-group/index.js +2 -2
  181. package/components/item-option-radio-button-group-B_iWBD9w.js +74 -0
  182. package/components/item-option-radio-button-group-DGbhldoK.cjs +37 -0
  183. package/components/item-option-slider/index.cjs +1 -1
  184. package/components/item-option-slider/index.js +2 -2
  185. package/components/item-option-slider/item-option-slider.d.ts +5 -0
  186. package/components/item-option-slider-4PSjHHGu.js +96 -0
  187. package/components/item-option-slider-Ct0dd0ci.cjs +33 -0
  188. package/components/item-option-switch/index.cjs +1 -1
  189. package/components/item-option-switch/index.js +2 -2
  190. package/components/item-option-switch-BbqKaspH.js +69 -0
  191. package/components/item-option-switch-DgYg5msr.cjs +30 -0
  192. package/components/item-option-text-field/index.cjs +1 -1
  193. package/components/item-option-text-field/index.js +2 -2
  194. package/components/item-option-text-field-DlDfvOFf.js +80 -0
  195. package/components/item-option-text-field-DsYobVm7.cjs +33 -0
  196. package/components/item-options-configs.js +45 -45
  197. package/components/item-slot-drop/index.cjs +1 -1
  198. package/components/item-slot-drop/index.d.ts +0 -2
  199. package/components/item-slot-drop/index.js +2 -2
  200. package/components/item-slot-drop-BuXYBvhO.js +326 -0
  201. package/components/item-slot-drop-panel/index.cjs +1 -1
  202. package/components/item-slot-drop-panel/index.js +2 -2
  203. package/components/item-slot-drop-panel-4lKBdSdq.js +354 -0
  204. package/components/item-slot-drop-panel-FLuz9znI.cjs +57 -0
  205. package/components/item-slot-drop-pl3ZTBEo.cjs +91 -0
  206. package/components/item-slot-picker/index.cjs +1 -1
  207. package/components/item-slot-picker/index.js +2 -2
  208. package/components/item-slot-picker-BllkOiQu.cjs +174 -0
  209. package/components/item-slot-picker-C-lCNPY_.js +500 -0
  210. package/components/item-slot-picker-panel/index.cjs +1 -1
  211. package/components/item-slot-picker-panel/index.js +2 -2
  212. package/components/item-slot-picker-panel-BsAwO_BR.cjs +81 -0
  213. package/components/item-slot-picker-panel-Dn5yJrZi.js +447 -0
  214. package/components/item-slots-configs.js +45 -45
  215. package/components/line-chart-options.config-DbEfF3_P.js +248 -0
  216. package/components/line-chart-positioning.config-BTYG1EVp.cjs +20 -0
  217. package/components/line-chart-positioning.config-Ca4m3l8g.js +55 -0
  218. package/components/line-chart-slots.config-Dtdt3oil.js +55 -0
  219. package/components/load-data-fields-for-datasets-BOcizGTk.cjs +20 -0
  220. package/components/load-data-fields-for-datasets-B_SpkBqA.js +86 -0
  221. package/components/localized-mixin-C-4Zk9oh.cjs +20 -0
  222. package/components/localized-mixin-CRSfJ73Q.js +52 -0
  223. package/components/marker-map-options.config-B9uOw9qk.js +117 -0
  224. package/components/marker-map-positioning.config-C5VuPrAq.js +48 -0
  225. package/components/marker-map-positioning.config-Ds7dX4x5.cjs +20 -0
  226. package/components/marker-map-slots.config-CF-OLWDb.js +37 -0
  227. package/components/ohlc-chart-options.config-CUXSO5cK.js +124 -0
  228. package/components/ohlc-chart-positioning.config-B1E1qu9y.js +78 -0
  229. package/components/ohlc-chart-positioning.config-BoWmcM8Y.cjs +20 -0
  230. package/components/ohlc-chart-slots.config-BlsG3ikV.js +68 -0
  231. package/components/parallel-coordinates-plot-options.config-BupZFL8M.js +42 -0
  232. package/components/parallel-coordinates-plot-positioning.config-B3J9h4rQ.js +48 -0
  233. package/components/parallel-coordinates-plot-positioning.config-DCn_VF7d.cjs +20 -0
  234. package/components/parallel-coordinates-plot-slots.config-BX9mYub0.js +46 -0
  235. package/components/period-over-period-condition.const-CLEyEn-5.js +1663 -0
  236. package/components/period-over-period-condition.const-DDgiXIfR.cjs +20 -0
  237. package/components/pivot-table-options.config-BhVQ-skJ.js +245 -0
  238. package/components/pivot-table-positioning.config-DEZdZrYw.js +55 -0
  239. package/components/pivot-table-positioning.config-_a8fijeQ.cjs +20 -0
  240. package/components/pivot-table-slots.config-BpyBX1NS.js +55 -0
  241. package/components/pragmatic-element-adapter-Ply5c6uO.js +1252 -0
  242. package/components/pragmatic-element-adapter-SUClsRR1.cjs +24 -0
  243. package/components/pyramid-chart-options.config-B271YknE.js +260 -0
  244. package/components/pyramid-chart-positioning.config-ChK8059K.cjs +20 -0
  245. package/components/pyramid-chart-positioning.config-tDeNGN2t.js +55 -0
  246. package/components/pyramid-chart-slots.config-B8_Qqs5b.js +50 -0
  247. package/components/radar-chart-options.config-kpK-dF2z.js +150 -0
  248. package/components/radar-chart-positioning.config-BohPnY6O.js +55 -0
  249. package/components/radar-chart-positioning.config-C00q0Cjc.cjs +20 -0
  250. package/components/radar-chart-slots.config-rkMoLc6Z.js +53 -0
  251. package/components/regular-table-options.config-CiITNIRD.js +148 -0
  252. package/components/regular-table-slots.config-BU7B9OGz.js +35 -0
  253. package/components/route-map-options.config-D1A47spF.js +326 -0
  254. package/components/route-map-positioning.config-BFoD9vn8.cjs +20 -0
  255. package/components/route-map-positioning.config-BKdyt6ko.js +66 -0
  256. package/components/route-map-slots.config-v3BZi_k3.js +59 -0
  257. package/components/sankey-diagram-options.config-Cs76JI4R.js +126 -0
  258. package/components/sankey-diagram-positioning.config-QtjnfHQb.js +66 -0
  259. package/components/sankey-diagram-positioning.config-lU-WAy9R.cjs +20 -0
  260. package/components/sankey-diagram-slots.config-C7W-p_iq.js +61 -0
  261. package/components/scatter-plot-options.config-KnuZCIK9.js +322 -0
  262. package/components/scatter-plot-positioning.config-BMx7JzXT.js +77 -0
  263. package/components/scatter-plot-positioning.config-Dl3dC8_q.cjs +20 -0
  264. package/components/scatter-plot-slots.config-e4r8rPGq.js +74 -0
  265. package/components/search-filter-options.config-BAxmEAiE.js +103 -0
  266. package/components/search-filter-slots.config-Bh5AkIlV.js +39 -0
  267. package/components/slicer-filter-options.config-B9G5S-w5.js +235 -0
  268. package/components/slicer-filter-positioning.config-D0ySBKRi.js +48 -0
  269. package/components/slicer-filter-positioning.config-V0xQ7zn4.cjs +20 -0
  270. package/components/slicer-filter-slots.config-ClnjpKoR.js +44 -0
  271. package/components/slider-filter-options.config-pVni2VeP.js +72 -0
  272. package/components/slider-filter-slots.config-C8ndKeOs.js +43 -0
  273. package/components/slot-menu-B18viCq_.js +1056 -0
  274. package/components/slot-menu-I0ZOhAwn.cjs +215 -0
  275. package/components/speedometer-chart-options.config-CRfWCHWe.js +246 -0
  276. package/components/speedometer-chart-positioning.config-Bxh2OpBf.cjs +20 -0
  277. package/components/speedometer-chart-positioning.config-DtvW38X7.js +48 -0
  278. package/components/speedometer-chart-slots.config-BkKyAqra.js +39 -0
  279. package/components/spike-map-options.config-01V52me2.js +413 -0
  280. package/components/spike-map-positioning.config-DkEQ8a85.cjs +20 -0
  281. package/components/spike-map-positioning.config-q0Ko-o6u.js +55 -0
  282. package/components/spike-map-slots.config-Bu63-9ET.js +47 -0
  283. package/components/strip-plot-options.config-CT8sqO2c.js +53 -0
  284. package/components/strip-plot-positioning.config-DFPJ4BKu.cjs +20 -0
  285. package/components/strip-plot-positioning.config-DVCL5TLA.js +48 -0
  286. package/components/strip-plot-slots.config-QBq7bq-Q.js +38 -0
  287. package/components/sunburst-chart-options.config-BIcUx_Ml.js +180 -0
  288. package/components/sunburst-chart-positioning.config--XMbmimi.cjs +20 -0
  289. package/components/sunburst-chart-positioning.config-Dy1GtLwf.js +48 -0
  290. package/components/sunburst-chart-slots.config-BDR8g83g.js +38 -0
  291. package/components/symbol-map-options.config-sY3sR_13.js +177 -0
  292. package/components/symbol-map-positioning.config-CS7s_Zrs.js +55 -0
  293. package/components/symbol-map-positioning.config-Cc_p6btx.cjs +20 -0
  294. package/components/symbol-map-slots.config-BhHW2t4h.js +53 -0
  295. package/components/text-options.config-zV8AxiZ-.js +67 -0
  296. package/components/text-slots.config-CexlYey1.js +24 -0
  297. package/components/treemap-chart-options.config-DaBT0Bud.js +204 -0
  298. package/components/treemap-chart-positioning.config-C6iouW1J.js +55 -0
  299. package/components/treemap-chart-positioning.config-DZ2hZtsF.cjs +20 -0
  300. package/components/treemap-chart-slots.config-vuiywUbz.js +47 -0
  301. package/components/utils/base.cjs +1 -1
  302. package/components/utils/base.js +2 -2
  303. package/components/utils/store.js +1 -1
  304. package/components/utils-5J0VIvk6.cjs +20 -0
  305. package/components/utils-C6ysI98r.js +239 -0
  306. package/components/utils.cjs +1 -1
  307. package/components/utils.js +5 -8
  308. package/components/venn-diagram-options.config-CQIZxPZm.js +24 -0
  309. package/components/venn-diagram-positioning.config-8NrocJLI.cjs +20 -0
  310. package/components/venn-diagram-positioning.config-m2jp6blI.js +55 -0
  311. package/components/venn-diagram-slots.config-VYaBQMGD.js +47 -0
  312. package/components/video-options.config-CvyslCJl.js +127 -0
  313. package/components/video-slots.config-CBtjayTL.js +24 -0
  314. package/components/wordcloud-chart-options.config-B47Oxu0A.js +90 -0
  315. package/components/wordcloud-chart-positioning.config-ClALXn39.js +55 -0
  316. package/components/wordcloud-chart-positioning.config-DGD93axw.cjs +20 -0
  317. package/components/wordcloud-chart-slots.config-CLNtT9m5.js +45 -0
  318. package/custom-elements.json +5916 -16537
  319. package/index.d.ts +0 -24
  320. package/package.json +4 -129
  321. package/react/esm/index.d.ts +2 -27
  322. package/react/esm/index.js +2 -102
  323. package/react/index.ts +2 -102
  324. package/react/luzmo-stub.d.ts +0 -139
  325. package/react/package.json +2 -2
  326. package/types.d.ts +0 -8
  327. package/utils/formula/store/formula-display-store.d.ts +6 -0
  328. package/angular/README.md +0 -40
  329. package/angular/components/ai-chat-empty-state.ts +0 -98
  330. package/angular/components/ai-chat.ts +0 -412
  331. package/angular/components/ai-interaction-textarea.ts +0 -256
  332. package/angular/components/data-field-level.ts +0 -130
  333. package/angular/components/data-field-panel.ts +0 -256
  334. package/angular/components/data-field.ts +0 -130
  335. package/angular/components/data-fields-select.ts +0 -205
  336. package/angular/components/dataset-icon.ts +0 -83
  337. package/angular/components/dataset-selector-list.ts +0 -140
  338. package/angular/components/dataset-selector-row.ts +0 -143
  339. package/angular/components/display-settings-binning.ts +0 -92
  340. package/angular/components/display-settings-datetime.ts +0 -100
  341. package/angular/components/display-settings-grand-totals.ts +0 -92
  342. package/angular/components/display-settings-numeric.ts +0 -113
  343. package/angular/components/display-settings-period-over-period.ts +0 -107
  344. package/angular/components/display-settings.ts +0 -227
  345. package/angular/components/filter-expression-picker.ts +0 -168
  346. package/angular/components/filter-item.ts +0 -160
  347. package/angular/components/filter-parameter-picker.ts +0 -103
  348. package/angular/components/filter-value-picker-datetime.ts +0 -125
  349. package/angular/components/filter-value-picker-hierarchy.ts +0 -146
  350. package/angular/components/filter-value-picker-numeric.ts +0 -146
  351. package/angular/components/filter-value-picker.ts +0 -160
  352. package/angular/components/filters.ts +0 -169
  353. package/angular/components/formula-editor.ts +0 -229
  354. package/angular/components/formula-field.ts +0 -198
  355. package/angular/components/formula.ts +0 -170
  356. package/angular/components/interactive-viz-item.ts +0 -186
  357. package/angular/components/item-grid-item-actions-menu.ts +0 -113
  358. package/angular/components/item-grid.ts +0 -242
  359. package/angular/components/item-option-action-button-group.ts +0 -105
  360. package/angular/components/item-option-color-palette-picker.ts +0 -126
  361. package/angular/components/item-option-color-picker.ts +0 -134
  362. package/angular/components/item-option-color-range.ts +0 -168
  363. package/angular/components/item-option-multi-language-field.ts +0 -133
  364. package/angular/components/item-option-number-field.ts +0 -161
  365. package/angular/components/item-option-panel.ts +0 -149
  366. package/angular/components/item-option-picker.ts +0 -120
  367. package/angular/components/item-option-position-picker.ts +0 -98
  368. package/angular/components/item-option-positions-number-field.ts +0 -140
  369. package/angular/components/item-option-radio-button-group.ts +0 -119
  370. package/angular/components/item-option-slider.ts +0 -126
  371. package/angular/components/item-option-switch.ts +0 -98
  372. package/angular/components/item-option-text-field.ts +0 -112
  373. package/angular/components/item-option.ts +0 -163
  374. package/angular/components/item-slot-drop-panel.ts +0 -236
  375. package/angular/components/item-slot-drop.ts +0 -231
  376. package/angular/components/item-slot-picker-panel.ts +0 -299
  377. package/angular/components/item-slot-picker.ts +0 -241
  378. package/angular/components/slot-menu-list.ts +0 -121
  379. package/angular/components/slot-menu.ts +0 -304
  380. package/angular/components/viz-item-menu.ts +0 -118
  381. package/angular/esm/components/ai-chat-empty-state.d.ts +0 -39
  382. package/angular/esm/components/ai-chat-empty-state.js +0 -99
  383. package/angular/esm/components/ai-chat.d.ts +0 -137
  384. package/angular/esm/components/ai-chat.js +0 -423
  385. package/angular/esm/components/ai-interaction-textarea.d.ts +0 -97
  386. package/angular/esm/components/ai-interaction-textarea.js +0 -273
  387. package/angular/esm/components/data-field-level.d.ts +0 -50
  388. package/angular/esm/components/data-field-level.js +0 -129
  389. package/angular/esm/components/data-field-panel.d.ts +0 -86
  390. package/angular/esm/components/data-field-panel.js +0 -268
  391. package/angular/esm/components/data-field.d.ts +0 -50
  392. package/angular/esm/components/data-field.js +0 -129
  393. package/angular/esm/components/data-fields-select.d.ts +0 -79
  394. package/angular/esm/components/data-fields-select.js +0 -219
  395. package/angular/esm/components/dataset-icon.d.ts +0 -34
  396. package/angular/esm/components/dataset-icon.js +0 -86
  397. package/angular/esm/components/dataset-selector-list.d.ts +0 -53
  398. package/angular/esm/components/dataset-selector-list.js +0 -147
  399. package/angular/esm/components/dataset-selector-row.d.ts +0 -53
  400. package/angular/esm/components/dataset-selector-row.js +0 -145
  401. package/angular/esm/components/display-settings-binning.d.ts +0 -37
  402. package/angular/esm/components/display-settings-binning.js +0 -91
  403. package/angular/esm/components/display-settings-datetime.d.ts +0 -40
  404. package/angular/esm/components/display-settings-datetime.js +0 -99
  405. package/angular/esm/components/display-settings-grand-totals.d.ts +0 -37
  406. package/angular/esm/components/display-settings-grand-totals.js +0 -91
  407. package/angular/esm/components/display-settings-numeric.d.ts +0 -45
  408. package/angular/esm/components/display-settings-numeric.js +0 -115
  409. package/angular/esm/components/display-settings-period-over-period.d.ts +0 -44
  410. package/angular/esm/components/display-settings-period-over-period.js +0 -107
  411. package/angular/esm/components/display-settings.d.ts +0 -83
  412. package/angular/esm/components/display-settings.js +0 -231
  413. package/angular/esm/components/filter-expression-picker.d.ts +0 -64
  414. package/angular/esm/components/filter-expression-picker.js +0 -179
  415. package/angular/esm/components/filter-item.d.ts +0 -57
  416. package/angular/esm/components/filter-item.js +0 -171
  417. package/angular/esm/components/filter-parameter-picker.d.ts +0 -41
  418. package/angular/esm/components/filter-parameter-picker.js +0 -110
  419. package/angular/esm/components/filter-value-picker-datetime.d.ts +0 -47
  420. package/angular/esm/components/filter-value-picker-datetime.js +0 -131
  421. package/angular/esm/components/filter-value-picker-hierarchy.d.ts +0 -53
  422. package/angular/esm/components/filter-value-picker-hierarchy.js +0 -155
  423. package/angular/esm/components/filter-value-picker-numeric.d.ts +0 -53
  424. package/angular/esm/components/filter-value-picker-numeric.js +0 -155
  425. package/angular/esm/components/filter-value-picker.d.ts +0 -57
  426. package/angular/esm/components/filter-value-picker.js +0 -171
  427. package/angular/esm/components/filters.d.ts +0 -61
  428. package/angular/esm/components/filters.js +0 -179
  429. package/angular/esm/components/formula-editor.d.ts +0 -78
  430. package/angular/esm/components/formula-editor.js +0 -236
  431. package/angular/esm/components/formula-field.d.ts +0 -70
  432. package/angular/esm/components/formula-field.js +0 -209
  433. package/angular/esm/components/formula.d.ts +0 -60
  434. package/angular/esm/components/formula.js +0 -177
  435. package/angular/esm/components/interactive-viz-item.d.ts +0 -63
  436. package/angular/esm/components/interactive-viz-item.js +0 -188
  437. package/angular/esm/components/item-grid-item-actions-menu.d.ts +0 -45
  438. package/angular/esm/components/item-grid-item-actions-menu.js +0 -115
  439. package/angular/esm/components/item-grid.d.ts +0 -80
  440. package/angular/esm/components/item-grid.js +0 -245
  441. package/angular/esm/components/item-option-action-button-group.d.ts +0 -41
  442. package/angular/esm/components/item-option-action-button-group.js +0 -107
  443. package/angular/esm/components/item-option-color-palette-picker.d.ts +0 -48
  444. package/angular/esm/components/item-option-color-palette-picker.js +0 -131
  445. package/angular/esm/components/item-option-color-picker.d.ts +0 -51
  446. package/angular/esm/components/item-option-color-picker.js +0 -139
  447. package/angular/esm/components/item-option-color-range.d.ts +0 -66
  448. package/angular/esm/components/item-option-color-range.js +0 -179
  449. package/angular/esm/components/item-option-multi-language-field.d.ts +0 -50
  450. package/angular/esm/components/item-option-multi-language-field.js +0 -139
  451. package/angular/esm/components/item-option-number-field.d.ts +0 -58
  452. package/angular/esm/components/item-option-number-field.js +0 -171
  453. package/angular/esm/components/item-option-panel.d.ts +0 -54
  454. package/angular/esm/components/item-option-panel.js +0 -155
  455. package/angular/esm/components/item-option-picker.d.ts +0 -46
  456. package/angular/esm/components/item-option-picker.js +0 -123
  457. package/angular/esm/components/item-option-position-picker.d.ts +0 -39
  458. package/angular/esm/components/item-option-position-picker.js +0 -99
  459. package/angular/esm/components/item-option-positions-number-field.d.ts +0 -54
  460. package/angular/esm/components/item-option-positions-number-field.js +0 -147
  461. package/angular/esm/components/item-option-radio-button-group.d.ts +0 -45
  462. package/angular/esm/components/item-option-radio-button-group.js +0 -123
  463. package/angular/esm/components/item-option-slider.d.ts +0 -46
  464. package/angular/esm/components/item-option-slider.js +0 -131
  465. package/angular/esm/components/item-option-switch.d.ts +0 -40
  466. package/angular/esm/components/item-option-switch.js +0 -99
  467. package/angular/esm/components/item-option-text-field.d.ts +0 -44
  468. package/angular/esm/components/item-option-text-field.js +0 -115
  469. package/angular/esm/components/item-option.d.ts +0 -58
  470. package/angular/esm/components/item-option.js +0 -171
  471. package/angular/esm/components/item-slot-drop-panel.d.ts +0 -82
  472. package/angular/esm/components/item-slot-drop-panel.js +0 -249
  473. package/angular/esm/components/item-slot-drop.d.ts +0 -77
  474. package/angular/esm/components/item-slot-drop.js +0 -227
  475. package/angular/esm/components/item-slot-picker-panel.d.ts +0 -97
  476. package/angular/esm/components/item-slot-picker-panel.js +0 -309
  477. package/angular/esm/components/item-slot-picker.d.ts +0 -86
  478. package/angular/esm/components/item-slot-picker.js +0 -259
  479. package/angular/esm/components/slot-menu-list.d.ts +0 -46
  480. package/angular/esm/components/slot-menu-list.js +0 -123
  481. package/angular/esm/components/slot-menu.d.ts +0 -104
  482. package/angular/esm/components/slot-menu.js +0 -300
  483. package/angular/esm/components/viz-item-menu.d.ts +0 -42
  484. package/angular/esm/components/viz-item-menu.js +0 -111
  485. package/angular/esm/index.d.ts +0 -107
  486. package/angular/esm/index.js +0 -213
  487. package/angular/index.ts +0 -219
  488. package/angular/package.json +0 -40
  489. package/angular/tsconfig.json +0 -36
  490. package/angular/type-fallbacks.d.ts +0 -0
  491. package/angular/utils/ai-prompt/attachments.d.ts +0 -10
  492. package/angular/utils/ai-prompt/dictation.d.ts +0 -50
  493. package/angular/utils/ai-prompt/image-upload.d.ts +0 -12
  494. package/angular/utils/ai-prompt/index.d.ts +0 -6
  495. package/angular/utils/ai-prompt/tests/attachments.test.d.ts +0 -1
  496. package/angular/utils/ai-prompt/tests/dictation.test.d.ts +0 -1
  497. package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +0 -1
  498. package/angular/utils/base/base.d.ts +0 -16
  499. package/angular/utils/base/focus-visible.d.ts +0 -29
  500. package/angular/utils/base/focusable.d.ts +0 -58
  501. package/angular/utils/base/index.d.ts +0 -5
  502. package/angular/utils/base/localized-mixin.d.ts +0 -22
  503. package/angular/utils/base/sized-mixin.d.ts +0 -17
  504. package/angular/utils/color/color-palettes.d.ts +0 -17
  505. package/angular/utils/color/extrapolate-color.d.ts +0 -1
  506. package/angular/utils/data/load-data-fields-for-datasets.d.ts +0 -22
  507. package/angular/utils/data-broker/index.d.ts +0 -257
  508. package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +0 -12
  509. package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +0 -1
  510. package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +0 -1
  511. package/angular/utils/drag/draggable.d.ts +0 -13
  512. package/angular/utils/drag/pragmatic-element-adapter.d.ts +0 -2
  513. package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +0 -1
  514. package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +0 -1
  515. package/angular/utils/filters/expressions.d.ts +0 -15
  516. package/angular/utils/filters/index.d.ts +0 -1
  517. package/angular/utils/formatter/calculate-duration.d.ts +0 -2
  518. package/angular/utils/formatter/decompose-numeric-format.d.ts +0 -11
  519. package/angular/utils/formatter/default-local-formats.d.ts +0 -20
  520. package/angular/utils/formatter/formats/cs.d.ts +0 -20
  521. package/angular/utils/formatter/formats/da.d.ts +0 -20
  522. package/angular/utils/formatter/formats/de.d.ts +0 -21
  523. package/angular/utils/formatter/formats/en-GB.d.ts +0 -21
  524. package/angular/utils/formatter/formats/en-US.d.ts +0 -1
  525. package/angular/utils/formatter/formats/en.d.ts +0 -1
  526. package/angular/utils/formatter/formats/es.d.ts +0 -54
  527. package/angular/utils/formatter/formats/fi.d.ts +0 -20
  528. package/angular/utils/formatter/formats/fr.d.ts +0 -54
  529. package/angular/utils/formatter/formats/he.d.ts +0 -20
  530. package/angular/utils/formatter/formats/hu.d.ts +0 -20
  531. package/angular/utils/formatter/formats/it.d.ts +0 -54
  532. package/angular/utils/formatter/formats/ja.d.ts +0 -20
  533. package/angular/utils/formatter/formats/ko.d.ts +0 -20
  534. package/angular/utils/formatter/formats/mk.d.ts +0 -20
  535. package/angular/utils/formatter/formats/nl.d.ts +0 -21
  536. package/angular/utils/formatter/formats/no.d.ts +0 -21
  537. package/angular/utils/formatter/formats/pl.d.ts +0 -20
  538. package/angular/utils/formatter/formats/pt.d.ts +0 -20
  539. package/angular/utils/formatter/formats/ru.d.ts +0 -20
  540. package/angular/utils/formatter/formats/sv.d.ts +0 -20
  541. package/angular/utils/formatter/formats/tr.d.ts +0 -21
  542. package/angular/utils/formatter/formats/zh-CN.d.ts +0 -20
  543. package/angular/utils/formatter/formats/zh-TW.d.ts +0 -20
  544. package/angular/utils/formatter/formatter.d.ts +0 -9
  545. package/angular/utils/formatter/get-dataset-name.d.ts +0 -2
  546. package/angular/utils/formatter/localize.d.ts +0 -3
  547. package/angular/utils/formatter/smart-datetime-formats.const.d.ts +0 -36
  548. package/angular/utils/formatter/tests/calculate-duration.test.d.ts +0 -1
  549. package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +0 -1
  550. package/angular/utils/formatter/tests/default-local-formats.test.d.ts +0 -1
  551. package/angular/utils/formatter/tests/formatter.test.d.ts +0 -1
  552. package/angular/utils/formatter/tests/localize.test.d.ts +0 -1
  553. package/angular/utils/formula/base/formula-base.d.ts +0 -117
  554. package/angular/utils/formula/base/formula-input-base.d.ts +0 -62
  555. package/angular/utils/formula/codemirror/actions.d.ts +0 -47
  556. package/angular/utils/formula/codemirror/drop-cursor.d.ts +0 -15
  557. package/angular/utils/formula/codemirror/icon-element.d.ts +0 -7
  558. package/angular/utils/formula/codemirror/parser.d.ts +0 -16
  559. package/angular/utils/formula/codemirror/tests/actions.test.d.ts +0 -1
  560. package/angular/utils/formula/codemirror/theme.d.ts +0 -20
  561. package/angular/utils/formula/codemirror/widget.d.ts +0 -18
  562. package/angular/utils/formula/config/aggregations.d.ts +0 -9
  563. package/angular/utils/formula/config/build-datasets.d.ts +0 -10
  564. package/angular/utils/formula/config/expression-helpers.d.ts +0 -42
  565. package/angular/utils/formula/config/functions.d.ts +0 -3
  566. package/angular/utils/formula/config/groupings.d.ts +0 -9
  567. package/angular/utils/formula/config/regex.d.ts +0 -39
  568. package/angular/utils/formula/config/resolve-column-presentation.d.ts +0 -19
  569. package/angular/utils/formula/config/tests/build-datasets.test.d.ts +0 -1
  570. package/angular/utils/formula/config/validate-expression.d.ts +0 -19
  571. package/angular/utils/formula/load-formula-codemirror.d.ts +0 -4
  572. package/angular/utils/formula/render-explanation-tooltip.d.ts +0 -7
  573. package/angular/utils/formula/store/formula-display-store.d.ts +0 -87
  574. package/angular/utils/formula/store/formula-editor-context.d.ts +0 -8
  575. package/angular/utils/formula/store/formula-editor-store.d.ts +0 -46
  576. package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +0 -1
  577. package/angular/utils/formula/tests/validate-expression.test.d.ts +0 -1
  578. package/angular/utils/get-css-variable.d.ts +0 -1
  579. package/angular/utils/index.d.ts +0 -10
  580. package/angular/utils/localize/set-locale.d.ts +0 -7
  581. package/angular/utils/map-tile-providers/index.d.ts +0 -93
  582. package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +0 -7
  583. package/angular/utils/slot-content/render-calculation-label.d.ts +0 -7
  584. package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +0 -1
  585. package/angular/utils/slot-state/slot-context.d.ts +0 -4
  586. package/angular/utils/slot-state/slot-store.d.ts +0 -39
  587. package/angular/utils/store/base-store.d.ts +0 -162
  588. package/angular/utils/store/dashboard-store.d.ts +0 -49
  589. package/angular/utils/store/index.d.ts +0 -135
  590. package/angular/utils/store/item-store.d.ts +0 -33
  591. package/angular/utils/store/store-registry.d.ts +0 -170
  592. package/angular/utils/store/tests/dashboard-store.test.d.ts +0 -1
  593. package/angular/utils/store/tests/item-store.test.d.ts +0 -1
  594. package/angular/utils/store/tests/store-registry.test.d.ts +0 -1
  595. package/angular/utils/store/types.d.ts +0 -270
  596. package/angular/utils/switch-item/index.d.ts +0 -34
  597. package/angular/utils/switch-item/slot-role-classification.d.ts +0 -31
  598. package/angular/utils/switch-item/stories/switch-item.stories.d.ts +0 -17
  599. package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +0 -1
  600. package/angular/utils/switch-item/tests/switch-item.test.d.ts +0 -1
  601. package/angular/utils/themes/bliss.d.ts +0 -2
  602. package/angular/utils/themes/classic-dark.d.ts +0 -2
  603. package/angular/utils/themes/classic.d.ts +0 -2
  604. package/angular/utils/themes/default-dark.d.ts +0 -2
  605. package/angular/utils/themes/default.d.ts +0 -2
  606. package/angular/utils/themes/index.d.ts +0 -4
  607. package/angular/utils/themes/orion.d.ts +0 -2
  608. package/angular/utils/themes/pinky.d.ts +0 -2
  609. package/angular/utils/themes/radiant.d.ts +0 -2
  610. package/angular/utils/themes/royale.d.ts +0 -2
  611. package/angular/utils/themes/seasonal.d.ts +0 -2
  612. package/angular/utils/themes/urban.d.ts +0 -2
  613. package/angular/utils/themes/vivid.d.ts +0 -2
  614. package/angular/utils/time/formats.const.d.ts +0 -4
  615. package/angular/utils/time/period-over-period-condition.const.d.ts +0 -8
  616. package/angular/utils/time/periods.const.d.ts +0 -15
  617. package/angular/utils/timezone/datetime-timezone.d.ts +0 -25
  618. package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +0 -1
  619. package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +0 -9
  620. package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +0 -30
  621. package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +0 -1
  622. package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +0 -1
  623. package/angular/utils/types/tests/type-check.test.d.ts +0 -1
  624. package/angular/utils/types/type-check.d.ts +0 -28
  625. package/components/ad-hoc-slot-content-BwcFfXCV.cjs +0 -20
  626. package/components/ad-hoc-slot-content-hSlT62VS.js +0 -29
  627. package/components/ai-chat/ai-chat-events.d.ts +0 -123
  628. package/components/ai-chat/ai-chat-request.d.ts +0 -20
  629. package/components/ai-chat/ai-chat.d.ts +0 -318
  630. package/components/ai-chat/ai-prompt-types.d.ts +0 -118
  631. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +0 -46
  632. package/components/ai-chat/empty-state/index.d.ts +0 -8
  633. package/components/ai-chat/empty-state/types.d.ts +0 -14
  634. package/components/ai-chat/index.cjs +0 -20
  635. package/components/ai-chat/index.d.ts +0 -23
  636. package/components/ai-chat/index.js +0 -29
  637. package/components/ai-chat/session/ai-chat-session-controller.d.ts +0 -57
  638. package/components/ai-chat/session/ai-chat-session-types.d.ts +0 -101
  639. package/components/ai-chat/session/ai-chat-session.d.ts +0 -102
  640. package/components/ai-chat/session/index.d.ts +0 -2
  641. package/components/ai-chat/stream/chunk-extractors.d.ts +0 -27
  642. package/components/ai-chat/stream/index.d.ts +0 -52
  643. package/components/ai-chat/stream/progress.d.ts +0 -3
  644. package/components/ai-chat/stream/registry.d.ts +0 -6
  645. package/components/ai-chat/stream/stream-processor.d.ts +0 -2
  646. package/components/ai-chat/stream/transport.d.ts +0 -26
  647. package/components/ai-chat/stream/types.d.ts +0 -55
  648. package/components/ai-chat-BtQaM37y.js +0 -3998
  649. package/components/ai-chat-CBLWbv9C.cjs +0 -319
  650. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +0 -212
  651. package/components/ai-interaction-textarea/index.cjs +0 -20
  652. package/components/ai-interaction-textarea/index.d.ts +0 -8
  653. package/components/ai-interaction-textarea/index.js +0 -28
  654. package/components/ai-interaction-textarea/types.d.ts +0 -10
  655. package/components/ai-interaction-textarea-Bgd3y_cP.js +0 -785
  656. package/components/ai-interaction-textarea-CQBP9-DW.cjs +0 -93
  657. package/components/area-chart-options.config-Dc4P64YS.js +0 -229
  658. package/components/area-chart-positioning.config-1YVSxjRa.cjs +0 -20
  659. package/components/area-chart-positioning.config-QGEo5sr-.js +0 -55
  660. package/components/area-chart-slots.config-DdPO34_g.js +0 -55
  661. package/components/bar-chart-options.config-B7tknpxM.js +0 -300
  662. package/components/bar-chart-positioning.config-Cs56EAWY.cjs +0 -20
  663. package/components/bar-chart-positioning.config-KLzBnoCu.js +0 -59
  664. package/components/bar-chart-slots.config-BnbZRLIr.js +0 -50
  665. package/components/base-DMQUzJ4L.js +0 -249
  666. package/components/base-DRFleWoz.cjs +0 -20
  667. package/components/box-plot-options.config-D6Wvmx36.js +0 -356
  668. package/components/box-plot-positioning.config-BpDEb4Uo.cjs +0 -20
  669. package/components/box-plot-positioning.config-DKGY1Qqb.js +0 -48
  670. package/components/box-plot-slots.config-D6F2R2dw.js +0 -40
  671. package/components/bubble-chart-options.config-CDY6pFK6.js +0 -135
  672. package/components/bubble-chart-positioning.config-BZsvCSyT.cjs +0 -20
  673. package/components/bubble-chart-positioning.config-CL3mDsC-.js +0 -55
  674. package/components/bubble-chart-slots.config-BJdtdpS0.js +0 -47
  675. package/components/bullet-chart-options.config-B4vBSWrH.js +0 -75
  676. package/components/bullet-chart-positioning.config-DA-1zmsD.cjs +0 -20
  677. package/components/bullet-chart-positioning.config-DxXEGnbz.js +0 -56
  678. package/components/bullet-chart-slots.config-NeUTKgYI.js +0 -46
  679. package/components/choropleth-map-options.config-6-xaMCeR.js +0 -348
  680. package/components/choropleth-map-positioning.config-BicHLfN0.js +0 -55
  681. package/components/choropleth-map-positioning.config-D_1MCD5i.cjs +0 -20
  682. package/components/choropleth-map-slots.config-BbBwTeuw.js +0 -53
  683. package/components/circle-pack-chart-options.config-DWkyGqA_.js +0 -54
  684. package/components/circle-pack-chart-positioning.config-a_vo4VFg.js +0 -48
  685. package/components/circle-pack-chart-positioning.config-oTUkvFFJ.cjs +0 -20
  686. package/components/circle-pack-chart-slots.config-CJFjalBn.js +0 -38
  687. package/components/circular-gauge-options.config-D_xHWhBy.js +0 -188
  688. package/components/circular-gauge-positioning.config-BEM85XhO.js +0 -48
  689. package/components/circular-gauge-positioning.config-TG1wPyHz.cjs +0 -20
  690. package/components/circular-gauge-slots.config-DAKsa5Hq.js +0 -39
  691. package/components/column-chart-options.config-B_a7iN-c.js +0 -299
  692. package/components/column-chart-positioning.config-D1kXKreT.cjs +0 -20
  693. package/components/column-chart-positioning.config-x-wEIoTZ.js +0 -55
  694. package/components/column-chart-slots.config-Bpr-WaCi.js +0 -50
  695. package/components/combination-chart-options.config-l4szBpws.js +0 -150
  696. package/components/combination-chart-positioning.config-COksdK7F.cjs +0 -20
  697. package/components/combination-chart-positioning.config-DLyPa1Im.js +0 -48
  698. package/components/combination-chart-slots.config-u-QLoQQ-.js +0 -43
  699. package/components/conditional-number-options.config-DB4_BYN2.js +0 -205
  700. package/components/conditional-number-positioning.config-5SBhp4Kh.cjs +0 -20
  701. package/components/conditional-number-positioning.config-6ZQHIgAA.js +0 -48
  702. package/components/conditional-number-slots.config-CiLUXRSe.js +0 -39
  703. package/components/convert-data-field-to-slot-content-C6IIqU7G.js +0 -53
  704. package/components/convert-data-field-to-slot-content-DLzkk6dT.cjs +0 -20
  705. package/components/convert-datasets-to-data-fields-B13rl1an.cjs +0 -20
  706. package/components/convert-datasets-to-data-fields-PmQzeVLG.js +0 -68
  707. package/components/data-field-D050EJkx.cjs +0 -54
  708. package/components/data-field-D1lrRnLX.js +0 -121
  709. package/components/data-field-level/data-field-level.d.ts +0 -40
  710. package/components/data-field-level/helpers/generate-preview.d.ts +0 -9
  711. package/components/data-field-level/index.cjs +0 -20
  712. package/components/data-field-level/index.d.ts +0 -8
  713. package/components/data-field-level/index.js +0 -28
  714. package/components/data-field-level-CKlijSjc.cjs +0 -55
  715. package/components/data-field-level-Da8Pwva2.js +0 -247
  716. package/components/data-field-panel-47PGrrIi.cjs +0 -87
  717. package/components/data-field-panel-CgqJ1bLg.js +0 -385
  718. package/components/data-fields-select/data-fields-select.d.ts +0 -127
  719. package/components/data-fields-select/index.cjs +0 -20
  720. package/components/data-fields-select/index.d.ts +0 -9
  721. package/components/data-fields-select/index.js +0 -28
  722. package/components/data-fields-select/types.d.ts +0 -4
  723. package/components/data-fields-select-B40TXGd7.js +0 -262
  724. package/components/data-fields-select-CQVqxMCS.cjs +0 -41
  725. package/components/dataset-icon/dataset-icon.d.ts +0 -45
  726. package/components/dataset-icon/index.cjs +0 -20
  727. package/components/dataset-icon/index.d.ts +0 -8
  728. package/components/dataset-icon/index.js +0 -28
  729. package/components/dataset-icon/types.d.ts +0 -11
  730. package/components/dataset-icon-BAV0S4sZ.cjs +0 -64
  731. package/components/dataset-icon-CWT5Ju8w.js +0 -125
  732. package/components/dataset-selector-list/dataset-selector-list.d.ts +0 -102
  733. package/components/dataset-selector-list/index.cjs +0 -20
  734. package/components/dataset-selector-list/index.d.ts +0 -8
  735. package/components/dataset-selector-list/index.js +0 -28
  736. package/components/dataset-selector-list-C0dheupb.js +0 -313
  737. package/components/dataset-selector-list-CKQ7OgMN.cjs +0 -75
  738. package/components/dataset-selector-row/dataset-selector-row.d.ts +0 -89
  739. package/components/dataset-selector-row/index.cjs +0 -20
  740. package/components/dataset-selector-row/index.d.ts +0 -8
  741. package/components/dataset-selector-row/index.js +0 -28
  742. package/components/dataset-selector-row-DP6QUWYs.js +0 -273
  743. package/components/dataset-selector-row-_FZPTBE1.cjs +0 -79
  744. package/components/date-comparison-filter-options.config-BSzzAJPM.js +0 -126
  745. package/components/date-comparison-filter-slots.config-Cvze969w.js +0 -33
  746. package/components/date-filter-options.config-C6VvDjd8.js +0 -118
  747. package/components/date-filter-slots.config-Y8hmQh0S.js +0 -37
  748. package/components/decompose-numeric-format-DGJua3rU.cjs +0 -20
  749. package/components/decompose-numeric-format-DS0j2wa1.js +0 -36
  750. package/components/decorate-DCJt-2rt.cjs +0 -20
  751. package/components/decorate-DyMgX_Uh.js +0 -28
  752. package/components/display-settings/display-settings.d.ts +0 -117
  753. package/components/display-settings/index.cjs +0 -20
  754. package/components/display-settings/index.d.ts +0 -8
  755. package/components/display-settings/index.js +0 -28
  756. package/components/display-settings/types.d.ts +0 -9
  757. package/components/display-settings-1AdcENcv.cjs +0 -140
  758. package/components/display-settings-B-eamVdN.js +0 -313
  759. package/components/display-settings-binning/display-settings-binning.d.ts +0 -32
  760. package/components/display-settings-binning/index.cjs +0 -20
  761. package/components/display-settings-binning/index.d.ts +0 -8
  762. package/components/display-settings-binning/index.js +0 -28
  763. package/components/display-settings-binning-BGtp0Wvl.js +0 -110
  764. package/components/display-settings-binning-Cs8MS7BY.cjs +0 -56
  765. package/components/display-settings-datetime/display-settings-datetime.d.ts +0 -86
  766. package/components/display-settings-datetime/index.cjs +0 -20
  767. package/components/display-settings-datetime/index.d.ts +0 -8
  768. package/components/display-settings-datetime/index.js +0 -28
  769. package/components/display-settings-datetime-CbTnG486.js +0 -413
  770. package/components/display-settings-datetime-q20qbrOL.cjs +0 -217
  771. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +0 -29
  772. package/components/display-settings-grand-totals/index.cjs +0 -20
  773. package/components/display-settings-grand-totals/index.d.ts +0 -8
  774. package/components/display-settings-grand-totals/index.js +0 -28
  775. package/components/display-settings-grand-totals-BDeeC6-h.js +0 -89
  776. package/components/display-settings-grand-totals-DdEXs_mA.cjs +0 -44
  777. package/components/display-settings-numeric/display-settings-numeric.d.ts +0 -82
  778. package/components/display-settings-numeric/helpers/constants.d.ts +0 -19
  779. package/components/display-settings-numeric/index.cjs +0 -20
  780. package/components/display-settings-numeric/index.d.ts +0 -8
  781. package/components/display-settings-numeric/index.js +0 -28
  782. package/components/display-settings-numeric-C5FlahN_.js +0 -479
  783. package/components/display-settings-numeric-PtcxP80Z.cjs +0 -190
  784. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +0 -68
  785. package/components/display-settings-period-over-period/helpers/constants.d.ts +0 -44
  786. package/components/display-settings-period-over-period/index.cjs +0 -20
  787. package/components/display-settings-period-over-period/index.d.ts +0 -8
  788. package/components/display-settings-period-over-period/index.js +0 -28
  789. package/components/display-settings-period-over-period-CUlsSQZv.js +0 -433
  790. package/components/display-settings-period-over-period-Csv7Kwri.cjs +0 -229
  791. package/components/donut-chart-options.config-CjtEDiJI.js +0 -207
  792. package/components/donut-chart-positioning.config-EudGY45O.js +0 -48
  793. package/components/donut-chart-positioning.config-m_uVKoNn.cjs +0 -20
  794. package/components/donut-chart-slots.config-DilGk7ju.js +0 -39
  795. package/components/dropdown-filter-options.config-DFJKns3l.js +0 -153
  796. package/components/dropdown-filter-slots.config-7heZtoEY.js +0 -38
  797. package/components/en-CcLhGxIh.js +0 -21
  798. package/components/en-GB-DzkdeUQh.js +0 -28
  799. package/components/en-GB-uxY5qmIM.cjs +0 -20
  800. package/components/en-US-CcLhGxIh.js +0 -21
  801. package/components/en-US-q_Ruzags.cjs +0 -20
  802. package/components/en-q_Ruzags.cjs +0 -20
  803. package/components/evolution-number-options.config-C3tU650w.js +0 -228
  804. package/components/evolution-number-positioning.config-BcLsEydB.js +0 -48
  805. package/components/evolution-number-positioning.config-CJii0q3V.cjs +0 -20
  806. package/components/evolution-number-slots.config-noZzIHkT.js +0 -37
  807. package/components/filter-expression-picker/filter-expression-picker.d.ts +0 -73
  808. package/components/filter-expression-picker/index.cjs +0 -20
  809. package/components/filter-expression-picker/index.d.ts +0 -7
  810. package/components/filter-expression-picker/index.js +0 -28
  811. package/components/filter-expression-picker-D28THjzU.cjs +0 -38
  812. package/components/filter-expression-picker-nW1Hff7C.js +0 -425
  813. package/components/filter-item/filter-item.d.ts +0 -84
  814. package/components/filter-item/index.cjs +0 -20
  815. package/components/filter-item/index.d.ts +0 -7
  816. package/components/filter-item/index.js +0 -28
  817. package/components/filter-item-BirgEXGE.cjs +0 -58
  818. package/components/filter-item-BoYKU9tK.js +0 -242
  819. package/components/filter-parameter-picker/filter-parameter-picker.d.ts +0 -25
  820. package/components/filter-parameter-picker/index.cjs +0 -22
  821. package/components/filter-parameter-picker/index.d.ts +0 -7
  822. package/components/filter-parameter-picker/index.js +0 -58
  823. package/components/filter-value-picker/filter-value-picker.d.ts +0 -65
  824. package/components/filter-value-picker/index.cjs +0 -20
  825. package/components/filter-value-picker/index.d.ts +0 -7
  826. package/components/filter-value-picker/index.js +0 -28
  827. package/components/filter-value-picker-1kMJ9slB.js +0 -151
  828. package/components/filter-value-picker-D08bAAKt.cjs +0 -60
  829. package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +0 -42
  830. package/components/filter-value-picker-datetime/index.cjs +0 -20
  831. package/components/filter-value-picker-datetime/index.d.ts +0 -7
  832. package/components/filter-value-picker-datetime/index.js +0 -28
  833. package/components/filter-value-picker-datetime-Cnwlipah.js +0 -139
  834. package/components/filter-value-picker-datetime-OIgFSdU2.cjs +0 -42
  835. package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +0 -81
  836. package/components/filter-value-picker-hierarchy/index.cjs +0 -20
  837. package/components/filter-value-picker-hierarchy/index.d.ts +0 -7
  838. package/components/filter-value-picker-hierarchy/index.js +0 -28
  839. package/components/filter-value-picker-hierarchy-BGgHIji-.cjs +0 -47
  840. package/components/filter-value-picker-hierarchy-DdMLbCO3.js +0 -232
  841. package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +0 -82
  842. package/components/filter-value-picker-numeric/index.cjs +0 -20
  843. package/components/filter-value-picker-numeric/index.d.ts +0 -7
  844. package/components/filter-value-picker-numeric/index.js +0 -28
  845. package/components/filter-value-picker-numeric-BL2gD2ED.cjs +0 -48
  846. package/components/filter-value-picker-numeric-BqrsENh6.js +0 -219
  847. package/components/filters-BLss6wBx.js +0 -407
  848. package/components/filters-rjc5xsF_.cjs +0 -150
  849. package/components/formatter-BeXmurVe.cjs +0 -20
  850. package/components/formatter-Cq5dFCyU.js +0 -1473
  851. package/components/formula-CNzBOTRQ.js +0 -138
  852. package/components/formula-DeRjtboJ.cjs +0 -45
  853. package/components/formula-codemirror/formula-codemirror.d.ts +0 -79
  854. package/components/formula-codemirror/index.d.ts +0 -7
  855. package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +0 -125
  856. package/components/formula-codemirror/pills/formula-aggregation/index.d.ts +0 -7
  857. package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +0 -28
  858. package/components/formula-codemirror/pills/formula-empty-argument-pill/index.d.ts +0 -7
  859. package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +0 -38
  860. package/components/formula-codemirror-D1hgPIW_.cjs +0 -215
  861. package/components/formula-codemirror-pnijOvXU.js +0 -12018
  862. package/components/formula-display-store-BBMmHCRp.js +0 -1090
  863. package/components/formula-display-store-Dn7r5kK8.cjs +0 -20
  864. package/components/formula-draggable-field/formula-draggable-field.d.ts +0 -53
  865. package/components/formula-draggable-field/index.d.ts +0 -8
  866. package/components/formula-draggable-field/types.d.ts +0 -24
  867. package/components/formula-editor-DvDB6JYI.js +0 -690
  868. package/components/formula-editor-Uejdzkm6.cjs +0 -224
  869. package/components/formula-field/formula-field.d.ts +0 -20
  870. package/components/formula-field/index.cjs +0 -20
  871. package/components/formula-field/index.d.ts +0 -7
  872. package/components/formula-field/index.js +0 -28
  873. package/components/formula-field-CNyKz9wY.cjs +0 -20
  874. package/components/formula-field-o_zZQACN.js +0 -40
  875. package/components/formula-input-base-DlVNZBUA.js +0 -236
  876. package/components/formula-input-base-fTF1KXpl.cjs +0 -49
  877. package/components/funnel-chart-options.config-6ifTq7Xh.js +0 -207
  878. package/components/funnel-chart-positioning.config-B_C8nr1y.js +0 -48
  879. package/components/funnel-chart-positioning.config-DhrMsuyt.cjs +0 -20
  880. package/components/funnel-chart-slots.config-BWszdEe8.js +0 -43
  881. package/components/get-css-variable-B8sJUuig.cjs +0 -20
  882. package/components/get-css-variable-r1spgqX0.js +0 -63
  883. package/components/get-dataset-name-DYLJB67F.js +0 -27
  884. package/components/get-dataset-name-DrTVBElb.cjs +0 -20
  885. package/components/groupings-BPlu4GFe.cjs +0 -20
  886. package/components/groupings-DAj2iFeA.js +0 -52
  887. package/components/heat-map-options.config-CezceVM3.js +0 -224
  888. package/components/heat-map-positioning.config-Bya2_TR8.cjs +0 -20
  889. package/components/heat-map-positioning.config-Cxembqle.js +0 -48
  890. package/components/heat-map-slots.config-Cwun49Qb.js +0 -37
  891. package/components/heat-table-options.config-C7kvRE10.js +0 -372
  892. package/components/heat-table-positioning.config-CNeTnuHy.js +0 -55
  893. package/components/heat-table-positioning.config-CYZr5ksc.cjs +0 -20
  894. package/components/heat-table-slots.config-nGB_B2mh.js +0 -49
  895. package/components/hexbin-map-options.config-8brGMkt_.js +0 -276
  896. package/components/hexbin-map-positioning.config-Dfdgub0y.js +0 -48
  897. package/components/hexbin-map-positioning.config-bXZEY4nP.cjs +0 -20
  898. package/components/hexbin-map-slots.config-BK-ftozd.js +0 -37
  899. package/components/image-options.config-Cz55iN7J.js +0 -153
  900. package/components/image-slots.config-kvHutBFK.js +0 -24
  901. package/components/interactive-viz-item/helpers/chart-helpers.d.ts +0 -7
  902. package/components/interactive-viz-item/index.cjs +0 -20
  903. package/components/interactive-viz-item/index.d.ts +0 -10
  904. package/components/interactive-viz-item/index.js +0 -28
  905. package/components/interactive-viz-item/interactive-viz-item.d.ts +0 -96
  906. package/components/interactive-viz-item/types.d.ts +0 -117
  907. package/components/interactive-viz-item-C3fzZq7j.js +0 -693
  908. package/components/interactive-viz-item-D-hR2G5x.cjs +0 -247
  909. package/components/item-grid-BruAZOla.cjs +0 -113
  910. package/components/item-grid-cyMiRw7P.js +0 -4559
  911. package/components/item-menu/item-list/item-list.d.ts +0 -37
  912. package/components/item-option-BclNWwdZ.cjs +0 -252
  913. package/components/item-option-CZb01VJb.js +0 -919
  914. package/components/item-option-action-button-group-AkMaJHuv.cjs +0 -53
  915. package/components/item-option-action-button-group-HfUtaTi9.js +0 -118
  916. package/components/item-option-base/item-option-base.d.ts +0 -23
  917. package/components/item-option-base-CZegYACf.cjs +0 -56
  918. package/components/item-option-base-DlHZAfWZ.js +0 -123
  919. package/components/item-option-color-palette-picker-B336qQRk.cjs +0 -40
  920. package/components/item-option-color-palette-picker-Dt4z0c4W.js +0 -2041
  921. package/components/item-option-color-picker-BRO416_T.js +0 -87
  922. package/components/item-option-color-picker-Hfu2fhRF.cjs +0 -34
  923. package/components/item-option-color-range-DWoaz57E.cjs +0 -98
  924. package/components/item-option-color-range-DgalNZ9b.js +0 -220
  925. package/components/item-option-multi-language-field-BvJXIFgu.js +0 -82
  926. package/components/item-option-multi-language-field-IQP6fbgB.cjs +0 -33
  927. package/components/item-option-number-field-B07NhNSm.cjs +0 -38
  928. package/components/item-option-number-field-CvGknDpu.js +0 -102
  929. package/components/item-option-panel-BWP9E8cW.cjs +0 -67
  930. package/components/item-option-panel-RYdx8Hfk.js +0 -183
  931. package/components/item-option-picker-C7SZfnLP.cjs +0 -37
  932. package/components/item-option-picker-DM1pU3w9.js +0 -77
  933. package/components/item-option-position-picker-BuDvx3SX.js +0 -117
  934. package/components/item-option-position-picker-M9CBH9NE.cjs +0 -32
  935. package/components/item-option-positions-number-field-C4zW5-Hc.cjs +0 -49
  936. package/components/item-option-positions-number-field-RN5AG-Ic.js +0 -164
  937. package/components/item-option-radio-button-group-Ce780UyR.js +0 -74
  938. package/components/item-option-radio-button-group-DRiwqorh.cjs +0 -37
  939. package/components/item-option-slider-BUdWMAzT.js +0 -81
  940. package/components/item-option-slider-CycHQFnr.cjs +0 -33
  941. package/components/item-option-switch-CM5R8wO_.cjs +0 -30
  942. package/components/item-option-switch-CvcZSytb.js +0 -69
  943. package/components/item-option-text-field-BZjOilSu.cjs +0 -33
  944. package/components/item-option-text-field-CyuYUITv.js +0 -80
  945. package/components/item-slot-drop-C6DO5mPk.js +0 -331
  946. package/components/item-slot-drop-CrzFRobc.cjs +0 -91
  947. package/components/item-slot-drop-panel-ChazcNSe.cjs +0 -57
  948. package/components/item-slot-drop-panel-DvmPk1pJ.js +0 -355
  949. package/components/item-slot-picker-CmG71mGy.js +0 -505
  950. package/components/item-slot-picker-DQkG3Lt7.cjs +0 -174
  951. package/components/item-slot-picker-panel-Bi2jXvQA.cjs +0 -81
  952. package/components/item-slot-picker-panel-DmGYI5YI.js +0 -448
  953. package/components/line-chart-options.config-OeRMkKMP.js +0 -248
  954. package/components/line-chart-positioning.config-CFHFq0wp.js +0 -55
  955. package/components/line-chart-positioning.config-Cqnfz4Lc.cjs +0 -20
  956. package/components/line-chart-slots.config-C6LEwEwh.js +0 -55
  957. package/components/load-data-fields-for-datasets-BNnr8x3m.js +0 -42
  958. package/components/load-data-fields-for-datasets-CW4Voiex.cjs +0 -20
  959. package/components/localized-mixin-B4fDdsF0.js +0 -45
  960. package/components/localized-mixin-CUuRZu9t.cjs +0 -20
  961. package/components/marker-map-options.config-CtW7nl1C.js +0 -117
  962. package/components/marker-map-positioning.config-BM-ZrmE9.cjs +0 -20
  963. package/components/marker-map-positioning.config-x3KUsgzD.js +0 -48
  964. package/components/marker-map-slots.config-Cyk-QFPT.js +0 -37
  965. package/components/ohlc-chart-options.config-Db40TXcB.js +0 -124
  966. package/components/ohlc-chart-positioning.config-C-vx6lt-.js +0 -78
  967. package/components/ohlc-chart-positioning.config-SIhJhFel.cjs +0 -20
  968. package/components/ohlc-chart-slots.config-CQFi8BIT.js +0 -68
  969. package/components/parallel-coordinates-plot-options.config-Bw8T5EE4.js +0 -42
  970. package/components/parallel-coordinates-plot-positioning.config-BaofZgit.js +0 -48
  971. package/components/parallel-coordinates-plot-positioning.config-Br1OGTEZ.cjs +0 -20
  972. package/components/parallel-coordinates-plot-slots.config-D5o-5y_j.js +0 -46
  973. package/components/period-over-period-condition.const-BZ7j5Z5t.js +0 -29
  974. package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +0 -20
  975. package/components/pivot-table-options.config-gL2C_zvT.js +0 -245
  976. package/components/pivot-table-positioning.config-BaBkuXV0.cjs +0 -20
  977. package/components/pivot-table-positioning.config-DeeS1MaO.js +0 -55
  978. package/components/pivot-table-slots.config-Cl5z3IQo.js +0 -55
  979. package/components/pragmatic-element-adapter-C_7HSvGV.js +0 -1252
  980. package/components/pragmatic-element-adapter-DPWYJiW9.cjs +0 -24
  981. package/components/pyramid-chart-options.config-348RYXh8.js +0 -260
  982. package/components/pyramid-chart-positioning.config-D14NnyH1.js +0 -55
  983. package/components/pyramid-chart-positioning.config-g55mkotb.cjs +0 -20
  984. package/components/pyramid-chart-slots.config-DNzq2hMx.js +0 -50
  985. package/components/radar-chart-options.config-BeGjchnc.js +0 -150
  986. package/components/radar-chart-positioning.config-C9fiYOnB.js +0 -55
  987. package/components/radar-chart-positioning.config-CWGfQ7-j.cjs +0 -20
  988. package/components/radar-chart-slots.config-CXgfvAkt.js +0 -53
  989. package/components/regular-table-options.config-Bf0VAtT_.js +0 -148
  990. package/components/regular-table-slots.config-DCkw4Xkq.js +0 -35
  991. package/components/route-map-options.config-DWG5127-.js +0 -326
  992. package/components/route-map-positioning.config-Cd4azpuW.js +0 -66
  993. package/components/route-map-positioning.config-Dswq4pH_.cjs +0 -20
  994. package/components/route-map-slots.config-DJ76FOsJ.js +0 -59
  995. package/components/sankey-diagram-options.config-DW72WBKU.js +0 -126
  996. package/components/sankey-diagram-positioning.config-CAHzdKBq.cjs +0 -20
  997. package/components/sankey-diagram-positioning.config-CzGCvTeX.js +0 -66
  998. package/components/sankey-diagram-slots.config-BCc8P4j0.js +0 -61
  999. package/components/scatter-plot-options.config-CUyWy2xE.js +0 -322
  1000. package/components/scatter-plot-positioning.config-C7nu7quv.js +0 -77
  1001. package/components/scatter-plot-positioning.config-CrVJZ-X9.cjs +0 -20
  1002. package/components/scatter-plot-slots.config-BMTdhTZG.js +0 -74
  1003. package/components/search-filter-options.config-B_qQjr68.js +0 -103
  1004. package/components/search-filter-slots.config-qCILSYzs.js +0 -39
  1005. package/components/slicer-filter-options.config-DK62SCMp.js +0 -235
  1006. package/components/slicer-filter-positioning.config-7sucz3_y.js +0 -48
  1007. package/components/slicer-filter-positioning.config-D9Tehydc.cjs +0 -20
  1008. package/components/slicer-filter-slots.config-C9_NdJm4.js +0 -44
  1009. package/components/slider-filter-options.config-CP5bXdih.js +0 -72
  1010. package/components/slider-filter-slots.config-15eAAGVn.js +0 -43
  1011. package/components/slot-menu/index.cjs +0 -20
  1012. package/components/slot-menu/index.d.ts +0 -10
  1013. package/components/slot-menu/index.js +0 -28
  1014. package/components/slot-menu/slot-menu.d.ts +0 -148
  1015. package/components/slot-menu/types.d.ts +0 -24
  1016. package/components/slot-menu-AavTGkLk.cjs +0 -71
  1017. package/components/slot-menu-Dz-O1ypQ.js +0 -426
  1018. package/components/slot-menu-list/index.cjs +0 -20
  1019. package/components/slot-menu-list/index.d.ts +0 -8
  1020. package/components/slot-menu-list/index.js +0 -28
  1021. package/components/slot-menu-list/slot-menu-list.d.ts +0 -47
  1022. package/components/slot-menu-list-BegM0w8C.js +0 -347
  1023. package/components/slot-menu-list-Cahst0TY.cjs +0 -44
  1024. package/components/slot-role-classification-2wChhpcq.cjs +0 -20
  1025. package/components/slot-role-classification-B8bkGhQ_.js +0 -133
  1026. package/components/slots-config-Cd4xAG4H.cjs +0 -20
  1027. package/components/slots-config-D3ivNWtC.js +0 -76
  1028. package/components/speedometer-chart-options.config-CtWGujmb.js +0 -246
  1029. package/components/speedometer-chart-positioning.config-CZgXkEsG.cjs +0 -20
  1030. package/components/speedometer-chart-positioning.config-DiDSe44G.js +0 -48
  1031. package/components/speedometer-chart-slots.config-DfTw7JTF.js +0 -39
  1032. package/components/spike-map-options.config-Ch0p9Q5l.js +0 -413
  1033. package/components/spike-map-positioning.config-RExJASrJ.cjs +0 -20
  1034. package/components/spike-map-positioning.config-W-xJbchu.js +0 -55
  1035. package/components/spike-map-slots.config-i-c0F9QM.js +0 -47
  1036. package/components/strip-plot-options.config-WICS2rnK.js +0 -53
  1037. package/components/strip-plot-positioning.config-C70pTRqg.cjs +0 -20
  1038. package/components/strip-plot-positioning.config-DsKb9ton.js +0 -48
  1039. package/components/strip-plot-slots.config-BuF7X3xN.js +0 -38
  1040. package/components/sunburst-chart-options.config-Bz-jP-gZ.js +0 -180
  1041. package/components/sunburst-chart-positioning.config-BAhEnZtE.js +0 -48
  1042. package/components/sunburst-chart-positioning.config-BHvaDZCC.cjs +0 -20
  1043. package/components/sunburst-chart-slots.config-Cq-E6kyI.js +0 -38
  1044. package/components/symbol-map-options.config-I89tFJUU.js +0 -177
  1045. package/components/symbol-map-positioning.config-B2RZQPND.cjs +0 -20
  1046. package/components/symbol-map-positioning.config-DNPiG975.js +0 -55
  1047. package/components/symbol-map-slots.config-BfdBHkzN.js +0 -53
  1048. package/components/text-options.config-BUiRyi3L.js +0 -67
  1049. package/components/text-slots.config-CM_ZaW3p.js +0 -24
  1050. package/components/treemap-chart-options.config-i7BH9mNl.js +0 -204
  1051. package/components/treemap-chart-positioning.config-C0LbkC6B.js +0 -55
  1052. package/components/treemap-chart-positioning.config-CIYguC9V.cjs +0 -20
  1053. package/components/treemap-chart-slots.config-CHkGtIOa.js +0 -47
  1054. package/components/utils-C8ATDm66.js +0 -240
  1055. package/components/utils-Cx4X0PBr.cjs +0 -20
  1056. package/components/venn-diagram-options.config-Wi0dQsAu.js +0 -24
  1057. package/components/venn-diagram-positioning.config-CGmfYuoj.cjs +0 -20
  1058. package/components/venn-diagram-positioning.config-CPUT2LXS.js +0 -55
  1059. package/components/venn-diagram-slots.config-DY04aeYK.js +0 -47
  1060. package/components/video-options.config-B6pQUPB7.js +0 -127
  1061. package/components/video-slots.config-C-kXGzo3.js +0 -24
  1062. package/components/viz-item-menu/index.cjs +0 -20
  1063. package/components/viz-item-menu/index.d.ts +0 -8
  1064. package/components/viz-item-menu/index.js +0 -28
  1065. package/components/viz-item-menu/types.d.ts +0 -9
  1066. package/components/viz-item-menu/viz-item-menu.d.ts +0 -75
  1067. package/components/viz-item-menu-BKXdr3_Q.cjs +0 -55
  1068. package/components/viz-item-menu-XoCSn7z_.js +0 -170
  1069. package/components/wordcloud-chart-options.config-D_AhgZRs.js +0 -90
  1070. package/components/wordcloud-chart-positioning.config-CqCOWKL4.js +0 -55
  1071. package/components/wordcloud-chart-positioning.config-roHRUT_m.cjs +0 -20
  1072. package/components/wordcloud-chart-slots.config-Cc5F92Tv.js +0 -45
  1073. package/deprecated-react/components/ai-chat.component.cjs +0 -1
  1074. package/deprecated-react/components/ai-interaction-textarea.component.cjs +0 -1
  1075. package/deprecated-react/components/data-field-level.component.cjs +0 -1
  1076. package/deprecated-react/components/data-fields-select.component.cjs +0 -1
  1077. package/deprecated-react/components/dataset-icon.component.cjs +0 -1
  1078. package/deprecated-react/components/dataset-selector-list.component.cjs +0 -1
  1079. package/deprecated-react/components/dataset-selector-row.component.cjs +0 -1
  1080. package/deprecated-react/components/display-settings-binning.component.cjs +0 -1
  1081. package/deprecated-react/components/display-settings-datetime.component.cjs +0 -1
  1082. package/deprecated-react/components/display-settings-grand-totals.component.cjs +0 -1
  1083. package/deprecated-react/components/display-settings-numeric.component.cjs +0 -1
  1084. package/deprecated-react/components/display-settings-period-over-period.component.cjs +0 -1
  1085. package/deprecated-react/components/display-settings.component.cjs +0 -1
  1086. package/deprecated-react/components/filter-expression-picker.component.cjs +0 -1
  1087. package/deprecated-react/components/filter-item.component.cjs +0 -1
  1088. package/deprecated-react/components/filter-parameter-picker.component.cjs +0 -1
  1089. package/deprecated-react/components/filter-value-picker-datetime.component.cjs +0 -1
  1090. package/deprecated-react/components/filter-value-picker-hierarchy.component.cjs +0 -1
  1091. package/deprecated-react/components/filter-value-picker-numeric.component.cjs +0 -1
  1092. package/deprecated-react/components/filter-value-picker.component.cjs +0 -1
  1093. package/deprecated-react/components/formula-field.component.cjs +0 -1
  1094. package/deprecated-react/components/interactive-viz-item.component.cjs +0 -1
  1095. package/deprecated-react/components/slot-menu-list.component.cjs +0 -1
  1096. package/deprecated-react/components/slot-menu.component.cjs +0 -1
  1097. package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
  1098. package/react/components/ai-chat.component.ts +0 -45
  1099. package/react/components/ai-interaction-textarea.component.ts +0 -30
  1100. package/react/components/data-field-level.component.ts +0 -30
  1101. package/react/components/data-fields-select.component.ts +0 -27
  1102. package/react/components/dataset-icon.component.ts +0 -22
  1103. package/react/components/dataset-selector-list.component.ts +0 -27
  1104. package/react/components/dataset-selector-row.component.ts +0 -30
  1105. package/react/components/display-settings-binning.component.ts +0 -27
  1106. package/react/components/display-settings-datetime.component.ts +0 -27
  1107. package/react/components/display-settings-grand-totals.component.ts +0 -27
  1108. package/react/components/display-settings-numeric.component.ts +0 -27
  1109. package/react/components/display-settings-period-over-period.component.ts +0 -27
  1110. package/react/components/display-settings.component.ts +0 -33
  1111. package/react/components/filter-expression-picker.component.ts +0 -27
  1112. package/react/components/filter-item.component.ts +0 -27
  1113. package/react/components/filter-parameter-picker.component.ts +0 -22
  1114. package/react/components/filter-value-picker-datetime.component.ts +0 -27
  1115. package/react/components/filter-value-picker-hierarchy.component.ts +0 -27
  1116. package/react/components/filter-value-picker-numeric.component.ts +0 -27
  1117. package/react/components/filter-value-picker.component.ts +0 -27
  1118. package/react/components/formula-field.component.ts +0 -30
  1119. package/react/components/interactive-viz-item.component.ts +0 -33
  1120. package/react/components/slot-menu-list.component.ts +0 -27
  1121. package/react/components/slot-menu.component.ts +0 -42
  1122. package/react/components/viz-item-menu.component.ts +0 -33
  1123. package/react/esm/components/ai-chat.component.d.ts +0 -24
  1124. package/react/esm/components/ai-chat.component.js +0 -29
  1125. package/react/esm/components/ai-interaction-textarea.component.d.ts +0 -14
  1126. package/react/esm/components/ai-interaction-textarea.component.js +0 -19
  1127. package/react/esm/components/data-field-level.component.d.ts +0 -14
  1128. package/react/esm/components/data-field-level.component.js +0 -19
  1129. package/react/esm/components/data-fields-select.component.d.ts +0 -12
  1130. package/react/esm/components/data-fields-select.component.js +0 -17
  1131. package/react/esm/components/dataset-icon.component.d.ts +0 -8
  1132. package/react/esm/components/dataset-icon.component.js +0 -13
  1133. package/react/esm/components/dataset-selector-list.component.d.ts +0 -12
  1134. package/react/esm/components/dataset-selector-list.component.js +0 -17
  1135. package/react/esm/components/dataset-selector-row.component.d.ts +0 -14
  1136. package/react/esm/components/dataset-selector-row.component.js +0 -19
  1137. package/react/esm/components/display-settings-binning.component.d.ts +0 -12
  1138. package/react/esm/components/display-settings-binning.component.js +0 -17
  1139. package/react/esm/components/display-settings-datetime.component.d.ts +0 -12
  1140. package/react/esm/components/display-settings-datetime.component.js +0 -17
  1141. package/react/esm/components/display-settings-grand-totals.component.d.ts +0 -12
  1142. package/react/esm/components/display-settings-grand-totals.component.js +0 -17
  1143. package/react/esm/components/display-settings-numeric.component.d.ts +0 -12
  1144. package/react/esm/components/display-settings-numeric.component.js +0 -17
  1145. package/react/esm/components/display-settings-period-over-period.component.d.ts +0 -12
  1146. package/react/esm/components/display-settings-period-over-period.component.js +0 -17
  1147. package/react/esm/components/display-settings.component.d.ts +0 -16
  1148. package/react/esm/components/display-settings.component.js +0 -21
  1149. package/react/esm/components/filter-expression-picker.component.d.ts +0 -12
  1150. package/react/esm/components/filter-expression-picker.component.js +0 -17
  1151. package/react/esm/components/filter-item.component.d.ts +0 -12
  1152. package/react/esm/components/filter-item.component.js +0 -17
  1153. package/react/esm/components/filter-parameter-picker.component.d.ts +0 -8
  1154. package/react/esm/components/filter-parameter-picker.component.js +0 -13
  1155. package/react/esm/components/filter-value-picker-datetime.component.d.ts +0 -12
  1156. package/react/esm/components/filter-value-picker-datetime.component.js +0 -17
  1157. package/react/esm/components/filter-value-picker-hierarchy.component.d.ts +0 -12
  1158. package/react/esm/components/filter-value-picker-hierarchy.component.js +0 -17
  1159. package/react/esm/components/filter-value-picker-numeric.component.d.ts +0 -12
  1160. package/react/esm/components/filter-value-picker-numeric.component.js +0 -17
  1161. package/react/esm/components/filter-value-picker.component.d.ts +0 -12
  1162. package/react/esm/components/filter-value-picker.component.js +0 -17
  1163. package/react/esm/components/formula-field.component.d.ts +0 -14
  1164. package/react/esm/components/formula-field.component.js +0 -19
  1165. package/react/esm/components/interactive-viz-item.component.d.ts +0 -16
  1166. package/react/esm/components/interactive-viz-item.component.js +0 -21
  1167. package/react/esm/components/slot-menu-list.component.d.ts +0 -12
  1168. package/react/esm/components/slot-menu-list.component.js +0 -17
  1169. package/react/esm/components/slot-menu.component.d.ts +0 -22
  1170. package/react/esm/components/slot-menu.component.js +0 -27
  1171. package/react/esm/components/viz-item-menu.component.d.ts +0 -16
  1172. package/react/esm/components/viz-item-menu.component.js +0 -21
  1173. package/storybook/inject-global-vars.d.ts +0 -1
  1174. package/storybook/register-components.d.ts +0 -51
  1175. package/types/ai-chat.types.d.ts +0 -95
  1176. package/types/data-field-events.types.d.ts +0 -7
@@ -0,0 +1,500 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2026 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 e, n as t } from "./base-DCUhSENj.js";
21
+ import { n, t as r } from "./localized-mixin-CRSfJ73Q.js";
22
+ import "./data-fields-select-CfGQXzkr.js";
23
+ import { c as i } from "./period-over-period-condition.const-CLEyEn-5.js";
24
+ import { a, c as o, i as s, l as c, o as l, s as u, u as d } from "./slot-menu-B18viCq_.js";
25
+ import { luzmoClose12 as f, luzmoCog as p, luzmoIcon as m, luzmoPlus as h } from "@luzmo/icons";
26
+ import "@luzmo/lucero/overlay";
27
+ import { html as g, unsafeCSS as _ } from "lit";
28
+ import { property as v, state as y } from "lit/decorators.js";
29
+ import { localized as b, msg as x } from "@lit/localize";
30
+ import "@luzmo/lucero/action-button";
31
+ import "@luzmo/lucero/tooltip";
32
+ import "@luzmo/lucero/field-label";
33
+ import { ifDefined as S } from "lit/directives/if-defined.js";
34
+ import { Task as C } from "@lit/task";
35
+ import { ContextProvider as w } from "@lit/context";
36
+ //#region src/components/item-slot-picker/item-slot-picker.module.scss?inline
37
+ var T = ":host{--luzmo-select-inline-size:100%;font-family:var(--luzmo-item-slot-picker-font-family,var(--luzmo-font-family))}.container{gap:var(--luzmo-item-slot-picker-gap,var(--item-slot-picker-gap,var(--luzmo-spacing-5)));flex-direction:column;width:fit-content;display:flex}.select-container{flex-direction:column;display:flex}.select-container .select-controls{align-items:center;gap:var(--luzmo-item-slot-picker-controls-gap,var(--item-slot-picker-controls-gap));flex-direction:row;flex:auto;display:flex}luzmo-data-fields-select{flex-grow:var(--luzmo-item-slot-picker-data-fields-select-flex-grow,var(--item-slot-picker-data-fields-select-flex-grow))}.calculation-control{align-items:center;gap:var(--luzmo-item-slot-picker-controls-gap,var(--item-slot-picker-controls-gap));flex:auto;min-width:0;display:flex}.calculation-label{align-items:center;gap:var(--luzmo-spacing-3);flex:auto;min-width:0;display:inline-flex}.calculation-label-icon{flex:none;display:inline-flex}.calculations-list{gap:var(--luzmo-item-slot-picker-gap,var(--item-slot-picker-gap,var(--luzmo-spacing-5)));flex-direction:column;flex:auto;min-width:0;display:flex}:host([grows]){--item-slot-picker-data-fields-select-flex-grow:1}:host([grows]) .container{width:100%}:host([grows]) .select-container{flex:auto}.extra-data-field-button-container{justify-content:center;align-items:center;display:flex}.item-slot-picker-label{font-size:var(--luzmo-item-slot-picker-label-font-size,var(--item-slot-picker-label-font-size));margin-right:var(--luzmo-item-slot-picker-text-to-controls,var(--item-slot-picker-text-to-controls));text-overflow:ellipsis;white-space:nowrap;flex-grow:1;overflow:hidden}.controls{align-items:center;gap:var(--luzmo-item-slot-picker-controls-gap,var(--item-slot-picker-controls-gap));background-color:var(--luzmo-item-slot-picker-controls-background-color,var(--item-slot-picker-controls-background-color));height:100%;color:var(--luzmo-item-slot-picker-controls-color,var(--item-slot-picker-controls-color));margin-right:var(--luzmo-item-slot-picker-controls-to-edge,var(--item-slot-picker-controls-to-edge));padding:0 var(--luzmo-item-slot-picker-controls-horizontal-padding,var(--item-slot-picker-controls-horizontal-padding));display:flex}.controls div{cursor:pointer;height:100%;padding:0 var(--luzmo-item-slot-picker-controls-control-horizontal-padding,var(--item-slot-picker-controls-control-horizontal-padding));align-items:center;display:flex}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-item-slot-picker-overlay-vertical-gap,var(--item-slot-picker-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-item-slot-picker-overlay-horizontal-gap,var(--item-slot-picker-overlay-horizontal-gap))}:host{--item-slot-picker-border-width:var(--luzmo-border-width);--item-slot-picker-border-style:dashed;--item-slot-picker-border-color:var(--luzmo-border-color);--item-slot-picker-accept-drag-controls-background-color:transparent;--item-slot-picker-font-color:var(--luzmo-font-color);--item-slot-picker-controls-background-color:transparent;--item-slot-picker-text-to-controls:var(--luzmo-spacing-3);--item-slot-picker-controls-to-edge:0;--item-slot-picker-controls-gap:var(--luzmo-spacing-2);--item-slot-picker-controls-horizontal-padding:var(--luzmo-spacing-2);--item-slot-picker-controls-control-horizontal-padding:var(--luzmo-spacing-3);--item-slot-picker-label-font-size:var(--luzmo-font-size);--item-slot-picker-horizontal-padding:var(--luzmo-spacing-4);--item-slot-picker-overlay-horizontal-gap:var(--luzmo-spacing-4);--item-slot-picker-overlay-vertical-gap:var(--luzmo-spacing-4)}:host([size=s]){--item-slot-picker-horizontal-padding:var(--luzmo-spacing-4);--item-slot-picker-overlay-horizontal-gap:var(--luzmo-spacing-4);--item-slot-picker-overlay-vertical-gap:var(--luzmo-spacing-4)}:host([size=l]),:host([size=xl]){--item-slot-picker-horizontal-padding:var(--luzmo-spacing-5);--item-slot-picker-overlay-horizontal-gap:var(--luzmo-spacing-5);--item-slot-picker-overlay-vertical-gap:var(--luzmo-spacing-5)}:host{box-sizing:border-box}", E = (e) => {
38
+ if ("columnId" in e && e.columnId) return e.columnId;
39
+ if ("formulaId" in e && e.formulaId) return e.formulaId;
40
+ if ("formula" in e && e.formula) return e.formula;
41
+ }, D = (e) => l(e), O = "::level::", k = (e, t) => `${e}${O}${t}`, A = class extends r(t(e, {
42
+ validSizes: [
43
+ "s",
44
+ "m",
45
+ "l",
46
+ "xl"
47
+ ],
48
+ noDefaultSize: !0
49
+ })) {
50
+ static {
51
+ this.styles = _(T);
52
+ }
53
+ _isAdHocFormula(e) {
54
+ return "formula" in e && typeof e.formula == "string";
55
+ }
56
+ constructor() {
57
+ super(), this._loadSlotsConfig = new C(this, {
58
+ task: async ([e]) => {
59
+ if (!e) return this._slotsConfig;
60
+ if (e !== this._itemTypeLoaded) {
61
+ this._itemTypeLoaded = e;
62
+ let t = await i(e);
63
+ return this._slotsConfig = t ?? [], this._slotsConfig;
64
+ }
65
+ return this._slotsConfig;
66
+ },
67
+ args: () => [this.itemType, this.language]
68
+ }), this._slotsConfig = [], this.slotConfiguration = {}, this.slotContents = [], this.contentLanguage = "en", this.disabled = !1, this.grows = !1, this.menu = "default", this.hasLabel = !1, this.selects = "multiple", this.search = "auto", this.icons = "menu-only", this.datasetsDataFields = [], this.placement = "bottom-start", this.slotMenuPlacement = "bottom-end", this.hideClear = !1, this._hasExtraEmptySelects = !1, this._currentSlotContents = [], this._store = new o(), this._changedSlotContents = (e, t = []) => {
69
+ let n = new CustomEvent("luzmo-slot-contents-changed", {
70
+ bubbles: !0,
71
+ composed: !0,
72
+ cancelable: !0,
73
+ detail: {
74
+ slotContents: e,
75
+ linkedDatasetsIds: t
76
+ }
77
+ });
78
+ return this.dispatchEvent(n), n;
79
+ }, new w(this, {
80
+ context: c,
81
+ initialValue: this._store
82
+ });
83
+ }
84
+ willUpdate(e) {
85
+ super.willUpdate(e), e.has("slotContents") && (this._currentSlotContents = structuredClone(this.slotContents ?? []), this._store?.setContents(this._currentSlotContents ?? [], this.slotName));
86
+ }
87
+ _onSlotMenuChanges(e) {
88
+ e.preventDefault(), e.stopPropagation(), (this.slotContents?.length ?? 0) === (e.detail.slotContents?.length ?? 0) ? (this._currentSlotContents = structuredClone(e.detail.slotContents ?? []), this.slotContents = structuredClone(e.detail.slotContents ?? []), this._store?.setContents(this._currentSlotContents ?? [], this.slotName), this._changedSlotContents(this._currentSlotContents, e.detail.linkedDatasetsIds ?? [])) : (this.slotContents = e.detail.slotContents ?? [], this._store?.setContents(this.slotContents ?? [], this.slotName), this._changedSlotContents(this.slotContents, e.detail.linkedDatasetsIds ?? []));
89
+ }
90
+ _setSlotContentAtIndex(e, t) {
91
+ let n = e.detail?.dataFields ?? [], r = n.length === 0;
92
+ t >= this._currentSlotContents.length && this._removeEmptySelect();
93
+ for (let e = this._currentSlotContents.length; e <= t; e++) this._currentSlotContents[e] || this._currentSlotContents.push({});
94
+ if (n.length > 0) {
95
+ let e = n[0], r = E(e), i = this._currentSlotContents[t], a = D(i), o = i?.level, c = e.level;
96
+ if (r && (r !== a || o !== c)) {
97
+ let n = typeof e.level == "number";
98
+ this._currentSlotContents[t] = s(e, n);
99
+ }
100
+ } else r && this._currentSlotContents.splice(t, 1);
101
+ this.slotContents = structuredClone(this._currentSlotContents.filter((e) => !!D(e))), this._changedSlotContents(this.slotContents);
102
+ }
103
+ _setSlotContents(e) {
104
+ let t = e.detail.dataFields ?? [], n = this._currentSlotContents.filter((e) => u(e, this.slotConfiguration));
105
+ this.slotConfiguration?.canAcceptMultipleDataFields && t.length > 1 || (t = t.slice(0, 1));
106
+ let r = this._getFilteredDatasetsDataFields(), i = t.map((e) => {
107
+ let t = s(e, typeof e.level == "number"), n = this._getSelectValueForSlotContent(t, r);
108
+ if (n) return {
109
+ selectionValue: n,
110
+ slotContent: t
111
+ };
112
+ }).filter((e) => !!e), a = new Set(i.map((e) => e.selectionValue));
113
+ this._currentSlotContents = this._currentSlotContents?.filter((e) => !u(e, this.slotConfiguration)).filter((e) => {
114
+ let t = this._getSelectValueForSlotContent(e, r);
115
+ return t ? a.has(t) : !1;
116
+ }) ?? [], i.forEach(({ selectionValue: e, slotContent: t }) => {
117
+ let n = this._currentSlotContents.findIndex((t) => this._getSelectValueForSlotContent(t, r) === e);
118
+ if (n !== -1) {
119
+ this._currentSlotContents[n] = t;
120
+ return;
121
+ }
122
+ this._currentSlotContents.push(t);
123
+ }), this._currentSlotContents = [...n, ...this._currentSlotContents], this.slotContents = structuredClone(this._currentSlotContents), this._changedSlotContents(this._currentSlotContents);
124
+ }
125
+ _renderFieldLabel() {
126
+ return g`<luzmo-field-label for="data-fields" size=${this.size}
127
+ >${this.label ?? x("Select...")}
128
+ </luzmo-field-label>`;
129
+ }
130
+ _removeEmptySelect() {
131
+ this._hasExtraEmptySelects = !1;
132
+ }
133
+ _getAcceptableDataFields() {
134
+ let e = [], t = this.slotConfiguration?.acceptableDataFieldTypes?.length ? this.slotConfiguration.acceptableDataFieldTypes : d;
135
+ return this.datasetsDataFields.forEach((n) => {
136
+ (n.columns?.filter((e) => t.includes(e.type ?? "")) ?? []).forEach((t) => {
137
+ e.push({
138
+ datasetId: n.id,
139
+ type: t.type,
140
+ name: t.name,
141
+ columnId: t.id,
142
+ description: t.description,
143
+ subtype: t.subtype,
144
+ format: t.format,
145
+ lowestLevel: t.lowestLevel,
146
+ duration_levels: t.duration_levels,
147
+ duration_format: t.duration_format,
148
+ expression: t.expression,
149
+ hierarchyLevels: t.hierarchyLevels,
150
+ currency: t.currency
151
+ });
152
+ }), this.slotConfiguration?.canAcceptFormula && (n.formulas ?? []).forEach((t) => {
153
+ t.type && (this._isAdHocFormula(t) ? e.push({
154
+ datasetId: n.id,
155
+ type: t.type,
156
+ name: t.label ?? { en: "Ad-hoc formula" },
157
+ formula: t.formula,
158
+ subtype: t.subtype ?? void 0,
159
+ format: t.format
160
+ }) : e.push({
161
+ datasetId: n.id,
162
+ type: t.type,
163
+ name: t.name,
164
+ formulaId: t.id,
165
+ description: t.description,
166
+ subtype: t.subtype,
167
+ format: t.format,
168
+ lowestLevel: t.lowestLevel,
169
+ duration_levels: t.duration_levels,
170
+ duration_format: t.duration_format,
171
+ expression: t.expression,
172
+ currency: t.currency
173
+ }));
174
+ });
175
+ }), e;
176
+ }
177
+ _getFirstAvailableDataField() {
178
+ let e = this._getAcceptableDataFields(), t = new Set(this._currentSlotContents.map((e) => e.columnId ?? e.formulaId ?? e.column ?? e.formula));
179
+ return e.find((e) => {
180
+ let n = E(e);
181
+ return n ? !t.has(n) : !1;
182
+ });
183
+ }
184
+ _hasAvailableDataFields() {
185
+ return !!this._getFirstAvailableDataField();
186
+ }
187
+ _addDataField() {
188
+ let e = this._getFirstAvailableDataField();
189
+ if (e) {
190
+ let t = s(e, !1);
191
+ this._currentSlotContents.push(t), this.slotContents = structuredClone(this._currentSlotContents), this._changedSlotContents(this.slotContents);
192
+ } else this._hasExtraEmptySelects = !0;
193
+ }
194
+ _renderExtraDataFieldButton() {
195
+ return this._hasAvailableDataFields() ? g`<div class="extra-data-field-button-container">
196
+ <luzmo-action-button
197
+ size="xs"
198
+ .label=${x("Add data field", { desc: "Aria label for add data field button" })}
199
+ @click=${this._addDataField}
200
+ ?disabled=${this._hasExtraEmptySelects || this.disabled}
201
+ >
202
+ ${m(h)}
203
+ </luzmo-action-button>
204
+ <luzmo-tooltip self-managed placement="top" size=${this.size}>
205
+ Add data field
206
+ </luzmo-tooltip>
207
+ </div>` : g`
208
+
209
+ `;
210
+ }
211
+ _renderSingleSelect() {
212
+ let e = this._renderFieldLabel(), t = this._currentSlotContents.length > 0;
213
+ if (!t && !this._hasExtraEmptySelects) return g`<div class="select-container">
214
+ ${this.hasLabel ? e : ""} ${this._renderSelectMenu(0)}
215
+ </div>`;
216
+ let n = this._currentSlotContents.map((t, n) => g` <div class="select-container">
217
+ ${this.hasLabel && n === 0 ? e : ""}
218
+ <div class="select-controls">
219
+ ${this._renderSelectMenu(n)}
220
+ ${this.slotContents?.length > 0 && !this.hideConfiguration ? g`<div class="controls">
221
+ <luzmo-action-button
222
+ .size=${this.size}
223
+ quiet
224
+ id=${`trigger-${n}`}
225
+ .label=${x("Edit", { desc: "Edit action label" })}
226
+ ?disabled=${this.disabled}
227
+ >
228
+ ${m(p)}
229
+ <luzmo-tooltip
230
+ self-managed
231
+ placement="top"
232
+ size=${this.size}
233
+ >
234
+ edit
235
+ </luzmo-tooltip>
236
+ </luzmo-action-button>
237
+ </div>` : ""}
238
+ ${this.slotContents?.length > 0 ? g`<luzmo-overlay
239
+ trigger=${`trigger-${n}@click`}
240
+ .placement=${this.slotMenuPlacement}
241
+ >
242
+ <luzmo-slot-menu
243
+ language=${this.language}
244
+ content-language=${this.contentLanguage}
245
+ slot-type=${this.slotConfiguration?.type}
246
+ slot-name=${S(this.slotName)}
247
+ item-type=${S(this.itemType)}
248
+ api-url=${S(this.apiUrl)}
249
+ auth-key=${S(this.authKey)}
250
+ auth-token=${S(this.authToken)}
251
+ .datasetsDataFields=${this.datasetsDataFields}
252
+ .areGrandTotalsEnabled=${this.slotConfiguration?.options?.areGrandTotalsEnabled}
253
+ .areDatetimeOptionsEnabled=${this.slotConfiguration?.options?.areDatetimeOptionsEnabled}
254
+ .isBinningDisabled=${this.slotConfiguration?.options?.isBinningDisabled}
255
+ .isAggregationDisabled=${this.slotConfiguration?.options?.isAggregationDisabled}
256
+ .isCumulativeSumEnabled=${this.slotConfiguration?.options?.isCumulativeSumEnabled}
257
+ .slotIndex=${n}
258
+ variant="popup"
259
+ .size=${this.size}
260
+ @luzmo-slot-contents-changed=${this._onSlotMenuChanges}
261
+ ></luzmo-slot-menu>
262
+ </luzmo-overlay>` : ""}
263
+ </div>
264
+ </div>`);
265
+ return this._hasExtraEmptySelects && n.push(g`<div class="select-container">
266
+ ${this._renderSelectMenu(this._currentSlotContents.length)}
267
+ </div>`), t && this.slotConfiguration?.canAcceptMultipleDataFields && n.push(this._renderExtraDataFieldButton()), n;
268
+ }
269
+ _renderMultipleSelect() {
270
+ let e = this._renderFieldLabel();
271
+ return g`<div class="select-container">
272
+ ${this.hasLabel ? e : ""}
273
+
274
+ <div class="select-controls">
275
+ ${this._renderMultipleSelectionControl()}
276
+ ${this.slotContents?.length > 0 && !this.hideConfiguration ? g`<div class="controls">
277
+ <luzmo-action-button
278
+ .size=${this.size}
279
+ quiet
280
+ id="trigger"
281
+ .label=${x("Edit", { desc: "Edit action label" })}
282
+ ?disabled=${this.disabled}
283
+ >
284
+ ${m(p)}
285
+ <luzmo-tooltip self-managed placement="top" size=${this.size}>
286
+ edit
287
+ </luzmo-tooltip>
288
+ </luzmo-action-button>
289
+ </div>` : ""}
290
+ ${this.slotContents?.length > 0 ? g`<luzmo-overlay
291
+ trigger="trigger@click"
292
+ .placement=${this.slotMenuPlacement}
293
+ >
294
+ <luzmo-slot-menu
295
+ language=${this.language}
296
+ content-language=${this.contentLanguage}
297
+ slot-type=${this.slotConfiguration?.type}
298
+ slot-name=${S(this.slotName)}
299
+ item-type=${S(this.itemType)}
300
+ api-url=${S(this.apiUrl)}
301
+ auth-key=${S(this.authKey)}
302
+ auth-token=${S(this.authToken)}
303
+ .datasetsDataFields=${this.datasetsDataFields}
304
+ .areGrandTotalsEnabled=${this.slotConfiguration?.options?.areGrandTotalsEnabled}
305
+ .areDatetimeOptionsEnabled=${this.slotConfiguration?.options?.areDatetimeOptionsEnabled}
306
+ .isBinningDisabled=${this.slotConfiguration?.options?.isBinningDisabled}
307
+ .isAggregationDisabled=${this.slotConfiguration?.options?.isAggregationDisabled}
308
+ .isCumulativeSumEnabled=${this.slotConfiguration?.options?.isCumulativeSumEnabled}
309
+ variant="popup"
310
+ .size=${this.size}
311
+ @luzmo-slot-contents-changed=${this._onSlotMenuChanges}
312
+ ></luzmo-slot-menu>
313
+ </luzmo-overlay>` : ""}
314
+ </div>
315
+ </div>`;
316
+ }
317
+ _renderMultipleSelectionControl() {
318
+ let e = this._currentSlotContents.map((e, t) => ({
319
+ content: e,
320
+ index: t
321
+ })).filter(({ content: e }) => u(e, this.slotConfiguration));
322
+ return e.length === 0 ? this._renderSelectMenu() : g`<div class="calculations-list">
323
+ ${e.map(({ content: e, index: t }) => this._renderCalculation(e, t))}
324
+ </div>
325
+ ${e.length < this._currentSlotContents.length ? this._renderSelectMenu(void 0, !0) : ""}`;
326
+ }
327
+ _getSelectValueForSlotContent(e, t) {
328
+ let n = D(e);
329
+ if (!n) return;
330
+ let r = e.columnId, i = e.level;
331
+ if (!r || typeof i != "number" || Number.isNaN(i)) return n;
332
+ let a;
333
+ for (let e of t) if (a = e.columns?.find((e) => e.id === r), a) break;
334
+ return a && (Array.isArray(a.hierarchyLevels) && a.hierarchyLevels.length > 2 && a.hierarchy_enabled === !0 && i >= 1 || (a.type === "datetime" || a.type === "array[datetime]") && typeof a.lowestLevel == "number" && i !== a.lowestLevel) ? k(r, i) : n;
335
+ }
336
+ _getFilteredDatasetsDataFields() {
337
+ let e = this.slotConfiguration?.acceptableDataFieldTypes?.length ? this.slotConfiguration.acceptableDataFieldTypes : d;
338
+ return this.datasetsDataFields.map((t) => ({
339
+ ...t,
340
+ columns: t.columns?.filter((t) => e.includes(t.type ?? "")) ?? [],
341
+ formulas: this.slotConfiguration?.canAcceptFormula ? t.formulas ?? [] : []
342
+ }));
343
+ }
344
+ _clearCalculation(e) {
345
+ this._currentSlotContents.splice(e, 1), this.slotContents = structuredClone(this._currentSlotContents), this._store?.setContents(this.slotContents, this.slotName), this._changedSlotContents(this.slotContents);
346
+ }
347
+ _renderCalculation(e, t) {
348
+ return g`<div class="calculation-control">
349
+ ${a(e)}
350
+ ${this.hideClear ? "" : g`<luzmo-action-button
351
+ quiet
352
+ .size=${this.size}
353
+ .label=${x("Clear calculation", { desc: "Clear an ad-hoc slot calculation and return to column selection" })}
354
+ ?disabled=${this.disabled}
355
+ @click=${() => this._clearCalculation(t)}
356
+ >
357
+ ${m(f)}
358
+ </luzmo-action-button>`}
359
+ </div>`;
360
+ }
361
+ _renderSelectMenu(e, t = !1) {
362
+ let n = e ?? 0, r = this._currentSlotContents[n];
363
+ if (!t && r && (e !== void 0 || this._currentSlotContents.length === 1) && u(r, this.slotConfiguration)) return this._renderCalculation(r, n);
364
+ let i = [], a = this._getFilteredDatasetsDataFields();
365
+ if (e !== void 0 && e >= this._currentSlotContents.length) i = [];
366
+ else if (i = this._currentSlotContents.filter((e) => !t || !u(e, this.slotConfiguration)).map((e) => this._getSelectValueForSlotContent(e, a)).filter((e) => typeof e == "string" && e.length > 0), this.selects === "single" && i?.length > 0) {
367
+ let t = i[e ?? 0];
368
+ i = t ? [t] : [];
369
+ }
370
+ return g`<luzmo-data-fields-select
371
+ .language=${this.language}
372
+ .contentLanguage=${this.contentLanguage}
373
+ .size=${this.size}
374
+ .icons=${this.icons}
375
+ .placeholder=${this.placeholder ?? x("Select...")}
376
+ .placement=${this.placement}
377
+ .search=${this.search}
378
+ ?disabled=${this.disabled}
379
+ allow-empty
380
+ .datasetsDataFields=${a}
381
+ .value=${i}
382
+ ?clearable=${!this.hideClear}
383
+ .selects=${this.selects === "multiple" && this.slotConfiguration?.canAcceptMultipleDataFields ? "multiple" : "single"}
384
+ data-index=${e ?? 0}
385
+ @luzmo-data-fields-selected=${this._handleSelectChange}
386
+ >
387
+ </luzmo-data-fields-select>`;
388
+ }
389
+ _handleSelectChange(e) {
390
+ if (this.selects === "single") {
391
+ let t = e.currentTarget?.dataset?.index, n = t ? Number.parseInt(t, 10) : 0;
392
+ this._setSlotContentAtIndex(e, Number.isNaN(n) ? 0 : n);
393
+ } else this._setSlotContents(e);
394
+ }
395
+ _itemSlotPickerMarkup() {
396
+ return g`
397
+ <div class="container">
398
+ ${this.selects === "multiple" ? this._renderMultipleSelect() : this._renderSingleSelect()}
399
+ </div>
400
+ `;
401
+ }
402
+ render() {
403
+ return this._loadSlotsConfig.render({
404
+ pending: () => g`
405
+ <p>Loading...</p>
406
+ `,
407
+ complete: (e) => {
408
+ if (this.slotName && this.itemType && e) {
409
+ let t = e.find((e) => e.name === this.slotName);
410
+ t && (this.slotConfiguration = t);
411
+ }
412
+ return this._itemSlotPickerMarkup();
413
+ },
414
+ error: (e) => g`
415
+ <div>
416
+ Could not load item-slot-picker: '${this.slotName}' of chart
417
+ '${this.itemType}': ${e}.
418
+ </div>
419
+ `
420
+ });
421
+ }
422
+ };
423
+ //#endregion
424
+ //#region src/components/item-slot-picker/index.ts
425
+ n([v({
426
+ type: String,
427
+ attribute: "api-url",
428
+ reflect: !0
429
+ })], A.prototype, "apiUrl", void 0), n([v({
430
+ type: String,
431
+ attribute: "auth-key",
432
+ reflect: !0
433
+ })], A.prototype, "authKey", void 0), n([v({
434
+ type: String,
435
+ attribute: "auth-token",
436
+ reflect: !0
437
+ })], A.prototype, "authToken", void 0), n([v({
438
+ type: String,
439
+ reflect: !0,
440
+ attribute: "item-type"
441
+ })], A.prototype, "itemType", void 0), n([v({
442
+ type: String,
443
+ reflect: !0,
444
+ attribute: "slot-name"
445
+ })], A.prototype, "slotName", void 0), n([v({ type: Object })], A.prototype, "slotConfiguration", void 0), n([v({ type: Array })], A.prototype, "slotContents", void 0), n([v({
446
+ type: String,
447
+ attribute: "content-language",
448
+ reflect: !0
449
+ })], A.prototype, "contentLanguage", void 0), n([v({
450
+ type: Boolean,
451
+ attribute: "disabled",
452
+ reflect: !0
453
+ })], A.prototype, "disabled", void 0), n([v({
454
+ type: Boolean,
455
+ attribute: "grows",
456
+ reflect: !0
457
+ })], A.prototype, "grows", void 0), n([v({
458
+ type: String,
459
+ reflect: !0
460
+ })], A.prototype, "menu", void 0), n([v({
461
+ type: Boolean,
462
+ attribute: "has-label",
463
+ reflect: !0
464
+ })], A.prototype, "hasLabel", void 0), n([v({
465
+ type: String,
466
+ reflect: !0
467
+ })], A.prototype, "label", void 0), n([v({
468
+ type: String,
469
+ reflect: !0
470
+ })], A.prototype, "selects", void 0), n([v({
471
+ type: String,
472
+ reflect: !0
473
+ })], A.prototype, "search", void 0), n([v({
474
+ type: String,
475
+ reflect: !0
476
+ })], A.prototype, "icons", void 0), n([v({
477
+ type: String,
478
+ attribute: "placeholder",
479
+ reflect: !0
480
+ })], A.prototype, "placeholder", void 0), n([v({
481
+ type: Array,
482
+ reflect: !1
483
+ })], A.prototype, "datasetsDataFields", void 0), n([v({
484
+ type: String,
485
+ reflect: !0
486
+ })], A.prototype, "placement", void 0), n([v({
487
+ type: String,
488
+ reflect: !0,
489
+ attribute: "slot-menu-placement"
490
+ })], A.prototype, "slotMenuPlacement", void 0), n([v({
491
+ type: Boolean,
492
+ reflect: !0,
493
+ attribute: "hide-configuration"
494
+ })], A.prototype, "hideConfiguration", void 0), n([v({
495
+ type: Boolean,
496
+ reflect: !0,
497
+ attribute: "hide-clear"
498
+ })], A.prototype, "hideClear", void 0), n([y()], A.prototype, "_hasExtraEmptySelects", void 0), A = n([b()], A), customElements.get("luzmo-item-slot-picker") || customElements.define("luzmo-item-slot-picker", A);
499
+ //#endregion
500
+ export { A as t };
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../item-slot-picker-panel-Bi2jXvQA.cjs");Object.defineProperty(exports,"LuzmoItemSlotPickerPanel",{enumerable:!0,get:function(){return e.t}});
20
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../item-slot-picker-panel-BsAwO_BR.cjs");Object.defineProperty(exports,"LuzmoItemSlotPickerPanel",{enumerable:!0,get:function(){return e.t}});
@@ -21,8 +21,8 @@
21
21
  (function() {
22
22
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
23
23
  let e = document.createElement("style");
24
- e.setAttribute("data-luzmo-vars", ""), e.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: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--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: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--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: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--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(e);
24
+ e.setAttribute("data-luzmo-vars", ""), e.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: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--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: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--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: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--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(e);
25
25
  }
26
26
  })();
27
- import { t as e } from "../item-slot-picker-panel-DmGYI5YI.js";
27
+ import { t as e } from "../item-slot-picker-panel-Dn5yJrZi.js";
28
28
  export { e as LuzmoItemSlotPickerPanel };
@@ -0,0 +1,81 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2026 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 e=require("./base-C637VyP1.cjs"),t=require("./localized-mixin-C-4Zk9oh.cjs"),n=require("./data-broker-DWEXs6-2.cjs"),r=require("./type-check-BehV9ZL1.cjs"),i=require("./localize-D3i4Epy_.cjs"),a=require("./period-over-period-condition.const-DDgiXIfR.cjs"),o=require("./slot-labels.config-DKnxOncr.cjs");require("./item-slot-picker-BllkOiQu.cjs");let s=require("lit"),c=require("lit/decorators.js"),l=require("@lit/localize");require("@luzmo/lucero/select"),require("@luzmo/lucero/field-label");let u=require("lit/directives/if-defined.js"),d=require("@lit/task");var f=`:host{font-size:var(--luzmo-item-slot-picker-panel-font-size,var(--luzmo-font-size));font-family:var(--luzmo-font-family,sans-serif);color:var(--luzmo-font-color,inherit);display:block}:host([size=s]){font-size:var(--luzmo-item-slot-picker-panel-font-size-s,var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-item-slot-picker-panel-font-size-l,var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-item-slot-picker-panel-font-size-xl,var(--luzmo-font-size-xl))}.container{flex-direction:column;align-items:flex-start;display:flex}.dataset-picker{align-self:stretch;align-items:flex-start;gap:var(--luzmo-item-slot-picker-panel-dataset-picker-gap,var(--luzmo-spacing-2));border-bottom-style:solid;border-bottom-width:var(--luzmo-item-slot-picker-panel-dataset-picker-border-width,1px);border-bottom-color:var(--luzmo-item-slot-picker-panel-dataset-picker-border-color,var(--luzmo-border-color));flex-direction:column;flex-shrink:0;margin-block-end:var(--luzmo-item-slot-picker-panel-dataset-picker-margin-block-end,var(--luzmo-spacing-4));padding-block-end:var(--luzmo-item-slot-picker-panel-dataset-picker-padding-block-end,var(--luzmo-spacing-4));display:flex}.slots-panel{gap:var(--luzmo-item-slot-picker-panel-gap,var(--luzmo-spacing-4));flex-direction:column;display:flex}.slot-container{gap:var(--luzmo-item-slot-picker-panel-slot-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}luzmo-field-label{margin:0}luzmo-item-slot-picker{display:block}:host([grows]) .container{align-items:stretch;width:100%}:host([grows]) .dataset-picker{align-items:stretch}:host([grows]) .dataset-picker luzmo-select{width:100%}`,p=50,m=class extends t.t(e.n(e.i,{validSizes:[`s`,`m`,`l`,`xl`],noDefaultSize:!0})){constructor(...e){super(...e),this._loadSlotsConfig=new d.Task(this,{task:async([e])=>{if(e&&e!==this._itemTypeLoaded){this._itemTypeLoaded=e;let t=await a.c(e);return this._slotsConfig=t??[],this._slotsConfig}return this._slotsConfig},args:()=>[this.itemType,this.language]}),this._slotsConfig=[],this._datasetListItems=[],this._datasetListRetrieving=!1,this._datasetListPending=!1,this._datasetNamesFetchAttempted=!1,this._hasMoreDatasets=!0,this._fetchedDatasetsDataFields=[],this._failedDatasetIds=new Set,this._loadDataFieldsTask=new d.Task(this,{args:()=>[this._currentDatasetId,this.apiUrl,this.authKey,this.authToken,this.datasetsDataFields.length],task:async([e,t,i,a,o])=>{if(o>0||!e)return null;if(!r.s(e))return console.warn(`[LuzmoItemSlotPickerPanel] Invalid dataset ID provided (not a valid UUID): ${e}`),this._failedDatasetIds.add(e),null;if(this._failedDatasetIds.has(e))return null;let s=this._fetchedDatasetsDataFields.find(t=>t.id===e);if(s&&s.columns&&s.columns.length>0)return s;try{let t=await n.t.fetchDatasetsWithColumnsAndFormulas([e]);if(t.length===0)return this._failedDatasetIds.add(e),null;let r=t[0],i=this._fetchedDatasetsDataFields.findIndex(t=>t.id===e);return i===-1?this._fetchedDatasetsDataFields=[...this._fetchedDatasetsDataFields,r]:this._fetchedDatasetsDataFields[i]=r,r}catch(t){return console.warn(`Failed to fetch dataset data fields:`,t),this._failedDatasetIds.add(e),null}}}),this.contentLanguage=`en`,this.slotsContents=[],this.selects=`multiple`,this.dataFieldsSearch=`auto`,this.datasetSearch=`auto`,this.icons=`menu-only`,this.datasetsDataFields=[],this.datasetIds=[],this.datasetPicker=!1,this.apiUrl=`https://api.luzmo.com`,this.placement=`bottom-start`,this.slotMenuPlacement=`bottom-end`,this.constraintMode=`auto`,this.grows=!1,this._currentSlotsContents=[],this._createSlotChangeHandler=e=>t=>{t.preventDefault(),t.stopPropagation();let n=t.detail.slotContents??[],r=this._applySlotConstraints(e,n);r!==null&&(this._currentSlotsContents=r,this.slotsContents=structuredClone(r),this.dispatchEvent(new CustomEvent(`luzmo-slots-contents-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotsContents:r}})))}}static{this.styles=(0,s.unsafeCSS)(f)}get _availableDatasets(){return this.datasetsDataFields.length>0?this.datasetsDataFields:this.datasetIds.length>0?this.datasetIds.map(e=>{let t=this._datasetListItems.find(t=>t.id===e);return t?{id:t.id,name:t.name,description:t.description}:{id:e,name:{en:e}}}):this._datasetListItems.length>0?this._datasetListItems.map(e=>({id:e.id,name:e.name,description:e.description})):[]}get _currentDatasetsDataFields(){if(this.datasetsDataFields.length>0){if(!this._currentDatasetId)return this.datasetsDataFields;let e=this.datasetsDataFields.find(e=>e.id===this._currentDatasetId);return e?[e]:this.datasetsDataFields}let e=this._loadDataFieldsTask.value;if(e)return[{id:e.id,name:e.name,description:e.description,columns:e.columns??[],formulas:e.formulas??[]}];if(this._fetchedDatasetsDataFields.length>0&&this._currentDatasetId){let e=this._fetchedDatasetsDataFields.find(e=>e.id===this._currentDatasetId);if(e)return[{id:e.id,name:e.name,description:e.description,columns:e.columns??[],formulas:e.formulas??[]}]}return[]}get _shouldFetchDatasetList(){return this.datasetPicker&&this.datasetsDataFields.length===0}_areDatasetsLinked(e,t){return e===t}_getUsedDatasetIds(){let e=new Set;for(let t of this._currentSlotsContents)for(let n of t.content)n.datasetId&&e.add(n.datasetId);return[...e]}willUpdate(e){super.willUpdate(e),e.has(`slotsContents`)&&(this._currentSlotsContents=structuredClone(this.slotsContents??[]));let t=e.has(`selectedDatasetId`),r=e.has(`datasetsDataFields`),i=e.has(`datasetIds`),a=e.has(`datasetPicker`),o=e.has(`authKey`),s=e.has(`authToken`),c=e.has(`apiUrl`);(i||o||s||c)&&(this._datasetListItems=[],this._hasMoreDatasets=!0,this._datasetNamesFetchAttempted=!1,this._fetchedDatasetsDataFields=[],this._failedDatasetIds.clear(),n.t.configure({apiUrl:this.apiUrl,authKey:this.authKey??``,authToken:this.authToken??``})),r&&this.datasetsDataFields.length>0&&(this._datasetListItems=[],this._hasMoreDatasets=!0,this._fetchedDatasetsDataFields=[],this._failedDatasetIds.clear()),(t||r||i)&&this._updateCurrentDatasetId(),(i||o||s||c||a)&&this.datasetIds.length>0&&this.datasetPicker&&this.datasetsDataFields.length===0&&this._datasetListItems.length===0&&this._fetchDatasetNamesForPicker()}_updateCurrentDatasetId(){let e=this._availableDatasets;if(this.selectedDatasetId&&e.some(e=>e.id===this.selectedDatasetId)){this._currentDatasetId=this.selectedDatasetId;return}if(this.selectedDatasetId&&this.datasetIds.includes(this.selectedDatasetId)){this._currentDatasetId=this.selectedDatasetId;return}this._currentDatasetId=e.length>0?e[0].id:void 0}async _fetchDatasetNamesForPicker(){if(this.datasetIds.length!==0){this._datasetListPending=!0;try{let e=await n.t.fetchDatasetNames(this.datasetIds);this._datasetListItems=e}catch(e){console.warn(`Failed to fetch dataset names:`,e)}finally{this._datasetListPending=!1,this._datasetNamesFetchAttempted=!0}}}async _loadMoreDatasets(e){if(!(this._datasetListRetrieving||!this._hasMoreDatasets)){this._datasetListRetrieving=!0,e&&(e.retrieving=!0);try{let e=this._datasetListItems.length,t=await n.t.fetchAllDatasets({offset:e,limit:p});this._datasetListItems=[...this._datasetListItems,...t.data],this._hasMoreDatasets=e+p<(t.pagination?.total??0),!this._currentDatasetId&&this._datasetListItems.length>0&&this._updateCurrentDatasetId()}catch(e){console.warn(`Failed to load dataset list:`,e),this._hasMoreDatasets=!1}finally{this._datasetListRetrieving=!1,e&&(e.retrieving=!1)}}}_handlePickerScrolled(e){if(this.datasetIds.length>0)return;let t=e.target,{last:n}=e.detail;n>=this._datasetListItems.length-10&&this._hasMoreDatasets&&this._loadMoreDatasets(t)}async _handlePickerOpened(e){let t=e.target;if(this._datasetListItems.length===0&&this._shouldFetchDatasetList&&this.datasetIds.length===0&&this._hasMoreDatasets){t.pending=!0;try{await this._loadMoreDatasets(t)}finally{t.pending=!1}}}_handleDatasetChange(e){let t=e.detail?.value?.[0];if(!t||t===this._currentDatasetId)return;let n=this._getUsedDatasetIds(),r=this._currentSlotsContents.some(e=>e.content.length>0),i=n.every(e=>this._areDatasetsLinked(e,t));if(r&&!i){if(this.constraintMode===`event-only`){this.dispatchEvent(new CustomEvent(`luzmo-dataset-constraint-triggered`,{bubbles:!0,composed:!0,detail:{previousDatasetId:this._currentDatasetId,newDatasetId:t,currentSlotsContents:structuredClone(this._currentSlotsContents),wouldClearSlots:!0}}));return}this._currentSlotsContents=[],this.slotsContents=[],this.dispatchEvent(new CustomEvent(`luzmo-slots-contents-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotsContents:[]}}))}this._currentDatasetId=t,this.dispatchEvent(new CustomEvent(`luzmo-dataset-changed`,{bubbles:!0,composed:!0,detail:{datasetId:t}}))}_getSlotContents(e){return this._currentSlotsContents?.find(t=>t.name===e)?.content??[]}_applySlotConstraints(e,t){let n=this.slotsConfiguration??this._slotsConfig,r=structuredClone(this._currentSlotsContents),i=structuredClone(this._currentSlotsContents),a=i.findIndex(t=>t.name===e);a===-1?i.push({name:e,content:t}):i[a].content=t;let o=[];for(let r of n){if(r.keepOnlyFirstWhenOtherSlotFilled?.includes(e)&&t.length>0){let t=i.findIndex(e=>e.name===r.name);t!==-1&&i[t].content.length>1&&(o.push({type:`keepOnlyFirstWhenOtherSlotFilled`,affectedSlotName:r.name,triggeredBySlotName:e}),i[t].content=[i[t].content[0]])}if(r.clearWhenOtherSlotHasMultipleItems?.includes(e)&&t.length>1){let t=i.findIndex(e=>e.name===r.name);t!==-1&&i[t].content.length>0&&(o.push({type:`clearWhenOtherSlotHasMultipleItems`,affectedSlotName:r.name,triggeredBySlotName:e}),i[t].content=[])}}if(this.constraintMode===`event-only`&&o.length>0){let n={triggerSlotName:e,proposedTriggerContents:t,originalSlotsContents:r,proposedSlotsContents:i,constraints:o};return this.dispatchEvent(new CustomEvent(`luzmo-slot-constraint-triggered`,{detail:n,bubbles:!0,composed:!0})),null}return i}_getTranslatedLabel(e){let t=(typeof e.label==`string`?e.label:e.label?i.t(e.label,this.language):void 0)??e.name;return o.t[t]?o.t[t]():t}_renderDatasetPicker(){if(!this.datasetPicker)return s.nothing;let e=this._availableDatasets,t=e.length>1,n=this.datasetIds.length>0,r=this._shouldFetchDatasetList;if(!t&&!n&&!r)return s.nothing;let a=this._datasetListPending||this.datasetIds.length>0&&this._datasetListItems.length===0&&this.datasetsDataFields.length===0&&!this._datasetNamesFetchAttempted,o=a?[]:e.map(e=>({value:e.id,label:i.t(e.name,this.contentLanguage)||e.id})),c=a?[]:this._currentDatasetId?[this._currentDatasetId]:[],d=a?(0,l.msg)(`Loading datasets...`):(0,l.msg)(`Select dataset...`);return s.html`
21
+ <div class="dataset-picker" part="dataset-picker">
22
+ <luzmo-field-label part="dataset-field-label" size=${this.size}>
23
+ ${this.datasetPickerLabel??(0,l.msg)(`Dataset`)}
24
+ </luzmo-field-label>
25
+ <luzmo-select
26
+ selects="single"
27
+ variant="highlight"
28
+ search=${(0,u.ifDefined)(this.datasetSearch)}
29
+ placement=${this.placement}
30
+ .size=${this.size}
31
+ .options=${o}
32
+ .value=${c}
33
+ .label=${d}
34
+ ?pending=${a}
35
+ @change=${this._handleDatasetChange}
36
+ @luzmo-opened=${this._handlePickerOpened}
37
+ @luzmo-scrolled=${this._handlePickerScrolled}
38
+ ></luzmo-select>
39
+ </div>
40
+ `}_renderSlot(e){let t=this._getSlotContents(e.name),n=this._createSlotChangeHandler(e.name),r=this._getTranslatedLabel(e);return s.html`
41
+ <div class="slot-container" part="slot-container">
42
+ <luzmo-field-label part="field-label" size=${this.size}>
43
+ ${r}${e.isRequired?` *`:``}
44
+ </luzmo-field-label>
45
+ <luzmo-item-slot-picker
46
+ part="item-slot-picker"
47
+ item-type=${(0,u.ifDefined)(this.itemType)}
48
+ slot-name=${e.name}
49
+ language=${this.language}
50
+ content-language=${this.contentLanguage}
51
+ api-url=${(0,u.ifDefined)(this.apiUrl)}
52
+ auth-key=${(0,u.ifDefined)(this.authKey)}
53
+ auth-token=${(0,u.ifDefined)(this.authToken)}
54
+ size=${this.size}
55
+ selects=${this.selects}
56
+ search=${(0,u.ifDefined)(this.dataFieldsSearch)}
57
+ icons=${(0,u.ifDefined)(this.icons)}
58
+ placement=${this.placement}
59
+ slot-menu-placement=${this.slotMenuPlacement}
60
+ ?grows=${this.grows}
61
+ aria-required=${e.isRequired?`true`:s.nothing}
62
+ .slotConfiguration=${e}
63
+ .slotContents=${t}
64
+ .datasetsDataFields=${this._currentDatasetsDataFields}
65
+ @luzmo-slot-contents-changed=${n}
66
+ ></luzmo-item-slot-picker>
67
+ </div>
68
+ `}_renderSlots(e){return s.html`
69
+ <div class="slots-panel" part="slots-panel">
70
+ ${e.map(e=>this._renderSlot(e))}
71
+ </div>
72
+ `}_renderContent(e){return s.html`
73
+ <div class="container" part="container">
74
+ ${this._renderDatasetPicker()}
75
+ ${this._renderSlots(e)}
76
+ </div>
77
+ `}render(){return this.slotsConfiguration&&this.slotsConfiguration.length>0?this._renderContent(this.slotsConfiguration):this._loadSlotsConfig.render({pending:()=>s.html`
78
+ <p role="status">Loading...</p>
79
+ `,complete:e=>!e||e.length===0?s.html`<p>No slots configuration found for ${this.itemType}</p>`:this._renderContent(e),error:e=>s.html`
80
+ <div role="alert">Could not load slots configuration for '${this.itemType}': ${e}.</div>
81
+ `})}};t.n([(0,c.state)()],m.prototype,`_datasetListItems`,void 0),t.n([(0,c.state)()],m.prototype,`_datasetListRetrieving`,void 0),t.n([(0,c.state)()],m.prototype,`_datasetListPending`,void 0),t.n([(0,c.state)()],m.prototype,`_currentDatasetId`,void 0),t.n([(0,c.state)()],m.prototype,`_fetchedDatasetsDataFields`,void 0),t.n([(0,c.property)({type:String,reflect:!0,attribute:`item-type`})],m.prototype,`itemType`,void 0),t.n([(0,c.property)({type:String,attribute:`content-language`,reflect:!0})],m.prototype,`contentLanguage`,void 0),t.n([(0,c.property)({type:Array})],m.prototype,`slotsConfiguration`,void 0),t.n([(0,c.property)({type:Array})],m.prototype,`slotsContents`,void 0),t.n([(0,c.property)({type:String,reflect:!0})],m.prototype,`selects`,void 0),t.n([(0,c.property)({type:String,reflect:!0,attribute:`data-fields-search`})],m.prototype,`dataFieldsSearch`,void 0),t.n([(0,c.property)({type:String,reflect:!0,attribute:`dataset-search`})],m.prototype,`datasetSearch`,void 0),t.n([(0,c.property)({type:String,reflect:!0})],m.prototype,`icons`,void 0),t.n([(0,c.property)({type:Array,reflect:!1})],m.prototype,`datasetsDataFields`,void 0),t.n([(0,c.property)({type:Array,attribute:`dataset-ids`})],m.prototype,`datasetIds`,void 0),t.n([(0,c.property)({type:String,attribute:`selected-dataset-id`,reflect:!0})],m.prototype,`selectedDatasetId`,void 0),t.n([(0,c.property)({type:Boolean,attribute:`dataset-picker`,reflect:!0})],m.prototype,`datasetPicker`,void 0),t.n([(0,c.property)({type:String,attribute:`dataset-picker-label`})],m.prototype,`datasetPickerLabel`,void 0),t.n([(0,c.property)({type:String,attribute:`api-url`})],m.prototype,`apiUrl`,void 0),t.n([(0,c.property)({type:String,attribute:`auth-key`})],m.prototype,`authKey`,void 0),t.n([(0,c.property)({type:String,attribute:`auth-token`})],m.prototype,`authToken`,void 0),t.n([(0,c.property)({type:String,reflect:!0})],m.prototype,`placement`,void 0),t.n([(0,c.property)({type:String,reflect:!0,attribute:`slot-menu-placement`})],m.prototype,`slotMenuPlacement`,void 0),t.n([(0,c.property)({type:String,reflect:!0,attribute:`constraint-mode`})],m.prototype,`constraintMode`,void 0),t.n([(0,c.property)({type:Boolean,reflect:!0})],m.prototype,`grows`,void 0),t.n([(0,c.state)()],m.prototype,`_currentSlotsContents`,void 0),m=t.n([(0,l.localized)()],m),customElements.get(`luzmo-item-slot-picker-panel`)||customElements.define(`luzmo-item-slot-picker-panel`,m),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return m}});