@luzmo/analytics-components-kit 1.0.9-beta.1 → 1.0.9-beta.11

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 (1112) hide show
  1. package/README.md +7 -1
  2. package/components/add-to-dashboard/add-to-dashboard.d.ts +134 -0
  3. package/components/add-to-dashboard/dashboard-actions.d.ts +14 -0
  4. package/components/add-to-dashboard/helpers/add-to-dashboard-helpers.d.ts +3 -0
  5. package/components/add-to-dashboard/index.cjs +20 -0
  6. package/components/add-to-dashboard/index.d.ts +11 -0
  7. package/components/add-to-dashboard/index.js +21 -0
  8. package/components/add-to-dashboard/types.d.ts +7 -0
  9. package/components/add-to-dashboard-BY70QBzE.js +805 -0
  10. package/components/add-to-dashboard-nYUaDghN.cjs +166 -0
  11. package/components/ai-chat/ai-chat-request.d.ts +1 -1
  12. package/components/ai-chat/ai-chat.d.ts +12 -4
  13. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +9 -2
  14. package/components/ai-chat/helpers/elicitation-template.d.ts +3 -1
  15. package/components/ai-chat/index.cjs +1 -1
  16. package/components/ai-chat/index.d.ts +2 -2
  17. package/components/ai-chat/index.js +2 -9
  18. package/components/ai-chat-DfuJOWao.cjs +338 -0
  19. package/components/ai-chat-DmDtBF47.js +4325 -0
  20. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +8 -1
  21. package/components/ai-interaction-textarea/index.cjs +1 -1
  22. package/components/ai-interaction-textarea/index.js +1 -8
  23. package/components/ai-interaction-textarea-6ECwAdeT.js +823 -0
  24. package/components/ai-interaction-textarea-CRyyTj_B.cjs +101 -0
  25. package/components/area-chart-positioning.config-CoCdjr2E.cjs +20 -0
  26. package/components/area-chart-positioning.config-o-uJPEr5.js +55 -0
  27. package/components/bar-chart-positioning.config-CZgrS6lc.js +59 -0
  28. package/components/bar-chart-positioning.config-fsB82756.cjs +20 -0
  29. package/components/base-BmvsQ-s1.cjs +20 -0
  30. package/components/base-CrpOMVeU.js +248 -0
  31. package/components/base-store-CkIsrRcu.cjs +20 -0
  32. package/components/base-store-gYqg__8A.js +151 -0
  33. package/components/box-plot-positioning.config-BMfGGDfe.cjs +20 -0
  34. package/components/box-plot-positioning.config-CDq460FI.js +48 -0
  35. package/components/bubble-chart-positioning.config-C9MmTtTX.cjs +20 -0
  36. package/components/bubble-chart-positioning.config-DWfz4tud.js +55 -0
  37. package/components/bullet-chart-positioning.config-BwHPM5ui.cjs +20 -0
  38. package/components/bullet-chart-positioning.config-DmSlVIjL.js +56 -0
  39. package/components/chart-helpers-DQS2iqSd.js +250 -0
  40. package/components/chart-helpers-ufZ6VbXs.cjs +20 -0
  41. package/components/choropleth-map-options.config-CP-IK-4W.js +352 -0
  42. package/components/choropleth-map-options.config-DSXndhIY.cjs +20 -0
  43. package/components/choropleth-map-positioning.config-C0m6zzD3.cjs +20 -0
  44. package/components/choropleth-map-positioning.config-cjBzi_Db.js +55 -0
  45. package/components/circle-pack-chart-positioning.config-BAFFQSHe.cjs +20 -0
  46. package/components/circle-pack-chart-positioning.config-CY2rLb57.js +48 -0
  47. package/components/circular-gauge-positioning.config-6pZUNxYa.js +48 -0
  48. package/components/circular-gauge-positioning.config-BfWAjAY2.cjs +20 -0
  49. package/components/color-B7SELPGq.js +3812 -0
  50. package/components/color-BIEQvHs4.cjs +20 -0
  51. package/components/color-range-utils-6oEqHV0y.js +63 -0
  52. package/components/color-range-utils-Bgzuy2bR.cjs +20 -0
  53. package/components/column-chart-positioning.config-hrAvNd7T.js +55 -0
  54. package/components/column-chart-positioning.config-xgRuA_l5.cjs +20 -0
  55. package/components/combination-chart-positioning.config-BI8HroaG.js +48 -0
  56. package/components/combination-chart-positioning.config-D0TU4hge.cjs +20 -0
  57. package/components/conditional-number-positioning.config-B_yISWne.cjs +20 -0
  58. package/components/conditional-number-positioning.config-CWaDhMLA.js +48 -0
  59. package/components/data-broker-Cb-Fq9xy.cjs +20 -0
  60. package/components/data-broker-DNfq_8Lg.js +1695 -0
  61. package/components/data-field/index.cjs +1 -1
  62. package/components/data-field/index.js +1 -8
  63. package/components/data-field-D4YFqg1H.js +119 -0
  64. package/components/data-field-Hi-ITTzx.cjs +54 -0
  65. package/components/data-field-level/index.cjs +1 -1
  66. package/components/data-field-level/index.js +1 -8
  67. package/components/data-field-level-BWQPtFP5.cjs +55 -0
  68. package/components/data-field-level-CB5GtdU5.js +245 -0
  69. package/components/data-field-panel/index.cjs +1 -1
  70. package/components/data-field-panel/index.js +1 -8
  71. package/components/data-field-panel-64HoViNT.js +383 -0
  72. package/components/data-field-panel-DzKwmQi_.cjs +87 -0
  73. package/components/data-fields-select/data-fields-select.d.ts +1 -1
  74. package/components/data-fields-select/index.cjs +1 -1
  75. package/components/data-fields-select/index.js +1 -8
  76. package/components/data-fields-select-BOwoWq0j.js +290 -0
  77. package/components/data-fields-select-DXv6PQHG.cjs +43 -0
  78. package/components/dataset-icon/dataset-icon.d.ts +5 -4
  79. package/components/dataset-icon/index.cjs +1 -1
  80. package/components/dataset-icon/index.js +1 -8
  81. package/components/dataset-icon-Bag_eDv8.js +115 -0
  82. package/components/dataset-icon-CWKBYjGJ.cjs +62 -0
  83. package/components/dataset-selector-list/index.cjs +1 -1
  84. package/components/dataset-selector-list/index.js +1 -8
  85. package/components/dataset-selector-list-DFC2bvn0.js +321 -0
  86. package/components/dataset-selector-list-_AL1-GWw.cjs +75 -0
  87. package/components/dataset-selector-row/dataset-selector-row.d.ts +10 -1
  88. package/components/dataset-selector-row/index.cjs +1 -1
  89. package/components/dataset-selector-row/index.js +1 -8
  90. package/components/dataset-selector-row-By2ko-Rd.cjs +104 -0
  91. package/components/dataset-selector-row-DC6mrVyF.js +448 -0
  92. package/components/de-CjQMTFtl.cjs +20 -0
  93. package/components/de-Yl3kqB03.js +594 -0
  94. package/components/defineProperty-AldSMFEH.js +58 -0
  95. package/components/defineProperty-X1c4tIPD.cjs +20 -0
  96. package/components/display-settings/display-settings.d.ts +2 -2
  97. package/components/display-settings/index.cjs +1 -1
  98. package/components/display-settings/index.js +1 -8
  99. package/components/display-settings-B2V_F_CU.cjs +142 -0
  100. package/components/display-settings-BsCKV9ae.js +316 -0
  101. package/components/display-settings-binning/index.cjs +1 -1
  102. package/components/display-settings-binning/index.js +1 -8
  103. package/components/display-settings-binning-BdtxayZT.cjs +56 -0
  104. package/components/display-settings-binning-CkrbhPVB.js +111 -0
  105. package/components/display-settings-datetime/index.cjs +1 -1
  106. package/components/display-settings-datetime/index.js +1 -8
  107. package/components/display-settings-datetime-CpFyrcGk.cjs +217 -0
  108. package/components/display-settings-datetime-mVh5Tjrx.js +414 -0
  109. package/components/display-settings-grand-totals/index.cjs +1 -1
  110. package/components/display-settings-grand-totals/index.js +1 -8
  111. package/components/display-settings-grand-totals-CwOGoE06.cjs +44 -0
  112. package/components/display-settings-grand-totals-D7unOEKl.js +90 -0
  113. package/components/display-settings-numeric/index.cjs +1 -1
  114. package/components/display-settings-numeric/index.js +1 -8
  115. package/components/display-settings-numeric-DDZyFNFF.js +480 -0
  116. package/components/display-settings-numeric-DhiXPU3f.cjs +190 -0
  117. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +2 -2
  118. package/components/display-settings-period-over-period/index.cjs +1 -1
  119. package/components/display-settings-period-over-period/index.js +1 -8
  120. package/components/display-settings-period-over-period-BNFjbgP0.cjs +227 -0
  121. package/components/display-settings-period-over-period-Hd172SzT.js +443 -0
  122. package/components/donut-chart-positioning.config-B2CrxOig.js +48 -0
  123. package/components/donut-chart-positioning.config-DQb53kWI.cjs +20 -0
  124. package/components/es-Ctf1SIsp.js +594 -0
  125. package/components/es-DmmTP7D0.cjs +20 -0
  126. package/components/evolution-number-positioning.config-BdH8pv6_.js +48 -0
  127. package/components/evolution-number-positioning.config-BzBsGcD4.cjs +20 -0
  128. package/components/filter-expression-picker/index.cjs +1 -1
  129. package/components/filter-expression-picker/index.js +1 -8
  130. package/components/filter-expression-picker-Bn_jAdQX.cjs +40 -0
  131. package/components/filter-expression-picker-Cjr8xWxy.js +434 -0
  132. package/components/filter-item/filter-item.d.ts +1 -1
  133. package/components/filter-item/index.cjs +1 -1
  134. package/components/filter-item/index.js +1 -8
  135. package/components/filter-item-CHJDVOju.cjs +111 -0
  136. package/components/filter-item-D6y8eCmG.js +793 -0
  137. package/components/filter-parameter-picker/index.cjs +1 -1
  138. package/components/filter-parameter-picker/index.js +1 -8
  139. package/components/filter-parameter-picker-C955tF0T.js +372 -0
  140. package/components/filter-parameter-picker-jyrh3POQ.cjs +124 -0
  141. package/components/filter-value-picker/index.cjs +1 -1
  142. package/components/filter-value-picker/index.js +1 -8
  143. package/components/filter-value-picker-B8nA8hTV.js +170 -0
  144. package/components/filter-value-picker-DmWiNLZH.cjs +69 -0
  145. package/components/filter-value-picker-datetime/index.cjs +1 -1
  146. package/components/filter-value-picker-datetime/index.js +1 -8
  147. package/components/filter-value-picker-datetime-BAhXn1BS.js +160 -0
  148. package/components/filter-value-picker-datetime-U4XWKSFx.cjs +51 -0
  149. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  150. package/components/filter-value-picker-hierarchy/index.js +1 -8
  151. package/components/filter-value-picker-hierarchy-1ya1_rS3.cjs +54 -0
  152. package/components/filter-value-picker-hierarchy-CUPz5Ggs.js +316 -0
  153. package/components/filter-value-picker-numeric/index.cjs +1 -1
  154. package/components/filter-value-picker-numeric/index.js +1 -8
  155. package/components/filter-value-picker-numeric-D8mLaxzj.js +237 -0
  156. package/components/filter-value-picker-numeric-DrHdHj31.cjs +54 -0
  157. package/components/filters/index.cjs +1 -1
  158. package/components/filters/index.js +1 -8
  159. package/components/filters-Byy8HE19.js +927 -0
  160. package/components/filters-C8xz8DV-.cjs +199 -0
  161. package/components/formula/formula.d.ts +2 -2
  162. package/components/formula/index.cjs +1 -1
  163. package/components/formula/index.js +1 -8
  164. package/components/formula-C6dPJyKm.cjs +45 -0
  165. package/components/formula-D_ipR6d1.js +136 -0
  166. package/components/formula-codemirror/formula-codemirror.d.ts +2 -2
  167. package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +2 -2
  168. package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +2 -2
  169. package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +1 -1
  170. package/components/formula-codemirror-C1UFMf6i.cjs +215 -0
  171. package/components/formula-codemirror-CdlIly66.js +12008 -0
  172. package/components/formula-display-store-B0ifmvCi.cjs +20 -0
  173. package/components/formula-display-store-CfObcBCd.js +1087 -0
  174. package/components/formula-editor/formula-aggregations-list.d.ts +2 -2
  175. package/components/formula-editor/formula-datasets-list.d.ts +2 -2
  176. package/components/formula-editor/formula-description.d.ts +1 -1
  177. package/components/formula-editor/formula-editor.d.ts +1 -1
  178. package/components/formula-editor/formula-functions-list.d.ts +2 -2
  179. package/components/formula-editor/index.cjs +1 -1
  180. package/components/formula-editor/index.d.ts +3 -3
  181. package/components/formula-editor/index.js +3 -10
  182. package/components/formula-editor-B9ikCsLK.cjs +224 -0
  183. package/components/formula-editor-DJ-0AVCl.js +685 -0
  184. package/components/formula-field/formula-field.d.ts +1 -1
  185. package/components/formula-field/index.cjs +1 -1
  186. package/components/formula-field/index.js +1 -8
  187. package/components/formula-field-Bq-RYt0H.js +38 -0
  188. package/components/formula-field-CNqn6Xbh.cjs +20 -0
  189. package/components/formula-input-base-Dple-9bo.js +236 -0
  190. package/components/formula-input-base-KSmmN1uI.cjs +49 -0
  191. package/components/fr-DKDPLLAZ.cjs +20 -0
  192. package/components/fr-zWhjQv4B.js +594 -0
  193. package/components/funnel-chart-positioning.config-DgRle8n1.js +48 -0
  194. package/components/funnel-chart-positioning.config-DleNZIG-.cjs +20 -0
  195. package/components/get-dataset-name-3UfKdy0m.cjs +20 -0
  196. package/components/get-dataset-name-trrlomzY.js +32 -0
  197. package/components/grid-core-BFNgmaGk.js +4490 -0
  198. package/components/grid-core-DY0vyroD.cjs +68 -0
  199. package/components/grid-core.cjs +20 -0
  200. package/components/grid-core.js +21 -0
  201. package/components/groupings-B55Oba6e.js +52 -0
  202. package/components/groupings-DEpTt8DV.cjs +20 -0
  203. package/components/heat-map-options.config-D58595hz.js +226 -0
  204. package/components/heat-map-options.config-DhQrM9S9.cjs +20 -0
  205. package/components/heat-map-positioning.config-BTabq_f9.js +48 -0
  206. package/components/heat-map-positioning.config-DCB3Eagz.cjs +20 -0
  207. package/components/heat-table-options.config-AhmEjDAb.cjs +20 -0
  208. package/components/heat-table-options.config-x-KBTZo1.js +269 -0
  209. package/components/heat-table-positioning.config-Dnu133l4.cjs +20 -0
  210. package/components/heat-table-positioning.config-pK8Wn1dw.js +55 -0
  211. package/components/hexbin-map-positioning.config-DjYp-lX8.js +48 -0
  212. package/components/hexbin-map-positioning.config-IqRt8f29.cjs +20 -0
  213. package/components/index.cjs +1 -1
  214. package/components/index.js +69 -73
  215. package/components/interactive-viz-item/index.cjs +1 -1
  216. package/components/interactive-viz-item/index.d.ts +2 -0
  217. package/components/interactive-viz-item/index.js +3 -9
  218. package/components/interactive-viz-item/interactive-viz-item.d.ts +21 -4
  219. package/components/interactive-viz-item/load-add-to-dashboard.d.ts +1 -0
  220. package/components/interactive-viz-item-CM-LoEa5.cjs +261 -0
  221. package/components/interactive-viz-item-D6lWVMHb.js +528 -0
  222. package/components/item-grid/actions.d.ts +2 -1
  223. package/components/item-grid/helpers/grid-chart-rendering.d.ts +12 -0
  224. package/components/item-grid/helpers/grid-events.d.ts +1 -56
  225. package/components/item-grid/helpers/grid-interactions.d.ts +1 -88
  226. package/components/item-grid/helpers/grid-item-management.d.ts +5 -26
  227. package/components/item-grid/helpers/grid-item-popover.d.ts +1 -21
  228. package/components/item-grid/helpers/grid-items.d.ts +1 -9
  229. package/components/item-grid/helpers/grid-keyboard-updates.d.ts +1 -18
  230. package/components/item-grid/helpers/grid-keydown-event.d.ts +1 -18
  231. package/components/item-grid/helpers/grid-popover-cleanup.d.ts +1 -4
  232. package/components/item-grid/helpers/grid-rendering.d.ts +0 -50
  233. package/components/item-grid/helpers/grid-stack-lifecycle.d.ts +1 -26
  234. package/components/item-grid/helpers/grid-theme.d.ts +2 -14
  235. package/components/item-grid/helpers/grid-update-cycle.d.ts +1 -22
  236. package/components/item-grid/index.cjs +1 -1
  237. package/components/item-grid/index.d.ts +3 -3
  238. package/components/item-grid/index.js +3 -9
  239. package/components/item-grid/item-grid.d.ts +12 -207
  240. package/components/item-grid/types.d.ts +1 -57
  241. package/components/item-grid-CbXKsQm4.js +245 -0
  242. package/components/item-grid-DTishUCb.cjs +41 -0
  243. package/components/item-grid-item-actions-menu/index.cjs +20 -0
  244. package/components/item-grid-item-actions-menu/index.d.ts +8 -0
  245. package/components/item-grid-item-actions-menu/index.js +21 -0
  246. package/components/item-grid-item-actions-menu/item-grid-item-actions-menu.d.ts +70 -0
  247. package/components/item-grid-item-actions-menu/types.d.ts +11 -0
  248. package/components/item-grid-item-actions-menu-B7ylgTwO.js +199 -0
  249. package/components/item-grid-item-actions-menu-C3BUxZJc.cjs +52 -0
  250. package/components/item-option/index.cjs +1 -1
  251. package/components/item-option/index.js +1 -8
  252. package/components/item-option-BTSV33ft.cjs +269 -0
  253. package/components/item-option-BUju6ZE1.js +953 -0
  254. package/components/item-option-action-button-group/index.cjs +1 -1
  255. package/components/item-option-action-button-group/index.js +1 -8
  256. package/components/item-option-action-button-group-CuDeyDRi.cjs +53 -0
  257. package/components/item-option-action-button-group-DnTBh3R4.js +117 -0
  258. package/components/item-option-base-BIDIiNfI.js +120 -0
  259. package/components/item-option-base-C6RQH9M8.cjs +56 -0
  260. package/components/item-option-color-palette-picker/index.cjs +1 -1
  261. package/components/item-option-color-palette-picker/index.js +1 -8
  262. package/components/item-option-color-palette-picker-DbsqP2zA.js +2040 -0
  263. package/components/item-option-color-palette-picker-DsG-wxGB.cjs +40 -0
  264. package/components/item-option-color-picker/index.cjs +1 -1
  265. package/components/item-option-color-picker/index.js +1 -8
  266. package/components/item-option-color-picker-BUN5YK-t.cjs +34 -0
  267. package/components/item-option-color-picker-CKGUj3cW.js +86 -0
  268. package/components/item-option-color-range/index.cjs +1 -1
  269. package/components/item-option-color-range/index.js +1 -8
  270. package/components/item-option-color-range-BN81ePAI.cjs +98 -0
  271. package/components/item-option-color-range-dMehrwqA.js +219 -0
  272. package/components/item-option-guidelines/index.cjs +1 -1
  273. package/components/item-option-guidelines/index.js +1 -8
  274. package/components/item-option-guidelines-Bn1HSCgL.js +420 -0
  275. package/components/item-option-guidelines-CmPaMdqb.cjs +135 -0
  276. package/components/item-option-multi-language-field/index.cjs +1 -1
  277. package/components/item-option-multi-language-field/index.js +1 -8
  278. package/components/item-option-multi-language-field-BFgbOzMM.js +81 -0
  279. package/components/item-option-multi-language-field-Du609wC_.cjs +33 -0
  280. package/components/item-option-number-field/index.cjs +1 -1
  281. package/components/item-option-number-field/index.js +1 -8
  282. package/components/item-option-number-field-CDcf6_4D.js +101 -0
  283. package/components/item-option-number-field-CVAtj0UX.cjs +38 -0
  284. package/components/item-option-panel/index.cjs +1 -1
  285. package/components/item-option-panel/index.js +1 -8
  286. package/components/item-option-panel-0iHLl9-q.cjs +67 -0
  287. package/components/item-option-panel-DUlIB6qj.js +181 -0
  288. package/components/item-option-picker/index.cjs +1 -1
  289. package/components/item-option-picker/index.js +1 -8
  290. package/components/item-option-picker-ClKAGpgs.js +76 -0
  291. package/components/item-option-picker-Dkc3nd3x.cjs +37 -0
  292. package/components/item-option-position-picker/index.cjs +1 -1
  293. package/components/item-option-position-picker/index.js +1 -8
  294. package/components/item-option-position-picker-O8PpyiRv.js +116 -0
  295. package/components/item-option-position-picker-qCKh0Mfs.cjs +32 -0
  296. package/components/item-option-positions-number-field/index.cjs +1 -1
  297. package/components/item-option-positions-number-field/index.js +1 -8
  298. package/components/item-option-positions-number-field-CBx4uQ39.js +165 -0
  299. package/components/item-option-positions-number-field-Dfe4ufnF.cjs +49 -0
  300. package/components/item-option-radio-button-group/index.cjs +1 -1
  301. package/components/item-option-radio-button-group/index.js +1 -8
  302. package/components/item-option-radio-button-group-B5OVbLRg.cjs +37 -0
  303. package/components/item-option-radio-button-group-J_ZusHOP.js +73 -0
  304. package/components/item-option-slider/index.cjs +1 -1
  305. package/components/item-option-slider/index.js +1 -8
  306. package/components/item-option-slider-BDAEs7Fk.cjs +33 -0
  307. package/components/item-option-slider-V9z4qqyE.js +97 -0
  308. package/components/item-option-switch/index.cjs +1 -1
  309. package/components/item-option-switch/index.js +1 -8
  310. package/components/item-option-switch-BA4ifIHK.js +68 -0
  311. package/components/item-option-switch-Bzy2VRLg.cjs +30 -0
  312. package/components/item-option-text-field/index.cjs +1 -1
  313. package/components/item-option-text-field/index.js +1 -8
  314. package/components/item-option-text-field-C-sTkUre.cjs +33 -0
  315. package/components/item-option-text-field-Cf0khC48.js +79 -0
  316. package/components/item-options-configs.cjs +1 -1
  317. package/components/item-options-configs.js +5 -5
  318. package/components/item-slot-drop/index.cjs +1 -1
  319. package/components/item-slot-drop/index.js +1 -8
  320. package/components/item-slot-drop-D2VDgqYS.js +329 -0
  321. package/components/item-slot-drop-DrJRtG7b.cjs +91 -0
  322. package/components/item-slot-drop-panel/index.cjs +1 -1
  323. package/components/item-slot-drop-panel/index.js +1 -8
  324. package/components/item-slot-drop-panel-CCCOwtYM.js +353 -0
  325. package/components/item-slot-drop-panel-CFerKcdH.cjs +57 -0
  326. package/components/item-slot-picker/index.cjs +1 -1
  327. package/components/item-slot-picker/index.js +1 -8
  328. package/components/item-slot-picker-BdfYcBKT.js +503 -0
  329. package/components/item-slot-picker-aqePvZ9B.cjs +174 -0
  330. package/components/item-slot-picker-panel/index.cjs +1 -1
  331. package/components/item-slot-picker-panel/index.js +1 -8
  332. package/components/item-slot-picker-panel-DC3i7XZP.js +446 -0
  333. package/components/item-slot-picker-panel-dU6NywBo.cjs +81 -0
  334. package/components/line-chart-positioning.config-BW19v66B.js +55 -0
  335. package/components/line-chart-positioning.config-DX5mLAP7.cjs +20 -0
  336. package/components/load-data-fields-for-datasets-C4h8NWIE.cjs +20 -0
  337. package/components/load-data-fields-for-datasets-CInmiDlZ.js +42 -0
  338. package/components/localized-mixin-Bt25Frg1.cjs +20 -0
  339. package/components/localized-mixin-CYMFnS-n.js +45 -0
  340. package/components/marker-map-positioning.config-BJGwlWKz.js +48 -0
  341. package/components/marker-map-positioning.config-C0V5LZG-.cjs +20 -0
  342. package/components/nl-BrjaaktE.cjs +20 -0
  343. package/components/nl-TUFktGm6.js +594 -0
  344. package/components/ohlc-chart-positioning.config-Bu1_IBVK.cjs +20 -0
  345. package/components/ohlc-chart-positioning.config-CFvbZzCR.js +78 -0
  346. package/components/parallel-coordinates-plot-positioning.config-Bc3qCyxq.js +48 -0
  347. package/components/parallel-coordinates-plot-positioning.config-EJz1XA1k.cjs +20 -0
  348. package/components/pivot-table-positioning.config-Bay8gxV-.js +55 -0
  349. package/components/pivot-table-positioning.config-CMzGb-BR.cjs +20 -0
  350. package/components/pyramid-chart-positioning.config-BUSeYxYH.js +55 -0
  351. package/components/pyramid-chart-positioning.config-CrU2vKM-.cjs +20 -0
  352. package/components/radar-chart-positioning.config-BEzqTXyr.cjs +20 -0
  353. package/components/radar-chart-positioning.config-DOLpdn-d.js +55 -0
  354. package/components/route-map-options.config-BnufVGcz.js +328 -0
  355. package/components/route-map-options.config-DA3k24sP.cjs +20 -0
  356. package/components/route-map-positioning.config-BgjizdWh.cjs +20 -0
  357. package/components/route-map-positioning.config-Brg6_eCi.js +66 -0
  358. package/components/sankey-diagram-positioning.config-DJlWiNYL.js +66 -0
  359. package/components/sankey-diagram-positioning.config-vccTz1pG.cjs +20 -0
  360. package/components/scatter-plot-positioning.config-BKqPHMrS.js +77 -0
  361. package/components/scatter-plot-positioning.config-D7uFFBVZ.cjs +20 -0
  362. package/components/set-locale-Bgz1WNGE.cjs +20 -0
  363. package/components/set-locale-s-1X7Jce.js +43 -0
  364. package/components/slicer-filter-positioning.config-D1kR4xly.cjs +20 -0
  365. package/components/slicer-filter-positioning.config-Gl9jhO_G.js +48 -0
  366. package/components/slot-menu/index.cjs +1 -1
  367. package/components/slot-menu/index.js +1 -8
  368. package/components/slot-menu/types.d.ts +1 -1
  369. package/components/slot-menu-CAhxaK5-.cjs +71 -0
  370. package/components/slot-menu-Dw53Y-iu.js +429 -0
  371. package/components/slot-menu-list/index.cjs +1 -1
  372. package/components/slot-menu-list/index.js +1 -8
  373. package/components/slot-menu-list-5NsRo9XD.js +348 -0
  374. package/components/slot-menu-list-CUsmYkiV.cjs +44 -0
  375. package/components/speedometer-chart-positioning.config-VBLrLNmO.js +48 -0
  376. package/components/speedometer-chart-positioning.config-fa90zZdb.cjs +20 -0
  377. package/components/spike-map-options.config-34Vf0UbN.cjs +20 -0
  378. package/components/spike-map-options.config-CBpHkAfo.js +415 -0
  379. package/components/spike-map-positioning.config-DrxdeFsj.cjs +20 -0
  380. package/components/spike-map-positioning.config-oYjk3n9a.js +55 -0
  381. package/components/strip-plot-positioning.config-Bx_fqmEj.cjs +20 -0
  382. package/components/strip-plot-positioning.config-lMn33cM4.js +48 -0
  383. package/components/sunburst-chart-positioning.config-C-We-zZF.js +48 -0
  384. package/components/sunburst-chart-positioning.config-D-GRWmyF.cjs +20 -0
  385. package/components/superPropGet-CBezYwzm.js +52 -0
  386. package/components/superPropGet-DmmlTXgo.cjs +20 -0
  387. package/components/symbol-map-positioning.config-B0sLlLzK.cjs +20 -0
  388. package/components/symbol-map-positioning.config-_TJSfpVj.js +55 -0
  389. package/components/tokens-BWMfo_w4.cjs +20 -0
  390. package/components/tokens-Ov1pCR4Y.js +29 -0
  391. package/components/treemap-chart-positioning.config-CO05Gv7X.cjs +20 -0
  392. package/components/treemap-chart-positioning.config-DAdvoS2I.js +55 -0
  393. package/components/utils/base.cjs +1 -1
  394. package/components/utils/base.js +2 -2
  395. package/components/utils/store.cjs +1 -1
  396. package/components/utils/store.js +1 -1
  397. package/components/utils-CGJh0jrq.cjs +20 -0
  398. package/components/utils-Dk4dM9xv.js +240 -0
  399. package/components/utils.cjs +1 -1
  400. package/components/utils.js +3 -3
  401. package/components/venn-diagram-positioning.config-DKXWVaUI.cjs +20 -0
  402. package/components/venn-diagram-positioning.config-DUwmPQ1A.js +55 -0
  403. package/components/wordcloud-chart-positioning.config-CgbB_SI0.cjs +20 -0
  404. package/components/wordcloud-chart-positioning.config-qK5_CF7v.js +55 -0
  405. package/custom-elements.json +7065 -5792
  406. package/deprecated-react/components/add-to-dashboard.component.cjs +1 -0
  407. package/deprecated-react/components/item-grid-item-actions-menu.component.cjs +1 -0
  408. package/grid-core/helpers/grid-events.d.ts +56 -0
  409. package/grid-core/helpers/grid-interactions.d.ts +88 -0
  410. package/grid-core/helpers/grid-item-management.d.ts +28 -0
  411. package/grid-core/helpers/grid-item-popover.d.ts +21 -0
  412. package/grid-core/helpers/grid-items.d.ts +9 -0
  413. package/grid-core/helpers/grid-keyboard-updates.d.ts +18 -0
  414. package/grid-core/helpers/grid-keydown-event.d.ts +18 -0
  415. package/grid-core/helpers/grid-popover-cleanup.d.ts +4 -0
  416. package/grid-core/helpers/grid-rendering.d.ts +41 -0
  417. package/grid-core/helpers/grid-stack-lifecycle.d.ts +26 -0
  418. package/grid-core/helpers/grid-theme.d.ts +15 -0
  419. package/grid-core/helpers/grid-update-cycle.d.ts +22 -0
  420. package/grid-core/index.d.ts +5 -0
  421. package/grid-core/item-grid-base.d.ts +223 -0
  422. package/grid-core/types.d.ts +57 -0
  423. package/index.d.ts +2 -1
  424. package/package.json +20 -9
  425. package/react/components/add-to-dashboard.component.ts +30 -0
  426. package/react/components/ai-chat.component.ts +1 -1
  427. package/react/components/interactive-viz-item.component.ts +11 -5
  428. package/react/components/item-grid-item-actions-menu.component.ts +30 -0
  429. package/react/components/item-grid.component.ts +4 -1
  430. package/react/esm/components/add-to-dashboard.component.d.ts +14 -0
  431. package/react/esm/components/add-to-dashboard.component.js +19 -0
  432. package/react/esm/components/ai-chat.component.d.ts +1 -1
  433. package/react/esm/components/ai-chat.component.js +1 -1
  434. package/react/esm/components/interactive-viz-item.component.d.ts +8 -4
  435. package/react/esm/components/interactive-viz-item.component.js +8 -4
  436. package/react/esm/components/item-grid-item-actions-menu.component.d.ts +14 -0
  437. package/react/esm/components/item-grid-item-actions-menu.component.js +19 -0
  438. package/react/esm/components/item-grid.component.d.ts +3 -1
  439. package/react/esm/components/item-grid.component.js +2 -0
  440. package/react/esm/index.d.ts +4 -3
  441. package/react/esm/index.js +10 -6
  442. package/react/index.ts +10 -6
  443. package/react/luzmo-stub.d.ts +15 -6
  444. package/react/package.json +2 -2
  445. package/standalone/chunks/add-to-dashboard-BrWieRxp.js +148 -0
  446. package/standalone/chunks/area-chart-options.config-CXWPLl-0.js +2 -0
  447. package/standalone/chunks/area-chart-options.de-Dr8RVJtb.js +2 -0
  448. package/standalone/chunks/area-chart-options.en-DV1AZ274.js +2 -0
  449. package/standalone/chunks/area-chart-options.es-Cg7uU7OK.js +2 -0
  450. package/standalone/chunks/area-chart-options.fr-CJjgrAt2.js +2 -0
  451. package/standalone/chunks/area-chart-options.nl-CTGxVXNo.js +2 -0
  452. package/standalone/chunks/area-chart-slots.config-Bxvau_Ii.js +2 -0
  453. package/standalone/chunks/axis-options.config-DP9f04t6.js +2 -0
  454. package/standalone/chunks/axis-options.i18n-BwkGC9PX.js +2 -0
  455. package/standalone/chunks/bar-chart-options.config-w4REKu0t.js +2 -0
  456. package/standalone/chunks/bar-chart-options.de-DCVBVtFi.js +2 -0
  457. package/standalone/chunks/bar-chart-options.en-B4xiZxTy.js +2 -0
  458. package/standalone/chunks/bar-chart-options.es-UqehXB9Z.js +2 -0
  459. package/standalone/chunks/bar-chart-options.fr-CaUBeZBK.js +2 -0
  460. package/standalone/chunks/bar-chart-options.nl-C2tFvUE8.js +2 -0
  461. package/standalone/chunks/bar-chart-slots.config-BWQoKCYJ.js +2 -0
  462. package/standalone/chunks/base-CLcNr-fQ.js +2 -0
  463. package/standalone/chunks/bliss-BS5cbLqS.js +2 -0
  464. package/standalone/chunks/box-plot-options.config-BlYMd4FN.js +2 -0
  465. package/standalone/chunks/box-plot-options.de-RDAv8kHb.js +2 -0
  466. package/standalone/chunks/box-plot-options.en-kGLfLsv3.js +2 -0
  467. package/standalone/chunks/box-plot-options.es-Dw3ivv22.js +2 -0
  468. package/standalone/chunks/box-plot-options.fr-De5nkQNr.js +2 -0
  469. package/standalone/chunks/box-plot-options.nl-DD1f-Nlt.js +2 -0
  470. package/standalone/chunks/box-plot-slots.config-4hmeA6nr.js +2 -0
  471. package/standalone/chunks/bubble-chart-options.config-BKPTymfC.js +2 -0
  472. package/standalone/chunks/bubble-chart-options.de-C4pA9ZdS.js +2 -0
  473. package/standalone/chunks/bubble-chart-options.en-DM-MH8pT.js +2 -0
  474. package/standalone/chunks/bubble-chart-options.es-C2VE7E7k.js +2 -0
  475. package/standalone/chunks/bubble-chart-options.fr-BugyvkW9.js +2 -0
  476. package/standalone/chunks/bubble-chart-options.nl-oDPNybDE.js +2 -0
  477. package/standalone/chunks/bubble-chart-slots.config-CqTUMwvW.js +2 -0
  478. package/standalone/chunks/bullet-chart-options.config-Cc5lKDjs.js +2 -0
  479. package/standalone/chunks/bullet-chart-options.de-Ci81seQn.js +2 -0
  480. package/standalone/chunks/bullet-chart-options.en-Dk95moRX.js +2 -0
  481. package/standalone/chunks/bullet-chart-options.es-eIqahAOr.js +2 -0
  482. package/standalone/chunks/bullet-chart-options.fr-CEABbpT0.js +2 -0
  483. package/standalone/chunks/bullet-chart-options.nl-B3gOPn5D.js +2 -0
  484. package/standalone/chunks/bullet-chart-slots.config-BiFMJsgN.js +2 -0
  485. package/standalone/chunks/calculate-data-field-icon-CrEVAfzJ.js +2 -0
  486. package/standalone/chunks/chart-helpers-BplLoVQz.js +2 -0
  487. package/standalone/chunks/choropleth-map-options.config-Ul1FSTwf.js +2 -0
  488. package/standalone/chunks/choropleth-map-options.de-eALhIYgW.js +2 -0
  489. package/standalone/chunks/choropleth-map-options.en-DNdPCTz7.js +2 -0
  490. package/standalone/chunks/choropleth-map-options.es-BoHXBNpE.js +2 -0
  491. package/standalone/chunks/choropleth-map-options.fr-Di8f-OWA.js +2 -0
  492. package/standalone/chunks/choropleth-map-options.nl-XKS-glHm.js +2 -0
  493. package/standalone/chunks/choropleth-map-slots.config-CRF7J3QP.js +2 -0
  494. package/standalone/chunks/circle-pack-chart-options.config-CjDkh4DG.js +2 -0
  495. package/standalone/chunks/circle-pack-chart-options.de-Dwf0pYf1.js +2 -0
  496. package/standalone/chunks/circle-pack-chart-options.en-DhCFF4vx.js +2 -0
  497. package/standalone/chunks/circle-pack-chart-options.es-DDKEbXse.js +2 -0
  498. package/standalone/chunks/circle-pack-chart-options.fr-Dezqd3QL.js +2 -0
  499. package/standalone/chunks/circle-pack-chart-options.nl-BNXyskRD.js +2 -0
  500. package/standalone/chunks/circle-pack-chart-slots.config-Deq7IUoK.js +2 -0
  501. package/standalone/chunks/circular-gauge-options.config-p2zb-ORR.js +2 -0
  502. package/standalone/chunks/circular-gauge-options.de-DXGoiD0i.js +2 -0
  503. package/standalone/chunks/circular-gauge-options.en-SHYrAgsX.js +2 -0
  504. package/standalone/chunks/circular-gauge-options.es-D4xJXTQ-.js +2 -0
  505. package/standalone/chunks/circular-gauge-options.fr-6vBd5iUe.js +2 -0
  506. package/standalone/chunks/circular-gauge-options.nl-CDoO99Is.js +2 -0
  507. package/standalone/chunks/circular-gauge-slots.config-C7yUFfFJ.js +2 -0
  508. package/standalone/chunks/classic-CHhNczKi.js +2 -0
  509. package/standalone/chunks/classic-dark-Cmrn7jod.js +2 -0
  510. package/standalone/chunks/color-DaeCRJ5Q.js +2 -0
  511. package/standalone/chunks/color-palettes-B41FvzWH.js +2 -0
  512. package/standalone/chunks/color-range-utils-CLqVCA5J.js +2 -0
  513. package/standalone/chunks/column-chart-options.config-v7fBgXRI.js +2 -0
  514. package/standalone/chunks/column-chart-options.de-OoMpZc7N.js +2 -0
  515. package/standalone/chunks/column-chart-options.en-B4xiZxTy.js +2 -0
  516. package/standalone/chunks/column-chart-options.es-BL-wKXpp.js +2 -0
  517. package/standalone/chunks/column-chart-options.fr-CaUBeZBK.js +2 -0
  518. package/standalone/chunks/column-chart-options.nl-C2tFvUE8.js +2 -0
  519. package/standalone/chunks/column-chart-slots.config-ZBLvqhEb.js +2 -0
  520. package/standalone/chunks/combination-chart-options.config-C9hmUPal.js +2 -0
  521. package/standalone/chunks/combination-chart-options.de-ChlEhT09.js +2 -0
  522. package/standalone/chunks/combination-chart-options.en-DhCXqnwj.js +2 -0
  523. package/standalone/chunks/combination-chart-options.es-DESqZp0U.js +2 -0
  524. package/standalone/chunks/combination-chart-options.fr-v6P2xQCi.js +2 -0
  525. package/standalone/chunks/combination-chart-options.nl-D8ato2ve.js +2 -0
  526. package/standalone/chunks/combination-chart-slots.config-BNVJfRB2.js +2 -0
  527. package/standalone/chunks/conditional-number-options.config-hdARPTD7.js +2 -0
  528. package/standalone/chunks/conditional-number-options.de-BNkYWqfn.js +2 -0
  529. package/standalone/chunks/conditional-number-options.en-J7yPXdbP.js +2 -0
  530. package/standalone/chunks/conditional-number-options.es-CKDTBiYp.js +2 -0
  531. package/standalone/chunks/conditional-number-options.fr-BX1cbt1S.js +2 -0
  532. package/standalone/chunks/conditional-number-options.nl-6IE86oA9.js +2 -0
  533. package/standalone/chunks/conditional-number-slots.config-B4kqODqw.js +2 -0
  534. package/standalone/chunks/create-lazy-loader-DC0rJePE.js +2 -0
  535. package/standalone/chunks/cs-DLnr3a23.js +2 -0
  536. package/standalone/chunks/da-BJgbo0uE.js +2 -0
  537. package/standalone/chunks/data-broker-Dgg5mQze.js +2 -0
  538. package/standalone/chunks/date-comparison-filter-options.config-a_qCDcWA.js +2 -0
  539. package/standalone/chunks/date-comparison-filter-options.de-WqpVCnC1.js +2 -0
  540. package/standalone/chunks/date-comparison-filter-options.en-Obm6KfbI.js +2 -0
  541. package/standalone/chunks/date-comparison-filter-options.es-CxYTNaTq.js +2 -0
  542. package/standalone/chunks/date-comparison-filter-options.fr-DhrKNPxX.js +2 -0
  543. package/standalone/chunks/date-comparison-filter-options.nl-D2RV7246.js +2 -0
  544. package/standalone/chunks/date-comparison-filter-slots.config-DfHq9lB8.js +2 -0
  545. package/standalone/chunks/date-filter-options.config-DHTbxiWn.js +2 -0
  546. package/standalone/chunks/date-filter-options.de-B83VkpDz.js +2 -0
  547. package/standalone/chunks/date-filter-options.en-DKQexBC1.js +2 -0
  548. package/standalone/chunks/date-filter-options.es-DfDqzkVB.js +2 -0
  549. package/standalone/chunks/date-filter-options.fr-DoZy8DU8.js +2 -0
  550. package/standalone/chunks/date-filter-options.nl-DKtF0sFB.js +2 -0
  551. package/standalone/chunks/date-filter-slots.config-DHaOkULx.js +2 -0
  552. package/standalone/chunks/de-BtQ1ecN1.js +2 -0
  553. package/standalone/chunks/de-DPgYMyja.js +2 -0
  554. package/standalone/chunks/decompose-numeric-format-BXLQ97e2.js +2 -0
  555. package/standalone/chunks/default-Bi3Z4SMm.js +2 -0
  556. package/standalone/chunks/default-dark-C2ykXPQt.js +2 -0
  557. package/standalone/chunks/default-local-formats-CES1ItiK.js +2 -0
  558. package/standalone/chunks/display-settings-binning-B_lKObyP.js +38 -0
  559. package/standalone/chunks/display-settings-datetime-CTmJyEOX.js +199 -0
  560. package/standalone/chunks/display-settings-grand-totals-IjcbBoyZ.js +26 -0
  561. package/standalone/chunks/display-settings-numeric-D9hvRtfN.js +172 -0
  562. package/standalone/chunks/display-settings-period-over-period-Dnstsyqe.js +209 -0
  563. package/standalone/chunks/donut-chart-options.config-BuZj-QX5.js +2 -0
  564. package/standalone/chunks/donut-chart-options.de-QusCBL9B.js +2 -0
  565. package/standalone/chunks/donut-chart-options.en-D0ligFH6.js +2 -0
  566. package/standalone/chunks/donut-chart-options.es-Bmn34sGt.js +2 -0
  567. package/standalone/chunks/donut-chart-options.fr-DGBawYKp.js +2 -0
  568. package/standalone/chunks/donut-chart-options.nl-DzNTu0v4.js +2 -0
  569. package/standalone/chunks/donut-chart-slots.config-7pDpzNBG.js +2 -0
  570. package/standalone/chunks/dropdown-filter-options.config-zwR7hmkX.js +2 -0
  571. package/standalone/chunks/dropdown-filter-options.de-dj6aTNQQ.js +2 -0
  572. package/standalone/chunks/dropdown-filter-options.en-DH7Jfk8Q.js +2 -0
  573. package/standalone/chunks/dropdown-filter-options.es-K2L8ln9j.js +2 -0
  574. package/standalone/chunks/dropdown-filter-options.fr-CMapzFiR.js +2 -0
  575. package/standalone/chunks/dropdown-filter-options.nl-BLAyit4D.js +2 -0
  576. package/standalone/chunks/dropdown-filter-slots.config-DkqLjilE.js +2 -0
  577. package/standalone/chunks/embed-Dymwil3u.js +228 -0
  578. package/standalone/chunks/en-BD2RCLuw.js +2 -0
  579. package/standalone/chunks/en-GB-DnwmFNwC.js +2 -0
  580. package/standalone/chunks/en-US-BD2RCLuw.js +2 -0
  581. package/standalone/chunks/es-CAWreooi.js +2 -0
  582. package/standalone/chunks/es-Dp1UuDDz.js +2 -0
  583. package/standalone/chunks/evolution-number-options.config-B5Cj0YAQ.js +2 -0
  584. package/standalone/chunks/evolution-number-options.de-Ch0LaHwI.js +2 -0
  585. package/standalone/chunks/evolution-number-options.en-riChGfa6.js +2 -0
  586. package/standalone/chunks/evolution-number-options.es-BdG3lvVQ.js +2 -0
  587. package/standalone/chunks/evolution-number-options.fr-_h0kLeRL.js +2 -0
  588. package/standalone/chunks/evolution-number-options.nl-CqycrLe1.js +2 -0
  589. package/standalone/chunks/evolution-number-slots.config-IqPfnCrw.js +2 -0
  590. package/standalone/chunks/fi-CLQ6vC7V.js +2 -0
  591. package/standalone/chunks/filters-CBmZhipt.js +544 -0
  592. package/standalone/chunks/formatter-B7zz6UOp.js +2 -0
  593. package/standalone/chunks/formula-codemirror-D2F6Aj2h.js +197 -0
  594. package/standalone/chunks/fr-BG0nQk8g.js +2 -0
  595. package/standalone/chunks/fr-D8xrUEX4.js +2 -0
  596. package/standalone/chunks/funnel-chart-options.config-1SyJ_qYd.js +2 -0
  597. package/standalone/chunks/funnel-chart-options.de-BTxwd7Pe.js +2 -0
  598. package/standalone/chunks/funnel-chart-options.en-CmY-uO1P.js +2 -0
  599. package/standalone/chunks/funnel-chart-options.es-DLqBydsE.js +2 -0
  600. package/standalone/chunks/funnel-chart-options.fr-ztQ5OMZi.js +2 -0
  601. package/standalone/chunks/funnel-chart-options.nl-DVysx7tP.js +2 -0
  602. package/standalone/chunks/funnel-chart-slots.config-DfeuNGEL.js +2 -0
  603. package/standalone/chunks/guidelines-options.config-CS29_J9M.js +2 -0
  604. package/standalone/chunks/he-DHPb0VBo.js +2 -0
  605. package/standalone/chunks/heat-map-options.config-DYIrP8cV.js +2 -0
  606. package/standalone/chunks/heat-map-options.de-BfJMMX2Q.js +2 -0
  607. package/standalone/chunks/heat-map-options.en-Dr653pN6.js +2 -0
  608. package/standalone/chunks/heat-map-options.es-CklrBP1w.js +2 -0
  609. package/standalone/chunks/heat-map-options.fr-DwtCOHrA.js +2 -0
  610. package/standalone/chunks/heat-map-options.nl-DQBLussF.js +2 -0
  611. package/standalone/chunks/heat-map-slots.config-BVBzVjJJ.js +2 -0
  612. package/standalone/chunks/heat-table-options.config-ByHwT44G.js +2 -0
  613. package/standalone/chunks/heat-table-options.de-BMx67hXo.js +2 -0
  614. package/standalone/chunks/heat-table-options.en-BbobGoXs.js +2 -0
  615. package/standalone/chunks/heat-table-options.es-zKo-QMBY.js +2 -0
  616. package/standalone/chunks/heat-table-options.fr-XSTL1CSb.js +2 -0
  617. package/standalone/chunks/heat-table-options.nl-Cgcccsee.js +2 -0
  618. package/standalone/chunks/heat-table-slots.config-CcOl-PCp.js +2 -0
  619. package/standalone/chunks/helpers-DalWg6k7.js +2 -0
  620. package/standalone/chunks/hexbin-map-options.config-Elr44Jin.js +2 -0
  621. package/standalone/chunks/hexbin-map-options.de-C45yz1mZ.js +2 -0
  622. package/standalone/chunks/hexbin-map-options.en-CIrLRJJ1.js +2 -0
  623. package/standalone/chunks/hexbin-map-options.es-wf4yF2eW.js +2 -0
  624. package/standalone/chunks/hexbin-map-options.fr-C0SN47Nq.js +2 -0
  625. package/standalone/chunks/hexbin-map-options.nl-CweMyvfk.js +2 -0
  626. package/standalone/chunks/hexbin-map-slots.config-D6qVm4nj.js +2 -0
  627. package/standalone/chunks/hu-BpaYooip.js +2 -0
  628. package/standalone/chunks/image-options.config-Cj4r1ypi.js +2 -0
  629. package/standalone/chunks/image-options.de-CFUHfYzb.js +2 -0
  630. package/standalone/chunks/image-options.en-BIyq9f_H.js +2 -0
  631. package/standalone/chunks/image-options.es-BD---IOk.js +2 -0
  632. package/standalone/chunks/image-options.fr-BGFgsNTs.js +2 -0
  633. package/standalone/chunks/image-options.nl-DD1JEJSa.js +2 -0
  634. package/standalone/chunks/image-slots.config-CdWEUY0l.js +2 -0
  635. package/standalone/chunks/info-tooltip-options.config-DtfU5ZO8.js +2 -0
  636. package/standalone/chunks/info-tooltip-options.i18n-B_gjTq0R.js +2 -0
  637. package/standalone/chunks/interactivity-options.config-09eXx6k6.js +2 -0
  638. package/standalone/chunks/interactivity-options.i18n-BLDCmZkC.js +2 -0
  639. package/standalone/chunks/it-DWTvD2Xn.js +2 -0
  640. package/standalone/chunks/item-option-action-button-group-BZyiRTfe.js +35 -0
  641. package/standalone/chunks/item-option-base-Bk5qxdcQ.js +38 -0
  642. package/standalone/chunks/item-option-color-palette-picker-O8kT0i8p.js +22 -0
  643. package/standalone/chunks/item-option-color-picker-CUTCc_yN.js +16 -0
  644. package/standalone/chunks/item-option-color-range-DsKPvjLj.js +80 -0
  645. package/standalone/chunks/item-option-guidelines-CZyvhgtN.js +117 -0
  646. package/standalone/chunks/item-option-multi-language-field-DlC-cCD7.js +15 -0
  647. package/standalone/chunks/item-option-number-field-BW9VpN9_.js +20 -0
  648. package/standalone/chunks/item-option-panel-BXA3sIYG.js +298 -0
  649. package/standalone/chunks/item-option-picker-B2KmO7a6.js +19 -0
  650. package/standalone/chunks/item-option-position-picker-C9C9SKDD.js +14 -0
  651. package/standalone/chunks/item-option-positions-number-field-C2ahVlxe.js +31 -0
  652. package/standalone/chunks/item-option-radio-button-group-2q3doUXH.js +19 -0
  653. package/standalone/chunks/item-option-slider-C7TT3CqL.js +15 -0
  654. package/standalone/chunks/item-option-switch-CZR2_Bs9.js +12 -0
  655. package/standalone/chunks/item-option-text-field-DBUOD_fv.js +15 -0
  656. package/standalone/chunks/item-slot-picker-panel-CTePASjI.js +439 -0
  657. package/standalone/chunks/ja-CtDlXHD1.js +2 -0
  658. package/standalone/chunks/ko-CekuHU50.js +2 -0
  659. package/standalone/chunks/line-chart-options.config-DyqQLGw8.js +2 -0
  660. package/standalone/chunks/line-chart-options.de-BScjvJsI.js +2 -0
  661. package/standalone/chunks/line-chart-options.en-BVWFsre-.js +2 -0
  662. package/standalone/chunks/line-chart-options.es-CxNJevNs.js +2 -0
  663. package/standalone/chunks/line-chart-options.fr-LCsLx0Uh.js +2 -0
  664. package/standalone/chunks/line-chart-options.nl-BOgcjx48.js +2 -0
  665. package/standalone/chunks/line-chart-slots.config-CavGuJXK.js +2 -0
  666. package/standalone/chunks/lit-localize-CIGP-NUw.js +2 -0
  667. package/standalone/chunks/load-data-fields-for-datasets-CPf_Q7p4.js +25 -0
  668. package/standalone/chunks/load-formula-codemirror-CA7NW4Zq.js +6 -0
  669. package/standalone/chunks/localize-BXHWaHdZ.js +2 -0
  670. package/standalone/chunks/localized-decorator-Buib6Rq1.js +2 -0
  671. package/standalone/chunks/localized-mixin-DN2aV3CC.js +2 -0
  672. package/standalone/chunks/luzmo-icon-markup-27PRW8QM.js +13 -0
  673. package/standalone/chunks/luzmoAlignLeft-HA-XKPHy.js +2 -0
  674. package/standalone/chunks/luzmoAngleDown-PNrItYzK.js +2 -0
  675. package/standalone/chunks/luzmoAngleLeft-ebJO7ROy.js +2 -0
  676. package/standalone/chunks/luzmoArrowsHorizontal-TohKbcQD.js +2 -0
  677. package/standalone/chunks/luzmoBorderDotted-CWXwQ_Hm.js +2 -0
  678. package/standalone/chunks/luzmoCheckbox-BksyONqE.js +2 -0
  679. package/standalone/chunks/luzmoCog-C4v4vc5N.js +2 -0
  680. package/standalone/chunks/luzmoLockOutline-Dctb86HR.js +2 -0
  681. package/standalone/chunks/luzmoPlus-Dyrrz0v8.js +2 -0
  682. package/standalone/chunks/luzmoTable-BYeZ8pW6.js +2 -0
  683. package/standalone/chunks/luzmoTrashOutline-DXZpJx7f.js +2 -0
  684. package/standalone/chunks/map-tile-providers-DZT1QZX_.js +2 -0
  685. package/standalone/chunks/marker-map-options.config-D_OTOZRe.js +2 -0
  686. package/standalone/chunks/marker-map-options.de-SuCAxwxR.js +2 -0
  687. package/standalone/chunks/marker-map-options.en-B-gl_14v.js +2 -0
  688. package/standalone/chunks/marker-map-options.es-CSJGCzjk.js +2 -0
  689. package/standalone/chunks/marker-map-options.fr-D5P_HjSn.js +2 -0
  690. package/standalone/chunks/marker-map-options.nl-DdeyYFJQ.js +2 -0
  691. package/standalone/chunks/marker-map-slots.config-CtzpU-rK.js +2 -0
  692. package/standalone/chunks/mk-Dq3YK4jD.js +2 -0
  693. package/standalone/chunks/nl-7csxtU-I.js +2 -0
  694. package/standalone/chunks/nl-BXPduS2Q.js +2 -0
  695. package/standalone/chunks/no-DJNRx8au.js +2 -0
  696. package/standalone/chunks/ohlc-chart-options.config-Bu2GKlAH.js +2 -0
  697. package/standalone/chunks/ohlc-chart-options.de-DeQ8wdeE.js +2 -0
  698. package/standalone/chunks/ohlc-chart-options.en-DopM1kPj.js +2 -0
  699. package/standalone/chunks/ohlc-chart-options.es-BKjQWwH0.js +2 -0
  700. package/standalone/chunks/ohlc-chart-options.fr-DWhV_lXz.js +2 -0
  701. package/standalone/chunks/ohlc-chart-options.nl-D8lhNKIv.js +2 -0
  702. package/standalone/chunks/ohlc-chart-slots.config-xYpPbmg2.js +2 -0
  703. package/standalone/chunks/orion-BHOu-xse.js +2 -0
  704. package/standalone/chunks/parallel-coordinates-plot-options.config-BcIYCRdF.js +2 -0
  705. package/standalone/chunks/parallel-coordinates-plot-options.de-Dvi0gBbB.js +2 -0
  706. package/standalone/chunks/parallel-coordinates-plot-options.en-LdifcLcc.js +2 -0
  707. package/standalone/chunks/parallel-coordinates-plot-options.es-DNisZWdC.js +2 -0
  708. package/standalone/chunks/parallel-coordinates-plot-options.fr-DwOBR0cp.js +2 -0
  709. package/standalone/chunks/parallel-coordinates-plot-options.nl-DCXeTldD.js +2 -0
  710. package/standalone/chunks/parallel-coordinates-plot-slots.config-DvJljfr8.js +2 -0
  711. package/standalone/chunks/period-over-period-condition.const-AC_onvUf.js +2 -0
  712. package/standalone/chunks/periods.const-Cie50jR4.js +2 -0
  713. package/standalone/chunks/pinky-CkEB6Fvc.js +2 -0
  714. package/standalone/chunks/pivot-table-options.config-BZpId1ju.js +2 -0
  715. package/standalone/chunks/pivot-table-options.de-B0l711Q7.js +2 -0
  716. package/standalone/chunks/pivot-table-options.en-D3MYHTWH.js +2 -0
  717. package/standalone/chunks/pivot-table-options.es-CDACogGQ.js +2 -0
  718. package/standalone/chunks/pivot-table-options.fr-C-w1sys8.js +2 -0
  719. package/standalone/chunks/pivot-table-options.nl-Dy9VJ1bm.js +2 -0
  720. package/standalone/chunks/pivot-table-slots.config-DZOE04Ea.js +2 -0
  721. package/standalone/chunks/pl-zDnuk9Gd.js +2 -0
  722. package/standalone/chunks/pt-BEVAH5AJ.js +2 -0
  723. package/standalone/chunks/pyramid-chart-options.config-CBd-pgn_.js +2 -0
  724. package/standalone/chunks/pyramid-chart-options.de-CBL_8UjH.js +2 -0
  725. package/standalone/chunks/pyramid-chart-options.en-CTozc1Uh.js +2 -0
  726. package/standalone/chunks/pyramid-chart-options.es-BKciL-nO.js +2 -0
  727. package/standalone/chunks/pyramid-chart-options.fr-B04m8B_b.js +2 -0
  728. package/standalone/chunks/pyramid-chart-options.nl-DIhj1NYF.js +2 -0
  729. package/standalone/chunks/pyramid-chart-slots.config-DKBFy-TL.js +2 -0
  730. package/standalone/chunks/radar-chart-options.config-CnQ8mbs9.js +2 -0
  731. package/standalone/chunks/radar-chart-options.de-_LSueG69.js +2 -0
  732. package/standalone/chunks/radar-chart-options.en-DBA8TpKJ.js +2 -0
  733. package/standalone/chunks/radar-chart-options.es-DjSsFQkP.js +2 -0
  734. package/standalone/chunks/radar-chart-options.fr-CCh2jYPS.js +2 -0
  735. package/standalone/chunks/radar-chart-options.nl-tZ0JRjXD.js +2 -0
  736. package/standalone/chunks/radar-chart-slots.config-CHauNDhi.js +2 -0
  737. package/standalone/chunks/radiant-BfVbXYeP.js +2 -0
  738. package/standalone/chunks/regular-table-options.config-BnhDzc-m.js +2 -0
  739. package/standalone/chunks/regular-table-options.de-DPmii-jp.js +2 -0
  740. package/standalone/chunks/regular-table-options.en-DQugncwx.js +2 -0
  741. package/standalone/chunks/regular-table-options.es-DzbTEFoh.js +2 -0
  742. package/standalone/chunks/regular-table-options.fr-roRCzuK8.js +2 -0
  743. package/standalone/chunks/regular-table-options.nl-DxYUm_Rz.js +2 -0
  744. package/standalone/chunks/regular-table-slots.config-BqEJgzhG.js +2 -0
  745. package/standalone/chunks/route-map-options.config-CWyA9_SB.js +2 -0
  746. package/standalone/chunks/route-map-options.de-Ke-Bybpi.js +2 -0
  747. package/standalone/chunks/route-map-options.en-CDXIcBc0.js +2 -0
  748. package/standalone/chunks/route-map-options.es-CCEXcHLb.js +2 -0
  749. package/standalone/chunks/route-map-options.fr-BXoMKK54.js +2 -0
  750. package/standalone/chunks/route-map-options.nl-U52AE8MW.js +2 -0
  751. package/standalone/chunks/route-map-slots.config-B5G4JVnI.js +2 -0
  752. package/standalone/chunks/royale-Bcd5VvC5.js +2 -0
  753. package/standalone/chunks/ru-Ceji1Fqk.js +2 -0
  754. package/standalone/chunks/sankey-diagram-options.config-Curc2-If.js +2 -0
  755. package/standalone/chunks/sankey-diagram-options.de-Bisx6mpj.js +2 -0
  756. package/standalone/chunks/sankey-diagram-options.en-DonChVRz.js +2 -0
  757. package/standalone/chunks/sankey-diagram-options.es-TCXmlth5.js +2 -0
  758. package/standalone/chunks/sankey-diagram-options.fr-B3iAnJNW.js +2 -0
  759. package/standalone/chunks/sankey-diagram-options.nl-BnXZQEKn.js +2 -0
  760. package/standalone/chunks/sankey-diagram-slots.config-jyKqjUsV.js +2 -0
  761. package/standalone/chunks/scatter-plot-options.config-BV9Lb6-v.js +2 -0
  762. package/standalone/chunks/scatter-plot-options.de-Dg3O1b2R.js +2 -0
  763. package/standalone/chunks/scatter-plot-options.en-CJH2ZlFW.js +2 -0
  764. package/standalone/chunks/scatter-plot-options.es-7kExRi4J.js +2 -0
  765. package/standalone/chunks/scatter-plot-options.fr-Bbkf8efT.js +2 -0
  766. package/standalone/chunks/scatter-plot-options.nl-zrEXoM-k.js +2 -0
  767. package/standalone/chunks/scatter-plot-slots.config-CF2Ii2Ez.js +2 -0
  768. package/standalone/chunks/search-filter-options.config-DPhYMtlJ.js +2 -0
  769. package/standalone/chunks/search-filter-options.de-DewLFwK0.js +2 -0
  770. package/standalone/chunks/search-filter-options.en-DyIupnO9.js +2 -0
  771. package/standalone/chunks/search-filter-options.es-Dx1WGz-q.js +2 -0
  772. package/standalone/chunks/search-filter-options.fr-BdnlKNNx.js +2 -0
  773. package/standalone/chunks/search-filter-options.nl-DsKcc6ke.js +2 -0
  774. package/standalone/chunks/search-filter-slots.config-BcTF-DAh.js +2 -0
  775. package/standalone/chunks/seasonal-f6I--CYV.js +2 -0
  776. package/standalone/chunks/slicer-filter-options.config-BQ1vpcTb.js +2 -0
  777. package/standalone/chunks/slicer-filter-options.de-v0So4hDH.js +2 -0
  778. package/standalone/chunks/slicer-filter-options.en-BkVZDku6.js +2 -0
  779. package/standalone/chunks/slicer-filter-options.es-BATOs827.js +2 -0
  780. package/standalone/chunks/slicer-filter-options.fr-DROih5R8.js +2 -0
  781. package/standalone/chunks/slicer-filter-options.nl-CT4HfMiT.js +2 -0
  782. package/standalone/chunks/slicer-filter-slots.config-DL3Q0Zbm.js +2 -0
  783. package/standalone/chunks/slider-filter-options.config-ZCkBkeXQ.js +2 -0
  784. package/standalone/chunks/slider-filter-options.de-BToTmIkJ.js +2 -0
  785. package/standalone/chunks/slider-filter-options.en-Du0cf6NC.js +2 -0
  786. package/standalone/chunks/slider-filter-options.es-6yGUkJ9r.js +2 -0
  787. package/standalone/chunks/slider-filter-options.fr-DeupuOm1.js +2 -0
  788. package/standalone/chunks/slider-filter-options.nl-K6BEul4-.js +2 -0
  789. package/standalone/chunks/slider-filter-slots.config-52Bs7zu3.js +2 -0
  790. package/standalone/chunks/spacer-options.config-DmYOnwBz.js +2 -0
  791. package/standalone/chunks/speedometer-chart-options.config-YmUv49lQ.js +2 -0
  792. package/standalone/chunks/speedometer-chart-options.de-CWVMBrx9.js +2 -0
  793. package/standalone/chunks/speedometer-chart-options.en-DtCdA113.js +2 -0
  794. package/standalone/chunks/speedometer-chart-options.es-BC1Y-Hje.js +2 -0
  795. package/standalone/chunks/speedometer-chart-options.fr-BqnVNM9x.js +2 -0
  796. package/standalone/chunks/speedometer-chart-options.nl-D2dmDbhJ.js +2 -0
  797. package/standalone/chunks/speedometer-chart-slots.config-Cfsna_2O.js +2 -0
  798. package/standalone/chunks/spike-map-options.config-YOYHTzZs.js +2 -0
  799. package/standalone/chunks/spike-map-options.de-cIVh4l8Z.js +2 -0
  800. package/standalone/chunks/spike-map-options.en-CKjynYQl.js +2 -0
  801. package/standalone/chunks/spike-map-options.es-_GxcrK73.js +2 -0
  802. package/standalone/chunks/spike-map-options.fr-DHi_gHN6.js +2 -0
  803. package/standalone/chunks/spike-map-options.nl-Bicq35x0.js +2 -0
  804. package/standalone/chunks/spike-map-slots.config-FfXNX2O3.js +2 -0
  805. package/standalone/chunks/strip-plot-options.config-D84diNaB.js +2 -0
  806. package/standalone/chunks/strip-plot-options.de-DjNnWJl2.js +2 -0
  807. package/standalone/chunks/strip-plot-options.en-Of1sTT_A.js +2 -0
  808. package/standalone/chunks/strip-plot-options.es-BEHY8I7g.js +2 -0
  809. package/standalone/chunks/strip-plot-options.fr-DLfEoXBO.js +2 -0
  810. package/standalone/chunks/strip-plot-options.nl-CA3oh18P.js +2 -0
  811. package/standalone/chunks/strip-plot-slots.config-DQrrby2Y.js +2 -0
  812. package/standalone/chunks/sunburst-chart-options.config-DRjBFJV0.js +2 -0
  813. package/standalone/chunks/sunburst-chart-options.de-D6enQCjV.js +2 -0
  814. package/standalone/chunks/sunburst-chart-options.en-D9DSivE2.js +2 -0
  815. package/standalone/chunks/sunburst-chart-options.es-Bb7iCI1h.js +2 -0
  816. package/standalone/chunks/sunburst-chart-options.fr-CCzUgv7r.js +2 -0
  817. package/standalone/chunks/sunburst-chart-options.nl-bGOCvc4m.js +2 -0
  818. package/standalone/chunks/sunburst-chart-slots.config-DqW1e0nf.js +2 -0
  819. package/standalone/chunks/sv-CgssnOqA.js +2 -0
  820. package/standalone/chunks/symbol-map-options.config-Bbb3xIKg.js +2 -0
  821. package/standalone/chunks/symbol-map-options.de-CqxosoVr.js +2 -0
  822. package/standalone/chunks/symbol-map-options.en-DT7vsjRh.js +2 -0
  823. package/standalone/chunks/symbol-map-options.es-PGR-C-uM.js +2 -0
  824. package/standalone/chunks/symbol-map-options.fr-CPNydqFW.js +2 -0
  825. package/standalone/chunks/symbol-map-options.nl-BBHmJwLF.js +2 -0
  826. package/standalone/chunks/symbol-map-slots.config-B_UtYexb.js +2 -0
  827. package/standalone/chunks/task-CNp3cEJA.js +2 -0
  828. package/standalone/chunks/text-options.config-Chv14kyQ.js +2 -0
  829. package/standalone/chunks/text-options.de-CRVu5VAm.js +2 -0
  830. package/standalone/chunks/text-options.en-CupCY5Us.js +2 -0
  831. package/standalone/chunks/text-options.es-uKgRI4LZ.js +2 -0
  832. package/standalone/chunks/text-options.fr-C256Njqd.js +2 -0
  833. package/standalone/chunks/text-options.nl-CpMqMCOZ.js +2 -0
  834. package/standalone/chunks/text-slots.config-D33nu0FP.js +2 -0
  835. package/standalone/chunks/themes-BD5sKr3j.js +2 -0
  836. package/standalone/chunks/tr-i3G2sFi4.js +2 -0
  837. package/standalone/chunks/treemap-chart-options.config-DxkumoYq.js +2 -0
  838. package/standalone/chunks/treemap-chart-options.de-DdhcpjTu.js +2 -0
  839. package/standalone/chunks/treemap-chart-options.en-DB87QjbN.js +2 -0
  840. package/standalone/chunks/treemap-chart-options.es-DEImFeIB.js +2 -0
  841. package/standalone/chunks/treemap-chart-options.fr-BzM5c_vV.js +2 -0
  842. package/standalone/chunks/treemap-chart-options.nl-CFJgBJi2.js +2 -0
  843. package/standalone/chunks/treemap-chart-slots.config-CaearczZ.js +2 -0
  844. package/standalone/chunks/type-check-CC6bgirK.js +2 -0
  845. package/standalone/chunks/types-BS6dxSMT.js +2 -0
  846. package/standalone/chunks/urban-BEeGnayr.js +2 -0
  847. package/standalone/chunks/v4-CI0qP0ur.js +2 -0
  848. package/standalone/chunks/venn-diagram-options.config-DmYOnwBz.js +2 -0
  849. package/standalone/chunks/venn-diagram-slots.config-GnP5AAAL.js +2 -0
  850. package/standalone/chunks/version-DJES6maY.js +2 -0
  851. package/standalone/chunks/video-options.config-CfgT_MAw.js +2 -0
  852. package/standalone/chunks/video-options.de-Cxs3-JN3.js +2 -0
  853. package/standalone/chunks/video-options.en-ck74JByC.js +2 -0
  854. package/standalone/chunks/video-options.es-UdEH3Rzk.js +2 -0
  855. package/standalone/chunks/video-options.fr-p5bOI-bw.js +2 -0
  856. package/standalone/chunks/video-options.nl-CBYWp-Df.js +2 -0
  857. package/standalone/chunks/video-slots.config-ufoVcXKL.js +2 -0
  858. package/standalone/chunks/vivid-BC9AYKyD.js +2 -0
  859. package/standalone/chunks/wordcloud-chart-options.config-b-ibtRWp.js +2 -0
  860. package/standalone/chunks/wordcloud-chart-options.de-B0CeI2KB.js +2 -0
  861. package/standalone/chunks/wordcloud-chart-options.en-BQ-8ciOw.js +2 -0
  862. package/standalone/chunks/wordcloud-chart-options.es-DyMrHpJL.js +2 -0
  863. package/standalone/chunks/wordcloud-chart-options.fr-V1k_70yq.js +2 -0
  864. package/standalone/chunks/wordcloud-chart-options.nl-CrfYuaYy.js +2 -0
  865. package/standalone/chunks/wordcloud-chart-slots.config-g7QwS2dG.js +2 -0
  866. package/standalone/chunks/zh-CN-NVnv57dz.js +2 -0
  867. package/standalone/chunks/zh-TW-NVnv57dz.js +2 -0
  868. package/standalone/interactive-viz-item.js +263 -0
  869. package/standalone/item-grid.js +123 -0
  870. package/standalone/manifest.json +436 -0
  871. package/storybook/register-components.d.ts +2 -1
  872. package/styles/tokens.d.ts +1 -0
  873. package/types/add-to-dashboard.types.d.ts +51 -0
  874. package/types.d.ts +3 -1
  875. package/utils/data-broker/index.d.ts +19 -1
  876. package/utils/filters/filter-text.d.ts +1 -1
  877. package/utils/formula/base/formula-base.d.ts +2 -2
  878. package/utils/formula/config/build-datasets.d.ts +2 -2
  879. package/utils/formula/store/formula-display-store.d.ts +1 -1
  880. package/components/ai-chat-1OlRpimu.cjs +0 -337
  881. package/components/ai-chat-PesGGOLP.js +0 -4350
  882. package/components/ai-interaction-textarea-BXKG2elT.js +0 -820
  883. package/components/ai-interaction-textarea-CmFGJzbb.cjs +0 -99
  884. package/components/area-chart-positioning.config-C37nmNfP.cjs +0 -20
  885. package/components/area-chart-positioning.config-CF8Z7PuX.js +0 -55
  886. package/components/bar-chart-positioning.config-C4ii41mE.cjs +0 -20
  887. package/components/bar-chart-positioning.config-vuRQZsYr.js +0 -59
  888. package/components/base-8L8Jt2vi.js +0 -249
  889. package/components/base-K-bf6_7X.cjs +0 -20
  890. package/components/base-store-BhGpnbqi.js +0 -152
  891. package/components/base-store-D5cDq6d4.cjs +0 -20
  892. package/components/box-plot-positioning.config-D2LpbgQ_.cjs +0 -20
  893. package/components/box-plot-positioning.config-DMIsI9yU.js +0 -48
  894. package/components/bubble-chart-positioning.config-Btak-zwN.cjs +0 -20
  895. package/components/bubble-chart-positioning.config-jYu0Q0Mc.js +0 -55
  896. package/components/bullet-chart-positioning.config-BWHfPPyA.js +0 -56
  897. package/components/bullet-chart-positioning.config-CwoRVgNS.cjs +0 -20
  898. package/components/choropleth-map-options.config-DWWydGJ3.js +0 -352
  899. package/components/choropleth-map-options.config-VG10yjwC.cjs +0 -20
  900. package/components/choropleth-map-positioning.config-DttV0Dk_.cjs +0 -20
  901. package/components/choropleth-map-positioning.config-KtxcLW7E.js +0 -55
  902. package/components/circle-pack-chart-positioning.config-N-rZvQjR.cjs +0 -20
  903. package/components/circle-pack-chart-positioning.config-QBO-pwDr.js +0 -48
  904. package/components/circular-gauge-positioning.config-Cf1zuLXa.cjs +0 -20
  905. package/components/circular-gauge-positioning.config-DKGmEpFj.js +0 -48
  906. package/components/color-BWnYpOu7.js +0 -3812
  907. package/components/color-Bl8h58rV.cjs +0 -20
  908. package/components/color-range-utils-C3HJJUS1.cjs +0 -20
  909. package/components/color-range-utils-CiqduHJS.js +0 -63
  910. package/components/column-chart-positioning.config-DcErS56C.cjs +0 -20
  911. package/components/column-chart-positioning.config-LkQSNtSH.js +0 -55
  912. package/components/combination-chart-positioning.config-7iAEpO7h.js +0 -48
  913. package/components/combination-chart-positioning.config-Dzi93oAp.cjs +0 -20
  914. package/components/conditional-number-positioning.config-Bse6AKPP.js +0 -48
  915. package/components/conditional-number-positioning.config-CTy0zLXu.cjs +0 -20
  916. package/components/data-broker-B0uUO5er.js +0 -1684
  917. package/components/data-broker-CyMYR6w1.cjs +0 -20
  918. package/components/data-field-CSm9APdz.js +0 -121
  919. package/components/data-field-D2y4cv9j.cjs +0 -54
  920. package/components/data-field-level-B0aj8c5M.js +0 -247
  921. package/components/data-field-level-Llx0Y9m-.cjs +0 -55
  922. package/components/data-field-panel-DpBWJnes.js +0 -385
  923. package/components/data-field-panel-Dv60lRUC.cjs +0 -87
  924. package/components/data-fields-select-69TDpIG_.js +0 -289
  925. package/components/data-fields-select-BHa8THub.cjs +0 -43
  926. package/components/dataset-icon-BAV0S4sZ.cjs +0 -64
  927. package/components/dataset-icon-CWT5Ju8w.js +0 -125
  928. package/components/dataset-selector-list-D5lBv2sD.cjs +0 -75
  929. package/components/dataset-selector-list-DTMXvqfO.js +0 -323
  930. package/components/dataset-selector-row-gHWsZlrC.cjs +0 -102
  931. package/components/dataset-selector-row-kiHtzZcP.js +0 -427
  932. package/components/de-BhKtDR6p.js +0 -565
  933. package/components/de-DXFLsh4N.cjs +0 -20
  934. package/components/display-settings-DKuvd62j.js +0 -315
  935. package/components/display-settings-DPqTRJ7E.cjs +0 -142
  936. package/components/display-settings-binning-BkCNSkgf.js +0 -110
  937. package/components/display-settings-binning-DZKo_tBm.cjs +0 -56
  938. package/components/display-settings-datetime-BTgriFcv.js +0 -413
  939. package/components/display-settings-datetime-DD7Oh-2T.cjs +0 -217
  940. package/components/display-settings-grand-totals-BsIZg67h.cjs +0 -44
  941. package/components/display-settings-grand-totals-DH7AoyQY.js +0 -89
  942. package/components/display-settings-numeric-CkFpOoWU.js +0 -479
  943. package/components/display-settings-numeric-CsmrnEp2.cjs +0 -190
  944. package/components/display-settings-period-over-period-CdI5wuL_.js +0 -442
  945. package/components/display-settings-period-over-period-Co37HcSm.cjs +0 -227
  946. package/components/donut-chart-positioning.config-BThtaJEt.cjs +0 -20
  947. package/components/donut-chart-positioning.config-D2uG_Irk.js +0 -48
  948. package/components/es-DK-49nGv.cjs +0 -20
  949. package/components/es-DUENN-m1.js +0 -565
  950. package/components/evolution-number-positioning.config-BtjobZqK.js +0 -48
  951. package/components/evolution-number-positioning.config-DtYiv9oB.cjs +0 -20
  952. package/components/filter-expression-picker-C4kE_Thd.js +0 -433
  953. package/components/filter-expression-picker-CU-OfSmI.cjs +0 -40
  954. package/components/filter-item-Be6Z7NMz.js +0 -792
  955. package/components/filter-item-CxPrwF-R.cjs +0 -111
  956. package/components/filter-parameter-picker-Ba8bvoPZ.js +0 -371
  957. package/components/filter-parameter-picker-BtJLCUbT.cjs +0 -124
  958. package/components/filter-value-picker-DD206JZl.js +0 -169
  959. package/components/filter-value-picker-Dpua1vcJ.cjs +0 -69
  960. package/components/filter-value-picker-datetime-Bj0YaPtB.js +0 -159
  961. package/components/filter-value-picker-datetime-DWgI83nJ.cjs +0 -51
  962. package/components/filter-value-picker-hierarchy-BEoqkQq0.cjs +0 -54
  963. package/components/filter-value-picker-hierarchy-ZMThNJYm.js +0 -315
  964. package/components/filter-value-picker-numeric-1Vxp_Vam.cjs +0 -54
  965. package/components/filter-value-picker-numeric-CVaDogFQ.js +0 -236
  966. package/components/filters-Cnm0Kwk3.js +0 -926
  967. package/components/filters-Dtbt99BP.cjs +0 -199
  968. package/components/formula-BE9bipho.js +0 -138
  969. package/components/formula-DGMnKmnR.cjs +0 -45
  970. package/components/formula-codemirror-B14vsZXJ.cjs +0 -215
  971. package/components/formula-codemirror-xfm0QtJN.js +0 -12018
  972. package/components/formula-display-store-8hohve9v.cjs +0 -20
  973. package/components/formula-display-store-JAaWuYNB.js +0 -1087
  974. package/components/formula-editor-CkW-JfyT.cjs +0 -224
  975. package/components/formula-editor-DN87mT8q.js +0 -690
  976. package/components/formula-field-B1EMJOfK.js +0 -40
  977. package/components/formula-field-CQYFSBHL.cjs +0 -20
  978. package/components/formula-input-base-BCQXmd1P.cjs +0 -49
  979. package/components/formula-input-base-HL0Fg74x.js +0 -236
  980. package/components/fr-CePmGBUH.js +0 -565
  981. package/components/fr-uE3fb3kc.cjs +0 -20
  982. package/components/funnel-chart-positioning.config-DeLnAGGT.cjs +0 -20
  983. package/components/funnel-chart-positioning.config-TVzSiV6I.js +0 -48
  984. package/components/get-dataset-name-DLjeChNS.js +0 -32
  985. package/components/get-dataset-name-mGNEfkAv.cjs +0 -20
  986. package/components/groupings-CODDxpbZ.js +0 -52
  987. package/components/groupings-DKMq8DgS.cjs +0 -20
  988. package/components/heat-map-options.config-DtDh9Gpy.cjs +0 -20
  989. package/components/heat-map-options.config-X96sw-BV.js +0 -226
  990. package/components/heat-map-positioning.config--wm9l7bB.js +0 -48
  991. package/components/heat-map-positioning.config-ddrgZXa9.cjs +0 -20
  992. package/components/heat-table-options.config-CugBuoUA.cjs +0 -20
  993. package/components/heat-table-options.config-D6dA9J97.js +0 -269
  994. package/components/heat-table-positioning.config-CIhhBEMg.js +0 -55
  995. package/components/heat-table-positioning.config-qMDSRhZR.cjs +0 -20
  996. package/components/hexbin-map-positioning.config-E_BpcIFy.cjs +0 -20
  997. package/components/hexbin-map-positioning.config-S7VYUwVD.js +0 -48
  998. package/components/interactive-viz-item--kqitfEZ.cjs +0 -249
  999. package/components/interactive-viz-item-cdShBZQA.js +0 -722
  1000. package/components/item-grid/item-grid-item-actions-menu.d.ts +0 -35
  1001. package/components/item-grid-BfhqMuQA.cjs +0 -113
  1002. package/components/item-grid-xCM8AqRH.js +0 -4559
  1003. package/components/item-option-B5FraAiv.cjs +0 -269
  1004. package/components/item-option-DaAlj_OB.js +0 -955
  1005. package/components/item-option-action-button-group-4w8ub3cT.js +0 -118
  1006. package/components/item-option-action-button-group-DHu8VjCy.cjs +0 -53
  1007. package/components/item-option-base-4Bwn-3Fc.cjs +0 -56
  1008. package/components/item-option-base-BxQUwXzg.js +0 -123
  1009. package/components/item-option-color-palette-picker-D5nO-Bqb.js +0 -2041
  1010. package/components/item-option-color-palette-picker-DrhHKaAK.cjs +0 -40
  1011. package/components/item-option-color-picker-Bhv_k1uW.cjs +0 -34
  1012. package/components/item-option-color-picker-CKokPQcS.js +0 -87
  1013. package/components/item-option-color-range-CwDkzRcx.cjs +0 -98
  1014. package/components/item-option-color-range-DYsMbFEb.js +0 -220
  1015. package/components/item-option-guidelines-CXl4Yla4.js +0 -419
  1016. package/components/item-option-guidelines-DMjA-h3h.cjs +0 -135
  1017. package/components/item-option-multi-language-field-C75Hd2fG.cjs +0 -33
  1018. package/components/item-option-multi-language-field-S6Mt3k23.js +0 -82
  1019. package/components/item-option-number-field-Bg5r0IAX.cjs +0 -38
  1020. package/components/item-option-number-field-CALw8q_J.js +0 -102
  1021. package/components/item-option-panel-DBXgOsM4.cjs +0 -67
  1022. package/components/item-option-panel-v7yUS9hb.js +0 -183
  1023. package/components/item-option-picker-CZyzd3Nq.js +0 -77
  1024. package/components/item-option-picker-RFstpFwI.cjs +0 -37
  1025. package/components/item-option-position-picker-C8cnHEH4.js +0 -117
  1026. package/components/item-option-position-picker-CKHbHHl1.cjs +0 -32
  1027. package/components/item-option-positions-number-field-BGs3WWaz.cjs +0 -49
  1028. package/components/item-option-positions-number-field-BJTY1qZR.js +0 -164
  1029. package/components/item-option-radio-button-group-CN8TLtsV.cjs +0 -37
  1030. package/components/item-option-radio-button-group-vhm4r4_k.js +0 -74
  1031. package/components/item-option-slider-CQOKWBZQ.js +0 -96
  1032. package/components/item-option-slider-DbLPhpJd.cjs +0 -33
  1033. package/components/item-option-switch-CWpb0nf3.cjs +0 -30
  1034. package/components/item-option-switch-azZX2vJr.js +0 -69
  1035. package/components/item-option-text-field-CIM_38yi.js +0 -80
  1036. package/components/item-option-text-field-CS3Lccda.cjs +0 -33
  1037. package/components/item-slot-drop-C8WYPu_w.cjs +0 -91
  1038. package/components/item-slot-drop-DeZ2GvAu.js +0 -331
  1039. package/components/item-slot-drop-panel-BcBHDDTT.cjs +0 -57
  1040. package/components/item-slot-drop-panel-LpfX7ap0.js +0 -355
  1041. package/components/item-slot-picker-BSO1ltXC.js +0 -505
  1042. package/components/item-slot-picker-CvySq194.cjs +0 -174
  1043. package/components/item-slot-picker-panel-CsntXcAp.js +0 -448
  1044. package/components/item-slot-picker-panel-DQ_OzMO_.cjs +0 -81
  1045. package/components/line-chart-positioning.config-CrreArf5.js +0 -55
  1046. package/components/line-chart-positioning.config-DMe1Ldwk.cjs +0 -20
  1047. package/components/load-data-fields-for-datasets-B3XcFFfg.js +0 -42
  1048. package/components/load-data-fields-for-datasets-rL24A68g.cjs +0 -20
  1049. package/components/localized-mixin-DaLXe5J9.js +0 -45
  1050. package/components/localized-mixin-DiUJOd06.cjs +0 -20
  1051. package/components/marker-map-positioning.config-CpI8nCtC.cjs +0 -20
  1052. package/components/marker-map-positioning.config-DW9tMO2M.js +0 -48
  1053. package/components/nl-BaZM3WoR.js +0 -565
  1054. package/components/nl-BoEhzeIh.cjs +0 -20
  1055. package/components/ohlc-chart-positioning.config-9DETh4xy.cjs +0 -20
  1056. package/components/ohlc-chart-positioning.config-CkX8gyS2.js +0 -78
  1057. package/components/parallel-coordinates-plot-positioning.config-CLDZdGdh.cjs +0 -20
  1058. package/components/parallel-coordinates-plot-positioning.config-DTJZLEeT.js +0 -48
  1059. package/components/pivot-table-positioning.config-B-SALuVb.cjs +0 -20
  1060. package/components/pivot-table-positioning.config-CtSYHD-n.js +0 -55
  1061. package/components/pyramid-chart-positioning.config-0Juiava5.js +0 -55
  1062. package/components/pyramid-chart-positioning.config-BllFtneP.cjs +0 -20
  1063. package/components/radar-chart-positioning.config-BPbb63S6.js +0 -55
  1064. package/components/radar-chart-positioning.config-BY4RKNDi.cjs +0 -20
  1065. package/components/route-map-options.config-C65J81_7.js +0 -328
  1066. package/components/route-map-options.config-DS9cCAQK.cjs +0 -20
  1067. package/components/route-map-positioning.config-D6nZFd8f.js +0 -66
  1068. package/components/route-map-positioning.config-GQ9AJfej.cjs +0 -20
  1069. package/components/sankey-diagram-positioning.config-DAuj5A08.cjs +0 -20
  1070. package/components/sankey-diagram-positioning.config-R1EjoR5F.js +0 -66
  1071. package/components/scatter-plot-positioning.config-DGoMnNZy.js +0 -77
  1072. package/components/scatter-plot-positioning.config-o4c-wuRo.cjs +0 -20
  1073. package/components/set-locale-Xh_1AFbC.cjs +0 -20
  1074. package/components/set-locale-ydAPif-7.js +0 -43
  1075. package/components/slicer-filter-positioning.config-BqpIENEm.cjs +0 -20
  1076. package/components/slicer-filter-positioning.config-D_didkcw.js +0 -48
  1077. package/components/slot-menu-CUdbaW3K.js +0 -428
  1078. package/components/slot-menu-DRx1Ffla.cjs +0 -71
  1079. package/components/slot-menu-list-DVSxamVa.js +0 -347
  1080. package/components/slot-menu-list-DaHzz_ve.cjs +0 -44
  1081. package/components/speedometer-chart-positioning.config-CmxsV4-x.js +0 -48
  1082. package/components/speedometer-chart-positioning.config-eVUWDhkL.cjs +0 -20
  1083. package/components/spike-map-options.config-BRwdTyrp.cjs +0 -20
  1084. package/components/spike-map-options.config-DjoTrAsC.js +0 -415
  1085. package/components/spike-map-positioning.config-B38djRlf.cjs +0 -20
  1086. package/components/spike-map-positioning.config-Bta7ar9e.js +0 -55
  1087. package/components/strip-plot-positioning.config-0vlAfmDB.js +0 -48
  1088. package/components/strip-plot-positioning.config-atH68L8u.cjs +0 -20
  1089. package/components/sunburst-chart-positioning.config-B2x6afBV.js +0 -48
  1090. package/components/sunburst-chart-positioning.config-NFzFNuXB.cjs +0 -20
  1091. package/components/symbol-map-positioning.config-B6v9PFTk.js +0 -55
  1092. package/components/symbol-map-positioning.config-DGpmp_N1.cjs +0 -20
  1093. package/components/treemap-chart-positioning.config-Bf2VNVRQ.js +0 -55
  1094. package/components/treemap-chart-positioning.config-NMULB8UM.cjs +0 -20
  1095. package/components/utils-SzKvwZ9-.cjs +0 -20
  1096. package/components/utils-_8LPCz9-.js +0 -240
  1097. package/components/venn-diagram-positioning.config-D4cODPGV.cjs +0 -20
  1098. package/components/venn-diagram-positioning.config-DgOl0Vh-.js +0 -55
  1099. package/components/viz-item-menu/index.cjs +0 -20
  1100. package/components/viz-item-menu/index.d.ts +0 -8
  1101. package/components/viz-item-menu/index.js +0 -28
  1102. package/components/viz-item-menu/types.d.ts +0 -9
  1103. package/components/viz-item-menu/viz-item-menu.d.ts +0 -78
  1104. package/components/viz-item-menu-CNHv6qDa.cjs +0 -55
  1105. package/components/viz-item-menu-L_j0L08h.js +0 -170
  1106. package/components/wordcloud-chart-positioning.config-BP6iqy-N.js +0 -55
  1107. package/components/wordcloud-chart-positioning.config-DZEkWvb0.cjs +0 -20
  1108. package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
  1109. package/react/components/viz-item-menu.component.ts +0 -33
  1110. package/react/esm/components/viz-item-menu.component.d.ts +0 -16
  1111. package/react/esm/components/viz-item-menu.component.js +0 -21
  1112. /package/{storybook/inject-global-vars.d.ts → utils/data-broker/tests/data-broker.test.d.ts} +0 -0
@@ -0,0 +1,927 @@
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 "./tokens-Ov1pCR4Y.js";
21
+ import { t as e } from "./decorate-DyMgX_Uh.js";
22
+ import { t } from "./localized-mixin-CYMFnS-n.js";
23
+ import { n } from "./data-broker-DNfq_8Lg.js";
24
+ import { c as r } from "./type-check-CGREdneG.js";
25
+ import { t as i } from "./v4-DIjJgmR0.js";
26
+ import { a, i as o, n as ee, o as s, r as te } from "./filter-item-D6y8eCmG.js";
27
+ import { luzmoPlus as c, luzmoTrashOutline as l } from "@luzmo/icons";
28
+ import "@luzmo/lucero/button";
29
+ import "@luzmo/lucero/icon";
30
+ import { html as u, nothing as d, unsafeCSS as ne } from "lit";
31
+ import { property as f, state as p } from "lit/decorators.js";
32
+ import { localized as re, msg as m, str as h } from "@lit/localize";
33
+ import "@luzmo/lucero/action-button";
34
+ import "@luzmo/lucero/tooltip";
35
+ import { repeat as ie } from "lit/directives/repeat.js";
36
+ import "@luzmo/lucero/progress-circle";
37
+ import { ElementSizes as ae, LuzmoElement as oe, SizedMixin as se } from "@luzmo/lucero/utils";
38
+ //#region src/components/filters/transformations/filter-format.ts
39
+ var ce = 20, g = class extends Error {
40
+ constructor(e) {
41
+ super(e), this.name = "FilterUnrepresentableError";
42
+ }
43
+ }, le = /* @__PURE__ */ new Set(["and", "or"]), _ = [
44
+ "datasetId",
45
+ "dataset_id",
46
+ "columnId",
47
+ "column_id",
48
+ "formulaId",
49
+ "formula_id",
50
+ "formula",
51
+ "columnExpression",
52
+ "value",
53
+ "ignoredItemIds"
54
+ ];
55
+ function v(e) {
56
+ return typeof e == "object" && !!e && !Array.isArray(e);
57
+ }
58
+ function y(e) {
59
+ return !v(e) || e.condition !== void 0 && (typeof e.condition != "string" || !le.has(e.condition.toLowerCase())) ? !1 : "filters" in e || "subGroups" in e;
60
+ }
61
+ function b(e) {
62
+ return v(e) && "expression" in e && !("condition" in e);
63
+ }
64
+ function x(e) {
65
+ return _.some((t) => t in e);
66
+ }
67
+ function ue(e, t = !1) {
68
+ let n = [
69
+ e.columnId !== void 0 || e.column_id !== void 0,
70
+ e.formulaId !== void 0 || e.formula_id !== void 0,
71
+ e.formula !== void 0
72
+ ].filter(Boolean).length;
73
+ return n === 1 ? !0 : n > 1 ? !1 : e.columnExpression !== void 0 || t && e.expression !== void 0;
74
+ }
75
+ function S(e) {
76
+ return !b(e) || typeof e.expression != "string" || e.expression.length === 0 || "parameters" in e || typeof e.datasetId != "string" && typeof e.dataset_id != "string" ? !1 : ue(e);
77
+ }
78
+ function C(e) {
79
+ return !b(e) || !Array.isArray(e.parameters) ? !1 : !x(e);
80
+ }
81
+ function de(e) {
82
+ if (!("parameters" in e)) return;
83
+ let t = _.find((t) => t in e);
84
+ if (t !== void 0) throw new g(`Filter leaf mixes "parameters" with the clean inline key "${t}".`);
85
+ }
86
+ function fe(e) {
87
+ throw typeof e.expression != "string" || e.expression.length === 0 ? new g("Clean filter leaf is missing a non-empty \"expression\".") : typeof e.datasetId != "string" && typeof e.dataset_id != "string" ? new g(`Clean filter leaf "${e.expression}" is missing a "datasetId".`) : new g(`Clean filter leaf "${e.expression}" must name exactly one of "columnId", "formulaId", "formula", or "columnExpression".`);
88
+ }
89
+ function w(e) {
90
+ return e === "where" || e === "having";
91
+ }
92
+ function T(e) {
93
+ if (e > 20) throw new g("Filter nesting exceeds the maximum depth of 20.");
94
+ }
95
+ function pe(e) {
96
+ if (e == null) return "empty";
97
+ if (!Array.isArray(e)) return "unknown";
98
+ if (e.length === 0) return "empty";
99
+ let t = !1, n = !1, r = !1, i = (e, a) => {
100
+ if (a > 20) {
101
+ r = !0;
102
+ return;
103
+ }
104
+ if (y(e)) {
105
+ w(e.clause) && (n = !0);
106
+ let t = [...Array.isArray(e.filters) ? e.filters : [], ...Array.isArray(e.subGroups) ? e.subGroups : []];
107
+ for (let e of t) i(e, a + 1);
108
+ return;
109
+ }
110
+ if (b(e)) {
111
+ "parameters" in e && x(e) ? r = !0 : S(e) ? n = !0 : C(e) ? t = !0 : r = !0;
112
+ return;
113
+ }
114
+ r = !0;
115
+ };
116
+ for (let t of e) i(t, 1);
117
+ return r ? "unknown" : n && t ? "mixed" : n ? "clean" : t ? "canonical" : "empty";
118
+ }
119
+ //#endregion
120
+ //#region src/components/filters/transformations/clean-filters.ts
121
+ var E = /* @__PURE__ */ new Set(["? is null", "? is not null"]), D = /* @__PURE__ */ new Set([
122
+ "? = ?",
123
+ "? != ?",
124
+ "? < ?",
125
+ "? <= ?",
126
+ "? > ?",
127
+ "? >= ?"
128
+ ]), me = /* @__PURE__ */ new Set([
129
+ "? in ?",
130
+ "? not in ?",
131
+ "? between ?"
132
+ ]), he = {
133
+ "array[numeric]": "numeric[]",
134
+ "array[hierarchy]": "hierarchy[]",
135
+ "array[datetime]": "datetime[]"
136
+ }, ge = /* @__PURE__ */ new Set([
137
+ "level",
138
+ "lowestLevel",
139
+ "unnest",
140
+ "discretization",
141
+ "aggregation",
142
+ "index",
143
+ "include_nonoccurring",
144
+ "simplification"
145
+ ]);
146
+ function O(e, t) {
147
+ return e !== "lowestLevel" && !(t === null && ge.has(e));
148
+ }
149
+ function k(e) {
150
+ return structuredClone(e);
151
+ }
152
+ function A(e) {
153
+ let t = e.datasetId ?? e.dataset_id;
154
+ if (typeof t != "string" || t.length === 0) throw new g("Filter reference is missing a \"datasetId\".");
155
+ return t;
156
+ }
157
+ function j(e) {
158
+ return v(e) ? typeof e.columnId == "string" || typeof e.column_id == "string" || typeof e.formulaId == "string" || typeof e.formula_id == "string" || typeof e.formula == "string" || (typeof e.datasetId == "string" || typeof e.dataset_id == "string") && (e.columnExpression !== void 0 || e.expression !== void 0) : !1;
159
+ }
160
+ function M(e) {
161
+ let t = { type: e.type };
162
+ return e.bins !== void 0 && (t.bins = e.bins), Array.isArray(e.over) && (t.over = e.over.map((e) => I(e))), t;
163
+ }
164
+ function _e(e) {
165
+ let t = { type: e.type }, n = e.datasetId ?? e.dataset_id, r = e.columnId ?? e.column_id;
166
+ return n !== void 0 && (t.datasetId = n), r !== void 0 && (t.columnId = r), e.level !== void 0 && O("level", e.level) && (t.level = e.level), v(e.discretization) && (t.discretization = M(e.discretization)), e.unnest !== void 0 && O("unnest", e.unnest) && (t.unnest = e.unnest), t;
167
+ }
168
+ function N(e) {
169
+ let t = { type: e.type };
170
+ return e.bins !== void 0 && (t.bins = e.bins), Array.isArray(e.over) && (t.over = e.over.map((e) => v(e) ? F(e) : e)), t;
171
+ }
172
+ function ve(e) {
173
+ let t = { type: e.type }, n = e.datasetId ?? e.dataset_id, r = e.columnId ?? e.column_id;
174
+ return n !== void 0 && (t.datasetId = n), r !== void 0 && (t.columnId = r), e.level !== void 0 && (t.level = e.level), v(e.discretization) && (t.discretization = N(e.discretization)), e.unnest !== void 0 && (t.unnest = e.unnest), t;
175
+ }
176
+ function ye(e, t) {
177
+ e.level !== void 0 && (t.level = k(e.level)), v(e.discretization) && (t.discretization = N(e.discretization)), v(e.aggregation) && (t.aggregation = ve(e.aggregation)), e.unnest !== void 0 && (t.unnest = k(e.unnest));
178
+ }
179
+ function P(e, t) {
180
+ let n = e.columnId ?? e.column_id;
181
+ if (n !== void 0) return {
182
+ kind: "columnId",
183
+ value: n
184
+ };
185
+ let r = e.formulaId ?? e.formula_id;
186
+ if (r !== void 0) return {
187
+ kind: "formulaId",
188
+ value: r
189
+ };
190
+ if (e.formula !== void 0) return {
191
+ kind: "formula",
192
+ value: e.formula
193
+ };
194
+ let i = e.columnExpression ?? (t ? e.expression : void 0);
195
+ if (i !== void 0) return {
196
+ kind: "expression",
197
+ value: i
198
+ };
199
+ }
200
+ function F(e, t = !0) {
201
+ let n = { datasetId: A(e) }, r = P(e, t);
202
+ return r !== void 0 && (r.kind === "expression" ? n.expression = r.value : n[r.kind] = r.value), ye(e, n), n;
203
+ }
204
+ function I(e) {
205
+ if (!v(e)) throw new g("Cannot emit a clean filter reference.");
206
+ let t = { datasetId: A(e) };
207
+ e.level !== void 0 && O("level", e.level) && (t.level = e.level), v(e.discretization) && (t.discretization = M(e.discretization)), v(e.aggregation) && (t.aggregation = _e(e.aggregation)), e.unnest !== void 0 && O("unnest", e.unnest) && (t.unnest = e.unnest);
208
+ let n = P(e, !0);
209
+ if (n === void 0) throw new g("Cannot emit a clean filter reference: no column, formula, or expression.");
210
+ return n.kind === "expression" ? t.columnExpression = n.value : t[n.kind] = n.value, t;
211
+ }
212
+ function be(e) {
213
+ if (!v(e) || typeof e.parameter != "string" || typeof e.type != "string") return e;
214
+ let t = he[e.type];
215
+ return t === void 0 ? e : {
216
+ ...e,
217
+ type: t
218
+ };
219
+ }
220
+ function xe(e, t) {
221
+ return v(t) && typeof t.parameter == "string" ? !0 : Array.isArray(t) ? e !== "? between ?" || t.length === 2 : !1;
222
+ }
223
+ function Se(e, t) {
224
+ let n = e.expression, r = [F(e, !1)];
225
+ if (!E.has(n) && e.value !== void 0) {
226
+ let t = D.has(n) && j(e.value);
227
+ r.push(t ? F(e.value) : k(e.value));
228
+ }
229
+ let i = {};
230
+ typeof e.id == "string" && (i.id = e.id), "ignoredItemIds" in e && (i.ignore = k(e.ignoredItemIds)), t !== void 0 && (i.type = t);
231
+ let a = {
232
+ expression: n,
233
+ parameters: r
234
+ };
235
+ return Object.keys(i).length > 0 && (a.properties = i), a;
236
+ }
237
+ function Ce(e) {
238
+ let { expression: t } = e;
239
+ if (typeof t != "string" || t.length === 0) return null;
240
+ let n = Array.isArray(e.parameters) ? e.parameters : [];
241
+ if (!v(n[0])) throw new g(`Cannot emit a clean filter reference for "${t}".`);
242
+ let r = {
243
+ ...I(n[0]),
244
+ expression: t
245
+ };
246
+ if (!E.has(t)) {
247
+ let e = n[1];
248
+ if (e === void 0) throw new g(`Filter "${t}" is missing its value operand.`);
249
+ if (r.value = j(e) && D.has(t) ? I(e) : be(k(e)), me.has(t) && !xe(t, r.value)) throw new g(`Cannot emit an invalid clean filter value for "${t}".`);
250
+ }
251
+ let { properties: i } = e;
252
+ return i?.id !== void 0 && (r.id = i.id), i !== void 0 && "ignore" in i && (r.ignoredItemIds = k(i.ignore)), r;
253
+ }
254
+ function L(e) {
255
+ return y(e);
256
+ }
257
+ function R(e) {
258
+ return Array.isArray(e.filters) ? e.filters : [];
259
+ }
260
+ function z(e, t) {
261
+ return e.properties?.type === "having" || e.properties?.type === "where" ? e.properties.type : t ?? "where";
262
+ }
263
+ function B(e, t, n = 1, r = /* @__PURE__ */ new Set()) {
264
+ T(n);
265
+ let i = e.clause ?? t;
266
+ for (let t of R(e)) L(t) ? B(t, i, n + 1, r) : typeof t.expression == "string" && t.expression.length > 0 && r.add(z(t, i));
267
+ return r;
268
+ }
269
+ function V(e, t, n = 1) {
270
+ T(n);
271
+ let r = e.clause ?? t;
272
+ if (e.condition === "or" && B(e, r, n).size > 1) throw new g("An \"or\" group mixes \"where\" and \"having\" filters, which clean output cannot represent.");
273
+ for (let t of R(e)) L(t) && V(t, r, n + 1);
274
+ }
275
+ function H(e, t, n, r = 1) {
276
+ T(r);
277
+ let i = e.clause ?? n, a = [];
278
+ for (let n of R(e)) {
279
+ if (L(n)) {
280
+ let e = H(n, t, i, r + 1);
281
+ e.filters.length > 0 && a.push(e);
282
+ continue;
283
+ }
284
+ if (z(n, i) !== t) continue;
285
+ let e = Ce(n);
286
+ e && a.push(e);
287
+ }
288
+ let o = {
289
+ condition: e.condition === "or" ? "or" : "and",
290
+ filters: a
291
+ };
292
+ return e.id !== void 0 && B(e, i, r).size <= 1 && (o.id = e.id), o;
293
+ }
294
+ function we(e) {
295
+ let t = e.clause;
296
+ V(e, t);
297
+ let n = B(e, t);
298
+ return n.size === 0 && n.add(t ?? "where"), ["where", "having"].filter((e) => n.has(e)).map((n) => ({
299
+ ...H(e, n, t),
300
+ clause: n
301
+ })).filter((e) => e.filters.length > 0);
302
+ }
303
+ //#endregion
304
+ //#region src/components/filters/transformations/transform-filters.ts
305
+ var Te = [
306
+ "origin",
307
+ "datasetId",
308
+ "vizId",
309
+ "itemId",
310
+ "isDrilldown",
311
+ "type"
312
+ ];
313
+ function U(e) {
314
+ return typeof e == "string" && e.toLowerCase() === "or" ? "or" : "and";
315
+ }
316
+ function Ee(e) {
317
+ return y(e);
318
+ }
319
+ function De(e) {
320
+ if (!Array.isArray(e) || e.length === 0) return [];
321
+ let t = v(e[0]) ? e[0] : void 0, n = e.length > 1 ? e[1] : void 0;
322
+ return e.length > 1 ? [t, n] : [t];
323
+ }
324
+ function Oe(e) {
325
+ if (typeof e.expression != "string" || e.expression.length === 0) return null;
326
+ let t = {
327
+ expression: e.expression,
328
+ parameters: De(e.parameters)
329
+ };
330
+ return e.properties !== void 0 && Object.keys(e.properties).length > 0 && (t.properties = structuredClone(e.properties)), t;
331
+ }
332
+ function W(e, t) {
333
+ let n = e, r = t;
334
+ for (let e of Te) n[e] !== void 0 && (r[e] = n[e]);
335
+ }
336
+ function G(e) {
337
+ if (!e || !e.filters) return {
338
+ condition: "and",
339
+ filters: [],
340
+ subGroups: []
341
+ };
342
+ let t = [], n = [];
343
+ for (let r of e.filters) if (Ee(r)) n.push(G(r));
344
+ else {
345
+ let e = Oe(r);
346
+ e && t.push(e);
347
+ }
348
+ let r = {
349
+ condition: U(e.condition),
350
+ filters: t,
351
+ subGroups: n
352
+ };
353
+ return e.id !== void 0 && (r.id = e.id), W(e, r), r;
354
+ }
355
+ function K(e, t) {
356
+ return e ? t?.format === "clean" ? we(e) : [G(e)] : [];
357
+ }
358
+ function q(e, t) {
359
+ let n = {
360
+ expression: typeof e.expression == "string" ? e.expression : void 0,
361
+ parameters: Array.isArray(e.parameters) ? [...e.parameters] : []
362
+ }, r = v(e.properties) ? structuredClone(e.properties) : {};
363
+ return t !== void 0 && r.type === void 0 && (r.type = t), Object.keys(r).length > 0 && (n.properties = r), n;
364
+ }
365
+ function ke(e, t, n) {
366
+ if (y(e)) return J(e, t, n);
367
+ if (!v(e)) return;
368
+ let r = e.expression;
369
+ if (de(e), S(e)) return Se(e, t);
370
+ if (x(e) && fe(e), C(e)) return q(e, t);
371
+ throw new g(`Filter leaf "${String(r)}" matches neither a complete clean nor a complete canonical encoding.`);
372
+ }
373
+ function J(e, t, n) {
374
+ T(n);
375
+ let r = w(e.clause) ? e.clause : void 0, i = r ?? t, a = [];
376
+ for (let t of Array.isArray(e.filters) ? e.filters : []) {
377
+ let e = ke(t, i, n + 1);
378
+ e !== void 0 && a.push(e);
379
+ }
380
+ for (let t of Array.isArray(e.subGroups) ? e.subGroups : []) y(t) && a.push(J(t, i, n + 1));
381
+ let o = {
382
+ condition: U(e.condition),
383
+ filters: a
384
+ };
385
+ return typeof e.id == "string" && (o.id = e.id), r !== void 0 && (o.clause = r), W(e, o), o;
386
+ }
387
+ function Y(e) {
388
+ return !e || e.length === 0 ? [] : e.filter((e) => y(e)).map((e) => J(e, void 0, 1));
389
+ }
390
+ //#endregion
391
+ //#region src/components/filters/filters.module.scss?inline
392
+ var Ae = ":host{font-family:var(--luzmo-filters-font-family,var(--luzmo-font-family));color:var(--luzmo-filters-font-color,var(--luzmo-font-color));max-width:100%;display:block;container-type:inline-size}.filter-group-container{max-width:100%;padding:calc(var(--luzmo-indicator-gap) + 2 * var(--luzmo-indicator-width));overflow-x:hidden}.filter-group{flex-direction:row;min-width:0;max-width:100%;display:flex}.filter-group.nested{margin-top:var(--luzmo-filters-nested-group-margin-top,var(--filters-nested-group-margin-top));margin-bottom:var(--luzmo-filters-nested-group-margin-bottom,var(--filters-nested-group-margin-bottom))}.group-content{flex-direction:column;flex:1;min-width:0;display:flex}.filters-list{gap:var(--luzmo-filters-filters-list-gap,var(--filters-filters-list-gap));flex-direction:column;min-width:0;max-width:100%;display:flex}.filter-item-wrapper{align-items:flex-start;min-width:0;max-width:100%;display:flex;position:relative}.filter-item-content{align-items:flex-start;gap:var(--luzmo-filters-filter-line-gap,var(--filters-filter-line-gap));flex-wrap:nowrap;flex:1;min-width:0;display:flex}.filter-item-content luzmo-filter-item{flex:1;min-width:0}.filter-item-content .delete-filter-button{flex-shrink:0;align-self:flex-end;margin-inline-start:auto}.condition-wrapper{flex:0 0 var(--luzmo-filters-condition-warpper-width,var(--filters-condition-warpper-width));justify-content:center;align-items:center;display:flex;position:relative}.condition-wrapper:before{content:\"\";left:50%;top:var(--luzmo-filters-vertical-line-top,var(--filters-vertical-line-top));bottom:var(--luzmo-filters-vertical-line-bottom,var(--filters-vertical-line-bottom));width:var(--luzmo-filters-vertical-line-width,var(--filters-vertical-line-width));background:var(--luzmo-filters-vertical-line-color,var(--luzmo-border-color));position:absolute}.condition-badge{min-width:auto;padding-inline:var(--luzmo-filters-condition-padding-horizontal,var(--filters-condition-padding-horizontal));font-weight:var(--luzmo-filters-condition-font-weight,var(--filters-condition-font-weight-emphasized));text-transform:uppercase;background:var(--luzmo-filters-condition-badge-background,var(--luzmo-primary));color:var(--luzmo-filters-condition-badge-color,var(--luzmo-primary-inverse-color));border-radius:var(--luzmo-filters-condition-badge-border-radius,var(--luzmo-border-radius));box-shadow:0 0 0 var(--luzmo-filters-condition-badge-halo,var(--filters-condition-badge-halo)) var(--luzmo-filters-condition-badge-background,var(--luzmo-background-color))}.condition-badge:hover{background:var(--luzmo-filters-condition-badge-background-hover,var(--luzmo-primary-hover))}.group-actions{margin-top:var(--luzmo-filters-group-actions-margin-top,var(--filters-group-actions-margin-top));gap:var(--luzmo-filters-group-actions-gap,var(--filters-group-actions-gap));flex-wrap:wrap;display:flex}.delete-group-button{margin-left:auto}.add-root-group-container{margin-top:var(--luzmo-filters-add-root-group-container-margin-top,var(--filters-add-root-group-container-margin-top));padding-left:0}.add-subgroup-button,.add-filter-button{--luzmo-action-button-text-to-visual:var(--luzmo-filters-group-actions-text-to-visual,var(--filters-group-actions-text-to-visual));--luzmo-action-button-content-color-default:var(--luzmo-filters-group-actions-color,var(--luzmo-primary-hover));--luzmo-action-button-content-color-hover:var(--luzmo-filters-group-actions-color-hover,var(--luzmo-primary-hover));--luzmo-action-button-content-color-down:var(--luzmo-filters-group-actions-color-down,var(--luzmo-primary-down));--luzmo-action-button-content-color-focus:var(--luzmo-filters-group-actions-color-focus,var(--luzmo-primary-focus))}.add-group-button{--luzmo-button-padding-label-to-icon:var(--luzmo-filters-add-group-button-text-to-visual,var(--filters-add-group-button-text-to-visual))}.dataset-ids-empty-message{color:var(--luzmo-filters-error-message-color,var(--luzmo-disabled-color));font-size:var(--luzmo-filters-error-message-font-size,var(--filters-font-size))}@container (width<=480px){.condition-badge{--luzmo-action-button-font-size:.6875rem;--luzmo-action-button-height:1.2rem;--luzmo-button-line-height:1.2rem;font-size:.6875rem;line-height:1.2rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-90deg)}:host([dir=rtl]) .condition-badge{transform:translate(-50%,-50%)rotate(90deg)}}.filters-loading{min-height:var(--filters-progress-circle-size);align-items:center;display:inline-flex}.filters-loading luzmo-progress-circle{--luzmo-progress-circle-size:var(--filters-progress-circle-size)}.filters-text,.filters-outline{font-size:var(--luzmo-filters-text-font-size,var(--filters-text-font-size));line-height:1.5}.filters-outline{--filters-outline-sentence-padding-block:calc((var(--filters-outline-row-min-height) - 1lh) / 2)}luzmo-filter-item[display=text]{--luzmo-filter-item-column-badge-color:var(--luzmo-filters-column-badge-color);--luzmo-filter-item-column-badge-font-color:var(--luzmo-filters-column-badge-font-color);--luzmo-filter-item-text-font-size:var(--luzmo-filters-text-font-size,var(--filters-text-font-size));--luzmo-filter-item-text-expression-color:var(--luzmo-filters-expression-color,var(--filters-expression-color));--luzmo-filter-item-text-expression-font-weight:var(--luzmo-filters-expression-font-weight,var(--filters-expression-font-weight))}.filters-text luzmo-filter-item[display=text],.filters-text-group luzmo-filter-item[display=text]{--luzmo-filter-item-text-icon-gap:var(--luzmo-filters-text-icon-gap,var(--filters-text-icon-gap))}.outline-sentence>luzmo-filter-item[display=text]{--luzmo-filter-item-text-icon-gap:var(--luzmo-filters-text-part-gap,var(--filters-text-part-gap))}.filters-text{white-space:pre-wrap;word-break:break-word}.filters-text .filters-text-condition{margin-inline-start:0;margin-inline-end:0}.filters-text-condition,.filters-text-paren{vertical-align:middle}.filters-text-condition{color:var(--luzmo-filters-condition-color,var(--filters-condition-color));font-weight:var(--luzmo-filters-condition-font-weight,var(--filters-condition-font-weight))}.outline-group{gap:var(--luzmo-spacing-1);flex-direction:column;min-width:0;display:flex}.outline-children>.outline-group:not(:first-child){margin-top:calc(var(--luzmo-spacing-1) + var(--filters-outline-sentence-padding-block) + var(--filters-outline-join-spacing) - var(--luzmo-spacing-2))}.outline-condition{color:var(--luzmo-filters-condition-color,var(--filters-condition-color));font-size:var(--luzmo-filters-outline-condition-font-size,var(--filters-outline-condition-font-size));font-weight:var(--luzmo-filters-condition-font-weight,var(--filters-condition-font-weight-emphasized));letter-spacing:.04em}.outline-children{gap:var(--luzmo-spacing-2);min-width:0;flex-direction:column;margin-inline-start:var(--luzmo-filters-outline-children-margin-inline-start,var(--filters-outline-children-margin-inline-start));padding-inline-start:var(--luzmo-filters-outline-children-padding-inline-start,var(--filters-outline-children-padding-inline-start));display:flex;position:relative}.outline-children:not(.outline-children--single):before{content:\"\";inset-block:var(--luzmo-filters-outline-bracket-inset,var(--filters-outline-bracket-inset));width:var(--luzmo-spacing-2);border-inline-start:1px solid var(--luzmo-border-color);border-block-start:1px solid var(--luzmo-border-color);border-block-end:1px solid var(--luzmo-border-color);position:absolute}.outline-children:not(.outline-children--single):not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{border-top-left-radius:var(--luzmo-border-radius);border-bottom-left-radius:var(--luzmo-border-radius);left:0}.outline-children:not(.outline-children--single):not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{border-top-left-radius:var(--luzmo-border-radius);border-bottom-left-radius:var(--luzmo-border-radius);left:0}.outline-children:not(.outline-children--single):-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{border-top-right-radius:var(--luzmo-border-radius);border-bottom-right-radius:var(--luzmo-border-radius);right:0}.outline-children:not(.outline-children--single):is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{border-top-right-radius:var(--luzmo-border-radius);border-bottom-right-radius:var(--luzmo-border-radius);right:0}.outline-children--single{margin-inline-start:0;padding-inline-start:0}.outline-row{align-items:flex-start;column-gap:var(--luzmo-spacing-2);min-width:0;min-height:var(--filters-outline-row-min-height);flex-wrap:nowrap;display:flex}.outline-sentence{align-items:center;gap:var(--luzmo-filters-text-part-gap,var(--filters-text-part-gap));min-width:0;padding-block:var(--filters-outline-sentence-padding-block);flex-wrap:wrap;flex:auto;display:flex}.outline-delete{flex:none;align-self:flex-end;margin-inline-start:auto}:host{--filters-condition-warpper-width:56px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-3);--filters-filters-list-gap:var(--luzmo-spacing-3);--filters-nested-group-margin-top:var(--luzmo-spacing-3);--filters-nested-group-margin-bottom:var(--luzmo-spacing-3);--filters-vertical-line-top:var(--luzmo-spacing-2);--filters-vertical-line-bottom:var(--luzmo-spacing-2);--filters-vertical-line-width:1px;--filters-group-actions-text-to-visual:var(--luzmo-spacing-2);--filters-add-group-button-text-to-visual:var(--luzmo-spacing-3);--filters-group-actions-gap:var(--luzmo-spacing-3);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-4);--filters-filter-line-gap:var(--luzmo-spacing-3);--filters-group-actions-margin-top:var(--luzmo-spacing-3);--filters-error-message-font-size:var(--luzmo-font-size);--filters-text-font-size:var(--luzmo-font-size-m);--filters-outline-row-min-height:var(--luzmo-component-height);--filters-progress-circle-size:var(--luzmo-component-height);--filters-text-part-gap:var(--luzmo-spacing-2);--filters-text-icon-gap:var(--luzmo-spacing-1);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-2);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-3);--filters-outline-bracket-inset:var(--luzmo-spacing-2);--filters-outline-join-spacing:var(--luzmo-spacing-2);--filters-expression-color:var(--luzmo-filters-font-color,var(--luzmo-font-color));--filters-expression-font-weight:var(--luzmo-font-weight);--filters-condition-color:var(--luzmo-filters-font-color,var(--luzmo-font-color));--filters-condition-font-weight:var(--luzmo-font-weight);--filters-condition-font-weight-emphasized:var(--luzmo-font-weight-bold);--filters-outline-condition-font-size:var(--luzmo-font-size-s)}:host([size=s]){--filters-condition-warpper-width:48px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-2);--filters-filters-list-gap:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-nested-group-margin-top:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-nested-group-margin-bottom:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-vertical-line-top:var(--luzmo-spacing-2);--filters-vertical-line-bottom:var(--luzmo-spacing-2);--filters-group-actions-text-to-visual:var(--luzmo-spacing-1);--filters-add-group-button-text-to-visual:var(--luzmo-spacing-2);--filters-group-actions-gap:var(--luzmo-spacing-2);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-3);--filters-filter-line-gap:var(--luzmo-spacing-2);--filters-group-actions-margin-top:var(--luzmo-spacing-2);--filters-error-message-font-size:var(--luzmo-font-size-s);--filters-text-font-size:var(--luzmo-font-size-s);--filters-outline-row-min-height:var(--luzmo-component-height-s);--filters-progress-circle-size:var(--luzmo-component-height-s);--filters-text-part-gap:var(--luzmo-spacing-1);--filters-text-icon-gap:var(--luzmo-spacing-1);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-1);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-3);--filters-outline-bracket-inset:var(--luzmo-spacing-1);--filters-outline-join-spacing:var(--luzmo-spacing-1);--filters-outline-condition-font-size:var(--luzmo-font-size-xs)}:host([size=l]){--filters-condition-warpper-width:64px;--filters-condition-padding-horizontal:var(--luzmo-spacing-3);--filters-condition-badge-halo:var(--luzmo-spacing-4);--filters-filters-list-gap:var(--luzmo-spacing-4);--filters-nested-group-margin-top:var(--luzmo-spacing-4);--filters-nested-group-margin-bottom:var(--luzmo-spacing-4);--filters-vertical-line-top:var(--luzmo-spacing-3);--filters-vertical-line-bottom:var(--luzmo-spacing-3);--filters-group-actions-text-to-visual:var(--luzmo-spacing-2);--filters-add-group-button-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filters-group-actions-gap:var(--luzmo-spacing-3);--filters-add-root-group-container-margin-top:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-filter-line-gap:var(--luzmo-spacing-3);--filters-group-actions-margin-top:var(--luzmo-spacing-3);--filters-error-message-font-size:var(--luzmo-font-size-l);--filters-text-font-size:var(--luzmo-font-size-l);--filters-outline-row-min-height:var(--luzmo-component-height-l);--filters-progress-circle-size:var(--luzmo-component-height-l);--filters-text-part-gap:var(--luzmo-spacing-3);--filters-text-icon-gap:var(--luzmo-spacing-2);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-3);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-4);--filters-outline-bracket-inset:var(--luzmo-spacing-2);--filters-outline-join-spacing:var(--luzmo-spacing-3);--filters-outline-condition-font-size:var(--luzmo-font-size-m)}:host([size=xl]){--filters-condition-warpper-width:72px;--filters-condition-padding-horizontal:var(--luzmo-spacing-3);--filters-condition-badge-halo:var(--luzmo-spacing-4);--filters-filters-list-gap:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-nested-group-margin-top:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-nested-group-margin-bottom:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-vertical-line-top:var(--luzmo-spacing-3);--filters-vertical-line-bottom:var(--luzmo-spacing-3);--filters-group-actions-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filters-add-group-button-text-to-visual:var(--luzmo-spacing-4);--filters-group-actions-gap:var(--luzmo-spacing-4);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-5);--filters-filter-line-gap:var(--luzmo-spacing-4);--filters-group-actions-margin-top:var(--luzmo-spacing-4);--filters-error-message-font-size:var(--luzmo-font-size-xl);--filters-text-font-size:var(--luzmo-font-size-xl);--filters-outline-row-min-height:var(--luzmo-component-height-xl);--filters-progress-circle-size:var(--luzmo-component-height-xl);--filters-text-part-gap:var(--luzmo-spacing-4);--filters-text-icon-gap:var(--luzmo-spacing-2);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-4);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-5);--filters-outline-bracket-inset:var(--luzmo-spacing-3);--filters-outline-join-spacing:var(--luzmo-spacing-3);--filters-outline-condition-font-size:var(--luzmo-font-size-l)}@container (width<=480px){.filter-group-container{--filters-condition-warpper-width:32px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-2);--filters-filters-list-gap:var(--luzmo-spacing-5)}}";
393
+ //#endregion
394
+ //#region src/components/filters/filters.ts
395
+ function X(e) {
396
+ if (e instanceof g) return e;
397
+ throw e;
398
+ }
399
+ var Z = {
400
+ and: () => m("AND", { desc: "Logical AND condition for combining filters" }),
401
+ or: () => m("OR", { desc: "Logical OR condition for combining filters" })
402
+ };
403
+ function Q(e) {
404
+ return e === "and" ? "or" : "and";
405
+ }
406
+ var $ = class extends t(se(oe, { validSizes: Object.values(ae) })) {
407
+ constructor(...e) {
408
+ super(...e), this.apiUrl = "https://api.luzmo.com", this.contentLanguage = "en", this.filters = [], this.format = "canonical", this.display = "rich", this.columnDisplay = "text", this.quiet = !1, this.readonly = !1, this.allowParameters = !1, this.parameters = [], this.debounce = 300, this._internalFilterGroup = null, this._datasets = [], this._datasetsLoading = !1, this._hierarchyLabels = /* @__PURE__ */ new Map(), this._hierarchyLabelsLoading = !1, this._hasSyntheticRoot = !1, this._datasetRequest = 0, this._hierarchyRequest = 0, this._debounceTimeout = null;
409
+ }
410
+ static get styles() {
411
+ return [ne(Ae)];
412
+ }
413
+ get _oneSizeSmaller() {
414
+ return {
415
+ xxs: "xxs",
416
+ xs: "xs",
417
+ s: "xs",
418
+ m: "s",
419
+ l: "m",
420
+ xl: "l",
421
+ xxl: "xl"
422
+ }[this.size] || "s";
423
+ }
424
+ get _isDatasetIdsEmpty() {
425
+ return !this.datasetIds || this.datasetIds.length === 0;
426
+ }
427
+ connectedCallback() {
428
+ super.connectedCallback(), this.hasUpdated && this.display !== "rich" && this._loadDatasetsForDisplay();
429
+ }
430
+ disconnectedCallback() {
431
+ super.disconnectedCallback(), this._datasetRequest += 1, this._hierarchyRequest += 1, this._debounceTimeout &&= (clearTimeout(this._debounceTimeout), null);
432
+ }
433
+ willUpdate(e) {
434
+ if (super.willUpdate(e), e.has("filters")) try {
435
+ let e = Y(this.filters);
436
+ e.length === 0 ? (this._internalFilterGroup = null, this._hasSyntheticRoot = !1) : e.length === 1 ? (this._internalFilterGroup = structuredClone(e[0]), this._hasSyntheticRoot = !1) : (this._internalFilterGroup = {
437
+ condition: "and",
438
+ filters: structuredClone(e)
439
+ }, this._hasSyntheticRoot = !0);
440
+ } catch (t) {
441
+ console.warn(`[${this.localName}] Keeping the current filters, the new value cannot be normalized:`, X(t)), this.filters = e.get("filters") ?? [];
442
+ }
443
+ this.display !== "rich" && (e.has("display") || e.has("datasetIds") || e.has("authKey") || e.has("authToken") || e.has("apiUrl") || e.has("cacheTime")) && this._loadDatasetsForDisplay(), this.display !== "rich" && (e.has("filters") || e.has("display") || e.has("contentLanguage")) && this._loadHierarchyLabelsForDisplay();
444
+ }
445
+ async _loadDatasetsForDisplay() {
446
+ let e = ++this._datasetRequest;
447
+ if (!this.datasetIds || this.datasetIds.length === 0) {
448
+ this._datasets = [], this._datasetsLoading = !1, this._loadHierarchyLabelsForDisplay();
449
+ return;
450
+ }
451
+ let { valid: t, invalid: i } = r(this.datasetIds);
452
+ if (i.length > 0 && console.warn(`[${this.localName}] Invalid dataset IDs provided (not valid UUIDs): ${i.join(", ")}. These will be skipped.`), t.length === 0) {
453
+ this._datasets = [], this._datasetsLoading = !1, this._loadHierarchyLabelsForDisplay();
454
+ return;
455
+ }
456
+ this._datasetsLoading = !0, this._configureDataBroker();
457
+ try {
458
+ let r = await n.fetchDatasetsWithColumnsAndFormulas(t);
459
+ if (!this.isConnected || e !== this._datasetRequest) return;
460
+ this._datasets = r;
461
+ } catch (t) {
462
+ if (!this.isConnected || e !== this._datasetRequest) return;
463
+ console.error(`[${this.localName}] Error fetching dataset columns & formulas:`, t), this._datasets = [];
464
+ } finally {
465
+ this.isConnected && e === this._datasetRequest && (this._datasetsLoading = !1, this._loadHierarchyLabelsForDisplay());
466
+ }
467
+ }
468
+ _configureDataBroker() {
469
+ let e = {
470
+ authKey: this.authKey || "",
471
+ authToken: this.authToken || ""
472
+ };
473
+ this.apiUrl && (e.apiUrl = this.apiUrl), this.cacheTime && (e.staleTime = this.cacheTime, e.gcTime = this.cacheTime * 2), n.configure(e);
474
+ }
475
+ async _loadHierarchyLabelsForDisplay() {
476
+ let e = ++this._hierarchyRequest;
477
+ if (this.display === "rich" || !this._internalFilterGroup) {
478
+ if (!this.isConnected || e !== this._hierarchyRequest) return;
479
+ this._hierarchyLabels = /* @__PURE__ */ new Map(), this._hierarchyLabelsLoading = !1;
480
+ return;
481
+ }
482
+ let t = ee(this._internalFilterGroup, this._filterTextContext());
483
+ if (t.length === 0) {
484
+ if (!this.isConnected || e !== this._hierarchyRequest) return;
485
+ this._hierarchyLabels = /* @__PURE__ */ new Map(), this._hierarchyLabelsLoading = !1;
486
+ return;
487
+ }
488
+ this._hierarchyLabelsLoading = !0, this._configureDataBroker();
489
+ try {
490
+ let n = await o(t, this.contentLanguage);
491
+ if (!this.isConnected || e !== this._hierarchyRequest) return;
492
+ this._hierarchyLabels = n;
493
+ } catch (t) {
494
+ if (!this.isConnected || e !== this._hierarchyRequest) return;
495
+ console.error(`[${this.localName}] Error fetching hierarchy member names:`, t);
496
+ } finally {
497
+ this.isConnected && e === this._hierarchyRequest && (this._hierarchyLabelsLoading = !1);
498
+ }
499
+ }
500
+ _filterTextContext() {
501
+ return {
502
+ datasets: this._datasets,
503
+ contentLanguage: this.contentLanguage,
504
+ timeZone: this.timeZone,
505
+ hierarchyLabels: this._hierarchyLabels,
506
+ hierarchyLabelsLoading: this._hierarchyLabelsLoading
507
+ };
508
+ }
509
+ _generateEmptyGroup() {
510
+ return {
511
+ id: i(),
512
+ condition: "and",
513
+ filters: []
514
+ };
515
+ }
516
+ _generateEmptyFilter() {
517
+ return {
518
+ expression: void 0,
519
+ parameters: [],
520
+ properties: { id: i() }
521
+ };
522
+ }
523
+ _rootGroupsForExport() {
524
+ if (!this._internalFilterGroup) return [];
525
+ let e = this._internalFilterGroup.filters.length > 0 && this._internalFilterGroup.filters.every((e) => this._isGroup(e));
526
+ return this._hasSyntheticRoot && e ? structuredClone(this._internalFilterGroup.filters) : [structuredClone(this._internalFilterGroup)];
527
+ }
528
+ _getFiltersForExport() {
529
+ let e = this._rootGroupsForExport(), t = this.format === "clean" ? "clean" : "canonical";
530
+ if (e.length === 0) return {
531
+ filters: [],
532
+ format: t
533
+ };
534
+ if (t === "clean") try {
535
+ return {
536
+ filters: e.flatMap((e) => K(e, { format: "clean" })),
537
+ format: "clean"
538
+ };
539
+ } catch (e) {
540
+ console.warn(`[${this.localName}] Cannot emit clean filters, falling back to canonical output:`, X(e));
541
+ }
542
+ return {
543
+ filters: e.flatMap((e) => K(e)),
544
+ format: "canonical"
545
+ };
546
+ }
547
+ _sendChangeEvent() {
548
+ this._debounceTimeout && clearTimeout(this._debounceTimeout);
549
+ let e = () => {
550
+ this.dispatchEvent(new CustomEvent("luzmo-filters-changed", {
551
+ bubbles: !0,
552
+ composed: !0,
553
+ cancelable: !0,
554
+ detail: this._getFiltersForExport()
555
+ }));
556
+ };
557
+ this.debounce > 0 ? this._debounceTimeout = setTimeout(e, this.debounce) : e();
558
+ }
559
+ _isGroup(e) {
560
+ return "condition" in e && "filters" in e;
561
+ }
562
+ _handleParameterCreated(e) {
563
+ let t = e.detail?.parameter;
564
+ this.readonly || !t || this.parameters.some(({ parameter: e }) => e === t.parameter) || (this.parameters = [...this.parameters, t]);
565
+ }
566
+ _toggleCondition(e) {
567
+ this.readonly || (e.condition = Q(e.condition), e === this._internalFilterGroup && (this._hasSyntheticRoot = !1), this.requestUpdate(), this._sendChangeEvent());
568
+ }
569
+ _addFilter(e) {
570
+ if (this.readonly || this._isDatasetIdsEmpty) return;
571
+ let t = e;
572
+ t ||= (this._internalFilterGroup ||= this._generateEmptyGroup(), this._internalFilterGroup), t.filters.push(this._generateEmptyFilter()), this.requestUpdate(), this._sendChangeEvent();
573
+ }
574
+ _addSubGroup(e) {
575
+ if (this.readonly || this._isDatasetIdsEmpty) return;
576
+ let t = this._generateEmptyGroup();
577
+ t.condition = Q(e.condition), t.filters.push(this._generateEmptyFilter()), e.filters.push(t), this.requestUpdate(), this._sendChangeEvent();
578
+ }
579
+ _removeFilter(e, t) {
580
+ if (!(this.readonly || !this._internalFilterGroup)) {
581
+ if (e.filters.splice(t, 1), e !== this._internalFilterGroup && e.filters.length === 0) {
582
+ let t = this._findParentGroup(this._internalFilterGroup, e);
583
+ if (t) {
584
+ let n = t.filters.indexOf(e);
585
+ n !== -1 && t.filters.splice(n, 1);
586
+ }
587
+ }
588
+ this._collapseGroupsAfterDelete(), this.requestUpdate(), this._sendChangeEvent();
589
+ }
590
+ }
591
+ _updateFilter(e, t, n) {
592
+ n.stopPropagation(), !this.readonly && (this._isGroup(e.filters[t]) || (e.filters[t] = n.detail.filter, this._sendChangeEvent()));
593
+ }
594
+ _addGroup() {
595
+ if (this.readonly || this._isDatasetIdsEmpty) return;
596
+ this._internalFilterGroup ||= this._generateEmptyGroup();
597
+ let e = this._generateEmptyGroup();
598
+ e.condition = Q(this._internalFilterGroup.condition), e.filters.push(this._internalFilterGroup);
599
+ let t = this._generateEmptyGroup();
600
+ t.condition = Q(e.condition), t.filters.push(this._generateEmptyFilter()), e.filters.push(t), this._internalFilterGroup = e, this._hasSyntheticRoot = !1, this.requestUpdate(), this._sendChangeEvent();
601
+ }
602
+ _renderFilterItem(e, t, n) {
603
+ return u`
604
+ <div class="filter-item-wrapper">
605
+ <div class="filter-item-content">
606
+ <luzmo-filter-item
607
+ .apiUrl=${this.apiUrl}
608
+ .authKey=${this.authKey}
609
+ .authToken=${this.authToken}
610
+ .cacheTime=${this.cacheTime}
611
+ .language=${this.language}
612
+ .contentLanguage=${this.contentLanguage}
613
+ .timeZone=${this.timeZone}
614
+ .datasetIds=${this.datasetIds}
615
+ .filter=${e}
616
+ .allowParameters=${this.allowParameters}
617
+ .parameters=${this.parameters}
618
+ .size=${this.size}
619
+ .quiet=${this.quiet}
620
+ .readonly=${this.readonly}
621
+ @luzmo-filter-changed=${this._updateFilter.bind(this, t, n)}
622
+ @luzmo-parameter-created=${this._handleParameterCreated}
623
+ ></luzmo-filter-item>
624
+ <luzmo-action-button
625
+ class="delete-filter-button"
626
+ .size=${this.size}
627
+ quiet
628
+ aria-disabled=${this.readonly ? "true" : d}
629
+ .label=${m("Remove filter", { desc: "Aria label for remove filter button" })}
630
+ @click=${this._removeFilter.bind(this, t, n)}
631
+ >
632
+ <luzmo-icon slot="icon" .icon=${l} .size=${this.size}></luzmo-icon>
633
+ </luzmo-action-button>
634
+ </div>
635
+ </div>
636
+ `;
637
+ }
638
+ _renderGroup(e, t = !1) {
639
+ let n = e.filters.length > 0, r = e.filters.length > 1, i = Z[e.condition]?.() ?? e.condition;
640
+ return u`
641
+ <div class="filter-group ${t ? "nested" : ""}" role="group">
642
+ ${t ? u`
643
+ <div class="condition-wrapper">
644
+ ${r ? u`
645
+ <luzmo-action-button
646
+ class="condition-badge"
647
+ .size=${this._oneSizeSmaller}
648
+ quiet
649
+ aria-disabled=${this.readonly ? "true" : d}
650
+ aria-pressed=${e.condition === "and" ? "true" : "false"}
651
+ .label=${m("Toggle filter condition, currently ", { desc: "Aria label prefix for filter condition toggle" }) + i}
652
+ @click=${this._toggleCondition.bind(this, e)}
653
+ >
654
+ ${i}
655
+ </luzmo-action-button>
656
+ ` : ""}
657
+ </div>
658
+ ` : r ? u`
659
+ <div class="condition-wrapper">
660
+ <luzmo-action-button
661
+ class="condition-badge"
662
+ .size=${this._oneSizeSmaller}
663
+ quiet
664
+ aria-disabled=${this.readonly ? "true" : d}
665
+ aria-pressed=${e.condition === "and" ? "true" : "false"}
666
+ .label=${m("Toggle filter condition, currently ", { desc: "Aria label prefix for filter condition toggle" }) + i}
667
+ @click=${this._toggleCondition.bind(this, e)}
668
+ >
669
+ ${i}
670
+ </luzmo-action-button>
671
+ </div>
672
+ ` : ""}
673
+ <div class="group-content">
674
+ ${n ? u`
675
+ <div class="filters-list">
676
+ ${ie(e.filters, (e, t) => t, (t, n) => u`
677
+ ${this._isGroup(t) ? this._renderGroup(t, !0) : this._renderFilterItem(t, e, n)}
678
+ `)}
679
+ </div>
680
+ ` : ""}
681
+
682
+ <div class="group-actions">
683
+ <luzmo-action-button
684
+ class="add-filter-button"
685
+ .size=${this.size}
686
+ quiet
687
+ aria-disabled=${this.readonly ? "true" : d}
688
+ ?disabled=${this._isDatasetIdsEmpty}
689
+ @click=${this._addFilter.bind(this, e)}
690
+ >
691
+ <luzmo-icon slot="icon" .icon=${c} .size=${this._oneSizeSmaller}></luzmo-icon>
692
+ ${m("Filter", { desc: "Add filter button label" })}
693
+ </luzmo-action-button>
694
+
695
+ <luzmo-action-button
696
+ class="add-subgroup-button"
697
+ .size=${this.size}
698
+ quiet
699
+ aria-disabled=${this.readonly ? "true" : d}
700
+ ?disabled=${this._isDatasetIdsEmpty}
701
+ @click=${this._addSubGroup.bind(this, e)}
702
+ >
703
+ <luzmo-icon slot="icon" .icon=${c} .size=${this._oneSizeSmaller}></luzmo-icon>
704
+ ${m("Subgroup", { desc: "Add subgroup button label" })}
705
+ </luzmo-action-button>
706
+ </div>
707
+ </div>
708
+ </div>
709
+ `;
710
+ }
711
+ _findParentGroup(e, t) {
712
+ for (let n of e.filters) {
713
+ if (n === t) return e;
714
+ if (this._isGroup(n)) {
715
+ let e = this._findParentGroup(n, t);
716
+ if (e) return e;
717
+ }
718
+ }
719
+ return null;
720
+ }
721
+ _collapseIfNeeded(e) {
722
+ if (e.filters.length === 1 && this._isGroup(e.filters[0])) {
723
+ let t = e.filters[0];
724
+ e.condition = t.condition, e.filters = t.filters, e.id = t.id, e.clause = t.clause, e.origin = t.origin, e.datasetId = t.datasetId, e.vizId = t.vizId, e.itemId = t.itemId, e.isDrilldown = t.isDrilldown, e.type = t.type, e === this._internalFilterGroup && (this._hasSyntheticRoot = !1);
725
+ }
726
+ }
727
+ _collapseGroupsAfterDelete() {
728
+ if (!this._internalFilterGroup) return;
729
+ let e = (t) => {
730
+ for (let n of t.filters) this._isGroup(n) && e(n);
731
+ this._collapseIfNeeded(t);
732
+ };
733
+ e(this._internalFilterGroup);
734
+ }
735
+ _renderTextLeaf(e) {
736
+ return te(e, this._filterTextContext()) ? u`<luzmo-filter-item
737
+ class="filters-text-leaf"
738
+ display="text"
739
+ .columnDisplay=${this.columnDisplay}
740
+ .filter=${e}
741
+ .textContext=${this._filterTextContext()}
742
+ .language=${this.language}
743
+ .contentLanguage=${this.contentLanguage}
744
+ .timeZone=${this.timeZone}
745
+ .size=${this.size}
746
+ readonly
747
+ ></luzmo-filter-item>` : d;
748
+ }
749
+ _renderTextGroup(e, t) {
750
+ let n = [];
751
+ for (let t of e.filters) {
752
+ let e = this._isGroup(t) ? this._renderTextGroup(t, !1) : this._renderTextLeaf(t);
753
+ e !== d && n.push(e);
754
+ }
755
+ if (n.length === 0) return d;
756
+ if (n.length === 1) return n[0];
757
+ let r = u`<span class="filters-text-condition">${Z[e.condition]()}</span>`, i = e.condition === "or" ? m(h`${a[0]}\u2063 ${a[1]}\u2063 ${a[2]}`, {
758
+ id: "filters-sentence-or",
759
+ desc: "Left filter sentence, logical OR condition, and right filter sentence"
760
+ }) : m(h`${a[0]}\u2063 ${a[1]}\u2063 ${a[2]}`, {
761
+ id: "filters-sentence-and",
762
+ desc: "Left filter sentence, logical AND condition, and right filter sentence"
763
+ }), o = n.slice(1).reduce((e, t) => s(i, [
764
+ u`${e}`,
765
+ r,
766
+ t
767
+ ]), [n[0]]);
768
+ return t ? u`${o}` : u`<span class="filters-text-group"
769
+ >${s(m(h`(${a[0]})`, {
770
+ id: "filters-sentence-parentheses",
771
+ desc: "Nested filter sentence wrapped in parentheses"
772
+ }), [u`${o}`]).map((e) => typeof e == "string" ? u`<span class="filters-text-paren">${e}</span>` : e)}</span
773
+ >`;
774
+ }
775
+ _renderDatasetLoading() {
776
+ return u`<div class="filters-loading" role="status">
777
+ <luzmo-progress-circle indeterminate .label=${m("Loading filters", { desc: "Accessible label while filter column names are loading" })} .size=${this.size}></luzmo-progress-circle>
778
+ </div>`;
779
+ }
780
+ _renderTextDisplay() {
781
+ return u`<span class="filters-text" part="filters-text"
782
+ >${this._internalFilterGroup ? this._renderTextGroup(this._internalFilterGroup, !0) : d}</span
783
+ >`;
784
+ }
785
+ _deleteOutlineFilter(e, t) {
786
+ this.readonly || this.display !== "outline" || this._removeFilter(e, t);
787
+ }
788
+ _renderOutlineRow(e, t, n) {
789
+ let r = this._renderTextLeaf(e);
790
+ if (r === d) return d;
791
+ let i = m("Remove filter", { desc: "Aria label for remove filter button" });
792
+ return u`<div class="outline-row" part="filters-outline-row">
793
+ <span class="outline-sentence">${r}</span>
794
+ ${this.readonly ? d : u`<luzmo-action-button
795
+ class="delete-filter-button outline-delete"
796
+ .size=${this.size}
797
+ quiet
798
+ .label=${i}
799
+ @click=${() => this._deleteOutlineFilter(t, n)}
800
+ >
801
+ <luzmo-icon slot="icon" .icon=${l} .size=${this.size}></luzmo-icon>
802
+ </luzmo-action-button>`}
803
+ </div>`;
804
+ }
805
+ _renderOutlineGroup(e, t = !0) {
806
+ let n = e.filters.some((e) => this._isGroup(e)), r = e.filters.length > 1 && !(t && !n && e.condition === "and"), i = Z[e.condition]?.() ?? e.condition;
807
+ return u`<div class="outline-group" role=${r ? "group" : d} aria-label=${r ? i : d}>
808
+ ${r ? u`<div class="outline-condition">${i}</div>` : d}
809
+ <div class=${r ? "outline-children" : "outline-children outline-children--single"}>
810
+ ${e.filters.map((t, n) => this._isGroup(t) ? this._renderOutlineGroup(t, !1) : this._renderOutlineRow(t, e, n))}
811
+ </div>
812
+ </div>`;
813
+ }
814
+ _renderOutlineDisplay() {
815
+ return u`<div class="filters-outline" part="filters-outline">
816
+ ${this._internalFilterGroup ? this._renderOutlineGroup(this._internalFilterGroup) : d}
817
+ </div>`;
818
+ }
819
+ render() {
820
+ if (this.display === "text" || this.display === "outline") return this._datasetsLoading && this._datasets.length === 0 ? this._renderDatasetLoading() : this.display === "text" ? this._renderTextDisplay() : this._renderOutlineDisplay();
821
+ if (this._isDatasetIdsEmpty) return u`
822
+ <div class="filter-group-container">
823
+ <div class="dataset-ids-empty-message" role="status">
824
+ ${m("Cannot retrieve dataset data fields", { desc: "Error message when datasetIds is empty" })}
825
+ </div>
826
+ </div>
827
+ `;
828
+ if (!this._internalFilterGroup || this._internalFilterGroup.filters.length === 0) return u`
829
+ <div class="filter-group-container">
830
+ <luzmo-button
831
+ class="add-filter-button"
832
+ .size=${this.size}
833
+ treatment="outline"
834
+ ?quiet=${this.quiet}
835
+ aria-disabled=${this.readonly ? "true" : d}
836
+ ?disabled=${this._isDatasetIdsEmpty}
837
+ @click=${() => this._addFilter()}
838
+ >
839
+ <luzmo-icon slot="icon" .icon=${c} .size=${this._oneSizeSmaller}></luzmo-icon>
840
+ ${m("Add filter", { desc: "Add filter button label" })}
841
+ </luzmo-button>
842
+ </div>
843
+ `;
844
+ let e = this._internalFilterGroup.filters.length > 1;
845
+ return u`
846
+ <div class="filter-group-container">
847
+ ${this._renderGroup(this._internalFilterGroup)}
848
+
849
+ ${e ? u`
850
+ <div class="add-root-group-container">
851
+ <luzmo-button
852
+ class="add-group-button"
853
+ .size=${this.size}
854
+ treatment="outline"
855
+ ?quiet=${this.quiet}
856
+ aria-disabled=${this.readonly ? "true" : d}
857
+ ?disabled=${this._isDatasetIdsEmpty}
858
+ @click=${this._addGroup}
859
+ >
860
+ <luzmo-icon slot="icon" .icon=${c} .size=${this._oneSizeSmaller}></luzmo-icon>
861
+ ${m("Group", { desc: "Add group button label" })}
862
+ </luzmo-button>
863
+ </div>
864
+ ` : ""}
865
+ </div>
866
+ `;
867
+ }
868
+ };
869
+ //#endregion
870
+ //#region src/components/filters/index.ts
871
+ e([f({
872
+ type: String,
873
+ attribute: "api-url",
874
+ reflect: !0
875
+ })], $.prototype, "apiUrl", void 0), e([f({
876
+ type: String,
877
+ attribute: "auth-key",
878
+ reflect: !0
879
+ })], $.prototype, "authKey", void 0), e([f({
880
+ type: String,
881
+ attribute: "auth-token",
882
+ reflect: !0
883
+ })], $.prototype, "authToken", void 0), e([f({
884
+ type: Number,
885
+ attribute: "cache-time",
886
+ reflect: !0
887
+ })], $.prototype, "cacheTime", void 0), e([f({
888
+ type: String,
889
+ attribute: "content-language",
890
+ reflect: !0
891
+ })], $.prototype, "contentLanguage", void 0), e([f({
892
+ type: String,
893
+ attribute: "time-zone",
894
+ reflect: !0
895
+ })], $.prototype, "timeZone", void 0), e([f({
896
+ type: Array,
897
+ attribute: "dataset-ids",
898
+ reflect: !0
899
+ })], $.prototype, "datasetIds", void 0), e([f({
900
+ type: Array,
901
+ reflect: !1
902
+ })], $.prototype, "filters", void 0), e([f({
903
+ type: String,
904
+ reflect: !0
905
+ })], $.prototype, "format", void 0), e([f({
906
+ type: String,
907
+ reflect: !0
908
+ })], $.prototype, "display", void 0), e([f({
909
+ type: String,
910
+ attribute: "column-display",
911
+ reflect: !0
912
+ })], $.prototype, "columnDisplay", void 0), e([f({
913
+ type: Boolean,
914
+ reflect: !0
915
+ })], $.prototype, "quiet", void 0), e([f({
916
+ type: Boolean,
917
+ reflect: !0
918
+ })], $.prototype, "readonly", void 0), e([f({
919
+ type: Boolean,
920
+ attribute: "allow-parameters",
921
+ reflect: !0
922
+ })], $.prototype, "allowParameters", void 0), e([f({ attribute: !1 })], $.prototype, "parameters", void 0), e([f({
923
+ type: Number,
924
+ reflect: !0
925
+ })], $.prototype, "debounce", void 0), e([p()], $.prototype, "_internalFilterGroup", void 0), e([p()], $.prototype, "_datasets", void 0), e([p()], $.prototype, "_datasetsLoading", void 0), e([p()], $.prototype, "_hierarchyLabels", void 0), e([p()], $.prototype, "_hierarchyLabelsLoading", void 0), $ = e([re()], $), customElements.get("luzmo-filters") || customElements.define("luzmo-filters", $);
926
+ //#endregion
927
+ export { g as a, K as i, Y as n, ce as o, U as r, pe as s, $ as t };