@luzmo/analytics-components-kit 1.0.7 → 1.0.8-beta.2

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 (654) hide show
  1. package/README.md +15 -2
  2. package/components/ai-chat/index.cjs +1 -1
  3. package/components/ai-chat/index.js +2 -2
  4. package/components/{ai-chat-CVNU2mCV.cjs → ai-chat-D1Rzwdxy.cjs} +2 -2
  5. package/components/{ai-chat-CDSRFmJK.js → ai-chat-Dy_utMXO.js} +7 -4
  6. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +3 -0
  7. package/components/ai-interaction-textarea/index.cjs +1 -1
  8. package/components/ai-interaction-textarea/index.js +1 -1
  9. package/components/{ai-interaction-textarea-BXDeplJF.cjs → ai-interaction-textarea-CJO50_1F.cjs} +5 -3
  10. package/components/{ai-interaction-textarea-BiMbUGCy.js → ai-interaction-textarea-DMT8RNUP.js} +13 -6
  11. package/components/{area-chart-positioning.config-dwRUFC--.cjs → area-chart-positioning.config-BstzDLRL.cjs} +1 -1
  12. package/components/{area-chart-positioning.config-SLtTkKJB.js → area-chart-positioning.config-DeMlkQZO.js} +1 -1
  13. package/components/{bar-chart-positioning.config-Ch4sVyJS.js → bar-chart-positioning.config-Cw4xXpaU.js} +1 -1
  14. package/components/{bar-chart-positioning.config-CcQ2iQdl.cjs → bar-chart-positioning.config-DDKGGZhU.cjs} +1 -1
  15. package/components/{base-DYRe99_q.cjs → base-B0frB7oV.cjs} +1 -1
  16. package/components/{base-2sulw8ws.js → base-DPqRkMth.js} +1 -1
  17. package/components/{base-store-DmDe0dTU.js → base-store-BhGpnbqi.js} +0 -8
  18. package/components/{base-store-DHC2m2Os.cjs → base-store-D5cDq6d4.cjs} +1 -1
  19. package/components/{box-plot-positioning.config-Bb7r-Rfl.js → box-plot-positioning.config-BQf8CX15.js} +1 -1
  20. package/components/{box-plot-positioning.config-Dwtiqho4.cjs → box-plot-positioning.config-Cni8SYCB.cjs} +1 -1
  21. package/components/{bubble-chart-positioning.config-Bp_l4Cw1.cjs → bubble-chart-positioning.config-1Q2GxFJ4.cjs} +1 -1
  22. package/components/{bubble-chart-positioning.config-Q7mIfpcz.js → bubble-chart-positioning.config-BYeXJRKW.js} +1 -1
  23. package/components/{bullet-chart-positioning.config-B7aXCajU.js → bullet-chart-positioning.config-D-fuuO8D.js} +1 -1
  24. package/components/{bullet-chart-positioning.config-sj7E3xEM.cjs → bullet-chart-positioning.config-NSHvsWAf.cjs} +1 -1
  25. package/components/{choropleth-map-positioning.config-CtoJov9H.js → choropleth-map-positioning.config-Bk2lcbUF.js} +1 -1
  26. package/components/{choropleth-map-positioning.config-DM-iNbgs.cjs → choropleth-map-positioning.config-DZCuGwit.cjs} +1 -1
  27. package/components/{circle-pack-chart-positioning.config-Cs9xMDpi.cjs → circle-pack-chart-positioning.config-CuESD4oH.cjs} +1 -1
  28. package/components/{circle-pack-chart-positioning.config-BgxnBOQT.js → circle-pack-chart-positioning.config-pvlFSoeh.js} +1 -1
  29. package/components/{circular-gauge-positioning.config-FEkbw6hK.js → circular-gauge-positioning.config-BI5_9VzK.js} +1 -1
  30. package/components/{circular-gauge-positioning.config-Bzulob5F.cjs → circular-gauge-positioning.config-DIYxTFVO.cjs} +1 -1
  31. package/components/{column-chart-positioning.config-BeVOSQaJ.js → column-chart-positioning.config-CoekgrWc.js} +1 -1
  32. package/components/{column-chart-positioning.config-9ho9oUo8.cjs → column-chart-positioning.config-F5liDplz.cjs} +1 -1
  33. package/components/{combination-chart-positioning.config-CaShl4vv.cjs → combination-chart-positioning.config-BIqhiqPc.cjs} +1 -1
  34. package/components/{combination-chart-positioning.config-D4VUK54k.js → combination-chart-positioning.config-gfmXofUL.js} +1 -1
  35. package/components/{conditional-number-positioning.config-BEMjjhdi.cjs → conditional-number-positioning.config-7xN8yNaC.cjs} +1 -1
  36. package/components/{conditional-number-positioning.config-C-LpjCJN.js → conditional-number-positioning.config-DoA_qMvA.js} +1 -1
  37. package/components/{data-broker-Bdv5V8Yp.js → data-broker-B0uUO5er.js} +4 -0
  38. package/components/{data-broker-DWEXs6-2.cjs → data-broker-CyMYR6w1.cjs} +1 -1
  39. package/components/data-field/index.cjs +1 -1
  40. package/components/data-field/index.js +1 -1
  41. package/components/{data-field-lGJ557o4.cjs → data-field-CZGdgBd7.cjs} +1 -1
  42. package/components/{data-field-Dz0XFrep.js → data-field-Ccsjj3o5.js} +3 -3
  43. package/components/data-field-level/index.cjs +1 -1
  44. package/components/data-field-level/index.js +1 -1
  45. package/components/{data-field-level-DJoidlHN.js → data-field-level-BautlamO.js} +1 -1
  46. package/components/{data-field-level-B9r4ucP6.cjs → data-field-level-DDYutkKV.cjs} +1 -1
  47. package/components/data-field-panel/index.cjs +1 -1
  48. package/components/data-field-panel/index.js +1 -1
  49. package/components/{data-field-panel-BzyjbJO5.cjs → data-field-panel-B9aYsBfe.cjs} +1 -1
  50. package/components/{data-field-panel-CdeJxZCr.js → data-field-panel-COHppDw6.js} +5 -5
  51. package/components/data-fields-select/index.cjs +1 -1
  52. package/components/data-fields-select/index.js +1 -1
  53. package/components/data-fields-select-BMDWXAMz.cjs +41 -0
  54. package/components/{data-fields-select-BRBBrS-x.js → data-fields-select-CvdABHum.js} +2 -2
  55. package/components/dataset-selector-list/index.cjs +1 -1
  56. package/components/dataset-selector-list/index.js +1 -1
  57. package/components/{dataset-selector-list-xF3yKGan.cjs → dataset-selector-list-CekhYtbU.cjs} +1 -1
  58. package/components/{dataset-selector-list-DGCh1bvb.js → dataset-selector-list-yU9o-gBK.js} +2 -2
  59. package/components/dataset-selector-row/dataset-selector-row.d.ts +11 -0
  60. package/components/dataset-selector-row/index.cjs +1 -1
  61. package/components/dataset-selector-row/index.js +1 -1
  62. package/components/dataset-selector-row-Cte3skmf.cjs +90 -0
  63. package/components/{dataset-selector-row-BbnjxfIz.js → dataset-selector-row-eb2fUxMB.js} +48 -15
  64. package/components/de-BZnsTnT9.cjs +20 -0
  65. package/components/{de-CRrCVuH7.js → de-CbIHJOex.js} +22 -0
  66. package/components/display-settings/index.cjs +1 -1
  67. package/components/display-settings/index.js +1 -1
  68. package/components/{display-settings-eSQCidqh.cjs → display-settings-B_sY5MXH.cjs} +1 -1
  69. package/components/{display-settings-C9OQ4Eou.js → display-settings-DpPSk_da.js} +2 -2
  70. package/components/display-settings-binning/index.cjs +1 -1
  71. package/components/display-settings-binning/index.js +1 -1
  72. package/components/{display-settings-binning-BBNL97l9.cjs → display-settings-binning-BGYyLt7_.cjs} +1 -1
  73. package/components/{display-settings-binning-B8E2H5cY.js → display-settings-binning-w2pMC3eK.js} +2 -2
  74. package/components/display-settings-datetime/index.cjs +1 -1
  75. package/components/display-settings-datetime/index.js +1 -1
  76. package/components/{display-settings-datetime-BBzvzwl5.js → display-settings-datetime-Ditc8j2_.js} +2 -2
  77. package/components/{display-settings-datetime-czjk5Msv.cjs → display-settings-datetime-l9LWhG3c.cjs} +1 -1
  78. package/components/display-settings-grand-totals/index.cjs +1 -1
  79. package/components/display-settings-grand-totals/index.js +1 -1
  80. package/components/{display-settings-grand-totals-RwMnGwFZ.cjs → display-settings-grand-totals-D-_CQpBV.cjs} +1 -1
  81. package/components/{display-settings-grand-totals-CF01m8x-.js → display-settings-grand-totals-HcJLxYe2.js} +2 -2
  82. package/components/display-settings-numeric/index.cjs +1 -1
  83. package/components/display-settings-numeric/index.js +1 -1
  84. package/components/{display-settings-numeric-C4X7oOEU.cjs → display-settings-numeric-CShtLo7v.cjs} +1 -1
  85. package/components/{display-settings-numeric-BcpwYX16.js → display-settings-numeric-FWO7hFLp.js} +2 -2
  86. package/components/display-settings-period-over-period/index.cjs +1 -1
  87. package/components/display-settings-period-over-period/index.js +1 -1
  88. package/components/{display-settings-period-over-period-B8UNYZ0I.js → display-settings-period-over-period-B1dHBjlg.js} +2 -2
  89. package/components/{display-settings-period-over-period-BG9YAcCw.cjs → display-settings-period-over-period-BdBYrWwJ.cjs} +1 -1
  90. package/components/{donut-chart-positioning.config-CaADC7Qr.js → donut-chart-positioning.config-B-CWvQDP.js} +1 -1
  91. package/components/{donut-chart-positioning.config-Dfws3ojS.cjs → donut-chart-positioning.config-DsHR-HET.cjs} +1 -1
  92. package/components/es-D3v9KL7a.cjs +20 -0
  93. package/components/{es-BIgv-ijQ.js → es-bVLNpB-8.js} +22 -0
  94. package/components/{evolution-number-positioning.config-CI_2m2Sr.cjs → evolution-number-positioning.config-DWJlecZ8.cjs} +1 -1
  95. package/components/{evolution-number-positioning.config-C-OV1wpL.js → evolution-number-positioning.config-DogBtixy.js} +1 -1
  96. package/components/filter-expression-picker/index.cjs +1 -1
  97. package/components/filter-expression-picker/index.js +1 -1
  98. package/components/{filter-expression-picker-_mfcXZ-n.cjs → filter-expression-picker-Dtd04YHa.cjs} +1 -1
  99. package/components/{filter-expression-picker-CH2Fna8C.js → filter-expression-picker-vZcmpdhp.js} +2 -2
  100. package/components/filter-item/filter-item.d.ts +4 -0
  101. package/components/filter-item/index.cjs +1 -1
  102. package/components/filter-item/index.js +1 -1
  103. package/components/{filter-item-CL3S9HOx.js → filter-item-DhWm1nZ2.js} +28 -13
  104. package/components/filter-item-QGXrunyl.cjs +71 -0
  105. package/components/filter-parameter-picker/index.cjs +1 -1
  106. package/components/filter-parameter-picker/index.js +1 -1
  107. package/components/{filter-parameter-picker-CU48aEOS.js → filter-parameter-picker-Dq7rskJq.js} +1 -1
  108. package/components/{filter-parameter-picker-CxbAY5hy.cjs → filter-parameter-picker-_KpPQvwJ.cjs} +1 -1
  109. package/components/filter-value-picker/index.cjs +1 -1
  110. package/components/filter-value-picker/index.js +1 -1
  111. package/components/{filter-value-picker-CD8DjcHo.js → filter-value-picker-DL-XI9zN.js} +4 -4
  112. package/components/{filter-value-picker-CRrUhngj.cjs → filter-value-picker-DUPgUphE.cjs} +1 -1
  113. package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +2 -1
  114. package/components/filter-value-picker-datetime/index.cjs +1 -1
  115. package/components/filter-value-picker-datetime/index.js +1 -1
  116. package/components/{filter-value-picker-datetime-dXaHpCRX.cjs → filter-value-picker-datetime-BYosmOVo.cjs} +1 -1
  117. package/components/{filter-value-picker-datetime-DS7IK9aN.js → filter-value-picker-datetime-DrtBsmhk.js} +2 -2
  118. package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +16 -0
  119. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  120. package/components/filter-value-picker-hierarchy/index.js +1 -1
  121. package/components/filter-value-picker-hierarchy-Co7tEAF0.cjs +48 -0
  122. package/components/{filter-value-picker-hierarchy-k0T56CvH.js → filter-value-picker-hierarchy-D9HPNjXi.js} +120 -53
  123. package/components/filter-value-picker-numeric/index.cjs +1 -1
  124. package/components/filter-value-picker-numeric/index.js +1 -1
  125. package/components/{filter-value-picker-numeric-BVei4Vlc.cjs → filter-value-picker-numeric-BCaSriJT.cjs} +1 -1
  126. package/components/{filter-value-picker-numeric-BaQe4r82.js → filter-value-picker-numeric-CLRBOcom.js} +3 -3
  127. package/components/filters/index.cjs +1 -1
  128. package/components/filters/index.js +1 -1
  129. package/components/filters-DPh6G5_6.cjs +153 -0
  130. package/components/{filters-B70hF2NT.js → filters-hIID3Ol5.js} +173 -170
  131. package/components/formula/index.cjs +1 -1
  132. package/components/formula/index.js +1 -1
  133. package/components/{formula-DdgD312W.js → formula-D6fZk242.js} +2 -2
  134. package/components/{formula-glPlLx_5.cjs → formula-DJa0m0vt.cjs} +1 -1
  135. package/components/{formula-codemirror-D3Z1Qa0J.js → formula-codemirror-CS38irmY.js} +4 -4
  136. package/components/{formula-codemirror-GoFCSp6r.cjs → formula-codemirror-ClMjdWte.cjs} +1 -1
  137. package/components/{formula-display-store-bPGDv_xk.js → formula-display-store-BVCcrqMB.js} +4 -4
  138. package/components/{formula-display-store-eE3zaCyB.cjs → formula-display-store-riWDbPmO.cjs} +1 -1
  139. package/components/formula-editor/index.cjs +1 -1
  140. package/components/formula-editor/index.js +3 -3
  141. package/components/{formula-editor-BnWiiFr5.js → formula-editor-C63ifj9i.js} +6 -6
  142. package/components/{formula-editor-8wWzGGJr.cjs → formula-editor-KuJjGn6h.cjs} +1 -1
  143. package/components/formula-field/index.cjs +1 -1
  144. package/components/formula-field/index.js +1 -1
  145. package/components/{formula-field-IHf6I8mL.cjs → formula-field-BIseRR26.cjs} +1 -1
  146. package/components/{formula-field-DlEgUu58.js → formula-field-CZu-WBKI.js} +1 -1
  147. package/components/{formula-input-base-D5yx7RYX.cjs → formula-input-base-B1D56Klw.cjs} +1 -1
  148. package/components/{formula-input-base-7I069pOJ.js → formula-input-base-DhhV4mbQ.js} +1 -1
  149. package/components/{fr-CI9fC-NM.js → fr-BVATPudG.js} +22 -0
  150. package/components/fr-uvrkqpp_.cjs +20 -0
  151. package/components/{funnel-chart-positioning.config-CNEeOwuT.js → funnel-chart-positioning.config-D7871iXX.js} +1 -1
  152. package/components/{funnel-chart-positioning.config-Cz8gQRh_.cjs → funnel-chart-positioning.config-DswPJ8VG.cjs} +1 -1
  153. package/components/{get-dataset-name-Bae0I2_J.cjs → get-dataset-name-CIt7of_Z.cjs} +1 -1
  154. package/components/{get-dataset-name-OJK38mEs.js → get-dataset-name-CXdZ2oH_.js} +1 -1
  155. package/components/{groupings-BZJTnpwR.js → groupings-BwzDflId.js} +1 -1
  156. package/components/{groupings-B0qMZHSd.cjs → groupings-Dt2yC9fH.cjs} +1 -1
  157. package/components/{heat-map-positioning.config-CEH6qyrN.cjs → heat-map-positioning.config-C9xyxr1p.cjs} +1 -1
  158. package/components/{heat-map-positioning.config-D-Ba4Ts_.js → heat-map-positioning.config-sZTsAUnf.js} +1 -1
  159. package/components/{heat-table-positioning.config-DWNETZMx.cjs → heat-table-positioning.config-B5XgRMIn.cjs} +1 -1
  160. package/components/{heat-table-positioning.config-DCnowqOc.js → heat-table-positioning.config-DSsD8apM.js} +1 -1
  161. package/components/{hexbin-map-positioning.config-Br0pjvMN.js → hexbin-map-positioning.config-Dc9wAdAv.js} +1 -1
  162. package/components/{marker-map-positioning.config-DOhXf-CR.cjs → hexbin-map-positioning.config-Dq2TuFz1.cjs} +1 -1
  163. package/components/index.cjs +1 -1
  164. package/components/index.js +65 -63
  165. package/components/interactive-viz-item/index.cjs +1 -1
  166. package/components/interactive-viz-item/index.js +1 -1
  167. package/components/{interactive-viz-item-DZoRqeJW.cjs → interactive-viz-item-Bn9IhEvD.cjs} +1 -1
  168. package/components/{interactive-viz-item-Dogksvpq.js → interactive-viz-item-CXHq9Csp.js} +5 -5
  169. package/components/item-grid/index.cjs +1 -1
  170. package/components/item-grid/index.js +1 -1
  171. package/components/{item-grid-VPRvzGCa.cjs → item-grid-B8tT6ztQ.cjs} +2 -2
  172. package/components/{item-grid-ZQpp1brq.js → item-grid-D7b0blK6.js} +48 -48
  173. package/components/item-option/helpers/control-templates/guidelines-template.d.ts +3 -0
  174. package/components/item-option/index.cjs +1 -1
  175. package/components/item-option/index.js +1 -1
  176. package/components/{item-option-B9tALelF.js → item-option-Dc4GNRMW.js} +172 -152
  177. package/components/item-option-action-button-group/index.cjs +1 -1
  178. package/components/item-option-action-button-group/index.js +1 -1
  179. package/components/{item-option-action-button-group-BYE7i8Zd.cjs → item-option-action-button-group-BOOW6k_j.cjs} +1 -1
  180. package/components/{item-option-action-button-group-WrHKP761.js → item-option-action-button-group-BhC0n29i.js} +1 -1
  181. package/components/{item-option-base-CTBIeARi.cjs → item-option-base-D1xRkleX.cjs} +1 -1
  182. package/components/{item-option-base-CuxvyS-a.js → item-option-base-IMMzUkdt.js} +1 -1
  183. package/components/item-option-color-palette-picker/index.cjs +1 -1
  184. package/components/item-option-color-palette-picker/index.js +1 -1
  185. package/components/{item-option-color-palette-picker-eYAyoXM1.js → item-option-color-palette-picker-D6xT_kWC.js} +1 -1
  186. package/components/{item-option-color-palette-picker-CyailqDd.cjs → item-option-color-palette-picker-DBqNzR3N.cjs} +1 -1
  187. package/components/item-option-color-picker/index.cjs +1 -1
  188. package/components/item-option-color-picker/index.js +1 -1
  189. package/components/{item-option-color-picker-D_x6FgZy.js → item-option-color-picker-7Dth27ei.js} +1 -1
  190. package/components/{item-option-color-picker-DsfZKPDo.cjs → item-option-color-picker-BqjtUtrr.cjs} +1 -1
  191. package/components/item-option-color-range/index.cjs +1 -1
  192. package/components/item-option-color-range/index.js +1 -1
  193. package/components/{item-option-color-range-CHSbql1w.js → item-option-color-range-Cj5tryJo.js} +1 -1
  194. package/components/{item-option-color-range-tAMMKg6y.cjs → item-option-color-range-Cz1LuJmy.cjs} +1 -1
  195. package/components/item-option-dwknAAj9.cjs +269 -0
  196. package/components/item-option-guidelines/helpers/guidelines-value.d.ts +12 -0
  197. package/components/item-option-guidelines/index.cjs +20 -0
  198. package/components/item-option-guidelines/index.d.ts +10 -0
  199. package/components/item-option-guidelines/index.js +29 -0
  200. package/components/item-option-guidelines/item-option-guidelines.d.ts +74 -0
  201. package/components/item-option-guidelines/types.d.ts +25 -0
  202. package/components/item-option-guidelines-8v9MZ0FH.js +419 -0
  203. package/components/item-option-guidelines-CgJEAiF5.cjs +135 -0
  204. package/components/item-option-multi-language-field/index.cjs +1 -1
  205. package/components/item-option-multi-language-field/index.js +1 -1
  206. package/components/{item-option-multi-language-field-D51cJ4BM.js → item-option-multi-language-field-BkqcX9zw.js} +1 -1
  207. package/components/{item-option-multi-language-field-DjWm-jWC.cjs → item-option-multi-language-field-D9NK-noK.cjs} +1 -1
  208. package/components/item-option-number-field/index.cjs +1 -1
  209. package/components/item-option-number-field/index.js +1 -1
  210. package/components/{item-option-number-field-Dep43Ym5.cjs → item-option-number-field-BXZD_sC2.cjs} +1 -1
  211. package/components/{item-option-number-field-Df56sivV.js → item-option-number-field-DHl0phm5.js} +1 -1
  212. package/components/item-option-panel/index.cjs +1 -1
  213. package/components/item-option-panel/index.js +1 -1
  214. package/components/{item-option-panel-BYCfnDeP.js → item-option-panel-DIU-3auc.js} +2 -2
  215. package/components/{item-option-panel-ClDspg51.cjs → item-option-panel-Dv6v7RzM.cjs} +1 -1
  216. package/components/item-option-picker/index.cjs +1 -1
  217. package/components/item-option-picker/index.js +1 -1
  218. package/components/{item-option-picker-CBfFgSKs.cjs → item-option-picker-BUdP-MCI.cjs} +1 -1
  219. package/components/{item-option-picker-BCsB7psT.js → item-option-picker-CmQFzBzN.js} +1 -1
  220. package/components/item-option-position-picker/index.cjs +1 -1
  221. package/components/item-option-position-picker/index.js +1 -1
  222. package/components/{item-option-position-picker-CXJGmmWF.js → item-option-position-picker-CbnJ8Apk.js} +1 -1
  223. package/components/{item-option-position-picker-CYoOkH1m.cjs → item-option-position-picker-_2Dc6vhB.cjs} +1 -1
  224. package/components/item-option-positions-number-field/index.cjs +1 -1
  225. package/components/item-option-positions-number-field/index.js +1 -1
  226. package/components/{item-option-positions-number-field-CkfSHCFO.js → item-option-positions-number-field-B6JzEtSc.js} +1 -1
  227. package/components/{item-option-positions-number-field-CNUCVm78.cjs → item-option-positions-number-field-C41FMT4C.cjs} +1 -1
  228. package/components/item-option-radio-button-group/index.cjs +1 -1
  229. package/components/item-option-radio-button-group/index.js +1 -1
  230. package/components/{item-option-radio-button-group-ZIvbpJf9.cjs → item-option-radio-button-group-CjdCLmtq.cjs} +1 -1
  231. package/components/{item-option-radio-button-group-CSyh4eS2.js → item-option-radio-button-group-rONmmmSf.js} +1 -1
  232. package/components/item-option-slider/index.cjs +1 -1
  233. package/components/item-option-slider/index.js +1 -1
  234. package/components/{item-option-slider-CaxIGDWN.cjs → item-option-slider-CANy5MZL.cjs} +1 -1
  235. package/components/{item-option-slider-CTt5aYbb.js → item-option-slider-slgdsaDM.js} +1 -1
  236. package/components/item-option-switch/index.cjs +1 -1
  237. package/components/item-option-switch/index.js +1 -1
  238. package/components/{item-option-switch-wEx5JkSe.cjs → item-option-switch-CS6kid_8.cjs} +1 -1
  239. package/components/{item-option-switch-B91r65eW.js → item-option-switch-Cd9UA7J5.js} +1 -1
  240. package/components/item-option-text-field/index.cjs +1 -1
  241. package/components/item-option-text-field/index.js +1 -1
  242. package/components/{item-option-text-field-BLcYkH-j.cjs → item-option-text-field-6Y1zBJMK.cjs} +1 -1
  243. package/components/{item-option-text-field-BvSCGhuH.js → item-option-text-field-BFP8YnEc.js} +1 -1
  244. package/components/item-slot-drop/index.cjs +1 -1
  245. package/components/item-slot-drop/index.js +1 -1
  246. package/components/{item-slot-drop-Box1wnvM.js → item-slot-drop-BL7DOudd.js} +15 -15
  247. package/components/{item-slot-drop-n-lD8Zyh.cjs → item-slot-drop-Ds06u_vn.cjs} +1 -1
  248. package/components/item-slot-drop-panel/index.cjs +1 -1
  249. package/components/item-slot-drop-panel/index.js +1 -1
  250. package/components/{item-slot-drop-panel-sCkQ0dUU.cjs → item-slot-drop-panel-D_EFyM9J.cjs} +1 -1
  251. package/components/{item-slot-drop-panel-KtZKw0Ly.js → item-slot-drop-panel-DkHylw7i.js} +39 -39
  252. package/components/item-slot-picker/index.cjs +1 -1
  253. package/components/item-slot-picker/index.js +1 -1
  254. package/components/{item-slot-picker-DKPE2NQn.cjs → item-slot-picker-BbpPIoIq.cjs} +3 -3
  255. package/components/{item-slot-picker-Cm8o4A00.js → item-slot-picker-CywUgvNX.js} +18 -18
  256. package/components/item-slot-picker-panel/index.cjs +1 -1
  257. package/components/item-slot-picker-panel/index.js +1 -1
  258. package/components/{item-slot-picker-panel-DOHi_8UO.js → item-slot-picker-panel-Bi8xZaYc.js} +4 -4
  259. package/components/{item-slot-picker-panel-DK5jRBYs.cjs → item-slot-picker-panel-DQLwQXdI.cjs} +1 -1
  260. package/components/{line-chart-positioning.config-C05IZ4Jj.cjs → line-chart-positioning.config-CCsZMpp-.cjs} +1 -1
  261. package/components/{line-chart-positioning.config-DQfyOkWV.js → line-chart-positioning.config-q_XJiQBO.js} +1 -1
  262. package/components/{load-data-fields-for-datasets-BNnr8x3m.js → load-data-fields-for-datasets-B3XcFFfg.js} +1 -1
  263. package/components/{load-data-fields-for-datasets-CW4Voiex.cjs → load-data-fields-for-datasets-rL24A68g.cjs} +1 -1
  264. package/components/{localized-mixin-BForHr3t.cjs → localized-mixin-BbOPy_BO.cjs} +1 -1
  265. package/components/{localized-mixin-D-vXCJuU.js → localized-mixin-D1ss6vE4.js} +1 -1
  266. package/components/{hexbin-map-positioning.config-DoiUVZ8h.cjs → marker-map-positioning.config-B4GDDPUn.cjs} +1 -1
  267. package/components/{marker-map-positioning.config-CD7n0uLB.js → marker-map-positioning.config-qEo6YbOG.js} +1 -1
  268. package/components/{nl-HLnZHvTS.js → nl-D6PNT9zh.js} +22 -0
  269. package/components/nl-DwF8NHcr.cjs +20 -0
  270. package/components/{ohlc-chart-positioning.config-Bl-ckdlQ.js → ohlc-chart-positioning.config-CU7qaa8y.js} +1 -1
  271. package/components/{ohlc-chart-positioning.config-CDf77OgH.cjs → ohlc-chart-positioning.config-TquTA1gZ.cjs} +1 -1
  272. package/components/{parallel-coordinates-plot-positioning.config-DfsKsUdv.cjs → parallel-coordinates-plot-positioning.config-C8_F3uzs.cjs} +1 -1
  273. package/components/{parallel-coordinates-plot-positioning.config-Tbzzr5L6.js → parallel-coordinates-plot-positioning.config-DuQWnPKv.js} +1 -1
  274. package/components/{pivot-table-positioning.config-_YDPeFQz.js → pivot-table-positioning.config-B6ra1dbJ.js} +1 -1
  275. package/components/{pivot-table-positioning.config-DwuKN2xz.cjs → pivot-table-positioning.config-DhtDGn-Z.cjs} +1 -1
  276. package/components/{pyramid-chart-positioning.config-7AJy2_zR.cjs → pyramid-chart-positioning.config-5bWhJBP_.cjs} +1 -1
  277. package/components/{pyramid-chart-positioning.config-Btm_8m46.js → pyramid-chart-positioning.config-C_KASxlG.js} +1 -1
  278. package/components/{radar-chart-positioning.config-7Kx_uKbW.cjs → radar-chart-positioning.config-D2NVgsg1.cjs} +1 -1
  279. package/components/{radar-chart-positioning.config-DWziVqMW.js → radar-chart-positioning.config-l6ioKbxT.js} +1 -1
  280. package/components/{route-map-positioning.config-DDgEAW4k.cjs → route-map-positioning.config-5Xju6VM-.cjs} +1 -1
  281. package/components/{route-map-positioning.config-C4-2zLGp.js → route-map-positioning.config-HDuhd3TI.js} +1 -1
  282. package/components/{sankey-diagram-positioning.config-DQcUg8Cg.js → sankey-diagram-positioning.config-BKeksOQ2.js} +1 -1
  283. package/components/{sankey-diagram-positioning.config-BxVJaOKN.cjs → sankey-diagram-positioning.config-BXseVUED.cjs} +1 -1
  284. package/components/{scatter-plot-positioning.config-D3xI_5P8.cjs → scatter-plot-positioning.config-Ci_UFZZ7.cjs} +1 -1
  285. package/components/{scatter-plot-positioning.config-DOgeShUF.js → scatter-plot-positioning.config-MFGPELRh.js} +1 -1
  286. package/components/{set-locale-MQpiifTB.cjs → set-locale-8XQ-p5_N.cjs} +1 -1
  287. package/components/{set-locale-D9gR8t-s.js → set-locale-B91FmqSp.js} +4 -4
  288. package/components/set-nested-value-B-4IelRl.cjs +20 -0
  289. package/components/set-nested-value-V1TdquO3.js +33 -0
  290. package/components/{slicer-filter-positioning.config-bN36DdLc.cjs → slicer-filter-positioning.config-C2w10p-X.cjs} +1 -1
  291. package/components/{slicer-filter-positioning.config-CiHfPrM5.js → slicer-filter-positioning.config-CKyzt_nF.js} +1 -1
  292. package/components/slot-menu/index.cjs +1 -1
  293. package/components/slot-menu/index.js +1 -1
  294. package/components/slot-menu-7Lsnn5mp.cjs +71 -0
  295. package/components/{slot-menu-Qy35BZZ_.js → slot-menu-JcmVjv2g.js} +17 -14
  296. package/components/slot-menu-list/index.cjs +1 -1
  297. package/components/slot-menu-list/index.js +1 -1
  298. package/components/{slot-menu-list-BKMbIFg1.js → slot-menu-list-Bcm2lpwi.js} +1 -1
  299. package/components/{slot-menu-list-DmQe7882.cjs → slot-menu-list-tyN6sguq.cjs} +1 -1
  300. package/components/{speedometer-chart-positioning.config-B7M91sKN.js → speedometer-chart-positioning.config-BEWibjyH.js} +1 -1
  301. package/components/{speedometer-chart-positioning.config-Ce70l0Ei.cjs → speedometer-chart-positioning.config-Df5CIOwp.cjs} +1 -1
  302. package/components/{spike-map-positioning.config-D3wIf0RU.cjs → spike-map-positioning.config-C6aRn7nn.cjs} +1 -1
  303. package/components/{spike-map-positioning.config-Qf4LOPvB.js → spike-map-positioning.config-CdT1dVMG.js} +1 -1
  304. package/components/{strip-plot-positioning.config-MbfBVHf8.js → strip-plot-positioning.config-B8vN0A44.js} +1 -1
  305. package/components/{strip-plot-positioning.config-BIoncLjm.cjs → strip-plot-positioning.config-DXJci5zk.cjs} +1 -1
  306. package/components/{sunburst-chart-positioning.config-CqyXZPxE.js → sunburst-chart-positioning.config-D-qWT3sC.js} +1 -1
  307. package/components/{sunburst-chart-positioning.config-zqPLL8yF.cjs → sunburst-chart-positioning.config-XfxGkqp6.cjs} +1 -1
  308. package/components/{symbol-map-positioning.config-CQ4Vxu96.cjs → symbol-map-positioning.config-BB8-Feba.cjs} +1 -1
  309. package/components/{symbol-map-positioning.config-plXDTBA3.js → symbol-map-positioning.config-CAC8XCec.js} +1 -1
  310. package/components/{treemap-chart-positioning.config-BTGBN1f9.js → treemap-chart-positioning.config-CJKe5rf1.js} +1 -1
  311. package/components/{treemap-chart-positioning.config-CSZXzuT5.cjs → treemap-chart-positioning.config-Daf9Kk3k.cjs} +1 -1
  312. package/components/types-DNRGKFSD.js +44 -0
  313. package/components/types-pVa6ut_v.cjs +20 -0
  314. package/components/utils/base.cjs +1 -1
  315. package/components/utils/base.js +2 -2
  316. package/components/utils/store.cjs +1 -1
  317. package/components/utils/store.js +59 -58
  318. package/components/{utils-Z9xbTTWG.js → utils-BMmRy1Nn.js} +2 -2
  319. package/components/{utils-BDvDwAn7.cjs → utils-D9CBsoMV.cjs} +1 -1
  320. package/components/utils.cjs +1 -1
  321. package/components/utils.js +3 -3
  322. package/components/{venn-diagram-positioning.config-fPvrjtfX.js → venn-diagram-positioning.config-8pfbiReM.js} +1 -1
  323. package/components/{venn-diagram-positioning.config-C4vcZDtW.cjs → venn-diagram-positioning.config-DqxSgLGR.cjs} +1 -1
  324. package/components/viz-item-menu/index.cjs +1 -1
  325. package/components/viz-item-menu/index.js +1 -1
  326. package/components/{viz-item-menu-DxA295eM.cjs → viz-item-menu-BSkDsdNg.cjs} +1 -1
  327. package/components/{viz-item-menu-vckPQBdf.js → viz-item-menu-CPqpF_PR.js} +1 -1
  328. package/components/{wordcloud-chart-positioning.config-Cf1ErL-B.cjs → wordcloud-chart-positioning.config-Cb7lzr9N.cjs} +1 -1
  329. package/components/{wordcloud-chart-positioning.config-ChUx_Ahc.js → wordcloud-chart-positioning.config-DUazjx5M.js} +1 -1
  330. package/custom-elements.json +695 -1
  331. package/deprecated-react/components/item-option-guidelines.component.cjs +1 -0
  332. package/index.d.ts +1 -0
  333. package/package.json +7 -2
  334. package/react/components/item-option-guidelines.component.ts +27 -0
  335. package/react/esm/components/item-option-guidelines.component.d.ts +12 -0
  336. package/react/esm/components/item-option-guidelines.component.js +17 -0
  337. package/react/esm/index.d.ts +3 -2
  338. package/react/esm/index.js +4 -0
  339. package/react/index.ts +4 -0
  340. package/react/luzmo-stub.d.ts +5 -0
  341. package/react/package.json +2 -2
  342. package/storybook/register-components.d.ts +1 -0
  343. package/types.d.ts +1 -0
  344. package/utils/data-broker/index.d.ts +20 -14
  345. package/utils/set-nested-value.d.ts +6 -0
  346. package/utils/store/base-store.d.ts +0 -4
  347. package/angular/README.md +0 -40
  348. package/angular/components/ai-chat-empty-state.ts +0 -98
  349. package/angular/components/ai-chat.ts +0 -412
  350. package/angular/components/ai-interaction-textarea.ts +0 -256
  351. package/angular/components/data-field-level.ts +0 -130
  352. package/angular/components/data-field-panel.ts +0 -256
  353. package/angular/components/data-field.ts +0 -130
  354. package/angular/components/data-fields-select.ts +0 -212
  355. package/angular/components/dataset-icon.ts +0 -83
  356. package/angular/components/dataset-selector-list.ts +0 -140
  357. package/angular/components/dataset-selector-row.ts +0 -143
  358. package/angular/components/display-settings-binning.ts +0 -92
  359. package/angular/components/display-settings-datetime.ts +0 -100
  360. package/angular/components/display-settings-grand-totals.ts +0 -92
  361. package/angular/components/display-settings-numeric.ts +0 -113
  362. package/angular/components/display-settings-period-over-period.ts +0 -107
  363. package/angular/components/display-settings.ts +0 -227
  364. package/angular/components/filter-expression-picker.ts +0 -168
  365. package/angular/components/filter-item.ts +0 -175
  366. package/angular/components/filter-parameter-picker.ts +0 -155
  367. package/angular/components/filter-value-picker-datetime.ts +0 -125
  368. package/angular/components/filter-value-picker-hierarchy.ts +0 -146
  369. package/angular/components/filter-value-picker-numeric.ts +0 -146
  370. package/angular/components/filter-value-picker.ts +0 -160
  371. package/angular/components/filters.ts +0 -209
  372. package/angular/components/formula-editor.ts +0 -229
  373. package/angular/components/formula-field.ts +0 -198
  374. package/angular/components/formula.ts +0 -170
  375. package/angular/components/interactive-viz-item.ts +0 -186
  376. package/angular/components/item-grid-item-actions-menu.ts +0 -113
  377. package/angular/components/item-grid.ts +0 -242
  378. package/angular/components/item-option-action-button-group.ts +0 -105
  379. package/angular/components/item-option-color-palette-picker.ts +0 -126
  380. package/angular/components/item-option-color-picker.ts +0 -134
  381. package/angular/components/item-option-color-range.ts +0 -168
  382. package/angular/components/item-option-multi-language-field.ts +0 -133
  383. package/angular/components/item-option-number-field.ts +0 -161
  384. package/angular/components/item-option-panel.ts +0 -149
  385. package/angular/components/item-option-picker.ts +0 -120
  386. package/angular/components/item-option-position-picker.ts +0 -98
  387. package/angular/components/item-option-positions-number-field.ts +0 -140
  388. package/angular/components/item-option-radio-button-group.ts +0 -119
  389. package/angular/components/item-option-slider.ts +0 -126
  390. package/angular/components/item-option-switch.ts +0 -98
  391. package/angular/components/item-option-text-field.ts +0 -112
  392. package/angular/components/item-option.ts +0 -163
  393. package/angular/components/item-slot-drop-panel.ts +0 -236
  394. package/angular/components/item-slot-drop.ts +0 -231
  395. package/angular/components/item-slot-picker-panel.ts +0 -299
  396. package/angular/components/item-slot-picker.ts +0 -241
  397. package/angular/components/slot-menu-list.ts +0 -121
  398. package/angular/components/slot-menu.ts +0 -304
  399. package/angular/components/viz-item-menu.ts +0 -118
  400. package/angular/esm/components/ai-chat-empty-state.d.ts +0 -39
  401. package/angular/esm/components/ai-chat-empty-state.js +0 -99
  402. package/angular/esm/components/ai-chat.d.ts +0 -137
  403. package/angular/esm/components/ai-chat.js +0 -423
  404. package/angular/esm/components/ai-interaction-textarea.d.ts +0 -97
  405. package/angular/esm/components/ai-interaction-textarea.js +0 -273
  406. package/angular/esm/components/data-field-level.d.ts +0 -50
  407. package/angular/esm/components/data-field-level.js +0 -129
  408. package/angular/esm/components/data-field-panel.d.ts +0 -86
  409. package/angular/esm/components/data-field-panel.js +0 -268
  410. package/angular/esm/components/data-field.d.ts +0 -50
  411. package/angular/esm/components/data-field.js +0 -129
  412. package/angular/esm/components/data-fields-select.d.ts +0 -81
  413. package/angular/esm/components/data-fields-select.js +0 -227
  414. package/angular/esm/components/dataset-icon.d.ts +0 -34
  415. package/angular/esm/components/dataset-icon.js +0 -86
  416. package/angular/esm/components/dataset-selector-list.d.ts +0 -53
  417. package/angular/esm/components/dataset-selector-list.js +0 -147
  418. package/angular/esm/components/dataset-selector-row.d.ts +0 -53
  419. package/angular/esm/components/dataset-selector-row.js +0 -145
  420. package/angular/esm/components/display-settings-binning.d.ts +0 -37
  421. package/angular/esm/components/display-settings-binning.js +0 -91
  422. package/angular/esm/components/display-settings-datetime.d.ts +0 -40
  423. package/angular/esm/components/display-settings-datetime.js +0 -99
  424. package/angular/esm/components/display-settings-grand-totals.d.ts +0 -37
  425. package/angular/esm/components/display-settings-grand-totals.js +0 -91
  426. package/angular/esm/components/display-settings-numeric.d.ts +0 -45
  427. package/angular/esm/components/display-settings-numeric.js +0 -115
  428. package/angular/esm/components/display-settings-period-over-period.d.ts +0 -44
  429. package/angular/esm/components/display-settings-period-over-period.js +0 -107
  430. package/angular/esm/components/display-settings.d.ts +0 -83
  431. package/angular/esm/components/display-settings.js +0 -231
  432. package/angular/esm/components/filter-expression-picker.d.ts +0 -64
  433. package/angular/esm/components/filter-expression-picker.js +0 -179
  434. package/angular/esm/components/filter-item.d.ts +0 -63
  435. package/angular/esm/components/filter-item.js +0 -187
  436. package/angular/esm/components/filter-parameter-picker.d.ts +0 -56
  437. package/angular/esm/components/filter-parameter-picker.js +0 -151
  438. package/angular/esm/components/filter-value-picker-datetime.d.ts +0 -47
  439. package/angular/esm/components/filter-value-picker-datetime.js +0 -131
  440. package/angular/esm/components/filter-value-picker-hierarchy.d.ts +0 -53
  441. package/angular/esm/components/filter-value-picker-hierarchy.js +0 -155
  442. package/angular/esm/components/filter-value-picker-numeric.d.ts +0 -53
  443. package/angular/esm/components/filter-value-picker-numeric.js +0 -155
  444. package/angular/esm/components/filter-value-picker.d.ts +0 -57
  445. package/angular/esm/components/filter-value-picker.js +0 -171
  446. package/angular/esm/components/filters.d.ts +0 -75
  447. package/angular/esm/components/filters.js +0 -215
  448. package/angular/esm/components/formula-editor.d.ts +0 -78
  449. package/angular/esm/components/formula-editor.js +0 -236
  450. package/angular/esm/components/formula-field.d.ts +0 -70
  451. package/angular/esm/components/formula-field.js +0 -209
  452. package/angular/esm/components/formula.d.ts +0 -60
  453. package/angular/esm/components/formula.js +0 -177
  454. package/angular/esm/components/interactive-viz-item.d.ts +0 -63
  455. package/angular/esm/components/interactive-viz-item.js +0 -188
  456. package/angular/esm/components/item-grid-item-actions-menu.d.ts +0 -45
  457. package/angular/esm/components/item-grid-item-actions-menu.js +0 -115
  458. package/angular/esm/components/item-grid.d.ts +0 -80
  459. package/angular/esm/components/item-grid.js +0 -245
  460. package/angular/esm/components/item-option-action-button-group.d.ts +0 -41
  461. package/angular/esm/components/item-option-action-button-group.js +0 -107
  462. package/angular/esm/components/item-option-color-palette-picker.d.ts +0 -48
  463. package/angular/esm/components/item-option-color-palette-picker.js +0 -131
  464. package/angular/esm/components/item-option-color-picker.d.ts +0 -51
  465. package/angular/esm/components/item-option-color-picker.js +0 -139
  466. package/angular/esm/components/item-option-color-range.d.ts +0 -66
  467. package/angular/esm/components/item-option-color-range.js +0 -179
  468. package/angular/esm/components/item-option-multi-language-field.d.ts +0 -50
  469. package/angular/esm/components/item-option-multi-language-field.js +0 -139
  470. package/angular/esm/components/item-option-number-field.d.ts +0 -58
  471. package/angular/esm/components/item-option-number-field.js +0 -171
  472. package/angular/esm/components/item-option-panel.d.ts +0 -54
  473. package/angular/esm/components/item-option-panel.js +0 -155
  474. package/angular/esm/components/item-option-picker.d.ts +0 -46
  475. package/angular/esm/components/item-option-picker.js +0 -123
  476. package/angular/esm/components/item-option-position-picker.d.ts +0 -39
  477. package/angular/esm/components/item-option-position-picker.js +0 -99
  478. package/angular/esm/components/item-option-positions-number-field.d.ts +0 -54
  479. package/angular/esm/components/item-option-positions-number-field.js +0 -147
  480. package/angular/esm/components/item-option-radio-button-group.d.ts +0 -45
  481. package/angular/esm/components/item-option-radio-button-group.js +0 -123
  482. package/angular/esm/components/item-option-slider.d.ts +0 -46
  483. package/angular/esm/components/item-option-slider.js +0 -131
  484. package/angular/esm/components/item-option-switch.d.ts +0 -40
  485. package/angular/esm/components/item-option-switch.js +0 -99
  486. package/angular/esm/components/item-option-text-field.d.ts +0 -44
  487. package/angular/esm/components/item-option-text-field.js +0 -115
  488. package/angular/esm/components/item-option.d.ts +0 -58
  489. package/angular/esm/components/item-option.js +0 -171
  490. package/angular/esm/components/item-slot-drop-panel.d.ts +0 -82
  491. package/angular/esm/components/item-slot-drop-panel.js +0 -249
  492. package/angular/esm/components/item-slot-drop.d.ts +0 -77
  493. package/angular/esm/components/item-slot-drop.js +0 -227
  494. package/angular/esm/components/item-slot-picker-panel.d.ts +0 -97
  495. package/angular/esm/components/item-slot-picker-panel.js +0 -309
  496. package/angular/esm/components/item-slot-picker.d.ts +0 -86
  497. package/angular/esm/components/item-slot-picker.js +0 -259
  498. package/angular/esm/components/slot-menu-list.d.ts +0 -46
  499. package/angular/esm/components/slot-menu-list.js +0 -123
  500. package/angular/esm/components/slot-menu.d.ts +0 -104
  501. package/angular/esm/components/slot-menu.js +0 -300
  502. package/angular/esm/components/viz-item-menu.d.ts +0 -42
  503. package/angular/esm/components/viz-item-menu.js +0 -111
  504. package/angular/esm/index.d.ts +0 -107
  505. package/angular/esm/index.js +0 -213
  506. package/angular/index.ts +0 -219
  507. package/angular/package.json +0 -40
  508. package/angular/tsconfig.json +0 -36
  509. package/angular/type-fallbacks.d.ts +0 -0
  510. package/angular/utils/ai-prompt/attachments.d.ts +0 -10
  511. package/angular/utils/ai-prompt/dictation.d.ts +0 -50
  512. package/angular/utils/ai-prompt/image-upload.d.ts +0 -12
  513. package/angular/utils/ai-prompt/index.d.ts +0 -6
  514. package/angular/utils/ai-prompt/tests/dictation.test.d.ts +0 -1
  515. package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +0 -1
  516. package/angular/utils/base/base.d.ts +0 -16
  517. package/angular/utils/base/focus-visible.d.ts +0 -29
  518. package/angular/utils/base/focusable.d.ts +0 -58
  519. package/angular/utils/base/index.d.ts +0 -5
  520. package/angular/utils/base/localized-mixin.d.ts +0 -22
  521. package/angular/utils/base/sized-mixin.d.ts +0 -17
  522. package/angular/utils/color/color-palettes.d.ts +0 -17
  523. package/angular/utils/color/extrapolate-color.d.ts +0 -1
  524. package/angular/utils/data/load-data-fields-for-datasets.d.ts +0 -22
  525. package/angular/utils/data-broker/index.d.ts +0 -257
  526. package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +0 -12
  527. package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +0 -1
  528. package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +0 -1
  529. package/angular/utils/drag/draggable.d.ts +0 -13
  530. package/angular/utils/drag/pragmatic-element-adapter.d.ts +0 -2
  531. package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +0 -1
  532. package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +0 -1
  533. package/angular/utils/filters/expressions.d.ts +0 -15
  534. package/angular/utils/filters/index.d.ts +0 -1
  535. package/angular/utils/formatter/calculate-duration.d.ts +0 -2
  536. package/angular/utils/formatter/decompose-numeric-format.d.ts +0 -11
  537. package/angular/utils/formatter/default-local-formats.d.ts +0 -20
  538. package/angular/utils/formatter/formats/cs.d.ts +0 -20
  539. package/angular/utils/formatter/formats/da.d.ts +0 -20
  540. package/angular/utils/formatter/formats/de.d.ts +0 -21
  541. package/angular/utils/formatter/formats/en-GB.d.ts +0 -21
  542. package/angular/utils/formatter/formats/en-US.d.ts +0 -1
  543. package/angular/utils/formatter/formats/en.d.ts +0 -1
  544. package/angular/utils/formatter/formats/es.d.ts +0 -54
  545. package/angular/utils/formatter/formats/fi.d.ts +0 -20
  546. package/angular/utils/formatter/formats/fr.d.ts +0 -54
  547. package/angular/utils/formatter/formats/he.d.ts +0 -20
  548. package/angular/utils/formatter/formats/hu.d.ts +0 -20
  549. package/angular/utils/formatter/formats/it.d.ts +0 -54
  550. package/angular/utils/formatter/formats/ja.d.ts +0 -20
  551. package/angular/utils/formatter/formats/ko.d.ts +0 -20
  552. package/angular/utils/formatter/formats/mk.d.ts +0 -20
  553. package/angular/utils/formatter/formats/nl.d.ts +0 -21
  554. package/angular/utils/formatter/formats/no.d.ts +0 -21
  555. package/angular/utils/formatter/formats/pl.d.ts +0 -20
  556. package/angular/utils/formatter/formats/pt.d.ts +0 -20
  557. package/angular/utils/formatter/formats/ru.d.ts +0 -20
  558. package/angular/utils/formatter/formats/sv.d.ts +0 -20
  559. package/angular/utils/formatter/formats/tr.d.ts +0 -21
  560. package/angular/utils/formatter/formats/zh-CN.d.ts +0 -20
  561. package/angular/utils/formatter/formats/zh-TW.d.ts +0 -20
  562. package/angular/utils/formatter/formatter.d.ts +0 -9
  563. package/angular/utils/formatter/get-dataset-name.d.ts +0 -2
  564. package/angular/utils/formatter/localize.d.ts +0 -3
  565. package/angular/utils/formatter/smart-datetime-formats.const.d.ts +0 -36
  566. package/angular/utils/formatter/tests/calculate-duration.test.d.ts +0 -1
  567. package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +0 -1
  568. package/angular/utils/formatter/tests/default-local-formats.test.d.ts +0 -1
  569. package/angular/utils/formatter/tests/formatter.test.d.ts +0 -1
  570. package/angular/utils/formatter/tests/localize.test.d.ts +0 -1
  571. package/angular/utils/formula/base/formula-base.d.ts +0 -117
  572. package/angular/utils/formula/base/formula-input-base.d.ts +0 -62
  573. package/angular/utils/formula/codemirror/actions.d.ts +0 -47
  574. package/angular/utils/formula/codemirror/drop-cursor.d.ts +0 -15
  575. package/angular/utils/formula/codemirror/icon-element.d.ts +0 -7
  576. package/angular/utils/formula/codemirror/parser.d.ts +0 -16
  577. package/angular/utils/formula/codemirror/tests/actions.test.d.ts +0 -1
  578. package/angular/utils/formula/codemirror/theme.d.ts +0 -20
  579. package/angular/utils/formula/codemirror/widget.d.ts +0 -18
  580. package/angular/utils/formula/config/aggregations.d.ts +0 -9
  581. package/angular/utils/formula/config/build-datasets.d.ts +0 -10
  582. package/angular/utils/formula/config/expression-helpers.d.ts +0 -42
  583. package/angular/utils/formula/config/functions.d.ts +0 -3
  584. package/angular/utils/formula/config/groupings.d.ts +0 -9
  585. package/angular/utils/formula/config/regex.d.ts +0 -39
  586. package/angular/utils/formula/config/resolve-column-presentation.d.ts +0 -19
  587. package/angular/utils/formula/config/tests/build-datasets.test.d.ts +0 -1
  588. package/angular/utils/formula/config/validate-expression.d.ts +0 -19
  589. package/angular/utils/formula/load-formula-codemirror.d.ts +0 -4
  590. package/angular/utils/formula/render-explanation-tooltip.d.ts +0 -7
  591. package/angular/utils/formula/store/formula-display-store.d.ts +0 -93
  592. package/angular/utils/formula/store/formula-editor-context.d.ts +0 -8
  593. package/angular/utils/formula/store/formula-editor-store.d.ts +0 -46
  594. package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +0 -1
  595. package/angular/utils/formula/tests/validate-expression.test.d.ts +0 -1
  596. package/angular/utils/get-css-variable.d.ts +0 -1
  597. package/angular/utils/index.d.ts +0 -10
  598. package/angular/utils/localize/set-locale.d.ts +0 -7
  599. package/angular/utils/map-tile-providers/index.d.ts +0 -93
  600. package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +0 -7
  601. package/angular/utils/slot-content/render-calculation-label.d.ts +0 -7
  602. package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +0 -1
  603. package/angular/utils/slot-state/slot-context.d.ts +0 -4
  604. package/angular/utils/slot-state/slot-store.d.ts +0 -39
  605. package/angular/utils/store/base-store.d.ts +0 -162
  606. package/angular/utils/store/dashboard-store.d.ts +0 -49
  607. package/angular/utils/store/index.d.ts +0 -135
  608. package/angular/utils/store/item-store.d.ts +0 -33
  609. package/angular/utils/store/store-registry.d.ts +0 -170
  610. package/angular/utils/store/tests/dashboard-store.test.d.ts +0 -1
  611. package/angular/utils/store/tests/item-store.test.d.ts +0 -1
  612. package/angular/utils/store/tests/store-registry.test.d.ts +0 -1
  613. package/angular/utils/store/types.d.ts +0 -270
  614. package/angular/utils/switch-item/index.d.ts +0 -34
  615. package/angular/utils/switch-item/slot-role-classification.d.ts +0 -31
  616. package/angular/utils/switch-item/stories/switch-item.stories.d.ts +0 -17
  617. package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +0 -1
  618. package/angular/utils/switch-item/tests/switch-item.test.d.ts +0 -1
  619. package/angular/utils/themes/bliss.d.ts +0 -2
  620. package/angular/utils/themes/classic-dark.d.ts +0 -2
  621. package/angular/utils/themes/classic.d.ts +0 -2
  622. package/angular/utils/themes/default-dark.d.ts +0 -2
  623. package/angular/utils/themes/default.d.ts +0 -2
  624. package/angular/utils/themes/index.d.ts +0 -4
  625. package/angular/utils/themes/orion.d.ts +0 -2
  626. package/angular/utils/themes/pinky.d.ts +0 -2
  627. package/angular/utils/themes/radiant.d.ts +0 -2
  628. package/angular/utils/themes/royale.d.ts +0 -2
  629. package/angular/utils/themes/seasonal.d.ts +0 -2
  630. package/angular/utils/themes/urban.d.ts +0 -2
  631. package/angular/utils/themes/vivid.d.ts +0 -2
  632. package/angular/utils/time/formats.const.d.ts +0 -4
  633. package/angular/utils/time/period-over-period-condition.const.d.ts +0 -8
  634. package/angular/utils/time/periods.const.d.ts +0 -15
  635. package/angular/utils/timezone/datetime-timezone.d.ts +0 -25
  636. package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +0 -1
  637. package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +0 -9
  638. package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +0 -30
  639. package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +0 -1
  640. package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +0 -1
  641. package/angular/utils/types/tests/type-check.test.d.ts +0 -1
  642. package/angular/utils/types/type-check.d.ts +0 -28
  643. package/components/data-fields-select-BBzzUG2u.cjs +0 -41
  644. package/components/dataset-selector-row-fmrY3y86.cjs +0 -79
  645. package/components/de-BzcAVqyW.cjs +0 -20
  646. package/components/es-mPmtD7j4.cjs +0 -20
  647. package/components/filter-item-5HCSM9cu.cjs +0 -71
  648. package/components/filter-value-picker-hierarchy-kwnEzxIk.cjs +0 -47
  649. package/components/filters-ms2gFstA.cjs +0 -153
  650. package/components/fr-BHUhOl6R.cjs +0 -20
  651. package/components/item-option-BRgOBMM0.cjs +0 -252
  652. package/components/nl-NxeHJ8X8.cjs +0 -20
  653. package/components/slot-menu-K5QiEu6o.cjs +0 -71
  654. /package/{angular/utils/ai-prompt/tests/attachments.test.d.ts → utils/tests/set-nested-value.test.d.ts} +0 -0
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./item-slot-drop-panel-sCkQ0dUU.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},"x-axis":{column:1,row:2,align:`center`,justify:`center`,rotate:!1},legend:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.areaChartPositioningConfig=t;
20
+ const e=require("./item-slot-drop-panel-D_EFyM9J.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},"x-axis":{column:1,row:2,align:`center`,justify:`center`,rotate:!1},legend:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.areaChartPositioningConfig=t;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/area-chart/area-chart-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/bar-chart/bar-chart-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./item-slot-drop-panel-sCkQ0dUU.cjs");var t={grid:{columns:3,rows:1,columnSizes:[e.n,`1fr`,e.n],rowSizes:[`1fr`],gap:`0`},slots:{"y-axis":{column:1,row:1,align:`center`,justify:`center`,rotate:!0},measure:{column:2,row:1,align:`end`,justify:`center`,rotate:!1},legend:{column:3,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.barChartPositioningConfig=t;
20
+ const e=require("./item-slot-drop-panel-D_EFyM9J.cjs");var t={grid:{columns:3,rows:1,columnSizes:[e.n,`1fr`,e.n],rowSizes:[`1fr`],gap:`0`},slots:{"y-axis":{column:1,row:1,align:`center`,justify:`center`,rotate:!0},measure:{column:2,row:1,align:`end`,justify:`center`,rotate:!1},legend:{column:3,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.barChartPositioningConfig=t;
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./decorate-DCJt-2rt.cjs");require("./localized-mixin-BForHr3t.cjs");let n=require("lit"),r=require("lit/decorators.js");var i=new Set;new MutationObserver(()=>{let e=document.documentElement.dir===`rtl`?document.documentElement.dir:`ltr`;i.forEach(t=>{t.setAttribute(`dir`,e)})}).observe(document.documentElement,{attributes:!0,attributeFilter:[`dir`]});var a=e=>e.startManagingContentDirection!==void 0||e.tagName===`LUZMO-THEME`,o=(e=document)=>{let t=e.activeElement;for(;t?.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;let n=t?[t]:[];for(;t;){let e=t.assignedSlot||t.parentElement||t.getRootNode()?.host;e&&n.push(e),t=e}return n};function s(e){class t extends e{get isLTR(){return this.dir===`ltr`}hasVisibleFocusInTree(){let e=o(this.getRootNode())[0];if(!e)return!1;try{return e.matches(`:focus-visible`)||e.matches(`.focus-visible`)}catch{return e.matches(`.focus-visible`)}}connectedCallback(){if(super.connectedCallback(),!this.hasAttribute(`dir`)){let e=this.assignedSlot||this.parentNode;for(;e!==document.documentElement&&!a(e);)e=e.assignedSlot||e.parentNode||e.host;if(this.dir=e.dir===`rtl`?e.dir:this.dir||`ltr`,e===document.documentElement)i.add(this);else{let{localName:t}=e;t.search(`-`)>-1&&!customElements.get(t)?customElements.whenDefined(t).then(()=>{typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}):typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}this._dirParent=e}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?i.delete(this):typeof this._dirParent.stopManagingContentDirection==`function`&&this._dirParent.stopManagingContentDirection(this),this.removeAttribute(`dir`))}}return t}var c=class extends s(n.LitElement){},l=e.n({FocusVisiblePolyfillMixin:()=>f}),u=!0;try{document.body.querySelector(`:focus-visible`)}catch{u=!1,Promise.resolve().then(()=>l)}var d=e=>{if(e.shadowRoot==null||Object.hasOwn(e.dataset,`jsFocusVisible`))return()=>{};if(self.applyFocusVisiblePolyfill)self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus();else{let t=()=>{self.applyFocusVisiblePolyfill&&e.shadowRoot&&self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus()};return self.addEventListener(`focus-visible-polyfill-ready`,t,{once:!0}),()=>{self.removeEventListener(`focus-visible-polyfill-ready`,t)}}return()=>{}},f=e=>{let t=Symbol(`endPolyfillCoordination`);class n extends e{constructor(...e){super(...e),this[t]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),u||requestAnimationFrame(()=>{this[t]??(this[t]=d(this))})}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),u||requestAnimationFrame(()=>{this[t]!=null&&(this[t](),this[t]=null)})}}return n};function p(){return new Promise(e=>requestAnimationFrame(()=>e()))}var m=class extends f(c){constructor(...e){super(...e),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){let e=this.hasAttribute(`tabindex`)?Number(this.getAttribute(`tabindex`)):NaN;return Number.isNaN(e)?-1:e}let e=Number.parseFloat(this.hasAttribute(`tabindex`)&&this.getAttribute(`tabindex`)||`0`);return this.disabled||e<0?-1:this.focusElement?this._tabIndex:e}set tabIndex(e){if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=e;else if(e!==this._tabIndex){this._tabIndex=e;let t=``+e;this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,t)}return}if(e===-1?this.addEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex)),e===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),this.removeAttribute(`focusable`),this.selfManageFocusElement)return;e===-1?this.focusElement?.removeAttribute(`tabindex`):(this._tabIndex=e,this.manageFocusElementTabindex(e));return}this.setAttribute(`focusable`,``),this.hasAttribute(`tabindex`)?this.removeAttribute(`tabindex`):this.manipulatingTabindex=!1,this._tabIndex=e,this.manageFocusElementTabindex(e)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(e){this.focusElement||await this.updateComplete,e===null?this.focusElement.removeAttribute(`tabindex`):this.focusElement!==this&&(this.focusElement.tabIndex=e)}get focusElement(){throw Error(`Must implement focusElement getter!`)}get selfManageFocusElement(){return!1}focus(e){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[e]):this.focusElement.focus(e))}blur(){let e=this.focusElement||this;e===this?HTMLElement.prototype.blur.apply(this):e.blur()}click(){if(this.disabled)return;let e=this.focusElement||this;e===this?HTMLElement.prototype.click.apply(this):e.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Tab`})),this.focusElement.focus())}firstUpdated(e){super.firstUpdated(e),(!this.hasAttribute(`tabindex`)||this.getAttribute(`tabindex`)!==`-1`)&&this.setAttribute(`focusable`,``)}update(e){e.has(`disabled`)&&this.handleDisabledChanged(this.disabled,e.get(`disabled`)),super.update(e)}updated(e){super.updated(e),e.has(`disabled`)&&this.disabled&&this.blur()}async handleDisabledChanged(e,t){let n=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;e?(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),await this.updateComplete,n()?this.focusElement.disabled=!0:this.setAttribute(`aria-disabled`,`true`)):t&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute(`tabindex`,``+this._tabIndex):this.removeAttribute(`tabindex`),await this.updateComplete,n()?this.focusElement.disabled=!1:this.removeAttribute(`aria-disabled`))}async getUpdateComplete(){let e=await super.getUpdateComplete();return await this.autofocusReady,e}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=(async()=>{await p(),await p()})(),this.updateComplete.then(()=>this.manageAutoFocus()))}};t.t([(0,r.property)({type:Boolean,reflect:!0})],m.prototype,`disabled`,void 0),t.t([(0,r.property)({type:Boolean})],m.prototype,`autofocus`,void 0),t.t([(0,r.property)({type:Number})],m.prototype,`tabIndex`,null);var h={xxs:`xxs`,xs:`xs`,s:`s`,m:`m`,l:`l`,xl:`xl`,xxl:`xxl`};function g(e,{validSizes:n=[`s`,`m`,`l`,`xl`],noDefaultSize:i,defaultSize:a=`m`}={}){class o extends e{constructor(...e){super(...e),this._size=a}get size(){return this._size||a}set size(e){let t=i?null:a,r=e&&e.toLocaleLowerCase(),o=n.includes(r)?r:t;if(o&&this.setAttribute(`size`,o),this._size===o)return;let s=this._size;this._size=o,this.requestUpdate(`size`,s)}update(e){!this.hasAttribute(`size`)&&!i&&this.setAttribute(`size`,this.size),super.update(e)}}return t.t([(0,r.property)({type:String})],o.prototype,`size`,null),o}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return h}});
20
+ const e=require("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./decorate-DCJt-2rt.cjs");require("./localized-mixin-BbOPy_BO.cjs");let n=require("lit"),r=require("lit/decorators.js");var i=new Set;new MutationObserver(()=>{let e=document.documentElement.dir===`rtl`?document.documentElement.dir:`ltr`;i.forEach(t=>{t.setAttribute(`dir`,e)})}).observe(document.documentElement,{attributes:!0,attributeFilter:[`dir`]});var a=e=>e.startManagingContentDirection!==void 0||e.tagName===`LUZMO-THEME`,o=(e=document)=>{let t=e.activeElement;for(;t?.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;let n=t?[t]:[];for(;t;){let e=t.assignedSlot||t.parentElement||t.getRootNode()?.host;e&&n.push(e),t=e}return n};function s(e){class t extends e{get isLTR(){return this.dir===`ltr`}hasVisibleFocusInTree(){let e=o(this.getRootNode())[0];if(!e)return!1;try{return e.matches(`:focus-visible`)||e.matches(`.focus-visible`)}catch{return e.matches(`.focus-visible`)}}connectedCallback(){if(super.connectedCallback(),!this.hasAttribute(`dir`)){let e=this.assignedSlot||this.parentNode;for(;e!==document.documentElement&&!a(e);)e=e.assignedSlot||e.parentNode||e.host;if(this.dir=e.dir===`rtl`?e.dir:this.dir||`ltr`,e===document.documentElement)i.add(this);else{let{localName:t}=e;t.search(`-`)>-1&&!customElements.get(t)?customElements.whenDefined(t).then(()=>{typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}):typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}this._dirParent=e}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?i.delete(this):typeof this._dirParent.stopManagingContentDirection==`function`&&this._dirParent.stopManagingContentDirection(this),this.removeAttribute(`dir`))}}return t}var c=class extends s(n.LitElement){},l=e.n({FocusVisiblePolyfillMixin:()=>f}),u=!0;try{document.body.querySelector(`:focus-visible`)}catch{u=!1,Promise.resolve().then(()=>l)}var d=e=>{if(e.shadowRoot==null||Object.hasOwn(e.dataset,`jsFocusVisible`))return()=>{};if(self.applyFocusVisiblePolyfill)self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus();else{let t=()=>{self.applyFocusVisiblePolyfill&&e.shadowRoot&&self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus()};return self.addEventListener(`focus-visible-polyfill-ready`,t,{once:!0}),()=>{self.removeEventListener(`focus-visible-polyfill-ready`,t)}}return()=>{}},f=e=>{let t=Symbol(`endPolyfillCoordination`);class n extends e{constructor(...e){super(...e),this[t]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),u||requestAnimationFrame(()=>{this[t]??(this[t]=d(this))})}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),u||requestAnimationFrame(()=>{this[t]!=null&&(this[t](),this[t]=null)})}}return n};function p(){return new Promise(e=>requestAnimationFrame(()=>e()))}var m=class extends f(c){constructor(...e){super(...e),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){let e=this.hasAttribute(`tabindex`)?Number(this.getAttribute(`tabindex`)):NaN;return Number.isNaN(e)?-1:e}let e=Number.parseFloat(this.hasAttribute(`tabindex`)&&this.getAttribute(`tabindex`)||`0`);return this.disabled||e<0?-1:this.focusElement?this._tabIndex:e}set tabIndex(e){if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=e;else if(e!==this._tabIndex){this._tabIndex=e;let t=``+e;this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,t)}return}if(e===-1?this.addEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex)),e===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),this.removeAttribute(`focusable`),this.selfManageFocusElement)return;e===-1?this.focusElement?.removeAttribute(`tabindex`):(this._tabIndex=e,this.manageFocusElementTabindex(e));return}this.setAttribute(`focusable`,``),this.hasAttribute(`tabindex`)?this.removeAttribute(`tabindex`):this.manipulatingTabindex=!1,this._tabIndex=e,this.manageFocusElementTabindex(e)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(e){this.focusElement||await this.updateComplete,e===null?this.focusElement.removeAttribute(`tabindex`):this.focusElement!==this&&(this.focusElement.tabIndex=e)}get focusElement(){throw Error(`Must implement focusElement getter!`)}get selfManageFocusElement(){return!1}focus(e){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[e]):this.focusElement.focus(e))}blur(){let e=this.focusElement||this;e===this?HTMLElement.prototype.blur.apply(this):e.blur()}click(){if(this.disabled)return;let e=this.focusElement||this;e===this?HTMLElement.prototype.click.apply(this):e.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Tab`})),this.focusElement.focus())}firstUpdated(e){super.firstUpdated(e),(!this.hasAttribute(`tabindex`)||this.getAttribute(`tabindex`)!==`-1`)&&this.setAttribute(`focusable`,``)}update(e){e.has(`disabled`)&&this.handleDisabledChanged(this.disabled,e.get(`disabled`)),super.update(e)}updated(e){super.updated(e),e.has(`disabled`)&&this.disabled&&this.blur()}async handleDisabledChanged(e,t){let n=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;e?(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),await this.updateComplete,n()?this.focusElement.disabled=!0:this.setAttribute(`aria-disabled`,`true`)):t&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute(`tabindex`,``+this._tabIndex):this.removeAttribute(`tabindex`),await this.updateComplete,n()?this.focusElement.disabled=!1:this.removeAttribute(`aria-disabled`))}async getUpdateComplete(){let e=await super.getUpdateComplete();return await this.autofocusReady,e}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=(async()=>{await p(),await p()})(),this.updateComplete.then(()=>this.manageAutoFocus()))}};t.t([(0,r.property)({type:Boolean,reflect:!0})],m.prototype,`disabled`,void 0),t.t([(0,r.property)({type:Boolean})],m.prototype,`autofocus`,void 0),t.t([(0,r.property)({type:Number})],m.prototype,`tabIndex`,null);var h={xxs:`xxs`,xs:`xs`,s:`s`,m:`m`,l:`l`,xl:`xl`,xxl:`xxl`};function g(e,{validSizes:n=[`s`,`m`,`l`,`xl`],noDefaultSize:i,defaultSize:a=`m`}={}){class o extends e{constructor(...e){super(...e),this._size=a}get size(){return this._size||a}set size(e){let t=i?null:a,r=e&&e.toLocaleLowerCase(),o=n.includes(r)?r:t;if(o&&this.setAttribute(`size`,o),this._size===o)return;let s=this._size;this._size=o,this.requestUpdate(`size`,s)}update(e){!this.hasAttribute(`size`)&&!i&&this.setAttribute(`size`,this.size),super.update(e)}}return t.t([(0,r.property)({type:String})],o.prototype,`size`,null),o}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return h}});
@@ -19,7 +19,7 @@
19
19
  * */
20
20
  import { s as e } from "./pragmatic-element-adapter-C_7HSvGV.js";
21
21
  import { t } from "./decorate-DyMgX_Uh.js";
22
- import "./localized-mixin-D-vXCJuU.js";
22
+ import "./localized-mixin-D1ss6vE4.js";
23
23
  import { LitElement as n } from "lit";
24
24
  import { property as r } from "lit/decorators.js";
25
25
  //#region src/utils/base/base.ts
@@ -144,14 +144,6 @@ var r = {
144
144
  clone(e) {
145
145
  return structuredClone(e);
146
146
  }
147
- setNestedValue(e, t, n) {
148
- let r = this.clone(e), i = t.split("."), a = r;
149
- for (let e = 0; e < i.length - 1; e++) {
150
- let t = i[e];
151
- (!(t in a) || typeof a[t] != "object") && (a[t] = {}), a = a[t];
152
- }
153
- return a[i[i.length - 1]] = n, r;
154
- }
155
147
  transact(t) {
156
148
  return this.doc.transact(t, e.LOCAL_ORIGIN);
157
149
  }
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./v4-Dyp-SQ1c.cjs");let n=require("yjs");n=e.r(n,1);function r(){return t.t()}var i={mergeInterval:300,maxUndoSteps:100},a=class e{static{this.LOCAL_ORIGIN=`local`}constructor(e={},t){if(this.stateSubscribers=new Set,this.changeSubscribers=new Set,this.localUpdatesSubscribers=new Set,this.isDestroyed=!1,this.id=t??r(),this.config={...i,...e},this.doc=new n.Doc,this.config.peerId){let e=(this.config.peerId,Number(this.config.peerId));this.doc.clientID=e}this.setupChangeSubscription()}setupUndoManager(t){this.undoManager&&this.undoManager.destroy(),this.undoManager=new n.UndoManager(t,{captureTimeout:this.config.mergeInterval,trackedOrigins:new Set([e.LOCAL_ORIGIN])})}setupChangeSubscription(){this.doc.on(`update`,(t,n)=>{for(let e of this.changeSubscribers)try{e({update:t,origin:n})}catch(e){console.error(`Error in change subscriber:`,e)}if(this.notifyStateSubscribers(),n===e.LOCAL_ORIGIN)for(let e of this.localUpdatesSubscribers)try{e(t)}catch(e){console.error(`Error in local updates subscriber:`,e)}})}notifyStateSubscribers(){if(this.isDestroyed)return;let e=this.getState();for(let t of this.stateSubscribers)try{t(e)}catch(e){console.error(`Error in state subscriber:`,e)}}undo(){return this.canUndo()?(this.undoManager.undo(),this.notifyStateSubscribers(),!0):!1}redo(){return this.canRedo()?(this.undoManager.redo(),this.notifyStateSubscribers(),!0):!1}canUndo(){return this.undoManager.undoStack.length>0}canRedo(){return this.undoManager.redoStack.length>0}clearHistory(){this.undoManager.clear()}subscribe(e,t){let{fireImmediately:n=!0}=t??{};return this.stateSubscribers.add(e),n&&queueMicrotask(()=>{if(!this.isDestroyed&&this.stateSubscribers.has(e))try{e(this.getState())}catch(e){console.error(`Error in initial state callback:`,e)}}),()=>{this.stateSubscribers.delete(e)}}subscribeToChanges(e){return this.changeSubscribers.add(e),()=>{this.changeSubscribers.delete(e)}}exportUpdates(e){return e?n.encodeStateAsUpdate(this.doc,e):n.encodeStateAsUpdate(this.doc)}importUpdates(e){n.applyUpdate(this.doc,e)}subscribeLocalUpdates(e){return this.localUpdatesSubscribers.add(e),()=>{this.localUpdatesSubscribers.delete(e)}}exportSnapshot(){return n.encodeStateAsUpdate(this.doc)}importSnapshot(e){n.applyUpdate(this.doc,e),this.notifyStateSubscribers()}getVersion(){return n.encodeStateVector(this.doc)}commit(e){}reset(e){if(this.doc.destroy(),this.doc=new n.Doc,this.config.peerId){let e=(this.config.peerId,Number(this.config.peerId));this.doc.clientID=e}this.setupChangeSubscription(),this.initializeContainers(e),this.undoManager.clear(),this.notifyStateSubscribers()}destroy(){this.isDestroyed=!0,this.stateSubscribers.clear(),this.changeSubscribers.clear(),this.localUpdatesSubscribers.clear(),this.undoManager&&this.undoManager.destroy(),this.doc.destroy()}getDoc(){return this.doc}getPeerId(){return this.doc.clientID.toString()}clone(e){return structuredClone(e)}setNestedValue(e,t,n){let r=this.clone(e),i=t.split(`.`),a=r;for(let e=0;e<i.length-1;e++){let t=i[e];(!(t in a)||typeof a[t]!=`object`)&&(a[t]={}),a=a[t]}return a[i[i.length-1]]=n,r}transact(t){return this.doc.transact(t,e.LOCAL_ORIGIN)}};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
20
+ const e=require("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./v4-Dyp-SQ1c.cjs");let n=require("yjs");n=e.r(n,1);function r(){return t.t()}var i={mergeInterval:300,maxUndoSteps:100},a=class e{static{this.LOCAL_ORIGIN=`local`}constructor(e={},t){if(this.stateSubscribers=new Set,this.changeSubscribers=new Set,this.localUpdatesSubscribers=new Set,this.isDestroyed=!1,this.id=t??r(),this.config={...i,...e},this.doc=new n.Doc,this.config.peerId){let e=(this.config.peerId,Number(this.config.peerId));this.doc.clientID=e}this.setupChangeSubscription()}setupUndoManager(t){this.undoManager&&this.undoManager.destroy(),this.undoManager=new n.UndoManager(t,{captureTimeout:this.config.mergeInterval,trackedOrigins:new Set([e.LOCAL_ORIGIN])})}setupChangeSubscription(){this.doc.on(`update`,(t,n)=>{for(let e of this.changeSubscribers)try{e({update:t,origin:n})}catch(e){console.error(`Error in change subscriber:`,e)}if(this.notifyStateSubscribers(),n===e.LOCAL_ORIGIN)for(let e of this.localUpdatesSubscribers)try{e(t)}catch(e){console.error(`Error in local updates subscriber:`,e)}})}notifyStateSubscribers(){if(this.isDestroyed)return;let e=this.getState();for(let t of this.stateSubscribers)try{t(e)}catch(e){console.error(`Error in state subscriber:`,e)}}undo(){return this.canUndo()?(this.undoManager.undo(),this.notifyStateSubscribers(),!0):!1}redo(){return this.canRedo()?(this.undoManager.redo(),this.notifyStateSubscribers(),!0):!1}canUndo(){return this.undoManager.undoStack.length>0}canRedo(){return this.undoManager.redoStack.length>0}clearHistory(){this.undoManager.clear()}subscribe(e,t){let{fireImmediately:n=!0}=t??{};return this.stateSubscribers.add(e),n&&queueMicrotask(()=>{if(!this.isDestroyed&&this.stateSubscribers.has(e))try{e(this.getState())}catch(e){console.error(`Error in initial state callback:`,e)}}),()=>{this.stateSubscribers.delete(e)}}subscribeToChanges(e){return this.changeSubscribers.add(e),()=>{this.changeSubscribers.delete(e)}}exportUpdates(e){return e?n.encodeStateAsUpdate(this.doc,e):n.encodeStateAsUpdate(this.doc)}importUpdates(e){n.applyUpdate(this.doc,e)}subscribeLocalUpdates(e){return this.localUpdatesSubscribers.add(e),()=>{this.localUpdatesSubscribers.delete(e)}}exportSnapshot(){return n.encodeStateAsUpdate(this.doc)}importSnapshot(e){n.applyUpdate(this.doc,e),this.notifyStateSubscribers()}getVersion(){return n.encodeStateVector(this.doc)}commit(e){}reset(e){if(this.doc.destroy(),this.doc=new n.Doc,this.config.peerId){let e=(this.config.peerId,Number(this.config.peerId));this.doc.clientID=e}this.setupChangeSubscription(),this.initializeContainers(e),this.undoManager.clear(),this.notifyStateSubscribers()}destroy(){this.isDestroyed=!0,this.stateSubscribers.clear(),this.changeSubscribers.clear(),this.localUpdatesSubscribers.clear(),this.undoManager&&this.undoManager.destroy(),this.doc.destroy()}getDoc(){return this.doc}getPeerId(){return this.doc.clientID.toString()}clone(e){return structuredClone(e)}transact(t){return this.doc.transact(t,e.LOCAL_ORIGIN)}};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/box-plot/box-plot-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[`1fr`,require("./item-slot-drop-panel-sCkQ0dUU.cjs").n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},category:{column:1,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.boxPlotPositioningConfig=e;
20
+ var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[`1fr`,require("./item-slot-drop-panel-D_EFyM9J.cjs").n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},category:{column:1,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.boxPlotPositioningConfig=e;
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./item-slot-drop-panel-sCkQ0dUU.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},category:{column:1,row:2,align:`center`,justify:`center`,rotate:!1},color:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.bubbleChartPositioningConfig=t;
20
+ const e=require("./item-slot-drop-panel-D_EFyM9J.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},category:{column:1,row:2,align:`center`,justify:`center`,rotate:!1},color:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.bubbleChartPositioningConfig=t;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/bubble-chart/bubble-chart-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/bullet-chart/bullet-chart-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./item-slot-drop-panel-sCkQ0dUU.cjs");var t={grid:{columns:2,rows:2,columnSizes:[e.n,`1fr`],rowSizes:[`1fr`,e.n],gap:`0`},slots:{category:{column:1,row:1,rowSpan:2,align:`center`,justify:`center`,rotate:!0},measure:{column:2,row:1,align:`center`,justify:`center`,rotate:!1},target:{column:2,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.bulletChartPositioningConfig=t;
20
+ const e=require("./item-slot-drop-panel-D_EFyM9J.cjs");var t={grid:{columns:2,rows:2,columnSizes:[e.n,`1fr`],rowSizes:[`1fr`,e.n],gap:`0`},slots:{category:{column:1,row:1,rowSpan:2,align:`center`,justify:`center`,rotate:!0},measure:{column:2,row:1,align:`center`,justify:`center`,rotate:!1},target:{column:2,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.bulletChartPositioningConfig=t;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/choropleth-map/choropleth-map-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./item-slot-drop-panel-sCkQ0dUU.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},geo:{column:1,row:2,align:`center`,justify:`center`,rotate:!1},category:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.choroplethMapPositioningConfig=t;
20
+ const e=require("./item-slot-drop-panel-D_EFyM9J.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},geo:{column:1,row:2,align:`center`,justify:`center`,rotate:!1},category:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.choroplethMapPositioningConfig=t;
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[`1fr`,require("./item-slot-drop-panel-sCkQ0dUU.cjs").n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},levels:{column:1,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.circlePackChartPositioningConfig=e;
20
+ var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[`1fr`,require("./item-slot-drop-panel-D_EFyM9J.cjs").n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},levels:{column:1,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.circlePackChartPositioningConfig=e;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/circle-pack-chart/circle-pack-chart-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/circular-gauge/circular-gauge-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[require("./item-slot-drop-panel-sCkQ0dUU.cjs").n,`1fr`],gap:`0`},slots:{target:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},measure:{column:1,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.circularGaugePositioningConfig=e;
20
+ var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[require("./item-slot-drop-panel-D_EFyM9J.cjs").n,`1fr`],gap:`0`},slots:{target:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},measure:{column:1,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.circularGaugePositioningConfig=e;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/column-chart/column-chart-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./item-slot-drop-panel-sCkQ0dUU.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},"x-axis":{column:1,row:2,align:`center`,justify:`center`,rotate:!1},legend:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.columnChartPositioningConfig=t;
20
+ const e=require("./item-slot-drop-panel-D_EFyM9J.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},"x-axis":{column:1,row:2,align:`center`,justify:`center`,rotate:!1},legend:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.columnChartPositioningConfig=t;
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[`1fr`,require("./item-slot-drop-panel-sCkQ0dUU.cjs").n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},"x-axis":{column:1,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.combinationChartPositioningConfig=e;
20
+ var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[`1fr`,require("./item-slot-drop-panel-D_EFyM9J.cjs").n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},"x-axis":{column:1,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.combinationChartPositioningConfig=e;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/combination-chart/combination-chart-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[`1fr`,require("./item-slot-drop-panel-sCkQ0dUU.cjs").n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},target:{column:1,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.conditionalNumberPositioningConfig=e;
20
+ var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[`1fr`,require("./item-slot-drop-panel-D_EFyM9J.cjs").n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},target:{column:1,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.conditionalNumberPositioningConfig=e;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-KtZKw0Ly.js";
20
+ import { n as e } from "./item-slot-drop-panel-DkHylw7i.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/conditional-number/conditional-number-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -1582,6 +1582,10 @@ var $ = class extends n {
1582
1582
  }
1583
1583
  });
1584
1584
  }
1585
+ getCachedData(e) {
1586
+ let t = ["data", e], n = this.queryClient.getQueryState(t), r = this.queryClient.getDefaultOptions().queries?.staleTime;
1587
+ if (!(!n?.data || n.isInvalidated || typeof r != "number") && !(r !== Infinity && Date.now() - n.dataUpdatedAt > r)) return n.data;
1588
+ }
1585
1589
  async validate(e, t) {
1586
1590
  if (!t?.expression) return { valid: !1 };
1587
1591
  let n = {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./type-check-BehV9ZL1.cjs");var t=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},n=new class extends t{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},r={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},i=new class{#e=r;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function a(e){setTimeout(e,0)}var o=typeof window>`u`||`Deno`in globalThis;function s(){}function c(e,t){return typeof e==`function`?e(t):e}function l(e){return typeof e==`number`&&e>=0&&e!==1/0}function u(e,t){return Math.max(e+(t||0)-Date.now(),0)}function d(e,t){return typeof e==`function`?e(t):e}function f(e,t){return typeof e==`function`?e(t):e}function p(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==h(o,t.options))return!1}else if(!_(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function m(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(g(t.options.mutationKey)!==g(a))return!1}else if(!_(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function h(e,t){return(t?.queryKeyHashFn||g)(e)}function g(e){return JSON.stringify(e,(e,t)=>x(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function _(e,t){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}var v=Object.prototype.hasOwnProperty;function y(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=b(e)&&b(t);if(!r&&!(x(e)&&x(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:v.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=y(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function b(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function x(e){if(!S(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!S(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function S(e){return Object.prototype.toString.call(e)===`[object Object]`}function C(e){return new Promise(t=>{i.setTimeout(t,e)})}function w(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:y(e,t)}function T(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function E(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var D=Symbol();function O(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===D?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function k(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var A=(()=>{let e=()=>o;return{isServer(){return e()},setIsServer(t){e=t}}})();function j(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var M=a;function N(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=M,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var P=N(),F=new class extends t{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function I(e){return Math.min(1e3*2**e,3e4)}function L(e){return(e??`online`)!==`online`||F.isOnline()}var R=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function z(e){let t=!1,r=0,i,a=j(),o=()=>a.status!==`pending`,s=t=>{if(!o()){let n=new R(t);p(n),e.onCancel?.(n)}},c=()=>{t=!0},l=()=>{t=!1},u=()=>n.isFocused()&&(e.networkMode===`always`||F.isOnline())&&e.canRun(),d=()=>L(e.networkMode)&&e.canRun(),f=e=>{o()||(i?.(),a.resolve(e))},p=e=>{o()||(i?.(),a.reject(e))},m=()=>new Promise(t=>{i=e=>{(o()||u())&&t(e)},e.onPause?.()}).then(()=>{i=void 0,o()||e.onContinue?.()}),h=()=>{if(o())return;let n,i=r===0?e.initialPromise:void 0;try{n=i??e.fn()}catch(e){n=Promise.reject(e)}Promise.resolve(n).then(f).catch(n=>{if(o())return;let i=e.retry??(A.isServer()?0:3),a=e.retryDelay??I,s=typeof a==`function`?a(r,n):a,c=i===!0||typeof i==`number`&&r<i||typeof i==`function`&&i(r,n);if(t||!c){p(n);return}r++,e.onFail?.(r,n),C(s).then(()=>u()?void 0:m()).then(()=>{t?p(n):h()})})};return{promise:a,status:()=>a.status,cancel:s,continue:()=>(i?.(),a),cancelRetry:c,continueRetry:l,canStart:d,start:()=>(d()?h():m().then(h),a)}}var B=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),l(this.gcTime)&&(this.#e=i.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(A.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(i.clearTimeout(this.#e),this.#e=void 0)}};function V(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{k(e,()=>t.signal,()=>n=!0)},u=O(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?E:T;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?U:H,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:H(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function H(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function U(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var W=class extends B{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=q(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=q(this.options);e.data!==void 0&&(this.setState(K(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=w(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(s).catch(s):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>f(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===D||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>d(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!u(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=O(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?V(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=z({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof R&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof R){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...G(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...K(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),P.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function G(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:L(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function K(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function q(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var J=class extends B{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Y(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=z({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),P.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Y(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var X=class extends t{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new J({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Z(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Z(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Z(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Z(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){P.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>m(t,e))}findAll(e={}){return this.getAll().filter(t=>m(e,t))}notify(e){P.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return P.batch(()=>Promise.all(e.map(e=>e.continue().catch(s))))}};function Z(e){return e.options.scope?.id}var Q=class extends t{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??h(r,t),a=this.get(i);return a||(a=new W({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){P.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>p(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>p(e,t)):t}notify(e){P.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){P.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){P.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},$=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Q,this.#t=e.mutationCache||new X,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=n.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=F.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(d(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=c(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return P.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;P.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return P.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=P.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(s).catch(s)}invalidateQueries(e,t={}){return P.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=P.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(s)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(s)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(d(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(s).catch(s)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(s).catch(s)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return F.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(g(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{_(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(g(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{_(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=h(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===D&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},ee=class t{constructor(e={}){this.availableDatasets=[],this.apiUrl=e.apiUrl||`https://api.luzmo.com`,this.apiVersion=e.apiVersion||`0.1.0`,this.authKey=e.authKey||``,this.authToken=e.authToken||``,this.queryClient=new $({defaultOptions:{queries:{staleTime:e.staleTime||300*1e3,gcTime:e.gcTime||600*1e3,retry:e.retry||3,retryDelay:e.retryDelay||(e=>Math.min(1e3*2**e,3e4))}}}),this.initNetworkListeners()}_normalizeUrl(e){try{let t=new URL(e);return t.origin+t.pathname.replace(/\/$/,``)}catch{return e}}configure(e={}){let t=e.apiUrl===void 0?void 0:this._normalizeUrl(e.apiUrl),n=this._normalizeUrl(this.apiUrl),r=e.authKey!==void 0&&e.authKey!==``&&e.authKey!==this.authKey||e.authToken!==void 0&&e.authToken!==``&&e.authToken!==this.authToken||t!==void 0&&t!==n;if(e.apiVersion&&(this.apiVersion=e.apiVersion),e.apiUrl!==void 0&&(this.apiUrl=e.apiUrl),e.authKey!==void 0&&(this.authKey=e.authKey),e.authToken!==void 0&&(this.authToken=e.authToken),r&&(this.queryClient.clear(),this.availableDatasets=[]),e.staleTime||e.gcTime||e.retry){let t={};e.staleTime&&(t.staleTime=e.staleTime),e.gcTime&&(t.gcTime=e.gcTime),e.retry&&(t.retry=e.retry),this.queryClient.setDefaultOptions({queries:{...this.queryClient.getDefaultOptions().queries,...t}})}}clearLocalCache(){this.queryClient.clear(),this.availableDatasets=[]}initNetworkListeners(){typeof window<`u`&&window.addEventListener(`online`,()=>{console.warn(`Network connection restored, refreshing data...`),this.refreshAll()})}getHeaders(e={}){return{"Content-Type":`application/json`,...e}}async fetchApi(e,t,n={}){let r=`${this.apiUrl}/${this.apiVersion}${e}`,i={method:n.method||`POST`,headers:this.getHeaders(n.headers),mode:`cors`,...n};t!==void 0&&(t.key=this.authKey,t.token=this.authToken,i.body=JSON.stringify(t));try{let t=await fetch(r,i);if(!t.ok){let n=await t.json().catch(()=>null);throw t.status===401||t.status===403?Error(`Authentication failed. Please check your API token.`):t.status===404?Error(`Resource not found: ${e}`):t.status===429?Error(`Rate limit exceeded. Please try again later.`):Error(n?.message||`API request failed with status ${t.status}`)}return await t.json()}catch(t){throw console.error(`API request to ${e} failed:`,t),t instanceof Error&&(t.endpoint=e,t.timestamp=new Date().toISOString()),t}}async fetchAllDatasets(e={}){let t=e.offset||0,n=e.limit||50,r=[`datasets`,t,n];return await this.queryClient.fetchQuery({queryKey:r,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`},attributes:[`id`,`name`,`description`],limit:n,offset:t}},r=await this.fetchApi(`/securable`,e);return{data:r?.rows??[],pagination:{offset:t,limit:n,total:r?.count??0,pages:Math.ceil((r?.count??0)/n)}}}})}async searchDatasets(e,t){if(!e)return{data:[]};let n=[`datasets`,`search`,e,t];return await this.queryClient.fetchQuery({queryKey:n,queryFn:async()=>{let n={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`}}};e?.length>0&&(n.find.search={match_types:[`name`],keyphrase:e}),t?.offset&&(n.find.offset=t?.offset),t?.limit&&(n.find.limit=t?.limit);let r=await this.fetchApi(`/securable`,n),i={data:r?.rows??[]};return t?.limit&&(i.pagination={offset:t?.offset??0,limit:t?.limit,total:r?.count??0,pages:Math.ceil((r?.count??0)/t?.limit)}),i}})}async fetchDatasetNames(t){if(!t||t.length===0)throw Error(`At least one dataset ID is required`);let{valid:n,invalid:r}=e.c(t);if(r.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${r.join(`, `)}. These will be skipped.`),n.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let i=[`dataset-names`,n,this.authKey,this.authToken];return await this.queryClient.fetchQuery({queryKey:i,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`,id:{in:n}},attributes:[`name`,`id`,`description`]}};return(await this.fetchApi(`/securable`,e))?.rows??[]}})}async fetchDatasetsWithColumnsAndFormulas(t){if(!t||t.length===0)throw Error(`At least one dataset ID is required`);let{valid:n,invalid:r}=e.c(t);if(r.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${r.join(`, `)}. These will be skipped.`),n.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let i=[`datasets`,n,this.authKey,this.authToken];return await this.queryClient.fetchQuery({queryKey:i,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`,id:{in:n}},attributes:[`name`,`id`,`description`],include:[{model:`Column`,attributes:[`id`,`name`,`description`,`type`,`subtype`,`format`,`hidden`,`lowestLevel`,`expression`,`duration_levels`,`duration_format`],separate:!0,order:[[`order`,`asc`]],include:[{model:`Column`,attributes:[`id`,`securable_id`,`hierarchy_enabled`,`currency_id`],as:`Joins`},{model:`HierarchyLevel`,attributes:[`id`,`level`,`name`],as:`HierarchyLevels`},{model:`Currency`,attributes:[`id`,`name`,`symbol`],as:`Currency`}]},{model:`Formula`,attributes:[`id`,`name`,`description`,`type`,`subtype`,`format`,`hidden`,`lowestLevel`,`expression`,`duration_levels`,`duration_format`],include:[{model:`Currency`,attributes:[`id`,`name`,`symbol`],as:`Currency`}]}]}};return(await this.fetchApi(`/securable`,e))?.rows??[]}})}async fetchData(e){if(!e)throw Error(`Query is required`);let t=[`data`,e];return await this.queryClient.fetchQuery({queryKey:t,queryFn:async()=>{let t={action:`get`,version:this.apiVersion,find:{queries:[e]}},n=await this.fetchApi(`/data`,t);return{data:n?.data||[],performance:n?.performance||{}}}})}async validate(e,t){if(!t?.expression)return{valid:!1};let n={action:`validate`,version:this.apiVersion,properties:t},r=await this.fetchApi(`/${e}`,n);return{valid:!!r?.valid,reason:r?.reason??r?.error,explanation:r?.explanation,type:r?.type}}async fetchTheme(e){if(!e)throw Error(`Theme ID is required`);let t=[`theme`,e];return await this.queryClient.fetchQuery({queryKey:t,queryFn:async()=>(await this.fetchApi(`/theme`,{action:`get`,version:this.apiVersion,find:{where:{id:e}}}))?.rows?.[0]})}refreshAll(){this.queryClient.refetchQueries()}invalidateDatasetData(e){e?(this.queryClient.invalidateQueries({queryKey:[`dataset`,e]}),this.queryClient.invalidateQueries({queryKey:[`columns`,e]})):this.queryClient.invalidateQueries({queryKey:[`datasets`]})}invalidateAll(){this.queryClient.clear()}static getInstance(e={}){return t.instance?Object.keys(e).length>0&&t.instance.configure(e):t.instance=new t(e),t.instance}async fetchDatasetsRecursive(t){if(!t||t.length===0)throw Error(`At least one dataset ID is required`);let{valid:n,invalid:r}=e.c(t);if(r.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${r.join(`, `)}. These will be skipped.`),n.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let i=[...new Set(n)],a=new Set,o=new Map,s=t=>{t&&e.s(t)&&!a.has(t)&&!i.includes(t)&&i.push(t)};for(;i.length>0;){let e=[];for(;i.length>0&&e.length<50;){let t=i.shift();a.has(t)||e.push(t)}if(e.length!==0)try{(await this.fetchDatasetsWithColumnsAndFormulas(e)).forEach(e=>{let t=this.postProcessDatasetMetadata(e);a.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=>{s(e)}),o.set(t.id,t),this.availableDatasets.some(e=>e.id===t.id)||this.availableDatasets.push({id:t.id,name:t.name,columns:t.columns})})}catch(e){console.error(`Error fetching datasets recursively:`,e)}}return[...o.values()]}postProcessDatasetMetadata(e){let t=[],n=(e.columns??[]).map(e=>{let n=e.joins??(Array.isArray(e.joins)?e.joins:[]);Array.isArray(n)&&n.length>0&&t.push(...n);let{joins:r,...i}=e;return{...i,joins:n}});return{...e,columns:n,formulas:e.formulas??[],outgoingJoins:t,dateLoaded:new Date}}getAvailableDatasets(){return this.availableDatasets}getLinkedDatasetsIds(e){let t=this.queryClient.getQueryData([`dataset`,e]);return t?(t.outgoingJoins??[]).map(e=>e.securable_id).filter(t=>!!t&&t!==e):[]}}.getInstance();Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return ee}});
20
+ const e=require("./type-check-BehV9ZL1.cjs");var t=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},n=new class extends t{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},r={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},i=new class{#e=r;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function a(e){setTimeout(e,0)}var o=typeof window>`u`||`Deno`in globalThis;function s(){}function c(e,t){return typeof e==`function`?e(t):e}function l(e){return typeof e==`number`&&e>=0&&e!==1/0}function u(e,t){return Math.max(e+(t||0)-Date.now(),0)}function d(e,t){return typeof e==`function`?e(t):e}function f(e,t){return typeof e==`function`?e(t):e}function p(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==h(o,t.options))return!1}else if(!_(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function m(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(g(t.options.mutationKey)!==g(a))return!1}else if(!_(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function h(e,t){return(t?.queryKeyHashFn||g)(e)}function g(e){return JSON.stringify(e,(e,t)=>x(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function _(e,t){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}var v=Object.prototype.hasOwnProperty;function y(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=b(e)&&b(t);if(!r&&!(x(e)&&x(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:v.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=y(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function b(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function x(e){if(!S(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!S(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function S(e){return Object.prototype.toString.call(e)===`[object Object]`}function C(e){return new Promise(t=>{i.setTimeout(t,e)})}function w(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:y(e,t)}function T(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function E(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var D=Symbol();function O(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===D?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function k(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var A=(()=>{let e=()=>o;return{isServer(){return e()},setIsServer(t){e=t}}})();function j(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var M=a;function N(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=M,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var P=N(),F=new class extends t{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function I(e){return Math.min(1e3*2**e,3e4)}function L(e){return(e??`online`)!==`online`||F.isOnline()}var R=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function z(e){let t=!1,r=0,i,a=j(),o=()=>a.status!==`pending`,s=t=>{if(!o()){let n=new R(t);p(n),e.onCancel?.(n)}},c=()=>{t=!0},l=()=>{t=!1},u=()=>n.isFocused()&&(e.networkMode===`always`||F.isOnline())&&e.canRun(),d=()=>L(e.networkMode)&&e.canRun(),f=e=>{o()||(i?.(),a.resolve(e))},p=e=>{o()||(i?.(),a.reject(e))},m=()=>new Promise(t=>{i=e=>{(o()||u())&&t(e)},e.onPause?.()}).then(()=>{i=void 0,o()||e.onContinue?.()}),h=()=>{if(o())return;let n,i=r===0?e.initialPromise:void 0;try{n=i??e.fn()}catch(e){n=Promise.reject(e)}Promise.resolve(n).then(f).catch(n=>{if(o())return;let i=e.retry??(A.isServer()?0:3),a=e.retryDelay??I,s=typeof a==`function`?a(r,n):a,c=i===!0||typeof i==`number`&&r<i||typeof i==`function`&&i(r,n);if(t||!c){p(n);return}r++,e.onFail?.(r,n),C(s).then(()=>u()?void 0:m()).then(()=>{t?p(n):h()})})};return{promise:a,status:()=>a.status,cancel:s,continue:()=>(i?.(),a),cancelRetry:c,continueRetry:l,canStart:d,start:()=>(d()?h():m().then(h),a)}}var B=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),l(this.gcTime)&&(this.#e=i.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(A.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(i.clearTimeout(this.#e),this.#e=void 0)}};function V(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{k(e,()=>t.signal,()=>n=!0)},u=O(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?E:T;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?U:H,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:H(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function H(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function U(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var W=class extends B{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=q(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=q(this.options);e.data!==void 0&&(this.setState(K(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=w(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(s).catch(s):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>f(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===D||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>d(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!u(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=O(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?V(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=z({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof R&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof R){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...G(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...K(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),P.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function G(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:L(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function K(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function q(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var J=class extends B{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Y(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=z({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),P.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Y(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var X=class extends t{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new J({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Z(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Z(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Z(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Z(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){P.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>m(t,e))}findAll(e={}){return this.getAll().filter(t=>m(e,t))}notify(e){P.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return P.batch(()=>Promise.all(e.map(e=>e.continue().catch(s))))}};function Z(e){return e.options.scope?.id}var Q=class extends t{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??h(r,t),a=this.get(i);return a||(a=new W({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){P.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>p(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>p(e,t)):t}notify(e){P.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){P.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){P.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},$=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Q,this.#t=e.mutationCache||new X,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=n.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=F.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(d(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=c(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return P.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;P.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return P.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=P.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(s).catch(s)}invalidateQueries(e,t={}){return P.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=P.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(s)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(s)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(d(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(s).catch(s)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(s).catch(s)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return F.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(g(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{_(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(g(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{_(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=h(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===D&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},ee=class t{constructor(e={}){this.availableDatasets=[],this.apiUrl=e.apiUrl||`https://api.luzmo.com`,this.apiVersion=e.apiVersion||`0.1.0`,this.authKey=e.authKey||``,this.authToken=e.authToken||``,this.queryClient=new $({defaultOptions:{queries:{staleTime:e.staleTime||300*1e3,gcTime:e.gcTime||600*1e3,retry:e.retry||3,retryDelay:e.retryDelay||(e=>Math.min(1e3*2**e,3e4))}}}),this.initNetworkListeners()}_normalizeUrl(e){try{let t=new URL(e);return t.origin+t.pathname.replace(/\/$/,``)}catch{return e}}configure(e={}){let t=e.apiUrl===void 0?void 0:this._normalizeUrl(e.apiUrl),n=this._normalizeUrl(this.apiUrl),r=e.authKey!==void 0&&e.authKey!==``&&e.authKey!==this.authKey||e.authToken!==void 0&&e.authToken!==``&&e.authToken!==this.authToken||t!==void 0&&t!==n;if(e.apiVersion&&(this.apiVersion=e.apiVersion),e.apiUrl!==void 0&&(this.apiUrl=e.apiUrl),e.authKey!==void 0&&(this.authKey=e.authKey),e.authToken!==void 0&&(this.authToken=e.authToken),r&&(this.queryClient.clear(),this.availableDatasets=[]),e.staleTime||e.gcTime||e.retry){let t={};e.staleTime&&(t.staleTime=e.staleTime),e.gcTime&&(t.gcTime=e.gcTime),e.retry&&(t.retry=e.retry),this.queryClient.setDefaultOptions({queries:{...this.queryClient.getDefaultOptions().queries,...t}})}}clearLocalCache(){this.queryClient.clear(),this.availableDatasets=[]}initNetworkListeners(){typeof window<`u`&&window.addEventListener(`online`,()=>{console.warn(`Network connection restored, refreshing data...`),this.refreshAll()})}getHeaders(e={}){return{"Content-Type":`application/json`,...e}}async fetchApi(e,t,n={}){let r=`${this.apiUrl}/${this.apiVersion}${e}`,i={method:n.method||`POST`,headers:this.getHeaders(n.headers),mode:`cors`,...n};t!==void 0&&(t.key=this.authKey,t.token=this.authToken,i.body=JSON.stringify(t));try{let t=await fetch(r,i);if(!t.ok){let n=await t.json().catch(()=>null);throw t.status===401||t.status===403?Error(`Authentication failed. Please check your API token.`):t.status===404?Error(`Resource not found: ${e}`):t.status===429?Error(`Rate limit exceeded. Please try again later.`):Error(n?.message||`API request failed with status ${t.status}`)}return await t.json()}catch(t){throw console.error(`API request to ${e} failed:`,t),t instanceof Error&&(t.endpoint=e,t.timestamp=new Date().toISOString()),t}}async fetchAllDatasets(e={}){let t=e.offset||0,n=e.limit||50,r=[`datasets`,t,n];return await this.queryClient.fetchQuery({queryKey:r,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`},attributes:[`id`,`name`,`description`],limit:n,offset:t}},r=await this.fetchApi(`/securable`,e);return{data:r?.rows??[],pagination:{offset:t,limit:n,total:r?.count??0,pages:Math.ceil((r?.count??0)/n)}}}})}async searchDatasets(e,t){if(!e)return{data:[]};let n=[`datasets`,`search`,e,t];return await this.queryClient.fetchQuery({queryKey:n,queryFn:async()=>{let n={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`}}};e?.length>0&&(n.find.search={match_types:[`name`],keyphrase:e}),t?.offset&&(n.find.offset=t?.offset),t?.limit&&(n.find.limit=t?.limit);let r=await this.fetchApi(`/securable`,n),i={data:r?.rows??[]};return t?.limit&&(i.pagination={offset:t?.offset??0,limit:t?.limit,total:r?.count??0,pages:Math.ceil((r?.count??0)/t?.limit)}),i}})}async fetchDatasetNames(t){if(!t||t.length===0)throw Error(`At least one dataset ID is required`);let{valid:n,invalid:r}=e.c(t);if(r.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${r.join(`, `)}. These will be skipped.`),n.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let i=[`dataset-names`,n,this.authKey,this.authToken];return await this.queryClient.fetchQuery({queryKey:i,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`,id:{in:n}},attributes:[`name`,`id`,`description`]}};return(await this.fetchApi(`/securable`,e))?.rows??[]}})}async fetchDatasetsWithColumnsAndFormulas(t){if(!t||t.length===0)throw Error(`At least one dataset ID is required`);let{valid:n,invalid:r}=e.c(t);if(r.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${r.join(`, `)}. These will be skipped.`),n.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let i=[`datasets`,n,this.authKey,this.authToken];return await this.queryClient.fetchQuery({queryKey:i,queryFn:async()=>{let e={action:`get`,version:this.apiVersion,find:{where:{type:`dataset`,id:{in:n}},attributes:[`name`,`id`,`description`],include:[{model:`Column`,attributes:[`id`,`name`,`description`,`type`,`subtype`,`format`,`hidden`,`lowestLevel`,`expression`,`duration_levels`,`duration_format`],separate:!0,order:[[`order`,`asc`]],include:[{model:`Column`,attributes:[`id`,`securable_id`,`hierarchy_enabled`,`currency_id`],as:`Joins`},{model:`HierarchyLevel`,attributes:[`id`,`level`,`name`],as:`HierarchyLevels`},{model:`Currency`,attributes:[`id`,`name`,`symbol`],as:`Currency`}]},{model:`Formula`,attributes:[`id`,`name`,`description`,`type`,`subtype`,`format`,`hidden`,`lowestLevel`,`expression`,`duration_levels`,`duration_format`],include:[{model:`Currency`,attributes:[`id`,`name`,`symbol`],as:`Currency`}]}]}};return(await this.fetchApi(`/securable`,e))?.rows??[]}})}async fetchData(e){if(!e)throw Error(`Query is required`);let t=[`data`,e];return await this.queryClient.fetchQuery({queryKey:t,queryFn:async()=>{let t={action:`get`,version:this.apiVersion,find:{queries:[e]}},n=await this.fetchApi(`/data`,t);return{data:n?.data||[],performance:n?.performance||{}}}})}getCachedData(e){let t=[`data`,e],n=this.queryClient.getQueryState(t),r=this.queryClient.getDefaultOptions().queries?.staleTime;if(!(!n?.data||n.isInvalidated||typeof r!=`number`)&&!(r!==1/0&&Date.now()-n.dataUpdatedAt>r))return n.data}async validate(e,t){if(!t?.expression)return{valid:!1};let n={action:`validate`,version:this.apiVersion,properties:t},r=await this.fetchApi(`/${e}`,n);return{valid:!!r?.valid,reason:r?.reason??r?.error,explanation:r?.explanation,type:r?.type}}async fetchTheme(e){if(!e)throw Error(`Theme ID is required`);let t=[`theme`,e];return await this.queryClient.fetchQuery({queryKey:t,queryFn:async()=>(await this.fetchApi(`/theme`,{action:`get`,version:this.apiVersion,find:{where:{id:e}}}))?.rows?.[0]})}refreshAll(){this.queryClient.refetchQueries()}invalidateDatasetData(e){e?(this.queryClient.invalidateQueries({queryKey:[`dataset`,e]}),this.queryClient.invalidateQueries({queryKey:[`columns`,e]})):this.queryClient.invalidateQueries({queryKey:[`datasets`]})}invalidateAll(){this.queryClient.clear()}static getInstance(e={}){return t.instance?Object.keys(e).length>0&&t.instance.configure(e):t.instance=new t(e),t.instance}async fetchDatasetsRecursive(t){if(!t||t.length===0)throw Error(`At least one dataset ID is required`);let{valid:n,invalid:r}=e.c(t);if(r.length>0&&console.warn(`[DataBroker] Invalid dataset IDs provided (not valid UUIDs): ${r.join(`, `)}. These will be skipped.`),n.length===0)throw Error(`No valid dataset IDs provided. Dataset IDs must be valid UUIDs.`);let i=[...new Set(n)],a=new Set,o=new Map,s=t=>{t&&e.s(t)&&!a.has(t)&&!i.includes(t)&&i.push(t)};for(;i.length>0;){let e=[];for(;i.length>0&&e.length<50;){let t=i.shift();a.has(t)||e.push(t)}if(e.length!==0)try{(await this.fetchDatasetsWithColumnsAndFormulas(e)).forEach(e=>{let t=this.postProcessDatasetMetadata(e);a.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=>{s(e)}),o.set(t.id,t),this.availableDatasets.some(e=>e.id===t.id)||this.availableDatasets.push({id:t.id,name:t.name,columns:t.columns})})}catch(e){console.error(`Error fetching datasets recursively:`,e)}}return[...o.values()]}postProcessDatasetMetadata(e){let t=[],n=(e.columns??[]).map(e=>{let n=e.joins??(Array.isArray(e.joins)?e.joins:[]);Array.isArray(n)&&n.length>0&&t.push(...n);let{joins:r,...i}=e;return{...i,joins:n}});return{...e,columns:n,formulas:e.formulas??[],outgoingJoins:t,dateLoaded:new Date}}getAvailableDatasets(){return this.availableDatasets}getLinkedDatasetsIds(e){let t=this.queryClient.getQueryData([`dataset`,e]);return t?(t.outgoingJoins??[]).map(e=>e.securable_id).filter(t=>!!t&&t!==e):[]}}.getInstance();Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return ee}});
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../data-field-lGJ557o4.cjs");Object.defineProperty(exports,"LuzmoDataField",{enumerable:!0,get:function(){return e.t}});
20
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../data-field-CZGdgBd7.cjs");Object.defineProperty(exports,"LuzmoDataField",{enumerable:!0,get:function(){return e.t}});
@@ -24,5 +24,5 @@
24
24
  e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
25
25
  }
26
26
  })();
27
- import { t as e } from "../data-field-Dz0XFrep.js";
27
+ import { t as e } from "../data-field-Ccsjj3o5.js";
28
28
  export { e as LuzmoDataField };
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./base-DYRe99_q.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./localized-mixin-BForHr3t.cjs"),r=require("./periods.const-Db0nXrwr.cjs");require("./data-field-level-B9r4ucP6.cjs");let i=require("lit"),a=require("lit/decorators.js"),o=require("@lit/localize");var s=`:host{--data-field-sublevels-margin-vertical:var(--luzmo-spacing-1);--data-field-sublevels-gap:0}:host([size=s]){--data-field-sublevels-margin-vertical:var(--luzmo-spacing-1)}:host([size=l]){--data-field-sublevels-margin-vertical:var(--luzmo-spacing-2)}:host([size=xl]){--data-field-sublevels-margin-vertical:var(--luzmo-spacing-3)}:host{display:block}.data-field-sublevels{gap:var(--luzmo-data-field-sublevels-gap,var(--data-field-sublevels-gap));margin:var(--luzmo-data-field-sublevels-margin-vertical,var(--data-field-sublevels-margin-vertical)) 0;flex-direction:column;display:flex}:host{box-sizing:border-box}`,c=e=>`formulaId`in e,l=class extends n.t(e.n(e.i,{validSizes:[`s`,`m`,`l`,`xl`],noDefaultSize:!0})){constructor(...e){super(...e),this.variant=`normal`,this.data={}}static{this.styles=(0,i.unsafeCSS)(s)}renderSublevels(){if(!this.data)return i.html`
20
+ const e=require("./base-B0frB7oV.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./localized-mixin-BbOPy_BO.cjs"),r=require("./periods.const-Db0nXrwr.cjs");require("./data-field-level-DDYutkKV.cjs");let i=require("lit"),a=require("lit/decorators.js"),o=require("@lit/localize");var s=`:host{--data-field-sublevels-margin-vertical:var(--luzmo-spacing-1);--data-field-sublevels-gap:0}:host([size=s]){--data-field-sublevels-margin-vertical:var(--luzmo-spacing-1)}:host([size=l]){--data-field-sublevels-margin-vertical:var(--luzmo-spacing-2)}:host([size=xl]){--data-field-sublevels-margin-vertical:var(--luzmo-spacing-3)}:host{display:block}.data-field-sublevels{gap:var(--luzmo-data-field-sublevels-gap,var(--data-field-sublevels-gap));margin:var(--luzmo-data-field-sublevels-margin-vertical,var(--data-field-sublevels-margin-vertical)) 0;flex-direction:column;display:flex}:host{box-sizing:border-box}`,c=e=>`formulaId`in e,l=class extends n.t(e.n(e.i,{validSizes:[`s`,`m`,`l`,`xl`],noDefaultSize:!0})){constructor(...e){super(...e),this.variant=`normal`,this.data={}}static{this.styles=(0,i.unsafeCSS)(s)}renderSublevels(){if(!this.data)return i.html`
21
21
 
22
22
  `;let e=this.data?.type,t=e===`datetime`||e===`array[datetime]`,n=[];if(`hierarchyLevels`in this.data&&Array.isArray(this.data.hierarchyLevels)&&this.data.hierarchyLevels.length>2&&this.data.hierarchy_enabled&&n.push(...this.data.hierarchyLevels.filter(e=>e?.level>=1).map(e=>i.html`<luzmo-data-field-level
23
23
  sublevel
@@ -17,11 +17,11 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { i as e, n as t } from "./base-2sulw8ws.js";
20
+ import { i as e, n as t } from "./base-DPqRkMth.js";
21
21
  import { t as n } from "./decorate-DyMgX_Uh.js";
22
- import { t as r } from "./localized-mixin-D-vXCJuU.js";
22
+ import { t as r } from "./localized-mixin-D1ss6vE4.js";
23
23
  import { n as i } from "./periods.const-NCTkxnvG.js";
24
- import "./data-field-level-DJoidlHN.js";
24
+ import "./data-field-level-BautlamO.js";
25
25
  import { html as a, unsafeCSS as o } from "lit";
26
26
  import { property as s } from "lit/decorators.js";
27
27
  import { localized as c } from "@lit/localize";
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../data-field-level-B9r4ucP6.cjs");exports.LuzmoDataFieldLevel=e.t;
20
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../data-field-level-DDYutkKV.cjs");exports.LuzmoDataFieldLevel=e.t;
@@ -24,5 +24,5 @@
24
24
  e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
25
25
  }
26
26
  })();
27
- import { t as e } from "../data-field-level-DJoidlHN.js";
27
+ import { t as e } from "../data-field-level-BautlamO.js";
28
28
  export { e as LuzmoDataFieldLevel };
@@ -18,7 +18,7 @@
18
18
  * SOFTWARE.
19
19
  * */
20
20
  import { t as e } from "./pragmatic-element-adapter-C_7HSvGV.js";
21
- import { i as t, n } from "./base-2sulw8ws.js";
21
+ import { i as t, n } from "./base-DPqRkMth.js";
22
22
  import { t as r } from "./decorate-DyMgX_Uh.js";
23
23
  import { n as i, t as a } from "./calculate-data-field-icon-DrSg1PuD.js";
24
24
  import { t as o } from "./localize-BT7REYBY.js";