@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
|
@@ -0,0 +1,434 @@
|
|
|
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 "./tokens-Ov1pCR4Y.js";
|
|
21
|
+
import { t as e } from "./decorate-DyMgX_Uh.js";
|
|
22
|
+
import { t } from "./localized-mixin-CYMFnS-n.js";
|
|
23
|
+
import { html as n, unsafeCSS as r } from "lit";
|
|
24
|
+
import { property as i, state as a } from "lit/decorators.js";
|
|
25
|
+
import { localized as o, msg as s } from "@lit/localize";
|
|
26
|
+
import "@luzmo/lucero/select";
|
|
27
|
+
import "@luzmo/lucero/field-label";
|
|
28
|
+
import "@luzmo/lucero/menu";
|
|
29
|
+
import { ElementSizes as c, LuzmoElement as l, SizedMixin as u } from "@luzmo/lucero/utils";
|
|
30
|
+
//#region src/utils/filters/expressions.ts
|
|
31
|
+
var d = () => [
|
|
32
|
+
{
|
|
33
|
+
id: "? = ?",
|
|
34
|
+
key: "? = ?",
|
|
35
|
+
expression: "? = ?",
|
|
36
|
+
name: s("equals", { desc: "Filter expression for equals comparison" }),
|
|
37
|
+
description: s("equals", { desc: "Filter expression for equals comparison" }),
|
|
38
|
+
tiny: s("eq", { desc: "Short form of equals comparison" }),
|
|
39
|
+
type: ["numeric", "hierarchy"],
|
|
40
|
+
subtype: ["ip_address"]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: "? != ?",
|
|
44
|
+
key: "? != ?",
|
|
45
|
+
expression: "? != ?",
|
|
46
|
+
name: s("not equals", { desc: "Filter expression for not equals comparison" }),
|
|
47
|
+
description: s("not equals", { desc: "Filter expression for not equals comparison" }),
|
|
48
|
+
tiny: s("not eq", { desc: "Short form of not equals comparison" }),
|
|
49
|
+
type: ["numeric", "hierarchy"],
|
|
50
|
+
subtype: ["ip_address"]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
id: "? in ?",
|
|
54
|
+
key: "? in ?",
|
|
55
|
+
expression: "? in ?",
|
|
56
|
+
name: s("is in", { desc: "Filter expression for in comparison" }),
|
|
57
|
+
description: s("is in", { desc: "Filter expression for in comparison" }),
|
|
58
|
+
tiny: s("is in", { desc: "Filter expression for in comparison" }),
|
|
59
|
+
type: ["numeric", "hierarchy"],
|
|
60
|
+
subtype: ["ip_address"]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "? not in ?",
|
|
64
|
+
key: "? not in ?",
|
|
65
|
+
expression: "? not in ?",
|
|
66
|
+
name: s("is not in", { desc: "Filter expression for not in comparison" }),
|
|
67
|
+
description: s("is not in", { desc: "Filter expression for not in comparison" }),
|
|
68
|
+
tiny: s("is not in", { desc: "Filter expression for not in comparison" }),
|
|
69
|
+
type: ["numeric", "hierarchy"],
|
|
70
|
+
subtype: ["ip_address"]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: "? like ?",
|
|
74
|
+
key: "? like ?",
|
|
75
|
+
expression: "? like ?",
|
|
76
|
+
name: s("contains", { desc: "Filter expression for contains comparison" }),
|
|
77
|
+
description: s("contains", { desc: "Filter expression for contains comparison" }),
|
|
78
|
+
tiny: s("cont", { desc: "Short form of contains comparison in filter expression" }),
|
|
79
|
+
type: ["hierarchy"],
|
|
80
|
+
subtype: ["ip_address"]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: "? not like ?",
|
|
84
|
+
key: "? not like ?",
|
|
85
|
+
expression: "? not like ?",
|
|
86
|
+
name: s("does not contain", { desc: "Filter expression for does not contain comparison" }),
|
|
87
|
+
description: s("does not contain", { desc: "Filter expression for does not contain comparison" }),
|
|
88
|
+
tiny: s("not cont", { desc: "Short form of does not contain comparison in filter expression" }),
|
|
89
|
+
type: ["hierarchy"],
|
|
90
|
+
subtype: ["ip_address"]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
id: "? starts with ?",
|
|
94
|
+
key: "? starts with ?",
|
|
95
|
+
expression: "? starts with ?",
|
|
96
|
+
name: s("starts with", { desc: "Filter expression for starts with comparison" }),
|
|
97
|
+
description: s("starts with", { desc: "Filter expression for starts with comparison" }),
|
|
98
|
+
tiny: s("starts with", { desc: "Filter expression for starts with comparison" }),
|
|
99
|
+
type: ["hierarchy"],
|
|
100
|
+
subtype: ["ip_address"]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
id: "? not starts with ?",
|
|
104
|
+
key: "? not starts with ?",
|
|
105
|
+
expression: "? not starts with ?",
|
|
106
|
+
name: s("does not start with", { desc: "Filter expression for does not start with comparison" }),
|
|
107
|
+
description: s("does not start with", { desc: "Filter expression for does not start with comparison" }),
|
|
108
|
+
tiny: s("not starts with", { desc: "Short form of does not start with comparison in filter expression" }),
|
|
109
|
+
type: ["hierarchy"],
|
|
110
|
+
subtype: ["ip_address"]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
id: "? ends with ?",
|
|
114
|
+
key: "? ends with ?",
|
|
115
|
+
expression: "? ends with ?",
|
|
116
|
+
name: s("ends with", { desc: "Filter expression for ends with comparison" }),
|
|
117
|
+
description: s("ends with", { desc: "Filter expression for ends with comparison" }),
|
|
118
|
+
tiny: s("ends with", { desc: "Filter expression for ends with comparison" }),
|
|
119
|
+
type: ["hierarchy"],
|
|
120
|
+
subtype: ["ip_address"]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
id: "? not ends with ?",
|
|
124
|
+
key: "? not ends with ?",
|
|
125
|
+
expression: "? not ends with ?",
|
|
126
|
+
name: s("does not end with", { desc: "Filter expression for does not end with comparison" }),
|
|
127
|
+
description: s("does not end with", { desc: "Filter expression for does not end with comparison" }),
|
|
128
|
+
tiny: s("not ends with", { desc: "Short form of does not end with comparison in filter expression" }),
|
|
129
|
+
type: ["hierarchy"],
|
|
130
|
+
subtype: ["ip_address"]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
id: "? < ?",
|
|
134
|
+
key: "? < ?",
|
|
135
|
+
expression: "? < ?",
|
|
136
|
+
name: s("less than", { desc: "Filter expression for less than comparison" }),
|
|
137
|
+
description: s("less than", { desc: "Filter expression for less than comparison" }),
|
|
138
|
+
tiny: "<",
|
|
139
|
+
type: ["numeric", "datetime"],
|
|
140
|
+
subtype: ["ip_address"]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
id: "? <= ?",
|
|
144
|
+
key: "? <= ?",
|
|
145
|
+
expression: "? <= ?",
|
|
146
|
+
name: s("less than or equal", { desc: "Filter expression for less than or equal comparison" }),
|
|
147
|
+
description: s("less than or equal", { desc: "Filter expression for less than or equal comparison" }),
|
|
148
|
+
tiny: "<=",
|
|
149
|
+
type: ["numeric", "datetime"],
|
|
150
|
+
subtype: ["ip_address"]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
id: "? > ?",
|
|
154
|
+
key: "? > ?",
|
|
155
|
+
expression: "? > ?",
|
|
156
|
+
name: s("greater than", { desc: "Filter expression for greater than comparison" }),
|
|
157
|
+
description: s("greater than", { desc: "Filter expression for greater than comparison" }),
|
|
158
|
+
tiny: ">",
|
|
159
|
+
type: ["numeric", "datetime"],
|
|
160
|
+
subtype: ["ip_address"]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
id: "? >= ?",
|
|
164
|
+
key: "? >= ?",
|
|
165
|
+
expression: "? >= ?",
|
|
166
|
+
name: s("greater than or equal", { desc: "Filter expression for greater than or equal comparison" }),
|
|
167
|
+
description: s("greater than or equal", { desc: "Filter expression for greater than or equal comparison" }),
|
|
168
|
+
tiny: ">=",
|
|
169
|
+
type: ["numeric", "datetime"],
|
|
170
|
+
subtype: ["ip_address"]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
id: "? between ?",
|
|
174
|
+
key: "? between ?",
|
|
175
|
+
expression: "? between ?",
|
|
176
|
+
name: s("is between", { desc: "Filter expression for between comparison" }),
|
|
177
|
+
description: s("is between", { desc: "Filter expression for between comparison" }),
|
|
178
|
+
tiny: s("between", { desc: "Short form of between comparison in filter expression" }),
|
|
179
|
+
type: [],
|
|
180
|
+
subtype: ["ip_address"]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "last_now",
|
|
184
|
+
key: "last_now",
|
|
185
|
+
expression: "last_now",
|
|
186
|
+
name: s("last (x) periods", { desc: "Filter expression for last (x) periods" }),
|
|
187
|
+
description: s("last (x) periods", { desc: "Filter expression for last (x) periods" }),
|
|
188
|
+
tiny: s("last", { desc: "Short form of last (x) periods in filter expression" }),
|
|
189
|
+
type: ["datetime"]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
id: "last_available",
|
|
193
|
+
key: "last_available",
|
|
194
|
+
expression: "last_available",
|
|
195
|
+
name: s("last (x) available periods", { desc: "Filter expression for last (x) available periods" }),
|
|
196
|
+
description: s("last (x) available periods", { desc: "Filter expression for last (x) available periods" }),
|
|
197
|
+
tiny: s("last available", { desc: "Short form of last (x) available periods in filter expression" }),
|
|
198
|
+
type: ["datetime"]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
id: "last_completed",
|
|
202
|
+
key: "last_completed",
|
|
203
|
+
expression: "last_completed",
|
|
204
|
+
name: s("last completed period", { desc: "Filter expression for last completed period" }),
|
|
205
|
+
description: s("last completed (period)", { desc: "Filter expression for last completed period" }),
|
|
206
|
+
tiny: s("last completed", { desc: "Short form of last completed period in filter expression" }),
|
|
207
|
+
type: ["datetime"]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
id: "next_now",
|
|
211
|
+
key: "next_now",
|
|
212
|
+
expression: "next_now",
|
|
213
|
+
name: s("next (x) periods", { desc: "Filter expression for next (x) periods" }),
|
|
214
|
+
description: s("next (x) periods", { desc: "Filter expression for next (x) periods" }),
|
|
215
|
+
tiny: s("next", { desc: "Short form of next (x) periods in filter expression" }),
|
|
216
|
+
type: ["datetime"]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
id: "more_than_ago",
|
|
220
|
+
key: "more_than_ago",
|
|
221
|
+
expression: "more_than_ago",
|
|
222
|
+
name: s("more than (x) periods ago", { desc: "Filter expression for more than (x) periods ago" }),
|
|
223
|
+
description: s("more than (x) periods ago", { desc: "Filter expression for more than (x) periods ago" }),
|
|
224
|
+
tiny: s("more than ago", { desc: "Short form of more than (x) periods ago in filter expression" }),
|
|
225
|
+
type: ["datetime"]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
id: "or_more_ago",
|
|
229
|
+
key: "or_more_ago",
|
|
230
|
+
expression: "or_more_ago",
|
|
231
|
+
name: s("(x) periods or more ago", { desc: "Filter expression for (x) periods or more ago" }),
|
|
232
|
+
description: s("(x) periods or more ago", { desc: "Filter expression for (x) periods or more ago" }),
|
|
233
|
+
tiny: s("or more ago", { desc: "Short form of (x) periods or more ago in filter expression" }),
|
|
234
|
+
type: ["datetime"]
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
id: "next_full",
|
|
238
|
+
key: "next_full",
|
|
239
|
+
expression: "next_full",
|
|
240
|
+
name: s("next full (period)", { desc: "Filter expression for next full period" }),
|
|
241
|
+
description: s("next full (period)", { desc: "Filter expression for next full period" }),
|
|
242
|
+
tiny: s("next full", { desc: "Short form of next full period in filter expression" }),
|
|
243
|
+
type: ["datetime"]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
id: "WTD",
|
|
247
|
+
key: "to_date",
|
|
248
|
+
expression: "to_date",
|
|
249
|
+
unit: 4,
|
|
250
|
+
name: s("week to date", { desc: "Filter expression for week to date" }),
|
|
251
|
+
description: s("week to date", { desc: "Filter expression for week to date" }),
|
|
252
|
+
tiny: s("WTD", { desc: "Short form of week to date in filter expression" }),
|
|
253
|
+
type: ["datetime"]
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
id: "MTD",
|
|
257
|
+
key: "to_date",
|
|
258
|
+
expression: "to_date",
|
|
259
|
+
unit: 3,
|
|
260
|
+
name: s("month to date", { desc: "Filter expression for month to date" }),
|
|
261
|
+
description: s("month to date", { desc: "Filter expression for month to date" }),
|
|
262
|
+
tiny: s("MTD", { desc: "Short form of month to date in filter expression" }),
|
|
263
|
+
type: ["datetime"]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
id: "QTD",
|
|
267
|
+
key: "to_date",
|
|
268
|
+
expression: "to_date",
|
|
269
|
+
unit: 2,
|
|
270
|
+
name: s("quarter to date", { desc: "Filter expression for quarter to date" }),
|
|
271
|
+
description: s("quarter to date", { desc: "Filter expression for quarter to date" }),
|
|
272
|
+
tiny: s("QTD", { desc: "Short form of quarter to date in filter expression" }),
|
|
273
|
+
type: ["datetime"]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
id: "YTD",
|
|
277
|
+
key: "to_date",
|
|
278
|
+
expression: "to_date",
|
|
279
|
+
unit: 1,
|
|
280
|
+
name: s("year to date", { desc: "Filter expression for year to date" }),
|
|
281
|
+
description: s("year to date", { desc: "Filter expression for year to date" }),
|
|
282
|
+
tiny: s("YTD", { desc: "Short form of year to date in filter expression" }),
|
|
283
|
+
type: ["datetime"]
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
id: "? is null",
|
|
287
|
+
key: "? is null",
|
|
288
|
+
expression: "? is null",
|
|
289
|
+
name: s("is missing", { desc: "Filter expression for is missing" }),
|
|
290
|
+
description: s("is missing", { desc: "Filter expression for is missing" }),
|
|
291
|
+
tiny: s("missing", { desc: "Short form of is missing in filter expression" }),
|
|
292
|
+
type: [
|
|
293
|
+
"numeric",
|
|
294
|
+
"datetime",
|
|
295
|
+
"hierarchy",
|
|
296
|
+
"spatial"
|
|
297
|
+
],
|
|
298
|
+
subtype: ["ip_address"]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
id: "? is not null",
|
|
302
|
+
key: "? is not null",
|
|
303
|
+
expression: "? is not null",
|
|
304
|
+
name: s("is not missing", { desc: "Filter expression for is not missing" }),
|
|
305
|
+
description: s("is not missing", { desc: "Filter expression for is not missing" }),
|
|
306
|
+
tiny: s("not missing", { desc: "Short form of is not missing in filter expression" }),
|
|
307
|
+
type: [
|
|
308
|
+
"numeric",
|
|
309
|
+
"datetime",
|
|
310
|
+
"hierarchy",
|
|
311
|
+
"spatial"
|
|
312
|
+
],
|
|
313
|
+
subtype: ["ip_address"]
|
|
314
|
+
}
|
|
315
|
+
], f = (e, t, n) => {
|
|
316
|
+
let r = /* @__PURE__ */ new Set(["? in ?", "? not in ?"]);
|
|
317
|
+
return !e && !t ? d() : d().filter((i) => (e && i.type.includes(e) || t && i.subtype?.includes(t)) && !(n && r.has(i.key)));
|
|
318
|
+
}, p = ":host{font-family:var(--luzmo-font-family)}luzmo-select{width:100%}:host{--var:blue}", m = class extends t(u(l, { validSizes: Object.values(c) })) {
|
|
319
|
+
constructor(...e) {
|
|
320
|
+
super(...e), this.hasLabel = !1, this.allowEmpty = !1, this.placeholder = "", this.disabled = !1, this.readonly = !1, this.quiet = !1, this.invalid = !1, this.isFormula = !1, this._expressionConfigurations = d();
|
|
321
|
+
}
|
|
322
|
+
static get styles() {
|
|
323
|
+
return [r(p)];
|
|
324
|
+
}
|
|
325
|
+
_sendChangeEvent() {
|
|
326
|
+
if (this.disabled || this.readonly) return;
|
|
327
|
+
let e = { expression: this.filter?.expression };
|
|
328
|
+
this.filter?.parameters?.[1]?.unit && (e.unit = this.filter?.parameters?.[1]?.unit), this.dispatchEvent(new CustomEvent("luzmo-expression-selected", {
|
|
329
|
+
bubbles: !0,
|
|
330
|
+
composed: !0,
|
|
331
|
+
cancelable: !0,
|
|
332
|
+
detail: e
|
|
333
|
+
}));
|
|
334
|
+
}
|
|
335
|
+
setExpression(e) {
|
|
336
|
+
this._richExpression = e?.detail?.value?.[0];
|
|
337
|
+
let t = this._expressionConfigurations.find((e) => e.id === this._richExpression), n = structuredClone(this.filter);
|
|
338
|
+
n.expression = t?.expression, t?.unit && (this._unit = t.unit, n?.parameters[0] && (n.parameters[1] = { unit: this._unit })), this.filter = n, this._sendChangeEvent();
|
|
339
|
+
}
|
|
340
|
+
willUpdate(e) {
|
|
341
|
+
super.willUpdate(e);
|
|
342
|
+
let t = e.has("filter"), n = e.has("type"), r = e.has("subtype"), i = e.has("isFormula"), a = f(this.type, this.subtype, this.isFormula), o = [
|
|
343
|
+
"YTD",
|
|
344
|
+
"QTD",
|
|
345
|
+
"MTD",
|
|
346
|
+
"WTD"
|
|
347
|
+
];
|
|
348
|
+
if (this.filter?.expression === "to_date") {
|
|
349
|
+
let e = this.filter?.parameters[1]?.unit ?? 1;
|
|
350
|
+
this._unit = e, this._richExpression = o[e - 1] ?? "YTD";
|
|
351
|
+
} else this._richExpression = this.filter?.expression;
|
|
352
|
+
(n || r || i || t) && this.filter && !this.disabled && !this.readonly && !a?.find((e) => e.expression === this.filter?.expression) ? (this.invalid = !0, console.warn(`Warning: ${this.filter?.expression} is not valid given the type: ${this.type} and subtype: ${this.subtype}`)) : this.invalid = !1, !this.filter?.expression && !this.allowEmpty && (this._richExpression = a?.[0]?.id, this.filter = {
|
|
353
|
+
...this.filter,
|
|
354
|
+
expression: this._richExpression
|
|
355
|
+
}, this._sendChangeEvent());
|
|
356
|
+
}
|
|
357
|
+
render() {
|
|
358
|
+
let e = f(this.type, this.subtype, this.isFormula)?.map((e) => ({
|
|
359
|
+
value: e.id,
|
|
360
|
+
label: e.description,
|
|
361
|
+
shortLabel: e.tiny
|
|
362
|
+
})), t = this.disabled || !this.filter?.expression && !this.allowEmpty, r = n`<luzmo-field-label
|
|
363
|
+
for="expression"
|
|
364
|
+
size=${this.size}
|
|
365
|
+
>${this.label ?? s("Select an expression", { desc: "Label for expression picker" })}</luzmo-field-label
|
|
366
|
+
>`, i = this.hasLabel ? this.placeholder ?? s("Select...") : this.placeholder || this.label || s("Filter expression", { desc: "Accessible label for expression picker" });
|
|
367
|
+
return n`${this.hasLabel ? r : ""}
|
|
368
|
+
<luzmo-select
|
|
369
|
+
label=${i}
|
|
370
|
+
id="expression"
|
|
371
|
+
size=${this.size}
|
|
372
|
+
variant="highlight"
|
|
373
|
+
.quiet=${this.quiet}
|
|
374
|
+
selects="single"
|
|
375
|
+
.language=${this.language}
|
|
376
|
+
?disabled=${t}
|
|
377
|
+
.readonly=${this.readonly}
|
|
378
|
+
?invalid=${this.invalid}
|
|
379
|
+
.options=${e}
|
|
380
|
+
.value=${[this._richExpression]}
|
|
381
|
+
@change=${this.setExpression}
|
|
382
|
+
>
|
|
383
|
+
</luzmo-select>`;
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
//#endregion
|
|
387
|
+
//#region src/components/filter-expression-picker/index.ts
|
|
388
|
+
e([i({
|
|
389
|
+
type: String,
|
|
390
|
+
reflect: !0
|
|
391
|
+
})], m.prototype, "filter", void 0), e([i({
|
|
392
|
+
type: Boolean,
|
|
393
|
+
attribute: "has-label",
|
|
394
|
+
reflect: !0
|
|
395
|
+
})], m.prototype, "hasLabel", void 0), e([i({
|
|
396
|
+
type: String,
|
|
397
|
+
reflect: !0
|
|
398
|
+
})], m.prototype, "label", void 0), e([i({
|
|
399
|
+
type: Boolean,
|
|
400
|
+
attribute: "allow-empty",
|
|
401
|
+
reflect: !0
|
|
402
|
+
})], m.prototype, "allowEmpty", void 0), e([i({
|
|
403
|
+
type: String,
|
|
404
|
+
attribute: "placeholder",
|
|
405
|
+
reflect: !0
|
|
406
|
+
})], m.prototype, "placeholder", void 0), e([i({
|
|
407
|
+
type: Boolean,
|
|
408
|
+
attribute: "disabled",
|
|
409
|
+
reflect: !0
|
|
410
|
+
})], m.prototype, "disabled", void 0), e([i({
|
|
411
|
+
type: Boolean,
|
|
412
|
+
reflect: !0
|
|
413
|
+
})], m.prototype, "readonly", void 0), e([i({
|
|
414
|
+
type: Boolean,
|
|
415
|
+
reflect: !0
|
|
416
|
+
})], m.prototype, "quiet", void 0), e([i({
|
|
417
|
+
type: String,
|
|
418
|
+
attribute: "type",
|
|
419
|
+
reflect: !0
|
|
420
|
+
})], m.prototype, "type", void 0), e([i({
|
|
421
|
+
type: String,
|
|
422
|
+
attribute: "subtype",
|
|
423
|
+
reflect: !0
|
|
424
|
+
})], m.prototype, "subtype", void 0), e([i({
|
|
425
|
+
type: Boolean,
|
|
426
|
+
attribute: "invalid",
|
|
427
|
+
reflect: !0
|
|
428
|
+
})], m.prototype, "invalid", void 0), e([i({
|
|
429
|
+
type: Boolean,
|
|
430
|
+
attribute: "is-formula",
|
|
431
|
+
reflect: !0
|
|
432
|
+
})], m.prototype, "isFormula", void 0), e([a()], m.prototype, "_richExpression", void 0), e([a()], m.prototype, "_unit", void 0), m = e([o()], m), customElements.get("luzmo-filter-expression-picker") || customElements.define("luzmo-filter-expression-picker", m);
|
|
433
|
+
//#endregion
|
|
434
|
+
export { d as n, f as r, m as t };
|
|
@@ -4,7 +4,7 @@ import '@luzmo/lucero/icon';
|
|
|
4
4
|
import '@luzmo/lucero/progress-circle';
|
|
5
5
|
import '@luzmo/lucero/tooltip';
|
|
6
6
|
import { LuzmoElement } from '@luzmo/lucero/utils';
|
|
7
|
-
import { type FilterTextContext } from '../../utils/filters/filter-text';
|
|
7
|
+
import { type FilterTextContext } from '../../utils/filters/filter-text.js';
|
|
8
8
|
import type { FilterColumnDisplay, FilterItemDisplay } from './../../utils/filters/presentation';
|
|
9
9
|
import './../data-fields-select';
|
|
10
10
|
import './../filter-expression-picker';
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../filter-item-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../filter-item-CHJDVOju.cjs");Object.defineProperty(exports,"LuzmoFilterItem",{enumerable:!0,get:function(){return e.t}});
|
|
@@ -17,12 +17,5 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
|
|
21
|
-
(function() {
|
|
22
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
23
|
-
let e = document.createElement("style");
|
|
24
|
-
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
|
-
}
|
|
26
|
-
})();
|
|
27
|
-
import { t as e } from "../filter-item-Be6Z7NMz.js";
|
|
20
|
+
import { t as e } from "../filter-item-D6y8eCmG.js";
|
|
28
21
|
export { e as LuzmoFilterItem };
|
|
@@ -0,0 +1,111 @@
|
|
|
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
|
+
require("./tokens-BWMfo_w4.cjs");const e=require("./decorate-DCJt-2rt.cjs"),t=require("./localized-mixin-Bt25Frg1.cjs"),n=require("./data-broker-Cb-Fq9xy.cjs"),r=require("./type-check-BehV9ZL1.cjs"),i=require("./calculate-data-field-icon-DenGmW74.cjs"),a=require("./localize-D3i4Epy_.cjs"),o=require("./periods.const-Db0nXrwr.cjs"),s=require("./filter-expression-picker-Bn_jAdQX.cjs");require("./data-fields-select-DXv6PQHG.cjs");const c=require("./filter-parameter-picker-jyrh3POQ.cjs");require("./filter-value-picker-DmWiNLZH.cjs");let l=require("@luzmo/icons");require("@luzmo/lucero/icon");let u=require("lit"),d=require("lit/decorators.js"),f=require("@lit/localize");require("@luzmo/lucero/tooltip"),require("@luzmo/lucero/progress-circle");let p=require("lit/directives/if-defined.js"),m=require("@luzmo/lucero/utils");require("@luzmo/lucero/badge");var h=[``,``,``],g=``;function _(e,t){let n=RegExp(`(${h.join(`|`)})`,`u`),r=[];for(let i of e.replaceAll(g,``).split(n)){let e=h.indexOf(i);e===-1?i&&r.push(i):r.push(t[e])}return r}var v=new Set([`last_now`,`last_available`,`next_now`,`more_than_ago`,`or_more_ago`]),y=new Set([`last_completed`,`next_full`]),b=new Set([`? is null`,`? is not null`,`to_date`]),x=new Set([`? = ?`,`? != ?`,`? < ?`,`? <= ?`,`? > ?`,`? >= ?`]),S=3,C=32;function w(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function T(e){return w(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}function E(e){return e.length<=C?{display:e,truncated:!1}:{display:`${e.slice(0,C-1)}…`,truncated:!0}}function D(e,t,n){try{return new Intl.ListFormat(e||void 0,{style:`long`,type:n}).format(t)}catch{return t.join(`, `)}}function O(e,t,n){let r=W(e,t,n),{display:i,truncated:a}=E(r);return{label:i,full:r,truncated:a}}function k(e){return e===1?(0,f.msg)(`1 item`,{desc:`One selected hierarchy value whose name is still loading`}):(0,f.msg)(f.str`${e} items`,{desc:`Selected hierarchy values whose names are still loading`})}function A(){return(0,f.msg)(`Some item names could not be retrieved`,{desc:`Tooltip when a hierarchy filter value is still an id after name lookup`})}function j(e,t){return!!(t?.type===`hierarchy`&&t.datasetId&&t.fieldId&&!(w(e)&&e.name!==void 0)&&U(e))}function M(e,t,n){let r=n?.datasetId,i=n?.fieldId;return!r||!i?[]:e.flatMap(e=>{if(!j(e,n))return[];let a=U(e);return a?t.hierarchyLabels?.get(H(r,i,a))?[]:[a]:[]})}function N(e,t,n){return n.hierarchyLabelsLoading&&t.length>0?{valueText:k(t.length),valuePending:!0}:n.hierarchyLabels&&!n.hierarchyLabelsLoading&&t.length>0&&!e.valueTooltip?{...e,valueTooltip:A()}:e}function P(e,t,n){let r=e.map(e=>O(e,t,n)),i=r.map(e=>e.full),a=D(t.contentLanguage,i,`conjunction`);if(e.length===1){let[e]=r;return{valueText:e.label,valueTooltip:e.truncated?e.full:void 0}}let o=Math.min(S,r.length),s=r.length-o,c=r.slice(0,o).map(e=>e.label),l=r.some(e=>e.truncated),u;return u=s>0?(0,f.msg)(f.str`${D(t.contentLanguage,c,`unit`)}, and ${s} more`,{desc:`Filter values after the first few shown in a read-only sentence, e.g. "Dresses, Shoes, Shorts, and 1 more"`}):D(t.contentLanguage,r.map(e=>e.label),`conjunction`),{valueText:u,valueTooltip:s>0||l?a:void 0}}function F(e,t,n){if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`){let t=String(e);return t.length>0?t:n}if(e&&typeof e==`object`){let n=a.t(e,t);if(n)return n}return n}function I(e,t){for(let n of t){let t=e[n];if(typeof t==`string`&&t.length>0)return t}}function L(e,t){let n=I(e,[`datasetId`,`dataset_id`]),r=I(e,[`columnId`,`column_id`]),i=I(e,[`formulaId`,`formula_id`]),a=typeof e.formula==`string`?e.formula:void 0,o=t.datasets.find(e=>e.id===n),s=o?F(o.name,t.contentLanguage,``):``;if(i){let e=o?.formulas?.find(e=>e.id===i),r=F(e?.name,t.contentLanguage,i);return{label:r,tooltip:s?`${s} · ${r}`:r,type:e?.type,subtype:e?.subtype,formula:!0,datasetId:n,fieldId:i}}if(a)return{label:a,tooltip:s?`${s} · ${a}`:a,formula:!0,datasetId:n};let c=!r&&typeof e.expression==`string`?e.expression:void 0;if(c)return{label:c,tooltip:s?`${s} · ${c}`:c,formula:!0,datasetId:n};let l=r?o?.columns?.find(e=>e.id===r):void 0,u=r??(typeof e.columnExpression==`string`?e.columnExpression:``),d=F(l?.name,t.contentLanguage,u);return{label:d,tooltip:s?`${s} · ${d}`:d,type:l?.type,subtype:l?.subtype,formula:!1,datasetId:n,fieldId:r}}function R(e){let t=o.n.find(t=>t.level===e);return t?t.i18n():``}function z(e,t){switch(t){case 1:return e===1?(0,f.msg)(f.str`${e} Year`,{desc:`Singular relative filter quantity in years`}):(0,f.msg)(f.str`${e} Years`,{desc:`Plural relative filter quantity in years`});case 2:return e===1?(0,f.msg)(f.str`${e} Quarter`,{desc:`Singular relative filter quantity in quarters`}):(0,f.msg)(f.str`${e} Quarters`,{desc:`Plural relative filter quantity in quarters`});case 3:return e===1?(0,f.msg)(f.str`${e} Month`,{desc:`Singular relative filter quantity in months`}):(0,f.msg)(f.str`${e} Months`,{desc:`Plural relative filter quantity in months`});case 4:return e===1?(0,f.msg)(f.str`${e} Week`,{desc:`Singular relative filter quantity in weeks`}):(0,f.msg)(f.str`${e} Weeks`,{desc:`Plural relative filter quantity in weeks`});case 5:return e===1?(0,f.msg)(f.str`${e} Day`,{desc:`Singular relative filter quantity in days`}):(0,f.msg)(f.str`${e} Days`,{desc:`Plural relative filter quantity in days`});case 6:return e===1?(0,f.msg)(f.str`${e} Hour`,{desc:`Singular relative filter quantity in hours`}):(0,f.msg)(f.str`${e} Hours`,{desc:`Plural relative filter quantity in hours`});case 7:return e===1?(0,f.msg)(f.str`${e} Minute`,{desc:`Singular relative filter quantity in minutes`}):(0,f.msg)(f.str`${e} Minutes`,{desc:`Plural relative filter quantity in minutes`});case 8:return e===1?(0,f.msg)(f.str`${e} Second`,{desc:`Singular relative filter quantity in seconds`}):(0,f.msg)(f.str`${e} Seconds`,{desc:`Plural relative filter quantity in seconds`});case 9:return e===1?(0,f.msg)(f.str`${e} Millisecond`,{desc:`Singular relative filter quantity in milliseconds`}):(0,f.msg)(f.str`${e} Milliseconds`,{desc:`Plural relative filter quantity in milliseconds`});default:return(0,f.msg)(f.str`${e}`,{desc:`Relative filter quantity`})}}function B(e,t){let n=new Date(e);if(Number.isNaN(n.getTime()))return e;try{return new Intl.DateTimeFormat(t.contentLanguage||void 0,{dateStyle:`medium`,timeStyle:`short`,...t.timeZone?{timeZone:t.timeZone}:{}}).format(n)}catch{return e}}function V(e){return/^\d{4}-\d{2}-\d{2}(?:T|$)/.test(e)}function H(e,t,n){return`${e}:${t}:${n}`}function U(e){if(typeof e==`string`||typeof e==`number`)return String(e);if(w(e)&&(typeof e.id==`string`||typeof e.id==`number`))return String(e.id)}function W(e,t,n){if(n?.type===`hierarchy`&&n.datasetId&&n.fieldId&&!(w(e)&&e.name!==void 0)){let r=U(e),i=r===void 0?void 0:t.hierarchyLabels?.get(H(n.datasetId,n.fieldId,r));if(i)return i}if(typeof e==`number`&&Number.isFinite(e))return new Intl.NumberFormat(t.contentLanguage||void 0).format(e);if(typeof e==`string`)return V(e)?B(e,t):e;if(typeof e==`boolean`)return String(e);if(w(e)){if(typeof e.parameter==`string`)return e.parameter;if(e.name!==void 0){let n=F(e.name,t.contentLanguage,``);if(n)return n}if(typeof e.id==`string`||typeof e.id==`number`)return String(e.id)}return``}function G(e,t){let n=s.n().filter(t=>t.expression===e),r=w(t)&&typeof t.unit==`number`?t.unit:void 0;return(e===`to_date`&&r!==void 0?n.find(e=>e.unit===r)??n[0]:n[0])?.tiny??e}function K(e,t,n,r){if(b.has(e)||t==null)return{valueText:``};if(w(t)&&typeof t.parameter==`string`){let e=t.parameter;if(!T(t))return{valueText:e}}if(x.has(e)&&T(t))return{valueText:``,valueField:L(t,n)};if(e===`? between ?`&&Array.isArray(t)&&t.length===2){let e=O(t[0],n,r),i=O(t[1],n,r);return N({valueText:(0,f.msg)(f.str`${e.label} and ${i.label}`,{desc:`Inclusive range shown between two filter values`}),valueTooltip:e.truncated||i.truncated?(0,f.msg)(f.str`${e.full} and ${i.full}`,{id:`filter-range-tooltip`,desc:`Full inclusive range shown in a tooltip`}):void 0},M(t,n,r),n)}if(v.has(e)&&w(t))return{valueText:z(typeof t.quantity==`number`?t.quantity:1,t.unit)};if(y.has(e)&&w(t))return{valueText:R(t.unit)};if(Array.isArray(t))return t.length===0?{valueText:``}:N(P(t,n,r),M(t,n,r),n);let i=O(t,n,r);return N({valueText:i.label,valueTooltip:i.truncated?i.full:void 0},M([t],n,r),n)}function q(e,t){let n=e.parameters?.[0];if(!w(n)||!T(n))return null;let r=L(n,t),i=typeof e.expression==`string`?e.expression:``,a=e.parameters?.[1];return{field:r,expression:i?G(i,a):``,...K(i,a,t,r)}}function J(e){return`condition`in e&&`filters`in e}function Y(e){if(e==null)return[];if(Array.isArray(e))return e.flatMap(Y);if(w(e)){if(typeof e.parameter==`string`||e.name!==void 0||T(e))return[];let t=U(e);return t?[t]:[]}let t=U(e);return t?[t]:[]}function X(e,t){let n=new Map,r=e=>{if(J(e)){e.filters.forEach(r);return}let i=e.parameters?.[0];if(!w(i)||!T(i))return;let a=L(i,t);if(a.type!==`hierarchy`||!a.datasetId||!a.fieldId)return;let o=[...new Set(Y(e.parameters?.[1]))];if(o.length===0)return;let s=`${a.datasetId}:${a.fieldId}`,c=n.get(s);if(c){c.ids=[...new Set([...c.ids,...o])];return}n.set(s,{datasetId:a.datasetId,...a.formula?{formulaId:a.fieldId}:{columnId:a.fieldId},ids:o})};return r(e),[...n.values()]}async function Z(e,t){let r=new Map;return await Promise.all(e.map(async e=>{let i={dataset_id:e.datasetId,column_id:e.columnId,formula_id:e.formulaId},o=await n.n.fetchData({dimensions:[i],where:[{expression:`? in ?`,parameters:[i,e.ids]}],limit:{by:e.ids.length,offset:0}}),s=e.columnId??e.formulaId??``;for(let n of o.data??[]){let i=n[0],o=i&&typeof i==`object`&&`id`in i?String(i.id):String(i),c=i&&typeof i==`object`&&`name`in i?a.t(i.name,t):``;c&&r.set(H(e.datasetId,s,o),c)}})),r}var Q=`:host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var(--luzmo-font-family);color:var(--luzmo-font-color);flex-direction:row;display:flex}:host([display=text]){vertical-align:middle;align-items:center;max-width:100%;display:inline-flex}.filter-item-text{min-width:0;max-width:100%;font-size:var(--luzmo-filter-item-text-font-size,var(--filter-item-text-font-size));white-space:normal;flex-wrap:wrap;align-items:center;column-gap:.25em;line-height:1.5;display:inline-flex}.filter-item-text-field{white-space:nowrap}.filter-item-column-badge{white-space:nowrap;align-items:center;display:inline-flex}.filter-item-text-field-icon{margin-inline-end:var(--luzmo-filter-item-text-icon-gap,var(--filter-item-text-icon-gap))}.filter-item-column-badge luzmo-icon{--luzmo-icon-vertical-align:0}.filter-item-text-expression{color:var(--luzmo-filter-item-text-expression-color,var(--filter-item-text-expression-color));font-weight:var(--luzmo-filter-item-text-expression-font-weight,var(--filter-item-text-expression-font-weight))}:host([column-display=outline]) .filter-item-column-badge luzmo-badge{--luzmo-badge-border-color:var(--luzmo-filter-item-column-badge-color,var(--luzmo-border-color-full));--luzmo-badge-content-color:var(--luzmo-filter-item-column-badge-font-color,var(--luzmo-filter-item-column-badge-color,var(--luzmo-font-color)))}:host([column-display=subtle]) .filter-item-column-badge luzmo-badge{--luzmo-badge-background-color:color-mix(in srgb, var(--luzmo-filter-item-column-badge-color,var(--luzmo-selected-color-hard)) 10%, var(--luzmo-background-color));--luzmo-badge-content-color:var(--luzmo-filter-item-column-badge-font-color)}:host([column-display=fill]) .filter-item-column-badge luzmo-badge{--luzmo-badge-background-color:var(--luzmo-filter-item-column-badge-color,var(--luzmo-selected-color-hard));--luzmo-badge-border-color:transparent;--luzmo-badge-content-color:var(--luzmo-filter-item-column-badge-font-color,var(--luzmo-background-color))}.filter-item-text-value{align-items:center;gap:var(--luzmo-spacing-1);display:inline-flex}.filter-item-text-value luzmo-progress-circle{--luzmo-progress-circle-size:var(--filter-item-progress-circle-size)}.filter-item-text-value--has-tooltip{text-underline-offset:.15em;cursor:help;text-decoration-line:underline;text-decoration-style:dotted;text-decoration-color:currentColor}[role=group]{box-sizing:border-box;align-items:center;gap:var(--luzmo-filter-item-gap,var(--filter-item-gap));flex-flow:wrap;width:100%;min-width:0;max-width:100%;display:flex}luzmo-data-fields-select{flex:0 1 var(--luzmo-filter-item-field-width,var(--filter-item-field-width));min-width:min(100%, var(--luzmo-filter-item-field-min-width,var(--filter-item-field-min-width)));max-width:100%}luzmo-filter-expression-picker{flex:0 0 var(--luzmo-filter-item-expression-width,var(--filter-item-expression-width));max-width:100%}.value-controls{align-items:center;gap:var(--luzmo-filter-item-gap,var(--filter-item-gap));flex-wrap:nowrap;flex:var(--luzmo-filter-item-value-grow,var(--filter-item-value-grow)) 1 var(--luzmo-filter-item-value-width,var(--filter-item-value-width));min-width:min(100%, var(--luzmo-filter-item-value-min-width,var(--filter-item-value-min-width)));max-width:100%;display:flex}luzmo-filter-value-picker{flex:auto;min-width:0;max-width:100%}luzmo-filter-parameter-picker{flex:0 auto;min-width:0;max-width:100%}:host{--filter-item-gap:var(--luzmo-spacing-3);--filter-item-field-width:auto;--filter-item-expression-width:auto;--filter-item-value-width:auto;--filter-item-value-grow:0;--filter-item-field-min-width:4.5rem;--filter-item-value-min-width:4.5rem;--filter-item-text-font-size:var(--luzmo-font-size-m);--filter-item-text-icon-gap:var(--luzmo-spacing-1);--filter-item-text-expression-color:var(--luzmo-font-color);--filter-item-text-expression-font-weight:var(--luzmo-font-weight);--filter-item-progress-circle-size:var(--luzmo-component-height)}:host([size=s]){--filter-item-gap:var(--luzmo-spacing-2);--filter-item-text-font-size:var(--luzmo-font-size-s);--filter-item-progress-circle-size:var(--luzmo-component-height-s)}:host([size=m]){--filter-item-gap:var(--luzmo-spacing-3)}:host([size=l]){--filter-item-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filter-item-text-font-size:var(--luzmo-font-size-l);--filter-item-text-icon-gap:var(--luzmo-spacing-2);--filter-item-progress-circle-size:var(--luzmo-component-height-l)}:host([size=xl]){--filter-item-gap:var(--luzmo-spacing-4);--filter-item-text-font-size:var(--luzmo-font-size-xl);--filter-item-text-icon-gap:var(--luzmo-spacing-2);--filter-item-progress-circle-size:var(--luzmo-component-height-xl)}`,$=class extends t.t((0,m.SizedMixin)(m.LuzmoElement,{validSizes:Object.values(m.ElementSizes)})){constructor(...e){super(...e),this.apiUrl=`https://api.luzmo.com`,this.contentLanguage=`en`,this.filter={},this.display=`rich`,this.columnDisplay=`text`,this.quiet=!1,this.readonly=!1,this.disabled=!1,this.allowParameters=!1,this.parameters=[],this._loading=!1,this._datasetsDataFields=[],this._hierarchyLabels=new Map,this._hierarchyLabelsLoading=!1,this._hierarchyRequest=0}static get styles(){return[(0,u.unsafeCSS)(Q)]}connectedCallback(){if(super.connectedCallback(),this.textContext)return;let e={};this.apiUrl&&(e.apiUrl=this.apiUrl),this.cacheTime&&(e.staleTime=this.cacheTime,e.gcTime=this.cacheTime*2),e.authKey=this.authKey||``,e.authToken=this.authToken||``,n.n.configure(e),this.hasUpdated&&this.display===`text`&&this._loadHierarchyLabelsForText()}disconnectedCallback(){super.disconnectedCallback(),this._hierarchyRequest+=1}_clearTypeState(){this._type=void 0,this._subType=void 0,this._isFormula=void 0}async _fetchDatasetDataFields(){if(!this.datasetIds||this.datasetIds.length===0){this._error=`Missing dataset ids to fetch columns & formulas`,this._datasetsDataFields=[],this._loading=!1;return}let{valid:e,invalid:t}=r.c(this.datasetIds);if(t.length>0&&console.warn(`[LuzmoFilterItem] Invalid dataset IDs provided (not valid UUIDs): ${t.join(`, `)}. These will be skipped.`),e.length===0){this._error=`Invalid dataset IDs provided. Dataset IDs must be valid UUIDs.`,this._datasetsDataFields=[],this._loading=!1;return}this._loading=!0,this._error=null;try{let t=await n.n.fetchDatasetsWithColumnsAndFormulas(e);for(let e of t)for(let t of[...e.columns,...e.formulas])t.datasetId=e.id;this._datasetsDataFields=t}catch(e){console.error(`Error fetching dataset columns & formulas:`,e),this._error=e instanceof Error?e.message:`Unknown error`,this._datasetsDataFields=[]}finally{this._loading=!1}}willUpdate(e){super.willUpdate(e);let t=e.has(`filter`),r=e.has(`datasetIds`),i=e.has(`authKey`),a=e.has(`authToken`),o=e.has(`_datasetsDataFields`),s=e.has(`parameters`);if(!this.textContext&&this.display===`text`&&(t||o||e.has(`display`)||e.has(`contentLanguage`))&&this._loadHierarchyLabelsForText(),t||r||o&&(this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId)&&this.filter?.parameters?.[0]?.datasetId)if(!this.datasetIds||this.datasetIds.length===0||this._datasetsDataFields.length===0)this._clearTypeState();else{let e=this._datasetsDataFields.find(e=>e.id===this.filter.parameters?.[0]?.datasetId);if(e){let t=!1;for(let n of[...e.columns||[],...e?.formulas||[]])if(n.id===this.filter.parameters?.[0]?.columnId||n.id===this.filter.parameters?.[0]?.formulaId){this._type=n.type,this._subType=n.subtype,this._isFormula=n.id===this.filter.parameters?.[0]?.formulaId,t=!0;break}t||this._clearTypeState()}else this._clearTypeState()}if(!this.textContext&&(i||a)){let e={authKey:this.authKey||``,authToken:this.authToken||``};n.n.configure(e)}!this.textContext&&(r||i||a)&&this._fetchDatasetDataFields();let l=this.filter?.parameters?.[1],u=e.get(`filter`),d=!!u&&u.expression!==this.filter?.expression;if(this.allowParameters&&this._type&&(s||e.has(`_type`)||d)&&c.o(l)){let t=this.parameters.find(e=>e.parameter===l.parameter),n=c.a(this._type,this.filter?.expression),r=s||e.has(`_type`);if(d&&!n.includes(l.type)||r&&(!t||!n.includes(t.type))){let e=structuredClone(this.filter),t=c.r(this._type,e.expression);e.parameters=t===void 0?[e.parameters[0]]:[e.parameters[0],t],this.filter=e,this._sendChangeEvent()}else if(r&&t&&JSON.stringify(t)!==JSON.stringify(l)){let e=structuredClone(this.filter);e.parameters[1]=structuredClone(t),this.filter=e,this._sendChangeEvent()}}}async _loadHierarchyLabelsForText(){let e=++this._hierarchyRequest,t=this._filterTextContext(),n=X({condition:`and`,filters:[this.filter]},t);if(n.length===0){this._hierarchyLabels=new Map,this._hierarchyLabelsLoading=!1;return}this._hierarchyLabelsLoading=!0;try{let t=await Z(n,this.contentLanguage);e===this._hierarchyRequest&&(this._hierarchyLabels=t)}catch(t){e===this._hierarchyRequest&&console.error(`[${this.localName}] Error fetching hierarchy member names:`,t)}finally{e===this._hierarchyRequest&&(this._hierarchyLabelsLoading=!1)}}_sendChangeEvent(){this.readonly||this.disabled||this.dispatchEvent(new CustomEvent(`luzmo-filter-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{filter:this.filter}}))}setFilterDataField(e){if(this.readonly||this.disabled||this._cannotReferenceColumn())return;let t=e.detail?.dataFields?.[0],n=this._type,r=this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId,i=!!this.filter?.parameters?.[0]?.formulaId,a=t?.columnId||t?.formulaId,o=c.o(this.filter?.parameters?.[1]);this._type=t?.type,this._subType=t?.subtype,this._isFormula=!!t?.formulaId;let l=s.r(this._type,this._subType,this._isFormula);this.filter=structuredClone(this.filter??{}),l?.includes(this.filter?.expression)||(this.filter.expression=l?.[0]?.expression),this.filter.parameters=this.filter?.parameters??[],this.filter.parameters[0]={datasetId:t?.datasetId},this._isFormula?this.filter.parameters[0].formulaId=t?.formulaId:this.filter.parameters[0].columnId=t?.columnId;let u=this.filter.properties??{};if(this._isFormula?i&&u.type!==void 0||(this.filter.properties={...u,type:`having`}):(u.type===void 0||i&&u.type===`having`)&&(this.filter.properties={...u,type:`where`}),t?.lowestLevel,n!==this._type)this._type===`hierarchy`?(this.filter.expression=`? like ?`,this.filter.parameters[1]=``):this._type===`numeric`?(this.filter.expression=`? > ?`,this.filter.parameters[1]=0):this._type===`datetime`?(this.filter.expression=`? < ?`,this.filter.parameters[1]=new Date().toISOString()):(this.filter.expression=`? is not null`,this.filter.parameters=[this.filter.parameters[0]]);else if(o&&r!==a){let e=c.r(this._type,this.filter.expression);this.filter.parameters=e===void 0?[this.filter.parameters[0]]:[this.filter.parameters[0],e]}else r!==a&&this._type===`hierarchy`&&(this.filter.parameters[1]=[`? in ?`,`? not in ?`].includes(this.filter.expression)?[]:``);this._sendChangeEvent()}setFilterExpression(e){if(this.readonly||this.disabled||this._cannotReferenceColumn())return;let t=structuredClone(this.filter??{}),n=t.expression;if(t.expression=e.detail?.expression,n!==t.expression){if(c.o(t.parameters?.[1])){let e=t.parameters[1];if(!c.a(this._type,t.expression).some(t=>t===e.type)){let e=c.r(this._type,t.expression);t.parameters=e===void 0?[t.parameters[0]]:[t.parameters[0],e]}}else if([`? is null`,`? is not null`].includes(t.expression))t.parameters=[t.parameters[0]];else if(this._type===`datetime`)if([`YTD`,`QTD`,`MTD`,`WTD`].includes(t.expression)){let n=e?.detail?.unit;n&&(t.parameters[1]={unit:typeof n==`number`?n:1})}else if([`last_completed`,`next_full`,`to_date`].includes(t.expression)){let e=t?.parameters?.[1]?.unit;t.parameters[1]={unit:typeof e==`number`?e:1}}else if([`last_now`,`last_available`,`next_now`,`more_than_ago`,`or_more_ago`].includes(t.expression)){let e=t?.parameters?.[1]?.unit,n=t?.parameters?.[1]?.quantity;t.parameters[1]={unit:typeof e==`number`?e:1,quantity:typeof n==`number`?n:1}}else t.parameters[1]=new Date().toISOString();else if(this._type===`hierarchy`)if([`? in ?`,`? not in ?`].includes(t.expression))[`? = ?`,`? != ?`].includes(n)?t.parameters[1]=t.parameters[1]?[t.parameters[1]]:[]:t.parameters[1]=[];else if([`? = ?`,`? != ?`].includes(t.expression))if([`? in ?`,`? not in ?`].includes(n))t.parameters[1]=Array.isArray(t.parameters[1])&&t.parameters[1][0]!=null?t.parameters[1][0]:``;else{let e=t.parameters[1];t.parameters[1]=typeof e==`string`||typeof e==`number`?e:``}else t.parameters[1]=[`? in ?`,`? not in ?`].includes(n)?``:t.parameters[1]??``;else this._type===`numeric`&&([`? in ?`,`? not in ?`].includes(t.expression)&&[`? in ?`,`? not in ?`].includes(n)?t.parameters[1]=t.parameters[1]??[]:[`? in ?`,`? not in ?`].includes(t.expression)?t.parameters[1]=[]:t.parameters[1]=[`? in ?`,`? not in ?`].includes(n)?0:t.parameters[1]??0);this.filter=t,this._sendChangeEvent()}}setFilterValue(e){this.readonly||this.disabled||this._cannotReferenceColumn()||(this.filter.parameters[1]=e?.detail?.value,this._sendChangeEvent())}handleFilterParameterSelected(e){if(this.readonly||this.disabled)return;let t=e.detail?.parameter;if(!t)return;let n=structuredClone(this.filter??{});n.parameters=n.parameters??[],n.parameters[1]=structuredClone(t),this.filter=n,this._sendChangeEvent()}handleFilterParameterRemoved(){if(this.readonly||this.disabled||!c.o(this.filter?.parameters?.[1]))return;let e=structuredClone(this.filter),t=c.r(this._type,e.expression);e.parameters=t===void 0?[e.parameters[0]]:[e.parameters[0],t],this.filter=e,this._sendChangeEvent()}_cannotReferenceColumn(){if(!(this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId))return!1;if(!this.datasetIds||this.datasetIds.length===0||this._datasetsDataFields.length===0)return!0;let e=this.filter?.parameters?.[0]?.datasetId,t=this._datasetsDataFields.find(t=>t.id===e);return!t||![...t.columns||[],...t.formulas||[]].find(e=>e.id===this.filter?.parameters?.[0]?.columnId||e.id===this.filter?.parameters?.[0]?.formulaId)}renderDataFieldPicker(){let e=this._cannotReferenceColumn(),t=e?(0,f.msg)(`Unknown`):void 0,n=e||this._loading?``:this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId;return u.html`<luzmo-data-fields-select
|
|
21
|
+
.language=${this.language}
|
|
22
|
+
.contentLanguage=${this.contentLanguage}
|
|
23
|
+
.size=${this.size}
|
|
24
|
+
.value=${n?[n]:[]}
|
|
25
|
+
selects="single"
|
|
26
|
+
levels="off"
|
|
27
|
+
.datasetsDataFields=${this._datasetsDataFields}
|
|
28
|
+
placeholder=${(0,p.ifDefined)(t)}
|
|
29
|
+
.invalid=${!!this._error||e}
|
|
30
|
+
?disabled=${e||this.disabled}
|
|
31
|
+
.readonly=${this.readonly}
|
|
32
|
+
.retrieving=${this._loading}
|
|
33
|
+
.pending=${this._loading}
|
|
34
|
+
.quiet=${this.quiet}
|
|
35
|
+
@luzmo-data-fields-selected=${this.setFilterDataField}
|
|
36
|
+
></luzmo-data-fields-select>`}renderExpressionPicker(){let e=this._cannotReferenceColumn(),t=this.filter?.parameters?.[0],n=!t?.datasetId||!t?.columnId&&!t?.formulaId||e;return u.html`<luzmo-filter-expression-picker
|
|
37
|
+
.language=${this.language}
|
|
38
|
+
.size=${this.size}
|
|
39
|
+
.type=${this._type}
|
|
40
|
+
.subtype=${this._subType}
|
|
41
|
+
.filter=${this.filter}
|
|
42
|
+
?isFormula=${this._isFormula}
|
|
43
|
+
?disabled=${n||this.disabled}
|
|
44
|
+
.readonly=${this.readonly}
|
|
45
|
+
.quiet=${this.quiet}
|
|
46
|
+
@luzmo-expression-selected=${this.setFilterExpression}
|
|
47
|
+
></luzmo-filter-expression-picker>`}renderValuePicker(){let e=this._cannotReferenceColumn(),t=this.filter?.parameters?.[0],n=!t?.datasetId||!t?.columnId&&!t?.formulaId||e;return u.html`<luzmo-filter-value-picker
|
|
48
|
+
.apiUrl=${this.apiUrl}
|
|
49
|
+
.authKey=${this.authKey}
|
|
50
|
+
.authToken=${this.authToken}
|
|
51
|
+
.cacheTime=${this.cacheTime}
|
|
52
|
+
.language=${this.language}
|
|
53
|
+
.contentLanguage=${this.contentLanguage}
|
|
54
|
+
.timeZone=${this.timeZone}
|
|
55
|
+
.size=${this.size}
|
|
56
|
+
.filter=${this.filter}
|
|
57
|
+
.valueType=${this._type}
|
|
58
|
+
?disabled=${n||this.disabled}
|
|
59
|
+
.readonly=${this.readonly}
|
|
60
|
+
.quiet=${this.quiet}
|
|
61
|
+
@luzmo-filter-value-changed=${this.setFilterValue}
|
|
62
|
+
></luzmo-filter-value-picker>`}renderParameterPicker(){if(!this.allowParameters)return null;let e=c.a(this._type,this.filter?.expression);if(e.length===0)return null;let t=c.o(this.filter?.parameters?.[1])?this.filter.parameters[1]:void 0;return u.html`<luzmo-filter-parameter-picker
|
|
63
|
+
.language=${this.language}
|
|
64
|
+
.size=${this.size}
|
|
65
|
+
.parameters=${this.parameters}
|
|
66
|
+
.allowedTypes=${e}
|
|
67
|
+
.selectedParameter=${t}
|
|
68
|
+
.currentValue=${t?t.value:this.filter?.parameters?.[1]}
|
|
69
|
+
?disabled=${this._cannotReferenceColumn()||this.disabled}
|
|
70
|
+
.readonly=${this.readonly}
|
|
71
|
+
.quiet=${this.quiet}
|
|
72
|
+
@luzmo-parameter-selected=${this.handleFilterParameterSelected}
|
|
73
|
+
@luzmo-parameter-removed=${this.handleFilterParameterRemoved}
|
|
74
|
+
></luzmo-filter-parameter-picker>`}_filterTextContext(){return this.textContext??{datasets:this._datasetsDataFields,contentLanguage:this.contentLanguage,timeZone:this.timeZone,hierarchyLabels:this._hierarchyLabels,hierarchyLabelsLoading:this._hierarchyLabelsLoading}}get _columnBadgeSize(){return{xxs:`xs`,xs:`xs`,s:`xs`,m:`s`,l:`m`,xl:`l`,xxl:`xl`}[this.size]??`s`}_textFieldIcon(e,t){return e.formula?i.n({formulaId:`formula`},t):i.t({type:e.type??`hierarchy`,subtype:e.subtype},t)}_renderTextField(e){if(this.columnDisplay!==`text`){let t=this._columnBadgeSize,n=this._textFieldIcon(e,t);return u.html`<span
|
|
75
|
+
class="filter-item-column-badge filters-text-field"
|
|
76
|
+
part="filter-item-text-field"
|
|
77
|
+
title=${e.tooltip}
|
|
78
|
+
>
|
|
79
|
+
<luzmo-badge role="none" .size=${t} .treatment=${this.columnDisplay}>
|
|
80
|
+
${n?u.html`<luzmo-icon slot="icon" .icon=${n} .size=${t}></luzmo-icon>`:u.nothing}${e.label}
|
|
81
|
+
</luzmo-badge>
|
|
82
|
+
</span>`}let t=this._textFieldIcon(e,`s`);return u.html`<span
|
|
83
|
+
class="filter-item-text-field filters-text-field"
|
|
84
|
+
part="filter-item-text-field"
|
|
85
|
+
title=${e.tooltip}
|
|
86
|
+
><span class="filter-item-text-field-icon filters-text-field-icon" aria-hidden="true">${t?(0,l.luzmoIcon)(t):u.nothing}</span
|
|
87
|
+
><span class="filter-item-text-field-label filters-text-field-label">${e.label}</span></span
|
|
88
|
+
>`}_renderTextValue(e){if(e.valueField)return this._renderTextField(e.valueField);if(!e.valueText)return u.nothing;let t=e.valuePending?u.html`<luzmo-progress-circle
|
|
89
|
+
indeterminate
|
|
90
|
+
.label=${(0,f.msg)(`Loading item names`,{desc:`Accessible label while hierarchy item names load beside the item count`})}
|
|
91
|
+
.size=${this.size}
|
|
92
|
+
></luzmo-progress-circle>`:u.nothing;return e.valueTooltip?u.html`<span
|
|
93
|
+
class="filter-item-text-value filter-item-text-value--has-tooltip filters-text-value filters-text-value--has-tooltip outline-value outline-value--has-tooltip"
|
|
94
|
+
tabindex="0"
|
|
95
|
+
aria-live="polite"
|
|
96
|
+
>${e.valueText}<luzmo-tooltip self-managed placement="top" .size=${this.size}
|
|
97
|
+
>${e.valueTooltip}</luzmo-tooltip
|
|
98
|
+
></span
|
|
99
|
+
>`:u.html`<span class="filter-item-text-value filters-text-value outline-value" aria-live="polite">${e.valueText}${t}</span>`}_renderTextDisplay(){let e=q(this.filter,this._filterTextContext());if(!e)return u.html`
|
|
100
|
+
<span
|
|
101
|
+
class="filter-item-text"
|
|
102
|
+
part="filter-item-text"
|
|
103
|
+
></span>
|
|
104
|
+
`;let t=this._renderTextField(e.field),n=u.html`<span class="filter-item-text-expression filters-text-expression outline-expression"
|
|
105
|
+
>${e.expression}</span
|
|
106
|
+
>`,r=e.valueField||e.valueText?this._renderTextValue(e):u.nothing;return u.html`<span class="filter-item-text" part="filter-item-text">${e.expression&&r!==u.nothing?_((0,f.msg)(f.str`${h[0]}\u2063 ${h[1]}\u2063 ${h[2]}`,{id:`filter-item-field-expression-value`,desc:`Field, expression, and value in a read-only filter sentence`}),[t,n,r]):e.expression?_((0,f.msg)(f.str`${h[0]}\u2063 ${h[1]}`,{id:`filter-item-field-expression`,desc:`Field and expression in a read-only filter sentence without a value`}),[t,n]):r===u.nothing?t:_((0,f.msg)(f.str`${h[0]}\u2063 ${h[1]}`,{id:`filter-item-field-value`,desc:`Field and value in a read-only filter sentence without an expression`}),[t,r])}</span>`}render(){if(this.display===`text`)return this._renderTextDisplay();let e=c.o(this.filter?.parameters?.[1]);return u.html`<div role="group" aria-label=${(0,f.msg)(`Filter condition`,{desc:`Accessible label for filter item group`})}>
|
|
107
|
+
${this.renderDataFieldPicker()} ${this.renderExpressionPicker()}
|
|
108
|
+
<div class="value-controls">
|
|
109
|
+
${e?null:this.renderValuePicker()} ${this.renderParameterPicker()}
|
|
110
|
+
</div>
|
|
111
|
+
</div>`}};e.t([(0,d.property)({type:String,attribute:`api-url`,reflect:!0})],$.prototype,`apiUrl`,void 0),e.t([(0,d.property)({type:String,attribute:`auth-key`,reflect:!0})],$.prototype,`authKey`,void 0),e.t([(0,d.property)({type:String,attribute:`auth-token`,reflect:!0})],$.prototype,`authToken`,void 0),e.t([(0,d.property)({type:Number,attribute:`cache-time`,reflect:!0})],$.prototype,`cacheTime`,void 0),e.t([(0,d.property)({type:String,reflect:!0})],$.prototype,`contentLanguage`,void 0),e.t([(0,d.property)({type:String,attribute:`time-zone`,reflect:!0})],$.prototype,`timeZone`,void 0),e.t([(0,d.property)({type:Array,attribute:`dataset-ids`,reflect:!0})],$.prototype,`datasetIds`,void 0),e.t([(0,d.property)({type:Object,reflect:!1})],$.prototype,`filter`,void 0),e.t([(0,d.property)({type:String,reflect:!0})],$.prototype,`display`,void 0),e.t([(0,d.property)({type:String,attribute:`column-display`,reflect:!0})],$.prototype,`columnDisplay`,void 0),e.t([(0,d.property)({type:Boolean,reflect:!0})],$.prototype,`quiet`,void 0),e.t([(0,d.property)({type:Boolean,reflect:!0})],$.prototype,`readonly`,void 0),e.t([(0,d.property)({type:Boolean,reflect:!0})],$.prototype,`disabled`,void 0),e.t([(0,d.property)({attribute:!1})],$.prototype,`textContext`,void 0),e.t([(0,d.property)({type:Boolean,attribute:`allow-parameters`,reflect:!0})],$.prototype,`allowParameters`,void 0),e.t([(0,d.property)({attribute:!1})],$.prototype,`parameters`,void 0),e.t([(0,d.state)()],$.prototype,`_type`,void 0),e.t([(0,d.state)()],$.prototype,`_subType`,void 0),e.t([(0,d.state)()],$.prototype,`_isFormula`,void 0),e.t([(0,d.state)()],$.prototype,`_error`,void 0),e.t([(0,d.state)()],$.prototype,`_loading`,void 0),e.t([(0,d.state)()],$.prototype,`_datasetsDataFields`,void 0),e.t([(0,d.state)()],$.prototype,`_hierarchyLabels`,void 0),e.t([(0,d.state)()],$.prototype,`_hierarchyLabelsLoading`,void 0),$=e.t([(0,f.localized)()],$),customElements.get(`luzmo-filter-item`)||customElements.define(`luzmo-filter-item`,$),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return $}});
|