@luzmo/analytics-components-kit 1.0.9-beta.8 → 1.0.9-beta.9

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 (1202) hide show
  1. package/LICENSE +18 -18
  2. package/components/ad-hoc-slot-content-BwcFfXCV.cjs +18 -18
  3. package/components/ad-hoc-slot-content-hSlT62VS.js +18 -18
  4. package/components/add-to-dashboard/add-to-dashboard.d.ts +134 -0
  5. package/components/add-to-dashboard/dashboard-actions.d.ts +14 -0
  6. package/components/add-to-dashboard/helpers/add-to-dashboard-helpers.d.ts +3 -0
  7. package/components/add-to-dashboard/index.cjs +20 -0
  8. package/components/add-to-dashboard/index.d.ts +11 -0
  9. package/components/add-to-dashboard/index.js +21 -0
  10. package/components/add-to-dashboard/types.d.ts +7 -0
  11. package/components/add-to-dashboard-BBBuSOri.js +805 -0
  12. package/components/add-to-dashboard-DL2au6Os.cjs +166 -0
  13. package/components/ai-chat/index.cjs +19 -19
  14. package/components/ai-chat/index.js +20 -20
  15. package/components/{ai-chat-DA6ago8N.cjs → ai-chat-7IBO6eY3.cjs} +19 -19
  16. package/components/{ai-chat-kH4xkt7a.js → ai-chat-D0d30We9.js} +20 -20
  17. package/components/ai-interaction-textarea/index.cjs +19 -19
  18. package/components/ai-interaction-textarea/index.js +19 -19
  19. package/components/{ai-interaction-textarea-Bths0__L.js → ai-interaction-textarea-CAb6g6dq.js} +24 -24
  20. package/components/{ai-interaction-textarea-D1nK3sjL.cjs → ai-interaction-textarea-Cf7NhcMA.cjs} +20 -20
  21. package/components/area-chart-options.config-Bf5kti7Z.cjs +18 -18
  22. package/components/area-chart-options.config-DJnPr93H.js +18 -18
  23. package/components/area-chart-options.de-_tPBzxvf.cjs +18 -18
  24. package/components/area-chart-options.de-pUCTG-s0.js +18 -18
  25. package/components/area-chart-options.en-AuSHs27k.cjs +18 -18
  26. package/components/area-chart-options.en-YNsUeMwN.js +18 -18
  27. package/components/area-chart-options.es-2styw_Fz.js +18 -18
  28. package/components/area-chart-options.es-BzRHGbo6.cjs +18 -18
  29. package/components/area-chart-options.fr--WzQVf2z.js +18 -18
  30. package/components/area-chart-options.fr-DYxUQE3x.cjs +18 -18
  31. package/components/area-chart-options.nl-BTEIqBtE.js +18 -18
  32. package/components/area-chart-options.nl-M0xQQ_la.cjs +18 -18
  33. package/components/{area-chart-positioning.config-B8xSL1XU.cjs → area-chart-positioning.config-BUYCXinR.cjs} +19 -19
  34. package/components/{area-chart-positioning.config-C0_dxknc.js → area-chart-positioning.config-CKHsdYfg.js} +19 -19
  35. package/components/area-chart-slots.config-BOhwdLnr.cjs +18 -18
  36. package/components/area-chart-slots.config-ClE-gYVY.js +18 -18
  37. package/components/axis-options.config-BCP0Z8VI.js +18 -18
  38. package/components/axis-options.config-s-Js3ug-.cjs +18 -18
  39. package/components/axis-options.i18n-BOGRmWjp.js +18 -18
  40. package/components/axis-options.i18n-Cw-DmewV.cjs +18 -18
  41. package/components/bar-chart-options.config-CI17HU2I.cjs +18 -18
  42. package/components/bar-chart-options.config-D1x5WPbL.js +18 -18
  43. package/components/bar-chart-options.de-3qSh2TNr.js +18 -18
  44. package/components/bar-chart-options.de-545XMRGl.cjs +18 -18
  45. package/components/bar-chart-options.en-DAee9yHp.cjs +18 -18
  46. package/components/bar-chart-options.en-DrhQe9rV.js +18 -18
  47. package/components/bar-chart-options.es-BZ1yNzUQ.js +18 -18
  48. package/components/bar-chart-options.es-CfoAEZ-0.cjs +18 -18
  49. package/components/bar-chart-options.fr-5i13R8bs.js +18 -18
  50. package/components/bar-chart-options.fr-C2Ic0Dq0.cjs +18 -18
  51. package/components/bar-chart-options.nl-Bb6XiSDH.cjs +18 -18
  52. package/components/bar-chart-options.nl-DLj-qucU.js +18 -18
  53. package/components/{bar-chart-positioning.config-B6A5m0ZR.cjs → bar-chart-positioning.config-B7_XsLgG.cjs} +19 -19
  54. package/components/{bar-chart-positioning.config-B4fazkYv.js → bar-chart-positioning.config-BcQHAr8h.js} +19 -19
  55. package/components/bar-chart-slots.config-DMWjAd5a.cjs +18 -18
  56. package/components/bar-chart-slots.config-rMFwFprg.js +18 -18
  57. package/components/{base-BWU343D_.cjs → base-BXg3O7H2.cjs} +19 -19
  58. package/components/{base-BRTs2KqJ.js → base-CH2yUuWp.js} +19 -19
  59. package/components/base-store-BhGpnbqi.js +18 -18
  60. package/components/base-store-D5cDq6d4.cjs +18 -18
  61. package/components/bliss-CK3rEnFv.js +18 -18
  62. package/components/bliss-Cggxb-YF.cjs +18 -18
  63. package/components/box-plot-options.config-CooBIc6N.js +18 -18
  64. package/components/box-plot-options.config-Cp6H9fyb.cjs +18 -18
  65. package/components/box-plot-options.de-BkgscmvG.js +18 -18
  66. package/components/box-plot-options.de-alI5_N9d.cjs +18 -18
  67. package/components/box-plot-options.en-5kGlvxx8.js +18 -18
  68. package/components/box-plot-options.en-DUlXF9r9.cjs +18 -18
  69. package/components/box-plot-options.es-CIm06Gpk.cjs +18 -18
  70. package/components/box-plot-options.es-v_B9Xb9H.js +18 -18
  71. package/components/box-plot-options.fr-C5j-Dzj6.cjs +18 -18
  72. package/components/box-plot-options.fr-CRSOCgU5.js +18 -18
  73. package/components/box-plot-options.nl-DtnBbRo5.cjs +18 -18
  74. package/components/box-plot-options.nl-ZQjVZPau.js +18 -18
  75. package/components/{box-plot-positioning.config-BI9F_JjL.js → box-plot-positioning.config-BBx2k16c.js} +19 -19
  76. package/components/{box-plot-positioning.config-DVXXjP8U.cjs → box-plot-positioning.config-zW8ApQot.cjs} +19 -19
  77. package/components/box-plot-slots.config-5B_pTjPJ.cjs +18 -18
  78. package/components/box-plot-slots.config-DS2UIfRF.js +18 -18
  79. package/components/bubble-chart-options.config-B6aLA_1d.js +18 -18
  80. package/components/bubble-chart-options.config-e_0LM1Uw.cjs +18 -18
  81. package/components/bubble-chart-options.de-D-ylbLIk.cjs +18 -18
  82. package/components/bubble-chart-options.de-Q2nhAQfu.js +18 -18
  83. package/components/bubble-chart-options.en-DedkSXEc.js +18 -18
  84. package/components/bubble-chart-options.en-YjokcFur.cjs +18 -18
  85. package/components/bubble-chart-options.es-B7bZFlIa.js +18 -18
  86. package/components/bubble-chart-options.es-BiM9exvv.cjs +18 -18
  87. package/components/bubble-chart-options.fr-CB4rhJRR.cjs +18 -18
  88. package/components/bubble-chart-options.fr-Cz9T05xx.js +18 -18
  89. package/components/bubble-chart-options.nl-BeiE-TWG.js +18 -18
  90. package/components/bubble-chart-options.nl-tG0U8b3q.cjs +18 -18
  91. package/components/{bubble-chart-positioning.config-DXhama4z.js → bubble-chart-positioning.config-C81olavn.js} +19 -19
  92. package/components/{bubble-chart-positioning.config-C0tGI4fC.cjs → bubble-chart-positioning.config-mvGcNnxm.cjs} +19 -19
  93. package/components/bubble-chart-slots.config-2qy2RqaU.js +18 -18
  94. package/components/bubble-chart-slots.config-VHKuntJk.cjs +18 -18
  95. package/components/bullet-chart-options.config-CBmbmhzI.js +18 -18
  96. package/components/bullet-chart-options.config-Drv0yQ4x.cjs +18 -18
  97. package/components/bullet-chart-options.de-DHqxFlm7.js +18 -18
  98. package/components/bullet-chart-options.de-DQhoZIdV.cjs +18 -18
  99. package/components/bullet-chart-options.en-6vj0tO4B.js +18 -18
  100. package/components/bullet-chart-options.en-CTpxw73t.cjs +18 -18
  101. package/components/bullet-chart-options.es-Cc4GzyJG.cjs +18 -18
  102. package/components/bullet-chart-options.es-DeDFLO8Z.js +18 -18
  103. package/components/bullet-chart-options.fr-750sl4sT.js +18 -18
  104. package/components/bullet-chart-options.fr-D2Z5WBfJ.cjs +18 -18
  105. package/components/bullet-chart-options.nl-B7tw2hO6.cjs +18 -18
  106. package/components/bullet-chart-options.nl-CS-xSSVr.js +18 -18
  107. package/components/{bullet-chart-positioning.config-Czlw32Ii.js → bullet-chart-positioning.config-CFVhVLko.js} +19 -19
  108. package/components/{bullet-chart-positioning.config-Dmb_yizO.cjs → bullet-chart-positioning.config-DQXdWb8b.cjs} +19 -19
  109. package/components/bullet-chart-slots.config-BaMmwIH0.js +18 -18
  110. package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +18 -18
  111. package/components/calculate-data-field-icon-DenGmW74.cjs +18 -18
  112. package/components/calculate-data-field-icon-DrSg1PuD.js +18 -18
  113. package/components/chart-helpers-DQS2iqSd.js +250 -0
  114. package/components/chart-helpers-ufZ6VbXs.cjs +20 -0
  115. package/components/choropleth-map-options.config-DWWydGJ3.js +18 -18
  116. package/components/choropleth-map-options.config-VG10yjwC.cjs +18 -18
  117. package/components/choropleth-map-options.de-DXLufNgZ.js +18 -18
  118. package/components/choropleth-map-options.de-GB7-eHSP.cjs +18 -18
  119. package/components/choropleth-map-options.en-CT3LM0TX.cjs +18 -18
  120. package/components/choropleth-map-options.en-DGENug11.js +18 -18
  121. package/components/choropleth-map-options.es-D13n2Wh1.cjs +18 -18
  122. package/components/choropleth-map-options.es-Dn2Cv5D-.js +18 -18
  123. package/components/choropleth-map-options.fr-CK0tUEO3.js +18 -18
  124. package/components/choropleth-map-options.fr-CqIpVZuN.cjs +18 -18
  125. package/components/choropleth-map-options.nl-CwA4TtvT.js +18 -18
  126. package/components/choropleth-map-options.nl-YqFPhBJJ.cjs +18 -18
  127. package/components/{choropleth-map-positioning.config-JIj9p6-n.cjs → choropleth-map-positioning.config-DHOBeRRk.cjs} +19 -19
  128. package/components/{choropleth-map-positioning.config-BWJmEGy6.js → choropleth-map-positioning.config-DJoC3t7U.js} +19 -19
  129. package/components/choropleth-map-slots.config-CZKWF1qV.cjs +18 -18
  130. package/components/choropleth-map-slots.config-DqOi1kCn.js +18 -18
  131. package/components/circle-pack-chart-options.config-BmX0w3cH.cjs +18 -18
  132. package/components/circle-pack-chart-options.config-D2RCikyA.js +18 -18
  133. package/components/circle-pack-chart-options.de-BrrPqSBf.js +18 -18
  134. package/components/circle-pack-chart-options.de-Dlg-Dtyq.cjs +18 -18
  135. package/components/circle-pack-chart-options.en-ARMcjtyu.cjs +18 -18
  136. package/components/circle-pack-chart-options.en-BdoNRanZ.js +18 -18
  137. package/components/circle-pack-chart-options.es-CHFiuQ-k.cjs +18 -18
  138. package/components/circle-pack-chart-options.es-DLQWaD31.js +18 -18
  139. package/components/circle-pack-chart-options.fr-B66YY6lg.js +18 -18
  140. package/components/circle-pack-chart-options.fr-CxDnnCxR.cjs +18 -18
  141. package/components/circle-pack-chart-options.nl-Dp-iaTw6.cjs +18 -18
  142. package/components/circle-pack-chart-options.nl-kOeRMk4n.js +18 -18
  143. package/components/{sunburst-chart-positioning.config-MB8z_ZfG.cjs → circle-pack-chart-positioning.config-B48On4x6.cjs} +19 -19
  144. package/components/{circle-pack-chart-positioning.config-PhYH_yh8.js → circle-pack-chart-positioning.config-Tgiu36TH.js} +19 -19
  145. package/components/circle-pack-chart-slots.config-B7_1p86m.js +18 -18
  146. package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +18 -18
  147. package/components/circular-gauge-options.config-CSIUw2VN.cjs +18 -18
  148. package/components/circular-gauge-options.config-syWQJHKT.js +18 -18
  149. package/components/circular-gauge-options.de-CXNpTJ5Q.cjs +18 -18
  150. package/components/circular-gauge-options.de-D1DVq08k.js +18 -18
  151. package/components/circular-gauge-options.en-Cbvt0Mn4.cjs +18 -18
  152. package/components/circular-gauge-options.en-CsH_VhDL.js +18 -18
  153. package/components/circular-gauge-options.es-BkiRMNis.js +18 -18
  154. package/components/circular-gauge-options.es-CHmDAZjB.cjs +18 -18
  155. package/components/circular-gauge-options.fr-C4mL6X8Z.cjs +18 -18
  156. package/components/circular-gauge-options.fr-CxySNula.js +18 -18
  157. package/components/circular-gauge-options.nl-B27G1yLw.cjs +18 -18
  158. package/components/circular-gauge-options.nl-CcQpr_DM.js +18 -18
  159. package/components/{circular-gauge-positioning.config-DxfZmoEP.cjs → circular-gauge-positioning.config-CO0TB_rx.cjs} +19 -19
  160. package/components/{circular-gauge-positioning.config-COSdEO1U.js → circular-gauge-positioning.config-D6f4ltnk.js} +19 -19
  161. package/components/circular-gauge-slots.config-BxjCP1ao.js +18 -18
  162. package/components/circular-gauge-slots.config-DUHabt3G.cjs +18 -18
  163. package/components/classic-BLOsKyb3.js +18 -18
  164. package/components/classic-dark-B-bGXFgE.cjs +18 -18
  165. package/components/classic-dark-Bw01Wzq_.js +18 -18
  166. package/components/classic-fniwVVvX.cjs +18 -18
  167. package/components/color-BWnYpOu7.js +18 -18
  168. package/components/color-Bl8h58rV.cjs +18 -18
  169. package/components/color-palettes-BFpQSXfW.cjs +18 -18
  170. package/components/color-palettes-D4z1ONyx.js +18 -18
  171. package/components/color-range-utils-C3HJJUS1.cjs +18 -18
  172. package/components/color-range-utils-CiqduHJS.js +18 -18
  173. package/components/column-chart-options.config-B2LIl9lL.js +18 -18
  174. package/components/column-chart-options.config-xmSH4NKF.cjs +18 -18
  175. package/components/column-chart-options.de-BX13JkAO.cjs +18 -18
  176. package/components/column-chart-options.de-CIYtauiG.js +18 -18
  177. package/components/column-chart-options.en-BkAsfXYV.js +18 -18
  178. package/components/column-chart-options.en-DAee9yHp.cjs +18 -18
  179. package/components/column-chart-options.es-CClMQLE-.cjs +18 -18
  180. package/components/column-chart-options.es-jWM7TxS7.js +18 -18
  181. package/components/column-chart-options.fr-BB6301nS.js +18 -18
  182. package/components/column-chart-options.fr-C2Ic0Dq0.cjs +18 -18
  183. package/components/column-chart-options.nl-Bb6XiSDH.cjs +18 -18
  184. package/components/column-chart-options.nl-HUMDgKdl.js +18 -18
  185. package/components/{column-chart-positioning.config-6OVsL5vU.cjs → column-chart-positioning.config-D6rP1t6R.cjs} +19 -19
  186. package/components/{column-chart-positioning.config-BRYZk4cF.js → column-chart-positioning.config-Du8eT4a1.js} +19 -19
  187. package/components/column-chart-slots.config-CM5aytbj.cjs +18 -18
  188. package/components/column-chart-slots.config-D6MBTcj4.js +18 -18
  189. package/components/combination-chart-options.config-0ATFph8S.js +18 -18
  190. package/components/combination-chart-options.config-IEamJGCp.cjs +18 -18
  191. package/components/combination-chart-options.de-BiGjuWUS.cjs +18 -18
  192. package/components/combination-chart-options.de-DVJ9sfLC.js +18 -18
  193. package/components/combination-chart-options.en-B5piXq82.js +18 -18
  194. package/components/combination-chart-options.en-e4XMalU0.cjs +18 -18
  195. package/components/combination-chart-options.es-BmuyyP32.js +18 -18
  196. package/components/combination-chart-options.es-OXb8nozF.cjs +18 -18
  197. package/components/combination-chart-options.fr-CIrnpWEu.js +18 -18
  198. package/components/combination-chart-options.fr-CYzANyZs.cjs +18 -18
  199. package/components/combination-chart-options.nl-BDJ7t0BY.js +18 -18
  200. package/components/combination-chart-options.nl-DyAUjvqC.cjs +18 -18
  201. package/components/{combination-chart-positioning.config-CTj23r8f.js → combination-chart-positioning.config-Dh3B3LOl.js} +19 -19
  202. package/components/{combination-chart-positioning.config-4qgeM8BL.cjs → combination-chart-positioning.config-DjCqe3A3.cjs} +19 -19
  203. package/components/combination-chart-slots.config-BwUOXFCR.cjs +18 -18
  204. package/components/combination-chart-slots.config-dYT9lz8M.js +18 -18
  205. package/components/conditional-number-options.config-Bv2xONtI.js +18 -18
  206. package/components/conditional-number-options.config-ZVtstIjn.cjs +18 -18
  207. package/components/conditional-number-options.de-2xle1pGz.js +18 -18
  208. package/components/conditional-number-options.de-B4pb0dOt.cjs +18 -18
  209. package/components/conditional-number-options.en-JLoF4JZy.js +18 -18
  210. package/components/conditional-number-options.en-RlShluZP.cjs +18 -18
  211. package/components/conditional-number-options.es-C_g0UqIh.js +18 -18
  212. package/components/conditional-number-options.es-D6Thuvvq.cjs +18 -18
  213. package/components/conditional-number-options.fr-C5cASVba.js +18 -18
  214. package/components/conditional-number-options.fr-CoObS5Et.cjs +18 -18
  215. package/components/conditional-number-options.nl-BWXoNc8Z.cjs +18 -18
  216. package/components/conditional-number-options.nl-DiV3DzXR.js +18 -18
  217. package/components/{conditional-number-positioning.config-BUdWeVNm.js → conditional-number-positioning.config-CAhuUG3U.js} +19 -19
  218. package/components/{conditional-number-positioning.config-Dg67t4VA.cjs → conditional-number-positioning.config-X0Y3C4dr.cjs} +19 -19
  219. package/components/conditional-number-slots.config-B7maHIaG.cjs +18 -18
  220. package/components/conditional-number-slots.config-DtYkqtN8.js +18 -18
  221. package/components/convert-datasets-to-data-fields-B13rl1an.cjs +18 -18
  222. package/components/convert-datasets-to-data-fields-PmQzeVLG.js +18 -18
  223. package/components/create-lazy-loader-BO_oTDF5.js +18 -18
  224. package/components/create-lazy-loader-DYPgQh0L.cjs +18 -18
  225. package/components/cs-a-HHJy3d.cjs +18 -18
  226. package/components/cs-wc4Fl7IN.js +18 -18
  227. package/components/da-BuDewcQL.cjs +18 -18
  228. package/components/da-Byf4w3lJ.js +18 -18
  229. package/components/{data-broker-B0uUO5er.js → data-broker-BNXS5_qc.js} +26 -26
  230. package/components/{data-broker-CyMYR6w1.cjs → data-broker-DWgqaHoY.cjs} +19 -19
  231. package/components/data-field/index.cjs +19 -19
  232. package/components/data-field/index.js +19 -19
  233. package/components/{data-field-CwC5VH16.js → data-field-B8SFcGh0.js} +21 -21
  234. package/components/{data-field-DHpgI_wv.cjs → data-field-DeT57bOO.cjs} +19 -19
  235. package/components/data-field-level/index.cjs +19 -19
  236. package/components/data-field-level/index.js +19 -19
  237. package/components/{data-field-level-Ben_W9pd.js → data-field-level-3WE6l5BK.js} +19 -19
  238. package/components/{data-field-level-8-eOBdl6.cjs → data-field-level-CCxykPSg.cjs} +19 -19
  239. package/components/data-field-panel/index.cjs +19 -19
  240. package/components/data-field-panel/index.js +19 -19
  241. package/components/{data-field-panel-DppKRagT.js → data-field-panel-BRxir4hU.js} +24 -24
  242. package/components/{data-field-panel-CiuTVMXF.cjs → data-field-panel-yFIL1XTw.cjs} +19 -19
  243. package/components/data-fields-select/index.cjs +19 -19
  244. package/components/data-fields-select/index.js +19 -19
  245. package/components/{data-fields-select-HwMkrPAn.js → data-fields-select-JThxsK_E.js} +19 -19
  246. package/components/{data-fields-select-DjDeBEj-.cjs → data-fields-select-hO9zKetk.cjs} +19 -19
  247. package/components/dataset-icon/dataset-icon.d.ts +5 -4
  248. package/components/dataset-icon/index.cjs +19 -19
  249. package/components/dataset-icon/index.js +19 -19
  250. package/components/dataset-icon-CP_oZswB.cjs +62 -0
  251. package/components/dataset-icon-DUtfpbLX.js +121 -0
  252. package/components/dataset-selector-list/index.cjs +19 -19
  253. package/components/dataset-selector-list/index.js +19 -19
  254. package/components/{dataset-selector-list-BWavenTF.js → dataset-selector-list-BDxlELPh.js} +21 -21
  255. package/components/{dataset-selector-list-BL2uKzCy.cjs → dataset-selector-list-BJPRi83A.cjs} +19 -19
  256. package/components/dataset-selector-row/index.cjs +19 -19
  257. package/components/dataset-selector-row/index.js +19 -19
  258. package/components/{dataset-selector-row-CRh_a2TO.cjs → dataset-selector-row-BJTqQZhA.cjs} +24 -24
  259. package/components/{dataset-selector-row-CiqZrv0T.js → dataset-selector-row-CERTR_-i.js} +54 -44
  260. package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +18 -18
  261. package/components/date-comparison-filter-options.config-DgLx-m3L.js +18 -18
  262. package/components/date-comparison-filter-options.de-BSRz6o0Y.js +18 -18
  263. package/components/date-comparison-filter-options.de-DJ43Wuh1.cjs +18 -18
  264. package/components/date-comparison-filter-options.en-BeWcjUc3.cjs +18 -18
  265. package/components/date-comparison-filter-options.en-DLbsNe_t.js +18 -18
  266. package/components/date-comparison-filter-options.es-ChO2qlIh.js +18 -18
  267. package/components/date-comparison-filter-options.es-mBbFqdyP.cjs +18 -18
  268. package/components/date-comparison-filter-options.fr-CJYSimcC.cjs +18 -18
  269. package/components/date-comparison-filter-options.fr-D9HKPj4L.js +18 -18
  270. package/components/date-comparison-filter-options.nl-BOMQo1X3.js +18 -18
  271. package/components/date-comparison-filter-options.nl-DMCiGzTv.cjs +18 -18
  272. package/components/date-comparison-filter-positioning.config-DZI9jN5L.cjs +18 -18
  273. package/components/date-comparison-filter-positioning.config-DokVHoP8.js +18 -18
  274. package/components/date-comparison-filter-slots.config-BKZ13uzB.js +18 -18
  275. package/components/date-comparison-filter-slots.config-oABOLs3D.cjs +18 -18
  276. package/components/date-filter-options.config-Cbiy0QKd.js +18 -18
  277. package/components/date-filter-options.config-saR_u4w-.cjs +18 -18
  278. package/components/date-filter-options.de-DVRUmqQh.js +18 -18
  279. package/components/date-filter-options.de-Do8uE7X4.cjs +18 -18
  280. package/components/date-filter-options.en-DGay_JgN.cjs +18 -18
  281. package/components/date-filter-options.en-Df-q6Eqf.js +18 -18
  282. package/components/date-filter-options.es-dwt_ouf1.cjs +18 -18
  283. package/components/date-filter-options.es-eclXOdtw.js +18 -18
  284. package/components/date-filter-options.fr-B6CHuun3.js +18 -18
  285. package/components/date-filter-options.fr-D-OlAJSs.cjs +18 -18
  286. package/components/date-filter-options.nl-0pj5_uvF.cjs +18 -18
  287. package/components/date-filter-options.nl-qgltgj2Q.js +18 -18
  288. package/components/date-filter-positioning.config-CtEFg3RO.cjs +18 -18
  289. package/components/date-filter-positioning.config-D8wFL4L9.js +18 -18
  290. package/components/date-filter-slots.config-Cuzz0RjE.cjs +18 -18
  291. package/components/date-filter-slots.config-SzWky1y7.js +18 -18
  292. package/components/de-BLMiWrvE.cjs +18 -18
  293. package/components/{de-BhKtDR6p.js → de-BjRdwJaI.js} +87 -60
  294. package/components/de-DlpfqiRu.cjs +20 -0
  295. package/components/de-OHJ9YCFU.js +18 -18
  296. package/components/decompose-numeric-format-DGJua3rU.cjs +18 -18
  297. package/components/decompose-numeric-format-DS0j2wa1.js +18 -18
  298. package/components/decorate-DCJt-2rt.cjs +18 -18
  299. package/components/decorate-DyMgX_Uh.js +18 -18
  300. package/components/default-B35Bj34G.js +18 -18
  301. package/components/default-B5D3aZAS.cjs +18 -18
  302. package/components/default-acceptable-data-field-types-DFOFWWnT.js +18 -18
  303. package/components/default-acceptable-data-field-types-fPsz64ka.cjs +18 -18
  304. package/components/default-dark-BOvJQVaq.cjs +18 -18
  305. package/components/default-dark-CRMTsWZ1.js +18 -18
  306. package/components/display-settings/index.cjs +19 -19
  307. package/components/display-settings/index.js +19 -19
  308. package/components/{display-settings-Dmvi7XT-.cjs → display-settings-5cY7BZuI.cjs} +19 -19
  309. package/components/{display-settings-V5AltVPN.js → display-settings-DkSFWlVK.js} +21 -21
  310. package/components/display-settings-binning/index.cjs +19 -19
  311. package/components/display-settings-binning/index.js +19 -19
  312. package/components/{display-settings-binning-C1Fvc8tj.cjs → display-settings-binning-BiI20PpZ.cjs} +19 -19
  313. package/components/{display-settings-binning-BNofVnZE.js → display-settings-binning-tKTY2faZ.js} +20 -20
  314. package/components/display-settings-datetime/index.cjs +19 -19
  315. package/components/display-settings-datetime/index.js +19 -19
  316. package/components/{display-settings-datetime-OiFwicTh.cjs → display-settings-datetime-C7Jew6I8.cjs} +19 -19
  317. package/components/{display-settings-datetime-CUR1w0k5.js → display-settings-datetime-YGdlBIKj.js} +20 -20
  318. package/components/display-settings-grand-totals/index.cjs +19 -19
  319. package/components/display-settings-grand-totals/index.js +19 -19
  320. package/components/{display-settings-grand-totals-Bi1OcC7p.cjs → display-settings-grand-totals-B4CoczLi.cjs} +19 -19
  321. package/components/{display-settings-grand-totals-CgzHbK1K.js → display-settings-grand-totals-B7uQQUIk.js} +20 -20
  322. package/components/display-settings-numeric/index.cjs +19 -19
  323. package/components/display-settings-numeric/index.js +19 -19
  324. package/components/{display-settings-numeric-CUWkiQtR.js → display-settings-numeric-BR69YecW.js} +20 -20
  325. package/components/{display-settings-numeric-BQ_vQrnj.cjs → display-settings-numeric-CHUjUYdY.cjs} +19 -19
  326. package/components/display-settings-period-over-period/index.cjs +19 -19
  327. package/components/display-settings-period-over-period/index.js +19 -19
  328. package/components/{display-settings-period-over-period-C7cfSyIL.js → display-settings-period-over-period-CDJEh8rt.js} +21 -21
  329. package/components/{display-settings-period-over-period-Br08rz7r.cjs → display-settings-period-over-period-DL8OEHfu.cjs} +19 -19
  330. package/components/donut-chart-options.config-C8wpZzyJ.js +18 -18
  331. package/components/donut-chart-options.config-LbmJpNlm.cjs +18 -18
  332. package/components/donut-chart-options.de-MwhxVUQU.cjs +18 -18
  333. package/components/donut-chart-options.de-yLZjyrqC.js +18 -18
  334. package/components/donut-chart-options.en-CtvZekZO.js +18 -18
  335. package/components/donut-chart-options.en-Z9kCIcjz.cjs +18 -18
  336. package/components/donut-chart-options.es-C89OYrl4.js +18 -18
  337. package/components/donut-chart-options.es-Ch83fRxI.cjs +18 -18
  338. package/components/donut-chart-options.fr-B7JWWsro.cjs +18 -18
  339. package/components/donut-chart-options.fr-Cy4UUjdS.js +18 -18
  340. package/components/donut-chart-options.nl-BT6vFbJ5.js +18 -18
  341. package/components/donut-chart-options.nl-Brxyw7wD.cjs +18 -18
  342. package/components/{donut-chart-positioning.config-B4JdERSl.cjs → donut-chart-positioning.config-BdyN9VzX.cjs} +19 -19
  343. package/components/{donut-chart-positioning.config-CWGYZUec.js → donut-chart-positioning.config-CHyL7QHe.js} +19 -19
  344. package/components/donut-chart-slots.config-Bi08z-XB.cjs +18 -18
  345. package/components/donut-chart-slots.config-fGqtoKZi.js +18 -18
  346. package/components/dropdown-filter-options.config-BRzYD0KE.cjs +18 -18
  347. package/components/dropdown-filter-options.config-DkiapYtc.js +18 -18
  348. package/components/dropdown-filter-options.de-BdvWDGQ4.cjs +18 -18
  349. package/components/dropdown-filter-options.de-CGwxbXwe.js +18 -18
  350. package/components/dropdown-filter-options.en-D4YCo5Bj.js +18 -18
  351. package/components/dropdown-filter-options.en-DEHrGxy0.cjs +18 -18
  352. package/components/dropdown-filter-options.es-BvFyqxrr.js +18 -18
  353. package/components/dropdown-filter-options.es-C6qkLl6c.cjs +18 -18
  354. package/components/dropdown-filter-options.fr-9KlpP9JQ.js +18 -18
  355. package/components/dropdown-filter-options.fr-DZxfuy7q.cjs +18 -18
  356. package/components/dropdown-filter-options.nl-4HUfHHPT.js +18 -18
  357. package/components/dropdown-filter-options.nl-dmpP9bir.cjs +18 -18
  358. package/components/dropdown-filter-positioning.config-Ck97Moc_.cjs +18 -18
  359. package/components/dropdown-filter-positioning.config-D1tdnuCP.js +18 -18
  360. package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +18 -18
  361. package/components/dropdown-filter-slots.config-DPcT6v-9.js +18 -18
  362. package/components/en-CcLhGxIh.js +18 -18
  363. package/components/en-GB-DzkdeUQh.js +18 -18
  364. package/components/en-GB-uxY5qmIM.cjs +18 -18
  365. package/components/en-US-CcLhGxIh.js +18 -18
  366. package/components/en-US-q_Ruzags.cjs +18 -18
  367. package/components/en-q_Ruzags.cjs +18 -18
  368. package/components/es-BEJ3vwZw.cjs +20 -0
  369. package/components/{es-DUENN-m1.js → es-CHSnIez4.js} +87 -60
  370. package/components/es-D8MxHOsN.cjs +18 -18
  371. package/components/es-DuN6cMja.js +18 -18
  372. package/components/evolution-number-options.config-Ca9ABNVM.js +18 -18
  373. package/components/evolution-number-options.config-CoGBgLLw.cjs +18 -18
  374. package/components/evolution-number-options.de-BrdcqfjF.js +18 -18
  375. package/components/evolution-number-options.de-CjNBpzAw.cjs +18 -18
  376. package/components/evolution-number-options.en-B9BpR4nq.cjs +18 -18
  377. package/components/evolution-number-options.en-Sd6L4_T9.js +18 -18
  378. package/components/evolution-number-options.es-CxbiY9G6.cjs +18 -18
  379. package/components/evolution-number-options.es-RgSav5iQ.js +18 -18
  380. package/components/evolution-number-options.fr-BD73JeDU.js +18 -18
  381. package/components/evolution-number-options.fr-Cae20bgZ.cjs +18 -18
  382. package/components/evolution-number-options.nl-BJ-5M5kB.cjs +18 -18
  383. package/components/evolution-number-options.nl-WHBQ04_S.js +18 -18
  384. package/components/{evolution-number-positioning.config-DZ7SVvue.js → evolution-number-positioning.config-CUdL-zeQ.js} +19 -19
  385. package/components/{evolution-number-positioning.config-CqQeAPbN.cjs → evolution-number-positioning.config-D6gycaNP.cjs} +19 -19
  386. package/components/evolution-number-slots.config-CKawNqUS.js +18 -18
  387. package/components/evolution-number-slots.config-CikuQYgm.cjs +18 -18
  388. package/components/fi-CzBe3q93.cjs +18 -18
  389. package/components/fi-vuFNiOkH.js +18 -18
  390. package/components/filter-expression-picker/index.cjs +19 -19
  391. package/components/filter-expression-picker/index.js +19 -19
  392. package/components/{filter-expression-picker-3xcrAACt.js → filter-expression-picker-BS-won7l.js} +19 -19
  393. package/components/{filter-expression-picker-BrtXMSBv.cjs → filter-expression-picker-DCHNq2I7.cjs} +19 -19
  394. package/components/filter-item/index.cjs +19 -19
  395. package/components/filter-item/index.js +19 -19
  396. package/components/{filter-item-C_h4rbuL.cjs → filter-item-DDw3FRAz.cjs} +19 -19
  397. package/components/{filter-item-CH5sjhJy.js → filter-item-DSHDKky0.js} +24 -24
  398. package/components/filter-parameter-picker/index.cjs +19 -19
  399. package/components/filter-parameter-picker/index.js +19 -19
  400. package/components/{filter-parameter-picker-DJKHZxlT.cjs → filter-parameter-picker-BiD6eSTh.cjs} +19 -19
  401. package/components/{filter-parameter-picker-CB3uIoZ2.js → filter-parameter-picker-CLT9UoP8.js} +19 -19
  402. package/components/filter-value-picker/index.cjs +19 -19
  403. package/components/filter-value-picker/index.js +19 -19
  404. package/components/{filter-value-picker-CW9vKpn1.cjs → filter-value-picker--iG40y_z.cjs} +19 -19
  405. package/components/{filter-value-picker-DeO855hf.js → filter-value-picker-Dm0ql45_.js} +22 -22
  406. package/components/filter-value-picker-datetime/index.cjs +19 -19
  407. package/components/filter-value-picker-datetime/index.js +19 -19
  408. package/components/{filter-value-picker-datetime-DapMI9Jr.cjs → filter-value-picker-datetime-C6d57Nir.cjs} +19 -19
  409. package/components/{filter-value-picker-datetime-B0lLveRY.js → filter-value-picker-datetime-DeqfuUwj.js} +19 -19
  410. package/components/filter-value-picker-hierarchy/index.cjs +19 -19
  411. package/components/filter-value-picker-hierarchy/index.js +19 -19
  412. package/components/{filter-value-picker-hierarchy-B2xSmjFz.js → filter-value-picker-hierarchy-B-BvFNH7.js} +21 -21
  413. package/components/{filter-value-picker-hierarchy-C9mJ8PH7.cjs → filter-value-picker-hierarchy-CKqUw5uA.cjs} +19 -19
  414. package/components/filter-value-picker-numeric/index.cjs +19 -19
  415. package/components/filter-value-picker-numeric/index.js +19 -19
  416. package/components/{filter-value-picker-numeric-DE5h7dZN.cjs → filter-value-picker-numeric-BRCpHan6.cjs} +19 -19
  417. package/components/{filter-value-picker-numeric-CayroCHe.js → filter-value-picker-numeric-hFm7V2GV.js} +20 -20
  418. package/components/filters/index.cjs +19 -19
  419. package/components/filters/index.js +19 -19
  420. package/components/{filters-CGqIDlPK.cjs → filters-CS2JKt1Y.cjs} +19 -19
  421. package/components/{filters-D5oua2IU.js → filters-CuB7alHb.js} +21 -21
  422. package/components/formatter-BeXmurVe.cjs +18 -18
  423. package/components/formatter-Cq5dFCyU.js +18 -18
  424. package/components/formula/index.cjs +19 -19
  425. package/components/formula/index.js +19 -19
  426. package/components/{formula-B4lrmE5g.js → formula-D_OD2i6g.js} +20 -20
  427. package/components/{formula-codemirror-CBvQJGHq.cjs → formula-codemirror-DYcNoihJ.cjs} +19 -19
  428. package/components/{formula-codemirror-CVlF_Qyh.js → formula-codemirror-a5sWUTJu.js} +22 -22
  429. package/components/{formula-display-store-D9MWhreP.js → formula-display-store-2jg_5gbV.js} +22 -22
  430. package/components/{formula-display-store-BJvPYYsO.cjs → formula-display-store-DZcUchAg.cjs} +19 -19
  431. package/components/formula-editor/index.cjs +19 -19
  432. package/components/formula-editor/index.js +21 -21
  433. package/components/{formula-editor-BGT-QcuH.js → formula-editor-B0YVZTXO.js} +24 -24
  434. package/components/{formula-editor-De9Zj-9c.cjs → formula-editor-S_OrQGxP.cjs} +20 -20
  435. package/components/formula-field/index.cjs +19 -19
  436. package/components/formula-field/index.js +19 -19
  437. package/components/{formula-field--gNwmTRk.cjs → formula-field-CCH2SKkC.cjs} +19 -19
  438. package/components/{formula-field-CQcnyXOD.js → formula-field-DrLyzo0w.js} +19 -19
  439. package/components/{formula-input-base-CZih19kC.cjs → formula-input-base-BP_VPgp_.cjs} +21 -21
  440. package/components/{formula-input-base-BdKh5O_E.js → formula-input-base-PDTFvAc2.js} +25 -25
  441. package/components/{formula-8YhND5Y7.cjs → formula-xgIedfvZ.cjs} +19 -19
  442. package/components/fr-BlAUad9k.cjs +18 -18
  443. package/components/fr-CwOLJGv2.js +18 -18
  444. package/components/fr-Qyi8waf9.cjs +20 -0
  445. package/components/{fr-CePmGBUH.js → fr-bmFhZhSn.js} +87 -60
  446. package/components/funnel-chart-options.config-CygQsQVD.js +18 -18
  447. package/components/funnel-chart-options.config-DgpM8mWb.cjs +18 -18
  448. package/components/funnel-chart-options.de-CW29wkd4.cjs +18 -18
  449. package/components/funnel-chart-options.de-DIoKO3fr.js +18 -18
  450. package/components/funnel-chart-options.en-CGVFwHzU.cjs +18 -18
  451. package/components/funnel-chart-options.en-Doj4mREG.js +18 -18
  452. package/components/funnel-chart-options.es-Bcot5MS3.cjs +18 -18
  453. package/components/funnel-chart-options.es-D-GP_b6C.js +18 -18
  454. package/components/funnel-chart-options.fr-7ZROacsE.cjs +18 -18
  455. package/components/funnel-chart-options.fr-BoQkeuls.js +18 -18
  456. package/components/funnel-chart-options.nl-C0VZ6Ure.cjs +18 -18
  457. package/components/funnel-chart-options.nl-CRq-RjxK.js +18 -18
  458. package/components/{funnel-chart-positioning.config-BhK0EStG.cjs → funnel-chart-positioning.config-8jlFpv0s.cjs} +19 -19
  459. package/components/{funnel-chart-positioning.config-B6I8z0_N.js → funnel-chart-positioning.config-CKHYW9Zh.js} +19 -19
  460. package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +18 -18
  461. package/components/funnel-chart-slots.config-CfnSH4Ay.js +18 -18
  462. package/components/get-css-variable-CBXsAxR6.cjs +18 -18
  463. package/components/get-css-variable-DYnldi15.js +18 -18
  464. package/components/{get-dataset-name-mGNEfkAv.cjs → get-dataset-name-BUBY88G6.cjs} +19 -19
  465. package/components/{get-dataset-name-DLjeChNS.js → get-dataset-name-DcVX3h2Y.js} +19 -19
  466. package/components/{groupings-C1WNuUBe.js → groupings-DVO_FQS0.js} +19 -19
  467. package/components/{groupings-CvXvU4Fr.cjs → groupings-QLe5jIkp.cjs} +19 -19
  468. package/components/guidelines-options.config-D-ZuReR_.cjs +18 -18
  469. package/components/guidelines-options.config-DyedEeX2.js +18 -18
  470. package/components/he-CdtHCved.cjs +18 -18
  471. package/components/he-Cs_3gvpL.js +18 -18
  472. package/components/heat-map-options.config-DtDh9Gpy.cjs +18 -18
  473. package/components/heat-map-options.config-X96sw-BV.js +18 -18
  474. package/components/heat-map-options.de-CdqO8c7P.js +18 -18
  475. package/components/heat-map-options.de-Zq-m7g1c.cjs +18 -18
  476. package/components/heat-map-options.en-BAnXacHE.js +18 -18
  477. package/components/heat-map-options.en-CbP14v8z.cjs +18 -18
  478. package/components/heat-map-options.es-8rTCVZlw.js +18 -18
  479. package/components/heat-map-options.es-CUkrnKed.cjs +18 -18
  480. package/components/heat-map-options.fr-DXcosm8B.cjs +18 -18
  481. package/components/heat-map-options.fr-DbGhKWbq.js +18 -18
  482. package/components/heat-map-options.nl-B8LsAqqA.cjs +18 -18
  483. package/components/heat-map-options.nl-nw2vqBOn.js +18 -18
  484. package/components/{heat-map-positioning.config-DAAt2hIR.js → heat-map-positioning.config-CJsKdaGM.js} +19 -19
  485. package/components/{heat-map-positioning.config-B9Njs88T.cjs → heat-map-positioning.config-CsFv5a9R.cjs} +19 -19
  486. package/components/heat-map-slots.config-D2ypExJQ.js +18 -18
  487. package/components/heat-map-slots.config-Wp_oS8JQ.cjs +18 -18
  488. package/components/heat-table-options.config-CugBuoUA.cjs +18 -18
  489. package/components/heat-table-options.config-D6dA9J97.js +18 -18
  490. package/components/heat-table-options.de-D16uyY3b.cjs +18 -18
  491. package/components/heat-table-options.de-PCwpTsHu.js +18 -18
  492. package/components/heat-table-options.en-DCNhZ0Qw.js +18 -18
  493. package/components/heat-table-options.en-Dhd_yZdX.cjs +18 -18
  494. package/components/heat-table-options.es-DPqviw02.cjs +18 -18
  495. package/components/heat-table-options.es-Dhtu0ztS.js +18 -18
  496. package/components/heat-table-options.fr-BVwdrQWA.cjs +18 -18
  497. package/components/heat-table-options.fr-dtKsuwpe.js +18 -18
  498. package/components/heat-table-options.nl-BAiKDY6k.cjs +18 -18
  499. package/components/heat-table-options.nl-Bc0JFpfk.js +18 -18
  500. package/components/{heat-table-positioning.config-D6ChanEH.js → heat-table-positioning.config-BErqCTzb.js} +19 -19
  501. package/components/{heat-table-positioning.config-Cn7Ouv5g.cjs → heat-table-positioning.config-DPJqMJ3k.cjs} +19 -19
  502. package/components/heat-table-slots.config-B1iOn6ay.js +18 -18
  503. package/components/heat-table-slots.config-BN7rtHZG.cjs +18 -18
  504. package/components/helpers-B2IWxa9q.cjs +18 -18
  505. package/components/helpers-irnB2xbq.js +18 -18
  506. package/components/hexbin-map-options.config-BGmgxnMh.cjs +18 -18
  507. package/components/hexbin-map-options.config-FK9DrXGD.js +18 -18
  508. package/components/hexbin-map-options.de-Ch56ViJL.cjs +18 -18
  509. package/components/hexbin-map-options.de-IOtNvdRA.js +18 -18
  510. package/components/hexbin-map-options.en-BHNWW3n5.cjs +18 -18
  511. package/components/hexbin-map-options.en-DKEF0zQn.js +18 -18
  512. package/components/hexbin-map-options.es-CinY6Q9x.cjs +18 -18
  513. package/components/hexbin-map-options.es-FkXMepZ7.js +18 -18
  514. package/components/hexbin-map-options.fr-3EQtw1--.cjs +18 -18
  515. package/components/hexbin-map-options.fr-DT7-Cefu.js +18 -18
  516. package/components/hexbin-map-options.nl-2P7aufJe.cjs +18 -18
  517. package/components/hexbin-map-options.nl-BwgDBrw4.js +18 -18
  518. package/components/{hexbin-map-positioning.config-CNId41q1.js → hexbin-map-positioning.config-B4uDTE1u.js} +19 -19
  519. package/components/{hexbin-map-positioning.config-BqfRSZbU.cjs → hexbin-map-positioning.config-B5ro4kN0.cjs} +19 -19
  520. package/components/hexbin-map-slots.config-CC1xZINm.js +18 -18
  521. package/components/hexbin-map-slots.config-mx5zUTrA.cjs +18 -18
  522. package/components/hu-BXedq4ZF.js +18 -18
  523. package/components/hu-D0kNP1hN.cjs +18 -18
  524. package/components/icon-element-DpN-9yaN.cjs +18 -18
  525. package/components/icon-element-_jY440X2.js +18 -18
  526. package/components/image-options.config-DZ5q1D63.cjs +18 -18
  527. package/components/image-options.config-DxF0RSUF.js +18 -18
  528. package/components/image-options.de-Bh8QqYb_.js +18 -18
  529. package/components/image-options.de-Bm7MsFjT.cjs +18 -18
  530. package/components/image-options.en-Bt3w6SPu.cjs +18 -18
  531. package/components/image-options.en-D2iUVarz.js +18 -18
  532. package/components/image-options.es-CKpabSfB.js +18 -18
  533. package/components/image-options.es-ecJMtP0F.cjs +18 -18
  534. package/components/image-options.fr-D5P3FQRB.cjs +18 -18
  535. package/components/image-options.fr-vfaeguWy.js +18 -18
  536. package/components/image-options.nl-B16JINhD.js +18 -18
  537. package/components/image-options.nl-B7M__YOZ.cjs +18 -18
  538. package/components/image-slots.config-BPJRdlMR.cjs +18 -18
  539. package/components/image-slots.config-Ba8NXeCH.js +18 -18
  540. package/components/index.cjs +19 -19
  541. package/components/index.js +86 -84
  542. package/components/info-tooltip-options.config-B9T0cwSM.cjs +18 -18
  543. package/components/info-tooltip-options.config-BmSMkirf.js +18 -18
  544. package/components/info-tooltip-options.i18n-B3u0H74j.cjs +18 -18
  545. package/components/info-tooltip-options.i18n-CDx47Py-.js +18 -18
  546. package/components/interactive-viz-item/index.cjs +19 -19
  547. package/components/interactive-viz-item/index.d.ts +2 -0
  548. package/components/interactive-viz-item/index.js +21 -20
  549. package/components/interactive-viz-item/interactive-viz-item.d.ts +21 -4
  550. package/components/interactive-viz-item/load-add-to-dashboard.d.ts +1 -0
  551. package/components/interactive-viz-item-Baea0P3_.cjs +261 -0
  552. package/components/interactive-viz-item-CUMd_0jC.js +528 -0
  553. package/components/interactivity-options.config-BjEGNaIz.js +18 -18
  554. package/components/interactivity-options.config-Bzk2L-qh.cjs +18 -18
  555. package/components/interactivity-options.i18n-BsYv4Rh9.cjs +18 -18
  556. package/components/interactivity-options.i18n-UhOnnlBC.js +18 -18
  557. package/components/it-BZF7oRfg.cjs +18 -18
  558. package/components/it-BoudiwDn.js +18 -18
  559. package/components/item-context-configs.cjs +18 -18
  560. package/components/item-context-configs.js +18 -18
  561. package/components/item-grid/index.cjs +19 -19
  562. package/components/item-grid/index.js +19 -19
  563. package/components/{item-grid-BcgBGxIq.cjs → item-grid-d2OADwan.cjs} +19 -19
  564. package/components/{item-grid-BaW6EZ2a.js → item-grid-kdpHgrsl.js} +19 -19
  565. package/components/item-list.cjs +18 -18
  566. package/components/item-list.js +18 -18
  567. package/components/item-option/index.cjs +19 -19
  568. package/components/item-option/index.js +19 -19
  569. package/components/{item-option-em2Lp2zJ.js → item-option-JwAx3YmC.js} +26 -26
  570. package/components/item-option-action-button-group/index.cjs +19 -19
  571. package/components/item-option-action-button-group/index.js +19 -19
  572. package/components/{item-option-action-button-group-BcZTtikv.js → item-option-action-button-group-Ca0pf6i5.js} +19 -19
  573. package/components/{item-option-action-button-group-zZp49Gbz.cjs → item-option-action-button-group-DkAZ9OY0.cjs} +19 -19
  574. package/components/{item-option-base-K2pn6CrX.cjs → item-option-base-AaUo_MZX.cjs} +19 -19
  575. package/components/{item-option-base-DJ9FLqmu.js → item-option-base-j4KIWhhs.js} +19 -19
  576. package/components/item-option-color-palette-picker/index.cjs +19 -19
  577. package/components/item-option-color-palette-picker/index.js +19 -19
  578. package/components/{item-option-color-palette-picker-B9JlHGA8.cjs → item-option-color-palette-picker-DawX4mFm.cjs} +19 -19
  579. package/components/{item-option-color-palette-picker-DJX3MxcT.js → item-option-color-palette-picker-OYFI9Lyv.js} +19 -19
  580. package/components/item-option-color-picker/index.cjs +19 -19
  581. package/components/item-option-color-picker/index.js +19 -19
  582. package/components/{item-option-color-picker-Dgz-VK03.js → item-option-color-picker-CucECBTQ.js} +19 -19
  583. package/components/{item-option-color-picker-ayYko5QB.cjs → item-option-color-picker-D0wxlRKT.cjs} +19 -19
  584. package/components/item-option-color-range/index.cjs +19 -19
  585. package/components/item-option-color-range/index.js +19 -19
  586. package/components/{item-option-color-range-Cc8thG33.cjs → item-option-color-range-BsKL3vNf.cjs} +19 -19
  587. package/components/{item-option-color-range-DibSfro5.js → item-option-color-range-DEKwcRnW.js} +19 -19
  588. package/components/item-option-guidelines/index.cjs +19 -19
  589. package/components/item-option-guidelines/index.js +19 -19
  590. package/components/{item-option-guidelines-DXUcdAel.js → item-option-guidelines-CBS-l6Og.js} +21 -21
  591. package/components/{item-option-guidelines-h5-NrAYD.cjs → item-option-guidelines-a-JZ6vET.cjs} +19 -19
  592. package/components/item-option-multi-language-field/index.cjs +19 -19
  593. package/components/item-option-multi-language-field/index.js +19 -19
  594. package/components/{item-option-multi-language-field-BlnTZCFJ.cjs → item-option-multi-language-field-B_iIHt9f.cjs} +19 -19
  595. package/components/{item-option-multi-language-field-Bqo9OeK4.js → item-option-multi-language-field-DsjULq1Z.js} +19 -19
  596. package/components/item-option-number-field/index.cjs +19 -19
  597. package/components/item-option-number-field/index.js +19 -19
  598. package/components/{item-option-number-field-BZHhCuuj.js → item-option-number-field-CMvMANg3.js} +19 -19
  599. package/components/{item-option-number-field-D9vv1Q-O.cjs → item-option-number-field-Cu3Xp7O1.cjs} +19 -19
  600. package/components/item-option-panel/index.cjs +19 -19
  601. package/components/item-option-panel/index.js +19 -19
  602. package/components/{item-option-panel-DvgDiRPH.js → item-option-panel-Bt-auTxh.js} +21 -21
  603. package/components/{item-option-panel-Bo3sC4u5.cjs → item-option-panel-CGglC0L3.cjs} +19 -19
  604. package/components/item-option-picker/index.cjs +19 -19
  605. package/components/item-option-picker/index.js +19 -19
  606. package/components/{item-option-picker-cy0KK-ev.js → item-option-picker-Bbo9FLVK.js} +19 -19
  607. package/components/{item-option-picker-D5xhm36O.cjs → item-option-picker-Cs6IJBwI.cjs} +19 -19
  608. package/components/item-option-position-picker/index.cjs +19 -19
  609. package/components/item-option-position-picker/index.js +19 -19
  610. package/components/{item-option-position-picker-BbYP1Jnh.js → item-option-position-picker-9WEGAJwv.js} +19 -19
  611. package/components/{item-option-position-picker-BJ35DWBL.cjs → item-option-position-picker-DjeaIbof.cjs} +19 -19
  612. package/components/item-option-positions-number-field/index.cjs +19 -19
  613. package/components/item-option-positions-number-field/index.js +19 -19
  614. package/components/{item-option-positions-number-field-DzYQoSpk.cjs → item-option-positions-number-field-D9sacfwi.cjs} +19 -19
  615. package/components/{item-option-positions-number-field-DO4z_aKu.js → item-option-positions-number-field-VAjwbcp-.js} +19 -19
  616. package/components/item-option-radio-button-group/index.cjs +19 -19
  617. package/components/item-option-radio-button-group/index.js +19 -19
  618. package/components/{item-option-radio-button-group-CF1gttvP.cjs → item-option-radio-button-group-BH6Rrjqn.cjs} +19 -19
  619. package/components/{item-option-radio-button-group-DX7wCv8J.js → item-option-radio-button-group-C78B2JTq.js} +19 -19
  620. package/components/item-option-slider/index.cjs +19 -19
  621. package/components/item-option-slider/index.js +19 -19
  622. package/components/{item-option-slider-z1CwX5mE.js → item-option-slider-C8ohnELg.js} +19 -19
  623. package/components/{item-option-slider-DeGmGyZE.cjs → item-option-slider-DfrO8o4P.cjs} +19 -19
  624. package/components/item-option-switch/index.cjs +19 -19
  625. package/components/item-option-switch/index.js +19 -19
  626. package/components/{item-option-switch-D41KguKr.js → item-option-switch-5-9yM_CB.js} +19 -19
  627. package/components/{item-option-switch-D3jq7jIt.cjs → item-option-switch-CBDaX0VP.cjs} +19 -19
  628. package/components/item-option-text-field/index.cjs +19 -19
  629. package/components/item-option-text-field/index.js +19 -19
  630. package/components/{item-option-text-field-cXy2sx5N.cjs → item-option-text-field-BuGQRbBd.cjs} +19 -19
  631. package/components/{item-option-text-field-CnFcApMz.js → item-option-text-field-Dfhyiw3g.js} +19 -19
  632. package/components/{item-option-8PQMxg8v.cjs → item-option-wljWGlVP.cjs} +23 -23
  633. package/components/item-options-configs.cjs +18 -18
  634. package/components/item-options-configs.js +18 -18
  635. package/components/item-slot-drop/index.cjs +19 -19
  636. package/components/item-slot-drop/index.js +19 -19
  637. package/components/{item-slot-drop-YAKpKb2-.js → item-slot-drop-BoHMbf5d.js} +41 -41
  638. package/components/{item-slot-drop-CtEMLkmt.cjs → item-slot-drop-DzI3J188.cjs} +26 -26
  639. package/components/item-slot-drop-panel/index.cjs +19 -19
  640. package/components/item-slot-drop-panel/index.js +19 -19
  641. package/components/{item-slot-drop-panel-JZtBKPJu.js → item-slot-drop-panel-DAV5hZAK.js} +65 -65
  642. package/components/{item-slot-drop-panel-aom0ugTz.cjs → item-slot-drop-panel-DUZiKuGU.cjs} +24 -24
  643. package/components/item-slot-picker/index.cjs +19 -19
  644. package/components/item-slot-picker/index.js +19 -19
  645. package/components/{item-slot-picker-D-FvHowO.js → item-slot-picker-D93zj2Gb.js} +53 -53
  646. package/components/{item-slot-picker-D8h7QXGD.cjs → item-slot-picker-Kw-XELzL.cjs} +32 -32
  647. package/components/item-slot-picker-panel/index.cjs +19 -19
  648. package/components/item-slot-picker-panel/index.js +19 -19
  649. package/components/{item-slot-picker-panel-C98lpd4g.cjs → item-slot-picker-panel-B4YB1TZm.cjs} +26 -26
  650. package/components/{item-slot-picker-panel-g4JDw1M_.js → item-slot-picker-panel-PQ4ahhjg.js} +33 -33
  651. package/components/item-slots-configs.cjs +18 -18
  652. package/components/item-slots-configs.js +18 -18
  653. package/components/ja-DOkmGGSd.js +18 -18
  654. package/components/ja-aOzAwMPW.cjs +18 -18
  655. package/components/ko-B50TWXco.cjs +18 -18
  656. package/components/ko-BrzKwqTe.js +18 -18
  657. package/components/line-chart-options.config-C3_RnROS.js +18 -18
  658. package/components/line-chart-options.config-RTYFJQSE.cjs +18 -18
  659. package/components/line-chart-options.de-CKbHARjX.cjs +18 -18
  660. package/components/line-chart-options.de-CtxTZ-Nx.js +18 -18
  661. package/components/line-chart-options.en-BgXtU92P.js +18 -18
  662. package/components/line-chart-options.en-DmtT3Hbw.cjs +18 -18
  663. package/components/line-chart-options.es--u7QlrhG.js +18 -18
  664. package/components/line-chart-options.es-BwyQviz-.cjs +18 -18
  665. package/components/line-chart-options.fr-BUwOFGR7.cjs +18 -18
  666. package/components/line-chart-options.fr-BaPc1M70.js +18 -18
  667. package/components/line-chart-options.nl-BkPXShNF.cjs +18 -18
  668. package/components/line-chart-options.nl-C86fSn7a.js +18 -18
  669. package/components/{line-chart-positioning.config-BZUWqKWz.cjs → line-chart-positioning.config-CZZzCHZy.cjs} +19 -19
  670. package/components/{line-chart-positioning.config-C3VzNcws.js → line-chart-positioning.config-hnE1mHxC.js} +19 -19
  671. package/components/line-chart-slots.config-CA-I6B6o.js +18 -18
  672. package/components/line-chart-slots.config-vv66fcoE.cjs +18 -18
  673. package/components/{load-data-fields-for-datasets-rL24A68g.cjs → load-data-fields-for-datasets-C8QzYyAq.cjs} +19 -19
  674. package/components/{load-data-fields-for-datasets-B3XcFFfg.js → load-data-fields-for-datasets-eFeQdDxV.js} +19 -19
  675. package/components/localize-BT7REYBY.js +18 -18
  676. package/components/localize-D3i4Epy_.cjs +18 -18
  677. package/components/{localized-mixin-DiUJOd06.cjs → localized-mixin-B-kGsAm4.cjs} +19 -19
  678. package/components/{localized-mixin-DaLXe5J9.js → localized-mixin-a1sQVLdN.js} +19 -19
  679. package/components/map-tile-providers-DzSBmFkY.cjs +18 -18
  680. package/components/map-tile-providers-RN2cWRln.js +18 -18
  681. package/components/marker-map-options.config-OMdgbAc4.js +18 -18
  682. package/components/marker-map-options.config-SkhbtEh0.cjs +18 -18
  683. package/components/marker-map-options.de-BSu8VCAw.cjs +18 -18
  684. package/components/marker-map-options.de-DVb2ab5i.js +18 -18
  685. package/components/marker-map-options.en-BNwkDxQB.js +18 -18
  686. package/components/marker-map-options.en-CKMe-zNW.cjs +18 -18
  687. package/components/marker-map-options.es-CY2DRGKv.js +18 -18
  688. package/components/marker-map-options.es-D6x5XPW7.cjs +18 -18
  689. package/components/marker-map-options.fr-D31wgwxG.js +18 -18
  690. package/components/marker-map-options.fr-xZ7ixq37.cjs +18 -18
  691. package/components/marker-map-options.nl-Bvo1Sgwp.cjs +18 -18
  692. package/components/marker-map-options.nl-DyZo_CFt.js +18 -18
  693. package/components/{marker-map-positioning.config-BlvgG6yX.js → marker-map-positioning.config-CwgtUUq-.js} +19 -19
  694. package/components/{marker-map-positioning.config-CGF74mJI.cjs → marker-map-positioning.config-D-I0B6m9.cjs} +19 -19
  695. package/components/marker-map-slots.config-CcGNgr1_.js +18 -18
  696. package/components/marker-map-slots.config-DigZk7lN.cjs +18 -18
  697. package/components/mk-CehJi277.cjs +18 -18
  698. package/components/mk-Deht4BwZ.js +18 -18
  699. package/components/nl-C1BTOQ5N.js +18 -18
  700. package/components/nl-DcbYQmCW.cjs +20 -0
  701. package/components/nl-wyer9j4m.cjs +18 -18
  702. package/components/{nl-BaZM3WoR.js → nl-ykFfpBh5.js} +87 -60
  703. package/components/no-C9FQ33Mp.js +18 -18
  704. package/components/no-PqE_GjX_.cjs +18 -18
  705. package/components/ohlc-chart-options.config-CWRI5bXI.js +18 -18
  706. package/components/ohlc-chart-options.config-Pqd5MFIv.cjs +18 -18
  707. package/components/ohlc-chart-options.de-DtanuVcU.cjs +18 -18
  708. package/components/ohlc-chart-options.de-LnJmQjiR.js +18 -18
  709. package/components/ohlc-chart-options.en-B7TU8CK4.js +18 -18
  710. package/components/ohlc-chart-options.en-CStPyUia.cjs +18 -18
  711. package/components/ohlc-chart-options.es-B7m8-_pA.js +18 -18
  712. package/components/ohlc-chart-options.es-CfTI32Rg.cjs +18 -18
  713. package/components/ohlc-chart-options.fr-C53gRLh5.cjs +18 -18
  714. package/components/ohlc-chart-options.fr-u_Bi9raw.js +18 -18
  715. package/components/ohlc-chart-options.nl-BrpwjNGt.js +18 -18
  716. package/components/ohlc-chart-options.nl-Dh9iPIWB.cjs +18 -18
  717. package/components/{ohlc-chart-positioning.config-B__cD7Wo.cjs → ohlc-chart-positioning.config-Bq5TsRQX.cjs} +19 -19
  718. package/components/{ohlc-chart-positioning.config-BdbEgiry.js → ohlc-chart-positioning.config-DBAi7BZB.js} +19 -19
  719. package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +18 -18
  720. package/components/ohlc-chart-slots.config-Pv0xst-Y.js +18 -18
  721. package/components/orion-CXeT8EeB.js +18 -18
  722. package/components/orion-DkQrXOy_.cjs +18 -18
  723. package/components/parallel-coordinates-plot-options.config-2BbzNgJ9.cjs +18 -18
  724. package/components/parallel-coordinates-plot-options.config-DbuNgevO.js +18 -18
  725. package/components/parallel-coordinates-plot-options.de-BwbOcCnH.js +18 -18
  726. package/components/parallel-coordinates-plot-options.de-CDtIM_Z2.cjs +18 -18
  727. package/components/parallel-coordinates-plot-options.en-BlzPfF-b.js +18 -18
  728. package/components/parallel-coordinates-plot-options.en-Bu7cMLrv.cjs +18 -18
  729. package/components/parallel-coordinates-plot-options.es-BPgUHedg.cjs +18 -18
  730. package/components/parallel-coordinates-plot-options.es-CPAqJPEY.js +18 -18
  731. package/components/parallel-coordinates-plot-options.fr-BUxk85Ud.cjs +18 -18
  732. package/components/parallel-coordinates-plot-options.fr-DRTOCvqg.js +18 -18
  733. package/components/parallel-coordinates-plot-options.nl-CHuWgaYV.cjs +18 -18
  734. package/components/parallel-coordinates-plot-options.nl-DqXxaV_Z.js +18 -18
  735. package/components/{parallel-coordinates-plot-positioning.config-BqdmUJLk.cjs → parallel-coordinates-plot-positioning.config-DMQ-JdJa.cjs} +19 -19
  736. package/components/{parallel-coordinates-plot-positioning.config-DNu5qhNR.js → parallel-coordinates-plot-positioning.config-DY4k14h-.js} +19 -19
  737. package/components/parallel-coordinates-plot-slots.config-GvYC-RXK.js +18 -18
  738. package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +18 -18
  739. package/components/period-over-period-condition.const-BZ7j5Z5t.js +18 -18
  740. package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +18 -18
  741. package/components/periods.const-Db0nXrwr.cjs +18 -18
  742. package/components/periods.const-NCTkxnvG.js +18 -18
  743. package/components/pinky-CtuaRwwY.js +18 -18
  744. package/components/pinky-TtncdghA.cjs +18 -18
  745. package/components/pivot-table-options.config-CTz4bcGJ.js +18 -18
  746. package/components/pivot-table-options.config-D6Hdgnof.cjs +18 -18
  747. package/components/pivot-table-options.de-CZjCOf23.js +18 -18
  748. package/components/pivot-table-options.de-D4WdihDf.cjs +18 -18
  749. package/components/pivot-table-options.en-Ch0mKBst.cjs +18 -18
  750. package/components/pivot-table-options.en-Z6QZwj0n.js +18 -18
  751. package/components/pivot-table-options.es-DKNkDOBt.cjs +18 -18
  752. package/components/pivot-table-options.es-DW1enov2.js +18 -18
  753. package/components/pivot-table-options.fr-BAKlur9_.cjs +18 -18
  754. package/components/pivot-table-options.fr-Cl4jkSR4.js +18 -18
  755. package/components/pivot-table-options.nl-2mSHbpcz.cjs +18 -18
  756. package/components/pivot-table-options.nl-CaWEP9qN.js +18 -18
  757. package/components/{pivot-table-positioning.config-CUfnXIHj.js → pivot-table-positioning.config-BrD6ejPq.js} +19 -19
  758. package/components/{pivot-table-positioning.config-DDpgWCZ7.cjs → pivot-table-positioning.config-DoMx9qf8.cjs} +19 -19
  759. package/components/pivot-table-slots.config-BAW0U3nh.js +18 -18
  760. package/components/pivot-table-slots.config-KlYXL90k.cjs +18 -18
  761. package/components/pl-4xvkt0Pl.js +18 -18
  762. package/components/pl-Cu6_UJbA.cjs +18 -18
  763. package/components/pragmatic-element-adapter-D0LRKx5U.js +18 -18
  764. package/components/pragmatic-element-adapter-DdyH32ix.cjs +18 -18
  765. package/components/pt-BUpCBhz9.js +18 -18
  766. package/components/pt-fymmI5Y3.cjs +18 -18
  767. package/components/pyramid-chart-options.config-C7btzuZj.js +18 -18
  768. package/components/pyramid-chart-options.config-ClLsv7PT.cjs +18 -18
  769. package/components/pyramid-chart-options.de-BYqibA2g.cjs +18 -18
  770. package/components/pyramid-chart-options.de-C7n_k-tE.js +18 -18
  771. package/components/pyramid-chart-options.en-Cu93qdAo.js +18 -18
  772. package/components/pyramid-chart-options.en-HiLgjfbn.cjs +18 -18
  773. package/components/pyramid-chart-options.es-BQ8qCZ32.cjs +18 -18
  774. package/components/pyramid-chart-options.es-DCRAv4r_.js +18 -18
  775. package/components/pyramid-chart-options.fr-BA7xAAsG.cjs +18 -18
  776. package/components/pyramid-chart-options.fr-CLXgcrPz.js +18 -18
  777. package/components/pyramid-chart-options.nl-BYiPyjuQ.cjs +18 -18
  778. package/components/pyramid-chart-options.nl-CylUmHpw.js +18 -18
  779. package/components/{pyramid-chart-positioning.config-B2TxqefZ.cjs → pyramid-chart-positioning.config-Bz-ZEuur.cjs} +19 -19
  780. package/components/{pyramid-chart-positioning.config-CZBcrHEG.js → pyramid-chart-positioning.config-QOCFPfhT.js} +19 -19
  781. package/components/pyramid-chart-slots.config-CreUpxI2.cjs +18 -18
  782. package/components/pyramid-chart-slots.config-CsMMyhV3.js +18 -18
  783. package/components/radar-chart-options.config-B5WP2MPc.cjs +18 -18
  784. package/components/radar-chart-options.config-CtA6MpUp.js +18 -18
  785. package/components/radar-chart-options.de-BZPerBca.js +18 -18
  786. package/components/radar-chart-options.de-D9sVJ3e-.cjs +18 -18
  787. package/components/radar-chart-options.en-Brb_kgjH.cjs +18 -18
  788. package/components/radar-chart-options.en-tDJgJQVC.js +18 -18
  789. package/components/radar-chart-options.es-BmpV458O.cjs +18 -18
  790. package/components/radar-chart-options.es-Dz4wRR-P.js +18 -18
  791. package/components/radar-chart-options.fr-B-gaDJX4.cjs +18 -18
  792. package/components/radar-chart-options.fr-D5KXeury.js +18 -18
  793. package/components/radar-chart-options.nl-D3_CmNB3.js +18 -18
  794. package/components/radar-chart-options.nl-DH_wKvgI.cjs +18 -18
  795. package/components/{radar-chart-positioning.config-ddvHAHJF.cjs → radar-chart-positioning.config-B-hbgxmM.cjs} +19 -19
  796. package/components/{radar-chart-positioning.config-j1WOeFnM.js → radar-chart-positioning.config-D54nVbnn.js} +19 -19
  797. package/components/radar-chart-slots.config-8Kf_WAFi.js +18 -18
  798. package/components/radar-chart-slots.config-B3oIp-8w.cjs +18 -18
  799. package/components/radiant-Brxg53Bd.cjs +18 -18
  800. package/components/radiant-CFMCU8Ue.js +18 -18
  801. package/components/regular-table-options.config-BRmS77t-.js +18 -18
  802. package/components/regular-table-options.config-nBBnO4ru.cjs +18 -18
  803. package/components/regular-table-options.de-C1P8Cfb_.cjs +18 -18
  804. package/components/regular-table-options.de-g9j453gb.js +18 -18
  805. package/components/regular-table-options.en-BrufALdp.js +18 -18
  806. package/components/regular-table-options.en-C2gYTBRo.cjs +18 -18
  807. package/components/regular-table-options.es-CTDJJHWO.js +18 -18
  808. package/components/regular-table-options.es-okSFyOya.cjs +18 -18
  809. package/components/regular-table-options.fr-CcAJM6IR.cjs +18 -18
  810. package/components/regular-table-options.fr-CwmYI6Kh.js +18 -18
  811. package/components/regular-table-options.nl-Dco7Br5G.js +18 -18
  812. package/components/regular-table-options.nl-YAFLo-aU.cjs +18 -18
  813. package/components/regular-table-positioning.config-CXabhyJu.cjs +18 -18
  814. package/components/regular-table-positioning.config-DegSA7rc.js +18 -18
  815. package/components/regular-table-slots.config-UwzWj6gg.cjs +18 -18
  816. package/components/regular-table-slots.config-r-N9A-qA.js +18 -18
  817. package/components/resolve-column-presentation-BaEP1mvs.js +18 -18
  818. package/components/resolve-column-presentation-DUETRVCH.cjs +18 -18
  819. package/components/rolldown-runtime-mLOUI7ql.cjs +18 -18
  820. package/components/route-map-options.config-C65J81_7.js +18 -18
  821. package/components/route-map-options.config-DS9cCAQK.cjs +18 -18
  822. package/components/route-map-options.de-B6WL0heF.cjs +18 -18
  823. package/components/route-map-options.de-C8gPppGo.js +18 -18
  824. package/components/route-map-options.en-BCuStpST.cjs +18 -18
  825. package/components/route-map-options.en-Bqo2qPTY.js +18 -18
  826. package/components/route-map-options.es-Bk1nyazp.js +18 -18
  827. package/components/route-map-options.es-DRPguAOv.cjs +18 -18
  828. package/components/route-map-options.fr-CIOd_axV.cjs +18 -18
  829. package/components/route-map-options.fr-vq0ht9wS.js +18 -18
  830. package/components/route-map-options.nl-BQoR8rHj.cjs +18 -18
  831. package/components/route-map-options.nl-CBhNlitV.js +18 -18
  832. package/components/{route-map-positioning.config-xBhhxtYu.cjs → route-map-positioning.config-BP_T0wdg.cjs} +19 -19
  833. package/components/{route-map-positioning.config-ChBYybF1.js → route-map-positioning.config-BdcjFezT.js} +19 -19
  834. package/components/route-map-slots.config-DMII2UuP.js +18 -18
  835. package/components/route-map-slots.config-DfYT65BF.cjs +18 -18
  836. package/components/royale-BiMs0EtI.cjs +18 -18
  837. package/components/royale-Cy1oOAE2.js +18 -18
  838. package/components/ru-CkNBR3ab.js +18 -18
  839. package/components/ru-RyEkpfw0.cjs +18 -18
  840. package/components/sankey-diagram-options.config-DZDqv5aI.cjs +18 -18
  841. package/components/sankey-diagram-options.config-nQDCRhKs.js +18 -18
  842. package/components/sankey-diagram-options.de-CDt5-4Rb.js +18 -18
  843. package/components/sankey-diagram-options.de-UZnVsw9I.cjs +18 -18
  844. package/components/sankey-diagram-options.en-65nfEWo_.js +18 -18
  845. package/components/sankey-diagram-options.en-BfINAD0e.cjs +18 -18
  846. package/components/sankey-diagram-options.es-JD4SHY3x.js +18 -18
  847. package/components/sankey-diagram-options.es-quSoEKtB.cjs +18 -18
  848. package/components/sankey-diagram-options.fr-B7wQDggY.js +18 -18
  849. package/components/sankey-diagram-options.fr-DeoKurMp.cjs +18 -18
  850. package/components/sankey-diagram-options.nl-2B5ScaJK.cjs +18 -18
  851. package/components/sankey-diagram-options.nl-CHqVVjut.js +18 -18
  852. package/components/{sankey-diagram-positioning.config-CudMit_S.js → sankey-diagram-positioning.config-CJFdnnog.js} +19 -19
  853. package/components/{sankey-diagram-positioning.config-tZu-dDV-.cjs → sankey-diagram-positioning.config-CSizvya4.cjs} +19 -19
  854. package/components/sankey-diagram-slots.config-D-_u4w36.cjs +18 -18
  855. package/components/sankey-diagram-slots.config-DmWIGut0.js +18 -18
  856. package/components/scatter-plot-options.config-BplrME7w.js +18 -18
  857. package/components/scatter-plot-options.config-DJW85uFv.cjs +18 -18
  858. package/components/scatter-plot-options.de-3CPVK7Hi.cjs +18 -18
  859. package/components/scatter-plot-options.de-CNLrv6j3.js +18 -18
  860. package/components/scatter-plot-options.en-DigMzpQy.js +18 -18
  861. package/components/scatter-plot-options.en-Dzvigy8-.cjs +18 -18
  862. package/components/scatter-plot-options.es-C-IH7GVH.cjs +18 -18
  863. package/components/scatter-plot-options.es-CQm_VVqJ.js +18 -18
  864. package/components/scatter-plot-options.fr-Cdp6kPQi.cjs +18 -18
  865. package/components/scatter-plot-options.fr-s0M39VT4.js +18 -18
  866. package/components/scatter-plot-options.nl-CqpPIO03.js +18 -18
  867. package/components/scatter-plot-options.nl-DeINlMqc.cjs +18 -18
  868. package/components/{scatter-plot-positioning.config-DQOtIhJi.cjs → scatter-plot-positioning.config-0MsqvxF9.cjs} +19 -19
  869. package/components/{scatter-plot-positioning.config-BoJEGmgK.js → scatter-plot-positioning.config-BFFT7WH7.js} +19 -19
  870. package/components/scatter-plot-slots.config-B7wQVEEj.js +18 -18
  871. package/components/scatter-plot-slots.config-CrG6wQtV.cjs +18 -18
  872. package/components/search-filter-options.config-B-dGVPhS.cjs +18 -18
  873. package/components/search-filter-options.config-yAz6IIto.js +18 -18
  874. package/components/search-filter-options.de-BxVThclj.js +18 -18
  875. package/components/search-filter-options.de-XhjxPeKG.cjs +18 -18
  876. package/components/search-filter-options.en-Bp3Pgxmd.cjs +18 -18
  877. package/components/search-filter-options.en-CVxOFFq-.js +18 -18
  878. package/components/search-filter-options.es-CXfwE4S3.cjs +18 -18
  879. package/components/search-filter-options.es-YKtCfXeL.js +18 -18
  880. package/components/search-filter-options.fr-GGa8ofab.js +18 -18
  881. package/components/search-filter-options.fr-bif0VBh1.cjs +18 -18
  882. package/components/search-filter-options.nl-DZhs-o0B.cjs +18 -18
  883. package/components/search-filter-options.nl-ysVe1z-i.js +18 -18
  884. package/components/search-filter-positioning.config-BvwxJS-1.cjs +18 -18
  885. package/components/search-filter-positioning.config-DOSL-FX_.js +18 -18
  886. package/components/search-filter-slots.config-D8-V0BT5.js +18 -18
  887. package/components/search-filter-slots.config-DP06ulJA.cjs +18 -18
  888. package/components/seasonal-DTf_okZ2.cjs +18 -18
  889. package/components/seasonal-DZkRSBgY.js +18 -18
  890. package/components/{set-locale-Xh_1AFbC.cjs → set-locale-B1IG9a_t.cjs} +19 -19
  891. package/components/{set-locale-ydAPif-7.js → set-locale-jywkF7Cd.js} +22 -22
  892. package/components/set-nested-value-B-4IelRl.cjs +18 -18
  893. package/components/set-nested-value-V1TdquO3.js +18 -18
  894. package/components/slicer-filter-options.config-BtGkT2hI.js +18 -18
  895. package/components/slicer-filter-options.config-Cyjd_SRY.cjs +18 -18
  896. package/components/slicer-filter-options.de-7mpgtwLj.cjs +18 -18
  897. package/components/slicer-filter-options.de-Ck5STkcT.js +18 -18
  898. package/components/slicer-filter-options.en-CiYiPtJB.cjs +18 -18
  899. package/components/slicer-filter-options.en-RaYV5qQy.js +18 -18
  900. package/components/slicer-filter-options.es-B8VkLkMj.cjs +18 -18
  901. package/components/slicer-filter-options.es-C1LS6cqV.js +18 -18
  902. package/components/slicer-filter-options.fr-CYOej3j3.js +18 -18
  903. package/components/slicer-filter-options.fr-DV9DiqqL.cjs +18 -18
  904. package/components/slicer-filter-options.nl-B9CyFXTX.js +18 -18
  905. package/components/slicer-filter-options.nl-DVeUTVn7.cjs +18 -18
  906. package/components/{slicer-filter-positioning.config-CZY2fvwt.cjs → slicer-filter-positioning.config-CTd0dgry.cjs} +19 -19
  907. package/components/{slicer-filter-positioning.config-CY4jw7_A.js → slicer-filter-positioning.config-uZCxM9WR.js} +19 -19
  908. package/components/slicer-filter-slots.config-CHKpdJvF.cjs +18 -18
  909. package/components/slicer-filter-slots.config-DR0Wg_Zr.js +18 -18
  910. package/components/slider-filter-options.config-BeIw6IrQ.cjs +18 -18
  911. package/components/slider-filter-options.config-D_yZ_nFz.js +18 -18
  912. package/components/slider-filter-options.de-CK9B4Rir.cjs +18 -18
  913. package/components/slider-filter-options.de-CUPN4B_3.js +18 -18
  914. package/components/slider-filter-options.en-CqnlQHF8.js +18 -18
  915. package/components/slider-filter-options.en-ZDfr4vqY.cjs +18 -18
  916. package/components/slider-filter-options.es-CN-cg2rH.js +18 -18
  917. package/components/slider-filter-options.es-CeAMKv7C.cjs +18 -18
  918. package/components/slider-filter-options.fr-BxgSJRs4.js +18 -18
  919. package/components/slider-filter-options.fr-D44hi-fD.cjs +18 -18
  920. package/components/slider-filter-options.nl-Cd41AI1Z.js +18 -18
  921. package/components/slider-filter-options.nl-p1nxsQFL.cjs +18 -18
  922. package/components/slider-filter-positioning.config-DSoEN2ip.js +18 -18
  923. package/components/slider-filter-positioning.config-a7tK-5va.cjs +18 -18
  924. package/components/slider-filter-slots.config-9R298H0t.cjs +18 -18
  925. package/components/slider-filter-slots.config-BUHw-32u.js +18 -18
  926. package/components/slot-labels.config-3nXLBRdr.js +18 -18
  927. package/components/slot-labels.config-DKnxOncr.cjs +18 -18
  928. package/components/slot-menu/index.cjs +19 -19
  929. package/components/slot-menu/index.js +19 -19
  930. package/components/{slot-menu-hIK2_qR3.js → slot-menu-C_KXMZ40.js} +33 -33
  931. package/components/{slot-menu-Bl6PrLIN.cjs → slot-menu-UZvDoXeJ.cjs} +23 -23
  932. package/components/slot-menu-list/index.cjs +19 -19
  933. package/components/slot-menu-list/index.js +19 -19
  934. package/components/{slot-menu-list-BhgD2zt4.cjs → slot-menu-list-BM8QDl6f.cjs} +19 -19
  935. package/components/{slot-menu-list-BgwZS32Q.js → slot-menu-list-C5b4YdMp.js} +19 -19
  936. package/components/slot-role-classification-2wChhpcq.cjs +18 -18
  937. package/components/slot-role-classification-B8bkGhQ_.js +18 -18
  938. package/components/slots-config-Cd4xAG4H.cjs +18 -18
  939. package/components/slots-config-GlSNH7Gr.js +18 -18
  940. package/components/spacer-options.config-BsbiQt-1.cjs +18 -18
  941. package/components/spacer-options.config-C27xkF_H.js +18 -18
  942. package/components/speedometer-chart-options.config-BL7evgzP.js +18 -18
  943. package/components/speedometer-chart-options.config-CEIZfeYG.cjs +18 -18
  944. package/components/speedometer-chart-options.de-9J5HFt8T.js +18 -18
  945. package/components/speedometer-chart-options.de-Duicdnfl.cjs +18 -18
  946. package/components/speedometer-chart-options.en-DSQsXJfa.js +18 -18
  947. package/components/speedometer-chart-options.en-t4qxY0EQ.cjs +18 -18
  948. package/components/speedometer-chart-options.es-0JgXONad.cjs +18 -18
  949. package/components/speedometer-chart-options.es-BGphL673.js +18 -18
  950. package/components/speedometer-chart-options.fr-CAsCn9Vw.cjs +18 -18
  951. package/components/speedometer-chart-options.fr-Cj4C4th7.js +18 -18
  952. package/components/speedometer-chart-options.nl-BKNd6tYT.js +18 -18
  953. package/components/speedometer-chart-options.nl-COjZR7lk.cjs +18 -18
  954. package/components/{speedometer-chart-positioning.config-cBMverSU.js → speedometer-chart-positioning.config-5_dDGLcj.js} +19 -19
  955. package/components/{speedometer-chart-positioning.config-D3CWnYTb.cjs → speedometer-chart-positioning.config-iFrwMA8o.cjs} +19 -19
  956. package/components/speedometer-chart-slots.config-2Y_x52Gy.js +18 -18
  957. package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +18 -18
  958. package/components/spike-map-options.config-BRwdTyrp.cjs +18 -18
  959. package/components/spike-map-options.config-DjoTrAsC.js +18 -18
  960. package/components/spike-map-options.de-Cdd3EEF2.cjs +18 -18
  961. package/components/spike-map-options.de-J48HW0-l.js +18 -18
  962. package/components/spike-map-options.en-B55b8Jn_.cjs +18 -18
  963. package/components/spike-map-options.en-Cic1NUan.js +18 -18
  964. package/components/spike-map-options.es-DOmj973W.cjs +18 -18
  965. package/components/spike-map-options.es-DbCa45oc.js +18 -18
  966. package/components/spike-map-options.fr-DHr9Aw6b.cjs +18 -18
  967. package/components/spike-map-options.fr-LqDsPbpZ.js +18 -18
  968. package/components/spike-map-options.nl-BYSBD11T.cjs +18 -18
  969. package/components/spike-map-options.nl-CRaM6WoB.js +18 -18
  970. package/components/{spike-map-positioning.config-vuoKutnj.js → spike-map-positioning.config-DmeQEvYs.js} +19 -19
  971. package/components/{spike-map-positioning.config-i7ntIkN5.cjs → spike-map-positioning.config-Il5adl7y.cjs} +19 -19
  972. package/components/spike-map-slots.config-DJWMFPIR.js +18 -18
  973. package/components/spike-map-slots.config-cKfaD6dQ.cjs +18 -18
  974. package/components/strip-plot-options.config-DpRoR04b.cjs +18 -18
  975. package/components/strip-plot-options.config-tDmVlu9U.js +18 -18
  976. package/components/strip-plot-options.de-BhNKiBKE.cjs +18 -18
  977. package/components/strip-plot-options.de-vzJck0Vn.js +18 -18
  978. package/components/strip-plot-options.en-Bdv_ZOrd.js +18 -18
  979. package/components/strip-plot-options.en-Cxfv-AD6.cjs +18 -18
  980. package/components/strip-plot-options.es-B4qu-PBV.cjs +18 -18
  981. package/components/strip-plot-options.es-B91vttJc.js +18 -18
  982. package/components/strip-plot-options.fr-BJCQe-Bn.cjs +18 -18
  983. package/components/strip-plot-options.fr-DJQiJ_Zf.js +18 -18
  984. package/components/strip-plot-options.nl-BtIGpq6K.cjs +18 -18
  985. package/components/strip-plot-options.nl-Dx7PVRrW.js +18 -18
  986. package/components/{strip-plot-positioning.config-_-ElbWoV.js → strip-plot-positioning.config-BDeWD7-S.js} +19 -19
  987. package/components/{strip-plot-positioning.config-C2H-io7l.cjs → strip-plot-positioning.config-Bq6LZ8KO.cjs} +19 -19
  988. package/components/strip-plot-slots.config-DNYlrK_c.cjs +18 -18
  989. package/components/strip-plot-slots.config-suFyIf5-.js +18 -18
  990. package/components/sunburst-chart-options.config-Bjue_lQN.js +18 -18
  991. package/components/sunburst-chart-options.config-DszAtggj.cjs +18 -18
  992. package/components/sunburst-chart-options.de-Cv5jxNjX.js +18 -18
  993. package/components/sunburst-chart-options.de-DV_80qR9.cjs +18 -18
  994. package/components/sunburst-chart-options.en-Zfns8M0i.cjs +18 -18
  995. package/components/sunburst-chart-options.en-wsOVOyb6.js +18 -18
  996. package/components/sunburst-chart-options.es-BSKiBxl_.cjs +18 -18
  997. package/components/sunburst-chart-options.es-Qhu6VcVi.js +18 -18
  998. package/components/sunburst-chart-options.fr-DOcWgNOZ.cjs +18 -18
  999. package/components/sunburst-chart-options.fr-GdCEoo8O.js +18 -18
  1000. package/components/sunburst-chart-options.nl-D2JXoYTB.cjs +18 -18
  1001. package/components/sunburst-chart-options.nl-oTUKol5z.js +18 -18
  1002. package/components/{circle-pack-chart-positioning.config-D3Ogj0P9.cjs → sunburst-chart-positioning.config-DKmnqc9L.cjs} +19 -19
  1003. package/components/{sunburst-chart-positioning.config-yzTnv1BQ.js → sunburst-chart-positioning.config-HfC8--mz.js} +19 -19
  1004. package/components/sunburst-chart-slots.config-BqVT-h0Z.js +18 -18
  1005. package/components/sunburst-chart-slots.config-DkUUt5RF.cjs +18 -18
  1006. package/components/sv-CtRGTNGV.cjs +18 -18
  1007. package/components/sv-D2kQHkgH.js +18 -18
  1008. package/components/symbol-map-options.config-Ce0Kv7N7.cjs +18 -18
  1009. package/components/symbol-map-options.config-Dyeya5Z2.js +18 -18
  1010. package/components/symbol-map-options.de-BiDrG9dj.cjs +18 -18
  1011. package/components/symbol-map-options.de-CAapWyZM.js +18 -18
  1012. package/components/symbol-map-options.en-CaXeV5i_.js +18 -18
  1013. package/components/symbol-map-options.en-DLHLVF14.cjs +18 -18
  1014. package/components/symbol-map-options.es-Bv7kYGH2.cjs +18 -18
  1015. package/components/symbol-map-options.es-Ccu0xWZb.js +18 -18
  1016. package/components/symbol-map-options.fr-B7F1XlQX.js +18 -18
  1017. package/components/symbol-map-options.fr-BCMc9cTL.cjs +18 -18
  1018. package/components/symbol-map-options.nl-BiSD07Wp.cjs +18 -18
  1019. package/components/symbol-map-options.nl-DkV83AGA.js +18 -18
  1020. package/components/{symbol-map-positioning.config-BPkEp4Pj.js → symbol-map-positioning.config-BhH19JiS.js} +19 -19
  1021. package/components/{symbol-map-positioning.config-L11e_Z3x.cjs → symbol-map-positioning.config-TjmD9qTx.cjs} +19 -19
  1022. package/components/symbol-map-slots.config-DwNf547A.cjs +18 -18
  1023. package/components/symbol-map-slots.config-Rhpher5o.js +18 -18
  1024. package/components/text-options.config-BwBCG2yo.cjs +18 -18
  1025. package/components/text-options.config-CXhvzzPF.js +18 -18
  1026. package/components/text-options.de-Rtef15Lz.js +18 -18
  1027. package/components/text-options.de-hh7o6URS.cjs +18 -18
  1028. package/components/text-options.en-Dq7UNCRY.cjs +18 -18
  1029. package/components/text-options.en-YdJ2bVwv.js +18 -18
  1030. package/components/text-options.es-BSxIMxFF.cjs +18 -18
  1031. package/components/text-options.es-Chd8-zuc.js +18 -18
  1032. package/components/text-options.fr-CBUn8HSn.cjs +18 -18
  1033. package/components/text-options.fr-CWeBOXaW.js +18 -18
  1034. package/components/text-options.nl-CUiG2YHs.cjs +18 -18
  1035. package/components/text-options.nl-CyY1z7nM.js +18 -18
  1036. package/components/text-slots.config-CPghLc8b.cjs +18 -18
  1037. package/components/text-slots.config-Dzj4-x2G.js +18 -18
  1038. package/components/themes-CQZd578_.js +18 -18
  1039. package/components/themes-kvrISOTz.cjs +18 -18
  1040. package/components/tokens-BWMfo_w4.cjs +18 -18
  1041. package/components/tokens-Ov1pCR4Y.js +18 -18
  1042. package/components/tr-B66hMkRl.js +18 -18
  1043. package/components/tr-xcDpAdjw.cjs +18 -18
  1044. package/components/treemap-chart-options.config-BzOCEWog.js +18 -18
  1045. package/components/treemap-chart-options.config-Cpj6vD6I.cjs +18 -18
  1046. package/components/treemap-chart-options.de-BWg_01-W.cjs +18 -18
  1047. package/components/treemap-chart-options.de-ByDBntoA.js +18 -18
  1048. package/components/treemap-chart-options.en-0-5g1Vjs.js +18 -18
  1049. package/components/treemap-chart-options.en-D18VTnD9.cjs +18 -18
  1050. package/components/treemap-chart-options.es-BzkqvqXv.cjs +18 -18
  1051. package/components/treemap-chart-options.es-CDkb_3c3.js +18 -18
  1052. package/components/treemap-chart-options.fr-g6917FeS.cjs +18 -18
  1053. package/components/treemap-chart-options.fr-rj0fjvUO.js +18 -18
  1054. package/components/treemap-chart-options.nl-BTh-UB95.cjs +18 -18
  1055. package/components/treemap-chart-options.nl-CQjDtoqG.js +18 -18
  1056. package/components/{treemap-chart-positioning.config-CitiBQB2.js → treemap-chart-positioning.config-DRcKF0l5.js} +19 -19
  1057. package/components/{treemap-chart-positioning.config-40_GcY2u.cjs → treemap-chart-positioning.config-QWbeQo0k.cjs} +19 -19
  1058. package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +18 -18
  1059. package/components/treemap-chart-slots.config-DRcafVU-.js +18 -18
  1060. package/components/type-check-BehV9ZL1.cjs +18 -18
  1061. package/components/type-check-CGREdneG.js +18 -18
  1062. package/components/types-DNRGKFSD.js +18 -18
  1063. package/components/types-pVa6ut_v.cjs +18 -18
  1064. package/components/types.cjs +18 -18
  1065. package/components/types.js +18 -18
  1066. package/components/urban-8R0DqHZs.js +18 -18
  1067. package/components/urban-CQa3SGnB.cjs +18 -18
  1068. package/components/utils/base.cjs +19 -19
  1069. package/components/utils/base.js +20 -20
  1070. package/components/utils/store.cjs +18 -18
  1071. package/components/utils/store.js +18 -18
  1072. package/components/{utils-_8LPCz9-.js → utils-D_2sPb6e.js} +66 -66
  1073. package/components/utils-NUBVlX2X.cjs +20 -0
  1074. package/components/utils.cjs +19 -19
  1075. package/components/utils.js +21 -21
  1076. package/components/v4-DIjJgmR0.js +18 -18
  1077. package/components/v4-Dyp-SQ1c.cjs +18 -18
  1078. package/components/venn-diagram-options.config-BMlduwIp.js +18 -18
  1079. package/components/venn-diagram-options.config-BamlR1qo.cjs +18 -18
  1080. package/components/{venn-diagram-positioning.config-A28suR_R.js → venn-diagram-positioning.config-CQhTMPoU.js} +19 -19
  1081. package/components/{venn-diagram-positioning.config-C7bkb2Qv.cjs → venn-diagram-positioning.config-D0iy_fTw.cjs} +19 -19
  1082. package/components/venn-diagram-slots.config-CMDndPVi.js +18 -18
  1083. package/components/venn-diagram-slots.config-DYTmU8v2.cjs +18 -18
  1084. package/components/video-options.config-BhBpkaLJ.cjs +18 -18
  1085. package/components/video-options.config-DdfSTJEJ.js +18 -18
  1086. package/components/video-options.de-BCRCouhI.cjs +18 -18
  1087. package/components/video-options.de-CqDvojKb.js +18 -18
  1088. package/components/video-options.en-CQ-1XqqN.cjs +18 -18
  1089. package/components/video-options.en-DWsFJndr.js +18 -18
  1090. package/components/video-options.es-C986CdLZ.js +18 -18
  1091. package/components/video-options.es-HbR-p7Ll.cjs +18 -18
  1092. package/components/video-options.fr-2LYvhyUV.cjs +18 -18
  1093. package/components/video-options.fr-CF8lEOzZ.js +18 -18
  1094. package/components/video-options.nl-CRGUzFaP.cjs +18 -18
  1095. package/components/video-options.nl-DnHgROBb.js +18 -18
  1096. package/components/video-slots.config-DMut7o7r.cjs +18 -18
  1097. package/components/video-slots.config-Utnn0DBW.js +18 -18
  1098. package/components/vivid-K5FZ8F8v.cjs +18 -18
  1099. package/components/vivid-YDTQ3C2-.js +18 -18
  1100. package/components/viz-item-menu/index.cjs +19 -19
  1101. package/components/viz-item-menu/index.js +19 -19
  1102. package/components/{viz-item-menu-DtHlgOqt.cjs → viz-item-menu-D0h7wZWt.cjs} +19 -19
  1103. package/components/{viz-item-menu-DsIJZRgm.js → viz-item-menu-Dy3hXg1_.js} +19 -19
  1104. package/components/wordcloud-chart-options.config-BQ4Z-vPT.cjs +18 -18
  1105. package/components/wordcloud-chart-options.config-y9Z5I_ZN.js +18 -18
  1106. package/components/wordcloud-chart-options.de-0T6RwBxn.js +18 -18
  1107. package/components/wordcloud-chart-options.de-Bi2Qjaam.cjs +18 -18
  1108. package/components/wordcloud-chart-options.en-6YsE8vZq.cjs +18 -18
  1109. package/components/wordcloud-chart-options.en-xMN7HxWU.js +18 -18
  1110. package/components/wordcloud-chart-options.es-BQib5Adk.cjs +18 -18
  1111. package/components/wordcloud-chart-options.es-DPccPG_x.js +18 -18
  1112. package/components/wordcloud-chart-options.fr-4orpVaAN.cjs +18 -18
  1113. package/components/wordcloud-chart-options.fr-D6DKbL9I.js +18 -18
  1114. package/components/wordcloud-chart-options.nl-BAdq6R0h.cjs +18 -18
  1115. package/components/wordcloud-chart-options.nl-CBKMvA4E.js +18 -18
  1116. package/components/{wordcloud-chart-positioning.config-Dk13J1zq.js → wordcloud-chart-positioning.config-BP8mOBS_.js} +19 -19
  1117. package/components/{wordcloud-chart-positioning.config-BQFzFNko.cjs → wordcloud-chart-positioning.config-DN9GHjCI.cjs} +19 -19
  1118. package/components/wordcloud-chart-slots.config-CvabtgbP.js +18 -18
  1119. package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +18 -18
  1120. package/components/zh-CN-CnxgkEiH.cjs +18 -18
  1121. package/components/zh-CN-EbmFbkUF.js +18 -18
  1122. package/components/zh-TW-CnxgkEiH.cjs +18 -18
  1123. package/components/zh-TW-zX5KG7hP.js +18 -18
  1124. package/custom-elements.json +438 -9
  1125. package/deprecated-react/components/add-to-dashboard.component.cjs +1 -0
  1126. package/index.d.ts +1 -0
  1127. package/package.json +6 -1
  1128. package/react/components/add-to-dashboard.component.ts +30 -0
  1129. package/react/components/interactive-viz-item.component.ts +11 -5
  1130. package/react/esm/components/add-to-dashboard.component.d.ts +14 -0
  1131. package/react/esm/components/add-to-dashboard.component.js +19 -0
  1132. package/react/esm/components/interactive-viz-item.component.d.ts +8 -4
  1133. package/react/esm/components/interactive-viz-item.component.js +8 -4
  1134. package/react/esm/index.d.ts +3 -2
  1135. package/react/esm/index.js +4 -0
  1136. package/react/index.ts +4 -0
  1137. package/react/luzmo-stub.d.ts +8 -0
  1138. package/react/package.json +2 -2
  1139. package/standalone/chunks/add-to-dashboard-B8vSrVm1.js +148 -0
  1140. package/standalone/chunks/{base-DBoiLw2X.js → base-Cxkw-IoQ.js} +1 -1
  1141. package/standalone/chunks/chart-helpers-BplLoVQz.js +2 -0
  1142. package/standalone/chunks/{data-broker-CbKNAOhf.js → data-broker-Dgg5mQze.js} +1 -1
  1143. package/standalone/chunks/de-Cdj3urck.js +2 -0
  1144. package/standalone/chunks/{display-settings-binning-BdL-A59O.js → display-settings-binning-CkTukb8z.js} +1 -1
  1145. package/standalone/chunks/{display-settings-datetime-DEOgG9Fn.js → display-settings-datetime-BwSjSHkd.js} +1 -1
  1146. package/standalone/chunks/{display-settings-grand-totals-uYYRykWG.js → display-settings-grand-totals-BI5D3vGd.js} +1 -1
  1147. package/standalone/chunks/{display-settings-numeric-BSCNC8eE.js → display-settings-numeric-Bo_aBmkG.js} +3 -3
  1148. package/standalone/chunks/{display-settings-period-over-period-Cq6dAc0d.js → display-settings-period-over-period-Ctzr60H_.js} +2 -2
  1149. package/standalone/chunks/embed-DjpHVUzS.js +228 -0
  1150. package/standalone/chunks/es-Dtd2N5jR.js +2 -0
  1151. package/standalone/chunks/{filters-DvUCMgUM.js → filters-CyrW0E5Y.js} +69 -69
  1152. package/standalone/chunks/{formatter-LzhH-XSQ.js → formatter-B7zz6UOp.js} +1 -1
  1153. package/standalone/chunks/formula-codemirror-IUKFE1Kz.js +197 -0
  1154. package/standalone/chunks/fr-BYvUUvgQ.js +2 -0
  1155. package/standalone/chunks/item-option-action-button-group-DY3cJhwT.js +35 -0
  1156. package/standalone/chunks/{item-option-base-USb5kln8.js → item-option-base-ByIsjLNr.js} +1 -1
  1157. package/standalone/chunks/{item-option-color-palette-picker-DZPKR8Dr.js → item-option-color-palette-picker-CAJQQYlJ.js} +1 -1
  1158. package/standalone/chunks/{item-option-color-picker-CGHlkA30.js → item-option-color-picker-DaydWbp4.js} +1 -1
  1159. package/standalone/chunks/{item-option-color-range-CpALVHsD.js → item-option-color-range-ZtyqYH6s.js} +1 -1
  1160. package/standalone/chunks/{item-option-guidelines-HHzEU0r2.js → item-option-guidelines-jl3DurnC.js} +1 -1
  1161. package/standalone/chunks/{item-option-multi-language-field-COcs0I2s.js → item-option-multi-language-field-B1yL1_h2.js} +1 -1
  1162. package/standalone/chunks/{item-option-number-field-B_eRAtHf.js → item-option-number-field-z7U9fqwG.js} +1 -1
  1163. package/standalone/chunks/{item-option-panel-Dvp20wQQ.js → item-option-panel-Brtv-ZJc.js} +3 -3
  1164. package/standalone/chunks/{item-option-picker-BUFJQkyo.js → item-option-picker-5TZm8ava.js} +1 -1
  1165. package/standalone/chunks/{item-option-position-picker-DMQgZ50L.js → item-option-position-picker-D1xBaRVj.js} +1 -1
  1166. package/standalone/chunks/{item-option-positions-number-field-CezoJKkM.js → item-option-positions-number-field-BVUJlmrc.js} +1 -1
  1167. package/standalone/chunks/{item-option-radio-button-group-Dc1NIqVl.js → item-option-radio-button-group-BUiIeoaT.js} +1 -1
  1168. package/standalone/chunks/{item-option-slider-DXrcOBkc.js → item-option-slider-CkDEpJ_1.js} +1 -1
  1169. package/standalone/chunks/{item-option-switch-DYJCL_ZU.js → item-option-switch-C1AuP-TA.js} +1 -1
  1170. package/standalone/chunks/{item-option-text-field-DAzMUN29.js → item-option-text-field-BNJ1AyYT.js} +1 -1
  1171. package/standalone/chunks/{item-slot-picker-panel-DiRjYi-2.js → item-slot-picker-panel-VIf7-0St.js} +8 -8
  1172. package/standalone/chunks/{load-data-fields-for-datasets-D6Mm3A1F.js → load-data-fields-for-datasets-CjOt0TtW.js} +3 -3
  1173. package/standalone/chunks/{load-formula-codemirror-DY6C-Kxf.js → load-formula-codemirror-CfPwEi_Z.js} +1 -1
  1174. package/standalone/chunks/{localized-mixin-BJ8UiX2u.js → localized-mixin-DY0QxOC9.js} +1 -1
  1175. package/standalone/chunks/luzmoAngleLeft-ebJO7ROy.js +2 -0
  1176. package/standalone/chunks/luzmoArrowsHorizontal-TohKbcQD.js +2 -0
  1177. package/standalone/chunks/nl-DxhHxYCs.js +2 -0
  1178. package/standalone/chunks/version-DJES6maY.js +2 -0
  1179. package/standalone/interactive-viz-item.js +51 -39
  1180. package/standalone/item-grid.js +19 -19
  1181. package/standalone/manifest.json +40 -35
  1182. package/storybook/register-components.d.ts +1 -0
  1183. package/types/add-to-dashboard.types.d.ts +51 -0
  1184. package/types.d.ts +2 -0
  1185. package/utils/data-broker/index.d.ts +19 -1
  1186. package/utils/data-broker/tests/data-broker.test.d.ts +1 -0
  1187. package/components/dataset-icon-BEq1MNml.js +0 -126
  1188. package/components/dataset-icon-tec1Xulw.cjs +0 -64
  1189. package/components/de-DXFLsh4N.cjs +0 -20
  1190. package/components/es-DK-49nGv.cjs +0 -20
  1191. package/components/fr-uE3fb3kc.cjs +0 -20
  1192. package/components/interactive-viz-item-CzIT8K3I.js +0 -723
  1193. package/components/interactive-viz-item-DUyE1QEJ.cjs +0 -249
  1194. package/components/nl-BoEhzeIh.cjs +0 -20
  1195. package/components/utils-SzKvwZ9-.cjs +0 -20
  1196. package/standalone/chunks/de-ClGscYPh.js +0 -2
  1197. package/standalone/chunks/embed-BVDnEJte.js +0 -228
  1198. package/standalone/chunks/es-C56MpCO9.js +0 -2
  1199. package/standalone/chunks/formula-codemirror-BMr35_Qe.js +0 -197
  1200. package/standalone/chunks/fr-BpNJieSH.js +0 -2
  1201. package/standalone/chunks/item-option-action-button-group-ChkHzrj7.js +0 -35
  1202. package/standalone/chunks/nl-BpTxEv-1.js +0 -2
@@ -1,16 +1,20 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemClass, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail } from '@luzmo/analytics-components-kit/interactive-viz-item';
2
+ import { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemClass, AddToDashboardChartAddFailedEventDetail, AddToDashboardChartAddedEventDetail, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail } from '@luzmo/analytics-components-kit/interactive-viz-item';
3
3
  /**
4
4
  * React wrapper for <luzmo-interactive-viz-item>
5
5
  *
6
- * @event onLuzmoChartOptionsChanged - Fired when the inline actions (ranking, sort, display mode) change the chart options.
7
- * @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart).
8
- * @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating.
6
+ * @event onLuzmoChartOptionsChanged - Fired when the inline actions (ranking, sort, display mode) change the chart options. Applied to `chart` first unless `controlled` is set.
7
+ * @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart). Applied to `chart` first unless `controlled` is set.
8
+ * @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating. Never applied to `feedback`; the host owns it in both modes.
9
+ * @event onLuzmoChartAdded - Fired by the inner `luzmo-add-to-dashboard` after the chart was saved.
10
+ * @event onLuzmoChartAddFailed - Fired by the inner `luzmo-add-to-dashboard` when saving failed.
9
11
  */
10
12
  export declare const LuzmoInteractiveVizItem: ReactWebComponent<LuzmoInteractiveVizItemClass, {
11
13
  onLuzmoChartOptionsChanged: EventName<CustomEvent<InteractiveVizItemChartOptionsChangedEventDetail>>;
12
14
  onLuzmoChartChanged: EventName<CustomEvent<InteractiveVizItemChartChangedEventDetail>>;
13
15
  onLuzmoFeedbackChanged: EventName<CustomEvent<InteractiveVizItemFeedbackChangedEventDetail>>;
16
+ onLuzmoChartAdded: EventName<CustomEvent<AddToDashboardChartAddedEventDetail>>;
17
+ onLuzmoChartAddFailed: EventName<CustomEvent<AddToDashboardChartAddFailedEventDetail>>;
14
18
  }>;
15
19
  /** The underlying custom element type for LuzmoInteractiveVizItem */
16
20
  export type LuzmoInteractiveVizItemElement = LuzmoInteractiveVizItemClass;
@@ -8,14 +8,18 @@ const LuzmoInteractiveVizItemComponent = createComponent({
8
8
  events: {
9
9
  onLuzmoChartOptionsChanged: 'luzmo-chart-options-changed',
10
10
  onLuzmoChartChanged: 'luzmo-chart-changed',
11
- onLuzmoFeedbackChanged: 'luzmo-feedback-changed'
11
+ onLuzmoFeedbackChanged: 'luzmo-feedback-changed',
12
+ onLuzmoChartAdded: 'luzmo-chart-added',
13
+ onLuzmoChartAddFailed: 'luzmo-chart-add-failed'
12
14
  }
13
15
  });
14
16
  /**
15
17
  * React wrapper for <luzmo-interactive-viz-item>
16
18
  *
17
- * @event onLuzmoChartOptionsChanged - Fired when the inline actions (ranking, sort, display mode) change the chart options.
18
- * @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart).
19
- * @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating.
19
+ * @event onLuzmoChartOptionsChanged - Fired when the inline actions (ranking, sort, display mode) change the chart options. Applied to `chart` first unless `controlled` is set.
20
+ * @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart). Applied to `chart` first unless `controlled` is set.
21
+ * @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating. Never applied to `feedback`; the host owns it in both modes.
22
+ * @event onLuzmoChartAdded - Fired by the inner `luzmo-add-to-dashboard` after the chart was saved.
23
+ * @event onLuzmoChartAddFailed - Fired by the inner `luzmo-add-to-dashboard` when saving failed.
20
24
  */
21
25
  export const LuzmoInteractiveVizItem = LuzmoInteractiveVizItemComponent;
@@ -1,3 +1,4 @@
1
+ export { LuzmoAddToDashboard, type LuzmoAddToDashboardElement } from './components/add-to-dashboard.component';
1
2
  export { LuzmoAiChat, type LuzmoAiChatElement } from './components/ai-chat.component';
2
3
  export { LuzmoAiInteractionTextarea, type LuzmoAiInteractionTextareaElement } from './components/ai-interaction-textarea.component';
3
4
  export { LuzmoDataField, type LuzmoDataFieldElement } from './components/data-field.component';
@@ -49,6 +50,6 @@ export { LuzmoItemSlotPickerPanel, type LuzmoItemSlotPickerPanelElement } from '
49
50
  export { LuzmoSlotMenu, type LuzmoSlotMenuElement } from './components/slot-menu.component';
50
51
  export { LuzmoSlotMenuList, type LuzmoSlotMenuListElement } from './components/slot-menu-list.component';
51
52
  export { LuzmoVizItemMenu, type LuzmoVizItemMenuElement } from './components/viz-item-menu.component';
52
- export declare const LUZMO_REACT_COMPONENTS: readonly [any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any];
53
- export declare const LUZMO_REACT_COMPONENT_NAMES: readonly ["LuzmoAiChat", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoInteractiveVizItem", "LuzmoItemGrid", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList", "LuzmoVizItemMenu"];
53
+ export declare const LUZMO_REACT_COMPONENTS: readonly [any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any];
54
+ export declare const LUZMO_REACT_COMPONENT_NAMES: readonly ["LuzmoAddToDashboard", "LuzmoAiChat", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoInteractiveVizItem", "LuzmoItemGrid", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList", "LuzmoVizItemMenu"];
54
55
  export type LuzmoReactComponentName = typeof LUZMO_REACT_COMPONENT_NAMES[number];
@@ -1,5 +1,6 @@
1
1
  // Auto-generated React wrappers for Luzmo Analytics Components Kit
2
2
  // Generated using @lit/react
3
+ import { LuzmoAddToDashboard } from './components/add-to-dashboard.component';
3
4
  import { LuzmoAiChat } from './components/ai-chat.component';
4
5
  import { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.component';
5
6
  import { LuzmoDataField } from './components/data-field.component';
@@ -51,6 +52,7 @@ import { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.co
51
52
  import { LuzmoSlotMenu } from './components/slot-menu.component';
52
53
  import { LuzmoSlotMenuList } from './components/slot-menu-list.component';
53
54
  import { LuzmoVizItemMenu } from './components/viz-item-menu.component';
55
+ export { LuzmoAddToDashboard } from './components/add-to-dashboard.component';
54
56
  export { LuzmoAiChat } from './components/ai-chat.component';
55
57
  export { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.component';
56
58
  export { LuzmoDataField } from './components/data-field.component';
@@ -104,6 +106,7 @@ export { LuzmoSlotMenuList } from './components/slot-menu-list.component';
104
106
  export { LuzmoVizItemMenu } from './components/viz-item-menu.component';
105
107
  // Array of all React component classes for easy imports
106
108
  export const LUZMO_REACT_COMPONENTS = [
109
+ LuzmoAddToDashboard,
107
110
  LuzmoAiChat,
108
111
  LuzmoAiInteractionTextarea,
109
112
  LuzmoDataField,
@@ -158,6 +161,7 @@ export const LUZMO_REACT_COMPONENTS = [
158
161
  ];
159
162
  // List of all available React component names
160
163
  export const LUZMO_REACT_COMPONENT_NAMES = [
164
+ 'LuzmoAddToDashboard',
161
165
  'LuzmoAiChat',
162
166
  'LuzmoAiInteractionTextarea',
163
167
  'LuzmoDataField',
package/react/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  // Auto-generated React wrappers for Luzmo Analytics Components Kit
2
2
  // Generated using @lit/react
3
3
 
4
+ import { LuzmoAddToDashboard } from './components/add-to-dashboard.component';
4
5
  import { LuzmoAiChat } from './components/ai-chat.component';
5
6
  import { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.component';
6
7
  import { LuzmoDataField } from './components/data-field.component';
@@ -53,6 +54,7 @@ import { LuzmoSlotMenu } from './components/slot-menu.component';
53
54
  import { LuzmoSlotMenuList } from './components/slot-menu-list.component';
54
55
  import { LuzmoVizItemMenu } from './components/viz-item-menu.component';
55
56
 
57
+ export { LuzmoAddToDashboard, type LuzmoAddToDashboardElement } from './components/add-to-dashboard.component';
56
58
  export { LuzmoAiChat, type LuzmoAiChatElement } from './components/ai-chat.component';
57
59
  export { LuzmoAiInteractionTextarea, type LuzmoAiInteractionTextareaElement } from './components/ai-interaction-textarea.component';
58
60
  export { LuzmoDataField, type LuzmoDataFieldElement } from './components/data-field.component';
@@ -107,6 +109,7 @@ export { LuzmoVizItemMenu, type LuzmoVizItemMenuElement } from './components/viz
107
109
 
108
110
  // Array of all React component classes for easy imports
109
111
  export const LUZMO_REACT_COMPONENTS = [
112
+ LuzmoAddToDashboard,
110
113
  LuzmoAiChat,
111
114
  LuzmoAiInteractionTextarea,
112
115
  LuzmoDataField,
@@ -162,6 +165,7 @@ export const LUZMO_REACT_COMPONENTS = [
162
165
 
163
166
  // List of all available React component names
164
167
  export const LUZMO_REACT_COMPONENT_NAMES = [
168
+ 'LuzmoAddToDashboard',
165
169
  'LuzmoAiChat',
166
170
  'LuzmoAiInteractionTextarea',
167
171
  'LuzmoDataField',
@@ -5,6 +5,12 @@ declare module '@luzmo/analytics-components-kit' {
5
5
  export const __placeholder: any;
6
6
  }
7
7
 
8
+ declare module '@luzmo/analytics-components-kit/add-to-dashboard' {
9
+ export class LuzmoAddToDashboard extends HTMLElement {}
10
+ export type AddToDashboardChartAddFailedEventDetail = Record<string, unknown>;
11
+ export type AddToDashboardChartAddedEventDetail = Record<string, unknown>;
12
+ }
13
+
8
14
  declare module '@luzmo/analytics-components-kit/ai-chat' {
9
15
  export class LuzmoAiChat extends HTMLElement {}
10
16
  export type AiChatCompleteEvent = Record<string, unknown>;
@@ -150,6 +156,8 @@ declare module '@luzmo/analytics-components-kit/formula-field' {
150
156
 
151
157
  declare module '@luzmo/analytics-components-kit/interactive-viz-item' {
152
158
  export class LuzmoInteractiveVizItem extends HTMLElement {}
159
+ export type AddToDashboardChartAddFailedEventDetail = Record<string, unknown>;
160
+ export type AddToDashboardChartAddedEventDetail = Record<string, unknown>;
153
161
  export type InteractiveVizItemChartChangedEventDetail = Record<string, unknown>;
154
162
  export type InteractiveVizItemChartOptionsChangedEventDetail = Record<string, unknown>;
155
163
  export type InteractiveVizItemFeedbackChangedEventDetail = Record<string, unknown>;
@@ -29,7 +29,7 @@
29
29
  "peerDependencies": {
30
30
  "@lit/react": "^1.0.6",
31
31
  "react": "^18.0.0 || ^19.0.0",
32
- "@luzmo/analytics-components-kit": "^1.0.9-beta.8"
32
+ "@luzmo/analytics-components-kit": "^1.0.9-beta.9"
33
33
  },
34
- "version": "1.0.9-beta.8"
34
+ "version": "1.0.9-beta.9"
35
35
  }
@@ -0,0 +1,148 @@
1
+
2
+ import{n as e,t}from"./localized-mixin-DY0QxOC9.js";import{n,r}from"./lit-localize-CIGP-NUw.js";import{t as i}from"./localized-decorator-Buib6Rq1.js";import{t as a}from"./version-DJES6maY.js";import{t as o}from"./luzmoAngleDown-PNrItYzK.js";import{t as s}from"./luzmoAngleLeft-ebJO7ROy.js";import{t as c}from"./luzmoArrowsHorizontal-TohKbcQD.js";import{t as l}from"./luzmoPlus-Dyrrz0v8.js";import{n as u,r as d,t as f}from"./base-Cxkw-IoQ.js";import{o as p}from"./chart-helpers-BplLoVQz.js";import{t as m}from"./data-broker-Dgg5mQze.js";import{t as h}from"./localize-BXHWaHdZ.js";import{html as g,ifDefined as _,nothing as v,property as y,query as b,state as x,unsafeCSS as S}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/icon.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/overlay.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/popover.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/progress-circle.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/tooltip.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/checkbox.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/divider.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/field-group.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/menu.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/notice.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/search.js";var C={icon:[32,32,`m9.3 7.3-9 9a1 1 0 0 0 0 1.4l9 9c1 1 2.3-.5 1.4-1.4L3.4 18H31c1.3 0 1.3-2 0-2H3.4l7.3-7.3c1-1-.5-2.3-1.4-1.4Z`],name:`arrow-left`},w={icon:[32,32,`m22.7 7.3 9 9c.4.4.4 1 0 1.4l-9 9c-1 1-2.4-.5-1.4-1.4l7.3-7.3H1c-1.3 0-1.3-2 0-2h27.6l-7.3-7.3c-1-1 .5-2.3 1.4-1.4z`],name:`arrow-right`},T={icon:[14,32,`m3.7 8.2 8 7a1 1 0 0 1 0 1.6l-8 7c-1 .8-2.3-.7-1.4-1.6L9.5 16 2.3 9.8c-1-1 .4-2.4 1.4-1.6z`],name:`angle-right`},E={icon:[32,32,`M13.1 2.05.53 26.55C-.797 29.136.63 32 4.43 32H27.6c3.8 0 5.23-2.865 3.9-5.45L18.9 2.05c-1.423-2.745-4.437-2.686-5.8 0zm4 .9 12.6 24.5c.72 1.43.04 2.55-2.1 2.55H4.43c-2.14 0-2.82-1.12-2.1-2.55L14.9 2.95c.614-1.268 1.586-1.268 2.2 0zM15 11v10c0 1.3 2 1.3 2 0V11c0-1.305-2-1.305-2 0zm-.5 14.5c0 1.961 3 1.961 3 0s-3-1.961-3 0z`],name:`alert-outline`},D={icon:[32,32,`m14 26c-1.4 0-1.4 2 0 2h4c1.4 0 1.4-2 0-2zM10 2C7.8 2 6 3.8 6 6v22c0 2.2 1.8 4 4 4h12c2.2 0 4-1.8 4-4V6C26 3.8 24.2 2 22 2Zm0 2h12c1.1 0 2 0.9 2 2v22c0 1.1-0.9 2-2 2H10C8.9 30 8 29.1 8 28V6C8 4.9 8.9 4 10 4Z`],name:`mobile`},O={icon:[32,32,`m12 26c-1.4 0-1.4 2 0 2h8c1.4 0 1.4-2 0-2zM6 0C3.8 0 2 1.8 2 4v24c0 2.2 1.8 4 4 4h20c2.2 0 4-1.8 4-4V4C30 1.8 28.2 0 26 0Zm0 2h20c1.1 0 2 0.9 2 2v24c0 1.1-0.9 2-2 2H6C4.9 30 4 29.1 4 28V4C4 2.9 4.9 2 6 2Z`],name:`tablet`},ee={icon:[40,32,`M7 2C5.4 2 4 3.4 4 5v19c0 1.6 1.4 3 3 3h26c1.6 0 3-1.4 3-3V5C36 3.4 34.6 2 33 2Zm0 2h26c0.6 0 1 0.4 1 1v19c0 0.6-0.4 1-1 1H7C6.4 25 6 24.6 6 24V5C6 4.4 6.4 4 7 4ZM1 25a1 1 0 0 0-1 1v1c0 2.7 2.3 5 5 5h30c2.7 0 5-2.3 5-5v-1a1 1 0 0 0-1-1zm1 2h36c0 1.7-1.3 3-3 3H5C3.3 30 2 28.7 2 27Z`],name:`laptop`},te={icon:[40,32,`m18.2 22-2.2 8.8 1.9 0.5L19.8 24h0.4l1.8 7.2 1.9-0.5L21.8 22ZM11 30a1 1 0 0 0-1 1 1 1 0 0 0 1 1h18a1 1 0 0 0 1-1 1 1 0 0 0-1-1zM3 0C1.4 0 0 1.4 0 3v18c0 1.6 1.4 3 3 3h34c1.6 0 3-1.4 3-3V3C40 1.4 38.6 0 37 0Zm0 2h34c0.6 0 1 0.4 1 1v18c0 0.6-0.4 1-1 1H3C2.4 22 2 21.6 2 21V3C2 2.4 2.4 2 3 2Z`],name:`desktop`},ne={icon:[32,32,`M24 0C22 0 20 0.8 18.5 2.2A0.9 0.9 0 0 0 18.5 2.2 0.9 0.9 0 0 0 18.4 2.3C18.4 2.3 18.4 2.3 18.3 2.3A0.9 0.9 0 0 0 18.2 2.5 0.9 0.9 0 0 0 18.2 2.5L13.2 7.5A0.9 0.9 0 0 0 13.2 7.5 0.9 0.9 0 0 0 13.1 7.6C13.1 7.6 13.1 7.6 13.1 7.6L13 7.7A0.9 0.9 0 0 0 12.8 8.1 0.9 0.9 0 0 0 12.8 8.1C11.7 9.5 11 11.2 11 13 11 16.4 13.2 19.5 16.5 20.6A0.9 0.9 0 0 0 17.6 20 0.9 0.9 0 0 0 17 18.9C14.5 18 12.8 15.7 12.8 13 12.8 11.5 13.4 10 14.4 8.9L19.6 3.6A0.9 0.9 0 0 0 19.7 3.6C20.8 2.5 22.4 1.8 24 1.8 27.4 1.8 30.2 4.6 30.2 8 30.2 9.6 29.5 11.2 28.4 12.3A0.9 0.9 0 0 0 28.4 12.4L23.4 17.4A0.9 0.9 0 0 0 23.4 18.6 0.9 0.9 0 0 0 24.6 18.6L29.5 13.8A0.9 0.9 0 0 0 29.7 13.7C29.7 13.6 29.7 13.6 29.7 13.6A0.9 0.9 0 0 0 29.8 13.5 0.9 0.9 0 0 0 29.8 13.4C31.2 12 32 10 32 8 32 3.6 28.4 0 24 0zM15.2 11.4A0.9 0.9 0 0 0 14.4 12 0.9 0.9 0 0 0 15 13.1C17.5 14 19.2 16.3 19.2 19 19.2 20.5 18.6 22 17.6 23.1L12.4 28.4A0.9 0.9 0 0 0 12.3 28.4C11.2 29.5 9.6 30.2 8 30.2 4.6 30.2 1.8 27.4 1.8 24 1.8 22.4 2.5 20.8 3.6 19.7A0.9 0.9 0 0 0 3.6 19.6L8.6 14.6A0.9 0.9 0 0 0 8.6 13.4 0.9 0.9 0 0 0 7.4 13.4L2.5 18.2A0.9 0.9 0 0 0 2.3 18.3C2.3 18.4 2.3 18.4 2.3 18.4A0.9 0.9 0 0 0 2.2 18.5 0.9 0.9 0 0 0 2.2 18.6C0.8 20 0 22 0 24 0 28.4 3.6 32 8 32 10 32 12 31.2 13.5 29.8 13.5 29.8 13.5 29.8 13.5 29.8A0.9 0.9 0 0 0 13.6 29.7C13.6 29.7 13.6 29.7 13.7 29.7A0.9 0.9 0 0 0 13.8 29.5 0.9 0.9 0 0 0 13.8 29.5L18.8 24.5 18.8 24.5A0.9 0.9 0 0 0 18.9 24.4C18.9 24.4 18.9 24.4 18.9 24.4L19 24.3A0.9 0.9 0 0 0 19.2 23.9C19.2 23.9 19.2 23.9 19.2 23.9 20.3 22.5 21 20.8 21 19 21 15.6 18.8 12.5 15.5 11.4A0.9 0.9 0 0 0 15.2 11.4z`],name:`link`},re={icon:[32,32,`M16 0a16 16 0 1 0 0 32 16 16 0 0 0 0-32Zm0 2a14 14 0 0 1 14 14 14 14 0 0 1-14 14A14 14 0 0 1 2 16 14 14 0 0 1 16 2Zm5.2 8.4-6.3 9-4.2-4.1c-1-1-2.3.5-1.4 1.4l5 5a1 1 0 0 0 1.5-.1l7-10c.8-1.1-.9-2.2-1.6-1.2z`],name:`check-circle-outline`},k=`:host{align-items:flex-end;gap:var(--luzmo-spacing-2);font-family:var(--luzmo-font-family);flex-direction:column;display:inline-flex}.trigger-spinner{--luzmo-progress-circle-size:var(--luzmo-icon-size-xs)}.trigger-chevron{margin-inline-start:var(--luzmo-spacing-1)}.picker{gap:var(--luzmo-spacing-3);width:var(--luzmo-add-to-dashboard-picker-width,var(--add-to-dashboard-picker-width));max-width:90vw;padding:var(--luzmo-spacing-2);color:var(--luzmo-font-color);font-size:var(--luzmo-font-size-s);flex-direction:column;display:flex}luzmo-search{width:100%}.list{max-height:var(--luzmo-add-to-dashboard-list-max-height,var(--add-to-dashboard-list-max-height));flex-direction:column;display:flex;overflow-y:auto}.menu{--luzmo-menu-max-height:none;flex:none;width:100%;overflow:visible}.create-row{--luzmo-menu-item-label-icon-color-default:var(--luzmo-primary)}.thumbnail{object-fit:cover;border:var(--luzmo-border-width) solid var(--luzmo-border-color);border-radius:var(--luzmo-border-radius);width:2.75rem;height:2rem}.drill-in{color:var(--luzmo-font-color-extra-dimmed)}.header{align-items:center;gap:var(--luzmo-spacing-2);display:flex}.header-title{font-weight:var(--luzmo-font-weight-bold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.empty{align-items:center;gap:var(--luzmo-spacing-3);padding:var(--luzmo-spacing-4);text-align:center;flex-direction:column;display:flex}.loading{padding:var(--luzmo-spacing-3);justify-content:center;display:flex}.screen-modes{gap:var(--luzmo-spacing-2);flex-direction:column;display:flex}.screen-mode{align-items:center;gap:var(--luzmo-spacing-2);display:flex}.screen-mode-size{color:var(--luzmo-font-color-extra-dimmed)}.footer{justify-content:flex-end;display:flex}.status{justify-content:flex-end;width:0;min-width:100%;display:flex}.status:empty{display:none}.alert{flex:none;inline-size:max-content}.alert-body{align-items:center;gap:var(--luzmo-spacing-3);block-size:1lh;min-inline-size:0;display:flex}.alert-text{min-inline-size:0;font-weight:var(--luzmo-font-weight-semibold);white-space:pre;display:flex}.alert-name{min-inline-size:0;font-weight:var(--luzmo-font-weight-bold);text-overflow:ellipsis;white-space:nowrap;unicode-bidi:plaintext;overflow:hidden}.alert-open{flex:none}:host{--add-to-dashboard-picker-width:18rem;--add-to-dashboard-list-max-height:16rem}`,A=`0.1.0`,j=[`id`,`name`,`contents`,`modified_at`,`is_variant`,`original_id`],M=new Set([`designer`,`owner`]),N=`flag_dashboard_variants`,P=[`desktop`,`tablet`,`mobile`];async function F(e,t,n){let r=[],i=t,a=0;for(let t of e){let e=n-r.length,o=await t(i,Math.max(e,1));e>0&&r.push(...o.rows.slice(0,e)),i=Math.max(0,i-o.count),a+=o.count}return{rows:r,total:a}}async function I(e){let t=await e.fetchApi(`/user`,{action:`get`,version:A,find:{where:{id:`me`},attributes:[`id`,`flags`]}});return{id:t.rows?.[0]?.id??``,flags:t.rows?.[0]?.flags??[]}}async function L(e,t){return(await e.fetchApi(`/authorization`,{action:`get`,version:A,find:{where:{id:t}}})).rows?.[0]}async function R(e,t,n){let r={...t,where:{...t.where,type:`dashboard`}},i=await e.fetchApi(`/securable`,{action:`get`,version:A,find:r},{signal:n});return{rows:i.rows??[],count:i.count??i.rows?.length??0}}function z(e){let t={modifyIds:new Set,useOnlyIds:new Set};for(let n of e?.access?.dashboards??[])n.rights?.Modify?t.modifyIds.add(n.id):n.rights?.Use&&t.useOnlyIds.add(n.id);return t}function B(){return{version:a,syncScreenModes:!0,views:P.map(e=>({screenModus:e,options:{theme:{id:`default`}},filterGroups:[],items:[]})),timezone:{type:`fixed`,id:`UTC`}}}function V(e){return e?{search:{match_types:[`name`,`description`],keyphrase:e,securable_types:[`dashboard`]}}:{}}function H(e,t){return{include:[{model:`User`,as:`allUsers`,attributes:[],required:!0,where:{id:e,...Object.fromEntries(Object.entries(t).map(([e,t])=>[`securableAccessRight.${e}`,t]))}}]}}async function U(e){let t=new m({apiUrl:e.apiUrl,authKey:e.authKey,authToken:e.authToken,skipNetworkListeners:!0}),[n,r]=await Promise.all([I(t),L(t,e.authKey)]),i=z(r),a=r?.type!==`embed`||M.has(r.role??``),o=!!n.id&&n.flags.includes(N),s=[...i.modifyIds,...o?i.useOnlyIds:[]],c=s.length>0?{id:{notIn:s}}:{},l=(t,n=!1)=>{let r=[...new Set((t.contents?.views??[]).map(e=>e.screenModus))];return{id:t.id,name:h(t.name??{},e.language),syncScreenModes:t.contents?.syncScreenModes!==!1,screenModes:r.length>0?r:[`desktop`],...n?{requiresVariant:n}:{}}},u,d=(e,n)=>async(r,a)=>{if(s.length===0)return{count:0,rows:[]};let o=r>0&&u?.search===e?u.rows:void 0;return o||(o=(await R(t,{where:{is_variant:!1,archived_at:null,id:{in:s}},attributes:j,...V(e)},n)).rows.map(e=>l(e,!i.modifyIds.has(e.id))).sort((e,t)=>e.name.localeCompare(t.name)),u={search:e,rows:o}),{count:o.length,rows:o.slice(r,r+a)}},f=(e,r,i,a)=>async(o,s)=>{let u=await R(t,{where:{is_variant:!1,archived_at:null,...c},attributes:j,...H(n.id,i),...V(e),limit:s,offset:o,order:[[`modified_at`,`desc`]]},r);return{count:u.count,rows:u.rows.map(e=>l(e,a))}},p=async(e,n,r,i)=>{await t.fetchApi(`/securable`,{action:`update`,version:A,id:e,properties:{append_item:{item:n,...r?.length?{screenModes:r}:{}}}},{signal:i})},g=async(e,n,r)=>{try{await p(e.id,n,r)}catch(n){throw await t.fetchApi(`/securable`,{action:`delete`,version:A,id:e.id}).catch(()=>void 0),n}},_=async(e,n)=>await t.fetchApi(`/securable`,{action:`create`,version:A,properties:{...e,type:`dashboard`},associations:n});return{async list(e,t){return n.id?await F([d(e.search,t.signal),...o?[f(e.search,t.signal,{flagUse:!0,flagModify:!1},!0)]:[],f(e.search,t.signal,{flagModify:!0},!1)],e.offset,e.limit):{rows:[],total:0}},async add(e,t,n,r){await p(e.id,t,n.screenModes,r.signal)},...a?{async create(t,n){let r=await _({name:n.name?{[e.language]:n.name}:{},contents:B()});return await g(r,t,void 0),l(r)}}:{},...o?{async listVariants(e,r){return(await R(t,{where:{is_variant:!0,original_id:e.id,archived_at:null},attributes:j,...H(n.id,{flagModify:!0}),order:[[`modified_at`,`desc`]]},r.signal)).rows.map(e=>l(e))}}:{},...o&&a?{async addToVariant(n,r,i){let a=(await R(t,{where:{id:n.id},attributes:[`id`,`name`,`contents`]})).rows[0];if(!a?.contents)throw Error(`The dashboard was not found.`);let o=a.name??{},s=await _({name:i.name?{...o,[e.language]:i.name}:o,contents:a.contents},[{role:`original`,id:n.id}]);return await g(s,r,i.screenModes),l({...s,contents:s.contents??a.contents})}}:{}}}function W(e){let{theme:t,...n}=e.options??{};return{...p(e),options:n}}function G(e,t){let n=new Set(e),r=e.length+1;for(;n.has(t(r));)r+=1;return r}var K=20,q=300,J=8,Y=48,X=`__luzmo-new-dashboard`,Z=`__luzmo-new-variant`,Q=new Map,ie=0,$=class extends t(u(d,{validSizes:Object.values(f)})){constructor(...e){super(...e),this.chart=null,this.dashboardActions=null,this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.placement=`bottom-end`,this.disabled=!1,this._open=!1,this._actions=null,this._step=`list`,this._rows=[],this._hasMore=!1,this._loading=!1,this._listFailed=!1,this._original=null,this._variants=[],this._variantsLoading=!1,this._variantsFailed=!1,this._pending=null,this._screenModes=[],this._saving=!1,this._status=null,this._triggerId=`add-to-dashboard-trigger-${++ie}`,this._search=``,this._actionsGeneration=0,this._reloadOnUpdate=!1}static get styles(){let e=super.styles??[];return[...Array.isArray(e)?e:[e],S(k)]}get _hasSource(){return!!this.dashboardActions||!!(this.authKey&&this.authToken)}connectedCallback(){super.connectedCallback(),this._status&&this._startFittingAlert()}disconnectedCallback(){super.disconnectedCallback(),this._handleClosed(),this._actionsGeneration+=1,this._saveAbort?.abort(),this._stopFittingAlert()}willUpdate(e){super.willUpdate(e),(e.has(`dashboardActions`)||e.has(`authKey`)||e.has(`authToken`)||e.has(`apiUrl`)||e.has(`language`))&&(this._actions=null,this._actionsGeneration+=1,this._open&&(this._listAbort?.abort(),this._variantsAbort?.abort(),this._step=`list`,this._original=null,this._pending=null,this._rows=[],this._open=this._hasSource,this._reloadOnUpdate=this._hasSource)),e.has(`disabled`)&&this.disabled&&(this._open=!1),e.has(`chart`)&&!this.chart&&this._handleClosed()}updated(e){super.updated(e),this._reloadOnUpdate&&(this._reloadOnUpdate=!1,this._loadList()),e.has(`_step`)&&this._open&&this._focusStep(),e.has(`_status`)&&(this._status?this._startFittingAlert():this._stopFittingAlert())}get _alertContainer(){let e=this.getRootNode();return this.parentElement??(e instanceof ShadowRoot?e.host:null)}_startFittingAlert(){this._fitAlert();let e=this._alertContainer;this._alertResizeObserver||!e||(this._alertResizeObserver=new ResizeObserver(()=>this._fitAlert()),this._alertResizeObserver.observe(this),this._alertResizeObserver.observe(e))}_stopFittingAlert(){this._alertResizeObserver?.disconnect(),this._alertResizeObserver=void 0}_fitAlert(){let e=this._noticeElement,t=this._alertContainer;if(!e||!t)return;let n=this.getBoundingClientRect(),r=t.getBoundingClientRect(),i=Number.parseFloat(getComputedStyle(t).paddingInlineStart)||0,a=(this.isLTR?n.right-r.left:r.right-n.left)-i;e.style.setProperty(`--luzmo-notice-max-inline-size`,`${Math.max(0,a)}px`)}async _resolveActions(){if(this.dashboardActions)return this.dashboardActions;let e={apiUrl:this.apiUrl,authKey:this.authKey,authToken:this.authToken,language:this.language},t=JSON.stringify(e),n=Q.get(t);return n||(Q.clear(),n=U(e),Q.set(t,n),n.catch(()=>Q.delete(t))),await n}_dispatch(e,t){let n=new CustomEvent(e,{detail:t,bubbles:!0,composed:!0});this.dispatchEvent(n)}_displayName(e){return e.name.trim()||n(`Untitled dashboard`,{desc:`Fallback name of a dashboard without a name`})}_variantName(e,t){return n(r`${this._displayName(e)} (variant ${t})`,{desc:`Name of a new dashboard variant`})}_screenModeChoices(){return[{name:`mobile`,label:n(`Smartphone`,{desc:`Screen mode name`}),size:`< 768px`,icon:D},{name:`tablet`,label:n(`Tablet`,{desc:`Screen mode name`}),size:`≥ 768px`,icon:O},{name:`desktop`,label:n(`Desktop`,{desc:`Screen mode name`}),size:`≥ 1200px`,icon:ee},{name:`largeScreen`,label:n(`Large screen`,{desc:`Screen mode name`}),size:`≥ 1600px`,icon:te},{name:`fixed`,label:n(`Fixed width`,{desc:`Screen mode name`}),icon:c}]}async _handleOpened(){this._open=!0,this._step=`list`,this._search=``,this._original=null,this._pending=null,this._rows=[],await this.updateComplete,this._searchElement?.focus(),await this._loadList()}async _loadList(){let e=this._actionsGeneration;this._loading=!0,this._listFailed=!1;try{let t=this._actions??await this._resolveActions();if(e!==this._actionsGeneration)return;this._actions=t}catch(t){if(!this.isConnected||e!==this._actionsGeneration)return;console.error(`Failed to resolve the add to dashboard actions:`,t),this._loading=!1,this._listFailed=!0;return}!this.isConnected||!this._open||await this._loadPage(!1)}_handleClosed(){this._open=!1,clearTimeout(this._searchTimer),this._listAbort?.abort(),this._variantsAbort?.abort()}async _loadPage(e){let t=this._actions;if(!t)return;this._listAbort?.abort();let n=new AbortController;this._listAbort=n,this._loading=!0,this._listFailed=!1,e||(this._rows=[]);try{let e=await t.list({search:this._search,offset:this._rows.length,limit:K},{signal:n.signal});if(n.signal.aborted)return;this._rows=[...this._rows,...e.rows],this._hasMore=e.total===void 0?e.rows.length===K:this._rows.length<e.total}catch(e){if(n.signal.aborted)return;console.error(`Failed to load dashboards:`,e),this._listFailed=!0}finally{n.signal.aborted||(this._loading=!1)}}_handleSearchInput(e){this._search=String(e.target?.value??``),clearTimeout(this._searchTimer),this._searchTimer=setTimeout(()=>void this._loadPage(!1),q)}_handleListScroll(e){let t=e.target;this._hasMore&&!this._loading&&t.scrollHeight-t.scrollTop-t.clientHeight<=Y&&this._loadPage(!0)}_menuValue(e){return e.stopPropagation(),e.target.value??``}_handleListChange(e){let t=this._menuValue(e);if(t===X){this._actions?.create&&this._save({kind:`create`});return}let n=this._rows.find(e=>e.id===t);if(n){if(n.requiresVariant){this._original=n,this._step=`variants`,this._loadVariants();return}this._selectTarget({kind:`add`,dashboard:n,isVariant:!1},n)}}_handleVariantChange(e){let t=this._menuValue(e),n=this._original;if(!n)return;if(t===Z){if(!this._actions?.addToVariant)return;let e=this._variants.map(e=>this._displayName(e)),t=this._variantName(n,G(e,e=>this._variantName(n,e)));this._selectTarget({kind:`variant`,original:n,name:t},n);return}let r=this._variants.find(e=>e.id===t);r&&this._selectTarget({kind:`add`,dashboard:r,isVariant:!0},r)}_selectTarget(e,t){if(t.syncScreenModes!==!1||!t.screenModes?.length){this._save(e);return}this._pending=e,this._screenModes=[...t.screenModes??[]],this._step=`screenModes`}async _loadVariants(){let e=this._actions,t=this._original;if(this._variantsAbort?.abort(),this._variants=[],this._variantsLoading=!1,this._variantsFailed=!1,!e?.listVariants||!t)return;let n=new AbortController;this._variantsAbort=n,this._variantsLoading=!0;try{let r=await e.listVariants(t,{signal:n.signal});n.signal.aborted||(this._variants=r)}catch(e){n.signal.aborted||(console.error(`Failed to load dashboard variants:`,e),this._variantsFailed=!0)}finally{n.signal.aborted||(this._variantsLoading=!1)}}_handleBack(){this._step===`screenModes`&&this._original?this._step=`variants`:(this._step=`list`,this._original=null),this._pending=null}_toggleScreenMode(e){this._screenModes=this._screenModes.includes(e)?this._screenModes.filter(t=>t!==e):[...this._screenModes,e]}_handleConfirmScreenModes(){this._pending&&this._screenModes.length>0&&this._save(this._pending,{screenModes:[...this._screenModes]})}async _save(e,t={}){let n=this._actions;if(!n||!this.chart||this._saving)return;this._open=!1,this._saving=!0,this._setStatus(null),this._saveAbort=new AbortController;let r=W(this.chart),i={signal:this._saveAbort.signal};try{let a;if(e.kind===`create`&&n.create)a=await n.create(r,t,i);else if(e.kind===`variant`&&n.addToVariant)a=await n.addToVariant(e.original,r,{...t,name:e.name},i);else if(e.kind===`add`)a=await n.add(e.dashboard,r,t,i)||e.dashboard;else return;if(i.signal.aborted)return;this._setStatus({kind:`success`,dashboard:a,isVariant:e.kind===`variant`||e.kind===`add`&&e.isVariant,openDashboard:n.openDashboard?.bind(n)}),this._dispatch(`luzmo-chart-added`,{dashboard:a})}catch(e){if(i.signal.aborted)return;console.error(`Failed to add the chart to a dashboard:`,e),this._setStatus({kind:`error`}),this._dispatch(`luzmo-chart-add-failed`,{error:e})}finally{this._saving=!1}await this.updateComplete,this.isConnected&&this._isFocusLost()&&this._focusTrigger()}_setStatus(e){this._status=e}_focusTrigger(){this._triggerElement?.focus()}_isFocusLost(){return!document.activeElement||document.activeElement===document.body}async _handleNoticeClose(e){e.stopPropagation();let t=e.currentTarget.matches(`:focus-within`);this._setStatus(null),await this.updateComplete,t&&this._isFocusLost()&&this._focusTrigger()}async _focusStep(){let e=this._step===`list`?this._searchElement:this._backElement;await e?.updateComplete,e?.focus()}_renderRow(e){return g`
3
+ <luzmo-menu-item value=${e.id} no-wrap ?disabled=${this._saving}>
4
+ ${e.thumbnailUrl?g`<img slot="icon" class="thumbnail" alt="" src=${e.thumbnailUrl} />`:v}
5
+ ${this._displayName(e)}
6
+ ${e.requiresVariant?g`<luzmo-icon slot="value" class="drill-in" size="xs" block .icon=${this.isLTR?T:s}></luzmo-icon>`:v}
7
+ </luzmo-menu-item>
8
+ `}_renderCreateRow(e,t,n,r=!1){let i=`${this._triggerId}-${e}-reason`;return g`
9
+ <luzmo-menu-item
10
+ class="create-row"
11
+ value=${e}
12
+ label=${t}
13
+ aria-describedby=${_(n?i:void 0)}
14
+ no-wrap
15
+ ?disabled=${this._saving||r||!!n}
16
+ >
17
+ <luzmo-icon slot="icon" size="s" .icon=${l}></luzmo-icon>
18
+ ${t} ${n?g`<span slot="description" id=${i}>${n}</span>`:v}
19
+ </luzmo-menu-item>
20
+ `}_renderLoading(){return g`<div class="loading"><luzmo-progress-circle size="s" indeterminate .label=${n(`Loading`,{desc:`Loading spinner label`})}></luzmo-progress-circle></div>`}async _handleRetry(e){let t=e();await this.updateComplete,this._isFocusLost()&&await this._focusStep(),await t}_renderEmpty(e,t){return g`
21
+ <div class="empty">
22
+ <span>${e}</span>
23
+ ${t?g`<luzmo-button size="s" treatment="outline" @click=${()=>this._handleRetry(t)}>${n(`Retry`,{desc:`Retry a failed request`})}</luzmo-button>`:v}
24
+ </div>
25
+ `}_renderHeader(e){return g`
26
+ <div class="header">
27
+ <luzmo-action-button size="s" quiet label=${n(`Back`,{desc:`Go back to the previous step`})} @click=${this._handleBack}>
28
+ <luzmo-icon slot="icon" size="xs" .icon=${this.isLTR?C:w}></luzmo-icon>
29
+ </luzmo-action-button>
30
+ <span class="header-title" tabindex="-1"
31
+ >${e}<luzmo-tooltip self-managed show-only-if-truncated placement="top" .size=${this.size}>${e}</luzmo-tooltip></span
32
+ >
33
+ </div>
34
+ `}_renderList(){let e=this._actions&&!this._actions.create?n(`These credentials cannot create dashboards`,{id:`add-to-dashboard-cannot-create`,desc:`Why a new dashboard cannot be created`}):void 0;return g`
35
+ <luzmo-search
36
+ size="s"
37
+ border="none"
38
+ label=${n(`Search dashboards`,{desc:`Label of the dashboard search field`})}
39
+ placeholder=${n(`Search dashboards`,{desc:`Label of the dashboard search field`})}
40
+ .value=${this._search}
41
+ @input=${this._handleSearchInput}
42
+ @submit=${e=>e.preventDefault()}
43
+ ></luzmo-search>
44
+ <luzmo-divider size="s"></luzmo-divider>
45
+ <div class="list" @scroll=${this._handleListScroll}>
46
+ <luzmo-menu class="menu" size="s" @change=${this._handleListChange} @close=${e=>e.stopPropagation()}>
47
+ ${this._renderCreateRow(X,n(`New dashboard`,{desc:`Create a new dashboard for the chart`}),e,!this._actions)}
48
+ ${this._rows.map(e=>this._renderRow(e))}
49
+ </luzmo-menu>
50
+ <div class="list-state" role="status" aria-live="polite">
51
+ ${this._listFailed?this._renderEmpty(n(`Failed to load dashboards`,{desc:`Dashboard list failed to load`}),()=>this._loadList()):!this._loading&&this._rows.length===0?this._renderEmpty(n(`No dashboards found`,{desc:`Dashboard list is empty`})):v}
52
+ ${this._loading?this._renderLoading():v}
53
+ </div>
54
+ </div>
55
+ `}_renderVariants(e){let t=this._actions?.addToVariant?void 0:n(`These credentials cannot create variants`,{id:`add-to-dashboard-cannot-create-variant`,desc:`Why a new dashboard variant cannot be created`}),r=!this._variantsLoading&&!this._variantsFailed;return g`
56
+ ${this._renderHeader(this._displayName(e))}
57
+ <luzmo-divider size="s"></luzmo-divider>
58
+ <div class="list">
59
+ <luzmo-menu class="menu" size="s" @change=${this._handleVariantChange} @close=${e=>e.stopPropagation()}>
60
+ ${this._renderCreateRow(Z,n(`New variant`,{desc:`Create a new variant of a dashboard`}),t,!r)}
61
+ ${this._variants.map(e=>this._renderRow(e))}
62
+ </luzmo-menu>
63
+ <div class="list-state" role="status" aria-live="polite">
64
+ ${this._variantsFailed?this._renderEmpty(n(`Failed to load variants`,{desc:`Variant list failed to load`}),()=>this._loadVariants()):!this._variantsLoading&&this._variants.length===0?this._renderEmpty(n(`No variants yet`,{desc:`Variant list is empty`})):v}
65
+ ${this._variantsLoading?this._renderLoading():v}
66
+ </div>
67
+ </div>
68
+ `}_renderScreenModes(e){let t=e.kind===`variant`?e.original:e.dashboard,r=e.kind===`variant`?e.name:this._displayName(t),i=t.screenModes??[];return g`
69
+ ${this._renderHeader(r)}
70
+ <luzmo-field-group class="screen-modes" vertical label=${n(`Screen modes`,{desc:`Label of the group of screen-mode checkboxes`})}>
71
+ ${this._screenModeChoices().filter(e=>i.includes(e.name)).map(e=>g`
72
+ <luzmo-checkbox
73
+ size="s"
74
+ ?checked=${this._screenModes.includes(e.name)}
75
+ @change=${()=>this._toggleScreenMode(e.name)}
76
+ >
77
+ <span class="screen-mode">
78
+ <luzmo-icon size="xs" block .icon=${e.icon}></luzmo-icon>
79
+ ${e.label}
80
+ ${e.size?g`<span class="screen-mode-size" dir="ltr">${e.size}</span>`:v}
81
+ </span>
82
+ </luzmo-checkbox>
83
+ `)}
84
+ </luzmo-field-group>
85
+ <div class="footer">
86
+ <luzmo-button size="s" variant="primary" ?disabled=${this._screenModes.length===0||this._saving} @click=${this._handleConfirmScreenModes}>
87
+ ${n(`Confirm`,{desc:`Confirm the selected screen modes`})}
88
+ </luzmo-button>
89
+ </div>
90
+ `}_renderPicker(){return this._step===`screenModes`&&this._pending?this._renderScreenModes(this._pending):this._step===`variants`&&this._original?this._renderVariants(this._original):this._renderList()}_noticeLabels(){return{close:n(`Close`,{id:`add-to-dashboard-close`,desc:`Close the save result notice`})}}_renderStatus(){let e=this._status;if(!e)return v;if(e.kind===`error`)return g`
91
+ <luzmo-notice
92
+ class="alert"
93
+ size="s"
94
+ variant="negative"
95
+ .duration=${J}
96
+ .labels=${this._noticeLabels()}
97
+ @luzmo-notice-close=${this._handleNoticeClose}
98
+ >
99
+ <luzmo-icon slot="icon" .icon=${E}></luzmo-icon>
100
+ <span class="alert-text">${n(`Failed to copy item`,{desc:`Saving the chart to a dashboard failed`})}</span>
101
+ </luzmo-notice>
102
+ `;let t=this._displayName(e.dashboard),r=g`<strong class="alert-name" tabindex="-1">${t}<luzmo-tooltip self-managed show-only-if-truncated placement="top" .size=${this.size}>${t}</luzmo-tooltip></strong>`,i=e.openDashboard;return g`
103
+ <luzmo-notice
104
+ class="alert"
105
+ size="s"
106
+ variant="positive"
107
+ .duration=${J}
108
+ .labels=${this._noticeLabels()}
109
+ @luzmo-notice-close=${this._handleNoticeClose}
110
+ >
111
+ <luzmo-icon slot="icon" .icon=${re}></luzmo-icon>
112
+ <div class="alert-body">
113
+ <span class="alert-text" dir="auto">${n(g`Item copied to ${r}`,{desc:`The chart was saved to a dashboard`})}</span>
114
+ ${i&&!e.isVariant?g`
115
+ <luzmo-action-button class="alert-open" size="s" quiet @click=${()=>i(e.dashboard)}>
116
+ <luzmo-icon slot="icon" size="xs" .icon=${ne}></luzmo-icon>
117
+ ${n(`Open`,{id:`add-to-dashboard-open`,desc:`Open the dashboard the chart was saved to`})}
118
+ </luzmo-action-button>
119
+ `:v}
120
+ </div>
121
+ </luzmo-notice>
122
+ `}render(){if(!this.chart||!this._hasSource)return v;let e=this._saving?n(`Adding to dashboard`,{desc:`The chart is being saved to a dashboard`}):n(`Add to dashboard`,{desc:`Button that opens the add to dashboard picker`});return g`
123
+ <luzmo-action-button
124
+ id=${this._triggerId}
125
+ class="trigger"
126
+ size=${this.size}
127
+ aria-haspopup="true"
128
+ aria-expanded=${this._open?`true`:`false`}
129
+ ?disabled=${this.disabled||this._saving}
130
+ >
131
+ ${this._saving?g`<luzmo-progress-circle class="trigger-spinner" slot="icon" indeterminate .label=${e}></luzmo-progress-circle>`:g`<luzmo-icon slot="icon" size="xs" .icon=${l}></luzmo-icon>`}
132
+ ${e}
133
+ <luzmo-icon class="trigger-chevron" size="xs" .icon=${o}></luzmo-icon>
134
+ </luzmo-action-button>
135
+ <luzmo-overlay
136
+ type="auto"
137
+ placement=${this.placement}
138
+ trigger=${`${this._triggerId}@click`}
139
+ .open=${this._open}
140
+ @luzmo-opened=${this._handleOpened}
141
+ @luzmo-closed=${this._handleClosed}
142
+ >
143
+ <luzmo-popover>
144
+ <div class="picker">${this._open?this._renderPicker():v}</div>
145
+ </luzmo-popover>
146
+ </luzmo-overlay>
147
+ <div class="status">${this._renderStatus()}</div>
148
+ `}};e([y({attribute:!1})],$.prototype,`chart`,void 0),e([y({attribute:!1})],$.prototype,`dashboardActions`,void 0),e([y({type:String,attribute:`auth-key`})],$.prototype,`authKey`,void 0),e([y({type:String,attribute:`auth-token`})],$.prototype,`authToken`,void 0),e([y({type:String,attribute:`api-url`})],$.prototype,`apiUrl`,void 0),e([y({type:String,reflect:!0})],$.prototype,`placement`,void 0),e([y({type:Boolean,reflect:!0})],$.prototype,`disabled`,void 0),e([x()],$.prototype,`_open`,void 0),e([x()],$.prototype,`_actions`,void 0),e([x()],$.prototype,`_step`,void 0),e([x()],$.prototype,`_rows`,void 0),e([x()],$.prototype,`_hasMore`,void 0),e([x()],$.prototype,`_loading`,void 0),e([x()],$.prototype,`_listFailed`,void 0),e([x()],$.prototype,`_original`,void 0),e([x()],$.prototype,`_variants`,void 0),e([x()],$.prototype,`_variantsLoading`,void 0),e([x()],$.prototype,`_variantsFailed`,void 0),e([x()],$.prototype,`_pending`,void 0),e([x()],$.prototype,`_screenModes`,void 0),e([x()],$.prototype,`_saving`,void 0),e([x()],$.prototype,`_status`,void 0),e([b(`.trigger`)],$.prototype,`_triggerElement`,void 0),e([b(`luzmo-search`)],$.prototype,`_searchElement`,void 0),e([b(`.header luzmo-action-button`)],$.prototype,`_backElement`,void 0),e([b(`luzmo-notice`)],$.prototype,`_noticeElement`,void 0),$=e([i()],$),typeof customElements<`u`&&!customElements.get(`luzmo-add-to-dashboard`)&&customElements.define(`luzmo-add-to-dashboard`,$);export{$ as LuzmoAddToDashboard,U as createDashboardActions};
@@ -1,2 +1,2 @@
1
1
 
2
- import{n as e}from"./localized-mixin-BJ8UiX2u.js";import{LitElement as t,property as n}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/lit.js";var r=new Set;new MutationObserver(()=>{let e=document.documentElement.dir===`rtl`?document.documentElement.dir:`ltr`;r.forEach(t=>{t.setAttribute(`dir`,e)})}).observe(document.documentElement,{attributes:!0,attributeFilter:[`dir`]});var i=e=>e.startManagingContentDirection!==void 0||e.tagName===`LUZMO-THEME`,a=(e=document)=>{let t=e.activeElement;for(;t?.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;let n=t?[t]:[];for(;t;){let e=t.assignedSlot||t.parentElement||t.getRootNode()?.host;e&&n.push(e),t=e}return n};function o(e){class t extends e{get isLTR(){return this.dir===`ltr`}hasVisibleFocusInTree(){let e=a(this.getRootNode())[0];if(!e)return!1;try{return e.matches(`:focus-visible`)||e.matches(`.focus-visible`)}catch{return e.matches(`.focus-visible`)}}connectedCallback(){if(super.connectedCallback(),!this.hasAttribute(`dir`)){let e=this.assignedSlot||this.parentNode;for(;e!==document.documentElement&&!i(e);)e=e.assignedSlot||e.parentNode||e.host;if(this.dir=e.dir===`rtl`?e.dir:this.dir||`ltr`,e===document.documentElement)r.add(this);else{let{localName:t}=e;t.search(`-`)>-1&&!customElements.get(t)?customElements.whenDefined(t).then(()=>{typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}):typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}this._dirParent=e}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?r.delete(this):typeof this._dirParent.stopManagingContentDirection==`function`&&this._dirParent.stopManagingContentDirection(this),this.removeAttribute(`dir`))}}return t}var s=class extends o(t){},c=!0;try{document.body.querySelector(`:focus-visible`)}catch{c=!1}var l=e=>{if(e.shadowRoot==null||Object.hasOwn(e.dataset,`jsFocusVisible`))return()=>{};if(self.applyFocusVisiblePolyfill)self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus();else{let t=()=>{self.applyFocusVisiblePolyfill&&e.shadowRoot&&self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus()};return self.addEventListener(`focus-visible-polyfill-ready`,t,{once:!0}),()=>{self.removeEventListener(`focus-visible-polyfill-ready`,t)}}return()=>{}},u=e=>{let t=Symbol(`endPolyfillCoordination`);class n extends e{constructor(...e){super(...e),this[t]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),c||requestAnimationFrame(()=>{this[t]??(this[t]=l(this))})}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),c||requestAnimationFrame(()=>{this[t]!=null&&(this[t](),this[t]=null)})}}return n};function d(){return new Promise(e=>requestAnimationFrame(()=>e()))}var f=class extends u(s){constructor(...e){super(...e),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){let e=this.hasAttribute(`tabindex`)?Number(this.getAttribute(`tabindex`)):NaN;return Number.isNaN(e)?-1:e}let e=Number.parseFloat(this.hasAttribute(`tabindex`)&&this.getAttribute(`tabindex`)||`0`);return this.disabled||e<0?-1:this.focusElement?this._tabIndex:e}set tabIndex(e){if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=e;else if(e!==this._tabIndex){this._tabIndex=e;let t=``+e;this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,t)}return}if(e===-1?this.addEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex)),e===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),this.removeAttribute(`focusable`),this.selfManageFocusElement)return;e===-1?this.focusElement?.removeAttribute(`tabindex`):(this._tabIndex=e,this.manageFocusElementTabindex(e));return}this.setAttribute(`focusable`,``),this.hasAttribute(`tabindex`)?this.removeAttribute(`tabindex`):this.manipulatingTabindex=!1,this._tabIndex=e,this.manageFocusElementTabindex(e)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(e){this.focusElement||await this.updateComplete,e===null?this.focusElement.removeAttribute(`tabindex`):this.focusElement!==this&&(this.focusElement.tabIndex=e)}get focusElement(){throw Error(`Must implement focusElement getter!`)}get selfManageFocusElement(){return!1}focus(e){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[e]):this.focusElement.focus(e))}blur(){let e=this.focusElement||this;e===this?HTMLElement.prototype.blur.apply(this):e.blur()}click(){if(this.disabled)return;let e=this.focusElement||this;e===this?HTMLElement.prototype.click.apply(this):e.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Tab`})),this.focusElement.focus())}firstUpdated(e){super.firstUpdated(e),(!this.hasAttribute(`tabindex`)||this.getAttribute(`tabindex`)!==`-1`)&&this.setAttribute(`focusable`,``)}update(e){e.has(`disabled`)&&this.handleDisabledChanged(this.disabled,e.get(`disabled`)),super.update(e)}updated(e){super.updated(e),e.has(`disabled`)&&this.disabled&&this.blur()}async handleDisabledChanged(e,t){let n=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;e?(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),await this.updateComplete,n()?this.focusElement.disabled=!0:this.setAttribute(`aria-disabled`,`true`)):t&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute(`tabindex`,``+this._tabIndex):this.removeAttribute(`tabindex`),await this.updateComplete,n()?this.focusElement.disabled=!1:this.removeAttribute(`aria-disabled`))}async getUpdateComplete(){let e=await super.getUpdateComplete();return await this.autofocusReady,e}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=(async()=>{await d(),await d()})(),this.updateComplete.then(()=>this.manageAutoFocus()))}};e([n({type:Boolean,reflect:!0})],f.prototype,`disabled`,void 0),e([n({type:Boolean})],f.prototype,`autofocus`,void 0),e([n({type:Number})],f.prototype,`tabIndex`,null);var p={xxs:`xxs`,xs:`xs`,s:`s`,m:`m`,l:`l`,xl:`xl`,xxl:`xxl`};function m(t,{validSizes:r=[`s`,`m`,`l`,`xl`],noDefaultSize:i,defaultSize:a=`m`}={}){class o extends t{constructor(...e){super(...e),this._size=a}get size(){return this._size||a}set size(e){let t=i?null:a,n=e&&e.toLocaleLowerCase(),o=r.includes(n)?n:t;if(o&&this.setAttribute(`size`,o),this._size===o)return;let s=this._size;this._size=o,this.requestUpdate(`size`,s)}update(e){!this.hasAttribute(`size`)&&!i&&this.setAttribute(`size`,this.size),super.update(e)}}return e([n({type:String})],o.prototype,`size`,null),o}export{m as n,s as r,p as t};
2
+ import{n as e}from"./localized-mixin-DY0QxOC9.js";import{LitElement as t,property as n}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.4.2/standalone/lit.js";var r=new Set;new MutationObserver(()=>{let e=document.documentElement.dir===`rtl`?document.documentElement.dir:`ltr`;r.forEach(t=>{t.setAttribute(`dir`,e)})}).observe(document.documentElement,{attributes:!0,attributeFilter:[`dir`]});var i=e=>e.startManagingContentDirection!==void 0||e.tagName===`LUZMO-THEME`,a=(e=document)=>{let t=e.activeElement;for(;t?.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;let n=t?[t]:[];for(;t;){let e=t.assignedSlot||t.parentElement||t.getRootNode()?.host;e&&n.push(e),t=e}return n};function o(e){class t extends e{get isLTR(){return this.dir===`ltr`}hasVisibleFocusInTree(){let e=a(this.getRootNode())[0];if(!e)return!1;try{return e.matches(`:focus-visible`)||e.matches(`.focus-visible`)}catch{return e.matches(`.focus-visible`)}}connectedCallback(){if(super.connectedCallback(),!this.hasAttribute(`dir`)){let e=this.assignedSlot||this.parentNode;for(;e!==document.documentElement&&!i(e);)e=e.assignedSlot||e.parentNode||e.host;if(this.dir=e.dir===`rtl`?e.dir:this.dir||`ltr`,e===document.documentElement)r.add(this);else{let{localName:t}=e;t.search(`-`)>-1&&!customElements.get(t)?customElements.whenDefined(t).then(()=>{typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}):typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}this._dirParent=e}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?r.delete(this):typeof this._dirParent.stopManagingContentDirection==`function`&&this._dirParent.stopManagingContentDirection(this),this.removeAttribute(`dir`))}}return t}var s=class extends o(t){},c=!0;try{document.body.querySelector(`:focus-visible`)}catch{c=!1}var l=e=>{if(e.shadowRoot==null||Object.hasOwn(e.dataset,`jsFocusVisible`))return()=>{};if(self.applyFocusVisiblePolyfill)self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus();else{let t=()=>{self.applyFocusVisiblePolyfill&&e.shadowRoot&&self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus()};return self.addEventListener(`focus-visible-polyfill-ready`,t,{once:!0}),()=>{self.removeEventListener(`focus-visible-polyfill-ready`,t)}}return()=>{}},u=e=>{let t=Symbol(`endPolyfillCoordination`);class n extends e{constructor(...e){super(...e),this[t]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),c||requestAnimationFrame(()=>{this[t]??(this[t]=l(this))})}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),c||requestAnimationFrame(()=>{this[t]!=null&&(this[t](),this[t]=null)})}}return n};function d(){return new Promise(e=>requestAnimationFrame(()=>e()))}var f=class extends u(s){constructor(...e){super(...e),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){let e=this.hasAttribute(`tabindex`)?Number(this.getAttribute(`tabindex`)):NaN;return Number.isNaN(e)?-1:e}let e=Number.parseFloat(this.hasAttribute(`tabindex`)&&this.getAttribute(`tabindex`)||`0`);return this.disabled||e<0?-1:this.focusElement?this._tabIndex:e}set tabIndex(e){if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=e;else if(e!==this._tabIndex){this._tabIndex=e;let t=``+e;this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,t)}return}if(e===-1?this.addEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex)),e===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),this.removeAttribute(`focusable`),this.selfManageFocusElement)return;e===-1?this.focusElement?.removeAttribute(`tabindex`):(this._tabIndex=e,this.manageFocusElementTabindex(e));return}this.setAttribute(`focusable`,``),this.hasAttribute(`tabindex`)?this.removeAttribute(`tabindex`):this.manipulatingTabindex=!1,this._tabIndex=e,this.manageFocusElementTabindex(e)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(e){this.focusElement||await this.updateComplete,e===null?this.focusElement.removeAttribute(`tabindex`):this.focusElement!==this&&(this.focusElement.tabIndex=e)}get focusElement(){throw Error(`Must implement focusElement getter!`)}get selfManageFocusElement(){return!1}focus(e){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[e]):this.focusElement.focus(e))}blur(){let e=this.focusElement||this;e===this?HTMLElement.prototype.blur.apply(this):e.blur()}click(){if(this.disabled)return;let e=this.focusElement||this;e===this?HTMLElement.prototype.click.apply(this):e.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Tab`})),this.focusElement.focus())}firstUpdated(e){super.firstUpdated(e),(!this.hasAttribute(`tabindex`)||this.getAttribute(`tabindex`)!==`-1`)&&this.setAttribute(`focusable`,``)}update(e){e.has(`disabled`)&&this.handleDisabledChanged(this.disabled,e.get(`disabled`)),super.update(e)}updated(e){super.updated(e),e.has(`disabled`)&&this.disabled&&this.blur()}async handleDisabledChanged(e,t){let n=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;e?(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),await this.updateComplete,n()?this.focusElement.disabled=!0:this.setAttribute(`aria-disabled`,`true`)):t&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute(`tabindex`,``+this._tabIndex):this.removeAttribute(`tabindex`),await this.updateComplete,n()?this.focusElement.disabled=!1:this.removeAttribute(`aria-disabled`))}async getUpdateComplete(){let e=await super.getUpdateComplete();return await this.autofocusReady,e}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=(async()=>{await d(),await d()})(),this.updateComplete.then(()=>this.manageAutoFocus()))}};e([n({type:Boolean,reflect:!0})],f.prototype,`disabled`,void 0),e([n({type:Boolean})],f.prototype,`autofocus`,void 0),e([n({type:Number})],f.prototype,`tabIndex`,null);var p={xxs:`xxs`,xs:`xs`,s:`s`,m:`m`,l:`l`,xl:`xl`,xxl:`xxl`};function m(t,{validSizes:r=[`s`,`m`,`l`,`xl`],noDefaultSize:i,defaultSize:a=`m`}={}){class o extends t{constructor(...e){super(...e),this._size=a}get size(){return this._size||a}set size(e){let t=i?null:a,n=e&&e.toLocaleLowerCase(),o=r.includes(n)?n:t;if(o&&this.setAttribute(`size`,o),this._size===o)return;let s=this._size;this._size=o,this.requestUpdate(`size`,s)}update(e){!this.hasAttribute(`size`)&&!i&&this.setAttribute(`size`,this.size),super.update(e)}}return e([n({type:String})],o.prototype,`size`,null),o}export{m as n,s as r,p as t};
@@ -0,0 +1,2 @@
1
+
2
+ var e=function(e){return e.Top=`top`,e.Bottom=`bottom`,e}({}),t=function(e){return e.Asc=`asc`,e.Desc=`desc`,e}({}),n=function(e){return e.Measure=`measure`,e.Category=`category`,e}({}),r=5,i=Array.isArray;function a(e){return typeof e==`string`}function o(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 s(e){return i(e)?e:Object.entries(e).map(([e,t])=>({name:e,content:i(t)?t:[]}))}function c(e){let t=new Set;for(let n of e)for(let e of n.content){let n=e.datasetId??e.set;a(n)&&t.add(n)}return[...t]}function l(e){let t=s(e.slots??[]),n=e.options??{},r=n.interactivity;return{type:e.type,options:{...n,interactivity:{...r,scheduledExport:!1}},slots:t.map(e=>({...e,content:i(e.content)?e.content.map(e=>o(e)):[]})),filters:e.filters}}function u(e,t){return{...e,options:{...e.options,theme:{...e.options.theme,...t}}}}function d(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 f(r){let i=[],a=r.options;switch(r.type){case`area-chart`:case`bar-chart`:case`column-chart`:if(i.push({type:`rankingPicker`,mutationType:`rankAndSort`,ranking:a.ranking??{active:!1,number:5,direction:e.Top},sort:a.sort??{direction:t.Desc,by:n.Measure},importance:100}),d(r.slots)){let e=r.type===`area-chart`,t=e?[{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%`}],n=e?`stacked`:`grouped`;i.push({type:`optionDropdown`,mutationType:`mode`,values:t,currentValue:a.mode??n,importance:90})}break;case`donut-chart`:{let e=a.display??{};i.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=a.display??{};i.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 i.sort((e,t)=>t.importance-e.importance)}function p(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 m(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 p(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}}export{u as a,e as c,c as i,n as l,f as n,l as o,s as r,r as s,m as t,t as u};
@@ -1,2 +1,2 @@
1
1
 
2
- import{c as e,s as t}from"./type-check-CC6bgirK.js";var n=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},r=new class extends n{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},i={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},a=new class{#e=i;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function o(e){setTimeout(e,0)}var s=typeof window>`u`||`Deno`in globalThis;function c(){}function l(e,t){return typeof e==`function`?e(t):e}function u(e){return typeof e==`number`&&e>=0&&e!==1/0}function d(e,t){return Math.max(e+(t||0)-Date.now(),0)}function f(e,t){return typeof e==`function`?e(t):e}function p(e,t){return typeof e==`function`?e(t):e}function m(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==g(o,t.options))return!1}else if(!v(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function h(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(_(t.options.mutationKey)!==_(a))return!1}else if(!v(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function g(e,t){return(t?.queryKeyHashFn||_)(e)}function _(e){return JSON.stringify(e,(e,t)=>S(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function v(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>v(e[n],t[n])):!1}var y=Object.prototype.hasOwnProperty;function b(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=x(e)&&x(t);if(!r&&!(S(e)&&S(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:y.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=b(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function x(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function S(e){if(!C(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!C(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function C(e){return Object.prototype.toString.call(e)===`[object Object]`}function w(e){return new Promise(t=>{a.setTimeout(t,e)})}function T(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:b(e,t)}function E(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function D(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var O=Symbol();function k(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===O?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function A(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var j=(()=>{let e=()=>s;return{isServer(){return e()},setIsServer(t){e=t}}})();function M(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var N=o;function P(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=N,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var F=P(),I=new class extends n{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function L(e){return Math.min(1e3*2**e,3e4)}function R(e){return(e??`online`)!==`online`||I.isOnline()}var z=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function B(e){let t=!1,n=0,i,a=M(),o=()=>a.status!==`pending`,s=t=>{if(!o()){let n=new z(t);p(n),e.onCancel?.(n)}},c=()=>{t=!0},l=()=>{t=!1},u=()=>r.isFocused()&&(e.networkMode===`always`||I.isOnline())&&e.canRun(),d=()=>R(e.networkMode)&&e.canRun(),f=e=>{o()||(i?.(),a.resolve(e))},p=e=>{o()||(i?.(),a.reject(e))},m=()=>new Promise(t=>{i=e=>{(o()||u())&&t(e)},e.onPause?.()}).then(()=>{i=void 0,o()||e.onContinue?.()}),h=()=>{if(o())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(f).catch(r=>{if(o())return;let i=e.retry??(j.isServer()?0:3),a=e.retryDelay??L,s=typeof a==`function`?a(n,r):a,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){p(r);return}n++,e.onFail?.(n,r),w(s).then(()=>u()?void 0:m()).then(()=>{t?p(r):h()})})};return{promise:a,status:()=>a.status,cancel:s,continue:()=>(i?.(),a),cancelRetry:c,continueRetry:l,canStart:d,start:()=>(d()?h():m().then(h),a)}}var V=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),u(this.gcTime)&&(this.#e=a.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(j.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(a.clearTimeout(this.#e),this.#e=void 0)}};function H(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{A(e,()=>t.signal,()=>n=!0)},u=k(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?D:E;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?W:U,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:U(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function U(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function W(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var G=class extends V{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=J(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=J(this.options);e.data!==void 0&&(this.setState(q(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=T(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(c).catch(c):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>p(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===O||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>f(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!d(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=k(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?H(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=B({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof z&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof z){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...K(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...q(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),F.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function K(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:R(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function q(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function J(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var Y=class extends V{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||X(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=B({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),F.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function X(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Z=class extends n{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Y({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Q(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Q(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Q(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Q(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){F.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>h(t,e))}findAll(e={}){return this.getAll().filter(t=>h(e,t))}notify(e){F.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return F.batch(()=>Promise.all(e.map(e=>e.continue().catch(c))))}};function Q(e){return e.options.scope?.id}var $=class extends n{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??g(r,t),a=this.get(i);return a||(a=new G({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){F.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>m(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>m(e,t)):t}notify(e){F.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){F.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){F.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ee=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new $,this.#t=e.mutationCache||new Z,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=r.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=I.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(f(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=l(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return F.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;F.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return F.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=F.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(c).catch(c)}invalidateQueries(e,t={}){return F.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=F.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(c)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(c)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(f(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(c).catch(c)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(c).catch(c)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return I.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(_(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{v(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(_(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{v(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=g(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===O&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},te=class n{constructor(e={}){this.availableDatasets=[],this.apiUrl=e.apiUrl||`https://api.luzmo.com`,this.apiVersion=e.apiVersion||`0.1.0`,this.authKey=e.authKey||``,this.authToken=e.authToken||``,this.queryClient=new ee({defaultOptions:{queries:{staleTime:e.staleTime||300*1e3,gcTime:e.gcTime||600*1e3,retry:e.retry||3,retryDelay:e.retryDelay||(e=>Math.min(1e3*2**e,3e4))}}}),this.initNetworkListeners()}_normalizeUrl(e){try{let t=new URL(e);return t.origin+t.pathname.replace(/\/$/,``)}catch{return e}}configure(e={}){let t=e.apiUrl===void 0?void 0:this._normalizeUrl(e.apiUrl),n=this._normalizeUrl(this.apiUrl),r=e.authKey!==void 0&&e.authKey!==``&&e.authKey!==this.authKey||e.authToken!==void 0&&e.authToken!==``&&e.authToken!==this.authToken||t!==void 0&&t!==n;if(e.apiVersion&&(this.apiVersion=e.apiVersion),e.apiUrl!==void 0&&(this.apiUrl=e.apiUrl),e.authKey!==void 0&&(this.authKey=e.authKey),e.authToken!==void 0&&(this.authToken=e.authToken),r&&(this.queryClient.clear(),this.availableDatasets=[]),e.staleTime||e.gcTime||e.retry){let t={};e.staleTime&&(t.staleTime=e.staleTime),e.gcTime&&(t.gcTime=e.gcTime),e.retry&&(t.retry=e.retry),this.queryClient.setDefaultOptions({queries:{...this.queryClient.getDefaultOptions().queries,...t}})}}clearLocalCache(){this.queryClient.clear(),this.availableDatasets=[]}initNetworkListeners(){typeof window<`u`&&window.addEventListener(`online`,()=>{console.warn(`Network connection restored, refreshing data...`),this.refreshAll()})}getHeaders(e={}){return{"Content-Type":`application/json`,...e}}async fetchApi(e,t,n={}){let r=`${this.apiUrl}/${this.apiVersion}${e}`,i={method:n.method||`POST`,headers:this.getHeaders(n.headers),mode:`cors`,...n};t!==void 0&&(t.key=this.authKey,t.token=this.authToken,i.body=JSON.stringify(t));try{let t=await fetch(r,i);if(!t.ok){let n=await t.json().catch(()=>null);throw t.status===401||t.status===403?Error(`Authentication failed. Please check your API token.`):t.status===404?Error(`Resource not found: ${e}`):t.status===429?Error(`Rate limit exceeded. Please try again later.`):Error(n?.message||`API request failed with status ${t.status}`)}return await t.json()}catch(t){throw console.error(`API request to ${e} failed:`,t),t instanceof Error&&(t.endpoint=e,t.timestamp=new Date().toISOString()),t}}async fetchAllDatasets(e={}){let t=e.offset||0,n=e.limit||50,r=[`datasets`,t,n];return await this.queryClient.fetchQuery({queryKey:r,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`},attributes:[`id`,`name`,`description`],limit:n,offset:t}},r=await this.fetchApi(`/securable`,e);return{data:r?.rows??[],pagination:{offset:t,limit:n,total:r?.count??0,pages:Math.ceil((r?.count??0)/n)}}}})}async searchDatasets(e,t){if(!e)return{data:[]};let n=[`datasets`,`search`,e,t];return await this.queryClient.fetchQuery({queryKey:n,queryFn:async()=>{let n={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`}}};e?.length>0&&(n.find.search={match_types:[`name`],keyphrase:e}),t?.offset&&(n.find.offset=t?.offset),t?.limit&&(n.find.limit=t?.limit);let r=await this.fetchApi(`/securable`,n),i={data:r?.rows??[]};return t?.limit&&(i.pagination={offset:t?.offset??0,limit:t?.limit,total:r?.count??0,pages:Math.ceil((r?.count??0)/t?.limit)}),i}})}async fetchDatasetNames(t){if(!t||t.length===0)throw Error(`At least one dataset ID is required`);let{valid:n,invalid:r}=e(t);if(r.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${r.join(`, `)}. These will be skipped.`),n.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let i=[`dataset-names`,n,this.authKey,this.authToken];return await this.queryClient.fetchQuery({queryKey:i,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`,id:{in:n}},attributes:[`name`,`id`,`description`]}};return(await this.fetchApi(`/securable`,e))?.rows??[]}})}async fetchDatasetsWithColumnsAndFormulas(t){if(!t||t.length===0)throw Error(`At least one dataset ID is required`);let{valid:n,invalid:r}=e(t);if(r.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${r.join(`, `)}. These will be skipped.`),n.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let i=[`datasets`,n,this.authKey,this.authToken];return await this.queryClient.fetchQuery({queryKey:i,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`,id:{in:n}},attributes:[`name`,`id`,`description`],include:[{model:`Column`,attributes:[`id`,`name`,`description`,`type`,`subtype`,`format`,`hidden`,`lowestLevel`,`expression`,`duration_levels`,`duration_format`],separate:!0,order:[[`order`,`asc`]],include:[{model:`Column`,attributes:[`id`,`securable_id`,`hierarchy_enabled`,`currency_id`],as:`Joins`},{model:`HierarchyLevel`,attributes:[`id`,`level`,`name`],as:`HierarchyLevels`},{model:`Currency`,attributes:[`id`,`name`,`symbol`],as:`Currency`}]},{model:`Formula`,attributes:[`id`,`name`,`description`,`type`,`subtype`,`format`,`hidden`,`lowestLevel`,`expression`,`duration_levels`,`duration_format`],include:[{model:`Currency`,attributes:[`id`,`name`,`symbol`],as:`Currency`}]}]}};return(await this.fetchApi(`/securable`,e))?.rows??[]}})}async fetchData(e){if(!e)throw Error(`Query is required`);let t=[`data`,e];return await this.queryClient.fetchQuery({queryKey:t,queryFn:async()=>{let t={action:`get`,version:this.apiVersion,find:{queries:[e]}},n=await this.fetchApi(`/data`,t);return{data:n?.data||[],performance:n?.performance||{}}}})}getCachedData(e){let t=[`data`,e],n=this.queryClient.getQueryState(t),r=this.queryClient.getDefaultOptions().queries?.staleTime;if(!(!n?.data||n.isInvalidated||typeof r!=`number`)&&!(r!==1/0&&Date.now()-n.dataUpdatedAt>r))return n.data}async validate(e,t){if(!t?.expression)return{valid:!1};let n={action:`validate`,version:this.apiVersion,properties:t},r=await this.fetchApi(`/${e}`,n);return{valid:!!r?.valid,reason:r?.reason??r?.error,explanation:r?.explanation,type:r?.type}}async fetchTheme(e){if(!e)throw Error(`Theme ID is required`);let t=[`theme`,e];return await this.queryClient.fetchQuery({queryKey:t,queryFn:async()=>(await this.fetchApi(`/theme`,{action:`get`,version:this.apiVersion,find:{where:{id:e}}}))?.rows?.[0]})}refreshAll(){this.queryClient.refetchQueries()}invalidateDatasetData(e){e?(this.queryClient.invalidateQueries({queryKey:[`dataset`,e]}),this.queryClient.invalidateQueries({queryKey:[`columns`,e]})):this.queryClient.invalidateQueries({queryKey:[`datasets`]})}invalidateAll(){this.queryClient.clear()}static getInstance(e={}){return n.instance?Object.keys(e).length>0&&n.instance.configure(e):n.instance=new n(e),n.instance}async fetchDatasetsRecursive(n){if(!n||n.length===0)throw Error(`At least one dataset ID is required`);let{valid:r,invalid:i}=e(n);if(i.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${i.join(`, `)}. These will be skipped.`),r.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let a=[...new Set(r)],o=new Set,s=new Map,c=e=>{e&&t(e)&&!o.has(e)&&!a.includes(e)&&a.push(e)};for(;a.length>0;){let e=[];for(;a.length>0&&e.length<50;){let t=a.shift();o.has(t)||e.push(t)}if(e.length!==0)try{(await this.fetchDatasetsWithColumnsAndFormulas(e)).forEach(e=>{let t=this.postProcessDatasetMetadata(e);o.add(t.id),this.queryClient.setQueryData([`dataset`,t.id],t),(t.outgoingJoins??[]).map(e=>e.securable_id).filter(e=>!!e&&e!==t.id).forEach(e=>{c(e)}),s.set(t.id,t),this.availableDatasets.some(e=>e.id===t.id)||this.availableDatasets.push({id:t.id,name:t.name,columns:t.columns})})}catch(e){console.error(`Error fetching datasets recursively:`,e)}}return[...s.values()]}postProcessDatasetMetadata(e){let t=[],n=(e.columns??[]).map(e=>{let n=e.joins??(Array.isArray(e.joins)?e.joins:[]);Array.isArray(n)&&n.length>0&&t.push(...n);let{joins:r,...i}=e;return{...i,joins:n}});return{...e,columns:n,formulas:e.formulas??[],outgoingJoins:t,dateLoaded:new Date}}getAvailableDatasets(){return this.availableDatasets}getLinkedDatasetsIds(e){let t=this.queryClient.getQueryData([`dataset`,e]);return t?(t.outgoingJoins??[]).map(e=>e.securable_id).filter(t=>!!t&&t!==e):[]}}.getInstance();export{te as t};
2
+ import{c as e,s as t}from"./type-check-CC6bgirK.js";var n=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},r=new class extends n{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},i={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},a=new class{#e=i;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function o(e){setTimeout(e,0)}var s=typeof window>`u`||`Deno`in globalThis;function c(){}function l(e,t){return typeof e==`function`?e(t):e}function u(e){return typeof e==`number`&&e>=0&&e!==1/0}function d(e,t){return Math.max(e+(t||0)-Date.now(),0)}function f(e,t){return typeof e==`function`?e(t):e}function p(e,t){return typeof e==`function`?e(t):e}function m(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==g(o,t.options))return!1}else if(!v(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function h(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(_(t.options.mutationKey)!==_(a))return!1}else if(!v(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function g(e,t){return(t?.queryKeyHashFn||_)(e)}function _(e){return JSON.stringify(e,(e,t)=>S(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function v(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>v(e[n],t[n])):!1}var y=Object.prototype.hasOwnProperty;function b(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=x(e)&&x(t);if(!r&&!(S(e)&&S(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:y.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=b(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function x(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function S(e){if(!C(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!C(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function C(e){return Object.prototype.toString.call(e)===`[object Object]`}function w(e){return new Promise(t=>{a.setTimeout(t,e)})}function T(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:b(e,t)}function E(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function D(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var O=Symbol();function k(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===O?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function A(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var j=(()=>{let e=()=>s;return{isServer(){return e()},setIsServer(t){e=t}}})();function M(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var N=o;function P(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=N,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var F=P(),I=new class extends n{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function L(e){return Math.min(1e3*2**e,3e4)}function R(e){return(e??`online`)!==`online`||I.isOnline()}var z=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function B(e){let t=!1,n=0,i,a=M(),o=()=>a.status!==`pending`,s=t=>{if(!o()){let n=new z(t);p(n),e.onCancel?.(n)}},c=()=>{t=!0},l=()=>{t=!1},u=()=>r.isFocused()&&(e.networkMode===`always`||I.isOnline())&&e.canRun(),d=()=>R(e.networkMode)&&e.canRun(),f=e=>{o()||(i?.(),a.resolve(e))},p=e=>{o()||(i?.(),a.reject(e))},m=()=>new Promise(t=>{i=e=>{(o()||u())&&t(e)},e.onPause?.()}).then(()=>{i=void 0,o()||e.onContinue?.()}),h=()=>{if(o())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(f).catch(r=>{if(o())return;let i=e.retry??(j.isServer()?0:3),a=e.retryDelay??L,s=typeof a==`function`?a(n,r):a,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){p(r);return}n++,e.onFail?.(n,r),w(s).then(()=>u()?void 0:m()).then(()=>{t?p(r):h()})})};return{promise:a,status:()=>a.status,cancel:s,continue:()=>(i?.(),a),cancelRetry:c,continueRetry:l,canStart:d,start:()=>(d()?h():m().then(h),a)}}var V=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),u(this.gcTime)&&(this.#e=a.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(j.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(a.clearTimeout(this.#e),this.#e=void 0)}};function H(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{A(e,()=>t.signal,()=>n=!0)},u=k(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?D:E;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?W:U,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:U(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function U(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function W(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var G=class extends V{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=J(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=J(this.options);e.data!==void 0&&(this.setState(q(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=T(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(c).catch(c):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>p(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===O||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>f(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!d(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=k(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?H(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=B({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof z&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof z){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...K(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...q(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),F.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function K(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:R(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function q(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function J(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var Y=class extends V{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||X(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=B({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),F.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function X(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Z=class extends n{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Y({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Q(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Q(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Q(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Q(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){F.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>h(t,e))}findAll(e={}){return this.getAll().filter(t=>h(e,t))}notify(e){F.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return F.batch(()=>Promise.all(e.map(e=>e.continue().catch(c))))}};function Q(e){return e.options.scope?.id}var ee=class extends n{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??g(r,t),a=this.get(i);return a||(a=new G({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){F.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>m(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>m(e,t)):t}notify(e){F.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){F.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){F.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},te=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new ee,this.#t=e.mutationCache||new Z,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=r.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=I.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(f(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=l(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return F.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;F.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return F.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=F.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(c).catch(c)}invalidateQueries(e,t={}){return F.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=F.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(c)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(c)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(f(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(c).catch(c)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(c).catch(c)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return I.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(_(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{v(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(_(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{v(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=g(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===O&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},$=class n{constructor(e={}){this.availableDatasets=[],this.apiUrl=e.apiUrl||`https://api.luzmo.com`,this.apiVersion=e.apiVersion||`0.1.0`,this.authKey=e.authKey||``,this.authToken=e.authToken||``,this.queryClient=new te({defaultOptions:{queries:{staleTime:e.staleTime||300*1e3,gcTime:e.gcTime||600*1e3,retry:e.retry||3,retryDelay:e.retryDelay||(e=>Math.min(1e3*2**e,3e4))}}}),e.skipNetworkListeners||this.initNetworkListeners()}_normalizeUrl(e){try{let t=new URL(e);return t.origin+t.pathname.replace(/\/$/,``)}catch{return e}}configure(e={}){let t=e.apiUrl===void 0?void 0:this._normalizeUrl(e.apiUrl),n=this._normalizeUrl(this.apiUrl),r=e.authKey!==void 0&&e.authKey!==``&&e.authKey!==this.authKey||e.authToken!==void 0&&e.authToken!==``&&e.authToken!==this.authToken||t!==void 0&&t!==n;if(e.apiVersion&&(this.apiVersion=e.apiVersion),e.apiUrl!==void 0&&(this.apiUrl=e.apiUrl),e.authKey!==void 0&&(this.authKey=e.authKey),e.authToken!==void 0&&(this.authToken=e.authToken),r&&(this.queryClient.clear(),this.availableDatasets=[]),e.staleTime||e.gcTime||e.retry){let t={};e.staleTime&&(t.staleTime=e.staleTime),e.gcTime&&(t.gcTime=e.gcTime),e.retry&&(t.retry=e.retry),this.queryClient.setDefaultOptions({queries:{...this.queryClient.getDefaultOptions().queries,...t}})}}clearLocalCache(){this.queryClient.clear(),this.availableDatasets=[]}initNetworkListeners(){typeof window<`u`&&window.addEventListener(`online`,()=>{console.warn(`Network connection restored, refreshing data...`),this.refreshAll()})}getHeaders(e={}){return{"Content-Type":`application/json`,...e}}async fetchApi(e,t,n={}){let r=`${this.apiUrl}/${this.apiVersion}${e}`,i={method:n.method||`POST`,headers:this.getHeaders(n.headers),mode:`cors`,...n};t!==void 0&&(t.key=this.authKey,t.token=this.authToken,i.body=JSON.stringify(t));try{let t=await fetch(r,i);if(!t.ok){let n=await t.json().catch(()=>null);throw t.status===401||t.status===403?Error(`Authentication failed. Please check your API token.`):t.status===404?Error(`Resource not found: ${e}`):t.status===429?Error(`Rate limit exceeded. Please try again later.`):Error(n?.message||`API request failed with status ${t.status}`)}return await t.json()}catch(t){throw console.error(`API request to ${e} failed:`,t),t instanceof Error&&(t.endpoint=e,t.timestamp=new Date().toISOString()),t}}async fetchAllDatasets(e={}){let t=e.offset||0,n=e.limit||50,r=[`datasets`,t,n];return await this.queryClient.fetchQuery({queryKey:r,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`},attributes:[`id`,`name`,`description`],limit:n,offset:t}},r=await this.fetchApi(`/securable`,e);return{data:r?.rows??[],pagination:{offset:t,limit:n,total:r?.count??0,pages:Math.ceil((r?.count??0)/n)}}}})}async searchDatasets(e,t){if(!e)return{data:[]};let n=[`datasets`,`search`,e,t];return await this.queryClient.fetchQuery({queryKey:n,queryFn:async()=>{let n={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`}}};e?.length>0&&(n.find.search={match_types:[`name`],keyphrase:e}),t?.offset&&(n.find.offset=t?.offset),t?.limit&&(n.find.limit=t?.limit);let r=await this.fetchApi(`/securable`,n),i={data:r?.rows??[]};return t?.limit&&(i.pagination={offset:t?.offset??0,limit:t?.limit,total:r?.count??0,pages:Math.ceil((r?.count??0)/t?.limit)}),i}})}async fetchDatasetNames(t){if(!t||t.length===0)throw Error(`At least one dataset ID is required`);let{valid:n,invalid:r}=e(t);if(r.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${r.join(`, `)}. These will be skipped.`),n.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let i=[`dataset-names`,n,this.authKey,this.authToken];return await this.queryClient.fetchQuery({queryKey:i,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`,id:{in:n}},attributes:[`name`,`id`,`description`]}};return(await this.fetchApi(`/securable`,e))?.rows??[]}})}async fetchDatasetsWithColumnsAndFormulas(t){if(!t||t.length===0)throw Error(`At least one dataset ID is required`);let{valid:n,invalid:r}=e(t);if(r.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${r.join(`, `)}. These will be skipped.`),n.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let i=[`datasets`,n,this.authKey,this.authToken];return await this.queryClient.fetchQuery({queryKey:i,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`,id:{in:n}},attributes:[`name`,`id`,`description`],include:[{model:`Column`,attributes:[`id`,`name`,`description`,`type`,`subtype`,`format`,`hidden`,`lowestLevel`,`expression`,`duration_levels`,`duration_format`],separate:!0,order:[[`order`,`asc`]],include:[{model:`Column`,attributes:[`id`,`securable_id`,`hierarchy_enabled`,`currency_id`],as:`Joins`},{model:`HierarchyLevel`,attributes:[`id`,`level`,`name`],as:`HierarchyLevels`},{model:`Currency`,attributes:[`id`,`name`,`symbol`],as:`Currency`}]},{model:`Formula`,attributes:[`id`,`name`,`description`,`type`,`subtype`,`format`,`hidden`,`lowestLevel`,`expression`,`duration_levels`,`duration_format`],include:[{model:`Currency`,attributes:[`id`,`name`,`symbol`],as:`Currency`}]}]}};return(await this.fetchApi(`/securable`,e))?.rows??[]}})}async fetchData(e){if(!e)throw Error(`Query is required`);let t=[`data`,e];return await this.queryClient.fetchQuery({queryKey:t,queryFn:async()=>{let t={action:`get`,version:this.apiVersion,find:{queries:[e]}},n=await this.fetchApi(`/data`,t);return{data:n?.data||[],performance:n?.performance||{}}}})}getCachedData(e){let t=[`data`,e],n=this.queryClient.getQueryState(t),r=this.queryClient.getDefaultOptions().queries?.staleTime;if(!(!n?.data||n.isInvalidated||typeof r!=`number`)&&!(r!==1/0&&Date.now()-n.dataUpdatedAt>r))return n.data}async validate(e,t){if(!t?.expression)return{valid:!1};let n={action:`validate`,version:this.apiVersion,properties:t},r=await this.fetchApi(`/${e}`,n);return{valid:!!r?.valid,reason:r?.reason??r?.error,explanation:r?.explanation,type:r?.type}}async fetchTheme(e){if(!e)throw Error(`Theme ID is required`);let t=[`theme`,e];return await this.queryClient.fetchQuery({queryKey:t,queryFn:async()=>(await this.fetchApi(`/theme`,{action:`get`,version:this.apiVersion,find:{where:{id:e}}}))?.rows?.[0]})}refreshAll(){this.queryClient.refetchQueries()}invalidateDatasetData(e){e?(this.queryClient.invalidateQueries({queryKey:[`dataset`,e]}),this.queryClient.invalidateQueries({queryKey:[`columns`,e]})):this.queryClient.invalidateQueries({queryKey:[`datasets`]})}invalidateAll(){this.queryClient.clear()}static getInstance(e={}){return n.instance?Object.keys(e).length>0&&n.instance.configure(e):n.instance=new n(e),n.instance}async fetchDatasetsRecursive(n){if(!n||n.length===0)throw Error(`At least one dataset ID is required`);let{valid:r,invalid:i}=e(n);if(i.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${i.join(`, `)}. These will be skipped.`),r.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let a=[...new Set(r)],o=new Set,s=new Map,c=e=>{e&&t(e)&&!o.has(e)&&!a.includes(e)&&a.push(e)};for(;a.length>0;){let e=[];for(;a.length>0&&e.length<50;){let t=a.shift();o.has(t)||e.push(t)}if(e.length!==0)try{(await this.fetchDatasetsWithColumnsAndFormulas(e)).forEach(e=>{let t=this.postProcessDatasetMetadata(e);o.add(t.id),this.queryClient.setQueryData([`dataset`,t.id],t),(t.outgoingJoins??[]).map(e=>e.securable_id).filter(e=>!!e&&e!==t.id).forEach(e=>{c(e)}),s.set(t.id,t),this.availableDatasets.some(e=>e.id===t.id)||this.availableDatasets.push({id:t.id,name:t.name,columns:t.columns})})}catch(e){console.error(`Error fetching datasets recursively:`,e)}}return[...s.values()]}postProcessDatasetMetadata(e){let t=[],n=(e.columns??[]).map(e=>{let n=e.joins??(Array.isArray(e.joins)?e.joins:[]);Array.isArray(n)&&n.length>0&&t.push(...n);let{joins:r,...i}=e;return{...i,joins:n}});return{...e,columns:n,formulas:e.formulas??[],outgoingJoins:t,dateLoaded:new Date}}getAvailableDatasets(){return this.availableDatasets}getLinkedDatasetsIds(e){let t=this.queryClient.getQueryData([`dataset`,e]);return t?(t.outgoingJoins??[]).map(e=>e.securable_id).filter(t=>!!t&&t!==e):[]}},ne=$.getInstance();export{ne as n,$ as t};