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

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 (702) hide show
  1. package/README.md +6 -4
  2. package/components/ad-hoc-slot-content-BwcFfXCV.cjs +20 -0
  3. package/components/ad-hoc-slot-content-hSlT62VS.js +29 -0
  4. package/components/ai-chat/ai-chat-events.d.ts +139 -0
  5. package/components/ai-chat/ai-chat-request.d.ts +25 -0
  6. package/components/ai-chat/ai-chat.d.ts +347 -0
  7. package/components/ai-chat/ai-prompt-types.d.ts +133 -0
  8. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +46 -0
  9. package/components/ai-chat/empty-state/index.d.ts +8 -0
  10. package/components/ai-chat/empty-state/types.d.ts +14 -0
  11. package/components/ai-chat/helpers/agent-config.d.ts +12 -0
  12. package/components/ai-chat/helpers/elicitation-template.d.ts +18 -0
  13. package/components/ai-chat/index.cjs +20 -0
  14. package/components/ai-chat/index.d.ts +24 -0
  15. package/components/ai-chat/index.js +29 -0
  16. package/components/ai-chat/session/ai-chat-session-controller.d.ts +60 -0
  17. package/components/ai-chat/session/ai-chat-session-types.d.ts +119 -0
  18. package/components/ai-chat/session/ai-chat-session.d.ts +119 -0
  19. package/components/ai-chat/session/index.d.ts +2 -0
  20. package/components/ai-chat/stream/chunk-extractors.d.ts +29 -0
  21. package/components/ai-chat/stream/index.d.ts +53 -0
  22. package/components/ai-chat/stream/progress.d.ts +3 -0
  23. package/components/ai-chat/stream/registry.d.ts +6 -0
  24. package/components/ai-chat/stream/stream-processor.d.ts +2 -0
  25. package/components/ai-chat/stream/transport.d.ts +26 -0
  26. package/components/ai-chat/stream/types.d.ts +59 -0
  27. package/components/ai-chat/types.d.ts +24 -0
  28. package/components/ai-chat-1OlRpimu.cjs +337 -0
  29. package/components/ai-chat-PesGGOLP.js +4350 -0
  30. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +232 -0
  31. package/components/ai-interaction-textarea/index.cjs +20 -0
  32. package/components/ai-interaction-textarea/index.d.ts +10 -0
  33. package/components/ai-interaction-textarea/index.js +28 -0
  34. package/components/ai-interaction-textarea/types.d.ts +12 -0
  35. package/components/ai-interaction-textarea-BXKG2elT.js +820 -0
  36. package/components/ai-interaction-textarea-CmFGJzbb.cjs +99 -0
  37. package/components/{area-chart-options.config-B94ERc30.js → area-chart-options.config-DJnPr93H.js} +1 -1
  38. package/components/{area-chart-positioning.config-Cbeon6-x.cjs → area-chart-positioning.config-C37nmNfP.cjs} +1 -1
  39. package/components/{area-chart-positioning.config-BJK4Q4NL.js → area-chart-positioning.config-CF8Z7PuX.js} +1 -1
  40. package/components/{area-chart-slots.config-DdPO34_g.js → area-chart-slots.config-ClE-gYVY.js} +1 -1
  41. package/components/{bar-chart-options.config-B1C3t6uk.js → bar-chart-options.config-D1x5WPbL.js} +1 -1
  42. package/components/{bar-chart-positioning.config-BnhZQUtb.cjs → bar-chart-positioning.config-C4ii41mE.cjs} +1 -1
  43. package/components/{bar-chart-positioning.config-B4UuSMIW.js → bar-chart-positioning.config-vuRQZsYr.js} +1 -1
  44. package/components/{bar-chart-slots.config-BnbZRLIr.js → bar-chart-slots.config-rMFwFprg.js} +1 -1
  45. package/components/{base-IE9Qxmub.js → base-8L8Jt2vi.js} +3 -2
  46. package/components/base-K-bf6_7X.cjs +20 -0
  47. package/components/{box-plot-options.config-sBfVzPTw.js → box-plot-options.config-CooBIc6N.js} +1 -1
  48. package/components/{box-plot-positioning.config-DsldCFWm.cjs → box-plot-positioning.config-D2LpbgQ_.cjs} +1 -1
  49. package/components/{box-plot-positioning.config-CYk5koLu.js → box-plot-positioning.config-DMIsI9yU.js} +1 -1
  50. package/components/{box-plot-slots.config-D6F2R2dw.js → box-plot-slots.config-DS2UIfRF.js} +1 -1
  51. package/components/{bubble-chart-options.config-DKeBF5A0.js → bubble-chart-options.config-B6aLA_1d.js} +1 -1
  52. package/components/{bubble-chart-positioning.config-BV-T_2cy.cjs → bubble-chart-positioning.config-Btak-zwN.cjs} +1 -1
  53. package/components/{bubble-chart-positioning.config-BSDmuPwq.js → bubble-chart-positioning.config-jYu0Q0Mc.js} +1 -1
  54. package/components/{bubble-chart-slots.config-BJdtdpS0.js → bubble-chart-slots.config-2qy2RqaU.js} +1 -1
  55. package/components/{bullet-chart-options.config-DdTBWTAF.js → bullet-chart-options.config-CBmbmhzI.js} +1 -1
  56. package/components/{bullet-chart-positioning.config-B3GeLs8o.js → bullet-chart-positioning.config-BWHfPPyA.js} +1 -1
  57. package/components/{bullet-chart-positioning.config-BoqQq4g_.cjs → bullet-chart-positioning.config-CwoRVgNS.cjs} +1 -1
  58. package/components/{bullet-chart-slots.config-NeUTKgYI.js → bullet-chart-slots.config-BaMmwIH0.js} +1 -1
  59. package/components/{choropleth-map-options.config-nOE0NWaD.js → choropleth-map-options.config-DWWydGJ3.js} +1 -1
  60. package/components/{choropleth-map-positioning.config-C_I3wf8H.cjs → choropleth-map-positioning.config-DttV0Dk_.cjs} +1 -1
  61. package/components/{choropleth-map-positioning.config-6OT0sZa5.js → choropleth-map-positioning.config-KtxcLW7E.js} +1 -1
  62. package/components/{choropleth-map-slots.config-BbBwTeuw.js → choropleth-map-slots.config-DqOi1kCn.js} +1 -1
  63. package/components/{circle-pack-chart-options.config-CgE8vGP9.js → circle-pack-chart-options.config-D2RCikyA.js} +1 -1
  64. package/components/{circle-pack-chart-positioning.config-D7Oke8BW.cjs → circle-pack-chart-positioning.config-N-rZvQjR.cjs} +1 -1
  65. package/components/{circle-pack-chart-positioning.config-BuuhKB85.js → circle-pack-chart-positioning.config-QBO-pwDr.js} +1 -1
  66. package/components/{circle-pack-chart-slots.config-CJFjalBn.js → circle-pack-chart-slots.config-B7_1p86m.js} +1 -1
  67. package/components/{circular-gauge-options.config-DtNYelhq.js → circular-gauge-options.config-syWQJHKT.js} +1 -1
  68. package/components/{circular-gauge-positioning.config-B_IJzIBn.cjs → circular-gauge-positioning.config-Cf1zuLXa.cjs} +1 -1
  69. package/components/{circular-gauge-positioning.config-DlWvKl0e.js → circular-gauge-positioning.config-DKGmEpFj.js} +1 -1
  70. package/components/{circular-gauge-slots.config-DAKsa5Hq.js → circular-gauge-slots.config-BxjCP1ao.js} +1 -1
  71. package/components/{column-chart-options.config-C2GGiHOI.js → column-chart-options.config-B2LIl9lL.js} +1 -1
  72. package/components/{column-chart-positioning.config-DngsP5So.cjs → column-chart-positioning.config-DcErS56C.cjs} +1 -1
  73. package/components/{column-chart-positioning.config-BLacEiY5.js → column-chart-positioning.config-LkQSNtSH.js} +1 -1
  74. package/components/{column-chart-slots.config-Bpr-WaCi.js → column-chart-slots.config-D6MBTcj4.js} +1 -1
  75. package/components/{combination-chart-options.config-LddX4naq.js → combination-chart-options.config-0ATFph8S.js} +1 -1
  76. package/components/{combination-chart-positioning.config-DxnmzV6O.js → combination-chart-positioning.config-7iAEpO7h.js} +1 -1
  77. package/components/{combination-chart-positioning.config-BVV0Bq-d.cjs → combination-chart-positioning.config-Dzi93oAp.cjs} +1 -1
  78. package/components/{combination-chart-slots.config-u-QLoQQ-.js → combination-chart-slots.config-dYT9lz8M.js} +1 -1
  79. package/components/{conditional-number-options.config-qdX9T4zu.js → conditional-number-options.config-Bv2xONtI.js} +1 -1
  80. package/components/{conditional-number-positioning.config-YEo_yFBu.js → conditional-number-positioning.config-Bse6AKPP.js} +1 -1
  81. package/components/{conditional-number-positioning.config-DfitbPT6.cjs → conditional-number-positioning.config-CTy0zLXu.cjs} +1 -1
  82. package/components/{conditional-number-slots.config-CiLUXRSe.js → conditional-number-slots.config-DtYkqtN8.js} +1 -1
  83. package/components/convert-datasets-to-data-fields-B13rl1an.cjs +20 -0
  84. package/components/convert-datasets-to-data-fields-PmQzeVLG.js +68 -0
  85. package/components/create-lazy-loader-BO_oTDF5.js +31 -0
  86. package/components/create-lazy-loader-DYPgQh0L.cjs +20 -0
  87. package/components/data-field/index.cjs +1 -1
  88. package/components/data-field/index.d.ts +1 -0
  89. package/components/data-field/index.js +1 -1
  90. package/components/data-field-CSm9APdz.js +121 -0
  91. package/components/data-field-D2y4cv9j.cjs +54 -0
  92. package/components/data-field-level/data-field-level.d.ts +40 -0
  93. package/components/data-field-level/helpers/generate-preview.d.ts +9 -0
  94. package/components/data-field-level/index.cjs +20 -0
  95. package/components/data-field-level/index.d.ts +8 -0
  96. package/components/data-field-level/index.js +28 -0
  97. package/components/{data-field-yTJb-R63.js → data-field-level-B0aj8c5M.js} +48 -142
  98. package/components/data-field-level-Llx0Y9m-.cjs +55 -0
  99. package/components/data-field-panel/index.cjs +1 -1
  100. package/components/data-field-panel/index.d.ts +1 -0
  101. package/components/data-field-panel/index.js +1 -1
  102. package/components/{data-field-panel-BWBr1Fog.js → data-field-panel-DpBWJnes.js} +6 -5
  103. package/components/data-field-panel-Dv60lRUC.cjs +87 -0
  104. package/components/data-fields-select/data-fields-select.d.ts +137 -0
  105. package/components/data-fields-select/index.cjs +20 -0
  106. package/components/data-fields-select/index.d.ts +9 -0
  107. package/components/data-fields-select/index.js +28 -0
  108. package/components/data-fields-select/types.d.ts +4 -0
  109. package/components/{data-fields-select-Bb1HXwlO.js → data-fields-select-69TDpIG_.js} +17 -7
  110. package/components/data-fields-select-BHa8THub.cjs +43 -0
  111. package/components/dataset-icon/dataset-icon.d.ts +45 -0
  112. package/components/dataset-icon/index.cjs +20 -0
  113. package/components/dataset-icon/index.d.ts +8 -0
  114. package/components/dataset-icon/index.js +28 -0
  115. package/components/dataset-icon/types.d.ts +11 -0
  116. package/components/dataset-icon-BAV0S4sZ.cjs +64 -0
  117. package/components/dataset-icon-CWT5Ju8w.js +125 -0
  118. package/components/dataset-selector-list/dataset-selector-list.d.ts +106 -0
  119. package/components/dataset-selector-list/index.cjs +20 -0
  120. package/components/dataset-selector-list/index.d.ts +8 -0
  121. package/components/dataset-selector-list/index.js +28 -0
  122. package/components/dataset-selector-list-D5lBv2sD.cjs +75 -0
  123. package/components/dataset-selector-list-DTMXvqfO.js +323 -0
  124. package/components/dataset-selector-row/dataset-selector-row.d.ts +135 -0
  125. package/components/dataset-selector-row/index.cjs +20 -0
  126. package/components/dataset-selector-row/index.d.ts +9 -0
  127. package/components/dataset-selector-row/index.js +28 -0
  128. package/components/dataset-selector-row-gHWsZlrC.cjs +102 -0
  129. package/components/dataset-selector-row-kiHtzZcP.js +427 -0
  130. package/components/{date-comparison-filter-options.config-BSzzAJPM.js → date-comparison-filter-options.config-DgLx-m3L.js} +1 -1
  131. package/components/{date-comparison-filter-slots.config-Cvze969w.js → date-comparison-filter-slots.config-BKZ13uzB.js} +1 -1
  132. package/components/{date-filter-options.config-C6VvDjd8.js → date-filter-options.config-Cbiy0QKd.js} +1 -1
  133. package/components/{date-filter-slots.config-Y8hmQh0S.js → date-filter-slots.config-SzWky1y7.js} +1 -1
  134. package/components/{de-C5CMIy08.js → de-BhKtDR6p.js} +34 -0
  135. package/components/de-DXFLsh4N.cjs +20 -0
  136. package/components/decompose-numeric-format-DGJua3rU.cjs +20 -0
  137. package/components/decompose-numeric-format-DS0j2wa1.js +36 -0
  138. package/components/decorate-DCJt-2rt.cjs +20 -0
  139. package/components/{localized-mixin-DhiGdPMj.js → decorate-DyMgX_Uh.js} +2 -26
  140. package/components/default-acceptable-data-field-types-DFOFWWnT.js +53 -0
  141. package/components/default-acceptable-data-field-types-fPsz64ka.cjs +20 -0
  142. package/components/display-settings/display-settings.d.ts +117 -0
  143. package/components/display-settings/index.cjs +20 -0
  144. package/components/display-settings/index.d.ts +8 -0
  145. package/components/display-settings/index.js +28 -0
  146. package/components/display-settings/types.d.ts +9 -0
  147. package/components/display-settings-DKuvd62j.js +315 -0
  148. package/components/display-settings-DPqTRJ7E.cjs +142 -0
  149. package/components/display-settings-binning/display-settings-binning.d.ts +32 -0
  150. package/components/display-settings-binning/index.cjs +20 -0
  151. package/components/display-settings-binning/index.d.ts +8 -0
  152. package/components/display-settings-binning/index.js +28 -0
  153. package/components/{display-settings-binning-CaE87u3h.js → display-settings-binning-BkCNSkgf.js} +17 -19
  154. package/components/{display-settings-binning-CjvB12ds.cjs → display-settings-binning-DZKo_tBm.cjs} +2 -2
  155. package/components/display-settings-datetime/display-settings-datetime.d.ts +86 -0
  156. package/components/display-settings-datetime/index.cjs +20 -0
  157. package/components/display-settings-datetime/index.d.ts +8 -0
  158. package/components/display-settings-datetime/index.js +28 -0
  159. package/components/{display-settings-datetime-5rq55OAn.js → display-settings-datetime-BTgriFcv.js} +69 -71
  160. package/components/display-settings-datetime-DD7Oh-2T.cjs +217 -0
  161. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +29 -0
  162. package/components/display-settings-grand-totals/index.cjs +20 -0
  163. package/components/display-settings-grand-totals/index.d.ts +8 -0
  164. package/components/display-settings-grand-totals/index.js +28 -0
  165. package/components/display-settings-grand-totals-BsIZg67h.cjs +44 -0
  166. package/components/{display-settings-grand-totals-DnKvI34n.js → display-settings-grand-totals-DH7AoyQY.js} +17 -19
  167. package/components/display-settings-numeric/display-settings-numeric.d.ts +82 -0
  168. package/components/display-settings-numeric/helpers/constants.d.ts +19 -0
  169. package/components/display-settings-numeric/index.cjs +20 -0
  170. package/components/display-settings-numeric/index.d.ts +8 -0
  171. package/components/display-settings-numeric/index.js +28 -0
  172. package/components/{display-settings-numeric-B8MCRz-V.js → display-settings-numeric-CkFpOoWU.js} +79 -81
  173. package/components/display-settings-numeric-CsmrnEp2.cjs +190 -0
  174. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +76 -0
  175. package/components/display-settings-period-over-period/helpers/constants.d.ts +44 -0
  176. package/components/display-settings-period-over-period/index.cjs +20 -0
  177. package/components/display-settings-period-over-period/index.d.ts +8 -0
  178. package/components/display-settings-period-over-period/index.js +28 -0
  179. package/components/{display-settings-period-over-period-W3dPK8LR.js → display-settings-period-over-period-CdI5wuL_.js} +85 -86
  180. package/components/display-settings-period-over-period-Co37HcSm.cjs +227 -0
  181. package/components/{donut-chart-options.config-CPHgS1Wi.js → donut-chart-options.config-C8wpZzyJ.js} +1 -1
  182. package/components/{donut-chart-positioning.config-QOZXaJmt.cjs → donut-chart-positioning.config-BThtaJEt.cjs} +1 -1
  183. package/components/{donut-chart-positioning.config-fGckMun2.js → donut-chart-positioning.config-D2uG_Irk.js} +1 -1
  184. package/components/{donut-chart-slots.config-DilGk7ju.js → donut-chart-slots.config-fGqtoKZi.js} +1 -1
  185. package/components/{dropdown-filter-options.config-DFJKns3l.js → dropdown-filter-options.config-DkiapYtc.js} +1 -1
  186. package/components/{dropdown-filter-slots.config-7heZtoEY.js → dropdown-filter-slots.config-DPcT6v-9.js} +1 -1
  187. package/components/{en-DdS5q1ZT.js → en-CcLhGxIh.js} +1 -1
  188. package/components/{en-GB-Cn0xDC0K.js → en-GB-DzkdeUQh.js} +1 -1
  189. package/components/en-GB-uxY5qmIM.cjs +20 -0
  190. package/components/{en-US-DdS5q1ZT.js → en-US-CcLhGxIh.js} +1 -1
  191. package/components/{en-CSPDwq2y.cjs → en-US-q_Ruzags.cjs} +1 -1
  192. package/components/{en-US-CSPDwq2y.cjs → en-q_Ruzags.cjs} +1 -1
  193. package/components/es-DK-49nGv.cjs +20 -0
  194. package/components/{es-BCur0-77.js → es-DUENN-m1.js} +34 -0
  195. package/components/{evolution-number-options.config-DT7iGQA8.js → evolution-number-options.config-Ca9ABNVM.js} +1 -1
  196. package/components/{evolution-number-positioning.config-CVIysE4H.js → evolution-number-positioning.config-BtjobZqK.js} +1 -1
  197. package/components/{evolution-number-positioning.config-B7lBArog.cjs → evolution-number-positioning.config-DtYiv9oB.cjs} +1 -1
  198. package/components/{evolution-number-slots.config-noZzIHkT.js → evolution-number-slots.config-CKawNqUS.js} +1 -1
  199. package/components/filter-expression-picker/filter-expression-picker.d.ts +77 -0
  200. package/components/filter-expression-picker/index.cjs +20 -0
  201. package/components/filter-expression-picker/index.d.ts +7 -0
  202. package/components/filter-expression-picker/index.js +28 -0
  203. package/components/filter-expression-picker-C4kE_Thd.js +433 -0
  204. package/components/filter-expression-picker-CU-OfSmI.cjs +40 -0
  205. package/components/filter-item/filter-item.d.ts +142 -0
  206. package/components/filter-item/index.cjs +20 -0
  207. package/components/filter-item/index.d.ts +8 -0
  208. package/components/filter-item/index.js +28 -0
  209. package/components/filter-item-Be6Z7NMz.js +792 -0
  210. package/components/filter-item-CxPrwF-R.cjs +111 -0
  211. package/components/filter-parameter-picker/filter-parameter-picker.d.ts +91 -0
  212. package/components/filter-parameter-picker/filter-parameter-picker.helpers.d.ts +8 -0
  213. package/components/filter-parameter-picker/index.cjs +20 -0
  214. package/components/filter-parameter-picker/index.d.ts +9 -0
  215. package/components/filter-parameter-picker/index.js +28 -0
  216. package/components/filter-parameter-picker/types.d.ts +4 -0
  217. package/components/filter-parameter-picker-Ba8bvoPZ.js +371 -0
  218. package/components/filter-parameter-picker-BtJLCUbT.cjs +124 -0
  219. package/components/filter-value-picker/filter-value-picker.d.ts +72 -0
  220. package/components/filter-value-picker/index.cjs +20 -0
  221. package/components/filter-value-picker/index.d.ts +7 -0
  222. package/components/filter-value-picker/index.js +28 -0
  223. package/components/filter-value-picker-DD206JZl.js +169 -0
  224. package/components/filter-value-picker-Dpua1vcJ.cjs +69 -0
  225. package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +51 -0
  226. package/components/filter-value-picker-datetime/index.cjs +20 -0
  227. package/components/filter-value-picker-datetime/index.d.ts +7 -0
  228. package/components/filter-value-picker-datetime/index.js +28 -0
  229. package/components/filter-value-picker-datetime-Bj0YaPtB.js +159 -0
  230. package/components/filter-value-picker-datetime-DWgI83nJ.cjs +51 -0
  231. package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +105 -0
  232. package/components/filter-value-picker-hierarchy/index.cjs +20 -0
  233. package/components/filter-value-picker-hierarchy/index.d.ts +7 -0
  234. package/components/filter-value-picker-hierarchy/index.js +28 -0
  235. package/components/filter-value-picker-hierarchy-BEoqkQq0.cjs +54 -0
  236. package/components/filter-value-picker-hierarchy-ZMThNJYm.js +315 -0
  237. package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +89 -0
  238. package/components/filter-value-picker-numeric/index.cjs +20 -0
  239. package/components/filter-value-picker-numeric/index.d.ts +7 -0
  240. package/components/filter-value-picker-numeric/index.js +28 -0
  241. package/components/filter-value-picker-numeric-1Vxp_Vam.cjs +54 -0
  242. package/components/filter-value-picker-numeric-CVaDogFQ.js +236 -0
  243. package/components/filters/filters.d.ts +62 -2
  244. package/components/filters/index.cjs +1 -1
  245. package/components/filters/index.d.ts +2 -1
  246. package/components/filters/index.js +2 -2
  247. package/components/filters/types.d.ts +2 -0
  248. package/components/filters-Cnm0Kwk3.js +926 -0
  249. package/components/filters-Dtbt99BP.cjs +199 -0
  250. package/components/formatter-BeXmurVe.cjs +20 -0
  251. package/components/{period-over-period-condition.const-IOVIrgKJ.js → formatter-Cq5dFCyU.js} +44 -234
  252. package/components/formula/index.cjs +1 -1
  253. package/components/formula/index.js +1 -1
  254. package/components/{formula-CdAkO1za.js → formula-BE9bipho.js} +15 -14
  255. package/components/formula-DGMnKmnR.cjs +45 -0
  256. package/components/formula-codemirror/formula-codemirror.d.ts +79 -0
  257. package/components/formula-codemirror/index.d.ts +7 -0
  258. package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +125 -0
  259. package/components/formula-codemirror/pills/formula-aggregation/index.d.ts +7 -0
  260. package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +28 -0
  261. package/components/formula-codemirror/pills/formula-empty-argument-pill/index.d.ts +7 -0
  262. package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +38 -0
  263. package/components/formula-codemirror-B14vsZXJ.cjs +215 -0
  264. package/components/{formula-codemirror-jVC8mjQ3.js → formula-codemirror-xfm0QtJN.js} +22 -20
  265. package/components/formula-display-store-8hohve9v.cjs +20 -0
  266. package/components/{formula-display-store-CLAt_fik.js → formula-display-store-JAaWuYNB.js} +239 -274
  267. package/components/formula-draggable-field/formula-draggable-field.d.ts +53 -0
  268. package/components/formula-draggable-field/index.d.ts +8 -0
  269. package/components/formula-draggable-field/types.d.ts +24 -0
  270. package/components/formula-editor/index.cjs +1 -1
  271. package/components/formula-editor/index.d.ts +1 -0
  272. package/components/formula-editor/index.js +4 -3
  273. package/components/formula-editor-CkW-JfyT.cjs +224 -0
  274. package/components/{formula-editor-Bd9F-xdZ.js → formula-editor-DN87mT8q.js} +147 -352
  275. package/components/formula-field/formula-field.d.ts +20 -0
  276. package/components/formula-field/index.cjs +20 -0
  277. package/components/formula-field/index.d.ts +7 -0
  278. package/components/formula-field/index.js +28 -0
  279. package/components/formula-field-B1EMJOfK.js +40 -0
  280. package/components/formula-field-CQYFSBHL.cjs +20 -0
  281. package/components/formula-input-base-BCQXmd1P.cjs +49 -0
  282. package/components/formula-input-base-HL0Fg74x.js +236 -0
  283. package/components/{fr-BnECl1nx.js → fr-CePmGBUH.js} +34 -0
  284. package/components/fr-uE3fb3kc.cjs +20 -0
  285. package/components/{funnel-chart-options.config-D21WdHBI.js → funnel-chart-options.config-CygQsQVD.js} +1 -1
  286. package/components/{funnel-chart-positioning.config-zEqgz9Wz.cjs → funnel-chart-positioning.config-DeLnAGGT.cjs} +1 -1
  287. package/components/{funnel-chart-positioning.config-BGi7ixet.js → funnel-chart-positioning.config-TVzSiV6I.js} +1 -1
  288. package/components/{funnel-chart-slots.config-BWszdEe8.js → funnel-chart-slots.config-CfnSH4Ay.js} +1 -1
  289. package/components/{get-css-variable-B8sJUuig.cjs → get-css-variable-CBXsAxR6.cjs} +1 -1
  290. package/components/{get-css-variable-r1spgqX0.js → get-css-variable-DYnldi15.js} +1 -1
  291. package/components/get-dataset-name-DLjeChNS.js +32 -0
  292. package/components/get-dataset-name-mGNEfkAv.cjs +20 -0
  293. package/components/groupings-CODDxpbZ.js +52 -0
  294. package/components/groupings-DKMq8DgS.cjs +20 -0
  295. package/components/{heat-map-options.config-DkuYkbWu.js → heat-map-options.config-X96sw-BV.js} +1 -1
  296. package/components/{heat-map-positioning.config-CK2DBngE.js → heat-map-positioning.config--wm9l7bB.js} +1 -1
  297. package/components/{heat-map-positioning.config-3dxU6qwG.cjs → heat-map-positioning.config-ddrgZXa9.cjs} +1 -1
  298. package/components/{heat-map-slots.config-Cwun49Qb.js → heat-map-slots.config-D2ypExJQ.js} +1 -1
  299. package/components/{heat-table-options.config-BJP1jVB8.js → heat-table-options.config-D6dA9J97.js} +1 -1
  300. package/components/{heat-table-positioning.config-C55D814C.js → heat-table-positioning.config-CIhhBEMg.js} +1 -1
  301. package/components/{heat-table-positioning.config-CbscS7w1.cjs → heat-table-positioning.config-qMDSRhZR.cjs} +1 -1
  302. package/components/{heat-table-slots.config-nGB_B2mh.js → heat-table-slots.config-B1iOn6ay.js} +1 -1
  303. package/components/{hexbin-map-options.config-Bqp3u2bH.js → hexbin-map-options.config-FK9DrXGD.js} +1 -1
  304. package/components/{hexbin-map-positioning.config-CHecaD9p.cjs → hexbin-map-positioning.config-E_BpcIFy.cjs} +1 -1
  305. package/components/{hexbin-map-positioning.config-9nnyZGzx.js → hexbin-map-positioning.config-S7VYUwVD.js} +1 -1
  306. package/components/{hexbin-map-slots.config-BK-ftozd.js → hexbin-map-slots.config-CC1xZINm.js} +1 -1
  307. package/components/{image-options.config-Cz55iN7J.js → image-options.config-DxF0RSUF.js} +1 -1
  308. package/components/{image-slots.config-kvHutBFK.js → image-slots.config-Ba8NXeCH.js} +1 -1
  309. package/components/index.cjs +1 -840
  310. package/components/index.js +67 -6783
  311. package/components/interactive-viz-item/helpers/chart-helpers.d.ts +7 -0
  312. package/components/interactive-viz-item/index.cjs +20 -0
  313. package/components/interactive-viz-item/index.d.ts +10 -0
  314. package/components/interactive-viz-item/index.js +28 -0
  315. package/components/interactive-viz-item/interactive-viz-item.d.ts +97 -0
  316. package/components/interactive-viz-item/load-config-panel.d.ts +2 -0
  317. package/components/interactive-viz-item/types.d.ts +117 -0
  318. package/components/interactive-viz-item--kqitfEZ.cjs +249 -0
  319. package/components/interactive-viz-item-cdShBZQA.js +722 -0
  320. package/components/item-grid/index.cjs +1 -1
  321. package/components/item-grid/index.js +1 -1
  322. package/components/{item-grid-C2ZvM04g.cjs → item-grid-BfhqMuQA.cjs} +22 -22
  323. package/components/{item-grid-D4xYhMOD.js → item-grid-xCM8AqRH.js} +25 -24
  324. package/components/item-menu/item-list/item-list.d.ts +37 -0
  325. package/components/item-option/index.cjs +1 -1
  326. package/components/item-option/index.js +1 -1
  327. package/components/item-option-B5FraAiv.cjs +269 -0
  328. package/components/{item-option-28BU_oaD.js → item-option-DaAlj_OB.js} +53 -53
  329. package/components/item-option-action-button-group/index.cjs +1 -1
  330. package/components/item-option-action-button-group/index.js +1 -1
  331. package/components/{item-option-action-button-group-D_g6aoYd.js → item-option-action-button-group-4w8ub3cT.js} +2 -2
  332. package/components/item-option-action-button-group-DHu8VjCy.cjs +53 -0
  333. package/components/item-option-base/item-option-base.d.ts +23 -0
  334. package/components/item-option-base-4Bwn-3Fc.cjs +56 -0
  335. package/components/{item-option-base-CxQhI83u.js → item-option-base-BxQUwXzg.js} +2 -2
  336. package/components/item-option-color-palette-picker/index.cjs +1 -1
  337. package/components/item-option-color-palette-picker/index.js +1 -1
  338. package/components/{item-option-color-palette-picker-CRDFqhWx.js → item-option-color-palette-picker-D5nO-Bqb.js} +2 -2
  339. package/components/item-option-color-palette-picker-DrhHKaAK.cjs +40 -0
  340. package/components/item-option-color-picker/index.cjs +1 -1
  341. package/components/item-option-color-picker/index.js +1 -1
  342. package/components/{item-option-color-picker-BJgpBbDp.cjs → item-option-color-picker-Bhv_k1uW.cjs} +2 -2
  343. package/components/{item-option-color-picker-BlkpWjQh.js → item-option-color-picker-CKokPQcS.js} +2 -2
  344. package/components/item-option-color-range/index.cjs +1 -1
  345. package/components/item-option-color-range/index.js +1 -1
  346. package/components/item-option-color-range-CwDkzRcx.cjs +98 -0
  347. package/components/{item-option-color-range-3Wp-Ywz6.js → item-option-color-range-DYsMbFEb.js} +2 -2
  348. package/components/item-option-guidelines/index.cjs +1 -1
  349. package/components/item-option-guidelines/index.js +1 -1
  350. package/components/{item-option-guidelines-CQ_yb7Ar.js → item-option-guidelines-CXl4Yla4.js} +4 -3
  351. package/components/item-option-guidelines-DMjA-h3h.cjs +135 -0
  352. package/components/item-option-multi-language-field/index.cjs +1 -1
  353. package/components/item-option-multi-language-field/index.js +1 -1
  354. package/components/{item-option-multi-language-field-BApbe3pp.cjs → item-option-multi-language-field-C75Hd2fG.cjs} +2 -2
  355. package/components/{item-option-multi-language-field-aLIpQWiQ.js → item-option-multi-language-field-S6Mt3k23.js} +2 -2
  356. package/components/item-option-number-field/index.cjs +1 -1
  357. package/components/item-option-number-field/index.js +1 -1
  358. package/components/{item-option-number-field-B72ZYOAX.cjs → item-option-number-field-Bg5r0IAX.cjs} +2 -2
  359. package/components/{item-option-number-field-Bv5eGoxB.js → item-option-number-field-CALw8q_J.js} +2 -2
  360. package/components/item-option-panel/index.cjs +1 -1
  361. package/components/item-option-panel/index.js +1 -1
  362. package/components/{item-option-panel-A8Jxzwml.cjs → item-option-panel-DBXgOsM4.cjs} +2 -2
  363. package/components/{item-option-panel-kRH7GbzA.js → item-option-panel-v7yUS9hb.js} +4 -4
  364. package/components/item-option-picker/index.cjs +1 -1
  365. package/components/item-option-picker/index.js +1 -1
  366. package/components/{item-option-picker-BuUtW6gD.js → item-option-picker-CZyzd3Nq.js} +2 -2
  367. package/components/{item-option-picker-DOFJ1CnI.cjs → item-option-picker-RFstpFwI.cjs} +2 -2
  368. package/components/item-option-position-picker/index.cjs +1 -1
  369. package/components/item-option-position-picker/index.js +1 -1
  370. package/components/{item-option-position-picker-mf3JQu5q.js → item-option-position-picker-C8cnHEH4.js} +2 -2
  371. package/components/item-option-position-picker-CKHbHHl1.cjs +32 -0
  372. package/components/item-option-positions-number-field/index.cjs +1 -1
  373. package/components/item-option-positions-number-field/index.js +1 -1
  374. package/components/item-option-positions-number-field-BGs3WWaz.cjs +49 -0
  375. package/components/{item-option-positions-number-field-BIBWpagB.js → item-option-positions-number-field-BJTY1qZR.js} +2 -2
  376. package/components/item-option-radio-button-group/index.cjs +1 -1
  377. package/components/item-option-radio-button-group/index.js +1 -1
  378. package/components/{item-option-radio-button-group-B2HYZguB.cjs → item-option-radio-button-group-CN8TLtsV.cjs} +2 -2
  379. package/components/{item-option-radio-button-group-CFnfadK2.js → item-option-radio-button-group-vhm4r4_k.js} +2 -2
  380. package/components/item-option-slider/index.cjs +1 -1
  381. package/components/item-option-slider/index.js +1 -1
  382. package/components/{item-option-slider-CH1l0Ena.js → item-option-slider-CQOKWBZQ.js} +2 -2
  383. package/components/item-option-slider-DbLPhpJd.cjs +33 -0
  384. package/components/item-option-switch/index.cjs +1 -1
  385. package/components/item-option-switch/index.js +1 -1
  386. package/components/{item-option-switch-hUFRE9MC.cjs → item-option-switch-CWpb0nf3.cjs} +2 -2
  387. package/components/{item-option-switch-rqu2ePVU.js → item-option-switch-azZX2vJr.js} +2 -2
  388. package/components/item-option-text-field/index.cjs +1 -1
  389. package/components/item-option-text-field/index.js +1 -1
  390. package/components/{item-option-text-field-CBFMmuK2.js → item-option-text-field-CIM_38yi.js} +2 -2
  391. package/components/{item-option-text-field-C6CocZ5q.cjs → item-option-text-field-CS3Lccda.cjs} +2 -2
  392. package/components/item-options-configs.js +45 -45
  393. package/components/item-slot-drop/index.cjs +1 -1
  394. package/components/item-slot-drop/index.d.ts +2 -0
  395. package/components/item-slot-drop/index.js +1 -1
  396. package/components/item-slot-drop-C8WYPu_w.cjs +91 -0
  397. package/components/{item-slot-drop-DDGclwbP.js → item-slot-drop-DeZ2GvAu.js} +26 -21
  398. package/components/item-slot-drop-panel/index.cjs +1 -1
  399. package/components/item-slot-drop-panel/index.js +1 -1
  400. package/components/item-slot-drop-panel-BcBHDDTT.cjs +57 -0
  401. package/components/{item-slot-drop-panel-Cj6vbgJl.js → item-slot-drop-panel-LpfX7ap0.js} +49 -48
  402. package/components/item-slot-picker/index.cjs +1 -1
  403. package/components/item-slot-picker/index.js +1 -1
  404. package/components/{item-slot-picker-CjQH3MU-.js → item-slot-picker-BSO1ltXC.js} +44 -39
  405. package/components/item-slot-picker-CvySq194.cjs +174 -0
  406. package/components/item-slot-picker-panel/index.cjs +1 -1
  407. package/components/item-slot-picker-panel/index.js +1 -1
  408. package/components/{item-slot-picker-panel-7IFk5QFC.js → item-slot-picker-panel-CsntXcAp.js} +16 -15
  409. package/components/item-slot-picker-panel-DQ_OzMO_.cjs +81 -0
  410. package/components/item-slots-configs.js +45 -45
  411. package/components/{line-chart-options.config-D8gRtfj3.js → line-chart-options.config-C3_RnROS.js} +1 -1
  412. package/components/{line-chart-positioning.config-D5WVvIZT.js → line-chart-positioning.config-CrreArf5.js} +1 -1
  413. package/components/{line-chart-positioning.config-DuXn1WD-.cjs → line-chart-positioning.config-DMe1Ldwk.cjs} +1 -1
  414. package/components/{line-chart-slots.config-C6LEwEwh.js → line-chart-slots.config-CA-I6B6o.js} +1 -1
  415. package/components/load-data-fields-for-datasets-B3XcFFfg.js +42 -0
  416. package/components/load-data-fields-for-datasets-rL24A68g.cjs +20 -0
  417. package/components/localized-mixin-DaLXe5J9.js +45 -0
  418. package/components/localized-mixin-DiUJOd06.cjs +20 -0
  419. package/components/{marker-map-options.config-BE8GnY_T.js → marker-map-options.config-OMdgbAc4.js} +1 -1
  420. package/components/{marker-map-positioning.config-DfN39a-Q.cjs → marker-map-positioning.config-CpI8nCtC.cjs} +1 -1
  421. package/components/{marker-map-positioning.config-D2L7cvCP.js → marker-map-positioning.config-DW9tMO2M.js} +1 -1
  422. package/components/{marker-map-slots.config-Cyk-QFPT.js → marker-map-slots.config-CcGNgr1_.js} +1 -1
  423. package/components/{nl-h9vVAk2e.js → nl-BaZM3WoR.js} +34 -0
  424. package/components/nl-BoEhzeIh.cjs +20 -0
  425. package/components/{ohlc-chart-options.config-xgegn34C.js → ohlc-chart-options.config-CWRI5bXI.js} +1 -1
  426. package/components/{ohlc-chart-positioning.config-DsBuB0VU.cjs → ohlc-chart-positioning.config-9DETh4xy.cjs} +1 -1
  427. package/components/{ohlc-chart-positioning.config-C53dCwaT.js → ohlc-chart-positioning.config-CkX8gyS2.js} +1 -1
  428. package/components/{ohlc-chart-slots.config-CQFi8BIT.js → ohlc-chart-slots.config-Pv0xst-Y.js} +1 -1
  429. package/components/{parallel-coordinates-plot-options.config-BUQLHO1k.js → parallel-coordinates-plot-options.config-DbuNgevO.js} +1 -1
  430. package/components/{parallel-coordinates-plot-positioning.config-aiFzLnnh.cjs → parallel-coordinates-plot-positioning.config-CLDZdGdh.cjs} +1 -1
  431. package/components/{parallel-coordinates-plot-positioning.config-DhoVstsb.js → parallel-coordinates-plot-positioning.config-DTJZLEeT.js} +1 -1
  432. package/components/{parallel-coordinates-plot-slots.config-D5o-5y_j.js → parallel-coordinates-plot-slots.config-GvYC-RXK.js} +1 -1
  433. package/components/period-over-period-condition.const-BZ7j5Z5t.js +29 -0
  434. package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +20 -0
  435. package/components/{pivot-table-options.config-DW9UDipI.js → pivot-table-options.config-CTz4bcGJ.js} +1 -1
  436. package/components/{pivot-table-positioning.config-Bq9BoQWM.cjs → pivot-table-positioning.config-B-SALuVb.cjs} +1 -1
  437. package/components/{pivot-table-positioning.config-Cnai84AH.js → pivot-table-positioning.config-CtSYHD-n.js} +1 -1
  438. package/components/{pivot-table-slots.config-Cl5z3IQo.js → pivot-table-slots.config-BAW0U3nh.js} +1 -1
  439. package/components/{pragmatic-element-adapter-C_7HSvGV.js → pragmatic-element-adapter-D0LRKx5U.js} +75 -74
  440. package/components/{pragmatic-element-adapter-DPWYJiW9.cjs → pragmatic-element-adapter-DdyH32ix.cjs} +4 -4
  441. package/components/{pyramid-chart-options.config-Cbg351Yy.js → pyramid-chart-options.config-C7btzuZj.js} +1 -1
  442. package/components/{pyramid-chart-positioning.config-BeJ5R_Ln.js → pyramid-chart-positioning.config-0Juiava5.js} +1 -1
  443. package/components/{pyramid-chart-positioning.config-D5AKNCPb.cjs → pyramid-chart-positioning.config-BllFtneP.cjs} +1 -1
  444. package/components/{pyramid-chart-slots.config-DNzq2hMx.js → pyramid-chart-slots.config-CsMMyhV3.js} +1 -1
  445. package/components/{radar-chart-options.config-DrNyOkHq.js → radar-chart-options.config-CtA6MpUp.js} +1 -1
  446. package/components/{radar-chart-positioning.config-DsfUBq4B.js → radar-chart-positioning.config-BPbb63S6.js} +1 -1
  447. package/components/{radar-chart-positioning.config-BEIwrzhb.cjs → radar-chart-positioning.config-BY4RKNDi.cjs} +1 -1
  448. package/components/{radar-chart-slots.config-CXgfvAkt.js → radar-chart-slots.config-8Kf_WAFi.js} +1 -1
  449. package/components/{regular-table-options.config-CweBtAvm.js → regular-table-options.config-BRmS77t-.js} +1 -1
  450. package/components/{regular-table-slots.config-DCkw4Xkq.js → regular-table-slots.config-r-N9A-qA.js} +1 -1
  451. package/components/{route-map-options.config-DXHqb8Ve.js → route-map-options.config-C65J81_7.js} +1 -1
  452. package/components/{route-map-positioning.config-CuiRWzbs.js → route-map-positioning.config-D6nZFd8f.js} +1 -1
  453. package/components/{route-map-positioning.config-4Wyvj5OH.cjs → route-map-positioning.config-GQ9AJfej.cjs} +1 -1
  454. package/components/{route-map-slots.config-DJ76FOsJ.js → route-map-slots.config-DMII2UuP.js} +1 -1
  455. package/components/{sankey-diagram-options.config-1lSECht4.js → sankey-diagram-options.config-nQDCRhKs.js} +1 -1
  456. package/components/{sankey-diagram-positioning.config-CZ-zVCQo.cjs → sankey-diagram-positioning.config-DAuj5A08.cjs} +1 -1
  457. package/components/{sankey-diagram-positioning.config-DtN7dARd.js → sankey-diagram-positioning.config-R1EjoR5F.js} +1 -1
  458. package/components/{sankey-diagram-slots.config-BCc8P4j0.js → sankey-diagram-slots.config-DmWIGut0.js} +1 -1
  459. package/components/{scatter-plot-options.config-9zL4v24E.js → scatter-plot-options.config-BplrME7w.js} +1 -1
  460. package/components/{scatter-plot-positioning.config-BXrzdLIc.js → scatter-plot-positioning.config-DGoMnNZy.js} +1 -1
  461. package/components/{scatter-plot-positioning.config-CfAf_FUW.cjs → scatter-plot-positioning.config-o4c-wuRo.cjs} +1 -1
  462. package/components/{scatter-plot-slots.config-BMTdhTZG.js → scatter-plot-slots.config-B7wQVEEj.js} +1 -1
  463. package/components/{search-filter-options.config-B_qQjr68.js → search-filter-options.config-yAz6IIto.js} +1 -1
  464. package/components/{search-filter-slots.config-qCILSYzs.js → search-filter-slots.config-D8-V0BT5.js} +1 -1
  465. package/components/{set-locale-B-GvqA1H.cjs → set-locale-Xh_1AFbC.cjs} +1 -1
  466. package/components/{set-locale-CgCeLPlb.js → set-locale-ydAPif-7.js} +4 -4
  467. package/components/{slicer-filter-options.config-DK62SCMp.js → slicer-filter-options.config-BtGkT2hI.js} +1 -1
  468. package/components/{slicer-filter-positioning.config-CU86hJi6.cjs → slicer-filter-positioning.config-BqpIENEm.cjs} +1 -1
  469. package/components/{slicer-filter-positioning.config-BLGeCJys.js → slicer-filter-positioning.config-D_didkcw.js} +1 -1
  470. package/components/{slicer-filter-slots.config-C9_NdJm4.js → slicer-filter-slots.config-DR0Wg_Zr.js} +1 -1
  471. package/components/{slider-filter-options.config-CP5bXdih.js → slider-filter-options.config-D_yZ_nFz.js} +1 -1
  472. package/components/{slider-filter-slots.config-15eAAGVn.js → slider-filter-slots.config-BUHw-32u.js} +1 -1
  473. package/components/{en-GB-CJR66Ci_.cjs → slot-menu/index.cjs} +1 -1
  474. package/components/slot-menu/index.d.ts +10 -0
  475. package/components/slot-menu/index.js +28 -0
  476. package/components/slot-menu/slot-menu.d.ts +148 -0
  477. package/components/slot-menu/types.d.ts +24 -0
  478. package/components/slot-menu-CUdbaW3K.js +428 -0
  479. package/components/slot-menu-DRx1Ffla.cjs +71 -0
  480. package/components/slot-menu-list/index.cjs +20 -0
  481. package/components/slot-menu-list/index.d.ts +8 -0
  482. package/components/slot-menu-list/index.js +28 -0
  483. package/components/slot-menu-list/slot-menu-list.d.ts +47 -0
  484. package/components/slot-menu-list-DVSxamVa.js +347 -0
  485. package/components/slot-menu-list-DaHzz_ve.cjs +44 -0
  486. package/components/slot-role-classification-2wChhpcq.cjs +20 -0
  487. package/components/slot-role-classification-B8bkGhQ_.js +133 -0
  488. package/components/slots-config-Cd4xAG4H.cjs +20 -0
  489. package/components/slots-config-GlSNH7Gr.js +76 -0
  490. package/components/{speedometer-chart-options.config-dsUupCqm.js → speedometer-chart-options.config-BL7evgzP.js} +1 -1
  491. package/components/{speedometer-chart-positioning.config-Dam0wOqp.js → speedometer-chart-positioning.config-CmxsV4-x.js} +1 -1
  492. package/components/{speedometer-chart-positioning.config-AeMlNxSj.cjs → speedometer-chart-positioning.config-eVUWDhkL.cjs} +1 -1
  493. package/components/{speedometer-chart-slots.config-DfTw7JTF.js → speedometer-chart-slots.config-2Y_x52Gy.js} +1 -1
  494. package/components/{spike-map-options.config-Dh4Ky5ZP.js → spike-map-options.config-DjoTrAsC.js} +1 -1
  495. package/components/{spike-map-positioning.config-9ShV1fUh.cjs → spike-map-positioning.config-B38djRlf.cjs} +1 -1
  496. package/components/{spike-map-positioning.config-BVzewpfi.js → spike-map-positioning.config-Bta7ar9e.js} +1 -1
  497. package/components/{spike-map-slots.config-i-c0F9QM.js → spike-map-slots.config-DJWMFPIR.js} +1 -1
  498. package/components/{strip-plot-options.config-Vw3GoLef.js → strip-plot-options.config-tDmVlu9U.js} +1 -1
  499. package/components/{strip-plot-positioning.config-OHm3LEo3.js → strip-plot-positioning.config-0vlAfmDB.js} +1 -1
  500. package/components/{strip-plot-positioning.config-BVBdHZvL.cjs → strip-plot-positioning.config-atH68L8u.cjs} +1 -1
  501. package/components/{strip-plot-slots.config-BuF7X3xN.js → strip-plot-slots.config-suFyIf5-.js} +1 -1
  502. package/components/{sunburst-chart-options.config-CXOrVmIe.js → sunburst-chart-options.config-Bjue_lQN.js} +1 -1
  503. package/components/{sunburst-chart-positioning.config-BynNbbxB.js → sunburst-chart-positioning.config-B2x6afBV.js} +1 -1
  504. package/components/{sunburst-chart-positioning.config-DQmuKm-N.cjs → sunburst-chart-positioning.config-NFzFNuXB.cjs} +1 -1
  505. package/components/{sunburst-chart-slots.config-Cq-E6kyI.js → sunburst-chart-slots.config-BqVT-h0Z.js} +1 -1
  506. package/components/{symbol-map-options.config-Dultd0tF.js → symbol-map-options.config-Dyeya5Z2.js} +1 -1
  507. package/components/{symbol-map-positioning.config-bQk_pdAr.js → symbol-map-positioning.config-B6v9PFTk.js} +1 -1
  508. package/components/{symbol-map-positioning.config-D6rgxXTO.cjs → symbol-map-positioning.config-DGpmp_N1.cjs} +1 -1
  509. package/components/{symbol-map-slots.config-BfdBHkzN.js → symbol-map-slots.config-Rhpher5o.js} +1 -1
  510. package/components/{text-options.config-BUiRyi3L.js → text-options.config-CXhvzzPF.js} +1 -1
  511. package/components/{text-slots.config-CM_ZaW3p.js → text-slots.config-Dzj4-x2G.js} +1 -1
  512. package/components/{treemap-chart-options.config-6l3HzikF.js → treemap-chart-options.config-BzOCEWog.js} +1 -1
  513. package/components/{treemap-chart-positioning.config-BB1-rZKL.js → treemap-chart-positioning.config-Bf2VNVRQ.js} +1 -1
  514. package/components/{treemap-chart-positioning.config-ZaoIngRn.cjs → treemap-chart-positioning.config-NMULB8UM.cjs} +1 -1
  515. package/components/{treemap-chart-slots.config-CHkGtIOa.js → treemap-chart-slots.config-DRcafVU-.js} +1 -1
  516. package/components/utils/base.cjs +1 -1
  517. package/components/utils/base.js +2 -2
  518. package/components/utils/store.js +1 -1
  519. package/components/utils-SzKvwZ9-.cjs +20 -0
  520. package/components/{utils-ZoJ1cp2P.js → utils-_8LPCz9-.js} +54 -53
  521. package/components/utils.cjs +1 -1
  522. package/components/utils.js +9 -6
  523. package/components/{venn-diagram-options.config-Wi0dQsAu.js → venn-diagram-options.config-BMlduwIp.js} +1 -1
  524. package/components/{venn-diagram-positioning.config-Cb10sStL.cjs → venn-diagram-positioning.config-D4cODPGV.cjs} +1 -1
  525. package/components/{venn-diagram-positioning.config-C9ARqREi.js → venn-diagram-positioning.config-DgOl0Vh-.js} +1 -1
  526. package/components/{venn-diagram-slots.config-DY04aeYK.js → venn-diagram-slots.config-CMDndPVi.js} +1 -1
  527. package/components/{video-options.config-B6pQUPB7.js → video-options.config-DdfSTJEJ.js} +1 -1
  528. package/components/{video-slots.config-C-kXGzo3.js → video-slots.config-Utnn0DBW.js} +1 -1
  529. package/components/viz-item-menu/index.cjs +20 -0
  530. package/components/viz-item-menu/index.d.ts +8 -0
  531. package/components/viz-item-menu/index.js +28 -0
  532. package/components/viz-item-menu/types.d.ts +9 -0
  533. package/components/viz-item-menu/viz-item-menu.d.ts +78 -0
  534. package/components/viz-item-menu-CNHv6qDa.cjs +55 -0
  535. package/components/viz-item-menu-L_j0L08h.js +170 -0
  536. package/components/{wordcloud-chart-options.config-CpMtpG7q.js → wordcloud-chart-options.config-y9Z5I_ZN.js} +1 -1
  537. package/components/{wordcloud-chart-positioning.config-D59ntNtd.js → wordcloud-chart-positioning.config-BP6iqy-N.js} +1 -1
  538. package/components/{wordcloud-chart-positioning.config-DC89_DYc.cjs → wordcloud-chart-positioning.config-DZEkWvb0.cjs} +1 -1
  539. package/components/{wordcloud-chart-slots.config-Cc5F92Tv.js → wordcloud-chart-slots.config-CvabtgbP.js} +1 -1
  540. package/custom-elements.json +18790 -6833
  541. package/deprecated-react/components/ai-chat.component.cjs +1 -0
  542. package/deprecated-react/components/ai-interaction-textarea.component.cjs +1 -0
  543. package/deprecated-react/components/data-field-level.component.cjs +1 -0
  544. package/deprecated-react/components/data-fields-select.component.cjs +1 -0
  545. package/deprecated-react/components/dataset-icon.component.cjs +1 -0
  546. package/deprecated-react/components/dataset-selector-list.component.cjs +1 -0
  547. package/deprecated-react/components/dataset-selector-row.component.cjs +1 -0
  548. package/deprecated-react/components/display-settings-binning.component.cjs +1 -0
  549. package/deprecated-react/components/display-settings-datetime.component.cjs +1 -0
  550. package/deprecated-react/components/display-settings-grand-totals.component.cjs +1 -0
  551. package/deprecated-react/components/display-settings-numeric.component.cjs +1 -0
  552. package/deprecated-react/components/display-settings-period-over-period.component.cjs +1 -0
  553. package/deprecated-react/components/display-settings.component.cjs +1 -0
  554. package/deprecated-react/components/filter-expression-picker.component.cjs +1 -0
  555. package/deprecated-react/components/filter-item.component.cjs +1 -0
  556. package/deprecated-react/components/filter-parameter-picker.component.cjs +1 -0
  557. package/deprecated-react/components/filter-value-picker-datetime.component.cjs +1 -0
  558. package/deprecated-react/components/filter-value-picker-hierarchy.component.cjs +1 -0
  559. package/deprecated-react/components/filter-value-picker-numeric.component.cjs +1 -0
  560. package/deprecated-react/components/filter-value-picker.component.cjs +1 -0
  561. package/deprecated-react/components/formula-field.component.cjs +1 -0
  562. package/deprecated-react/components/interactive-viz-item.component.cjs +1 -0
  563. package/deprecated-react/components/slot-menu-list.component.cjs +1 -0
  564. package/deprecated-react/components/slot-menu.component.cjs +1 -0
  565. package/deprecated-react/components/viz-item-menu.component.cjs +1 -0
  566. package/index.d.ts +25 -0
  567. package/package.json +127 -2
  568. package/react/components/ai-chat.component.ts +45 -0
  569. package/react/components/ai-interaction-textarea.component.ts +30 -0
  570. package/react/components/data-field-level.component.ts +30 -0
  571. package/react/components/data-fields-select.component.ts +27 -0
  572. package/react/components/dataset-icon.component.ts +22 -0
  573. package/react/components/dataset-selector-list.component.ts +27 -0
  574. package/react/components/dataset-selector-row.component.ts +36 -0
  575. package/react/components/display-settings-binning.component.ts +27 -0
  576. package/react/components/display-settings-datetime.component.ts +27 -0
  577. package/react/components/display-settings-grand-totals.component.ts +27 -0
  578. package/react/components/display-settings-numeric.component.ts +27 -0
  579. package/react/components/display-settings-period-over-period.component.ts +27 -0
  580. package/react/components/display-settings.component.ts +33 -0
  581. package/react/components/filter-expression-picker.component.ts +27 -0
  582. package/react/components/filter-item.component.ts +27 -0
  583. package/react/components/filter-parameter-picker.component.ts +33 -0
  584. package/react/components/filter-value-picker-datetime.component.ts +27 -0
  585. package/react/components/filter-value-picker-hierarchy.component.ts +27 -0
  586. package/react/components/filter-value-picker-numeric.component.ts +27 -0
  587. package/react/components/filter-value-picker.component.ts +27 -0
  588. package/react/components/filters.component.ts +1 -1
  589. package/react/components/formula-field.component.ts +30 -0
  590. package/react/components/interactive-viz-item.component.ts +33 -0
  591. package/react/components/slot-menu-list.component.ts +27 -0
  592. package/react/components/slot-menu.component.ts +42 -0
  593. package/react/components/viz-item-menu.component.ts +33 -0
  594. package/react/esm/components/ai-chat.component.d.ts +24 -0
  595. package/react/esm/components/ai-chat.component.js +29 -0
  596. package/react/esm/components/ai-interaction-textarea.component.d.ts +14 -0
  597. package/react/esm/components/ai-interaction-textarea.component.js +19 -0
  598. package/react/esm/components/data-field-level.component.d.ts +14 -0
  599. package/react/esm/components/data-field-level.component.js +19 -0
  600. package/react/esm/components/data-fields-select.component.d.ts +12 -0
  601. package/react/esm/components/data-fields-select.component.js +17 -0
  602. package/react/esm/components/dataset-icon.component.d.ts +8 -0
  603. package/react/esm/components/dataset-icon.component.js +13 -0
  604. package/react/esm/components/dataset-selector-list.component.d.ts +12 -0
  605. package/react/esm/components/dataset-selector-list.component.js +17 -0
  606. package/react/esm/components/dataset-selector-row.component.d.ts +18 -0
  607. package/react/esm/components/dataset-selector-row.component.js +23 -0
  608. package/react/esm/components/display-settings-binning.component.d.ts +12 -0
  609. package/react/esm/components/display-settings-binning.component.js +17 -0
  610. package/react/esm/components/display-settings-datetime.component.d.ts +12 -0
  611. package/react/esm/components/display-settings-datetime.component.js +17 -0
  612. package/react/esm/components/display-settings-grand-totals.component.d.ts +12 -0
  613. package/react/esm/components/display-settings-grand-totals.component.js +17 -0
  614. package/react/esm/components/display-settings-numeric.component.d.ts +12 -0
  615. package/react/esm/components/display-settings-numeric.component.js +17 -0
  616. package/react/esm/components/display-settings-period-over-period.component.d.ts +12 -0
  617. package/react/esm/components/display-settings-period-over-period.component.js +17 -0
  618. package/react/esm/components/display-settings.component.d.ts +16 -0
  619. package/react/esm/components/display-settings.component.js +21 -0
  620. package/react/esm/components/filter-expression-picker.component.d.ts +12 -0
  621. package/react/esm/components/filter-expression-picker.component.js +17 -0
  622. package/react/esm/components/filter-item.component.d.ts +12 -0
  623. package/react/esm/components/filter-item.component.js +17 -0
  624. package/react/esm/components/filter-parameter-picker.component.d.ts +16 -0
  625. package/react/esm/components/filter-parameter-picker.component.js +21 -0
  626. package/react/esm/components/filter-value-picker-datetime.component.d.ts +12 -0
  627. package/react/esm/components/filter-value-picker-datetime.component.js +17 -0
  628. package/react/esm/components/filter-value-picker-hierarchy.component.d.ts +12 -0
  629. package/react/esm/components/filter-value-picker-hierarchy.component.js +17 -0
  630. package/react/esm/components/filter-value-picker-numeric.component.d.ts +12 -0
  631. package/react/esm/components/filter-value-picker-numeric.component.js +17 -0
  632. package/react/esm/components/filter-value-picker.component.d.ts +12 -0
  633. package/react/esm/components/filter-value-picker.component.js +17 -0
  634. package/react/esm/components/filters.component.d.ts +1 -1
  635. package/react/esm/components/filters.component.js +1 -1
  636. package/react/esm/components/formula-field.component.d.ts +14 -0
  637. package/react/esm/components/formula-field.component.js +19 -0
  638. package/react/esm/components/interactive-viz-item.component.d.ts +16 -0
  639. package/react/esm/components/interactive-viz-item.component.js +21 -0
  640. package/react/esm/components/slot-menu-list.component.d.ts +12 -0
  641. package/react/esm/components/slot-menu-list.component.js +17 -0
  642. package/react/esm/components/slot-menu.component.d.ts +22 -0
  643. package/react/esm/components/slot-menu.component.js +27 -0
  644. package/react/esm/components/viz-item-menu.component.d.ts +16 -0
  645. package/react/esm/components/viz-item-menu.component.js +21 -0
  646. package/react/esm/index.d.ts +27 -2
  647. package/react/esm/index.js +102 -2
  648. package/react/index.ts +102 -2
  649. package/react/luzmo-stub.d.ts +140 -0
  650. package/react/package.json +2 -2
  651. package/storybook/inject-global-vars.d.ts +1 -0
  652. package/storybook/register-components.d.ts +57 -0
  653. package/types/agent.types.d.ts +4 -0
  654. package/types/ai-chat.types.d.ts +104 -0
  655. package/types/data-field-events.types.d.ts +7 -0
  656. package/types.d.ts +9 -0
  657. package/utils/create-lazy-loader.d.ts +5 -0
  658. package/utils/filters/filter-text.d.ts +64 -0
  659. package/utils/filters/index.d.ts +1 -0
  660. package/utils/filters/presentation.d.ts +4 -0
  661. package/utils/filters/tests/filter-text.test.d.ts +1 -0
  662. package/utils/formatter/localized-template.d.ts +4 -0
  663. package/utils/formatter/tests/localized-template.test.d.ts +1 -0
  664. package/utils/tests/create-lazy-loader.test.d.ts +1 -0
  665. package/components/base-BtRS5vm6.cjs +0 -20
  666. package/components/data-field-fvlYzmfX.cjs +0 -89
  667. package/components/data-field-panel-Yrqn4L79.cjs +0 -87
  668. package/components/data-fields-select-Cor6sfzL.cjs +0 -41
  669. package/components/de-CdZnQbKI.cjs +0 -20
  670. package/components/display-settings-datetime-B23w7aH4.cjs +0 -217
  671. package/components/display-settings-grand-totals-BZ0nlLhu.cjs +0 -44
  672. package/components/display-settings-numeric-DoScgfRy.cjs +0 -190
  673. package/components/display-settings-period-over-period-C-hp0ZKN.cjs +0 -227
  674. package/components/es-7RD7O4q3.cjs +0 -20
  675. package/components/filters-DndJU6D5.js +0 -2454
  676. package/components/filters-oB9qOk_M.cjs +0 -443
  677. package/components/formula-BFvxm8kj.cjs +0 -45
  678. package/components/formula-codemirror-ucFOD-2a.cjs +0 -215
  679. package/components/formula-display-store-DmT65fUB.cjs +0 -20
  680. package/components/formula-editor-BeZ-fu-7.cjs +0 -253
  681. package/components/fr-CGw2IwXh.cjs +0 -20
  682. package/components/item-option-BQpS6rM_.cjs +0 -269
  683. package/components/item-option-action-button-group-BwBxRLzB.cjs +0 -53
  684. package/components/item-option-base-C6uwowJD.cjs +0 -56
  685. package/components/item-option-color-palette-picker-BjHadiN0.cjs +0 -40
  686. package/components/item-option-color-range-CQo8uThO.cjs +0 -98
  687. package/components/item-option-guidelines-Daf8Ce5z.cjs +0 -135
  688. package/components/item-option-position-picker-Cnis4wLA.cjs +0 -32
  689. package/components/item-option-positions-number-field-B7gI1IKO.cjs +0 -49
  690. package/components/item-option-slider--7hmhi97.cjs +0 -33
  691. package/components/item-slot-drop-hK-rLhwa.cjs +0 -91
  692. package/components/item-slot-drop-panel-CE4f9X6F.cjs +0 -57
  693. package/components/item-slot-picker-Wf50lM5u.cjs +0 -174
  694. package/components/item-slot-picker-panel-Csn1tabr.cjs +0 -81
  695. package/components/load-data-fields-for-datasets-B76UR0sG.js +0 -86
  696. package/components/load-data-fields-for-datasets-DFYeACsu.cjs +0 -20
  697. package/components/localized-mixin-DfpurTYo.cjs +0 -20
  698. package/components/nl-BnzS_ZtB.cjs +0 -20
  699. package/components/period-over-period-condition.const-DDgiXIfR.cjs +0 -20
  700. package/components/slot-menu-1zlmyLVl.js +0 -1060
  701. package/components/slot-menu-BSu8wKLi.cjs +0 -217
  702. package/components/utils-CPIzW8sp.cjs +0 -20
@@ -0,0 +1,7 @@
1
+ import { type ChartActionDescriptor, type ChartMutationRequest, type FlexChartConfig, type NormalizedChartConfig, type SlotConfig } from '../types';
2
+ export declare function convertSlotsToArray(slots: SlotConfig[] | Record<string, unknown>): SlotConfig[];
3
+ export declare function getChartDatasetIds(slots: SlotConfig[]): string[];
4
+ export declare function normalizeChartConfig(chart: FlexChartConfig): NormalizedChartConfig;
5
+ export declare function mergeThemeIntoChart(chart: NormalizedChartConfig, theme: Record<string, unknown>): NormalizedChartConfig;
6
+ export declare function calculateChartActions(chart: NormalizedChartConfig): ChartActionDescriptor[];
7
+ export declare function applyChartMutation(chart: NormalizedChartConfig, mutation: ChartMutationRequest): NormalizedChartConfig;
@@ -0,0 +1,20 @@
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
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../interactive-viz-item--kqitfEZ.cjs");exports.DEFAULT_RANKING_NUMBER=e.c,exports.LuzmoInteractiveVizItem=e.t,exports.RankingDirection=e.l,exports.SortBy=e.u,exports.SortDirection=e.d,exports.applyChartMutation=e.n,exports.calculateChartActions=e.r,exports.convertSlotsToArray=e.i,exports.getChartDatasetIds=e.a,exports.mergeThemeIntoChart=e.o,exports.normalizeChartConfig=e.s;
@@ -0,0 +1,10 @@
1
+ import { LuzmoInteractiveVizItem } from './interactive-viz-item';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'luzmo-interactive-viz-item': LuzmoInteractiveVizItem;
5
+ }
6
+ }
7
+ export { LuzmoInteractiveVizItem } from './interactive-viz-item';
8
+ export { DEFAULT_RANKING_NUMBER, RankingDirection, SortBy, SortDirection } from './types';
9
+ export type { InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail, ChartActionDescriptor, ChartActionType, ChartFeedback, ChartFeedbackRating, ChartMutationRequest, ChartOption, FlexChartConfig, NormalizedChartConfig, Ranking, Sort } from './types';
10
+ export { applyChartMutation, calculateChartActions, convertSlotsToArray, getChartDatasetIds, mergeThemeIntoChart, normalizeChartConfig } from './helpers/chart-helpers';
@@ -0,0 +1,28 @@
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
+ // Auto-generated initialization code
21
+ (function() {
22
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
23
+ let e = document.createElement("style");
24
+ e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
25
+ }
26
+ })();
27
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "../interactive-viz-item-cdShBZQA.js";
28
+ export { t as DEFAULT_RANKING_NUMBER, l as LuzmoInteractiveVizItem, i as RankingDirection, u as SortBy, n as SortDirection, a as applyChartMutation, s as calculateChartActions, r as convertSlotsToArray, e as getChartDatasetIds, o as mergeThemeIntoChart, c as normalizeChartConfig };
@@ -0,0 +1,97 @@
1
+ import '@luzmo/embed';
2
+ import '@luzmo/lucero/action-button';
3
+ import '@luzmo/lucero/action-group';
4
+ import '@luzmo/lucero/field-label';
5
+ import '@luzmo/lucero/icon';
6
+ import '@luzmo/lucero/number-field';
7
+ import '@luzmo/lucero/overlay';
8
+ import '@luzmo/lucero/picker';
9
+ import '@luzmo/lucero/popover';
10
+ import '@luzmo/lucero/progress-circle';
11
+ import '@luzmo/lucero/tabs';
12
+ import { CSSResultArray, TemplateResult } from 'lit';
13
+ import { LuzmoElement } from '../../utils/base';
14
+ import { type ChartFeedback, type FlexChartConfig } from './types';
15
+ declare const LuzmoInteractiveVizItem_base: (new (...args: any[]) => {
16
+ language: string;
17
+ }) & typeof LuzmoElement & {
18
+ new (...args: any[]): import("../../utils/base/sized-mixin").SizedElementInterface;
19
+ prototype: import("../../utils/base/sized-mixin").SizedElementInterface;
20
+ };
21
+ /**
22
+ * @customElement luzmo-interactive-viz-item
23
+ * @description Renders an interactive visualization item: an embedded chart with inline top-N
24
+ * ranking and display-mode actions, a feedback bar, and an expandable configuration panel (slots,
25
+ * filters, options). Only accepts chart input; nothing renders without a `chart`. Framework-neutral
26
+ * so it can be reused anywhere (AI chat answers, dashboards, reports).
27
+ * @fires {CustomEvent<InteractiveVizItemChartOptionsChangedEventDetail>} luzmo-chart-options-changed - Fired when the inline actions (ranking, sort, display mode) change the chart options.
28
+ * @fires {CustomEvent<InteractiveVizItemChartChangedEventDetail>} luzmo-chart-changed - Fired when the config panel changes slots, filters, or options (full chart).
29
+ * @fires {CustomEvent<InteractiveVizItemFeedbackChangedEventDetail>} luzmo-feedback-changed - Fired when the user changes the thumbs up/down rating.
30
+ * @slot chart-actions-extra - Host-injected actions rendered at the end of the inline actions bar (e.g. copy-to-dashboard).
31
+ * @csspart container - The viz item container.
32
+ * @csspart chart-container - The embedded chart wrapper.
33
+ * @csspart config-panel - The expandable configuration panel.
34
+ */
35
+ export declare class LuzmoInteractiveVizItem extends LuzmoInteractiveVizItem_base {
36
+ static get styles(): CSSResultArray;
37
+ /** Loose chart config (type, options, slots, filters); slots may use the keyed-object form. */
38
+ chart: FlexChartConfig | null;
39
+ /** Current feedback (drives the thumbs up/down selection). */
40
+ feedback: ChartFeedback | null;
41
+ /** Message id from the backend. Feedback is only shown when set. */
42
+ messageId: string;
43
+ /** Auth key for the embedded chart and config panels. */
44
+ authKey: string;
45
+ /** Auth token for the embedded chart and config panels. */
46
+ authToken: string;
47
+ /**
48
+ * API URL for the embedded chart and config panels.
49
+ * @default https://api.luzmo.com
50
+ */
51
+ apiUrl: string;
52
+ /**
53
+ * App server URL for the embedded chart (assets, thumbnails).
54
+ * @default https://app.luzmo.com
55
+ */
56
+ appServer: string;
57
+ /** Content language for chart data and dataset metadata. Defaults to the UI `language`. */
58
+ contentLanguage: string;
59
+ /** When present, hides the inline chart actions (ranking, display mode). */
60
+ hideActions: boolean;
61
+ /** When present, hides the feedback bar. */
62
+ hideFeedback: boolean;
63
+ /** When present, hides the config-panel toggle and the panel itself. */
64
+ hideConfigPanel: boolean;
65
+ private _configPanelOpen;
66
+ private _configPanelPending;
67
+ private _configPanelLoadFailed;
68
+ private readonly _rankingTriggerId;
69
+ private get _effectiveContentLanguage();
70
+ private _dispatch;
71
+ private get _chartActions();
72
+ private get _rating();
73
+ private get _canShowConfigPanel();
74
+ private _toggleConfigPanel;
75
+ private _emitOptions;
76
+ private _emitChart;
77
+ private _handleDropdownChange;
78
+ private _currentRanking;
79
+ private _currentSort;
80
+ private _emitRankAndSort;
81
+ private _renderOptionDropdown;
82
+ private _renderRankingPicker;
83
+ private _handleDirectionChange;
84
+ private _handleNumberChange;
85
+ private _handleSortByChange;
86
+ private _handleSortDirectionChange;
87
+ private _renderActions;
88
+ private _renderChart;
89
+ private _renderFeedback;
90
+ private _toggleRating;
91
+ private _renderConfigPanel;
92
+ private _handleSlotsChanged;
93
+ private _handleFiltersChanged;
94
+ private _handleOptionsChanged;
95
+ protected render(): TemplateResult;
96
+ }
97
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const ensureConfigPanelLoaded: () => Promise<[typeof import("../filters"), typeof import("../item-option-panel"), typeof import("../item-slot-picker-panel")]>;
2
+ export declare const isConfigPanelLoaded: () => boolean;
@@ -0,0 +1,117 @@
1
+ /**
2
+ * A single field descriptor inside a chart slot. Deliberately loose because the
3
+ * chart config is produced by the AI stream: it may carry either the short
4
+ * (`set`/`column`/`formula`) or the long (`datasetId`/`columnId`/`formulaId`)
5
+ * key form, which `normalizeChartConfig` reconciles.
6
+ */
7
+ export interface SlotContent {
8
+ columnId?: string;
9
+ datasetId?: string;
10
+ column?: string;
11
+ set?: string;
12
+ formulaId?: string;
13
+ formula?: string;
14
+ label?: Record<string, string> | string | null;
15
+ level?: number;
16
+ format?: string;
17
+ subtype?: string | null;
18
+ lowestLevel?: number;
19
+ [key: string]: unknown;
20
+ }
21
+ export interface SlotConfig {
22
+ name: string;
23
+ content: SlotContent[];
24
+ }
25
+ export interface ChartOptions {
26
+ theme?: Record<string, unknown>;
27
+ [key: string]: unknown;
28
+ }
29
+ /**
30
+ * Loose chart shape as streamed by the AI. `slots` may be an array or the legacy
31
+ * keyed-object form; `normalizeChartConfig` produces the strict array shape.
32
+ */
33
+ export interface FlexChartConfig {
34
+ type: string;
35
+ options: ChartOptions;
36
+ slots: SlotConfig[] | Record<string, unknown>;
37
+ filters?: unknown[];
38
+ }
39
+ export interface NormalizedChartConfig {
40
+ type: string;
41
+ options: ChartOptions;
42
+ slots: SlotConfig[];
43
+ filters?: unknown[];
44
+ }
45
+ export type ChartActionType = 'optionDropdown' | 'rankingPicker';
46
+ export interface ChartOption {
47
+ key: string;
48
+ label: string;
49
+ }
50
+ export declare enum RankingDirection {
51
+ Top = "top",
52
+ Bottom = "bottom"
53
+ }
54
+ export declare enum SortDirection {
55
+ Asc = "asc",
56
+ Desc = "desc"
57
+ }
58
+ export declare enum SortBy {
59
+ Measure = "measure",
60
+ Category = "category"
61
+ }
62
+ export interface Ranking {
63
+ active: boolean;
64
+ number: number;
65
+ direction: RankingDirection;
66
+ }
67
+ export interface Sort {
68
+ direction: SortDirection;
69
+ by: SortBy;
70
+ }
71
+ export declare const DEFAULT_RANKING_NUMBER = 5;
72
+ export interface ChartActionDescriptor {
73
+ type: ChartActionType;
74
+ mutationType: string;
75
+ values?: ChartOption[];
76
+ currentValue?: string;
77
+ ranking?: Ranking;
78
+ sort?: Sort;
79
+ importance: number;
80
+ }
81
+ export type ChartMutationRequest = {
82
+ type: 'slots';
83
+ slotsContents: SlotConfig[];
84
+ } | {
85
+ type: 'options';
86
+ options: ChartOptions;
87
+ } | {
88
+ type: 'filters';
89
+ filters: unknown[];
90
+ } | {
91
+ type: 'chartAction';
92
+ actionType: string;
93
+ key: string;
94
+ } | {
95
+ type: 'rankAndSort';
96
+ ranking: Ranking;
97
+ sort: Sort;
98
+ } | {
99
+ type: 'fullReplace';
100
+ chart: NormalizedChartConfig;
101
+ };
102
+ export type ChartFeedbackRating = -1 | 0 | 1;
103
+ export interface ChartFeedback {
104
+ id?: string;
105
+ rating: ChartFeedbackRating;
106
+ comment?: string;
107
+ }
108
+ export interface InteractiveVizItemChartOptionsChangedEventDetail {
109
+ options: ChartOptions;
110
+ }
111
+ export interface InteractiveVizItemChartChangedEventDetail {
112
+ chart: FlexChartConfig;
113
+ }
114
+ export interface InteractiveVizItemFeedbackChangedEventDetail {
115
+ rating: ChartFeedbackRating;
116
+ comment?: string;
117
+ }
@@ -0,0 +1,249 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2026 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const e=require("./base-K-bf6_7X.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./localized-mixin-DiUJOd06.cjs"),r=require("./create-lazy-loader-DYPgQh0L.cjs");let i=require("@luzmo/icons");require("@luzmo/lucero/icon"),require("@luzmo/lucero/overlay"),require("@luzmo/lucero/popover");let a=require("lit"),o=require("lit/decorators.js"),s=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/embed"),require("@luzmo/lucero/action-group"),require("@luzmo/lucero/field-label"),require("@luzmo/lucero/number-field"),require("@luzmo/lucero/picker"),require("@luzmo/lucero/progress-circle"),require("@luzmo/lucero/tabs");var c=`:host{box-sizing:border-box;display:block;container-type:inline-size}.answer{width:100%;display:block}.chart-actions-bar{justify-content:space-between;align-items:center;gap:var(--luzmo-interactive-viz-item-actions-gap,var(--interactive-viz-item-actions-gap));padding-block:var(--luzmo-interactive-viz-item-actions-padding-block,var(--interactive-viz-item-actions-padding-block));flex-wrap:nowrap;margin-block-start:var(--luzmo-interactive-viz-item-actions-margin-block-start,var(--interactive-viz-item-actions-margin-block-start));display:flex}.chart-actions-primary{gap:var(--luzmo-interactive-viz-item-actions-gap,var(--interactive-viz-item-actions-gap));flex-wrap:wrap;flex:1;align-items:center;min-width:0;display:flex}.ranking-content{gap:var(--luzmo-spacing-3);padding:var(--luzmo-spacing-3);flex-direction:column;display:flex}.ranking-row{gap:var(--luzmo-spacing-3);align-items:center;display:flex}.ranking-number{width:4rem}.icon-flipped{transform:scaleY(-1)}.chart-container{border-radius:var(--luzmo-interactive-viz-item-chart-border-radius,var(--interactive-viz-item-chart-border-radius));height:var(--luzmo-interactive-viz-item-chart-height,var(--interactive-viz-item-chart-height));overflow:hidden}.chart-container luzmo-embed-viz-item{width:100%;height:100%;display:block}.feedback-row{padding-block:var(--luzmo-interactive-viz-item-feedback-padding-block,var(--interactive-viz-item-feedback-padding-block));justify-content:space-between;align-items:center;display:flex}.rating-btn-positive{--luzmo-action-button-content-color-default-selected:var(--luzmo-interactive-viz-item-rating-positive-color,var(--interactive-viz-item-rating-positive-color));--luzmo-action-button-content-color-hover-selected:var(--luzmo-interactive-viz-item-rating-positive-color,var(--interactive-viz-item-rating-positive-color));--luzmo-action-button-content-color-down-selected:var(--luzmo-interactive-viz-item-rating-positive-color,var(--interactive-viz-item-rating-positive-color));--luzmo-action-button-content-color-focus-selected:var(--luzmo-interactive-viz-item-rating-positive-color,var(--interactive-viz-item-rating-positive-color));--luzmo-action-button-background-color-default-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-hover-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-down-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-focus-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background))}.rating-btn-negative{--luzmo-action-button-content-color-default-selected:var(--luzmo-interactive-viz-item-rating-negative-color,var(--interactive-viz-item-rating-negative-color));--luzmo-action-button-content-color-hover-selected:var(--luzmo-interactive-viz-item-rating-negative-color,var(--interactive-viz-item-rating-negative-color));--luzmo-action-button-content-color-down-selected:var(--luzmo-interactive-viz-item-rating-negative-color,var(--interactive-viz-item-rating-negative-color));--luzmo-action-button-content-color-focus-selected:var(--luzmo-interactive-viz-item-rating-negative-color,var(--interactive-viz-item-rating-negative-color));--luzmo-action-button-background-color-default-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-hover-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-down-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-focus-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background))}.config-toggle{--luzmo-action-button-border-radius:32px;margin-inline-start:auto}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.config-panel{border:1px solid var(--luzmo-interactive-viz-item-config-panel-border-color,var(--interactive-viz-item-config-panel-border-color));border-radius:var(--luzmo-interactive-viz-item-config-panel-border-radius,var(--interactive-viz-item-config-panel-border-radius));padding:var(--luzmo-interactive-viz-item-config-panel-padding,var(--interactive-viz-item-config-panel-padding));background:var(--luzmo-interactive-viz-item-config-panel-background,var(--interactive-viz-item-config-panel-background));margin-block-start:var(--luzmo-spacing-2)}.config-panel luzmo-tab-panel[selected]{padding-block-start:var(--luzmo-spacing-4);display:block}.config-panel luzmo-item-option-panel,.config-panel luzmo-item-slot-picker-panel,.config-panel luzmo-filters{width:100%;max-height:15rem;scrollbar-width:thin;scrollbar-color:var(--luzmo-interactive-viz-item-config-panel-border-color,var(--interactive-viz-item-config-panel-border-color)) transparent;padding-inline-end:var(--luzmo-spacing-3);overflow-y:auto}.edit-grid{min-height:12.5rem;display:flex}.edit-column{gap:var(--luzmo-spacing-3);flex-direction:column;display:flex}.edit-column:first-child{flex-shrink:0;max-width:15rem}.edit-column-filters{border-inline-start:1px solid var(--luzmo-interactive-viz-item-config-panel-border-color,var(--interactive-viz-item-config-panel-border-color));flex:1;min-width:18.75rem;padding-inline-start:var(--luzmo-spacing-5)}@container (width<=520px){.edit-grid{flex-direction:column}.edit-column,.edit-column:first-child{width:100%;min-width:0;max-width:100%}.edit-column-filters{border-inline-start:none;border-block-start:1px solid var(--luzmo-interactive-viz-item-config-panel-border-color,var(--interactive-viz-item-config-panel-border-color));min-width:0;margin-block-start:var(--luzmo-spacing-3);padding-block-start:var(--luzmo-spacing-4);padding-inline-start:0}}@container (width<=768px){.chart-container{height:calc(var(--luzmo-interactive-viz-item-chart-height,var(--interactive-viz-item-chart-height)) - 2.5rem)}}:host{--interactive-viz-item-actions-gap:var(--luzmo-spacing-3);--interactive-viz-item-actions-padding-block:var(--luzmo-spacing-3);--interactive-viz-item-actions-margin-block-start:var(--luzmo-spacing-5);--interactive-viz-item-chart-height:20rem;--interactive-viz-item-chart-border-radius:var(--luzmo-border-radius);--interactive-viz-item-feedback-padding-block:var(--luzmo-spacing-4);--interactive-viz-item-config-panel-padding:var(--luzmo-spacing-5);--interactive-viz-item-config-panel-border-color:var(--luzmo-border-color);--interactive-viz-item-config-panel-border-radius:var(--luzmo-border-radius);--interactive-viz-item-config-panel-background:var(--luzmo-background-color);--interactive-viz-item-rating-positive-color:var(--luzmo-positive-color,#12855a);--interactive-viz-item-rating-negative-color:var(--luzmo-negative-color,#ca221c);--interactive-viz-item-rating-selected-background:var(--luzmo-background-color-focus,#0000000f)}:host([size=s]){--interactive-viz-item-chart-height:17.5rem}:host([size=l]){--interactive-viz-item-chart-height:22rem}:host([size=xl]){--interactive-viz-item-chart-height:24rem}`,l=function(e){return e.Top=`top`,e.Bottom=`bottom`,e}({}),u=function(e){return e.Asc=`asc`,e.Desc=`desc`,e}({}),d=function(e){return e.Measure=`measure`,e.Category=`category`,e}({}),f=5,p=Array.isArray;function m(e){return typeof e==`string`}function h(e){let t={...e};return!t.datasetId&&t.set&&(t.datasetId=t.set),!t.set&&t.datasetId&&(t.set=t.datasetId),!t.columnId&&t.column&&(t.columnId=t.column),!t.column&&t.columnId&&(t.column=t.columnId),!t.formulaId&&t.formula&&(t.formulaId=t.formula),!t.formula&&t.formulaId&&(t.formula=t.formulaId),t}function g(e){return p(e)?e:Object.entries(e).map(([e,t])=>({name:e,content:p(t)?t:[]}))}function _(e){let t=new Set;for(let n of e)for(let e of n.content){let n=e.datasetId??e.set;m(n)&&t.add(n)}return[...t]}function v(e){let t=g(e.slots??[]),n=e.options??{},r=n.interactivity;return{type:e.type,options:{...n,interactivity:{...r,scheduledExport:!1}},slots:t.map(e=>({...e,content:p(e.content)?e.content.map(e=>h(e)):[]})),filters:e.filters}}function y(e,t){return{...e,options:{...e.options,theme:{...e.options.theme,...t}}}}function b(e){let t=e.find(e=>e.name===`measure`||e.name===`measures`);if(t&&t.content.length>1)return!0;let n=e.find(e=>e.name===`legend`);return n?n.content.length>0:!1}function x(e){let t=[],n=e.options;switch(e.type){case`area-chart`:case`bar-chart`:case`column-chart`:if(t.push({type:`rankingPicker`,mutationType:`rankAndSort`,ranking:n.ranking??{active:!1,number:5,direction:l.Top},sort:n.sort??{direction:u.Desc,by:d.Measure},importance:100}),b(e.slots)){let r=e.type===`area-chart`,i=r?[{key:`stacked`,label:`Stacked`},{key:`unstacked`,label:`Unstacked`},{key:`100`,label:`100%`},{key:`stream`,label:`Stream`}]:[{key:`grouped`,label:`Grouped`},{key:`stacked`,label:`Stacked`},{key:`100`,label:`100%`}],a=r?`stacked`:`grouped`;t.push({type:`optionDropdown`,mutationType:`mode`,values:i,currentValue:n.mode??a,importance:90})}break;case`donut-chart`:{let e=n.display??{};t.push({type:`optionDropdown`,mutationType:`donutLabelDisplay`,values:[{key:`withLegend`,label:`With legend`},{key:`withLabels`,label:`With labels`}],currentValue:e.categoryLabels===!0?`withLabels`:`withLegend`,importance:90});break}case`bubble-chart`:{let e=n.display??{};t.push({type:`optionDropdown`,mutationType:`bubbleValues`,values:[{key:`none`,label:`No values`},{key:`absolute`,label:`Absolute`},{key:`percentage`,label:`Percentage`}],currentValue:e.bubbleValues??e.values??`none`,importance:100});break}}return t.sort((e,t)=>t.importance-e.importance)}function S(e,t,n){let r=e.options;switch(t){case`mode`:return{...e,options:{...r,mode:n}};case`donutLabelDisplay`:{let t={...r.display??{}};return n===`withLabels`?(t.legend=!1,t.categoryLabels=!0):(t.legend=!0,t.categoryLabels=!1),{...e,options:{...r,display:t}}}case`bubbleValues`:{let t={...r.display??{}};return t.bubbleLabels=t.bubbleLabels!==!1,t.bubbleValues=n,{...e,options:{...r,display:t}}}default:return e}}function C(e,t){switch(t.type){case`slots`:return{...e,slots:t.slotsContents};case`options`:return{...e,options:t.options};case`filters`:return{...e,filters:t.filters};case`chartAction`:return S(e,t.actionType,t.key);case`rankAndSort`:return{...e,options:{...e.options,ranking:t.ranking,sort:t.sort}};case`fullReplace`:return t.chart;default:return e}}var w=[`luzmo-filters`,`luzmo-item-option-panel`,`luzmo-item-slot-picker-panel`],T=r.t(()=>Promise.all([Promise.resolve().then(()=>require("./filters/index.cjs")),Promise.resolve().then(()=>require("./item-option-panel/index.cjs")),Promise.resolve().then(()=>require("./item-slot-picker-panel/index.cjs"))])),E=T.load,D=()=>T.isLoaded()||w.every(e=>customElements.get(e)!==void 0),O=0,k=class extends n.t(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this.chart=null,this.feedback=null,this.messageId=``,this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.appServer=`https://app.luzmo.com`,this.contentLanguage=``,this.hideActions=!1,this.hideFeedback=!1,this.hideConfigPanel=!1,this._configPanelOpen=!1,this._configPanelPending=!1,this._configPanelLoadFailed=!1,this._rankingTriggerId=`interactive-viz-item-ranking-${++O}`,this._handleSlotsChanged=e=>{this.chart&&this._emitChart({...this.chart,slots:e.detail.slotsContents})},this._handleFiltersChanged=e=>{this.chart&&this._emitChart({...this.chart,filters:e.detail.filters})},this._handleOptionsChanged=e=>{if(!this.chart)return;let t=e.detail.options;if(!t)return;let n=this.chart.options.theme??{};this._emitChart({...this.chart,options:{...t,theme:{...n}}})}}static get styles(){return[(0,a.unsafeCSS)(c)]}get _effectiveContentLanguage(){return this.contentLanguage||this.language}_dispatch(e,t){let n=new CustomEvent(e,{detail:t,bubbles:!0,composed:!0});this.dispatchEvent(n)}get _chartActions(){return this.chart?x(v(this.chart)):[]}get _rating(){return this.feedback?.rating??0}get _canShowConfigPanel(){return!!this.chart&&!this.hideConfigPanel}async _toggleConfigPanel(){if(this._configPanelLoadFailed=!1,this._configPanelOpen){this._configPanelOpen=!1;return}if(!this._configPanelPending){if(!D()){this._configPanelPending=!0;try{await E()}catch(e){console.warn(`Failed to load the chart configuration panel:`,e),this._configPanelLoadFailed=!0;return}finally{this._configPanelPending=!1}}!this.isConnected||!this._canShowConfigPanel||(this._configPanelOpen=!0)}}_emitOptions(e){this._dispatch(`luzmo-chart-options-changed`,{options:e})}_emitChart(e){this._dispatch(`luzmo-chart-changed`,{chart:e})}_handleDropdownChange(e,t){if(!this.chart)return;t.stopPropagation();let n=t.detail,r=typeof n==`string`?n:n?.value??t.target?.value;if(!r)return;let i=C(v(this.chart),{type:`chartAction`,actionType:e.mutationType,key:r});this._emitOptions(i.options)}_currentRanking(e){return e.ranking??{active:!1,number:5,direction:l.Top}}_currentSort(e){return e.sort??{direction:u.Desc,by:d.Measure}}_emitRankAndSort(e,t){this.chart&&this._emitOptions({...this.chart.options,ranking:e,sort:t})}_renderOptionDropdown(e){let t=e.values??[],n=e.currentValue||t[0]?.key||``;return a.html`
21
+ <luzmo-picker
22
+ size=${this.size}
23
+ variant="highlight"
24
+ value=${n}
25
+ @change=${t=>this._handleDropdownChange(e,t)}
26
+ >
27
+ ${t.map(e=>a.html`<luzmo-menu-item value=${e.key}>${e.label}</luzmo-menu-item>`)}
28
+ </luzmo-picker>
29
+ `}_renderRankingPicker(e){let t=this._currentRanking(e),n=this._currentSort(e);if(!t.active)return a.html`
30
+ <luzmo-action-button
31
+ size=${this.size}
32
+ @click=${()=>this._emitRankAndSort({active:!0,number:5,direction:l.Top},n)}
33
+ >
34
+ <luzmo-icon slot="icon" size="xs" .icon=${i.luzmoAlignLeft}></luzmo-icon>
35
+ ${(0,s.msg)(`Show top 5`,{desc:`Label to activate top-N ranking on a chart`})}
36
+ </luzmo-action-button>
37
+ `;let r=t.direction===l.Bottom?(0,s.msg)(`Bottom`,{desc:`Ranking direction: keep the lowest values`}):(0,s.msg)(`Top`,{desc:`Ranking direction: keep the highest values`});return a.html`
38
+ <luzmo-action-button size=${this.size} id=${this._rankingTriggerId}>
39
+ <luzmo-icon slot="icon" size="xs" .icon=${i.luzmoAlignLeft}></luzmo-icon>
40
+ ${r} ${t.number||5}
41
+ </luzmo-action-button>
42
+
43
+ <luzmo-overlay type="auto" placement="bottom-start" trigger=${`${this._rankingTriggerId}@click`}>
44
+ <luzmo-popover>
45
+ <div class="ranking-content">
46
+ <div class="ranking-row">
47
+ <luzmo-action-group
48
+ size=${this.size}
49
+ compact
50
+ selects="single"
51
+ .selected=${[t.direction]}
52
+ @change=${t=>this._handleDirectionChange(e,t)}
53
+ >
54
+ <luzmo-action-button value="top" emphasized
55
+ >${(0,s.msg)(`Top`,{desc:`Ranking direction: keep the highest values`})}</luzmo-action-button
56
+ >
57
+ <luzmo-action-button value="bottom" emphasized
58
+ >${(0,s.msg)(`Bottom`,{desc:`Ranking direction: keep the lowest values`})}</luzmo-action-button
59
+ >
60
+ </luzmo-action-group>
61
+
62
+ <luzmo-number-field
63
+ class="ranking-number"
64
+ size=${this.size}
65
+ hide-stepper
66
+ min="1"
67
+ max="100"
68
+ step="1"
69
+ .value=${t.number}
70
+ @change=${t=>this._handleNumberChange(e,t)}
71
+ @input=${t=>this._handleNumberChange(e,t)}
72
+ ></luzmo-number-field>
73
+ </div>
74
+
75
+ <div class="ranking-row">
76
+ <luzmo-action-group
77
+ size=${this.size}
78
+ compact
79
+ selects="single"
80
+ .selected=${[n.by]}
81
+ @change=${t=>this._handleSortByChange(e,t)}
82
+ >
83
+ <luzmo-action-button value="measure" emphasized>123</luzmo-action-button>
84
+ <luzmo-action-button value="category" emphasized>ABC</luzmo-action-button>
85
+ </luzmo-action-group>
86
+
87
+ <luzmo-action-group
88
+ size=${this.size}
89
+ compact
90
+ selects="single"
91
+ .selected=${[n.direction]}
92
+ @change=${t=>this._handleSortDirectionChange(e,t)}
93
+ >
94
+ <luzmo-action-button
95
+ value="desc"
96
+ emphasized
97
+ label=${(0,s.msg)(`Sort descending`,{desc:`Sort chart values in descending order`})}
98
+ >
99
+ <luzmo-icon slot="icon" size="xs" .icon=${i.luzmoAlignLeft}></luzmo-icon>
100
+ </luzmo-action-button>
101
+ <luzmo-action-button
102
+ value="asc"
103
+ emphasized
104
+ label=${(0,s.msg)(`Sort ascending`,{desc:`Sort chart values in ascending order`})}
105
+ >
106
+ <luzmo-icon slot="icon" size="xs" class="icon-flipped" .icon=${i.luzmoAlignLeft}></luzmo-icon>
107
+ </luzmo-action-button>
108
+ </luzmo-action-group>
109
+ </div>
110
+ </div>
111
+ </luzmo-popover>
112
+ </luzmo-overlay>
113
+ `}_handleDirectionChange(e,t){t.stopPropagation();let n=t.target?.selected;n?.length&&this._emitRankAndSort({...this._currentRanking(e),direction:n[0]},this._currentSort(e))}_handleNumberChange(e,t){t.stopPropagation();let n=t.target?.value,r=typeof n==`number`?n:Number.parseInt(String(n),10);!Number.isNaN(r)&&r>=1&&this._emitRankAndSort({...this._currentRanking(e),number:r},this._currentSort(e))}_handleSortByChange(e,t){t.stopPropagation();let n=t.target?.selected;n?.length&&this._emitRankAndSort(this._currentRanking(e),{...this._currentSort(e),by:n[0]})}_handleSortDirectionChange(e,t){t.stopPropagation();let n=t.target?.selected;n?.length&&this._emitRankAndSort(this._currentRanking(e),{...this._currentSort(e),direction:n[0]})}_renderActions(){return this.hideActions?a.html`
114
+ <div class="chart-actions-bar">
115
+ <div class="chart-actions-primary"></div>
116
+ <slot name="chart-actions-extra"></slot>
117
+ </div>
118
+ `:a.html`
119
+ <div class="chart-actions-bar">
120
+ <div class="chart-actions-primary">
121
+ ${this._chartActions.map(e=>e.type===`optionDropdown`?this._renderOptionDropdown(e):this._renderRankingPicker(e))}
122
+ </div>
123
+ <slot name="chart-actions-extra"></slot>
124
+ </div>
125
+ `}_renderChart(){if(!this.chart)return a.nothing;let e=v(this.chart);return a.html`
126
+ <div class="chart-container" part="chart-container">
127
+ <luzmo-embed-viz-item
128
+ .type=${e.type}
129
+ .options=${e.options}
130
+ .slots=${e.slots}
131
+ .filters=${e.filters??[]}
132
+ .authKey=${this.authKey}
133
+ .authToken=${this.authToken}
134
+ .apiHost=${this.apiUrl}
135
+ .appServer=${this.appServer}
136
+ .language=${this._effectiveContentLanguage}
137
+ .canFilter=${!1}
138
+ ></luzmo-embed-viz-item>
139
+ </div>
140
+ `}_renderFeedback(){let e=!this.hideFeedback&&!!this.messageId,t=this._canShowConfigPanel,n=(0,s.msg)(`Loading`,{desc:`Loading spinner label`});return!e&&!t?a.nothing:a.html`
141
+ <div class="feedback-row">
142
+ ${e?a.html`
143
+ <luzmo-action-group quiet size=${this.size}>
144
+ <luzmo-action-button
145
+ class="rating-btn-positive"
146
+ value="positive"
147
+ quiet
148
+ label=${(0,s.msg)(`Good response`,{desc:`Accessible label for the positive feedback button`})}
149
+ ?selected=${this._rating===1}
150
+ @click=${()=>this._toggleRating(!0)}
151
+ >
152
+ <luzmo-icon slot="icon" size="s" .icon=${i.luzmoThumbsUp}></luzmo-icon>
153
+ </luzmo-action-button>
154
+ <luzmo-action-button
155
+ class="rating-btn-negative"
156
+ value="negative"
157
+ quiet
158
+ label=${(0,s.msg)(`Bad response`,{desc:`Accessible label for the negative feedback button`})}
159
+ ?selected=${this._rating===-1}
160
+ @click=${()=>this._toggleRating(!1)}
161
+ >
162
+ <luzmo-icon slot="icon" size="s" .icon=${i.luzmoThumbsDown}></luzmo-icon>
163
+ </luzmo-action-button>
164
+ </luzmo-action-group>
165
+ `:a.nothing}
166
+ ${t?a.html`
167
+ <luzmo-action-button
168
+ class="config-toggle"
169
+ size=${this.size}
170
+ quiet
171
+ ?selected=${this._configPanelOpen}
172
+ aria-expanded=${this._configPanelOpen}
173
+ aria-label=${this._configPanelPending?n:(0,s.msg)(`Configure chart`,{desc:`Accessible label for the chart config toggle`})}
174
+ @click=${()=>this._toggleConfigPanel()}
175
+ >
176
+ ${this._configPanelPending?a.html`<luzmo-progress-circle slot="icon" size="s" indeterminate .label=${n}></luzmo-progress-circle>`:a.html`<luzmo-icon slot="icon" size="s" .icon=${i.luzmoInfoCircle}></luzmo-icon>`}
177
+ </luzmo-action-button>
178
+ <span class="sr-only" role="status" aria-live="polite">${this._configPanelPending?n:``}</span>
179
+ <span class="sr-only" role="alert">${this._configPanelLoadFailed?(0,s.msg)(`Failed to load the chart configuration. Please try again.`,{desc:`Error message when the chart config panel fails to load`}):``}</span>
180
+ `:a.nothing}
181
+ </div>
182
+ `}_toggleRating(e){let t=e?1:-1,n=this._rating===t?0:t;this._dispatch(`luzmo-feedback-changed`,{rating:n,comment:this.feedback?.comment})}_renderConfigPanel(){if(!this.chart||this.hideConfigPanel||!this._configPanelOpen)return a.nothing;let e=this.chart,t=g(e.slots??[]),n=_(t),r=e.options.theme??{};return a.html`
183
+ <div class="config-panel" part="config-panel">
184
+ <luzmo-tabs selected="data" size=${this.size}>
185
+ <luzmo-tab value="data">${(0,s.msg)(`Data`,{desc:`Label for the data section`})}</luzmo-tab>
186
+ <luzmo-tab value="options">${(0,s.msg)(`Options`,{desc:`Label for the options section`})}</luzmo-tab>
187
+
188
+ <luzmo-tab-panel value="data">
189
+ <div class="edit-grid">
190
+ <div class="edit-column">
191
+ <luzmo-item-slot-picker-panel
192
+ size=${this.size}
193
+ slot-menu-placement="bottom-end"
194
+ .itemType=${e.type}
195
+ .slotsContents=${t}
196
+ .datasetIds=${n}
197
+ .authKey=${this.authKey}
198
+ .authToken=${this.authToken}
199
+ .apiUrl=${this.apiUrl}
200
+ .language=${this.language}
201
+ .contentLanguage=${this._effectiveContentLanguage}
202
+ @luzmo-slots-contents-changed=${this._handleSlotsChanged}
203
+ ></luzmo-item-slot-picker-panel>
204
+ </div>
205
+ <div class="edit-column edit-column-filters">
206
+ <luzmo-field-label size=${this.size}
207
+ >${(0,s.msg)(`Filters`,{desc:`Label for the filters section`})}</luzmo-field-label
208
+ >
209
+ <luzmo-filters
210
+ size=${this.size}
211
+ .datasetIds=${n}
212
+ .filters=${e.filters??[]}
213
+ .authKey=${this.authKey}
214
+ .authToken=${this.authToken}
215
+ .apiUrl=${this.apiUrl}
216
+ .language=${this.language}
217
+ .contentLanguage=${this._effectiveContentLanguage}
218
+ @luzmo-filters-changed=${this._handleFiltersChanged}
219
+ ></luzmo-filters>
220
+ </div>
221
+ </div>
222
+ </luzmo-tab-panel>
223
+
224
+ <luzmo-tab-panel value="options">
225
+ <luzmo-item-option-panel
226
+ size=${this.size}
227
+ .itemType=${e.type}
228
+ .options=${e.options||{}}
229
+ .slots=${t}
230
+ .theme=${r}
231
+ .authKey=${this.authKey}
232
+ .authToken=${this.authToken}
233
+ .apiUrl=${this.apiUrl}
234
+ .language=${this.language}
235
+ @luzmo-options-changed=${this._handleOptionsChanged}
236
+ ></luzmo-item-option-panel>
237
+ </luzmo-tab-panel>
238
+ </luzmo-tabs>
239
+ </div>
240
+ `}render(){return this.chart?a.html`
241
+ <div class="answer" part="container">
242
+ ${this._renderActions()} ${this._renderChart()} ${this._renderFeedback()} ${this._renderConfigPanel()}
243
+ </div>
244
+ `:a.html`
245
+ <div
246
+ class="answer"
247
+ part="container"
248
+ ></div>
249
+ `}};t.t([(0,o.property)({type:Object})],k.prototype,`chart`,void 0),t.t([(0,o.property)({type:Object})],k.prototype,`feedback`,void 0),t.t([(0,o.property)({type:String,attribute:`message-id`})],k.prototype,`messageId`,void 0),t.t([(0,o.property)({type:String,attribute:`auth-key`})],k.prototype,`authKey`,void 0),t.t([(0,o.property)({type:String,attribute:`auth-token`})],k.prototype,`authToken`,void 0),t.t([(0,o.property)({type:String,attribute:`api-url`})],k.prototype,`apiUrl`,void 0),t.t([(0,o.property)({type:String,attribute:`app-server`})],k.prototype,`appServer`,void 0),t.t([(0,o.property)({type:String,attribute:`content-language`})],k.prototype,`contentLanguage`,void 0),t.t([(0,o.property)({type:Boolean,attribute:`hide-actions`,reflect:!0})],k.prototype,`hideActions`,void 0),t.t([(0,o.property)({type:Boolean,attribute:`hide-feedback`,reflect:!0})],k.prototype,`hideFeedback`,void 0),t.t([(0,o.property)({type:Boolean,attribute:`hide-config-panel`,reflect:!0})],k.prototype,`hideConfigPanel`,void 0),t.t([(0,o.state)()],k.prototype,`_configPanelOpen`,void 0),t.t([(0,o.state)()],k.prototype,`_configPanelPending`,void 0),t.t([(0,o.state)()],k.prototype,`_configPanelLoadFailed`,void 0),customElements.get(`luzmo-interactive-viz-item`)||customElements.define(`luzmo-interactive-viz-item`,k),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return d}});