@luzmo/analytics-components-kit 1.4.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 +12 -2
- package/angular/components/ai-chat-empty-state.ts +1 -1
- package/angular/components/ai-chat.ts +10 -3
- package/angular/components/display-settings-period-over-period.ts +25 -4
- package/angular/components/display-settings.ts +24 -3
- 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 +7 -0
- package/angular/components/item-slot-picker.ts +15 -1
- package/angular/components/slot-menu.ts +15 -1
- 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/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/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 +4 -1
- package/angular/esm/components/item-slot-picker-panel.js +10 -2
- package/angular/esm/components/item-slot-picker.d.ts +7 -2
- package/angular/esm/components/item-slot-picker.js +18 -2
- 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/index.cjs +1 -1
- package/components/add-to-dashboard/index.js +1 -1
- package/components/{add-to-dashboard-Bu6S3qVz.js → add-to-dashboard-B5egTFre.js} +3 -3
- package/components/{add-to-dashboard-BtzTZdjN.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/{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-LDXhe1Bp.cjs → filters-BLd6si6W.cjs} +1 -1
- package/components/{filters-DEpmh9Nj.js → filters-CYSKF57z.js} +2 -2
- 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/index.cjs +1 -1
- package/components/interactive-viz-item/index.js +1 -1
- package/components/{interactive-viz-item-Cc3Ix95e.js → interactive-viz-item-CngeQ579.js} +2 -2
- package/components/{interactive-viz-item-SF12d97t.cjs → interactive-viz-item-qrC0vC2O.cjs} +1 -1
- 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-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 +2 -0
- package/components/{item-slot-picker-panel-DprM9Rli.js → item-slot-picker-panel-CIxGfaz3.js} +73 -62
- 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 +494 -31
- 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-DZsidiCl.js → chart-helpers-CKlLA7d7.js} +1 -1
- 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-DpSrH3IP.js → data-broker-CUCszU0S.js} +1 -1
- package/standalone/chunks/de-CBvR-tEX.js +2 -0
- package/standalone/chunks/{display-settings-binning-DhHlclWH.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-CUpigDcs.js → display-settings-grand-totals-B83suS2N.js} +1 -1
- package/standalone/chunks/{display-settings-numeric-BLWF54Jx.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-lhg_WVDK.js → filters-Dk7oDe_z.js} +18 -16
- package/standalone/chunks/{formula-codemirror-DZMzLE2I.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-Bl1HR1JK.js → item-option-action-button-group-C1ke6Jb3.js} +1 -1
- package/standalone/chunks/{item-option-base-DF24wTyv.js → item-option-base-DSAq8pgm.js} +1 -1
- package/standalone/chunks/{item-option-color-palette-picker-MkIIn56p.js → item-option-color-palette-picker-waW4sAIj.js} +1 -1
- package/standalone/chunks/{item-option-color-picker-CxosMo_p.js → item-option-color-picker-9e_3aSen.js} +1 -1
- package/standalone/chunks/{item-option-color-range-C7C70r4J.js → item-option-color-range-CWmg4Tdk.js} +1 -1
- package/standalone/chunks/{item-option-guidelines-iu8yWRzr.js → item-option-guidelines-BnLLvaFI.js} +1 -1
- package/standalone/chunks/{item-option-multi-language-field-foanqCdr.js → item-option-multi-language-field-BN9u0rGs.js} +1 -1
- package/standalone/chunks/{item-option-number-field-ByVD4oq0.js → item-option-number-field-D2gvKQN_.js} +1 -1
- package/standalone/chunks/{item-option-panel-Bya-K7HH.js → item-option-panel-BWQpttWc.js} +2 -2
- package/standalone/chunks/{item-option-picker-CqNNVIML.js → item-option-picker-BElgjysX.js} +1 -1
- package/standalone/chunks/{item-option-position-picker-BjCFVtDH.js → item-option-position-picker-B7FGJPTv.js} +1 -1
- package/standalone/chunks/{item-option-positions-number-field-BJJtXZL-.js → item-option-positions-number-field-CyCWqMby.js} +1 -1
- package/standalone/chunks/{item-option-radio-button-group-C5bxsD85.js → item-option-radio-button-group-DjMjG9W3.js} +1 -1
- package/standalone/chunks/{item-option-slider-DUXWz70B.js → item-option-slider-CJrobai6.js} +1 -1
- package/standalone/chunks/{item-option-switch-BHyJuOkP.js → item-option-switch-DTK0eRzd.js} +1 -1
- package/standalone/chunks/{item-option-text-field-rBZY9OX4.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-DS9O1oyy.js → load-data-fields-for-datasets-Df6IGwne.js} +1 -1
- package/standalone/chunks/{localize-DLl7tgQp.js → localize-DIWFho02.js} +1 -1
- 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 +1 -1
- package/standalone/item-grid.js +1 -1
- package/standalone/manifest.json +92 -87
- package/types/ai-chat.types.d.ts +60 -0
- 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/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/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/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-Cw3UCK03.cjs +0 -84
- 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/de-BkB0q1Eg.js +0 -2
- package/standalone/chunks/display-settings-datetime-C8xvOvi4.js +0 -199
- package/standalone/chunks/display-settings-period-over-period-COd4tvUw.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-DNsyAwgq.js +0 -2
- package/standalone/chunks/en-GB-Di3OzVdL.js +0 -2
- package/standalone/chunks/en-US-DNsyAwgq.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-BM82vSXi.js +0 -431
- package/standalone/chunks/line-chart-options.config--_LXaPbB.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
|
@@ -19,67 +19,68 @@
|
|
|
19
19
|
* */
|
|
20
20
|
import "./tokens-6HmQYnEP.js";
|
|
21
21
|
import { t as e } from "./decorate-B2TzfnLZ.js";
|
|
22
|
-
import { t } from "./localized-mixin-
|
|
22
|
+
import { t } from "./localized-mixin-BdXrQldH.js";
|
|
23
23
|
import { n } from "./data-broker-C1Iz71TN.js";
|
|
24
24
|
import { c as r } from "./type-check-D6K_INvg.js";
|
|
25
25
|
import { n as i, t as a } from "./calculate-data-field-icon-BrFZHlNR.js";
|
|
26
26
|
import { t as o } from "./localize-BNystXyK.js";
|
|
27
27
|
import { n as s } from "./periods.const-DZBBRkvS.js";
|
|
28
|
-
import {
|
|
29
|
-
import "./
|
|
30
|
-
import
|
|
31
|
-
import "./filter-
|
|
32
|
-
import
|
|
28
|
+
import { i as c, n as l, r as u, t as d } from "./expressions-B4TetNaL.js";
|
|
29
|
+
import "./filter-expression-picker-BuXFbOXQ.js";
|
|
30
|
+
import "./data-fields-select-DP80Miah.js";
|
|
31
|
+
import { a as f, o as p, r as m } from "./filter-parameter-picker-Dhdrwokt.js";
|
|
32
|
+
import "./filter-value-picker-Df2otXtB.js";
|
|
33
|
+
import { luzmoIcon as h } from "@luzmo/icons";
|
|
33
34
|
import "@luzmo/lucero/icon";
|
|
34
35
|
import "@luzmo/lucero/tooltip";
|
|
35
|
-
import { html as
|
|
36
|
-
import { property as
|
|
37
|
-
import { localized as
|
|
36
|
+
import { html as g, nothing as _, unsafeCSS as v } from "lit";
|
|
37
|
+
import { property as y, state as b } from "lit/decorators.js";
|
|
38
|
+
import { localized as x, msg as S, str as C } from "@lit/localize";
|
|
38
39
|
import "@luzmo/lucero/progress-circle";
|
|
39
|
-
import { ifDefined as
|
|
40
|
-
import { ElementSizes as
|
|
40
|
+
import { ifDefined as w } from "lit/directives/if-defined.js";
|
|
41
|
+
import { ElementSizes as T, LuzmoElement as E, SizedMixin as D } from "@luzmo/lucero/utils";
|
|
41
42
|
import "@luzmo/lucero/badge";
|
|
42
43
|
// src/utils/formatter/localized-template.ts
|
|
43
|
-
var
|
|
44
|
+
var O = [
|
|
44
45
|
"",
|
|
45
46
|
"",
|
|
46
47
|
""
|
|
47
|
-
],
|
|
48
|
-
function
|
|
49
|
-
let n = RegExp(`(${
|
|
50
|
-
for (let i of e.replaceAll(
|
|
51
|
-
let e =
|
|
48
|
+
], k = "";
|
|
49
|
+
function A(e, t) {
|
|
50
|
+
let n = RegExp(`(${O.join("|")})`, "u"), r = [];
|
|
51
|
+
for (let i of e.replaceAll(k, "").split(n)) {
|
|
52
|
+
let e = O.indexOf(i);
|
|
52
53
|
e === -1 ? i && r.push(i) : r.push(t[e]);
|
|
53
54
|
}
|
|
54
55
|
return r;
|
|
55
56
|
}
|
|
56
57
|
// src/utils/filters/filter-text.ts
|
|
57
|
-
var
|
|
58
|
+
var j = /* @__PURE__ */ new Set([
|
|
58
59
|
"last_now",
|
|
59
60
|
"last_available",
|
|
60
61
|
"next_now",
|
|
61
62
|
"more_than_ago",
|
|
62
63
|
"or_more_ago"
|
|
63
|
-
]),
|
|
64
|
+
]), ee = /* @__PURE__ */ new Set(["last_completed", "next_full"]), te = /* @__PURE__ */ new Set([
|
|
64
65
|
"? is null",
|
|
65
66
|
"? is not null",
|
|
66
67
|
"to_date"
|
|
67
|
-
]),
|
|
68
|
+
]), ne = /* @__PURE__ */ new Set([
|
|
68
69
|
"? = ?",
|
|
69
70
|
"? != ?",
|
|
70
71
|
"? < ?",
|
|
71
72
|
"? <= ?",
|
|
72
73
|
"? > ?",
|
|
73
74
|
"? >= ?"
|
|
74
|
-
]),
|
|
75
|
-
function
|
|
75
|
+
]), re = 3, M = 32;
|
|
76
|
+
function N(e) {
|
|
76
77
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
-
return
|
|
79
|
+
function P(e) {
|
|
80
|
+
return N(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;
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
-
return e.length <=
|
|
82
|
+
function F(e) {
|
|
83
|
+
return e.length <= M ? {
|
|
83
84
|
display: e,
|
|
84
85
|
truncated: !1
|
|
85
86
|
} : {
|
|
@@ -87,7 +88,7 @@ function oe(e) {
|
|
|
87
88
|
truncated: !0
|
|
88
89
|
};
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function I(e, t, n) {
|
|
91
92
|
try {
|
|
92
93
|
return new Intl.ListFormat(e || void 0, {
|
|
93
94
|
style: "long",
|
|
@@ -97,42 +98,42 @@ function j(e, t, n) {
|
|
|
97
98
|
return t.join(", ");
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
|
-
function
|
|
101
|
-
let r =
|
|
101
|
+
function L(e, t, n) {
|
|
102
|
+
let r = ce(e, t, n), { display: i, truncated: a } = F(r);
|
|
102
103
|
return {
|
|
103
104
|
label: i,
|
|
104
105
|
full: r,
|
|
105
106
|
truncated: a
|
|
106
107
|
};
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
-
return e === 1 ?
|
|
109
|
+
function R(e) {
|
|
110
|
+
return e === 1 ? S("1 item", { desc: "One selected hierarchy value whose name is still loading" }) : S(C`${e} items`, { desc: "Selected hierarchy values whose names are still loading" });
|
|
110
111
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
112
|
+
function z() {
|
|
113
|
+
return S("Some item names could not be retrieved", { desc: "Tooltip when a hierarchy filter value is still an id after name lookup" });
|
|
113
114
|
}
|
|
114
|
-
function
|
|
115
|
-
return !!(t?.type === "hierarchy" && t.datasetId && t.fieldId && !(
|
|
115
|
+
function B(e, t) {
|
|
116
|
+
return !!(t?.type === "hierarchy" && t.datasetId && t.fieldId && !(N(e) && e.name !== void 0) && J(e));
|
|
116
117
|
}
|
|
117
|
-
function
|
|
118
|
+
function V(e, t, n) {
|
|
118
119
|
let r = n?.datasetId, i = n?.fieldId;
|
|
119
120
|
return !r || !i ? [] : e.flatMap((e) => {
|
|
120
|
-
if (!
|
|
121
|
-
let a =
|
|
122
|
-
return a ? t.hierarchyLabels?.get(
|
|
121
|
+
if (!B(e, n)) return [];
|
|
122
|
+
let a = J(e);
|
|
123
|
+
return a ? t.hierarchyLabels?.get(q(r, i, a)) ? [] : [a] : [];
|
|
123
124
|
});
|
|
124
125
|
}
|
|
125
|
-
function
|
|
126
|
+
function H(e, t, n) {
|
|
126
127
|
return n.hierarchyLabelsLoading && t.length > 0 ? {
|
|
127
|
-
valueText:
|
|
128
|
+
valueText: R(t.length),
|
|
128
129
|
valuePending: !0
|
|
129
130
|
} : n.hierarchyLabels && !n.hierarchyLabelsLoading && t.length > 0 && !e.valueTooltip ? {
|
|
130
131
|
...e,
|
|
131
|
-
valueTooltip:
|
|
132
|
+
valueTooltip: z()
|
|
132
133
|
} : e;
|
|
133
134
|
}
|
|
134
|
-
function
|
|
135
|
-
let r = e.map((e) =>
|
|
135
|
+
function U(e, t, n) {
|
|
136
|
+
let r = e.map((e) => L(e, t, n)), i = r.map((e) => e.full), a = I(t.contentLanguage, i, "conjunction");
|
|
136
137
|
if (e.length === 1) {
|
|
137
138
|
let [e] = r;
|
|
138
139
|
return {
|
|
@@ -140,17 +141,17 @@ function R(e, t, n) {
|
|
|
140
141
|
valueTooltip: e.truncated ? e.full : void 0
|
|
141
142
|
};
|
|
142
143
|
}
|
|
143
|
-
let o = Math.min(
|
|
144
|
+
let o = Math.min(re, r.length), s = r.length - o, c = r.slice(0, o).map((e) => e.label), l = r.some((e) => e.truncated), u;
|
|
144
145
|
if (s > 0) {
|
|
145
|
-
let e =
|
|
146
|
-
u =
|
|
147
|
-
} else u =
|
|
146
|
+
let e = I(t.contentLanguage, c, "unit");
|
|
147
|
+
u = S(C`${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\"" });
|
|
148
|
+
} else u = I(t.contentLanguage, r.map((e) => e.label), "conjunction");
|
|
148
149
|
return {
|
|
149
150
|
valueText: u,
|
|
150
151
|
valueTooltip: s > 0 || l ? a : void 0
|
|
151
152
|
};
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
+
function W(e, t, n) {
|
|
154
155
|
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") {
|
|
155
156
|
let t = String(e);
|
|
156
157
|
return t.length > 0 ? t : n;
|
|
@@ -161,16 +162,16 @@ function z(e, t, n) {
|
|
|
161
162
|
}
|
|
162
163
|
return n;
|
|
163
164
|
}
|
|
164
|
-
function
|
|
165
|
+
function G(e, t) {
|
|
165
166
|
for (let n of t) {
|
|
166
167
|
let t = e[n];
|
|
167
168
|
if (typeof t == "string" && t.length > 0) return t;
|
|
168
169
|
}
|
|
169
170
|
}
|
|
170
|
-
function
|
|
171
|
-
let n =
|
|
171
|
+
function K(e, t) {
|
|
172
|
+
let n = G(e, ["datasetId", "dataset_id"]), r = G(e, ["columnId", "column_id"]), i = G(e, ["formulaId", "formula_id"]), a = typeof e.formula == "string" ? e.formula : void 0, o = t.datasets.find((e) => e.id === n), s = o ? W(o.name, t.contentLanguage, "") : "";
|
|
172
173
|
if (i) {
|
|
173
|
-
let e = o?.formulas?.find((e) => e.id === i), r =
|
|
174
|
+
let e = o?.formulas?.find((e) => e.id === i), r = W(e?.name, t.contentLanguage, i);
|
|
174
175
|
return {
|
|
175
176
|
label: r,
|
|
176
177
|
tooltip: s ? `${s} · ${r}` : r,
|
|
@@ -194,7 +195,7 @@ function V(e, t) {
|
|
|
194
195
|
formula: !0,
|
|
195
196
|
datasetId: n
|
|
196
197
|
};
|
|
197
|
-
let l = r ? o?.columns?.find((e) => e.id === r) : void 0, u = r ?? (typeof e.columnExpression == "string" ? e.columnExpression : ""), d =
|
|
198
|
+
let l = r ? o?.columns?.find((e) => e.id === r) : void 0, u = r ?? (typeof e.columnExpression == "string" ? e.columnExpression : ""), d = W(l?.name, t.contentLanguage, u);
|
|
198
199
|
return {
|
|
199
200
|
label: d,
|
|
200
201
|
tooltip: s ? `${s} · ${d}` : d,
|
|
@@ -205,25 +206,25 @@ function V(e, t) {
|
|
|
205
206
|
fieldId: r
|
|
206
207
|
};
|
|
207
208
|
}
|
|
208
|
-
function
|
|
209
|
+
function ie(e) {
|
|
209
210
|
let t = s.find((t) => t.level === e);
|
|
210
211
|
return t ? t.i18n() : "";
|
|
211
212
|
}
|
|
212
|
-
function
|
|
213
|
+
function ae(e, t) {
|
|
213
214
|
switch (t) {
|
|
214
|
-
case 1: return e === 1 ?
|
|
215
|
-
case 2: return e === 1 ?
|
|
216
|
-
case 3: return e === 1 ?
|
|
217
|
-
case 4: return e === 1 ?
|
|
218
|
-
case 5: return e === 1 ?
|
|
219
|
-
case 6: return e === 1 ?
|
|
220
|
-
case 7: return e === 1 ?
|
|
221
|
-
case 8: return e === 1 ?
|
|
222
|
-
case 9: return e === 1 ?
|
|
223
|
-
default: return
|
|
215
|
+
case 1: return e === 1 ? S(C`${e} Year`, { desc: "Singular relative filter quantity in years" }) : S(C`${e} Years`, { desc: "Plural relative filter quantity in years" });
|
|
216
|
+
case 2: return e === 1 ? S(C`${e} Quarter`, { desc: "Singular relative filter quantity in quarters" }) : S(C`${e} Quarters`, { desc: "Plural relative filter quantity in quarters" });
|
|
217
|
+
case 3: return e === 1 ? S(C`${e} Month`, { desc: "Singular relative filter quantity in months" }) : S(C`${e} Months`, { desc: "Plural relative filter quantity in months" });
|
|
218
|
+
case 4: return e === 1 ? S(C`${e} Week`, { desc: "Singular relative filter quantity in weeks" }) : S(C`${e} Weeks`, { desc: "Plural relative filter quantity in weeks" });
|
|
219
|
+
case 5: return e === 1 ? S(C`${e} Day`, { desc: "Singular relative filter quantity in days" }) : S(C`${e} Days`, { desc: "Plural relative filter quantity in days" });
|
|
220
|
+
case 6: return e === 1 ? S(C`${e} Hour`, { desc: "Singular relative filter quantity in hours" }) : S(C`${e} Hours`, { desc: "Plural relative filter quantity in hours" });
|
|
221
|
+
case 7: return e === 1 ? S(C`${e} Minute`, { desc: "Singular relative filter quantity in minutes" }) : S(C`${e} Minutes`, { desc: "Plural relative filter quantity in minutes" });
|
|
222
|
+
case 8: return e === 1 ? S(C`${e} Second`, { desc: "Singular relative filter quantity in seconds" }) : S(C`${e} Seconds`, { desc: "Plural relative filter quantity in seconds" });
|
|
223
|
+
case 9: return e === 1 ? S(C`${e} Millisecond`, { desc: "Singular relative filter quantity in milliseconds" }) : S(C`${e} Milliseconds`, { desc: "Plural relative filter quantity in milliseconds" });
|
|
224
|
+
default: return S(C`${e}`, { desc: "Relative filter quantity" });
|
|
224
225
|
}
|
|
225
226
|
}
|
|
226
|
-
function
|
|
227
|
+
function oe(e, t) {
|
|
227
228
|
let n = new Date(e);
|
|
228
229
|
if (Number.isNaN(n.getTime())) return e;
|
|
229
230
|
try {
|
|
@@ -236,100 +237,100 @@ function W(e, t) {
|
|
|
236
237
|
return e;
|
|
237
238
|
}
|
|
238
239
|
}
|
|
239
|
-
function
|
|
240
|
+
function se(e) {
|
|
240
241
|
return /^\d{4}-\d{2}-\d{2}(?:T|$)/.test(e);
|
|
241
242
|
}
|
|
242
|
-
function
|
|
243
|
+
function q(e, t, n) {
|
|
243
244
|
return `${e}:${t}:${n}`;
|
|
244
245
|
}
|
|
245
|
-
function
|
|
246
|
+
function J(e) {
|
|
246
247
|
if (typeof e == "string" || typeof e == "number") return String(e);
|
|
247
|
-
if (
|
|
248
|
+
if (N(e) && (typeof e.id == "string" || typeof e.id == "number")) return String(e.id);
|
|
248
249
|
}
|
|
249
|
-
function
|
|
250
|
-
if (n?.type === "hierarchy" && n.datasetId && n.fieldId && !(
|
|
251
|
-
let r =
|
|
250
|
+
function ce(e, t, n) {
|
|
251
|
+
if (n?.type === "hierarchy" && n.datasetId && n.fieldId && !(N(e) && e.name !== void 0)) {
|
|
252
|
+
let r = J(e), i = r === void 0 ? void 0 : t.hierarchyLabels?.get(q(n.datasetId, n.fieldId, r));
|
|
252
253
|
if (i) return i;
|
|
253
254
|
}
|
|
254
255
|
if (typeof e == "number" && Number.isFinite(e)) return new Intl.NumberFormat(t.contentLanguage || void 0).format(e);
|
|
255
|
-
if (typeof e == "string") return
|
|
256
|
+
if (typeof e == "string") return se(e) ? oe(e, t) : e;
|
|
256
257
|
if (typeof e == "boolean") return String(e);
|
|
257
|
-
if (
|
|
258
|
+
if (N(e)) {
|
|
258
259
|
if (typeof e.parameter == "string") return e.parameter;
|
|
259
260
|
if (e.name !== void 0) {
|
|
260
|
-
let n =
|
|
261
|
+
let n = W(e.name, t.contentLanguage, "");
|
|
261
262
|
if (n) return n;
|
|
262
263
|
}
|
|
263
264
|
if (typeof e.id == "string" || typeof e.id == "number") return String(e.id);
|
|
264
265
|
}
|
|
265
266
|
return "";
|
|
266
267
|
}
|
|
267
|
-
function
|
|
268
|
-
let n =
|
|
268
|
+
function le(e, t) {
|
|
269
|
+
let n = d().filter((t) => t.expression === e), r = N(t) && typeof t.unit == "number" ? t.unit : void 0;
|
|
269
270
|
return (e === "to_date" && r !== void 0 ? n.find((e) => e.unit === r) ?? n[0] : n[0])?.tiny ?? e;
|
|
270
271
|
}
|
|
271
|
-
function
|
|
272
|
-
if (
|
|
273
|
-
if (
|
|
272
|
+
function ue(e, t, n, r) {
|
|
273
|
+
if (te.has(e) || t == null) return { valueText: "" };
|
|
274
|
+
if (N(t) && typeof t.parameter == "string") {
|
|
274
275
|
let e = t.parameter;
|
|
275
|
-
if (!
|
|
276
|
+
if (!P(t)) return { valueText: e };
|
|
276
277
|
}
|
|
277
|
-
if (
|
|
278
|
+
if (ne.has(e) && P(t)) return {
|
|
278
279
|
valueText: "",
|
|
279
|
-
valueField:
|
|
280
|
+
valueField: K(t, n)
|
|
280
281
|
};
|
|
281
282
|
if (e === "? between ?" && Array.isArray(t) && t.length === 2) {
|
|
282
|
-
let e =
|
|
283
|
-
return
|
|
284
|
-
valueText:
|
|
285
|
-
valueTooltip: e.truncated || i.truncated ?
|
|
283
|
+
let e = L(t[0], n, r), i = L(t[1], n, r);
|
|
284
|
+
return H({
|
|
285
|
+
valueText: S(C`${e.label} and ${i.label}`, { desc: "Inclusive range shown between two filter values" }),
|
|
286
|
+
valueTooltip: e.truncated || i.truncated ? S(C`${e.full} and ${i.full}`, {
|
|
286
287
|
id: "filter-range-tooltip",
|
|
287
288
|
desc: "Full inclusive range shown in a tooltip"
|
|
288
289
|
}) : void 0
|
|
289
|
-
},
|
|
290
|
+
}, V(t, n, r), n);
|
|
290
291
|
}
|
|
291
|
-
if (
|
|
292
|
-
if (
|
|
293
|
-
if (Array.isArray(t)) return t.length === 0 ? { valueText: "" } :
|
|
294
|
-
let i =
|
|
295
|
-
return
|
|
292
|
+
if (j.has(e) && N(t)) return { valueText: ae(typeof t.quantity == "number" ? u(e, t.quantity) : 1, t.unit) };
|
|
293
|
+
if (ee.has(e) && N(t)) return { valueText: ie(t.unit) };
|
|
294
|
+
if (Array.isArray(t)) return t.length === 0 ? { valueText: "" } : H(U(t, n, r), V(t, n, r), n);
|
|
295
|
+
let i = L(t, n, r);
|
|
296
|
+
return H({
|
|
296
297
|
valueText: i.label,
|
|
297
298
|
valueTooltip: i.truncated ? i.full : void 0
|
|
298
|
-
},
|
|
299
|
+
}, V([t], n, r), n);
|
|
299
300
|
}
|
|
300
|
-
function
|
|
301
|
+
function Y(e, t) {
|
|
301
302
|
let n = e.parameters?.[0];
|
|
302
|
-
if (!
|
|
303
|
-
let r =
|
|
303
|
+
if (!N(n) || !P(n)) return null;
|
|
304
|
+
let r = K(n, t), i = typeof e.expression == "string" ? e.expression : "", a = e.parameters?.[1];
|
|
304
305
|
return {
|
|
305
306
|
field: r,
|
|
306
|
-
expression: i ?
|
|
307
|
-
...
|
|
307
|
+
expression: i ? le(i, a) : "",
|
|
308
|
+
...ue(i, a, t, r)
|
|
308
309
|
};
|
|
309
310
|
}
|
|
310
|
-
function
|
|
311
|
+
function de(e) {
|
|
311
312
|
return "condition" in e && "filters" in e;
|
|
312
313
|
}
|
|
313
314
|
function X(e) {
|
|
314
315
|
if (e == null) return [];
|
|
315
316
|
if (Array.isArray(e)) return e.flatMap(X);
|
|
316
|
-
if (
|
|
317
|
-
if (typeof e.parameter == "string" || e.name !== void 0 ||
|
|
318
|
-
let t =
|
|
317
|
+
if (N(e)) {
|
|
318
|
+
if (typeof e.parameter == "string" || e.name !== void 0 || P(e)) return [];
|
|
319
|
+
let t = J(e);
|
|
319
320
|
return t ? [t] : [];
|
|
320
321
|
}
|
|
321
|
-
let t =
|
|
322
|
+
let t = J(e);
|
|
322
323
|
return t ? [t] : [];
|
|
323
324
|
}
|
|
324
325
|
function Z(e, t) {
|
|
325
326
|
let n = /* @__PURE__ */ new Map(), r = (e) => {
|
|
326
|
-
if (
|
|
327
|
+
if (de(e)) {
|
|
327
328
|
e.filters.forEach(r);
|
|
328
329
|
return;
|
|
329
330
|
}
|
|
330
331
|
let i = e.parameters?.[0];
|
|
331
|
-
if (!
|
|
332
|
-
let a =
|
|
332
|
+
if (!N(i) || !P(i)) return;
|
|
333
|
+
let a = K(i, t);
|
|
333
334
|
if (a.type !== "hierarchy" || !a.datasetId || !a.fieldId) return;
|
|
334
335
|
let o = [...new Set(X(e.parameters?.[1]))];
|
|
335
336
|
if (o.length === 0) return;
|
|
@@ -362,17 +363,17 @@ async function Q(e, t) {
|
|
|
362
363
|
}), s = e.columnId ?? e.formulaId ?? "";
|
|
363
364
|
for (let n of a.data ?? []) {
|
|
364
365
|
let i = n[0], a = i && typeof i == "object" && "id" in i ? String(i.id) : String(i), c = i && typeof i == "object" && "name" in i ? o(i.name, t) : "";
|
|
365
|
-
c && r.set(
|
|
366
|
+
c && r.set(q(e.datasetId, s, a), c);
|
|
366
367
|
}
|
|
367
368
|
})), r;
|
|
368
369
|
}
|
|
369
370
|
// src/components/filter-item/filter-item.module.scss?inline
|
|
370
|
-
var
|
|
371
|
+
var fe = ":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(D(E, { validSizes: Object.values(T) })) {
|
|
371
372
|
constructor(...e) {
|
|
372
373
|
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 = /* @__PURE__ */ new Map(), this._hierarchyLabelsLoading = !1, this._hierarchyRequest = 0;
|
|
373
374
|
}
|
|
374
375
|
static get styles() {
|
|
375
|
-
return [
|
|
376
|
+
return [v(fe)];
|
|
376
377
|
}
|
|
377
378
|
connectedCallback() {
|
|
378
379
|
if (super.connectedCallback(), this.textContext) return;
|
|
@@ -430,11 +431,11 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
430
431
|
n.configure(e);
|
|
431
432
|
}
|
|
432
433
|
!this.textContext && (r || i || a) && this._fetchDatasetDataFields();
|
|
433
|
-
let c = this.filter?.parameters?.[1], l = e.get("filter"),
|
|
434
|
-
if (this.allowParameters && this._type && (s || e.has("_type") ||
|
|
435
|
-
let t = this.parameters.find((e) => e.parameter === c.parameter), n =
|
|
436
|
-
if (
|
|
437
|
-
let e = structuredClone(this.filter), t =
|
|
434
|
+
let c = this.filter?.parameters?.[1], l = e.get("filter"), u = !!l && l.expression !== this.filter?.expression;
|
|
435
|
+
if (this.allowParameters && this._type && (s || e.has("_type") || u) && p(c)) {
|
|
436
|
+
let t = this.parameters.find((e) => e.parameter === c.parameter), n = f(this._type, this.filter?.expression), r = s || e.has("_type");
|
|
437
|
+
if (u && !n.includes(c.type) || r && (!t || !n.includes(t.type))) {
|
|
438
|
+
let e = structuredClone(this.filter), t = m(this._type, e.expression);
|
|
438
439
|
e.parameters = t === void 0 ? [e.parameters[0]] : [e.parameters[0], t], this.filter = e, this._sendChangeEvent();
|
|
439
440
|
} else if (r && t && JSON.stringify(t) !== JSON.stringify(c)) {
|
|
440
441
|
let e = structuredClone(this.filter);
|
|
@@ -470,7 +471,7 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
470
471
|
}
|
|
471
472
|
setFilterDataField(e) {
|
|
472
473
|
if (this.readonly || this.disabled || this._cannotReferenceColumn()) return;
|
|
473
|
-
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 =
|
|
474
|
+
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 = p(this.filter?.parameters?.[1]);
|
|
474
475
|
this._type = t?.type, this._subType = t?.subtype, this._isFormula = !!t?.formulaId;
|
|
475
476
|
let s = l(this._type, this._subType, this._isFormula);
|
|
476
477
|
this.filter = structuredClone(this.filter ?? {}), s?.includes(this.filter?.expression) || (this.filter.expression = s?.[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;
|
|
@@ -483,7 +484,7 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
483
484
|
type: "where"
|
|
484
485
|
}), 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] = (/* @__PURE__ */ new Date()).toISOString()) : (this.filter.expression = "? is not null", this.filter.parameters = [this.filter.parameters[0]]);
|
|
485
486
|
else if (o && r !== a) {
|
|
486
|
-
let e =
|
|
487
|
+
let e = m(this._type, this.filter.expression);
|
|
487
488
|
this.filter.parameters = e === void 0 ? [this.filter.parameters[0]] : [this.filter.parameters[0], e];
|
|
488
489
|
} else r !== a && this._type === "hierarchy" && (this.filter.parameters[1] = ["? in ?", "? not in ?"].includes(this.filter.expression) ? [] : "");
|
|
489
490
|
this._sendChangeEvent();
|
|
@@ -492,10 +493,10 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
492
493
|
if (this.readonly || this.disabled || this._cannotReferenceColumn()) return;
|
|
493
494
|
let t = structuredClone(this.filter ?? {}), n = t.expression;
|
|
494
495
|
if (t.expression = e.detail?.expression, n !== t.expression) {
|
|
495
|
-
if (
|
|
496
|
+
if (p(t.parameters?.[1])) {
|
|
496
497
|
let e = t.parameters[1];
|
|
497
|
-
if (!
|
|
498
|
-
let e =
|
|
498
|
+
if (!f(this._type, t.expression).some((t) => t === e.type)) {
|
|
499
|
+
let e = m(this._type, t.expression);
|
|
499
500
|
t.parameters = e === void 0 ? [t.parameters[0]] : [t.parameters[0], e];
|
|
500
501
|
}
|
|
501
502
|
} else if (["? is null", "? is not null"].includes(t.expression)) t.parameters = [t.parameters[0]];
|
|
@@ -522,10 +523,10 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
522
523
|
"more_than_ago",
|
|
523
524
|
"or_more_ago"
|
|
524
525
|
].includes(t.expression)) {
|
|
525
|
-
let e = t?.parameters?.[1]?.unit,
|
|
526
|
+
let e = t?.parameters?.[1]?.unit, r = t?.parameters?.[1]?.quantity;
|
|
526
527
|
t.parameters[1] = {
|
|
527
528
|
unit: typeof e == "number" ? e : 1,
|
|
528
|
-
quantity: typeof
|
|
529
|
+
quantity: typeof r == "number" ? c(t.expression, u(n, r)) : c(t.expression, 1)
|
|
529
530
|
};
|
|
530
531
|
} else t.parameters[1] = (/* @__PURE__ */ new Date()).toISOString();
|
|
531
532
|
} else if (this._type === "hierarchy") {
|
|
@@ -552,8 +553,8 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
552
553
|
n.parameters = n.parameters ?? [], n.parameters[1] = structuredClone(t), this.filter = n, this._sendChangeEvent();
|
|
553
554
|
}
|
|
554
555
|
handleFilterParameterRemoved() {
|
|
555
|
-
if (this.readonly || this.disabled || !
|
|
556
|
-
let e = structuredClone(this.filter), t =
|
|
556
|
+
if (this.readonly || this.disabled || !p(this.filter?.parameters?.[1])) return;
|
|
557
|
+
let e = structuredClone(this.filter), t = m(this._type, e.expression);
|
|
557
558
|
e.parameters = t === void 0 ? [e.parameters[0]] : [e.parameters[0], t], this.filter = e, this._sendChangeEvent();
|
|
558
559
|
}
|
|
559
560
|
_cannotReferenceColumn() {
|
|
@@ -563,8 +564,8 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
563
564
|
return !t || ![...t.columns || [], ...t.formulas || []].find((e) => e.id === this.filter?.parameters?.[0]?.columnId || e.id === this.filter?.parameters?.[0]?.formulaId);
|
|
564
565
|
}
|
|
565
566
|
renderDataFieldPicker() {
|
|
566
|
-
let e = this._cannotReferenceColumn(), t = e ?
|
|
567
|
-
return
|
|
567
|
+
let e = this._cannotReferenceColumn(), t = e ? S("Unknown") : void 0, n = e || this._loading ? "" : this.filter?.parameters?.[0]?.columnId || this.filter?.parameters?.[0]?.formulaId;
|
|
568
|
+
return g`<luzmo-data-fields-select
|
|
568
569
|
.language=${this.language}
|
|
569
570
|
.contentLanguage=${this.contentLanguage}
|
|
570
571
|
.size=${this.size}
|
|
@@ -572,7 +573,7 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
572
573
|
selects="single"
|
|
573
574
|
levels="off"
|
|
574
575
|
.datasetsDataFields=${this._datasetsDataFields}
|
|
575
|
-
placeholder=${
|
|
576
|
+
placeholder=${w(t)}
|
|
576
577
|
.invalid=${!!this._error || e}
|
|
577
578
|
?disabled=${e || this.disabled}
|
|
578
579
|
.readonly=${this.readonly}
|
|
@@ -584,7 +585,7 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
584
585
|
}
|
|
585
586
|
renderExpressionPicker() {
|
|
586
587
|
let e = this._cannotReferenceColumn(), t = this.filter?.parameters?.[0], n = !t?.datasetId || !t?.columnId && !t?.formulaId || e;
|
|
587
|
-
return
|
|
588
|
+
return g`<luzmo-filter-expression-picker
|
|
588
589
|
.language=${this.language}
|
|
589
590
|
.size=${this.size}
|
|
590
591
|
.type=${this._type}
|
|
@@ -599,7 +600,7 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
599
600
|
}
|
|
600
601
|
renderValuePicker() {
|
|
601
602
|
let e = this._cannotReferenceColumn(), t = this.filter?.parameters?.[0], n = !t?.datasetId || !t?.columnId && !t?.formulaId || e;
|
|
602
|
-
return
|
|
603
|
+
return g`<luzmo-filter-value-picker
|
|
603
604
|
.apiUrl=${this.apiUrl}
|
|
604
605
|
.authKey=${this.authKey}
|
|
605
606
|
.authToken=${this.authToken}
|
|
@@ -618,10 +619,10 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
618
619
|
}
|
|
619
620
|
renderParameterPicker() {
|
|
620
621
|
if (!this.allowParameters) return null;
|
|
621
|
-
let e =
|
|
622
|
+
let e = f(this._type, this.filter?.expression);
|
|
622
623
|
if (e.length === 0) return null;
|
|
623
|
-
let t =
|
|
624
|
-
return
|
|
624
|
+
let t = p(this.filter?.parameters?.[1]) ? this.filter.parameters[1] : void 0;
|
|
625
|
+
return g`<luzmo-filter-parameter-picker
|
|
625
626
|
.language=${this.language}
|
|
626
627
|
.size=${this.size}
|
|
627
628
|
.parameters=${this.parameters}
|
|
@@ -664,72 +665,72 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
664
665
|
_renderTextField(e) {
|
|
665
666
|
if (this.columnDisplay !== "text") {
|
|
666
667
|
let t = this._columnBadgeSize, n = this._textFieldIcon(e, t);
|
|
667
|
-
return
|
|
668
|
+
return g`<span
|
|
668
669
|
class="filter-item-column-badge filters-text-field"
|
|
669
670
|
part="filter-item-text-field"
|
|
670
671
|
title=${e.tooltip}
|
|
671
672
|
>
|
|
672
673
|
<luzmo-badge role="none" .size=${t} .treatment=${this.columnDisplay}>
|
|
673
|
-
${n ?
|
|
674
|
+
${n ? g`<luzmo-icon slot="icon" .icon=${n} .size=${t}></luzmo-icon>` : _}${e.label}
|
|
674
675
|
</luzmo-badge>
|
|
675
676
|
</span>`;
|
|
676
677
|
}
|
|
677
678
|
let t = this._textFieldIcon(e, "s");
|
|
678
|
-
return
|
|
679
|
+
return g`<span
|
|
679
680
|
class="filter-item-text-field filters-text-field"
|
|
680
681
|
part="filter-item-text-field"
|
|
681
682
|
title=${e.tooltip}
|
|
682
|
-
><span class="filter-item-text-field-icon filters-text-field-icon" aria-hidden="true">${t ?
|
|
683
|
+
><span class="filter-item-text-field-icon filters-text-field-icon" aria-hidden="true">${t ? h(t) : _}</span
|
|
683
684
|
><span class="filter-item-text-field-label filters-text-field-label">${e.label}</span></span
|
|
684
685
|
>`;
|
|
685
686
|
}
|
|
686
687
|
_renderTextValue(e) {
|
|
687
688
|
if (e.valueField) return this._renderTextField(e.valueField);
|
|
688
|
-
if (!e.valueText) return
|
|
689
|
-
let t = e.valuePending ?
|
|
689
|
+
if (!e.valueText) return _;
|
|
690
|
+
let t = e.valuePending ? g`<luzmo-progress-circle
|
|
690
691
|
indeterminate
|
|
691
|
-
.label=${
|
|
692
|
+
.label=${S("Loading item names", { desc: "Accessible label while hierarchy item names load beside the item count" })}
|
|
692
693
|
.size=${this.size}
|
|
693
|
-
></luzmo-progress-circle>` :
|
|
694
|
-
return e.valueTooltip ?
|
|
694
|
+
></luzmo-progress-circle>` : _;
|
|
695
|
+
return e.valueTooltip ? g`<span
|
|
695
696
|
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"
|
|
696
697
|
tabindex="0"
|
|
697
698
|
aria-live="polite"
|
|
698
699
|
>${e.valueText}<luzmo-tooltip self-managed placement="top" .size=${this.size}
|
|
699
700
|
>${e.valueTooltip}</luzmo-tooltip
|
|
700
701
|
></span
|
|
701
|
-
>` :
|
|
702
|
+
>` : g`<span class="filter-item-text-value filters-text-value outline-value" aria-live="polite">${e.valueText}${t}</span>`;
|
|
702
703
|
}
|
|
703
704
|
_renderTextDisplay() {
|
|
704
|
-
let e =
|
|
705
|
-
if (!e) return
|
|
705
|
+
let e = Y(this.filter, this._filterTextContext());
|
|
706
|
+
if (!e) return g`
|
|
706
707
|
<span
|
|
707
708
|
class="filter-item-text"
|
|
708
709
|
part="filter-item-text"
|
|
709
710
|
></span>
|
|
710
711
|
`;
|
|
711
|
-
let t = this._renderTextField(e.field), n =
|
|
712
|
+
let t = this._renderTextField(e.field), n = g`<span class="filter-item-text-expression filters-text-expression outline-expression"
|
|
712
713
|
>${e.expression}</span
|
|
713
|
-
>`, r = e.valueField || e.valueText ? this._renderTextValue(e) :
|
|
714
|
+
>`, r = e.valueField || e.valueText ? this._renderTextValue(e) : _, i = e.expression && r !== _ ? A(S(C`${O[0]}\u2063 ${O[1]}\u2063 ${O[2]}`, {
|
|
714
715
|
id: "filter-item-field-expression-value",
|
|
715
716
|
desc: "Field, expression, and value in a read-only filter sentence"
|
|
716
717
|
}), [
|
|
717
718
|
t,
|
|
718
719
|
n,
|
|
719
720
|
r
|
|
720
|
-
]) : e.expression ?
|
|
721
|
+
]) : e.expression ? A(S(C`${O[0]}\u2063 ${O[1]}`, {
|
|
721
722
|
id: "filter-item-field-expression",
|
|
722
723
|
desc: "Field and expression in a read-only filter sentence without a value"
|
|
723
|
-
}), [t, n]) : r ===
|
|
724
|
+
}), [t, n]) : r === _ ? t : A(S(C`${O[0]}\u2063 ${O[1]}`, {
|
|
724
725
|
id: "filter-item-field-value",
|
|
725
726
|
desc: "Field and value in a read-only filter sentence without an expression"
|
|
726
727
|
}), [t, r]);
|
|
727
|
-
return
|
|
728
|
+
return g`<span class="filter-item-text" part="filter-item-text">${i}</span>`;
|
|
728
729
|
}
|
|
729
730
|
render() {
|
|
730
731
|
if (this.display === "text") return this._renderTextDisplay();
|
|
731
|
-
let e =
|
|
732
|
-
return
|
|
732
|
+
let e = p(this.filter?.parameters?.[1]);
|
|
733
|
+
return g`<div role="group" aria-label=${S("Filter condition", { desc: "Accessible label for filter item group" })}>
|
|
733
734
|
${this.renderDataFieldPicker()} ${this.renderExpressionPicker()}
|
|
734
735
|
<div class="value-controls">
|
|
735
736
|
${e ? null : this.renderValuePicker()} ${this.renderParameterPicker()}
|
|
@@ -738,55 +739,55 @@ var ue = ":host{box-sizing:border-box;min-width:0;max-width:100%;font-family:var
|
|
|
738
739
|
}
|
|
739
740
|
};
|
|
740
741
|
// src/components/filter-item/index.ts
|
|
741
|
-
e([
|
|
742
|
+
e([y({
|
|
742
743
|
type: String,
|
|
743
744
|
attribute: "api-url",
|
|
744
745
|
reflect: !0
|
|
745
|
-
})], $.prototype, "apiUrl", void 0), e([
|
|
746
|
+
})], $.prototype, "apiUrl", void 0), e([y({
|
|
746
747
|
type: String,
|
|
747
748
|
attribute: "auth-key",
|
|
748
749
|
reflect: !0
|
|
749
|
-
})], $.prototype, "authKey", void 0), e([
|
|
750
|
+
})], $.prototype, "authKey", void 0), e([y({
|
|
750
751
|
type: String,
|
|
751
752
|
attribute: "auth-token",
|
|
752
753
|
reflect: !0
|
|
753
|
-
})], $.prototype, "authToken", void 0), e([
|
|
754
|
+
})], $.prototype, "authToken", void 0), e([y({
|
|
754
755
|
type: Number,
|
|
755
756
|
attribute: "cache-time",
|
|
756
757
|
reflect: !0
|
|
757
|
-
})], $.prototype, "cacheTime", void 0), e([
|
|
758
|
+
})], $.prototype, "cacheTime", void 0), e([y({
|
|
758
759
|
type: String,
|
|
759
760
|
reflect: !0
|
|
760
|
-
})], $.prototype, "contentLanguage", void 0), e([
|
|
761
|
+
})], $.prototype, "contentLanguage", void 0), e([y({
|
|
761
762
|
type: String,
|
|
762
763
|
attribute: "time-zone",
|
|
763
764
|
reflect: !0
|
|
764
|
-
})], $.prototype, "timeZone", void 0), e([
|
|
765
|
+
})], $.prototype, "timeZone", void 0), e([y({
|
|
765
766
|
type: Array,
|
|
766
767
|
attribute: "dataset-ids",
|
|
767
768
|
reflect: !0
|
|
768
|
-
})], $.prototype, "datasetIds", void 0), e([
|
|
769
|
+
})], $.prototype, "datasetIds", void 0), e([y({
|
|
769
770
|
type: Object,
|
|
770
771
|
reflect: !1
|
|
771
|
-
})], $.prototype, "filter", void 0), e([
|
|
772
|
+
})], $.prototype, "filter", void 0), e([y({
|
|
772
773
|
type: String,
|
|
773
774
|
reflect: !0
|
|
774
|
-
})], $.prototype, "display", void 0), e([
|
|
775
|
+
})], $.prototype, "display", void 0), e([y({
|
|
775
776
|
type: String,
|
|
776
777
|
attribute: "column-display",
|
|
777
778
|
reflect: !0
|
|
778
|
-
})], $.prototype, "columnDisplay", void 0), e([
|
|
779
|
+
})], $.prototype, "columnDisplay", void 0), e([y({
|
|
779
780
|
type: Boolean,
|
|
780
781
|
reflect: !0
|
|
781
|
-
})], $.prototype, "quiet", void 0), e([
|
|
782
|
+
})], $.prototype, "quiet", void 0), e([y({
|
|
782
783
|
type: Boolean,
|
|
783
784
|
reflect: !0
|
|
784
|
-
})], $.prototype, "readonly", void 0), e([
|
|
785
|
+
})], $.prototype, "readonly", void 0), e([y({
|
|
785
786
|
type: Boolean,
|
|
786
787
|
reflect: !0
|
|
787
|
-
})], $.prototype, "disabled", void 0), e([
|
|
788
|
+
})], $.prototype, "disabled", void 0), e([y({ attribute: !1 })], $.prototype, "textContext", void 0), e([y({
|
|
788
789
|
type: Boolean,
|
|
789
790
|
attribute: "allow-parameters",
|
|
790
791
|
reflect: !0
|
|
791
|
-
})], $.prototype, "allowParameters", void 0), e([
|
|
792
|
-
export {
|
|
792
|
+
})], $.prototype, "allowParameters", void 0), e([y({ attribute: !1 })], $.prototype, "parameters", void 0), e([b()], $.prototype, "_type", void 0), e([b()], $.prototype, "_subType", void 0), e([b()], $.prototype, "_isFormula", void 0), e([b()], $.prototype, "_error", void 0), e([b()], $.prototype, "_loading", void 0), e([b()], $.prototype, "_datasetsDataFields", void 0), e([b()], $.prototype, "_hierarchyLabels", void 0), e([b()], $.prototype, "_hierarchyLabelsLoading", void 0), $ = e([x()], $), customElements.get("luzmo-filter-item") || customElements.define("luzmo-filter-item", $);
|
|
793
|
+
export { O as a, Q as i, Z as n, A as o, Y as r, $ as t };
|