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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1112) hide show
  1. package/README.md +7 -1
  2. package/components/add-to-dashboard/add-to-dashboard.d.ts +134 -0
  3. package/components/add-to-dashboard/dashboard-actions.d.ts +14 -0
  4. package/components/add-to-dashboard/helpers/add-to-dashboard-helpers.d.ts +3 -0
  5. package/components/add-to-dashboard/index.cjs +20 -0
  6. package/components/add-to-dashboard/index.d.ts +11 -0
  7. package/components/add-to-dashboard/index.js +21 -0
  8. package/components/add-to-dashboard/types.d.ts +7 -0
  9. package/components/add-to-dashboard-BY70QBzE.js +805 -0
  10. package/components/add-to-dashboard-nYUaDghN.cjs +166 -0
  11. package/components/ai-chat/ai-chat-request.d.ts +1 -1
  12. package/components/ai-chat/ai-chat.d.ts +12 -4
  13. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +9 -2
  14. package/components/ai-chat/helpers/elicitation-template.d.ts +3 -1
  15. package/components/ai-chat/index.cjs +1 -1
  16. package/components/ai-chat/index.d.ts +2 -2
  17. package/components/ai-chat/index.js +2 -9
  18. package/components/ai-chat-DfuJOWao.cjs +338 -0
  19. package/components/ai-chat-DmDtBF47.js +4325 -0
  20. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +8 -1
  21. package/components/ai-interaction-textarea/index.cjs +1 -1
  22. package/components/ai-interaction-textarea/index.js +1 -8
  23. package/components/ai-interaction-textarea-6ECwAdeT.js +823 -0
  24. package/components/ai-interaction-textarea-CRyyTj_B.cjs +101 -0
  25. package/components/area-chart-positioning.config-CoCdjr2E.cjs +20 -0
  26. package/components/area-chart-positioning.config-o-uJPEr5.js +55 -0
  27. package/components/bar-chart-positioning.config-CZgrS6lc.js +59 -0
  28. package/components/bar-chart-positioning.config-fsB82756.cjs +20 -0
  29. package/components/base-BmvsQ-s1.cjs +20 -0
  30. package/components/base-CrpOMVeU.js +248 -0
  31. package/components/base-store-CkIsrRcu.cjs +20 -0
  32. package/components/base-store-gYqg__8A.js +151 -0
  33. package/components/box-plot-positioning.config-BMfGGDfe.cjs +20 -0
  34. package/components/box-plot-positioning.config-CDq460FI.js +48 -0
  35. package/components/bubble-chart-positioning.config-C9MmTtTX.cjs +20 -0
  36. package/components/bubble-chart-positioning.config-DWfz4tud.js +55 -0
  37. package/components/bullet-chart-positioning.config-BwHPM5ui.cjs +20 -0
  38. package/components/bullet-chart-positioning.config-DmSlVIjL.js +56 -0
  39. package/components/chart-helpers-DQS2iqSd.js +250 -0
  40. package/components/chart-helpers-ufZ6VbXs.cjs +20 -0
  41. package/components/choropleth-map-options.config-CP-IK-4W.js +352 -0
  42. package/components/choropleth-map-options.config-DSXndhIY.cjs +20 -0
  43. package/components/choropleth-map-positioning.config-C0m6zzD3.cjs +20 -0
  44. package/components/choropleth-map-positioning.config-cjBzi_Db.js +55 -0
  45. package/components/circle-pack-chart-positioning.config-BAFFQSHe.cjs +20 -0
  46. package/components/circle-pack-chart-positioning.config-CY2rLb57.js +48 -0
  47. package/components/circular-gauge-positioning.config-6pZUNxYa.js +48 -0
  48. package/components/circular-gauge-positioning.config-BfWAjAY2.cjs +20 -0
  49. package/components/color-B7SELPGq.js +3812 -0
  50. package/components/color-BIEQvHs4.cjs +20 -0
  51. package/components/color-range-utils-6oEqHV0y.js +63 -0
  52. package/components/color-range-utils-Bgzuy2bR.cjs +20 -0
  53. package/components/column-chart-positioning.config-hrAvNd7T.js +55 -0
  54. package/components/column-chart-positioning.config-xgRuA_l5.cjs +20 -0
  55. package/components/combination-chart-positioning.config-BI8HroaG.js +48 -0
  56. package/components/combination-chart-positioning.config-D0TU4hge.cjs +20 -0
  57. package/components/conditional-number-positioning.config-B_yISWne.cjs +20 -0
  58. package/components/conditional-number-positioning.config-CWaDhMLA.js +48 -0
  59. package/components/data-broker-Cb-Fq9xy.cjs +20 -0
  60. package/components/data-broker-DNfq_8Lg.js +1695 -0
  61. package/components/data-field/index.cjs +1 -1
  62. package/components/data-field/index.js +1 -8
  63. package/components/data-field-D4YFqg1H.js +119 -0
  64. package/components/data-field-Hi-ITTzx.cjs +54 -0
  65. package/components/data-field-level/index.cjs +1 -1
  66. package/components/data-field-level/index.js +1 -8
  67. package/components/data-field-level-BWQPtFP5.cjs +55 -0
  68. package/components/data-field-level-CB5GtdU5.js +245 -0
  69. package/components/data-field-panel/index.cjs +1 -1
  70. package/components/data-field-panel/index.js +1 -8
  71. package/components/data-field-panel-64HoViNT.js +383 -0
  72. package/components/data-field-panel-DzKwmQi_.cjs +87 -0
  73. package/components/data-fields-select/data-fields-select.d.ts +1 -1
  74. package/components/data-fields-select/index.cjs +1 -1
  75. package/components/data-fields-select/index.js +1 -8
  76. package/components/data-fields-select-BOwoWq0j.js +290 -0
  77. package/components/data-fields-select-DXv6PQHG.cjs +43 -0
  78. package/components/dataset-icon/dataset-icon.d.ts +5 -4
  79. package/components/dataset-icon/index.cjs +1 -1
  80. package/components/dataset-icon/index.js +1 -8
  81. package/components/dataset-icon-Bag_eDv8.js +115 -0
  82. package/components/dataset-icon-CWKBYjGJ.cjs +62 -0
  83. package/components/dataset-selector-list/index.cjs +1 -1
  84. package/components/dataset-selector-list/index.js +1 -8
  85. package/components/dataset-selector-list-DFC2bvn0.js +321 -0
  86. package/components/dataset-selector-list-_AL1-GWw.cjs +75 -0
  87. package/components/dataset-selector-row/dataset-selector-row.d.ts +10 -1
  88. package/components/dataset-selector-row/index.cjs +1 -1
  89. package/components/dataset-selector-row/index.js +1 -8
  90. package/components/dataset-selector-row-By2ko-Rd.cjs +104 -0
  91. package/components/dataset-selector-row-DC6mrVyF.js +448 -0
  92. package/components/de-CjQMTFtl.cjs +20 -0
  93. package/components/de-Yl3kqB03.js +594 -0
  94. package/components/defineProperty-AldSMFEH.js +58 -0
  95. package/components/defineProperty-X1c4tIPD.cjs +20 -0
  96. package/components/display-settings/display-settings.d.ts +2 -2
  97. package/components/display-settings/index.cjs +1 -1
  98. package/components/display-settings/index.js +1 -8
  99. package/components/display-settings-B2V_F_CU.cjs +142 -0
  100. package/components/display-settings-BsCKV9ae.js +316 -0
  101. package/components/display-settings-binning/index.cjs +1 -1
  102. package/components/display-settings-binning/index.js +1 -8
  103. package/components/display-settings-binning-BdtxayZT.cjs +56 -0
  104. package/components/display-settings-binning-CkrbhPVB.js +111 -0
  105. package/components/display-settings-datetime/index.cjs +1 -1
  106. package/components/display-settings-datetime/index.js +1 -8
  107. package/components/display-settings-datetime-CpFyrcGk.cjs +217 -0
  108. package/components/display-settings-datetime-mVh5Tjrx.js +414 -0
  109. package/components/display-settings-grand-totals/index.cjs +1 -1
  110. package/components/display-settings-grand-totals/index.js +1 -8
  111. package/components/display-settings-grand-totals-CwOGoE06.cjs +44 -0
  112. package/components/display-settings-grand-totals-D7unOEKl.js +90 -0
  113. package/components/display-settings-numeric/index.cjs +1 -1
  114. package/components/display-settings-numeric/index.js +1 -8
  115. package/components/display-settings-numeric-DDZyFNFF.js +480 -0
  116. package/components/display-settings-numeric-DhiXPU3f.cjs +190 -0
  117. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +2 -2
  118. package/components/display-settings-period-over-period/index.cjs +1 -1
  119. package/components/display-settings-period-over-period/index.js +1 -8
  120. package/components/display-settings-period-over-period-BNFjbgP0.cjs +227 -0
  121. package/components/display-settings-period-over-period-Hd172SzT.js +443 -0
  122. package/components/donut-chart-positioning.config-B2CrxOig.js +48 -0
  123. package/components/donut-chart-positioning.config-DQb53kWI.cjs +20 -0
  124. package/components/es-Ctf1SIsp.js +594 -0
  125. package/components/es-DmmTP7D0.cjs +20 -0
  126. package/components/evolution-number-positioning.config-BdH8pv6_.js +48 -0
  127. package/components/evolution-number-positioning.config-BzBsGcD4.cjs +20 -0
  128. package/components/filter-expression-picker/index.cjs +1 -1
  129. package/components/filter-expression-picker/index.js +1 -8
  130. package/components/filter-expression-picker-Bn_jAdQX.cjs +40 -0
  131. package/components/filter-expression-picker-Cjr8xWxy.js +434 -0
  132. package/components/filter-item/filter-item.d.ts +1 -1
  133. package/components/filter-item/index.cjs +1 -1
  134. package/components/filter-item/index.js +1 -8
  135. package/components/filter-item-CHJDVOju.cjs +111 -0
  136. package/components/filter-item-D6y8eCmG.js +793 -0
  137. package/components/filter-parameter-picker/index.cjs +1 -1
  138. package/components/filter-parameter-picker/index.js +1 -8
  139. package/components/filter-parameter-picker-C955tF0T.js +372 -0
  140. package/components/filter-parameter-picker-jyrh3POQ.cjs +124 -0
  141. package/components/filter-value-picker/index.cjs +1 -1
  142. package/components/filter-value-picker/index.js +1 -8
  143. package/components/filter-value-picker-B8nA8hTV.js +170 -0
  144. package/components/filter-value-picker-DmWiNLZH.cjs +69 -0
  145. package/components/filter-value-picker-datetime/index.cjs +1 -1
  146. package/components/filter-value-picker-datetime/index.js +1 -8
  147. package/components/filter-value-picker-datetime-BAhXn1BS.js +160 -0
  148. package/components/filter-value-picker-datetime-U4XWKSFx.cjs +51 -0
  149. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  150. package/components/filter-value-picker-hierarchy/index.js +1 -8
  151. package/components/filter-value-picker-hierarchy-1ya1_rS3.cjs +54 -0
  152. package/components/filter-value-picker-hierarchy-CUPz5Ggs.js +316 -0
  153. package/components/filter-value-picker-numeric/index.cjs +1 -1
  154. package/components/filter-value-picker-numeric/index.js +1 -8
  155. package/components/filter-value-picker-numeric-D8mLaxzj.js +237 -0
  156. package/components/filter-value-picker-numeric-DrHdHj31.cjs +54 -0
  157. package/components/filters/index.cjs +1 -1
  158. package/components/filters/index.js +1 -8
  159. package/components/filters-Byy8HE19.js +927 -0
  160. package/components/filters-C8xz8DV-.cjs +199 -0
  161. package/components/formula/formula.d.ts +2 -2
  162. package/components/formula/index.cjs +1 -1
  163. package/components/formula/index.js +1 -8
  164. package/components/formula-C6dPJyKm.cjs +45 -0
  165. package/components/formula-D_ipR6d1.js +136 -0
  166. package/components/formula-codemirror/formula-codemirror.d.ts +2 -2
  167. package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +2 -2
  168. package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +2 -2
  169. package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +1 -1
  170. package/components/formula-codemirror-C1UFMf6i.cjs +215 -0
  171. package/components/formula-codemirror-CdlIly66.js +12008 -0
  172. package/components/formula-display-store-B0ifmvCi.cjs +20 -0
  173. package/components/formula-display-store-CfObcBCd.js +1087 -0
  174. package/components/formula-editor/formula-aggregations-list.d.ts +2 -2
  175. package/components/formula-editor/formula-datasets-list.d.ts +2 -2
  176. package/components/formula-editor/formula-description.d.ts +1 -1
  177. package/components/formula-editor/formula-editor.d.ts +1 -1
  178. package/components/formula-editor/formula-functions-list.d.ts +2 -2
  179. package/components/formula-editor/index.cjs +1 -1
  180. package/components/formula-editor/index.d.ts +3 -3
  181. package/components/formula-editor/index.js +3 -10
  182. package/components/formula-editor-B9ikCsLK.cjs +224 -0
  183. package/components/formula-editor-DJ-0AVCl.js +685 -0
  184. package/components/formula-field/formula-field.d.ts +1 -1
  185. package/components/formula-field/index.cjs +1 -1
  186. package/components/formula-field/index.js +1 -8
  187. package/components/formula-field-Bq-RYt0H.js +38 -0
  188. package/components/formula-field-CNqn6Xbh.cjs +20 -0
  189. package/components/formula-input-base-Dple-9bo.js +236 -0
  190. package/components/formula-input-base-KSmmN1uI.cjs +49 -0
  191. package/components/fr-DKDPLLAZ.cjs +20 -0
  192. package/components/fr-zWhjQv4B.js +594 -0
  193. package/components/funnel-chart-positioning.config-DgRle8n1.js +48 -0
  194. package/components/funnel-chart-positioning.config-DleNZIG-.cjs +20 -0
  195. package/components/get-dataset-name-3UfKdy0m.cjs +20 -0
  196. package/components/get-dataset-name-trrlomzY.js +32 -0
  197. package/components/grid-core-BFNgmaGk.js +4490 -0
  198. package/components/grid-core-DY0vyroD.cjs +68 -0
  199. package/components/grid-core.cjs +20 -0
  200. package/components/grid-core.js +21 -0
  201. package/components/groupings-B55Oba6e.js +52 -0
  202. package/components/groupings-DEpTt8DV.cjs +20 -0
  203. package/components/heat-map-options.config-D58595hz.js +226 -0
  204. package/components/heat-map-options.config-DhQrM9S9.cjs +20 -0
  205. package/components/heat-map-positioning.config-BTabq_f9.js +48 -0
  206. package/components/heat-map-positioning.config-DCB3Eagz.cjs +20 -0
  207. package/components/heat-table-options.config-AhmEjDAb.cjs +20 -0
  208. package/components/heat-table-options.config-x-KBTZo1.js +269 -0
  209. package/components/heat-table-positioning.config-Dnu133l4.cjs +20 -0
  210. package/components/heat-table-positioning.config-pK8Wn1dw.js +55 -0
  211. package/components/hexbin-map-positioning.config-DjYp-lX8.js +48 -0
  212. package/components/hexbin-map-positioning.config-IqRt8f29.cjs +20 -0
  213. package/components/index.cjs +1 -1
  214. package/components/index.js +69 -73
  215. package/components/interactive-viz-item/index.cjs +1 -1
  216. package/components/interactive-viz-item/index.d.ts +2 -0
  217. package/components/interactive-viz-item/index.js +3 -9
  218. package/components/interactive-viz-item/interactive-viz-item.d.ts +21 -4
  219. package/components/interactive-viz-item/load-add-to-dashboard.d.ts +1 -0
  220. package/components/interactive-viz-item-CM-LoEa5.cjs +261 -0
  221. package/components/interactive-viz-item-D6lWVMHb.js +528 -0
  222. package/components/item-grid/actions.d.ts +2 -1
  223. package/components/item-grid/helpers/grid-chart-rendering.d.ts +12 -0
  224. package/components/item-grid/helpers/grid-events.d.ts +1 -56
  225. package/components/item-grid/helpers/grid-interactions.d.ts +1 -88
  226. package/components/item-grid/helpers/grid-item-management.d.ts +5 -26
  227. package/components/item-grid/helpers/grid-item-popover.d.ts +1 -21
  228. package/components/item-grid/helpers/grid-items.d.ts +1 -9
  229. package/components/item-grid/helpers/grid-keyboard-updates.d.ts +1 -18
  230. package/components/item-grid/helpers/grid-keydown-event.d.ts +1 -18
  231. package/components/item-grid/helpers/grid-popover-cleanup.d.ts +1 -4
  232. package/components/item-grid/helpers/grid-rendering.d.ts +0 -50
  233. package/components/item-grid/helpers/grid-stack-lifecycle.d.ts +1 -26
  234. package/components/item-grid/helpers/grid-theme.d.ts +2 -14
  235. package/components/item-grid/helpers/grid-update-cycle.d.ts +1 -22
  236. package/components/item-grid/index.cjs +1 -1
  237. package/components/item-grid/index.d.ts +3 -3
  238. package/components/item-grid/index.js +3 -9
  239. package/components/item-grid/item-grid.d.ts +12 -207
  240. package/components/item-grid/types.d.ts +1 -57
  241. package/components/item-grid-CbXKsQm4.js +245 -0
  242. package/components/item-grid-DTishUCb.cjs +41 -0
  243. package/components/item-grid-item-actions-menu/index.cjs +20 -0
  244. package/components/item-grid-item-actions-menu/index.d.ts +8 -0
  245. package/components/item-grid-item-actions-menu/index.js +21 -0
  246. package/components/item-grid-item-actions-menu/item-grid-item-actions-menu.d.ts +70 -0
  247. package/components/item-grid-item-actions-menu/types.d.ts +11 -0
  248. package/components/item-grid-item-actions-menu-B7ylgTwO.js +199 -0
  249. package/components/item-grid-item-actions-menu-C3BUxZJc.cjs +52 -0
  250. package/components/item-option/index.cjs +1 -1
  251. package/components/item-option/index.js +1 -8
  252. package/components/item-option-BTSV33ft.cjs +269 -0
  253. package/components/item-option-BUju6ZE1.js +953 -0
  254. package/components/item-option-action-button-group/index.cjs +1 -1
  255. package/components/item-option-action-button-group/index.js +1 -8
  256. package/components/item-option-action-button-group-CuDeyDRi.cjs +53 -0
  257. package/components/item-option-action-button-group-DnTBh3R4.js +117 -0
  258. package/components/item-option-base-BIDIiNfI.js +120 -0
  259. package/components/item-option-base-C6RQH9M8.cjs +56 -0
  260. package/components/item-option-color-palette-picker/index.cjs +1 -1
  261. package/components/item-option-color-palette-picker/index.js +1 -8
  262. package/components/item-option-color-palette-picker-DbsqP2zA.js +2040 -0
  263. package/components/item-option-color-palette-picker-DsG-wxGB.cjs +40 -0
  264. package/components/item-option-color-picker/index.cjs +1 -1
  265. package/components/item-option-color-picker/index.js +1 -8
  266. package/components/item-option-color-picker-BUN5YK-t.cjs +34 -0
  267. package/components/item-option-color-picker-CKGUj3cW.js +86 -0
  268. package/components/item-option-color-range/index.cjs +1 -1
  269. package/components/item-option-color-range/index.js +1 -8
  270. package/components/item-option-color-range-BN81ePAI.cjs +98 -0
  271. package/components/item-option-color-range-dMehrwqA.js +219 -0
  272. package/components/item-option-guidelines/index.cjs +1 -1
  273. package/components/item-option-guidelines/index.js +1 -8
  274. package/components/item-option-guidelines-Bn1HSCgL.js +420 -0
  275. package/components/item-option-guidelines-CmPaMdqb.cjs +135 -0
  276. package/components/item-option-multi-language-field/index.cjs +1 -1
  277. package/components/item-option-multi-language-field/index.js +1 -8
  278. package/components/item-option-multi-language-field-BFgbOzMM.js +81 -0
  279. package/components/item-option-multi-language-field-Du609wC_.cjs +33 -0
  280. package/components/item-option-number-field/index.cjs +1 -1
  281. package/components/item-option-number-field/index.js +1 -8
  282. package/components/item-option-number-field-CDcf6_4D.js +101 -0
  283. package/components/item-option-number-field-CVAtj0UX.cjs +38 -0
  284. package/components/item-option-panel/index.cjs +1 -1
  285. package/components/item-option-panel/index.js +1 -8
  286. package/components/item-option-panel-0iHLl9-q.cjs +67 -0
  287. package/components/item-option-panel-DUlIB6qj.js +181 -0
  288. package/components/item-option-picker/index.cjs +1 -1
  289. package/components/item-option-picker/index.js +1 -8
  290. package/components/item-option-picker-ClKAGpgs.js +76 -0
  291. package/components/item-option-picker-Dkc3nd3x.cjs +37 -0
  292. package/components/item-option-position-picker/index.cjs +1 -1
  293. package/components/item-option-position-picker/index.js +1 -8
  294. package/components/item-option-position-picker-O8PpyiRv.js +116 -0
  295. package/components/item-option-position-picker-qCKh0Mfs.cjs +32 -0
  296. package/components/item-option-positions-number-field/index.cjs +1 -1
  297. package/components/item-option-positions-number-field/index.js +1 -8
  298. package/components/item-option-positions-number-field-CBx4uQ39.js +165 -0
  299. package/components/item-option-positions-number-field-Dfe4ufnF.cjs +49 -0
  300. package/components/item-option-radio-button-group/index.cjs +1 -1
  301. package/components/item-option-radio-button-group/index.js +1 -8
  302. package/components/item-option-radio-button-group-B5OVbLRg.cjs +37 -0
  303. package/components/item-option-radio-button-group-J_ZusHOP.js +73 -0
  304. package/components/item-option-slider/index.cjs +1 -1
  305. package/components/item-option-slider/index.js +1 -8
  306. package/components/item-option-slider-BDAEs7Fk.cjs +33 -0
  307. package/components/item-option-slider-V9z4qqyE.js +97 -0
  308. package/components/item-option-switch/index.cjs +1 -1
  309. package/components/item-option-switch/index.js +1 -8
  310. package/components/item-option-switch-BA4ifIHK.js +68 -0
  311. package/components/item-option-switch-Bzy2VRLg.cjs +30 -0
  312. package/components/item-option-text-field/index.cjs +1 -1
  313. package/components/item-option-text-field/index.js +1 -8
  314. package/components/item-option-text-field-C-sTkUre.cjs +33 -0
  315. package/components/item-option-text-field-Cf0khC48.js +79 -0
  316. package/components/item-options-configs.cjs +1 -1
  317. package/components/item-options-configs.js +5 -5
  318. package/components/item-slot-drop/index.cjs +1 -1
  319. package/components/item-slot-drop/index.js +1 -8
  320. package/components/item-slot-drop-D2VDgqYS.js +329 -0
  321. package/components/item-slot-drop-DrJRtG7b.cjs +91 -0
  322. package/components/item-slot-drop-panel/index.cjs +1 -1
  323. package/components/item-slot-drop-panel/index.js +1 -8
  324. package/components/item-slot-drop-panel-CCCOwtYM.js +353 -0
  325. package/components/item-slot-drop-panel-CFerKcdH.cjs +57 -0
  326. package/components/item-slot-picker/index.cjs +1 -1
  327. package/components/item-slot-picker/index.js +1 -8
  328. package/components/item-slot-picker-BdfYcBKT.js +503 -0
  329. package/components/item-slot-picker-aqePvZ9B.cjs +174 -0
  330. package/components/item-slot-picker-panel/index.cjs +1 -1
  331. package/components/item-slot-picker-panel/index.js +1 -8
  332. package/components/item-slot-picker-panel-DC3i7XZP.js +446 -0
  333. package/components/item-slot-picker-panel-dU6NywBo.cjs +81 -0
  334. package/components/line-chart-positioning.config-BW19v66B.js +55 -0
  335. package/components/line-chart-positioning.config-DX5mLAP7.cjs +20 -0
  336. package/components/load-data-fields-for-datasets-C4h8NWIE.cjs +20 -0
  337. package/components/load-data-fields-for-datasets-CInmiDlZ.js +42 -0
  338. package/components/localized-mixin-Bt25Frg1.cjs +20 -0
  339. package/components/localized-mixin-CYMFnS-n.js +45 -0
  340. package/components/marker-map-positioning.config-BJGwlWKz.js +48 -0
  341. package/components/marker-map-positioning.config-C0V5LZG-.cjs +20 -0
  342. package/components/nl-BrjaaktE.cjs +20 -0
  343. package/components/nl-TUFktGm6.js +594 -0
  344. package/components/ohlc-chart-positioning.config-Bu1_IBVK.cjs +20 -0
  345. package/components/ohlc-chart-positioning.config-CFvbZzCR.js +78 -0
  346. package/components/parallel-coordinates-plot-positioning.config-Bc3qCyxq.js +48 -0
  347. package/components/parallel-coordinates-plot-positioning.config-EJz1XA1k.cjs +20 -0
  348. package/components/pivot-table-positioning.config-Bay8gxV-.js +55 -0
  349. package/components/pivot-table-positioning.config-CMzGb-BR.cjs +20 -0
  350. package/components/pyramid-chart-positioning.config-BUSeYxYH.js +55 -0
  351. package/components/pyramid-chart-positioning.config-CrU2vKM-.cjs +20 -0
  352. package/components/radar-chart-positioning.config-BEzqTXyr.cjs +20 -0
  353. package/components/radar-chart-positioning.config-DOLpdn-d.js +55 -0
  354. package/components/route-map-options.config-BnufVGcz.js +328 -0
  355. package/components/route-map-options.config-DA3k24sP.cjs +20 -0
  356. package/components/route-map-positioning.config-BgjizdWh.cjs +20 -0
  357. package/components/route-map-positioning.config-Brg6_eCi.js +66 -0
  358. package/components/sankey-diagram-positioning.config-DJlWiNYL.js +66 -0
  359. package/components/sankey-diagram-positioning.config-vccTz1pG.cjs +20 -0
  360. package/components/scatter-plot-positioning.config-BKqPHMrS.js +77 -0
  361. package/components/scatter-plot-positioning.config-D7uFFBVZ.cjs +20 -0
  362. package/components/set-locale-Bgz1WNGE.cjs +20 -0
  363. package/components/set-locale-s-1X7Jce.js +43 -0
  364. package/components/slicer-filter-positioning.config-D1kR4xly.cjs +20 -0
  365. package/components/slicer-filter-positioning.config-Gl9jhO_G.js +48 -0
  366. package/components/slot-menu/index.cjs +1 -1
  367. package/components/slot-menu/index.js +1 -8
  368. package/components/slot-menu/types.d.ts +1 -1
  369. package/components/slot-menu-CAhxaK5-.cjs +71 -0
  370. package/components/slot-menu-Dw53Y-iu.js +429 -0
  371. package/components/slot-menu-list/index.cjs +1 -1
  372. package/components/slot-menu-list/index.js +1 -8
  373. package/components/slot-menu-list-5NsRo9XD.js +348 -0
  374. package/components/slot-menu-list-CUsmYkiV.cjs +44 -0
  375. package/components/speedometer-chart-positioning.config-VBLrLNmO.js +48 -0
  376. package/components/speedometer-chart-positioning.config-fa90zZdb.cjs +20 -0
  377. package/components/spike-map-options.config-34Vf0UbN.cjs +20 -0
  378. package/components/spike-map-options.config-CBpHkAfo.js +415 -0
  379. package/components/spike-map-positioning.config-DrxdeFsj.cjs +20 -0
  380. package/components/spike-map-positioning.config-oYjk3n9a.js +55 -0
  381. package/components/strip-plot-positioning.config-Bx_fqmEj.cjs +20 -0
  382. package/components/strip-plot-positioning.config-lMn33cM4.js +48 -0
  383. package/components/sunburst-chart-positioning.config-C-We-zZF.js +48 -0
  384. package/components/sunburst-chart-positioning.config-D-GRWmyF.cjs +20 -0
  385. package/components/superPropGet-CBezYwzm.js +52 -0
  386. package/components/superPropGet-DmmlTXgo.cjs +20 -0
  387. package/components/symbol-map-positioning.config-B0sLlLzK.cjs +20 -0
  388. package/components/symbol-map-positioning.config-_TJSfpVj.js +55 -0
  389. package/components/tokens-BWMfo_w4.cjs +20 -0
  390. package/components/tokens-Ov1pCR4Y.js +29 -0
  391. package/components/treemap-chart-positioning.config-CO05Gv7X.cjs +20 -0
  392. package/components/treemap-chart-positioning.config-DAdvoS2I.js +55 -0
  393. package/components/utils/base.cjs +1 -1
  394. package/components/utils/base.js +2 -2
  395. package/components/utils/store.cjs +1 -1
  396. package/components/utils/store.js +1 -1
  397. package/components/utils-CGJh0jrq.cjs +20 -0
  398. package/components/utils-Dk4dM9xv.js +240 -0
  399. package/components/utils.cjs +1 -1
  400. package/components/utils.js +3 -3
  401. package/components/venn-diagram-positioning.config-DKXWVaUI.cjs +20 -0
  402. package/components/venn-diagram-positioning.config-DUwmPQ1A.js +55 -0
  403. package/components/wordcloud-chart-positioning.config-CgbB_SI0.cjs +20 -0
  404. package/components/wordcloud-chart-positioning.config-qK5_CF7v.js +55 -0
  405. package/custom-elements.json +7065 -5792
  406. package/deprecated-react/components/add-to-dashboard.component.cjs +1 -0
  407. package/deprecated-react/components/item-grid-item-actions-menu.component.cjs +1 -0
  408. package/grid-core/helpers/grid-events.d.ts +56 -0
  409. package/grid-core/helpers/grid-interactions.d.ts +88 -0
  410. package/grid-core/helpers/grid-item-management.d.ts +28 -0
  411. package/grid-core/helpers/grid-item-popover.d.ts +21 -0
  412. package/grid-core/helpers/grid-items.d.ts +9 -0
  413. package/grid-core/helpers/grid-keyboard-updates.d.ts +18 -0
  414. package/grid-core/helpers/grid-keydown-event.d.ts +18 -0
  415. package/grid-core/helpers/grid-popover-cleanup.d.ts +4 -0
  416. package/grid-core/helpers/grid-rendering.d.ts +41 -0
  417. package/grid-core/helpers/grid-stack-lifecycle.d.ts +26 -0
  418. package/grid-core/helpers/grid-theme.d.ts +15 -0
  419. package/grid-core/helpers/grid-update-cycle.d.ts +22 -0
  420. package/grid-core/index.d.ts +5 -0
  421. package/grid-core/item-grid-base.d.ts +223 -0
  422. package/grid-core/types.d.ts +57 -0
  423. package/index.d.ts +2 -1
  424. package/package.json +20 -9
  425. package/react/components/add-to-dashboard.component.ts +30 -0
  426. package/react/components/ai-chat.component.ts +1 -1
  427. package/react/components/interactive-viz-item.component.ts +11 -5
  428. package/react/components/item-grid-item-actions-menu.component.ts +30 -0
  429. package/react/components/item-grid.component.ts +4 -1
  430. package/react/esm/components/add-to-dashboard.component.d.ts +14 -0
  431. package/react/esm/components/add-to-dashboard.component.js +19 -0
  432. package/react/esm/components/ai-chat.component.d.ts +1 -1
  433. package/react/esm/components/ai-chat.component.js +1 -1
  434. package/react/esm/components/interactive-viz-item.component.d.ts +8 -4
  435. package/react/esm/components/interactive-viz-item.component.js +8 -4
  436. package/react/esm/components/item-grid-item-actions-menu.component.d.ts +14 -0
  437. package/react/esm/components/item-grid-item-actions-menu.component.js +19 -0
  438. package/react/esm/components/item-grid.component.d.ts +3 -1
  439. package/react/esm/components/item-grid.component.js +2 -0
  440. package/react/esm/index.d.ts +4 -3
  441. package/react/esm/index.js +10 -6
  442. package/react/index.ts +10 -6
  443. package/react/luzmo-stub.d.ts +15 -6
  444. package/react/package.json +2 -2
  445. package/standalone/chunks/add-to-dashboard-BrWieRxp.js +148 -0
  446. package/standalone/chunks/area-chart-options.config-CXWPLl-0.js +2 -0
  447. package/standalone/chunks/area-chart-options.de-Dr8RVJtb.js +2 -0
  448. package/standalone/chunks/area-chart-options.en-DV1AZ274.js +2 -0
  449. package/standalone/chunks/area-chart-options.es-Cg7uU7OK.js +2 -0
  450. package/standalone/chunks/area-chart-options.fr-CJjgrAt2.js +2 -0
  451. package/standalone/chunks/area-chart-options.nl-CTGxVXNo.js +2 -0
  452. package/standalone/chunks/area-chart-slots.config-Bxvau_Ii.js +2 -0
  453. package/standalone/chunks/axis-options.config-DP9f04t6.js +2 -0
  454. package/standalone/chunks/axis-options.i18n-BwkGC9PX.js +2 -0
  455. package/standalone/chunks/bar-chart-options.config-w4REKu0t.js +2 -0
  456. package/standalone/chunks/bar-chart-options.de-DCVBVtFi.js +2 -0
  457. package/standalone/chunks/bar-chart-options.en-B4xiZxTy.js +2 -0
  458. package/standalone/chunks/bar-chart-options.es-UqehXB9Z.js +2 -0
  459. package/standalone/chunks/bar-chart-options.fr-CaUBeZBK.js +2 -0
  460. package/standalone/chunks/bar-chart-options.nl-C2tFvUE8.js +2 -0
  461. package/standalone/chunks/bar-chart-slots.config-BWQoKCYJ.js +2 -0
  462. package/standalone/chunks/base-CLcNr-fQ.js +2 -0
  463. package/standalone/chunks/bliss-BS5cbLqS.js +2 -0
  464. package/standalone/chunks/box-plot-options.config-BlYMd4FN.js +2 -0
  465. package/standalone/chunks/box-plot-options.de-RDAv8kHb.js +2 -0
  466. package/standalone/chunks/box-plot-options.en-kGLfLsv3.js +2 -0
  467. package/standalone/chunks/box-plot-options.es-Dw3ivv22.js +2 -0
  468. package/standalone/chunks/box-plot-options.fr-De5nkQNr.js +2 -0
  469. package/standalone/chunks/box-plot-options.nl-DD1f-Nlt.js +2 -0
  470. package/standalone/chunks/box-plot-slots.config-4hmeA6nr.js +2 -0
  471. package/standalone/chunks/bubble-chart-options.config-BKPTymfC.js +2 -0
  472. package/standalone/chunks/bubble-chart-options.de-C4pA9ZdS.js +2 -0
  473. package/standalone/chunks/bubble-chart-options.en-DM-MH8pT.js +2 -0
  474. package/standalone/chunks/bubble-chart-options.es-C2VE7E7k.js +2 -0
  475. package/standalone/chunks/bubble-chart-options.fr-BugyvkW9.js +2 -0
  476. package/standalone/chunks/bubble-chart-options.nl-oDPNybDE.js +2 -0
  477. package/standalone/chunks/bubble-chart-slots.config-CqTUMwvW.js +2 -0
  478. package/standalone/chunks/bullet-chart-options.config-Cc5lKDjs.js +2 -0
  479. package/standalone/chunks/bullet-chart-options.de-Ci81seQn.js +2 -0
  480. package/standalone/chunks/bullet-chart-options.en-Dk95moRX.js +2 -0
  481. package/standalone/chunks/bullet-chart-options.es-eIqahAOr.js +2 -0
  482. package/standalone/chunks/bullet-chart-options.fr-CEABbpT0.js +2 -0
  483. package/standalone/chunks/bullet-chart-options.nl-B3gOPn5D.js +2 -0
  484. package/standalone/chunks/bullet-chart-slots.config-BiFMJsgN.js +2 -0
  485. package/standalone/chunks/calculate-data-field-icon-CrEVAfzJ.js +2 -0
  486. package/standalone/chunks/chart-helpers-BplLoVQz.js +2 -0
  487. package/standalone/chunks/choropleth-map-options.config-Ul1FSTwf.js +2 -0
  488. package/standalone/chunks/choropleth-map-options.de-eALhIYgW.js +2 -0
  489. package/standalone/chunks/choropleth-map-options.en-DNdPCTz7.js +2 -0
  490. package/standalone/chunks/choropleth-map-options.es-BoHXBNpE.js +2 -0
  491. package/standalone/chunks/choropleth-map-options.fr-Di8f-OWA.js +2 -0
  492. package/standalone/chunks/choropleth-map-options.nl-XKS-glHm.js +2 -0
  493. package/standalone/chunks/choropleth-map-slots.config-CRF7J3QP.js +2 -0
  494. package/standalone/chunks/circle-pack-chart-options.config-CjDkh4DG.js +2 -0
  495. package/standalone/chunks/circle-pack-chart-options.de-Dwf0pYf1.js +2 -0
  496. package/standalone/chunks/circle-pack-chart-options.en-DhCFF4vx.js +2 -0
  497. package/standalone/chunks/circle-pack-chart-options.es-DDKEbXse.js +2 -0
  498. package/standalone/chunks/circle-pack-chart-options.fr-Dezqd3QL.js +2 -0
  499. package/standalone/chunks/circle-pack-chart-options.nl-BNXyskRD.js +2 -0
  500. package/standalone/chunks/circle-pack-chart-slots.config-Deq7IUoK.js +2 -0
  501. package/standalone/chunks/circular-gauge-options.config-p2zb-ORR.js +2 -0
  502. package/standalone/chunks/circular-gauge-options.de-DXGoiD0i.js +2 -0
  503. package/standalone/chunks/circular-gauge-options.en-SHYrAgsX.js +2 -0
  504. package/standalone/chunks/circular-gauge-options.es-D4xJXTQ-.js +2 -0
  505. package/standalone/chunks/circular-gauge-options.fr-6vBd5iUe.js +2 -0
  506. package/standalone/chunks/circular-gauge-options.nl-CDoO99Is.js +2 -0
  507. package/standalone/chunks/circular-gauge-slots.config-C7yUFfFJ.js +2 -0
  508. package/standalone/chunks/classic-CHhNczKi.js +2 -0
  509. package/standalone/chunks/classic-dark-Cmrn7jod.js +2 -0
  510. package/standalone/chunks/color-DaeCRJ5Q.js +2 -0
  511. package/standalone/chunks/color-palettes-B41FvzWH.js +2 -0
  512. package/standalone/chunks/color-range-utils-CLqVCA5J.js +2 -0
  513. package/standalone/chunks/column-chart-options.config-v7fBgXRI.js +2 -0
  514. package/standalone/chunks/column-chart-options.de-OoMpZc7N.js +2 -0
  515. package/standalone/chunks/column-chart-options.en-B4xiZxTy.js +2 -0
  516. package/standalone/chunks/column-chart-options.es-BL-wKXpp.js +2 -0
  517. package/standalone/chunks/column-chart-options.fr-CaUBeZBK.js +2 -0
  518. package/standalone/chunks/column-chart-options.nl-C2tFvUE8.js +2 -0
  519. package/standalone/chunks/column-chart-slots.config-ZBLvqhEb.js +2 -0
  520. package/standalone/chunks/combination-chart-options.config-C9hmUPal.js +2 -0
  521. package/standalone/chunks/combination-chart-options.de-ChlEhT09.js +2 -0
  522. package/standalone/chunks/combination-chart-options.en-DhCXqnwj.js +2 -0
  523. package/standalone/chunks/combination-chart-options.es-DESqZp0U.js +2 -0
  524. package/standalone/chunks/combination-chart-options.fr-v6P2xQCi.js +2 -0
  525. package/standalone/chunks/combination-chart-options.nl-D8ato2ve.js +2 -0
  526. package/standalone/chunks/combination-chart-slots.config-BNVJfRB2.js +2 -0
  527. package/standalone/chunks/conditional-number-options.config-hdARPTD7.js +2 -0
  528. package/standalone/chunks/conditional-number-options.de-BNkYWqfn.js +2 -0
  529. package/standalone/chunks/conditional-number-options.en-J7yPXdbP.js +2 -0
  530. package/standalone/chunks/conditional-number-options.es-CKDTBiYp.js +2 -0
  531. package/standalone/chunks/conditional-number-options.fr-BX1cbt1S.js +2 -0
  532. package/standalone/chunks/conditional-number-options.nl-6IE86oA9.js +2 -0
  533. package/standalone/chunks/conditional-number-slots.config-B4kqODqw.js +2 -0
  534. package/standalone/chunks/create-lazy-loader-DC0rJePE.js +2 -0
  535. package/standalone/chunks/cs-DLnr3a23.js +2 -0
  536. package/standalone/chunks/da-BJgbo0uE.js +2 -0
  537. package/standalone/chunks/data-broker-Dgg5mQze.js +2 -0
  538. package/standalone/chunks/date-comparison-filter-options.config-a_qCDcWA.js +2 -0
  539. package/standalone/chunks/date-comparison-filter-options.de-WqpVCnC1.js +2 -0
  540. package/standalone/chunks/date-comparison-filter-options.en-Obm6KfbI.js +2 -0
  541. package/standalone/chunks/date-comparison-filter-options.es-CxYTNaTq.js +2 -0
  542. package/standalone/chunks/date-comparison-filter-options.fr-DhrKNPxX.js +2 -0
  543. package/standalone/chunks/date-comparison-filter-options.nl-D2RV7246.js +2 -0
  544. package/standalone/chunks/date-comparison-filter-slots.config-DfHq9lB8.js +2 -0
  545. package/standalone/chunks/date-filter-options.config-DHTbxiWn.js +2 -0
  546. package/standalone/chunks/date-filter-options.de-B83VkpDz.js +2 -0
  547. package/standalone/chunks/date-filter-options.en-DKQexBC1.js +2 -0
  548. package/standalone/chunks/date-filter-options.es-DfDqzkVB.js +2 -0
  549. package/standalone/chunks/date-filter-options.fr-DoZy8DU8.js +2 -0
  550. package/standalone/chunks/date-filter-options.nl-DKtF0sFB.js +2 -0
  551. package/standalone/chunks/date-filter-slots.config-DHaOkULx.js +2 -0
  552. package/standalone/chunks/de-BtQ1ecN1.js +2 -0
  553. package/standalone/chunks/de-DPgYMyja.js +2 -0
  554. package/standalone/chunks/decompose-numeric-format-BXLQ97e2.js +2 -0
  555. package/standalone/chunks/default-Bi3Z4SMm.js +2 -0
  556. package/standalone/chunks/default-dark-C2ykXPQt.js +2 -0
  557. package/standalone/chunks/default-local-formats-CES1ItiK.js +2 -0
  558. package/standalone/chunks/display-settings-binning-B_lKObyP.js +38 -0
  559. package/standalone/chunks/display-settings-datetime-CTmJyEOX.js +199 -0
  560. package/standalone/chunks/display-settings-grand-totals-IjcbBoyZ.js +26 -0
  561. package/standalone/chunks/display-settings-numeric-D9hvRtfN.js +172 -0
  562. package/standalone/chunks/display-settings-period-over-period-Dnstsyqe.js +209 -0
  563. package/standalone/chunks/donut-chart-options.config-BuZj-QX5.js +2 -0
  564. package/standalone/chunks/donut-chart-options.de-QusCBL9B.js +2 -0
  565. package/standalone/chunks/donut-chart-options.en-D0ligFH6.js +2 -0
  566. package/standalone/chunks/donut-chart-options.es-Bmn34sGt.js +2 -0
  567. package/standalone/chunks/donut-chart-options.fr-DGBawYKp.js +2 -0
  568. package/standalone/chunks/donut-chart-options.nl-DzNTu0v4.js +2 -0
  569. package/standalone/chunks/donut-chart-slots.config-7pDpzNBG.js +2 -0
  570. package/standalone/chunks/dropdown-filter-options.config-zwR7hmkX.js +2 -0
  571. package/standalone/chunks/dropdown-filter-options.de-dj6aTNQQ.js +2 -0
  572. package/standalone/chunks/dropdown-filter-options.en-DH7Jfk8Q.js +2 -0
  573. package/standalone/chunks/dropdown-filter-options.es-K2L8ln9j.js +2 -0
  574. package/standalone/chunks/dropdown-filter-options.fr-CMapzFiR.js +2 -0
  575. package/standalone/chunks/dropdown-filter-options.nl-BLAyit4D.js +2 -0
  576. package/standalone/chunks/dropdown-filter-slots.config-DkqLjilE.js +2 -0
  577. package/standalone/chunks/embed-Dymwil3u.js +228 -0
  578. package/standalone/chunks/en-BD2RCLuw.js +2 -0
  579. package/standalone/chunks/en-GB-DnwmFNwC.js +2 -0
  580. package/standalone/chunks/en-US-BD2RCLuw.js +2 -0
  581. package/standalone/chunks/es-CAWreooi.js +2 -0
  582. package/standalone/chunks/es-Dp1UuDDz.js +2 -0
  583. package/standalone/chunks/evolution-number-options.config-B5Cj0YAQ.js +2 -0
  584. package/standalone/chunks/evolution-number-options.de-Ch0LaHwI.js +2 -0
  585. package/standalone/chunks/evolution-number-options.en-riChGfa6.js +2 -0
  586. package/standalone/chunks/evolution-number-options.es-BdG3lvVQ.js +2 -0
  587. package/standalone/chunks/evolution-number-options.fr-_h0kLeRL.js +2 -0
  588. package/standalone/chunks/evolution-number-options.nl-CqycrLe1.js +2 -0
  589. package/standalone/chunks/evolution-number-slots.config-IqPfnCrw.js +2 -0
  590. package/standalone/chunks/fi-CLQ6vC7V.js +2 -0
  591. package/standalone/chunks/filters-CBmZhipt.js +544 -0
  592. package/standalone/chunks/formatter-B7zz6UOp.js +2 -0
  593. package/standalone/chunks/formula-codemirror-D2F6Aj2h.js +197 -0
  594. package/standalone/chunks/fr-BG0nQk8g.js +2 -0
  595. package/standalone/chunks/fr-D8xrUEX4.js +2 -0
  596. package/standalone/chunks/funnel-chart-options.config-1SyJ_qYd.js +2 -0
  597. package/standalone/chunks/funnel-chart-options.de-BTxwd7Pe.js +2 -0
  598. package/standalone/chunks/funnel-chart-options.en-CmY-uO1P.js +2 -0
  599. package/standalone/chunks/funnel-chart-options.es-DLqBydsE.js +2 -0
  600. package/standalone/chunks/funnel-chart-options.fr-ztQ5OMZi.js +2 -0
  601. package/standalone/chunks/funnel-chart-options.nl-DVysx7tP.js +2 -0
  602. package/standalone/chunks/funnel-chart-slots.config-DfeuNGEL.js +2 -0
  603. package/standalone/chunks/guidelines-options.config-CS29_J9M.js +2 -0
  604. package/standalone/chunks/he-DHPb0VBo.js +2 -0
  605. package/standalone/chunks/heat-map-options.config-DYIrP8cV.js +2 -0
  606. package/standalone/chunks/heat-map-options.de-BfJMMX2Q.js +2 -0
  607. package/standalone/chunks/heat-map-options.en-Dr653pN6.js +2 -0
  608. package/standalone/chunks/heat-map-options.es-CklrBP1w.js +2 -0
  609. package/standalone/chunks/heat-map-options.fr-DwtCOHrA.js +2 -0
  610. package/standalone/chunks/heat-map-options.nl-DQBLussF.js +2 -0
  611. package/standalone/chunks/heat-map-slots.config-BVBzVjJJ.js +2 -0
  612. package/standalone/chunks/heat-table-options.config-ByHwT44G.js +2 -0
  613. package/standalone/chunks/heat-table-options.de-BMx67hXo.js +2 -0
  614. package/standalone/chunks/heat-table-options.en-BbobGoXs.js +2 -0
  615. package/standalone/chunks/heat-table-options.es-zKo-QMBY.js +2 -0
  616. package/standalone/chunks/heat-table-options.fr-XSTL1CSb.js +2 -0
  617. package/standalone/chunks/heat-table-options.nl-Cgcccsee.js +2 -0
  618. package/standalone/chunks/heat-table-slots.config-CcOl-PCp.js +2 -0
  619. package/standalone/chunks/helpers-DalWg6k7.js +2 -0
  620. package/standalone/chunks/hexbin-map-options.config-Elr44Jin.js +2 -0
  621. package/standalone/chunks/hexbin-map-options.de-C45yz1mZ.js +2 -0
  622. package/standalone/chunks/hexbin-map-options.en-CIrLRJJ1.js +2 -0
  623. package/standalone/chunks/hexbin-map-options.es-wf4yF2eW.js +2 -0
  624. package/standalone/chunks/hexbin-map-options.fr-C0SN47Nq.js +2 -0
  625. package/standalone/chunks/hexbin-map-options.nl-CweMyvfk.js +2 -0
  626. package/standalone/chunks/hexbin-map-slots.config-D6qVm4nj.js +2 -0
  627. package/standalone/chunks/hu-BpaYooip.js +2 -0
  628. package/standalone/chunks/image-options.config-Cj4r1ypi.js +2 -0
  629. package/standalone/chunks/image-options.de-CFUHfYzb.js +2 -0
  630. package/standalone/chunks/image-options.en-BIyq9f_H.js +2 -0
  631. package/standalone/chunks/image-options.es-BD---IOk.js +2 -0
  632. package/standalone/chunks/image-options.fr-BGFgsNTs.js +2 -0
  633. package/standalone/chunks/image-options.nl-DD1JEJSa.js +2 -0
  634. package/standalone/chunks/image-slots.config-CdWEUY0l.js +2 -0
  635. package/standalone/chunks/info-tooltip-options.config-DtfU5ZO8.js +2 -0
  636. package/standalone/chunks/info-tooltip-options.i18n-B_gjTq0R.js +2 -0
  637. package/standalone/chunks/interactivity-options.config-09eXx6k6.js +2 -0
  638. package/standalone/chunks/interactivity-options.i18n-BLDCmZkC.js +2 -0
  639. package/standalone/chunks/it-DWTvD2Xn.js +2 -0
  640. package/standalone/chunks/item-option-action-button-group-BZyiRTfe.js +35 -0
  641. package/standalone/chunks/item-option-base-Bk5qxdcQ.js +38 -0
  642. package/standalone/chunks/item-option-color-palette-picker-O8kT0i8p.js +22 -0
  643. package/standalone/chunks/item-option-color-picker-CUTCc_yN.js +16 -0
  644. package/standalone/chunks/item-option-color-range-DsKPvjLj.js +80 -0
  645. package/standalone/chunks/item-option-guidelines-CZyvhgtN.js +117 -0
  646. package/standalone/chunks/item-option-multi-language-field-DlC-cCD7.js +15 -0
  647. package/standalone/chunks/item-option-number-field-BW9VpN9_.js +20 -0
  648. package/standalone/chunks/item-option-panel-BXA3sIYG.js +298 -0
  649. package/standalone/chunks/item-option-picker-B2KmO7a6.js +19 -0
  650. package/standalone/chunks/item-option-position-picker-C9C9SKDD.js +14 -0
  651. package/standalone/chunks/item-option-positions-number-field-C2ahVlxe.js +31 -0
  652. package/standalone/chunks/item-option-radio-button-group-2q3doUXH.js +19 -0
  653. package/standalone/chunks/item-option-slider-C7TT3CqL.js +15 -0
  654. package/standalone/chunks/item-option-switch-CZR2_Bs9.js +12 -0
  655. package/standalone/chunks/item-option-text-field-DBUOD_fv.js +15 -0
  656. package/standalone/chunks/item-slot-picker-panel-CTePASjI.js +439 -0
  657. package/standalone/chunks/ja-CtDlXHD1.js +2 -0
  658. package/standalone/chunks/ko-CekuHU50.js +2 -0
  659. package/standalone/chunks/line-chart-options.config-DyqQLGw8.js +2 -0
  660. package/standalone/chunks/line-chart-options.de-BScjvJsI.js +2 -0
  661. package/standalone/chunks/line-chart-options.en-BVWFsre-.js +2 -0
  662. package/standalone/chunks/line-chart-options.es-CxNJevNs.js +2 -0
  663. package/standalone/chunks/line-chart-options.fr-LCsLx0Uh.js +2 -0
  664. package/standalone/chunks/line-chart-options.nl-BOgcjx48.js +2 -0
  665. package/standalone/chunks/line-chart-slots.config-CavGuJXK.js +2 -0
  666. package/standalone/chunks/lit-localize-CIGP-NUw.js +2 -0
  667. package/standalone/chunks/load-data-fields-for-datasets-CPf_Q7p4.js +25 -0
  668. package/standalone/chunks/load-formula-codemirror-CA7NW4Zq.js +6 -0
  669. package/standalone/chunks/localize-BXHWaHdZ.js +2 -0
  670. package/standalone/chunks/localized-decorator-Buib6Rq1.js +2 -0
  671. package/standalone/chunks/localized-mixin-DN2aV3CC.js +2 -0
  672. package/standalone/chunks/luzmo-icon-markup-27PRW8QM.js +13 -0
  673. package/standalone/chunks/luzmoAlignLeft-HA-XKPHy.js +2 -0
  674. package/standalone/chunks/luzmoAngleDown-PNrItYzK.js +2 -0
  675. package/standalone/chunks/luzmoAngleLeft-ebJO7ROy.js +2 -0
  676. package/standalone/chunks/luzmoArrowsHorizontal-TohKbcQD.js +2 -0
  677. package/standalone/chunks/luzmoBorderDotted-CWXwQ_Hm.js +2 -0
  678. package/standalone/chunks/luzmoCheckbox-BksyONqE.js +2 -0
  679. package/standalone/chunks/luzmoCog-C4v4vc5N.js +2 -0
  680. package/standalone/chunks/luzmoLockOutline-Dctb86HR.js +2 -0
  681. package/standalone/chunks/luzmoPlus-Dyrrz0v8.js +2 -0
  682. package/standalone/chunks/luzmoTable-BYeZ8pW6.js +2 -0
  683. package/standalone/chunks/luzmoTrashOutline-DXZpJx7f.js +2 -0
  684. package/standalone/chunks/map-tile-providers-DZT1QZX_.js +2 -0
  685. package/standalone/chunks/marker-map-options.config-D_OTOZRe.js +2 -0
  686. package/standalone/chunks/marker-map-options.de-SuCAxwxR.js +2 -0
  687. package/standalone/chunks/marker-map-options.en-B-gl_14v.js +2 -0
  688. package/standalone/chunks/marker-map-options.es-CSJGCzjk.js +2 -0
  689. package/standalone/chunks/marker-map-options.fr-D5P_HjSn.js +2 -0
  690. package/standalone/chunks/marker-map-options.nl-DdeyYFJQ.js +2 -0
  691. package/standalone/chunks/marker-map-slots.config-CtzpU-rK.js +2 -0
  692. package/standalone/chunks/mk-Dq3YK4jD.js +2 -0
  693. package/standalone/chunks/nl-7csxtU-I.js +2 -0
  694. package/standalone/chunks/nl-BXPduS2Q.js +2 -0
  695. package/standalone/chunks/no-DJNRx8au.js +2 -0
  696. package/standalone/chunks/ohlc-chart-options.config-Bu2GKlAH.js +2 -0
  697. package/standalone/chunks/ohlc-chart-options.de-DeQ8wdeE.js +2 -0
  698. package/standalone/chunks/ohlc-chart-options.en-DopM1kPj.js +2 -0
  699. package/standalone/chunks/ohlc-chart-options.es-BKjQWwH0.js +2 -0
  700. package/standalone/chunks/ohlc-chart-options.fr-DWhV_lXz.js +2 -0
  701. package/standalone/chunks/ohlc-chart-options.nl-D8lhNKIv.js +2 -0
  702. package/standalone/chunks/ohlc-chart-slots.config-xYpPbmg2.js +2 -0
  703. package/standalone/chunks/orion-BHOu-xse.js +2 -0
  704. package/standalone/chunks/parallel-coordinates-plot-options.config-BcIYCRdF.js +2 -0
  705. package/standalone/chunks/parallel-coordinates-plot-options.de-Dvi0gBbB.js +2 -0
  706. package/standalone/chunks/parallel-coordinates-plot-options.en-LdifcLcc.js +2 -0
  707. package/standalone/chunks/parallel-coordinates-plot-options.es-DNisZWdC.js +2 -0
  708. package/standalone/chunks/parallel-coordinates-plot-options.fr-DwOBR0cp.js +2 -0
  709. package/standalone/chunks/parallel-coordinates-plot-options.nl-DCXeTldD.js +2 -0
  710. package/standalone/chunks/parallel-coordinates-plot-slots.config-DvJljfr8.js +2 -0
  711. package/standalone/chunks/period-over-period-condition.const-AC_onvUf.js +2 -0
  712. package/standalone/chunks/periods.const-Cie50jR4.js +2 -0
  713. package/standalone/chunks/pinky-CkEB6Fvc.js +2 -0
  714. package/standalone/chunks/pivot-table-options.config-BZpId1ju.js +2 -0
  715. package/standalone/chunks/pivot-table-options.de-B0l711Q7.js +2 -0
  716. package/standalone/chunks/pivot-table-options.en-D3MYHTWH.js +2 -0
  717. package/standalone/chunks/pivot-table-options.es-CDACogGQ.js +2 -0
  718. package/standalone/chunks/pivot-table-options.fr-C-w1sys8.js +2 -0
  719. package/standalone/chunks/pivot-table-options.nl-Dy9VJ1bm.js +2 -0
  720. package/standalone/chunks/pivot-table-slots.config-DZOE04Ea.js +2 -0
  721. package/standalone/chunks/pl-zDnuk9Gd.js +2 -0
  722. package/standalone/chunks/pt-BEVAH5AJ.js +2 -0
  723. package/standalone/chunks/pyramid-chart-options.config-CBd-pgn_.js +2 -0
  724. package/standalone/chunks/pyramid-chart-options.de-CBL_8UjH.js +2 -0
  725. package/standalone/chunks/pyramid-chart-options.en-CTozc1Uh.js +2 -0
  726. package/standalone/chunks/pyramid-chart-options.es-BKciL-nO.js +2 -0
  727. package/standalone/chunks/pyramid-chart-options.fr-B04m8B_b.js +2 -0
  728. package/standalone/chunks/pyramid-chart-options.nl-DIhj1NYF.js +2 -0
  729. package/standalone/chunks/pyramid-chart-slots.config-DKBFy-TL.js +2 -0
  730. package/standalone/chunks/radar-chart-options.config-CnQ8mbs9.js +2 -0
  731. package/standalone/chunks/radar-chart-options.de-_LSueG69.js +2 -0
  732. package/standalone/chunks/radar-chart-options.en-DBA8TpKJ.js +2 -0
  733. package/standalone/chunks/radar-chart-options.es-DjSsFQkP.js +2 -0
  734. package/standalone/chunks/radar-chart-options.fr-CCh2jYPS.js +2 -0
  735. package/standalone/chunks/radar-chart-options.nl-tZ0JRjXD.js +2 -0
  736. package/standalone/chunks/radar-chart-slots.config-CHauNDhi.js +2 -0
  737. package/standalone/chunks/radiant-BfVbXYeP.js +2 -0
  738. package/standalone/chunks/regular-table-options.config-BnhDzc-m.js +2 -0
  739. package/standalone/chunks/regular-table-options.de-DPmii-jp.js +2 -0
  740. package/standalone/chunks/regular-table-options.en-DQugncwx.js +2 -0
  741. package/standalone/chunks/regular-table-options.es-DzbTEFoh.js +2 -0
  742. package/standalone/chunks/regular-table-options.fr-roRCzuK8.js +2 -0
  743. package/standalone/chunks/regular-table-options.nl-DxYUm_Rz.js +2 -0
  744. package/standalone/chunks/regular-table-slots.config-BqEJgzhG.js +2 -0
  745. package/standalone/chunks/route-map-options.config-CWyA9_SB.js +2 -0
  746. package/standalone/chunks/route-map-options.de-Ke-Bybpi.js +2 -0
  747. package/standalone/chunks/route-map-options.en-CDXIcBc0.js +2 -0
  748. package/standalone/chunks/route-map-options.es-CCEXcHLb.js +2 -0
  749. package/standalone/chunks/route-map-options.fr-BXoMKK54.js +2 -0
  750. package/standalone/chunks/route-map-options.nl-U52AE8MW.js +2 -0
  751. package/standalone/chunks/route-map-slots.config-B5G4JVnI.js +2 -0
  752. package/standalone/chunks/royale-Bcd5VvC5.js +2 -0
  753. package/standalone/chunks/ru-Ceji1Fqk.js +2 -0
  754. package/standalone/chunks/sankey-diagram-options.config-Curc2-If.js +2 -0
  755. package/standalone/chunks/sankey-diagram-options.de-Bisx6mpj.js +2 -0
  756. package/standalone/chunks/sankey-diagram-options.en-DonChVRz.js +2 -0
  757. package/standalone/chunks/sankey-diagram-options.es-TCXmlth5.js +2 -0
  758. package/standalone/chunks/sankey-diagram-options.fr-B3iAnJNW.js +2 -0
  759. package/standalone/chunks/sankey-diagram-options.nl-BnXZQEKn.js +2 -0
  760. package/standalone/chunks/sankey-diagram-slots.config-jyKqjUsV.js +2 -0
  761. package/standalone/chunks/scatter-plot-options.config-BV9Lb6-v.js +2 -0
  762. package/standalone/chunks/scatter-plot-options.de-Dg3O1b2R.js +2 -0
  763. package/standalone/chunks/scatter-plot-options.en-CJH2ZlFW.js +2 -0
  764. package/standalone/chunks/scatter-plot-options.es-7kExRi4J.js +2 -0
  765. package/standalone/chunks/scatter-plot-options.fr-Bbkf8efT.js +2 -0
  766. package/standalone/chunks/scatter-plot-options.nl-zrEXoM-k.js +2 -0
  767. package/standalone/chunks/scatter-plot-slots.config-CF2Ii2Ez.js +2 -0
  768. package/standalone/chunks/search-filter-options.config-DPhYMtlJ.js +2 -0
  769. package/standalone/chunks/search-filter-options.de-DewLFwK0.js +2 -0
  770. package/standalone/chunks/search-filter-options.en-DyIupnO9.js +2 -0
  771. package/standalone/chunks/search-filter-options.es-Dx1WGz-q.js +2 -0
  772. package/standalone/chunks/search-filter-options.fr-BdnlKNNx.js +2 -0
  773. package/standalone/chunks/search-filter-options.nl-DsKcc6ke.js +2 -0
  774. package/standalone/chunks/search-filter-slots.config-BcTF-DAh.js +2 -0
  775. package/standalone/chunks/seasonal-f6I--CYV.js +2 -0
  776. package/standalone/chunks/slicer-filter-options.config-BQ1vpcTb.js +2 -0
  777. package/standalone/chunks/slicer-filter-options.de-v0So4hDH.js +2 -0
  778. package/standalone/chunks/slicer-filter-options.en-BkVZDku6.js +2 -0
  779. package/standalone/chunks/slicer-filter-options.es-BATOs827.js +2 -0
  780. package/standalone/chunks/slicer-filter-options.fr-DROih5R8.js +2 -0
  781. package/standalone/chunks/slicer-filter-options.nl-CT4HfMiT.js +2 -0
  782. package/standalone/chunks/slicer-filter-slots.config-DL3Q0Zbm.js +2 -0
  783. package/standalone/chunks/slider-filter-options.config-ZCkBkeXQ.js +2 -0
  784. package/standalone/chunks/slider-filter-options.de-BToTmIkJ.js +2 -0
  785. package/standalone/chunks/slider-filter-options.en-Du0cf6NC.js +2 -0
  786. package/standalone/chunks/slider-filter-options.es-6yGUkJ9r.js +2 -0
  787. package/standalone/chunks/slider-filter-options.fr-DeupuOm1.js +2 -0
  788. package/standalone/chunks/slider-filter-options.nl-K6BEul4-.js +2 -0
  789. package/standalone/chunks/slider-filter-slots.config-52Bs7zu3.js +2 -0
  790. package/standalone/chunks/spacer-options.config-DmYOnwBz.js +2 -0
  791. package/standalone/chunks/speedometer-chart-options.config-YmUv49lQ.js +2 -0
  792. package/standalone/chunks/speedometer-chart-options.de-CWVMBrx9.js +2 -0
  793. package/standalone/chunks/speedometer-chart-options.en-DtCdA113.js +2 -0
  794. package/standalone/chunks/speedometer-chart-options.es-BC1Y-Hje.js +2 -0
  795. package/standalone/chunks/speedometer-chart-options.fr-BqnVNM9x.js +2 -0
  796. package/standalone/chunks/speedometer-chart-options.nl-D2dmDbhJ.js +2 -0
  797. package/standalone/chunks/speedometer-chart-slots.config-Cfsna_2O.js +2 -0
  798. package/standalone/chunks/spike-map-options.config-YOYHTzZs.js +2 -0
  799. package/standalone/chunks/spike-map-options.de-cIVh4l8Z.js +2 -0
  800. package/standalone/chunks/spike-map-options.en-CKjynYQl.js +2 -0
  801. package/standalone/chunks/spike-map-options.es-_GxcrK73.js +2 -0
  802. package/standalone/chunks/spike-map-options.fr-DHi_gHN6.js +2 -0
  803. package/standalone/chunks/spike-map-options.nl-Bicq35x0.js +2 -0
  804. package/standalone/chunks/spike-map-slots.config-FfXNX2O3.js +2 -0
  805. package/standalone/chunks/strip-plot-options.config-D84diNaB.js +2 -0
  806. package/standalone/chunks/strip-plot-options.de-DjNnWJl2.js +2 -0
  807. package/standalone/chunks/strip-plot-options.en-Of1sTT_A.js +2 -0
  808. package/standalone/chunks/strip-plot-options.es-BEHY8I7g.js +2 -0
  809. package/standalone/chunks/strip-plot-options.fr-DLfEoXBO.js +2 -0
  810. package/standalone/chunks/strip-plot-options.nl-CA3oh18P.js +2 -0
  811. package/standalone/chunks/strip-plot-slots.config-DQrrby2Y.js +2 -0
  812. package/standalone/chunks/sunburst-chart-options.config-DRjBFJV0.js +2 -0
  813. package/standalone/chunks/sunburst-chart-options.de-D6enQCjV.js +2 -0
  814. package/standalone/chunks/sunburst-chart-options.en-D9DSivE2.js +2 -0
  815. package/standalone/chunks/sunburst-chart-options.es-Bb7iCI1h.js +2 -0
  816. package/standalone/chunks/sunburst-chart-options.fr-CCzUgv7r.js +2 -0
  817. package/standalone/chunks/sunburst-chart-options.nl-bGOCvc4m.js +2 -0
  818. package/standalone/chunks/sunburst-chart-slots.config-DqW1e0nf.js +2 -0
  819. package/standalone/chunks/sv-CgssnOqA.js +2 -0
  820. package/standalone/chunks/symbol-map-options.config-Bbb3xIKg.js +2 -0
  821. package/standalone/chunks/symbol-map-options.de-CqxosoVr.js +2 -0
  822. package/standalone/chunks/symbol-map-options.en-DT7vsjRh.js +2 -0
  823. package/standalone/chunks/symbol-map-options.es-PGR-C-uM.js +2 -0
  824. package/standalone/chunks/symbol-map-options.fr-CPNydqFW.js +2 -0
  825. package/standalone/chunks/symbol-map-options.nl-BBHmJwLF.js +2 -0
  826. package/standalone/chunks/symbol-map-slots.config-B_UtYexb.js +2 -0
  827. package/standalone/chunks/task-CNp3cEJA.js +2 -0
  828. package/standalone/chunks/text-options.config-Chv14kyQ.js +2 -0
  829. package/standalone/chunks/text-options.de-CRVu5VAm.js +2 -0
  830. package/standalone/chunks/text-options.en-CupCY5Us.js +2 -0
  831. package/standalone/chunks/text-options.es-uKgRI4LZ.js +2 -0
  832. package/standalone/chunks/text-options.fr-C256Njqd.js +2 -0
  833. package/standalone/chunks/text-options.nl-CpMqMCOZ.js +2 -0
  834. package/standalone/chunks/text-slots.config-D33nu0FP.js +2 -0
  835. package/standalone/chunks/themes-BD5sKr3j.js +2 -0
  836. package/standalone/chunks/tr-i3G2sFi4.js +2 -0
  837. package/standalone/chunks/treemap-chart-options.config-DxkumoYq.js +2 -0
  838. package/standalone/chunks/treemap-chart-options.de-DdhcpjTu.js +2 -0
  839. package/standalone/chunks/treemap-chart-options.en-DB87QjbN.js +2 -0
  840. package/standalone/chunks/treemap-chart-options.es-DEImFeIB.js +2 -0
  841. package/standalone/chunks/treemap-chart-options.fr-BzM5c_vV.js +2 -0
  842. package/standalone/chunks/treemap-chart-options.nl-CFJgBJi2.js +2 -0
  843. package/standalone/chunks/treemap-chart-slots.config-CaearczZ.js +2 -0
  844. package/standalone/chunks/type-check-CC6bgirK.js +2 -0
  845. package/standalone/chunks/types-BS6dxSMT.js +2 -0
  846. package/standalone/chunks/urban-BEeGnayr.js +2 -0
  847. package/standalone/chunks/v4-CI0qP0ur.js +2 -0
  848. package/standalone/chunks/venn-diagram-options.config-DmYOnwBz.js +2 -0
  849. package/standalone/chunks/venn-diagram-slots.config-GnP5AAAL.js +2 -0
  850. package/standalone/chunks/version-DJES6maY.js +2 -0
  851. package/standalone/chunks/video-options.config-CfgT_MAw.js +2 -0
  852. package/standalone/chunks/video-options.de-Cxs3-JN3.js +2 -0
  853. package/standalone/chunks/video-options.en-ck74JByC.js +2 -0
  854. package/standalone/chunks/video-options.es-UdEH3Rzk.js +2 -0
  855. package/standalone/chunks/video-options.fr-p5bOI-bw.js +2 -0
  856. package/standalone/chunks/video-options.nl-CBYWp-Df.js +2 -0
  857. package/standalone/chunks/video-slots.config-ufoVcXKL.js +2 -0
  858. package/standalone/chunks/vivid-BC9AYKyD.js +2 -0
  859. package/standalone/chunks/wordcloud-chart-options.config-b-ibtRWp.js +2 -0
  860. package/standalone/chunks/wordcloud-chart-options.de-B0CeI2KB.js +2 -0
  861. package/standalone/chunks/wordcloud-chart-options.en-BQ-8ciOw.js +2 -0
  862. package/standalone/chunks/wordcloud-chart-options.es-DyMrHpJL.js +2 -0
  863. package/standalone/chunks/wordcloud-chart-options.fr-V1k_70yq.js +2 -0
  864. package/standalone/chunks/wordcloud-chart-options.nl-CrfYuaYy.js +2 -0
  865. package/standalone/chunks/wordcloud-chart-slots.config-g7QwS2dG.js +2 -0
  866. package/standalone/chunks/zh-CN-NVnv57dz.js +2 -0
  867. package/standalone/chunks/zh-TW-NVnv57dz.js +2 -0
  868. package/standalone/interactive-viz-item.js +263 -0
  869. package/standalone/item-grid.js +123 -0
  870. package/standalone/manifest.json +436 -0
  871. package/storybook/register-components.d.ts +2 -1
  872. package/styles/tokens.d.ts +1 -0
  873. package/types/add-to-dashboard.types.d.ts +51 -0
  874. package/types.d.ts +3 -1
  875. package/utils/data-broker/index.d.ts +19 -1
  876. package/utils/filters/filter-text.d.ts +1 -1
  877. package/utils/formula/base/formula-base.d.ts +2 -2
  878. package/utils/formula/config/build-datasets.d.ts +2 -2
  879. package/utils/formula/store/formula-display-store.d.ts +1 -1
  880. package/components/ai-chat-1OlRpimu.cjs +0 -337
  881. package/components/ai-chat-PesGGOLP.js +0 -4350
  882. package/components/ai-interaction-textarea-BXKG2elT.js +0 -820
  883. package/components/ai-interaction-textarea-CmFGJzbb.cjs +0 -99
  884. package/components/area-chart-positioning.config-C37nmNfP.cjs +0 -20
  885. package/components/area-chart-positioning.config-CF8Z7PuX.js +0 -55
  886. package/components/bar-chart-positioning.config-C4ii41mE.cjs +0 -20
  887. package/components/bar-chart-positioning.config-vuRQZsYr.js +0 -59
  888. package/components/base-8L8Jt2vi.js +0 -249
  889. package/components/base-K-bf6_7X.cjs +0 -20
  890. package/components/base-store-BhGpnbqi.js +0 -152
  891. package/components/base-store-D5cDq6d4.cjs +0 -20
  892. package/components/box-plot-positioning.config-D2LpbgQ_.cjs +0 -20
  893. package/components/box-plot-positioning.config-DMIsI9yU.js +0 -48
  894. package/components/bubble-chart-positioning.config-Btak-zwN.cjs +0 -20
  895. package/components/bubble-chart-positioning.config-jYu0Q0Mc.js +0 -55
  896. package/components/bullet-chart-positioning.config-BWHfPPyA.js +0 -56
  897. package/components/bullet-chart-positioning.config-CwoRVgNS.cjs +0 -20
  898. package/components/choropleth-map-options.config-DWWydGJ3.js +0 -352
  899. package/components/choropleth-map-options.config-VG10yjwC.cjs +0 -20
  900. package/components/choropleth-map-positioning.config-DttV0Dk_.cjs +0 -20
  901. package/components/choropleth-map-positioning.config-KtxcLW7E.js +0 -55
  902. package/components/circle-pack-chart-positioning.config-N-rZvQjR.cjs +0 -20
  903. package/components/circle-pack-chart-positioning.config-QBO-pwDr.js +0 -48
  904. package/components/circular-gauge-positioning.config-Cf1zuLXa.cjs +0 -20
  905. package/components/circular-gauge-positioning.config-DKGmEpFj.js +0 -48
  906. package/components/color-BWnYpOu7.js +0 -3812
  907. package/components/color-Bl8h58rV.cjs +0 -20
  908. package/components/color-range-utils-C3HJJUS1.cjs +0 -20
  909. package/components/color-range-utils-CiqduHJS.js +0 -63
  910. package/components/column-chart-positioning.config-DcErS56C.cjs +0 -20
  911. package/components/column-chart-positioning.config-LkQSNtSH.js +0 -55
  912. package/components/combination-chart-positioning.config-7iAEpO7h.js +0 -48
  913. package/components/combination-chart-positioning.config-Dzi93oAp.cjs +0 -20
  914. package/components/conditional-number-positioning.config-Bse6AKPP.js +0 -48
  915. package/components/conditional-number-positioning.config-CTy0zLXu.cjs +0 -20
  916. package/components/data-broker-B0uUO5er.js +0 -1684
  917. package/components/data-broker-CyMYR6w1.cjs +0 -20
  918. package/components/data-field-CSm9APdz.js +0 -121
  919. package/components/data-field-D2y4cv9j.cjs +0 -54
  920. package/components/data-field-level-B0aj8c5M.js +0 -247
  921. package/components/data-field-level-Llx0Y9m-.cjs +0 -55
  922. package/components/data-field-panel-DpBWJnes.js +0 -385
  923. package/components/data-field-panel-Dv60lRUC.cjs +0 -87
  924. package/components/data-fields-select-69TDpIG_.js +0 -289
  925. package/components/data-fields-select-BHa8THub.cjs +0 -43
  926. package/components/dataset-icon-BAV0S4sZ.cjs +0 -64
  927. package/components/dataset-icon-CWT5Ju8w.js +0 -125
  928. package/components/dataset-selector-list-D5lBv2sD.cjs +0 -75
  929. package/components/dataset-selector-list-DTMXvqfO.js +0 -323
  930. package/components/dataset-selector-row-gHWsZlrC.cjs +0 -102
  931. package/components/dataset-selector-row-kiHtzZcP.js +0 -427
  932. package/components/de-BhKtDR6p.js +0 -565
  933. package/components/de-DXFLsh4N.cjs +0 -20
  934. package/components/display-settings-DKuvd62j.js +0 -315
  935. package/components/display-settings-DPqTRJ7E.cjs +0 -142
  936. package/components/display-settings-binning-BkCNSkgf.js +0 -110
  937. package/components/display-settings-binning-DZKo_tBm.cjs +0 -56
  938. package/components/display-settings-datetime-BTgriFcv.js +0 -413
  939. package/components/display-settings-datetime-DD7Oh-2T.cjs +0 -217
  940. package/components/display-settings-grand-totals-BsIZg67h.cjs +0 -44
  941. package/components/display-settings-grand-totals-DH7AoyQY.js +0 -89
  942. package/components/display-settings-numeric-CkFpOoWU.js +0 -479
  943. package/components/display-settings-numeric-CsmrnEp2.cjs +0 -190
  944. package/components/display-settings-period-over-period-CdI5wuL_.js +0 -442
  945. package/components/display-settings-period-over-period-Co37HcSm.cjs +0 -227
  946. package/components/donut-chart-positioning.config-BThtaJEt.cjs +0 -20
  947. package/components/donut-chart-positioning.config-D2uG_Irk.js +0 -48
  948. package/components/es-DK-49nGv.cjs +0 -20
  949. package/components/es-DUENN-m1.js +0 -565
  950. package/components/evolution-number-positioning.config-BtjobZqK.js +0 -48
  951. package/components/evolution-number-positioning.config-DtYiv9oB.cjs +0 -20
  952. package/components/filter-expression-picker-C4kE_Thd.js +0 -433
  953. package/components/filter-expression-picker-CU-OfSmI.cjs +0 -40
  954. package/components/filter-item-Be6Z7NMz.js +0 -792
  955. package/components/filter-item-CxPrwF-R.cjs +0 -111
  956. package/components/filter-parameter-picker-Ba8bvoPZ.js +0 -371
  957. package/components/filter-parameter-picker-BtJLCUbT.cjs +0 -124
  958. package/components/filter-value-picker-DD206JZl.js +0 -169
  959. package/components/filter-value-picker-Dpua1vcJ.cjs +0 -69
  960. package/components/filter-value-picker-datetime-Bj0YaPtB.js +0 -159
  961. package/components/filter-value-picker-datetime-DWgI83nJ.cjs +0 -51
  962. package/components/filter-value-picker-hierarchy-BEoqkQq0.cjs +0 -54
  963. package/components/filter-value-picker-hierarchy-ZMThNJYm.js +0 -315
  964. package/components/filter-value-picker-numeric-1Vxp_Vam.cjs +0 -54
  965. package/components/filter-value-picker-numeric-CVaDogFQ.js +0 -236
  966. package/components/filters-Cnm0Kwk3.js +0 -926
  967. package/components/filters-Dtbt99BP.cjs +0 -199
  968. package/components/formula-BE9bipho.js +0 -138
  969. package/components/formula-DGMnKmnR.cjs +0 -45
  970. package/components/formula-codemirror-B14vsZXJ.cjs +0 -215
  971. package/components/formula-codemirror-xfm0QtJN.js +0 -12018
  972. package/components/formula-display-store-8hohve9v.cjs +0 -20
  973. package/components/formula-display-store-JAaWuYNB.js +0 -1087
  974. package/components/formula-editor-CkW-JfyT.cjs +0 -224
  975. package/components/formula-editor-DN87mT8q.js +0 -690
  976. package/components/formula-field-B1EMJOfK.js +0 -40
  977. package/components/formula-field-CQYFSBHL.cjs +0 -20
  978. package/components/formula-input-base-BCQXmd1P.cjs +0 -49
  979. package/components/formula-input-base-HL0Fg74x.js +0 -236
  980. package/components/fr-CePmGBUH.js +0 -565
  981. package/components/fr-uE3fb3kc.cjs +0 -20
  982. package/components/funnel-chart-positioning.config-DeLnAGGT.cjs +0 -20
  983. package/components/funnel-chart-positioning.config-TVzSiV6I.js +0 -48
  984. package/components/get-dataset-name-DLjeChNS.js +0 -32
  985. package/components/get-dataset-name-mGNEfkAv.cjs +0 -20
  986. package/components/groupings-CODDxpbZ.js +0 -52
  987. package/components/groupings-DKMq8DgS.cjs +0 -20
  988. package/components/heat-map-options.config-DtDh9Gpy.cjs +0 -20
  989. package/components/heat-map-options.config-X96sw-BV.js +0 -226
  990. package/components/heat-map-positioning.config--wm9l7bB.js +0 -48
  991. package/components/heat-map-positioning.config-ddrgZXa9.cjs +0 -20
  992. package/components/heat-table-options.config-CugBuoUA.cjs +0 -20
  993. package/components/heat-table-options.config-D6dA9J97.js +0 -269
  994. package/components/heat-table-positioning.config-CIhhBEMg.js +0 -55
  995. package/components/heat-table-positioning.config-qMDSRhZR.cjs +0 -20
  996. package/components/hexbin-map-positioning.config-E_BpcIFy.cjs +0 -20
  997. package/components/hexbin-map-positioning.config-S7VYUwVD.js +0 -48
  998. package/components/interactive-viz-item--kqitfEZ.cjs +0 -249
  999. package/components/interactive-viz-item-cdShBZQA.js +0 -722
  1000. package/components/item-grid/item-grid-item-actions-menu.d.ts +0 -35
  1001. package/components/item-grid-BfhqMuQA.cjs +0 -113
  1002. package/components/item-grid-xCM8AqRH.js +0 -4559
  1003. package/components/item-option-B5FraAiv.cjs +0 -269
  1004. package/components/item-option-DaAlj_OB.js +0 -955
  1005. package/components/item-option-action-button-group-4w8ub3cT.js +0 -118
  1006. package/components/item-option-action-button-group-DHu8VjCy.cjs +0 -53
  1007. package/components/item-option-base-4Bwn-3Fc.cjs +0 -56
  1008. package/components/item-option-base-BxQUwXzg.js +0 -123
  1009. package/components/item-option-color-palette-picker-D5nO-Bqb.js +0 -2041
  1010. package/components/item-option-color-palette-picker-DrhHKaAK.cjs +0 -40
  1011. package/components/item-option-color-picker-Bhv_k1uW.cjs +0 -34
  1012. package/components/item-option-color-picker-CKokPQcS.js +0 -87
  1013. package/components/item-option-color-range-CwDkzRcx.cjs +0 -98
  1014. package/components/item-option-color-range-DYsMbFEb.js +0 -220
  1015. package/components/item-option-guidelines-CXl4Yla4.js +0 -419
  1016. package/components/item-option-guidelines-DMjA-h3h.cjs +0 -135
  1017. package/components/item-option-multi-language-field-C75Hd2fG.cjs +0 -33
  1018. package/components/item-option-multi-language-field-S6Mt3k23.js +0 -82
  1019. package/components/item-option-number-field-Bg5r0IAX.cjs +0 -38
  1020. package/components/item-option-number-field-CALw8q_J.js +0 -102
  1021. package/components/item-option-panel-DBXgOsM4.cjs +0 -67
  1022. package/components/item-option-panel-v7yUS9hb.js +0 -183
  1023. package/components/item-option-picker-CZyzd3Nq.js +0 -77
  1024. package/components/item-option-picker-RFstpFwI.cjs +0 -37
  1025. package/components/item-option-position-picker-C8cnHEH4.js +0 -117
  1026. package/components/item-option-position-picker-CKHbHHl1.cjs +0 -32
  1027. package/components/item-option-positions-number-field-BGs3WWaz.cjs +0 -49
  1028. package/components/item-option-positions-number-field-BJTY1qZR.js +0 -164
  1029. package/components/item-option-radio-button-group-CN8TLtsV.cjs +0 -37
  1030. package/components/item-option-radio-button-group-vhm4r4_k.js +0 -74
  1031. package/components/item-option-slider-CQOKWBZQ.js +0 -96
  1032. package/components/item-option-slider-DbLPhpJd.cjs +0 -33
  1033. package/components/item-option-switch-CWpb0nf3.cjs +0 -30
  1034. package/components/item-option-switch-azZX2vJr.js +0 -69
  1035. package/components/item-option-text-field-CIM_38yi.js +0 -80
  1036. package/components/item-option-text-field-CS3Lccda.cjs +0 -33
  1037. package/components/item-slot-drop-C8WYPu_w.cjs +0 -91
  1038. package/components/item-slot-drop-DeZ2GvAu.js +0 -331
  1039. package/components/item-slot-drop-panel-BcBHDDTT.cjs +0 -57
  1040. package/components/item-slot-drop-panel-LpfX7ap0.js +0 -355
  1041. package/components/item-slot-picker-BSO1ltXC.js +0 -505
  1042. package/components/item-slot-picker-CvySq194.cjs +0 -174
  1043. package/components/item-slot-picker-panel-CsntXcAp.js +0 -448
  1044. package/components/item-slot-picker-panel-DQ_OzMO_.cjs +0 -81
  1045. package/components/line-chart-positioning.config-CrreArf5.js +0 -55
  1046. package/components/line-chart-positioning.config-DMe1Ldwk.cjs +0 -20
  1047. package/components/load-data-fields-for-datasets-B3XcFFfg.js +0 -42
  1048. package/components/load-data-fields-for-datasets-rL24A68g.cjs +0 -20
  1049. package/components/localized-mixin-DaLXe5J9.js +0 -45
  1050. package/components/localized-mixin-DiUJOd06.cjs +0 -20
  1051. package/components/marker-map-positioning.config-CpI8nCtC.cjs +0 -20
  1052. package/components/marker-map-positioning.config-DW9tMO2M.js +0 -48
  1053. package/components/nl-BaZM3WoR.js +0 -565
  1054. package/components/nl-BoEhzeIh.cjs +0 -20
  1055. package/components/ohlc-chart-positioning.config-9DETh4xy.cjs +0 -20
  1056. package/components/ohlc-chart-positioning.config-CkX8gyS2.js +0 -78
  1057. package/components/parallel-coordinates-plot-positioning.config-CLDZdGdh.cjs +0 -20
  1058. package/components/parallel-coordinates-plot-positioning.config-DTJZLEeT.js +0 -48
  1059. package/components/pivot-table-positioning.config-B-SALuVb.cjs +0 -20
  1060. package/components/pivot-table-positioning.config-CtSYHD-n.js +0 -55
  1061. package/components/pyramid-chart-positioning.config-0Juiava5.js +0 -55
  1062. package/components/pyramid-chart-positioning.config-BllFtneP.cjs +0 -20
  1063. package/components/radar-chart-positioning.config-BPbb63S6.js +0 -55
  1064. package/components/radar-chart-positioning.config-BY4RKNDi.cjs +0 -20
  1065. package/components/route-map-options.config-C65J81_7.js +0 -328
  1066. package/components/route-map-options.config-DS9cCAQK.cjs +0 -20
  1067. package/components/route-map-positioning.config-D6nZFd8f.js +0 -66
  1068. package/components/route-map-positioning.config-GQ9AJfej.cjs +0 -20
  1069. package/components/sankey-diagram-positioning.config-DAuj5A08.cjs +0 -20
  1070. package/components/sankey-diagram-positioning.config-R1EjoR5F.js +0 -66
  1071. package/components/scatter-plot-positioning.config-DGoMnNZy.js +0 -77
  1072. package/components/scatter-plot-positioning.config-o4c-wuRo.cjs +0 -20
  1073. package/components/set-locale-Xh_1AFbC.cjs +0 -20
  1074. package/components/set-locale-ydAPif-7.js +0 -43
  1075. package/components/slicer-filter-positioning.config-BqpIENEm.cjs +0 -20
  1076. package/components/slicer-filter-positioning.config-D_didkcw.js +0 -48
  1077. package/components/slot-menu-CUdbaW3K.js +0 -428
  1078. package/components/slot-menu-DRx1Ffla.cjs +0 -71
  1079. package/components/slot-menu-list-DVSxamVa.js +0 -347
  1080. package/components/slot-menu-list-DaHzz_ve.cjs +0 -44
  1081. package/components/speedometer-chart-positioning.config-CmxsV4-x.js +0 -48
  1082. package/components/speedometer-chart-positioning.config-eVUWDhkL.cjs +0 -20
  1083. package/components/spike-map-options.config-BRwdTyrp.cjs +0 -20
  1084. package/components/spike-map-options.config-DjoTrAsC.js +0 -415
  1085. package/components/spike-map-positioning.config-B38djRlf.cjs +0 -20
  1086. package/components/spike-map-positioning.config-Bta7ar9e.js +0 -55
  1087. package/components/strip-plot-positioning.config-0vlAfmDB.js +0 -48
  1088. package/components/strip-plot-positioning.config-atH68L8u.cjs +0 -20
  1089. package/components/sunburst-chart-positioning.config-B2x6afBV.js +0 -48
  1090. package/components/sunburst-chart-positioning.config-NFzFNuXB.cjs +0 -20
  1091. package/components/symbol-map-positioning.config-B6v9PFTk.js +0 -55
  1092. package/components/symbol-map-positioning.config-DGpmp_N1.cjs +0 -20
  1093. package/components/treemap-chart-positioning.config-Bf2VNVRQ.js +0 -55
  1094. package/components/treemap-chart-positioning.config-NMULB8UM.cjs +0 -20
  1095. package/components/utils-SzKvwZ9-.cjs +0 -20
  1096. package/components/utils-_8LPCz9-.js +0 -240
  1097. package/components/venn-diagram-positioning.config-D4cODPGV.cjs +0 -20
  1098. package/components/venn-diagram-positioning.config-DgOl0Vh-.js +0 -55
  1099. package/components/viz-item-menu/index.cjs +0 -20
  1100. package/components/viz-item-menu/index.d.ts +0 -8
  1101. package/components/viz-item-menu/index.js +0 -28
  1102. package/components/viz-item-menu/types.d.ts +0 -9
  1103. package/components/viz-item-menu/viz-item-menu.d.ts +0 -78
  1104. package/components/viz-item-menu-CNHv6qDa.cjs +0 -55
  1105. package/components/viz-item-menu-L_j0L08h.js +0 -170
  1106. package/components/wordcloud-chart-positioning.config-BP6iqy-N.js +0 -55
  1107. package/components/wordcloud-chart-positioning.config-DZEkWvb0.cjs +0 -20
  1108. package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
  1109. package/react/components/viz-item-menu.component.ts +0 -33
  1110. package/react/esm/components/viz-item-menu.component.d.ts +0 -16
  1111. package/react/esm/components/viz-item-menu.component.js +0 -21
  1112. /package/{storybook/inject-global-vars.d.ts → utils/data-broker/tests/data-broker.test.d.ts} +0 -0
@@ -0,0 +1,1695 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2026 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ import { c as e, s as t } from "./type-check-CGREdneG.js";
21
+ //#region node_modules/@tanstack/query-core/build/modern/subscribable.js
22
+ var n = class {
23
+ constructor() {
24
+ this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
25
+ }
26
+ subscribe(e) {
27
+ return this.listeners.add(e), this.onSubscribe(), () => {
28
+ this.listeners.delete(e), this.onUnsubscribe();
29
+ };
30
+ }
31
+ hasListeners() {
32
+ return this.listeners.size > 0;
33
+ }
34
+ onSubscribe() {}
35
+ onUnsubscribe() {}
36
+ };
37
+ //#endregion
38
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/checkPrivateRedeclaration.js
39
+ function r(e, t) {
40
+ if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
41
+ }
42
+ //#endregion
43
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/classPrivateFieldInitSpec.js
44
+ function i(e, t, n) {
45
+ r(e, t), t.set(e, n);
46
+ }
47
+ //#endregion
48
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/assertClassBrand.js
49
+ function a(e, t, n) {
50
+ if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
51
+ throw TypeError("Private element is not present on this object");
52
+ }
53
+ //#endregion
54
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/classPrivateFieldSet2.js
55
+ function o(e, t, n) {
56
+ return e.set(a(e, t), n), n;
57
+ }
58
+ //#endregion
59
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/classPrivateFieldGet2.js
60
+ function s(e, t) {
61
+ return e.get(a(e, t));
62
+ }
63
+ //#endregion
64
+ //#region node_modules/@tanstack/query-core/build/modern/focusManager.js
65
+ var c, l, u, d = new (c = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), class extends n {
66
+ constructor() {
67
+ super(), i(this, c, void 0), i(this, l, void 0), i(this, u, void 0), o(u, this, (e) => {
68
+ if (typeof window < "u" && window.addEventListener) {
69
+ let t = () => e();
70
+ return window.addEventListener("visibilitychange", t, !1), () => {
71
+ window.removeEventListener("visibilitychange", t);
72
+ };
73
+ }
74
+ });
75
+ }
76
+ onSubscribe() {
77
+ s(l, this) || this.setEventListener(s(u, this));
78
+ }
79
+ onUnsubscribe() {
80
+ this.hasListeners() || (s(l, this)?.call(this), o(l, this, void 0));
81
+ }
82
+ setEventListener(e) {
83
+ o(u, this, e), s(l, this)?.call(this), o(l, this, e((e) => {
84
+ typeof e == "boolean" ? this.setFocused(e) : this.onFocus();
85
+ }));
86
+ }
87
+ setFocused(e) {
88
+ s(c, this) !== e && (o(c, this, e), this.onFocus());
89
+ }
90
+ onFocus() {
91
+ let e = this.isFocused();
92
+ this.listeners.forEach((t) => {
93
+ t(e);
94
+ });
95
+ }
96
+ isFocused() {
97
+ return typeof s(c, this) == "boolean" ? s(c, this) : globalThis.document?.visibilityState !== "hidden";
98
+ }
99
+ })(), f, p, ee = {
100
+ setTimeout: (e, t) => setTimeout(e, t),
101
+ clearTimeout: (e) => clearTimeout(e),
102
+ setInterval: (e, t) => setInterval(e, t),
103
+ clearInterval: (e) => clearInterval(e)
104
+ }, m = new (f = /* @__PURE__ */ new WeakMap(), p = /* @__PURE__ */ new WeakMap(), class {
105
+ constructor() {
106
+ i(this, f, ee), i(this, p, !1);
107
+ }
108
+ setTimeoutProvider(e) {
109
+ o(f, this, e);
110
+ }
111
+ setTimeout(e, t) {
112
+ return s(f, this).setTimeout(e, t);
113
+ }
114
+ clearTimeout(e) {
115
+ s(f, this).clearTimeout(e);
116
+ }
117
+ setInterval(e, t) {
118
+ return s(f, this).setInterval(e, t);
119
+ }
120
+ clearInterval(e) {
121
+ s(f, this).clearInterval(e);
122
+ }
123
+ })();
124
+ function te(e) {
125
+ setTimeout(e, 0);
126
+ }
127
+ //#endregion
128
+ //#region node_modules/@tanstack/query-core/build/modern/utils.js
129
+ var ne = typeof window > "u" || "Deno" in globalThis;
130
+ function h() {}
131
+ function re(e, t) {
132
+ return typeof e == "function" ? e(t) : e;
133
+ }
134
+ function ie(e) {
135
+ return typeof e == "number" && e >= 0 && e !== Infinity;
136
+ }
137
+ function ae(e, t) {
138
+ return Math.max(e + (t || 0) - Date.now(), 0);
139
+ }
140
+ function oe(e, t) {
141
+ return typeof e == "function" ? e(t) : e;
142
+ }
143
+ function se(e, t) {
144
+ return typeof e == "function" ? e(t) : e;
145
+ }
146
+ function ce(e, t) {
147
+ let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
148
+ if (o) {
149
+ if (r) {
150
+ if (t.queryHash !== ue(o, t.options)) return !1;
151
+ } else if (!_(t.queryKey, o)) return !1;
152
+ }
153
+ if (n !== "all") {
154
+ let e = t.isActive();
155
+ if (n === "active" && !e || n === "inactive" && e) return !1;
156
+ }
157
+ return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
158
+ }
159
+ function le(e, t) {
160
+ let { exact: n, status: r, predicate: i, mutationKey: a } = e;
161
+ if (a) {
162
+ if (!t.options.mutationKey) return !1;
163
+ if (n) {
164
+ if (g(t.options.mutationKey) !== g(a)) return !1;
165
+ } else if (!_(t.options.mutationKey, a)) return !1;
166
+ }
167
+ return !(r && t.state.status !== r || i && !i(t));
168
+ }
169
+ function ue(e, t) {
170
+ return (t?.queryKeyHashFn || g)(e);
171
+ }
172
+ function g(e) {
173
+ return JSON.stringify(e, (e, t) => me(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
174
+ }
175
+ function _(e, t) {
176
+ return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => _(e[n], t[n])) : !1;
177
+ }
178
+ var de = Object.prototype.hasOwnProperty;
179
+ function fe(e, t, n = 0) {
180
+ if (e === t) return e;
181
+ if (n > 500) return t;
182
+ let r = pe(e) && pe(t);
183
+ if (!r && !(me(e) && me(t))) return t;
184
+ let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
185
+ for (let l = 0; l < o; l++) {
186
+ let o = r ? l : a[l], u = e[o], d = t[o];
187
+ if (u === d) {
188
+ s[o] = u, (r ? l < i : de.call(e, o)) && c++;
189
+ continue;
190
+ }
191
+ if (u === null || d === null || typeof u != "object" || typeof d != "object") {
192
+ s[o] = d;
193
+ continue;
194
+ }
195
+ let f = fe(u, d, n + 1);
196
+ s[o] = f, f === u && c++;
197
+ }
198
+ return i === o && c === i ? e : s;
199
+ }
200
+ function pe(e) {
201
+ return Array.isArray(e) && e.length === Object.keys(e).length;
202
+ }
203
+ function me(e) {
204
+ if (!he(e)) return !1;
205
+ let t = e.constructor;
206
+ if (t === void 0) return !0;
207
+ let n = t.prototype;
208
+ return !(!he(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
209
+ }
210
+ function he(e) {
211
+ return Object.prototype.toString.call(e) === "[object Object]";
212
+ }
213
+ function ge(e) {
214
+ return new Promise((t) => {
215
+ m.setTimeout(t, e);
216
+ });
217
+ }
218
+ function _e(e, t, n) {
219
+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : fe(e, t);
220
+ }
221
+ function ve(e, t, n = 0) {
222
+ let r = [...e, t];
223
+ return n && r.length > n ? r.slice(1) : r;
224
+ }
225
+ function ye(e, t, n = 0) {
226
+ let r = [t, ...e];
227
+ return n && r.length > n ? r.slice(0, -1) : r;
228
+ }
229
+ var v = /* @__PURE__ */ Symbol();
230
+ function be(e, t) {
231
+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === v ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
232
+ }
233
+ function xe(e, t, n) {
234
+ let r = !1, i;
235
+ return Object.defineProperty(e, "signal", {
236
+ enumerable: !0,
237
+ get: () => (i ??= t(), r ? i : (r = !0, i.aborted ? n() : i.addEventListener("abort", n, { once: !0 }), i))
238
+ }), e;
239
+ }
240
+ //#endregion
241
+ //#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
242
+ var Se = /* @__PURE__ */ (() => {
243
+ let e = () => ne;
244
+ return {
245
+ isServer() {
246
+ return e();
247
+ },
248
+ setIsServer(t) {
249
+ e = t;
250
+ }
251
+ };
252
+ })();
253
+ //#endregion
254
+ //#region node_modules/@tanstack/query-core/build/modern/thenable.js
255
+ function Ce() {
256
+ let e, t, n = new Promise((n, r) => {
257
+ e = n, t = r;
258
+ });
259
+ n.status = "pending", n.catch(() => {});
260
+ function r(e) {
261
+ Object.assign(n, e), delete n.resolve, delete n.reject;
262
+ }
263
+ return n.resolve = (t) => {
264
+ r({
265
+ status: "fulfilled",
266
+ value: t
267
+ }), e(t);
268
+ }, n.reject = (e) => {
269
+ r({
270
+ status: "rejected",
271
+ reason: e
272
+ }), t(e);
273
+ }, n;
274
+ }
275
+ //#endregion
276
+ //#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
277
+ var we = te;
278
+ function Te() {
279
+ let e = [], t = 0, n = (e) => {
280
+ e();
281
+ }, r = (e) => {
282
+ e();
283
+ }, i = we, a = (r) => {
284
+ t ? e.push(r) : i(() => {
285
+ n(r);
286
+ });
287
+ }, o = () => {
288
+ let t = e;
289
+ e = [], t.length && i(() => {
290
+ r(() => {
291
+ t.forEach((e) => {
292
+ n(e);
293
+ });
294
+ });
295
+ });
296
+ };
297
+ return {
298
+ batch: (e) => {
299
+ let n;
300
+ t++;
301
+ try {
302
+ n = e();
303
+ } finally {
304
+ t--, t || o();
305
+ }
306
+ return n;
307
+ },
308
+ batchCalls: (e) => (...t) => {
309
+ a(() => {
310
+ e(...t);
311
+ });
312
+ },
313
+ schedule: a,
314
+ setNotifyFunction: (e) => {
315
+ n = e;
316
+ },
317
+ setBatchNotifyFunction: (e) => {
318
+ r = e;
319
+ },
320
+ setScheduler: (e) => {
321
+ i = e;
322
+ }
323
+ };
324
+ }
325
+ var y = Te(), b, x, S, C = new (b = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap(), class extends n {
326
+ constructor() {
327
+ super(), i(this, b, !0), i(this, x, void 0), i(this, S, void 0), o(S, this, (e) => {
328
+ if (typeof window < "u" && window.addEventListener) {
329
+ let t = () => e(!0), n = () => e(!1);
330
+ return window.addEventListener("online", t, !1), window.addEventListener("offline", n, !1), () => {
331
+ window.removeEventListener("online", t), window.removeEventListener("offline", n);
332
+ };
333
+ }
334
+ });
335
+ }
336
+ onSubscribe() {
337
+ s(x, this) || this.setEventListener(s(S, this));
338
+ }
339
+ onUnsubscribe() {
340
+ this.hasListeners() || (s(x, this)?.call(this), o(x, this, void 0));
341
+ }
342
+ setEventListener(e) {
343
+ o(S, this, e), s(x, this)?.call(this), o(x, this, e(this.setOnline.bind(this)));
344
+ }
345
+ setOnline(e) {
346
+ s(b, this) !== e && (o(b, this, e), this.listeners.forEach((t) => {
347
+ t(e);
348
+ }));
349
+ }
350
+ isOnline() {
351
+ return s(b, this);
352
+ }
353
+ })();
354
+ //#endregion
355
+ //#region node_modules/@tanstack/query-core/build/modern/retryer.js
356
+ function Ee(e) {
357
+ return Math.min(1e3 * 2 ** e, 3e4);
358
+ }
359
+ function De(e) {
360
+ return (e ?? "online") !== "online" || C.isOnline();
361
+ }
362
+ var Oe = class extends Error {
363
+ constructor(e) {
364
+ super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
365
+ }
366
+ };
367
+ function ke(e) {
368
+ let t = !1, n = 0, r, i = Ce(), a = () => i.status !== "pending", o = (t) => {
369
+ if (!a()) {
370
+ let n = new Oe(t);
371
+ p(n), e.onCancel?.(n);
372
+ }
373
+ }, s = () => {
374
+ t = !0;
375
+ }, c = () => {
376
+ t = !1;
377
+ }, l = () => d.isFocused() && (e.networkMode === "always" || C.isOnline()) && e.canRun(), u = () => De(e.networkMode) && e.canRun(), f = (e) => {
378
+ a() || (r?.(), i.resolve(e));
379
+ }, p = (e) => {
380
+ a() || (r?.(), i.reject(e));
381
+ }, ee = () => new Promise((t) => {
382
+ r = (e) => {
383
+ (a() || l()) && t(e);
384
+ }, e.onPause?.();
385
+ }).then(() => {
386
+ r = void 0, a() || e.onContinue?.();
387
+ }), m = () => {
388
+ if (a()) return;
389
+ let r, i = n === 0 ? e.initialPromise : void 0;
390
+ try {
391
+ r = i ?? e.fn();
392
+ } catch (e) {
393
+ r = Promise.reject(e);
394
+ }
395
+ Promise.resolve(r).then(f).catch((r) => {
396
+ if (a()) return;
397
+ let i = e.retry ?? (Se.isServer() ? 0 : 3), o = e.retryDelay ?? Ee, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
398
+ if (t || !c) {
399
+ p(r);
400
+ return;
401
+ }
402
+ n++, e.onFail?.(n, r), ge(s).then(() => l() ? void 0 : ee()).then(() => {
403
+ t ? p(r) : m();
404
+ });
405
+ });
406
+ };
407
+ return {
408
+ promise: i,
409
+ status: () => i.status,
410
+ cancel: o,
411
+ continue: () => (r?.(), i),
412
+ cancelRetry: s,
413
+ continueRetry: c,
414
+ canStart: u,
415
+ start: () => (u() ? m() : ee().then(m), i)
416
+ };
417
+ }
418
+ //#endregion
419
+ //#region node_modules/@tanstack/query-core/build/modern/removable.js
420
+ var w, Ae = (w = /* @__PURE__ */ new WeakMap(), class {
421
+ constructor() {
422
+ i(this, w, void 0);
423
+ }
424
+ destroy() {
425
+ this.clearGcTimeout();
426
+ }
427
+ scheduleGc() {
428
+ this.clearGcTimeout(), ie(this.gcTime) && o(w, this, m.setTimeout(() => {
429
+ this.optionalRemove();
430
+ }, this.gcTime));
431
+ }
432
+ updateGcTime(e) {
433
+ this.gcTime = Math.max(this.gcTime || 0, e ?? (Se.isServer() ? Infinity : 300 * 1e3));
434
+ }
435
+ clearGcTimeout() {
436
+ s(w, this) !== void 0 && (m.clearTimeout(s(w, this)), o(w, this, void 0));
437
+ }
438
+ });
439
+ //#endregion
440
+ //#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
441
+ function je(e) {
442
+ return { onFetch: (t, n) => {
443
+ let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
444
+ pages: [],
445
+ pageParams: []
446
+ }, c = 0, l = async () => {
447
+ let n = !1, l = (e) => {
448
+ xe(e, () => t.signal, () => n = !0);
449
+ }, u = be(t.options, t.fetchOptions), d = async (e, r, i) => {
450
+ if (n) return Promise.reject(t.signal.reason);
451
+ if (r == null && e.pages.length) return Promise.resolve(e);
452
+ let a = (() => {
453
+ let e = {
454
+ client: t.client,
455
+ queryKey: t.queryKey,
456
+ pageParam: r,
457
+ direction: i ? "backward" : "forward",
458
+ meta: t.options.meta
459
+ };
460
+ return l(e), e;
461
+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? ye : ve;
462
+ return {
463
+ pages: c(e.pages, o, s),
464
+ pageParams: c(e.pageParams, r, s)
465
+ };
466
+ };
467
+ if (i && a.length) {
468
+ let e = i === "backward", t = e ? Ne : Me, n = {
469
+ pages: a,
470
+ pageParams: o
471
+ };
472
+ s = await d(n, t(r, n), e);
473
+ } else {
474
+ let t = e ?? a.length;
475
+ do {
476
+ let e = c === 0 ? o[0] ?? r.initialPageParam : Me(r, s);
477
+ if (c > 0 && e == null) break;
478
+ s = await d(s, e), c++;
479
+ } while (c < t);
480
+ }
481
+ return s;
482
+ };
483
+ t.options.persister ? t.fetchFn = () => t.options.persister?.(l, {
484
+ client: t.client,
485
+ queryKey: t.queryKey,
486
+ meta: t.options.meta,
487
+ signal: t.signal
488
+ }, n) : t.fetchFn = l;
489
+ } };
490
+ }
491
+ function Me(e, { pages: t, pageParams: n }) {
492
+ let r = t.length - 1;
493
+ return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
494
+ }
495
+ function Ne(e, { pages: t, pageParams: n }) {
496
+ return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
497
+ }
498
+ //#endregion
499
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/classPrivateMethodInitSpec.js
500
+ function Pe(e, t) {
501
+ r(e, t), t.add(e);
502
+ }
503
+ //#endregion
504
+ //#region node_modules/@tanstack/query-core/build/modern/query.js
505
+ var T, E, D, O, k, A, j, M, N, Fe = (T = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakMap(), O = /* @__PURE__ */ new WeakMap(), k = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ new WeakMap(), j = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakSet(), class extends Ae {
506
+ constructor(e) {
507
+ super(), Pe(this, N), i(this, T, void 0), i(this, E, void 0), i(this, D, void 0), i(this, O, void 0), i(this, k, void 0), i(this, A, void 0), i(this, j, void 0), i(this, M, void 0), o(M, this, !1), o(j, this, e.defaultOptions), this.setOptions(e.options), this.observers = [], o(k, this, e.client), o(O, this, s(k, this).getQueryCache()), this.queryKey = e.queryKey, this.queryHash = e.queryHash, o(E, this, ze(this.options)), this.state = e.state ?? s(E, this), this.scheduleGc();
508
+ }
509
+ get meta() {
510
+ return this.options.meta;
511
+ }
512
+ get queryType() {
513
+ return s(T, this);
514
+ }
515
+ get promise() {
516
+ return s(A, this)?.promise;
517
+ }
518
+ setOptions(e) {
519
+ if (this.options = {
520
+ ...s(j, this),
521
+ ...e
522
+ }, e?._type && o(T, this, e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
523
+ let e = ze(this.options);
524
+ e.data !== void 0 && (this.setState(Re(e.data, e.dataUpdatedAt)), o(E, this, e));
525
+ }
526
+ }
527
+ optionalRemove() {
528
+ !this.observers.length && this.state.fetchStatus === "idle" && s(O, this).remove(this);
529
+ }
530
+ setData(e, t) {
531
+ let n = _e(this.state.data, e, this.options);
532
+ return a(N, this, P).call(this, {
533
+ data: n,
534
+ type: "success",
535
+ dataUpdatedAt: t?.updatedAt,
536
+ manual: t?.manual
537
+ }), n;
538
+ }
539
+ setState(e) {
540
+ a(N, this, P).call(this, {
541
+ type: "setState",
542
+ state: e
543
+ });
544
+ }
545
+ cancel(e) {
546
+ let t = s(A, this)?.promise;
547
+ return s(A, this)?.cancel(e), t ? t.then(h).catch(h) : Promise.resolve();
548
+ }
549
+ destroy() {
550
+ super.destroy(), this.cancel({ silent: !0 });
551
+ }
552
+ get resetState() {
553
+ return s(E, this);
554
+ }
555
+ reset() {
556
+ this.destroy(), this.setState(this.resetState);
557
+ }
558
+ isActive() {
559
+ return this.observers.some((e) => se(e.options.enabled, this) !== !1);
560
+ }
561
+ isDisabled() {
562
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === v || !this.isFetched();
563
+ }
564
+ isFetched() {
565
+ return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
566
+ }
567
+ isStatic() {
568
+ return this.getObserversCount() > 0 && this.observers.some((e) => oe(e.options.staleTime, this) === "static");
569
+ }
570
+ isStale() {
571
+ return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
572
+ }
573
+ isStaleByTime(e = 0) {
574
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !ae(this.state.dataUpdatedAt, e);
575
+ }
576
+ onFocus() {
577
+ this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), s(A, this)?.continue();
578
+ }
579
+ onOnline() {
580
+ this.observers.find((e) => e.shouldFetchOnReconnect())?.refetch({ cancelRefetch: !1 }), s(A, this)?.continue();
581
+ }
582
+ addObserver(e) {
583
+ this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), s(O, this).notify({
584
+ type: "observerAdded",
585
+ query: this,
586
+ observer: e
587
+ }));
588
+ }
589
+ removeObserver(e) {
590
+ this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (s(A, this) && (s(M, this) || a(N, this, Ie).call(this) ? s(A, this).cancel({ revert: !0 }) : s(A, this).cancelRetry()), this.scheduleGc()), s(O, this).notify({
591
+ type: "observerRemoved",
592
+ query: this,
593
+ observer: e
594
+ }));
595
+ }
596
+ getObserversCount() {
597
+ return this.observers.length;
598
+ }
599
+ invalidate() {
600
+ this.state.isInvalidated || a(N, this, P).call(this, { type: "invalidate" });
601
+ }
602
+ async fetch(e, t) {
603
+ if (this.state.fetchStatus !== "idle" && s(A, this)?.status() !== "rejected") {
604
+ if (this.state.data !== void 0 && t?.cancelRefetch) this.cancel({ silent: !0 });
605
+ else if (s(A, this)) return s(A, this).continueRetry(), s(A, this).promise;
606
+ }
607
+ if (e && this.setOptions(e), !this.options.queryFn) {
608
+ let e = this.observers.find((e) => e.options.queryFn);
609
+ e && this.setOptions(e.options);
610
+ }
611
+ let n = new AbortController(), r = (e) => {
612
+ Object.defineProperty(e, "signal", {
613
+ enumerable: !0,
614
+ get: () => (o(M, this, !0), n.signal)
615
+ });
616
+ }, i = () => {
617
+ let e = be(this.options, t), n = (() => {
618
+ let e = {
619
+ client: s(k, this),
620
+ queryKey: this.queryKey,
621
+ meta: this.meta
622
+ };
623
+ return r(e), e;
624
+ })();
625
+ return o(M, this, !1), this.options.persister ? this.options.persister(e, n, this) : e(n);
626
+ }, c = (() => {
627
+ let e = {
628
+ fetchOptions: t,
629
+ options: this.options,
630
+ queryKey: this.queryKey,
631
+ client: s(k, this),
632
+ state: this.state,
633
+ fetchFn: i
634
+ };
635
+ return r(e), e;
636
+ })();
637
+ (s(T, this) === "infinite" ? je(this.options.pages) : this.options.behavior)?.onFetch(c, this), o(D, this, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== c.fetchOptions?.meta) && a(N, this, P).call(this, {
638
+ type: "fetch",
639
+ meta: c.fetchOptions?.meta
640
+ }), o(A, this, ke({
641
+ initialPromise: t?.initialPromise,
642
+ fn: c.fetchFn,
643
+ onCancel: (e) => {
644
+ e instanceof Oe && e.revert && this.setState({
645
+ ...s(D, this),
646
+ fetchStatus: "idle"
647
+ }), n.abort();
648
+ },
649
+ onFail: (e, t) => {
650
+ a(N, this, P).call(this, {
651
+ type: "failed",
652
+ failureCount: e,
653
+ error: t
654
+ });
655
+ },
656
+ onPause: () => {
657
+ a(N, this, P).call(this, { type: "pause" });
658
+ },
659
+ onContinue: () => {
660
+ a(N, this, P).call(this, { type: "continue" });
661
+ },
662
+ retry: c.options.retry,
663
+ retryDelay: c.options.retryDelay,
664
+ networkMode: c.options.networkMode,
665
+ canRun: () => !0
666
+ }));
667
+ try {
668
+ let e = await s(A, this).start();
669
+ if (e === void 0) throw Error(`${this.queryHash} data is undefined`);
670
+ return this.setData(e), s(O, this).config.onSuccess?.(e, this), s(O, this).config.onSettled?.(e, this.state.error, this), e;
671
+ } catch (e) {
672
+ if (e instanceof Oe) {
673
+ if (e.silent) return s(A, this).promise;
674
+ if (e.revert) {
675
+ if (this.state.data === void 0) throw e;
676
+ return this.state.data;
677
+ }
678
+ }
679
+ throw a(N, this, P).call(this, {
680
+ type: "error",
681
+ error: e
682
+ }), s(O, this).config.onError?.(e, this), s(O, this).config.onSettled?.(this.state.data, e, this), e;
683
+ } finally {
684
+ this.scheduleGc();
685
+ }
686
+ }
687
+ });
688
+ function Ie() {
689
+ return this.state.fetchStatus === "paused" && this.state.status === "pending";
690
+ }
691
+ function P(e) {
692
+ let t = (t) => {
693
+ switch (e.type) {
694
+ case "failed": return {
695
+ ...t,
696
+ fetchFailureCount: e.failureCount,
697
+ fetchFailureReason: e.error
698
+ };
699
+ case "pause": return {
700
+ ...t,
701
+ fetchStatus: "paused"
702
+ };
703
+ case "continue": return {
704
+ ...t,
705
+ fetchStatus: "fetching"
706
+ };
707
+ case "fetch": return {
708
+ ...t,
709
+ ...Le(t.data, this.options),
710
+ fetchMeta: e.meta ?? null
711
+ };
712
+ case "success":
713
+ let n = {
714
+ ...t,
715
+ ...Re(e.data, e.dataUpdatedAt),
716
+ dataUpdateCount: t.dataUpdateCount + 1,
717
+ ...!e.manual && {
718
+ fetchStatus: "idle",
719
+ fetchFailureCount: 0,
720
+ fetchFailureReason: null
721
+ }
722
+ };
723
+ return o(D, this, e.manual ? n : void 0), n;
724
+ case "error":
725
+ let r = e.error;
726
+ return {
727
+ ...t,
728
+ error: r,
729
+ errorUpdateCount: t.errorUpdateCount + 1,
730
+ errorUpdatedAt: Date.now(),
731
+ fetchFailureCount: t.fetchFailureCount + 1,
732
+ fetchFailureReason: r,
733
+ fetchStatus: "idle",
734
+ status: "error",
735
+ isInvalidated: !0
736
+ };
737
+ case "invalidate": return {
738
+ ...t,
739
+ isInvalidated: !0
740
+ };
741
+ case "setState": return {
742
+ ...t,
743
+ ...e.state
744
+ };
745
+ }
746
+ };
747
+ this.state = t(this.state), y.batch(() => {
748
+ this.observers.forEach((e) => {
749
+ e.onQueryUpdate();
750
+ }), s(O, this).notify({
751
+ query: this,
752
+ type: "updated",
753
+ action: e
754
+ });
755
+ });
756
+ }
757
+ function Le(e, t) {
758
+ return {
759
+ fetchFailureCount: 0,
760
+ fetchFailureReason: null,
761
+ fetchStatus: De(t.networkMode) ? "fetching" : "paused",
762
+ ...e === void 0 && {
763
+ error: null,
764
+ status: "pending"
765
+ }
766
+ };
767
+ }
768
+ function Re(e, t) {
769
+ return {
770
+ data: e,
771
+ dataUpdatedAt: t ?? Date.now(),
772
+ error: null,
773
+ isInvalidated: !1,
774
+ status: "success"
775
+ };
776
+ }
777
+ function ze(e) {
778
+ 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;
779
+ return {
780
+ data: t,
781
+ dataUpdateCount: 0,
782
+ dataUpdatedAt: n ? r ?? Date.now() : 0,
783
+ error: null,
784
+ errorUpdateCount: 0,
785
+ errorUpdatedAt: 0,
786
+ fetchFailureCount: 0,
787
+ fetchFailureReason: null,
788
+ fetchMeta: null,
789
+ isInvalidated: !1,
790
+ status: n ? "success" : "pending",
791
+ fetchStatus: "idle"
792
+ };
793
+ }
794
+ //#endregion
795
+ //#region node_modules/@tanstack/query-core/build/modern/mutation.js
796
+ var F, I, L, R, z, Be = (F = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), L = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakSet(), class extends Ae {
797
+ constructor(e) {
798
+ super(), Pe(this, z), i(this, F, void 0), i(this, I, void 0), i(this, L, void 0), i(this, R, void 0), o(F, this, e.client), this.mutationId = e.mutationId, o(L, this, e.mutationCache), o(I, this, []), this.state = e.state || Ve(), this.setOptions(e.options), this.scheduleGc();
799
+ }
800
+ setOptions(e) {
801
+ this.options = e, this.updateGcTime(this.options.gcTime);
802
+ }
803
+ get meta() {
804
+ return this.options.meta;
805
+ }
806
+ addObserver(e) {
807
+ s(I, this).includes(e) || (s(I, this).push(e), this.clearGcTimeout(), s(L, this).notify({
808
+ type: "observerAdded",
809
+ mutation: this,
810
+ observer: e
811
+ }));
812
+ }
813
+ removeObserver(e) {
814
+ o(I, this, s(I, this).filter((t) => t !== e)), this.scheduleGc(), s(L, this).notify({
815
+ type: "observerRemoved",
816
+ mutation: this,
817
+ observer: e
818
+ });
819
+ }
820
+ optionalRemove() {
821
+ s(I, this).length || (this.state.status === "pending" ? this.scheduleGc() : s(L, this).remove(this));
822
+ }
823
+ continue() {
824
+ return s(R, this)?.continue() ?? this.execute(this.state.variables);
825
+ }
826
+ async execute(e) {
827
+ let t = () => {
828
+ a(z, this, B).call(this, { type: "continue" });
829
+ }, n = {
830
+ client: s(F, this),
831
+ meta: this.options.meta,
832
+ mutationKey: this.options.mutationKey
833
+ };
834
+ o(R, this, ke({
835
+ fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
836
+ onFail: (e, t) => {
837
+ a(z, this, B).call(this, {
838
+ type: "failed",
839
+ failureCount: e,
840
+ error: t
841
+ });
842
+ },
843
+ onPause: () => {
844
+ a(z, this, B).call(this, { type: "pause" });
845
+ },
846
+ onContinue: t,
847
+ retry: this.options.retry ?? 0,
848
+ retryDelay: this.options.retryDelay,
849
+ networkMode: this.options.networkMode,
850
+ canRun: () => s(L, this).canRun(this)
851
+ }));
852
+ let r = this.state.status === "pending", i = !s(R, this).canStart();
853
+ try {
854
+ if (r) t();
855
+ else {
856
+ a(z, this, B).call(this, {
857
+ type: "pending",
858
+ variables: e,
859
+ isPaused: i
860
+ }), s(L, this).config.onMutate && await s(L, this).config.onMutate(e, this, n);
861
+ let t = await this.options.onMutate?.(e, n);
862
+ t !== this.state.context && a(z, this, B).call(this, {
863
+ type: "pending",
864
+ context: t,
865
+ variables: e,
866
+ isPaused: i
867
+ });
868
+ }
869
+ let o = await s(R, this).start();
870
+ return await s(L, this).config.onSuccess?.(o, e, this.state.context, this, n), await this.options.onSuccess?.(o, e, this.state.context, n), await s(L, this).config.onSettled?.(o, null, this.state.variables, this.state.context, this, n), await this.options.onSettled?.(o, null, e, this.state.context, n), a(z, this, B).call(this, {
871
+ type: "success",
872
+ data: o
873
+ }), o;
874
+ } catch (t) {
875
+ try {
876
+ await s(L, this).config.onError?.(t, e, this.state.context, this, n);
877
+ } catch (e) {
878
+ Promise.reject(e);
879
+ }
880
+ try {
881
+ await this.options.onError?.(t, e, this.state.context, n);
882
+ } catch (e) {
883
+ Promise.reject(e);
884
+ }
885
+ try {
886
+ await s(L, this).config.onSettled?.(void 0, t, this.state.variables, this.state.context, this, n);
887
+ } catch (e) {
888
+ Promise.reject(e);
889
+ }
890
+ try {
891
+ await this.options.onSettled?.(void 0, t, e, this.state.context, n);
892
+ } catch (e) {
893
+ Promise.reject(e);
894
+ }
895
+ throw a(z, this, B).call(this, {
896
+ type: "error",
897
+ error: t
898
+ }), t;
899
+ } finally {
900
+ s(L, this).runNext(this);
901
+ }
902
+ }
903
+ });
904
+ function B(e) {
905
+ let t = (t) => {
906
+ switch (e.type) {
907
+ case "failed": return {
908
+ ...t,
909
+ failureCount: e.failureCount,
910
+ failureReason: e.error
911
+ };
912
+ case "pause": return {
913
+ ...t,
914
+ isPaused: !0
915
+ };
916
+ case "continue": return {
917
+ ...t,
918
+ isPaused: !1
919
+ };
920
+ case "pending": return {
921
+ ...t,
922
+ context: e.context,
923
+ data: void 0,
924
+ failureCount: 0,
925
+ failureReason: null,
926
+ error: null,
927
+ isPaused: e.isPaused,
928
+ status: "pending",
929
+ variables: e.variables,
930
+ submittedAt: Date.now()
931
+ };
932
+ case "success": return {
933
+ ...t,
934
+ data: e.data,
935
+ failureCount: 0,
936
+ failureReason: null,
937
+ error: null,
938
+ status: "success",
939
+ isPaused: !1
940
+ };
941
+ case "error": return {
942
+ ...t,
943
+ data: void 0,
944
+ error: e.error,
945
+ failureCount: t.failureCount + 1,
946
+ failureReason: e.error,
947
+ isPaused: !1,
948
+ status: "error"
949
+ };
950
+ }
951
+ };
952
+ this.state = t(this.state), y.batch(() => {
953
+ s(I, this).forEach((t) => {
954
+ t.onMutationUpdate(e);
955
+ }), s(L, this).notify({
956
+ mutation: this,
957
+ type: "updated",
958
+ action: e
959
+ });
960
+ });
961
+ }
962
+ function Ve() {
963
+ return {
964
+ context: void 0,
965
+ data: void 0,
966
+ error: null,
967
+ failureCount: 0,
968
+ failureReason: null,
969
+ isPaused: !1,
970
+ status: "idle",
971
+ variables: void 0,
972
+ submittedAt: 0
973
+ };
974
+ }
975
+ //#endregion
976
+ //#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
977
+ var V, H, U, He = (V = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), class extends n {
978
+ constructor(e = {}) {
979
+ super(), i(this, V, void 0), i(this, H, void 0), i(this, U, void 0), this.config = e, o(V, this, /* @__PURE__ */ new Set()), o(H, this, /* @__PURE__ */ new Map()), o(U, this, 0);
980
+ }
981
+ build(e, t, n) {
982
+ var r;
983
+ let i = new Be({
984
+ client: e,
985
+ mutationCache: this,
986
+ mutationId: o(U, this, (r = s(U, this), ++r)),
987
+ options: e.defaultMutationOptions(t),
988
+ state: n
989
+ });
990
+ return this.add(i), i;
991
+ }
992
+ add(e) {
993
+ s(V, this).add(e);
994
+ let t = W(e);
995
+ if (typeof t == "string") {
996
+ let n = s(H, this).get(t);
997
+ n ? n.push(e) : s(H, this).set(t, [e]);
998
+ }
999
+ this.notify({
1000
+ type: "added",
1001
+ mutation: e
1002
+ });
1003
+ }
1004
+ remove(e) {
1005
+ if (s(V, this).delete(e)) {
1006
+ let t = W(e);
1007
+ if (typeof t == "string") {
1008
+ let n = s(H, this).get(t);
1009
+ if (n) if (n.length > 1) {
1010
+ let t = n.indexOf(e);
1011
+ t !== -1 && n.splice(t, 1);
1012
+ } else n[0] === e && s(H, this).delete(t);
1013
+ }
1014
+ }
1015
+ this.notify({
1016
+ type: "removed",
1017
+ mutation: e
1018
+ });
1019
+ }
1020
+ canRun(e) {
1021
+ let t = W(e);
1022
+ if (typeof t == "string") {
1023
+ let n = s(H, this).get(t)?.find((e) => e.state.status === "pending");
1024
+ return !n || n === e;
1025
+ } else return !0;
1026
+ }
1027
+ runNext(e) {
1028
+ let t = W(e);
1029
+ return typeof t == "string" ? (s(H, this).get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
1030
+ }
1031
+ clear() {
1032
+ y.batch(() => {
1033
+ s(V, this).forEach((e) => {
1034
+ this.notify({
1035
+ type: "removed",
1036
+ mutation: e
1037
+ });
1038
+ }), s(V, this).clear(), s(H, this).clear();
1039
+ });
1040
+ }
1041
+ getAll() {
1042
+ return Array.from(s(V, this));
1043
+ }
1044
+ find(e) {
1045
+ let t = {
1046
+ exact: !0,
1047
+ ...e
1048
+ };
1049
+ return this.getAll().find((e) => le(t, e));
1050
+ }
1051
+ findAll(e = {}) {
1052
+ return this.getAll().filter((t) => le(e, t));
1053
+ }
1054
+ notify(e) {
1055
+ y.batch(() => {
1056
+ this.listeners.forEach((t) => {
1057
+ t(e);
1058
+ });
1059
+ });
1060
+ }
1061
+ resumePausedMutations() {
1062
+ let e = this.getAll().filter((e) => e.state.isPaused);
1063
+ return y.batch(() => Promise.all(e.map((e) => e.continue().catch(h))));
1064
+ }
1065
+ });
1066
+ function W(e) {
1067
+ return e.options.scope?.id;
1068
+ }
1069
+ //#endregion
1070
+ //#region node_modules/@tanstack/query-core/build/modern/queryCache.js
1071
+ var G, Ue = (G = /* @__PURE__ */ new WeakMap(), class extends n {
1072
+ constructor(e = {}) {
1073
+ super(), i(this, G, void 0), this.config = e, o(G, this, /* @__PURE__ */ new Map());
1074
+ }
1075
+ build(e, t, n) {
1076
+ let r = t.queryKey, i = t.queryHash ?? ue(r, t), a = this.get(i);
1077
+ return a || (a = new Fe({
1078
+ client: e,
1079
+ queryKey: r,
1080
+ queryHash: i,
1081
+ options: e.defaultQueryOptions(t),
1082
+ state: n,
1083
+ defaultOptions: e.getQueryDefaults(r)
1084
+ }), this.add(a)), a;
1085
+ }
1086
+ add(e) {
1087
+ s(G, this).has(e.queryHash) || (s(G, this).set(e.queryHash, e), this.notify({
1088
+ type: "added",
1089
+ query: e
1090
+ }));
1091
+ }
1092
+ remove(e) {
1093
+ let t = s(G, this).get(e.queryHash);
1094
+ t && (e.destroy(), t === e && s(G, this).delete(e.queryHash), this.notify({
1095
+ type: "removed",
1096
+ query: e
1097
+ }));
1098
+ }
1099
+ clear() {
1100
+ y.batch(() => {
1101
+ this.getAll().forEach((e) => {
1102
+ this.remove(e);
1103
+ });
1104
+ });
1105
+ }
1106
+ get(e) {
1107
+ return s(G, this).get(e);
1108
+ }
1109
+ getAll() {
1110
+ return [...s(G, this).values()];
1111
+ }
1112
+ find(e) {
1113
+ let t = {
1114
+ exact: !0,
1115
+ ...e
1116
+ };
1117
+ return this.getAll().find((e) => ce(t, e));
1118
+ }
1119
+ findAll(e = {}) {
1120
+ let t = this.getAll();
1121
+ return Object.keys(e).length > 0 ? t.filter((t) => ce(e, t)) : t;
1122
+ }
1123
+ notify(e) {
1124
+ y.batch(() => {
1125
+ this.listeners.forEach((t) => {
1126
+ t(e);
1127
+ });
1128
+ });
1129
+ }
1130
+ onFocus() {
1131
+ y.batch(() => {
1132
+ this.getAll().forEach((e) => {
1133
+ e.onFocus();
1134
+ });
1135
+ });
1136
+ }
1137
+ onOnline() {
1138
+ y.batch(() => {
1139
+ this.getAll().forEach((e) => {
1140
+ e.onOnline();
1141
+ });
1142
+ });
1143
+ }
1144
+ }), K, q, J, Y, X, Z, Q, $, We = (K = /* @__PURE__ */ new WeakMap(), q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), Q = /* @__PURE__ */ new WeakMap(), $ = /* @__PURE__ */ new WeakMap(), class {
1145
+ constructor(e = {}) {
1146
+ i(this, K, void 0), i(this, q, void 0), i(this, J, void 0), i(this, Y, void 0), i(this, X, void 0), i(this, Z, void 0), i(this, Q, void 0), i(this, $, void 0), o(K, this, e.queryCache || new Ue()), o(q, this, e.mutationCache || new He()), o(J, this, e.defaultOptions || {}), o(Y, this, /* @__PURE__ */ new Map()), o(X, this, /* @__PURE__ */ new Map()), o(Z, this, 0);
1147
+ }
1148
+ mount() {
1149
+ var e;
1150
+ o(Z, this, (e = s(Z, this), e++, e)), s(Z, this) === 1 && (o(Q, this, d.subscribe(async (e) => {
1151
+ e && (await this.resumePausedMutations(), s(K, this).onFocus());
1152
+ })), o($, this, C.subscribe(async (e) => {
1153
+ e && (await this.resumePausedMutations(), s(K, this).onOnline());
1154
+ })));
1155
+ }
1156
+ unmount() {
1157
+ var e;
1158
+ o(Z, this, (e = s(Z, this), e--, e)), s(Z, this) === 0 && (s(Q, this)?.call(this), o(Q, this, void 0), s($, this)?.call(this), o($, this, void 0));
1159
+ }
1160
+ isFetching(e) {
1161
+ return s(K, this).findAll({
1162
+ ...e,
1163
+ fetchStatus: "fetching"
1164
+ }).length;
1165
+ }
1166
+ isMutating(e) {
1167
+ return s(q, this).findAll({
1168
+ ...e,
1169
+ status: "pending"
1170
+ }).length;
1171
+ }
1172
+ getQueryData(e) {
1173
+ let t = this.defaultQueryOptions({ queryKey: e });
1174
+ return s(K, this).get(t.queryHash)?.state.data;
1175
+ }
1176
+ ensureQueryData(e) {
1177
+ let t = this.defaultQueryOptions(e), n = s(K, this).build(this, t), r = n.state.data;
1178
+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(oe(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
1179
+ }
1180
+ getQueriesData(e) {
1181
+ return s(K, this).findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
1182
+ }
1183
+ setQueryData(e, t, n) {
1184
+ let r = this.defaultQueryOptions({ queryKey: e }), i = s(K, this).get(r.queryHash)?.state.data, a = re(t, i);
1185
+ if (a !== void 0) return s(K, this).build(this, r).setData(a, {
1186
+ ...n,
1187
+ manual: !0
1188
+ });
1189
+ }
1190
+ setQueriesData(e, t, n) {
1191
+ return y.batch(() => s(K, this).findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
1192
+ }
1193
+ getQueryState(e) {
1194
+ let t = this.defaultQueryOptions({ queryKey: e });
1195
+ return s(K, this).get(t.queryHash)?.state;
1196
+ }
1197
+ removeQueries(e) {
1198
+ let t = s(K, this);
1199
+ y.batch(() => {
1200
+ t.findAll(e).forEach((e) => {
1201
+ t.remove(e);
1202
+ });
1203
+ });
1204
+ }
1205
+ resetQueries(e, t) {
1206
+ let n = s(K, this);
1207
+ return y.batch(() => (n.findAll(e).forEach((e) => {
1208
+ e.reset();
1209
+ }), this.refetchQueries({
1210
+ type: "active",
1211
+ ...e
1212
+ }, t)));
1213
+ }
1214
+ cancelQueries(e, t = {}) {
1215
+ let n = {
1216
+ revert: !0,
1217
+ ...t
1218
+ }, r = y.batch(() => s(K, this).findAll(e).map((e) => e.cancel(n)));
1219
+ return Promise.all(r).then(h).catch(h);
1220
+ }
1221
+ invalidateQueries(e, t = {}) {
1222
+ return y.batch(() => (s(K, this).findAll(e).forEach((e) => {
1223
+ e.invalidate();
1224
+ }), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
1225
+ ...e,
1226
+ type: e?.refetchType ?? e?.type ?? "active"
1227
+ }, t)));
1228
+ }
1229
+ refetchQueries(e, t = {}) {
1230
+ let n = {
1231
+ ...t,
1232
+ cancelRefetch: t.cancelRefetch ?? !0
1233
+ }, r = y.batch(() => s(K, this).findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
1234
+ let t = e.fetch(void 0, n);
1235
+ return n.throwOnError || (t = t.catch(h)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
1236
+ }));
1237
+ return Promise.all(r).then(h);
1238
+ }
1239
+ fetchQuery(e) {
1240
+ let t = this.defaultQueryOptions(e);
1241
+ t.retry === void 0 && (t.retry = !1);
1242
+ let n = s(K, this).build(this, t);
1243
+ return n.isStaleByTime(oe(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
1244
+ }
1245
+ prefetchQuery(e) {
1246
+ return this.fetchQuery(e).then(h).catch(h);
1247
+ }
1248
+ fetchInfiniteQuery(e) {
1249
+ return e._type = "infinite", this.fetchQuery(e);
1250
+ }
1251
+ prefetchInfiniteQuery(e) {
1252
+ return this.fetchInfiniteQuery(e).then(h).catch(h);
1253
+ }
1254
+ ensureInfiniteQueryData(e) {
1255
+ return e._type = "infinite", this.ensureQueryData(e);
1256
+ }
1257
+ resumePausedMutations() {
1258
+ return C.isOnline() ? s(q, this).resumePausedMutations() : Promise.resolve();
1259
+ }
1260
+ getQueryCache() {
1261
+ return s(K, this);
1262
+ }
1263
+ getMutationCache() {
1264
+ return s(q, this);
1265
+ }
1266
+ getDefaultOptions() {
1267
+ return s(J, this);
1268
+ }
1269
+ setDefaultOptions(e) {
1270
+ o(J, this, e);
1271
+ }
1272
+ setQueryDefaults(e, t) {
1273
+ s(Y, this).set(g(e), {
1274
+ queryKey: e,
1275
+ defaultOptions: t
1276
+ });
1277
+ }
1278
+ getQueryDefaults(e) {
1279
+ let t = [...s(Y, this).values()], n = {};
1280
+ return t.forEach((t) => {
1281
+ _(e, t.queryKey) && Object.assign(n, t.defaultOptions);
1282
+ }), n;
1283
+ }
1284
+ setMutationDefaults(e, t) {
1285
+ s(X, this).set(g(e), {
1286
+ mutationKey: e,
1287
+ defaultOptions: t
1288
+ });
1289
+ }
1290
+ getMutationDefaults(e) {
1291
+ let t = [...s(X, this).values()], n = {};
1292
+ return t.forEach((t) => {
1293
+ _(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
1294
+ }), n;
1295
+ }
1296
+ defaultQueryOptions(e) {
1297
+ if (e._defaulted) return e;
1298
+ let t = {
1299
+ ...s(J, this).queries,
1300
+ ...this.getQueryDefaults(e.queryKey),
1301
+ ...e,
1302
+ _defaulted: !0
1303
+ };
1304
+ return t.queryHash ||= ue(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 === v && (t.enabled = !1), t;
1305
+ }
1306
+ defaultMutationOptions(e) {
1307
+ return e?._defaulted ? e : {
1308
+ ...s(J, this).mutations,
1309
+ ...e?.mutationKey && this.getMutationDefaults(e.mutationKey),
1310
+ ...e,
1311
+ _defaulted: !0
1312
+ };
1313
+ }
1314
+ clear() {
1315
+ s(K, this).clear(), s(q, this).clear();
1316
+ }
1317
+ }), Ge = class n {
1318
+ constructor(e = {}) {
1319
+ 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 We({ defaultOptions: { queries: {
1320
+ staleTime: e.staleTime || 300 * 1e3,
1321
+ gcTime: e.gcTime || 600 * 1e3,
1322
+ retry: e.retry || 3,
1323
+ retryDelay: e.retryDelay || ((e) => Math.min(1e3 * 2 ** e, 3e4))
1324
+ } } }), e.skipNetworkListeners || this.initNetworkListeners();
1325
+ }
1326
+ _normalizeUrl(e) {
1327
+ try {
1328
+ let t = new URL(e);
1329
+ return t.origin + t.pathname.replace(/\/$/, "");
1330
+ } catch {
1331
+ return e;
1332
+ }
1333
+ }
1334
+ configure(e = {}) {
1335
+ 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;
1336
+ 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) {
1337
+ let t = {};
1338
+ e.staleTime && (t.staleTime = e.staleTime), e.gcTime && (t.gcTime = e.gcTime), e.retry && (t.retry = e.retry), this.queryClient.setDefaultOptions({ queries: {
1339
+ ...this.queryClient.getDefaultOptions().queries,
1340
+ ...t
1341
+ } });
1342
+ }
1343
+ }
1344
+ clearLocalCache() {
1345
+ this.queryClient.clear(), this.availableDatasets = [];
1346
+ }
1347
+ initNetworkListeners() {
1348
+ typeof window < "u" && window.addEventListener("online", () => {
1349
+ console.warn("Network connection restored, refreshing data..."), this.refreshAll();
1350
+ });
1351
+ }
1352
+ getHeaders(e = {}) {
1353
+ return {
1354
+ "Content-Type": "application/json",
1355
+ ...e
1356
+ };
1357
+ }
1358
+ async fetchApi(e, t, n = {}) {
1359
+ let r = `${this.apiUrl}/${this.apiVersion}${e}`, i = {
1360
+ method: n.method || "POST",
1361
+ headers: this.getHeaders(n.headers),
1362
+ mode: "cors",
1363
+ ...n
1364
+ };
1365
+ t !== void 0 && (t.key = this.authKey, t.token = this.authToken, i.body = JSON.stringify(t));
1366
+ try {
1367
+ let t = await fetch(r, i);
1368
+ if (!t.ok) {
1369
+ let n = await t.json().catch(() => null);
1370
+ 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}`);
1371
+ }
1372
+ return await t.json();
1373
+ } catch (t) {
1374
+ throw console.error(`API request to ${e} failed:`, t), t instanceof Error && (t.endpoint = e, t.timestamp = (/* @__PURE__ */ new Date()).toISOString()), t;
1375
+ }
1376
+ }
1377
+ async fetchAllDatasets(e = {}) {
1378
+ let t = e.offset || 0, n = e.limit || 50, r = [
1379
+ "datasets",
1380
+ t,
1381
+ n
1382
+ ];
1383
+ return await this.queryClient.fetchQuery({
1384
+ queryKey: r,
1385
+ queryFn: async () => {
1386
+ let e = {
1387
+ action: "get",
1388
+ version: this.apiVersion,
1389
+ find: {
1390
+ where: { type: "dataset" },
1391
+ attributes: [
1392
+ "id",
1393
+ "name",
1394
+ "description"
1395
+ ],
1396
+ limit: n,
1397
+ offset: t
1398
+ }
1399
+ }, r = await this.fetchApi("/securable", e);
1400
+ return {
1401
+ data: r?.rows ?? [],
1402
+ pagination: {
1403
+ offset: t,
1404
+ limit: n,
1405
+ total: r?.count ?? 0,
1406
+ pages: Math.ceil((r?.count ?? 0) / n)
1407
+ }
1408
+ };
1409
+ }
1410
+ });
1411
+ }
1412
+ async searchDatasets(e, t) {
1413
+ if (!e) return { data: [] };
1414
+ let n = [
1415
+ "datasets",
1416
+ "search",
1417
+ e,
1418
+ t
1419
+ ];
1420
+ return await this.queryClient.fetchQuery({
1421
+ queryKey: n,
1422
+ queryFn: async () => {
1423
+ let n = {
1424
+ action: "get",
1425
+ version: this.apiVersion,
1426
+ find: { where: { type: "dataset" } }
1427
+ };
1428
+ e?.length > 0 && (n.find.search = {
1429
+ match_types: ["name"],
1430
+ keyphrase: e
1431
+ }), t?.offset && (n.find.offset = t?.offset), t?.limit && (n.find.limit = t?.limit);
1432
+ let r = await this.fetchApi("/securable", n), i = { data: r?.rows ?? [] };
1433
+ return t?.limit && (i.pagination = {
1434
+ offset: t?.offset ?? 0,
1435
+ limit: t?.limit,
1436
+ total: r?.count ?? 0,
1437
+ pages: Math.ceil((r?.count ?? 0) / t?.limit)
1438
+ }), i;
1439
+ }
1440
+ });
1441
+ }
1442
+ async fetchDatasetNames(t) {
1443
+ if (!t || t.length === 0) throw Error("At least one dataset ID is required");
1444
+ let { valid: n, invalid: r } = e(t);
1445
+ 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.");
1446
+ let i = [
1447
+ "dataset-names",
1448
+ n,
1449
+ this.authKey,
1450
+ this.authToken
1451
+ ];
1452
+ return await this.queryClient.fetchQuery({
1453
+ queryKey: i,
1454
+ queryFn: async () => {
1455
+ let e = {
1456
+ action: "get",
1457
+ version: this.apiVersion,
1458
+ find: {
1459
+ where: {
1460
+ type: "dataset",
1461
+ id: { in: n }
1462
+ },
1463
+ attributes: [
1464
+ "name",
1465
+ "id",
1466
+ "description"
1467
+ ]
1468
+ }
1469
+ };
1470
+ return (await this.fetchApi("/securable", e))?.rows ?? [];
1471
+ }
1472
+ });
1473
+ }
1474
+ async fetchDatasetsWithColumnsAndFormulas(t) {
1475
+ if (!t || t.length === 0) throw Error("At least one dataset ID is required");
1476
+ let { valid: n, invalid: r } = e(t);
1477
+ 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.");
1478
+ let i = [
1479
+ "datasets",
1480
+ n,
1481
+ this.authKey,
1482
+ this.authToken
1483
+ ];
1484
+ return await this.queryClient.fetchQuery({
1485
+ queryKey: i,
1486
+ queryFn: async () => {
1487
+ let e = {
1488
+ action: "get",
1489
+ version: this.apiVersion,
1490
+ find: {
1491
+ where: {
1492
+ type: "dataset",
1493
+ id: { in: n }
1494
+ },
1495
+ attributes: [
1496
+ "name",
1497
+ "id",
1498
+ "description"
1499
+ ],
1500
+ include: [{
1501
+ model: "Column",
1502
+ attributes: [
1503
+ "id",
1504
+ "name",
1505
+ "description",
1506
+ "type",
1507
+ "subtype",
1508
+ "format",
1509
+ "hidden",
1510
+ "lowestLevel",
1511
+ "expression",
1512
+ "duration_levels",
1513
+ "duration_format"
1514
+ ],
1515
+ separate: !0,
1516
+ order: [["order", "asc"]],
1517
+ include: [
1518
+ {
1519
+ model: "Column",
1520
+ attributes: [
1521
+ "id",
1522
+ "securable_id",
1523
+ "hierarchy_enabled",
1524
+ "currency_id"
1525
+ ],
1526
+ as: "Joins"
1527
+ },
1528
+ {
1529
+ model: "HierarchyLevel",
1530
+ attributes: [
1531
+ "id",
1532
+ "level",
1533
+ "name"
1534
+ ],
1535
+ as: "HierarchyLevels"
1536
+ },
1537
+ {
1538
+ model: "Currency",
1539
+ attributes: [
1540
+ "id",
1541
+ "name",
1542
+ "symbol"
1543
+ ],
1544
+ as: "Currency"
1545
+ }
1546
+ ]
1547
+ }, {
1548
+ model: "Formula",
1549
+ attributes: [
1550
+ "id",
1551
+ "name",
1552
+ "description",
1553
+ "type",
1554
+ "subtype",
1555
+ "format",
1556
+ "hidden",
1557
+ "lowestLevel",
1558
+ "expression",
1559
+ "duration_levels",
1560
+ "duration_format"
1561
+ ],
1562
+ include: [{
1563
+ model: "Currency",
1564
+ attributes: [
1565
+ "id",
1566
+ "name",
1567
+ "symbol"
1568
+ ],
1569
+ as: "Currency"
1570
+ }]
1571
+ }]
1572
+ }
1573
+ };
1574
+ return (await this.fetchApi("/securable", e))?.rows ?? [];
1575
+ }
1576
+ });
1577
+ }
1578
+ async fetchData(e) {
1579
+ if (!e) throw Error("Query is required");
1580
+ let t = ["data", e];
1581
+ return await this.queryClient.fetchQuery({
1582
+ queryKey: t,
1583
+ queryFn: async () => {
1584
+ let t = {
1585
+ action: "get",
1586
+ version: this.apiVersion,
1587
+ find: { queries: [e] }
1588
+ }, n = await this.fetchApi("/data", t);
1589
+ return {
1590
+ data: n?.data || [],
1591
+ performance: n?.performance || {}
1592
+ };
1593
+ }
1594
+ });
1595
+ }
1596
+ getCachedData(e) {
1597
+ let t = ["data", e], n = this.queryClient.getQueryState(t), r = this.queryClient.getDefaultOptions().queries?.staleTime;
1598
+ if (!(!n?.data || n.isInvalidated || typeof r != "number") && !(r !== Infinity && Date.now() - n.dataUpdatedAt > r)) return n.data;
1599
+ }
1600
+ async validate(e, t) {
1601
+ if (!t?.expression) return { valid: !1 };
1602
+ let n = {
1603
+ action: "validate",
1604
+ version: this.apiVersion,
1605
+ properties: t
1606
+ }, r = await this.fetchApi(`/${e}`, n);
1607
+ return {
1608
+ valid: !!r?.valid,
1609
+ reason: r?.reason ?? r?.error,
1610
+ explanation: r?.explanation,
1611
+ type: r?.type
1612
+ };
1613
+ }
1614
+ async fetchTheme(e) {
1615
+ if (!e) throw Error("Theme ID is required");
1616
+ let t = ["theme", e];
1617
+ return await this.queryClient.fetchQuery({
1618
+ queryKey: t,
1619
+ queryFn: async () => (await this.fetchApi("/theme", {
1620
+ action: "get",
1621
+ version: this.apiVersion,
1622
+ find: { where: { id: e } }
1623
+ }))?.rows?.[0]
1624
+ });
1625
+ }
1626
+ refreshAll() {
1627
+ this.queryClient.refetchQueries();
1628
+ }
1629
+ invalidateDatasetData(e) {
1630
+ e ? (this.queryClient.invalidateQueries({ queryKey: ["dataset", e] }), this.queryClient.invalidateQueries({ queryKey: ["columns", e] })) : this.queryClient.invalidateQueries({ queryKey: ["datasets"] });
1631
+ }
1632
+ invalidateAll() {
1633
+ this.queryClient.clear();
1634
+ }
1635
+ static getInstance(e = {}) {
1636
+ return n.instance ? Object.keys(e).length > 0 && n.instance.configure(e) : n.instance = new n(e), n.instance;
1637
+ }
1638
+ async fetchDatasetsRecursive(n) {
1639
+ if (!n || n.length === 0) throw Error("At least one dataset ID is required");
1640
+ let { valid: r, invalid: i } = e(n);
1641
+ 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.");
1642
+ let a = [...new Set(r)], o = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Map(), c = (e) => {
1643
+ e && t(e) && !o.has(e) && !a.includes(e) && a.push(e);
1644
+ };
1645
+ for (; a.length > 0;) {
1646
+ let e = [];
1647
+ for (; a.length > 0 && e.length < 50;) {
1648
+ let t = a.shift();
1649
+ o.has(t) || e.push(t);
1650
+ }
1651
+ if (e.length !== 0) try {
1652
+ (await this.fetchDatasetsWithColumnsAndFormulas(e)).forEach((e) => {
1653
+ let t = this.postProcessDatasetMetadata(e);
1654
+ 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) => {
1655
+ c(e);
1656
+ }), s.set(t.id, t), this.availableDatasets.some((e) => e.id === t.id) || this.availableDatasets.push({
1657
+ id: t.id,
1658
+ name: t.name,
1659
+ columns: t.columns
1660
+ });
1661
+ });
1662
+ } catch (e) {
1663
+ console.error("Error fetching datasets recursively:", e);
1664
+ }
1665
+ }
1666
+ return [...s.values()];
1667
+ }
1668
+ postProcessDatasetMetadata(e) {
1669
+ let t = [], n = (e.columns ?? []).map((e) => {
1670
+ let n = e.joins ?? (Array.isArray(e.joins) ? e.joins : []);
1671
+ Array.isArray(n) && n.length > 0 && t.push(...n);
1672
+ let { joins: r, ...i } = e;
1673
+ return {
1674
+ ...i,
1675
+ joins: n
1676
+ };
1677
+ });
1678
+ return {
1679
+ ...e,
1680
+ columns: n,
1681
+ formulas: e.formulas ?? [],
1682
+ outgoingJoins: t,
1683
+ dateLoaded: /* @__PURE__ */ new Date()
1684
+ };
1685
+ }
1686
+ getAvailableDatasets() {
1687
+ return this.availableDatasets;
1688
+ }
1689
+ getLinkedDatasetsIds(e) {
1690
+ let t = this.queryClient.getQueryData(["dataset", e]);
1691
+ return t ? (t.outgoingJoins ?? []).map((e) => e.securable_id).filter((t) => !!t && t !== e) : [];
1692
+ }
1693
+ }, Ke = Ge.getInstance();
1694
+ //#endregion
1695
+ export { Ke as n, Ge as t };