@luzmo/analytics-components-kit 1.0.9-beta.1 → 1.0.9-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/components/add-to-dashboard/add-to-dashboard.d.ts +134 -0
- package/components/add-to-dashboard/dashboard-actions.d.ts +14 -0
- package/components/add-to-dashboard/helpers/add-to-dashboard-helpers.d.ts +3 -0
- package/components/add-to-dashboard/index.cjs +20 -0
- package/components/add-to-dashboard/index.d.ts +11 -0
- package/components/add-to-dashboard/index.js +21 -0
- package/components/add-to-dashboard/types.d.ts +7 -0
- package/components/add-to-dashboard-BY70QBzE.js +805 -0
- package/components/add-to-dashboard-nYUaDghN.cjs +166 -0
- package/components/ai-chat/ai-chat-request.d.ts +1 -1
- package/components/ai-chat/ai-chat.d.ts +12 -4
- package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +9 -2
- package/components/ai-chat/helpers/elicitation-template.d.ts +3 -1
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.d.ts +2 -2
- package/components/ai-chat/index.js +2 -9
- package/components/ai-chat-DfuJOWao.cjs +338 -0
- package/components/ai-chat-DmDtBF47.js +4325 -0
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +8 -1
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -8
- package/components/ai-interaction-textarea-6ECwAdeT.js +823 -0
- package/components/ai-interaction-textarea-CRyyTj_B.cjs +101 -0
- package/components/area-chart-positioning.config-CoCdjr2E.cjs +20 -0
- package/components/area-chart-positioning.config-o-uJPEr5.js +55 -0
- package/components/bar-chart-positioning.config-CZgrS6lc.js +59 -0
- package/components/bar-chart-positioning.config-fsB82756.cjs +20 -0
- package/components/base-BmvsQ-s1.cjs +20 -0
- package/components/base-CrpOMVeU.js +248 -0
- package/components/base-store-CkIsrRcu.cjs +20 -0
- package/components/base-store-gYqg__8A.js +151 -0
- package/components/box-plot-positioning.config-BMfGGDfe.cjs +20 -0
- package/components/box-plot-positioning.config-CDq460FI.js +48 -0
- package/components/bubble-chart-positioning.config-C9MmTtTX.cjs +20 -0
- package/components/bubble-chart-positioning.config-DWfz4tud.js +55 -0
- package/components/bullet-chart-positioning.config-BwHPM5ui.cjs +20 -0
- package/components/bullet-chart-positioning.config-DmSlVIjL.js +56 -0
- package/components/chart-helpers-DQS2iqSd.js +250 -0
- package/components/chart-helpers-ufZ6VbXs.cjs +20 -0
- package/components/choropleth-map-options.config-CP-IK-4W.js +352 -0
- package/components/choropleth-map-options.config-DSXndhIY.cjs +20 -0
- package/components/choropleth-map-positioning.config-C0m6zzD3.cjs +20 -0
- package/components/choropleth-map-positioning.config-cjBzi_Db.js +55 -0
- package/components/circle-pack-chart-positioning.config-BAFFQSHe.cjs +20 -0
- package/components/circle-pack-chart-positioning.config-CY2rLb57.js +48 -0
- package/components/circular-gauge-positioning.config-6pZUNxYa.js +48 -0
- package/components/circular-gauge-positioning.config-BfWAjAY2.cjs +20 -0
- package/components/color-B7SELPGq.js +3812 -0
- package/components/color-BIEQvHs4.cjs +20 -0
- package/components/color-range-utils-6oEqHV0y.js +63 -0
- package/components/color-range-utils-Bgzuy2bR.cjs +20 -0
- package/components/column-chart-positioning.config-hrAvNd7T.js +55 -0
- package/components/column-chart-positioning.config-xgRuA_l5.cjs +20 -0
- package/components/combination-chart-positioning.config-BI8HroaG.js +48 -0
- package/components/combination-chart-positioning.config-D0TU4hge.cjs +20 -0
- package/components/conditional-number-positioning.config-B_yISWne.cjs +20 -0
- package/components/conditional-number-positioning.config-CWaDhMLA.js +48 -0
- package/components/data-broker-Cb-Fq9xy.cjs +20 -0
- package/components/data-broker-DNfq_8Lg.js +1695 -0
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -8
- package/components/data-field-D4YFqg1H.js +119 -0
- package/components/data-field-Hi-ITTzx.cjs +54 -0
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -8
- package/components/data-field-level-BWQPtFP5.cjs +55 -0
- package/components/data-field-level-CB5GtdU5.js +245 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -8
- package/components/data-field-panel-64HoViNT.js +383 -0
- package/components/data-field-panel-DzKwmQi_.cjs +87 -0
- package/components/data-fields-select/data-fields-select.d.ts +1 -1
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -8
- package/components/data-fields-select-BOwoWq0j.js +290 -0
- package/components/data-fields-select-DXv6PQHG.cjs +43 -0
- package/components/dataset-icon/dataset-icon.d.ts +5 -4
- package/components/dataset-icon/index.cjs +1 -1
- package/components/dataset-icon/index.js +1 -8
- package/components/dataset-icon-Bag_eDv8.js +115 -0
- package/components/dataset-icon-CWKBYjGJ.cjs +62 -0
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -8
- package/components/dataset-selector-list-DFC2bvn0.js +321 -0
- package/components/dataset-selector-list-_AL1-GWw.cjs +75 -0
- package/components/dataset-selector-row/dataset-selector-row.d.ts +10 -1
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -8
- package/components/dataset-selector-row-By2ko-Rd.cjs +104 -0
- package/components/dataset-selector-row-DC6mrVyF.js +448 -0
- package/components/de-CjQMTFtl.cjs +20 -0
- package/components/de-Yl3kqB03.js +594 -0
- package/components/defineProperty-AldSMFEH.js +58 -0
- package/components/defineProperty-X1c4tIPD.cjs +20 -0
- package/components/display-settings/display-settings.d.ts +2 -2
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -8
- package/components/display-settings-B2V_F_CU.cjs +142 -0
- package/components/display-settings-BsCKV9ae.js +316 -0
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -8
- package/components/display-settings-binning-BdtxayZT.cjs +56 -0
- package/components/display-settings-binning-CkrbhPVB.js +111 -0
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -8
- package/components/display-settings-datetime-CpFyrcGk.cjs +217 -0
- package/components/display-settings-datetime-mVh5Tjrx.js +414 -0
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -8
- package/components/display-settings-grand-totals-CwOGoE06.cjs +44 -0
- package/components/display-settings-grand-totals-D7unOEKl.js +90 -0
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -8
- package/components/display-settings-numeric-DDZyFNFF.js +480 -0
- package/components/display-settings-numeric-DhiXPU3f.cjs +190 -0
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +2 -2
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +1 -8
- package/components/display-settings-period-over-period-BNFjbgP0.cjs +227 -0
- package/components/display-settings-period-over-period-Hd172SzT.js +443 -0
- package/components/donut-chart-positioning.config-B2CrxOig.js +48 -0
- package/components/donut-chart-positioning.config-DQb53kWI.cjs +20 -0
- package/components/es-Ctf1SIsp.js +594 -0
- package/components/es-DmmTP7D0.cjs +20 -0
- package/components/evolution-number-positioning.config-BdH8pv6_.js +48 -0
- package/components/evolution-number-positioning.config-BzBsGcD4.cjs +20 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -8
- package/components/filter-expression-picker-Bn_jAdQX.cjs +40 -0
- package/components/filter-expression-picker-Cjr8xWxy.js +434 -0
- package/components/filter-item/filter-item.d.ts +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -8
- package/components/filter-item-CHJDVOju.cjs +111 -0
- package/components/filter-item-D6y8eCmG.js +793 -0
- package/components/filter-parameter-picker/index.cjs +1 -1
- package/components/filter-parameter-picker/index.js +1 -8
- package/components/filter-parameter-picker-C955tF0T.js +372 -0
- package/components/filter-parameter-picker-jyrh3POQ.cjs +124 -0
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -8
- package/components/filter-value-picker-B8nA8hTV.js +170 -0
- package/components/filter-value-picker-DmWiNLZH.cjs +69 -0
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -8
- package/components/filter-value-picker-datetime-BAhXn1BS.js +160 -0
- package/components/filter-value-picker-datetime-U4XWKSFx.cjs +51 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -8
- package/components/filter-value-picker-hierarchy-1ya1_rS3.cjs +54 -0
- package/components/filter-value-picker-hierarchy-CUPz5Ggs.js +316 -0
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -8
- package/components/filter-value-picker-numeric-D8mLaxzj.js +237 -0
- package/components/filter-value-picker-numeric-DrHdHj31.cjs +54 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -8
- package/components/filters-Byy8HE19.js +927 -0
- package/components/filters-C8xz8DV-.cjs +199 -0
- package/components/formula/formula.d.ts +2 -2
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -8
- package/components/formula-C6dPJyKm.cjs +45 -0
- package/components/formula-D_ipR6d1.js +136 -0
- package/components/formula-codemirror/formula-codemirror.d.ts +2 -2
- package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +2 -2
- package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +2 -2
- package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +1 -1
- package/components/formula-codemirror-C1UFMf6i.cjs +215 -0
- package/components/formula-codemirror-CdlIly66.js +12008 -0
- package/components/formula-display-store-B0ifmvCi.cjs +20 -0
- package/components/formula-display-store-CfObcBCd.js +1087 -0
- package/components/formula-editor/formula-aggregations-list.d.ts +2 -2
- package/components/formula-editor/formula-datasets-list.d.ts +2 -2
- package/components/formula-editor/formula-description.d.ts +1 -1
- package/components/formula-editor/formula-editor.d.ts +1 -1
- package/components/formula-editor/formula-functions-list.d.ts +2 -2
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.d.ts +3 -3
- package/components/formula-editor/index.js +3 -10
- package/components/formula-editor-B9ikCsLK.cjs +224 -0
- package/components/formula-editor-DJ-0AVCl.js +685 -0
- package/components/formula-field/formula-field.d.ts +1 -1
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -8
- package/components/formula-field-Bq-RYt0H.js +38 -0
- package/components/formula-field-CNqn6Xbh.cjs +20 -0
- package/components/formula-input-base-Dple-9bo.js +236 -0
- package/components/formula-input-base-KSmmN1uI.cjs +49 -0
- package/components/fr-DKDPLLAZ.cjs +20 -0
- package/components/fr-zWhjQv4B.js +594 -0
- package/components/funnel-chart-positioning.config-DgRle8n1.js +48 -0
- package/components/funnel-chart-positioning.config-DleNZIG-.cjs +20 -0
- package/components/get-dataset-name-3UfKdy0m.cjs +20 -0
- package/components/get-dataset-name-trrlomzY.js +32 -0
- package/components/grid-core-BFNgmaGk.js +4490 -0
- package/components/grid-core-DY0vyroD.cjs +68 -0
- package/components/grid-core.cjs +20 -0
- package/components/grid-core.js +21 -0
- package/components/groupings-B55Oba6e.js +52 -0
- package/components/groupings-DEpTt8DV.cjs +20 -0
- package/components/heat-map-options.config-D58595hz.js +226 -0
- package/components/heat-map-options.config-DhQrM9S9.cjs +20 -0
- package/components/heat-map-positioning.config-BTabq_f9.js +48 -0
- package/components/heat-map-positioning.config-DCB3Eagz.cjs +20 -0
- package/components/heat-table-options.config-AhmEjDAb.cjs +20 -0
- package/components/heat-table-options.config-x-KBTZo1.js +269 -0
- package/components/heat-table-positioning.config-Dnu133l4.cjs +20 -0
- package/components/heat-table-positioning.config-pK8Wn1dw.js +55 -0
- package/components/hexbin-map-positioning.config-DjYp-lX8.js +48 -0
- package/components/hexbin-map-positioning.config-IqRt8f29.cjs +20 -0
- package/components/index.cjs +1 -1
- package/components/index.js +69 -73
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.d.ts +2 -0
- package/components/interactive-viz-item/index.js +3 -9
- package/components/interactive-viz-item/interactive-viz-item.d.ts +21 -4
- package/components/interactive-viz-item/load-add-to-dashboard.d.ts +1 -0
- package/components/interactive-viz-item-CM-LoEa5.cjs +261 -0
- package/components/interactive-viz-item-D6lWVMHb.js +528 -0
- package/components/item-grid/actions.d.ts +2 -1
- package/components/item-grid/helpers/grid-chart-rendering.d.ts +12 -0
- package/components/item-grid/helpers/grid-events.d.ts +1 -56
- package/components/item-grid/helpers/grid-interactions.d.ts +1 -88
- package/components/item-grid/helpers/grid-item-management.d.ts +5 -26
- package/components/item-grid/helpers/grid-item-popover.d.ts +1 -21
- package/components/item-grid/helpers/grid-items.d.ts +1 -9
- package/components/item-grid/helpers/grid-keyboard-updates.d.ts +1 -18
- package/components/item-grid/helpers/grid-keydown-event.d.ts +1 -18
- package/components/item-grid/helpers/grid-popover-cleanup.d.ts +1 -4
- package/components/item-grid/helpers/grid-rendering.d.ts +0 -50
- package/components/item-grid/helpers/grid-stack-lifecycle.d.ts +1 -26
- package/components/item-grid/helpers/grid-theme.d.ts +2 -14
- package/components/item-grid/helpers/grid-update-cycle.d.ts +1 -22
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.d.ts +3 -3
- package/components/item-grid/index.js +3 -9
- package/components/item-grid/item-grid.d.ts +12 -207
- package/components/item-grid/types.d.ts +1 -57
- package/components/item-grid-CbXKsQm4.js +245 -0
- package/components/item-grid-DTishUCb.cjs +41 -0
- package/components/item-grid-item-actions-menu/index.cjs +20 -0
- package/components/item-grid-item-actions-menu/index.d.ts +8 -0
- package/components/item-grid-item-actions-menu/index.js +21 -0
- package/components/item-grid-item-actions-menu/item-grid-item-actions-menu.d.ts +70 -0
- package/components/item-grid-item-actions-menu/types.d.ts +11 -0
- package/components/item-grid-item-actions-menu-B7ylgTwO.js +199 -0
- package/components/item-grid-item-actions-menu-C3BUxZJc.cjs +52 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -8
- package/components/item-option-BTSV33ft.cjs +269 -0
- package/components/item-option-BUju6ZE1.js +953 -0
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -8
- package/components/item-option-action-button-group-CuDeyDRi.cjs +53 -0
- package/components/item-option-action-button-group-DnTBh3R4.js +117 -0
- package/components/item-option-base-BIDIiNfI.js +120 -0
- package/components/item-option-base-C6RQH9M8.cjs +56 -0
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -8
- package/components/item-option-color-palette-picker-DbsqP2zA.js +2040 -0
- package/components/item-option-color-palette-picker-DsG-wxGB.cjs +40 -0
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -8
- package/components/item-option-color-picker-BUN5YK-t.cjs +34 -0
- package/components/item-option-color-picker-CKGUj3cW.js +86 -0
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -8
- package/components/item-option-color-range-BN81ePAI.cjs +98 -0
- package/components/item-option-color-range-dMehrwqA.js +219 -0
- package/components/item-option-guidelines/index.cjs +1 -1
- package/components/item-option-guidelines/index.js +1 -8
- package/components/item-option-guidelines-Bn1HSCgL.js +420 -0
- package/components/item-option-guidelines-CmPaMdqb.cjs +135 -0
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -8
- package/components/item-option-multi-language-field-BFgbOzMM.js +81 -0
- package/components/item-option-multi-language-field-Du609wC_.cjs +33 -0
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -8
- package/components/item-option-number-field-CDcf6_4D.js +101 -0
- package/components/item-option-number-field-CVAtj0UX.cjs +38 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -8
- package/components/item-option-panel-0iHLl9-q.cjs +67 -0
- package/components/item-option-panel-DUlIB6qj.js +181 -0
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -8
- package/components/item-option-picker-ClKAGpgs.js +76 -0
- package/components/item-option-picker-Dkc3nd3x.cjs +37 -0
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -8
- package/components/item-option-position-picker-O8PpyiRv.js +116 -0
- package/components/item-option-position-picker-qCKh0Mfs.cjs +32 -0
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -8
- package/components/item-option-positions-number-field-CBx4uQ39.js +165 -0
- package/components/item-option-positions-number-field-Dfe4ufnF.cjs +49 -0
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -8
- package/components/item-option-radio-button-group-B5OVbLRg.cjs +37 -0
- package/components/item-option-radio-button-group-J_ZusHOP.js +73 -0
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -8
- package/components/item-option-slider-BDAEs7Fk.cjs +33 -0
- package/components/item-option-slider-V9z4qqyE.js +97 -0
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -8
- package/components/item-option-switch-BA4ifIHK.js +68 -0
- package/components/item-option-switch-Bzy2VRLg.cjs +30 -0
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -8
- package/components/item-option-text-field-C-sTkUre.cjs +33 -0
- package/components/item-option-text-field-Cf0khC48.js +79 -0
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +5 -5
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -8
- package/components/item-slot-drop-D2VDgqYS.js +329 -0
- package/components/item-slot-drop-DrJRtG7b.cjs +91 -0
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -8
- package/components/item-slot-drop-panel-CCCOwtYM.js +353 -0
- package/components/item-slot-drop-panel-CFerKcdH.cjs +57 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -8
- package/components/item-slot-picker-BdfYcBKT.js +503 -0
- package/components/item-slot-picker-aqePvZ9B.cjs +174 -0
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -8
- package/components/item-slot-picker-panel-DC3i7XZP.js +446 -0
- package/components/item-slot-picker-panel-dU6NywBo.cjs +81 -0
- package/components/line-chart-positioning.config-BW19v66B.js +55 -0
- package/components/line-chart-positioning.config-DX5mLAP7.cjs +20 -0
- package/components/load-data-fields-for-datasets-C4h8NWIE.cjs +20 -0
- package/components/load-data-fields-for-datasets-CInmiDlZ.js +42 -0
- package/components/localized-mixin-Bt25Frg1.cjs +20 -0
- package/components/localized-mixin-CYMFnS-n.js +45 -0
- package/components/marker-map-positioning.config-BJGwlWKz.js +48 -0
- package/components/marker-map-positioning.config-C0V5LZG-.cjs +20 -0
- package/components/nl-BrjaaktE.cjs +20 -0
- package/components/nl-TUFktGm6.js +594 -0
- package/components/ohlc-chart-positioning.config-Bu1_IBVK.cjs +20 -0
- package/components/ohlc-chart-positioning.config-CFvbZzCR.js +78 -0
- package/components/parallel-coordinates-plot-positioning.config-Bc3qCyxq.js +48 -0
- package/components/parallel-coordinates-plot-positioning.config-EJz1XA1k.cjs +20 -0
- package/components/pivot-table-positioning.config-Bay8gxV-.js +55 -0
- package/components/pivot-table-positioning.config-CMzGb-BR.cjs +20 -0
- package/components/pyramid-chart-positioning.config-BUSeYxYH.js +55 -0
- package/components/pyramid-chart-positioning.config-CrU2vKM-.cjs +20 -0
- package/components/radar-chart-positioning.config-BEzqTXyr.cjs +20 -0
- package/components/radar-chart-positioning.config-DOLpdn-d.js +55 -0
- package/components/route-map-options.config-BnufVGcz.js +328 -0
- package/components/route-map-options.config-DA3k24sP.cjs +20 -0
- package/components/route-map-positioning.config-BgjizdWh.cjs +20 -0
- package/components/route-map-positioning.config-Brg6_eCi.js +66 -0
- package/components/sankey-diagram-positioning.config-DJlWiNYL.js +66 -0
- package/components/sankey-diagram-positioning.config-vccTz1pG.cjs +20 -0
- package/components/scatter-plot-positioning.config-BKqPHMrS.js +77 -0
- package/components/scatter-plot-positioning.config-D7uFFBVZ.cjs +20 -0
- package/components/set-locale-Bgz1WNGE.cjs +20 -0
- package/components/set-locale-s-1X7Jce.js +43 -0
- package/components/slicer-filter-positioning.config-D1kR4xly.cjs +20 -0
- package/components/slicer-filter-positioning.config-Gl9jhO_G.js +48 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -8
- package/components/slot-menu/types.d.ts +1 -1
- package/components/slot-menu-CAhxaK5-.cjs +71 -0
- package/components/slot-menu-Dw53Y-iu.js +429 -0
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -8
- package/components/slot-menu-list-5NsRo9XD.js +348 -0
- package/components/slot-menu-list-CUsmYkiV.cjs +44 -0
- package/components/speedometer-chart-positioning.config-VBLrLNmO.js +48 -0
- package/components/speedometer-chart-positioning.config-fa90zZdb.cjs +20 -0
- package/components/spike-map-options.config-34Vf0UbN.cjs +20 -0
- package/components/spike-map-options.config-CBpHkAfo.js +415 -0
- package/components/spike-map-positioning.config-DrxdeFsj.cjs +20 -0
- package/components/spike-map-positioning.config-oYjk3n9a.js +55 -0
- package/components/strip-plot-positioning.config-Bx_fqmEj.cjs +20 -0
- package/components/strip-plot-positioning.config-lMn33cM4.js +48 -0
- package/components/sunburst-chart-positioning.config-C-We-zZF.js +48 -0
- package/components/sunburst-chart-positioning.config-D-GRWmyF.cjs +20 -0
- package/components/superPropGet-CBezYwzm.js +52 -0
- package/components/superPropGet-DmmlTXgo.cjs +20 -0
- package/components/symbol-map-positioning.config-B0sLlLzK.cjs +20 -0
- package/components/symbol-map-positioning.config-_TJSfpVj.js +55 -0
- package/components/tokens-BWMfo_w4.cjs +20 -0
- package/components/tokens-Ov1pCR4Y.js +29 -0
- package/components/treemap-chart-positioning.config-CO05Gv7X.cjs +20 -0
- package/components/treemap-chart-positioning.config-DAdvoS2I.js +55 -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 +1 -1
- package/components/utils-CGJh0jrq.cjs +20 -0
- package/components/utils-Dk4dM9xv.js +240 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +3 -3
- package/components/venn-diagram-positioning.config-DKXWVaUI.cjs +20 -0
- package/components/venn-diagram-positioning.config-DUwmPQ1A.js +55 -0
- package/components/wordcloud-chart-positioning.config-CgbB_SI0.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-qK5_CF7v.js +55 -0
- package/custom-elements.json +7065 -5792
- package/deprecated-react/components/add-to-dashboard.component.cjs +1 -0
- package/deprecated-react/components/item-grid-item-actions-menu.component.cjs +1 -0
- package/grid-core/helpers/grid-events.d.ts +56 -0
- package/grid-core/helpers/grid-interactions.d.ts +88 -0
- package/grid-core/helpers/grid-item-management.d.ts +28 -0
- package/grid-core/helpers/grid-item-popover.d.ts +21 -0
- package/grid-core/helpers/grid-items.d.ts +9 -0
- package/grid-core/helpers/grid-keyboard-updates.d.ts +18 -0
- package/grid-core/helpers/grid-keydown-event.d.ts +18 -0
- package/grid-core/helpers/grid-popover-cleanup.d.ts +4 -0
- package/grid-core/helpers/grid-rendering.d.ts +41 -0
- package/grid-core/helpers/grid-stack-lifecycle.d.ts +26 -0
- package/grid-core/helpers/grid-theme.d.ts +15 -0
- package/grid-core/helpers/grid-update-cycle.d.ts +22 -0
- package/grid-core/index.d.ts +5 -0
- package/grid-core/item-grid-base.d.ts +223 -0
- package/grid-core/types.d.ts +57 -0
- package/index.d.ts +2 -1
- package/package.json +20 -9
- package/react/components/add-to-dashboard.component.ts +30 -0
- package/react/components/ai-chat.component.ts +1 -1
- package/react/components/interactive-viz-item.component.ts +11 -5
- package/react/components/item-grid-item-actions-menu.component.ts +30 -0
- package/react/components/item-grid.component.ts +4 -1
- package/react/esm/components/add-to-dashboard.component.d.ts +14 -0
- package/react/esm/components/add-to-dashboard.component.js +19 -0
- package/react/esm/components/ai-chat.component.d.ts +1 -1
- package/react/esm/components/ai-chat.component.js +1 -1
- package/react/esm/components/interactive-viz-item.component.d.ts +8 -4
- package/react/esm/components/interactive-viz-item.component.js +8 -4
- package/react/esm/components/item-grid-item-actions-menu.component.d.ts +14 -0
- package/react/esm/components/item-grid-item-actions-menu.component.js +19 -0
- package/react/esm/components/item-grid.component.d.ts +3 -1
- package/react/esm/components/item-grid.component.js +2 -0
- package/react/esm/index.d.ts +4 -3
- package/react/esm/index.js +10 -6
- package/react/index.ts +10 -6
- package/react/luzmo-stub.d.ts +15 -6
- package/react/package.json +2 -2
- package/standalone/chunks/add-to-dashboard-BrWieRxp.js +148 -0
- package/standalone/chunks/area-chart-options.config-CXWPLl-0.js +2 -0
- package/standalone/chunks/area-chart-options.de-Dr8RVJtb.js +2 -0
- package/standalone/chunks/area-chart-options.en-DV1AZ274.js +2 -0
- package/standalone/chunks/area-chart-options.es-Cg7uU7OK.js +2 -0
- package/standalone/chunks/area-chart-options.fr-CJjgrAt2.js +2 -0
- package/standalone/chunks/area-chart-options.nl-CTGxVXNo.js +2 -0
- package/standalone/chunks/area-chart-slots.config-Bxvau_Ii.js +2 -0
- package/standalone/chunks/axis-options.config-DP9f04t6.js +2 -0
- package/standalone/chunks/axis-options.i18n-BwkGC9PX.js +2 -0
- package/standalone/chunks/bar-chart-options.config-w4REKu0t.js +2 -0
- package/standalone/chunks/bar-chart-options.de-DCVBVtFi.js +2 -0
- package/standalone/chunks/bar-chart-options.en-B4xiZxTy.js +2 -0
- package/standalone/chunks/bar-chart-options.es-UqehXB9Z.js +2 -0
- package/standalone/chunks/bar-chart-options.fr-CaUBeZBK.js +2 -0
- package/standalone/chunks/bar-chart-options.nl-C2tFvUE8.js +2 -0
- package/standalone/chunks/bar-chart-slots.config-BWQoKCYJ.js +2 -0
- package/standalone/chunks/base-CLcNr-fQ.js +2 -0
- package/standalone/chunks/bliss-BS5cbLqS.js +2 -0
- package/standalone/chunks/box-plot-options.config-BlYMd4FN.js +2 -0
- package/standalone/chunks/box-plot-options.de-RDAv8kHb.js +2 -0
- package/standalone/chunks/box-plot-options.en-kGLfLsv3.js +2 -0
- package/standalone/chunks/box-plot-options.es-Dw3ivv22.js +2 -0
- package/standalone/chunks/box-plot-options.fr-De5nkQNr.js +2 -0
- package/standalone/chunks/box-plot-options.nl-DD1f-Nlt.js +2 -0
- package/standalone/chunks/box-plot-slots.config-4hmeA6nr.js +2 -0
- package/standalone/chunks/bubble-chart-options.config-BKPTymfC.js +2 -0
- package/standalone/chunks/bubble-chart-options.de-C4pA9ZdS.js +2 -0
- package/standalone/chunks/bubble-chart-options.en-DM-MH8pT.js +2 -0
- package/standalone/chunks/bubble-chart-options.es-C2VE7E7k.js +2 -0
- package/standalone/chunks/bubble-chart-options.fr-BugyvkW9.js +2 -0
- package/standalone/chunks/bubble-chart-options.nl-oDPNybDE.js +2 -0
- package/standalone/chunks/bubble-chart-slots.config-CqTUMwvW.js +2 -0
- package/standalone/chunks/bullet-chart-options.config-Cc5lKDjs.js +2 -0
- package/standalone/chunks/bullet-chart-options.de-Ci81seQn.js +2 -0
- package/standalone/chunks/bullet-chart-options.en-Dk95moRX.js +2 -0
- package/standalone/chunks/bullet-chart-options.es-eIqahAOr.js +2 -0
- package/standalone/chunks/bullet-chart-options.fr-CEABbpT0.js +2 -0
- package/standalone/chunks/bullet-chart-options.nl-B3gOPn5D.js +2 -0
- package/standalone/chunks/bullet-chart-slots.config-BiFMJsgN.js +2 -0
- package/standalone/chunks/calculate-data-field-icon-CrEVAfzJ.js +2 -0
- package/standalone/chunks/chart-helpers-BplLoVQz.js +2 -0
- package/standalone/chunks/choropleth-map-options.config-Ul1FSTwf.js +2 -0
- package/standalone/chunks/choropleth-map-options.de-eALhIYgW.js +2 -0
- package/standalone/chunks/choropleth-map-options.en-DNdPCTz7.js +2 -0
- package/standalone/chunks/choropleth-map-options.es-BoHXBNpE.js +2 -0
- package/standalone/chunks/choropleth-map-options.fr-Di8f-OWA.js +2 -0
- package/standalone/chunks/choropleth-map-options.nl-XKS-glHm.js +2 -0
- package/standalone/chunks/choropleth-map-slots.config-CRF7J3QP.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.config-CjDkh4DG.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.de-Dwf0pYf1.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.en-DhCFF4vx.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.es-DDKEbXse.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.fr-Dezqd3QL.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.nl-BNXyskRD.js +2 -0
- package/standalone/chunks/circle-pack-chart-slots.config-Deq7IUoK.js +2 -0
- package/standalone/chunks/circular-gauge-options.config-p2zb-ORR.js +2 -0
- package/standalone/chunks/circular-gauge-options.de-DXGoiD0i.js +2 -0
- package/standalone/chunks/circular-gauge-options.en-SHYrAgsX.js +2 -0
- package/standalone/chunks/circular-gauge-options.es-D4xJXTQ-.js +2 -0
- package/standalone/chunks/circular-gauge-options.fr-6vBd5iUe.js +2 -0
- package/standalone/chunks/circular-gauge-options.nl-CDoO99Is.js +2 -0
- package/standalone/chunks/circular-gauge-slots.config-C7yUFfFJ.js +2 -0
- package/standalone/chunks/classic-CHhNczKi.js +2 -0
- package/standalone/chunks/classic-dark-Cmrn7jod.js +2 -0
- package/standalone/chunks/color-DaeCRJ5Q.js +2 -0
- package/standalone/chunks/color-palettes-B41FvzWH.js +2 -0
- package/standalone/chunks/color-range-utils-CLqVCA5J.js +2 -0
- package/standalone/chunks/column-chart-options.config-v7fBgXRI.js +2 -0
- package/standalone/chunks/column-chart-options.de-OoMpZc7N.js +2 -0
- package/standalone/chunks/column-chart-options.en-B4xiZxTy.js +2 -0
- package/standalone/chunks/column-chart-options.es-BL-wKXpp.js +2 -0
- package/standalone/chunks/column-chart-options.fr-CaUBeZBK.js +2 -0
- package/standalone/chunks/column-chart-options.nl-C2tFvUE8.js +2 -0
- package/standalone/chunks/column-chart-slots.config-ZBLvqhEb.js +2 -0
- package/standalone/chunks/combination-chart-options.config-C9hmUPal.js +2 -0
- package/standalone/chunks/combination-chart-options.de-ChlEhT09.js +2 -0
- package/standalone/chunks/combination-chart-options.en-DhCXqnwj.js +2 -0
- package/standalone/chunks/combination-chart-options.es-DESqZp0U.js +2 -0
- package/standalone/chunks/combination-chart-options.fr-v6P2xQCi.js +2 -0
- package/standalone/chunks/combination-chart-options.nl-D8ato2ve.js +2 -0
- package/standalone/chunks/combination-chart-slots.config-BNVJfRB2.js +2 -0
- package/standalone/chunks/conditional-number-options.config-hdARPTD7.js +2 -0
- package/standalone/chunks/conditional-number-options.de-BNkYWqfn.js +2 -0
- package/standalone/chunks/conditional-number-options.en-J7yPXdbP.js +2 -0
- package/standalone/chunks/conditional-number-options.es-CKDTBiYp.js +2 -0
- package/standalone/chunks/conditional-number-options.fr-BX1cbt1S.js +2 -0
- package/standalone/chunks/conditional-number-options.nl-6IE86oA9.js +2 -0
- package/standalone/chunks/conditional-number-slots.config-B4kqODqw.js +2 -0
- package/standalone/chunks/create-lazy-loader-DC0rJePE.js +2 -0
- package/standalone/chunks/cs-DLnr3a23.js +2 -0
- package/standalone/chunks/da-BJgbo0uE.js +2 -0
- package/standalone/chunks/data-broker-Dgg5mQze.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.config-a_qCDcWA.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.de-WqpVCnC1.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.en-Obm6KfbI.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.es-CxYTNaTq.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.fr-DhrKNPxX.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.nl-D2RV7246.js +2 -0
- package/standalone/chunks/date-comparison-filter-slots.config-DfHq9lB8.js +2 -0
- package/standalone/chunks/date-filter-options.config-DHTbxiWn.js +2 -0
- package/standalone/chunks/date-filter-options.de-B83VkpDz.js +2 -0
- package/standalone/chunks/date-filter-options.en-DKQexBC1.js +2 -0
- package/standalone/chunks/date-filter-options.es-DfDqzkVB.js +2 -0
- package/standalone/chunks/date-filter-options.fr-DoZy8DU8.js +2 -0
- package/standalone/chunks/date-filter-options.nl-DKtF0sFB.js +2 -0
- package/standalone/chunks/date-filter-slots.config-DHaOkULx.js +2 -0
- package/standalone/chunks/de-BtQ1ecN1.js +2 -0
- package/standalone/chunks/de-DPgYMyja.js +2 -0
- package/standalone/chunks/decompose-numeric-format-BXLQ97e2.js +2 -0
- package/standalone/chunks/default-Bi3Z4SMm.js +2 -0
- package/standalone/chunks/default-dark-C2ykXPQt.js +2 -0
- package/standalone/chunks/default-local-formats-CES1ItiK.js +2 -0
- package/standalone/chunks/display-settings-binning-B_lKObyP.js +38 -0
- package/standalone/chunks/display-settings-datetime-CTmJyEOX.js +199 -0
- package/standalone/chunks/display-settings-grand-totals-IjcbBoyZ.js +26 -0
- package/standalone/chunks/display-settings-numeric-D9hvRtfN.js +172 -0
- package/standalone/chunks/display-settings-period-over-period-Dnstsyqe.js +209 -0
- package/standalone/chunks/donut-chart-options.config-BuZj-QX5.js +2 -0
- package/standalone/chunks/donut-chart-options.de-QusCBL9B.js +2 -0
- package/standalone/chunks/donut-chart-options.en-D0ligFH6.js +2 -0
- package/standalone/chunks/donut-chart-options.es-Bmn34sGt.js +2 -0
- package/standalone/chunks/donut-chart-options.fr-DGBawYKp.js +2 -0
- package/standalone/chunks/donut-chart-options.nl-DzNTu0v4.js +2 -0
- package/standalone/chunks/donut-chart-slots.config-7pDpzNBG.js +2 -0
- package/standalone/chunks/dropdown-filter-options.config-zwR7hmkX.js +2 -0
- package/standalone/chunks/dropdown-filter-options.de-dj6aTNQQ.js +2 -0
- package/standalone/chunks/dropdown-filter-options.en-DH7Jfk8Q.js +2 -0
- package/standalone/chunks/dropdown-filter-options.es-K2L8ln9j.js +2 -0
- package/standalone/chunks/dropdown-filter-options.fr-CMapzFiR.js +2 -0
- package/standalone/chunks/dropdown-filter-options.nl-BLAyit4D.js +2 -0
- package/standalone/chunks/dropdown-filter-slots.config-DkqLjilE.js +2 -0
- package/standalone/chunks/embed-Dymwil3u.js +228 -0
- package/standalone/chunks/en-BD2RCLuw.js +2 -0
- package/standalone/chunks/en-GB-DnwmFNwC.js +2 -0
- package/standalone/chunks/en-US-BD2RCLuw.js +2 -0
- package/standalone/chunks/es-CAWreooi.js +2 -0
- package/standalone/chunks/es-Dp1UuDDz.js +2 -0
- package/standalone/chunks/evolution-number-options.config-B5Cj0YAQ.js +2 -0
- package/standalone/chunks/evolution-number-options.de-Ch0LaHwI.js +2 -0
- package/standalone/chunks/evolution-number-options.en-riChGfa6.js +2 -0
- package/standalone/chunks/evolution-number-options.es-BdG3lvVQ.js +2 -0
- package/standalone/chunks/evolution-number-options.fr-_h0kLeRL.js +2 -0
- package/standalone/chunks/evolution-number-options.nl-CqycrLe1.js +2 -0
- package/standalone/chunks/evolution-number-slots.config-IqPfnCrw.js +2 -0
- package/standalone/chunks/fi-CLQ6vC7V.js +2 -0
- package/standalone/chunks/filters-CBmZhipt.js +544 -0
- package/standalone/chunks/formatter-B7zz6UOp.js +2 -0
- package/standalone/chunks/formula-codemirror-D2F6Aj2h.js +197 -0
- package/standalone/chunks/fr-BG0nQk8g.js +2 -0
- package/standalone/chunks/fr-D8xrUEX4.js +2 -0
- package/standalone/chunks/funnel-chart-options.config-1SyJ_qYd.js +2 -0
- package/standalone/chunks/funnel-chart-options.de-BTxwd7Pe.js +2 -0
- package/standalone/chunks/funnel-chart-options.en-CmY-uO1P.js +2 -0
- package/standalone/chunks/funnel-chart-options.es-DLqBydsE.js +2 -0
- package/standalone/chunks/funnel-chart-options.fr-ztQ5OMZi.js +2 -0
- package/standalone/chunks/funnel-chart-options.nl-DVysx7tP.js +2 -0
- package/standalone/chunks/funnel-chart-slots.config-DfeuNGEL.js +2 -0
- package/standalone/chunks/guidelines-options.config-CS29_J9M.js +2 -0
- package/standalone/chunks/he-DHPb0VBo.js +2 -0
- package/standalone/chunks/heat-map-options.config-DYIrP8cV.js +2 -0
- package/standalone/chunks/heat-map-options.de-BfJMMX2Q.js +2 -0
- package/standalone/chunks/heat-map-options.en-Dr653pN6.js +2 -0
- package/standalone/chunks/heat-map-options.es-CklrBP1w.js +2 -0
- package/standalone/chunks/heat-map-options.fr-DwtCOHrA.js +2 -0
- package/standalone/chunks/heat-map-options.nl-DQBLussF.js +2 -0
- package/standalone/chunks/heat-map-slots.config-BVBzVjJJ.js +2 -0
- package/standalone/chunks/heat-table-options.config-ByHwT44G.js +2 -0
- package/standalone/chunks/heat-table-options.de-BMx67hXo.js +2 -0
- package/standalone/chunks/heat-table-options.en-BbobGoXs.js +2 -0
- package/standalone/chunks/heat-table-options.es-zKo-QMBY.js +2 -0
- package/standalone/chunks/heat-table-options.fr-XSTL1CSb.js +2 -0
- package/standalone/chunks/heat-table-options.nl-Cgcccsee.js +2 -0
- package/standalone/chunks/heat-table-slots.config-CcOl-PCp.js +2 -0
- package/standalone/chunks/helpers-DalWg6k7.js +2 -0
- package/standalone/chunks/hexbin-map-options.config-Elr44Jin.js +2 -0
- package/standalone/chunks/hexbin-map-options.de-C45yz1mZ.js +2 -0
- package/standalone/chunks/hexbin-map-options.en-CIrLRJJ1.js +2 -0
- package/standalone/chunks/hexbin-map-options.es-wf4yF2eW.js +2 -0
- package/standalone/chunks/hexbin-map-options.fr-C0SN47Nq.js +2 -0
- package/standalone/chunks/hexbin-map-options.nl-CweMyvfk.js +2 -0
- package/standalone/chunks/hexbin-map-slots.config-D6qVm4nj.js +2 -0
- package/standalone/chunks/hu-BpaYooip.js +2 -0
- package/standalone/chunks/image-options.config-Cj4r1ypi.js +2 -0
- package/standalone/chunks/image-options.de-CFUHfYzb.js +2 -0
- package/standalone/chunks/image-options.en-BIyq9f_H.js +2 -0
- package/standalone/chunks/image-options.es-BD---IOk.js +2 -0
- package/standalone/chunks/image-options.fr-BGFgsNTs.js +2 -0
- package/standalone/chunks/image-options.nl-DD1JEJSa.js +2 -0
- package/standalone/chunks/image-slots.config-CdWEUY0l.js +2 -0
- package/standalone/chunks/info-tooltip-options.config-DtfU5ZO8.js +2 -0
- package/standalone/chunks/info-tooltip-options.i18n-B_gjTq0R.js +2 -0
- package/standalone/chunks/interactivity-options.config-09eXx6k6.js +2 -0
- package/standalone/chunks/interactivity-options.i18n-BLDCmZkC.js +2 -0
- package/standalone/chunks/it-DWTvD2Xn.js +2 -0
- package/standalone/chunks/item-option-action-button-group-BZyiRTfe.js +35 -0
- package/standalone/chunks/item-option-base-Bk5qxdcQ.js +38 -0
- package/standalone/chunks/item-option-color-palette-picker-O8kT0i8p.js +22 -0
- package/standalone/chunks/item-option-color-picker-CUTCc_yN.js +16 -0
- package/standalone/chunks/item-option-color-range-DsKPvjLj.js +80 -0
- package/standalone/chunks/item-option-guidelines-CZyvhgtN.js +117 -0
- package/standalone/chunks/item-option-multi-language-field-DlC-cCD7.js +15 -0
- package/standalone/chunks/item-option-number-field-BW9VpN9_.js +20 -0
- package/standalone/chunks/item-option-panel-BXA3sIYG.js +298 -0
- package/standalone/chunks/item-option-picker-B2KmO7a6.js +19 -0
- package/standalone/chunks/item-option-position-picker-C9C9SKDD.js +14 -0
- package/standalone/chunks/item-option-positions-number-field-C2ahVlxe.js +31 -0
- package/standalone/chunks/item-option-radio-button-group-2q3doUXH.js +19 -0
- package/standalone/chunks/item-option-slider-C7TT3CqL.js +15 -0
- package/standalone/chunks/item-option-switch-CZR2_Bs9.js +12 -0
- package/standalone/chunks/item-option-text-field-DBUOD_fv.js +15 -0
- package/standalone/chunks/item-slot-picker-panel-CTePASjI.js +439 -0
- package/standalone/chunks/ja-CtDlXHD1.js +2 -0
- package/standalone/chunks/ko-CekuHU50.js +2 -0
- package/standalone/chunks/line-chart-options.config-DyqQLGw8.js +2 -0
- package/standalone/chunks/line-chart-options.de-BScjvJsI.js +2 -0
- package/standalone/chunks/line-chart-options.en-BVWFsre-.js +2 -0
- package/standalone/chunks/line-chart-options.es-CxNJevNs.js +2 -0
- package/standalone/chunks/line-chart-options.fr-LCsLx0Uh.js +2 -0
- package/standalone/chunks/line-chart-options.nl-BOgcjx48.js +2 -0
- package/standalone/chunks/line-chart-slots.config-CavGuJXK.js +2 -0
- package/standalone/chunks/lit-localize-CIGP-NUw.js +2 -0
- package/standalone/chunks/load-data-fields-for-datasets-CPf_Q7p4.js +25 -0
- package/standalone/chunks/load-formula-codemirror-CA7NW4Zq.js +6 -0
- package/standalone/chunks/localize-BXHWaHdZ.js +2 -0
- package/standalone/chunks/localized-decorator-Buib6Rq1.js +2 -0
- package/standalone/chunks/localized-mixin-DN2aV3CC.js +2 -0
- package/standalone/chunks/luzmo-icon-markup-27PRW8QM.js +13 -0
- package/standalone/chunks/luzmoAlignLeft-HA-XKPHy.js +2 -0
- package/standalone/chunks/luzmoAngleDown-PNrItYzK.js +2 -0
- package/standalone/chunks/luzmoAngleLeft-ebJO7ROy.js +2 -0
- package/standalone/chunks/luzmoArrowsHorizontal-TohKbcQD.js +2 -0
- package/standalone/chunks/luzmoBorderDotted-CWXwQ_Hm.js +2 -0
- package/standalone/chunks/luzmoCheckbox-BksyONqE.js +2 -0
- package/standalone/chunks/luzmoCog-C4v4vc5N.js +2 -0
- package/standalone/chunks/luzmoLockOutline-Dctb86HR.js +2 -0
- package/standalone/chunks/luzmoPlus-Dyrrz0v8.js +2 -0
- package/standalone/chunks/luzmoTable-BYeZ8pW6.js +2 -0
- package/standalone/chunks/luzmoTrashOutline-DXZpJx7f.js +2 -0
- package/standalone/chunks/map-tile-providers-DZT1QZX_.js +2 -0
- package/standalone/chunks/marker-map-options.config-D_OTOZRe.js +2 -0
- package/standalone/chunks/marker-map-options.de-SuCAxwxR.js +2 -0
- package/standalone/chunks/marker-map-options.en-B-gl_14v.js +2 -0
- package/standalone/chunks/marker-map-options.es-CSJGCzjk.js +2 -0
- package/standalone/chunks/marker-map-options.fr-D5P_HjSn.js +2 -0
- package/standalone/chunks/marker-map-options.nl-DdeyYFJQ.js +2 -0
- package/standalone/chunks/marker-map-slots.config-CtzpU-rK.js +2 -0
- package/standalone/chunks/mk-Dq3YK4jD.js +2 -0
- package/standalone/chunks/nl-7csxtU-I.js +2 -0
- package/standalone/chunks/nl-BXPduS2Q.js +2 -0
- package/standalone/chunks/no-DJNRx8au.js +2 -0
- package/standalone/chunks/ohlc-chart-options.config-Bu2GKlAH.js +2 -0
- package/standalone/chunks/ohlc-chart-options.de-DeQ8wdeE.js +2 -0
- package/standalone/chunks/ohlc-chart-options.en-DopM1kPj.js +2 -0
- package/standalone/chunks/ohlc-chart-options.es-BKjQWwH0.js +2 -0
- package/standalone/chunks/ohlc-chart-options.fr-DWhV_lXz.js +2 -0
- package/standalone/chunks/ohlc-chart-options.nl-D8lhNKIv.js +2 -0
- package/standalone/chunks/ohlc-chart-slots.config-xYpPbmg2.js +2 -0
- package/standalone/chunks/orion-BHOu-xse.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.config-BcIYCRdF.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.de-Dvi0gBbB.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.en-LdifcLcc.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.es-DNisZWdC.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.fr-DwOBR0cp.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.nl-DCXeTldD.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-slots.config-DvJljfr8.js +2 -0
- package/standalone/chunks/period-over-period-condition.const-AC_onvUf.js +2 -0
- package/standalone/chunks/periods.const-Cie50jR4.js +2 -0
- package/standalone/chunks/pinky-CkEB6Fvc.js +2 -0
- package/standalone/chunks/pivot-table-options.config-BZpId1ju.js +2 -0
- package/standalone/chunks/pivot-table-options.de-B0l711Q7.js +2 -0
- package/standalone/chunks/pivot-table-options.en-D3MYHTWH.js +2 -0
- package/standalone/chunks/pivot-table-options.es-CDACogGQ.js +2 -0
- package/standalone/chunks/pivot-table-options.fr-C-w1sys8.js +2 -0
- package/standalone/chunks/pivot-table-options.nl-Dy9VJ1bm.js +2 -0
- package/standalone/chunks/pivot-table-slots.config-DZOE04Ea.js +2 -0
- package/standalone/chunks/pl-zDnuk9Gd.js +2 -0
- package/standalone/chunks/pt-BEVAH5AJ.js +2 -0
- package/standalone/chunks/pyramid-chart-options.config-CBd-pgn_.js +2 -0
- package/standalone/chunks/pyramid-chart-options.de-CBL_8UjH.js +2 -0
- package/standalone/chunks/pyramid-chart-options.en-CTozc1Uh.js +2 -0
- package/standalone/chunks/pyramid-chart-options.es-BKciL-nO.js +2 -0
- package/standalone/chunks/pyramid-chart-options.fr-B04m8B_b.js +2 -0
- package/standalone/chunks/pyramid-chart-options.nl-DIhj1NYF.js +2 -0
- package/standalone/chunks/pyramid-chart-slots.config-DKBFy-TL.js +2 -0
- package/standalone/chunks/radar-chart-options.config-CnQ8mbs9.js +2 -0
- package/standalone/chunks/radar-chart-options.de-_LSueG69.js +2 -0
- package/standalone/chunks/radar-chart-options.en-DBA8TpKJ.js +2 -0
- package/standalone/chunks/radar-chart-options.es-DjSsFQkP.js +2 -0
- package/standalone/chunks/radar-chart-options.fr-CCh2jYPS.js +2 -0
- package/standalone/chunks/radar-chart-options.nl-tZ0JRjXD.js +2 -0
- package/standalone/chunks/radar-chart-slots.config-CHauNDhi.js +2 -0
- package/standalone/chunks/radiant-BfVbXYeP.js +2 -0
- package/standalone/chunks/regular-table-options.config-BnhDzc-m.js +2 -0
- package/standalone/chunks/regular-table-options.de-DPmii-jp.js +2 -0
- package/standalone/chunks/regular-table-options.en-DQugncwx.js +2 -0
- package/standalone/chunks/regular-table-options.es-DzbTEFoh.js +2 -0
- package/standalone/chunks/regular-table-options.fr-roRCzuK8.js +2 -0
- package/standalone/chunks/regular-table-options.nl-DxYUm_Rz.js +2 -0
- package/standalone/chunks/regular-table-slots.config-BqEJgzhG.js +2 -0
- package/standalone/chunks/route-map-options.config-CWyA9_SB.js +2 -0
- package/standalone/chunks/route-map-options.de-Ke-Bybpi.js +2 -0
- package/standalone/chunks/route-map-options.en-CDXIcBc0.js +2 -0
- package/standalone/chunks/route-map-options.es-CCEXcHLb.js +2 -0
- package/standalone/chunks/route-map-options.fr-BXoMKK54.js +2 -0
- package/standalone/chunks/route-map-options.nl-U52AE8MW.js +2 -0
- package/standalone/chunks/route-map-slots.config-B5G4JVnI.js +2 -0
- package/standalone/chunks/royale-Bcd5VvC5.js +2 -0
- package/standalone/chunks/ru-Ceji1Fqk.js +2 -0
- package/standalone/chunks/sankey-diagram-options.config-Curc2-If.js +2 -0
- package/standalone/chunks/sankey-diagram-options.de-Bisx6mpj.js +2 -0
- package/standalone/chunks/sankey-diagram-options.en-DonChVRz.js +2 -0
- package/standalone/chunks/sankey-diagram-options.es-TCXmlth5.js +2 -0
- package/standalone/chunks/sankey-diagram-options.fr-B3iAnJNW.js +2 -0
- package/standalone/chunks/sankey-diagram-options.nl-BnXZQEKn.js +2 -0
- package/standalone/chunks/sankey-diagram-slots.config-jyKqjUsV.js +2 -0
- package/standalone/chunks/scatter-plot-options.config-BV9Lb6-v.js +2 -0
- package/standalone/chunks/scatter-plot-options.de-Dg3O1b2R.js +2 -0
- package/standalone/chunks/scatter-plot-options.en-CJH2ZlFW.js +2 -0
- package/standalone/chunks/scatter-plot-options.es-7kExRi4J.js +2 -0
- package/standalone/chunks/scatter-plot-options.fr-Bbkf8efT.js +2 -0
- package/standalone/chunks/scatter-plot-options.nl-zrEXoM-k.js +2 -0
- package/standalone/chunks/scatter-plot-slots.config-CF2Ii2Ez.js +2 -0
- package/standalone/chunks/search-filter-options.config-DPhYMtlJ.js +2 -0
- package/standalone/chunks/search-filter-options.de-DewLFwK0.js +2 -0
- package/standalone/chunks/search-filter-options.en-DyIupnO9.js +2 -0
- package/standalone/chunks/search-filter-options.es-Dx1WGz-q.js +2 -0
- package/standalone/chunks/search-filter-options.fr-BdnlKNNx.js +2 -0
- package/standalone/chunks/search-filter-options.nl-DsKcc6ke.js +2 -0
- package/standalone/chunks/search-filter-slots.config-BcTF-DAh.js +2 -0
- package/standalone/chunks/seasonal-f6I--CYV.js +2 -0
- package/standalone/chunks/slicer-filter-options.config-BQ1vpcTb.js +2 -0
- package/standalone/chunks/slicer-filter-options.de-v0So4hDH.js +2 -0
- package/standalone/chunks/slicer-filter-options.en-BkVZDku6.js +2 -0
- package/standalone/chunks/slicer-filter-options.es-BATOs827.js +2 -0
- package/standalone/chunks/slicer-filter-options.fr-DROih5R8.js +2 -0
- package/standalone/chunks/slicer-filter-options.nl-CT4HfMiT.js +2 -0
- package/standalone/chunks/slicer-filter-slots.config-DL3Q0Zbm.js +2 -0
- package/standalone/chunks/slider-filter-options.config-ZCkBkeXQ.js +2 -0
- package/standalone/chunks/slider-filter-options.de-BToTmIkJ.js +2 -0
- package/standalone/chunks/slider-filter-options.en-Du0cf6NC.js +2 -0
- package/standalone/chunks/slider-filter-options.es-6yGUkJ9r.js +2 -0
- package/standalone/chunks/slider-filter-options.fr-DeupuOm1.js +2 -0
- package/standalone/chunks/slider-filter-options.nl-K6BEul4-.js +2 -0
- package/standalone/chunks/slider-filter-slots.config-52Bs7zu3.js +2 -0
- package/standalone/chunks/spacer-options.config-DmYOnwBz.js +2 -0
- package/standalone/chunks/speedometer-chart-options.config-YmUv49lQ.js +2 -0
- package/standalone/chunks/speedometer-chart-options.de-CWVMBrx9.js +2 -0
- package/standalone/chunks/speedometer-chart-options.en-DtCdA113.js +2 -0
- package/standalone/chunks/speedometer-chart-options.es-BC1Y-Hje.js +2 -0
- package/standalone/chunks/speedometer-chart-options.fr-BqnVNM9x.js +2 -0
- package/standalone/chunks/speedometer-chart-options.nl-D2dmDbhJ.js +2 -0
- package/standalone/chunks/speedometer-chart-slots.config-Cfsna_2O.js +2 -0
- package/standalone/chunks/spike-map-options.config-YOYHTzZs.js +2 -0
- package/standalone/chunks/spike-map-options.de-cIVh4l8Z.js +2 -0
- package/standalone/chunks/spike-map-options.en-CKjynYQl.js +2 -0
- package/standalone/chunks/spike-map-options.es-_GxcrK73.js +2 -0
- package/standalone/chunks/spike-map-options.fr-DHi_gHN6.js +2 -0
- package/standalone/chunks/spike-map-options.nl-Bicq35x0.js +2 -0
- package/standalone/chunks/spike-map-slots.config-FfXNX2O3.js +2 -0
- package/standalone/chunks/strip-plot-options.config-D84diNaB.js +2 -0
- package/standalone/chunks/strip-plot-options.de-DjNnWJl2.js +2 -0
- package/standalone/chunks/strip-plot-options.en-Of1sTT_A.js +2 -0
- package/standalone/chunks/strip-plot-options.es-BEHY8I7g.js +2 -0
- package/standalone/chunks/strip-plot-options.fr-DLfEoXBO.js +2 -0
- package/standalone/chunks/strip-plot-options.nl-CA3oh18P.js +2 -0
- package/standalone/chunks/strip-plot-slots.config-DQrrby2Y.js +2 -0
- package/standalone/chunks/sunburst-chart-options.config-DRjBFJV0.js +2 -0
- package/standalone/chunks/sunburst-chart-options.de-D6enQCjV.js +2 -0
- package/standalone/chunks/sunburst-chart-options.en-D9DSivE2.js +2 -0
- package/standalone/chunks/sunburst-chart-options.es-Bb7iCI1h.js +2 -0
- package/standalone/chunks/sunburst-chart-options.fr-CCzUgv7r.js +2 -0
- package/standalone/chunks/sunburst-chart-options.nl-bGOCvc4m.js +2 -0
- package/standalone/chunks/sunburst-chart-slots.config-DqW1e0nf.js +2 -0
- package/standalone/chunks/sv-CgssnOqA.js +2 -0
- package/standalone/chunks/symbol-map-options.config-Bbb3xIKg.js +2 -0
- package/standalone/chunks/symbol-map-options.de-CqxosoVr.js +2 -0
- package/standalone/chunks/symbol-map-options.en-DT7vsjRh.js +2 -0
- package/standalone/chunks/symbol-map-options.es-PGR-C-uM.js +2 -0
- package/standalone/chunks/symbol-map-options.fr-CPNydqFW.js +2 -0
- package/standalone/chunks/symbol-map-options.nl-BBHmJwLF.js +2 -0
- package/standalone/chunks/symbol-map-slots.config-B_UtYexb.js +2 -0
- package/standalone/chunks/task-CNp3cEJA.js +2 -0
- package/standalone/chunks/text-options.config-Chv14kyQ.js +2 -0
- package/standalone/chunks/text-options.de-CRVu5VAm.js +2 -0
- package/standalone/chunks/text-options.en-CupCY5Us.js +2 -0
- package/standalone/chunks/text-options.es-uKgRI4LZ.js +2 -0
- package/standalone/chunks/text-options.fr-C256Njqd.js +2 -0
- package/standalone/chunks/text-options.nl-CpMqMCOZ.js +2 -0
- package/standalone/chunks/text-slots.config-D33nu0FP.js +2 -0
- package/standalone/chunks/themes-BD5sKr3j.js +2 -0
- package/standalone/chunks/tr-i3G2sFi4.js +2 -0
- package/standalone/chunks/treemap-chart-options.config-DxkumoYq.js +2 -0
- package/standalone/chunks/treemap-chart-options.de-DdhcpjTu.js +2 -0
- package/standalone/chunks/treemap-chart-options.en-DB87QjbN.js +2 -0
- package/standalone/chunks/treemap-chart-options.es-DEImFeIB.js +2 -0
- package/standalone/chunks/treemap-chart-options.fr-BzM5c_vV.js +2 -0
- package/standalone/chunks/treemap-chart-options.nl-CFJgBJi2.js +2 -0
- package/standalone/chunks/treemap-chart-slots.config-CaearczZ.js +2 -0
- package/standalone/chunks/type-check-CC6bgirK.js +2 -0
- package/standalone/chunks/types-BS6dxSMT.js +2 -0
- package/standalone/chunks/urban-BEeGnayr.js +2 -0
- package/standalone/chunks/v4-CI0qP0ur.js +2 -0
- package/standalone/chunks/venn-diagram-options.config-DmYOnwBz.js +2 -0
- package/standalone/chunks/venn-diagram-slots.config-GnP5AAAL.js +2 -0
- package/standalone/chunks/version-DJES6maY.js +2 -0
- package/standalone/chunks/video-options.config-CfgT_MAw.js +2 -0
- package/standalone/chunks/video-options.de-Cxs3-JN3.js +2 -0
- package/standalone/chunks/video-options.en-ck74JByC.js +2 -0
- package/standalone/chunks/video-options.es-UdEH3Rzk.js +2 -0
- package/standalone/chunks/video-options.fr-p5bOI-bw.js +2 -0
- package/standalone/chunks/video-options.nl-CBYWp-Df.js +2 -0
- package/standalone/chunks/video-slots.config-ufoVcXKL.js +2 -0
- package/standalone/chunks/vivid-BC9AYKyD.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.config-b-ibtRWp.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.de-B0CeI2KB.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.en-BQ-8ciOw.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.es-DyMrHpJL.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.fr-V1k_70yq.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.nl-CrfYuaYy.js +2 -0
- package/standalone/chunks/wordcloud-chart-slots.config-g7QwS2dG.js +2 -0
- package/standalone/chunks/zh-CN-NVnv57dz.js +2 -0
- package/standalone/chunks/zh-TW-NVnv57dz.js +2 -0
- package/standalone/interactive-viz-item.js +263 -0
- package/standalone/item-grid.js +123 -0
- package/standalone/manifest.json +436 -0
- package/storybook/register-components.d.ts +2 -1
- package/styles/tokens.d.ts +1 -0
- package/types/add-to-dashboard.types.d.ts +51 -0
- package/types.d.ts +3 -1
- package/utils/data-broker/index.d.ts +19 -1
- package/utils/filters/filter-text.d.ts +1 -1
- package/utils/formula/base/formula-base.d.ts +2 -2
- package/utils/formula/config/build-datasets.d.ts +2 -2
- package/utils/formula/store/formula-display-store.d.ts +1 -1
- package/components/ai-chat-1OlRpimu.cjs +0 -337
- package/components/ai-chat-PesGGOLP.js +0 -4350
- package/components/ai-interaction-textarea-BXKG2elT.js +0 -820
- package/components/ai-interaction-textarea-CmFGJzbb.cjs +0 -99
- package/components/area-chart-positioning.config-C37nmNfP.cjs +0 -20
- package/components/area-chart-positioning.config-CF8Z7PuX.js +0 -55
- package/components/bar-chart-positioning.config-C4ii41mE.cjs +0 -20
- package/components/bar-chart-positioning.config-vuRQZsYr.js +0 -59
- package/components/base-8L8Jt2vi.js +0 -249
- package/components/base-K-bf6_7X.cjs +0 -20
- package/components/base-store-BhGpnbqi.js +0 -152
- package/components/base-store-D5cDq6d4.cjs +0 -20
- package/components/box-plot-positioning.config-D2LpbgQ_.cjs +0 -20
- package/components/box-plot-positioning.config-DMIsI9yU.js +0 -48
- package/components/bubble-chart-positioning.config-Btak-zwN.cjs +0 -20
- package/components/bubble-chart-positioning.config-jYu0Q0Mc.js +0 -55
- package/components/bullet-chart-positioning.config-BWHfPPyA.js +0 -56
- package/components/bullet-chart-positioning.config-CwoRVgNS.cjs +0 -20
- package/components/choropleth-map-options.config-DWWydGJ3.js +0 -352
- package/components/choropleth-map-options.config-VG10yjwC.cjs +0 -20
- package/components/choropleth-map-positioning.config-DttV0Dk_.cjs +0 -20
- package/components/choropleth-map-positioning.config-KtxcLW7E.js +0 -55
- package/components/circle-pack-chart-positioning.config-N-rZvQjR.cjs +0 -20
- package/components/circle-pack-chart-positioning.config-QBO-pwDr.js +0 -48
- package/components/circular-gauge-positioning.config-Cf1zuLXa.cjs +0 -20
- package/components/circular-gauge-positioning.config-DKGmEpFj.js +0 -48
- package/components/color-BWnYpOu7.js +0 -3812
- package/components/color-Bl8h58rV.cjs +0 -20
- package/components/color-range-utils-C3HJJUS1.cjs +0 -20
- package/components/color-range-utils-CiqduHJS.js +0 -63
- package/components/column-chart-positioning.config-DcErS56C.cjs +0 -20
- package/components/column-chart-positioning.config-LkQSNtSH.js +0 -55
- package/components/combination-chart-positioning.config-7iAEpO7h.js +0 -48
- package/components/combination-chart-positioning.config-Dzi93oAp.cjs +0 -20
- package/components/conditional-number-positioning.config-Bse6AKPP.js +0 -48
- package/components/conditional-number-positioning.config-CTy0zLXu.cjs +0 -20
- package/components/data-broker-B0uUO5er.js +0 -1684
- package/components/data-broker-CyMYR6w1.cjs +0 -20
- package/components/data-field-CSm9APdz.js +0 -121
- package/components/data-field-D2y4cv9j.cjs +0 -54
- package/components/data-field-level-B0aj8c5M.js +0 -247
- package/components/data-field-level-Llx0Y9m-.cjs +0 -55
- package/components/data-field-panel-DpBWJnes.js +0 -385
- package/components/data-field-panel-Dv60lRUC.cjs +0 -87
- package/components/data-fields-select-69TDpIG_.js +0 -289
- package/components/data-fields-select-BHa8THub.cjs +0 -43
- package/components/dataset-icon-BAV0S4sZ.cjs +0 -64
- package/components/dataset-icon-CWT5Ju8w.js +0 -125
- package/components/dataset-selector-list-D5lBv2sD.cjs +0 -75
- package/components/dataset-selector-list-DTMXvqfO.js +0 -323
- package/components/dataset-selector-row-gHWsZlrC.cjs +0 -102
- package/components/dataset-selector-row-kiHtzZcP.js +0 -427
- package/components/de-BhKtDR6p.js +0 -565
- package/components/de-DXFLsh4N.cjs +0 -20
- package/components/display-settings-DKuvd62j.js +0 -315
- package/components/display-settings-DPqTRJ7E.cjs +0 -142
- package/components/display-settings-binning-BkCNSkgf.js +0 -110
- package/components/display-settings-binning-DZKo_tBm.cjs +0 -56
- package/components/display-settings-datetime-BTgriFcv.js +0 -413
- package/components/display-settings-datetime-DD7Oh-2T.cjs +0 -217
- package/components/display-settings-grand-totals-BsIZg67h.cjs +0 -44
- package/components/display-settings-grand-totals-DH7AoyQY.js +0 -89
- package/components/display-settings-numeric-CkFpOoWU.js +0 -479
- package/components/display-settings-numeric-CsmrnEp2.cjs +0 -190
- package/components/display-settings-period-over-period-CdI5wuL_.js +0 -442
- package/components/display-settings-period-over-period-Co37HcSm.cjs +0 -227
- package/components/donut-chart-positioning.config-BThtaJEt.cjs +0 -20
- package/components/donut-chart-positioning.config-D2uG_Irk.js +0 -48
- package/components/es-DK-49nGv.cjs +0 -20
- package/components/es-DUENN-m1.js +0 -565
- package/components/evolution-number-positioning.config-BtjobZqK.js +0 -48
- package/components/evolution-number-positioning.config-DtYiv9oB.cjs +0 -20
- package/components/filter-expression-picker-C4kE_Thd.js +0 -433
- package/components/filter-expression-picker-CU-OfSmI.cjs +0 -40
- package/components/filter-item-Be6Z7NMz.js +0 -792
- package/components/filter-item-CxPrwF-R.cjs +0 -111
- package/components/filter-parameter-picker-Ba8bvoPZ.js +0 -371
- package/components/filter-parameter-picker-BtJLCUbT.cjs +0 -124
- package/components/filter-value-picker-DD206JZl.js +0 -169
- package/components/filter-value-picker-Dpua1vcJ.cjs +0 -69
- package/components/filter-value-picker-datetime-Bj0YaPtB.js +0 -159
- package/components/filter-value-picker-datetime-DWgI83nJ.cjs +0 -51
- package/components/filter-value-picker-hierarchy-BEoqkQq0.cjs +0 -54
- package/components/filter-value-picker-hierarchy-ZMThNJYm.js +0 -315
- package/components/filter-value-picker-numeric-1Vxp_Vam.cjs +0 -54
- package/components/filter-value-picker-numeric-CVaDogFQ.js +0 -236
- package/components/filters-Cnm0Kwk3.js +0 -926
- package/components/filters-Dtbt99BP.cjs +0 -199
- package/components/formula-BE9bipho.js +0 -138
- package/components/formula-DGMnKmnR.cjs +0 -45
- package/components/formula-codemirror-B14vsZXJ.cjs +0 -215
- package/components/formula-codemirror-xfm0QtJN.js +0 -12018
- package/components/formula-display-store-8hohve9v.cjs +0 -20
- package/components/formula-display-store-JAaWuYNB.js +0 -1087
- package/components/formula-editor-CkW-JfyT.cjs +0 -224
- package/components/formula-editor-DN87mT8q.js +0 -690
- package/components/formula-field-B1EMJOfK.js +0 -40
- package/components/formula-field-CQYFSBHL.cjs +0 -20
- package/components/formula-input-base-BCQXmd1P.cjs +0 -49
- package/components/formula-input-base-HL0Fg74x.js +0 -236
- package/components/fr-CePmGBUH.js +0 -565
- package/components/fr-uE3fb3kc.cjs +0 -20
- package/components/funnel-chart-positioning.config-DeLnAGGT.cjs +0 -20
- package/components/funnel-chart-positioning.config-TVzSiV6I.js +0 -48
- package/components/get-dataset-name-DLjeChNS.js +0 -32
- package/components/get-dataset-name-mGNEfkAv.cjs +0 -20
- package/components/groupings-CODDxpbZ.js +0 -52
- package/components/groupings-DKMq8DgS.cjs +0 -20
- package/components/heat-map-options.config-DtDh9Gpy.cjs +0 -20
- package/components/heat-map-options.config-X96sw-BV.js +0 -226
- package/components/heat-map-positioning.config--wm9l7bB.js +0 -48
- package/components/heat-map-positioning.config-ddrgZXa9.cjs +0 -20
- package/components/heat-table-options.config-CugBuoUA.cjs +0 -20
- package/components/heat-table-options.config-D6dA9J97.js +0 -269
- package/components/heat-table-positioning.config-CIhhBEMg.js +0 -55
- package/components/heat-table-positioning.config-qMDSRhZR.cjs +0 -20
- package/components/hexbin-map-positioning.config-E_BpcIFy.cjs +0 -20
- package/components/hexbin-map-positioning.config-S7VYUwVD.js +0 -48
- package/components/interactive-viz-item--kqitfEZ.cjs +0 -249
- package/components/interactive-viz-item-cdShBZQA.js +0 -722
- package/components/item-grid/item-grid-item-actions-menu.d.ts +0 -35
- package/components/item-grid-BfhqMuQA.cjs +0 -113
- package/components/item-grid-xCM8AqRH.js +0 -4559
- package/components/item-option-B5FraAiv.cjs +0 -269
- package/components/item-option-DaAlj_OB.js +0 -955
- package/components/item-option-action-button-group-4w8ub3cT.js +0 -118
- package/components/item-option-action-button-group-DHu8VjCy.cjs +0 -53
- package/components/item-option-base-4Bwn-3Fc.cjs +0 -56
- package/components/item-option-base-BxQUwXzg.js +0 -123
- package/components/item-option-color-palette-picker-D5nO-Bqb.js +0 -2041
- package/components/item-option-color-palette-picker-DrhHKaAK.cjs +0 -40
- package/components/item-option-color-picker-Bhv_k1uW.cjs +0 -34
- package/components/item-option-color-picker-CKokPQcS.js +0 -87
- package/components/item-option-color-range-CwDkzRcx.cjs +0 -98
- package/components/item-option-color-range-DYsMbFEb.js +0 -220
- package/components/item-option-guidelines-CXl4Yla4.js +0 -419
- package/components/item-option-guidelines-DMjA-h3h.cjs +0 -135
- package/components/item-option-multi-language-field-C75Hd2fG.cjs +0 -33
- package/components/item-option-multi-language-field-S6Mt3k23.js +0 -82
- package/components/item-option-number-field-Bg5r0IAX.cjs +0 -38
- package/components/item-option-number-field-CALw8q_J.js +0 -102
- package/components/item-option-panel-DBXgOsM4.cjs +0 -67
- package/components/item-option-panel-v7yUS9hb.js +0 -183
- package/components/item-option-picker-CZyzd3Nq.js +0 -77
- package/components/item-option-picker-RFstpFwI.cjs +0 -37
- package/components/item-option-position-picker-C8cnHEH4.js +0 -117
- package/components/item-option-position-picker-CKHbHHl1.cjs +0 -32
- package/components/item-option-positions-number-field-BGs3WWaz.cjs +0 -49
- package/components/item-option-positions-number-field-BJTY1qZR.js +0 -164
- package/components/item-option-radio-button-group-CN8TLtsV.cjs +0 -37
- package/components/item-option-radio-button-group-vhm4r4_k.js +0 -74
- package/components/item-option-slider-CQOKWBZQ.js +0 -96
- package/components/item-option-slider-DbLPhpJd.cjs +0 -33
- package/components/item-option-switch-CWpb0nf3.cjs +0 -30
- package/components/item-option-switch-azZX2vJr.js +0 -69
- package/components/item-option-text-field-CIM_38yi.js +0 -80
- package/components/item-option-text-field-CS3Lccda.cjs +0 -33
- package/components/item-slot-drop-C8WYPu_w.cjs +0 -91
- package/components/item-slot-drop-DeZ2GvAu.js +0 -331
- package/components/item-slot-drop-panel-BcBHDDTT.cjs +0 -57
- package/components/item-slot-drop-panel-LpfX7ap0.js +0 -355
- package/components/item-slot-picker-BSO1ltXC.js +0 -505
- package/components/item-slot-picker-CvySq194.cjs +0 -174
- package/components/item-slot-picker-panel-CsntXcAp.js +0 -448
- package/components/item-slot-picker-panel-DQ_OzMO_.cjs +0 -81
- package/components/line-chart-positioning.config-CrreArf5.js +0 -55
- package/components/line-chart-positioning.config-DMe1Ldwk.cjs +0 -20
- package/components/load-data-fields-for-datasets-B3XcFFfg.js +0 -42
- package/components/load-data-fields-for-datasets-rL24A68g.cjs +0 -20
- package/components/localized-mixin-DaLXe5J9.js +0 -45
- package/components/localized-mixin-DiUJOd06.cjs +0 -20
- package/components/marker-map-positioning.config-CpI8nCtC.cjs +0 -20
- package/components/marker-map-positioning.config-DW9tMO2M.js +0 -48
- package/components/nl-BaZM3WoR.js +0 -565
- package/components/nl-BoEhzeIh.cjs +0 -20
- package/components/ohlc-chart-positioning.config-9DETh4xy.cjs +0 -20
- package/components/ohlc-chart-positioning.config-CkX8gyS2.js +0 -78
- package/components/parallel-coordinates-plot-positioning.config-CLDZdGdh.cjs +0 -20
- package/components/parallel-coordinates-plot-positioning.config-DTJZLEeT.js +0 -48
- package/components/pivot-table-positioning.config-B-SALuVb.cjs +0 -20
- package/components/pivot-table-positioning.config-CtSYHD-n.js +0 -55
- package/components/pyramid-chart-positioning.config-0Juiava5.js +0 -55
- package/components/pyramid-chart-positioning.config-BllFtneP.cjs +0 -20
- package/components/radar-chart-positioning.config-BPbb63S6.js +0 -55
- package/components/radar-chart-positioning.config-BY4RKNDi.cjs +0 -20
- package/components/route-map-options.config-C65J81_7.js +0 -328
- package/components/route-map-options.config-DS9cCAQK.cjs +0 -20
- package/components/route-map-positioning.config-D6nZFd8f.js +0 -66
- package/components/route-map-positioning.config-GQ9AJfej.cjs +0 -20
- package/components/sankey-diagram-positioning.config-DAuj5A08.cjs +0 -20
- package/components/sankey-diagram-positioning.config-R1EjoR5F.js +0 -66
- package/components/scatter-plot-positioning.config-DGoMnNZy.js +0 -77
- package/components/scatter-plot-positioning.config-o4c-wuRo.cjs +0 -20
- package/components/set-locale-Xh_1AFbC.cjs +0 -20
- package/components/set-locale-ydAPif-7.js +0 -43
- package/components/slicer-filter-positioning.config-BqpIENEm.cjs +0 -20
- package/components/slicer-filter-positioning.config-D_didkcw.js +0 -48
- package/components/slot-menu-CUdbaW3K.js +0 -428
- package/components/slot-menu-DRx1Ffla.cjs +0 -71
- package/components/slot-menu-list-DVSxamVa.js +0 -347
- package/components/slot-menu-list-DaHzz_ve.cjs +0 -44
- package/components/speedometer-chart-positioning.config-CmxsV4-x.js +0 -48
- package/components/speedometer-chart-positioning.config-eVUWDhkL.cjs +0 -20
- package/components/spike-map-options.config-BRwdTyrp.cjs +0 -20
- package/components/spike-map-options.config-DjoTrAsC.js +0 -415
- package/components/spike-map-positioning.config-B38djRlf.cjs +0 -20
- package/components/spike-map-positioning.config-Bta7ar9e.js +0 -55
- package/components/strip-plot-positioning.config-0vlAfmDB.js +0 -48
- package/components/strip-plot-positioning.config-atH68L8u.cjs +0 -20
- package/components/sunburst-chart-positioning.config-B2x6afBV.js +0 -48
- package/components/sunburst-chart-positioning.config-NFzFNuXB.cjs +0 -20
- package/components/symbol-map-positioning.config-B6v9PFTk.js +0 -55
- package/components/symbol-map-positioning.config-DGpmp_N1.cjs +0 -20
- package/components/treemap-chart-positioning.config-Bf2VNVRQ.js +0 -55
- package/components/treemap-chart-positioning.config-NMULB8UM.cjs +0 -20
- package/components/utils-SzKvwZ9-.cjs +0 -20
- package/components/utils-_8LPCz9-.js +0 -240
- package/components/venn-diagram-positioning.config-D4cODPGV.cjs +0 -20
- package/components/venn-diagram-positioning.config-DgOl0Vh-.js +0 -55
- package/components/viz-item-menu/index.cjs +0 -20
- package/components/viz-item-menu/index.d.ts +0 -8
- package/components/viz-item-menu/index.js +0 -28
- package/components/viz-item-menu/types.d.ts +0 -9
- package/components/viz-item-menu/viz-item-menu.d.ts +0 -78
- package/components/viz-item-menu-CNHv6qDa.cjs +0 -55
- package/components/viz-item-menu-L_j0L08h.js +0 -170
- package/components/wordcloud-chart-positioning.config-BP6iqy-N.js +0 -55
- package/components/wordcloud-chart-positioning.config-DZEkWvb0.cjs +0 -20
- package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
- package/react/components/viz-item-menu.component.ts +0 -33
- package/react/esm/components/viz-item-menu.component.d.ts +0 -16
- package/react/esm/components/viz-item-menu.component.js +0 -21
- /package/{storybook/inject-global-vars.d.ts → utils/data-broker/tests/data-broker.test.d.ts} +0 -0
|
@@ -1,926 +0,0 @@
|
|
|
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-DyMgX_Uh.js";
|
|
21
|
-
import { t } from "./localized-mixin-DaLXe5J9.js";
|
|
22
|
-
import { t as n } from "./data-broker-B0uUO5er.js";
|
|
23
|
-
import { c as r } from "./type-check-CGREdneG.js";
|
|
24
|
-
import { t as i } from "./v4-DIjJgmR0.js";
|
|
25
|
-
import { a, i as o, n as ee, o as s, r as te } from "./filter-item-Be6Z7NMz.js";
|
|
26
|
-
import { luzmoPlus as c, luzmoTrashOutline as l } from "@luzmo/icons";
|
|
27
|
-
import "@luzmo/lucero/button";
|
|
28
|
-
import "@luzmo/lucero/icon";
|
|
29
|
-
import { html as u, nothing as d, unsafeCSS as ne } from "lit";
|
|
30
|
-
import { property as f, state as p } from "lit/decorators.js";
|
|
31
|
-
import { localized as re, msg as m, str as h } from "@lit/localize";
|
|
32
|
-
import "@luzmo/lucero/action-button";
|
|
33
|
-
import "@luzmo/lucero/tooltip";
|
|
34
|
-
import { repeat as ie } from "lit/directives/repeat.js";
|
|
35
|
-
import "@luzmo/lucero/progress-circle";
|
|
36
|
-
import { ElementSizes as ae, LuzmoElement as oe, SizedMixin as se } from "@luzmo/lucero/utils";
|
|
37
|
-
//#region src/components/filters/transformations/filter-format.ts
|
|
38
|
-
var ce = 20, g = class extends Error {
|
|
39
|
-
constructor(e) {
|
|
40
|
-
super(e), this.name = "FilterUnrepresentableError";
|
|
41
|
-
}
|
|
42
|
-
}, le = /* @__PURE__ */ new Set(["and", "or"]), _ = [
|
|
43
|
-
"datasetId",
|
|
44
|
-
"dataset_id",
|
|
45
|
-
"columnId",
|
|
46
|
-
"column_id",
|
|
47
|
-
"formulaId",
|
|
48
|
-
"formula_id",
|
|
49
|
-
"formula",
|
|
50
|
-
"columnExpression",
|
|
51
|
-
"value",
|
|
52
|
-
"ignoredItemIds"
|
|
53
|
-
];
|
|
54
|
-
function v(e) {
|
|
55
|
-
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
56
|
-
}
|
|
57
|
-
function y(e) {
|
|
58
|
-
return !v(e) || e.condition !== void 0 && (typeof e.condition != "string" || !le.has(e.condition.toLowerCase())) ? !1 : "filters" in e || "subGroups" in e;
|
|
59
|
-
}
|
|
60
|
-
function b(e) {
|
|
61
|
-
return v(e) && "expression" in e && !("condition" in e);
|
|
62
|
-
}
|
|
63
|
-
function x(e) {
|
|
64
|
-
return _.some((t) => t in e);
|
|
65
|
-
}
|
|
66
|
-
function ue(e, t = !1) {
|
|
67
|
-
let n = [
|
|
68
|
-
e.columnId !== void 0 || e.column_id !== void 0,
|
|
69
|
-
e.formulaId !== void 0 || e.formula_id !== void 0,
|
|
70
|
-
e.formula !== void 0
|
|
71
|
-
].filter(Boolean).length;
|
|
72
|
-
return n === 1 ? !0 : n > 1 ? !1 : e.columnExpression !== void 0 || t && e.expression !== void 0;
|
|
73
|
-
}
|
|
74
|
-
function S(e) {
|
|
75
|
-
return !b(e) || typeof e.expression != "string" || e.expression.length === 0 || "parameters" in e || typeof e.datasetId != "string" && typeof e.dataset_id != "string" ? !1 : ue(e);
|
|
76
|
-
}
|
|
77
|
-
function C(e) {
|
|
78
|
-
return !b(e) || !Array.isArray(e.parameters) ? !1 : !x(e);
|
|
79
|
-
}
|
|
80
|
-
function de(e) {
|
|
81
|
-
if (!("parameters" in e)) return;
|
|
82
|
-
let t = _.find((t) => t in e);
|
|
83
|
-
if (t !== void 0) throw new g(`Filter leaf mixes "parameters" with the clean inline key "${t}".`);
|
|
84
|
-
}
|
|
85
|
-
function fe(e) {
|
|
86
|
-
throw typeof e.expression != "string" || e.expression.length === 0 ? new g("Clean filter leaf is missing a non-empty \"expression\".") : typeof e.datasetId != "string" && typeof e.dataset_id != "string" ? new g(`Clean filter leaf "${e.expression}" is missing a "datasetId".`) : new g(`Clean filter leaf "${e.expression}" must name exactly one of "columnId", "formulaId", "formula", or "columnExpression".`);
|
|
87
|
-
}
|
|
88
|
-
function w(e) {
|
|
89
|
-
return e === "where" || e === "having";
|
|
90
|
-
}
|
|
91
|
-
function T(e) {
|
|
92
|
-
if (e > 20) throw new g("Filter nesting exceeds the maximum depth of 20.");
|
|
93
|
-
}
|
|
94
|
-
function pe(e) {
|
|
95
|
-
if (e == null) return "empty";
|
|
96
|
-
if (!Array.isArray(e)) return "unknown";
|
|
97
|
-
if (e.length === 0) return "empty";
|
|
98
|
-
let t = !1, n = !1, r = !1, i = (e, a) => {
|
|
99
|
-
if (a > 20) {
|
|
100
|
-
r = !0;
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
if (y(e)) {
|
|
104
|
-
w(e.clause) && (n = !0);
|
|
105
|
-
let t = [...Array.isArray(e.filters) ? e.filters : [], ...Array.isArray(e.subGroups) ? e.subGroups : []];
|
|
106
|
-
for (let e of t) i(e, a + 1);
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
if (b(e)) {
|
|
110
|
-
"parameters" in e && x(e) ? r = !0 : S(e) ? n = !0 : C(e) ? t = !0 : r = !0;
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
|
-
r = !0;
|
|
114
|
-
};
|
|
115
|
-
for (let t of e) i(t, 1);
|
|
116
|
-
return r ? "unknown" : n && t ? "mixed" : n ? "clean" : t ? "canonical" : "empty";
|
|
117
|
-
}
|
|
118
|
-
//#endregion
|
|
119
|
-
//#region src/components/filters/transformations/clean-filters.ts
|
|
120
|
-
var E = /* @__PURE__ */ new Set(["? is null", "? is not null"]), D = /* @__PURE__ */ new Set([
|
|
121
|
-
"? = ?",
|
|
122
|
-
"? != ?",
|
|
123
|
-
"? < ?",
|
|
124
|
-
"? <= ?",
|
|
125
|
-
"? > ?",
|
|
126
|
-
"? >= ?"
|
|
127
|
-
]), me = /* @__PURE__ */ new Set([
|
|
128
|
-
"? in ?",
|
|
129
|
-
"? not in ?",
|
|
130
|
-
"? between ?"
|
|
131
|
-
]), he = {
|
|
132
|
-
"array[numeric]": "numeric[]",
|
|
133
|
-
"array[hierarchy]": "hierarchy[]",
|
|
134
|
-
"array[datetime]": "datetime[]"
|
|
135
|
-
}, ge = /* @__PURE__ */ new Set([
|
|
136
|
-
"level",
|
|
137
|
-
"lowestLevel",
|
|
138
|
-
"unnest",
|
|
139
|
-
"discretization",
|
|
140
|
-
"aggregation",
|
|
141
|
-
"index",
|
|
142
|
-
"include_nonoccurring",
|
|
143
|
-
"simplification"
|
|
144
|
-
]);
|
|
145
|
-
function O(e, t) {
|
|
146
|
-
return e !== "lowestLevel" && !(t === null && ge.has(e));
|
|
147
|
-
}
|
|
148
|
-
function k(e) {
|
|
149
|
-
return structuredClone(e);
|
|
150
|
-
}
|
|
151
|
-
function A(e) {
|
|
152
|
-
let t = e.datasetId ?? e.dataset_id;
|
|
153
|
-
if (typeof t != "string" || t.length === 0) throw new g("Filter reference is missing a \"datasetId\".");
|
|
154
|
-
return t;
|
|
155
|
-
}
|
|
156
|
-
function j(e) {
|
|
157
|
-
return v(e) ? typeof e.columnId == "string" || typeof e.column_id == "string" || typeof e.formulaId == "string" || typeof e.formula_id == "string" || typeof e.formula == "string" || (typeof e.datasetId == "string" || typeof e.dataset_id == "string") && (e.columnExpression !== void 0 || e.expression !== void 0) : !1;
|
|
158
|
-
}
|
|
159
|
-
function M(e) {
|
|
160
|
-
let t = { type: e.type };
|
|
161
|
-
return e.bins !== void 0 && (t.bins = e.bins), Array.isArray(e.over) && (t.over = e.over.map((e) => I(e))), t;
|
|
162
|
-
}
|
|
163
|
-
function _e(e) {
|
|
164
|
-
let t = { type: e.type }, n = e.datasetId ?? e.dataset_id, r = e.columnId ?? e.column_id;
|
|
165
|
-
return n !== void 0 && (t.datasetId = n), r !== void 0 && (t.columnId = r), e.level !== void 0 && O("level", e.level) && (t.level = e.level), v(e.discretization) && (t.discretization = M(e.discretization)), e.unnest !== void 0 && O("unnest", e.unnest) && (t.unnest = e.unnest), t;
|
|
166
|
-
}
|
|
167
|
-
function N(e) {
|
|
168
|
-
let t = { type: e.type };
|
|
169
|
-
return e.bins !== void 0 && (t.bins = e.bins), Array.isArray(e.over) && (t.over = e.over.map((e) => v(e) ? F(e) : e)), t;
|
|
170
|
-
}
|
|
171
|
-
function ve(e) {
|
|
172
|
-
let t = { type: e.type }, n = e.datasetId ?? e.dataset_id, r = e.columnId ?? e.column_id;
|
|
173
|
-
return n !== void 0 && (t.datasetId = n), r !== void 0 && (t.columnId = r), e.level !== void 0 && (t.level = e.level), v(e.discretization) && (t.discretization = N(e.discretization)), e.unnest !== void 0 && (t.unnest = e.unnest), t;
|
|
174
|
-
}
|
|
175
|
-
function ye(e, t) {
|
|
176
|
-
e.level !== void 0 && (t.level = k(e.level)), v(e.discretization) && (t.discretization = N(e.discretization)), v(e.aggregation) && (t.aggregation = ve(e.aggregation)), e.unnest !== void 0 && (t.unnest = k(e.unnest));
|
|
177
|
-
}
|
|
178
|
-
function P(e, t) {
|
|
179
|
-
let n = e.columnId ?? e.column_id;
|
|
180
|
-
if (n !== void 0) return {
|
|
181
|
-
kind: "columnId",
|
|
182
|
-
value: n
|
|
183
|
-
};
|
|
184
|
-
let r = e.formulaId ?? e.formula_id;
|
|
185
|
-
if (r !== void 0) return {
|
|
186
|
-
kind: "formulaId",
|
|
187
|
-
value: r
|
|
188
|
-
};
|
|
189
|
-
if (e.formula !== void 0) return {
|
|
190
|
-
kind: "formula",
|
|
191
|
-
value: e.formula
|
|
192
|
-
};
|
|
193
|
-
let i = e.columnExpression ?? (t ? e.expression : void 0);
|
|
194
|
-
if (i !== void 0) return {
|
|
195
|
-
kind: "expression",
|
|
196
|
-
value: i
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
function F(e, t = !0) {
|
|
200
|
-
let n = { datasetId: A(e) }, r = P(e, t);
|
|
201
|
-
return r !== void 0 && (r.kind === "expression" ? n.expression = r.value : n[r.kind] = r.value), ye(e, n), n;
|
|
202
|
-
}
|
|
203
|
-
function I(e) {
|
|
204
|
-
if (!v(e)) throw new g("Cannot emit a clean filter reference.");
|
|
205
|
-
let t = { datasetId: A(e) };
|
|
206
|
-
e.level !== void 0 && O("level", e.level) && (t.level = e.level), v(e.discretization) && (t.discretization = M(e.discretization)), v(e.aggregation) && (t.aggregation = _e(e.aggregation)), e.unnest !== void 0 && O("unnest", e.unnest) && (t.unnest = e.unnest);
|
|
207
|
-
let n = P(e, !0);
|
|
208
|
-
if (n === void 0) throw new g("Cannot emit a clean filter reference: no column, formula, or expression.");
|
|
209
|
-
return n.kind === "expression" ? t.columnExpression = n.value : t[n.kind] = n.value, t;
|
|
210
|
-
}
|
|
211
|
-
function be(e) {
|
|
212
|
-
if (!v(e) || typeof e.parameter != "string" || typeof e.type != "string") return e;
|
|
213
|
-
let t = he[e.type];
|
|
214
|
-
return t === void 0 ? e : {
|
|
215
|
-
...e,
|
|
216
|
-
type: t
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
function xe(e, t) {
|
|
220
|
-
return v(t) && typeof t.parameter == "string" ? !0 : Array.isArray(t) ? e !== "? between ?" || t.length === 2 : !1;
|
|
221
|
-
}
|
|
222
|
-
function Se(e, t) {
|
|
223
|
-
let n = e.expression, r = [F(e, !1)];
|
|
224
|
-
if (!E.has(n) && e.value !== void 0) {
|
|
225
|
-
let t = D.has(n) && j(e.value);
|
|
226
|
-
r.push(t ? F(e.value) : k(e.value));
|
|
227
|
-
}
|
|
228
|
-
let i = {};
|
|
229
|
-
typeof e.id == "string" && (i.id = e.id), "ignoredItemIds" in e && (i.ignore = k(e.ignoredItemIds)), t !== void 0 && (i.type = t);
|
|
230
|
-
let a = {
|
|
231
|
-
expression: n,
|
|
232
|
-
parameters: r
|
|
233
|
-
};
|
|
234
|
-
return Object.keys(i).length > 0 && (a.properties = i), a;
|
|
235
|
-
}
|
|
236
|
-
function Ce(e) {
|
|
237
|
-
let { expression: t } = e;
|
|
238
|
-
if (typeof t != "string" || t.length === 0) return null;
|
|
239
|
-
let n = Array.isArray(e.parameters) ? e.parameters : [];
|
|
240
|
-
if (!v(n[0])) throw new g(`Cannot emit a clean filter reference for "${t}".`);
|
|
241
|
-
let r = {
|
|
242
|
-
...I(n[0]),
|
|
243
|
-
expression: t
|
|
244
|
-
};
|
|
245
|
-
if (!E.has(t)) {
|
|
246
|
-
let e = n[1];
|
|
247
|
-
if (e === void 0) throw new g(`Filter "${t}" is missing its value operand.`);
|
|
248
|
-
if (r.value = j(e) && D.has(t) ? I(e) : be(k(e)), me.has(t) && !xe(t, r.value)) throw new g(`Cannot emit an invalid clean filter value for "${t}".`);
|
|
249
|
-
}
|
|
250
|
-
let { properties: i } = e;
|
|
251
|
-
return i?.id !== void 0 && (r.id = i.id), i !== void 0 && "ignore" in i && (r.ignoredItemIds = k(i.ignore)), r;
|
|
252
|
-
}
|
|
253
|
-
function L(e) {
|
|
254
|
-
return y(e);
|
|
255
|
-
}
|
|
256
|
-
function R(e) {
|
|
257
|
-
return Array.isArray(e.filters) ? e.filters : [];
|
|
258
|
-
}
|
|
259
|
-
function z(e, t) {
|
|
260
|
-
return e.properties?.type === "having" || e.properties?.type === "where" ? e.properties.type : t ?? "where";
|
|
261
|
-
}
|
|
262
|
-
function B(e, t, n = 1, r = /* @__PURE__ */ new Set()) {
|
|
263
|
-
T(n);
|
|
264
|
-
let i = e.clause ?? t;
|
|
265
|
-
for (let t of R(e)) L(t) ? B(t, i, n + 1, r) : typeof t.expression == "string" && t.expression.length > 0 && r.add(z(t, i));
|
|
266
|
-
return r;
|
|
267
|
-
}
|
|
268
|
-
function V(e, t, n = 1) {
|
|
269
|
-
T(n);
|
|
270
|
-
let r = e.clause ?? t;
|
|
271
|
-
if (e.condition === "or" && B(e, r, n).size > 1) throw new g("An \"or\" group mixes \"where\" and \"having\" filters, which clean output cannot represent.");
|
|
272
|
-
for (let t of R(e)) L(t) && V(t, r, n + 1);
|
|
273
|
-
}
|
|
274
|
-
function H(e, t, n, r = 1) {
|
|
275
|
-
T(r);
|
|
276
|
-
let i = e.clause ?? n, a = [];
|
|
277
|
-
for (let n of R(e)) {
|
|
278
|
-
if (L(n)) {
|
|
279
|
-
let e = H(n, t, i, r + 1);
|
|
280
|
-
e.filters.length > 0 && a.push(e);
|
|
281
|
-
continue;
|
|
282
|
-
}
|
|
283
|
-
if (z(n, i) !== t) continue;
|
|
284
|
-
let e = Ce(n);
|
|
285
|
-
e && a.push(e);
|
|
286
|
-
}
|
|
287
|
-
let o = {
|
|
288
|
-
condition: e.condition === "or" ? "or" : "and",
|
|
289
|
-
filters: a
|
|
290
|
-
};
|
|
291
|
-
return e.id !== void 0 && B(e, i, r).size <= 1 && (o.id = e.id), o;
|
|
292
|
-
}
|
|
293
|
-
function we(e) {
|
|
294
|
-
let t = e.clause;
|
|
295
|
-
V(e, t);
|
|
296
|
-
let n = B(e, t);
|
|
297
|
-
return n.size === 0 && n.add(t ?? "where"), ["where", "having"].filter((e) => n.has(e)).map((n) => ({
|
|
298
|
-
...H(e, n, t),
|
|
299
|
-
clause: n
|
|
300
|
-
})).filter((e) => e.filters.length > 0);
|
|
301
|
-
}
|
|
302
|
-
//#endregion
|
|
303
|
-
//#region src/components/filters/transformations/transform-filters.ts
|
|
304
|
-
var Te = [
|
|
305
|
-
"origin",
|
|
306
|
-
"datasetId",
|
|
307
|
-
"vizId",
|
|
308
|
-
"itemId",
|
|
309
|
-
"isDrilldown",
|
|
310
|
-
"type"
|
|
311
|
-
];
|
|
312
|
-
function U(e) {
|
|
313
|
-
return typeof e == "string" && e.toLowerCase() === "or" ? "or" : "and";
|
|
314
|
-
}
|
|
315
|
-
function Ee(e) {
|
|
316
|
-
return y(e);
|
|
317
|
-
}
|
|
318
|
-
function De(e) {
|
|
319
|
-
if (!Array.isArray(e) || e.length === 0) return [];
|
|
320
|
-
let t = v(e[0]) ? e[0] : void 0, n = e.length > 1 ? e[1] : void 0;
|
|
321
|
-
return e.length > 1 ? [t, n] : [t];
|
|
322
|
-
}
|
|
323
|
-
function Oe(e) {
|
|
324
|
-
if (typeof e.expression != "string" || e.expression.length === 0) return null;
|
|
325
|
-
let t = {
|
|
326
|
-
expression: e.expression,
|
|
327
|
-
parameters: De(e.parameters)
|
|
328
|
-
};
|
|
329
|
-
return e.properties !== void 0 && Object.keys(e.properties).length > 0 && (t.properties = structuredClone(e.properties)), t;
|
|
330
|
-
}
|
|
331
|
-
function W(e, t) {
|
|
332
|
-
let n = e, r = t;
|
|
333
|
-
for (let e of Te) n[e] !== void 0 && (r[e] = n[e]);
|
|
334
|
-
}
|
|
335
|
-
function G(e) {
|
|
336
|
-
if (!e || !e.filters) return {
|
|
337
|
-
condition: "and",
|
|
338
|
-
filters: [],
|
|
339
|
-
subGroups: []
|
|
340
|
-
};
|
|
341
|
-
let t = [], n = [];
|
|
342
|
-
for (let r of e.filters) if (Ee(r)) n.push(G(r));
|
|
343
|
-
else {
|
|
344
|
-
let e = Oe(r);
|
|
345
|
-
e && t.push(e);
|
|
346
|
-
}
|
|
347
|
-
let r = {
|
|
348
|
-
condition: U(e.condition),
|
|
349
|
-
filters: t,
|
|
350
|
-
subGroups: n
|
|
351
|
-
};
|
|
352
|
-
return e.id !== void 0 && (r.id = e.id), W(e, r), r;
|
|
353
|
-
}
|
|
354
|
-
function K(e, t) {
|
|
355
|
-
return e ? t?.format === "clean" ? we(e) : [G(e)] : [];
|
|
356
|
-
}
|
|
357
|
-
function q(e, t) {
|
|
358
|
-
let n = {
|
|
359
|
-
expression: typeof e.expression == "string" ? e.expression : void 0,
|
|
360
|
-
parameters: Array.isArray(e.parameters) ? [...e.parameters] : []
|
|
361
|
-
}, r = v(e.properties) ? structuredClone(e.properties) : {};
|
|
362
|
-
return t !== void 0 && r.type === void 0 && (r.type = t), Object.keys(r).length > 0 && (n.properties = r), n;
|
|
363
|
-
}
|
|
364
|
-
function ke(e, t, n) {
|
|
365
|
-
if (y(e)) return J(e, t, n);
|
|
366
|
-
if (!v(e)) return;
|
|
367
|
-
let r = e.expression;
|
|
368
|
-
if (de(e), S(e)) return Se(e, t);
|
|
369
|
-
if (x(e) && fe(e), C(e)) return q(e, t);
|
|
370
|
-
throw new g(`Filter leaf "${String(r)}" matches neither a complete clean nor a complete canonical encoding.`);
|
|
371
|
-
}
|
|
372
|
-
function J(e, t, n) {
|
|
373
|
-
T(n);
|
|
374
|
-
let r = w(e.clause) ? e.clause : void 0, i = r ?? t, a = [];
|
|
375
|
-
for (let t of Array.isArray(e.filters) ? e.filters : []) {
|
|
376
|
-
let e = ke(t, i, n + 1);
|
|
377
|
-
e !== void 0 && a.push(e);
|
|
378
|
-
}
|
|
379
|
-
for (let t of Array.isArray(e.subGroups) ? e.subGroups : []) y(t) && a.push(J(t, i, n + 1));
|
|
380
|
-
let o = {
|
|
381
|
-
condition: U(e.condition),
|
|
382
|
-
filters: a
|
|
383
|
-
};
|
|
384
|
-
return typeof e.id == "string" && (o.id = e.id), r !== void 0 && (o.clause = r), W(e, o), o;
|
|
385
|
-
}
|
|
386
|
-
function Y(e) {
|
|
387
|
-
return !e || e.length === 0 ? [] : e.filter((e) => y(e)).map((e) => J(e, void 0, 1));
|
|
388
|
-
}
|
|
389
|
-
//#endregion
|
|
390
|
-
//#region src/components/filters/filters.module.scss?inline
|
|
391
|
-
var Ae = ":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;container-type:inline-size}.filter-group-container{max-width:100%;padding:calc(var(--luzmo-indicator-gap) + 2 * var(--luzmo-indicator-width));overflow-x: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:flex-start;gap:var(--luzmo-filters-filter-line-gap,var(--filters-filter-line-gap));flex-wrap:nowrap;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:flex-end;margin-inline-start:auto}.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));font-weight:var(--luzmo-filters-condition-font-weight,var(--filters-condition-font-weight-emphasized));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))}.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))}@container (width<=480px){.condition-badge{--luzmo-action-button-font-size:.6875rem;--luzmo-action-button-height:1.2rem;--luzmo-button-line-height:1.2rem;font-size:.6875rem;line-height:1.2rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-90deg)}:host([dir=rtl]) .condition-badge{transform:translate(-50%,-50%)rotate(90deg)}}.filters-loading{min-height:var(--filters-progress-circle-size);align-items:center;display:inline-flex}.filters-loading luzmo-progress-circle{--luzmo-progress-circle-size:var(--filters-progress-circle-size)}.filters-text,.filters-outline{font-size:var(--luzmo-filters-text-font-size,var(--filters-text-font-size));line-height:1.5}.filters-outline{--filters-outline-sentence-padding-block:calc((var(--filters-outline-row-min-height) - 1lh) / 2)}luzmo-filter-item[display=text]{--luzmo-filter-item-column-badge-color:var(--luzmo-filters-column-badge-color);--luzmo-filter-item-column-badge-font-color:var(--luzmo-filters-column-badge-font-color);--luzmo-filter-item-text-font-size:var(--luzmo-filters-text-font-size,var(--filters-text-font-size));--luzmo-filter-item-text-expression-color:var(--luzmo-filters-expression-color,var(--filters-expression-color));--luzmo-filter-item-text-expression-font-weight:var(--luzmo-filters-expression-font-weight,var(--filters-expression-font-weight))}.filters-text luzmo-filter-item[display=text],.filters-text-group luzmo-filter-item[display=text]{--luzmo-filter-item-text-icon-gap:var(--luzmo-filters-text-icon-gap,var(--filters-text-icon-gap))}.outline-sentence>luzmo-filter-item[display=text]{--luzmo-filter-item-text-icon-gap:var(--luzmo-filters-text-part-gap,var(--filters-text-part-gap))}.filters-text{white-space:pre-wrap;word-break:break-word}.filters-text .filters-text-condition{margin-inline:0}.filters-text-condition,.filters-text-paren{vertical-align:middle}.filters-text-condition{color:var(--luzmo-filters-condition-color,var(--filters-condition-color));font-weight:var(--luzmo-filters-condition-font-weight,var(--filters-condition-font-weight))}.outline-group{gap:var(--luzmo-spacing-1);flex-direction:column;min-width:0;display:flex}.outline-children>.outline-group:not(:first-child){margin-top:calc(var(--luzmo-spacing-1) + var(--filters-outline-sentence-padding-block) + var(--filters-outline-join-spacing) - var(--luzmo-spacing-2))}.outline-condition{color:var(--luzmo-filters-condition-color,var(--filters-condition-color));font-size:var(--luzmo-filters-outline-condition-font-size,var(--filters-outline-condition-font-size));font-weight:var(--luzmo-filters-condition-font-weight,var(--filters-condition-font-weight-emphasized));letter-spacing:.04em}.outline-children{gap:var(--luzmo-spacing-2);min-width:0;flex-direction:column;margin-inline-start:var(--luzmo-filters-outline-children-margin-inline-start,var(--filters-outline-children-margin-inline-start));padding-inline-start:var(--luzmo-filters-outline-children-padding-inline-start,var(--filters-outline-children-padding-inline-start));display:flex;position:relative}.outline-children:not(.outline-children--single):before{content:\"\";inset-inline-start:0;inset-block:var(--luzmo-filters-outline-bracket-inset,var(--filters-outline-bracket-inset));width:var(--luzmo-spacing-2);border-inline-start:1px solid var(--luzmo-border-color);border-block-start:1px solid var(--luzmo-border-color);border-block-end:1px solid var(--luzmo-border-color);border-start-start-radius:var(--luzmo-border-radius);border-end-start-radius:var(--luzmo-border-radius);position:absolute}.outline-children--single{margin-inline-start:0;padding-inline-start:0}.outline-row{align-items:flex-start;column-gap:var(--luzmo-spacing-2);min-width:0;min-height:var(--filters-outline-row-min-height);flex-wrap:nowrap;display:flex}.outline-sentence{align-items:center;gap:var(--luzmo-filters-text-part-gap,var(--filters-text-part-gap));min-width:0;padding-block:var(--filters-outline-sentence-padding-block);flex-wrap:wrap;flex:auto;display:flex}.outline-delete{flex:none;align-self:flex-end;margin-inline-start:auto}: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);--filters-text-font-size:var(--luzmo-font-size-m);--filters-outline-row-min-height:var(--luzmo-component-height);--filters-progress-circle-size:var(--luzmo-component-height);--filters-text-part-gap:var(--luzmo-spacing-2);--filters-text-icon-gap:var(--luzmo-spacing-1);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-2);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-3);--filters-outline-bracket-inset:var(--luzmo-spacing-2);--filters-outline-join-spacing:var(--luzmo-spacing-2);--filters-expression-color:var(--luzmo-filters-font-color,var(--luzmo-font-color));--filters-expression-font-weight:var(--luzmo-font-weight);--filters-condition-color:var(--luzmo-filters-font-color,var(--luzmo-font-color));--filters-condition-font-weight:var(--luzmo-font-weight);--filters-condition-font-weight-emphasized:var(--luzmo-font-weight-bold);--filters-outline-condition-font-size:var(--luzmo-font-size-s)}: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);--filters-text-font-size:var(--luzmo-font-size-s);--filters-outline-row-min-height:var(--luzmo-component-height-s);--filters-progress-circle-size:var(--luzmo-component-height-s);--filters-text-part-gap:var(--luzmo-spacing-1);--filters-text-icon-gap:var(--luzmo-spacing-1);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-1);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-3);--filters-outline-bracket-inset:var(--luzmo-spacing-1);--filters-outline-join-spacing:var(--luzmo-spacing-1);--filters-outline-condition-font-size:var(--luzmo-font-size-xs)}: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);--filters-text-font-size:var(--luzmo-font-size-l);--filters-outline-row-min-height:var(--luzmo-component-height-l);--filters-progress-circle-size:var(--luzmo-component-height-l);--filters-text-part-gap:var(--luzmo-spacing-3);--filters-text-icon-gap:var(--luzmo-spacing-2);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-3);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-4);--filters-outline-bracket-inset:var(--luzmo-spacing-2);--filters-outline-join-spacing:var(--luzmo-spacing-3);--filters-outline-condition-font-size:var(--luzmo-font-size-m)}: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);--filters-text-font-size:var(--luzmo-font-size-xl);--filters-outline-row-min-height:var(--luzmo-component-height-xl);--filters-progress-circle-size:var(--luzmo-component-height-xl);--filters-text-part-gap:var(--luzmo-spacing-4);--filters-text-icon-gap:var(--luzmo-spacing-2);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-4);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-5);--filters-outline-bracket-inset:var(--luzmo-spacing-3);--filters-outline-join-spacing:var(--luzmo-spacing-3);--filters-outline-condition-font-size:var(--luzmo-font-size-l)}@container (width<=480px){.filter-group-container{--filters-condition-warpper-width:32px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-2);--filters-filters-list-gap:var(--luzmo-spacing-5)}}";
|
|
392
|
-
//#endregion
|
|
393
|
-
//#region src/components/filters/filters.ts
|
|
394
|
-
function X(e) {
|
|
395
|
-
if (e instanceof g) return e;
|
|
396
|
-
throw e;
|
|
397
|
-
}
|
|
398
|
-
var Z = {
|
|
399
|
-
and: () => m("AND", { desc: "Logical AND condition for combining filters" }),
|
|
400
|
-
or: () => m("OR", { desc: "Logical OR condition for combining filters" })
|
|
401
|
-
};
|
|
402
|
-
function Q(e) {
|
|
403
|
-
return e === "and" ? "or" : "and";
|
|
404
|
-
}
|
|
405
|
-
var $ = class extends t(se(oe, { validSizes: Object.values(ae) })) {
|
|
406
|
-
constructor(...e) {
|
|
407
|
-
super(...e), this.apiUrl = "https://api.luzmo.com", this.contentLanguage = "en", this.filters = [], this.format = "canonical", this.display = "rich", this.columnDisplay = "text", this.quiet = !1, this.readonly = !1, this.allowParameters = !1, this.parameters = [], this.debounce = 300, this._internalFilterGroup = null, this._datasets = [], this._datasetsLoading = !1, this._hierarchyLabels = /* @__PURE__ */ new Map(), this._hierarchyLabelsLoading = !1, this._hasSyntheticRoot = !1, this._datasetRequest = 0, this._hierarchyRequest = 0, this._debounceTimeout = null;
|
|
408
|
-
}
|
|
409
|
-
static get styles() {
|
|
410
|
-
return [ne(Ae)];
|
|
411
|
-
}
|
|
412
|
-
get _oneSizeSmaller() {
|
|
413
|
-
return {
|
|
414
|
-
xxs: "xxs",
|
|
415
|
-
xs: "xs",
|
|
416
|
-
s: "xs",
|
|
417
|
-
m: "s",
|
|
418
|
-
l: "m",
|
|
419
|
-
xl: "l",
|
|
420
|
-
xxl: "xl"
|
|
421
|
-
}[this.size] || "s";
|
|
422
|
-
}
|
|
423
|
-
get _isDatasetIdsEmpty() {
|
|
424
|
-
return !this.datasetIds || this.datasetIds.length === 0;
|
|
425
|
-
}
|
|
426
|
-
connectedCallback() {
|
|
427
|
-
super.connectedCallback(), this.hasUpdated && this.display !== "rich" && this._loadDatasetsForDisplay();
|
|
428
|
-
}
|
|
429
|
-
disconnectedCallback() {
|
|
430
|
-
super.disconnectedCallback(), this._datasetRequest += 1, this._hierarchyRequest += 1, this._debounceTimeout &&= (clearTimeout(this._debounceTimeout), null);
|
|
431
|
-
}
|
|
432
|
-
willUpdate(e) {
|
|
433
|
-
if (super.willUpdate(e), e.has("filters")) try {
|
|
434
|
-
let e = Y(this.filters);
|
|
435
|
-
e.length === 0 ? (this._internalFilterGroup = null, this._hasSyntheticRoot = !1) : e.length === 1 ? (this._internalFilterGroup = structuredClone(e[0]), this._hasSyntheticRoot = !1) : (this._internalFilterGroup = {
|
|
436
|
-
condition: "and",
|
|
437
|
-
filters: structuredClone(e)
|
|
438
|
-
}, this._hasSyntheticRoot = !0);
|
|
439
|
-
} catch (t) {
|
|
440
|
-
console.warn(`[${this.localName}] Keeping the current filters, the new value cannot be normalized:`, X(t)), this.filters = e.get("filters") ?? [];
|
|
441
|
-
}
|
|
442
|
-
this.display !== "rich" && (e.has("display") || e.has("datasetIds") || e.has("authKey") || e.has("authToken") || e.has("apiUrl") || e.has("cacheTime")) && this._loadDatasetsForDisplay(), this.display !== "rich" && (e.has("filters") || e.has("display") || e.has("contentLanguage")) && this._loadHierarchyLabelsForDisplay();
|
|
443
|
-
}
|
|
444
|
-
async _loadDatasetsForDisplay() {
|
|
445
|
-
let e = ++this._datasetRequest;
|
|
446
|
-
if (!this.datasetIds || this.datasetIds.length === 0) {
|
|
447
|
-
this._datasets = [], this._datasetsLoading = !1, this._loadHierarchyLabelsForDisplay();
|
|
448
|
-
return;
|
|
449
|
-
}
|
|
450
|
-
let { valid: t, invalid: i } = r(this.datasetIds);
|
|
451
|
-
if (i.length > 0 && console.warn(`[${this.localName}] Invalid dataset IDs provided (not valid UUIDs): ${i.join(", ")}. These will be skipped.`), t.length === 0) {
|
|
452
|
-
this._datasets = [], this._datasetsLoading = !1, this._loadHierarchyLabelsForDisplay();
|
|
453
|
-
return;
|
|
454
|
-
}
|
|
455
|
-
this._datasetsLoading = !0, this._configureDataBroker();
|
|
456
|
-
try {
|
|
457
|
-
let r = await n.fetchDatasetsWithColumnsAndFormulas(t);
|
|
458
|
-
if (!this.isConnected || e !== this._datasetRequest) return;
|
|
459
|
-
this._datasets = r;
|
|
460
|
-
} catch (t) {
|
|
461
|
-
if (!this.isConnected || e !== this._datasetRequest) return;
|
|
462
|
-
console.error(`[${this.localName}] Error fetching dataset columns & formulas:`, t), this._datasets = [];
|
|
463
|
-
} finally {
|
|
464
|
-
this.isConnected && e === this._datasetRequest && (this._datasetsLoading = !1, this._loadHierarchyLabelsForDisplay());
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
_configureDataBroker() {
|
|
468
|
-
let e = {
|
|
469
|
-
authKey: this.authKey || "",
|
|
470
|
-
authToken: this.authToken || ""
|
|
471
|
-
};
|
|
472
|
-
this.apiUrl && (e.apiUrl = this.apiUrl), this.cacheTime && (e.staleTime = this.cacheTime, e.gcTime = this.cacheTime * 2), n.configure(e);
|
|
473
|
-
}
|
|
474
|
-
async _loadHierarchyLabelsForDisplay() {
|
|
475
|
-
let e = ++this._hierarchyRequest;
|
|
476
|
-
if (this.display === "rich" || !this._internalFilterGroup) {
|
|
477
|
-
if (!this.isConnected || e !== this._hierarchyRequest) return;
|
|
478
|
-
this._hierarchyLabels = /* @__PURE__ */ new Map(), this._hierarchyLabelsLoading = !1;
|
|
479
|
-
return;
|
|
480
|
-
}
|
|
481
|
-
let t = ee(this._internalFilterGroup, this._filterTextContext());
|
|
482
|
-
if (t.length === 0) {
|
|
483
|
-
if (!this.isConnected || e !== this._hierarchyRequest) return;
|
|
484
|
-
this._hierarchyLabels = /* @__PURE__ */ new Map(), this._hierarchyLabelsLoading = !1;
|
|
485
|
-
return;
|
|
486
|
-
}
|
|
487
|
-
this._hierarchyLabelsLoading = !0, this._configureDataBroker();
|
|
488
|
-
try {
|
|
489
|
-
let n = await o(t, this.contentLanguage);
|
|
490
|
-
if (!this.isConnected || e !== this._hierarchyRequest) return;
|
|
491
|
-
this._hierarchyLabels = n;
|
|
492
|
-
} catch (t) {
|
|
493
|
-
if (!this.isConnected || e !== this._hierarchyRequest) return;
|
|
494
|
-
console.error(`[${this.localName}] Error fetching hierarchy member names:`, t);
|
|
495
|
-
} finally {
|
|
496
|
-
this.isConnected && e === this._hierarchyRequest && (this._hierarchyLabelsLoading = !1);
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
_filterTextContext() {
|
|
500
|
-
return {
|
|
501
|
-
datasets: this._datasets,
|
|
502
|
-
contentLanguage: this.contentLanguage,
|
|
503
|
-
timeZone: this.timeZone,
|
|
504
|
-
hierarchyLabels: this._hierarchyLabels,
|
|
505
|
-
hierarchyLabelsLoading: this._hierarchyLabelsLoading
|
|
506
|
-
};
|
|
507
|
-
}
|
|
508
|
-
_generateEmptyGroup() {
|
|
509
|
-
return {
|
|
510
|
-
id: i(),
|
|
511
|
-
condition: "and",
|
|
512
|
-
filters: []
|
|
513
|
-
};
|
|
514
|
-
}
|
|
515
|
-
_generateEmptyFilter() {
|
|
516
|
-
return {
|
|
517
|
-
expression: void 0,
|
|
518
|
-
parameters: [],
|
|
519
|
-
properties: { id: i() }
|
|
520
|
-
};
|
|
521
|
-
}
|
|
522
|
-
_rootGroupsForExport() {
|
|
523
|
-
if (!this._internalFilterGroup) return [];
|
|
524
|
-
let e = this._internalFilterGroup.filters.length > 0 && this._internalFilterGroup.filters.every((e) => this._isGroup(e));
|
|
525
|
-
return this._hasSyntheticRoot && e ? structuredClone(this._internalFilterGroup.filters) : [structuredClone(this._internalFilterGroup)];
|
|
526
|
-
}
|
|
527
|
-
_getFiltersForExport() {
|
|
528
|
-
let e = this._rootGroupsForExport(), t = this.format === "clean" ? "clean" : "canonical";
|
|
529
|
-
if (e.length === 0) return {
|
|
530
|
-
filters: [],
|
|
531
|
-
format: t
|
|
532
|
-
};
|
|
533
|
-
if (t === "clean") try {
|
|
534
|
-
return {
|
|
535
|
-
filters: e.flatMap((e) => K(e, { format: "clean" })),
|
|
536
|
-
format: "clean"
|
|
537
|
-
};
|
|
538
|
-
} catch (e) {
|
|
539
|
-
console.warn(`[${this.localName}] Cannot emit clean filters, falling back to canonical output:`, X(e));
|
|
540
|
-
}
|
|
541
|
-
return {
|
|
542
|
-
filters: e.flatMap((e) => K(e)),
|
|
543
|
-
format: "canonical"
|
|
544
|
-
};
|
|
545
|
-
}
|
|
546
|
-
_sendChangeEvent() {
|
|
547
|
-
this._debounceTimeout && clearTimeout(this._debounceTimeout);
|
|
548
|
-
let e = () => {
|
|
549
|
-
this.dispatchEvent(new CustomEvent("luzmo-filters-changed", {
|
|
550
|
-
bubbles: !0,
|
|
551
|
-
composed: !0,
|
|
552
|
-
cancelable: !0,
|
|
553
|
-
detail: this._getFiltersForExport()
|
|
554
|
-
}));
|
|
555
|
-
};
|
|
556
|
-
this.debounce > 0 ? this._debounceTimeout = setTimeout(e, this.debounce) : e();
|
|
557
|
-
}
|
|
558
|
-
_isGroup(e) {
|
|
559
|
-
return "condition" in e && "filters" in e;
|
|
560
|
-
}
|
|
561
|
-
_handleParameterCreated(e) {
|
|
562
|
-
let t = e.detail?.parameter;
|
|
563
|
-
this.readonly || !t || this.parameters.some(({ parameter: e }) => e === t.parameter) || (this.parameters = [...this.parameters, t]);
|
|
564
|
-
}
|
|
565
|
-
_toggleCondition(e) {
|
|
566
|
-
this.readonly || (e.condition = Q(e.condition), e === this._internalFilterGroup && (this._hasSyntheticRoot = !1), this.requestUpdate(), this._sendChangeEvent());
|
|
567
|
-
}
|
|
568
|
-
_addFilter(e) {
|
|
569
|
-
if (this.readonly || this._isDatasetIdsEmpty) return;
|
|
570
|
-
let t = e;
|
|
571
|
-
t ||= (this._internalFilterGroup ||= this._generateEmptyGroup(), this._internalFilterGroup), t.filters.push(this._generateEmptyFilter()), this.requestUpdate(), this._sendChangeEvent();
|
|
572
|
-
}
|
|
573
|
-
_addSubGroup(e) {
|
|
574
|
-
if (this.readonly || this._isDatasetIdsEmpty) return;
|
|
575
|
-
let t = this._generateEmptyGroup();
|
|
576
|
-
t.condition = Q(e.condition), t.filters.push(this._generateEmptyFilter()), e.filters.push(t), this.requestUpdate(), this._sendChangeEvent();
|
|
577
|
-
}
|
|
578
|
-
_removeFilter(e, t) {
|
|
579
|
-
if (!(this.readonly || !this._internalFilterGroup)) {
|
|
580
|
-
if (e.filters.splice(t, 1), e !== this._internalFilterGroup && e.filters.length === 0) {
|
|
581
|
-
let t = this._findParentGroup(this._internalFilterGroup, e);
|
|
582
|
-
if (t) {
|
|
583
|
-
let n = t.filters.indexOf(e);
|
|
584
|
-
n !== -1 && t.filters.splice(n, 1);
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
this._collapseGroupsAfterDelete(), this.requestUpdate(), this._sendChangeEvent();
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
_updateFilter(e, t, n) {
|
|
591
|
-
n.stopPropagation(), !this.readonly && (this._isGroup(e.filters[t]) || (e.filters[t] = n.detail.filter, this._sendChangeEvent()));
|
|
592
|
-
}
|
|
593
|
-
_addGroup() {
|
|
594
|
-
if (this.readonly || this._isDatasetIdsEmpty) return;
|
|
595
|
-
this._internalFilterGroup ||= this._generateEmptyGroup();
|
|
596
|
-
let e = this._generateEmptyGroup();
|
|
597
|
-
e.condition = Q(this._internalFilterGroup.condition), e.filters.push(this._internalFilterGroup);
|
|
598
|
-
let t = this._generateEmptyGroup();
|
|
599
|
-
t.condition = Q(e.condition), t.filters.push(this._generateEmptyFilter()), e.filters.push(t), this._internalFilterGroup = e, this._hasSyntheticRoot = !1, this.requestUpdate(), this._sendChangeEvent();
|
|
600
|
-
}
|
|
601
|
-
_renderFilterItem(e, t, n) {
|
|
602
|
-
return u`
|
|
603
|
-
<div class="filter-item-wrapper">
|
|
604
|
-
<div class="filter-item-content">
|
|
605
|
-
<luzmo-filter-item
|
|
606
|
-
.apiUrl=${this.apiUrl}
|
|
607
|
-
.authKey=${this.authKey}
|
|
608
|
-
.authToken=${this.authToken}
|
|
609
|
-
.cacheTime=${this.cacheTime}
|
|
610
|
-
.language=${this.language}
|
|
611
|
-
.contentLanguage=${this.contentLanguage}
|
|
612
|
-
.timeZone=${this.timeZone}
|
|
613
|
-
.datasetIds=${this.datasetIds}
|
|
614
|
-
.filter=${e}
|
|
615
|
-
.allowParameters=${this.allowParameters}
|
|
616
|
-
.parameters=${this.parameters}
|
|
617
|
-
.size=${this.size}
|
|
618
|
-
.quiet=${this.quiet}
|
|
619
|
-
.readonly=${this.readonly}
|
|
620
|
-
@luzmo-filter-changed=${this._updateFilter.bind(this, t, n)}
|
|
621
|
-
@luzmo-parameter-created=${this._handleParameterCreated}
|
|
622
|
-
></luzmo-filter-item>
|
|
623
|
-
<luzmo-action-button
|
|
624
|
-
class="delete-filter-button"
|
|
625
|
-
.size=${this.size}
|
|
626
|
-
quiet
|
|
627
|
-
aria-disabled=${this.readonly ? "true" : d}
|
|
628
|
-
.label=${m("Remove filter", { desc: "Aria label for remove filter button" })}
|
|
629
|
-
@click=${this._removeFilter.bind(this, t, n)}
|
|
630
|
-
>
|
|
631
|
-
<luzmo-icon slot="icon" .icon=${l} .size=${this.size}></luzmo-icon>
|
|
632
|
-
</luzmo-action-button>
|
|
633
|
-
</div>
|
|
634
|
-
</div>
|
|
635
|
-
`;
|
|
636
|
-
}
|
|
637
|
-
_renderGroup(e, t = !1) {
|
|
638
|
-
let n = e.filters.length > 0, r = e.filters.length > 1, i = Z[e.condition]?.() ?? e.condition;
|
|
639
|
-
return u`
|
|
640
|
-
<div class="filter-group ${t ? "nested" : ""}" role="group">
|
|
641
|
-
${t ? u`
|
|
642
|
-
<div class="condition-wrapper">
|
|
643
|
-
${r ? u`
|
|
644
|
-
<luzmo-action-button
|
|
645
|
-
class="condition-badge"
|
|
646
|
-
.size=${this._oneSizeSmaller}
|
|
647
|
-
quiet
|
|
648
|
-
aria-disabled=${this.readonly ? "true" : d}
|
|
649
|
-
aria-pressed=${e.condition === "and" ? "true" : "false"}
|
|
650
|
-
.label=${m("Toggle filter condition, currently ", { desc: "Aria label prefix for filter condition toggle" }) + i}
|
|
651
|
-
@click=${this._toggleCondition.bind(this, e)}
|
|
652
|
-
>
|
|
653
|
-
${i}
|
|
654
|
-
</luzmo-action-button>
|
|
655
|
-
` : ""}
|
|
656
|
-
</div>
|
|
657
|
-
` : r ? u`
|
|
658
|
-
<div class="condition-wrapper">
|
|
659
|
-
<luzmo-action-button
|
|
660
|
-
class="condition-badge"
|
|
661
|
-
.size=${this._oneSizeSmaller}
|
|
662
|
-
quiet
|
|
663
|
-
aria-disabled=${this.readonly ? "true" : d}
|
|
664
|
-
aria-pressed=${e.condition === "and" ? "true" : "false"}
|
|
665
|
-
.label=${m("Toggle filter condition, currently ", { desc: "Aria label prefix for filter condition toggle" }) + i}
|
|
666
|
-
@click=${this._toggleCondition.bind(this, e)}
|
|
667
|
-
>
|
|
668
|
-
${i}
|
|
669
|
-
</luzmo-action-button>
|
|
670
|
-
</div>
|
|
671
|
-
` : ""}
|
|
672
|
-
<div class="group-content">
|
|
673
|
-
${n ? u`
|
|
674
|
-
<div class="filters-list">
|
|
675
|
-
${ie(e.filters, (e, t) => t, (t, n) => u`
|
|
676
|
-
${this._isGroup(t) ? this._renderGroup(t, !0) : this._renderFilterItem(t, e, n)}
|
|
677
|
-
`)}
|
|
678
|
-
</div>
|
|
679
|
-
` : ""}
|
|
680
|
-
|
|
681
|
-
<div class="group-actions">
|
|
682
|
-
<luzmo-action-button
|
|
683
|
-
class="add-filter-button"
|
|
684
|
-
.size=${this.size}
|
|
685
|
-
quiet
|
|
686
|
-
aria-disabled=${this.readonly ? "true" : d}
|
|
687
|
-
?disabled=${this._isDatasetIdsEmpty}
|
|
688
|
-
@click=${this._addFilter.bind(this, e)}
|
|
689
|
-
>
|
|
690
|
-
<luzmo-icon slot="icon" .icon=${c} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
691
|
-
${m("Filter", { desc: "Add filter button label" })}
|
|
692
|
-
</luzmo-action-button>
|
|
693
|
-
|
|
694
|
-
<luzmo-action-button
|
|
695
|
-
class="add-subgroup-button"
|
|
696
|
-
.size=${this.size}
|
|
697
|
-
quiet
|
|
698
|
-
aria-disabled=${this.readonly ? "true" : d}
|
|
699
|
-
?disabled=${this._isDatasetIdsEmpty}
|
|
700
|
-
@click=${this._addSubGroup.bind(this, e)}
|
|
701
|
-
>
|
|
702
|
-
<luzmo-icon slot="icon" .icon=${c} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
703
|
-
${m("Subgroup", { desc: "Add subgroup button label" })}
|
|
704
|
-
</luzmo-action-button>
|
|
705
|
-
</div>
|
|
706
|
-
</div>
|
|
707
|
-
</div>
|
|
708
|
-
`;
|
|
709
|
-
}
|
|
710
|
-
_findParentGroup(e, t) {
|
|
711
|
-
for (let n of e.filters) {
|
|
712
|
-
if (n === t) return e;
|
|
713
|
-
if (this._isGroup(n)) {
|
|
714
|
-
let e = this._findParentGroup(n, t);
|
|
715
|
-
if (e) return e;
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
return null;
|
|
719
|
-
}
|
|
720
|
-
_collapseIfNeeded(e) {
|
|
721
|
-
if (e.filters.length === 1 && this._isGroup(e.filters[0])) {
|
|
722
|
-
let t = e.filters[0];
|
|
723
|
-
e.condition = t.condition, e.filters = t.filters, e.id = t.id, e.clause = t.clause, e.origin = t.origin, e.datasetId = t.datasetId, e.vizId = t.vizId, e.itemId = t.itemId, e.isDrilldown = t.isDrilldown, e.type = t.type, e === this._internalFilterGroup && (this._hasSyntheticRoot = !1);
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
_collapseGroupsAfterDelete() {
|
|
727
|
-
if (!this._internalFilterGroup) return;
|
|
728
|
-
let e = (t) => {
|
|
729
|
-
for (let n of t.filters) this._isGroup(n) && e(n);
|
|
730
|
-
this._collapseIfNeeded(t);
|
|
731
|
-
};
|
|
732
|
-
e(this._internalFilterGroup);
|
|
733
|
-
}
|
|
734
|
-
_renderTextLeaf(e) {
|
|
735
|
-
return te(e, this._filterTextContext()) ? u`<luzmo-filter-item
|
|
736
|
-
class="filters-text-leaf"
|
|
737
|
-
display="text"
|
|
738
|
-
.columnDisplay=${this.columnDisplay}
|
|
739
|
-
.filter=${e}
|
|
740
|
-
.textContext=${this._filterTextContext()}
|
|
741
|
-
.language=${this.language}
|
|
742
|
-
.contentLanguage=${this.contentLanguage}
|
|
743
|
-
.timeZone=${this.timeZone}
|
|
744
|
-
.size=${this.size}
|
|
745
|
-
readonly
|
|
746
|
-
></luzmo-filter-item>` : d;
|
|
747
|
-
}
|
|
748
|
-
_renderTextGroup(e, t) {
|
|
749
|
-
let n = [];
|
|
750
|
-
for (let t of e.filters) {
|
|
751
|
-
let e = this._isGroup(t) ? this._renderTextGroup(t, !1) : this._renderTextLeaf(t);
|
|
752
|
-
e !== d && n.push(e);
|
|
753
|
-
}
|
|
754
|
-
if (n.length === 0) return d;
|
|
755
|
-
if (n.length === 1) return n[0];
|
|
756
|
-
let r = u`<span class="filters-text-condition">${Z[e.condition]()}</span>`, i = e.condition === "or" ? m(h`${a[0]}\u2063 ${a[1]}\u2063 ${a[2]}`, {
|
|
757
|
-
id: "filters-sentence-or",
|
|
758
|
-
desc: "Left filter sentence, logical OR condition, and right filter sentence"
|
|
759
|
-
}) : m(h`${a[0]}\u2063 ${a[1]}\u2063 ${a[2]}`, {
|
|
760
|
-
id: "filters-sentence-and",
|
|
761
|
-
desc: "Left filter sentence, logical AND condition, and right filter sentence"
|
|
762
|
-
}), o = n.slice(1).reduce((e, t) => s(i, [
|
|
763
|
-
u`${e}`,
|
|
764
|
-
r,
|
|
765
|
-
t
|
|
766
|
-
]), [n[0]]);
|
|
767
|
-
return t ? u`${o}` : u`<span class="filters-text-group"
|
|
768
|
-
>${s(m(h`(${a[0]})`, {
|
|
769
|
-
id: "filters-sentence-parentheses",
|
|
770
|
-
desc: "Nested filter sentence wrapped in parentheses"
|
|
771
|
-
}), [u`${o}`]).map((e) => typeof e == "string" ? u`<span class="filters-text-paren">${e}</span>` : e)}</span
|
|
772
|
-
>`;
|
|
773
|
-
}
|
|
774
|
-
_renderDatasetLoading() {
|
|
775
|
-
return u`<div class="filters-loading" role="status">
|
|
776
|
-
<luzmo-progress-circle indeterminate .label=${m("Loading filters", { desc: "Accessible label while filter column names are loading" })} .size=${this.size}></luzmo-progress-circle>
|
|
777
|
-
</div>`;
|
|
778
|
-
}
|
|
779
|
-
_renderTextDisplay() {
|
|
780
|
-
return u`<span class="filters-text" part="filters-text"
|
|
781
|
-
>${this._internalFilterGroup ? this._renderTextGroup(this._internalFilterGroup, !0) : d}</span
|
|
782
|
-
>`;
|
|
783
|
-
}
|
|
784
|
-
_deleteOutlineFilter(e, t) {
|
|
785
|
-
this.readonly || this.display !== "outline" || this._removeFilter(e, t);
|
|
786
|
-
}
|
|
787
|
-
_renderOutlineRow(e, t, n) {
|
|
788
|
-
let r = this._renderTextLeaf(e);
|
|
789
|
-
if (r === d) return d;
|
|
790
|
-
let i = m("Remove filter", { desc: "Aria label for remove filter button" });
|
|
791
|
-
return u`<div class="outline-row" part="filters-outline-row">
|
|
792
|
-
<span class="outline-sentence">${r}</span>
|
|
793
|
-
${this.readonly ? d : u`<luzmo-action-button
|
|
794
|
-
class="delete-filter-button outline-delete"
|
|
795
|
-
.size=${this.size}
|
|
796
|
-
quiet
|
|
797
|
-
.label=${i}
|
|
798
|
-
@click=${() => this._deleteOutlineFilter(t, n)}
|
|
799
|
-
>
|
|
800
|
-
<luzmo-icon slot="icon" .icon=${l} .size=${this.size}></luzmo-icon>
|
|
801
|
-
</luzmo-action-button>`}
|
|
802
|
-
</div>`;
|
|
803
|
-
}
|
|
804
|
-
_renderOutlineGroup(e, t = !0) {
|
|
805
|
-
let n = e.filters.some((e) => this._isGroup(e)), r = e.filters.length > 1 && !(t && !n && e.condition === "and"), i = Z[e.condition]?.() ?? e.condition;
|
|
806
|
-
return u`<div class="outline-group" role=${r ? "group" : d} aria-label=${r ? i : d}>
|
|
807
|
-
${r ? u`<div class="outline-condition">${i}</div>` : d}
|
|
808
|
-
<div class=${r ? "outline-children" : "outline-children outline-children--single"}>
|
|
809
|
-
${e.filters.map((t, n) => this._isGroup(t) ? this._renderOutlineGroup(t, !1) : this._renderOutlineRow(t, e, n))}
|
|
810
|
-
</div>
|
|
811
|
-
</div>`;
|
|
812
|
-
}
|
|
813
|
-
_renderOutlineDisplay() {
|
|
814
|
-
return u`<div class="filters-outline" part="filters-outline">
|
|
815
|
-
${this._internalFilterGroup ? this._renderOutlineGroup(this._internalFilterGroup) : d}
|
|
816
|
-
</div>`;
|
|
817
|
-
}
|
|
818
|
-
render() {
|
|
819
|
-
if (this.display === "text" || this.display === "outline") return this._datasetsLoading && this._datasets.length === 0 ? this._renderDatasetLoading() : this.display === "text" ? this._renderTextDisplay() : this._renderOutlineDisplay();
|
|
820
|
-
if (this._isDatasetIdsEmpty) return u`
|
|
821
|
-
<div class="filter-group-container">
|
|
822
|
-
<div class="dataset-ids-empty-message" role="status">
|
|
823
|
-
${m("Cannot retrieve dataset data fields", { desc: "Error message when datasetIds is empty" })}
|
|
824
|
-
</div>
|
|
825
|
-
</div>
|
|
826
|
-
`;
|
|
827
|
-
if (!this._internalFilterGroup || this._internalFilterGroup.filters.length === 0) return u`
|
|
828
|
-
<div class="filter-group-container">
|
|
829
|
-
<luzmo-button
|
|
830
|
-
class="add-filter-button"
|
|
831
|
-
.size=${this.size}
|
|
832
|
-
treatment="outline"
|
|
833
|
-
?quiet=${this.quiet}
|
|
834
|
-
aria-disabled=${this.readonly ? "true" : d}
|
|
835
|
-
?disabled=${this._isDatasetIdsEmpty}
|
|
836
|
-
@click=${() => this._addFilter()}
|
|
837
|
-
>
|
|
838
|
-
<luzmo-icon slot="icon" .icon=${c} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
839
|
-
${m("Add filter", { desc: "Add filter button label" })}
|
|
840
|
-
</luzmo-button>
|
|
841
|
-
</div>
|
|
842
|
-
`;
|
|
843
|
-
let e = this._internalFilterGroup.filters.length > 1;
|
|
844
|
-
return u`
|
|
845
|
-
<div class="filter-group-container">
|
|
846
|
-
${this._renderGroup(this._internalFilterGroup)}
|
|
847
|
-
|
|
848
|
-
${e ? u`
|
|
849
|
-
<div class="add-root-group-container">
|
|
850
|
-
<luzmo-button
|
|
851
|
-
class="add-group-button"
|
|
852
|
-
.size=${this.size}
|
|
853
|
-
treatment="outline"
|
|
854
|
-
?quiet=${this.quiet}
|
|
855
|
-
aria-disabled=${this.readonly ? "true" : d}
|
|
856
|
-
?disabled=${this._isDatasetIdsEmpty}
|
|
857
|
-
@click=${this._addGroup}
|
|
858
|
-
>
|
|
859
|
-
<luzmo-icon slot="icon" .icon=${c} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
860
|
-
${m("Group", { desc: "Add group button label" })}
|
|
861
|
-
</luzmo-button>
|
|
862
|
-
</div>
|
|
863
|
-
` : ""}
|
|
864
|
-
</div>
|
|
865
|
-
`;
|
|
866
|
-
}
|
|
867
|
-
};
|
|
868
|
-
//#endregion
|
|
869
|
-
//#region src/components/filters/index.ts
|
|
870
|
-
e([f({
|
|
871
|
-
type: String,
|
|
872
|
-
attribute: "api-url",
|
|
873
|
-
reflect: !0
|
|
874
|
-
})], $.prototype, "apiUrl", void 0), e([f({
|
|
875
|
-
type: String,
|
|
876
|
-
attribute: "auth-key",
|
|
877
|
-
reflect: !0
|
|
878
|
-
})], $.prototype, "authKey", void 0), e([f({
|
|
879
|
-
type: String,
|
|
880
|
-
attribute: "auth-token",
|
|
881
|
-
reflect: !0
|
|
882
|
-
})], $.prototype, "authToken", void 0), e([f({
|
|
883
|
-
type: Number,
|
|
884
|
-
attribute: "cache-time",
|
|
885
|
-
reflect: !0
|
|
886
|
-
})], $.prototype, "cacheTime", void 0), e([f({
|
|
887
|
-
type: String,
|
|
888
|
-
attribute: "content-language",
|
|
889
|
-
reflect: !0
|
|
890
|
-
})], $.prototype, "contentLanguage", void 0), e([f({
|
|
891
|
-
type: String,
|
|
892
|
-
attribute: "time-zone",
|
|
893
|
-
reflect: !0
|
|
894
|
-
})], $.prototype, "timeZone", void 0), e([f({
|
|
895
|
-
type: Array,
|
|
896
|
-
attribute: "dataset-ids",
|
|
897
|
-
reflect: !0
|
|
898
|
-
})], $.prototype, "datasetIds", void 0), e([f({
|
|
899
|
-
type: Array,
|
|
900
|
-
reflect: !1
|
|
901
|
-
})], $.prototype, "filters", void 0), e([f({
|
|
902
|
-
type: String,
|
|
903
|
-
reflect: !0
|
|
904
|
-
})], $.prototype, "format", void 0), e([f({
|
|
905
|
-
type: String,
|
|
906
|
-
reflect: !0
|
|
907
|
-
})], $.prototype, "display", void 0), e([f({
|
|
908
|
-
type: String,
|
|
909
|
-
attribute: "column-display",
|
|
910
|
-
reflect: !0
|
|
911
|
-
})], $.prototype, "columnDisplay", void 0), e([f({
|
|
912
|
-
type: Boolean,
|
|
913
|
-
reflect: !0
|
|
914
|
-
})], $.prototype, "quiet", void 0), e([f({
|
|
915
|
-
type: Boolean,
|
|
916
|
-
reflect: !0
|
|
917
|
-
})], $.prototype, "readonly", void 0), e([f({
|
|
918
|
-
type: Boolean,
|
|
919
|
-
attribute: "allow-parameters",
|
|
920
|
-
reflect: !0
|
|
921
|
-
})], $.prototype, "allowParameters", void 0), e([f({ attribute: !1 })], $.prototype, "parameters", void 0), e([f({
|
|
922
|
-
type: Number,
|
|
923
|
-
reflect: !0
|
|
924
|
-
})], $.prototype, "debounce", void 0), e([p()], $.prototype, "_internalFilterGroup", void 0), e([p()], $.prototype, "_datasets", void 0), e([p()], $.prototype, "_datasetsLoading", void 0), e([p()], $.prototype, "_hierarchyLabels", void 0), e([p()], $.prototype, "_hierarchyLabelsLoading", void 0), $ = e([re()], $), customElements.get("luzmo-filters") || customElements.define("luzmo-filters", $);
|
|
925
|
-
//#endregion
|
|
926
|
-
export { g as a, K as i, Y as n, ce as o, U as r, pe as s, $ as t };
|