@luzmo/analytics-components-kit 1.3.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -5
- package/angular/components/add-to-dashboard.ts +20 -6
- package/angular/components/ai-chat-empty-state.ts +1 -1
- package/angular/components/ai-chat.ts +10 -3
- package/angular/components/data-fields-select.ts +5 -0
- package/angular/components/display-settings-period-over-period.ts +25 -4
- package/angular/components/display-settings.ts +24 -3
- package/angular/components/interactive-viz-item.ts +87 -22
- package/angular/components/item-grid-item-actions-menu.ts +5 -0
- package/angular/components/item-grid.ts +7 -0
- package/angular/components/item-option-color-picker.ts +28 -28
- package/angular/components/item-option-guidelines.ts +22 -1
- package/angular/components/item-option-multi-language-field.ts +7 -7
- package/angular/components/item-option-number-field.ts +14 -14
- package/angular/components/item-option-positions-number-field.ts +14 -14
- package/angular/components/item-option-radio-button-group.ts +7 -7
- package/angular/components/item-option-text-field.ts +7 -7
- package/angular/components/item-slot-drop-panel.ts +7 -0
- package/angular/components/item-slot-drop.ts +7 -0
- package/angular/components/item-slot-picker-panel.ts +8 -1
- package/angular/components/item-slot-picker.ts +22 -8
- package/angular/components/slot-menu.ts +15 -1
- package/angular/esm/components/add-to-dashboard.d.ts +8 -4
- package/angular/esm/components/add-to-dashboard.js +23 -7
- package/angular/esm/components/ai-chat-empty-state.d.ts +1 -1
- package/angular/esm/components/ai-chat.d.ts +6 -4
- package/angular/esm/components/ai-chat.js +10 -2
- package/angular/esm/components/data-fields-select.d.ts +2 -0
- package/angular/esm/components/data-fields-select.js +4 -0
- package/angular/esm/components/display-settings-period-over-period.d.ts +12 -5
- package/angular/esm/components/display-settings-period-over-period.js +29 -5
- package/angular/esm/components/display-settings.d.ts +11 -4
- package/angular/esm/components/display-settings.js +28 -4
- package/angular/esm/components/interactive-viz-item.d.ts +30 -9
- package/angular/esm/components/interactive-viz-item.js +98 -27
- package/angular/esm/components/item-grid-item-actions-menu.d.ts +2 -0
- package/angular/esm/components/item-grid-item-actions-menu.js +4 -0
- package/angular/esm/components/item-grid.d.ts +3 -1
- package/angular/esm/components/item-grid.js +9 -1
- package/angular/esm/components/item-option-color-picker.d.ts +10 -10
- package/angular/esm/components/item-option-color-picker.js +34 -34
- package/angular/esm/components/item-option-guidelines.d.ts +8 -2
- package/angular/esm/components/item-option-guidelines.js +26 -2
- package/angular/esm/components/item-option-multi-language-field.d.ts +3 -3
- package/angular/esm/components/item-option-multi-language-field.js +10 -10
- package/angular/esm/components/item-option-number-field.d.ts +5 -5
- package/angular/esm/components/item-option-number-field.js +18 -18
- package/angular/esm/components/item-option-positions-number-field.d.ts +5 -5
- package/angular/esm/components/item-option-positions-number-field.js +18 -18
- package/angular/esm/components/item-option-radio-button-group.d.ts +3 -3
- package/angular/esm/components/item-option-radio-button-group.js +10 -10
- package/angular/esm/components/item-option-text-field.d.ts +3 -3
- package/angular/esm/components/item-option-text-field.js +10 -10
- package/angular/esm/components/item-slot-drop-panel.d.ts +4 -1
- package/angular/esm/components/item-slot-drop-panel.js +10 -2
- package/angular/esm/components/item-slot-drop.d.ts +4 -1
- package/angular/esm/components/item-slot-drop.js +10 -2
- package/angular/esm/components/item-slot-picker-panel.d.ts +5 -2
- package/angular/esm/components/item-slot-picker-panel.js +11 -3
- package/angular/esm/components/item-slot-picker.d.ts +9 -4
- package/angular/esm/components/item-slot-picker.js +26 -10
- package/angular/esm/components/slot-menu.d.ts +7 -2
- package/angular/esm/components/slot-menu.js +18 -2
- package/angular/package.json +2 -2
- package/angular/utils/filters/expressions.d.ts +2 -0
- package/angular/utils/slot-state/slot-store.d.ts +3 -8
- package/angular/utils/time/period-over-period-condition.const.d.ts +0 -1
- package/angular/utils/time/period-over-period-context.d.ts +75 -0
- package/angular/utils/time/tests/period-over-period-context.test.d.ts +1 -0
- package/components/add-to-dashboard/dashboard-actions.d.ts +2 -1
- package/components/add-to-dashboard/index.cjs +1 -1
- package/components/add-to-dashboard/index.js +1 -1
- package/components/{add-to-dashboard-DGC0_hRB.js → add-to-dashboard-B5egTFre.js} +127 -122
- package/components/{add-to-dashboard-CzIuDtAq.cjs → add-to-dashboard-BC5SObl9.cjs} +1 -1
- package/components/advanced-options.i18n-CyfRP6Jc.js +43 -0
- package/components/advanced-options.i18n-DPTCLyPj.cjs +20 -0
- package/components/ai-chat/ai-chat-events.d.ts +6 -2
- package/components/ai-chat/ai-chat-request.d.ts +1 -1
- package/components/ai-chat/ai-chat.d.ts +9 -2
- package/components/ai-chat/ai-prompt-types.d.ts +19 -1
- package/components/ai-chat/helpers/interaction-assets.d.ts +9 -0
- package/components/ai-chat/helpers/question-template.d.ts +13 -0
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.d.ts +2 -1
- package/components/ai-chat/index.js +3 -3
- package/components/ai-chat/session/ai-chat-session-types.d.ts +6 -1
- package/components/ai-chat/session/ai-chat-session.d.ts +14 -3
- package/components/{ai-chat-CL894viH.js → ai-chat-CZz60W04.js} +1152 -837
- package/components/ai-chat-CkN95EAz.cjs +414 -0
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/{ai-interaction-textarea-BmvVVCmL.cjs → ai-interaction-textarea-NGtzhkEU.cjs} +1 -1
- package/components/{ai-interaction-textarea-CnQ2FBc7.js → ai-interaction-textarea-zpSYvzWC.js} +4 -4
- package/components/{area-chart-options.config-D99tvt_H.cjs → area-chart-options.config-DkaWRgGR.cjs} +1 -1
- package/components/{area-chart-options.config-Dnw8v2CA.js → area-chart-options.config-E5T5GaAt.js} +3 -3
- package/components/{area-chart-positioning.config-ygE3-JQW.js → area-chart-positioning.config-CF5TQdQM.js} +1 -1
- package/components/{area-chart-positioning.config-BwEs73dl.cjs → area-chart-positioning.config-D3v03RF2.cjs} +1 -1
- package/components/{bar-chart-options.config-DHO8grQN.js → bar-chart-options.config-BmuNCcVu.js} +3 -3
- package/components/{bar-chart-options.config-BQ-PbucR.cjs → bar-chart-options.config-DujzIJ03.cjs} +1 -1
- package/components/{bar-chart-positioning.config-CPdIIPp0.cjs → bar-chart-positioning.config-B2cBwfjg.cjs} +1 -1
- package/components/{bar-chart-positioning.config-GjqSe7CO.js → bar-chart-positioning.config-DD3FsbpL.js} +1 -1
- package/components/{base-rAte-QzM.js → base-BqwRKT4V.js} +1 -1
- package/components/{base-CGDNY_7v.cjs → base-D-bJhYbS.cjs} +1 -1
- package/components/{box-plot-options.config-BgiiwSrU.js → box-plot-options.config-BldiKc1W.js} +1 -1
- package/components/{box-plot-options.config-BcGisybi.cjs → box-plot-options.config-CTHQiE0y.cjs} +1 -1
- package/components/{box-plot-positioning.config-DDUgau2U.js → box-plot-positioning.config-D7dak0lQ.js} +1 -1
- package/components/{box-plot-positioning.config-mSIgw923.cjs → box-plot-positioning.config-DyDjp1GB.cjs} +1 -1
- package/components/{bubble-chart-options.config-DMk8Yjfk.cjs → bubble-chart-options.config-CIQV2-nD.cjs} +1 -1
- package/components/{bubble-chart-options.config-UM9w5tBs.js → bubble-chart-options.config-DfUueHwL.js} +1 -1
- package/components/{bubble-chart-positioning.config-CuOxvXYf.cjs → bubble-chart-positioning.config-CBVdzO-2.cjs} +1 -1
- package/components/{bubble-chart-positioning.config-C3UubNLh.js → bubble-chart-positioning.config-DjYnqcoE.js} +1 -1
- package/components/{bullet-chart-positioning.config-DB1Fmx1d.cjs → bullet-chart-positioning.config-B1tyFrKD.cjs} +1 -1
- package/components/{bullet-chart-positioning.config-BuFhsRMP.js → bullet-chart-positioning.config-C1Fy_8N4.js} +1 -1
- package/components/chart-helpers-BHxQbLBw.cjs +20 -0
- package/components/{chart-helpers-Cbl3sRra.js → chart-helpers-BKeMLhov.js} +51 -38
- package/components/{choropleth-map-options.config-Blu0Z2tR.js → choropleth-map-options.config-BPwJyWoW.js} +1 -1
- package/components/{choropleth-map-options.config-DwFJ00CS.cjs → choropleth-map-options.config-mBZ3__hO.cjs} +1 -1
- package/components/{choropleth-map-positioning.config-6PsCyhsn.js → choropleth-map-positioning.config-BJ4TNZiP.js} +1 -1
- package/components/{choropleth-map-positioning.config-fc5IcNoB.cjs → choropleth-map-positioning.config-DaN1GsN7.cjs} +1 -1
- package/components/{circle-pack-chart-options.config-DQs-uitJ.js → circle-pack-chart-options.config-BbTBvJRt.js} +1 -1
- package/components/{circle-pack-chart-options.config-DMNMYWZX.cjs → circle-pack-chart-options.config-Cz9c2Oxt.cjs} +1 -1
- package/components/{circle-pack-chart-positioning.config-DvQfzJ_Z.cjs → circle-pack-chart-positioning.config-C0iRGjcn.cjs} +1 -1
- package/components/{circle-pack-chart-positioning.config-DRHNE10H.js → circle-pack-chart-positioning.config-sm_d4gNL.js} +1 -1
- package/components/{circular-gauge-positioning.config-CGOX-Vyn.js → circular-gauge-positioning.config-CP_Ihfyd.js} +1 -1
- package/components/{circular-gauge-positioning.config-OX1-mPls.cjs → circular-gauge-positioning.config-GgkU8ivx.cjs} +1 -1
- package/components/{column-chart-options.config-BYDJTVx6.js → column-chart-options.config-BoIqFqBu.js} +3 -3
- package/components/{column-chart-options.config-CyD8V7j4.cjs → column-chart-options.config-fsV6tk3-.cjs} +1 -1
- package/components/{column-chart-positioning.config-BVYa1A42.js → column-chart-positioning.config-B4OsEyKU.js} +1 -1
- package/components/{column-chart-positioning.config-NbQbSa8P.cjs → column-chart-positioning.config-oub804lP.cjs} +1 -1
- package/components/{combination-chart-options.config-Cg3ZEKMe.cjs → combination-chart-options.config-C_fwwZvd.cjs} +1 -1
- package/components/{combination-chart-options.config-B3zsSUFx.js → combination-chart-options.config-Oks0enDz.js} +3 -3
- package/components/{combination-chart-positioning.config-B7DtfzCV.cjs → combination-chart-positioning.config-BeEC_NMJ.cjs} +1 -1
- package/components/{combination-chart-positioning.config-yHAgveni.js → combination-chart-positioning.config-BxNKTTby.js} +1 -1
- package/components/{conditional-number-positioning.config-BZS99jTT.cjs → conditional-number-positioning.config-B7F96ylg.cjs} +1 -1
- package/components/{conditional-number-positioning.config-DhixJEpv.js → conditional-number-positioning.config-xMGIw6c7.js} +1 -1
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -1
- package/components/{data-field-BORlpZZk.cjs → data-field-BxIuPFX_.cjs} +1 -1
- package/components/{data-field-B9466d0w.js → data-field-D03w2T6D.js} +3 -3
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -1
- package/components/{data-field-level-DOEYwcvM.cjs → data-field-level-BdWZsIny.cjs} +1 -1
- package/components/{data-field-level-GrX6yhPV.js → data-field-level-C-C9RCNf.js} +1 -1
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/{data-field-panel-BedJ9V2r.js → data-field-panel-DLe4FvTg.js} +3 -3
- package/components/{data-field-panel-DmMkAYAz.cjs → data-field-panel-kGncuIuq.cjs} +1 -1
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -1
- package/components/{data-fields-select-BOqmoE7n.cjs → data-fields-select-CSP6pX9J.cjs} +1 -1
- package/components/{data-fields-select-af1HZLWS.js → data-fields-select-DP80Miah.js} +1 -1
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/{dataset-selector-list-BzI8n_dB.js → dataset-selector-list-D2UcUaOx.js} +1 -1
- package/components/{dataset-selector-list-CmZaj20L.cjs → dataset-selector-list-DGWiCqpf.cjs} +1 -1
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -1
- package/components/{dataset-selector-row-D_7iBmdm.js → dataset-selector-row-7WNwyR9L.js} +3 -3
- package/components/{dataset-selector-row-mOGioXLM.cjs → dataset-selector-row-Vfh7jDjW.cjs} +1 -1
- package/components/{de-AOtjGNGZ.js → de-BbXtB6N5.js} +19 -4
- package/components/de-BfHCg6-Y.cjs +20 -0
- package/components/display-settings/display-settings.d.ts +11 -3
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/{display-settings-Qwp9oJo6.js → display-settings-Bqq9iJ3L.js} +86 -62
- package/components/display-settings-CG-qtz9m.cjs +146 -0
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/{display-settings-binning-IPVCvx8a.js → display-settings-binning-C2Jlf18P.js} +2 -2
- package/components/{display-settings-binning-D5zhoC7D.cjs → display-settings-binning-Dx9zEbDo.cjs} +1 -1
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/{display-settings-datetime-t70VEfHe.cjs → display-settings-datetime-B6LMQZOW.cjs} +1 -1
- package/components/{display-settings-datetime-DgBBSYfC.js → display-settings-datetime-B6okY4hC.js} +2 -2
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -1
- package/components/{display-settings-grand-totals-C_Fzk7oV.cjs → display-settings-grand-totals-D1Fi1qIx.cjs} +1 -1
- package/components/{display-settings-grand-totals-AFtKeeeG.js → display-settings-grand-totals-_v0iGpHZ.js} +2 -2
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -1
- package/components/{display-settings-numeric-BF8BA5MH.cjs → display-settings-numeric-DbcsMeEN.cjs} +1 -1
- package/components/{display-settings-numeric-DeuXT1UR.js → display-settings-numeric-G2avidxv.js} +2 -2
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +18 -10
- package/components/display-settings-period-over-period/helpers/constants.d.ts +0 -23
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +1 -1
- package/components/display-settings-period-over-period-86oxRHhk.cjs +151 -0
- package/components/{display-settings-period-over-period-CzxnyVF7.js → display-settings-period-over-period-DqeKcvdD.js} +101 -164
- package/components/donut-chart-options.config-B47Y1jhM.cjs +20 -0
- package/components/{donut-chart-options.config-B2vxfMyh.js → donut-chart-options.config-C__JfD3B.js} +32 -45
- package/components/{donut-chart-options.de-AXRfsiXW.cjs → donut-chart-options.de-Bsze2Gb5.cjs} +1 -1
- package/components/{donut-chart-options.de-DgNmBJiQ.js → donut-chart-options.de-Cft1Ppg0.js} +1 -2
- package/components/{donut-chart-options.en-aZqu2oEV.cjs → donut-chart-options.en-D3F9v0nN.cjs} +1 -1
- package/components/{donut-chart-options.en-BXwxTVpB.js → donut-chart-options.en-DZbap5Oi.js} +1 -2
- package/components/{donut-chart-options.es-7WgxuaDe.cjs → donut-chart-options.es-Cm0HGP62.cjs} +1 -1
- package/components/{donut-chart-options.es-DW_q5HeE.js → donut-chart-options.es-gM85ij3W.js} +1 -2
- package/components/{donut-chart-options.fr-QU3pGELZ.js → donut-chart-options.fr-Tgs8r0XZ.js} +1 -2
- package/components/{donut-chart-options.fr-C0Z8xEyF.cjs → donut-chart-options.fr-VSZoCY5q.cjs} +1 -1
- package/components/{donut-chart-options.nl-aKVLbRJY.cjs → donut-chart-options.nl-BkwPxEkq.cjs} +1 -1
- package/components/{donut-chart-options.nl-D_cgYVAQ.js → donut-chart-options.nl-SfAF0ycW.js} +1 -2
- package/components/{donut-chart-positioning.config-Bu1jZwtJ.cjs → donut-chart-positioning.config-BxJLjvJI.cjs} +1 -1
- package/components/{donut-chart-positioning.config-C0jkFWni.js → donut-chart-positioning.config-Doti4TgR.js} +1 -1
- package/components/{es-CYhv03uu.js → es-DRdklNAj.js} +19 -4
- package/components/es-Djk6AXOA.cjs +20 -0
- package/components/{evolution-number-positioning.config-DD8HBFtv.js → evolution-number-positioning.config-DHgkhRjt.js} +1 -1
- package/components/{evolution-number-positioning.config-DbH1-ODd.cjs → evolution-number-positioning.config-DeJkgT2e.cjs} +1 -1
- package/components/expressions-B4TetNaL.js +314 -0
- package/components/expressions-_KjBCqb6.cjs +20 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-expression-picker-BuXFbOXQ.js +146 -0
- package/components/filter-expression-picker-Cta3MMId.cjs +40 -0
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-item-DENHWF-1.cjs +111 -0
- package/components/{filter-item-QJ3sDlmG.js → filter-item-DXkoGth1.js} +170 -169
- package/components/filter-parameter-picker/index.cjs +1 -1
- package/components/filter-parameter-picker/index.js +1 -1
- package/components/{filter-parameter-picker-DjQVFIfg.cjs → filter-parameter-picker-CYb_At4A.cjs} +1 -1
- package/components/{filter-parameter-picker-C8qwIo_H.js → filter-parameter-picker-Dhdrwokt.js} +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/{filter-value-picker-DIYyMymr.js → filter-value-picker-Df2otXtB.js} +4 -4
- package/components/{filter-value-picker-CMNxLzj7.cjs → filter-value-picker-IBplK-ue.cjs} +1 -1
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -1
- package/components/{filter-value-picker-datetime-DKblyQrs.js → filter-value-picker-datetime-Cxj-X50F.js} +34 -28
- package/components/filter-value-picker-datetime-DmJ6vrr8.cjs +53 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/{filter-value-picker-hierarchy-CXPC_4MU.cjs → filter-value-picker-hierarchy-BAK4urti.cjs} +1 -1
- package/components/{filter-value-picker-hierarchy-IswtY6Qa.js → filter-value-picker-hierarchy-JUxA6aOK.js} +2 -2
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/{filter-value-picker-numeric-C7_-Fpol.cjs → filter-value-picker-numeric-Bf7iFwmp.cjs} +1 -1
- package/components/{filter-value-picker-numeric-DlFnGZ2O.js → filter-value-picker-numeric-MEFZbKsF.js} +1 -1
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/filters-BLd6si6W.cjs +187 -0
- package/components/{filters-CxIzuI5q.js → filters-CYSKF57z.js} +115 -104
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/{formula-WqOlEQ5o.js → formula-DPYHw2sr.js} +2 -2
- package/components/{formula-codemirror-BTYlGSxE.cjs → formula-codemirror-CZpISqCT.cjs} +1 -1
- package/components/{formula-codemirror-bpEb3M2G.js → formula-codemirror-DrcDvAal.js} +4 -4
- package/components/{formula-display-store-QU-B6xp9.js → formula-display-store-fFSd4okF.js} +3 -3
- package/components/{formula-display-store-D7fzKNfW.cjs → formula-display-store-zZIC2bm-.cjs} +1 -1
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.js +3 -3
- package/components/{formula-editor-BbyDf0vM.js → formula-editor-C9ECzSM6.js} +5 -5
- package/components/{formula-editor-D_NRhjUI.cjs → formula-editor-CDx-sZrG.cjs} +1 -1
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -1
- package/components/{formula-field-DSSpI8LB.cjs → formula-field-CV3FLzM2.cjs} +1 -1
- package/components/{formula-field-BT9K_W6Q.js → formula-field-DZLfK3cs.js} +1 -1
- package/components/{formula-input-base-CQc1OU9G.js → formula-input-base-CTuUw8IY.js} +1 -1
- package/components/{formula-input-base-BoWiH97v.cjs → formula-input-base-DN9aVHrY.cjs} +1 -1
- package/components/{formula-CXrr9wJZ.cjs → formula-x9mA6jDv.cjs} +1 -1
- package/components/{fr-DKAoGI_6.js → fr-C6af3ed2.js} +19 -4
- package/components/fr-cuXTTJ19.cjs +20 -0
- package/components/{funnel-chart-options.config-W83a8ukL.js → funnel-chart-options.config-AupTvjpk.js} +27 -84
- package/components/funnel-chart-options.config-DLRKgBpU.cjs +20 -0
- package/components/{funnel-chart-options.de-B2f_xxvV.cjs → funnel-chart-options.de-BXnQCtlb.cjs} +1 -1
- package/components/{funnel-chart-options.de-CLMiAr0m.js → funnel-chart-options.de-CRjaoeDf.js} +0 -1
- package/components/{funnel-chart-options.en-Pu8yU7Yz.js → funnel-chart-options.en-B0moabZE.js} +0 -1
- package/components/{funnel-chart-options.en-Cdvkged9.cjs → funnel-chart-options.en-BxEAM67L.cjs} +1 -1
- package/components/{funnel-chart-options.es-CrAp7hOK.cjs → funnel-chart-options.es-B88ZJAvI.cjs} +1 -1
- package/components/{funnel-chart-options.es-BPjGIJ7s.js → funnel-chart-options.es-DVVoRoYc.js} +0 -1
- package/components/{funnel-chart-options.fr-0RxiqeZg.cjs → funnel-chart-options.fr-B79JhoL2.cjs} +1 -1
- package/components/{funnel-chart-options.fr-CtWjGa4q.js → funnel-chart-options.fr-DvQC8k_c.js} +0 -1
- package/components/{funnel-chart-options.nl-r_wRg5qR.cjs → funnel-chart-options.nl-CnHVcvGk.cjs} +1 -1
- package/components/{funnel-chart-options.nl-2TPEy_CB.js → funnel-chart-options.nl-DJhjX1Pw.js} +0 -1
- package/components/{funnel-chart-positioning.config-Dx9E5eiW.cjs → funnel-chart-positioning.config-BZJ5g_XG.cjs} +1 -1
- package/components/{funnel-chart-positioning.config-Dbex7egf.js → funnel-chart-positioning.config-y6yFY7jd.js} +1 -1
- package/components/{get-dataset-name-C3Sc0hZ0.cjs → get-dataset-name-DddRDGDV.cjs} +1 -1
- package/components/{get-dataset-name-BArAzBu2.js → get-dataset-name-OPlPwcJU.js} +1 -1
- package/components/{groupings-DMWmtE5F.cjs → groupings-BnI5_4A1.cjs} +1 -1
- package/components/{groupings-DXJS4XIU.js → groupings-D_Ri_Z-t.js} +1 -1
- package/components/{guidelines-options.config-D-ZuReR_.cjs → guidelines-options.config-BgARZ-fs.cjs} +1 -1
- package/components/{guidelines-options.config-DVZrOa3v.js → guidelines-options.config-BqAYiMSF.js} +1 -1
- package/components/{heat-map-positioning.config-Bzg0DG60.cjs → heat-map-positioning.config-Cgg-qkcr.cjs} +1 -1
- package/components/{heat-map-positioning.config-D4T7PQzN.js → heat-map-positioning.config-DN75-r9r.js} +1 -1
- package/components/{heat-table-options.config-CMWWTeyo.js → heat-table-options.config-BL8x1qwt.js} +20 -7
- package/components/heat-table-options.config-iEHucwDf.cjs +20 -0
- package/components/{heat-table-positioning.config-Cj6LlLe3.cjs → heat-table-positioning.config-C2QPQURh.cjs} +1 -1
- package/components/{heat-table-positioning.config-DVQiJfC4.js → heat-table-positioning.config-CHxtZe-0.js} +1 -1
- package/components/{hexbin-map-positioning.config-csNrvMwp.js → hexbin-map-positioning.config-B1H1Z6Os.js} +1 -1
- package/components/{hexbin-map-positioning.config-ChoCCure.cjs → hexbin-map-positioning.config-BI-RVV35.cjs} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +69 -69
- package/components/interactive-viz-item/helpers/chart-helpers.d.ts +2 -1
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.js +3 -3
- package/components/interactive-viz-item/interactive-viz-item.d.ts +44 -0
- package/components/{interactive-viz-item-BKLOmawA.js → interactive-viz-item-CngeQ579.js} +153 -112
- package/components/interactive-viz-item-qrC0vC2O.cjs +269 -0
- package/components/interactivity-options.config-AKgaj2vC.js +131 -0
- package/components/interactivity-options.config-CkRDoCWd.cjs +20 -0
- package/components/interactivity-options.i18n-Cv5w1nSS.cjs +20 -0
- package/components/{interactivity-options.i18n-DY947PNz.js → interactivity-options.i18n-DmrqdhYW.js} +35 -5
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +2 -2
- package/components/item-grid/item-grid.d.ts +1 -0
- package/components/{item-grid-DveTRc7D.cjs → item-grid-C-v9kDvq.cjs} +1 -1
- package/components/{item-grid-DscQOFMu.js → item-grid-DzR5sfDM.js} +1 -1
- package/components/item-grid-item-actions-menu/index.cjs +1 -1
- package/components/item-grid-item-actions-menu/index.js +1 -1
- package/components/{item-grid-item-actions-menu-B1bKfagj.js → item-grid-item-actions-menu-DJJESWL6.js} +1 -1
- package/components/{item-grid-item-actions-menu-xRrT9dkY.cjs → item-grid-item-actions-menu-HIlcOhJA.cjs} +1 -1
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/{item-option-DKLRnicU.js → item-option-B6h4E5qR.js} +49 -43
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -1
- package/components/{item-option-action-button-group-Cpd_CNn-.js → item-option-action-button-group-Bc3bJQUS.js} +1 -1
- package/components/{item-option-action-button-group-BMgUwveA.cjs → item-option-action-button-group-CQHpvC5O.cjs} +1 -1
- package/components/{item-option-base-BMy6dWbc.cjs → item-option-base-6msESUhx.cjs} +1 -1
- package/components/{item-option-base-BfHciede.js → item-option-base-XB_1V6QM.js} +1 -1
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -1
- package/components/{item-option-color-palette-picker-8KFuRU1D.js → item-option-color-palette-picker-BYjb4ygk.js} +1 -1
- package/components/{item-option-color-palette-picker-CnM1Gi6o.cjs → item-option-color-palette-picker-MhFJgurt.cjs} +1 -1
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -1
- package/components/{item-option-color-picker-CNW7GsCO.cjs → item-option-color-picker-CLLWV2M-.cjs} +1 -1
- package/components/{item-option-color-picker-DDvsY7hV.js → item-option-color-picker-Dq_NwAn1.js} +1 -1
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -1
- package/components/{item-option-color-range-BqSbuSZh.cjs → item-option-color-range-DlCi_o72.cjs} +1 -1
- package/components/{item-option-color-range-FQduqtz3.js → item-option-color-range-abi_vblh.js} +1 -1
- package/components/item-option-guidelines/index.cjs +1 -1
- package/components/item-option-guidelines/index.js +1 -1
- package/components/{item-option-guidelines-k5DwMONo.js → item-option-guidelines-8LmcJ04U.js} +3 -3
- package/components/{item-option-guidelines-z9BsGR-l.cjs → item-option-guidelines-Q2M8xSYS.cjs} +1 -1
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -1
- package/components/{item-option-multi-language-field-CqtBl3gM.js → item-option-multi-language-field-6FBm3Xr3.js} +1 -1
- package/components/{item-option-multi-language-field-DM2PENxV.cjs → item-option-multi-language-field-Dq3j7XYw.cjs} +1 -1
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -1
- package/components/{item-option-number-field-BgQRhFj3.js → item-option-number-field-CPgwUGTR.js} +1 -1
- package/components/{item-option-number-field-Cw2ofJL7.cjs → item-option-number-field-CZSVb9wv.cjs} +1 -1
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/{item-option-panel-CU51qvgV.cjs → item-option-panel-B5ZKbaLl.cjs} +1 -1
- package/components/{item-option-panel-BLXWIbjX.js → item-option-panel-BZRyyc-9.js} +2 -2
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/{item-option-picker-EJlc0bmj.cjs → item-option-picker-DMLk4Uq_.cjs} +1 -1
- package/components/{item-option-picker-DkAENDES.js → item-option-picker-mU6X3bbk.js} +1 -1
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -1
- package/components/{item-option-position-picker-DX7lLZKO.js → item-option-position-picker-B4AuC_73.js} +1 -1
- package/components/{item-option-position-picker-Ba7cBvlL.cjs → item-option-position-picker-BTH6KixE.cjs} +1 -1
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -1
- package/components/{item-option-positions-number-field-Bqfg0MJm.js → item-option-positions-number-field-BTFGhhrb.js} +1 -1
- package/components/{item-option-positions-number-field-BQ8gFOAn.cjs → item-option-positions-number-field-Dz0mpPSk.cjs} +1 -1
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -1
- package/components/{item-option-radio-button-group-Bk7VQlpx.js → item-option-radio-button-group-CmYFScry.js} +1 -1
- package/components/{item-option-radio-button-group-2hX-E2WV.cjs → item-option-radio-button-group-EBLjtMVd.cjs} +1 -1
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/{item-option-slider-BKtJfL3D.js → item-option-slider-C7RfBary.js} +1 -1
- package/components/{item-option-slider-Kz2eFBql.cjs → item-option-slider-DRXTGW9W.cjs} +1 -1
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/{item-option-switch-BUteU1mc.cjs → item-option-switch-D-FbXXRl.cjs} +1 -1
- package/components/{item-option-switch-cGWccE79.js → item-option-switch-D-MY6Uqv.js} +1 -1
- package/components/{item-option-DpLdospV.cjs → item-option-t_LsqjoR.cjs} +1 -1
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -1
- package/components/{item-option-text-field-Dy8pqVKJ.js → item-option-text-field-BR2V4ro2.js} +1 -1
- package/components/{item-option-text-field-BC9fR-yW.cjs → item-option-text-field-Cn-9lblu.cjs} +1 -1
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +21 -21
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -1
- package/components/item-slot-drop/item-slot-drop.d.ts +2 -0
- package/components/item-slot-drop-7v-n-e1y.cjs +93 -0
- package/components/{item-slot-drop-CwZT8bTP.js → item-slot-drop-Db-tVAud.js} +69 -60
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -1
- package/components/item-slot-drop-panel/item-slot-drop-panel.d.ts +2 -0
- package/components/{item-slot-drop-panel-o5UdVrY_.js → item-slot-drop-panel-D-g4H1Rp.js} +117 -107
- package/components/item-slot-drop-panel-D2_1yWHs.cjs +58 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/item-slot-picker/item-slot-picker.d.ts +5 -0
- package/components/item-slot-picker-9afJORSK.cjs +160 -0
- package/components/{item-slot-picker-ilmmb0-8.js → item-slot-picker-BHtj0dRB.js} +109 -101
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -1
- package/components/item-slot-picker-panel/item-slot-picker-panel.d.ts +21 -1
- package/components/{item-slot-picker-panel-fJqEmxeD.js → item-slot-picker-panel-CIxGfaz3.js} +111 -69
- package/components/item-slot-picker-panel-CeOtdtMc.cjs +86 -0
- package/components/{kpi-positioning.config-mQuxf1ke.js → kpi-positioning.config-DDTfIZ_h.js} +1 -1
- package/components/{kpi-positioning.config-DIYWUwID.cjs → kpi-positioning.config-t9SxIqga.cjs} +1 -1
- package/components/legend-options.i18n-0hyeyskh.js +78 -0
- package/components/legend-options.i18n-CUZeW5rR.cjs +20 -0
- package/components/{line-chart-options.config-Opoz2jPk.js → line-chart-options.config-BdhyECMS.js} +2 -2
- package/components/{line-chart-options.config-DOGbeJhy.cjs → line-chart-options.config-CVtYVap1.cjs} +1 -1
- package/components/{line-chart-positioning.config-DqjrWmxJ.js → line-chart-positioning.config-BZoKaJVO.js} +1 -1
- package/components/{line-chart-positioning.config-DK9PycZ_.cjs → line-chart-positioning.config-DfTMlBBL.cjs} +1 -1
- package/components/{localized-mixin-EoNvtTBG.cjs → localized-mixin-BQowFGQK.cjs} +1 -1
- package/components/{localized-mixin-FPDNaZhb.js → localized-mixin-BdXrQldH.js} +1 -1
- package/components/{marker-map-positioning.config-BB51kE8O.cjs → marker-map-positioning.config-BsPUa8Ui.cjs} +1 -1
- package/components/{marker-map-positioning.config-CA08hZcp.js → marker-map-positioning.config-BtuIUPHT.js} +1 -1
- package/components/nl-B4gqLp1F.cjs +20 -0
- package/components/{nl-DNWGcGqO.js → nl-Chzh7kM2.js} +19 -4
- package/components/{ohlc-chart-options.config-CvlHm6hy.cjs → ohlc-chart-options.config-BQJWhXv7.cjs} +1 -1
- package/components/{ohlc-chart-options.config-C-TCUtOt.js → ohlc-chart-options.config-MYqetK62.js} +3 -3
- package/components/{ohlc-chart-positioning.config-CDL2vGsl.cjs → ohlc-chart-positioning.config-D1X1U96F.cjs} +1 -1
- package/components/{ohlc-chart-positioning.config-BqFHD1oj.js → ohlc-chart-positioning.config-Ny3U8zgV.js} +1 -1
- package/components/{parallel-coordinates-plot-options.config-UHrCS9q5.cjs → parallel-coordinates-plot-options.config-B4v6BtAz.cjs} +1 -1
- package/components/{parallel-coordinates-plot-options.config-C3HTFBTl.js → parallel-coordinates-plot-options.config-CN4p7QDD.js} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-Cc-ooVxV.cjs → parallel-coordinates-plot-positioning.config-BI6JMiBT.cjs} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-D6IuAk_K.js → parallel-coordinates-plot-positioning.config-Curf1XoL.js} +1 -1
- package/components/{period-over-period-condition.const-C1NZ9Bkp.cjs → period-over-period-condition.const-BOI8gxO1.cjs} +1 -1
- package/components/{period-over-period-condition.const-AE_2h-9O.js → period-over-period-condition.const-C9cn5m-o.js} +1 -2
- package/components/period-over-period-context-CeZHXSs0.js +84 -0
- package/components/period-over-period-context-Cx4pRKBn.cjs +20 -0
- package/components/{pivot-table-options.config-5pYvqc35.cjs → pivot-table-options.config-1DApg-wg.cjs} +1 -1
- package/components/{pivot-table-options.config-BlrguysB.js → pivot-table-options.config-DhzyxHTP.js} +1 -1
- package/components/{pivot-table-positioning.config-DDwXH70O.js → pivot-table-positioning.config-BoN7P8bs.js} +1 -1
- package/components/{pivot-table-positioning.config-DvwKNjoD.cjs → pivot-table-positioning.config-BsyGrzvX.cjs} +1 -1
- package/components/{pyramid-chart-options.config-CAC6cMmt.cjs → pyramid-chart-options.config-CNOOucJE.cjs} +1 -1
- package/components/{pyramid-chart-options.config-0Qf1naIx.js → pyramid-chart-options.config-DVBuswjg.js} +1 -1
- package/components/{pyramid-chart-positioning.config-DWou2jnm.js → pyramid-chart-positioning.config-D9Z40IzT.js} +1 -1
- package/components/{pyramid-chart-positioning.config-10BYkgv8.cjs → pyramid-chart-positioning.config-DdjlJjFb.cjs} +1 -1
- package/components/{radar-chart-positioning.config-B0O8vn-B.js → radar-chart-positioning.config-C16aywvy.js} +1 -1
- package/components/{radar-chart-positioning.config-Dg41uYWY.cjs → radar-chart-positioning.config-DARMkDIv.cjs} +1 -1
- package/components/{route-map-positioning.config-C1iUodTh.js → route-map-positioning.config-BmuPL5DK.js} +1 -1
- package/components/{route-map-positioning.config-DlM6xJTP.cjs → route-map-positioning.config-CTtpis1h.cjs} +1 -1
- package/components/{sankey-diagram-options.config-Y6jRK3wk.js → sankey-diagram-options.config-B86iq8pI.js} +1 -1
- package/components/{sankey-diagram-options.config-B8aHKfFt.cjs → sankey-diagram-options.config-mIgABANw.cjs} +1 -1
- package/components/{sankey-diagram-positioning.config-5EXNleL5.js → sankey-diagram-positioning.config-BhvJe1IX.js} +1 -1
- package/components/{sankey-diagram-positioning.config-BSu02GJ1.cjs → sankey-diagram-positioning.config-aLwXoVGA.cjs} +1 -1
- package/components/{scatter-plot-options.config-DhOGahRc.cjs → scatter-plot-options.config-BZVF4r3f.cjs} +1 -1
- package/components/{scatter-plot-options.config-DvGofFzR.js → scatter-plot-options.config-ChqZzslY.js} +2 -2
- package/components/{scatter-plot-positioning.config-CuyJUmiV.cjs → scatter-plot-positioning.config-CYy1jfz5.cjs} +1 -1
- package/components/{scatter-plot-positioning.config-nDbkUUqa.js → scatter-plot-positioning.config-twVc5wWl.js} +1 -1
- package/components/{set-locale-m257lVi3.js → set-locale-BeAF7qn4.js} +4 -4
- package/components/{set-locale-BkMmLcm6.cjs → set-locale-DvJ1yA4S.cjs} +1 -1
- package/components/{slicer-filter-positioning.config-BT5aNPHe.js → slicer-filter-positioning.config-WofHaYJx.js} +1 -1
- package/components/{slicer-filter-positioning.config-D7ZLoaGu.cjs → slicer-filter-positioning.config-_frD2LDr.cjs} +1 -1
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/slot-menu/slot-menu.d.ts +6 -0
- package/components/slot-menu-B-7MzAd6.cjs +71 -0
- package/components/{slot-menu-BB_nJWZx.js → slot-menu-DhGC4yoA.js} +88 -97
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/{slot-menu-list-C2nLODML.cjs → slot-menu-list-CiJK2fNu.cjs} +1 -1
- package/components/{slot-menu-list-3QkrOWgG.js → slot-menu-list-SoDeiZE1.js} +1 -1
- package/components/sort-options.config-CiPFyoxx.cjs +20 -0
- package/components/sort-options.config-CiZo1AEh.js +104 -0
- package/components/{speedometer-chart-positioning.config-CO1MtdU3.js → speedometer-chart-positioning.config-BLXUOOc_.js} +1 -1
- package/components/{speedometer-chart-positioning.config-BtDD3TiP.cjs → speedometer-chart-positioning.config-CkTqU3qn.cjs} +1 -1
- package/components/{spike-map-positioning.config-BhKVutm1.cjs → spike-map-positioning.config-DmLlz8ZD.cjs} +1 -1
- package/components/{spike-map-positioning.config-CQkcCdHD.js → spike-map-positioning.config-pgedE0nh.js} +1 -1
- package/components/{strip-plot-positioning.config-DEyOR-yS.js → strip-plot-positioning.config-B4sVlI82.js} +1 -1
- package/components/{strip-plot-positioning.config-CEYgtT13.cjs → strip-plot-positioning.config-CtctjJwh.cjs} +1 -1
- package/components/sunburst-chart-options.config-DNkL0pN4.cjs +20 -0
- package/components/{sunburst-chart-options.config-DVETeZFc.js → sunburst-chart-options.config-Zg42LwmT.js} +26 -83
- package/components/{sunburst-chart-options.de-DO65RQI_.cjs → sunburst-chart-options.de-BIJ2Njvn.cjs} +1 -1
- package/components/{sunburst-chart-options.de-B0mIITIx.js → sunburst-chart-options.de-BaLziTTh.js} +2 -2
- package/components/{sunburst-chart-options.en-C3IkkUBW.cjs → sunburst-chart-options.en-C2P4VIQq.cjs} +1 -1
- package/components/{sunburst-chart-options.en-LoUPN34r.js → sunburst-chart-options.en-CxWuNug0.js} +2 -2
- package/components/{sunburst-chart-options.es-BV_4fN10.cjs → sunburst-chart-options.es-eGoOC0h2.cjs} +1 -1
- package/components/{sunburst-chart-options.es-DBje7CMN.js → sunburst-chart-options.es-nqpK13rB.js} +2 -2
- package/components/{sunburst-chart-options.fr-Cnbpsj6t.js → sunburst-chart-options.fr-Dtfoz1Z-.js} +2 -2
- package/components/{sunburst-chart-options.fr-DO7-oeNe.cjs → sunburst-chart-options.fr-wdaTbc-I.cjs} +1 -1
- package/components/{sunburst-chart-options.nl-DsecjcfE.cjs → sunburst-chart-options.nl-2U3YQ6aP.cjs} +1 -1
- package/components/{sunburst-chart-options.nl-CluctKYY.js → sunburst-chart-options.nl-BljrFLha.js} +2 -2
- package/components/{sunburst-chart-positioning.config-DP-ifsmn.js → sunburst-chart-positioning.config-BJpphNBF.js} +1 -1
- package/components/{sunburst-chart-positioning.config-DNtHXpHg.cjs → sunburst-chart-positioning.config-BaQsxbr9.cjs} +1 -1
- package/components/{symbol-map-positioning.config-CoLDPgYM.cjs → symbol-map-positioning.config-657GZ7GZ.cjs} +1 -1
- package/components/{symbol-map-positioning.config-Nj7pDOAu.js → symbol-map-positioning.config-DEMmnp7J.js} +1 -1
- package/components/theme-options.config-CnSIfTf6.js +47 -0
- package/components/theme-options.config-DZJos9OK.cjs +20 -0
- package/components/theme-options.i18n-7V690gi-.cjs +20 -0
- package/components/theme-options.i18n-DtQoYxRz.js +43 -0
- package/components/{treemap-chart-options.config-DLEY6YuI.cjs → treemap-chart-options.config-B-bY4pOq.cjs} +1 -1
- package/components/{treemap-chart-options.config-DsqsX9So.js → treemap-chart-options.config-BYbW8htL.js} +1 -1
- package/components/{treemap-chart-positioning.config-B_R_cmFs.js → treemap-chart-positioning.config-CLKsuS0b.js} +1 -1
- package/components/{treemap-chart-positioning.config-BVOqj2V1.cjs → treemap-chart-positioning.config-DnY0Gnz7.cjs} +1 -1
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/{utils-DIKmx9O1.cjs → utils-BGtDiw5k.cjs} +1 -1
- package/components/{utils-DS6Pthr4.js → utils-ZVgZ4EFf.js} +1 -1
- package/components/utils.cjs +1 -1
- package/components/utils.js +8 -8
- package/components/{venn-diagram-positioning.config-DOsSkJYl.js → venn-diagram-positioning.config-BjiidwmG.js} +1 -1
- package/components/{venn-diagram-positioning.config-8JCVpYOt.cjs → venn-diagram-positioning.config-OBLHpLAK.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-DiyF596X.cjs → wordcloud-chart-options.config-COTlsOrG.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-UAl2hfU7.js → wordcloud-chart-options.config-vKHxHgLh.js} +1 -1
- package/components/{wordcloud-chart-positioning.config-DSVw_z7Y.js → wordcloud-chart-positioning.config-68AyKLI2.js} +1 -1
- package/components/{wordcloud-chart-positioning.config-D13iPEEg.cjs → wordcloud-chart-positioning.config-B_pohQK5.cjs} +1 -1
- package/custom-elements.json +3411 -2436
- package/grid-core/item-grid-base.d.ts +5 -4
- package/package.json +3 -3
- package/react/components/ai-chat.component.ts +1 -1
- package/react/esm/components/ai-chat.component.d.ts +1 -1
- package/react/esm/components/ai-chat.component.js +1 -1
- package/react/package.json +2 -2
- package/standalone/add-to-dashboard.js +1 -1
- package/standalone/chunks/advanced-options.i18n-BDqAAkCh.js +2 -0
- package/standalone/chunks/{area-chart-options.config-BMvUma_d.js → area-chart-options.config-MSCX7GCC.js} +1 -1
- package/standalone/chunks/{bar-chart-options.config-BpHqXBFq.js → bar-chart-options.config-C-kawBg1.js} +1 -1
- package/standalone/chunks/{box-plot-options.config-DDWb_KmV.js → box-plot-options.config-EeKqXIKW.js} +1 -1
- package/standalone/chunks/{bubble-chart-options.config-BKPTymfC.js → bubble-chart-options.config-BEP0haal.js} +1 -1
- package/standalone/chunks/{chart-helpers-CR-EUEPf.js → chart-helpers-CKlLA7d7.js} +2 -2
- package/standalone/chunks/{choropleth-map-options.config-CDMjKnJD.js → choropleth-map-options.config-C9iAp9Kx.js} +1 -1
- package/standalone/chunks/{circle-pack-chart-options.config-CjDkh4DG.js → circle-pack-chart-options.config-Ch67WcjC.js} +1 -1
- package/standalone/chunks/{color-range-utils-BVyHBRiq.js → color-range-utils-D2amn7jf.js} +1 -1
- package/standalone/chunks/{column-chart-options.config-YIe6cMV5.js → column-chart-options.config-kXBPyFRG.js} +1 -1
- package/standalone/chunks/{combination-chart-options.config-Bf7cNmpc.js → combination-chart-options.config-CvVDQmwB.js} +1 -1
- package/standalone/chunks/data-broker-CUCszU0S.js +2 -0
- package/standalone/chunks/de-CBvR-tEX.js +2 -0
- package/standalone/chunks/{display-settings-binning-BeLLxd3i.js → display-settings-binning-5gaYqJVT.js} +1 -1
- package/standalone/chunks/display-settings-datetime-DhmVs5jK.js +199 -0
- package/standalone/chunks/{display-settings-grand-totals-BuhpQKJ6.js → display-settings-grand-totals-B83suS2N.js} +1 -1
- package/standalone/chunks/{display-settings-numeric-m30IYI7I.js → display-settings-numeric-CnKNRgjc.js} +1 -1
- package/standalone/chunks/display-settings-period-over-period-Di_2_DDX.js +133 -0
- package/standalone/chunks/donut-chart-options.config-re9dbce1.js +2 -0
- package/standalone/chunks/donut-chart-options.de-C1yjMc7p.js +2 -0
- package/standalone/chunks/donut-chart-options.en-CJSA_qMs.js +2 -0
- package/standalone/chunks/donut-chart-options.es-9wl-kU6W.js +2 -0
- package/standalone/chunks/donut-chart-options.fr-FewVJ9oP.js +2 -0
- package/standalone/chunks/donut-chart-options.nl-BA31OsN3.js +2 -0
- package/standalone/chunks/{embed-Bv1ps-EM.js → embed-BL4OOcIV.js} +1 -1
- package/standalone/chunks/en-Cu0ra3lJ.js +2 -0
- package/standalone/chunks/en-GB-B575630r.js +2 -0
- package/standalone/chunks/en-US-Cu0ra3lJ.js +2 -0
- package/standalone/chunks/es-CJnRT1YI.js +2 -0
- package/standalone/chunks/{filters-CxgBXUF1.js → filters-Dk7oDe_z.js} +75 -73
- package/standalone/chunks/{formula-codemirror-Cq94j3-f.js → formula-codemirror-Dn_LEpVx.js} +8 -8
- package/standalone/chunks/fr-DqE0NP1j.js +2 -0
- package/standalone/chunks/funnel-chart-options.config-CW0RAyLR.js +2 -0
- package/standalone/chunks/{funnel-chart-options.de-u5OrFyng.js → funnel-chart-options.de-D2UImO-s.js} +1 -1
- package/standalone/chunks/{funnel-chart-options.en-BEGSBn35.js → funnel-chart-options.en-BJr4frpT.js} +1 -1
- package/standalone/chunks/{funnel-chart-options.es-CxWkEgMs.js → funnel-chart-options.es-DkAYtLaS.js} +1 -1
- package/standalone/chunks/{funnel-chart-options.fr-DZmmgK2t.js → funnel-chart-options.fr-BD3VKHzw.js} +1 -1
- package/standalone/chunks/{funnel-chart-options.nl-C6BitaEJ.js → funnel-chart-options.nl-CubJLSq7.js} +1 -1
- package/standalone/chunks/{guidelines-options.config-CS29_J9M.js → guidelines-options.config-CrJ_haaO.js} +1 -1
- package/standalone/chunks/{heat-map-options.config-DDQMD38W.js → heat-map-options.config-_1TkgBVb.js} +1 -1
- package/standalone/chunks/heat-table-options.config-tgVKW_7X.js +2 -0
- package/standalone/chunks/interactivity-options.config-CG_ZbLS5.js +2 -0
- package/standalone/chunks/interactivity-options.i18n-V1RAn6Ue.js +2 -0
- package/standalone/chunks/{is-same-option-value-7kXNF4st.js → is-same-option-value-CfxEd5pG.js} +1 -1
- package/standalone/chunks/{item-option-action-button-group-BoyqF9vt.js → item-option-action-button-group-C1ke6Jb3.js} +1 -1
- package/standalone/chunks/{item-option-base-CBcDT8MX.js → item-option-base-DSAq8pgm.js} +1 -1
- package/standalone/chunks/{item-option-color-palette-picker-C9PGAv4V.js → item-option-color-palette-picker-waW4sAIj.js} +1 -1
- package/standalone/chunks/{item-option-color-picker-D4fVJlqF.js → item-option-color-picker-9e_3aSen.js} +1 -1
- package/standalone/chunks/{item-option-color-range-BlAdTguE.js → item-option-color-range-CWmg4Tdk.js} +1 -1
- package/standalone/chunks/{item-option-guidelines-DMsYsHDu.js → item-option-guidelines-BnLLvaFI.js} +1 -1
- package/standalone/chunks/{item-option-multi-language-field-NUbm1drg.js → item-option-multi-language-field-BN9u0rGs.js} +1 -1
- package/standalone/chunks/{item-option-number-field-DRp7kbHL.js → item-option-number-field-D2gvKQN_.js} +1 -1
- package/standalone/chunks/{item-option-panel-cXrRclzM.js → item-option-panel-BWQpttWc.js} +2 -2
- package/standalone/chunks/{item-option-picker-Ba09L4Cs.js → item-option-picker-BElgjysX.js} +1 -1
- package/standalone/chunks/{item-option-position-picker-GEGTnhjw.js → item-option-position-picker-B7FGJPTv.js} +1 -1
- package/standalone/chunks/{item-option-positions-number-field-n44s1k5v.js → item-option-positions-number-field-CyCWqMby.js} +1 -1
- package/standalone/chunks/{item-option-radio-button-group-3s_b1NvR.js → item-option-radio-button-group-DjMjG9W3.js} +1 -1
- package/standalone/chunks/{item-option-slider-DtY65Gxk.js → item-option-slider-CJrobai6.js} +1 -1
- package/standalone/chunks/{item-option-switch-4sJaI0mx.js → item-option-switch-DTK0eRzd.js} +1 -1
- package/standalone/chunks/{item-option-text-field-Bt6Lj6kh.js → item-option-text-field-B4-wMWpQ.js} +1 -1
- package/standalone/chunks/item-slot-picker-panel-BZsTEDns.js +438 -0
- package/standalone/chunks/legend-options.i18n-Dr6XmdZs.js +2 -0
- package/standalone/chunks/line-chart-options.config-VgcDr1j6.js +2 -0
- package/standalone/chunks/load-data-fields-for-datasets-Df6IGwne.js +25 -0
- package/standalone/chunks/localize-DIWFho02.js +2 -0
- package/standalone/chunks/{localized-decorator-DosMCCQo.js → localized-decorator-C2ufmkVS.js} +1 -1
- package/standalone/chunks/{localized-mixin-BWJj88bd.js → localized-mixin-CLvEZO1g.js} +1 -1
- package/standalone/chunks/{luzmo-icon-markup-ByaNI6dg.js → luzmo-icon-markup-C1Wzxt4b.js} +1 -1
- package/standalone/chunks/nl-DBD8_AIO.js +2 -0
- package/standalone/chunks/{ohlc-chart-options.config-kyYOgBtR.js → ohlc-chart-options.config-DoFcORQY.js} +1 -1
- package/standalone/chunks/{option-interaction-controller-BuwRr21c.js → option-interaction-controller-BfHSkomY.js} +1 -1
- package/standalone/chunks/{parallel-coordinates-plot-options.config-BcIYCRdF.js → parallel-coordinates-plot-options.config-JmTkwzbf.js} +1 -1
- package/standalone/chunks/{pivot-table-options.config-BZpId1ju.js → pivot-table-options.config-mk1a9meE.js} +1 -1
- package/standalone/chunks/{pyramid-chart-options.config-xYIVE_ib.js → pyramid-chart-options.config-DuCSp-ss.js} +1 -1
- package/standalone/chunks/{route-map-options.config-CGBkHnhM.js → route-map-options.config-B73cNABj.js} +1 -1
- package/standalone/chunks/{sankey-diagram-options.config-Curc2-If.js → sankey-diagram-options.config-BsFxRYGh.js} +1 -1
- package/standalone/chunks/scatter-plot-options.config-DiO2UduI.js +2 -0
- package/standalone/chunks/sort-options.config-fFAfPcSI.js +2 -0
- package/standalone/chunks/{spike-map-options.config-CSenlJ_F.js → spike-map-options.config-BpRwiS7U.js} +1 -1
- package/standalone/chunks/sunburst-chart-options.config-TCXdodS8.js +2 -0
- package/standalone/chunks/sunburst-chart-options.de-DabJH9rY.js +2 -0
- package/standalone/chunks/sunburst-chart-options.en-BNJlsmSV.js +2 -0
- package/standalone/chunks/sunburst-chart-options.es-xn2E_v17.js +2 -0
- package/standalone/chunks/sunburst-chart-options.fr-DQR4oaiY.js +2 -0
- package/standalone/chunks/sunburst-chart-options.nl-BZGlfl67.js +2 -0
- package/standalone/chunks/{task-BlhDPTQS.js → task-B6C9QMNJ.js} +1 -1
- package/standalone/chunks/theme-options.config-W0JNb9nG.js +2 -0
- package/standalone/chunks/theme-options.i18n-DtI0eOJ4.js +2 -0
- package/standalone/chunks/{treemap-chart-options.config-DxkumoYq.js → treemap-chart-options.config-CLpDBIB5.js} +1 -1
- package/standalone/chunks/{wordcloud-chart-options.config-b-ibtRWp.js → wordcloud-chart-options.config-Bjw10jRd.js} +1 -1
- package/standalone/interactive-viz-item.js +54 -53
- package/standalone/item-grid.js +1 -1
- package/standalone/manifest.json +92 -87
- package/types/ai-chat.types.d.ts +60 -0
- package/types.d.ts +1 -1
- package/utils/filters/expressions.d.ts +2 -0
- package/utils/slot-state/slot-store.d.ts +3 -8
- package/utils/time/period-over-period-condition.const.d.ts +0 -1
- package/utils/time/period-over-period-context.d.ts +75 -0
- package/utils/time/tests/period-over-period-context.test.d.ts +1 -0
- package/components/ai-chat-BNcSadGI.cjs +0 -393
- package/components/chart-helpers-fMnqHRzC.cjs +0 -20
- package/components/de-KvAhLsm8.cjs +0 -20
- package/components/display-settings-DaZ3CiKB.cjs +0 -143
- package/components/display-settings-period-over-period-B8Ne3lq-.cjs +0 -227
- package/components/donut-chart-options.config-DX-spmaZ.cjs +0 -20
- package/components/es-DVISHTAz.cjs +0 -20
- package/components/filter-expression-picker-Cc3xfiGT.js +0 -432
- package/components/filter-expression-picker-DDSI9bYq.cjs +0 -40
- package/components/filter-item-DQNbp7Qn.cjs +0 -111
- package/components/filter-value-picker-datetime-BVDQ-og5.cjs +0 -51
- package/components/filters-BPbPFOu5.cjs +0 -187
- package/components/fr-BCxcMVQV.cjs +0 -20
- package/components/funnel-chart-options.config-CKp94nx7.cjs +0 -20
- package/components/heat-table-options.config-D21xtaIk.cjs +0 -20
- package/components/interactive-viz-item-ojdH1uk0.cjs +0 -268
- package/components/interactivity-options.config-Bzk2L-qh.cjs +0 -20
- package/components/interactivity-options.config-MuEP5vSt.js +0 -72
- package/components/interactivity-options.i18n-BsYv4Rh9.cjs +0 -20
- package/components/item-slot-drop-DLzi4Dik.cjs +0 -91
- package/components/item-slot-drop-panel-Oh8zdKJH.cjs +0 -57
- package/components/item-slot-picker-O9HKr3mv.cjs +0 -158
- package/components/item-slot-picker-panel-BhhN54IM.cjs +0 -82
- package/components/nl-XotE1MQq.cjs +0 -20
- package/components/slot-menu-C8p0nkVS.cjs +0 -71
- package/components/sunburst-chart-options.config-CZdd6qx0.cjs +0 -20
- package/standalone/chunks/data-broker-DXDyIrj_.js +0 -2
- package/standalone/chunks/de-BkB0q1Eg.js +0 -2
- package/standalone/chunks/display-settings-datetime-BkeiKIVV.js +0 -199
- package/standalone/chunks/display-settings-period-over-period-CqDlOSRn.js +0 -209
- package/standalone/chunks/donut-chart-options.config-DWpePR5V.js +0 -2
- package/standalone/chunks/donut-chart-options.de-IKGJRoDL.js +0 -2
- package/standalone/chunks/donut-chart-options.en-O2IK3YiS.js +0 -2
- package/standalone/chunks/donut-chart-options.es-gKAHuFAU.js +0 -2
- package/standalone/chunks/donut-chart-options.fr-Q-uMrtQG.js +0 -2
- package/standalone/chunks/donut-chart-options.nl-B6v6jK4l.js +0 -2
- package/standalone/chunks/en-63f7j4v7.js +0 -2
- package/standalone/chunks/en-GB-QAmXQf8W.js +0 -2
- package/standalone/chunks/en-US-63f7j4v7.js +0 -2
- package/standalone/chunks/es-Bo0jStZn.js +0 -2
- package/standalone/chunks/fr-Co_qVhhV.js +0 -2
- package/standalone/chunks/funnel-chart-options.config-S1yxc6IG.js +0 -2
- package/standalone/chunks/heat-table-options.config-B4K0Ygug.js +0 -2
- package/standalone/chunks/interactivity-options.config-09eXx6k6.js +0 -2
- package/standalone/chunks/interactivity-options.i18n-BLDCmZkC.js +0 -2
- package/standalone/chunks/item-slot-picker-panel-BOSVFBIy.js +0 -429
- package/standalone/chunks/line-chart-options.config--_LXaPbB.js +0 -2
- package/standalone/chunks/load-data-fields-for-datasets-CDlut-6S.js +0 -25
- package/standalone/chunks/localize-DXRmGRe-.js +0 -2
- package/standalone/chunks/nl-CQz2jrVx.js +0 -2
- package/standalone/chunks/scatter-plot-options.config-DG9Ki-mt.js +0 -2
- package/standalone/chunks/sunburst-chart-options.config-DOBSe3i5.js +0 -2
- package/standalone/chunks/sunburst-chart-options.de-D3iq4Q-m.js +0 -2
- package/standalone/chunks/sunburst-chart-options.en-BUJ_Pr9C.js +0 -2
- package/standalone/chunks/sunburst-chart-options.es-stKrKGz2.js +0 -2
- package/standalone/chunks/sunburst-chart-options.fr-RkBtlMNp.js +0 -2
- package/standalone/chunks/sunburst-chart-options.nl-BUeDNot_.js +0 -2
|
@@ -18,22 +18,22 @@
|
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
20
|
import "./tokens-6HmQYnEP.js";
|
|
21
|
-
import { i as e, n as t, t as n } from "./base-
|
|
21
|
+
import { i as e, n as t, t as n } from "./base-BqwRKT4V.js";
|
|
22
22
|
import { t as r } from "./decorate-B2TzfnLZ.js";
|
|
23
|
-
import { t as i } from "./localized-mixin-
|
|
23
|
+
import { t as i } from "./localized-mixin-BdXrQldH.js";
|
|
24
24
|
import { t as a } from "./data-broker-C1Iz71TN.js";
|
|
25
25
|
import { t as o } from "./localize-BNystXyK.js";
|
|
26
|
-
import {
|
|
27
|
-
import { luzmoAlertOutline as c, luzmoAngleDown as l, luzmoAngleLeft as u, luzmoAngleRight as d, luzmoArrowLeft as f, luzmoArrowRight as p, luzmoArrowsHorizontal as m, luzmoCheckCircleOutline as h, luzmoDesktop as g, luzmoLaptop as _, luzmoLink as v, luzmoMobile as
|
|
26
|
+
import { s } from "./chart-helpers-BKeMLhov.js";
|
|
27
|
+
import { luzmoAlertOutline as c, luzmoAngleDown as l, luzmoAngleLeft as u, luzmoAngleRight as d, luzmoArrowLeft as f, luzmoArrowRight as p, luzmoArrowsHorizontal as m, luzmoCheckCircleOutline as h, luzmoDesktop as g, luzmoLaptop as _, luzmoLink as v, luzmoMobile as y, luzmoPlus as b, luzmoTablet as x } from "@luzmo/icons";
|
|
28
28
|
import "@luzmo/lucero/action-button";
|
|
29
29
|
import "@luzmo/lucero/button";
|
|
30
30
|
import "@luzmo/lucero/icon";
|
|
31
31
|
import "@luzmo/lucero/overlay";
|
|
32
32
|
import "@luzmo/lucero/popover";
|
|
33
33
|
import "@luzmo/lucero/tooltip";
|
|
34
|
-
import { html as
|
|
35
|
-
import { property as
|
|
36
|
-
import { localized as
|
|
34
|
+
import { html as S, nothing as C, unsafeCSS as ee } from "lit";
|
|
35
|
+
import { property as w, query as T, state as E } from "lit/decorators.js";
|
|
36
|
+
import { localized as D, msg as O, str as k } from "@lit/localize";
|
|
37
37
|
import "@luzmo/lucero/progress-circle";
|
|
38
38
|
import "@luzmo/lucero/checkbox";
|
|
39
39
|
import "@luzmo/lucero/divider";
|
|
@@ -41,16 +41,16 @@ import "@luzmo/lucero/field-group";
|
|
|
41
41
|
import "@luzmo/lucero/menu";
|
|
42
42
|
import "@luzmo/lucero/notice";
|
|
43
43
|
import "@luzmo/lucero/search";
|
|
44
|
-
import { ifDefined as
|
|
44
|
+
import { ifDefined as A } from "lit/directives/if-defined.js";
|
|
45
45
|
// src/components/add-to-dashboard/add-to-dashboard.module.scss?inline
|
|
46
|
-
var
|
|
46
|
+
var j = ":host{align-items:flex-end;gap:var(--luzmo-spacing-2);font-family:var(--luzmo-font-family);flex-direction:column;display:inline-flex}.trigger-spinner{--luzmo-progress-circle-size:var(--luzmo-icon-size-xs)}.trigger-chevron{margin-inline-start:var(--luzmo-spacing-1)}.picker{gap:var(--luzmo-spacing-3);width:var(--luzmo-add-to-dashboard-picker-width,var(--add-to-dashboard-picker-width));max-width:90vw;padding:var(--luzmo-spacing-2);color:var(--luzmo-font-color);font-size:var(--luzmo-font-size-s);flex-direction:column;display:flex}luzmo-search{width:100%}.list{max-height:var(--luzmo-add-to-dashboard-list-max-height,var(--add-to-dashboard-list-max-height));flex-direction:column;display:flex;overflow-y:auto}.menu{--luzmo-menu-max-height:none;flex:none;width:100%;overflow:visible}.create-row{--luzmo-menu-item-label-icon-color-default:var(--luzmo-primary)}.thumbnail{object-fit:cover;border:var(--luzmo-border-width) solid var(--luzmo-border-color);border-radius:var(--luzmo-border-radius);width:2.75rem;height:2rem}.drill-in{color:var(--luzmo-font-color-extra-dimmed)}.header{align-items:center;gap:var(--luzmo-spacing-2);display:flex}.header-title{font-weight:var(--luzmo-font-weight-bold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.empty{align-items:center;gap:var(--luzmo-spacing-3);padding:var(--luzmo-spacing-4);text-align:center;flex-direction:column;display:flex}.loading{padding:var(--luzmo-spacing-3);justify-content:center;display:flex}.screen-modes{gap:var(--luzmo-spacing-2);flex-direction:column;display:flex}.screen-mode{align-items:center;gap:var(--luzmo-spacing-2);display:flex}.screen-mode-size{color:var(--luzmo-font-color-extra-dimmed)}.footer{justify-content:flex-end;display:flex}.status{justify-content:flex-end;width:0;min-width:100%;display:flex}.status:empty{display:none}.alert{flex:none;inline-size:max-content}.alert-body{align-items:center;gap:var(--luzmo-spacing-3);block-size:1lh;min-inline-size:0;display:flex}.alert-text{min-inline-size:0;font-weight:var(--luzmo-font-weight-semibold);white-space:pre;display:flex}.alert[variant=negative] .alert-text{white-space:normal}.alert-name{min-inline-size:0;font-weight:var(--luzmo-font-weight-bold);text-overflow:ellipsis;white-space:nowrap;unicode-bidi:plaintext;overflow:hidden}.alert-open{flex:none}:host{--add-to-dashboard-picker-width:18rem;--add-to-dashboard-list-max-height:16rem}", M = "0.1.108", N = "0.1.0", P = [
|
|
47
47
|
"id",
|
|
48
48
|
"name",
|
|
49
49
|
"contents",
|
|
50
50
|
"modified_at",
|
|
51
51
|
"is_variant",
|
|
52
52
|
"original_id"
|
|
53
|
-
],
|
|
53
|
+
], te = /* @__PURE__ */ new Set(["designer", "owner"]), ne = "flag_dashboard_variants", re = [
|
|
54
54
|
"desktop",
|
|
55
55
|
"tablet",
|
|
56
56
|
"mobile"
|
|
@@ -66,24 +66,29 @@ async function F(e, t, n) {
|
|
|
66
66
|
total: a
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
async function I(e) {
|
|
70
|
-
let
|
|
69
|
+
async function I(e, t) {
|
|
70
|
+
let n = (await e.fetchApi("/user", {
|
|
71
71
|
action: "get",
|
|
72
|
-
version:
|
|
72
|
+
version: N,
|
|
73
73
|
find: {
|
|
74
74
|
where: { id: "me" },
|
|
75
|
-
attributes: ["id", "flags"]
|
|
75
|
+
attributes: ["id", "flags"],
|
|
76
|
+
...t ? { include: [{
|
|
77
|
+
model: "Organization",
|
|
78
|
+
attributes: ["id"]
|
|
79
|
+
}] } : {}
|
|
76
80
|
}
|
|
77
|
-
});
|
|
81
|
+
})).rows?.[0];
|
|
78
82
|
return {
|
|
79
|
-
id:
|
|
80
|
-
flags:
|
|
83
|
+
id: n?.id ?? "",
|
|
84
|
+
flags: n?.flags ?? [],
|
|
85
|
+
organizations: n?.organizations
|
|
81
86
|
};
|
|
82
87
|
}
|
|
83
88
|
async function L(e, t) {
|
|
84
89
|
return (await e.fetchApi("/authorization", {
|
|
85
90
|
action: "get",
|
|
86
|
-
version:
|
|
91
|
+
version: N,
|
|
87
92
|
find: { where: { id: t } }
|
|
88
93
|
})).rows?.[0];
|
|
89
94
|
}
|
|
@@ -96,7 +101,7 @@ async function R(e, t, n) {
|
|
|
96
101
|
}
|
|
97
102
|
}, i = await e.fetchApi("/securable", {
|
|
98
103
|
action: "get",
|
|
99
|
-
version:
|
|
104
|
+
version: N,
|
|
100
105
|
find: r
|
|
101
106
|
}, { signal: n });
|
|
102
107
|
return {
|
|
@@ -114,9 +119,9 @@ function z(e) {
|
|
|
114
119
|
}
|
|
115
120
|
function B() {
|
|
116
121
|
return {
|
|
117
|
-
version:
|
|
122
|
+
version: M,
|
|
118
123
|
syncScreenModes: !0,
|
|
119
|
-
views:
|
|
124
|
+
views: re.map((e) => ({
|
|
120
125
|
screenModus: e,
|
|
121
126
|
options: { theme: { id: "default" } },
|
|
122
127
|
filterGroups: [],
|
|
@@ -153,7 +158,7 @@ async function U(e) {
|
|
|
153
158
|
authKey: e.authKey,
|
|
154
159
|
authToken: e.authToken,
|
|
155
160
|
skipNetworkListeners: !0
|
|
156
|
-
}),
|
|
161
|
+
}), n = await L(t, e.authKey), r = n?.type === "embed", i = await I(t, !r), s = z(n), c = r ? te.has(n.role ?? "") : i.organizations?.[0]?.organizationRole?.flagEditor !== !1, l = !!i.id && i.flags.includes(ne), u = [...s.modifyIds, ...l ? s.useOnlyIds : []], d = u.length > 0 ? { id: { notIn: u } } : {}, f = (t, n = !1) => {
|
|
157
162
|
let r = [...new Set((t.contents?.views ?? []).map((e) => e.screenModus))];
|
|
158
163
|
return {
|
|
159
164
|
id: t.id,
|
|
@@ -162,68 +167,68 @@ async function U(e) {
|
|
|
162
167
|
screenModes: r.length > 0 ? r : ["desktop"],
|
|
163
168
|
...n ? { requiresVariant: n } : {}
|
|
164
169
|
};
|
|
165
|
-
},
|
|
166
|
-
if (
|
|
170
|
+
}, p, m = (e, n) => async (r, i) => {
|
|
171
|
+
if (u.length === 0) return {
|
|
167
172
|
count: 0,
|
|
168
173
|
rows: []
|
|
169
174
|
};
|
|
170
|
-
let
|
|
171
|
-
return
|
|
175
|
+
let a = r > 0 && p?.search === e ? p.rows : void 0;
|
|
176
|
+
return a || (a = (await R(t, {
|
|
172
177
|
where: {
|
|
173
178
|
is_variant: !1,
|
|
174
179
|
archived_at: null,
|
|
175
|
-
id: { in:
|
|
180
|
+
id: { in: u }
|
|
176
181
|
},
|
|
177
|
-
attributes:
|
|
182
|
+
attributes: P,
|
|
178
183
|
...V(e)
|
|
179
|
-
}, n)).rows.map((e) =>
|
|
184
|
+
}, n)).rows.map((e) => f(e, !s.modifyIds.has(e.id))).sort((e, t) => e.name.localeCompare(t.name)), p = {
|
|
180
185
|
search: e,
|
|
181
|
-
rows:
|
|
186
|
+
rows: a
|
|
182
187
|
}), {
|
|
183
|
-
count:
|
|
184
|
-
rows:
|
|
188
|
+
count: a.length,
|
|
189
|
+
rows: a.slice(r, r + i)
|
|
185
190
|
};
|
|
186
|
-
},
|
|
191
|
+
}, h = (e, n, r, a) => async (o, s) => {
|
|
187
192
|
let c = await R(t, {
|
|
188
193
|
where: {
|
|
189
194
|
is_variant: !1,
|
|
190
195
|
archived_at: null,
|
|
191
|
-
...
|
|
196
|
+
...d
|
|
192
197
|
},
|
|
193
|
-
attributes:
|
|
194
|
-
...H(
|
|
198
|
+
attributes: P,
|
|
199
|
+
...H(i.id, r),
|
|
195
200
|
...V(e),
|
|
196
201
|
limit: s,
|
|
197
202
|
offset: o,
|
|
198
203
|
order: [["modified_at", "desc"]]
|
|
199
|
-
},
|
|
204
|
+
}, n);
|
|
200
205
|
return {
|
|
201
206
|
count: c.count,
|
|
202
|
-
rows: c.rows.map((e) =>
|
|
207
|
+
rows: c.rows.map((e) => f(e, a))
|
|
203
208
|
};
|
|
204
|
-
},
|
|
209
|
+
}, g = async (e, n, r, i) => {
|
|
205
210
|
await t.fetchApi("/securable", {
|
|
206
211
|
action: "update",
|
|
207
|
-
version:
|
|
212
|
+
version: N,
|
|
208
213
|
id: e,
|
|
209
214
|
properties: { append_item: {
|
|
210
215
|
item: n,
|
|
211
216
|
...r?.length ? { screenModes: r } : {}
|
|
212
217
|
} }
|
|
213
218
|
}, { signal: i });
|
|
214
|
-
},
|
|
219
|
+
}, _ = async (e, n, r) => {
|
|
215
220
|
try {
|
|
216
|
-
await
|
|
221
|
+
await g(e.id, n, r);
|
|
217
222
|
} catch (n) {
|
|
218
223
|
throw await t.fetchApi("/securable", {
|
|
219
224
|
action: "delete",
|
|
220
|
-
version:
|
|
225
|
+
version: N,
|
|
221
226
|
id: e.id
|
|
222
227
|
}).catch(() => void 0), n;
|
|
223
228
|
}
|
|
224
|
-
},
|
|
229
|
+
}, v = async (e, n) => await t.fetchApi("/securable", {
|
|
225
230
|
action: "create",
|
|
226
|
-
version:
|
|
231
|
+
version: N,
|
|
227
232
|
properties: {
|
|
228
233
|
...e,
|
|
229
234
|
type: "dashboard"
|
|
@@ -232,41 +237,41 @@ async function U(e) {
|
|
|
232
237
|
});
|
|
233
238
|
return {
|
|
234
239
|
async list(e, t) {
|
|
235
|
-
return
|
|
236
|
-
|
|
237
|
-
...
|
|
240
|
+
return i.id ? await F([
|
|
241
|
+
m(e.search, t.signal),
|
|
242
|
+
...l ? [h(e.search, t.signal, {
|
|
238
243
|
flagUse: !0,
|
|
239
244
|
flagModify: !1
|
|
240
245
|
}, !0)] : [],
|
|
241
|
-
|
|
246
|
+
h(e.search, t.signal, { flagModify: !0 }, !1)
|
|
242
247
|
], e.offset, e.limit) : {
|
|
243
248
|
rows: [],
|
|
244
249
|
total: 0
|
|
245
250
|
};
|
|
246
251
|
},
|
|
247
252
|
async add(e, t, n, r) {
|
|
248
|
-
await
|
|
253
|
+
await g(e.id, t, n.screenModes, r.signal);
|
|
249
254
|
},
|
|
250
|
-
...
|
|
251
|
-
let r = await
|
|
255
|
+
...c ? { async create(t, n) {
|
|
256
|
+
let r = await v({
|
|
252
257
|
name: n.name ? { [e.language]: n.name } : {},
|
|
253
258
|
contents: B()
|
|
254
259
|
});
|
|
255
|
-
return await
|
|
260
|
+
return await _(r, t, void 0), f(r);
|
|
256
261
|
} } : {},
|
|
257
|
-
...
|
|
262
|
+
...l ? { async listVariants(e, n) {
|
|
258
263
|
return (await R(t, {
|
|
259
264
|
where: {
|
|
260
265
|
is_variant: !0,
|
|
261
266
|
original_id: e.id,
|
|
262
267
|
archived_at: null
|
|
263
268
|
},
|
|
264
|
-
attributes:
|
|
265
|
-
...H(
|
|
269
|
+
attributes: P,
|
|
270
|
+
...H(i.id, { flagModify: !0 }),
|
|
266
271
|
order: [["modified_at", "desc"]]
|
|
267
|
-
},
|
|
272
|
+
}, n.signal)).rows.map((e) => f(e));
|
|
268
273
|
} } : {},
|
|
269
|
-
...
|
|
274
|
+
...l && c ? { async addToVariant(n, r, i) {
|
|
270
275
|
let a = (await R(t, {
|
|
271
276
|
where: { id: n.id },
|
|
272
277
|
attributes: [
|
|
@@ -275,8 +280,8 @@ async function U(e) {
|
|
|
275
280
|
"contents"
|
|
276
281
|
]
|
|
277
282
|
})).rows[0];
|
|
278
|
-
if (!a?.contents) throw Error(
|
|
279
|
-
let o = a.name ?? {}, s = await
|
|
283
|
+
if (!a?.contents) throw Error(O("The dashboard was not found.", { desc: "Adding the chart to a variant failed because the original dashboard could not be loaded" }));
|
|
284
|
+
let o = a.name ?? {}, s = await v({
|
|
280
285
|
name: i.name ? {
|
|
281
286
|
...o,
|
|
282
287
|
[e.language]: i.name
|
|
@@ -286,7 +291,7 @@ async function U(e) {
|
|
|
286
291
|
role: "original",
|
|
287
292
|
id: n.id
|
|
288
293
|
}]);
|
|
289
|
-
return await
|
|
294
|
+
return await _(s, r, i.screenModes), f({
|
|
290
295
|
...s,
|
|
291
296
|
contents: s.contents ?? a.contents
|
|
292
297
|
});
|
|
@@ -313,7 +318,7 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
313
318
|
}
|
|
314
319
|
static get styles() {
|
|
315
320
|
let e = super.styles ?? [];
|
|
316
|
-
return [...Array.isArray(e) ? e : [e],
|
|
321
|
+
return [...Array.isArray(e) ? e : [e], ee(j)];
|
|
317
322
|
}
|
|
318
323
|
get _hasSource() {
|
|
319
324
|
return !!this.dashboardActions || !!(this.authKey && this.authToken);
|
|
@@ -367,41 +372,41 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
367
372
|
this.dispatchEvent(n);
|
|
368
373
|
}
|
|
369
374
|
_displayName(e) {
|
|
370
|
-
return e.name.trim() ||
|
|
375
|
+
return e.name.trim() || O("Untitled dashboard", { desc: "Fallback name of a dashboard without a name" });
|
|
371
376
|
}
|
|
372
377
|
_variantName(e, t) {
|
|
373
378
|
let n = this._displayName(e);
|
|
374
|
-
return
|
|
379
|
+
return O(k`${n} (variant ${t})`, { desc: "Name of a new dashboard variant" });
|
|
375
380
|
}
|
|
376
381
|
_screenModeChoices() {
|
|
377
382
|
return [
|
|
378
383
|
{
|
|
379
384
|
name: "mobile",
|
|
380
|
-
label:
|
|
385
|
+
label: O("Smartphone", { desc: "Screen mode name" }),
|
|
381
386
|
size: "< 768px",
|
|
382
|
-
icon:
|
|
387
|
+
icon: y
|
|
383
388
|
},
|
|
384
389
|
{
|
|
385
390
|
name: "tablet",
|
|
386
|
-
label:
|
|
391
|
+
label: O("Tablet", { desc: "Screen mode name" }),
|
|
387
392
|
size: "≥ 768px",
|
|
388
|
-
icon:
|
|
393
|
+
icon: x
|
|
389
394
|
},
|
|
390
395
|
{
|
|
391
396
|
name: "desktop",
|
|
392
|
-
label:
|
|
397
|
+
label: O("Desktop", { desc: "Screen mode name" }),
|
|
393
398
|
size: "≥ 1200px",
|
|
394
399
|
icon: _
|
|
395
400
|
},
|
|
396
401
|
{
|
|
397
402
|
name: "largeScreen",
|
|
398
|
-
label:
|
|
403
|
+
label: O("Large screen", { desc: "Screen mode name" }),
|
|
399
404
|
size: "≥ 1600px",
|
|
400
405
|
icon: g
|
|
401
406
|
},
|
|
402
407
|
{
|
|
403
408
|
name: "fixed",
|
|
404
|
-
label:
|
|
409
|
+
label: O("Fixed width", { desc: "Screen mode name" }),
|
|
405
410
|
icon: m
|
|
406
411
|
}
|
|
407
412
|
];
|
|
@@ -567,50 +572,50 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
567
572
|
await e?.updateComplete, e?.focus();
|
|
568
573
|
}
|
|
569
574
|
_renderRow(e) {
|
|
570
|
-
return
|
|
575
|
+
return S`
|
|
571
576
|
<luzmo-menu-item value=${e.id} no-wrap ?disabled=${this._saving}>
|
|
572
|
-
${e.thumbnailUrl ?
|
|
577
|
+
${e.thumbnailUrl ? S`<img slot="icon" class="thumbnail" alt="" src=${e.thumbnailUrl} />` : C}
|
|
573
578
|
${this._displayName(e)}
|
|
574
|
-
${e.requiresVariant ?
|
|
579
|
+
${e.requiresVariant ? S`<luzmo-icon slot="value" class="drill-in" size="xs" block .icon=${this.isLTR ? d : u}></luzmo-icon>` : C}
|
|
575
580
|
</luzmo-menu-item>
|
|
576
581
|
`;
|
|
577
582
|
}
|
|
578
583
|
_renderCreateRow(e, t, n, r = !1) {
|
|
579
584
|
let i = `${this._triggerId}-${e}-reason`;
|
|
580
|
-
return
|
|
585
|
+
return S`
|
|
581
586
|
<luzmo-menu-item
|
|
582
587
|
class="create-row"
|
|
583
588
|
value=${e}
|
|
584
589
|
label=${t}
|
|
585
|
-
aria-describedby=${
|
|
590
|
+
aria-describedby=${A(n ? i : void 0)}
|
|
586
591
|
no-wrap
|
|
587
592
|
?disabled=${this._saving || r || !!n}
|
|
588
593
|
>
|
|
589
|
-
<luzmo-icon slot="icon" size="s" .icon=${
|
|
590
|
-
${t} ${n ?
|
|
594
|
+
<luzmo-icon slot="icon" size="s" .icon=${b}></luzmo-icon>
|
|
595
|
+
${t} ${n ? S`<span slot="description" id=${i}>${n}</span>` : C}
|
|
591
596
|
</luzmo-menu-item>
|
|
592
597
|
`;
|
|
593
598
|
}
|
|
594
599
|
_renderLoading() {
|
|
595
|
-
let e =
|
|
596
|
-
return
|
|
600
|
+
let e = O("Loading", { desc: "Loading spinner label" });
|
|
601
|
+
return S`<div class="loading"><luzmo-progress-circle size="s" indeterminate .label=${e}></luzmo-progress-circle></div>`;
|
|
597
602
|
}
|
|
598
603
|
async _handleRetry(e) {
|
|
599
604
|
let t = e();
|
|
600
605
|
await this.updateComplete, this._isFocusLost() && await this._focusStep(), await t;
|
|
601
606
|
}
|
|
602
607
|
_renderEmpty(e, t) {
|
|
603
|
-
return
|
|
608
|
+
return S`
|
|
604
609
|
<div class="empty">
|
|
605
610
|
<span>${e}</span>
|
|
606
|
-
${t ?
|
|
611
|
+
${t ? S`<luzmo-button size="s" treatment="outline" @click=${() => this._handleRetry(t)}>${O("Retry", { desc: "Retry a failed request" })}</luzmo-button>` : C}
|
|
607
612
|
</div>
|
|
608
613
|
`;
|
|
609
614
|
}
|
|
610
615
|
_renderHeader(e) {
|
|
611
|
-
return
|
|
616
|
+
return S`
|
|
612
617
|
<div class="header">
|
|
613
|
-
<luzmo-action-button size="s" quiet label=${
|
|
618
|
+
<luzmo-action-button size="s" quiet label=${O("Back", { desc: "Go back to the previous step" })} @click=${this._handleBack}>
|
|
614
619
|
<luzmo-icon slot="icon" size="xs" .icon=${this.isLTR ? f : p}></luzmo-icon>
|
|
615
620
|
</luzmo-action-button>
|
|
616
621
|
<span class="header-title" tabindex="-1"
|
|
@@ -620,16 +625,16 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
620
625
|
`;
|
|
621
626
|
}
|
|
622
627
|
_renderList() {
|
|
623
|
-
let e = this._actions && !this._actions.create ?
|
|
628
|
+
let e = this._actions && !this._actions.create ? O("These credentials cannot create dashboards", {
|
|
624
629
|
id: "add-to-dashboard-cannot-create",
|
|
625
630
|
desc: "Why a new dashboard cannot be created"
|
|
626
631
|
}) : void 0;
|
|
627
|
-
return
|
|
632
|
+
return S`
|
|
628
633
|
<luzmo-search
|
|
629
634
|
size="s"
|
|
630
635
|
border="none"
|
|
631
|
-
label=${
|
|
632
|
-
placeholder=${
|
|
636
|
+
label=${O("Search dashboards", { desc: "Label of the dashboard search field" })}
|
|
637
|
+
placeholder=${O("Search dashboards", { desc: "Label of the dashboard search field" })}
|
|
633
638
|
.value=${this._search}
|
|
634
639
|
@input=${this._handleSearchInput}
|
|
635
640
|
@submit=${(e) => e.preventDefault()}
|
|
@@ -637,42 +642,42 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
637
642
|
<luzmo-divider size="s"></luzmo-divider>
|
|
638
643
|
<div class="list" @scroll=${this._handleListScroll}>
|
|
639
644
|
<luzmo-menu class="menu" size="s" @change=${this._handleListChange} @close=${(e) => e.stopPropagation()}>
|
|
640
|
-
${this._renderCreateRow(X,
|
|
645
|
+
${this._renderCreateRow(X, O("New dashboard", { desc: "Create a new dashboard for the chart" }), e, !this._actions)}
|
|
641
646
|
${this._rows.map((e) => this._renderRow(e))}
|
|
642
647
|
</luzmo-menu>
|
|
643
648
|
<div class="list-state" role="status" aria-live="polite">
|
|
644
|
-
${this._listFailed ? this._renderEmpty(
|
|
645
|
-
${this._loading ? this._renderLoading() :
|
|
649
|
+
${this._listFailed ? this._renderEmpty(O("Failed to load dashboards", { desc: "Dashboard list failed to load" }), () => this._loadList()) : !this._loading && this._rows.length === 0 ? this._renderEmpty(O("No dashboards found", { desc: "Dashboard list is empty" })) : C}
|
|
650
|
+
${this._loading ? this._renderLoading() : C}
|
|
646
651
|
</div>
|
|
647
652
|
</div>
|
|
648
653
|
`;
|
|
649
654
|
}
|
|
650
655
|
_renderVariants(e) {
|
|
651
|
-
let t = this._actions?.addToVariant ? void 0 :
|
|
656
|
+
let t = this._actions?.addToVariant ? void 0 : O("These credentials cannot create variants", {
|
|
652
657
|
id: "add-to-dashboard-cannot-create-variant",
|
|
653
658
|
desc: "Why a new dashboard variant cannot be created"
|
|
654
659
|
}), n = !this._variantsLoading && !this._variantsFailed;
|
|
655
|
-
return
|
|
660
|
+
return S`
|
|
656
661
|
${this._renderHeader(this._displayName(e))}
|
|
657
662
|
<luzmo-divider size="s"></luzmo-divider>
|
|
658
663
|
<div class="list">
|
|
659
664
|
<luzmo-menu class="menu" size="s" @change=${this._handleVariantChange} @close=${(e) => e.stopPropagation()}>
|
|
660
|
-
${this._renderCreateRow(Z,
|
|
665
|
+
${this._renderCreateRow(Z, O("New variant", { desc: "Create a new variant of a dashboard" }), t, !n)}
|
|
661
666
|
${this._variants.map((e) => this._renderRow(e))}
|
|
662
667
|
</luzmo-menu>
|
|
663
668
|
<div class="list-state" role="status" aria-live="polite">
|
|
664
|
-
${this._variantsFailed ? this._renderEmpty(
|
|
665
|
-
${this._variantsLoading ? this._renderLoading() :
|
|
669
|
+
${this._variantsFailed ? this._renderEmpty(O("Failed to load variants", { desc: "Variant list failed to load" }), () => this._loadVariants()) : !this._variantsLoading && this._variants.length === 0 ? this._renderEmpty(O("No variants yet", { desc: "Variant list is empty" })) : C}
|
|
670
|
+
${this._variantsLoading ? this._renderLoading() : C}
|
|
666
671
|
</div>
|
|
667
672
|
</div>
|
|
668
673
|
`;
|
|
669
674
|
}
|
|
670
675
|
_renderScreenModes(e) {
|
|
671
676
|
let t = e.kind === "variant" ? e.original : e.dashboard, n = e.kind === "variant" ? e.name : this._displayName(t), r = t.screenModes ?? [];
|
|
672
|
-
return
|
|
677
|
+
return S`
|
|
673
678
|
${this._renderHeader(n)}
|
|
674
|
-
<luzmo-field-group class="screen-modes" vertical label=${
|
|
675
|
-
${this._screenModeChoices().filter((e) => r.includes(e.name)).map((e) =>
|
|
679
|
+
<luzmo-field-group class="screen-modes" vertical label=${O("Screen modes", { desc: "Label of the group of screen-mode checkboxes" })}>
|
|
680
|
+
${this._screenModeChoices().filter((e) => r.includes(e.name)).map((e) => S`
|
|
676
681
|
<luzmo-checkbox
|
|
677
682
|
size="s"
|
|
678
683
|
?checked=${this._screenModes.includes(e.name)}
|
|
@@ -681,14 +686,14 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
681
686
|
<span class="screen-mode">
|
|
682
687
|
<luzmo-icon size="xs" block .icon=${e.icon}></luzmo-icon>
|
|
683
688
|
${e.label}
|
|
684
|
-
${e.size ?
|
|
689
|
+
${e.size ? S`<span class="screen-mode-size" dir="ltr">${e.size}</span>` : C}
|
|
685
690
|
</span>
|
|
686
691
|
</luzmo-checkbox>
|
|
687
692
|
`)}
|
|
688
693
|
</luzmo-field-group>
|
|
689
694
|
<div class="footer">
|
|
690
695
|
<luzmo-button size="s" variant="primary" ?disabled=${this._screenModes.length === 0 || this._saving} @click=${this._handleConfirmScreenModes}>
|
|
691
|
-
${
|
|
696
|
+
${O("Confirm", { desc: "Confirm the selected screen modes" })}
|
|
692
697
|
</luzmo-button>
|
|
693
698
|
</div>
|
|
694
699
|
`;
|
|
@@ -697,15 +702,15 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
697
702
|
return this._step === "screenModes" && this._pending ? this._renderScreenModes(this._pending) : this._step === "variants" && this._original ? this._renderVariants(this._original) : this._renderList();
|
|
698
703
|
}
|
|
699
704
|
_noticeLabels() {
|
|
700
|
-
return { close:
|
|
705
|
+
return { close: O("Close", {
|
|
701
706
|
id: "add-to-dashboard-close",
|
|
702
707
|
desc: "Close the save result notice"
|
|
703
708
|
}) };
|
|
704
709
|
}
|
|
705
710
|
_renderStatus() {
|
|
706
711
|
let e = this._status;
|
|
707
|
-
if (!e) return
|
|
708
|
-
if (e.kind === "error") return
|
|
712
|
+
if (!e) return C;
|
|
713
|
+
if (e.kind === "error") return S`
|
|
709
714
|
<luzmo-notice
|
|
710
715
|
class="alert"
|
|
711
716
|
size="s"
|
|
@@ -715,11 +720,11 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
715
720
|
@luzmo-notice-close=${this._handleNoticeClose}
|
|
716
721
|
>
|
|
717
722
|
<luzmo-icon slot="icon" .icon=${c}></luzmo-icon>
|
|
718
|
-
<span class="alert-text" dir="auto">${e.message ??
|
|
723
|
+
<span class="alert-text" dir="auto">${e.message ?? O("Failed to copy item", { desc: "Saving the chart to a dashboard failed" })}</span>
|
|
719
724
|
</luzmo-notice>
|
|
720
725
|
`;
|
|
721
|
-
let t = this._displayName(e.dashboard), n =
|
|
722
|
-
return
|
|
726
|
+
let t = this._displayName(e.dashboard), n = S`<strong class="alert-name" tabindex="-1">${t}<luzmo-tooltip self-managed show-only-if-truncated placement="top" .size=${this.size}>${t}</luzmo-tooltip></strong>`, r = e.openDashboard;
|
|
727
|
+
return S`
|
|
723
728
|
<luzmo-notice
|
|
724
729
|
class="alert"
|
|
725
730
|
size="s"
|
|
@@ -730,24 +735,24 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
730
735
|
>
|
|
731
736
|
<luzmo-icon slot="icon" .icon=${h}></luzmo-icon>
|
|
732
737
|
<div class="alert-body">
|
|
733
|
-
<span class="alert-text" dir="auto">${
|
|
734
|
-
${r && !e.isVariant ?
|
|
738
|
+
<span class="alert-text" dir="auto">${O(S`Item copied to ${n}`, { desc: "The chart was saved to a dashboard" })}</span>
|
|
739
|
+
${r && !e.isVariant ? S`
|
|
735
740
|
<luzmo-action-button class="alert-open" size="s" quiet @click=${() => r(e.dashboard)}>
|
|
736
741
|
<luzmo-icon slot="icon" size="xs" .icon=${v}></luzmo-icon>
|
|
737
|
-
${
|
|
742
|
+
${O("Open", {
|
|
738
743
|
id: "add-to-dashboard-open",
|
|
739
744
|
desc: "Open the dashboard the chart was saved to"
|
|
740
745
|
})}
|
|
741
746
|
</luzmo-action-button>
|
|
742
|
-
` :
|
|
747
|
+
` : C}
|
|
743
748
|
</div>
|
|
744
749
|
</luzmo-notice>
|
|
745
750
|
`;
|
|
746
751
|
}
|
|
747
752
|
render() {
|
|
748
|
-
if (!this.chart || !this._hasSource) return
|
|
749
|
-
let e = this._saving ?
|
|
750
|
-
return
|
|
753
|
+
if (!this.chart || !this._hasSource) return C;
|
|
754
|
+
let e = this._saving ? O("Adding to dashboard", { desc: "The chart is being saved to a dashboard" }) : O("Add to dashboard", { desc: "Button that opens the add to dashboard picker" });
|
|
755
|
+
return S`
|
|
751
756
|
<luzmo-action-button
|
|
752
757
|
id=${this._triggerId}
|
|
753
758
|
class="trigger"
|
|
@@ -756,7 +761,7 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
756
761
|
aria-expanded=${this._open ? "true" : "false"}
|
|
757
762
|
?disabled=${this.disabled || this._saving}
|
|
758
763
|
>
|
|
759
|
-
${this._saving ?
|
|
764
|
+
${this._saving ? S`<luzmo-progress-circle class="trigger-spinner" slot="icon" indeterminate .label=${e}></luzmo-progress-circle>` : S`<luzmo-icon slot="icon" size="xs" .icon=${b}></luzmo-icon>`}
|
|
760
765
|
${e}
|
|
761
766
|
<luzmo-icon class="trigger-chevron" size="xs" .icon=${l}></luzmo-icon>
|
|
762
767
|
</luzmo-action-button>
|
|
@@ -769,7 +774,7 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
769
774
|
@luzmo-closed=${this._handleClosed}
|
|
770
775
|
>
|
|
771
776
|
<luzmo-popover>
|
|
772
|
-
<div class="picker">${this._open ? this._renderPicker() :
|
|
777
|
+
<div class="picker">${this._open ? this._renderPicker() : C}</div>
|
|
773
778
|
</luzmo-popover>
|
|
774
779
|
</luzmo-overlay>
|
|
775
780
|
<div class="status">${this._renderStatus()}</div>
|
|
@@ -777,20 +782,20 @@ var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-ne
|
|
|
777
782
|
}
|
|
778
783
|
};
|
|
779
784
|
// src/components/add-to-dashboard/index.ts
|
|
780
|
-
r([
|
|
785
|
+
r([w({ attribute: !1 })], $.prototype, "chart", void 0), r([w({ attribute: !1 })], $.prototype, "dashboardActions", void 0), r([w({
|
|
781
786
|
type: String,
|
|
782
787
|
attribute: "auth-key"
|
|
783
|
-
})], $.prototype, "authKey", void 0), r([
|
|
788
|
+
})], $.prototype, "authKey", void 0), r([w({
|
|
784
789
|
type: String,
|
|
785
790
|
attribute: "auth-token"
|
|
786
|
-
})], $.prototype, "authToken", void 0), r([
|
|
791
|
+
})], $.prototype, "authToken", void 0), r([w({
|
|
787
792
|
type: String,
|
|
788
793
|
attribute: "api-url"
|
|
789
|
-
})], $.prototype, "apiUrl", void 0), r([
|
|
794
|
+
})], $.prototype, "apiUrl", void 0), r([w({
|
|
790
795
|
type: String,
|
|
791
796
|
reflect: !0
|
|
792
|
-
})], $.prototype, "placement", void 0), r([
|
|
797
|
+
})], $.prototype, "placement", void 0), r([w({
|
|
793
798
|
type: Boolean,
|
|
794
799
|
reflect: !0
|
|
795
|
-
})], $.prototype, "disabled", void 0), r([
|
|
800
|
+
})], $.prototype, "disabled", void 0), r([E()], $.prototype, "_open", void 0), r([E()], $.prototype, "_actions", void 0), r([E()], $.prototype, "_step", void 0), r([E()], $.prototype, "_rows", void 0), r([E()], $.prototype, "_hasMore", void 0), r([E()], $.prototype, "_loading", void 0), r([E()], $.prototype, "_listFailed", void 0), r([E()], $.prototype, "_original", void 0), r([E()], $.prototype, "_variants", void 0), r([E()], $.prototype, "_variantsLoading", void 0), r([E()], $.prototype, "_variantsFailed", void 0), r([E()], $.prototype, "_pending", void 0), r([E()], $.prototype, "_screenModes", void 0), r([E()], $.prototype, "_saving", void 0), r([E()], $.prototype, "_status", void 0), r([T(".trigger")], $.prototype, "_triggerElement", void 0), r([T("luzmo-search")], $.prototype, "_searchElement", void 0), r([T(".header luzmo-action-button")], $.prototype, "_backElement", void 0), r([T("luzmo-notice")], $.prototype, "_noticeElement", void 0), $ = r([D()], $), typeof customElements < "u" && !customElements.get("luzmo-add-to-dashboard") && customElements.define("luzmo-add-to-dashboard", $);
|
|
796
801
|
export { U as n, $ as t };
|