@luzmo/analytics-components-kit 1.3.0 → 2.0.0
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 +18 -5
- package/angular/components/add-to-dashboard.ts +20 -6
- package/angular/components/ai-chat-empty-state.ts +1 -1
- package/angular/components/ai-chat.ts +10 -3
- package/angular/components/data-fields-select.ts +5 -0
- package/angular/components/display-settings-period-over-period.ts +25 -4
- package/angular/components/display-settings.ts +24 -3
- package/angular/components/interactive-viz-item.ts +87 -22
- package/angular/components/item-grid-item-actions-menu.ts +5 -0
- package/angular/components/item-grid.ts +7 -0
- package/angular/components/item-option-color-picker.ts +28 -28
- package/angular/components/item-option-guidelines.ts +22 -1
- package/angular/components/item-option-multi-language-field.ts +7 -7
- package/angular/components/item-option-number-field.ts +14 -14
- package/angular/components/item-option-positions-number-field.ts +14 -14
- package/angular/components/item-option-radio-button-group.ts +7 -7
- package/angular/components/item-option-text-field.ts +7 -7
- package/angular/components/item-slot-drop-panel.ts +7 -0
- package/angular/components/item-slot-drop.ts +7 -0
- package/angular/components/item-slot-picker-panel.ts +8 -1
- package/angular/components/item-slot-picker.ts +22 -8
- package/angular/components/slot-menu.ts +15 -1
- package/angular/esm/components/add-to-dashboard.d.ts +8 -4
- package/angular/esm/components/add-to-dashboard.js +23 -7
- package/angular/esm/components/ai-chat-empty-state.d.ts +1 -1
- package/angular/esm/components/ai-chat.d.ts +6 -4
- package/angular/esm/components/ai-chat.js +10 -2
- package/angular/esm/components/data-fields-select.d.ts +2 -0
- package/angular/esm/components/data-fields-select.js +4 -0
- package/angular/esm/components/display-settings-period-over-period.d.ts +12 -5
- package/angular/esm/components/display-settings-period-over-period.js +29 -5
- package/angular/esm/components/display-settings.d.ts +11 -4
- package/angular/esm/components/display-settings.js +28 -4
- package/angular/esm/components/interactive-viz-item.d.ts +30 -9
- package/angular/esm/components/interactive-viz-item.js +98 -27
- package/angular/esm/components/item-grid-item-actions-menu.d.ts +2 -0
- package/angular/esm/components/item-grid-item-actions-menu.js +4 -0
- package/angular/esm/components/item-grid.d.ts +3 -1
- package/angular/esm/components/item-grid.js +9 -1
- package/angular/esm/components/item-option-color-picker.d.ts +10 -10
- package/angular/esm/components/item-option-color-picker.js +34 -34
- package/angular/esm/components/item-option-guidelines.d.ts +8 -2
- package/angular/esm/components/item-option-guidelines.js +26 -2
- package/angular/esm/components/item-option-multi-language-field.d.ts +3 -3
- package/angular/esm/components/item-option-multi-language-field.js +10 -10
- package/angular/esm/components/item-option-number-field.d.ts +5 -5
- package/angular/esm/components/item-option-number-field.js +18 -18
- package/angular/esm/components/item-option-positions-number-field.d.ts +5 -5
- package/angular/esm/components/item-option-positions-number-field.js +18 -18
- package/angular/esm/components/item-option-radio-button-group.d.ts +3 -3
- package/angular/esm/components/item-option-radio-button-group.js +10 -10
- package/angular/esm/components/item-option-text-field.d.ts +3 -3
- package/angular/esm/components/item-option-text-field.js +10 -10
- package/angular/esm/components/item-slot-drop-panel.d.ts +4 -1
- package/angular/esm/components/item-slot-drop-panel.js +10 -2
- package/angular/esm/components/item-slot-drop.d.ts +4 -1
- package/angular/esm/components/item-slot-drop.js +10 -2
- package/angular/esm/components/item-slot-picker-panel.d.ts +5 -2
- package/angular/esm/components/item-slot-picker-panel.js +11 -3
- package/angular/esm/components/item-slot-picker.d.ts +9 -4
- package/angular/esm/components/item-slot-picker.js +26 -10
- package/angular/esm/components/slot-menu.d.ts +7 -2
- package/angular/esm/components/slot-menu.js +18 -2
- package/angular/package.json +2 -2
- package/angular/utils/filters/expressions.d.ts +2 -0
- package/angular/utils/slot-state/slot-store.d.ts +3 -8
- package/angular/utils/time/period-over-period-condition.const.d.ts +0 -1
- package/angular/utils/time/period-over-period-context.d.ts +75 -0
- package/angular/utils/time/tests/period-over-period-context.test.d.ts +1 -0
- package/components/add-to-dashboard/dashboard-actions.d.ts +2 -1
- package/components/add-to-dashboard/index.cjs +1 -1
- package/components/add-to-dashboard/index.js +1 -1
- package/components/{add-to-dashboard-DGC0_hRB.js → add-to-dashboard-B5egTFre.js} +127 -122
- package/components/{add-to-dashboard-CzIuDtAq.cjs → add-to-dashboard-BC5SObl9.cjs} +1 -1
- package/components/advanced-options.i18n-CyfRP6Jc.js +43 -0
- package/components/advanced-options.i18n-DPTCLyPj.cjs +20 -0
- package/components/ai-chat/ai-chat-events.d.ts +6 -2
- package/components/ai-chat/ai-chat-request.d.ts +1 -1
- package/components/ai-chat/ai-chat.d.ts +9 -2
- package/components/ai-chat/ai-prompt-types.d.ts +19 -1
- package/components/ai-chat/helpers/interaction-assets.d.ts +9 -0
- package/components/ai-chat/helpers/question-template.d.ts +13 -0
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.d.ts +2 -1
- package/components/ai-chat/index.js +3 -3
- package/components/ai-chat/session/ai-chat-session-types.d.ts +6 -1
- package/components/ai-chat/session/ai-chat-session.d.ts +14 -3
- package/components/{ai-chat-CL894viH.js → ai-chat-CZz60W04.js} +1152 -837
- package/components/ai-chat-CkN95EAz.cjs +414 -0
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/{ai-interaction-textarea-BmvVVCmL.cjs → ai-interaction-textarea-NGtzhkEU.cjs} +1 -1
- package/components/{ai-interaction-textarea-CnQ2FBc7.js → ai-interaction-textarea-zpSYvzWC.js} +4 -4
- package/components/{area-chart-options.config-D99tvt_H.cjs → area-chart-options.config-DkaWRgGR.cjs} +1 -1
- package/components/{area-chart-options.config-Dnw8v2CA.js → area-chart-options.config-E5T5GaAt.js} +3 -3
- package/components/{area-chart-positioning.config-ygE3-JQW.js → area-chart-positioning.config-CF5TQdQM.js} +1 -1
- package/components/{area-chart-positioning.config-BwEs73dl.cjs → area-chart-positioning.config-D3v03RF2.cjs} +1 -1
- package/components/{bar-chart-options.config-DHO8grQN.js → bar-chart-options.config-BmuNCcVu.js} +3 -3
- package/components/{bar-chart-options.config-BQ-PbucR.cjs → bar-chart-options.config-DujzIJ03.cjs} +1 -1
- package/components/{bar-chart-positioning.config-CPdIIPp0.cjs → bar-chart-positioning.config-B2cBwfjg.cjs} +1 -1
- package/components/{bar-chart-positioning.config-GjqSe7CO.js → bar-chart-positioning.config-DD3FsbpL.js} +1 -1
- package/components/{base-rAte-QzM.js → base-BqwRKT4V.js} +1 -1
- package/components/{base-CGDNY_7v.cjs → base-D-bJhYbS.cjs} +1 -1
- package/components/{box-plot-options.config-BgiiwSrU.js → box-plot-options.config-BldiKc1W.js} +1 -1
- package/components/{box-plot-options.config-BcGisybi.cjs → box-plot-options.config-CTHQiE0y.cjs} +1 -1
- package/components/{box-plot-positioning.config-DDUgau2U.js → box-plot-positioning.config-D7dak0lQ.js} +1 -1
- package/components/{box-plot-positioning.config-mSIgw923.cjs → box-plot-positioning.config-DyDjp1GB.cjs} +1 -1
- package/components/{bubble-chart-options.config-DMk8Yjfk.cjs → bubble-chart-options.config-CIQV2-nD.cjs} +1 -1
- package/components/{bubble-chart-options.config-UM9w5tBs.js → bubble-chart-options.config-DfUueHwL.js} +1 -1
- package/components/{bubble-chart-positioning.config-CuOxvXYf.cjs → bubble-chart-positioning.config-CBVdzO-2.cjs} +1 -1
- package/components/{bubble-chart-positioning.config-C3UubNLh.js → bubble-chart-positioning.config-DjYnqcoE.js} +1 -1
- package/components/{bullet-chart-positioning.config-DB1Fmx1d.cjs → bullet-chart-positioning.config-B1tyFrKD.cjs} +1 -1
- package/components/{bullet-chart-positioning.config-BuFhsRMP.js → bullet-chart-positioning.config-C1Fy_8N4.js} +1 -1
- package/components/chart-helpers-BHxQbLBw.cjs +20 -0
- package/components/{chart-helpers-Cbl3sRra.js → chart-helpers-BKeMLhov.js} +51 -38
- package/components/{choropleth-map-options.config-Blu0Z2tR.js → choropleth-map-options.config-BPwJyWoW.js} +1 -1
- package/components/{choropleth-map-options.config-DwFJ00CS.cjs → choropleth-map-options.config-mBZ3__hO.cjs} +1 -1
- package/components/{choropleth-map-positioning.config-6PsCyhsn.js → choropleth-map-positioning.config-BJ4TNZiP.js} +1 -1
- package/components/{choropleth-map-positioning.config-fc5IcNoB.cjs → choropleth-map-positioning.config-DaN1GsN7.cjs} +1 -1
- package/components/{circle-pack-chart-options.config-DQs-uitJ.js → circle-pack-chart-options.config-BbTBvJRt.js} +1 -1
- package/components/{circle-pack-chart-options.config-DMNMYWZX.cjs → circle-pack-chart-options.config-Cz9c2Oxt.cjs} +1 -1
- package/components/{circle-pack-chart-positioning.config-DvQfzJ_Z.cjs → circle-pack-chart-positioning.config-C0iRGjcn.cjs} +1 -1
- package/components/{circle-pack-chart-positioning.config-DRHNE10H.js → circle-pack-chart-positioning.config-sm_d4gNL.js} +1 -1
- package/components/{circular-gauge-positioning.config-CGOX-Vyn.js → circular-gauge-positioning.config-CP_Ihfyd.js} +1 -1
- package/components/{circular-gauge-positioning.config-OX1-mPls.cjs → circular-gauge-positioning.config-GgkU8ivx.cjs} +1 -1
- package/components/{column-chart-options.config-BYDJTVx6.js → column-chart-options.config-BoIqFqBu.js} +3 -3
- package/components/{column-chart-options.config-CyD8V7j4.cjs → column-chart-options.config-fsV6tk3-.cjs} +1 -1
- package/components/{column-chart-positioning.config-BVYa1A42.js → column-chart-positioning.config-B4OsEyKU.js} +1 -1
- package/components/{column-chart-positioning.config-NbQbSa8P.cjs → column-chart-positioning.config-oub804lP.cjs} +1 -1
- package/components/{combination-chart-options.config-Cg3ZEKMe.cjs → combination-chart-options.config-C_fwwZvd.cjs} +1 -1
- package/components/{combination-chart-options.config-B3zsSUFx.js → combination-chart-options.config-Oks0enDz.js} +3 -3
- package/components/{combination-chart-positioning.config-B7DtfzCV.cjs → combination-chart-positioning.config-BeEC_NMJ.cjs} +1 -1
- package/components/{combination-chart-positioning.config-yHAgveni.js → combination-chart-positioning.config-BxNKTTby.js} +1 -1
- package/components/{conditional-number-positioning.config-BZS99jTT.cjs → conditional-number-positioning.config-B7F96ylg.cjs} +1 -1
- package/components/{conditional-number-positioning.config-DhixJEpv.js → conditional-number-positioning.config-xMGIw6c7.js} +1 -1
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -1
- package/components/{data-field-BORlpZZk.cjs → data-field-BxIuPFX_.cjs} +1 -1
- package/components/{data-field-B9466d0w.js → data-field-D03w2T6D.js} +3 -3
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -1
- package/components/{data-field-level-DOEYwcvM.cjs → data-field-level-BdWZsIny.cjs} +1 -1
- package/components/{data-field-level-GrX6yhPV.js → data-field-level-C-C9RCNf.js} +1 -1
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/{data-field-panel-BedJ9V2r.js → data-field-panel-DLe4FvTg.js} +3 -3
- package/components/{data-field-panel-DmMkAYAz.cjs → data-field-panel-kGncuIuq.cjs} +1 -1
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -1
- package/components/{data-fields-select-BOqmoE7n.cjs → data-fields-select-CSP6pX9J.cjs} +1 -1
- package/components/{data-fields-select-af1HZLWS.js → data-fields-select-DP80Miah.js} +1 -1
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/{dataset-selector-list-BzI8n_dB.js → dataset-selector-list-D2UcUaOx.js} +1 -1
- package/components/{dataset-selector-list-CmZaj20L.cjs → dataset-selector-list-DGWiCqpf.cjs} +1 -1
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -1
- package/components/{dataset-selector-row-D_7iBmdm.js → dataset-selector-row-7WNwyR9L.js} +3 -3
- package/components/{dataset-selector-row-mOGioXLM.cjs → dataset-selector-row-Vfh7jDjW.cjs} +1 -1
- package/components/{de-AOtjGNGZ.js → de-BbXtB6N5.js} +19 -4
- package/components/de-BfHCg6-Y.cjs +20 -0
- package/components/display-settings/display-settings.d.ts +11 -3
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/{display-settings-Qwp9oJo6.js → display-settings-Bqq9iJ3L.js} +86 -62
- package/components/display-settings-CG-qtz9m.cjs +146 -0
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/{display-settings-binning-IPVCvx8a.js → display-settings-binning-C2Jlf18P.js} +2 -2
- package/components/{display-settings-binning-D5zhoC7D.cjs → display-settings-binning-Dx9zEbDo.cjs} +1 -1
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/{display-settings-datetime-t70VEfHe.cjs → display-settings-datetime-B6LMQZOW.cjs} +1 -1
- package/components/{display-settings-datetime-DgBBSYfC.js → display-settings-datetime-B6okY4hC.js} +2 -2
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -1
- package/components/{display-settings-grand-totals-C_Fzk7oV.cjs → display-settings-grand-totals-D1Fi1qIx.cjs} +1 -1
- package/components/{display-settings-grand-totals-AFtKeeeG.js → display-settings-grand-totals-_v0iGpHZ.js} +2 -2
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -1
- package/components/{display-settings-numeric-BF8BA5MH.cjs → display-settings-numeric-DbcsMeEN.cjs} +1 -1
- package/components/{display-settings-numeric-DeuXT1UR.js → display-settings-numeric-G2avidxv.js} +2 -2
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +18 -10
- package/components/display-settings-period-over-period/helpers/constants.d.ts +0 -23
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +1 -1
- package/components/display-settings-period-over-period-86oxRHhk.cjs +151 -0
- package/components/{display-settings-period-over-period-CzxnyVF7.js → display-settings-period-over-period-DqeKcvdD.js} +101 -164
- package/components/donut-chart-options.config-B47Y1jhM.cjs +20 -0
- package/components/{donut-chart-options.config-B2vxfMyh.js → donut-chart-options.config-C__JfD3B.js} +32 -45
- package/components/{donut-chart-options.de-AXRfsiXW.cjs → donut-chart-options.de-Bsze2Gb5.cjs} +1 -1
- package/components/{donut-chart-options.de-DgNmBJiQ.js → donut-chart-options.de-Cft1Ppg0.js} +1 -2
- package/components/{donut-chart-options.en-aZqu2oEV.cjs → donut-chart-options.en-D3F9v0nN.cjs} +1 -1
- package/components/{donut-chart-options.en-BXwxTVpB.js → donut-chart-options.en-DZbap5Oi.js} +1 -2
- package/components/{donut-chart-options.es-7WgxuaDe.cjs → donut-chart-options.es-Cm0HGP62.cjs} +1 -1
- package/components/{donut-chart-options.es-DW_q5HeE.js → donut-chart-options.es-gM85ij3W.js} +1 -2
- package/components/{donut-chart-options.fr-QU3pGELZ.js → donut-chart-options.fr-Tgs8r0XZ.js} +1 -2
- package/components/{donut-chart-options.fr-C0Z8xEyF.cjs → donut-chart-options.fr-VSZoCY5q.cjs} +1 -1
- package/components/{donut-chart-options.nl-aKVLbRJY.cjs → donut-chart-options.nl-BkwPxEkq.cjs} +1 -1
- package/components/{donut-chart-options.nl-D_cgYVAQ.js → donut-chart-options.nl-SfAF0ycW.js} +1 -2
- package/components/{donut-chart-positioning.config-Bu1jZwtJ.cjs → donut-chart-positioning.config-BxJLjvJI.cjs} +1 -1
- package/components/{donut-chart-positioning.config-C0jkFWni.js → donut-chart-positioning.config-Doti4TgR.js} +1 -1
- package/components/{es-CYhv03uu.js → es-DRdklNAj.js} +19 -4
- package/components/es-Djk6AXOA.cjs +20 -0
- package/components/{evolution-number-positioning.config-DD8HBFtv.js → evolution-number-positioning.config-DHgkhRjt.js} +1 -1
- package/components/{evolution-number-positioning.config-DbH1-ODd.cjs → evolution-number-positioning.config-DeJkgT2e.cjs} +1 -1
- package/components/expressions-B4TetNaL.js +314 -0
- package/components/expressions-_KjBCqb6.cjs +20 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-expression-picker-BuXFbOXQ.js +146 -0
- package/components/filter-expression-picker-Cta3MMId.cjs +40 -0
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-item-DENHWF-1.cjs +111 -0
- package/components/{filter-item-QJ3sDlmG.js → filter-item-DXkoGth1.js} +170 -169
- package/components/filter-parameter-picker/index.cjs +1 -1
- package/components/filter-parameter-picker/index.js +1 -1
- package/components/{filter-parameter-picker-DjQVFIfg.cjs → filter-parameter-picker-CYb_At4A.cjs} +1 -1
- package/components/{filter-parameter-picker-C8qwIo_H.js → filter-parameter-picker-Dhdrwokt.js} +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/{filter-value-picker-DIYyMymr.js → filter-value-picker-Df2otXtB.js} +4 -4
- package/components/{filter-value-picker-CMNxLzj7.cjs → filter-value-picker-IBplK-ue.cjs} +1 -1
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -1
- package/components/{filter-value-picker-datetime-DKblyQrs.js → filter-value-picker-datetime-Cxj-X50F.js} +34 -28
- package/components/filter-value-picker-datetime-DmJ6vrr8.cjs +53 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/{filter-value-picker-hierarchy-CXPC_4MU.cjs → filter-value-picker-hierarchy-BAK4urti.cjs} +1 -1
- package/components/{filter-value-picker-hierarchy-IswtY6Qa.js → filter-value-picker-hierarchy-JUxA6aOK.js} +2 -2
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/{filter-value-picker-numeric-C7_-Fpol.cjs → filter-value-picker-numeric-Bf7iFwmp.cjs} +1 -1
- package/components/{filter-value-picker-numeric-DlFnGZ2O.js → filter-value-picker-numeric-MEFZbKsF.js} +1 -1
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/filters-BLd6si6W.cjs +187 -0
- package/components/{filters-CxIzuI5q.js → filters-CYSKF57z.js} +115 -104
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/{formula-WqOlEQ5o.js → formula-DPYHw2sr.js} +2 -2
- package/components/{formula-codemirror-BTYlGSxE.cjs → formula-codemirror-CZpISqCT.cjs} +1 -1
- package/components/{formula-codemirror-bpEb3M2G.js → formula-codemirror-DrcDvAal.js} +4 -4
- package/components/{formula-display-store-QU-B6xp9.js → formula-display-store-fFSd4okF.js} +3 -3
- package/components/{formula-display-store-D7fzKNfW.cjs → formula-display-store-zZIC2bm-.cjs} +1 -1
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.js +3 -3
- package/components/{formula-editor-BbyDf0vM.js → formula-editor-C9ECzSM6.js} +5 -5
- package/components/{formula-editor-D_NRhjUI.cjs → formula-editor-CDx-sZrG.cjs} +1 -1
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -1
- package/components/{formula-field-DSSpI8LB.cjs → formula-field-CV3FLzM2.cjs} +1 -1
- package/components/{formula-field-BT9K_W6Q.js → formula-field-DZLfK3cs.js} +1 -1
- package/components/{formula-input-base-CQc1OU9G.js → formula-input-base-CTuUw8IY.js} +1 -1
- package/components/{formula-input-base-BoWiH97v.cjs → formula-input-base-DN9aVHrY.cjs} +1 -1
- package/components/{formula-CXrr9wJZ.cjs → formula-x9mA6jDv.cjs} +1 -1
- package/components/{fr-DKAoGI_6.js → fr-C6af3ed2.js} +19 -4
- package/components/fr-cuXTTJ19.cjs +20 -0
- package/components/{funnel-chart-options.config-W83a8ukL.js → funnel-chart-options.config-AupTvjpk.js} +27 -84
- package/components/funnel-chart-options.config-DLRKgBpU.cjs +20 -0
- package/components/{funnel-chart-options.de-B2f_xxvV.cjs → funnel-chart-options.de-BXnQCtlb.cjs} +1 -1
- package/components/{funnel-chart-options.de-CLMiAr0m.js → funnel-chart-options.de-CRjaoeDf.js} +0 -1
- package/components/{funnel-chart-options.en-Pu8yU7Yz.js → funnel-chart-options.en-B0moabZE.js} +0 -1
- package/components/{funnel-chart-options.en-Cdvkged9.cjs → funnel-chart-options.en-BxEAM67L.cjs} +1 -1
- package/components/{funnel-chart-options.es-CrAp7hOK.cjs → funnel-chart-options.es-B88ZJAvI.cjs} +1 -1
- package/components/{funnel-chart-options.es-BPjGIJ7s.js → funnel-chart-options.es-DVVoRoYc.js} +0 -1
- package/components/{funnel-chart-options.fr-0RxiqeZg.cjs → funnel-chart-options.fr-B79JhoL2.cjs} +1 -1
- package/components/{funnel-chart-options.fr-CtWjGa4q.js → funnel-chart-options.fr-DvQC8k_c.js} +0 -1
- package/components/{funnel-chart-options.nl-r_wRg5qR.cjs → funnel-chart-options.nl-CnHVcvGk.cjs} +1 -1
- package/components/{funnel-chart-options.nl-2TPEy_CB.js → funnel-chart-options.nl-DJhjX1Pw.js} +0 -1
- package/components/{funnel-chart-positioning.config-Dx9E5eiW.cjs → funnel-chart-positioning.config-BZJ5g_XG.cjs} +1 -1
- package/components/{funnel-chart-positioning.config-Dbex7egf.js → funnel-chart-positioning.config-y6yFY7jd.js} +1 -1
- package/components/{get-dataset-name-C3Sc0hZ0.cjs → get-dataset-name-DddRDGDV.cjs} +1 -1
- package/components/{get-dataset-name-BArAzBu2.js → get-dataset-name-OPlPwcJU.js} +1 -1
- package/components/{groupings-DMWmtE5F.cjs → groupings-BnI5_4A1.cjs} +1 -1
- package/components/{groupings-DXJS4XIU.js → groupings-D_Ri_Z-t.js} +1 -1
- package/components/{guidelines-options.config-D-ZuReR_.cjs → guidelines-options.config-BgARZ-fs.cjs} +1 -1
- package/components/{guidelines-options.config-DVZrOa3v.js → guidelines-options.config-BqAYiMSF.js} +1 -1
- package/components/{heat-map-positioning.config-Bzg0DG60.cjs → heat-map-positioning.config-Cgg-qkcr.cjs} +1 -1
- package/components/{heat-map-positioning.config-D4T7PQzN.js → heat-map-positioning.config-DN75-r9r.js} +1 -1
- package/components/{heat-table-options.config-CMWWTeyo.js → heat-table-options.config-BL8x1qwt.js} +20 -7
- package/components/heat-table-options.config-iEHucwDf.cjs +20 -0
- package/components/{heat-table-positioning.config-Cj6LlLe3.cjs → heat-table-positioning.config-C2QPQURh.cjs} +1 -1
- package/components/{heat-table-positioning.config-DVQiJfC4.js → heat-table-positioning.config-CHxtZe-0.js} +1 -1
- package/components/{hexbin-map-positioning.config-csNrvMwp.js → hexbin-map-positioning.config-B1H1Z6Os.js} +1 -1
- package/components/{hexbin-map-positioning.config-ChoCCure.cjs → hexbin-map-positioning.config-BI-RVV35.cjs} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +69 -69
- package/components/interactive-viz-item/helpers/chart-helpers.d.ts +2 -1
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.js +3 -3
- package/components/interactive-viz-item/interactive-viz-item.d.ts +44 -0
- package/components/{interactive-viz-item-BKLOmawA.js → interactive-viz-item-CngeQ579.js} +153 -112
- package/components/interactive-viz-item-qrC0vC2O.cjs +269 -0
- package/components/interactivity-options.config-AKgaj2vC.js +131 -0
- package/components/interactivity-options.config-CkRDoCWd.cjs +20 -0
- package/components/interactivity-options.i18n-Cv5w1nSS.cjs +20 -0
- package/components/{interactivity-options.i18n-DY947PNz.js → interactivity-options.i18n-DmrqdhYW.js} +35 -5
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +2 -2
- package/components/item-grid/item-grid.d.ts +1 -0
- package/components/{item-grid-DveTRc7D.cjs → item-grid-C-v9kDvq.cjs} +1 -1
- package/components/{item-grid-DscQOFMu.js → item-grid-DzR5sfDM.js} +1 -1
- package/components/item-grid-item-actions-menu/index.cjs +1 -1
- package/components/item-grid-item-actions-menu/index.js +1 -1
- package/components/{item-grid-item-actions-menu-B1bKfagj.js → item-grid-item-actions-menu-DJJESWL6.js} +1 -1
- package/components/{item-grid-item-actions-menu-xRrT9dkY.cjs → item-grid-item-actions-menu-HIlcOhJA.cjs} +1 -1
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/{item-option-DKLRnicU.js → item-option-B6h4E5qR.js} +49 -43
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -1
- package/components/{item-option-action-button-group-Cpd_CNn-.js → item-option-action-button-group-Bc3bJQUS.js} +1 -1
- package/components/{item-option-action-button-group-BMgUwveA.cjs → item-option-action-button-group-CQHpvC5O.cjs} +1 -1
- package/components/{item-option-base-BMy6dWbc.cjs → item-option-base-6msESUhx.cjs} +1 -1
- package/components/{item-option-base-BfHciede.js → item-option-base-XB_1V6QM.js} +1 -1
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -1
- package/components/{item-option-color-palette-picker-8KFuRU1D.js → item-option-color-palette-picker-BYjb4ygk.js} +1 -1
- package/components/{item-option-color-palette-picker-CnM1Gi6o.cjs → item-option-color-palette-picker-MhFJgurt.cjs} +1 -1
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -1
- package/components/{item-option-color-picker-CNW7GsCO.cjs → item-option-color-picker-CLLWV2M-.cjs} +1 -1
- package/components/{item-option-color-picker-DDvsY7hV.js → item-option-color-picker-Dq_NwAn1.js} +1 -1
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -1
- package/components/{item-option-color-range-BqSbuSZh.cjs → item-option-color-range-DlCi_o72.cjs} +1 -1
- package/components/{item-option-color-range-FQduqtz3.js → item-option-color-range-abi_vblh.js} +1 -1
- package/components/item-option-guidelines/index.cjs +1 -1
- package/components/item-option-guidelines/index.js +1 -1
- package/components/{item-option-guidelines-k5DwMONo.js → item-option-guidelines-8LmcJ04U.js} +3 -3
- package/components/{item-option-guidelines-z9BsGR-l.cjs → item-option-guidelines-Q2M8xSYS.cjs} +1 -1
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -1
- package/components/{item-option-multi-language-field-CqtBl3gM.js → item-option-multi-language-field-6FBm3Xr3.js} +1 -1
- package/components/{item-option-multi-language-field-DM2PENxV.cjs → item-option-multi-language-field-Dq3j7XYw.cjs} +1 -1
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -1
- package/components/{item-option-number-field-BgQRhFj3.js → item-option-number-field-CPgwUGTR.js} +1 -1
- package/components/{item-option-number-field-Cw2ofJL7.cjs → item-option-number-field-CZSVb9wv.cjs} +1 -1
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/{item-option-panel-CU51qvgV.cjs → item-option-panel-B5ZKbaLl.cjs} +1 -1
- package/components/{item-option-panel-BLXWIbjX.js → item-option-panel-BZRyyc-9.js} +2 -2
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/{item-option-picker-EJlc0bmj.cjs → item-option-picker-DMLk4Uq_.cjs} +1 -1
- package/components/{item-option-picker-DkAENDES.js → item-option-picker-mU6X3bbk.js} +1 -1
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -1
- package/components/{item-option-position-picker-DX7lLZKO.js → item-option-position-picker-B4AuC_73.js} +1 -1
- package/components/{item-option-position-picker-Ba7cBvlL.cjs → item-option-position-picker-BTH6KixE.cjs} +1 -1
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -1
- package/components/{item-option-positions-number-field-Bqfg0MJm.js → item-option-positions-number-field-BTFGhhrb.js} +1 -1
- package/components/{item-option-positions-number-field-BQ8gFOAn.cjs → item-option-positions-number-field-Dz0mpPSk.cjs} +1 -1
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -1
- package/components/{item-option-radio-button-group-Bk7VQlpx.js → item-option-radio-button-group-CmYFScry.js} +1 -1
- package/components/{item-option-radio-button-group-2hX-E2WV.cjs → item-option-radio-button-group-EBLjtMVd.cjs} +1 -1
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/{item-option-slider-BKtJfL3D.js → item-option-slider-C7RfBary.js} +1 -1
- package/components/{item-option-slider-Kz2eFBql.cjs → item-option-slider-DRXTGW9W.cjs} +1 -1
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/{item-option-switch-BUteU1mc.cjs → item-option-switch-D-FbXXRl.cjs} +1 -1
- package/components/{item-option-switch-cGWccE79.js → item-option-switch-D-MY6Uqv.js} +1 -1
- package/components/{item-option-DpLdospV.cjs → item-option-t_LsqjoR.cjs} +1 -1
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -1
- package/components/{item-option-text-field-Dy8pqVKJ.js → item-option-text-field-BR2V4ro2.js} +1 -1
- package/components/{item-option-text-field-BC9fR-yW.cjs → item-option-text-field-Cn-9lblu.cjs} +1 -1
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +21 -21
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -1
- package/components/item-slot-drop/item-slot-drop.d.ts +2 -0
- package/components/item-slot-drop-7v-n-e1y.cjs +93 -0
- package/components/{item-slot-drop-CwZT8bTP.js → item-slot-drop-Db-tVAud.js} +69 -60
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -1
- package/components/item-slot-drop-panel/item-slot-drop-panel.d.ts +2 -0
- package/components/{item-slot-drop-panel-o5UdVrY_.js → item-slot-drop-panel-D-g4H1Rp.js} +117 -107
- package/components/item-slot-drop-panel-D2_1yWHs.cjs +58 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/item-slot-picker/item-slot-picker.d.ts +5 -0
- package/components/item-slot-picker-9afJORSK.cjs +160 -0
- package/components/{item-slot-picker-ilmmb0-8.js → item-slot-picker-BHtj0dRB.js} +109 -101
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -1
- package/components/item-slot-picker-panel/item-slot-picker-panel.d.ts +21 -1
- package/components/{item-slot-picker-panel-fJqEmxeD.js → item-slot-picker-panel-CIxGfaz3.js} +111 -69
- package/components/item-slot-picker-panel-CeOtdtMc.cjs +86 -0
- package/components/{kpi-positioning.config-mQuxf1ke.js → kpi-positioning.config-DDTfIZ_h.js} +1 -1
- package/components/{kpi-positioning.config-DIYWUwID.cjs → kpi-positioning.config-t9SxIqga.cjs} +1 -1
- package/components/legend-options.i18n-0hyeyskh.js +78 -0
- package/components/legend-options.i18n-CUZeW5rR.cjs +20 -0
- package/components/{line-chart-options.config-Opoz2jPk.js → line-chart-options.config-BdhyECMS.js} +2 -2
- package/components/{line-chart-options.config-DOGbeJhy.cjs → line-chart-options.config-CVtYVap1.cjs} +1 -1
- package/components/{line-chart-positioning.config-DqjrWmxJ.js → line-chart-positioning.config-BZoKaJVO.js} +1 -1
- package/components/{line-chart-positioning.config-DK9PycZ_.cjs → line-chart-positioning.config-DfTMlBBL.cjs} +1 -1
- package/components/{localized-mixin-EoNvtTBG.cjs → localized-mixin-BQowFGQK.cjs} +1 -1
- package/components/{localized-mixin-FPDNaZhb.js → localized-mixin-BdXrQldH.js} +1 -1
- package/components/{marker-map-positioning.config-BB51kE8O.cjs → marker-map-positioning.config-BsPUa8Ui.cjs} +1 -1
- package/components/{marker-map-positioning.config-CA08hZcp.js → marker-map-positioning.config-BtuIUPHT.js} +1 -1
- package/components/nl-B4gqLp1F.cjs +20 -0
- package/components/{nl-DNWGcGqO.js → nl-Chzh7kM2.js} +19 -4
- package/components/{ohlc-chart-options.config-CvlHm6hy.cjs → ohlc-chart-options.config-BQJWhXv7.cjs} +1 -1
- package/components/{ohlc-chart-options.config-C-TCUtOt.js → ohlc-chart-options.config-MYqetK62.js} +3 -3
- package/components/{ohlc-chart-positioning.config-CDL2vGsl.cjs → ohlc-chart-positioning.config-D1X1U96F.cjs} +1 -1
- package/components/{ohlc-chart-positioning.config-BqFHD1oj.js → ohlc-chart-positioning.config-Ny3U8zgV.js} +1 -1
- package/components/{parallel-coordinates-plot-options.config-UHrCS9q5.cjs → parallel-coordinates-plot-options.config-B4v6BtAz.cjs} +1 -1
- package/components/{parallel-coordinates-plot-options.config-C3HTFBTl.js → parallel-coordinates-plot-options.config-CN4p7QDD.js} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-Cc-ooVxV.cjs → parallel-coordinates-plot-positioning.config-BI6JMiBT.cjs} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-D6IuAk_K.js → parallel-coordinates-plot-positioning.config-Curf1XoL.js} +1 -1
- package/components/{period-over-period-condition.const-C1NZ9Bkp.cjs → period-over-period-condition.const-BOI8gxO1.cjs} +1 -1
- package/components/{period-over-period-condition.const-AE_2h-9O.js → period-over-period-condition.const-C9cn5m-o.js} +1 -2
- package/components/period-over-period-context-CeZHXSs0.js +84 -0
- package/components/period-over-period-context-Cx4pRKBn.cjs +20 -0
- package/components/{pivot-table-options.config-5pYvqc35.cjs → pivot-table-options.config-1DApg-wg.cjs} +1 -1
- package/components/{pivot-table-options.config-BlrguysB.js → pivot-table-options.config-DhzyxHTP.js} +1 -1
- package/components/{pivot-table-positioning.config-DDwXH70O.js → pivot-table-positioning.config-BoN7P8bs.js} +1 -1
- package/components/{pivot-table-positioning.config-DvwKNjoD.cjs → pivot-table-positioning.config-BsyGrzvX.cjs} +1 -1
- package/components/{pyramid-chart-options.config-CAC6cMmt.cjs → pyramid-chart-options.config-CNOOucJE.cjs} +1 -1
- package/components/{pyramid-chart-options.config-0Qf1naIx.js → pyramid-chart-options.config-DVBuswjg.js} +1 -1
- package/components/{pyramid-chart-positioning.config-DWou2jnm.js → pyramid-chart-positioning.config-D9Z40IzT.js} +1 -1
- package/components/{pyramid-chart-positioning.config-10BYkgv8.cjs → pyramid-chart-positioning.config-DdjlJjFb.cjs} +1 -1
- package/components/{radar-chart-positioning.config-B0O8vn-B.js → radar-chart-positioning.config-C16aywvy.js} +1 -1
- package/components/{radar-chart-positioning.config-Dg41uYWY.cjs → radar-chart-positioning.config-DARMkDIv.cjs} +1 -1
- package/components/{route-map-positioning.config-C1iUodTh.js → route-map-positioning.config-BmuPL5DK.js} +1 -1
- package/components/{route-map-positioning.config-DlM6xJTP.cjs → route-map-positioning.config-CTtpis1h.cjs} +1 -1
- package/components/{sankey-diagram-options.config-Y6jRK3wk.js → sankey-diagram-options.config-B86iq8pI.js} +1 -1
- package/components/{sankey-diagram-options.config-B8aHKfFt.cjs → sankey-diagram-options.config-mIgABANw.cjs} +1 -1
- package/components/{sankey-diagram-positioning.config-5EXNleL5.js → sankey-diagram-positioning.config-BhvJe1IX.js} +1 -1
- package/components/{sankey-diagram-positioning.config-BSu02GJ1.cjs → sankey-diagram-positioning.config-aLwXoVGA.cjs} +1 -1
- package/components/{scatter-plot-options.config-DhOGahRc.cjs → scatter-plot-options.config-BZVF4r3f.cjs} +1 -1
- package/components/{scatter-plot-options.config-DvGofFzR.js → scatter-plot-options.config-ChqZzslY.js} +2 -2
- package/components/{scatter-plot-positioning.config-CuyJUmiV.cjs → scatter-plot-positioning.config-CYy1jfz5.cjs} +1 -1
- package/components/{scatter-plot-positioning.config-nDbkUUqa.js → scatter-plot-positioning.config-twVc5wWl.js} +1 -1
- package/components/{set-locale-m257lVi3.js → set-locale-BeAF7qn4.js} +4 -4
- package/components/{set-locale-BkMmLcm6.cjs → set-locale-DvJ1yA4S.cjs} +1 -1
- package/components/{slicer-filter-positioning.config-BT5aNPHe.js → slicer-filter-positioning.config-WofHaYJx.js} +1 -1
- package/components/{slicer-filter-positioning.config-D7ZLoaGu.cjs → slicer-filter-positioning.config-_frD2LDr.cjs} +1 -1
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/slot-menu/slot-menu.d.ts +6 -0
- package/components/slot-menu-B-7MzAd6.cjs +71 -0
- package/components/{slot-menu-BB_nJWZx.js → slot-menu-DhGC4yoA.js} +88 -97
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/{slot-menu-list-C2nLODML.cjs → slot-menu-list-CiJK2fNu.cjs} +1 -1
- package/components/{slot-menu-list-3QkrOWgG.js → slot-menu-list-SoDeiZE1.js} +1 -1
- package/components/sort-options.config-CiPFyoxx.cjs +20 -0
- package/components/sort-options.config-CiZo1AEh.js +104 -0
- package/components/{speedometer-chart-positioning.config-CO1MtdU3.js → speedometer-chart-positioning.config-BLXUOOc_.js} +1 -1
- package/components/{speedometer-chart-positioning.config-BtDD3TiP.cjs → speedometer-chart-positioning.config-CkTqU3qn.cjs} +1 -1
- package/components/{spike-map-positioning.config-BhKVutm1.cjs → spike-map-positioning.config-DmLlz8ZD.cjs} +1 -1
- package/components/{spike-map-positioning.config-CQkcCdHD.js → spike-map-positioning.config-pgedE0nh.js} +1 -1
- package/components/{strip-plot-positioning.config-DEyOR-yS.js → strip-plot-positioning.config-B4sVlI82.js} +1 -1
- package/components/{strip-plot-positioning.config-CEYgtT13.cjs → strip-plot-positioning.config-CtctjJwh.cjs} +1 -1
- package/components/sunburst-chart-options.config-DNkL0pN4.cjs +20 -0
- package/components/{sunburst-chart-options.config-DVETeZFc.js → sunburst-chart-options.config-Zg42LwmT.js} +26 -83
- package/components/{sunburst-chart-options.de-DO65RQI_.cjs → sunburst-chart-options.de-BIJ2Njvn.cjs} +1 -1
- package/components/{sunburst-chart-options.de-B0mIITIx.js → sunburst-chart-options.de-BaLziTTh.js} +2 -2
- package/components/{sunburst-chart-options.en-C3IkkUBW.cjs → sunburst-chart-options.en-C2P4VIQq.cjs} +1 -1
- package/components/{sunburst-chart-options.en-LoUPN34r.js → sunburst-chart-options.en-CxWuNug0.js} +2 -2
- package/components/{sunburst-chart-options.es-BV_4fN10.cjs → sunburst-chart-options.es-eGoOC0h2.cjs} +1 -1
- package/components/{sunburst-chart-options.es-DBje7CMN.js → sunburst-chart-options.es-nqpK13rB.js} +2 -2
- package/components/{sunburst-chart-options.fr-Cnbpsj6t.js → sunburst-chart-options.fr-Dtfoz1Z-.js} +2 -2
- package/components/{sunburst-chart-options.fr-DO7-oeNe.cjs → sunburst-chart-options.fr-wdaTbc-I.cjs} +1 -1
- package/components/{sunburst-chart-options.nl-DsecjcfE.cjs → sunburst-chart-options.nl-2U3YQ6aP.cjs} +1 -1
- package/components/{sunburst-chart-options.nl-CluctKYY.js → sunburst-chart-options.nl-BljrFLha.js} +2 -2
- package/components/{sunburst-chart-positioning.config-DP-ifsmn.js → sunburst-chart-positioning.config-BJpphNBF.js} +1 -1
- package/components/{sunburst-chart-positioning.config-DNtHXpHg.cjs → sunburst-chart-positioning.config-BaQsxbr9.cjs} +1 -1
- package/components/{symbol-map-positioning.config-CoLDPgYM.cjs → symbol-map-positioning.config-657GZ7GZ.cjs} +1 -1
- package/components/{symbol-map-positioning.config-Nj7pDOAu.js → symbol-map-positioning.config-DEMmnp7J.js} +1 -1
- package/components/theme-options.config-CnSIfTf6.js +47 -0
- package/components/theme-options.config-DZJos9OK.cjs +20 -0
- package/components/theme-options.i18n-7V690gi-.cjs +20 -0
- package/components/theme-options.i18n-DtQoYxRz.js +43 -0
- package/components/{treemap-chart-options.config-DLEY6YuI.cjs → treemap-chart-options.config-B-bY4pOq.cjs} +1 -1
- package/components/{treemap-chart-options.config-DsqsX9So.js → treemap-chart-options.config-BYbW8htL.js} +1 -1
- package/components/{treemap-chart-positioning.config-B_R_cmFs.js → treemap-chart-positioning.config-CLKsuS0b.js} +1 -1
- package/components/{treemap-chart-positioning.config-BVOqj2V1.cjs → treemap-chart-positioning.config-DnY0Gnz7.cjs} +1 -1
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/{utils-DIKmx9O1.cjs → utils-BGtDiw5k.cjs} +1 -1
- package/components/{utils-DS6Pthr4.js → utils-ZVgZ4EFf.js} +1 -1
- package/components/utils.cjs +1 -1
- package/components/utils.js +8 -8
- package/components/{venn-diagram-positioning.config-DOsSkJYl.js → venn-diagram-positioning.config-BjiidwmG.js} +1 -1
- package/components/{venn-diagram-positioning.config-8JCVpYOt.cjs → venn-diagram-positioning.config-OBLHpLAK.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-DiyF596X.cjs → wordcloud-chart-options.config-COTlsOrG.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-UAl2hfU7.js → wordcloud-chart-options.config-vKHxHgLh.js} +1 -1
- package/components/{wordcloud-chart-positioning.config-DSVw_z7Y.js → wordcloud-chart-positioning.config-68AyKLI2.js} +1 -1
- package/components/{wordcloud-chart-positioning.config-D13iPEEg.cjs → wordcloud-chart-positioning.config-B_pohQK5.cjs} +1 -1
- package/custom-elements.json +3411 -2436
- package/grid-core/item-grid-base.d.ts +5 -4
- package/package.json +3 -3
- package/react/components/ai-chat.component.ts +1 -1
- package/react/esm/components/ai-chat.component.d.ts +1 -1
- package/react/esm/components/ai-chat.component.js +1 -1
- package/react/package.json +2 -2
- package/standalone/add-to-dashboard.js +1 -1
- package/standalone/chunks/advanced-options.i18n-BDqAAkCh.js +2 -0
- package/standalone/chunks/{area-chart-options.config-BMvUma_d.js → area-chart-options.config-MSCX7GCC.js} +1 -1
- package/standalone/chunks/{bar-chart-options.config-BpHqXBFq.js → bar-chart-options.config-C-kawBg1.js} +1 -1
- package/standalone/chunks/{box-plot-options.config-DDWb_KmV.js → box-plot-options.config-EeKqXIKW.js} +1 -1
- package/standalone/chunks/{bubble-chart-options.config-BKPTymfC.js → bubble-chart-options.config-BEP0haal.js} +1 -1
- package/standalone/chunks/{chart-helpers-CR-EUEPf.js → chart-helpers-CKlLA7d7.js} +2 -2
- package/standalone/chunks/{choropleth-map-options.config-CDMjKnJD.js → choropleth-map-options.config-C9iAp9Kx.js} +1 -1
- package/standalone/chunks/{circle-pack-chart-options.config-CjDkh4DG.js → circle-pack-chart-options.config-Ch67WcjC.js} +1 -1
- package/standalone/chunks/{color-range-utils-BVyHBRiq.js → color-range-utils-D2amn7jf.js} +1 -1
- package/standalone/chunks/{column-chart-options.config-YIe6cMV5.js → column-chart-options.config-kXBPyFRG.js} +1 -1
- package/standalone/chunks/{combination-chart-options.config-Bf7cNmpc.js → combination-chart-options.config-CvVDQmwB.js} +1 -1
- package/standalone/chunks/data-broker-CUCszU0S.js +2 -0
- package/standalone/chunks/de-CBvR-tEX.js +2 -0
- package/standalone/chunks/{display-settings-binning-BeLLxd3i.js → display-settings-binning-5gaYqJVT.js} +1 -1
- package/standalone/chunks/display-settings-datetime-DhmVs5jK.js +199 -0
- package/standalone/chunks/{display-settings-grand-totals-BuhpQKJ6.js → display-settings-grand-totals-B83suS2N.js} +1 -1
- package/standalone/chunks/{display-settings-numeric-m30IYI7I.js → display-settings-numeric-CnKNRgjc.js} +1 -1
- package/standalone/chunks/display-settings-period-over-period-Di_2_DDX.js +133 -0
- package/standalone/chunks/donut-chart-options.config-re9dbce1.js +2 -0
- package/standalone/chunks/donut-chart-options.de-C1yjMc7p.js +2 -0
- package/standalone/chunks/donut-chart-options.en-CJSA_qMs.js +2 -0
- package/standalone/chunks/donut-chart-options.es-9wl-kU6W.js +2 -0
- package/standalone/chunks/donut-chart-options.fr-FewVJ9oP.js +2 -0
- package/standalone/chunks/donut-chart-options.nl-BA31OsN3.js +2 -0
- package/standalone/chunks/{embed-Bv1ps-EM.js → embed-BL4OOcIV.js} +1 -1
- package/standalone/chunks/en-Cu0ra3lJ.js +2 -0
- package/standalone/chunks/en-GB-B575630r.js +2 -0
- package/standalone/chunks/en-US-Cu0ra3lJ.js +2 -0
- package/standalone/chunks/es-CJnRT1YI.js +2 -0
- package/standalone/chunks/{filters-CxgBXUF1.js → filters-Dk7oDe_z.js} +75 -73
- package/standalone/chunks/{formula-codemirror-Cq94j3-f.js → formula-codemirror-Dn_LEpVx.js} +8 -8
- package/standalone/chunks/fr-DqE0NP1j.js +2 -0
- package/standalone/chunks/funnel-chart-options.config-CW0RAyLR.js +2 -0
- package/standalone/chunks/{funnel-chart-options.de-u5OrFyng.js → funnel-chart-options.de-D2UImO-s.js} +1 -1
- package/standalone/chunks/{funnel-chart-options.en-BEGSBn35.js → funnel-chart-options.en-BJr4frpT.js} +1 -1
- package/standalone/chunks/{funnel-chart-options.es-CxWkEgMs.js → funnel-chart-options.es-DkAYtLaS.js} +1 -1
- package/standalone/chunks/{funnel-chart-options.fr-DZmmgK2t.js → funnel-chart-options.fr-BD3VKHzw.js} +1 -1
- package/standalone/chunks/{funnel-chart-options.nl-C6BitaEJ.js → funnel-chart-options.nl-CubJLSq7.js} +1 -1
- package/standalone/chunks/{guidelines-options.config-CS29_J9M.js → guidelines-options.config-CrJ_haaO.js} +1 -1
- package/standalone/chunks/{heat-map-options.config-DDQMD38W.js → heat-map-options.config-_1TkgBVb.js} +1 -1
- package/standalone/chunks/heat-table-options.config-tgVKW_7X.js +2 -0
- package/standalone/chunks/interactivity-options.config-CG_ZbLS5.js +2 -0
- package/standalone/chunks/interactivity-options.i18n-V1RAn6Ue.js +2 -0
- package/standalone/chunks/{is-same-option-value-7kXNF4st.js → is-same-option-value-CfxEd5pG.js} +1 -1
- package/standalone/chunks/{item-option-action-button-group-BoyqF9vt.js → item-option-action-button-group-C1ke6Jb3.js} +1 -1
- package/standalone/chunks/{item-option-base-CBcDT8MX.js → item-option-base-DSAq8pgm.js} +1 -1
- package/standalone/chunks/{item-option-color-palette-picker-C9PGAv4V.js → item-option-color-palette-picker-waW4sAIj.js} +1 -1
- package/standalone/chunks/{item-option-color-picker-D4fVJlqF.js → item-option-color-picker-9e_3aSen.js} +1 -1
- package/standalone/chunks/{item-option-color-range-BlAdTguE.js → item-option-color-range-CWmg4Tdk.js} +1 -1
- package/standalone/chunks/{item-option-guidelines-DMsYsHDu.js → item-option-guidelines-BnLLvaFI.js} +1 -1
- package/standalone/chunks/{item-option-multi-language-field-NUbm1drg.js → item-option-multi-language-field-BN9u0rGs.js} +1 -1
- package/standalone/chunks/{item-option-number-field-DRp7kbHL.js → item-option-number-field-D2gvKQN_.js} +1 -1
- package/standalone/chunks/{item-option-panel-cXrRclzM.js → item-option-panel-BWQpttWc.js} +2 -2
- package/standalone/chunks/{item-option-picker-Ba09L4Cs.js → item-option-picker-BElgjysX.js} +1 -1
- package/standalone/chunks/{item-option-position-picker-GEGTnhjw.js → item-option-position-picker-B7FGJPTv.js} +1 -1
- package/standalone/chunks/{item-option-positions-number-field-n44s1k5v.js → item-option-positions-number-field-CyCWqMby.js} +1 -1
- package/standalone/chunks/{item-option-radio-button-group-3s_b1NvR.js → item-option-radio-button-group-DjMjG9W3.js} +1 -1
- package/standalone/chunks/{item-option-slider-DtY65Gxk.js → item-option-slider-CJrobai6.js} +1 -1
- package/standalone/chunks/{item-option-switch-4sJaI0mx.js → item-option-switch-DTK0eRzd.js} +1 -1
- package/standalone/chunks/{item-option-text-field-Bt6Lj6kh.js → item-option-text-field-B4-wMWpQ.js} +1 -1
- package/standalone/chunks/item-slot-picker-panel-BZsTEDns.js +438 -0
- package/standalone/chunks/legend-options.i18n-Dr6XmdZs.js +2 -0
- package/standalone/chunks/line-chart-options.config-VgcDr1j6.js +2 -0
- package/standalone/chunks/load-data-fields-for-datasets-Df6IGwne.js +25 -0
- package/standalone/chunks/localize-DIWFho02.js +2 -0
- package/standalone/chunks/{localized-decorator-DosMCCQo.js → localized-decorator-C2ufmkVS.js} +1 -1
- package/standalone/chunks/{localized-mixin-BWJj88bd.js → localized-mixin-CLvEZO1g.js} +1 -1
- package/standalone/chunks/{luzmo-icon-markup-ByaNI6dg.js → luzmo-icon-markup-C1Wzxt4b.js} +1 -1
- package/standalone/chunks/nl-DBD8_AIO.js +2 -0
- package/standalone/chunks/{ohlc-chart-options.config-kyYOgBtR.js → ohlc-chart-options.config-DoFcORQY.js} +1 -1
- package/standalone/chunks/{option-interaction-controller-BuwRr21c.js → option-interaction-controller-BfHSkomY.js} +1 -1
- package/standalone/chunks/{parallel-coordinates-plot-options.config-BcIYCRdF.js → parallel-coordinates-plot-options.config-JmTkwzbf.js} +1 -1
- package/standalone/chunks/{pivot-table-options.config-BZpId1ju.js → pivot-table-options.config-mk1a9meE.js} +1 -1
- package/standalone/chunks/{pyramid-chart-options.config-xYIVE_ib.js → pyramid-chart-options.config-DuCSp-ss.js} +1 -1
- package/standalone/chunks/{route-map-options.config-CGBkHnhM.js → route-map-options.config-B73cNABj.js} +1 -1
- package/standalone/chunks/{sankey-diagram-options.config-Curc2-If.js → sankey-diagram-options.config-BsFxRYGh.js} +1 -1
- package/standalone/chunks/scatter-plot-options.config-DiO2UduI.js +2 -0
- package/standalone/chunks/sort-options.config-fFAfPcSI.js +2 -0
- package/standalone/chunks/{spike-map-options.config-CSenlJ_F.js → spike-map-options.config-BpRwiS7U.js} +1 -1
- package/standalone/chunks/sunburst-chart-options.config-TCXdodS8.js +2 -0
- package/standalone/chunks/sunburst-chart-options.de-DabJH9rY.js +2 -0
- package/standalone/chunks/sunburst-chart-options.en-BNJlsmSV.js +2 -0
- package/standalone/chunks/sunburst-chart-options.es-xn2E_v17.js +2 -0
- package/standalone/chunks/sunburst-chart-options.fr-DQR4oaiY.js +2 -0
- package/standalone/chunks/sunburst-chart-options.nl-BZGlfl67.js +2 -0
- package/standalone/chunks/{task-BlhDPTQS.js → task-B6C9QMNJ.js} +1 -1
- package/standalone/chunks/theme-options.config-W0JNb9nG.js +2 -0
- package/standalone/chunks/theme-options.i18n-DtI0eOJ4.js +2 -0
- package/standalone/chunks/{treemap-chart-options.config-DxkumoYq.js → treemap-chart-options.config-CLpDBIB5.js} +1 -1
- package/standalone/chunks/{wordcloud-chart-options.config-b-ibtRWp.js → wordcloud-chart-options.config-Bjw10jRd.js} +1 -1
- package/standalone/interactive-viz-item.js +54 -53
- package/standalone/item-grid.js +1 -1
- package/standalone/manifest.json +92 -87
- package/types/ai-chat.types.d.ts +60 -0
- package/types.d.ts +1 -1
- package/utils/filters/expressions.d.ts +2 -0
- package/utils/slot-state/slot-store.d.ts +3 -8
- package/utils/time/period-over-period-condition.const.d.ts +0 -1
- package/utils/time/period-over-period-context.d.ts +75 -0
- package/utils/time/tests/period-over-period-context.test.d.ts +1 -0
- package/components/ai-chat-BNcSadGI.cjs +0 -393
- package/components/chart-helpers-fMnqHRzC.cjs +0 -20
- package/components/de-KvAhLsm8.cjs +0 -20
- package/components/display-settings-DaZ3CiKB.cjs +0 -143
- package/components/display-settings-period-over-period-B8Ne3lq-.cjs +0 -227
- package/components/donut-chart-options.config-DX-spmaZ.cjs +0 -20
- package/components/es-DVISHTAz.cjs +0 -20
- package/components/filter-expression-picker-Cc3xfiGT.js +0 -432
- package/components/filter-expression-picker-DDSI9bYq.cjs +0 -40
- package/components/filter-item-DQNbp7Qn.cjs +0 -111
- package/components/filter-value-picker-datetime-BVDQ-og5.cjs +0 -51
- package/components/filters-BPbPFOu5.cjs +0 -187
- package/components/fr-BCxcMVQV.cjs +0 -20
- package/components/funnel-chart-options.config-CKp94nx7.cjs +0 -20
- package/components/heat-table-options.config-D21xtaIk.cjs +0 -20
- package/components/interactive-viz-item-ojdH1uk0.cjs +0 -268
- package/components/interactivity-options.config-Bzk2L-qh.cjs +0 -20
- package/components/interactivity-options.config-MuEP5vSt.js +0 -72
- package/components/interactivity-options.i18n-BsYv4Rh9.cjs +0 -20
- package/components/item-slot-drop-DLzi4Dik.cjs +0 -91
- package/components/item-slot-drop-panel-Oh8zdKJH.cjs +0 -57
- package/components/item-slot-picker-O9HKr3mv.cjs +0 -158
- package/components/item-slot-picker-panel-BhhN54IM.cjs +0 -82
- package/components/nl-XotE1MQq.cjs +0 -20
- package/components/slot-menu-C8p0nkVS.cjs +0 -71
- package/components/sunburst-chart-options.config-CZdd6qx0.cjs +0 -20
- package/standalone/chunks/data-broker-DXDyIrj_.js +0 -2
- package/standalone/chunks/de-BkB0q1Eg.js +0 -2
- package/standalone/chunks/display-settings-datetime-BkeiKIVV.js +0 -199
- package/standalone/chunks/display-settings-period-over-period-CqDlOSRn.js +0 -209
- package/standalone/chunks/donut-chart-options.config-DWpePR5V.js +0 -2
- package/standalone/chunks/donut-chart-options.de-IKGJRoDL.js +0 -2
- package/standalone/chunks/donut-chart-options.en-O2IK3YiS.js +0 -2
- package/standalone/chunks/donut-chart-options.es-gKAHuFAU.js +0 -2
- package/standalone/chunks/donut-chart-options.fr-Q-uMrtQG.js +0 -2
- package/standalone/chunks/donut-chart-options.nl-B6v6jK4l.js +0 -2
- package/standalone/chunks/en-63f7j4v7.js +0 -2
- package/standalone/chunks/en-GB-QAmXQf8W.js +0 -2
- package/standalone/chunks/en-US-63f7j4v7.js +0 -2
- package/standalone/chunks/es-Bo0jStZn.js +0 -2
- package/standalone/chunks/fr-Co_qVhhV.js +0 -2
- package/standalone/chunks/funnel-chart-options.config-S1yxc6IG.js +0 -2
- package/standalone/chunks/heat-table-options.config-B4K0Ygug.js +0 -2
- package/standalone/chunks/interactivity-options.config-09eXx6k6.js +0 -2
- package/standalone/chunks/interactivity-options.i18n-BLDCmZkC.js +0 -2
- package/standalone/chunks/item-slot-picker-panel-BOSVFBIy.js +0 -429
- package/standalone/chunks/line-chart-options.config--_LXaPbB.js +0 -2
- package/standalone/chunks/load-data-fields-for-datasets-CDlut-6S.js +0 -25
- package/standalone/chunks/localize-DXRmGRe-.js +0 -2
- package/standalone/chunks/nl-CQz2jrVx.js +0 -2
- package/standalone/chunks/scatter-plot-options.config-DG9Ki-mt.js +0 -2
- package/standalone/chunks/sunburst-chart-options.config-DOBSe3i5.js +0 -2
- package/standalone/chunks/sunburst-chart-options.de-D3iq4Q-m.js +0 -2
- package/standalone/chunks/sunburst-chart-options.en-BUJ_Pr9C.js +0 -2
- package/standalone/chunks/sunburst-chart-options.es-stKrKGz2.js +0 -2
- package/standalone/chunks/sunburst-chart-options.fr-RkBtlMNp.js +0 -2
- package/standalone/chunks/sunburst-chart-options.nl-BUeDNot_.js +0 -2
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2026 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
|
7
|
-
* This license allows users with a current active Luzmo account
|
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
-
*
|
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
-
* SOFTWARE.
|
|
19
|
-
* */
|
|
20
|
-
require("./tokens-BWMfo_w4.cjs");const e=require("./decorate-DCJt-2rt.cjs"),t=require("./localized-mixin-EoNvtTBG.cjs"),n=require("./data-broker-DCghLjhq.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-DDSI9bYq.cjs");require("./data-fields-select-BOqmoE7n.cjs");const c=require("./filter-parameter-picker-DjQVFIfg.cjs");require("./filter-value-picker-CMNxLzj7.cjs");let l=require("@luzmo/icons");require("@luzmo/lucero/icon"),require("@luzmo/lucero/tooltip");let u=require("lit"),d=require("lit/decorators.js"),f=require("@lit/localize");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,31)}…`,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;if(s>0){let e=D(t.contentLanguage,c,`unit`);u=(0,f.msg)(f.str`${e}, and ${s} more`,{desc:`Filter values after the first few shown in a read-only sentence, e.g. "Dresses, Shoes, Shorts, and 1 more"`})}else u=D(t.contentLanguage,r.map(e=>e.label),`conjunction`);return{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);c?c.ids=[...new Set([...c.ids,...o])]: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;else{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;else{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,i=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]);return u.html`<span class="filter-item-text" part="filter-item-text">${i}</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 $}});
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2026 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
|
7
|
-
* This license allows users with a current active Luzmo account
|
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
-
*
|
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
-
* SOFTWARE.
|
|
19
|
-
* */
|
|
20
|
-
require("./tokens-BWMfo_w4.cjs");const e=require("./decorate-DCJt-2rt.cjs"),t=require("./localized-mixin-EoNvtTBG.cjs"),n=require("./periods.const-Db0nXrwr.cjs");let r=require("lit"),i=require("lit/decorators.js"),a=require("@lit/localize");require("@luzmo/lucero/number-field"),require("@luzmo/lucero/picker"),require("@luzmo/lucero/text-field");let o=require("@luzmo/lucero/utils");require("@luzmo/lucero/date-time-picker");var s=`:host{gap:var(--luzmo-filter-value-picker-datetime-gap,var(--filter-value-picker-datetime-gap));flex-flow:row;width:100%;min-width:0;max-width:100%;display:flex}luzmo-date-time-picker{--luzmo-date-time-picker-min-width:var(--luzmo-filter-value-picker-datetime-control-min-width,var(--filter-value-picker-datetime-control-min-width));flex:auto;min-width:0;max-width:100%}luzmo-number-field{flex:0 1 var(--luzmo-filter-value-picker-datetime-quantity-width,var(--filter-value-picker-datetime-quantity-width));min-width:0;max-width:100%}luzmo-picker{flex:1 1 var(--luzmo-filter-value-picker-datetime-control-min-width,var(--filter-value-picker-datetime-control-min-width));min-width:0;max-width:100%}:host{--filter-value-picker-datetime-gap:var(--luzmo-spacing-3);--filter-value-picker-datetime-control-min-width:5rem;--filter-value-picker-datetime-quantity-width:4.5rem}:host([size=s]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-2)}:host([size=m]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-3)}:host([size=l]){--filter-value-picker-datetime-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1))}:host([size=xl]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-4)}`,c=class extends t.t((0,o.SizedMixin)(o.LuzmoElement,{validSizes:Object.values(o.ElementSizes)})){constructor(...e){super(...e),this.contentLanguage=`en`,this.quiet=!1,this.readonly=!1,this.disabled=!1}static get styles(){return[(0,r.unsafeCSS)(s)]}willUpdate(e){super.willUpdate(e),e.get(`filter`)&&([`last_now`,`last_available`,`next_now`,`more_than_ago`,`or_more_ago`].includes(this.filter?.expression)?this.filter.parameters[1]={quantity:this.filter?.parameters?.[1]?.quantity??1,unit:this.filter?.parameters?.[1]?.unit??1}:[`last_completed`,`next_full`,`to_date`].includes(this.filter?.expression)?this.filter.parameters[1]={unit:this.filter?.parameters?.[1]?.unit??1}:this.filter.parameters[1]=typeof this.filter.parameters[1]==`string`?this.filter.parameters[1]:new Date().toISOString())}_sendChangeEvent(){this.filter.parameters=[{...this.filter?.parameters?.[0]},this._value],this.dispatchEvent(new CustomEvent(`luzmo-filter-value-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this._value}}))}setDate(e){this.readonly||this.disabled||(this._value=e.detail.value,this._value!==this.filter?.parameters?.[1]&&this._sendChangeEvent())}setUnit(e){if(this.readonly||this.disabled)return;let t=n.n.find(t=>t.key===e?.target?.value)?.level;this.filter?.parameters?.[1]?.unit!==t&&(this._value={unit:t??1,quantity:this.filter?.parameters?.[1]?.quantity??1},this._sendChangeEvent())}setQuantity(e){if(this.readonly||this.disabled)return;let t=e?.target?.value;this.filter?.parameters?.[1]?.quantity!==t&&(this._value={quantity:t,unit:this.filter?.parameters?.[1]?.unit??1},this._sendChangeEvent())}renderDatePicker(){let e=`second`;return this.filter?.parameters?.[0]?.lowestLevel>4&&(e=this.filter?.parameters?.[0]?.lowestLevel===5?`day`:this.filter?.parameters?.[0]?.lowestLevel===6?`hour`:this.filter?.parameters?.[0]?.lowestLevel===7?`minute`:`second`),r.html`<luzmo-date-time-picker
|
|
21
|
-
aria-label=${(0,a.msg)(`Filter date`,{desc:`Aria label for filter date picker`})}
|
|
22
|
-
.size=${this.size}
|
|
23
|
-
.quiet=${this.quiet}
|
|
24
|
-
.readonly=${this.readonly}
|
|
25
|
-
.disabled=${this.disabled}
|
|
26
|
-
.precision=${e}
|
|
27
|
-
.timeZone=${this.timeZone}
|
|
28
|
-
@change=${this.setDate}
|
|
29
|
-
.value=${this.filter?.parameters?.[1]}
|
|
30
|
-
></luzmo-date-time-picker>`}renderQuantityField(){return r.html`<luzmo-number-field
|
|
31
|
-
label=${(0,a.msg)(`Quantity`,{desc:`Label for quantity number field`})}
|
|
32
|
-
.size=${this.size}
|
|
33
|
-
.quiet=${this.quiet}
|
|
34
|
-
.readonly=${this.readonly}
|
|
35
|
-
.disabled=${this.disabled}
|
|
36
|
-
.value=${this.filter?.parameters?.[1]?.quantity}
|
|
37
|
-
@input=${this.setQuantity}
|
|
38
|
-
@change=${this.setQuantity}
|
|
39
|
-
></luzmo-number-field>`}renderUnitPicker(){let e=n.n.map(e=>r.html`<luzmo-menu-item .value=${e.key}>
|
|
40
|
-
${e.i18n()}
|
|
41
|
-
</luzmo-menu-item>`),t=n.n.find(e=>e.level===this.filter?.parameters?.[1]?.unit)?.key??n.n?.[0]?.key;return r.html`<luzmo-picker
|
|
42
|
-
.label=${(0,a.msg)(`Time unit`,{desc:`Aria label for time unit picker`})}
|
|
43
|
-
.size=${this.size}
|
|
44
|
-
.quiet=${this.quiet}
|
|
45
|
-
.readonly=${this.readonly}
|
|
46
|
-
.disabled=${this.disabled}
|
|
47
|
-
.value=${t}
|
|
48
|
-
@change=${this.setUnit}
|
|
49
|
-
variant="highlight"
|
|
50
|
-
>${e}</luzmo-picker
|
|
51
|
-
>`}render(){let e=this.filter?.expression;return[`last_now`,`last_available`,`next_now`,`more_than_ago`,`or_more_ago`].includes(e)?r.html`${this.renderQuantityField()}${this.renderUnitPicker()}`:[`last_completed`,`next_full`].includes(e)?this.renderUnitPicker():this.renderDatePicker()}};e.t([(0,i.property)({type:String,attribute:`content-language`,reflect:!0})],c.prototype,`contentLanguage`,void 0),e.t([(0,i.property)({type:String,attribute:`time-zone`,reflect:!0})],c.prototype,`timeZone`,void 0),e.t([(0,i.property)({type:Object,reflect:!1})],c.prototype,`filter`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],c.prototype,`quiet`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],c.prototype,`readonly`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],c.prototype,`disabled`,void 0),c=e.t([(0,a.localized)()],c),customElements.get(`luzmo-filter-value-picker-datetime`)||customElements.define(`luzmo-filter-value-picker-datetime`,c),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return c}});
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2026 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
|
7
|
-
* This license allows users with a current active Luzmo account
|
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
-
*
|
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
-
* SOFTWARE.
|
|
19
|
-
* */
|
|
20
|
-
require("./tokens-BWMfo_w4.cjs");const e=require("./decorate-DCJt-2rt.cjs"),t=require("./localized-mixin-EoNvtTBG.cjs"),n=require("./data-broker-DCghLjhq.cjs"),r=require("./type-check-BehV9ZL1.cjs"),i=require("./v4-Dyp-SQ1c.cjs"),a=require("./filter-item-DQNbp7Qn.cjs");let o=require("@luzmo/icons");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/button"),require("@luzmo/lucero/icon"),require("@luzmo/lucero/tooltip");let s=require("lit"),c=require("lit/decorators.js"),l=require("@lit/localize"),u=require("lit/directives/repeat.js");require("@luzmo/lucero/progress-circle");let d=require("@luzmo/lucero/utils");var ee=20,f=class extends Error{constructor(e){super(e),this.name=`FilterUnrepresentableError`}},p=new Set([`and`,`or`]),m=[`datasetId`,`dataset_id`,`columnId`,`column_id`,`formulaId`,`formula_id`,`formula`,`columnExpression`,`value`,`ignoredItemIds`];function h(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function g(e){return!h(e)||e.condition!==void 0&&(typeof e.condition!=`string`||!p.has(e.condition.toLowerCase()))?!1:`filters`in e||`subGroups`in e}function _(e){return h(e)&&`expression`in e&&!(`condition`in e)}function v(e){return m.some(t=>t in e)}function te(e,t=!1){let n=[e.columnId!==void 0||e.column_id!==void 0,e.formulaId!==void 0||e.formula_id!==void 0,e.formula!==void 0].filter(Boolean).length;return n===1?!0:n>1?!1:e.columnExpression!==void 0||t&&e.expression!==void 0}function y(e){return!_(e)||typeof e.expression!=`string`||e.expression.length===0||`parameters`in e||typeof e.datasetId!=`string`&&typeof e.dataset_id!=`string`?!1:te(e)}function b(e){return!_(e)||!Array.isArray(e.parameters)?!1:!v(e)}function ne(e){if(!(`parameters`in e))return;let t=m.find(t=>t in e);if(t!==void 0)throw new f(`Filter leaf mixes "parameters" with the clean inline key "${t}".`)}function re(e){throw typeof e.expression!=`string`||e.expression.length===0?new f(`Clean filter leaf is missing a non-empty "expression".`):typeof e.datasetId!=`string`&&typeof e.dataset_id!=`string`?new f(`Clean filter leaf "${e.expression}" is missing a "datasetId".`):new f(`Clean filter leaf "${e.expression}" must name exactly one of "columnId", "formulaId", "formula", or "columnExpression".`)}function x(e){return e===`where`||e===`having`}function S(e){if(e>20)throw new f(`Filter nesting exceeds the maximum depth of 20.`)}function ie(e){if(e==null)return`empty`;if(!Array.isArray(e))return`unknown`;if(e.length===0)return`empty`;let t=!1,n=!1,r=!1,i=(e,a)=>{if(a>20)r=!0;else if(g(e)){x(e.clause)&&(n=!0);let t=[...Array.isArray(e.filters)?e.filters:[],...Array.isArray(e.subGroups)?e.subGroups:[]];for(let e of t)i(e,a+1)}else _(e)?`parameters`in e&&v(e)?r=!0:y(e)?n=!0:b(e)?t=!0:r=!0:r=!0};for(let t of e)i(t,1);return r?`unknown`:n&&t?`mixed`:n?`clean`:t?`canonical`:`empty`}var C=new Set([`? is null`,`? is not null`]),w=new Set([`? = ?`,`? != ?`,`? < ?`,`? <= ?`,`? > ?`,`? >= ?`]),ae=new Set([`? in ?`,`? not in ?`,`? between ?`]),oe={"array[numeric]":`numeric[]`,"array[hierarchy]":`hierarchy[]`,"array[datetime]":`datetime[]`},T=new Set([`level`,`lowestLevel`,`unnest`,`discretization`,`aggregation`,`index`,`include_nonoccurring`,`simplification`]);function E(e,t){return e!==`lowestLevel`&&!(t===null&&T.has(e))}function D(e){return structuredClone(e)}function O(e){let t=e.datasetId??e.dataset_id;if(typeof t!=`string`||t.length===0)throw new f(`Filter reference is missing a "datasetId".`);return t}function k(e){return h(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 A(e){let t={type:e.type};return e.bins!==void 0&&(t.bins=e.bins),Array.isArray(e.over)&&(t.over=e.over.map(e=>L(e))),t}function j(e){let t={type:e.type},n=e.datasetId??e.dataset_id,r=e.columnId??e.column_id;return n!==void 0&&(t.datasetId=n),r!==void 0&&(t.columnId=r),e.level!==void 0&&E(`level`,e.level)&&(t.level=e.level),h(e.discretization)&&(t.discretization=A(e.discretization)),e.unnest!==void 0&&E(`unnest`,e.unnest)&&(t.unnest=e.unnest),t}function M(e){let t={type:e.type};return e.bins!==void 0&&(t.bins=e.bins),Array.isArray(e.over)&&(t.over=e.over.map(e=>h(e)?I(e):e)),t}function N(e){let t={type:e.type},n=e.datasetId??e.dataset_id,r=e.columnId??e.column_id;return n!==void 0&&(t.datasetId=n),r!==void 0&&(t.columnId=r),e.level!==void 0&&(t.level=e.level),h(e.discretization)&&(t.discretization=M(e.discretization)),e.unnest!==void 0&&(t.unnest=e.unnest),t}function P(e,t){e.level!==void 0&&(t.level=D(e.level)),h(e.discretization)&&(t.discretization=M(e.discretization)),h(e.aggregation)&&(t.aggregation=N(e.aggregation)),e.unnest!==void 0&&(t.unnest=D(e.unnest))}function F(e,t){let n=e.columnId??e.column_id;if(n!==void 0)return{kind:`columnId`,value:n};let r=e.formulaId??e.formula_id;if(r!==void 0)return{kind:`formulaId`,value:r};if(e.formula!==void 0)return{kind:`formula`,value:e.formula};let i=e.columnExpression??(t?e.expression:void 0);if(i!==void 0)return{kind:`expression`,value:i}}function I(e,t=!0){let n={datasetId:O(e)},r=F(e,t);return r!==void 0&&(r.kind===`expression`?n.expression=r.value:n[r.kind]=r.value),P(e,n),n}function L(e){if(!h(e))throw new f(`Cannot emit a clean filter reference.`);let t={datasetId:O(e)};e.level!==void 0&&E(`level`,e.level)&&(t.level=e.level),h(e.discretization)&&(t.discretization=A(e.discretization)),h(e.aggregation)&&(t.aggregation=j(e.aggregation)),e.unnest!==void 0&&E(`unnest`,e.unnest)&&(t.unnest=e.unnest);let n=F(e,!0);if(n===void 0)throw new f(`Cannot emit a clean filter reference: no column, formula, or expression.`);return n.kind===`expression`?t.columnExpression=n.value:t[n.kind]=n.value,t}function se(e){if(!h(e)||typeof e.parameter!=`string`||typeof e.type!=`string`)return e;let t=oe[e.type];return t===void 0?e:{...e,type:t}}function ce(e,t){return h(t)&&typeof t.parameter==`string`?!0:Array.isArray(t)?e!==`? between ?`||t.length===2:!1}function le(e,t){let n=e.expression,r=[I(e,!1)];if(!C.has(n)&&e.value!==void 0){let t=w.has(n)&&k(e.value);r.push(t?I(e.value):D(e.value))}let i={};typeof e.id==`string`&&(i.id=e.id),`ignoredItemIds`in e&&(i.ignore=D(e.ignoredItemIds)),t!==void 0&&(i.type=t);let a={expression:n,parameters:r};return Object.keys(i).length>0&&(a.properties=i),a}function ue(e){let{expression:t}=e;if(typeof t!=`string`||t.length===0)return null;let n=Array.isArray(e.parameters)?e.parameters:[];if(!h(n[0]))throw new f(`Cannot emit a clean filter reference for "${t}".`);let r={...L(n[0]),expression:t};if(!C.has(t)){let e=n[1];if(e===void 0)throw new f(`Filter "${t}" is missing its value operand.`);if(r.value=k(e)&&w.has(t)?L(e):se(D(e)),ae.has(t)&&!ce(t,r.value))throw new f(`Cannot emit an invalid clean filter value for "${t}".`)}let{properties:i}=e;return i?.id!==void 0&&(r.id=i.id),i!==void 0&&`ignore`in i&&(r.ignoredItemIds=D(i.ignore)),r}function R(e){return g(e)}function z(e){return Array.isArray(e.filters)?e.filters:[]}function B(e,t){return e.properties?.type===`having`||e.properties?.type===`where`?e.properties.type:t??`where`}function V(e,t,n=1,r=new Set){S(n);let i=e.clause??t;for(let t of z(e))R(t)?V(t,i,n+1,r):typeof t.expression==`string`&&t.expression.length>0&&r.add(B(t,i));return r}function H(e,t,n=1){S(n);let r=e.clause??t;if(e.condition===`or`&&V(e,r,n).size>1)throw new f(`An "or" group mixes "where" and "having" filters, which clean output cannot represent.`);for(let t of z(e))R(t)&&H(t,r,n+1)}function U(e,t,n,r=1){S(r);let i=e.clause??n,a=[];for(let n of z(e)){if(R(n)){let e=U(n,t,i,r+1);e.filters.length>0&&a.push(e);continue}if(B(n,i)!==t)continue;let e=ue(n);e&&a.push(e)}let o={condition:e.condition===`or`?`or`:`and`,filters:a};return e.id!==void 0&&V(e,i,r).size<=1&&(o.id=e.id),o}function de(e){let t=e.clause;H(e,t);let n=V(e,t);return n.size===0&&n.add(t??`where`),[`where`,`having`].filter(e=>n.has(e)).map(n=>({...U(e,n,t),clause:n})).filter(e=>e.filters.length>0)}var fe=[`origin`,`datasetId`,`vizId`,`itemId`,`isDrilldown`,`type`];function W(e){return typeof e==`string`&&e.toLowerCase()===`or`?`or`:`and`}function pe(e){return g(e)}function me(e){if(!Array.isArray(e)||e.length===0)return[];let t=h(e[0])?e[0]:void 0,n=e.length>1?e[1]:void 0;return e.length>1?[t,n]:[t]}function he(e){if(typeof e.expression!=`string`||e.expression.length===0)return null;let t={expression:e.expression,parameters:me(e.parameters)};return e.properties!==void 0&&Object.keys(e.properties).length>0&&(t.properties=structuredClone(e.properties)),t}function G(e,t){let n=e,r=t;for(let e of fe)n[e]!==void 0&&(r[e]=n[e])}function K(e){if(!e||!e.filters)return{condition:`and`,filters:[],subGroups:[]};let t=[],n=[];for(let r of e.filters)if(pe(r))n.push(K(r));else{let e=he(r);e&&t.push(e)}let r={condition:W(e.condition),filters:t,subGroups:n};return e.id!==void 0&&(r.id=e.id),G(e,r),r}function q(e,t){return e?t?.format===`clean`?de(e):[K(e)]:[]}function ge(e,t){let n={expression:typeof e.expression==`string`?e.expression:void 0,parameters:Array.isArray(e.parameters)?[...e.parameters]:[]},r=h(e.properties)?structuredClone(e.properties):{};return t!==void 0&&r.type===void 0&&(r.type=t),Object.keys(r).length>0&&(n.properties=r),n}function _e(e,t,n){if(g(e))return J(e,t,n);if(!h(e))return;let r=e.expression;if(ne(e),y(e))return le(e,t);if(v(e)&&re(e),b(e))return ge(e,t);throw new f(`Filter leaf "${String(r)}" matches neither a complete clean nor a complete canonical encoding.`)}function J(e,t,n){S(n);let r=x(e.clause)?e.clause:void 0,i=r??t,a=[];for(let t of Array.isArray(e.filters)?e.filters:[]){let e=_e(t,i,n+1);e!==void 0&&a.push(e)}for(let t of Array.isArray(e.subGroups)?e.subGroups:[])g(t)&&a.push(J(t,i,n+1));let o={condition:W(e.condition),filters:a};return typeof e.id==`string`&&(o.id=e.id),r!==void 0&&(o.clause=r),G(e,o),o}function Y(e){return!e||e.length===0?[]:e.filter(e=>g(e)).map(e=>J(e,void 0,1))}var ve=`:host{font-family:var(--luzmo-filters-font-family,var(--luzmo-font-family));color:var(--luzmo-filters-font-color,var(--luzmo-font-color));max-width:100%;display:block;container-type:inline-size}.filter-group-container{max-width:100%;padding:calc(var(--luzmo-indicator-gap) + 2 * var(--luzmo-indicator-width));overflow-x:hidden}.filter-group{flex-direction:row;min-width:0;max-width:100%;display:flex}.filter-group.nested{margin-top:var(--luzmo-filters-nested-group-margin-top,var(--filters-nested-group-margin-top));margin-bottom:var(--luzmo-filters-nested-group-margin-bottom,var(--filters-nested-group-margin-bottom))}.group-content{flex-direction:column;flex:1;min-width:0;display:flex}.filters-list{gap:var(--luzmo-filters-filters-list-gap,var(--filters-filters-list-gap));flex-direction:column;min-width:0;max-width:100%;display:flex}.filter-item-wrapper{align-items:flex-start;min-width:0;max-width:100%;display:flex;position:relative}.filter-item-content{align-items:flex-start;gap:var(--luzmo-filters-filter-line-gap,var(--filters-filter-line-gap));flex-wrap:nowrap;flex:1;min-width:0;display:flex}.filter-item-content luzmo-filter-item{flex:1;min-width:0}.filter-item-content .delete-filter-button{flex-shrink:0;align-self:flex-end;margin-inline-start:auto}.condition-wrapper{flex:0 0 var(--luzmo-filters-condition-warpper-width,var(--filters-condition-warpper-width));justify-content:center;align-items:center;display:flex;position:relative}.condition-wrapper:before{content:"";left:50%;top:var(--luzmo-filters-vertical-line-top,var(--filters-vertical-line-top));bottom:var(--luzmo-filters-vertical-line-bottom,var(--filters-vertical-line-bottom));width:var(--luzmo-filters-vertical-line-width,var(--filters-vertical-line-width));background:var(--luzmo-filters-vertical-line-color,var(--luzmo-border-color));position:absolute}.condition-badge{min-width:auto;padding-inline:var(--luzmo-filters-condition-padding-horizontal,var(--filters-condition-padding-horizontal));font-weight:var(--luzmo-filters-condition-font-weight,var(--filters-condition-font-weight-emphasized));text-transform:uppercase;background:var(--luzmo-filters-condition-badge-background,var(--luzmo-primary));color:var(--luzmo-filters-condition-badge-color,var(--luzmo-primary-inverse-color));border-radius:var(--luzmo-filters-condition-badge-border-radius,var(--luzmo-border-radius));box-shadow:0 0 0 var(--luzmo-filters-condition-badge-halo,var(--filters-condition-badge-halo)) var(--luzmo-filters-condition-badge-background,var(--luzmo-background-color))}.condition-badge:hover{background:var(--luzmo-filters-condition-badge-background-hover,var(--luzmo-primary-hover))}.group-actions{margin-top:var(--luzmo-filters-group-actions-margin-top,var(--filters-group-actions-margin-top));gap:var(--luzmo-filters-group-actions-gap,var(--filters-group-actions-gap));flex-wrap:wrap;display:flex}.delete-group-button{margin-left:auto}.add-root-group-container{margin-top:var(--luzmo-filters-add-root-group-container-margin-top,var(--filters-add-root-group-container-margin-top));padding-left:0}.add-subgroup-button,.add-filter-button{--luzmo-action-button-text-to-visual:var(--luzmo-filters-group-actions-text-to-visual,var(--filters-group-actions-text-to-visual));--luzmo-action-button-content-color-default:var(--luzmo-filters-group-actions-color,var(--luzmo-primary-hover));--luzmo-action-button-content-color-hover:var(--luzmo-filters-group-actions-color-hover,var(--luzmo-primary-hover));--luzmo-action-button-content-color-down:var(--luzmo-filters-group-actions-color-down,var(--luzmo-primary-down));--luzmo-action-button-content-color-focus:var(--luzmo-filters-group-actions-color-focus,var(--luzmo-primary-focus))}.add-group-button{--luzmo-button-padding-label-to-icon:var(--luzmo-filters-add-group-button-text-to-visual,var(--filters-add-group-button-text-to-visual))}.dataset-ids-empty-message{color:var(--luzmo-filters-error-message-color,var(--luzmo-disabled-color));font-size:var(--luzmo-filters-error-message-font-size,var(--filters-font-size))}@container (width<=480px){.condition-badge{--luzmo-action-button-font-size:.6875rem;--luzmo-action-button-height:1.2rem;--luzmo-button-line-height:1.2rem;font-size:.6875rem;line-height:1.2rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-90deg)}:host([dir=rtl]) .condition-badge{transform:translate(-50%,-50%)rotate(90deg)}}.filters-loading{min-height:var(--filters-progress-circle-size);align-items:center;display:inline-flex}.filters-loading luzmo-progress-circle{--luzmo-progress-circle-size:var(--filters-progress-circle-size)}.filters-text,.filters-outline{font-size:var(--luzmo-filters-text-font-size,var(--filters-text-font-size));line-height:1.5}.filters-outline{--filters-outline-sentence-padding-block:calc((var(--filters-outline-row-min-height) - 1lh) / 2)}luzmo-filter-item[display=text]{--luzmo-filter-item-column-badge-color:var(--luzmo-filters-column-badge-color);--luzmo-filter-item-column-badge-font-color:var(--luzmo-filters-column-badge-font-color);--luzmo-filter-item-text-font-size:var(--luzmo-filters-text-font-size,var(--filters-text-font-size));--luzmo-filter-item-text-expression-color:var(--luzmo-filters-expression-color,var(--filters-expression-color));--luzmo-filter-item-text-expression-font-weight:var(--luzmo-filters-expression-font-weight,var(--filters-expression-font-weight))}.filters-text luzmo-filter-item[display=text],.filters-text-group luzmo-filter-item[display=text]{--luzmo-filter-item-text-icon-gap:var(--luzmo-filters-text-icon-gap,var(--filters-text-icon-gap))}.outline-sentence>luzmo-filter-item[display=text]{--luzmo-filter-item-text-icon-gap:var(--luzmo-filters-text-part-gap,var(--filters-text-part-gap))}.filters-text{white-space:pre-wrap;word-break:break-word}.filters-text .filters-text-condition{margin-inline-start:0;margin-inline-end:0}.filters-text-condition,.filters-text-paren{vertical-align:middle}.filters-text-condition{color:var(--luzmo-filters-condition-color,var(--filters-condition-color));font-weight:var(--luzmo-filters-condition-font-weight,var(--filters-condition-font-weight))}.outline-group{gap:var(--luzmo-spacing-1);flex-direction:column;min-width:0;display:flex}.outline-children>.outline-group:not(:first-child){margin-top:calc(var(--luzmo-spacing-1) + var(--filters-outline-sentence-padding-block) + var(--filters-outline-join-spacing) - var(--luzmo-spacing-2))}.outline-condition{color:var(--luzmo-filters-condition-color,var(--filters-condition-color));font-size:var(--luzmo-filters-outline-condition-font-size,var(--filters-outline-condition-font-size));font-weight:var(--luzmo-filters-condition-font-weight,var(--filters-condition-font-weight-emphasized));letter-spacing:.04em}.outline-children{gap:var(--luzmo-spacing-2);min-width:0;flex-direction:column;margin-inline-start:var(--luzmo-filters-outline-children-margin-inline-start,var(--filters-outline-children-margin-inline-start));padding-inline-start:var(--luzmo-filters-outline-children-padding-inline-start,var(--filters-outline-children-padding-inline-start));display:flex;position:relative}.outline-children:not(.outline-children--single):before{content:"";inset-block:var(--luzmo-filters-outline-bracket-inset,var(--filters-outline-bracket-inset));width:var(--luzmo-spacing-2);border-inline-start:1px solid var(--luzmo-border-color);border-block-start:1px solid var(--luzmo-border-color);border-block-end:1px solid var(--luzmo-border-color);position:absolute}.outline-children:not(.outline-children--single):not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{border-top-left-radius:var(--luzmo-border-radius);border-bottom-left-radius:var(--luzmo-border-radius);left:0}.outline-children:not(.outline-children--single):not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{border-top-left-radius:var(--luzmo-border-radius);border-bottom-left-radius:var(--luzmo-border-radius);left:0}.outline-children:not(.outline-children--single):-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{border-top-right-radius:var(--luzmo-border-radius);border-bottom-right-radius:var(--luzmo-border-radius);right:0}.outline-children:not(.outline-children--single):is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{border-top-right-radius:var(--luzmo-border-radius);border-bottom-right-radius:var(--luzmo-border-radius);right:0}.outline-children--single{margin-inline-start:0;padding-inline-start:0}.outline-row{align-items:flex-start;column-gap:var(--luzmo-spacing-2);min-width:0;min-height:var(--filters-outline-row-min-height);flex-wrap:nowrap;display:flex}.outline-sentence{align-items:center;gap:var(--luzmo-filters-text-part-gap,var(--filters-text-part-gap));min-width:0;padding-block:var(--filters-outline-sentence-padding-block);flex-wrap:wrap;flex:auto;display:flex}.outline-delete{flex:none;align-self:flex-end;margin-inline-start:auto}:host{--filters-condition-warpper-width:56px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-3);--filters-filters-list-gap:var(--luzmo-spacing-3);--filters-nested-group-margin-top:var(--luzmo-spacing-3);--filters-nested-group-margin-bottom:var(--luzmo-spacing-3);--filters-vertical-line-top:var(--luzmo-spacing-2);--filters-vertical-line-bottom:var(--luzmo-spacing-2);--filters-vertical-line-width:1px;--filters-group-actions-text-to-visual:var(--luzmo-spacing-2);--filters-add-group-button-text-to-visual:var(--luzmo-spacing-3);--filters-group-actions-gap:var(--luzmo-spacing-3);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-4);--filters-filter-line-gap:var(--luzmo-spacing-3);--filters-group-actions-margin-top:var(--luzmo-spacing-3);--filters-error-message-font-size:var(--luzmo-font-size);--filters-text-font-size:var(--luzmo-font-size-m);--filters-outline-row-min-height:var(--luzmo-component-height);--filters-progress-circle-size:var(--luzmo-component-height);--filters-text-part-gap:var(--luzmo-spacing-2);--filters-text-icon-gap:var(--luzmo-spacing-1);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-2);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-3);--filters-outline-bracket-inset:var(--luzmo-spacing-2);--filters-outline-join-spacing:var(--luzmo-spacing-2);--filters-expression-color:var(--luzmo-filters-font-color,var(--luzmo-font-color));--filters-expression-font-weight:var(--luzmo-font-weight);--filters-condition-color:var(--luzmo-filters-font-color,var(--luzmo-font-color));--filters-condition-font-weight:var(--luzmo-font-weight);--filters-condition-font-weight-emphasized:var(--luzmo-font-weight-bold);--filters-outline-condition-font-size:var(--luzmo-font-size-s)}:host([size=s]){--filters-condition-warpper-width:48px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-2);--filters-filters-list-gap:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-nested-group-margin-top:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-nested-group-margin-bottom:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-vertical-line-top:var(--luzmo-spacing-2);--filters-vertical-line-bottom:var(--luzmo-spacing-2);--filters-group-actions-text-to-visual:var(--luzmo-spacing-1);--filters-add-group-button-text-to-visual:var(--luzmo-spacing-2);--filters-group-actions-gap:var(--luzmo-spacing-2);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-3);--filters-filter-line-gap:var(--luzmo-spacing-2);--filters-group-actions-margin-top:var(--luzmo-spacing-2);--filters-error-message-font-size:var(--luzmo-font-size-s);--filters-text-font-size:var(--luzmo-font-size-s);--filters-outline-row-min-height:var(--luzmo-component-height-s);--filters-progress-circle-size:var(--luzmo-component-height-s);--filters-text-part-gap:var(--luzmo-spacing-1);--filters-text-icon-gap:var(--luzmo-spacing-1);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-1);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-3);--filters-outline-bracket-inset:var(--luzmo-spacing-1);--filters-outline-join-spacing:var(--luzmo-spacing-1);--filters-outline-condition-font-size:var(--luzmo-font-size-xs)}:host([size=l]){--filters-condition-warpper-width:64px;--filters-condition-padding-horizontal:var(--luzmo-spacing-3);--filters-condition-badge-halo:var(--luzmo-spacing-4);--filters-filters-list-gap:var(--luzmo-spacing-4);--filters-nested-group-margin-top:var(--luzmo-spacing-4);--filters-nested-group-margin-bottom:var(--luzmo-spacing-4);--filters-vertical-line-top:var(--luzmo-spacing-3);--filters-vertical-line-bottom:var(--luzmo-spacing-3);--filters-group-actions-text-to-visual:var(--luzmo-spacing-2);--filters-add-group-button-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filters-group-actions-gap:var(--luzmo-spacing-3);--filters-add-root-group-container-margin-top:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-filter-line-gap:var(--luzmo-spacing-3);--filters-group-actions-margin-top:var(--luzmo-spacing-3);--filters-error-message-font-size:var(--luzmo-font-size-l);--filters-text-font-size:var(--luzmo-font-size-l);--filters-outline-row-min-height:var(--luzmo-component-height-l);--filters-progress-circle-size:var(--luzmo-component-height-l);--filters-text-part-gap:var(--luzmo-spacing-3);--filters-text-icon-gap:var(--luzmo-spacing-2);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-3);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-4);--filters-outline-bracket-inset:var(--luzmo-spacing-2);--filters-outline-join-spacing:var(--luzmo-spacing-3);--filters-outline-condition-font-size:var(--luzmo-font-size-m)}:host([size=xl]){--filters-condition-warpper-width:72px;--filters-condition-padding-horizontal:var(--luzmo-spacing-3);--filters-condition-badge-halo:var(--luzmo-spacing-4);--filters-filters-list-gap:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-nested-group-margin-top:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-nested-group-margin-bottom:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-vertical-line-top:var(--luzmo-spacing-3);--filters-vertical-line-bottom:var(--luzmo-spacing-3);--filters-group-actions-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filters-add-group-button-text-to-visual:var(--luzmo-spacing-4);--filters-group-actions-gap:var(--luzmo-spacing-4);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-5);--filters-filter-line-gap:var(--luzmo-spacing-4);--filters-group-actions-margin-top:var(--luzmo-spacing-4);--filters-error-message-font-size:var(--luzmo-font-size-xl);--filters-text-font-size:var(--luzmo-font-size-xl);--filters-outline-row-min-height:var(--luzmo-component-height-xl);--filters-progress-circle-size:var(--luzmo-component-height-xl);--filters-text-part-gap:var(--luzmo-spacing-4);--filters-text-icon-gap:var(--luzmo-spacing-2);--filters-outline-children-margin-inline-start:var(--luzmo-spacing-4);--filters-outline-children-padding-inline-start:var(--luzmo-spacing-5);--filters-outline-bracket-inset:var(--luzmo-spacing-3);--filters-outline-join-spacing:var(--luzmo-spacing-3);--filters-outline-condition-font-size:var(--luzmo-font-size-l)}@container (width<=480px){.filter-group-container{--filters-condition-warpper-width:32px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-2);--filters-filters-list-gap:var(--luzmo-spacing-5)}}`;function X(e){if(e instanceof f)return e;throw e}var Z={and:()=>(0,l.msg)(`AND`,{desc:`Logical AND condition for combining filters`}),or:()=>(0,l.msg)(`OR`,{desc:`Logical OR condition for combining filters`})};function Q(e){return e===`and`?`or`:`and`}var $=class extends t.t((0,d.SizedMixin)(d.LuzmoElement,{validSizes:Object.values(d.ElementSizes)})){constructor(...e){super(...e),this.apiUrl=`https://api.luzmo.com`,this.contentLanguage=`en`,this.filters=[],this.format=`canonical`,this.simple=!1,this.display=`rich`,this.columnDisplay=`text`,this.quiet=!1,this.readonly=!1,this.allowParameters=!1,this.parameters=[],this.debounce=300,this._internalFilterGroup=null,this._datasets=[],this._datasetsLoading=!1,this._hierarchyLabels=new Map,this._hierarchyLabelsLoading=!1,this._hasSyntheticRoot=!1,this._datasetRequest=0,this._hierarchyRequest=0,this._debounceTimeout=null,this._filterKeys=new WeakMap}static get styles(){return[(0,s.unsafeCSS)(ve)]}_filterKey(e){let t=this._filterKeys.get(e);return t||(t={},this._filterKeys.set(e,t)),t}_preserveFilterKeys(e,t){this._isGroup(e)===this._isGroup(t)&&(this._filterKeys.set(t,this._filterKey(e)),this._isGroup(e)&&this._isGroup(t)&&t.filters.forEach((t,n)=>{let r=e.filters[n];r&&this._preserveFilterKeys(r,t)}))}_isCurrentGroup(e){return this._internalFilterGroup!==null&&(e===this._internalFilterGroup||this._findParentGroup(this._internalFilterGroup,e)!==null)}get _oneSizeSmaller(){return{xxs:`xxs`,xs:`xs`,s:`xs`,m:`s`,l:`m`,xl:`l`,xxl:`xl`}[this.size]||`s`}get _isDatasetIdsEmpty(){return!this.datasetIds||this.datasetIds.length===0}get _hasUnsupportedConditions(){let e=t=>t.condition===`or`||t.filters.some(t=>this._isGroup(t)&&e(t));return this.simple&&this._internalFilterGroup!==null&&e(this._internalFilterGroup)}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.display!==`rich`&&this._loadDatasetsForDisplay()}disconnectedCallback(){super.disconnectedCallback(),this._datasetRequest+=1,this._hierarchyRequest+=1,this._debounceTimeout&&=(clearTimeout(this._debounceTimeout),null)}willUpdate(e){if(super.willUpdate(e),e.has(`filters`))try{let e=Y(this.filters),t=this._internalFilterGroup;this._debounceTimeout&&=(clearTimeout(this._debounceTimeout),null),e.length===0?(this._internalFilterGroup=null,this._hasSyntheticRoot=!1):e.length===1?(this._internalFilterGroup=structuredClone(e[0]),this._hasSyntheticRoot=!1):(this._internalFilterGroup={condition:`and`,filters:structuredClone(e)},this._hasSyntheticRoot=!0),t&&this._internalFilterGroup&&this._preserveFilterKeys(t,this._internalFilterGroup)}catch(t){console.warn(`[${this.localName}] Keeping the current filters, the new value cannot be normalized:`,X(t)),this.filters=e.get(`filters`)??[]}this.display!==`rich`&&(e.has(`display`)||e.has(`datasetIds`)||e.has(`authKey`)||e.has(`authToken`)||e.has(`apiUrl`)||e.has(`cacheTime`))&&this._loadDatasetsForDisplay(),this.display!==`rich`&&(e.has(`filters`)||e.has(`display`)||e.has(`contentLanguage`))&&this._loadHierarchyLabelsForDisplay()}async _loadDatasetsForDisplay(){let e=++this._datasetRequest;if(!this.datasetIds||this.datasetIds.length===0){this._datasets=[],this._datasetsLoading=!1,this._loadHierarchyLabelsForDisplay();return}let{valid:t,invalid:i}=r.c(this.datasetIds);if(i.length>0&&console.warn(`[${this.localName}] Invalid dataset IDs provided (not valid UUIDs): ${i.join(`, `)}. These will be skipped.`),t.length===0)this._datasets=[],this._datasetsLoading=!1,this._loadHierarchyLabelsForDisplay();else{this._datasetsLoading=!0,this._configureDataBroker();try{let r=await n.n.fetchDatasetsWithColumnsAndFormulas(t);if(!this.isConnected||e!==this._datasetRequest)return;this._datasets=r}catch(t){if(!this.isConnected||e!==this._datasetRequest)return;console.error(`[${this.localName}] Error fetching dataset columns & formulas:`,t),this._datasets=[]}finally{this.isConnected&&e===this._datasetRequest&&(this._datasetsLoading=!1,this._loadHierarchyLabelsForDisplay())}}}_configureDataBroker(){let e={authKey:this.authKey||``,authToken:this.authToken||``};this.apiUrl&&(e.apiUrl=this.apiUrl),this.cacheTime&&(e.staleTime=this.cacheTime,e.gcTime=this.cacheTime*2),n.n.configure(e)}async _loadHierarchyLabelsForDisplay(){let e=++this._hierarchyRequest;if(this.display===`rich`||!this._internalFilterGroup){if(!this.isConnected||e!==this._hierarchyRequest)return;this._hierarchyLabels=new Map,this._hierarchyLabelsLoading=!1;return}let t=a.n(this._internalFilterGroup,this._filterTextContext());if(t.length===0){if(!this.isConnected||e!==this._hierarchyRequest)return;this._hierarchyLabels=new Map,this._hierarchyLabelsLoading=!1}else{this._hierarchyLabelsLoading=!0,this._configureDataBroker();try{let n=await a.i(t,this.contentLanguage);if(!this.isConnected||e!==this._hierarchyRequest)return;this._hierarchyLabels=n}catch(t){if(!this.isConnected||e!==this._hierarchyRequest)return;console.error(`[${this.localName}] Error fetching hierarchy member names:`,t)}finally{this.isConnected&&e===this._hierarchyRequest&&(this._hierarchyLabelsLoading=!1)}}}_filterTextContext(){return{datasets:this._datasets,contentLanguage:this.contentLanguage,timeZone:this.timeZone,hierarchyLabels:this._hierarchyLabels,hierarchyLabelsLoading:this._hierarchyLabelsLoading}}_generateEmptyGroup(){return{id:i.t(),condition:`and`,filters:[]}}_generateEmptyFilter(){return{expression:void 0,parameters:[],properties:{id:i.t()}}}_rootGroupsForExport(){if(!this._internalFilterGroup)return[];let e=this._internalFilterGroup.filters.length>0&&this._internalFilterGroup.filters.every(e=>this._isGroup(e));return this._hasSyntheticRoot&&e?structuredClone(this._internalFilterGroup.filters):[structuredClone(this._internalFilterGroup)]}_getFiltersForExport(){let e=this._rootGroupsForExport(),t=this.format===`clean`?`clean`:`canonical`;if(e.length===0)return{filters:[],format:t};if(t===`clean`)try{return{filters:e.flatMap(e=>q(e,{format:`clean`})),format:`clean`}}catch(e){console.warn(`[${this.localName}] Cannot emit clean filters, falling back to canonical output:`,X(e))}return{filters:e.flatMap(e=>q(e)),format:`canonical`}}_sendChangeEvent(){this._debounceTimeout&&clearTimeout(this._debounceTimeout);let e=()=>{this._debounceTimeout=null,!this._hasUnsupportedConditions&&this.dispatchEvent(new CustomEvent(`luzmo-filters-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:this._getFiltersForExport()}))};this.debounce>0?this._debounceTimeout=setTimeout(e,this.debounce):e()}_isGroup(e){return`condition`in e&&`filters`in e}_handleParameterCreated(e){let t=e.detail?.parameter;this.readonly||!t||this.parameters.some(({parameter:e})=>e===t.parameter)||(this.parameters=[...this.parameters,t])}_toggleCondition(e){this.readonly||this.simple||(e.condition=Q(e.condition),e===this._internalFilterGroup&&(this._hasSyntheticRoot=!1),this.requestUpdate(),this._sendChangeEvent())}_addFilter(e){if(this.readonly||this._isDatasetIdsEmpty||this._hasUnsupportedConditions)return;let t=e;t||=(this._internalFilterGroup||=this._generateEmptyGroup(),this._internalFilterGroup),t.filters.push(this._generateEmptyFilter()),this.requestUpdate(),this._sendChangeEvent()}_addSubGroup(e){if(this.readonly||this._isDatasetIdsEmpty||this.simple)return;let t=this._generateEmptyGroup();t.condition=Q(e.condition),t.filters.push(this._generateEmptyFilter()),e.filters.push(t),this.requestUpdate(),this._sendChangeEvent()}_removeFilter(e,t){if(this.readonly||!this._internalFilterGroup||!this._isCurrentGroup(e)||this._hasUnsupportedConditions)return;let n=e.filters.findIndex(e=>this._filterKey(e)===t);if(n!==-1){if(e.filters.splice(n,1),e!==this._internalFilterGroup&&e.filters.length===0){let t=this._findParentGroup(this._internalFilterGroup,e);if(t){let n=t.filters.indexOf(e);n!==-1&&t.filters.splice(n,1)}}this._collapseGroupsAfterDelete(),this.requestUpdate(),this._sendChangeEvent()}}_updateFilter(e,t,n){n.stopPropagation();let r=n.currentTarget;if(this.readonly||!r?.isConnected||this._hasUnsupportedConditions||!this._isCurrentGroup(e))return;let i=e.filters.findIndex(e=>this._filterKey(e)===t);i!==-1&&(this._isGroup(e.filters[i])||(this._filterKeys.set(n.detail.filter,t),e.filters[i]=n.detail.filter,this._sendChangeEvent()))}_addGroup(){if(this.readonly||this._isDatasetIdsEmpty||this.simple)return;this._internalFilterGroup||=this._generateEmptyGroup();let e=this._generateEmptyGroup();e.condition=Q(this._internalFilterGroup.condition),e.filters.push(this._internalFilterGroup);let t=this._generateEmptyGroup();t.condition=Q(e.condition),t.filters.push(this._generateEmptyFilter()),e.filters.push(t),this._internalFilterGroup=e,this._hasSyntheticRoot=!1,this.requestUpdate(),this._sendChangeEvent()}_renderFilterItem(e,t){return s.html`
|
|
21
|
-
<div class="filter-item-wrapper">
|
|
22
|
-
<div class="filter-item-content">
|
|
23
|
-
<luzmo-filter-item
|
|
24
|
-
.apiUrl=${this.apiUrl}
|
|
25
|
-
.authKey=${this.authKey}
|
|
26
|
-
.authToken=${this.authToken}
|
|
27
|
-
.cacheTime=${this.cacheTime}
|
|
28
|
-
.language=${this.language}
|
|
29
|
-
.contentLanguage=${this.contentLanguage}
|
|
30
|
-
.timeZone=${this.timeZone}
|
|
31
|
-
.datasetIds=${this.datasetIds}
|
|
32
|
-
.filter=${e}
|
|
33
|
-
.allowParameters=${this.allowParameters}
|
|
34
|
-
.parameters=${this.parameters}
|
|
35
|
-
.size=${this.size}
|
|
36
|
-
.quiet=${this.quiet}
|
|
37
|
-
.readonly=${this.readonly}
|
|
38
|
-
@luzmo-filter-changed=${this._updateFilter.bind(this,t,this._filterKey(e))}
|
|
39
|
-
@luzmo-parameter-created=${this._handleParameterCreated}
|
|
40
|
-
></luzmo-filter-item>
|
|
41
|
-
<luzmo-action-button
|
|
42
|
-
class="delete-filter-button"
|
|
43
|
-
.size=${this.size}
|
|
44
|
-
quiet
|
|
45
|
-
aria-disabled=${this.readonly?`true`:s.nothing}
|
|
46
|
-
.label=${(0,l.msg)(`Remove filter`,{desc:`Aria label for remove filter button`})}
|
|
47
|
-
@click=${this._removeFilter.bind(this,t,this._filterKey(e))}
|
|
48
|
-
>
|
|
49
|
-
<luzmo-icon slot="icon" .icon=${o.luzmoTrashOutline} .size=${this.size}></luzmo-icon>
|
|
50
|
-
</luzmo-action-button>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
`}_renderGroup(e,t=!1){let n=e.filters.length>0,r=e.filters.length>1,i=Z[e.condition]?.()??e.condition;return s.html`
|
|
54
|
-
<div class="filter-group ${t&&!this.simple?`nested`:``}" role="group">
|
|
55
|
-
${!this.simple&&(t||r)?s.html`
|
|
56
|
-
<div class="condition-wrapper">
|
|
57
|
-
${r?s.html`
|
|
58
|
-
<luzmo-action-button
|
|
59
|
-
class="condition-badge"
|
|
60
|
-
.size=${this._oneSizeSmaller}
|
|
61
|
-
quiet
|
|
62
|
-
aria-disabled=${this.readonly?`true`:s.nothing}
|
|
63
|
-
aria-pressed=${e.condition===`and`?`true`:`false`}
|
|
64
|
-
.label=${(0,l.msg)(`Toggle filter condition, currently `,{desc:`Aria label prefix for filter condition toggle`})+i}
|
|
65
|
-
@click=${this._toggleCondition.bind(this,e)}
|
|
66
|
-
>
|
|
67
|
-
${i}
|
|
68
|
-
</luzmo-action-button>
|
|
69
|
-
`:s.nothing}
|
|
70
|
-
</div>
|
|
71
|
-
`:s.nothing}
|
|
72
|
-
<div class="group-content">
|
|
73
|
-
${n?s.html`
|
|
74
|
-
<div class="filters-list">
|
|
75
|
-
${(0,u.repeat)(e.filters,e=>this._filterKey(e),t=>s.html`
|
|
76
|
-
${this._isGroup(t)?this._renderGroup(t,!0):this._renderFilterItem(t,e)}
|
|
77
|
-
`)}
|
|
78
|
-
</div>
|
|
79
|
-
`:``}
|
|
80
|
-
|
|
81
|
-
<div class="group-actions">
|
|
82
|
-
<luzmo-action-button
|
|
83
|
-
class="add-filter-button"
|
|
84
|
-
.size=${this.size}
|
|
85
|
-
quiet
|
|
86
|
-
aria-disabled=${this.readonly?`true`:s.nothing}
|
|
87
|
-
?disabled=${this._isDatasetIdsEmpty}
|
|
88
|
-
@click=${this._addFilter.bind(this,e)}
|
|
89
|
-
>
|
|
90
|
-
<luzmo-icon slot="icon" .icon=${o.luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
91
|
-
${(0,l.msg)(`Filter`,{desc:`Add filter button label`})}
|
|
92
|
-
</luzmo-action-button>
|
|
93
|
-
|
|
94
|
-
${this.simple?s.nothing:s.html`<luzmo-action-button
|
|
95
|
-
class="add-subgroup-button"
|
|
96
|
-
.size=${this.size}
|
|
97
|
-
quiet
|
|
98
|
-
aria-disabled=${this.readonly?`true`:s.nothing}
|
|
99
|
-
?disabled=${this._isDatasetIdsEmpty}
|
|
100
|
-
@click=${this._addSubGroup.bind(this,e)}
|
|
101
|
-
>
|
|
102
|
-
<luzmo-icon slot="icon" .icon=${o.luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
103
|
-
${(0,l.msg)(`Subgroup`,{desc:`Add subgroup button label`})}
|
|
104
|
-
</luzmo-action-button>`}
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
</div>
|
|
108
|
-
`}_findParentGroup(e,t){for(let n of e.filters){if(n===t)return e;if(this._isGroup(n)){let e=this._findParentGroup(n,t);if(e)return e}}return null}_collapseIfNeeded(e){if(e.filters.length===1&&this._isGroup(e.filters[0])){let t=e.filters[0];e.condition=t.condition,e.filters=t.filters,e.id=t.id,e.clause=t.clause,e.origin=t.origin,e.datasetId=t.datasetId,e.vizId=t.vizId,e.itemId=t.itemId,e.isDrilldown=t.isDrilldown,e.type=t.type,e===this._internalFilterGroup&&(this._hasSyntheticRoot=!1)}}_collapseGroupsAfterDelete(){if(!this._internalFilterGroup)return;let e=t=>{for(let n of t.filters)this._isGroup(n)&&e(n);this._collapseIfNeeded(t)};e(this._internalFilterGroup)}_renderTextLeaf(e){return a.r(e,this._filterTextContext())?s.html`<luzmo-filter-item
|
|
109
|
-
class="filters-text-leaf"
|
|
110
|
-
display="text"
|
|
111
|
-
.columnDisplay=${this.columnDisplay}
|
|
112
|
-
.filter=${e}
|
|
113
|
-
.textContext=${this._filterTextContext()}
|
|
114
|
-
.language=${this.language}
|
|
115
|
-
.contentLanguage=${this.contentLanguage}
|
|
116
|
-
.timeZone=${this.timeZone}
|
|
117
|
-
.size=${this.size}
|
|
118
|
-
readonly
|
|
119
|
-
></luzmo-filter-item>`:s.nothing}_renderTextGroup(e,t){let n=[];for(let t of e.filters){let e=this._isGroup(t)?this._renderTextGroup(t,!1):this._renderTextLeaf(t);e!==s.nothing&&n.push(e)}if(n.length===0)return s.nothing;if(n.length===1)return n[0];let r=s.html`<span class="filters-text-condition">${Z[e.condition]()}</span>`,i=e.condition===`or`?(0,l.msg)(l.str`${a.a[0]}\u2063 ${a.a[1]}\u2063 ${a.a[2]}`,{id:`filters-sentence-or`,desc:`Left filter sentence, logical OR condition, and right filter sentence`}):(0,l.msg)(l.str`${a.a[0]}\u2063 ${a.a[1]}\u2063 ${a.a[2]}`,{id:`filters-sentence-and`,desc:`Left filter sentence, logical AND condition, and right filter sentence`}),o=n.slice(1).reduce((e,t)=>a.o(i,[s.html`${e}`,r,t]),[n[0]]);return t?s.html`${o}`:s.html`<span class="filters-text-group"
|
|
120
|
-
>${a.o((0,l.msg)(l.str`(${a.a[0]})`,{id:`filters-sentence-parentheses`,desc:`Nested filter sentence wrapped in parentheses`}),[s.html`${o}`]).map(e=>typeof e==`string`?s.html`<span class="filters-text-paren">${e}</span>`:e)}</span
|
|
121
|
-
>`}_renderDatasetLoading(){let e=(0,l.msg)(`Loading filters`,{desc:`Accessible label while filter column names are loading`});return s.html`<div class="filters-loading" role="status">
|
|
122
|
-
<luzmo-progress-circle indeterminate .label=${e} .size=${this.size}></luzmo-progress-circle>
|
|
123
|
-
</div>`}_renderTextDisplay(){return s.html`<span class="filters-text" part="filters-text"
|
|
124
|
-
>${this._internalFilterGroup?this._renderTextGroup(this._internalFilterGroup,!0):s.nothing}</span
|
|
125
|
-
>`}_deleteOutlineFilter(e,t){this.readonly||this.display!==`outline`||this._removeFilter(e,t)}_renderOutlineRow(e,t){let n=this._renderTextLeaf(e);if(n===s.nothing)return s.nothing;let r=(0,l.msg)(`Remove filter`,{desc:`Aria label for remove filter button`});return s.html`<div class="outline-row" part="filters-outline-row">
|
|
126
|
-
<span class="outline-sentence">${n}</span>
|
|
127
|
-
${this.readonly?s.nothing:s.html`<luzmo-action-button
|
|
128
|
-
class="delete-filter-button outline-delete"
|
|
129
|
-
.size=${this.size}
|
|
130
|
-
quiet
|
|
131
|
-
.label=${r}
|
|
132
|
-
@click=${()=>this._deleteOutlineFilter(t,this._filterKey(e))}
|
|
133
|
-
>
|
|
134
|
-
<luzmo-icon slot="icon" .icon=${o.luzmoTrashOutline} .size=${this.size}></luzmo-icon>
|
|
135
|
-
</luzmo-action-button>`}
|
|
136
|
-
</div>`}_renderOutlineGroup(e,t=!0){let n=e.filters.some(e=>this._isGroup(e)),r=e.filters.length>1&&!(t&&!n&&e.condition===`and`),i=Z[e.condition]?.()??e.condition;return s.html`<div class="outline-group" role=${r?`group`:s.nothing} aria-label=${r?i:s.nothing}>
|
|
137
|
-
${r?s.html`<div class="outline-condition">${i}</div>`:s.nothing}
|
|
138
|
-
<div class=${r?`outline-children`:`outline-children outline-children--single`}>
|
|
139
|
-
${(0,u.repeat)(e.filters,e=>this._filterKey(e),t=>this._isGroup(t)?this._renderOutlineGroup(t,!1):this._renderOutlineRow(t,e))}
|
|
140
|
-
</div>
|
|
141
|
-
</div>`}_renderOutlineDisplay(){return s.html`<div class="filters-outline" part="filters-outline">
|
|
142
|
-
${this._internalFilterGroup?this._renderOutlineGroup(this._internalFilterGroup):s.nothing}
|
|
143
|
-
</div>`}render(){if(this._hasUnsupportedConditions&&this.display!==`text`)return s.html`<div class="filter-group-container" role="status">
|
|
144
|
-
${(0,l.msg)(`Filters containing OR cannot be edited in AND-only mode.`,{desc:`Explains why existing OR filters are not editable in the simplified filter editor`})}
|
|
145
|
-
</div>`;if(this.display===`text`||this.display===`outline`)return this._datasetsLoading&&this._datasets.length===0?this._renderDatasetLoading():this.display===`text`?this._renderTextDisplay():this._renderOutlineDisplay();if(this._isDatasetIdsEmpty)return s.html`
|
|
146
|
-
<div class="filter-group-container">
|
|
147
|
-
<div class="dataset-ids-empty-message" role="status">
|
|
148
|
-
${(0,l.msg)(`Cannot retrieve dataset data fields`,{desc:`Error message when datasetIds is empty`})}
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
`;if(!this._internalFilterGroup||this._internalFilterGroup.filters.length===0)return s.html`
|
|
152
|
-
<div class="filter-group-container">
|
|
153
|
-
<luzmo-button
|
|
154
|
-
class="add-filter-button"
|
|
155
|
-
.size=${this.size}
|
|
156
|
-
treatment="outline"
|
|
157
|
-
?quiet=${this.quiet}
|
|
158
|
-
aria-disabled=${this.readonly?`true`:s.nothing}
|
|
159
|
-
?disabled=${this._isDatasetIdsEmpty}
|
|
160
|
-
@click=${()=>this._addFilter()}
|
|
161
|
-
>
|
|
162
|
-
<luzmo-icon slot="icon" .icon=${o.luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
163
|
-
${(0,l.msg)(`Add filter`,{desc:`Add filter button label`})}
|
|
164
|
-
</luzmo-button>
|
|
165
|
-
</div>
|
|
166
|
-
`;let e=this._internalFilterGroup.filters.length>1;return s.html`
|
|
167
|
-
<div class="filter-group-container">
|
|
168
|
-
${this._renderGroup(this._internalFilterGroup)}
|
|
169
|
-
|
|
170
|
-
${e&&!this.simple?s.html`
|
|
171
|
-
<div class="add-root-group-container">
|
|
172
|
-
<luzmo-button
|
|
173
|
-
class="add-group-button"
|
|
174
|
-
.size=${this.size}
|
|
175
|
-
treatment="outline"
|
|
176
|
-
?quiet=${this.quiet}
|
|
177
|
-
aria-disabled=${this.readonly?`true`:s.nothing}
|
|
178
|
-
?disabled=${this._isDatasetIdsEmpty}
|
|
179
|
-
@click=${this._addGroup}
|
|
180
|
-
>
|
|
181
|
-
<luzmo-icon slot="icon" .icon=${o.luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
182
|
-
${(0,l.msg)(`Group`,{desc:`Add group button label`})}
|
|
183
|
-
</luzmo-button>
|
|
184
|
-
</div>
|
|
185
|
-
`:``}
|
|
186
|
-
</div>
|
|
187
|
-
`}};e.t([(0,c.property)({type:String,attribute:`api-url`,reflect:!0})],$.prototype,`apiUrl`,void 0),e.t([(0,c.property)({type:String,attribute:`auth-key`,reflect:!0})],$.prototype,`authKey`,void 0),e.t([(0,c.property)({type:String,attribute:`auth-token`,reflect:!0})],$.prototype,`authToken`,void 0),e.t([(0,c.property)({type:Number,attribute:`cache-time`,reflect:!0})],$.prototype,`cacheTime`,void 0),e.t([(0,c.property)({type:String,attribute:`content-language`,reflect:!0})],$.prototype,`contentLanguage`,void 0),e.t([(0,c.property)({type:String,attribute:`time-zone`,reflect:!0})],$.prototype,`timeZone`,void 0),e.t([(0,c.property)({type:Array,attribute:`dataset-ids`,reflect:!0})],$.prototype,`datasetIds`,void 0),e.t([(0,c.property)({type:Array,reflect:!1})],$.prototype,`filters`,void 0),e.t([(0,c.property)({type:String,reflect:!0})],$.prototype,`format`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0})],$.prototype,`simple`,void 0),e.t([(0,c.property)({type:String,reflect:!0})],$.prototype,`display`,void 0),e.t([(0,c.property)({type:String,attribute:`column-display`,reflect:!0})],$.prototype,`columnDisplay`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0})],$.prototype,`quiet`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0})],$.prototype,`readonly`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`allow-parameters`,reflect:!0})],$.prototype,`allowParameters`,void 0),e.t([(0,c.property)({attribute:!1})],$.prototype,`parameters`,void 0),e.t([(0,c.property)({type:Number,reflect:!0})],$.prototype,`debounce`,void 0),e.t([(0,c.state)()],$.prototype,`_internalFilterGroup`,void 0),e.t([(0,c.state)()],$.prototype,`_datasets`,void 0),e.t([(0,c.state)()],$.prototype,`_datasetsLoading`,void 0),e.t([(0,c.state)()],$.prototype,`_hierarchyLabels`,void 0),e.t([(0,c.state)()],$.prototype,`_hierarchyLabelsLoading`,void 0),$=e.t([(0,l.localized)()],$),customElements.get(`luzmo-filters`)||customElements.define(`luzmo-filters`,$),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return ee}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return ie}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return $}});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2026 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
|
7
|
-
* This license allows users with a current active Luzmo account
|
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
-
*
|
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
-
* SOFTWARE.
|
|
19
|
-
* */
|
|
20
|
-
let e=require("lit"),t=require("@lit/localize");var n={"add-to-dashboard-cannot-create":`Ces identifiants ne permettent pas de créer des tableaux de bord`,"add-to-dashboard-cannot-create-variant":`Ces identifiants ne permettent pas de créer des variantes`,"add-to-dashboard-close":`Fermer`,"add-to-dashboard-open":`Ouvrir`,"close-action":`Fermer`,"filter-item-field-expression":t.str`${0} ${1}`,"filter-item-field-expression-value":t.str`${0} ${1} ${2}`,"filter-item-field-value":t.str`${0} ${1}`,"filter-parameter-type-datetime":`Date/heure`,"filter-parameter-type-datetime-list":`Date/heure[]`,"filter-parameter-type-hierarchy":`Hiérarchie`,"filter-parameter-type-hierarchy-list":`Hiérarchie[]`,"filter-parameter-type-numeric":`Numérique`,"filter-parameter-type-numeric-list":`Numérique[]`,"filter-range-tooltip":t.str`${0} et ${1}`,"filters-sentence-and":t.str`${0} ${1} ${2}`,"filters-sentence-or":t.str`${0} ${1} ${2}`,"filters-sentence-parentheses":t.str`(${0})`,"formula-datasets-list-title":`Données`,"formula-function-label-coords":`Coordonnées`,hd267dd827599dcf9:e.html`Élément copié vers ${0}`,"item-option-guidelines-add":`Ajouter une ligne de référence`,"item-option-guidelines-color":t.str`Couleur de la ligne de référence ${0}`,"item-option-guidelines-group":`Lignes de référence`,"item-option-guidelines-remove":t.str`Supprimer la ligne de référence ${0}`,"item-option-guidelines-style-dashed":`Tirets`,"item-option-guidelines-style-dotted":`Pointillés`,"item-option-guidelines-style-label":`Style`,"item-option-guidelines-style-solid":`Plein`,"item-option-guidelines-type":t.str`Type de la ligne de référence ${0}`,"item-option-guidelines-type-average":`Moyenne`,"item-option-guidelines-type-average-close":`Moyenne des clôtures`,"item-option-guidelines-type-average-open":`Moyenne des ouvertures`,"item-option-guidelines-type-median":`Médiane`,"item-option-guidelines-type-value":`Valeur`,"item-option-guidelines-value":t.str`Valeur de la ligne de référence ${0}`,"item-option-guidelines-width-label":`Épaisseur`,"item-option-guidelines-width-medium":`Moyen`,"item-option-guidelines-width-thick":`Épais`,"item-option-guidelines-width-thin":`Fin`,"item-slot-picker-add":`Ajouter`,s009465b850287447:`Agrège au sein du regroupement actuel du graphique.`,s00decbd8fed4f501:`Maximum`,s0218a6cc95bc9386:`Type de plage`,s028474eff8e31453:`Inférieur à`,s039a88e04fc473cd:`Valeur absolue`,s03f199e48820b08d:`Nombre d'Euler`,s0456d2ad905847d9:`dernier`,s053eb89714fe5c46:`Puissance`,s057ae6b694499f56:`Vérifie si la première valeur est supérieure à la seconde valeur.`,s06d28bae5a331115:`Renvoie vrai lorsqu'au moins une condition est vraie.`,s06da33e39516b46f:`Différence entre dates`,s07146695ed927fca:`Extrait l'heure d'une valeur datetime en UTC.`,s071e55c416742716:`Ouvrir le menu de restauration`,s078d4008a2a214b0:`Supprime les espaces de début et de fin d'une chaîne.`,s079a052719914d71:`Catégorie`,s07a43e5b2a8a7c58:t.str`${0} Secondes`,s07d754eb51a3ee43:`Spatial`,s088e3b07b5394bc3:`ég`,s08b26579c9f919a1:`Ou logique`,s08fd2396ce8ea974:`Extrait le jour de l'année d'une valeur date ou datetime.`,s091d3407b5b2f824:`OU`,s09243007b5b91006:`Si`,s09423f07b5d22712:`Pi`,s095140a7d22730b7:`Catégories`,s099b18e1bd8a1154:`Heures`,s09c2b609dff29061:`Somme cumulative`,s0ae75c749c889c18:`Grand écran`,s0b5cefc4c510193d:`Plage de couleurs`,s0bb151c9319a6813:`Axe X`,s0bbcfb2797060663:`Renvoie vrai lorsque les deux conditions sont vraies.`,s0bca0c91195d8d6d:`cont`,s0d5513a64f3a46c5:`Ajouter un champ de données...`,s0d5c4bb195a222f8:`Quantité`,s0e6fcbb074f690d0:`Ajouter un champ de données`,s103d3df3b3fa6442:`Calcule la moyenne des valeurs.`,s10420672e643d2c7:`Trier par ordre croissant`,s10d1e89ece01e6c7:`Mauvaise réponse`,s1111ebf7ea62fdd0:`Extrait le numéro de semaine ISO 8601 (1-53) d'une valeur date ou datetime.`,s1125d159f7e64df5:`Affichage`,s11326fd2590f4e5e:`Par défaut`,s11502b46543c39e8:`Jour du mois`,s11576cdb7730ddcc:`Renvoie la constante mathématique pi.`,s122f7f3f1a22ea50:`non ég`,s125a86b2f45bbb25:t.str`${0} éléments`,s125fbff5d8958763:t.str`${0} (variante ${1})`,s13f5793e33ebda4f:`entre`,s146475c4daa430ed:`Décimales`,s14adc1b878842c4f:`Catégorie de fonction`,s1525a3512765bd52:`Unité de temps`,s1645aae5d87a87ae:`Chargement des noms d'éléments`,s16a4e0f26328f69d:`Et logique`,s16d507740d87045d:`Formule ad hoc`,s173bffc4bc8fdb40:`Numéro du trimestre`,s178b06f4d02cfd40:`n'est pas manquant`,s17d0bcf0e62af81b:`Chargement de l'éditeur de formules`,s1822bffc2ecbbc97:`Chargement de la colonne`,s184501a399a815dc:`Trimestres`,s18498398aeb37b07:`La semaine commence le`,s187528426100c44e:`Aucune donnée`,s1bcab4b7e4a45f84:t.str`${0} Jours`,s1c4b5bbb758f3bce:`Jour de l'année (UTC)`,s1cdb6b07fe827486:`Numéro de la semaine`,s1d8604eae2ed4f70:`Renvoie la valeur la plus grande.`,s1e13a3cc7c6f80c8:`Arc tangente`,s1e593719b55d60c0:`MTD`,s1e7745005c37315c:`Décalage relatif`,s1ed6293b06ad5886:`Renvoie le sinus d'un angle en radians.`,s1f0916624a87d415:`Jour de l'année`,s1f7698c061c208c9:`Ouverture`,s1f9ad180f44ebfed:`Extrait la minute d'une valeur datetime.`,s2153d9eae4dcb251:`Tablette`,s21686b2b94deec80:`Renvoie la moyenne arithmétique de toutes les valeurs d'une colonne numérique. La valeur est calculée sur l'ensemble du jeu de données et ne change pas lors du filtrage.`,s2318e95167ae475f:`Aucun tableau de bord trouvé`,s235c998e582f148b:`Extrait le numéro de semaine ISO 8601 (1-53) d'une valeur date ou datetime en UTC.`,s23a368c93d7e6a90:`Métrique du curseur`,s23c421a5960773e0:`Afficher le top 5`,s24366bc5774f0d03:`Jour de l'année`,s2454d1f117573457:`Précision`,s247d110f13a3a288:`Jour de la semaine`,s24f3a319b88552c1:`Bas`,s25e13c6d08776558:`Activer/désactiver la synchronisation`,s26273c258ddde0e1:`Sélectionner...`,s268ecd1cef45a9a8:`Êtes-vous sûr ?`,s2695506122ffd614:`Seconde dans la minute`,s2718cebf7de190e1:`est entre`,s2798d16f4e04857e:`Minute dans l'heure`,s28aa195f43c4318f:`Divise une chaîne en parties à l'aide d'un délimiteur. Le premier argument est le texte à diviser, le deuxième le délimiteur et le troisième la position de la partie à renvoyer (à partir de 1).`,s2931f5506dbf5352:`Smartphone`,s2979b8c3da9caad6:`Arc sinus`,s2980eedca318d25d:`Regroupé`,s29e9a2758d0ffdc3:`Dimension`,s2a391b3d81594d0f:`Égal`,s2a491fbfcd87f3b3:`Multiplication`,s2b7239b5cae535c3:`Extrait le jour du mois d'une valeur date ou datetime.`,s2ba5f4d8f3bd7c57:`Ordre`,s2c1836a2a5065f4d:`Renvoie l'arc sinus d'un nombre.`,s2c4f6b473cf22fbf:`Modulo`,s2c8189544e3ea679:`Réessayer`,s2ceb11be2290bb1b:`Annuler`,s2d4d8b099a73e46a:`niveaux`,s2dc1bbbe252415c7:`Arrondit un nombre à un nombre de décimales spécifié.`,s2dcbfb305c43f0d4:`Échec du chargement de l'option`,s2e47760dd1d017c9:t.str`${0} Trimestre`,s2ea38ce3da088075:`Périodes`,s2f56fa0428bad0c9:`Actions de l'élément`,s2f64461723d3df5d:`Modifier`,s2f919a2f7a033efc:`Extrait le jour de la semaine (1-7, où 1 correspond à lundi) d'une valeur date ou datetime en UTC.`,s2fa05f91c1baa29b:t.str`Retirer ${0}`,s2fb2a49481123d6a:`Semaines`,s2fedf26ef08343d4:`est égal à`,s303f51ebddb596d4:`Menu du slot`,s319898f3495ff5ba:`Heure (UTC)`,s31f1afc1bfe1cb3a:`En savoir plus`,s33301138366e5381:`Arrondit un nombre à l'entier supérieur le plus proche.`,s33aff2834375cc26:`Additionne toutes les valeurs.`,s33f27edd976b2f5e:`Validation…`,s344ea8f4939cdc98:`Couleur`,s347ebd71e00fb5b4:`Soustrait la seconde valeur de la première valeur.`,s34e46e4e30ae57bd:`Trier par ordre décroissant`,s354ae458a550da1f:`Destination`,s360896d6e6234cc4:`Mise à jour de l’élément...`,s36352b65eb67e7ee:`Aucune variante pour le moment`,s36c3a657740756ff:`Rogner à droite`,s3723fa982dc948a8:`Renvoie le cosinus d'un angle en radians.`,s377ac272aa3b8068:`Renvoie la position d'une sous-chaîne dans une chaîne.`,s38ae79a1c10bdb7f:`Sinus hyperbolique`,s3924c3d773a80312:`dernier dispo`,s394212f423a47bf9:`Convertir la valeur`,s39817c5a1737a373:`Renvoie l'arc cosinus d'un nombre.`,s39fb2b49682b8c4b:`Compte le nombre de valeurs non vides.`,s3b3ea038c5d3bb06:`Division`,s3c6455b19fb1c3e4:`Changement absolu`,s3ca5e1e377396e68:`Renvoie le logarithme naturel d'un nombre.`,s3ceacffc8fe8d13f:t.str`${0} Années`,s3d4a4b3002d13785:`Année de la semaine ISO (UTC)`,s3d4b0e9d53cf2672:`Rechercher des tableaux de bord`,s3dcf7b255596a2c3:`Écart type`,s41f303448d636dfd:`Grille du tableau de bord`,s427be344bc32537d:`Renvoie la racine carrée d'un nombre.`,s430f8483cbea0e4b:t.str`${0} Minute`,s43f1ffa8263b3f7b:`Arrondir`,s4406e2a8264d6a3e:`Itinéraire`,s441accd1cd3484c9:`Minute`,s44503fed5f4c6031:`Extrait le jour de la semaine (1-7, où 1 correspond à lundi) d'une valeur date ou datetime.`,s463b8c4e92751ba5:`Options`,s46511d857f6f5e11:`Cosinus hyperbolique`,s467b030b9a34b3c8:`Moyenne`,s46a9060ed7649fb4:`Divise la première valeur numérique par la seconde valeur numérique.`,s475db7e53638454a:`Renvoie la tangente hyperbolique d'un nombre.`,s48e186fb300e5464:`Temps`,s495360fad288b2a4:`Seconde (UTC)`,s496a1e26dce422f8:`Renvoie la constante d'Euler e.`,s496c60f73bdf5725:`Agrégation`,s49d3019369929330:`Renvoie l'écart type d'échantillon sur toutes les valeurs d'une colonne numérique. La valeur est calculée sur l'ensemble du jeu de données et ne change pas lors du filtrage.`,s4b30fad1c34464e1:`supérieur ou égal à`,s4b58c01e2578f5e4:`Légende`,s4bc7a46e7b0c01ef:`Renvoie la première valeur non nulle parmi les arguments fournis.`,s4ce8a8483500a4ce:`Le tableau de bord est introuvable.`,s4d1fe77d90575785:`Date et heure`,s4d7765546aa4f455:`Supprime les espaces de fin d'une chaîne.`,s4dd9dd0ef75d9598:`Ajouter ou rechercher des colonnes`,s4e585eeea351a038:`contient`,s4efbcab48a433013:`Long`,s4f27f6b48a68b5c2:`Verrouiller`,s4f8a5da7750d1588:`Renvoie la tangente d'un angle en radians.`,s506186dc37c24a0e:`Validation de la formule`,s50d9e1b0c1636e99:`Géographie`,s510df80ecd8f51a7:`Bonne réponse`,s517acbf1f96324f9:`Poids`,s519d0aa80bbafd42:`semaine en cours`,s5224b9208b08cd30:`Extrait une partie d'une chaîne. Le premier argument est le texte, le deuxième la position de départ (le premier caractère est 1 ; une position négative compte à partir de la fin) et le troisième la longueur.`,s541c944915996780:`Additionne deux valeurs numériques.`,s54877b3f807f6e06:`Vérifie si les deux valeurs sont égales.`,s558a7e3ce83cb164:`Inverse une condition booléenne.`,s5590dbf7e425789d:`Libellé`,s55e343865792fc47:`Impossible de récupérer les champs de données du jeu de données`,s55f71f5d3158ed9f:`Saisie de prompt IA`,s5608e6e8c2170d84:`Nouveau paramètre…`,s5690f0e39a862e0b:`Effacer le calcul`,s572efb51e9cfc967:`Mise à jour du tableau de bord...`,s5758683fdb7446a9:`Date du filtre`,s576d8c40acfa9a54:`Renvoie le cosinus hyperbolique d'un nombre.`,s579d6beb02efb9a5:`Agrège sur l'ensemble du jeu de données, en ignorant le regroupement du graphique.`,s57ace73e7c6e719f:`n'est pas dans`,s58857c390f08335c:`Extrait la seconde d'une valeur datetime en UTC.`,s58b4b3ecd4eb6238:`Chaîne`,s58bee799432dbc69:`Addition`,s58ec693e33483873:`inférieur à`,s5a1b300572f81f73:`Bureau`,s5a801360c0e7cc6e:`Cercles`,s5b5005aae2ab472d:t.str`Retiré : ${0}`,s5be6bc0a925a85f1:`Renvoie une valeur lorsqu'une condition est vraie et une autre valeur lorsqu'elle est fausse.`,s5d73a3b3b68e6cba:`Défini par l'utilisateur`,s5d929ff1619ac0c9:`Rechercher`,s5e2654fb8587f442:`Dupliquer`,s5e8250fb85d64c23:`Clôture`,s5f29630f7fdb50b0:`Jeux de données`,s5f43af3669b1e098:`Source`,s602805b1eb3106c6:`Axe Y`,s6031881827829901:`24h`,s60b34c3c17dc35bd:`Années`,s6361bdb1b0dc327b:`Nombre de périodes`,s63d894b1ddb06289:`Description`,s64cf39cd55309346:`Minuscules`,s64ef2a6c2dd1d3d1:`Modifier`,s65486fa6ebaf3b2a:`Complétez tous les arguments vides.`,s656dfdc68a98502e:`Fonctions`,s6580790b036f0c6f:`actif`,s66722bc2ea775e05:`Désactivé`,s6683e715b4cc61e0:t.str`${0} Semaines`,s669b18c6d2d9c95b:`Aucun`,s66dcbbc0355c2759:`Dimanche`,s67a28499b3caab0c:`Mois (UTC)`,s680f01021b5e339d:`Semaine`,s695f2b47ca303436:t.str`${0} Année`,s69a9123fdc3c03f8:`Inférieur ou égal`,s6ab73c998850c5ab:`Expression`,s6b0bffd88024372f:`Heure`,s6b28afa2144a0cea:`Convertit une chaîne en majuscules.`,s6bcb74ae139e528d:`Modes d'écran`,s6bdd437aa8c2a009:t.str`Afficher ${0} jeux de données sélectionnés supplémentaires`,s6d02dc19e21eb49c:`Supérieur`,s6d2c233e1a4f6a2c:`Ajouter un jeu de données`,s6d8207aee4786374:`Moyenne`,s6de3d6e9660857a1:`Exemple`,s6dfd49b30943c586:`Renvoie le sinus hyperbolique d'un nombre.`,s708bbac083d05109:`ne commence pas par`,s709a09b6edea9d90:`Date/heure`,s70a773eb3133e5fa:`mois en cours`,s716a6024e3fe999c:`Afficher`,s71a5c9f4b68ef4d4:`Nombre`,s736157452e7fc7af:`Une erreur s'est produite. Veuillez réessayer.`,s7385537b8498510e:t.str`${0} Trimestres`,s74303ffcfb1f68e6:`Racine carrée`,s7468e87263dfff7e:`Identifiant`,s74dcd519e6563a26:`WTD`,s750a2c8ca7ec9e95:`Contenu du slot`,s7632fc9aa12bf382:`Mois`,s7649e65819d8abc7:`Configurer le graphique`,s7751dacf34111c3c:`Options de l'élément`,s780ab9f06af63fd4:`Date et heure actuelles`,s782f286a79cca35d:`Relatif`,s78789724e789221c:`Taille`,s78bc8724e7c2d3b8:`Sinus`,s78c18075d35b088c:`Paramètres disponibles`,s7954072388ad1dc4:`Comparaison`,s7a6878d41ffac284:`dernier complet`,s7c95876637f6a9d7:`Filtre`,s7cb5d294ed7634e3:`Jeu de données`,s7cd83983d844fac8:`Extrait la minute d'une valeur datetime en UTC.`,s7d21b9b1ef84ec90:`Renvoie la différence entre deux dates ou datetimes dans l'unité sélectionnée. Le premier argument est l'unité ('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' ou 'year') ; la différence est calculée de la deuxième date vers la troisième date.`,s7d7c7f843b13e167:t.str`'${0}' n'est pas une colonne, une fonction ou une valeur valide.`,s7dacc1388e15a544:`Valeurs de position`,s7e357543a7b769f4:`Colonne de date de décalage`,s81a08125e4bd1b33:`Conditionnel`,s846876f9b712e843:`n'est pas égal à`,s850f14c3e45ab426:`Dissocier le paramètre`,s8569fc3ba6761d29:`Réponse annulée.`,s85c1c1fb529b7269:`Rogner`,s862f5319f0256b94:`QTD`,s8665d029b5cb8b24:`Totaux généraux`,s898a5d3aef872ea2:`Basculer la condition de filtre, actuellement `,s898eb5552843fe54:`Restaurer l'état`,s8a03680664069fad:`Extrait le trimestre d'une valeur date en UTC.`,s8a1d7a873b78d41e:`Extrait le mois d'une valeur date ou datetime.`,s8a56a8c8bd19c9c7:`manquant`,s8a95c598e5cc7abd:`Largeur fixe`,s8b1883cb3a3a94e2:`En savoir plus (ouvre dans un nouvel onglet)`,s8ba2b22eee9bb57e:`Ajouter un filtre`,s8bb429cb2ed6e65b:`Renvoie le reste de la division de la première valeur par la seconde valeur.`,s8bd1517975b86680:`Création du tableau de bord...`,s8ce15f16e0d3a7a9:`Certains noms d'éléments n'ont pas pu être récupérés`,s8d0259032729869d:`Seconde`,s8d77a3cb03eea446:`Chargement des données...`,s8de2a5b227e80c95:`(x) périodes ou plus`,s8e66fedc4338fbc7:`Déplacer vers “Toujours regrouper par”`,s8fc32fa2d814c088:`Vérifie si la première valeur est supérieure ou égale à la seconde valeur.`,s90398d0f22360c50:`Renvoie la valeur absolue d'un nombre.`,s9094c0cde8fb5058:`Aucun résultat trouvé`,s927497135cdabe78:`Sans titre`,s92ab9b834d8fd1fc:`Sous-groupe`,s92c8c8ca61f1e379:`Sélectionner un jeu de données...`,s92dbc5a5a4a1d76c:`Est vide`,s943bfb2ed5ca76e0:`Année de la semaine ISO`,s94c08bd5d339f44d:t.str`${0} Heure`,s95ef9d52bd4d9973:`Tangente hyperbolique`,s965c503c3e42fdfe:`Activé`,s9689e928323dc124:`dernière (période) complète`,s979ed488f8afa660:`Aucune colonne sélectionnée pour le moment`,s981f232bd33ec927:`Taux`,s9854300ef4a37d18:`ne se termine pas par`,s986f3825f32ab7b2:`Rogner à gauche`,s987abe19fac8d108:`Somme`,s98b1cb8fb62909ec:`Groupe`,s98c337186f2d57c6:`Largeur de la bin`,s98db41a3eb532203:`année en cours`,s991d216e6efc157c:`Aucun résultat`,s993f1f0c740b7af9:`Survolez une fonction ou une agrégation pour voir sa description.`,s996319f23f6cf0b5:`se termine par`,s99cd654f308718a3:`Concatène deux chaînes.`,s9a7c8520b5e957dc:`Logarithme`,s9aab84d92c682c2b:`Modifier les données`,s9b2a2e47b83b8b89:`Paramètres de filtre`,s9b735551f188c724:`Rechercher des colonnes...`,s9b9009d4a5004fb8:`Regroupement`,s9b9d6ce29d05a298:`inférieur ou égal à`,s9bdf96efd336b522:`Différent de`,s9c074cd6b873a11d:`Compte le nombre de lignes.`,s9cbd1e1cb03c5209:`Expression de formule`,s9dddd160567f347a:`Vérifie si deux valeurs sont différentes.`,s9deeefd89ca8a81d:`Haut`,s9e40e59654c8ad67:`Colonne`,s9eacba092932f5ee:`Condition de filtre`,s9fd0e802a9910d49:`Remplace les occurrences d'une sous-chaîne par une autre sous-chaîne.`,sa020fbb0637d6f0b:`Ajouter/soustraire une durée`,sa22e91cafec90817:`Vérifie si la première valeur est inférieure ou égale à la seconde valeur.`,sa26d7a273074cbf9:`Aucune donnée disponible`,sa2801a1abc816722:`Agrégations`,sa345fd77e1d4843c:`Chargement des filtres`,sa3712c95628b8c72:`Agrège sur un regroupement personnalisé constitué de colonnes incluses et exclues.`,sa3adfcca86d48eb3:`Nombre aléatoire`,sa3c9339de23c1752:`Format`,sa4d736704efdd08c:`Élève un nombre à une puissance donnée.`,sa58e84810017ba6c:`Tableau de bord sans titre`,sa60bbe2c7d1439a0:`Circulaire`,sa696721931eda01a:`Valeur du filtre`,sa6a92648588602bf:`Réponse`,sa6ab5184d6315895:`De`,sa6ea4d401084d793:`Nom du paramètre`,sa6f2645578b2d2bc:`Année`,sa708584d6f291311:`Aucune colonne trouvée`,sa725945ab6bf8f5d:`Trouver une sous-chaîne`,sa76455c5550f9072:`Déplacer vers “Ne jamais regrouper par”`,sa7effa06c0f6784c:`supérieur à`,sa8b55cab62e439b5:`Supprimer la colonne`,sa8beb6b1182241ac:`Filtres`,sa91d4991fca9514e:`plus de`,saa8b48fefe67c4e3:`Afficher les identifiants de jeu de données et de colonne`,saaf4b132e79fc23a:`Remplacer le texte`,sab4faba2ca0fa686:`Concaténer`,sac0a2bf43e48f599:`Afficher 1 jeu de données sélectionné supplémentaire`,sac0a6d5fcd1137a4:`Semaine (UTC)`,sac76bf3771430ba8:`Renvoie e élevé à la puissance spécifiée.`,sac8256732f2ee1e5:`Données`,sac8b59943205b14f:`prochaine (période) complète`,sac94bb71f7737997:`Médiane`,sacae74732f544fca:`Jours`,sacbb1ccb24f8f136:t.str`${0} et ${1}`,sacfd70562764058b:`Majuscules`,saddc7a2dbf00d731:`Arrondir à l'inférieur`,sae9c3c733664239a:`Portée de regroupement de l'agrégation`,saf21b9a927cf58cc:`Un paramètre portant ce nom existe déjà.`,saf2a19f4eaf00f68:`ou plus`,saf63d34c8601dd41:t.str`${0}`,saf8cea241a5abd64:`Extrait l'année d'une valeur date en UTC.`,safb50c5216475471:t.str`+ ${0} de plus`,sb06a3310a509f99a:`Supprimer l'arrêt de couleur`,sb0e97584dc715a5c:`Complet`,sb0f3327210fe18fc:`Colonnes`,sb1f654608a3eea75:`Jour de la semaine`,sb3b793ff5cc1bc39:`prochaines (x) périodes`,sb3d4f79d9d8b71e5:`Envoyer`,sb47daaf9e1c4a905:`Mois`,sb522b611f2737246:`Renvoie la date et l'heure actuelles.`,sb569204089b4cac3:`Chat IA`,sb5803460fed8e45e:`Afficher la description`,sb59d68ed12d46377:`Chargement`,sb5ac2df22bc0f27d:`Non logique`,sb5b295e3a7500b9c:`Niveaux de durée`,sb644ed6a7eb739ac:`Supérieur à`,sb6513caf69971fb5:`Court`,sb67e0e7c0869f982:`Différence`,sb70671db5700ff60:`ne finit pas par`,sb718e03376f84294:`Logique`,sb8289037c37950fe:`Chargement des fonctions`,sb82e2142e160c9e3:`Jour de la semaine (UTC)`,sb85774dc5d18ff0f:`Confirmer`,sb85c82927a41bb82:`Tangente`,sb93e5af29aca2e3d:`est manquant`,sb93f886d60b95765:`Ajoute (ou soustrait) une durée à une valeur date ou datetime. Le premier argument est l'unité ('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' ou 'year'), le deuxième le nombre d'unités à ajouter (négatif pour soustraire) et le troisième la date ou datetime de départ.`,sb9f1339b3a61604a:`Niveaux`,sbaf87689cccc53eb:`1 élément`,sbbb97b1c63507dc0:`Nombre`,sbc7d0358df3d42f1:`Renvoie un nombre aléatoire entre 0 et 1.`,sbede5f82a01da07f:`Fonction d'agrégation`,sbeebe911264bed23:`dernières (x) périodes disponibles`,sbf5bf17d9a50d591:`Échec de la copie de l'élément`,sbfd689f810e84a16:`Extrait le trimestre d'une valeur date.`,sc056cc14a35b3e61:`Supprimer le filtre`,sc16e00a7a8b2fde2:`Retour`,sc184a4c8e41a3520:`Indiquez une valeur pour chaque agrégation.`,sc1bf67624fa6d498:`% de changement`,sc22c38e2ff74e2f0:`Partie de la scission`,sc2e0d19ed54560c8:`Exponentielle`,sc38938275665c143:`Construit une valeur géographique à partir de la latitude, de la longitude et de la référence spatiale.`,sc4842e5b8b90466a:`Secondes`,sc50a305aa25ccf5c:`Compte le nombre de valeurs distinctes.`,sc525f4a3348435b8:`Impossible de charger les tableaux de bord`,sc576bd8af97772e3:`Utiliser un paramètre`,sc592307ea80f16b9:`Inconnu`,sc5e35ae3ed59afa2:`Cosinus`,sc647b5f32767011d:`Convertit une chaîne en minuscules.`,sc66b38169f832f79:`Ajouter au tableau de bord`,sc6e49f3d37e54030:`Heure dans la journée`,sc6f5a4fc0583d734:`est dans`,sc70ad8207db856a8:`Coordonnées`,sc72895d56c4cdcb4:`Longueur de chaîne`,sc78ac75cec3bc641:`Extrait l'année de numérotation des semaines ISO d'une valeur date ou datetime en UTC.`,sc86e72c4fdd4e0ec:`Compter distinct`,sc8a98cb006054d7b:`Expression de filtre`,sc8d21540b3d89a69:`Ajouter un arrêt de couleur`,sc8f855b93b29d6e4:`Inclure / exclure`,sc919093c0ed095d1:`Extrait la seconde d'une valeur datetime.`,sc980855a000b76ea:`Inférieur`,sca4e3645a2e656e0:`Minute (UTC)`,scace072bef961918:`Lignes`,scb7bab1a17663a6c:`YTD`,scb870bd06692114f:`Ne jamais regrouper par`,scbaef981909d487e:`Évolution`,scc12e58c6ea9c6c5:`Conversion`,scc2f862c1d285c7d:`Réflexion en cours`,scc3056d8686094c8:`Ajouter un jeu de données ou un agent`,scec91d838431f76c:`Chargement des colonnes`,scf2bb2b0de9cdb8a:`Milliseconde`,scf9d4b3481d2d769:`Extraire une sous-chaîne`,scfb1e98368eb0a45:`Logarithme naturel`,sd05671183b4fe913:`Impossible de récupérer les données`,sd138b42dc3911a0f:`Extrait le jour de l'année d'une valeur date ou datetime en UTC.`,sd1f07cfd81510f34:`Nouvelle variante`,sd237be440de38cc7:`Trimestre`,sd28141a332dc31fa:`Jour du mois`,sd2d5d28a8d42f372:`Trimestre (UTC)`,sd3099ed7844b7eb2:`Jour de la semaine`,sd3abbb1dbbe0552f:`Impossible de charger les variantes`,sd3ec39c275aec063:`Dénominateur`,sd434e9c69417f3a0:`Évaluer cette réponse`,sd59e6017006a66d3:t.str`${0} Semaine`,sd5b1040899eb149d:`suivant complet`,sd66a74fff07a11fb:`{count} éléments sélectionnés`,sd6c5c734d7cfa9ec:`Renvoie le nombre de caractères d'une chaîne.`,sd794b878b98cd77c:t.str`${0} Milliseconde`,sd7b3b24cd10acbb6:t.str`Élément de grille ${0}`,sd7ebafacf602c9bd:`Lettre`,sd89a9a92d5da0fd0:`Arrondit un nombre à l'entier inférieur le plus proche.`,sd8b18575e1f4be43:`Renvoie l'arc tangente d'un nombre.`,sd8ecf227c7c49331:`Mathématique`,sdae4e03dc4e96d45:`{count} sélectionné(s)`,sdb73788b3c975f16:`Automatique`,sdb798be27601ed06:`Type de paramètre :`,sdbce9d3fdf676217:t.str`${0} Mois`,sdc673e73b5c13aea:`Supprimer`,sdd6c63f37eb62928:t.str`${0} Minutes`,sdd89a3395abab8ea:`Extrait l'année de numérotation des semaines ISO d'une valeur date ou datetime.`,sde325421dfb4048e:`Les filtres contenant OR ne peuvent pas être modifiés en mode AND uniquement.`,sde8c84234a516e7d:t.str`${0} Millisecondes`,sdebe99a43259a451:`Compter les lignes`,sdfbe1b87d8712bc7:`En quoi puis-je vous aider ?`,sdfeb2151b9e78d4d:`ne contient pas`,se01bc9eea39688ad:`Mois de l'année`,se063ce6562716192:`Chargement des agrégations`,se0955919920ee87d:`Jour`,se1126afc2d66422f:`Supprime les espaces de début d'une chaîne.`,se211e3d21bbf3bff:`Mesure`,se25d956db80a4d78:`Arc cosinus`,se2b7530e30fa607d:`Comparaison de période`,se2d6ee866b592a9f:`plus de (x) périodes`,se3a1aa0525f22ee4:`Mesures`,se415bbea6c976fb1:`Grouper par`,se53005c74eea3a45:`Extrait le mois d'une valeur date ou datetime en UTC.`,se5316cbaa025f028:`suivant`,se592b9bec3ffc953:`Convertit le premier argument vers le type indiqué par le deuxième argument. Les types possibles sont 'hierarchy', 'numeric', 'datetime' et 'boolean'.`,se63e1798c5b1ab4d:`Jour du mois (UTC)`,se715be190539325a:`il y a`,se77797889cac2fec:t.str`${0} Mois`,se8d0f19a0eac8103:`Extrait l'heure d'une valeur datetime.`,se8ddc90a9d7c709d:`niveau`,se960538baf78f63b:t.str`${0} Seconde`,se9e535bb9591039e:`Sélectionner une expression`,se9ff6e9a514d8cf9:`Lundi`,sea3f1934bd770b70:`Renvoie le logarithme d'un nombre pour une base spécifique.`,sea4f08110bb8f15d:`Supprimer`,seb3937089958c541:`Supérieur ou égal`,seb4eae68d45315b7:`Minimum`,seb9c440de1ce6044:`commence par`,seba8eb8fefd4afe9:`Renvoie la valeur la plus petite.`,sec2f608650e36ac5:`dernière période complète`,secf42ec1c7c47be2:`non manquant`,sed1e9f2d0f29e036:`Pas de poids`,sed522484748a787d:`Création de l’élément...`,see0ec27fb03d880e:`Minutes`,seeccc1a89151be8a:`Extrait le jour du mois d'une valeur date ou datetime en UTC.`,sef186952c82f8ce9:`Extrait l'année d'une valeur date.`,sef49aec68fd1dc66:`Nom`,sefc8e08d71b8530f:`Agents`,sf095cc47a4ff9c3d:`Formule`,sf2c23d06cc64e8dd:`Nouveau tableau de bord`,sf2d322b3ea1ff824:`Arrondir au supérieur`,sf4423f120eba0c11:`Vérifie si la première valeur est inférieure à la seconde valeur.`,sf4a3a5898b69b81f:t.str`${0} Jour`,sf518b78d9734f57b:`ne commence pas par`,sf53ceb4945e8f1fb:`Argument vide. Saisissez une valeur ou déposez une colonne, une fonction ou une agrégation.`,sf6cda8263b3170af:`Utiliser la période à ce jour pour les périodes incomplètes`,sf6dd5d79bf159456:`Suggestions de prompts`,sf70eaf9ab4c93082:`non cont`,sf95145f204b001ac:`Toujours regrouper par`,sf9aee319a006c9b4:`Ajouter`,sf9c10516a62a23db:`Afficher comme`,sfa069719a050be66:`ET`,sfa2d0aa30ee5aa58:`dernières (x) périodes`,sfa44b98afaa0e7c6:`Rechercher des colonnes`,sfad9ed343e97551c:`Valeur passée`,sfb1d53c7660dcfc5:t.str`${0}, et ${1} de plus`,sfb9e6d0c6baa99f5:`Correspond au plage de dates visible dans le graphique ou la table`,sfbac36245480ddbc:`Séparateur`,sfbac39f6e9672a74:`Retour à la portée de regroupement`,sfd21da55eb7a055a:t.str`${0} Heures`,sfd3c65c07f87b869:`Ajout au tableau de bord`,sfda1c9d0be35cec8:`trimestre en cours`,sfe9b4269fb997134:`Multiplie deux valeurs numériques.`,sff5bb7742c2896c8:`Cible`,sffa721bb6aa3128d:`Rechercher...`,sffb8751d8069b701:`Année (UTC)`,sffce88436a4390cf:`Impossible de charger la configuration du graphique. Veuillez réessayer.`,"slot-label-name":`Nom`,"slot-label-time":`Temps`,scefc24b75c5d407c:`Only PNG, JPEG, WebP, and GIF images can be attached.`,s2ae727973bb033a3:`Failed to attach image`,sf55c258a1346a96b:`Image is too large. Maximum size is 15 MB.`,s62ce113b16e1d6cb:t.str`You can attach up to ${0} images.`,se03f6e40172e7803:`Voice recording failed`,sccc63af4eff93de2:`Failed to transcribe audio`,sb071e9aa21ff04fe:`Add attachments`,sc099a0c95839fcd4:`Attached image`};exports.templates=n;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2026 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
|
7
|
-
* This license allows users with a current active Luzmo account
|
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
-
*
|
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
-
* SOFTWARE.
|
|
19
|
-
* */
|
|
20
|
-
const e=require("./rolldown-runtime-DbbDpzbe.cjs"),t=require("./info-tooltip-options.config-B9T0cwSM.cjs"),n=require("./interactivity-options.config-Bzk2L-qh.cjs"),r=require("./slot-content-DYiwtIBX.cjs");var i=e.n({default:()=>a}),a=[{key:`general`,type:`group`,open:!0,children:[{key:`display.title`,control:{type:`switch`,label:`Title`,default:!0}},{key:`display.legend`,control:{type:`switch`,label:`Legend`,default:!0,calculateValue:({options:e})=>e?.display?.legend!==!1||e?.display?.categoryLabels===!0,toOptions:({options:e,value:t})=>({...e,display:{...e.display,legend:t,categoryLabels:!1}})}},{key:`display.categoryLabels`,control:{type:`radio-button-group`,label:`Display legend as`,default:`labels`,enum:[`list`,`labels`],parseValue:e=>e?`labels`:`list`,toOptions:({options:e,value:t})=>({...e,display:{...e.display,categoryLabels:t===`labels`,legend:t!==`labels`}})},visibleIf:({options:e})=>e?.display?.legend!==!1||e?.display?.categoryLabels===!0},{key:`display.values`,control:{type:`switch`,label:`Show values`,default:!1}},{key:`funnel.absValue`,control:{type:`switch`,label:`Show absolute values`,default:!0},visibleIf:({options:e})=>e?.display?.values===!0},{key:`funnel.perc`,control:{type:`picker`,label:`Percentage`,default:`hide`,enum:[`hide`,`ofMax`,`ofTot`]},visibleIf:({options:e})=>e?.display?.values===!0}]},{key:`funnel`,type:`group`,open:!0,children:[{key:`mode`,control:{type:`picker`,label:`Mode`,default:`dynamicWidth`,enum:[`dynamicWidth`,`dynamicHeight`,`regular`]}},{key:`funnel.rectangle`,control:{type:`switch`,label:`Rectangular`,default:!1}},{key:`sort.by`,control:{type:`picker`,label:`Order`,default:`measure`,enum:({slots:e})=>{let t=e?.find(e=>e?.name===`category`)?.content?.[0]?.type;return r.t(t)?[`measure`,`category`,`auto`]:[`measure`,`category`]}}},{key:`sort.direction`,control:{type:`picker`,label:`Direction`,default:`desc`,enum:[`asc`,`desc`]},visibleIf:({options:e})=>e?.sort?.by!==`auto`},{key:`limit.number`,control:{type:`number-field`,label:`Limit`,default:1e5,min:1,max:1e5}}]},{key:`legend`,type:`group`,open:!1,children:[{key:`legend.position`,control:{label:`Position`,type:`position-picker`,default:`right`,enum:[`topLeft`,`top`,`topRight`,`right`,`bottomRight`,`bottom`,`bottomLeft`,`left`]}},{key:`legend.customOrder`,control:{label:`Custom order`,description:`Drag items in the chart legend to set the order.`,type:`switch`,default:!1}},{key:`interactivity.legendReorder`,control:{label:`Allow viewers to reorder`,type:`switch`,default:!1},visibleIf:({options:e})=>e?.legend?.customOrder===!0}],visibleIf:({options:e})=>e?.display?.legend===!0&&String(e.display?.categoryLabels)===`false`},t.t(),n.t({select:{default:!0}})];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|