@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,139 @@
|
|
|
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 { t as e } from "./decorate-CaYbmmmm.js";
|
|
21
|
+
import { t } from "./localized-mixin-GXZQgVAD.js";
|
|
22
|
+
import { n } from "./periods.const-NCTkxnvG.js";
|
|
23
|
+
import { html as r, unsafeCSS as i } from "lit";
|
|
24
|
+
import { property as a } from "lit/decorators.js";
|
|
25
|
+
import { localized as o, msg as s } from "@lit/localize";
|
|
26
|
+
import "@luzmo/lucero/number-field";
|
|
27
|
+
import "@luzmo/lucero/picker";
|
|
28
|
+
import { ElementSizes as c, LuzmoElement as l, SizedMixin as u } from "@luzmo/lucero/utils";
|
|
29
|
+
import "@luzmo/lucero/text-field";
|
|
30
|
+
import "@luzmo/lucero/date-time-picker";
|
|
31
|
+
//#region src/components/filter-value-picker-datetime/filter-value-picker-datetime.module.scss?inline
|
|
32
|
+
var d = ":host{gap:var(--luzmo-filter-value-picker-datetime-gap,var(--filter-value-picker-datetime-gap));--filter-value-picker-datetime-gap:var(--luzmo-spacing-3);flex-direction:row;flex-shrink:1;min-width:0;display:flex}:host([size=s]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-2)}:host([size=m]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-3)}:host([size=l]){--filter-value-picker-datetime-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1))}:host([size=xl]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-4)}", f = class extends t(u(l, { validSizes: Object.values(c) })) {
|
|
33
|
+
constructor(...e) {
|
|
34
|
+
super(...e), this.contentLanguage = "en";
|
|
35
|
+
}
|
|
36
|
+
static get styles() {
|
|
37
|
+
return [i(d)];
|
|
38
|
+
}
|
|
39
|
+
willUpdate(e) {
|
|
40
|
+
super.willUpdate(e), e.get("filter") && ([
|
|
41
|
+
"last_now",
|
|
42
|
+
"last_available",
|
|
43
|
+
"next_now",
|
|
44
|
+
"more_than_ago",
|
|
45
|
+
"or_more_ago"
|
|
46
|
+
].includes(this.filter?.expression) ? this.filter.parameters[1] = {
|
|
47
|
+
quantity: this.filter?.parameters?.[1]?.quantity ?? 1,
|
|
48
|
+
unit: this.filter?.parameters?.[1]?.unit ?? 1
|
|
49
|
+
} : [
|
|
50
|
+
"last_completed",
|
|
51
|
+
"next_full",
|
|
52
|
+
"to_date"
|
|
53
|
+
].includes(this.filter?.expression) ? this.filter.parameters[1] = { unit: this.filter?.parameters?.[1]?.unit ?? 1 } : this.filter.parameters[1] = typeof this.filter.parameters[1] == "string" ? this.filter.parameters[1] : (/* @__PURE__ */ new Date()).toISOString());
|
|
54
|
+
}
|
|
55
|
+
_sendChangeEvent() {
|
|
56
|
+
this.filter.parameters = [{ ...this.filter?.parameters?.[0] }, this._value], this.dispatchEvent(new CustomEvent("luzmo-filter-value-changed", {
|
|
57
|
+
bubbles: !0,
|
|
58
|
+
composed: !0,
|
|
59
|
+
cancelable: !0,
|
|
60
|
+
detail: { value: this._value }
|
|
61
|
+
}));
|
|
62
|
+
}
|
|
63
|
+
setDate(e) {
|
|
64
|
+
this._value = e.detail.value, this._value !== this.filter?.parameters?.[1] && this._sendChangeEvent();
|
|
65
|
+
}
|
|
66
|
+
setUnit(e) {
|
|
67
|
+
let t = n.find((t) => t.key === e?.target?.value)?.level;
|
|
68
|
+
this.filter?.parameters?.[1]?.unit !== t && (this._value = {
|
|
69
|
+
unit: t ?? 1,
|
|
70
|
+
quantity: this.filter?.parameters?.[1]?.quantity ?? 1
|
|
71
|
+
}, this._sendChangeEvent());
|
|
72
|
+
}
|
|
73
|
+
setQuantity(e) {
|
|
74
|
+
let t = e?.target?.value;
|
|
75
|
+
this.filter?.parameters?.[1]?.quantity !== t && (this._value = {
|
|
76
|
+
quantity: t,
|
|
77
|
+
unit: this.filter?.parameters?.[1]?.unit ?? 1
|
|
78
|
+
}, this._sendChangeEvent());
|
|
79
|
+
}
|
|
80
|
+
renderDatePicker() {
|
|
81
|
+
let e = "second";
|
|
82
|
+
return this.filter?.parameters?.[0]?.lowestLevel > 4 && (e = this.filter?.parameters?.[0]?.lowestLevel === 5 ? "day" : this.filter?.parameters?.[0]?.lowestLevel === 6 ? "hour" : this.filter?.parameters?.[0]?.lowestLevel === 7 ? "minute" : "second"), r`<luzmo-date-time-picker
|
|
83
|
+
aria-label=${s("Filter date", { desc: "Aria label for filter date picker" })}
|
|
84
|
+
.size=${this.size}
|
|
85
|
+
.precision=${e}
|
|
86
|
+
.timeZone=${this.timeZone}
|
|
87
|
+
@change=${this.setDate}
|
|
88
|
+
.value=${this.filter?.parameters?.[1]}
|
|
89
|
+
></luzmo-date-time-picker>`;
|
|
90
|
+
}
|
|
91
|
+
renderQuantityField() {
|
|
92
|
+
return r`<luzmo-number-field
|
|
93
|
+
label=${s("Quantity", { desc: "Label for quantity number field" })}
|
|
94
|
+
.size=${this.size}
|
|
95
|
+
.value=${this.filter?.parameters?.[1]?.quantity}
|
|
96
|
+
@input=${this.setQuantity}
|
|
97
|
+
@change=${this.setQuantity}
|
|
98
|
+
></luzmo-number-field>`;
|
|
99
|
+
}
|
|
100
|
+
renderUnitPicker() {
|
|
101
|
+
let e = n.map((e) => r`<luzmo-menu-item .value=${e.key}>
|
|
102
|
+
${e.i18n()}
|
|
103
|
+
</luzmo-menu-item>`), t = n.find((e) => e.level === this.filter?.parameters?.[1]?.unit)?.key ?? n?.[0]?.key;
|
|
104
|
+
return r`<luzmo-picker
|
|
105
|
+
.label=${s("Time unit", { desc: "Aria label for time unit picker" })}
|
|
106
|
+
.size=${this.size}
|
|
107
|
+
.value=${t}
|
|
108
|
+
@change=${this.setUnit}
|
|
109
|
+
variant="highlight"
|
|
110
|
+
>${e}</luzmo-picker
|
|
111
|
+
>`;
|
|
112
|
+
}
|
|
113
|
+
render() {
|
|
114
|
+
let e = this.filter?.expression;
|
|
115
|
+
return [
|
|
116
|
+
"last_now",
|
|
117
|
+
"last_available",
|
|
118
|
+
"next_now",
|
|
119
|
+
"more_than_ago",
|
|
120
|
+
"or_more_ago"
|
|
121
|
+
].includes(e) ? r`${this.renderQuantityField()}${this.renderUnitPicker()}` : ["last_completed", "next_full"].includes(e) ? this.renderUnitPicker() : this.renderDatePicker();
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
//#endregion
|
|
125
|
+
//#region src/components/filter-value-picker-datetime/index.ts
|
|
126
|
+
e([a({
|
|
127
|
+
type: String,
|
|
128
|
+
attribute: "content-language",
|
|
129
|
+
reflect: !0
|
|
130
|
+
})], f.prototype, "contentLanguage", void 0), e([a({
|
|
131
|
+
type: String,
|
|
132
|
+
attribute: "time-zone",
|
|
133
|
+
reflect: !0
|
|
134
|
+
})], f.prototype, "timeZone", void 0), e([a({
|
|
135
|
+
type: Object,
|
|
136
|
+
reflect: !1
|
|
137
|
+
})], f.prototype, "filter", void 0), f = e([o()], f), customElements.get("luzmo-filter-value-picker-datetime") || customElements.define("luzmo-filter-value-picker-datetime", f);
|
|
138
|
+
//#endregion
|
|
139
|
+
export { f as t };
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../filter-value-picker-hierarchy-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../filter-value-picker-hierarchy-BSKoZJ0F.cjs");Object.defineProperty(exports,"LuzmoFilterValuePickerHierarchy",{enumerable:!0,get:function(){return e.t}});
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../filter-value-picker-hierarchy-
|
|
27
|
+
import { t as e } from "../filter-value-picker-hierarchy-D9BcuttQ.js";
|
|
28
28
|
export { e as LuzmoFilterValuePickerHierarchy };
|
|
@@ -0,0 +1,47 @@
|
|
|
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("./decorate-DCJt-2rt.cjs"),t=require("./localized-mixin-BNAt_iYb.cjs"),n=require("./data-broker-BH5WDG0j.cjs"),r=require("./localize-D3i4Epy_.cjs");require("./utils-B1BzV2xl.cjs");let i=require("lit"),a=require("lit/decorators.js"),o=require("@lit/localize");require("@luzmo/lucero/select");let s=require("@luzmo/lucero/utils");require("@luzmo/lucero/text-field");var c=`.missing-value{color:var(--luzmo-filter-value-picker-hierarchy-missing-value-color,#767676)}:host{--var:blue}`,l=5e3,u=class extends t.t((0,s.SizedMixin)(s.LuzmoElement,{validSizes:Object.values(s.ElementSizes)})){constructor(...e){super(...e),this.contentLanguage=`en`,this._hierarchyValues=[],this._retrieving=!0,this._search=``,this._error=null,this._allValuesRetrieved=!1,this._runningQueries=[]}static get styles(){return[(0,i.unsafeCSS)(c)]}connectedCallback(){super.connectedCallback();let e={};this.apiUrl&&(e.apiUrl=this.apiUrl),this.cacheTime&&(e.staleTime=this.cacheTime,e.gcTime=this.cacheTime*2),this.authKey&&this.authToken&&(e.authKey=this.authKey,e.authToken=this.authToken),n.t.configure(e)}willUpdate(e){if(super.willUpdate(e),e.has(`filter`)&&this.filter){let t=e.get(`filter`)?.expression;(e.get(`filter`)?.parameters?.[0]?.columnId||e.get(`filter`)?.parameters?.[0]?.formulaId)!==(this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId)&&([`? in ?`,`? not in ?`,`? = ?`,`? != ?`].includes(this.filter?.expression)||![`? in ?`,`? not in ?`,`? = ?`,`? != ?`].includes(t))&&(this._hierarchyValues=[],this._allValuesRetrieved=!1,this._retrieving=!0)}}async _fetchHierarchyValues(e=0){if(this._allValuesRetrieved){this._retrieving=!1;return}if(!this.filter?.parameters?.[0]){this._retrieving=!1,this._error=`Missing column parameters`;return}let t=this.filter.parameters[0],r=t.columnId,i=t.formulaId,a=t.datasetId;if(!r&&!i){this._retrieving=!1,this._error=`Missing column id or formula id`;return}else if(!a){this._retrieving=!1,this._error=`Missing dataset id`;return}this._retrieving=!0,this._error=null;let o={expression:`? like ?`,parameters:[{column_id:r,formula_id:i,dataset_id:a},this._search]},s={dimensions:[{column_id:r,formula_id:i,dataset_id:a}],where:[],order:[{column_id:r,formula_id:i,dataset_id:a,order:`asc`}],limit:{by:l,offset:e}};this._search&&this._allValuesRetrieved&&s.where.push(o);let c=new AbortController,u=new Promise((e,t)=>{n.t.fetchData(s).then(e).catch(t),c.signal.addEventListener(`abort`,()=>{console.warn(`Request aborted`),t({status:`aborted`})})}),d={promise:u,abortController:c};this._runningQueries.push(d);try{let t=await u,n=t&&Array.isArray(t.data)?t.data.map(e=>e[0]):[];this._search||(this._allValuesRetrieved=n.length<l),this._hierarchyValues=e>0?[...this._hierarchyValues,...n]:n}catch(e){if(e?.status===`aborted`)return;this._error=e instanceof Error?e.message:`Unknown error`,this._hierarchyValues=[]}finally{this._runningQueries=this._runningQueries.filter(e=>e.promise!==u),this._retrieving=!1}}_sendChangeEvent(){this.dispatchEvent(new CustomEvent(`luzmo-filter-value-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this._value}}))}setHierarchy(e){let t;t=[`? in ?`,`? not in ?`].includes(this.filter?.expression)?e?.detail?.value:[`? = ?`,`? != ?`].includes(this.filter?.expression)?e?.detail?.value?.[0]:e?.target?.value,this._value!==t&&(this._value=t,this.filter={...this.filter,parameters:[{...this.filter?.parameters?.[0]},this._value]},this._sendChangeEvent())}onScrolled(e){!this._retrieving&&!this._allValuesRetrieved&&e?.detail?.last===this._hierarchyValues.length-1&&this._fetchHierarchyValues(this._hierarchyValues.length)}renderTextField(){return i.html`<luzmo-text-field
|
|
21
|
+
label=${(0,o.msg)(`Filter value`,{desc:`Label for filter value text field`})}
|
|
22
|
+
.size=${this.size}
|
|
23
|
+
@change=${this.setHierarchy}
|
|
24
|
+
@input=${this.setHierarchy}
|
|
25
|
+
.value=${this.filter?.parameters?.[1]??``}
|
|
26
|
+
></luzmo-text-field>`}setSearchString(e){this._search=e?.detail?.string??``,this._allValuesRetrieved||(this._searchQueryTimeout&&(this._runningQueries.forEach(e=>{e?.abortController&&e.abortController.abort()}),this._runningQueries=[],clearTimeout(this._searchQueryTimeout)),this._searchQueryTimeout=setTimeout(()=>{this._fetchHierarchyValues()},500))}resetSearchString(){this._search=``}onOpened(){this._fetchHierarchyValues()}renderHierarchyPicker(){if(this._error)return i.html`<div class="error" role="alert">Error: ${this._error}</div>`;let e=(this._search?this._hierarchyValues.filter(e=>r.t(e.name,this.contentLanguage,{allowEmpty:!0})?.toLowerCase().includes(this._search.toLowerCase())||e.toString().toLowerCase().includes(this._search.toLowerCase())):this._hierarchyValues).map(e=>{let t=r.t(e?.name,this.contentLanguage)??`N/A`;return typeof t!=`string`&&(t=`N/A`),{value:e?.id,label:t}}),t=this.filter?.expression,n=[`? = ?`,`? != ?`].includes(t),a=(0,o.msg)(`Selected {count} items`),s=(0,o.msg)(`Search`),c=(0,o.msg)(`No data`),l=(0,o.msg)(`No results`),u=(0,o.msg)(`Select...`);return i.html`<luzmo-select
|
|
27
|
+
.size=${this.size}
|
|
28
|
+
.label=${u}
|
|
29
|
+
.retrieving=${this._retrieving}
|
|
30
|
+
.selects=${n?`single`:`multiple`}
|
|
31
|
+
.variant=${n?`highlight`:`checkboxes`}
|
|
32
|
+
emphasized
|
|
33
|
+
no-wrap
|
|
34
|
+
?invalid=${!!this._error}
|
|
35
|
+
.multipleLabelTemplate=${a}
|
|
36
|
+
.searchLabel=${s}
|
|
37
|
+
.noDataLabel=${c}
|
|
38
|
+
.noResultsLabel=${l}
|
|
39
|
+
@change=${this.setHierarchy}
|
|
40
|
+
@luzmo-search=${this.setSearchString}
|
|
41
|
+
@luzmo-opened=${this.onOpened}
|
|
42
|
+
@luzmo-closed=${this.resetSearchString}
|
|
43
|
+
@luzmo-scrolled=${this.onScrolled}
|
|
44
|
+
.options=${e}
|
|
45
|
+
.value=${n?[this.filter?.parameters?.[1]]:this.filter?.parameters?.[1]}
|
|
46
|
+
>
|
|
47
|
+
</luzmo-select>`}render(){let e=this.filter?.expression;return[`? in ?`,`? not in ?`,`? = ?`,`? != ?`].includes(e)?this.renderHierarchyPicker():this.renderTextField()}};e.t([(0,a.property)({type:String,attribute:`api-url`,reflect:!0})],u.prototype,`apiUrl`,void 0),e.t([(0,a.property)({type:String,attribute:`auth-key`,reflect:!0})],u.prototype,`authKey`,void 0),e.t([(0,a.property)({type:String,attribute:`auth-token`,reflect:!0})],u.prototype,`authToken`,void 0),e.t([(0,a.property)({type:Number,attribute:`cache-time`,reflect:!0})],u.prototype,`cacheTime`,void 0),e.t([(0,a.property)({type:String,attribute:`content-language`,reflect:!0})],u.prototype,`contentLanguage`,void 0),e.t([(0,a.property)({type:Object,reflect:!1})],u.prototype,`filter`,void 0),e.t([(0,a.state)()],u.prototype,`_hierarchyValues`,void 0),e.t([(0,a.state)()],u.prototype,`_retrieving`,void 0),e.t([(0,a.state)()],u.prototype,`_search`,void 0),e.t([(0,a.state)()],u.prototype,`_error`,void 0),u=e.t([(0,o.localized)()],u),customElements.get(`luzmo-filter-value-picker-hierarchy`)||customElements.define(`luzmo-filter-value-picker-hierarchy`,u),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return u}});
|
|
@@ -0,0 +1,232 @@
|
|
|
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 { t as e } from "./decorate-CaYbmmmm.js";
|
|
21
|
+
import { t } from "./localized-mixin-GXZQgVAD.js";
|
|
22
|
+
import { t as n } from "./data-broker-CVDImE1j.js";
|
|
23
|
+
import { t as r } from "./localize-BT7REYBY.js";
|
|
24
|
+
import "./utils-BMOxXnnX.js";
|
|
25
|
+
import { html as i, unsafeCSS as a } from "lit";
|
|
26
|
+
import { property as o, state as s } from "lit/decorators.js";
|
|
27
|
+
import { localized as c, msg as l } from "@lit/localize";
|
|
28
|
+
import "@luzmo/lucero/select";
|
|
29
|
+
import { ElementSizes as u, LuzmoElement as d, SizedMixin as f } from "@luzmo/lucero/utils";
|
|
30
|
+
import "@luzmo/lucero/text-field";
|
|
31
|
+
//#region src/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.module.scss?inline
|
|
32
|
+
var p = ".missing-value{color:var(--luzmo-filter-value-picker-hierarchy-missing-value-color,#767676)}:host{--var:blue}", m = 5e3, h = class extends t(f(d, { validSizes: Object.values(u) })) {
|
|
33
|
+
constructor(...e) {
|
|
34
|
+
super(...e), this.contentLanguage = "en", this._hierarchyValues = [], this._retrieving = !0, this._search = "", this._error = null, this._allValuesRetrieved = !1, this._runningQueries = [];
|
|
35
|
+
}
|
|
36
|
+
static get styles() {
|
|
37
|
+
return [a(p)];
|
|
38
|
+
}
|
|
39
|
+
connectedCallback() {
|
|
40
|
+
super.connectedCallback();
|
|
41
|
+
let e = {};
|
|
42
|
+
this.apiUrl && (e.apiUrl = this.apiUrl), this.cacheTime && (e.staleTime = this.cacheTime, e.gcTime = this.cacheTime * 2), this.authKey && this.authToken && (e.authKey = this.authKey, e.authToken = this.authToken), n.configure(e);
|
|
43
|
+
}
|
|
44
|
+
willUpdate(e) {
|
|
45
|
+
if (super.willUpdate(e), e.has("filter") && this.filter) {
|
|
46
|
+
let t = e.get("filter")?.expression;
|
|
47
|
+
(e.get("filter")?.parameters?.[0]?.columnId || e.get("filter")?.parameters?.[0]?.formulaId) !== (this.filter?.parameters?.[0]?.columnId || this.filter?.parameters?.[0]?.formulaId) && ([
|
|
48
|
+
"? in ?",
|
|
49
|
+
"? not in ?",
|
|
50
|
+
"? = ?",
|
|
51
|
+
"? != ?"
|
|
52
|
+
].includes(this.filter?.expression) || ![
|
|
53
|
+
"? in ?",
|
|
54
|
+
"? not in ?",
|
|
55
|
+
"? = ?",
|
|
56
|
+
"? != ?"
|
|
57
|
+
].includes(t)) && (this._hierarchyValues = [], this._allValuesRetrieved = !1, this._retrieving = !0);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
async _fetchHierarchyValues(e = 0) {
|
|
61
|
+
if (this._allValuesRetrieved) {
|
|
62
|
+
this._retrieving = !1;
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (!this.filter?.parameters?.[0]) {
|
|
66
|
+
this._retrieving = !1, this._error = "Missing column parameters";
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
let t = this.filter.parameters[0], r = t.columnId, i = t.formulaId, a = t.datasetId;
|
|
70
|
+
if (!r && !i) {
|
|
71
|
+
this._retrieving = !1, this._error = "Missing column id or formula id";
|
|
72
|
+
return;
|
|
73
|
+
} else if (!a) {
|
|
74
|
+
this._retrieving = !1, this._error = "Missing dataset id";
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
this._retrieving = !0, this._error = null;
|
|
78
|
+
let o = {
|
|
79
|
+
expression: "? like ?",
|
|
80
|
+
parameters: [{
|
|
81
|
+
column_id: r,
|
|
82
|
+
formula_id: i,
|
|
83
|
+
dataset_id: a
|
|
84
|
+
}, this._search]
|
|
85
|
+
}, s = {
|
|
86
|
+
dimensions: [{
|
|
87
|
+
column_id: r,
|
|
88
|
+
formula_id: i,
|
|
89
|
+
dataset_id: a
|
|
90
|
+
}],
|
|
91
|
+
where: [],
|
|
92
|
+
order: [{
|
|
93
|
+
column_id: r,
|
|
94
|
+
formula_id: i,
|
|
95
|
+
dataset_id: a,
|
|
96
|
+
order: "asc"
|
|
97
|
+
}],
|
|
98
|
+
limit: {
|
|
99
|
+
by: m,
|
|
100
|
+
offset: e
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
this._search && this._allValuesRetrieved && s.where.push(o);
|
|
104
|
+
let c = new AbortController(), l = new Promise((e, t) => {
|
|
105
|
+
n.fetchData(s).then(e).catch(t), c.signal.addEventListener("abort", () => {
|
|
106
|
+
console.warn("Request aborted"), t({ status: "aborted" });
|
|
107
|
+
});
|
|
108
|
+
}), u = {
|
|
109
|
+
promise: l,
|
|
110
|
+
abortController: c
|
|
111
|
+
};
|
|
112
|
+
this._runningQueries.push(u);
|
|
113
|
+
try {
|
|
114
|
+
let t = await l, n = t && Array.isArray(t.data) ? t.data.map((e) => e[0]) : [];
|
|
115
|
+
this._search || (this._allValuesRetrieved = n.length < m), this._hierarchyValues = e > 0 ? [...this._hierarchyValues, ...n] : n;
|
|
116
|
+
} catch (e) {
|
|
117
|
+
if (e?.status === "aborted") return;
|
|
118
|
+
this._error = e instanceof Error ? e.message : "Unknown error", this._hierarchyValues = [];
|
|
119
|
+
} finally {
|
|
120
|
+
this._runningQueries = this._runningQueries.filter((e) => e.promise !== l), this._retrieving = !1;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
_sendChangeEvent() {
|
|
124
|
+
this.dispatchEvent(new CustomEvent("luzmo-filter-value-changed", {
|
|
125
|
+
bubbles: !0,
|
|
126
|
+
composed: !0,
|
|
127
|
+
cancelable: !0,
|
|
128
|
+
detail: { value: this._value }
|
|
129
|
+
}));
|
|
130
|
+
}
|
|
131
|
+
setHierarchy(e) {
|
|
132
|
+
let t;
|
|
133
|
+
t = ["? in ?", "? not in ?"].includes(this.filter?.expression) ? e?.detail?.value : ["? = ?", "? != ?"].includes(this.filter?.expression) ? e?.detail?.value?.[0] : e?.target?.value, this._value !== t && (this._value = t, this.filter = {
|
|
134
|
+
...this.filter,
|
|
135
|
+
parameters: [{ ...this.filter?.parameters?.[0] }, this._value]
|
|
136
|
+
}, this._sendChangeEvent());
|
|
137
|
+
}
|
|
138
|
+
onScrolled(e) {
|
|
139
|
+
!this._retrieving && !this._allValuesRetrieved && e?.detail?.last === this._hierarchyValues.length - 1 && this._fetchHierarchyValues(this._hierarchyValues.length);
|
|
140
|
+
}
|
|
141
|
+
renderTextField() {
|
|
142
|
+
return i`<luzmo-text-field
|
|
143
|
+
label=${l("Filter value", { desc: "Label for filter value text field" })}
|
|
144
|
+
.size=${this.size}
|
|
145
|
+
@change=${this.setHierarchy}
|
|
146
|
+
@input=${this.setHierarchy}
|
|
147
|
+
.value=${this.filter?.parameters?.[1] ?? ""}
|
|
148
|
+
></luzmo-text-field>`;
|
|
149
|
+
}
|
|
150
|
+
setSearchString(e) {
|
|
151
|
+
this._search = e?.detail?.string ?? "", this._allValuesRetrieved || (this._searchQueryTimeout && (this._runningQueries.forEach((e) => {
|
|
152
|
+
e?.abortController && e.abortController.abort();
|
|
153
|
+
}), this._runningQueries = [], clearTimeout(this._searchQueryTimeout)), this._searchQueryTimeout = setTimeout(() => {
|
|
154
|
+
this._fetchHierarchyValues();
|
|
155
|
+
}, 500));
|
|
156
|
+
}
|
|
157
|
+
resetSearchString() {
|
|
158
|
+
this._search = "";
|
|
159
|
+
}
|
|
160
|
+
onOpened() {
|
|
161
|
+
this._fetchHierarchyValues();
|
|
162
|
+
}
|
|
163
|
+
renderHierarchyPicker() {
|
|
164
|
+
if (this._error) return i`<div class="error" role="alert">Error: ${this._error}</div>`;
|
|
165
|
+
let e = (this._search ? this._hierarchyValues.filter((e) => r(e.name, this.contentLanguage, { allowEmpty: !0 })?.toLowerCase().includes(this._search.toLowerCase()) || e.toString().toLowerCase().includes(this._search.toLowerCase())) : this._hierarchyValues).map((e) => {
|
|
166
|
+
let t = r(e?.name, this.contentLanguage) ?? "N/A";
|
|
167
|
+
return typeof t != "string" && (t = "N/A"), {
|
|
168
|
+
value: e?.id,
|
|
169
|
+
label: t
|
|
170
|
+
};
|
|
171
|
+
}), t = this.filter?.expression, n = ["? = ?", "? != ?"].includes(t), a = l("Selected {count} items"), o = l("Search"), s = l("No data"), c = l("No results"), u = l("Select...");
|
|
172
|
+
return i`<luzmo-select
|
|
173
|
+
.size=${this.size}
|
|
174
|
+
.label=${u}
|
|
175
|
+
.retrieving=${this._retrieving}
|
|
176
|
+
.selects=${n ? "single" : "multiple"}
|
|
177
|
+
.variant=${n ? "highlight" : "checkboxes"}
|
|
178
|
+
emphasized
|
|
179
|
+
no-wrap
|
|
180
|
+
?invalid=${!!this._error}
|
|
181
|
+
.multipleLabelTemplate=${a}
|
|
182
|
+
.searchLabel=${o}
|
|
183
|
+
.noDataLabel=${s}
|
|
184
|
+
.noResultsLabel=${c}
|
|
185
|
+
@change=${this.setHierarchy}
|
|
186
|
+
@luzmo-search=${this.setSearchString}
|
|
187
|
+
@luzmo-opened=${this.onOpened}
|
|
188
|
+
@luzmo-closed=${this.resetSearchString}
|
|
189
|
+
@luzmo-scrolled=${this.onScrolled}
|
|
190
|
+
.options=${e}
|
|
191
|
+
.value=${n ? [this.filter?.parameters?.[1]] : this.filter?.parameters?.[1]}
|
|
192
|
+
>
|
|
193
|
+
</luzmo-select>`;
|
|
194
|
+
}
|
|
195
|
+
render() {
|
|
196
|
+
let e = this.filter?.expression;
|
|
197
|
+
return [
|
|
198
|
+
"? in ?",
|
|
199
|
+
"? not in ?",
|
|
200
|
+
"? = ?",
|
|
201
|
+
"? != ?"
|
|
202
|
+
].includes(e) ? this.renderHierarchyPicker() : this.renderTextField();
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
//#endregion
|
|
206
|
+
//#region src/components/filter-value-picker-hierarchy/index.ts
|
|
207
|
+
e([o({
|
|
208
|
+
type: String,
|
|
209
|
+
attribute: "api-url",
|
|
210
|
+
reflect: !0
|
|
211
|
+
})], h.prototype, "apiUrl", void 0), e([o({
|
|
212
|
+
type: String,
|
|
213
|
+
attribute: "auth-key",
|
|
214
|
+
reflect: !0
|
|
215
|
+
})], h.prototype, "authKey", void 0), e([o({
|
|
216
|
+
type: String,
|
|
217
|
+
attribute: "auth-token",
|
|
218
|
+
reflect: !0
|
|
219
|
+
})], h.prototype, "authToken", void 0), e([o({
|
|
220
|
+
type: Number,
|
|
221
|
+
attribute: "cache-time",
|
|
222
|
+
reflect: !0
|
|
223
|
+
})], h.prototype, "cacheTime", void 0), e([o({
|
|
224
|
+
type: String,
|
|
225
|
+
attribute: "content-language",
|
|
226
|
+
reflect: !0
|
|
227
|
+
})], h.prototype, "contentLanguage", void 0), e([o({
|
|
228
|
+
type: Object,
|
|
229
|
+
reflect: !1
|
|
230
|
+
})], h.prototype, "filter", void 0), e([s()], h.prototype, "_hierarchyValues", void 0), e([s()], h.prototype, "_retrieving", void 0), e([s()], h.prototype, "_search", void 0), e([s()], h.prototype, "_error", void 0), h = e([c()], h), customElements.get("luzmo-filter-value-picker-hierarchy") || customElements.define("luzmo-filter-value-picker-hierarchy", h);
|
|
231
|
+
//#endregion
|
|
232
|
+
export { h as t };
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../filter-value-picker-numeric-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../filter-value-picker-numeric-B2EcfNUR.cjs");Object.defineProperty(exports,"LuzmoFilterValuePickerNumeric",{enumerable:!0,get:function(){return e.t}});
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../filter-value-picker-numeric-
|
|
27
|
+
import { t as e } from "../filter-value-picker-numeric-CoU9l9wS.js";
|
|
28
28
|
export { e as LuzmoFilterValuePickerNumeric };
|
|
@@ -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
|
+
const e=require("./decorate-DCJt-2rt.cjs"),t=require("./localized-mixin-BNAt_iYb.cjs"),n=require("./data-broker-BH5WDG0j.cjs");let r=require("lit"),i=require("lit/decorators.js"),a=require("@lit/localize");require("@luzmo/lucero/select"),require("@luzmo/lucero/number-field");let o=require("@luzmo/lucero/utils");var s=`.missing-value{opacity:.4}:host{--var:blue}`,c=5e3,l=class extends t.t((0,o.SizedMixin)(o.LuzmoElement,{validSizes:Object.values(o.ElementSizes)})){constructor(...e){super(...e),this.contentLanguage=`en`,this._numericValues=[],this._retrieving=!0,this._search=``,this._error=null,this._allValuesRetrieved=!1,this._runningQueries=[]}static get styles(){return[(0,r.unsafeCSS)(s)]}connectedCallback(){super.connectedCallback();let e={};this.apiUrl&&(e.apiUrl=this.apiUrl),this.cacheTime&&(e.staleTime=this.cacheTime,e.gcTime=this.cacheTime*2),this.authKey&&this.authToken&&(e.authKey=this.authKey,e.authToken=this.authToken),n.t.configure(e)}willUpdate(e){if(super.willUpdate(e),e.has(`filter`)&&this.filter){let t=e.get(`filter`)?.expression,n=this.filter?.expression;((e.get(`filter`)?.parameters?.[0]?.columnId||e.get(`filter`)?.parameters?.[0]?.formulaId)!==(this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId)||![`? in ?`,`? not in ?`].includes(t))&&[`? in ?`,`? not in ?`].includes(n)&&(this._numericValues=[],this._allValuesRetrieved=!1,this._retrieving=!0)}}async _fetchNumericValues(e=0){if(this._allValuesRetrieved){this._retrieving=!1;return}if(!this.filter?.parameters?.[0]){this._retrieving=!1,this._error=`Missing column parameters`;return}let t=this.filter.parameters[0],r=t.columnId,i=t.formulaId,a=t.datasetId;if(!r&&!i){this._retrieving=!1,this._error=`Missing column id or formula id`;return}else if(!a){this._retrieving=!1,this._error=`Missing dataset id`;return}this._retrieving=!0,this._error=null;let o={expression:`? like ?`,parameters:[{dataset_id:a,expression:`CAST({${a}:${r??i}},hierarchy)`},this._search]},s={dimensions:[{column_id:r,formula_id:i,dataset_id:a}],where:[],order:[{column_id:r,formula_id:i,dataset_id:a,order:`asc`}],limit:{by:c,offset:e}};this._search&&!this._allValuesRetrieved&&s.where.push(o);let l=new AbortController,u=new Promise((e,t)=>{n.t.fetchData(s).then(e).catch(t),l.signal.addEventListener(`abort`,()=>{console.warn(`Request aborted`),t({status:`aborted`})})}),d={promise:u,abortController:l};this._runningQueries.push(d);try{let t=await u,n=t&&Array.isArray(t.data)?t.data.map(e=>e[0]):[];this._search||(this._allValuesRetrieved=n.length<c),this._numericValues=e>0?[...this._numericValues,...n]:n}catch(e){if(e?.status===`aborted`)return;this._error=e instanceof Error?e.message:`Unknown error`,this._numericValues=[]}finally{this._runningQueries=this._runningQueries.filter(e=>e.promise!==u),this._retrieving=!1}}_sendChangeEvent(){this.dispatchEvent(new CustomEvent(`luzmo-filter-value-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this._value}}))}setValue(e){let t=[`? in ?`,`? not in ?`].includes(this.filter?.expression)?e?.detail?.value:e?.target?.value;this._value!==t&&(this._value=t,this.filter={...this.filter,parameters:[{...this.filter?.parameters?.[0]},t]},this._sendChangeEvent())}selectValue(e){let t=(e.detail?.value??``).map(e=>Number.parseFloat(e));this.filter={...this.filter,parameters:[{...this.filter?.parameters?.[0]},t]},this._value=t,this._sendChangeEvent()}onScrolled(e){!this._retrieving&&!this._allValuesRetrieved&&e?.detail?.last===this._numericValues.length-1&&this._fetchNumericValues(this._numericValues.length)}renderNumberField(){return r.html`<luzmo-number-field
|
|
21
|
+
label="Numeric filter value"
|
|
22
|
+
grows
|
|
23
|
+
.size=${this.size}
|
|
24
|
+
@change=${this.setValue}
|
|
25
|
+
@input=${this.setValue}
|
|
26
|
+
.value=${this.filter?.parameters?.[1]}
|
|
27
|
+
></luzmo-number-field>`}setSearchString(e){this._search=e?.detail?.string??``,this._allValuesRetrieved||(this._searchQueryTimeout&&(this._runningQueries.forEach(e=>{e?.abortController&&e.abortController.abort()}),this._runningQueries=[],clearTimeout(this._searchQueryTimeout)),this._searchQueryTimeout=setTimeout(()=>{this._fetchNumericValues()},500))}resetSearchString(){this._search=``}onOpened(){this._fetchNumericValues()}renderValuePicker(){if(this._error)return r.html`<div class="error" role="alert">${this._error}</div>`;let e=this._numericValues.filter(e=>e.toString().toLowerCase().includes(this._search.toLowerCase())).map(e=>({value:e,label:e})),t=(0,a.msg)(`Selected {count} items`),n=(0,a.msg)(`Search`),i=(0,a.msg)(`No data`),o=(0,a.msg)(`No results`),s=(0,a.msg)(`Select...`);return r.html`<luzmo-select
|
|
28
|
+
.size=${this.size}
|
|
29
|
+
.label=${s}
|
|
30
|
+
.retrieving=${this._retrieving}
|
|
31
|
+
selects="multiple"
|
|
32
|
+
variant="checkboxes"
|
|
33
|
+
emphasized
|
|
34
|
+
no-wrap
|
|
35
|
+
?invalid=${!!this._error}
|
|
36
|
+
.multipleLabelTemplate=${t}
|
|
37
|
+
.searchLabel=${n}
|
|
38
|
+
.noDataLabel=${i}
|
|
39
|
+
.noResultsLabel=${o}
|
|
40
|
+
@change=${this.selectValue}
|
|
41
|
+
@luzmo-search=${this.setSearchString}
|
|
42
|
+
@luzmo-opened=${this.onOpened}
|
|
43
|
+
@luzmo-closed=${this.resetSearchString}
|
|
44
|
+
@luzmo-scrolled=${this.onScrolled}
|
|
45
|
+
.options=${e}
|
|
46
|
+
.value=${this.filter?.parameters?.[1]}
|
|
47
|
+
>
|
|
48
|
+
</luzmo-select>`}render(){let e=this.filter?.expression;return[`? in ?`,`? not in ?`].includes(e)?this.renderValuePicker():this.renderNumberField()}};e.t([(0,i.property)({type:String,attribute:`api-url`,reflect:!0})],l.prototype,`apiUrl`,void 0),e.t([(0,i.property)({type:String,attribute:`auth-key`,reflect:!0})],l.prototype,`authKey`,void 0),e.t([(0,i.property)({type:String,attribute:`auth-token`,reflect:!0})],l.prototype,`authToken`,void 0),e.t([(0,i.property)({type:Number,attribute:`cache-time`,reflect:!0})],l.prototype,`cacheTime`,void 0),e.t([(0,i.property)({type:String,attribute:`content-language`,reflect:!0})],l.prototype,`contentLanguage`,void 0),e.t([(0,i.property)({type:Object,reflect:!1})],l.prototype,`filter`,void 0),e.t([(0,i.state)()],l.prototype,`_numericValues`,void 0),e.t([(0,i.state)()],l.prototype,`_retrieving`,void 0),e.t([(0,i.state)()],l.prototype,`_search`,void 0),e.t([(0,i.state)()],l.prototype,`_error`,void 0),l=e.t([(0,a.localized)()],l),customElements.get(`luzmo-filter-value-picker-numeric`)||customElements.define(`luzmo-filter-value-picker-numeric`,l),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return l}});
|