@luzmo/analytics-components-kit 1.0.4-beta.4 → 1.0.5-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -5
- package/components/ad-hoc-slot-content-BxpvfmjT.js +29 -0
- package/components/ad-hoc-slot-content-DJUmB7pS.cjs +20 -0
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.js +1 -1
- package/components/ai-chat-BBc330Jm.js +3832 -0
- package/components/ai-chat-DLDSaC7W.cjs +300 -0
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/ai-interaction-textarea-BCH5_GBO.cjs +68 -0
- package/components/ai-interaction-textarea-DzHetSBZ.js +299 -0
- package/components/area-chart-options.config-CJYI-zcZ.cjs +20 -0
- package/components/area-chart-options.config-CxJWxcD9.js +146 -0
- package/components/area-chart-positioning.config-CjeYLy6C.js +55 -0
- package/components/area-chart-positioning.config-DVrykBho.cjs +20 -0
- package/components/area-chart-slots.config-B56LJaky.cjs +20 -0
- package/components/area-chart-slots.config-C22ZF9l0.js +55 -0
- package/components/bar-chart-options.config-BAatAyhW.js +220 -0
- package/components/bar-chart-options.config-D2a-U6kG.cjs +20 -0
- package/components/bar-chart-positioning.config-DpF15KcV.cjs +20 -0
- package/components/bar-chart-positioning.config-e-SAdpBe.js +59 -0
- package/components/bar-chart-slots.config-BbgFihbK.js +50 -0
- package/components/bar-chart-slots.config-CkOVmYcA.cjs +20 -0
- package/components/base-DSXeP3BL.cjs +20 -0
- package/components/base-a89RuUMb.js +249 -0
- package/components/base-store-D0jbv0bE.js +160 -0
- package/components/base-store-ab2wBsBE.cjs +20 -0
- package/components/box-plot-options.config-BuX2wNhp.js +296 -0
- package/components/box-plot-options.config-Di28EvZb.cjs +20 -0
- package/components/box-plot-positioning.config-Bq2INEtG.js +48 -0
- package/components/box-plot-positioning.config-DbwtHJ4q.cjs +20 -0
- package/components/box-plot-slots.config-DL-tTTn9.cjs +20 -0
- package/components/box-plot-slots.config-OeublT6p.js +40 -0
- package/components/bubble-chart-options.config-C_XQOHgH.js +115 -0
- package/components/bubble-chart-options.config-CnpBrIo6.cjs +20 -0
- package/components/bubble-chart-positioning.config--EBfDgdN.cjs +20 -0
- package/components/bubble-chart-positioning.config-DFnW4mJ9.js +55 -0
- package/components/bubble-chart-slots.config-Bdy20Xqs.js +47 -0
- package/components/bubble-chart-slots.config-smlOOwcK.cjs +20 -0
- package/components/bullet-chart-options.config-6nATAuC3.cjs +20 -0
- package/components/bullet-chart-options.config-h5BFyszP.js +75 -0
- package/components/bullet-chart-positioning.config-CZ46z07k.cjs +20 -0
- package/components/bullet-chart-positioning.config-DS2OmjBY.js +56 -0
- package/components/bullet-chart-slots.config-BaTbWYvU.cjs +20 -0
- package/components/bullet-chart-slots.config-Cqj3i1qo.js +46 -0
- package/components/choropleth-map-options.config-CmtZtBAC.cjs +20 -0
- package/components/choropleth-map-options.config-YCo77O3q.js +348 -0
- package/components/choropleth-map-positioning.config-Clm5IUT6.cjs +20 -0
- package/components/choropleth-map-positioning.config-DgANsGq1.js +55 -0
- package/components/choropleth-map-slots.config-ClMcW8wV.cjs +20 -0
- package/components/choropleth-map-slots.config-D4vxtdtH.js +53 -0
- package/components/circle-pack-chart-options.config-BA_G1sQ8.cjs +20 -0
- package/components/circle-pack-chart-options.config-C0cEtjgC.js +54 -0
- package/components/circle-pack-chart-positioning.config-2H1CrfH_.js +48 -0
- package/components/circle-pack-chart-positioning.config-qF0qGcEO.cjs +20 -0
- package/components/circle-pack-chart-slots.config-Dks8K3uQ.js +38 -0
- package/components/circle-pack-chart-slots.config-IH2KV7z1.cjs +20 -0
- package/components/circular-gauge-options.config-BtP-YDIr.cjs +20 -0
- package/components/circular-gauge-options.config-Cdnk-Sp0.js +188 -0
- package/components/circular-gauge-positioning.config-CMttD_BW.cjs +20 -0
- package/components/circular-gauge-positioning.config-CusKP9Tq.js +48 -0
- package/components/circular-gauge-slots.config-B6ajddW-.cjs +20 -0
- package/components/circular-gauge-slots.config-Wf4sHmk6.js +39 -0
- package/components/color-CXw2IfjN.js +3812 -0
- package/components/color-range-utils-u4ziqRRA.js +63 -0
- package/components/column-chart-options.config-DoZLlIRM.js +219 -0
- package/components/column-chart-options.config-eJ1Cexxe.cjs +20 -0
- package/components/column-chart-positioning.config-ColoutIT.cjs +20 -0
- package/components/column-chart-positioning.config-rRwPVTbj.js +55 -0
- package/components/column-chart-slots.config-BY6y_rvE.cjs +20 -0
- package/components/column-chart-slots.config-BhVqSbKw.js +50 -0
- package/components/combination-chart-options.config-C3kZ2fpK.cjs +20 -0
- package/components/combination-chart-options.config-D7ZXfn61.js +87 -0
- package/components/combination-chart-positioning.config-DAVrKW-6.cjs +20 -0
- package/components/combination-chart-positioning.config-uLf1RJQr.js +48 -0
- package/components/combination-chart-slots.config-CK8YBgUl.js +43 -0
- package/components/combination-chart-slots.config-Ciza_y3a.cjs +20 -0
- package/components/conditional-number-options.config-BwSMI5Ax.js +205 -0
- package/components/conditional-number-options.config-CadHLi0m.cjs +20 -0
- package/components/conditional-number-positioning.config-DZjwZfsH.js +48 -0
- package/components/conditional-number-positioning.config-Nwsh-WyG.cjs +20 -0
- package/components/conditional-number-slots.config-CWX6OuUa.cjs +20 -0
- package/components/conditional-number-slots.config-xSNaYD4u.js +39 -0
- package/components/convert-data-field-to-slot-content-BQkSy_8B.cjs +20 -0
- package/components/data-broker-BH5WDG0j.cjs +20 -0
- package/components/data-broker-CVDImE1j.js +1674 -0
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -1
- package/components/data-field-CFX9bhKN.js +121 -0
- package/components/data-field-bRmOqmAe.cjs +54 -0
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -1
- package/components/data-field-level-Cc6yEETi.js +246 -0
- package/components/data-field-level-Dnl27sxs.cjs +55 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/data-field-panel-BDExLalA.cjs +87 -0
- package/components/data-field-panel-DcqVOzMO.js +385 -0
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -1
- package/components/data-fields-select-B5aGtDYe.cjs +41 -0
- package/components/data-fields-select-CfAfiV-K.js +262 -0
- package/components/dataset-icon/index.js +1 -1
- package/components/dataset-icon-BXEgg_8O.js +125 -0
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/dataset-selector-list-WT2ZHjQ4.cjs +75 -0
- package/components/dataset-selector-list-bAFTW1Hr.js +313 -0
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -1
- package/components/dataset-selector-row-CXrEKQrA.js +273 -0
- package/components/dataset-selector-row-CwkXH93E.cjs +79 -0
- package/components/date-comparison-filter-options.config--clPxHFt.cjs +20 -0
- package/components/date-comparison-filter-options.config-DCCm5Adt.js +126 -0
- package/components/date-comparison-filter-slots.config-KO9B0lfS.cjs +20 -0
- package/components/date-comparison-filter-slots.config-s7FcuKia.js +33 -0
- package/components/date-filter-options.config-BdNFe-Ds.cjs +20 -0
- package/components/date-filter-options.config-DBwcMXzp.js +118 -0
- package/components/date-filter-slots.config-BrQoD-EF.cjs +20 -0
- package/components/date-filter-slots.config-pbd3rG9z.js +37 -0
- package/components/de-DqwsqE-U.js +478 -0
- package/components/de-tUSOg_BJ.cjs +20 -0
- package/components/decorate-CaYbmmmm.js +28 -0
- package/components/display-settings/display-settings.d.ts +21 -2
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-DrcpHnKo.cjs +140 -0
- package/components/display-settings-Ec_smyRC.js +313 -0
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/display-settings-binning-COpQPUin.js +110 -0
- package/components/display-settings-binning-XXJdJeGU.cjs +56 -0
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-datetime-DhSW10ln.cjs +217 -0
- package/components/display-settings-datetime-qj86dnHh.js +413 -0
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -1
- package/components/display-settings-grand-totals-D6IDs0U1.js +89 -0
- package/components/display-settings-grand-totals-DTF0sqA1.cjs +44 -0
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -1
- package/components/display-settings-numeric-Dt34JHyR.cjs +190 -0
- package/components/display-settings-numeric-Dy2EMcKa.js +479 -0
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +1 -1
- package/components/display-settings-period-over-period-B-ULI6yW.cjs +229 -0
- package/components/display-settings-period-over-period-BMzBnywY.js +433 -0
- package/components/donut-chart-options.config-Buas8fzJ.js +207 -0
- package/components/donut-chart-options.config-K-HkE7sL.cjs +20 -0
- package/components/donut-chart-positioning.config-BnmePhBH.cjs +20 -0
- package/components/donut-chart-positioning.config-CnZRc3e8.js +48 -0
- package/components/donut-chart-slots.config-CZWRHxZe.js +39 -0
- package/components/donut-chart-slots.config-RxPnpO6M.cjs +20 -0
- package/components/dropdown-filter-options.config-B-Vvy0Nq.cjs +20 -0
- package/components/dropdown-filter-options.config-gv1y1OkC.js +153 -0
- package/components/dropdown-filter-slots.config-BBZChIHC.cjs +20 -0
- package/components/dropdown-filter-slots.config-aP5hvp2K.js +38 -0
- package/components/en-B34alchz.cjs +20 -0
- package/components/en-GB-B3xz84vF.cjs +20 -0
- package/components/en-US-B34alchz.cjs +20 -0
- package/components/es-C-5Yqnck.js +478 -0
- package/components/es-Czecz2xB.cjs +20 -0
- package/components/evolution-number-options.config-B1IomzV1.js +228 -0
- package/components/evolution-number-options.config-Bt1FZqqQ.cjs +20 -0
- package/components/evolution-number-positioning.config-CKgGLWTm.cjs +20 -0
- package/components/evolution-number-positioning.config-DiKxJqRO.js +48 -0
- package/components/evolution-number-slots.config-CYxdcD-x.cjs +20 -0
- package/components/evolution-number-slots.config-eOQDWZyb.js +37 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-expression-picker-DMZ4sgJ6.js +425 -0
- package/components/filter-expression-picker-Dq0X2lo3.cjs +38 -0
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-item-BEe-Y6l0.js +242 -0
- package/components/filter-item-BnxKP0Zg.cjs +58 -0
- package/components/filter-parameter-picker/index.js +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-BxaX9BML.cjs +60 -0
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -1
- package/components/filter-value-picker-datetime-BryAsOYH.cjs +42 -0
- package/components/filter-value-picker-datetime-DtZDr9fY.js +139 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-hierarchy-BSKoZJ0F.cjs +47 -0
- package/components/filter-value-picker-hierarchy-D9BcuttQ.js +232 -0
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/filter-value-picker-numeric-B2EcfNUR.cjs +48 -0
- package/components/filter-value-picker-numeric-CoU9l9wS.js +219 -0
- package/components/filter-value-picker-r1zs2IHx.js +151 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/filters-C9DVFS6T.cjs +150 -0
- package/components/filters-DVTYmlI1.js +400 -0
- package/components/formatter-8m-wrIM-.cjs +20 -0
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/formula--lwYaW2w.cjs +45 -0
- package/components/formula-Ekyv6mpo.js +138 -0
- package/components/formula-codemirror-BZuBN5sE.cjs +215 -0
- package/components/formula-codemirror-DgTmL2Id.js +11973 -0
- package/components/formula-display-store-BunPLkc0.cjs +20 -0
- package/components/formula-display-store-ezef6EvF.js +1090 -0
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.js +3 -3
- package/components/formula-editor-CjVohoJB.cjs +218 -0
- package/components/formula-editor-DRpm9ej7.js +666 -0
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -1
- package/components/formula-field-DcgWLGBD.cjs +20 -0
- package/components/formula-field-TwMnyN0t.js +40 -0
- package/components/formula-input-base-D6QdnUOa.cjs +49 -0
- package/components/formula-input-base-Dxk5euNb.js +236 -0
- package/components/fr-BvgQLvx5.js +478 -0
- package/components/fr-CQyhQN6j.cjs +20 -0
- package/components/funnel-chart-options.config-BAIgb6x9.cjs +20 -0
- package/components/funnel-chart-options.config-DAv3185m.js +187 -0
- package/components/funnel-chart-positioning.config-DaHDyj7V.cjs +20 -0
- package/components/funnel-chart-positioning.config-DysRV01G.js +48 -0
- package/components/funnel-chart-slots.config-BsNj6Mbb.js +43 -0
- package/components/funnel-chart-slots.config-CSI5mdma.cjs +20 -0
- package/components/get-css-variable-B1BZoBcs.cjs +20 -0
- package/components/get-css-variable-COcan5CX.js +63 -0
- package/components/get-dataset-name-D4smY8ms.cjs +20 -0
- package/components/get-dataset-name-D_ZiWu64.js +27 -0
- package/components/groupings-Bzp2EA65.js +52 -0
- package/components/groupings-Wfp8piEu.cjs +20 -0
- package/components/heat-map-options.config-Ckw8voNV.js +224 -0
- package/components/heat-map-options.config-Ct-93RVQ.cjs +20 -0
- package/components/heat-map-positioning.config-C6CqosaH.js +48 -0
- package/components/heat-map-positioning.config-hFwq08ML.cjs +20 -0
- package/components/heat-map-slots.config-BFK5TF9k.js +37 -0
- package/components/heat-map-slots.config-D0mwjImu.cjs +20 -0
- package/components/heat-table-options.config-7IS5wa9l.cjs +20 -0
- package/components/heat-table-options.config-PpOf4o94.js +372 -0
- package/components/heat-table-positioning.config-B2RuWLH5.js +55 -0
- package/components/heat-table-positioning.config-MJ_ox9iT.cjs +20 -0
- package/components/heat-table-slots.config-3q2hG4nF.js +49 -0
- package/components/heat-table-slots.config-CH6Q9203.cjs +20 -0
- package/components/hexbin-map-options.config-CUAv6zuD.cjs +20 -0
- package/components/hexbin-map-options.config-D88DHYrl.js +276 -0
- package/components/hexbin-map-positioning.config-Dua5Z8M2.cjs +20 -0
- package/components/hexbin-map-positioning.config-IiGTpp68.js +48 -0
- package/components/hexbin-map-slots.config-BdkQVzI7.cjs +20 -0
- package/components/hexbin-map-slots.config-BfbHCCUe.js +37 -0
- package/components/image-options.config-ByIPpr29.js +153 -0
- package/components/image-options.config-DXqA7sAa.cjs +20 -0
- package/components/image-slots.config-B4MFjNWt.js +24 -0
- package/components/image-slots.config-DprzKxj3.cjs +20 -0
- package/components/index.cjs +1 -1
- package/components/index.js +55 -55
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.js +1 -1
- package/components/interactive-viz-item-O2zj8Ix3.cjs +247 -0
- package/components/interactive-viz-item-lBrlvX4F.js +693 -0
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/item-grid-CmuMl0eC.cjs +113 -0
- package/components/item-grid-Cqi995vx.js +4559 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/item-option-CQw6Xsi2.cjs +252 -0
- package/components/item-option-Cg3zRKlU.js +969 -0
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -1
- package/components/item-option-action-button-group-C1TU-ng7.js +118 -0
- package/components/item-option-action-button-group-DBdpU9Ac.cjs +53 -0
- package/components/item-option-base-4mpxvTpE.js +123 -0
- package/components/item-option-base-BtYcXg-E.cjs +56 -0
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -1
- package/components/item-option-color-palette-picker-4so22U-2.cjs +40 -0
- package/components/item-option-color-palette-picker-BBnhEOQj.js +2041 -0
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -1
- package/components/item-option-color-picker-CTTEHFVR.js +87 -0
- package/components/item-option-color-picker-CUBaIdL-.cjs +34 -0
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -1
- package/components/item-option-color-range-BuLEgB7a.js +220 -0
- package/components/item-option-color-range-H4nV-HoV.cjs +98 -0
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -1
- package/components/item-option-multi-language-field-CXQj3kSW.js +82 -0
- package/components/item-option-multi-language-field-d25tETIC.cjs +33 -0
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -1
- package/components/item-option-number-field-CEQEjnu8.js +102 -0
- package/components/item-option-number-field-waG1zcr8.cjs +38 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/item-option-panel-Bh4d0Ueb.cjs +67 -0
- package/components/item-option-panel-CVjT-rr8.js +183 -0
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/item-option-picker-CiEMwzho.js +77 -0
- package/components/item-option-picker-YTJ6noOW.cjs +37 -0
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -1
- package/components/item-option-position-picker-DExAtVBF.cjs +32 -0
- package/components/item-option-position-picker-DVsG8inN.js +117 -0
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -1
- package/components/item-option-positions-number-field-7F1_3pxp.js +164 -0
- package/components/item-option-positions-number-field-Ju4e_B6g.cjs +49 -0
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -1
- package/components/item-option-radio-button-group-6w11UJC-.cjs +37 -0
- package/components/item-option-radio-button-group-CHZKF_oZ.js +74 -0
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/item-option-slider-CQCvF7wI.js +81 -0
- package/components/item-option-slider-DdkgydGa.cjs +33 -0
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/item-option-switch-68EoGXKU.js +69 -0
- package/components/item-option-switch-IP4wvB7i.cjs +30 -0
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -1
- package/components/item-option-text-field-0CCtgD5i.js +80 -0
- package/components/item-option-text-field-Be4frWhI.cjs +33 -0
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +45 -45
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -1
- package/components/item-slot-drop/item-slot-drop.d.ts +1 -0
- package/components/item-slot-drop-C7BJJcZz.cjs +91 -0
- package/components/item-slot-drop-PlCmap_s.js +331 -0
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -1
- package/components/item-slot-drop-panel-BevGCcMh.js +355 -0
- package/components/item-slot-drop-panel-hs0gFwb-.cjs +57 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/item-slot-picker/item-slot-picker.d.ts +3 -0
- package/components/item-slot-picker-BzXlX-Zd.js +505 -0
- package/components/item-slot-picker-dmoR1ZyZ.cjs +174 -0
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -1
- package/components/item-slot-picker-panel-B2TtJUIs.cjs +81 -0
- package/components/item-slot-picker-panel-DnvwcLGy.js +448 -0
- package/components/item-slots-configs.cjs +1 -1
- package/components/item-slots-configs.js +45 -45
- package/components/line-chart-options.config-DKQ1k4lg.cjs +20 -0
- package/components/line-chart-options.config-DMjvCs-4.js +168 -0
- package/components/line-chart-positioning.config-CYqzjNzS.cjs +20 -0
- package/components/line-chart-positioning.config-DAs0y-O6.js +55 -0
- package/components/line-chart-slots.config-Cjp4btvG.cjs +20 -0
- package/components/line-chart-slots.config-CrQEwa4W.js +55 -0
- package/components/load-data-fields-for-datasets-BVGaku2J.cjs +20 -0
- package/components/load-data-fields-for-datasets-DeXLqWt4.js +42 -0
- package/components/localized-mixin-BNAt_iYb.cjs +20 -0
- package/components/localized-mixin-GXZQgVAD.js +45 -0
- package/components/marker-map-options.config-C52a3boH.js +117 -0
- package/components/marker-map-options.config-DBPPcGN4.cjs +20 -0
- package/components/marker-map-positioning.config-BQ-kNUJI.js +48 -0
- package/components/marker-map-positioning.config-C5h5ydGa.cjs +20 -0
- package/components/marker-map-slots.config-BOQ8AwRv.cjs +20 -0
- package/components/marker-map-slots.config-eJAxjIaQ.js +37 -0
- package/components/nl-BwK5iXtO.cjs +20 -0
- package/components/nl-D-Wa6DnD.js +478 -0
- package/components/ohlc-chart-options.config-38qB2VKc.js +65 -0
- package/components/ohlc-chart-options.config-D9h-VLdq.cjs +20 -0
- package/components/ohlc-chart-positioning.config-BQyRY4rj.js +78 -0
- package/components/ohlc-chart-positioning.config-fqniDSHf.cjs +20 -0
- package/components/ohlc-chart-slots.config-CUBUexI-.cjs +20 -0
- package/components/ohlc-chart-slots.config-SOs4oD-Q.js +68 -0
- package/components/parallel-coordinates-plot-options.config-DfZ80jLX.js +42 -0
- package/components/parallel-coordinates-plot-options.config-ovgY0A7j.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-Bhyk-q40.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-DMUrvTKC.js +48 -0
- package/components/parallel-coordinates-plot-slots.config-BXZ-NmbH.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-DgsHiCqT.js +46 -0
- package/components/pivot-table-options.config-5udtucDD.js +245 -0
- package/components/pivot-table-options.config-BxKo1DCU.cjs +20 -0
- package/components/pivot-table-positioning.config-CRPJ6cp9.cjs +20 -0
- package/components/pivot-table-positioning.config-kgOD7qg4.js +55 -0
- package/components/pivot-table-slots.config-CRL6EW5R.js +55 -0
- package/components/pivot-table-slots.config-VxbOGtmB.cjs +20 -0
- package/components/pragmatic-element-adapter-U3ppsQDe.cjs +24 -0
- package/components/pragmatic-element-adapter-e5LbH_lv.js +1252 -0
- package/components/pyramid-chart-options.config-iP2MzTeb.js +240 -0
- package/components/pyramid-chart-options.config-lioHQSoq.cjs +20 -0
- package/components/pyramid-chart-positioning.config-B3g4J0Fc.cjs +20 -0
- package/components/pyramid-chart-positioning.config-DzmnUNOa.js +55 -0
- package/components/pyramid-chart-slots.config-CN_Q2YsP.cjs +20 -0
- package/components/pyramid-chart-slots.config-DM3lYlDg.js +50 -0
- package/components/radar-chart-options.config-DhnoFEzo.cjs +20 -0
- package/components/radar-chart-options.config-aR5sQal-.js +130 -0
- package/components/radar-chart-positioning.config-DeMZx8WU.cjs +20 -0
- package/components/radar-chart-positioning.config-DtCHigcZ.js +55 -0
- package/components/radar-chart-slots.config-BISYnTom.cjs +20 -0
- package/components/radar-chart-slots.config-msW05r4n.js +53 -0
- package/components/regular-table-options.config-Bk6CBPgj.cjs +20 -0
- package/components/regular-table-options.config-kbARlJ1E.js +148 -0
- package/components/regular-table-slots.config-BU6Ff96U.cjs +20 -0
- package/components/regular-table-slots.config-DAwLOM5T.js +35 -0
- package/components/route-map-options.config-CAi93e7I.cjs +20 -0
- package/components/route-map-options.config-DCBAfq09.js +326 -0
- package/components/route-map-positioning.config-CNNkOriH.js +66 -0
- package/components/route-map-positioning.config-GRnTnxOT.cjs +20 -0
- package/components/route-map-slots.config-DNiRtoRC.js +59 -0
- package/components/route-map-slots.config-Dznp0DT3.cjs +20 -0
- package/components/sankey-diagram-options.config-CKjVnYnF.js +126 -0
- package/components/sankey-diagram-options.config-D7ZrZV0g.cjs +20 -0
- package/components/sankey-diagram-positioning.config-B4dTAI_t.cjs +20 -0
- package/components/sankey-diagram-positioning.config-DZzxWrlG.js +66 -0
- package/components/sankey-diagram-slots.config-CVD2P6RJ.js +61 -0
- package/components/sankey-diagram-slots.config-TKCUvHOD.cjs +20 -0
- package/components/scatter-plot-options.config--AfAxaGf.js +302 -0
- package/components/scatter-plot-options.config-DXqKb34r.cjs +20 -0
- package/components/scatter-plot-positioning.config-7DccAqx9.js +77 -0
- package/components/scatter-plot-positioning.config-CUxiLfKj.cjs +20 -0
- package/components/scatter-plot-slots.config-CPsk9FUg.cjs +20 -0
- package/components/scatter-plot-slots.config-D57rd66g.js +74 -0
- package/components/search-filter-options.config-DQwMOiXm.js +103 -0
- package/components/search-filter-options.config-DojMfRR_.cjs +20 -0
- package/components/search-filter-slots.config-AhwsTdYC.cjs +20 -0
- package/components/search-filter-slots.config-DQybwP4H.js +39 -0
- package/components/set-locale-BCnD4yp_.cjs +20 -0
- package/components/set-locale-CamOWu7o.js +43 -0
- package/components/slicer-filter-options.config-BhLn4U1W.cjs +20 -0
- package/components/slicer-filter-options.config-DVE33GEz.js +226 -0
- package/components/slicer-filter-positioning.config-DUivNE2P.cjs +20 -0
- package/components/slicer-filter-positioning.config-aOkoNRyY.js +48 -0
- package/components/slicer-filter-slots.config-Bcz9RsdR.js +44 -0
- package/components/slicer-filter-slots.config-zV15NWWS.cjs +20 -0
- package/components/slider-filter-options.config-B8am9mmE.cjs +20 -0
- package/components/slider-filter-options.config-BwaAvOvt.js +72 -0
- package/components/slider-filter-slots.config-Bc8Qk7fb.js +43 -0
- package/components/slider-filter-slots.config-D9Hra0zE.cjs +20 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/slot-menu/slot-menu.d.ts +7 -2
- package/components/slot-menu-Bgoo0gWv.cjs +71 -0
- package/components/slot-menu-Cb8piPji.js +422 -0
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/slot-menu-list/slot-menu-list.d.ts +7 -2
- package/components/slot-menu-list-Cy6tegSf.cjs +44 -0
- package/components/slot-menu-list-VuVIRNtr.js +346 -0
- package/components/slot-role-classification-Bvt3bI01.cjs +20 -0
- package/components/slot-role-classification-CCzj4WgN.js +133 -0
- package/components/slots-config-P_GXW0tl.js +77 -0
- package/components/slots-config-YdyClHLc.cjs +20 -0
- package/components/speedometer-chart-options.config-D4-8n5pn.js +246 -0
- package/components/speedometer-chart-options.config-DEW_D9w1.cjs +20 -0
- package/components/speedometer-chart-positioning.config-Dj6XK0gq.js +48 -0
- package/components/speedometer-chart-positioning.config-DzCh70X-.cjs +20 -0
- package/components/speedometer-chart-slots.config-1BqQZ2vP.cjs +20 -0
- package/components/speedometer-chart-slots.config-B4zqf0f_.js +39 -0
- package/components/spike-map-options.config-CM46vw7B.js +413 -0
- package/components/spike-map-options.config-LPAyKMHe.cjs +20 -0
- package/components/spike-map-positioning.config-BG2pKkf7.js +55 -0
- package/components/spike-map-positioning.config-BQIg4Z0U.cjs +20 -0
- package/components/spike-map-slots.config-B7OehIoc.cjs +20 -0
- package/components/spike-map-slots.config-BeXzuzh0.js +47 -0
- package/components/strip-plot-options.config-BlneYJOy.js +53 -0
- package/components/strip-plot-options.config-vBd38UQs.cjs +20 -0
- package/components/strip-plot-positioning.config-D3ZNgtC4.cjs +20 -0
- package/components/strip-plot-positioning.config-HZCVc6kX.js +48 -0
- package/components/strip-plot-slots.config-BGQIQtMK.js +38 -0
- package/components/strip-plot-slots.config-CAU0z3q4.cjs +20 -0
- package/components/sunburst-chart-options.config-8xopRyBB.js +160 -0
- package/components/sunburst-chart-options.config-CUFOuT2J.cjs +20 -0
- package/components/sunburst-chart-positioning.config-0O9eMweg.js +48 -0
- package/components/sunburst-chart-positioning.config-B-hCz3bI.cjs +20 -0
- package/components/sunburst-chart-slots.config-BCNUNkd9.cjs +20 -0
- package/components/sunburst-chart-slots.config-BhKeTqTo.js +38 -0
- package/components/symbol-map-options.config-CR07hvK0.cjs +20 -0
- package/components/symbol-map-options.config-nJAvVQIh.js +157 -0
- package/components/symbol-map-positioning.config-Dod98HkQ.js +55 -0
- package/components/symbol-map-positioning.config-aHnkaWU6.cjs +20 -0
- package/components/symbol-map-slots.config-D9E-oBE4.js +53 -0
- package/components/symbol-map-slots.config-Dz_tor5P.cjs +20 -0
- package/components/text-options.config-DCF3IVzO.js +67 -0
- package/components/text-options.config-JI2D64hs.cjs +20 -0
- package/components/text-slots.config-0A6csMfd.cjs +20 -0
- package/components/text-slots.config-C60nJ0OX.js +24 -0
- package/components/treemap-chart-options.config-RFQTphEG.js +184 -0
- package/components/treemap-chart-options.config-p21eSXKG.cjs +20 -0
- package/components/treemap-chart-positioning.config-XB1_FmX-.js +55 -0
- package/components/treemap-chart-positioning.config-qhPL49um.cjs +20 -0
- package/components/treemap-chart-slots.config-BJqqnUEF.cjs +20 -0
- package/components/treemap-chart-slots.config-CZRP7PZH.js +47 -0
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils/store.cjs +1 -1
- package/components/utils/store.js +2 -2
- package/components/utils-B1BzV2xl.cjs +20 -0
- package/components/utils-BMOxXnnX.js +240 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +3 -3
- package/components/v4-BK7K-jy_.js +49 -0
- package/components/validate-CJkVJaL1.cjs +20 -0
- package/components/validate-J3P0rm_n.js +28 -0
- package/components/venn-diagram-options.config-EmRhf40r.cjs +20 -0
- package/components/venn-diagram-options.config-uCJ5dei5.js +24 -0
- package/components/venn-diagram-positioning.config-Bh1ypVKP.js +55 -0
- package/components/venn-diagram-positioning.config-CimHfhlV.cjs +20 -0
- package/components/venn-diagram-slots.config-DOljH_uI.js +47 -0
- package/components/venn-diagram-slots.config-MpkJTf5q.cjs +20 -0
- package/components/video-options.config-Dh_lU4c1.cjs +20 -0
- package/components/video-options.config-DkLrX1gP.js +127 -0
- package/components/video-slots.config-Bmh6mcUv.cjs +20 -0
- package/components/video-slots.config-CqMIkttE.js +24 -0
- package/components/viz-item-menu/index.cjs +1 -1
- package/components/viz-item-menu/index.js +1 -1
- package/components/viz-item-menu-CTPd7QMx.cjs +55 -0
- package/components/viz-item-menu-sOvrO3Ku.js +170 -0
- package/components/wordcloud-chart-options.config-C2ZILp7a.js +90 -0
- package/components/wordcloud-chart-options.config-mx2CbmrI.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-BR_g8Now.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-CmakCQG0.js +55 -0
- package/components/wordcloud-chart-slots.config-B8s8B47F.js +45 -0
- package/components/wordcloud-chart-slots.config-C303nwAz.cjs +20 -0
- package/custom-elements.json +142 -5
- package/package.json +3 -3
- package/react/utils/formula/config/tests/build-datasets.test.d.ts +1 -0
- package/react/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
- package/react/utils/slot-content/render-calculation-label.d.ts +7 -0
- package/react/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +1 -0
- package/react/utils/slot-state/slot-store.d.ts +2 -2
- package/react/utils/store/index.d.ts +5 -5
- package/react/utils/store/store-registry.d.ts +1 -1
- package/types/slot.types.d.ts +10 -1
- package/utils/formula/config/tests/build-datasets.test.d.ts +1 -0
- package/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
- package/utils/slot-content/render-calculation-label.d.ts +7 -0
- package/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +1 -0
- package/utils/slot-state/slot-store.d.ts +2 -2
- package/utils/store/index.d.ts +5 -5
- package/utils/store/store-registry.d.ts +1 -1
- package/components/ai-chat-CpK99nb7.cjs +0 -300
- package/components/ai-chat-e2lg3FLg.js +0 -3835
- package/components/ai-interaction-textarea-CSrEsHXV.cjs +0 -68
- package/components/ai-interaction-textarea-cAXXLnoj.js +0 -299
- package/components/area-chart-options.config-Cf1VrUNv.cjs +0 -20
- package/components/area-chart-options.config-DdYBA1_Q.js +0 -146
- package/components/area-chart-positioning.config-CZgo9lkr.cjs +0 -20
- package/components/area-chart-positioning.config-DAEbeAVX.js +0 -55
- package/components/area-chart-slots.config-BOhwdLnr.cjs +0 -20
- package/components/area-chart-slots.config-Cmdkui4v.js +0 -55
- package/components/bar-chart-options.config-BF7Q15FL.cjs +0 -20
- package/components/bar-chart-options.config-Cx3n0tCr.js +0 -220
- package/components/bar-chart-positioning.config-71sM-GEA.js +0 -59
- package/components/bar-chart-positioning.config-9_GWwUur.cjs +0 -20
- package/components/bar-chart-slots.config-BWvrLYv5.js +0 -50
- package/components/bar-chart-slots.config-DMWjAd5a.cjs +0 -20
- package/components/base-DbEAseAh.cjs +0 -20
- package/components/base-store-DHC2m2Os.cjs +0 -20
- package/components/base-store-DmDe0dTU.js +0 -160
- package/components/base-vk9LuivN.js +0 -249
- package/components/box-plot-options.config-BkD5CYGz.cjs +0 -20
- package/components/box-plot-options.config-DB9iCCZg.js +0 -296
- package/components/box-plot-positioning.config-BxIFcn-c.cjs +0 -20
- package/components/box-plot-positioning.config-DIck_I13.js +0 -48
- package/components/box-plot-slots.config-5B_pTjPJ.cjs +0 -20
- package/components/box-plot-slots.config-BknEys-m.js +0 -40
- package/components/bubble-chart-options.config-4f9FUNhc.cjs +0 -20
- package/components/bubble-chart-options.config-D8o_9z0b.js +0 -115
- package/components/bubble-chart-positioning.config-BJi-Te33.js +0 -55
- package/components/bubble-chart-positioning.config-Cf7K70G6.cjs +0 -20
- package/components/bubble-chart-slots.config-Djb-py0h.js +0 -47
- package/components/bubble-chart-slots.config-VHKuntJk.cjs +0 -20
- package/components/bullet-chart-options.config-CmC75LQ8.js +0 -75
- package/components/bullet-chart-options.config-DDygYBiy.cjs +0 -20
- package/components/bullet-chart-positioning.config-3yE6MOJU.cjs +0 -20
- package/components/bullet-chart-positioning.config-ByVG8aFe.js +0 -56
- package/components/bullet-chart-slots.config-BECcf-yZ.js +0 -46
- package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +0 -20
- package/components/choropleth-map-options.config-5W6nNlL7.cjs +0 -20
- package/components/choropleth-map-options.config-Bt-vXkKW.js +0 -348
- package/components/choropleth-map-positioning.config-BmUOKuYh.js +0 -55
- package/components/choropleth-map-positioning.config-QpuHLCDR.cjs +0 -20
- package/components/choropleth-map-slots.config-CZKWF1qV.cjs +0 -20
- package/components/choropleth-map-slots.config-DVrgJYSA.js +0 -53
- package/components/circle-pack-chart-options.config-CD8MWMTw.cjs +0 -20
- package/components/circle-pack-chart-options.config-CLA-ur8J.js +0 -54
- package/components/circle-pack-chart-positioning.config-EN3LKHeo.cjs +0 -20
- package/components/circle-pack-chart-positioning.config-K_yHBCSG.js +0 -48
- package/components/circle-pack-chart-slots.config-BG6Gh03S.js +0 -38
- package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +0 -20
- package/components/circular-gauge-options.config-BFBmfsPn.js +0 -188
- package/components/circular-gauge-options.config-D9gcbX57.cjs +0 -20
- package/components/circular-gauge-positioning.config-AH32vSIN.js +0 -48
- package/components/circular-gauge-positioning.config-CurZIsZj.cjs +0 -20
- package/components/circular-gauge-slots.config-BSzOAb8B.js +0 -39
- package/components/circular-gauge-slots.config-DUHabt3G.cjs +0 -20
- package/components/color-BWnYpOu7.js +0 -3812
- package/components/color-range-utils-CwwtLDX_.js +0 -63
- package/components/column-chart-options.config-CiIw23Yo.cjs +0 -20
- package/components/column-chart-options.config-V7v9PtQA.js +0 -219
- package/components/column-chart-positioning.config-DS8sLc1p.js +0 -55
- package/components/column-chart-positioning.config-Dn7Ri3op.cjs +0 -20
- package/components/column-chart-slots.config-5BjkTrbt.js +0 -50
- package/components/column-chart-slots.config-CM5aytbj.cjs +0 -20
- package/components/combination-chart-options.config-CgSqqLLE.js +0 -87
- package/components/combination-chart-options.config-DaTYSfnr.cjs +0 -20
- package/components/combination-chart-positioning.config-RNhQd78t.cjs +0 -20
- package/components/combination-chart-positioning.config-u9poMkSd.js +0 -48
- package/components/combination-chart-slots.config-BwUOXFCR.cjs +0 -20
- package/components/combination-chart-slots.config-DgM_T-9r.js +0 -43
- package/components/conditional-number-options.config-3_vXSC0j.js +0 -205
- package/components/conditional-number-options.config-BPzCxo2q.cjs +0 -20
- package/components/conditional-number-positioning.config-Cq4uJ35g.cjs +0 -20
- package/components/conditional-number-positioning.config-Dnq3OP76.js +0 -48
- package/components/conditional-number-slots.config-B7maHIaG.cjs +0 -20
- package/components/conditional-number-slots.config-CzVPP4me.js +0 -39
- package/components/convert-data-field-to-slot-content-DLzkk6dT.cjs +0 -20
- package/components/data-broker-Bdv5V8Yp.js +0 -1680
- package/components/data-broker-DWEXs6-2.cjs +0 -20
- package/components/data-field-CGY-TeOZ.js +0 -121
- package/components/data-field-CXK_vezu.cjs +0 -54
- package/components/data-field-level-BsJ3eRQt.js +0 -247
- package/components/data-field-level-CxF3DZmD.cjs +0 -55
- package/components/data-field-panel-Brzkhc5r.cjs +0 -87
- package/components/data-field-panel-CNiGw9_F.js +0 -385
- package/components/data-fields-select-BcMFFFJV.js +0 -262
- package/components/data-fields-select-D-nSjOep.cjs +0 -41
- package/components/dataset-icon-CWT5Ju8w.js +0 -125
- package/components/dataset-selector-list-2Kz1oNFa.cjs +0 -75
- package/components/dataset-selector-list-CvjSPfPj.js +0 -313
- package/components/dataset-selector-row-Beo9owAy.js +0 -273
- package/components/dataset-selector-row-DOhPbfDh.cjs +0 -79
- package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +0 -20
- package/components/date-comparison-filter-options.config-CsDlmT6L.js +0 -126
- package/components/date-comparison-filter-slots.config-EEgNP09x.js +0 -33
- package/components/date-comparison-filter-slots.config-oABOLs3D.cjs +0 -20
- package/components/date-filter-options.config-AFAngO_i.cjs +0 -20
- package/components/date-filter-options.config-b8EHOjR1.js +0 -118
- package/components/date-filter-slots.config-Cuzz0RjE.cjs +0 -20
- package/components/date-filter-slots.config-PJ_h3Aj7.js +0 -37
- package/components/de-BY1wWZE8.cjs +0 -20
- package/components/de-D-xQoqdB.js +0 -473
- package/components/decorate-DyMgX_Uh.js +0 -28
- package/components/display-settings-BNoRfE1e.js +0 -272
- package/components/display-settings-JuegpHpn.cjs +0 -120
- package/components/display-settings-binning-D4fXWXY_.js +0 -110
- package/components/display-settings-binning-DFA-s8JY.cjs +0 -56
- package/components/display-settings-datetime-CcZ-aQjs.js +0 -413
- package/components/display-settings-datetime-DjfBfyzM.cjs +0 -217
- package/components/display-settings-grand-totals-CUlIPreM.js +0 -89
- package/components/display-settings-grand-totals-lf_RFqaR.cjs +0 -44
- package/components/display-settings-numeric-C707pX1_.cjs +0 -190
- package/components/display-settings-numeric-VVEUpoAy.js +0 -479
- package/components/display-settings-period-over-period-02Elu2Rn.js +0 -433
- package/components/display-settings-period-over-period-Be_A5whA.cjs +0 -229
- package/components/donut-chart-options.config-D8Bvo6Cc.cjs +0 -20
- package/components/donut-chart-options.config-N0MWtn-o.js +0 -207
- package/components/donut-chart-positioning.config-ByXtDyY9.cjs +0 -20
- package/components/donut-chart-positioning.config-CH5pTYpi.js +0 -48
- package/components/donut-chart-slots.config-Bi08z-XB.cjs +0 -20
- package/components/donut-chart-slots.config-dQrT0g_x.js +0 -39
- package/components/dropdown-filter-options.config-BRzYD0KE.cjs +0 -20
- package/components/dropdown-filter-options.config-CziqJFPz.js +0 -153
- package/components/dropdown-filter-slots.config-CQo3-kIo.js +0 -38
- package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +0 -20
- package/components/en-GB-uxY5qmIM.cjs +0 -20
- package/components/en-US-q_Ruzags.cjs +0 -20
- package/components/en-q_Ruzags.cjs +0 -20
- package/components/es-BIaD4kOL.cjs +0 -20
- package/components/es-CLnBAiLu.js +0 -473
- package/components/evolution-number-options.config-BfYN1Qgk.js +0 -228
- package/components/evolution-number-options.config-CkqNYgWn.cjs +0 -20
- package/components/evolution-number-positioning.config-B2_CNZP0.js +0 -48
- package/components/evolution-number-positioning.config-IFgvO_iZ.cjs +0 -20
- package/components/evolution-number-slots.config-CBS0b0Yk.js +0 -37
- package/components/evolution-number-slots.config-CikuQYgm.cjs +0 -20
- package/components/filter-expression-picker-0eNf_L9I.cjs +0 -38
- package/components/filter-expression-picker-C0FJhbHk.js +0 -425
- package/components/filter-item-C0AXDA_F.js +0 -242
- package/components/filter-item-C5O2G3Um.cjs +0 -58
- package/components/filter-value-picker-BOL1zvCR.cjs +0 -60
- package/components/filter-value-picker-DZORmKwM.js +0 -151
- package/components/filter-value-picker-datetime-0gRfWBzr.js +0 -139
- package/components/filter-value-picker-datetime-dCo1_pma.cjs +0 -42
- package/components/filter-value-picker-hierarchy-D8n6gV78.cjs +0 -47
- package/components/filter-value-picker-hierarchy-Dt7VNcSd.js +0 -232
- package/components/filter-value-picker-numeric-Cr7ll53O.js +0 -219
- package/components/filter-value-picker-numeric-DBw1TZtm.cjs +0 -48
- package/components/filters-B3zHSR73.js +0 -400
- package/components/filters-DIDatBfn.cjs +0 -150
- package/components/formatter-BeXmurVe.cjs +0 -20
- package/components/formula-CPrZC9BC.cjs +0 -45
- package/components/formula-codemirror-DycN-ivp.js +0 -12018
- package/components/formula-codemirror-uXTVVacE.cjs +0 -215
- package/components/formula-display-store-B6dtlBPk.js +0 -1086
- package/components/formula-display-store-CCxSWPEB.cjs +0 -20
- package/components/formula-editor-BPMeTS5F.cjs +0 -218
- package/components/formula-editor-BqHWUVdh.js +0 -666
- package/components/formula-field-Bfy1qysp.js +0 -40
- package/components/formula-field-CAtaDtSP.cjs +0 -20
- package/components/formula-ibsKYWEh.js +0 -138
- package/components/formula-input-base-Cs71sKh1.js +0 -236
- package/components/formula-input-base-_-8MncrA.cjs +0 -49
- package/components/fr-CHG2Tcby.cjs +0 -20
- package/components/fr-DIwbOnwC.js +0 -473
- package/components/funnel-chart-options.config-BVmrhzna.cjs +0 -20
- package/components/funnel-chart-options.config-D8fqrJvi.js +0 -187
- package/components/funnel-chart-positioning.config-BUMX4e-7.js +0 -48
- package/components/funnel-chart-positioning.config-CY042Tro.cjs +0 -20
- package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +0 -20
- package/components/funnel-chart-slots.config-CeGu8stc.js +0 -43
- package/components/get-css-variable-B8sJUuig.cjs +0 -20
- package/components/get-css-variable-r1spgqX0.js +0 -63
- package/components/get-dataset-name-Dwuh7DWE.cjs +0 -20
- package/components/get-dataset-name-SfDNjsuR.js +0 -27
- package/components/groupings-DuX9SnZa.cjs +0 -20
- package/components/groupings-OLk5e7JO.js +0 -52
- package/components/heat-map-options.config-5zjlVaa0.js +0 -224
- package/components/heat-map-options.config-xPdOcXDk.cjs +0 -20
- package/components/heat-map-positioning.config-C7W5YbvL.js +0 -48
- package/components/heat-map-positioning.config-CjaNs9QU.cjs +0 -20
- package/components/heat-map-slots.config-DBkkcvMN.js +0 -37
- package/components/heat-map-slots.config-Wp_oS8JQ.cjs +0 -20
- package/components/heat-table-options.config-Blcs4JjF.js +0 -372
- package/components/heat-table-options.config-DPbTFoRn.cjs +0 -20
- package/components/heat-table-positioning.config-B2ko43lN.cjs +0 -20
- package/components/heat-table-positioning.config-C6d8wmTk.js +0 -55
- package/components/heat-table-slots.config-BN7rtHZG.cjs +0 -20
- package/components/heat-table-slots.config-CJOXI-Sf.js +0 -49
- package/components/hexbin-map-options.config-CSFSqpMU.cjs +0 -20
- package/components/hexbin-map-options.config-D5o0k890.js +0 -276
- package/components/hexbin-map-positioning.config-B9Af5odq.js +0 -48
- package/components/hexbin-map-positioning.config-CaP2fsiE.cjs +0 -20
- package/components/hexbin-map-slots.config-CpJIfl6o.js +0 -37
- package/components/hexbin-map-slots.config-mx5zUTrA.cjs +0 -20
- package/components/image-options.config-C46UQpMq.js +0 -153
- package/components/image-options.config-DZ5q1D63.cjs +0 -20
- package/components/image-slots.config-DjaT4mUk.js +0 -24
- package/components/image-slots.config-ODQBVz5H.cjs +0 -20
- package/components/interactive-viz-item-CKRpHIwI.js +0 -693
- package/components/interactive-viz-item-D8btvzeg.cjs +0 -247
- package/components/item-grid-BEwohat_.js +0 -4559
- package/components/item-grid-CtW-2roU.cjs +0 -113
- package/components/item-option-CSc3jmeo.js +0 -919
- package/components/item-option-DkqkbwtF.cjs +0 -252
- package/components/item-option-action-button-group-BoZWUGPs.cjs +0 -53
- package/components/item-option-action-button-group-D_K-T_wB.js +0 -118
- package/components/item-option-base-Do3zK0fN.js +0 -123
- package/components/item-option-base-yH3-Snf-.cjs +0 -56
- package/components/item-option-color-palette-picker-B9Umcsw_.cjs +0 -40
- package/components/item-option-color-palette-picker-CTvaiVJ1.js +0 -2041
- package/components/item-option-color-picker-BLF9-2WR.js +0 -87
- package/components/item-option-color-picker-FIPCBMIC.cjs +0 -34
- package/components/item-option-color-range-BznRsx45.cjs +0 -98
- package/components/item-option-color-range-mvlBVdZK.js +0 -220
- package/components/item-option-multi-language-field-BMJdbHOd.js +0 -82
- package/components/item-option-multi-language-field-Rypasjvk.cjs +0 -33
- package/components/item-option-number-field-Bu4IYyNe.js +0 -102
- package/components/item-option-number-field-sNlrQ5mG.cjs +0 -38
- package/components/item-option-panel-Bmm9IeZR.js +0 -183
- package/components/item-option-panel-DEPAMt-A.cjs +0 -67
- package/components/item-option-picker-6-VRIzb5.js +0 -77
- package/components/item-option-picker-DXZce4bl.cjs +0 -37
- package/components/item-option-position-picker-DBy46OLT.js +0 -117
- package/components/item-option-position-picker-DW12bwRL.cjs +0 -32
- package/components/item-option-positions-number-field-BFW0c-PE.js +0 -164
- package/components/item-option-positions-number-field-HofP9ee6.cjs +0 -49
- package/components/item-option-radio-button-group-BN_a7dSl.cjs +0 -37
- package/components/item-option-radio-button-group-CpdXh9GA.js +0 -74
- package/components/item-option-slider-B-CM9FzR.cjs +0 -33
- package/components/item-option-slider-CRjRQP3Z.js +0 -81
- package/components/item-option-switch-CY6zMkI-.cjs +0 -30
- package/components/item-option-switch-Q-IaH1Xr.js +0 -69
- package/components/item-option-text-field-BzHaYPud.js +0 -80
- package/components/item-option-text-field-C2_1-zLs.cjs +0 -33
- package/components/item-slot-drop-CNX2TBXB.js +0 -324
- package/components/item-slot-drop-CR-dvLaD.cjs +0 -91
- package/components/item-slot-drop-panel-BaJoR9Zc.js +0 -355
- package/components/item-slot-drop-panel-DTvbJtNW.cjs +0 -57
- package/components/item-slot-picker-CnKeeXp5.cjs +0 -158
- package/components/item-slot-picker-panel-BMapBAxj.js +0 -448
- package/components/item-slot-picker-panel-Dw682RiT.cjs +0 -81
- package/components/item-slot-picker-tHRu_jaI.js +0 -474
- package/components/line-chart-options.config-BkK829A2.cjs +0 -20
- package/components/line-chart-options.config-KFAaQqB_.js +0 -168
- package/components/line-chart-positioning.config-Bwe9-1yw.js +0 -55
- package/components/line-chart-positioning.config-CfVRqaxT.cjs +0 -20
- package/components/line-chart-slots.config-D0jaC82U.js +0 -55
- package/components/line-chart-slots.config-vv66fcoE.cjs +0 -20
- package/components/load-data-fields-for-datasets-BNnr8x3m.js +0 -42
- package/components/load-data-fields-for-datasets-CW4Voiex.cjs +0 -20
- package/components/localized-mixin-BvQbkZEL.js +0 -45
- package/components/localized-mixin-DrK3QZNa.cjs +0 -20
- package/components/marker-map-options.config-BfPFVxpD.cjs +0 -20
- package/components/marker-map-options.config-D0RmFKKM.js +0 -117
- package/components/marker-map-positioning.config-DLXbw6Yd.cjs +0 -20
- package/components/marker-map-positioning.config-DLehY4Lv.js +0 -48
- package/components/marker-map-slots.config-DigZk7lN.cjs +0 -20
- package/components/marker-map-slots.config-DsMklO0v.js +0 -37
- package/components/nl-C_g1Le3t.js +0 -473
- package/components/nl-PxN5EqzT.cjs +0 -20
- package/components/ohlc-chart-options.config-BBdUKmJ9.js +0 -65
- package/components/ohlc-chart-options.config-BsBVP-Io.cjs +0 -20
- package/components/ohlc-chart-positioning.config-BGU-mDPW.cjs +0 -20
- package/components/ohlc-chart-positioning.config-Cz3zieDp.js +0 -78
- package/components/ohlc-chart-slots.config-BiQn5Kdg.js +0 -68
- package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +0 -20
- package/components/parallel-coordinates-plot-options.config--6iJkURT.cjs +0 -20
- package/components/parallel-coordinates-plot-options.config-KJrOL0Sr.js +0 -42
- package/components/parallel-coordinates-plot-positioning.config-CXIMbncP.cjs +0 -20
- package/components/parallel-coordinates-plot-positioning.config-Cc8k6gqG.js +0 -48
- package/components/parallel-coordinates-plot-slots.config-B7QY714-.js +0 -46
- package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +0 -20
- package/components/pivot-table-options.config-CKGnnXa_.cjs +0 -20
- package/components/pivot-table-options.config-DEmZ_EQi.js +0 -245
- package/components/pivot-table-positioning.config-BBd6xf8q.cjs +0 -20
- package/components/pivot-table-positioning.config-BK7wgw1A.js +0 -55
- package/components/pivot-table-slots.config-DpDaXLdw.js +0 -55
- package/components/pivot-table-slots.config-KlYXL90k.cjs +0 -20
- package/components/pragmatic-element-adapter-C_7HSvGV.js +0 -1252
- package/components/pragmatic-element-adapter-DPWYJiW9.cjs +0 -24
- package/components/pyramid-chart-options.config-8QtjhcJC.cjs +0 -20
- package/components/pyramid-chart-options.config-DiD3QFps.js +0 -240
- package/components/pyramid-chart-positioning.config-C7STytAm.cjs +0 -20
- package/components/pyramid-chart-positioning.config-CGjiKyPG.js +0 -55
- package/components/pyramid-chart-slots.config-BrKgartT.js +0 -50
- package/components/pyramid-chart-slots.config-CreUpxI2.cjs +0 -20
- package/components/radar-chart-options.config-COBM2L3R.js +0 -130
- package/components/radar-chart-options.config-DvW36_zk.cjs +0 -20
- package/components/radar-chart-positioning.config-6xWEPHjC.js +0 -55
- package/components/radar-chart-positioning.config-p0s42Zyt.cjs +0 -20
- package/components/radar-chart-slots.config-B3oIp-8w.cjs +0 -20
- package/components/radar-chart-slots.config-SivEBhuj.js +0 -53
- package/components/regular-table-options.config-B0WNqEjR.cjs +0 -20
- package/components/regular-table-options.config-B0zRcsWM.js +0 -148
- package/components/regular-table-slots.config-M2axBXl4.js +0 -35
- package/components/regular-table-slots.config-UwzWj6gg.cjs +0 -20
- package/components/route-map-options.config-CYNKz_Xm.cjs +0 -20
- package/components/route-map-options.config-CrMrDQ_l.js +0 -326
- package/components/route-map-positioning.config-B2qAh6WW.js +0 -66
- package/components/route-map-positioning.config-C8KmQ33c.cjs +0 -20
- package/components/route-map-slots.config-COCoP99E.js +0 -59
- package/components/route-map-slots.config-DfYT65BF.cjs +0 -20
- package/components/sankey-diagram-options.config-BYLiy1UX.js +0 -126
- package/components/sankey-diagram-options.config-D49IZ1y3.cjs +0 -20
- package/components/sankey-diagram-positioning.config-CBLQktr4.js +0 -66
- package/components/sankey-diagram-positioning.config-DAF803wR.cjs +0 -20
- package/components/sankey-diagram-slots.config-C-sqtrS-.js +0 -61
- package/components/sankey-diagram-slots.config-D-_u4w36.cjs +0 -20
- package/components/scatter-plot-options.config-BETVLevv.cjs +0 -20
- package/components/scatter-plot-options.config-BpUYcLt-.js +0 -302
- package/components/scatter-plot-positioning.config-0hj66nn4.cjs +0 -20
- package/components/scatter-plot-positioning.config-Be9hQ727.js +0 -77
- package/components/scatter-plot-slots.config-CrG6wQtV.cjs +0 -20
- package/components/scatter-plot-slots.config-Dg78lS25.js +0 -74
- package/components/search-filter-options.config-B-dGVPhS.cjs +0 -20
- package/components/search-filter-options.config-lGQ-biU5.js +0 -103
- package/components/search-filter-slots.config-BhDSDpNd.js +0 -39
- package/components/search-filter-slots.config-DP06ulJA.cjs +0 -20
- package/components/set-locale-DB1FMgtK.js +0 -43
- package/components/set-locale-DKCZkJVL.cjs +0 -20
- package/components/slicer-filter-options.config-7OXpRWtw.cjs +0 -20
- package/components/slicer-filter-options.config-B6rxZYcl.js +0 -226
- package/components/slicer-filter-positioning.config-BQoRGx8R.js +0 -48
- package/components/slicer-filter-positioning.config-CvcZ3qkf.cjs +0 -20
- package/components/slicer-filter-slots.config-CHKpdJvF.cjs +0 -20
- package/components/slicer-filter-slots.config-XtuZoiId.js +0 -44
- package/components/slider-filter-options.config-C7-5aoaC.js +0 -72
- package/components/slider-filter-options.config-CRdbX1IJ.cjs +0 -20
- package/components/slider-filter-slots.config-9R298H0t.cjs +0 -20
- package/components/slider-filter-slots.config-BYkIGVvh.js +0 -43
- package/components/slot-menu-CkiIhk9e.cjs +0 -64
- package/components/slot-menu-DZPe7qUA.js +0 -404
- package/components/slot-menu-list-BRsAe3-b.js +0 -326
- package/components/slot-menu-list-CCrkNqq8.cjs +0 -38
- package/components/slots-config-DMC15sjT.js +0 -77
- package/components/slots-config-DVH0lz6t.cjs +0 -20
- package/components/speedometer-chart-options.config-Bd3-G7S7.js +0 -246
- package/components/speedometer-chart-options.config-BsIu28S3.cjs +0 -20
- package/components/speedometer-chart-positioning.config-CAsBGyZ7.cjs +0 -20
- package/components/speedometer-chart-positioning.config-CsgmgREh.js +0 -48
- package/components/speedometer-chart-slots.config-CkeiXSCy.js +0 -39
- package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +0 -20
- package/components/spike-map-options.config-B_2BXI_9.js +0 -413
- package/components/spike-map-options.config-aaiZyME6.cjs +0 -20
- package/components/spike-map-positioning.config-BS8MuRkQ.js +0 -55
- package/components/spike-map-positioning.config-D4isshlL.cjs +0 -20
- package/components/spike-map-slots.config-C44Vxsit.js +0 -47
- package/components/spike-map-slots.config-cKfaD6dQ.cjs +0 -20
- package/components/strip-plot-options.config-By62J2Jj.js +0 -53
- package/components/strip-plot-options.config-TB3rkoj2.cjs +0 -20
- package/components/strip-plot-positioning.config-CufC8vJi.js +0 -48
- package/components/strip-plot-positioning.config-NpwP9QGU.cjs +0 -20
- package/components/strip-plot-slots.config-DNYlrK_c.cjs +0 -20
- package/components/strip-plot-slots.config-xsNFXerT.js +0 -38
- package/components/sunburst-chart-options.config-Ckk_kY_s.cjs +0 -20
- package/components/sunburst-chart-options.config-DwQwkQxR.js +0 -160
- package/components/sunburst-chart-positioning.config-C5UCbZWE.cjs +0 -20
- package/components/sunburst-chart-positioning.config-D60TNhUU.js +0 -48
- package/components/sunburst-chart-slots.config-D6Z2_Kh_.js +0 -38
- package/components/sunburst-chart-slots.config-DkUUt5RF.cjs +0 -20
- package/components/symbol-map-options.config-56eoWz4w.cjs +0 -20
- package/components/symbol-map-options.config-uXEbOHWD.js +0 -157
- package/components/symbol-map-positioning.config-D1esOfIw.js +0 -55
- package/components/symbol-map-positioning.config-D__gPAF-.cjs +0 -20
- package/components/symbol-map-slots.config-CHTIkMw4.js +0 -53
- package/components/symbol-map-slots.config-DwNf547A.cjs +0 -20
- package/components/text-options.config-B5y7YAqT.js +0 -67
- package/components/text-options.config-BwBCG2yo.cjs +0 -20
- package/components/text-slots.config-CPghLc8b.cjs +0 -20
- package/components/text-slots.config-sFoowMc6.js +0 -24
- package/components/treemap-chart-options.config-BouAbrk0.js +0 -184
- package/components/treemap-chart-options.config-r6biULUj.cjs +0 -20
- package/components/treemap-chart-positioning.config-BZ1yMqy5.cjs +0 -20
- package/components/treemap-chart-positioning.config-DEnYiZKj.js +0 -55
- package/components/treemap-chart-slots.config-BjHBRWDJ.js +0 -47
- package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +0 -20
- package/components/utils-Bn8v7iuu.cjs +0 -20
- package/components/utils-CIxpLDLh.js +0 -352
- package/components/v4-DIjJgmR0.js +0 -49
- package/components/venn-diagram-options.config-BZWBYEhB.js +0 -24
- package/components/venn-diagram-options.config-BamlR1qo.cjs +0 -20
- package/components/venn-diagram-positioning.config-DMceiBb8.js +0 -55
- package/components/venn-diagram-positioning.config-DUvGRRSh.cjs +0 -20
- package/components/venn-diagram-slots.config-CM0HPIPD.js +0 -47
- package/components/venn-diagram-slots.config-DYTmU8v2.cjs +0 -20
- package/components/video-options.config-BhBpkaLJ.cjs +0 -20
- package/components/video-options.config-DWuy1OHa.js +0 -127
- package/components/video-slots.config-B_aDlTp6.js +0 -24
- package/components/video-slots.config-DMut7o7r.cjs +0 -20
- package/components/viz-item-menu-BisYrhhJ.js +0 -170
- package/components/viz-item-menu-DEpm1w7U.cjs +0 -55
- package/components/wordcloud-chart-options.config-D041tFDG.js +0 -90
- package/components/wordcloud-chart-options.config-DgH4JgN2.cjs +0 -20
- package/components/wordcloud-chart-positioning.config-CeP0_j_m.cjs +0 -20
- package/components/wordcloud-chart-positioning.config-tVRXTpdQ.js +0 -55
- package/components/wordcloud-chart-slots.config-Cy-Jgcaq.js +0 -45
- package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +0 -20
- /package/components/{rolldown-runtime-mLOUI7ql.cjs → chunk-mLOUI7ql.cjs} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
var e=require("./chunk-mLOUI7ql.cjs").n({combinationChartSlotsConfig:()=>t}),t=[{name:`measure`,rotate:!1,label:`Measures`,type:`numeric`,options:{isCumulativeSumEnabled:!0},canAcceptMultipleDataFields:!0,canAcceptFormula:!0},{name:`x-axis`,rotate:!1,label:`X-Axis`,type:`mixed`,options:{isAggregationDisabled:!0,isBinningDisabled:!0,areDatetimeOptionsEnabled:!0},isRequired:!0}];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
import { s as e } from "./pragmatic-element-adapter-e5LbH_lv.js";
|
|
21
|
+
import { a as t, d as n, o as r, t as i } from "./helpers-d8Tb1scY.js";
|
|
22
|
+
//#region node_modules/@luzmo/dashboard-contents-types/src/lib/conditional-number/conditional-number-options.config.js
|
|
23
|
+
var a = /* @__PURE__ */ e({ default: () => s }), o = () => [
|
|
24
|
+
{
|
|
25
|
+
color: "#b30000",
|
|
26
|
+
value: -Infinity,
|
|
27
|
+
isNegativeInfinityRange: !0
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
color: "#ff0000",
|
|
31
|
+
value: 0
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
color: "#ffa500",
|
|
35
|
+
value: 33.34
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
color: "#ffff00",
|
|
39
|
+
value: 66.67
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
color: "#008000",
|
|
43
|
+
value: 100
|
|
44
|
+
}
|
|
45
|
+
], s = [{
|
|
46
|
+
key: "general",
|
|
47
|
+
type: "group",
|
|
48
|
+
open: !0,
|
|
49
|
+
children: [
|
|
50
|
+
{
|
|
51
|
+
key: "display.label",
|
|
52
|
+
control: {
|
|
53
|
+
type: "switch",
|
|
54
|
+
label: "Label",
|
|
55
|
+
default: !0
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
key: "mode",
|
|
60
|
+
control: {
|
|
61
|
+
type: "picker",
|
|
62
|
+
label: "Display",
|
|
63
|
+
default: "normal",
|
|
64
|
+
enum: [
|
|
65
|
+
"normal",
|
|
66
|
+
"percentage",
|
|
67
|
+
"difference"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
key: "manualValues.target",
|
|
73
|
+
control: {
|
|
74
|
+
type: "number-field",
|
|
75
|
+
label: "Manual target",
|
|
76
|
+
default: 100,
|
|
77
|
+
min: 0,
|
|
78
|
+
step: 1
|
|
79
|
+
},
|
|
80
|
+
visibleIf: ({ slots: e }) => !Array.isArray(e) || !((e?.find((e) => e?.name === "target")?.content?.length ?? 0) > 0)
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
key: "manualValues.conditionalSwitch",
|
|
84
|
+
control: {
|
|
85
|
+
type: "switch",
|
|
86
|
+
label: "Conditional color",
|
|
87
|
+
default: !1,
|
|
88
|
+
negativeInfinityValue: !0,
|
|
89
|
+
calculateValue: ({ options: e }) => (e?.manualValues?.conditional?.length ?? 0) > 0,
|
|
90
|
+
toOptions: ({ options: e, value: t }) => {
|
|
91
|
+
if (!t) {
|
|
92
|
+
let t = { ...e };
|
|
93
|
+
return delete t?.manualValues?.conditional, t;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
...e,
|
|
97
|
+
manualValues: {
|
|
98
|
+
...e?.manualValues,
|
|
99
|
+
conditional: e?.manualValues?.conditional ?? o()
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
key: "manualValues.conditional",
|
|
107
|
+
control: {
|
|
108
|
+
type: "color-range",
|
|
109
|
+
editRangeSize: !0,
|
|
110
|
+
minimumRangeSize: 2,
|
|
111
|
+
percentage: !0,
|
|
112
|
+
negativeInfinityValue: !0,
|
|
113
|
+
noAlphaChannel: !0,
|
|
114
|
+
label: "Color ranges",
|
|
115
|
+
hideLabel: !0,
|
|
116
|
+
default: () => o(),
|
|
117
|
+
parseValue: (e) => e?.map((e) => ({
|
|
118
|
+
color: e?.color,
|
|
119
|
+
value: e?.value ?? e?.val
|
|
120
|
+
})),
|
|
121
|
+
toValue: (e) => {
|
|
122
|
+
let t = e?.map((e) => ({
|
|
123
|
+
color: e?.color,
|
|
124
|
+
val: e?.value ?? e?.val,
|
|
125
|
+
isNegativeInfinityRange: e?.isNegativeInfinityRange
|
|
126
|
+
}));
|
|
127
|
+
return t?.[0] && (t[0].isNegativeInfinityRange = !0), t;
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
visibleIf: ({ options: e }) => (e?.manualValues?.conditional?.length ?? 0) > 0
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
key: "manualValues.asBackgroundColor",
|
|
134
|
+
control: {
|
|
135
|
+
type: "switch",
|
|
136
|
+
label: "Use as background color",
|
|
137
|
+
default: !0
|
|
138
|
+
},
|
|
139
|
+
visibleIf: ({ options: e }) => (e?.manualValues?.conditional?.length ?? 0) > 0
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
key: "color",
|
|
143
|
+
control: {
|
|
144
|
+
type: "color-picker",
|
|
145
|
+
label: "Text color",
|
|
146
|
+
default: ({ theme: e }) => n(e),
|
|
147
|
+
extraLabel: ({ options: e, theme: t }) => r(e, t, "color"),
|
|
148
|
+
extraLabelHasClickAction: ({ options: e, theme: n }) => t(e, n, "color"),
|
|
149
|
+
extraLabelClickAction: ({ options: e, theme: t }) => i(e, t, "color")
|
|
150
|
+
},
|
|
151
|
+
visibleIf: ({ options: e }) => !((e?.manualValues?.conditional?.length ?? 0) > 0)
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}, {
|
|
155
|
+
key: "alignment",
|
|
156
|
+
type: "group",
|
|
157
|
+
open: !0,
|
|
158
|
+
children: [{
|
|
159
|
+
key: "alignment.vertical",
|
|
160
|
+
control: {
|
|
161
|
+
type: "action-button-group",
|
|
162
|
+
label: "Vertical",
|
|
163
|
+
default: ["middle"],
|
|
164
|
+
values: {
|
|
165
|
+
top: {
|
|
166
|
+
iconName: "alignTop",
|
|
167
|
+
label: "align top"
|
|
168
|
+
},
|
|
169
|
+
middle: {
|
|
170
|
+
iconName: "alignMiddle",
|
|
171
|
+
label: "align middle"
|
|
172
|
+
},
|
|
173
|
+
bottom: {
|
|
174
|
+
iconName: "alignBottom",
|
|
175
|
+
label: "align bottom"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
selects: "single"
|
|
179
|
+
}
|
|
180
|
+
}, {
|
|
181
|
+
key: "alignment.horizontal",
|
|
182
|
+
control: {
|
|
183
|
+
type: "action-button-group",
|
|
184
|
+
label: "Horizontal",
|
|
185
|
+
default: ["center"],
|
|
186
|
+
values: {
|
|
187
|
+
left: {
|
|
188
|
+
iconName: "alignLeft",
|
|
189
|
+
label: "align left"
|
|
190
|
+
},
|
|
191
|
+
center: {
|
|
192
|
+
iconName: "alignCenter",
|
|
193
|
+
label: "align center"
|
|
194
|
+
},
|
|
195
|
+
right: {
|
|
196
|
+
iconName: "alignRight",
|
|
197
|
+
label: "align right"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
selects: "single"
|
|
201
|
+
}
|
|
202
|
+
}]
|
|
203
|
+
}];
|
|
204
|
+
//#endregion
|
|
205
|
+
export { s as n, a as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
const e=require("./chunk-mLOUI7ql.cjs"),t=require("./helpers-ByM0mGw3.cjs");var n=e.n({default:()=>i}),r=()=>[{color:`#b30000`,value:-1/0,isNegativeInfinityRange:!0},{color:`#ff0000`,value:0},{color:`#ffa500`,value:33.34},{color:`#ffff00`,value:66.67},{color:`#008000`,value:100}],i=[{key:`general`,type:`group`,open:!0,children:[{key:`display.label`,control:{type:`switch`,label:`Label`,default:!0}},{key:`mode`,control:{type:`picker`,label:`Display`,default:`normal`,enum:[`normal`,`percentage`,`difference`]}},{key:`manualValues.target`,control:{type:`number-field`,label:`Manual target`,default:100,min:0,step:1},visibleIf:({slots:e})=>!Array.isArray(e)||!((e?.find(e=>e?.name===`target`)?.content?.length??0)>0)},{key:`manualValues.conditionalSwitch`,control:{type:`switch`,label:`Conditional color`,default:!1,negativeInfinityValue:!0,calculateValue:({options:e})=>(e?.manualValues?.conditional?.length??0)>0,toOptions:({options:e,value:t})=>{if(!t){let t={...e};return delete t?.manualValues?.conditional,t}return{...e,manualValues:{...e?.manualValues,conditional:e?.manualValues?.conditional??r()}}}}},{key:`manualValues.conditional`,control:{type:`color-range`,editRangeSize:!0,minimumRangeSize:2,percentage:!0,negativeInfinityValue:!0,noAlphaChannel:!0,label:`Color ranges`,hideLabel:!0,default:()=>r(),parseValue:e=>e?.map(e=>({color:e?.color,value:e?.value??e?.val})),toValue:e=>{let t=e?.map(e=>({color:e?.color,val:e?.value??e?.val,isNegativeInfinityRange:e?.isNegativeInfinityRange}));return t?.[0]&&(t[0].isNegativeInfinityRange=!0),t}},visibleIf:({options:e})=>(e?.manualValues?.conditional?.length??0)>0},{key:`manualValues.asBackgroundColor`,control:{type:`switch`,label:`Use as background color`,default:!0},visibleIf:({options:e})=>(e?.manualValues?.conditional?.length??0)>0},{key:`color`,control:{type:`color-picker`,label:`Text color`,default:({theme:e})=>t.d(e),extraLabel:({options:e,theme:n})=>t.o(e,n,`color`),extraLabelHasClickAction:({options:e,theme:n})=>t.a(e,n,`color`),extraLabelClickAction:({options:e,theme:n})=>t.t(e,n,`color`)},visibleIf:({options:e})=>!((e?.manualValues?.conditional?.length??0)>0)}]},{key:`alignment`,type:`group`,open:!0,children:[{key:`alignment.vertical`,control:{type:`action-button-group`,label:`Vertical`,default:[`middle`],values:{top:{iconName:`alignTop`,label:`align top`},middle:{iconName:`alignMiddle`,label:`align middle`},bottom:{iconName:`alignBottom`,label:`align bottom`}},selects:`single`}},{key:`alignment.horizontal`,control:{type:`action-button-group`,label:`Horizontal`,default:[`center`],values:{left:{iconName:`alignLeft`,label:`align left`},center:{iconName:`alignCenter`,label:`align center`},right:{iconName:`alignRight`,label:`align right`}},selects:`single`}}]}];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
import { n as e } from "./item-slot-drop-panel-BevGCcMh.js";
|
|
21
|
+
//#region node_modules/@luzmo/dashboard-contents-types/src/lib/conditional-number/conditional-number-positioning.config.js
|
|
22
|
+
var t = {
|
|
23
|
+
grid: {
|
|
24
|
+
columns: 1,
|
|
25
|
+
rows: 2,
|
|
26
|
+
columnSizes: ["1fr"],
|
|
27
|
+
rowSizes: ["1fr", e],
|
|
28
|
+
gap: "0"
|
|
29
|
+
},
|
|
30
|
+
slots: {
|
|
31
|
+
measure: {
|
|
32
|
+
column: 1,
|
|
33
|
+
row: 1,
|
|
34
|
+
align: "center",
|
|
35
|
+
justify: "center",
|
|
36
|
+
rotate: !1
|
|
37
|
+
},
|
|
38
|
+
target: {
|
|
39
|
+
column: 1,
|
|
40
|
+
row: 2,
|
|
41
|
+
align: "center",
|
|
42
|
+
justify: "center",
|
|
43
|
+
rotate: !1
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
48
|
+
export { t as conditionalNumberPositioningConfig };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
var e={grid:{columns:1,rows:2,columnSizes:[`1fr`],rowSizes:[`1fr`,require("./item-slot-drop-panel-hs0gFwb-.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;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
var e=require("./chunk-mLOUI7ql.cjs").n({conditionalNumberSlotsConfig:()=>t}),t=[{name:`measure`,rotate:!1,label:`Measure`,type:`numeric`,isRequired:!0,canAcceptFormula:!0,canAcceptDataIndependentOf:[`target`]},{name:`target`,rotate:!1,label:`Target`,type:`numeric`,canAcceptFormula:!0,canAcceptDataIndependentOf:[`measure`]}];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
import { s as e } from "./pragmatic-element-adapter-e5LbH_lv.js";
|
|
21
|
+
//#region node_modules/@luzmo/dashboard-contents-types/src/lib/conditional-number/conditional-number-slots.config.js
|
|
22
|
+
var t = /* @__PURE__ */ e({ conditionalNumberSlotsConfig: () => n }), n = [{
|
|
23
|
+
name: "measure",
|
|
24
|
+
rotate: !1,
|
|
25
|
+
label: "Measure",
|
|
26
|
+
type: "numeric",
|
|
27
|
+
isRequired: !0,
|
|
28
|
+
canAcceptFormula: !0,
|
|
29
|
+
canAcceptDataIndependentOf: ["target"]
|
|
30
|
+
}, {
|
|
31
|
+
name: "target",
|
|
32
|
+
rotate: !1,
|
|
33
|
+
label: "Target",
|
|
34
|
+
type: "numeric",
|
|
35
|
+
canAcceptFormula: !0,
|
|
36
|
+
canAcceptDataIndependentOf: ["measure"]
|
|
37
|
+
}];
|
|
38
|
+
//#endregion
|
|
39
|
+
export { n, t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
const e=require("./type-check-BehV9ZL1.cjs"),t=require("./formatter-8m-wrIM-.cjs");var n=[`datetime`,`hierarchy`,`numeric`,`spatial`,`array[datetime]`,`array[numeric]`,`array[hierarchy]`,`array[spatial]`],r=(n,r)=>{let i={type:n.type,datasetId:n.datasetId,set:n.datasetId};`columnId`in n&&!e.n(n.columnId)&&n.columnId!==``?(i.columnId=n.columnId,i.column=n.columnId):`formulaId`in n&&!e.n(n.formulaId)&&n.formulaId!==``?(i.formulaId=n.formulaId,i.formula=n.formulaId):`formula`in n&&typeof n.formula==`string`&&n.formula!==``&&(i.formula=n.formula);let a=n.type===`datetime`||n.type===`array[datetime]`,o={...n.name??{en:`Untitled`}},s=n.level;if(a&&(s=s??n.lowestLevel??9,r)){let e=t.i.shortLevels?.filter(e=>e!==`All`)??[],n=e[Math.max(0,Math.min(e.length-1,(s??1)-1))];if(n){let e=`(${n})`,t=Object.keys(o);for(let n of t)o[n]=`${o[n]} ${e}`}}return i.label=o,e.n(n.subtype)||(i.subtype=n.subtype),`lowestLevel`in n&&!e.n(n.lowestLevel)&&(i.lowestLevel=n.lowestLevel),e.n(n.format)||(i.format=n.format),e.n(s)||(i.level=s),e.n(n.lowestLevel)||(i.lowestLevel=n.lowestLevel),n.type===`numeric`&&n.subtype===`currency`&&n.currency?.symbol&&(i.currency=n.currency.symbol),Array.isArray(n.duration_levels)&&n.duration_format&&(i.duration={levels:n.duration_levels,format:n.duration_format}),i};Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
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():!0}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)}},V=class extends B{#e;#t;#n;#r;#i;#a;#o;constructor(e){super(),this.#o=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=W(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=W(this.options);e.data!==void 0&&(this.setState(U(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#n.remove(this)}setData(e,t){let n=w(this.state.data,e,this.options);return this.#c({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#c({type:`setState`,state:e,setStateOptions:t})}cancel(e){let t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(s).catch(s):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}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`):!1}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.#i?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.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.#i&&(this.#o||this.#s()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#s(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#c({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#i?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.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.#o=!0,n.signal)})},i=()=>{let e=O(this.options,t),n=(()=>{let e={client:this.#r,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#o=!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.#r,state:this.state,fetchFn:i};return r(e),e})();this.options.behavior?.onFetch(a,this),this.#t=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#c({type:`fetch`,meta:a.fetchOptions?.meta}),this.#i=z({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof R&&e.revert&&this.setState({...this.#t,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#c({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#c({type:`pause`})},onContinue:()=>{this.#c({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#i.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#n.config.onSuccess?.(e,this),this.#n.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof R){if(e.silent)return this.#i.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#c({type:`error`,error:e}),this.#n.config.onError?.(e,this),this.#n.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#c(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,...H(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...U(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#t=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.#n.notify({query:this,type:`updated`,action:e})})}};function H(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:L(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function U(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function W(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`}}function G(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();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?E:T;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?q:K,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:K(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 K(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 q(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}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 V({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.behavior=G(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(s).catch(s)}ensureInfiniteQueryData(e){return e.behavior=G(e.pages),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}});
|