@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,400 @@
|
|
|
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 "./filter-item-BEe-Y6l0.js";
|
|
23
|
+
import { luzmoPlus as n, luzmoTrashOutline as r } from "@luzmo/icons";
|
|
24
|
+
import "@luzmo/lucero/button";
|
|
25
|
+
import "@luzmo/lucero/icon";
|
|
26
|
+
import { html as i, unsafeCSS as a } from "lit";
|
|
27
|
+
import { property as o, state as s } from "lit/decorators.js";
|
|
28
|
+
import { localized as c, msg as l } from "@lit/localize";
|
|
29
|
+
import { repeat as u } from "lit/directives/repeat.js";
|
|
30
|
+
import "@luzmo/lucero/action-button";
|
|
31
|
+
import { ElementSizes as d, LuzmoElement as f, SizedMixin as p } from "@luzmo/lucero/utils";
|
|
32
|
+
//#region src/components/filters/transformations/transform-filters.ts
|
|
33
|
+
function m(e) {
|
|
34
|
+
return typeof e == "object" && !!e && "condition" in e && "filters" in e;
|
|
35
|
+
}
|
|
36
|
+
function h(e) {
|
|
37
|
+
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
38
|
+
}
|
|
39
|
+
function g(e) {
|
|
40
|
+
if (!Array.isArray(e) || e.length === 0) return [];
|
|
41
|
+
let t = h(e[0]) ? e[0] : void 0, n = e.length > 1 ? e[1] : void 0;
|
|
42
|
+
return e.length > 1 ? [t, n] : [t];
|
|
43
|
+
}
|
|
44
|
+
function _(e) {
|
|
45
|
+
return typeof e.expression != "string" || e.expression.length === 0 ? null : {
|
|
46
|
+
expression: e.expression,
|
|
47
|
+
parameters: g(e.parameters)
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function v(e) {
|
|
51
|
+
if (!e || !e.filters) return {
|
|
52
|
+
condition: "and",
|
|
53
|
+
filters: [],
|
|
54
|
+
subGroups: []
|
|
55
|
+
};
|
|
56
|
+
let t = [], n = [];
|
|
57
|
+
for (let r of e.filters) if (m(r)) n.push(v(r));
|
|
58
|
+
else {
|
|
59
|
+
let e = _(r);
|
|
60
|
+
e && t.push(e);
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
condition: e.condition?.toLowerCase() === "or" ? "or" : "and",
|
|
64
|
+
filters: t,
|
|
65
|
+
subGroups: n
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function y(e) {
|
|
69
|
+
return e ? [v(e)] : [];
|
|
70
|
+
}
|
|
71
|
+
function b(e) {
|
|
72
|
+
return {
|
|
73
|
+
expression: e.expression,
|
|
74
|
+
parameters: Array.isArray(e.parameters) ? [...e.parameters] : []
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function x(e) {
|
|
78
|
+
let t = e.subGroups ?? [];
|
|
79
|
+
return {
|
|
80
|
+
condition: e.condition === "or" ? "OR" : "AND",
|
|
81
|
+
filters: [...e.filters.map(b), ...t.map((e) => x(e))]
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function S(e) {
|
|
85
|
+
return !e || e.length === 0 ? [] : e.map((e) => x(e));
|
|
86
|
+
}
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/components/filters/filters.module.scss?inline
|
|
89
|
+
var C = ":host{font-family:var(--luzmo-filters-font-family,var(--luzmo-font-family));color:var(--luzmo-filters-font-color,var(--luzmo-font-color));max-width:100%;display:block}.filter-group-container{max-width:100%;padding:calc(var(--luzmo-indicator-gap) + 2 * var(--luzmo-indicator-width));overflow:hidden}.filter-group{flex-direction:row;min-width:0;max-width:100%;display:flex}.filter-group.nested{margin-top:var(--luzmo-filters-nested-group-margin-top,var(--filters-nested-group-margin-top));margin-bottom:var(--luzmo-filters-nested-group-margin-bottom,var(--filters-nested-group-margin-bottom))}.group-content{flex-direction:column;flex:1;min-width:0;display:flex}.filters-list{gap:var(--luzmo-filters-filters-list-gap,var(--filters-filters-list-gap));flex-direction:column;min-width:0;max-width:100%;display:flex}.filter-item-wrapper{align-items:flex-start;min-width:0;max-width:100%;display:flex;position:relative}.filter-item-content{align-items:center;gap:var(--luzmo-filters-filter-line-gap,var(--filters-filter-line-gap));flex:1;min-width:0;display:flex}.filter-item-content luzmo-filter-item{flex:1;min-width:0}.filter-item-content .delete-filter-button{flex-shrink:0;align-self:center}.condition-wrapper{flex:0 0 var(--luzmo-filters-condition-warpper-width,var(--filters-condition-warpper-width));justify-content:center;align-items:center;display:flex;position:relative}.condition-wrapper:before{content:\"\";left:50%;top:var(--luzmo-filters-vertical-line-top,var(--filters-vertical-line-top));bottom:var(--luzmo-filters-vertical-line-bottom,var(--filters-vertical-line-bottom));width:var(--luzmo-filters-vertical-line-width,var(--filters-vertical-line-width));background:var(--luzmo-filters-vertical-line-color,var(--luzmo-border-color));position:absolute}.condition-badge{min-width:auto;padding-inline:var(--luzmo-filters-condition-padding-horizontal,var(--filters-condition-padding-horizontal));text-transform:uppercase;background:var(--luzmo-filters-condition-badge-background,var(--luzmo-primary));color:var(--luzmo-filters-condition-badge-color,var(--luzmo-primary-inverse-color));border-radius:var(--luzmo-filters-condition-badge-border-radius,var(--luzmo-border-radius));box-shadow:0 0 0 var(--luzmo-filters-condition-badge-halo,var(--filters-condition-badge-halo)) var(--luzmo-filters-condition-badge-background,var(--luzmo-background-color));font-weight:700}.condition-badge:hover{background:var(--luzmo-filters-condition-badge-background-hover,var(--luzmo-primary-hover))}.group-actions{margin-top:var(--luzmo-filters-group-actions-margin-top,var(--filters-group-actions-margin-top));gap:var(--luzmo-filters-group-actions-gap,var(--filters-group-actions-gap));flex-wrap:wrap;display:flex}.delete-group-button{margin-left:auto}.add-root-group-container{margin-top:var(--luzmo-filters-add-root-group-container-margin-top,var(--filters-add-root-group-container-margin-top));padding-left:0}.add-subgroup-button,.add-filter-button{--luzmo-action-button-text-to-visual:var(--luzmo-filters-group-actions-text-to-visual,var(--filters-group-actions-text-to-visual));--luzmo-action-button-content-color-default:var(--luzmo-filters-group-actions-color,var(--luzmo-primary-hover));--luzmo-action-button-content-color-hover:var(--luzmo-filters-group-actions-color-hover,var(--luzmo-primary-hover));--luzmo-action-button-content-color-down:var(--luzmo-filters-group-actions-color-down,var(--luzmo-primary-down));--luzmo-action-button-content-color-focus:var(--luzmo-filters-group-actions-color-focus,var(--luzmo-primary-focus))}.add-group-button{--luzmo-button-padding-label-to-icon:var(--luzmo-filters-add-group-button-text-to-visual,var(--filters-add-group-button-text-to-visual))}.dataset-ids-empty-message{color:var(--luzmo-filters-error-message-color,var(--luzmo-disabled-color));font-size:var(--luzmo-filters-error-message-font-size,var(--filters-font-size))}:host{--filters-condition-warpper-width:56px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-3);--filters-filters-list-gap:var(--luzmo-spacing-3);--filters-nested-group-margin-top:var(--luzmo-spacing-3);--filters-nested-group-margin-bottom:var(--luzmo-spacing-3);--filters-vertical-line-top:var(--luzmo-spacing-2);--filters-vertical-line-bottom:var(--luzmo-spacing-2);--filters-vertical-line-width:1px;--filters-group-actions-text-to-visual:var(--luzmo-spacing-2);--filters-add-group-button-text-to-visual:var(--luzmo-spacing-3);--filters-group-actions-gap:var(--luzmo-spacing-3);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-4);--filters-filter-line-gap:var(--luzmo-spacing-3);--filters-group-actions-margin-top:var(--luzmo-spacing-3);--filters-error-message-font-size:var(--luzmo-font-size)}:host([size=s]){--filters-condition-warpper-width:48px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-2);--filters-filters-list-gap:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-nested-group-margin-top:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-nested-group-margin-bottom:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-vertical-line-top:var(--luzmo-spacing-2);--filters-vertical-line-bottom:var(--luzmo-spacing-2);--filters-group-actions-text-to-visual:var(--luzmo-spacing-1);--filters-add-group-button-text-to-visual:var(--luzmo-spacing-2);--filters-group-actions-gap:var(--luzmo-spacing-2);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-3);--filters-filter-line-gap:var(--luzmo-spacing-2);--filters-group-actions-margin-top:var(--luzmo-spacing-2);--filters-error-message-font-size:var(--luzmo-font-size-s)}:host([size=l]){--filters-condition-warpper-width:64px;--filters-condition-padding-horizontal:var(--luzmo-spacing-3);--filters-condition-badge-halo:var(--luzmo-spacing-4);--filters-filters-list-gap:var(--luzmo-spacing-4);--filters-nested-group-margin-top:var(--luzmo-spacing-4);--filters-nested-group-margin-bottom:var(--luzmo-spacing-4);--filters-vertical-line-top:var(--luzmo-spacing-3);--filters-vertical-line-bottom:var(--luzmo-spacing-3);--filters-group-actions-text-to-visual:var(--luzmo-spacing-2);--filters-add-group-button-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filters-group-actions-gap:var(--luzmo-spacing-3);--filters-add-root-group-container-margin-top:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-filter-line-gap:var(--luzmo-spacing-3);--filters-group-actions-margin-top:var(--luzmo-spacing-3);--filters-error-message-font-size:var(--luzmo-font-size-l)}:host([size=xl]){--filters-condition-warpper-width:72px;--filters-condition-padding-horizontal:var(--luzmo-spacing-3);--filters-condition-badge-halo:var(--luzmo-spacing-4);--filters-filters-list-gap:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-nested-group-margin-top:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-nested-group-margin-bottom:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-vertical-line-top:var(--luzmo-spacing-3);--filters-vertical-line-bottom:var(--luzmo-spacing-3);--filters-group-actions-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filters-add-group-button-text-to-visual:var(--luzmo-spacing-4);--filters-group-actions-gap:var(--luzmo-spacing-4);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-5);--filters-filter-line-gap:var(--luzmo-spacing-4);--filters-group-actions-margin-top:var(--luzmo-spacing-4);--filters-error-message-font-size:var(--luzmo-font-size-xl)}", w = {
|
|
90
|
+
AND: () => l("AND", { desc: "Logical AND condition for combining filters" }),
|
|
91
|
+
OR: () => l("OR", { desc: "Logical OR condition for combining filters" })
|
|
92
|
+
}, T = class extends t(p(f, { validSizes: Object.values(d) })) {
|
|
93
|
+
constructor(...e) {
|
|
94
|
+
super(...e), this.apiUrl = "https://api.luzmo.com", this.contentLanguage = "en", this.filters = [], this.debounce = 300, this._internalFilterGroup = null, this._debounceTimeout = null;
|
|
95
|
+
}
|
|
96
|
+
static get styles() {
|
|
97
|
+
return [a(C)];
|
|
98
|
+
}
|
|
99
|
+
get _oneSizeSmaller() {
|
|
100
|
+
return {
|
|
101
|
+
xxs: "xxs",
|
|
102
|
+
xs: "xs",
|
|
103
|
+
s: "xs",
|
|
104
|
+
m: "s",
|
|
105
|
+
l: "m",
|
|
106
|
+
xl: "l",
|
|
107
|
+
xxl: "xl"
|
|
108
|
+
}[this.size] || "s";
|
|
109
|
+
}
|
|
110
|
+
get _isDatasetIdsEmpty() {
|
|
111
|
+
return !this.datasetIds || this.datasetIds.length === 0;
|
|
112
|
+
}
|
|
113
|
+
disconnectedCallback() {
|
|
114
|
+
super.disconnectedCallback(), this._debounceTimeout &&= (clearTimeout(this._debounceTimeout), null);
|
|
115
|
+
}
|
|
116
|
+
willUpdate(e) {
|
|
117
|
+
if (super.willUpdate(e), e.has("filters")) {
|
|
118
|
+
let e = S(this.filters);
|
|
119
|
+
e.length === 0 ? this._internalFilterGroup = null : e.length === 1 ? this._internalFilterGroup = structuredClone(e[0]) : this._internalFilterGroup = {
|
|
120
|
+
condition: "AND",
|
|
121
|
+
filters: structuredClone(e)
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
_generateEmptyGroup() {
|
|
126
|
+
return {
|
|
127
|
+
condition: "AND",
|
|
128
|
+
filters: []
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
_generateEmptyFilter() {
|
|
132
|
+
return {
|
|
133
|
+
expression: void 0,
|
|
134
|
+
parameters: []
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
_getFiltersForExport() {
|
|
138
|
+
if (!this._internalFilterGroup) return [];
|
|
139
|
+
if (this._internalFilterGroup.filters.length > 0 && this._internalFilterGroup.filters.every((e) => this._isGroup(e))) return structuredClone(this._internalFilterGroup.filters).map((e) => y(e)[0]).filter((e) => !!e);
|
|
140
|
+
let [e] = y(structuredClone(this._internalFilterGroup));
|
|
141
|
+
return e ? [e] : [];
|
|
142
|
+
}
|
|
143
|
+
_sendChangeEvent() {
|
|
144
|
+
this._debounceTimeout && clearTimeout(this._debounceTimeout);
|
|
145
|
+
let e = () => {
|
|
146
|
+
this.dispatchEvent(new CustomEvent("luzmo-filters-changed", {
|
|
147
|
+
bubbles: !0,
|
|
148
|
+
composed: !0,
|
|
149
|
+
cancelable: !0,
|
|
150
|
+
detail: { filters: this._getFiltersForExport() }
|
|
151
|
+
}));
|
|
152
|
+
};
|
|
153
|
+
this.debounce > 0 ? this._debounceTimeout = setTimeout(e, this.debounce) : e();
|
|
154
|
+
}
|
|
155
|
+
_isGroup(e) {
|
|
156
|
+
return "condition" in e && "filters" in e;
|
|
157
|
+
}
|
|
158
|
+
_toggleCondition(e) {
|
|
159
|
+
e.condition = e.condition === "AND" ? "OR" : "AND", this.requestUpdate(), this._sendChangeEvent();
|
|
160
|
+
}
|
|
161
|
+
_addFilter(e) {
|
|
162
|
+
if (this._isDatasetIdsEmpty) return;
|
|
163
|
+
let t = e;
|
|
164
|
+
t ||= (this._internalFilterGroup ||= this._generateEmptyGroup(), this._internalFilterGroup), t.filters.push(this._generateEmptyFilter()), this.requestUpdate(), this._sendChangeEvent();
|
|
165
|
+
}
|
|
166
|
+
_addSubGroup(e) {
|
|
167
|
+
if (this._isDatasetIdsEmpty) return;
|
|
168
|
+
let t = this._generateEmptyGroup();
|
|
169
|
+
t.condition = e.condition === "AND" ? "OR" : "AND", t.filters.push(this._generateEmptyFilter()), e.filters.push(t), this.requestUpdate(), this._sendChangeEvent();
|
|
170
|
+
}
|
|
171
|
+
_removeFilter(e, t) {
|
|
172
|
+
if (this._internalFilterGroup) {
|
|
173
|
+
if (e.filters.splice(t, 1), e !== this._internalFilterGroup && e.filters.length === 0) {
|
|
174
|
+
let t = this._findParentGroup(this._internalFilterGroup, e);
|
|
175
|
+
if (t) {
|
|
176
|
+
let n = t.filters.indexOf(e);
|
|
177
|
+
n !== -1 && t.filters.splice(n, 1);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
this._collapseGroupsAfterDelete(), this.requestUpdate(), this._sendChangeEvent();
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
_updateFilter(e, t, n) {
|
|
184
|
+
n.stopPropagation(), this._isGroup(e.filters[t]) || (e.filters[t] = n.detail.filter, this._sendChangeEvent());
|
|
185
|
+
}
|
|
186
|
+
_addGroup() {
|
|
187
|
+
if (this._isDatasetIdsEmpty) return;
|
|
188
|
+
this._internalFilterGroup ||= this._generateEmptyGroup();
|
|
189
|
+
let e = this._generateEmptyGroup();
|
|
190
|
+
e.condition = this._internalFilterGroup.condition === "AND" ? "OR" : "AND", e.filters.push(this._internalFilterGroup);
|
|
191
|
+
let t = this._generateEmptyGroup();
|
|
192
|
+
t.condition = e.condition === "AND" ? "OR" : "AND", t.filters.push(this._generateEmptyFilter()), e.filters.push(t), this._internalFilterGroup = e, this.requestUpdate(), this._sendChangeEvent();
|
|
193
|
+
}
|
|
194
|
+
_renderFilterItem(e, t, n) {
|
|
195
|
+
return i`
|
|
196
|
+
<div class="filter-item-wrapper">
|
|
197
|
+
<div class="filter-item-content">
|
|
198
|
+
<luzmo-filter-item
|
|
199
|
+
.apiUrl=${this.apiUrl}
|
|
200
|
+
.authKey=${this.authKey}
|
|
201
|
+
.authToken=${this.authToken}
|
|
202
|
+
.cacheTime=${this.cacheTime}
|
|
203
|
+
.language=${this.language}
|
|
204
|
+
.contentLanguage=${this.contentLanguage}
|
|
205
|
+
.timeZone=${this.timeZone}
|
|
206
|
+
.datasetIds=${this.datasetIds}
|
|
207
|
+
.filter=${e}
|
|
208
|
+
.size=${this.size}
|
|
209
|
+
@luzmo-filter-changed=${this._updateFilter.bind(this, t, n)}
|
|
210
|
+
></luzmo-filter-item>
|
|
211
|
+
<luzmo-action-button
|
|
212
|
+
class="delete-filter-button"
|
|
213
|
+
.size=${this.size}
|
|
214
|
+
quiet
|
|
215
|
+
.label=${l("Remove filter", { desc: "Aria label for remove filter button" })}
|
|
216
|
+
@click=${this._removeFilter.bind(this, t, n)}
|
|
217
|
+
>
|
|
218
|
+
<luzmo-icon slot="icon" .icon=${r} .size=${this.size}></luzmo-icon>
|
|
219
|
+
</luzmo-action-button>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
`;
|
|
223
|
+
}
|
|
224
|
+
_renderGroup(e, t = !1) {
|
|
225
|
+
let r = e.filters.length > 0, a = e.filters.length > 1, o = w[e.condition]?.() ?? e.condition;
|
|
226
|
+
return i`
|
|
227
|
+
<div class="filter-group ${t ? "nested" : ""}" role="group">
|
|
228
|
+
${t ? i`
|
|
229
|
+
<div class="condition-wrapper">
|
|
230
|
+
${a ? i`
|
|
231
|
+
<luzmo-action-button
|
|
232
|
+
class="condition-badge"
|
|
233
|
+
.size=${this._oneSizeSmaller}
|
|
234
|
+
quiet
|
|
235
|
+
aria-pressed=${e.condition === "AND" ? "true" : "false"}
|
|
236
|
+
.label=${l("Toggle filter condition, currently ", { desc: "Aria label prefix for filter condition toggle" }) + o}
|
|
237
|
+
@click=${this._toggleCondition.bind(this, e)}
|
|
238
|
+
>
|
|
239
|
+
${o}
|
|
240
|
+
</luzmo-action-button>
|
|
241
|
+
` : ""}
|
|
242
|
+
</div>
|
|
243
|
+
` : a ? i`
|
|
244
|
+
<div class="condition-wrapper">
|
|
245
|
+
<luzmo-action-button
|
|
246
|
+
class="condition-badge"
|
|
247
|
+
.size=${this._oneSizeSmaller}
|
|
248
|
+
quiet
|
|
249
|
+
aria-pressed=${e.condition === "AND" ? "true" : "false"}
|
|
250
|
+
.label=${l("Toggle filter condition, currently ", { desc: "Aria label prefix for filter condition toggle" }) + o}
|
|
251
|
+
@click=${this._toggleCondition.bind(this, e)}
|
|
252
|
+
>
|
|
253
|
+
${o}
|
|
254
|
+
</luzmo-action-button>
|
|
255
|
+
</div>
|
|
256
|
+
` : ""}
|
|
257
|
+
<div class="group-content">
|
|
258
|
+
${r ? i`
|
|
259
|
+
<div class="filters-list">
|
|
260
|
+
${u(e.filters, (e, t) => t, (t, n) => i`
|
|
261
|
+
${this._isGroup(t) ? this._renderGroup(t, !0) : this._renderFilterItem(t, e, n)}
|
|
262
|
+
`)}
|
|
263
|
+
</div>
|
|
264
|
+
` : ""}
|
|
265
|
+
|
|
266
|
+
<div class="group-actions">
|
|
267
|
+
<luzmo-action-button
|
|
268
|
+
class="add-filter-button"
|
|
269
|
+
.size=${this.size}
|
|
270
|
+
quiet
|
|
271
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
272
|
+
@click=${this._addFilter.bind(this, e)}
|
|
273
|
+
>
|
|
274
|
+
<luzmo-icon slot="icon" .icon=${n} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
275
|
+
${l("Filter", { desc: "Add filter button label" })}
|
|
276
|
+
</luzmo-action-button>
|
|
277
|
+
|
|
278
|
+
<luzmo-action-button
|
|
279
|
+
class="add-subgroup-button"
|
|
280
|
+
.size=${this.size}
|
|
281
|
+
quiet
|
|
282
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
283
|
+
@click=${this._addSubGroup.bind(this, e)}
|
|
284
|
+
>
|
|
285
|
+
<luzmo-icon slot="icon" .icon=${n} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
286
|
+
${l("Subgroup", { desc: "Add subgroup button label" })}
|
|
287
|
+
</luzmo-action-button>
|
|
288
|
+
</div>
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
`;
|
|
292
|
+
}
|
|
293
|
+
_findParentGroup(e, t) {
|
|
294
|
+
for (let n of e.filters) {
|
|
295
|
+
if (n === t) return e;
|
|
296
|
+
if (this._isGroup(n)) {
|
|
297
|
+
let e = this._findParentGroup(n, t);
|
|
298
|
+
if (e) return e;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
return null;
|
|
302
|
+
}
|
|
303
|
+
_collapseIfNeeded(e) {
|
|
304
|
+
if (e.filters.length === 1 && this._isGroup(e.filters[0])) {
|
|
305
|
+
let t = e.filters[0];
|
|
306
|
+
e.condition = t.condition, e.filters = t.filters;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
_collapseGroupsAfterDelete() {
|
|
310
|
+
if (!this._internalFilterGroup) return;
|
|
311
|
+
let e = (t) => {
|
|
312
|
+
for (let n of t.filters) this._isGroup(n) && e(n);
|
|
313
|
+
this._collapseIfNeeded(t);
|
|
314
|
+
};
|
|
315
|
+
e(this._internalFilterGroup);
|
|
316
|
+
}
|
|
317
|
+
render() {
|
|
318
|
+
if (this._isDatasetIdsEmpty) return i`
|
|
319
|
+
<div class="filter-group-container">
|
|
320
|
+
<div class="dataset-ids-empty-message" role="status">
|
|
321
|
+
${l("Cannot retrieve dataset data fields", { desc: "Error message when datasetIds is empty" })}
|
|
322
|
+
</div>
|
|
323
|
+
</div>
|
|
324
|
+
`;
|
|
325
|
+
if (!this._internalFilterGroup || this._internalFilterGroup.filters.length === 0) return i`
|
|
326
|
+
<div class="filter-group-container">
|
|
327
|
+
<luzmo-button
|
|
328
|
+
class="add-filter-button"
|
|
329
|
+
.size=${this.size}
|
|
330
|
+
treatment="outline"
|
|
331
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
332
|
+
@click=${() => this._addFilter()}
|
|
333
|
+
>
|
|
334
|
+
<luzmo-icon slot="icon" .icon=${n} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
335
|
+
${l("Add filter", { desc: "Add filter button label" })}
|
|
336
|
+
</luzmo-button>
|
|
337
|
+
</div>
|
|
338
|
+
`;
|
|
339
|
+
let e = this._internalFilterGroup.filters.length > 1;
|
|
340
|
+
return i`
|
|
341
|
+
<div class="filter-group-container">
|
|
342
|
+
${this._renderGroup(this._internalFilterGroup)}
|
|
343
|
+
|
|
344
|
+
${e ? i`
|
|
345
|
+
<div class="add-root-group-container">
|
|
346
|
+
<luzmo-button
|
|
347
|
+
class="add-group-button"
|
|
348
|
+
.size=${this.size}
|
|
349
|
+
treatment="outline"
|
|
350
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
351
|
+
@click=${this._addGroup}
|
|
352
|
+
>
|
|
353
|
+
<luzmo-icon slot="icon" .icon=${n} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
354
|
+
${l("Group", { desc: "Add group button label" })}
|
|
355
|
+
</luzmo-button>
|
|
356
|
+
</div>
|
|
357
|
+
` : ""}
|
|
358
|
+
</div>
|
|
359
|
+
`;
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
//#endregion
|
|
363
|
+
//#region src/components/filters/index.ts
|
|
364
|
+
e([o({
|
|
365
|
+
type: String,
|
|
366
|
+
attribute: "api-url",
|
|
367
|
+
reflect: !0
|
|
368
|
+
})], T.prototype, "apiUrl", void 0), e([o({
|
|
369
|
+
type: String,
|
|
370
|
+
attribute: "auth-key",
|
|
371
|
+
reflect: !0
|
|
372
|
+
})], T.prototype, "authKey", void 0), e([o({
|
|
373
|
+
type: String,
|
|
374
|
+
attribute: "auth-token",
|
|
375
|
+
reflect: !0
|
|
376
|
+
})], T.prototype, "authToken", void 0), e([o({
|
|
377
|
+
type: Number,
|
|
378
|
+
attribute: "cache-time",
|
|
379
|
+
reflect: !0
|
|
380
|
+
})], T.prototype, "cacheTime", void 0), e([o({
|
|
381
|
+
type: String,
|
|
382
|
+
attribute: "content-language",
|
|
383
|
+
reflect: !0
|
|
384
|
+
})], T.prototype, "contentLanguage", void 0), e([o({
|
|
385
|
+
type: String,
|
|
386
|
+
attribute: "time-zone",
|
|
387
|
+
reflect: !0
|
|
388
|
+
})], T.prototype, "timeZone", void 0), e([o({
|
|
389
|
+
type: Array,
|
|
390
|
+
attribute: "dataset-ids",
|
|
391
|
+
reflect: !0
|
|
392
|
+
})], T.prototype, "datasetIds", void 0), e([o({
|
|
393
|
+
type: Array,
|
|
394
|
+
reflect: !1
|
|
395
|
+
})], T.prototype, "filters", void 0), e([o({
|
|
396
|
+
type: Number,
|
|
397
|
+
reflect: !0
|
|
398
|
+
})], T.prototype, "debounce", void 0), e([s()], T.prototype, "_internalFilterGroup", void 0), T = e([c()], T), customElements.get("luzmo-filters") || customElements.define("luzmo-filters", T);
|
|
399
|
+
//#endregion
|
|
400
|
+
export { T as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
const e=require("./type-check-BehV9ZL1.cjs"),t=require("./localize-D3i4Epy_.cjs"),n=require("./decompose-numeric-format-DGJua3rU.cjs");function r(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function i(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function a(e){return e=i(Math.abs(e)),e?e[1]:NaN}function o(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function s(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var c=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function l(e){if(!(t=c.exec(e)))throw Error(`invalid format: `+e);var t;return new u({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}l.prototype=u.prototype;function u(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}u.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function d(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var f;function p(e,t){var n=i(e,t);if(!n)return f=void 0,e.toPrecision(t);var r=n[0],a=n[1],o=a-(f=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,s=r.length;return o===s?r:o>s?r+Array(o-s+1).join(`0`):o>0?r.slice(0,o)+`.`+r.slice(o):`0.`+Array(1-o).join(`0`)+i(e,Math.max(0,t+o-1))[0]}function m(e,t){var n=i(e,t);if(!n)return e+``;var r=n[0],a=n[1];return a<0?`0.`+Array(-a).join(`0`)+r:r.length>a+1?r.slice(0,a+1)+`.`+r.slice(a+1):r+Array(a-r.length+2).join(`0`)}var h={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:r,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>m(e*100,t),r:m,s:p,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function g(e){return e}var _=Array.prototype.map,v=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function y(e){var t=e.grouping===void 0||e.thousands===void 0?g:o(_.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,c=e.numerals===void 0?g:s(_.call(e.numerals,String)),u=e.percent===void 0?`%`:e.percent+``,p=e.minus===void 0?`−`:e.minus+``,m=e.nan===void 0?`NaN`:e.nan+``;function y(e,a){e=l(e);var o=e.fill,s=e.align,g=e.sign,_=e.symbol,y=e.zero,b=e.width,x=e.comma,S=e.precision,C=e.trim,w=e.type;w===`n`?(x=!0,w=`g`):h[w]||(S===void 0&&(S=12),C=!0,w=`g`),(y||o===`0`&&s===`=`)&&(y=!0,o=`0`,s=`=`);var T=(a&&a.prefix!==void 0?a.prefix:``)+(_===`$`?n:_===`#`&&/[boxX]/.test(w)?`0`+w.toLowerCase():``),E=(_===`$`?r:/[%p]/.test(w)?u:``)+(a&&a.suffix!==void 0?a.suffix:``),D=h[w],O=/[defgprs%]/.test(w);S=S===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,S)):Math.max(0,Math.min(20,S));function k(e){var n=T,r=E,a,l,u;if(w===`c`)r=D(e)+r,e=``;else{e=+e;var h=e<0||1/e<0;if(e=isNaN(e)?m:D(Math.abs(e),S),C&&(e=d(e)),h&&+e==0&&g!==`+`&&(h=!1),n=(h?g===`(`?g:p:g===`-`||g===`(`?``:g)+n,r=(w===`s`&&!isNaN(e)&&f!==void 0?v[8+f/3]:``)+r+(h&&g===`(`?`)`:``),O){for(a=-1,l=e.length;++a<l;)if(u=e.charCodeAt(a),48>u||u>57){r=(u===46?i+e.slice(a+1):e.slice(a))+r,e=e.slice(0,a);break}}}x&&!y&&(e=t(e,1/0));var _=n.length+e.length+r.length,k=_<b?Array(b-_+1).join(o):``;switch(x&&y&&(e=t(k+e,k.length?b-r.length:1/0),k=``),s){case`<`:e=n+e+r+k;break;case`=`:e=n+k+e+r;break;case`^`:e=k.slice(0,_=k.length>>1)+n+e+r+k.slice(_);break;default:e=k+n+e+r;break}return c(e)}return k.toString=function(){return e+``},k}function b(e,t){var n=Math.max(-8,Math.min(8,Math.floor(a(t)/3)))*3,r=10**-n,i=y((e=l(e),e.type=`f`,e),{suffix:v[8+n/3]});return function(e){return i(r*e)}}return{format:y,formatPrefix:b}}var b=new Date,x=new Date;function S(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>S(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(b.setTime(+t),x.setTime(+r),e(b),e(x),Math.floor(n(b,x))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var C=1e3,w=C*60,T=w*60,E=T*24,D=E*7;E*30,E*365;var O=S(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*C)},(e,t)=>(t-e)/C,e=>e.getUTCSeconds());O.range;var k=S(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*C)},(e,t)=>{e.setTime(+e+t*w)},(e,t)=>(t-e)/w,e=>e.getMinutes());k.range,S(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*w)},(e,t)=>(t-e)/w,e=>e.getUTCMinutes()).range;var A=S(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*C-e.getMinutes()*w)},(e,t)=>{e.setTime(+e+t*T)},(e,t)=>(t-e)/T,e=>e.getHours());A.range,S(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*T)},(e,t)=>(t-e)/T,e=>e.getUTCHours()).range;var j=S(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*w)/E,e=>e.getDate()-1);j.range;var M=S(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/E,e=>e.getUTCDate()-1);M.range,S(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/E,e=>Math.floor(e/E)).range;function N(e){return S(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*w)/D)}var P=N(0),F=N(1),ee=N(2),te=N(3),I=N(4),ne=N(5),re=N(6);P.range,F.range,ee.range,te.range,I.range,ne.range,re.range;function L(e){return S(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/D)}var R=L(0),z=L(1),ie=L(2),ae=L(3),B=L(4),oe=L(5),se=L(6);R.range,z.range,ie.range,ae.range,B.range,oe.range,se.range;var ce=S(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());ce.range,S(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth()).range;var V=S(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());V.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:S(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),V.range;var H=S(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());H.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:S(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),H.range;function U(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function W(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function G(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function K(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=Y(i),u=X(i),d=Y(a),f=X(a),p=Y(o),m=X(o),h=Y(s),g=X(s),_=Y(c),v=X(c),y={a:ee,A:te,b:I,B:ne,c:null,d:Ne,e:Ne,f:Re,g:Ye,G:Ze,H:Pe,I:Fe,j:Ie,L:Le,m:ze,M:Be,p:re,q:L,Q:bt,s:xt,S:Ve,u:He,U:Ue,V:Ge,w:Ke,W:qe,x:null,X:null,y:Je,Y:Xe,Z:Qe,"%":yt},b={a:R,A:ie,b:ae,B,c:null,d:$e,e:$e,f:it,g:ht,G:_t,H:et,I:tt,j:nt,L:rt,m:at,M:ot,p:oe,q:se,Q:bt,s:xt,S:st,u:ct,U:lt,V:dt,w:ft,W:pt,x:null,X:null,y:mt,Y:gt,Z:vt,"%":yt},x={a:E,A:D,b:O,B:k,c:A,d:Ce,e:Ce,f:ke,g:ye,G:ve,H:Te,I:Te,j:we,L:Oe,m:Se,M:Ee,p:T,q:xe,Q:je,s:Me,S:De,u:me,U:he,V:ge,w:pe,W:_e,x:N,X:P,y:ye,Y:ve,Z:be,"%":Ae};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=le[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=G(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=W(G(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?z.ceil(a):z(a),a=M.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=U(G(r.y,0,1)),o=a.getDay(),a=o>4||o===0?F.ceil(a):F(a),a=j.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?W(G(r.y,0,1)).getUTCDay():U(G(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,W(r)):U(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in le?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function N(e,t,r){return w(e,n,t,r)}function P(e,t,n){return w(e,r,t,n)}function ee(e){return o[e.getDay()]}function te(e){return a[e.getDay()]}function I(e){return c[e.getMonth()]}function ne(e){return s[e.getMonth()]}function re(e){return i[+(e.getHours()>=12)]}function L(e){return 1+~~(e.getMonth()/3)}function R(e){return o[e.getUTCDay()]}function ie(e){return a[e.getUTCDay()]}function ae(e){return c[e.getUTCMonth()]}function B(e){return s[e.getUTCMonth()]}function oe(e){return i[+(e.getUTCHours()>=12)]}function se(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var le={"-":``,_:` `,0:`0`},q=/^\s*\d+/,ue=/^%/,de=/[\\^$*+?|[\]().{}]/g;function J(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function fe(e){return e.replace(de,`\\$&`)}function Y(e){return RegExp(`^(?:`+e.map(fe).join(`|`)+`)`,`i`)}function X(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function pe(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function me(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function he(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function ge(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function _e(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function ve(e,t,n){var r=q.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function ye(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function be(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function xe(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Se(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ce(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function we(e,t,n){var r=q.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Te(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ee(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function De(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Oe(e,t,n){var r=q.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ke(e,t,n){var r=q.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ae(e,t,n){var r=ue.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function je(e,t,n){var r=q.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Me(e,t,n){var r=q.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Ne(e,t){return J(e.getDate(),t,2)}function Pe(e,t){return J(e.getHours(),t,2)}function Fe(e,t){return J(e.getHours()%12||12,t,2)}function Ie(e,t){return J(1+j.count(V(e),e),t,3)}function Le(e,t){return J(e.getMilliseconds(),t,3)}function Re(e,t){return Le(e,t)+`000`}function ze(e,t){return J(e.getMonth()+1,t,2)}function Be(e,t){return J(e.getMinutes(),t,2)}function Ve(e,t){return J(e.getSeconds(),t,2)}function He(e){var t=e.getDay();return t===0?7:t}function Ue(e,t){return J(P.count(V(e)-1,e),t,2)}function We(e){var t=e.getDay();return t>=4||t===0?I(e):I.ceil(e)}function Ge(e,t){return e=We(e),J(I.count(V(e),e)+(V(e).getDay()===4),t,2)}function Ke(e){return e.getDay()}function qe(e,t){return J(F.count(V(e)-1,e),t,2)}function Je(e,t){return J(e.getFullYear()%100,t,2)}function Ye(e,t){return e=We(e),J(e.getFullYear()%100,t,2)}function Xe(e,t){return J(e.getFullYear()%1e4,t,4)}function Ze(e,t){var n=e.getDay();return e=n>=4||n===0?I(e):I.ceil(e),J(e.getFullYear()%1e4,t,4)}function Qe(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+J(t/60|0,`0`,2)+J(t%60,`0`,2)}function $e(e,t){return J(e.getUTCDate(),t,2)}function et(e,t){return J(e.getUTCHours(),t,2)}function tt(e,t){return J(e.getUTCHours()%12||12,t,2)}function nt(e,t){return J(1+M.count(H(e),e),t,3)}function rt(e,t){return J(e.getUTCMilliseconds(),t,3)}function it(e,t){return rt(e,t)+`000`}function at(e,t){return J(e.getUTCMonth()+1,t,2)}function ot(e,t){return J(e.getUTCMinutes(),t,2)}function st(e,t){return J(e.getUTCSeconds(),t,2)}function ct(e){var t=e.getUTCDay();return t===0?7:t}function lt(e,t){return J(R.count(H(e)-1,e),t,2)}function ut(e){var t=e.getUTCDay();return t>=4||t===0?B(e):B.ceil(e)}function dt(e,t){return e=ut(e),J(B.count(H(e),e)+(H(e).getUTCDay()===4),t,2)}function ft(e){return e.getUTCDay()}function pt(e,t){return J(z.count(H(e)-1,e),t,2)}function mt(e,t){return J(e.getUTCFullYear()%100,t,2)}function ht(e,t){return e=ut(e),J(e.getUTCFullYear()%100,t,2)}function gt(e,t){return J(e.getUTCFullYear()%1e4,t,4)}function _t(e,t){var n=e.getUTCDay();return e=n>=4||n===0?B(e):B.ceil(e),J(e.getUTCFullYear()%1e4,t,4)}function vt(){return`+0000`}function yt(){return`%`}function bt(e){return+e}function xt(e){return Math.floor(e/1e3)}var Z,Q;St({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function St(e){return Z=K(e),Q=Z.format,Z.parse,Z.utcFormat,Z.utcParse,Z}var $=[[1,4,12,52,365,365*24,365*24*60,365*24*60*60,365*24*60*60*1e3],[1/4,1,3,13,91,2184,2184*60,2184*60*60,2184*60*60*1e3],[1/12,1/3,1,4,30,720,720*60,720*60*60,720*60*60*1e3],[1/52,1/13,1/4,1,7,168,10080,10080*60,10080*60*1e3],[1/365,1/91,1/30,1/7,1,24,1440,1440*60,1440*60*1e3],[1/(365*24),1/2184,1/720,1/168,1/24,1,60,3600,3600*1e3],[1/(365*24*60),1/(2184*60),1/(720*60),1/10080,1/1440,1/60,1,60,60*1e3],[1/(365*24*60*60),1/(2184*60*60),1/(720*60*60),1/(10080*60),1/(1440*60),1/3600,1/60,1,1e3],[1/(365*24*60*60*1e3),1/(2184*60*60*1e3),1/(720*60*60*1e3),1/(10080*60*1e3),1/(1440*60*1e3),1/(3600*1e3),1/(60*1e3),1/1e3,1]];function Ct(t,n,r){if(e.n(t))return;if(!n||!r||n===r)return t;let i=$[n-1][r-1];if(i)return t*i}function wt(t,n,r,i){if(e.n(t)||!n.lowestLevel||r.length===0)return``;let a=[],o=0,s=Math.round(t*$[n.lowestLevel-1][8]);for(let[,e]of r.entries())if(t){s-=o;let t=$[e-1][8],n=Math.floor(s/t);o=n*t,a.push({level:e,value:n})}else a.push({level:e,value:0});let c=``;for(let[e,t]of a.entries())if(n.duration.format===`time`){let n=t.value;[6,7,8].includes(t.level)&&t.value<10?n=`0`+t.value.toString():t.level===9&&t.value<10?n=`00`+t.value.toString():t.level===9&&t.value<100&&(n=`0`+t.value.toString()),c+=(e===0?``:t.level===9?`.`:`:`)+n}else if(n.duration.format===`long`){let n=i.durationLongSuffix;c+=t.value+` `+n[t.level]+(e===a.length-1?``:` `)}else{let n=i.durationShortSuffix;c+=t.value+``+n[t.level]+(e===a.length-1?``:` `)}return c}var Tt={decimal:`.`,thousands:`,`,grouping:[3],currency:[`$`,``],dateTime:`%a %b %e %X %Y`,date:`%m/%d/%Y`,dateSeparator:`/`,time:`%H:%M:%S`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],levels:[`All`,`Year`,`Quarter`,`Month`,`Week`,`Date`,`Hour`,`Minute`,`Second`,`Millisecond`],shortLevels:[`All`,`Yr`,`Qtr`,`Mth`,`Wk`,`Date`,`Hr`,`Min`,`Sec`,`Msec`],durationLongSuffix:[``,`years`,`quarters`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`],durationShortSuffix:[``,`y`,`q`,`mo`,`w`,`d`,`h`,`m`,`s`,`ms`],multi:[`.%L`,`:%S`,`%I:%M`,`%I %p`,`%a %d`,`W%G`,`%b %d`,`%B`,`%Y`]},Et=`%d-%m-%Y`,Dt=[{key:`%a %e %b %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%b %Y`,lev4:`Wk %V-%G`,lev5:`%a %e %b %Y`,monthType:`name`,longText:!1,weekday:!0},{key:`%e %b %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%b %Y`,lev4:`Wk %V-%G`,lev5:`%e %b %Y`,monthType:`name`,longText:!1,weekday:!1},{key:`%a %e %B %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%B %Y`,lev4:`Week %V, %G`,lev5:`%a %e %B %Y`,monthType:`name`,longText:!0,weekday:!0},{key:`%e %B %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%B %Y`,lev4:`Week %V, %G`,lev5:`%e %B %Y`,monthType:`name`,longText:!0,weekday:!1},{key:`%d/%m/%Y`,lev1:`%Y`,lev2:`Q%q/%Y`,lev3:`%m/%Y`,lev4:`W%V/%G`,lev5:`%d/%m/%Y`,monthType:`number`,mmdd:!1,separator:`/`},{key:`%d-%m-%Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%m-%Y`,lev4:`W%V-%G`,lev5:`%d-%m-%Y`,monthType:`number`,mmdd:!1,separator:`-`},{key:`%d.%m.%Y`,lev1:`%Y`,lev2:`Q%q.%Y`,lev3:`%m.%Y`,lev4:`W%V.%G`,lev5:`%d.%m.%Y`,monthType:`number`,mmdd:!1,separator:`.`},{key:`%d~%m~%Y`,lev1:`%Y`,lev2:`Q%q~%Y`,lev3:`%m~%Y`,lev4:`W%V~%G`,lev5:`%d~%m~%Y`,monthType:`number`,mmdd:!1,separator:`~`},{key:`%m/%d/%Y`,lev1:`%Y`,lev2:`Q%q/%Y`,lev3:`%m/%Y`,lev4:`%G/W%V`,lev5:`%m/%d/%Y`,monthType:`number`,mmdd:!0,separator:`/`},{key:`%m-%d-%Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%m-%Y`,lev4:`%G-W%V`,lev5:`%m-%d-%Y`,monthType:`number`,mmdd:!0,separator:`-`},{key:`%m.%d.%Y`,lev1:`%Y`,lev2:`Q%q.%Y`,lev3:`%m.%Y`,lev4:`%G.W%V`,lev5:`%m.%d.%Y`,monthType:`number`,mmdd:!0,separator:`.`},{key:`%m~%d~%Y`,lev1:`%Y`,lev2:`Q%q~%Y`,lev3:`%m~%Y`,lev4:`%G~W%V`,lev5:`%m~%d~%Y`,monthType:`number`,mmdd:!0,separator:`~`},{key:`%amd/%Y`,lev1:`%Y`,lev2:`Q%q/%Y`,lev3:`%m/%Y`,lev4:`%G/W%V`,lev5:`%amd/%Y`,monthType:`number`,mmdd:null,separator:`/`},{key:`%amd-%Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%m-%Y`,lev4:`%G-W%V`,lev5:`%amd-%Y`,monthType:`number`,mmdd:null,separator:`-`},{key:`%amd.%Y`,lev1:`%Y`,lev2:`Q%q.%Y`,lev3:`%m.%Y`,lev4:`%G.W%V`,lev5:`%amd.%Y`,monthType:`number`,mmdd:null,separator:`.`},{key:`%amd~%Y`,lev1:`%Y`,lev2:`Q%q~%Y`,lev3:`%m~%Y`,lev4:`%G~W%V`,lev5:`%amd~%Y`,monthType:`number`,mmdd:null,separator:`~`}],Ot=[{key:`%H:%M:%S.%L`,lev6:`%H:00`,lev7:`%H:%M`,lev8:`%H:%M:%S`,lev9:`%H:%M:%S.%L`,ampm:!1},{key:`%I:%M:%S.%L %p`,lev6:`%I:00 %p`,lev7:`%I:%M %p`,lev8:`%I:%M:%S %p`,lev9:`%I:%M:%S.%L %p`,ampm:!0}],kt=(e,t,n)=>t===`letter`?e.shortNames?.length>0&&e.shortNames[n]?.length>0?e.shortNames[n]?.charAt(0):`N/A`:t===`short`?e.shortNames?.length>0&&e.shortNames[n]?e.shortNames[n]:`N/A`:e.longNames?.length>0&&e.longNames[n]?e.longNames[n]:`N/A`;function At(r,i){i||={};let a=i.localFormats||Tt,o,s,c,l=[],u=[],d=`datetime`,f;i&&i.multi&&(d=`datetime`),(!r||!r.format)&&(d=`hierarchy`),r&&r.type&&(d=r.type),f=r&&r.format?r.format:d===`numeric`?`,.0f`:d===`datetime`?Et:``;let p=n.t(f);switch(p.precision&&p.typeFormat&&(d=`numeric`),d){case`numeric`:if(r.subtype===`duration`&&r.duration&&r.duration.levels&&r.duration.levels.length>1&&!i.hideDuration)o=t=>e.n(t)?``:wt(t,r,r.duration.levels,a);else{let t={...a},n=p.typeFormat,c=!1;switch(n.length===2&&n.startsWith(`a`)&&(c=!0,n=n.slice(1,2),f=f.replace(/a/,``)),c?(t.decimal=a.decimal,t.thousands=a.thousands):[`z`,`y`,`w`].includes(n)?(t.decimal=`,`,t.thousands=`.`):(t.decimal=`.`,t.thousands=`,`),n){case`z`:f=f.replace(`z`,`f`);break;case`y`:f=f.replace(`y`,`%`);break;case`w`:f=f.replace(`w`,`s`);break}if(r?.subtype===`currency`&&r.currency){let e=t.currency.findIndex(e=>e.length>0),n=t.currency[e].startsWith(`\xA0`),i=t.currency[e].endsWith(`\xA0`),a=`${n?`\xA0`:``}${r.currency}${i?`\xA0`:``}`;t.currency[e]=a}let l=y(t);n!==`%`&&r?.subtype===`currency`&&r.currency&&t.currency&&!i?.hideCurrency&&![`count`,`distinctcount`].includes(r.aggregationFunc)&&!(r.aggregationFunc===`rate`&&r.aggregationWeight?.columnSubType===`currency`)&&r.periodOverPeriod?.type!==`percentageChange`&&(f=`$`+f),s=i?.trimZero&&[`y`,`%`].includes(n)&&t.decimal===`,`?e=>l.format(f)(e).replace(/(,\d*?)0+%$/,`$1%`).replace(/,%$/,`%`):i?.trimZero&&[`y`,`%`].includes(n)&&t.decimal===`.`?e=>l.format(f)(e).replace(/(\.\d*?)0+%$/,`$1%`).replace(/\.%$/,`%`):i?.trimZero&&[`z`,`f`].includes(n)&&t.decimal===`,`?e=>l.format(f)(e).replace(/(,\d*?)0+$/,`$1`).replace(/,$/,``):i?.trimZero&&[`z`,`f`].includes(n)&&t.decimal===`.`?e=>l.format(f)(e).replace(/(\.\d*?)0+$/,`$1`).replace(/\.$/,``):r?.subtype===`currency`&&r.currency&&t.currency&&n===`s`?e=>l.format(f)(e).replace(/G/,`B`):e.n(p.precision)?l.format(`,.0f`):l.format(f),o=t=>{if(e.n(t))return``;if(r.subtype===`duration`&&r.duration&&!i.hideDuration){let e=r.duration.levels?r.duration.levels[0]:r.lowestLevel;return e!==r.lowestLevel&&(t=Ct(t,r.lowestLevel,e)),s(t)+a?.durationShortSuffix?.[e]}return s(t)}}break;case`datetime`:if(l=a?.smartDateFormats??Dt,u=a?.smartTimeFormats??Ot,e.n(r.datetimeDisplayMode)||r.datetimeDisplayMode==="default"){if(i?.level){let e=i.level,t=l.find(e=>f.includes(e.key)),n=u.find(e=>f.includes(e.key)),r=t?t[`lev`+Math.min(e,5)]:l[0][`lev`+Math.min(e,5)],o=e>5?n?n[`lev`+e]:u[0][`lev`+e]:``;f=e>5?r+`, `+o:r;let s=f.includes(`%amd`)&&i.level>=5,c=t?i.level>=2&&t.separator===`~`:!1;f=s?c?f.replaceAll(/%amd[.~/-]%Y/g,a.date.slice(0,8)):f.replaceAll(/%amd[.~/-]%Y/g,a.date.slice(0,8).replaceAll(/[.~/-]/g,t.separator)):c?f.replaceAll(/[~]/g,a.dateSeparator):f}if(i?.multi){let e=Q(a.multi[0]),t=Q(a.multi[1]),n=Q(a.multi[2]),r=Q(a.multi[3]),i=Q(a.multi[4]),o=Q(a.multi[6]),s=Q(a.multi[7]),l=Q(a.multi[8]);c=a=>{let c;return c=O(a)<a?e:k(a)<a?t:A(a)<a?n:j(a)<a?r:ce(a)<a?P(a)<a?i:o:V(a)<a?s:l,c(a)}}else c=K(a).format(f)}else{let t={quarter_number:{min:1,max:4},month_name:{min:1,max:12},month_number:{min:1,max:12},week_number:{min:1,max:53},day_in_month:{min:1,max:31},day_in_year:{min:1,max:366},weekday_name:{min:0,max:7},weekday_number:{min:0,max:7},hour_in_day:{min:0,max:23},minute_in_hour:{min:0,max:59},second_in_minute:{min:0,max:59}};c=[`quarter_number`,`month_number`,`week_number`,`day_in_month`,`day_in_year`,`weekday_number`,`hour_in_day`,`minute_in_hour`,`second_in_minute`].includes(r.datetimeDisplayMode)?n=>e.i(n)&&n>=t[r.datetimeDisplayMode].min&&n<=t[r.datetimeDisplayMode].max?n:`N/A`:r.datetimeDisplayMode===`month_name`?n=>{let i=[...a.shortMonths],o=[...a.months];return e.i(n)&&n>=t[r.datetimeDisplayMode].min&&n<=t[r.datetimeDisplayMode].max?kt({shortNames:i,longNames:o},r.monthNameFormat,n-1):`N/A`}:r.datetimeDisplayMode===`weekday_name`?n=>{let i=[...a.shortDays],o=[...a.days];return r.weekStart===`monday`&&(i.push(i.shift()??``),o.push(o.shift()??``)),e.i(n)&&n>=t[r.datetimeDisplayMode].min&&n<=t[r.datetimeDisplayMode].max?kt({shortNames:i,longNames:o},r.weekDayNameFormat,n-1):`N/A`}:K(a).format(f)}o=t=>{if(e.n(t))return``;let n=c(t);return e.o(n)?n.trim():n};break;case`hierarchy`:o=e=>t.t(e,i?i.locale:void 0);break;default:o=e=>e;break}return o}Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return Tt}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Et}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Dt}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return At}});
|
|
@@ -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("../formula
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../formula--lwYaW2w.cjs");Object.defineProperty(exports,"LuzmoFormula",{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 "../formula-
|
|
27
|
+
import { t as e } from "../formula-Ekyv6mpo.js";
|
|
28
28
|
export { e as LuzmoFormula };
|
|
@@ -0,0 +1,45 @@
|
|
|
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("./calculate-data-field-icon-DenGmW74.cjs"),n=require("./localize-D3i4Epy_.cjs"),r=require("./formula-display-store-BunPLkc0.cjs"),i=require("./groupings-Wfp8piEu.cjs"),a=require("./resolve-column-presentation-DUETRVCH.cjs");let o=require("@luzmo/icons");require("@luzmo/lucero/icon");let s=require("lit"),c=require("lit/decorators.js"),l=require("@lit/localize");require("@luzmo/lucero/progress-circle");var u=`:host{box-sizing:border-box;font-family:var(--luzmo-font-family);color:var(--luzmo-font-color);display:inline-block}.formula-text{font-size:var(--luzmo-formula-font-size,var(--luzmo-font-size));white-space:pre-wrap;word-break:break-word;line-height:1.5}.formula-text-column{white-space:nowrap}.formula-text-column-icon{margin-inline-end:var(--luzmo-spacing-1)}.formula-pills{align-items:center;gap:var(--luzmo-spacing-1) 0;font-size:var(--luzmo-formula-font-size,var(--luzmo-font-size));flex-wrap:wrap;line-height:1.5;display:inline-flex}.formula-operator{white-space:pre-wrap}.column-pill-wrapper{vertical-align:middle;padding-inline-end:var(--luzmo-formula-column-pill-trailing-space,var(--luzmo-spacing-1));display:inline-flex}.column-pill{justify-content:center;align-items:center;gap:var(--luzmo-spacing-2);box-sizing:border-box;max-width:16rem;min-height:var(--luzmo-formula-control-height,1.375rem);padding:0 var(--luzmo-formula-column-pill-padding-inline,calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1)));border-radius:var(--luzmo-border-radius-s);background-color:var(--luzmo-formula-column-pill-background,var(--luzmo-background-color-highlight));color:var(--luzmo-font-color);white-space:nowrap;font-size:.85em;line-height:1.2;display:inline-flex}.column-pill-icon{flex:none;display:inline-flex}.column-pill-label{text-overflow:ellipsis;overflow:hidden}.column-pill-loading{--luzmo-progress-circle-size:1em;align-items:center;display:inline-flex}.agg-pill{padding-block:var(--luzmo-spacing-1);border-radius:var(--luzmo-border-radius);background-color:var(--agg-accent,var(--luzmo-primary));color:var(--luzmo-primary-inverse-color);font-size:var(--luzmo-formula-font-size,var(--luzmo-font-size));vertical-align:middle;padding-inline:0;display:inline-flex}.agg-pill-row{align-items:center;gap:var(--luzmo-spacing-1);min-height:var(--luzmo-formula-control-height,1.375rem);display:inline-flex}.agg-fn{text-transform:uppercase;padding-inline-start:var(--luzmo-spacing-3);padding-inline-end:var(--luzmo-spacing-3);font-size:.85em}.agg-value{min-height:var(--luzmo-formula-control-height,1.375rem);padding:0 var(--luzmo-spacing-2);border-radius:var(--luzmo-border-radius-s);background-color:var(--luzmo-background-color);color:var(--luzmo-font-color);--luzmo-formula-column-pill-background:transparent;--luzmo-formula-column-pill-padding-inline:0px;align-items:center;line-height:1;display:inline-flex}.agg-grouping{align-items:center;gap:var(--luzmo-spacing-1);padding-inline:var(--luzmo-spacing-2) var(--luzmo-spacing-3);font-size:var(--luzmo-formula-grouping-icon-size,var(--luzmo-icon-size-m));display:inline-flex}.agg-grouping--no-value{padding-inline-start:0}.agg-grouping-count{border-radius:var(--luzmo-border-radius-full,999rem);background:var(--luzmo-primary-inverse-color);min-width:1.25em;color:var(--agg-accent,var(--luzmo-primary));font-size:.6875rem;font-weight:var(--luzmo-font-weight-bold);justify-content:center;align-items:center;padding:0 .25em;line-height:1.4;display:inline-flex}:host{--luzmo-formula-font-size:var(--luzmo-font-size);--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-m);--luzmo-formula-control-height:calc(var(--luzmo-component-height) - 2 * var(--luzmo-spacing-1))}:host([size=s]){--luzmo-formula-font-size:var(--luzmo-font-size-s);--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-s);--luzmo-formula-control-height:calc(var(--luzmo-component-height-s) - 2 * var(--luzmo-spacing-1))}:host([size=l]){--luzmo-formula-font-size:var(--luzmo-font-size-l);--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-l);--luzmo-formula-control-height:calc(var(--luzmo-component-height-l) - 2 * var(--luzmo-spacing-1))}:host([size=xl]){--luzmo-formula-font-size:var(--luzmo-font-size-xl);--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-xl);--luzmo-formula-control-height:calc(var(--luzmo-component-height-xl) - 2 * var(--luzmo-spacing-1))}`,d=class extends r.o{constructor(...e){super(...e),this.display=`rich`,this._groupingDataMap=i.n()}static{this.styles=(0,s.unsafeCSS)(u)}_createStore(){return new r.t}_shouldLoadInput(){return!1}_canEmitExpression(){return!1}_applyExternalExpression(){if(this.display===`text`){this._rootContent=``;return}this._store.clearWidgets(),this._rootContent=this._store.transformToAggregationWidgetSyntax(this.expression??``)}willUpdate(e){super.willUpdate(e),e.has(`display`)&&!e.has(`expression`)&&this._applyExternalExpression()}render(){return this.display===`text`?this._renderTextFormula():this._renderPillFormula()}_renderPillFormula(){return s.html`<span class="formula-pills" part="formula">${this._renderPillNodes(this._rootContent)}</span>`}_renderPillNodes(e){let t=[],n=new RegExp(r.h.source,`gm`),i=0,a;for(;(a=n.exec(e))!==null;){a.index>i&&t.push(this._renderOperatorText(e.slice(i,a.index)));let r=a[2],o=a[3];r?t.push(this._renderColumnPill(r)):o&&t.push(this._renderAggregationPill(o)),i=n.lastIndex}return i<e.length&&t.push(this._renderOperatorText(e.slice(i))),t}_renderOperatorText(e){return s.html`<span class="formula-operator">${e}</span>`}_renderColumnPill(e){let[t,n]=e.split(`:`),r=this._datasets.find(e=>e.id===t)?.columns.find(e=>e.columnId===n);if(this._store.loading&&!r){let e=(0,l.msg)(`Loading column`,{desc:`Accessible label for a column pill whose label is still loading`});return s.html`<span class="column-pill-wrapper"
|
|
21
|
+
><span class="column-pill" title=${e}
|
|
22
|
+
><span class="column-pill-loading">
|
|
23
|
+
<luzmo-progress-circle indeterminate size="s" .label=${e}></luzmo-progress-circle></span
|
|
24
|
+
></span
|
|
25
|
+
></span>`}let{icon:i,label:c}=a.t(r,this.contentLanguage,n);return s.html`<span class="column-pill-wrapper"
|
|
26
|
+
><span class="column-pill" title=${c}
|
|
27
|
+
><span class="column-pill-icon">${(0,o.luzmoIcon)(i)}</span
|
|
28
|
+
><span class="column-pill-label">${c}</span></span
|
|
29
|
+
></span>`}_renderAggregationPill(e){let t=this._store.getWidget(e);if(!t)return s.html`${s.nothing}`;let n=this._groupingDataMap[t.grouping],i=n?.color??``,a=this._store.aggregationFunctionDataMap[t.aggregationFunction]?.arity??0,c=n?.label()??``,l=t.grouping===r.g.GROUPINEX?(t.includedColumns?.length??0)+(t.excludedColumns?.length??0):0;return s.html`<span class="agg-pill" style=${i?`--agg-accent: ${i}`:``}>
|
|
30
|
+
<span class="agg-pill-row">
|
|
31
|
+
<span class="agg-fn">${t.aggregationFunction}</span>
|
|
32
|
+
${a>0?s.html`<span class="agg-value">${this._renderPillNodes(t.content)}</span>`:s.nothing}
|
|
33
|
+
<span
|
|
34
|
+
class="agg-grouping${a>0?``:` agg-grouping--no-value`}"
|
|
35
|
+
title=${c}
|
|
36
|
+
aria-label=${c}
|
|
37
|
+
>
|
|
38
|
+
${n?.icon?(0,o.luzmoIcon)(n.icon):s.nothing}
|
|
39
|
+
${l>0?s.html`<span class="agg-grouping-count">${l}</span>`:s.nothing}
|
|
40
|
+
</span>
|
|
41
|
+
</span>
|
|
42
|
+
</span>`}_renderTextFormula(){let e=this.expression??``,t=[],n=new RegExp(r.f.source,`g`),i=0,a;for(;(a=n.exec(e))!==null;){a.index>i&&t.push(e.slice(i,a.index));let[r,o]=a[1].split(`:`);t.push(this._renderColumnReference(r,o)),i=n.lastIndex}return i<e.length&&t.push(e.slice(i)),s.html`<span class="formula-text" part="formula-text">${t}</span>`}_renderColumnReference(e,r){let i=this._datasets.find(t=>t.id===e),a=i?.columns.find(e=>e.columnId===r),c=a?n.t(a.name,this.contentLanguage):r,l=i?n.t(i.name,this.contentLanguage):``;return s.html`<span class="formula-text-column" part="formula-text-column" title=${l?`${l} · ${c}`:c}>
|
|
43
|
+
<span class="formula-text-column-icon">${(0,o.luzmoIcon)(t.t({type:a?.type??`hierarchy`},`s`))}</span>
|
|
44
|
+
<span class="formula-text-column-name">${c}</span>
|
|
45
|
+
</span>`}};e.t([(0,c.property)({type:String,reflect:!0})],d.prototype,`display`,void 0),d=e.t([(0,l.localized)()],d),customElements.get(`luzmo-formula`)||customElements.define(`luzmo-formula`,d),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
|