@luzmo/analytics-components-kit 1.0.9-beta.1 → 1.0.9-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/components/add-to-dashboard/add-to-dashboard.d.ts +134 -0
- package/components/add-to-dashboard/dashboard-actions.d.ts +14 -0
- package/components/add-to-dashboard/helpers/add-to-dashboard-helpers.d.ts +3 -0
- package/components/add-to-dashboard/index.cjs +20 -0
- package/components/add-to-dashboard/index.d.ts +11 -0
- package/components/add-to-dashboard/index.js +21 -0
- package/components/add-to-dashboard/types.d.ts +7 -0
- package/components/add-to-dashboard-BY70QBzE.js +805 -0
- package/components/add-to-dashboard-nYUaDghN.cjs +166 -0
- package/components/ai-chat/ai-chat-request.d.ts +1 -1
- package/components/ai-chat/ai-chat.d.ts +12 -4
- package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +9 -2
- package/components/ai-chat/helpers/elicitation-template.d.ts +3 -1
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.d.ts +2 -2
- package/components/ai-chat/index.js +2 -9
- package/components/ai-chat-DfuJOWao.cjs +338 -0
- package/components/ai-chat-DmDtBF47.js +4325 -0
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +8 -1
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -8
- package/components/ai-interaction-textarea-6ECwAdeT.js +823 -0
- package/components/ai-interaction-textarea-CRyyTj_B.cjs +101 -0
- package/components/area-chart-positioning.config-CoCdjr2E.cjs +20 -0
- package/components/area-chart-positioning.config-o-uJPEr5.js +55 -0
- package/components/bar-chart-positioning.config-CZgrS6lc.js +59 -0
- package/components/bar-chart-positioning.config-fsB82756.cjs +20 -0
- package/components/base-BmvsQ-s1.cjs +20 -0
- package/components/base-CrpOMVeU.js +248 -0
- package/components/base-store-CkIsrRcu.cjs +20 -0
- package/components/base-store-gYqg__8A.js +151 -0
- package/components/box-plot-positioning.config-BMfGGDfe.cjs +20 -0
- package/components/box-plot-positioning.config-CDq460FI.js +48 -0
- package/components/bubble-chart-positioning.config-C9MmTtTX.cjs +20 -0
- package/components/bubble-chart-positioning.config-DWfz4tud.js +55 -0
- package/components/bullet-chart-positioning.config-BwHPM5ui.cjs +20 -0
- package/components/bullet-chart-positioning.config-DmSlVIjL.js +56 -0
- package/components/chart-helpers-DQS2iqSd.js +250 -0
- package/components/chart-helpers-ufZ6VbXs.cjs +20 -0
- package/components/choropleth-map-options.config-CP-IK-4W.js +352 -0
- package/components/choropleth-map-options.config-DSXndhIY.cjs +20 -0
- package/components/choropleth-map-positioning.config-C0m6zzD3.cjs +20 -0
- package/components/choropleth-map-positioning.config-cjBzi_Db.js +55 -0
- package/components/circle-pack-chart-positioning.config-BAFFQSHe.cjs +20 -0
- package/components/circle-pack-chart-positioning.config-CY2rLb57.js +48 -0
- package/components/circular-gauge-positioning.config-6pZUNxYa.js +48 -0
- package/components/circular-gauge-positioning.config-BfWAjAY2.cjs +20 -0
- package/components/color-B7SELPGq.js +3812 -0
- package/components/color-BIEQvHs4.cjs +20 -0
- package/components/color-range-utils-6oEqHV0y.js +63 -0
- package/components/color-range-utils-Bgzuy2bR.cjs +20 -0
- package/components/column-chart-positioning.config-hrAvNd7T.js +55 -0
- package/components/column-chart-positioning.config-xgRuA_l5.cjs +20 -0
- package/components/combination-chart-positioning.config-BI8HroaG.js +48 -0
- package/components/combination-chart-positioning.config-D0TU4hge.cjs +20 -0
- package/components/conditional-number-positioning.config-B_yISWne.cjs +20 -0
- package/components/conditional-number-positioning.config-CWaDhMLA.js +48 -0
- package/components/data-broker-Cb-Fq9xy.cjs +20 -0
- package/components/data-broker-DNfq_8Lg.js +1695 -0
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -8
- package/components/data-field-D4YFqg1H.js +119 -0
- package/components/data-field-Hi-ITTzx.cjs +54 -0
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -8
- package/components/data-field-level-BWQPtFP5.cjs +55 -0
- package/components/data-field-level-CB5GtdU5.js +245 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -8
- package/components/data-field-panel-64HoViNT.js +383 -0
- package/components/data-field-panel-DzKwmQi_.cjs +87 -0
- package/components/data-fields-select/data-fields-select.d.ts +1 -1
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -8
- package/components/data-fields-select-BOwoWq0j.js +290 -0
- package/components/data-fields-select-DXv6PQHG.cjs +43 -0
- package/components/dataset-icon/dataset-icon.d.ts +5 -4
- package/components/dataset-icon/index.cjs +1 -1
- package/components/dataset-icon/index.js +1 -8
- package/components/dataset-icon-Bag_eDv8.js +115 -0
- package/components/dataset-icon-CWKBYjGJ.cjs +62 -0
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -8
- package/components/dataset-selector-list-DFC2bvn0.js +321 -0
- package/components/dataset-selector-list-_AL1-GWw.cjs +75 -0
- package/components/dataset-selector-row/dataset-selector-row.d.ts +10 -1
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -8
- package/components/dataset-selector-row-By2ko-Rd.cjs +104 -0
- package/components/dataset-selector-row-DC6mrVyF.js +448 -0
- package/components/de-CjQMTFtl.cjs +20 -0
- package/components/de-Yl3kqB03.js +594 -0
- package/components/defineProperty-AldSMFEH.js +58 -0
- package/components/defineProperty-X1c4tIPD.cjs +20 -0
- package/components/display-settings/display-settings.d.ts +2 -2
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -8
- package/components/display-settings-B2V_F_CU.cjs +142 -0
- package/components/display-settings-BsCKV9ae.js +316 -0
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -8
- package/components/display-settings-binning-BdtxayZT.cjs +56 -0
- package/components/display-settings-binning-CkrbhPVB.js +111 -0
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -8
- package/components/display-settings-datetime-CpFyrcGk.cjs +217 -0
- package/components/display-settings-datetime-mVh5Tjrx.js +414 -0
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -8
- package/components/display-settings-grand-totals-CwOGoE06.cjs +44 -0
- package/components/display-settings-grand-totals-D7unOEKl.js +90 -0
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -8
- package/components/display-settings-numeric-DDZyFNFF.js +480 -0
- package/components/display-settings-numeric-DhiXPU3f.cjs +190 -0
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +2 -2
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +1 -8
- package/components/display-settings-period-over-period-BNFjbgP0.cjs +227 -0
- package/components/display-settings-period-over-period-Hd172SzT.js +443 -0
- package/components/donut-chart-positioning.config-B2CrxOig.js +48 -0
- package/components/donut-chart-positioning.config-DQb53kWI.cjs +20 -0
- package/components/es-Ctf1SIsp.js +594 -0
- package/components/es-DmmTP7D0.cjs +20 -0
- package/components/evolution-number-positioning.config-BdH8pv6_.js +48 -0
- package/components/evolution-number-positioning.config-BzBsGcD4.cjs +20 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -8
- package/components/filter-expression-picker-Bn_jAdQX.cjs +40 -0
- package/components/filter-expression-picker-Cjr8xWxy.js +434 -0
- package/components/filter-item/filter-item.d.ts +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -8
- package/components/filter-item-CHJDVOju.cjs +111 -0
- package/components/filter-item-D6y8eCmG.js +793 -0
- package/components/filter-parameter-picker/index.cjs +1 -1
- package/components/filter-parameter-picker/index.js +1 -8
- package/components/filter-parameter-picker-C955tF0T.js +372 -0
- package/components/filter-parameter-picker-jyrh3POQ.cjs +124 -0
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -8
- package/components/filter-value-picker-B8nA8hTV.js +170 -0
- package/components/filter-value-picker-DmWiNLZH.cjs +69 -0
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -8
- package/components/filter-value-picker-datetime-BAhXn1BS.js +160 -0
- package/components/filter-value-picker-datetime-U4XWKSFx.cjs +51 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -8
- package/components/filter-value-picker-hierarchy-1ya1_rS3.cjs +54 -0
- package/components/filter-value-picker-hierarchy-CUPz5Ggs.js +316 -0
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -8
- package/components/filter-value-picker-numeric-D8mLaxzj.js +237 -0
- package/components/filter-value-picker-numeric-DrHdHj31.cjs +54 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -8
- package/components/filters-Byy8HE19.js +927 -0
- package/components/filters-C8xz8DV-.cjs +199 -0
- package/components/formula/formula.d.ts +2 -2
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -8
- package/components/formula-C6dPJyKm.cjs +45 -0
- package/components/formula-D_ipR6d1.js +136 -0
- package/components/formula-codemirror/formula-codemirror.d.ts +2 -2
- package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +2 -2
- package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +2 -2
- package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +1 -1
- package/components/formula-codemirror-C1UFMf6i.cjs +215 -0
- package/components/formula-codemirror-CdlIly66.js +12008 -0
- package/components/formula-display-store-B0ifmvCi.cjs +20 -0
- package/components/formula-display-store-CfObcBCd.js +1087 -0
- package/components/formula-editor/formula-aggregations-list.d.ts +2 -2
- package/components/formula-editor/formula-datasets-list.d.ts +2 -2
- package/components/formula-editor/formula-description.d.ts +1 -1
- package/components/formula-editor/formula-editor.d.ts +1 -1
- package/components/formula-editor/formula-functions-list.d.ts +2 -2
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.d.ts +3 -3
- package/components/formula-editor/index.js +3 -10
- package/components/formula-editor-B9ikCsLK.cjs +224 -0
- package/components/formula-editor-DJ-0AVCl.js +685 -0
- package/components/formula-field/formula-field.d.ts +1 -1
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -8
- package/components/formula-field-Bq-RYt0H.js +38 -0
- package/components/formula-field-CNqn6Xbh.cjs +20 -0
- package/components/formula-input-base-Dple-9bo.js +236 -0
- package/components/formula-input-base-KSmmN1uI.cjs +49 -0
- package/components/fr-DKDPLLAZ.cjs +20 -0
- package/components/fr-zWhjQv4B.js +594 -0
- package/components/funnel-chart-positioning.config-DgRle8n1.js +48 -0
- package/components/funnel-chart-positioning.config-DleNZIG-.cjs +20 -0
- package/components/get-dataset-name-3UfKdy0m.cjs +20 -0
- package/components/get-dataset-name-trrlomzY.js +32 -0
- package/components/grid-core-BFNgmaGk.js +4490 -0
- package/components/grid-core-DY0vyroD.cjs +68 -0
- package/components/grid-core.cjs +20 -0
- package/components/grid-core.js +21 -0
- package/components/groupings-B55Oba6e.js +52 -0
- package/components/groupings-DEpTt8DV.cjs +20 -0
- package/components/heat-map-options.config-D58595hz.js +226 -0
- package/components/heat-map-options.config-DhQrM9S9.cjs +20 -0
- package/components/heat-map-positioning.config-BTabq_f9.js +48 -0
- package/components/heat-map-positioning.config-DCB3Eagz.cjs +20 -0
- package/components/heat-table-options.config-AhmEjDAb.cjs +20 -0
- package/components/heat-table-options.config-x-KBTZo1.js +269 -0
- package/components/heat-table-positioning.config-Dnu133l4.cjs +20 -0
- package/components/heat-table-positioning.config-pK8Wn1dw.js +55 -0
- package/components/hexbin-map-positioning.config-DjYp-lX8.js +48 -0
- package/components/hexbin-map-positioning.config-IqRt8f29.cjs +20 -0
- package/components/index.cjs +1 -1
- package/components/index.js +69 -73
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.d.ts +2 -0
- package/components/interactive-viz-item/index.js +3 -9
- package/components/interactive-viz-item/interactive-viz-item.d.ts +21 -4
- package/components/interactive-viz-item/load-add-to-dashboard.d.ts +1 -0
- package/components/interactive-viz-item-CM-LoEa5.cjs +261 -0
- package/components/interactive-viz-item-D6lWVMHb.js +528 -0
- package/components/item-grid/actions.d.ts +2 -1
- package/components/item-grid/helpers/grid-chart-rendering.d.ts +12 -0
- package/components/item-grid/helpers/grid-events.d.ts +1 -56
- package/components/item-grid/helpers/grid-interactions.d.ts +1 -88
- package/components/item-grid/helpers/grid-item-management.d.ts +5 -26
- package/components/item-grid/helpers/grid-item-popover.d.ts +1 -21
- package/components/item-grid/helpers/grid-items.d.ts +1 -9
- package/components/item-grid/helpers/grid-keyboard-updates.d.ts +1 -18
- package/components/item-grid/helpers/grid-keydown-event.d.ts +1 -18
- package/components/item-grid/helpers/grid-popover-cleanup.d.ts +1 -4
- package/components/item-grid/helpers/grid-rendering.d.ts +0 -50
- package/components/item-grid/helpers/grid-stack-lifecycle.d.ts +1 -26
- package/components/item-grid/helpers/grid-theme.d.ts +2 -14
- package/components/item-grid/helpers/grid-update-cycle.d.ts +1 -22
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.d.ts +3 -3
- package/components/item-grid/index.js +3 -9
- package/components/item-grid/item-grid.d.ts +12 -207
- package/components/item-grid/types.d.ts +1 -57
- package/components/item-grid-CbXKsQm4.js +245 -0
- package/components/item-grid-DTishUCb.cjs +41 -0
- package/components/item-grid-item-actions-menu/index.cjs +20 -0
- package/components/item-grid-item-actions-menu/index.d.ts +8 -0
- package/components/item-grid-item-actions-menu/index.js +21 -0
- package/components/item-grid-item-actions-menu/item-grid-item-actions-menu.d.ts +70 -0
- package/components/item-grid-item-actions-menu/types.d.ts +11 -0
- package/components/item-grid-item-actions-menu-B7ylgTwO.js +199 -0
- package/components/item-grid-item-actions-menu-C3BUxZJc.cjs +52 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -8
- package/components/item-option-BTSV33ft.cjs +269 -0
- package/components/item-option-BUju6ZE1.js +953 -0
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -8
- package/components/item-option-action-button-group-CuDeyDRi.cjs +53 -0
- package/components/item-option-action-button-group-DnTBh3R4.js +117 -0
- package/components/item-option-base-BIDIiNfI.js +120 -0
- package/components/item-option-base-C6RQH9M8.cjs +56 -0
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -8
- package/components/item-option-color-palette-picker-DbsqP2zA.js +2040 -0
- package/components/item-option-color-palette-picker-DsG-wxGB.cjs +40 -0
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -8
- package/components/item-option-color-picker-BUN5YK-t.cjs +34 -0
- package/components/item-option-color-picker-CKGUj3cW.js +86 -0
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -8
- package/components/item-option-color-range-BN81ePAI.cjs +98 -0
- package/components/item-option-color-range-dMehrwqA.js +219 -0
- package/components/item-option-guidelines/index.cjs +1 -1
- package/components/item-option-guidelines/index.js +1 -8
- package/components/item-option-guidelines-Bn1HSCgL.js +420 -0
- package/components/item-option-guidelines-CmPaMdqb.cjs +135 -0
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -8
- package/components/item-option-multi-language-field-BFgbOzMM.js +81 -0
- package/components/item-option-multi-language-field-Du609wC_.cjs +33 -0
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -8
- package/components/item-option-number-field-CDcf6_4D.js +101 -0
- package/components/item-option-number-field-CVAtj0UX.cjs +38 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -8
- package/components/item-option-panel-0iHLl9-q.cjs +67 -0
- package/components/item-option-panel-DUlIB6qj.js +181 -0
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -8
- package/components/item-option-picker-ClKAGpgs.js +76 -0
- package/components/item-option-picker-Dkc3nd3x.cjs +37 -0
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -8
- package/components/item-option-position-picker-O8PpyiRv.js +116 -0
- package/components/item-option-position-picker-qCKh0Mfs.cjs +32 -0
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -8
- package/components/item-option-positions-number-field-CBx4uQ39.js +165 -0
- package/components/item-option-positions-number-field-Dfe4ufnF.cjs +49 -0
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -8
- package/components/item-option-radio-button-group-B5OVbLRg.cjs +37 -0
- package/components/item-option-radio-button-group-J_ZusHOP.js +73 -0
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -8
- package/components/item-option-slider-BDAEs7Fk.cjs +33 -0
- package/components/item-option-slider-V9z4qqyE.js +97 -0
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -8
- package/components/item-option-switch-BA4ifIHK.js +68 -0
- package/components/item-option-switch-Bzy2VRLg.cjs +30 -0
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -8
- package/components/item-option-text-field-C-sTkUre.cjs +33 -0
- package/components/item-option-text-field-Cf0khC48.js +79 -0
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +5 -5
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -8
- package/components/item-slot-drop-D2VDgqYS.js +329 -0
- package/components/item-slot-drop-DrJRtG7b.cjs +91 -0
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -8
- package/components/item-slot-drop-panel-CCCOwtYM.js +353 -0
- package/components/item-slot-drop-panel-CFerKcdH.cjs +57 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -8
- package/components/item-slot-picker-BdfYcBKT.js +503 -0
- package/components/item-slot-picker-aqePvZ9B.cjs +174 -0
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -8
- package/components/item-slot-picker-panel-DC3i7XZP.js +446 -0
- package/components/item-slot-picker-panel-dU6NywBo.cjs +81 -0
- package/components/line-chart-positioning.config-BW19v66B.js +55 -0
- package/components/line-chart-positioning.config-DX5mLAP7.cjs +20 -0
- package/components/load-data-fields-for-datasets-C4h8NWIE.cjs +20 -0
- package/components/load-data-fields-for-datasets-CInmiDlZ.js +42 -0
- package/components/localized-mixin-Bt25Frg1.cjs +20 -0
- package/components/localized-mixin-CYMFnS-n.js +45 -0
- package/components/marker-map-positioning.config-BJGwlWKz.js +48 -0
- package/components/marker-map-positioning.config-C0V5LZG-.cjs +20 -0
- package/components/nl-BrjaaktE.cjs +20 -0
- package/components/nl-TUFktGm6.js +594 -0
- package/components/ohlc-chart-positioning.config-Bu1_IBVK.cjs +20 -0
- package/components/ohlc-chart-positioning.config-CFvbZzCR.js +78 -0
- package/components/parallel-coordinates-plot-positioning.config-Bc3qCyxq.js +48 -0
- package/components/parallel-coordinates-plot-positioning.config-EJz1XA1k.cjs +20 -0
- package/components/pivot-table-positioning.config-Bay8gxV-.js +55 -0
- package/components/pivot-table-positioning.config-CMzGb-BR.cjs +20 -0
- package/components/pyramid-chart-positioning.config-BUSeYxYH.js +55 -0
- package/components/pyramid-chart-positioning.config-CrU2vKM-.cjs +20 -0
- package/components/radar-chart-positioning.config-BEzqTXyr.cjs +20 -0
- package/components/radar-chart-positioning.config-DOLpdn-d.js +55 -0
- package/components/route-map-options.config-BnufVGcz.js +328 -0
- package/components/route-map-options.config-DA3k24sP.cjs +20 -0
- package/components/route-map-positioning.config-BgjizdWh.cjs +20 -0
- package/components/route-map-positioning.config-Brg6_eCi.js +66 -0
- package/components/sankey-diagram-positioning.config-DJlWiNYL.js +66 -0
- package/components/sankey-diagram-positioning.config-vccTz1pG.cjs +20 -0
- package/components/scatter-plot-positioning.config-BKqPHMrS.js +77 -0
- package/components/scatter-plot-positioning.config-D7uFFBVZ.cjs +20 -0
- package/components/set-locale-Bgz1WNGE.cjs +20 -0
- package/components/set-locale-s-1X7Jce.js +43 -0
- package/components/slicer-filter-positioning.config-D1kR4xly.cjs +20 -0
- package/components/slicer-filter-positioning.config-Gl9jhO_G.js +48 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -8
- package/components/slot-menu/types.d.ts +1 -1
- package/components/slot-menu-CAhxaK5-.cjs +71 -0
- package/components/slot-menu-Dw53Y-iu.js +429 -0
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -8
- package/components/slot-menu-list-5NsRo9XD.js +348 -0
- package/components/slot-menu-list-CUsmYkiV.cjs +44 -0
- package/components/speedometer-chart-positioning.config-VBLrLNmO.js +48 -0
- package/components/speedometer-chart-positioning.config-fa90zZdb.cjs +20 -0
- package/components/spike-map-options.config-34Vf0UbN.cjs +20 -0
- package/components/spike-map-options.config-CBpHkAfo.js +415 -0
- package/components/spike-map-positioning.config-DrxdeFsj.cjs +20 -0
- package/components/spike-map-positioning.config-oYjk3n9a.js +55 -0
- package/components/strip-plot-positioning.config-Bx_fqmEj.cjs +20 -0
- package/components/strip-plot-positioning.config-lMn33cM4.js +48 -0
- package/components/sunburst-chart-positioning.config-C-We-zZF.js +48 -0
- package/components/sunburst-chart-positioning.config-D-GRWmyF.cjs +20 -0
- package/components/superPropGet-CBezYwzm.js +52 -0
- package/components/superPropGet-DmmlTXgo.cjs +20 -0
- package/components/symbol-map-positioning.config-B0sLlLzK.cjs +20 -0
- package/components/symbol-map-positioning.config-_TJSfpVj.js +55 -0
- package/components/tokens-BWMfo_w4.cjs +20 -0
- package/components/tokens-Ov1pCR4Y.js +29 -0
- package/components/treemap-chart-positioning.config-CO05Gv7X.cjs +20 -0
- package/components/treemap-chart-positioning.config-DAdvoS2I.js +55 -0
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils/store.cjs +1 -1
- package/components/utils/store.js +1 -1
- package/components/utils-CGJh0jrq.cjs +20 -0
- package/components/utils-Dk4dM9xv.js +240 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +3 -3
- package/components/venn-diagram-positioning.config-DKXWVaUI.cjs +20 -0
- package/components/venn-diagram-positioning.config-DUwmPQ1A.js +55 -0
- package/components/wordcloud-chart-positioning.config-CgbB_SI0.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-qK5_CF7v.js +55 -0
- package/custom-elements.json +7065 -5792
- package/deprecated-react/components/add-to-dashboard.component.cjs +1 -0
- package/deprecated-react/components/item-grid-item-actions-menu.component.cjs +1 -0
- package/grid-core/helpers/grid-events.d.ts +56 -0
- package/grid-core/helpers/grid-interactions.d.ts +88 -0
- package/grid-core/helpers/grid-item-management.d.ts +28 -0
- package/grid-core/helpers/grid-item-popover.d.ts +21 -0
- package/grid-core/helpers/grid-items.d.ts +9 -0
- package/grid-core/helpers/grid-keyboard-updates.d.ts +18 -0
- package/grid-core/helpers/grid-keydown-event.d.ts +18 -0
- package/grid-core/helpers/grid-popover-cleanup.d.ts +4 -0
- package/grid-core/helpers/grid-rendering.d.ts +41 -0
- package/grid-core/helpers/grid-stack-lifecycle.d.ts +26 -0
- package/grid-core/helpers/grid-theme.d.ts +15 -0
- package/grid-core/helpers/grid-update-cycle.d.ts +22 -0
- package/grid-core/index.d.ts +5 -0
- package/grid-core/item-grid-base.d.ts +223 -0
- package/grid-core/types.d.ts +57 -0
- package/index.d.ts +2 -1
- package/package.json +20 -9
- package/react/components/add-to-dashboard.component.ts +30 -0
- package/react/components/ai-chat.component.ts +1 -1
- package/react/components/interactive-viz-item.component.ts +11 -5
- package/react/components/item-grid-item-actions-menu.component.ts +30 -0
- package/react/components/item-grid.component.ts +4 -1
- package/react/esm/components/add-to-dashboard.component.d.ts +14 -0
- package/react/esm/components/add-to-dashboard.component.js +19 -0
- package/react/esm/components/ai-chat.component.d.ts +1 -1
- package/react/esm/components/ai-chat.component.js +1 -1
- package/react/esm/components/interactive-viz-item.component.d.ts +8 -4
- package/react/esm/components/interactive-viz-item.component.js +8 -4
- package/react/esm/components/item-grid-item-actions-menu.component.d.ts +14 -0
- package/react/esm/components/item-grid-item-actions-menu.component.js +19 -0
- package/react/esm/components/item-grid.component.d.ts +3 -1
- package/react/esm/components/item-grid.component.js +2 -0
- package/react/esm/index.d.ts +4 -3
- package/react/esm/index.js +10 -6
- package/react/index.ts +10 -6
- package/react/luzmo-stub.d.ts +15 -6
- package/react/package.json +2 -2
- package/standalone/chunks/add-to-dashboard-BrWieRxp.js +148 -0
- package/standalone/chunks/area-chart-options.config-CXWPLl-0.js +2 -0
- package/standalone/chunks/area-chart-options.de-Dr8RVJtb.js +2 -0
- package/standalone/chunks/area-chart-options.en-DV1AZ274.js +2 -0
- package/standalone/chunks/area-chart-options.es-Cg7uU7OK.js +2 -0
- package/standalone/chunks/area-chart-options.fr-CJjgrAt2.js +2 -0
- package/standalone/chunks/area-chart-options.nl-CTGxVXNo.js +2 -0
- package/standalone/chunks/area-chart-slots.config-Bxvau_Ii.js +2 -0
- package/standalone/chunks/axis-options.config-DP9f04t6.js +2 -0
- package/standalone/chunks/axis-options.i18n-BwkGC9PX.js +2 -0
- package/standalone/chunks/bar-chart-options.config-w4REKu0t.js +2 -0
- package/standalone/chunks/bar-chart-options.de-DCVBVtFi.js +2 -0
- package/standalone/chunks/bar-chart-options.en-B4xiZxTy.js +2 -0
- package/standalone/chunks/bar-chart-options.es-UqehXB9Z.js +2 -0
- package/standalone/chunks/bar-chart-options.fr-CaUBeZBK.js +2 -0
- package/standalone/chunks/bar-chart-options.nl-C2tFvUE8.js +2 -0
- package/standalone/chunks/bar-chart-slots.config-BWQoKCYJ.js +2 -0
- package/standalone/chunks/base-CLcNr-fQ.js +2 -0
- package/standalone/chunks/bliss-BS5cbLqS.js +2 -0
- package/standalone/chunks/box-plot-options.config-BlYMd4FN.js +2 -0
- package/standalone/chunks/box-plot-options.de-RDAv8kHb.js +2 -0
- package/standalone/chunks/box-plot-options.en-kGLfLsv3.js +2 -0
- package/standalone/chunks/box-plot-options.es-Dw3ivv22.js +2 -0
- package/standalone/chunks/box-plot-options.fr-De5nkQNr.js +2 -0
- package/standalone/chunks/box-plot-options.nl-DD1f-Nlt.js +2 -0
- package/standalone/chunks/box-plot-slots.config-4hmeA6nr.js +2 -0
- package/standalone/chunks/bubble-chart-options.config-BKPTymfC.js +2 -0
- package/standalone/chunks/bubble-chart-options.de-C4pA9ZdS.js +2 -0
- package/standalone/chunks/bubble-chart-options.en-DM-MH8pT.js +2 -0
- package/standalone/chunks/bubble-chart-options.es-C2VE7E7k.js +2 -0
- package/standalone/chunks/bubble-chart-options.fr-BugyvkW9.js +2 -0
- package/standalone/chunks/bubble-chart-options.nl-oDPNybDE.js +2 -0
- package/standalone/chunks/bubble-chart-slots.config-CqTUMwvW.js +2 -0
- package/standalone/chunks/bullet-chart-options.config-Cc5lKDjs.js +2 -0
- package/standalone/chunks/bullet-chart-options.de-Ci81seQn.js +2 -0
- package/standalone/chunks/bullet-chart-options.en-Dk95moRX.js +2 -0
- package/standalone/chunks/bullet-chart-options.es-eIqahAOr.js +2 -0
- package/standalone/chunks/bullet-chart-options.fr-CEABbpT0.js +2 -0
- package/standalone/chunks/bullet-chart-options.nl-B3gOPn5D.js +2 -0
- package/standalone/chunks/bullet-chart-slots.config-BiFMJsgN.js +2 -0
- package/standalone/chunks/calculate-data-field-icon-CrEVAfzJ.js +2 -0
- package/standalone/chunks/chart-helpers-BplLoVQz.js +2 -0
- package/standalone/chunks/choropleth-map-options.config-Ul1FSTwf.js +2 -0
- package/standalone/chunks/choropleth-map-options.de-eALhIYgW.js +2 -0
- package/standalone/chunks/choropleth-map-options.en-DNdPCTz7.js +2 -0
- package/standalone/chunks/choropleth-map-options.es-BoHXBNpE.js +2 -0
- package/standalone/chunks/choropleth-map-options.fr-Di8f-OWA.js +2 -0
- package/standalone/chunks/choropleth-map-options.nl-XKS-glHm.js +2 -0
- package/standalone/chunks/choropleth-map-slots.config-CRF7J3QP.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.config-CjDkh4DG.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.de-Dwf0pYf1.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.en-DhCFF4vx.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.es-DDKEbXse.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.fr-Dezqd3QL.js +2 -0
- package/standalone/chunks/circle-pack-chart-options.nl-BNXyskRD.js +2 -0
- package/standalone/chunks/circle-pack-chart-slots.config-Deq7IUoK.js +2 -0
- package/standalone/chunks/circular-gauge-options.config-p2zb-ORR.js +2 -0
- package/standalone/chunks/circular-gauge-options.de-DXGoiD0i.js +2 -0
- package/standalone/chunks/circular-gauge-options.en-SHYrAgsX.js +2 -0
- package/standalone/chunks/circular-gauge-options.es-D4xJXTQ-.js +2 -0
- package/standalone/chunks/circular-gauge-options.fr-6vBd5iUe.js +2 -0
- package/standalone/chunks/circular-gauge-options.nl-CDoO99Is.js +2 -0
- package/standalone/chunks/circular-gauge-slots.config-C7yUFfFJ.js +2 -0
- package/standalone/chunks/classic-CHhNczKi.js +2 -0
- package/standalone/chunks/classic-dark-Cmrn7jod.js +2 -0
- package/standalone/chunks/color-DaeCRJ5Q.js +2 -0
- package/standalone/chunks/color-palettes-B41FvzWH.js +2 -0
- package/standalone/chunks/color-range-utils-CLqVCA5J.js +2 -0
- package/standalone/chunks/column-chart-options.config-v7fBgXRI.js +2 -0
- package/standalone/chunks/column-chart-options.de-OoMpZc7N.js +2 -0
- package/standalone/chunks/column-chart-options.en-B4xiZxTy.js +2 -0
- package/standalone/chunks/column-chart-options.es-BL-wKXpp.js +2 -0
- package/standalone/chunks/column-chart-options.fr-CaUBeZBK.js +2 -0
- package/standalone/chunks/column-chart-options.nl-C2tFvUE8.js +2 -0
- package/standalone/chunks/column-chart-slots.config-ZBLvqhEb.js +2 -0
- package/standalone/chunks/combination-chart-options.config-C9hmUPal.js +2 -0
- package/standalone/chunks/combination-chart-options.de-ChlEhT09.js +2 -0
- package/standalone/chunks/combination-chart-options.en-DhCXqnwj.js +2 -0
- package/standalone/chunks/combination-chart-options.es-DESqZp0U.js +2 -0
- package/standalone/chunks/combination-chart-options.fr-v6P2xQCi.js +2 -0
- package/standalone/chunks/combination-chart-options.nl-D8ato2ve.js +2 -0
- package/standalone/chunks/combination-chart-slots.config-BNVJfRB2.js +2 -0
- package/standalone/chunks/conditional-number-options.config-hdARPTD7.js +2 -0
- package/standalone/chunks/conditional-number-options.de-BNkYWqfn.js +2 -0
- package/standalone/chunks/conditional-number-options.en-J7yPXdbP.js +2 -0
- package/standalone/chunks/conditional-number-options.es-CKDTBiYp.js +2 -0
- package/standalone/chunks/conditional-number-options.fr-BX1cbt1S.js +2 -0
- package/standalone/chunks/conditional-number-options.nl-6IE86oA9.js +2 -0
- package/standalone/chunks/conditional-number-slots.config-B4kqODqw.js +2 -0
- package/standalone/chunks/create-lazy-loader-DC0rJePE.js +2 -0
- package/standalone/chunks/cs-DLnr3a23.js +2 -0
- package/standalone/chunks/da-BJgbo0uE.js +2 -0
- package/standalone/chunks/data-broker-Dgg5mQze.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.config-a_qCDcWA.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.de-WqpVCnC1.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.en-Obm6KfbI.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.es-CxYTNaTq.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.fr-DhrKNPxX.js +2 -0
- package/standalone/chunks/date-comparison-filter-options.nl-D2RV7246.js +2 -0
- package/standalone/chunks/date-comparison-filter-slots.config-DfHq9lB8.js +2 -0
- package/standalone/chunks/date-filter-options.config-DHTbxiWn.js +2 -0
- package/standalone/chunks/date-filter-options.de-B83VkpDz.js +2 -0
- package/standalone/chunks/date-filter-options.en-DKQexBC1.js +2 -0
- package/standalone/chunks/date-filter-options.es-DfDqzkVB.js +2 -0
- package/standalone/chunks/date-filter-options.fr-DoZy8DU8.js +2 -0
- package/standalone/chunks/date-filter-options.nl-DKtF0sFB.js +2 -0
- package/standalone/chunks/date-filter-slots.config-DHaOkULx.js +2 -0
- package/standalone/chunks/de-BtQ1ecN1.js +2 -0
- package/standalone/chunks/de-DPgYMyja.js +2 -0
- package/standalone/chunks/decompose-numeric-format-BXLQ97e2.js +2 -0
- package/standalone/chunks/default-Bi3Z4SMm.js +2 -0
- package/standalone/chunks/default-dark-C2ykXPQt.js +2 -0
- package/standalone/chunks/default-local-formats-CES1ItiK.js +2 -0
- package/standalone/chunks/display-settings-binning-B_lKObyP.js +38 -0
- package/standalone/chunks/display-settings-datetime-CTmJyEOX.js +199 -0
- package/standalone/chunks/display-settings-grand-totals-IjcbBoyZ.js +26 -0
- package/standalone/chunks/display-settings-numeric-D9hvRtfN.js +172 -0
- package/standalone/chunks/display-settings-period-over-period-Dnstsyqe.js +209 -0
- package/standalone/chunks/donut-chart-options.config-BuZj-QX5.js +2 -0
- package/standalone/chunks/donut-chart-options.de-QusCBL9B.js +2 -0
- package/standalone/chunks/donut-chart-options.en-D0ligFH6.js +2 -0
- package/standalone/chunks/donut-chart-options.es-Bmn34sGt.js +2 -0
- package/standalone/chunks/donut-chart-options.fr-DGBawYKp.js +2 -0
- package/standalone/chunks/donut-chart-options.nl-DzNTu0v4.js +2 -0
- package/standalone/chunks/donut-chart-slots.config-7pDpzNBG.js +2 -0
- package/standalone/chunks/dropdown-filter-options.config-zwR7hmkX.js +2 -0
- package/standalone/chunks/dropdown-filter-options.de-dj6aTNQQ.js +2 -0
- package/standalone/chunks/dropdown-filter-options.en-DH7Jfk8Q.js +2 -0
- package/standalone/chunks/dropdown-filter-options.es-K2L8ln9j.js +2 -0
- package/standalone/chunks/dropdown-filter-options.fr-CMapzFiR.js +2 -0
- package/standalone/chunks/dropdown-filter-options.nl-BLAyit4D.js +2 -0
- package/standalone/chunks/dropdown-filter-slots.config-DkqLjilE.js +2 -0
- package/standalone/chunks/embed-Dymwil3u.js +228 -0
- package/standalone/chunks/en-BD2RCLuw.js +2 -0
- package/standalone/chunks/en-GB-DnwmFNwC.js +2 -0
- package/standalone/chunks/en-US-BD2RCLuw.js +2 -0
- package/standalone/chunks/es-CAWreooi.js +2 -0
- package/standalone/chunks/es-Dp1UuDDz.js +2 -0
- package/standalone/chunks/evolution-number-options.config-B5Cj0YAQ.js +2 -0
- package/standalone/chunks/evolution-number-options.de-Ch0LaHwI.js +2 -0
- package/standalone/chunks/evolution-number-options.en-riChGfa6.js +2 -0
- package/standalone/chunks/evolution-number-options.es-BdG3lvVQ.js +2 -0
- package/standalone/chunks/evolution-number-options.fr-_h0kLeRL.js +2 -0
- package/standalone/chunks/evolution-number-options.nl-CqycrLe1.js +2 -0
- package/standalone/chunks/evolution-number-slots.config-IqPfnCrw.js +2 -0
- package/standalone/chunks/fi-CLQ6vC7V.js +2 -0
- package/standalone/chunks/filters-CBmZhipt.js +544 -0
- package/standalone/chunks/formatter-B7zz6UOp.js +2 -0
- package/standalone/chunks/formula-codemirror-D2F6Aj2h.js +197 -0
- package/standalone/chunks/fr-BG0nQk8g.js +2 -0
- package/standalone/chunks/fr-D8xrUEX4.js +2 -0
- package/standalone/chunks/funnel-chart-options.config-1SyJ_qYd.js +2 -0
- package/standalone/chunks/funnel-chart-options.de-BTxwd7Pe.js +2 -0
- package/standalone/chunks/funnel-chart-options.en-CmY-uO1P.js +2 -0
- package/standalone/chunks/funnel-chart-options.es-DLqBydsE.js +2 -0
- package/standalone/chunks/funnel-chart-options.fr-ztQ5OMZi.js +2 -0
- package/standalone/chunks/funnel-chart-options.nl-DVysx7tP.js +2 -0
- package/standalone/chunks/funnel-chart-slots.config-DfeuNGEL.js +2 -0
- package/standalone/chunks/guidelines-options.config-CS29_J9M.js +2 -0
- package/standalone/chunks/he-DHPb0VBo.js +2 -0
- package/standalone/chunks/heat-map-options.config-DYIrP8cV.js +2 -0
- package/standalone/chunks/heat-map-options.de-BfJMMX2Q.js +2 -0
- package/standalone/chunks/heat-map-options.en-Dr653pN6.js +2 -0
- package/standalone/chunks/heat-map-options.es-CklrBP1w.js +2 -0
- package/standalone/chunks/heat-map-options.fr-DwtCOHrA.js +2 -0
- package/standalone/chunks/heat-map-options.nl-DQBLussF.js +2 -0
- package/standalone/chunks/heat-map-slots.config-BVBzVjJJ.js +2 -0
- package/standalone/chunks/heat-table-options.config-ByHwT44G.js +2 -0
- package/standalone/chunks/heat-table-options.de-BMx67hXo.js +2 -0
- package/standalone/chunks/heat-table-options.en-BbobGoXs.js +2 -0
- package/standalone/chunks/heat-table-options.es-zKo-QMBY.js +2 -0
- package/standalone/chunks/heat-table-options.fr-XSTL1CSb.js +2 -0
- package/standalone/chunks/heat-table-options.nl-Cgcccsee.js +2 -0
- package/standalone/chunks/heat-table-slots.config-CcOl-PCp.js +2 -0
- package/standalone/chunks/helpers-DalWg6k7.js +2 -0
- package/standalone/chunks/hexbin-map-options.config-Elr44Jin.js +2 -0
- package/standalone/chunks/hexbin-map-options.de-C45yz1mZ.js +2 -0
- package/standalone/chunks/hexbin-map-options.en-CIrLRJJ1.js +2 -0
- package/standalone/chunks/hexbin-map-options.es-wf4yF2eW.js +2 -0
- package/standalone/chunks/hexbin-map-options.fr-C0SN47Nq.js +2 -0
- package/standalone/chunks/hexbin-map-options.nl-CweMyvfk.js +2 -0
- package/standalone/chunks/hexbin-map-slots.config-D6qVm4nj.js +2 -0
- package/standalone/chunks/hu-BpaYooip.js +2 -0
- package/standalone/chunks/image-options.config-Cj4r1ypi.js +2 -0
- package/standalone/chunks/image-options.de-CFUHfYzb.js +2 -0
- package/standalone/chunks/image-options.en-BIyq9f_H.js +2 -0
- package/standalone/chunks/image-options.es-BD---IOk.js +2 -0
- package/standalone/chunks/image-options.fr-BGFgsNTs.js +2 -0
- package/standalone/chunks/image-options.nl-DD1JEJSa.js +2 -0
- package/standalone/chunks/image-slots.config-CdWEUY0l.js +2 -0
- package/standalone/chunks/info-tooltip-options.config-DtfU5ZO8.js +2 -0
- package/standalone/chunks/info-tooltip-options.i18n-B_gjTq0R.js +2 -0
- package/standalone/chunks/interactivity-options.config-09eXx6k6.js +2 -0
- package/standalone/chunks/interactivity-options.i18n-BLDCmZkC.js +2 -0
- package/standalone/chunks/it-DWTvD2Xn.js +2 -0
- package/standalone/chunks/item-option-action-button-group-BZyiRTfe.js +35 -0
- package/standalone/chunks/item-option-base-Bk5qxdcQ.js +38 -0
- package/standalone/chunks/item-option-color-palette-picker-O8kT0i8p.js +22 -0
- package/standalone/chunks/item-option-color-picker-CUTCc_yN.js +16 -0
- package/standalone/chunks/item-option-color-range-DsKPvjLj.js +80 -0
- package/standalone/chunks/item-option-guidelines-CZyvhgtN.js +117 -0
- package/standalone/chunks/item-option-multi-language-field-DlC-cCD7.js +15 -0
- package/standalone/chunks/item-option-number-field-BW9VpN9_.js +20 -0
- package/standalone/chunks/item-option-panel-BXA3sIYG.js +298 -0
- package/standalone/chunks/item-option-picker-B2KmO7a6.js +19 -0
- package/standalone/chunks/item-option-position-picker-C9C9SKDD.js +14 -0
- package/standalone/chunks/item-option-positions-number-field-C2ahVlxe.js +31 -0
- package/standalone/chunks/item-option-radio-button-group-2q3doUXH.js +19 -0
- package/standalone/chunks/item-option-slider-C7TT3CqL.js +15 -0
- package/standalone/chunks/item-option-switch-CZR2_Bs9.js +12 -0
- package/standalone/chunks/item-option-text-field-DBUOD_fv.js +15 -0
- package/standalone/chunks/item-slot-picker-panel-CTePASjI.js +439 -0
- package/standalone/chunks/ja-CtDlXHD1.js +2 -0
- package/standalone/chunks/ko-CekuHU50.js +2 -0
- package/standalone/chunks/line-chart-options.config-DyqQLGw8.js +2 -0
- package/standalone/chunks/line-chart-options.de-BScjvJsI.js +2 -0
- package/standalone/chunks/line-chart-options.en-BVWFsre-.js +2 -0
- package/standalone/chunks/line-chart-options.es-CxNJevNs.js +2 -0
- package/standalone/chunks/line-chart-options.fr-LCsLx0Uh.js +2 -0
- package/standalone/chunks/line-chart-options.nl-BOgcjx48.js +2 -0
- package/standalone/chunks/line-chart-slots.config-CavGuJXK.js +2 -0
- package/standalone/chunks/lit-localize-CIGP-NUw.js +2 -0
- package/standalone/chunks/load-data-fields-for-datasets-CPf_Q7p4.js +25 -0
- package/standalone/chunks/load-formula-codemirror-CA7NW4Zq.js +6 -0
- package/standalone/chunks/localize-BXHWaHdZ.js +2 -0
- package/standalone/chunks/localized-decorator-Buib6Rq1.js +2 -0
- package/standalone/chunks/localized-mixin-DN2aV3CC.js +2 -0
- package/standalone/chunks/luzmo-icon-markup-27PRW8QM.js +13 -0
- package/standalone/chunks/luzmoAlignLeft-HA-XKPHy.js +2 -0
- package/standalone/chunks/luzmoAngleDown-PNrItYzK.js +2 -0
- package/standalone/chunks/luzmoAngleLeft-ebJO7ROy.js +2 -0
- package/standalone/chunks/luzmoArrowsHorizontal-TohKbcQD.js +2 -0
- package/standalone/chunks/luzmoBorderDotted-CWXwQ_Hm.js +2 -0
- package/standalone/chunks/luzmoCheckbox-BksyONqE.js +2 -0
- package/standalone/chunks/luzmoCog-C4v4vc5N.js +2 -0
- package/standalone/chunks/luzmoLockOutline-Dctb86HR.js +2 -0
- package/standalone/chunks/luzmoPlus-Dyrrz0v8.js +2 -0
- package/standalone/chunks/luzmoTable-BYeZ8pW6.js +2 -0
- package/standalone/chunks/luzmoTrashOutline-DXZpJx7f.js +2 -0
- package/standalone/chunks/map-tile-providers-DZT1QZX_.js +2 -0
- package/standalone/chunks/marker-map-options.config-D_OTOZRe.js +2 -0
- package/standalone/chunks/marker-map-options.de-SuCAxwxR.js +2 -0
- package/standalone/chunks/marker-map-options.en-B-gl_14v.js +2 -0
- package/standalone/chunks/marker-map-options.es-CSJGCzjk.js +2 -0
- package/standalone/chunks/marker-map-options.fr-D5P_HjSn.js +2 -0
- package/standalone/chunks/marker-map-options.nl-DdeyYFJQ.js +2 -0
- package/standalone/chunks/marker-map-slots.config-CtzpU-rK.js +2 -0
- package/standalone/chunks/mk-Dq3YK4jD.js +2 -0
- package/standalone/chunks/nl-7csxtU-I.js +2 -0
- package/standalone/chunks/nl-BXPduS2Q.js +2 -0
- package/standalone/chunks/no-DJNRx8au.js +2 -0
- package/standalone/chunks/ohlc-chart-options.config-Bu2GKlAH.js +2 -0
- package/standalone/chunks/ohlc-chart-options.de-DeQ8wdeE.js +2 -0
- package/standalone/chunks/ohlc-chart-options.en-DopM1kPj.js +2 -0
- package/standalone/chunks/ohlc-chart-options.es-BKjQWwH0.js +2 -0
- package/standalone/chunks/ohlc-chart-options.fr-DWhV_lXz.js +2 -0
- package/standalone/chunks/ohlc-chart-options.nl-D8lhNKIv.js +2 -0
- package/standalone/chunks/ohlc-chart-slots.config-xYpPbmg2.js +2 -0
- package/standalone/chunks/orion-BHOu-xse.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.config-BcIYCRdF.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.de-Dvi0gBbB.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.en-LdifcLcc.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.es-DNisZWdC.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.fr-DwOBR0cp.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-options.nl-DCXeTldD.js +2 -0
- package/standalone/chunks/parallel-coordinates-plot-slots.config-DvJljfr8.js +2 -0
- package/standalone/chunks/period-over-period-condition.const-AC_onvUf.js +2 -0
- package/standalone/chunks/periods.const-Cie50jR4.js +2 -0
- package/standalone/chunks/pinky-CkEB6Fvc.js +2 -0
- package/standalone/chunks/pivot-table-options.config-BZpId1ju.js +2 -0
- package/standalone/chunks/pivot-table-options.de-B0l711Q7.js +2 -0
- package/standalone/chunks/pivot-table-options.en-D3MYHTWH.js +2 -0
- package/standalone/chunks/pivot-table-options.es-CDACogGQ.js +2 -0
- package/standalone/chunks/pivot-table-options.fr-C-w1sys8.js +2 -0
- package/standalone/chunks/pivot-table-options.nl-Dy9VJ1bm.js +2 -0
- package/standalone/chunks/pivot-table-slots.config-DZOE04Ea.js +2 -0
- package/standalone/chunks/pl-zDnuk9Gd.js +2 -0
- package/standalone/chunks/pt-BEVAH5AJ.js +2 -0
- package/standalone/chunks/pyramid-chart-options.config-CBd-pgn_.js +2 -0
- package/standalone/chunks/pyramid-chart-options.de-CBL_8UjH.js +2 -0
- package/standalone/chunks/pyramid-chart-options.en-CTozc1Uh.js +2 -0
- package/standalone/chunks/pyramid-chart-options.es-BKciL-nO.js +2 -0
- package/standalone/chunks/pyramid-chart-options.fr-B04m8B_b.js +2 -0
- package/standalone/chunks/pyramid-chart-options.nl-DIhj1NYF.js +2 -0
- package/standalone/chunks/pyramid-chart-slots.config-DKBFy-TL.js +2 -0
- package/standalone/chunks/radar-chart-options.config-CnQ8mbs9.js +2 -0
- package/standalone/chunks/radar-chart-options.de-_LSueG69.js +2 -0
- package/standalone/chunks/radar-chart-options.en-DBA8TpKJ.js +2 -0
- package/standalone/chunks/radar-chart-options.es-DjSsFQkP.js +2 -0
- package/standalone/chunks/radar-chart-options.fr-CCh2jYPS.js +2 -0
- package/standalone/chunks/radar-chart-options.nl-tZ0JRjXD.js +2 -0
- package/standalone/chunks/radar-chart-slots.config-CHauNDhi.js +2 -0
- package/standalone/chunks/radiant-BfVbXYeP.js +2 -0
- package/standalone/chunks/regular-table-options.config-BnhDzc-m.js +2 -0
- package/standalone/chunks/regular-table-options.de-DPmii-jp.js +2 -0
- package/standalone/chunks/regular-table-options.en-DQugncwx.js +2 -0
- package/standalone/chunks/regular-table-options.es-DzbTEFoh.js +2 -0
- package/standalone/chunks/regular-table-options.fr-roRCzuK8.js +2 -0
- package/standalone/chunks/regular-table-options.nl-DxYUm_Rz.js +2 -0
- package/standalone/chunks/regular-table-slots.config-BqEJgzhG.js +2 -0
- package/standalone/chunks/route-map-options.config-CWyA9_SB.js +2 -0
- package/standalone/chunks/route-map-options.de-Ke-Bybpi.js +2 -0
- package/standalone/chunks/route-map-options.en-CDXIcBc0.js +2 -0
- package/standalone/chunks/route-map-options.es-CCEXcHLb.js +2 -0
- package/standalone/chunks/route-map-options.fr-BXoMKK54.js +2 -0
- package/standalone/chunks/route-map-options.nl-U52AE8MW.js +2 -0
- package/standalone/chunks/route-map-slots.config-B5G4JVnI.js +2 -0
- package/standalone/chunks/royale-Bcd5VvC5.js +2 -0
- package/standalone/chunks/ru-Ceji1Fqk.js +2 -0
- package/standalone/chunks/sankey-diagram-options.config-Curc2-If.js +2 -0
- package/standalone/chunks/sankey-diagram-options.de-Bisx6mpj.js +2 -0
- package/standalone/chunks/sankey-diagram-options.en-DonChVRz.js +2 -0
- package/standalone/chunks/sankey-diagram-options.es-TCXmlth5.js +2 -0
- package/standalone/chunks/sankey-diagram-options.fr-B3iAnJNW.js +2 -0
- package/standalone/chunks/sankey-diagram-options.nl-BnXZQEKn.js +2 -0
- package/standalone/chunks/sankey-diagram-slots.config-jyKqjUsV.js +2 -0
- package/standalone/chunks/scatter-plot-options.config-BV9Lb6-v.js +2 -0
- package/standalone/chunks/scatter-plot-options.de-Dg3O1b2R.js +2 -0
- package/standalone/chunks/scatter-plot-options.en-CJH2ZlFW.js +2 -0
- package/standalone/chunks/scatter-plot-options.es-7kExRi4J.js +2 -0
- package/standalone/chunks/scatter-plot-options.fr-Bbkf8efT.js +2 -0
- package/standalone/chunks/scatter-plot-options.nl-zrEXoM-k.js +2 -0
- package/standalone/chunks/scatter-plot-slots.config-CF2Ii2Ez.js +2 -0
- package/standalone/chunks/search-filter-options.config-DPhYMtlJ.js +2 -0
- package/standalone/chunks/search-filter-options.de-DewLFwK0.js +2 -0
- package/standalone/chunks/search-filter-options.en-DyIupnO9.js +2 -0
- package/standalone/chunks/search-filter-options.es-Dx1WGz-q.js +2 -0
- package/standalone/chunks/search-filter-options.fr-BdnlKNNx.js +2 -0
- package/standalone/chunks/search-filter-options.nl-DsKcc6ke.js +2 -0
- package/standalone/chunks/search-filter-slots.config-BcTF-DAh.js +2 -0
- package/standalone/chunks/seasonal-f6I--CYV.js +2 -0
- package/standalone/chunks/slicer-filter-options.config-BQ1vpcTb.js +2 -0
- package/standalone/chunks/slicer-filter-options.de-v0So4hDH.js +2 -0
- package/standalone/chunks/slicer-filter-options.en-BkVZDku6.js +2 -0
- package/standalone/chunks/slicer-filter-options.es-BATOs827.js +2 -0
- package/standalone/chunks/slicer-filter-options.fr-DROih5R8.js +2 -0
- package/standalone/chunks/slicer-filter-options.nl-CT4HfMiT.js +2 -0
- package/standalone/chunks/slicer-filter-slots.config-DL3Q0Zbm.js +2 -0
- package/standalone/chunks/slider-filter-options.config-ZCkBkeXQ.js +2 -0
- package/standalone/chunks/slider-filter-options.de-BToTmIkJ.js +2 -0
- package/standalone/chunks/slider-filter-options.en-Du0cf6NC.js +2 -0
- package/standalone/chunks/slider-filter-options.es-6yGUkJ9r.js +2 -0
- package/standalone/chunks/slider-filter-options.fr-DeupuOm1.js +2 -0
- package/standalone/chunks/slider-filter-options.nl-K6BEul4-.js +2 -0
- package/standalone/chunks/slider-filter-slots.config-52Bs7zu3.js +2 -0
- package/standalone/chunks/spacer-options.config-DmYOnwBz.js +2 -0
- package/standalone/chunks/speedometer-chart-options.config-YmUv49lQ.js +2 -0
- package/standalone/chunks/speedometer-chart-options.de-CWVMBrx9.js +2 -0
- package/standalone/chunks/speedometer-chart-options.en-DtCdA113.js +2 -0
- package/standalone/chunks/speedometer-chart-options.es-BC1Y-Hje.js +2 -0
- package/standalone/chunks/speedometer-chart-options.fr-BqnVNM9x.js +2 -0
- package/standalone/chunks/speedometer-chart-options.nl-D2dmDbhJ.js +2 -0
- package/standalone/chunks/speedometer-chart-slots.config-Cfsna_2O.js +2 -0
- package/standalone/chunks/spike-map-options.config-YOYHTzZs.js +2 -0
- package/standalone/chunks/spike-map-options.de-cIVh4l8Z.js +2 -0
- package/standalone/chunks/spike-map-options.en-CKjynYQl.js +2 -0
- package/standalone/chunks/spike-map-options.es-_GxcrK73.js +2 -0
- package/standalone/chunks/spike-map-options.fr-DHi_gHN6.js +2 -0
- package/standalone/chunks/spike-map-options.nl-Bicq35x0.js +2 -0
- package/standalone/chunks/spike-map-slots.config-FfXNX2O3.js +2 -0
- package/standalone/chunks/strip-plot-options.config-D84diNaB.js +2 -0
- package/standalone/chunks/strip-plot-options.de-DjNnWJl2.js +2 -0
- package/standalone/chunks/strip-plot-options.en-Of1sTT_A.js +2 -0
- package/standalone/chunks/strip-plot-options.es-BEHY8I7g.js +2 -0
- package/standalone/chunks/strip-plot-options.fr-DLfEoXBO.js +2 -0
- package/standalone/chunks/strip-plot-options.nl-CA3oh18P.js +2 -0
- package/standalone/chunks/strip-plot-slots.config-DQrrby2Y.js +2 -0
- package/standalone/chunks/sunburst-chart-options.config-DRjBFJV0.js +2 -0
- package/standalone/chunks/sunburst-chart-options.de-D6enQCjV.js +2 -0
- package/standalone/chunks/sunburst-chart-options.en-D9DSivE2.js +2 -0
- package/standalone/chunks/sunburst-chart-options.es-Bb7iCI1h.js +2 -0
- package/standalone/chunks/sunburst-chart-options.fr-CCzUgv7r.js +2 -0
- package/standalone/chunks/sunburst-chart-options.nl-bGOCvc4m.js +2 -0
- package/standalone/chunks/sunburst-chart-slots.config-DqW1e0nf.js +2 -0
- package/standalone/chunks/sv-CgssnOqA.js +2 -0
- package/standalone/chunks/symbol-map-options.config-Bbb3xIKg.js +2 -0
- package/standalone/chunks/symbol-map-options.de-CqxosoVr.js +2 -0
- package/standalone/chunks/symbol-map-options.en-DT7vsjRh.js +2 -0
- package/standalone/chunks/symbol-map-options.es-PGR-C-uM.js +2 -0
- package/standalone/chunks/symbol-map-options.fr-CPNydqFW.js +2 -0
- package/standalone/chunks/symbol-map-options.nl-BBHmJwLF.js +2 -0
- package/standalone/chunks/symbol-map-slots.config-B_UtYexb.js +2 -0
- package/standalone/chunks/task-CNp3cEJA.js +2 -0
- package/standalone/chunks/text-options.config-Chv14kyQ.js +2 -0
- package/standalone/chunks/text-options.de-CRVu5VAm.js +2 -0
- package/standalone/chunks/text-options.en-CupCY5Us.js +2 -0
- package/standalone/chunks/text-options.es-uKgRI4LZ.js +2 -0
- package/standalone/chunks/text-options.fr-C256Njqd.js +2 -0
- package/standalone/chunks/text-options.nl-CpMqMCOZ.js +2 -0
- package/standalone/chunks/text-slots.config-D33nu0FP.js +2 -0
- package/standalone/chunks/themes-BD5sKr3j.js +2 -0
- package/standalone/chunks/tr-i3G2sFi4.js +2 -0
- package/standalone/chunks/treemap-chart-options.config-DxkumoYq.js +2 -0
- package/standalone/chunks/treemap-chart-options.de-DdhcpjTu.js +2 -0
- package/standalone/chunks/treemap-chart-options.en-DB87QjbN.js +2 -0
- package/standalone/chunks/treemap-chart-options.es-DEImFeIB.js +2 -0
- package/standalone/chunks/treemap-chart-options.fr-BzM5c_vV.js +2 -0
- package/standalone/chunks/treemap-chart-options.nl-CFJgBJi2.js +2 -0
- package/standalone/chunks/treemap-chart-slots.config-CaearczZ.js +2 -0
- package/standalone/chunks/type-check-CC6bgirK.js +2 -0
- package/standalone/chunks/types-BS6dxSMT.js +2 -0
- package/standalone/chunks/urban-BEeGnayr.js +2 -0
- package/standalone/chunks/v4-CI0qP0ur.js +2 -0
- package/standalone/chunks/venn-diagram-options.config-DmYOnwBz.js +2 -0
- package/standalone/chunks/venn-diagram-slots.config-GnP5AAAL.js +2 -0
- package/standalone/chunks/version-DJES6maY.js +2 -0
- package/standalone/chunks/video-options.config-CfgT_MAw.js +2 -0
- package/standalone/chunks/video-options.de-Cxs3-JN3.js +2 -0
- package/standalone/chunks/video-options.en-ck74JByC.js +2 -0
- package/standalone/chunks/video-options.es-UdEH3Rzk.js +2 -0
- package/standalone/chunks/video-options.fr-p5bOI-bw.js +2 -0
- package/standalone/chunks/video-options.nl-CBYWp-Df.js +2 -0
- package/standalone/chunks/video-slots.config-ufoVcXKL.js +2 -0
- package/standalone/chunks/vivid-BC9AYKyD.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.config-b-ibtRWp.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.de-B0CeI2KB.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.en-BQ-8ciOw.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.es-DyMrHpJL.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.fr-V1k_70yq.js +2 -0
- package/standalone/chunks/wordcloud-chart-options.nl-CrfYuaYy.js +2 -0
- package/standalone/chunks/wordcloud-chart-slots.config-g7QwS2dG.js +2 -0
- package/standalone/chunks/zh-CN-NVnv57dz.js +2 -0
- package/standalone/chunks/zh-TW-NVnv57dz.js +2 -0
- package/standalone/interactive-viz-item.js +263 -0
- package/standalone/item-grid.js +123 -0
- package/standalone/manifest.json +436 -0
- package/storybook/register-components.d.ts +2 -1
- package/styles/tokens.d.ts +1 -0
- package/types/add-to-dashboard.types.d.ts +51 -0
- package/types.d.ts +3 -1
- package/utils/data-broker/index.d.ts +19 -1
- package/utils/filters/filter-text.d.ts +1 -1
- package/utils/formula/base/formula-base.d.ts +2 -2
- package/utils/formula/config/build-datasets.d.ts +2 -2
- package/utils/formula/store/formula-display-store.d.ts +1 -1
- package/components/ai-chat-1OlRpimu.cjs +0 -337
- package/components/ai-chat-PesGGOLP.js +0 -4350
- package/components/ai-interaction-textarea-BXKG2elT.js +0 -820
- package/components/ai-interaction-textarea-CmFGJzbb.cjs +0 -99
- package/components/area-chart-positioning.config-C37nmNfP.cjs +0 -20
- package/components/area-chart-positioning.config-CF8Z7PuX.js +0 -55
- package/components/bar-chart-positioning.config-C4ii41mE.cjs +0 -20
- package/components/bar-chart-positioning.config-vuRQZsYr.js +0 -59
- package/components/base-8L8Jt2vi.js +0 -249
- package/components/base-K-bf6_7X.cjs +0 -20
- package/components/base-store-BhGpnbqi.js +0 -152
- package/components/base-store-D5cDq6d4.cjs +0 -20
- package/components/box-plot-positioning.config-D2LpbgQ_.cjs +0 -20
- package/components/box-plot-positioning.config-DMIsI9yU.js +0 -48
- package/components/bubble-chart-positioning.config-Btak-zwN.cjs +0 -20
- package/components/bubble-chart-positioning.config-jYu0Q0Mc.js +0 -55
- package/components/bullet-chart-positioning.config-BWHfPPyA.js +0 -56
- package/components/bullet-chart-positioning.config-CwoRVgNS.cjs +0 -20
- package/components/choropleth-map-options.config-DWWydGJ3.js +0 -352
- package/components/choropleth-map-options.config-VG10yjwC.cjs +0 -20
- package/components/choropleth-map-positioning.config-DttV0Dk_.cjs +0 -20
- package/components/choropleth-map-positioning.config-KtxcLW7E.js +0 -55
- package/components/circle-pack-chart-positioning.config-N-rZvQjR.cjs +0 -20
- package/components/circle-pack-chart-positioning.config-QBO-pwDr.js +0 -48
- package/components/circular-gauge-positioning.config-Cf1zuLXa.cjs +0 -20
- package/components/circular-gauge-positioning.config-DKGmEpFj.js +0 -48
- package/components/color-BWnYpOu7.js +0 -3812
- package/components/color-Bl8h58rV.cjs +0 -20
- package/components/color-range-utils-C3HJJUS1.cjs +0 -20
- package/components/color-range-utils-CiqduHJS.js +0 -63
- package/components/column-chart-positioning.config-DcErS56C.cjs +0 -20
- package/components/column-chart-positioning.config-LkQSNtSH.js +0 -55
- package/components/combination-chart-positioning.config-7iAEpO7h.js +0 -48
- package/components/combination-chart-positioning.config-Dzi93oAp.cjs +0 -20
- package/components/conditional-number-positioning.config-Bse6AKPP.js +0 -48
- package/components/conditional-number-positioning.config-CTy0zLXu.cjs +0 -20
- package/components/data-broker-B0uUO5er.js +0 -1684
- package/components/data-broker-CyMYR6w1.cjs +0 -20
- package/components/data-field-CSm9APdz.js +0 -121
- package/components/data-field-D2y4cv9j.cjs +0 -54
- package/components/data-field-level-B0aj8c5M.js +0 -247
- package/components/data-field-level-Llx0Y9m-.cjs +0 -55
- package/components/data-field-panel-DpBWJnes.js +0 -385
- package/components/data-field-panel-Dv60lRUC.cjs +0 -87
- package/components/data-fields-select-69TDpIG_.js +0 -289
- package/components/data-fields-select-BHa8THub.cjs +0 -43
- package/components/dataset-icon-BAV0S4sZ.cjs +0 -64
- package/components/dataset-icon-CWT5Ju8w.js +0 -125
- package/components/dataset-selector-list-D5lBv2sD.cjs +0 -75
- package/components/dataset-selector-list-DTMXvqfO.js +0 -323
- package/components/dataset-selector-row-gHWsZlrC.cjs +0 -102
- package/components/dataset-selector-row-kiHtzZcP.js +0 -427
- package/components/de-BhKtDR6p.js +0 -565
- package/components/de-DXFLsh4N.cjs +0 -20
- package/components/display-settings-DKuvd62j.js +0 -315
- package/components/display-settings-DPqTRJ7E.cjs +0 -142
- package/components/display-settings-binning-BkCNSkgf.js +0 -110
- package/components/display-settings-binning-DZKo_tBm.cjs +0 -56
- package/components/display-settings-datetime-BTgriFcv.js +0 -413
- package/components/display-settings-datetime-DD7Oh-2T.cjs +0 -217
- package/components/display-settings-grand-totals-BsIZg67h.cjs +0 -44
- package/components/display-settings-grand-totals-DH7AoyQY.js +0 -89
- package/components/display-settings-numeric-CkFpOoWU.js +0 -479
- package/components/display-settings-numeric-CsmrnEp2.cjs +0 -190
- package/components/display-settings-period-over-period-CdI5wuL_.js +0 -442
- package/components/display-settings-period-over-period-Co37HcSm.cjs +0 -227
- package/components/donut-chart-positioning.config-BThtaJEt.cjs +0 -20
- package/components/donut-chart-positioning.config-D2uG_Irk.js +0 -48
- package/components/es-DK-49nGv.cjs +0 -20
- package/components/es-DUENN-m1.js +0 -565
- package/components/evolution-number-positioning.config-BtjobZqK.js +0 -48
- package/components/evolution-number-positioning.config-DtYiv9oB.cjs +0 -20
- package/components/filter-expression-picker-C4kE_Thd.js +0 -433
- package/components/filter-expression-picker-CU-OfSmI.cjs +0 -40
- package/components/filter-item-Be6Z7NMz.js +0 -792
- package/components/filter-item-CxPrwF-R.cjs +0 -111
- package/components/filter-parameter-picker-Ba8bvoPZ.js +0 -371
- package/components/filter-parameter-picker-BtJLCUbT.cjs +0 -124
- package/components/filter-value-picker-DD206JZl.js +0 -169
- package/components/filter-value-picker-Dpua1vcJ.cjs +0 -69
- package/components/filter-value-picker-datetime-Bj0YaPtB.js +0 -159
- package/components/filter-value-picker-datetime-DWgI83nJ.cjs +0 -51
- package/components/filter-value-picker-hierarchy-BEoqkQq0.cjs +0 -54
- package/components/filter-value-picker-hierarchy-ZMThNJYm.js +0 -315
- package/components/filter-value-picker-numeric-1Vxp_Vam.cjs +0 -54
- package/components/filter-value-picker-numeric-CVaDogFQ.js +0 -236
- package/components/filters-Cnm0Kwk3.js +0 -926
- package/components/filters-Dtbt99BP.cjs +0 -199
- package/components/formula-BE9bipho.js +0 -138
- package/components/formula-DGMnKmnR.cjs +0 -45
- package/components/formula-codemirror-B14vsZXJ.cjs +0 -215
- package/components/formula-codemirror-xfm0QtJN.js +0 -12018
- package/components/formula-display-store-8hohve9v.cjs +0 -20
- package/components/formula-display-store-JAaWuYNB.js +0 -1087
- package/components/formula-editor-CkW-JfyT.cjs +0 -224
- package/components/formula-editor-DN87mT8q.js +0 -690
- package/components/formula-field-B1EMJOfK.js +0 -40
- package/components/formula-field-CQYFSBHL.cjs +0 -20
- package/components/formula-input-base-BCQXmd1P.cjs +0 -49
- package/components/formula-input-base-HL0Fg74x.js +0 -236
- package/components/fr-CePmGBUH.js +0 -565
- package/components/fr-uE3fb3kc.cjs +0 -20
- package/components/funnel-chart-positioning.config-DeLnAGGT.cjs +0 -20
- package/components/funnel-chart-positioning.config-TVzSiV6I.js +0 -48
- package/components/get-dataset-name-DLjeChNS.js +0 -32
- package/components/get-dataset-name-mGNEfkAv.cjs +0 -20
- package/components/groupings-CODDxpbZ.js +0 -52
- package/components/groupings-DKMq8DgS.cjs +0 -20
- package/components/heat-map-options.config-DtDh9Gpy.cjs +0 -20
- package/components/heat-map-options.config-X96sw-BV.js +0 -226
- package/components/heat-map-positioning.config--wm9l7bB.js +0 -48
- package/components/heat-map-positioning.config-ddrgZXa9.cjs +0 -20
- package/components/heat-table-options.config-CugBuoUA.cjs +0 -20
- package/components/heat-table-options.config-D6dA9J97.js +0 -269
- package/components/heat-table-positioning.config-CIhhBEMg.js +0 -55
- package/components/heat-table-positioning.config-qMDSRhZR.cjs +0 -20
- package/components/hexbin-map-positioning.config-E_BpcIFy.cjs +0 -20
- package/components/hexbin-map-positioning.config-S7VYUwVD.js +0 -48
- package/components/interactive-viz-item--kqitfEZ.cjs +0 -249
- package/components/interactive-viz-item-cdShBZQA.js +0 -722
- package/components/item-grid/item-grid-item-actions-menu.d.ts +0 -35
- package/components/item-grid-BfhqMuQA.cjs +0 -113
- package/components/item-grid-xCM8AqRH.js +0 -4559
- package/components/item-option-B5FraAiv.cjs +0 -269
- package/components/item-option-DaAlj_OB.js +0 -955
- package/components/item-option-action-button-group-4w8ub3cT.js +0 -118
- package/components/item-option-action-button-group-DHu8VjCy.cjs +0 -53
- package/components/item-option-base-4Bwn-3Fc.cjs +0 -56
- package/components/item-option-base-BxQUwXzg.js +0 -123
- package/components/item-option-color-palette-picker-D5nO-Bqb.js +0 -2041
- package/components/item-option-color-palette-picker-DrhHKaAK.cjs +0 -40
- package/components/item-option-color-picker-Bhv_k1uW.cjs +0 -34
- package/components/item-option-color-picker-CKokPQcS.js +0 -87
- package/components/item-option-color-range-CwDkzRcx.cjs +0 -98
- package/components/item-option-color-range-DYsMbFEb.js +0 -220
- package/components/item-option-guidelines-CXl4Yla4.js +0 -419
- package/components/item-option-guidelines-DMjA-h3h.cjs +0 -135
- package/components/item-option-multi-language-field-C75Hd2fG.cjs +0 -33
- package/components/item-option-multi-language-field-S6Mt3k23.js +0 -82
- package/components/item-option-number-field-Bg5r0IAX.cjs +0 -38
- package/components/item-option-number-field-CALw8q_J.js +0 -102
- package/components/item-option-panel-DBXgOsM4.cjs +0 -67
- package/components/item-option-panel-v7yUS9hb.js +0 -183
- package/components/item-option-picker-CZyzd3Nq.js +0 -77
- package/components/item-option-picker-RFstpFwI.cjs +0 -37
- package/components/item-option-position-picker-C8cnHEH4.js +0 -117
- package/components/item-option-position-picker-CKHbHHl1.cjs +0 -32
- package/components/item-option-positions-number-field-BGs3WWaz.cjs +0 -49
- package/components/item-option-positions-number-field-BJTY1qZR.js +0 -164
- package/components/item-option-radio-button-group-CN8TLtsV.cjs +0 -37
- package/components/item-option-radio-button-group-vhm4r4_k.js +0 -74
- package/components/item-option-slider-CQOKWBZQ.js +0 -96
- package/components/item-option-slider-DbLPhpJd.cjs +0 -33
- package/components/item-option-switch-CWpb0nf3.cjs +0 -30
- package/components/item-option-switch-azZX2vJr.js +0 -69
- package/components/item-option-text-field-CIM_38yi.js +0 -80
- package/components/item-option-text-field-CS3Lccda.cjs +0 -33
- package/components/item-slot-drop-C8WYPu_w.cjs +0 -91
- package/components/item-slot-drop-DeZ2GvAu.js +0 -331
- package/components/item-slot-drop-panel-BcBHDDTT.cjs +0 -57
- package/components/item-slot-drop-panel-LpfX7ap0.js +0 -355
- package/components/item-slot-picker-BSO1ltXC.js +0 -505
- package/components/item-slot-picker-CvySq194.cjs +0 -174
- package/components/item-slot-picker-panel-CsntXcAp.js +0 -448
- package/components/item-slot-picker-panel-DQ_OzMO_.cjs +0 -81
- package/components/line-chart-positioning.config-CrreArf5.js +0 -55
- package/components/line-chart-positioning.config-DMe1Ldwk.cjs +0 -20
- package/components/load-data-fields-for-datasets-B3XcFFfg.js +0 -42
- package/components/load-data-fields-for-datasets-rL24A68g.cjs +0 -20
- package/components/localized-mixin-DaLXe5J9.js +0 -45
- package/components/localized-mixin-DiUJOd06.cjs +0 -20
- package/components/marker-map-positioning.config-CpI8nCtC.cjs +0 -20
- package/components/marker-map-positioning.config-DW9tMO2M.js +0 -48
- package/components/nl-BaZM3WoR.js +0 -565
- package/components/nl-BoEhzeIh.cjs +0 -20
- package/components/ohlc-chart-positioning.config-9DETh4xy.cjs +0 -20
- package/components/ohlc-chart-positioning.config-CkX8gyS2.js +0 -78
- package/components/parallel-coordinates-plot-positioning.config-CLDZdGdh.cjs +0 -20
- package/components/parallel-coordinates-plot-positioning.config-DTJZLEeT.js +0 -48
- package/components/pivot-table-positioning.config-B-SALuVb.cjs +0 -20
- package/components/pivot-table-positioning.config-CtSYHD-n.js +0 -55
- package/components/pyramid-chart-positioning.config-0Juiava5.js +0 -55
- package/components/pyramid-chart-positioning.config-BllFtneP.cjs +0 -20
- package/components/radar-chart-positioning.config-BPbb63S6.js +0 -55
- package/components/radar-chart-positioning.config-BY4RKNDi.cjs +0 -20
- package/components/route-map-options.config-C65J81_7.js +0 -328
- package/components/route-map-options.config-DS9cCAQK.cjs +0 -20
- package/components/route-map-positioning.config-D6nZFd8f.js +0 -66
- package/components/route-map-positioning.config-GQ9AJfej.cjs +0 -20
- package/components/sankey-diagram-positioning.config-DAuj5A08.cjs +0 -20
- package/components/sankey-diagram-positioning.config-R1EjoR5F.js +0 -66
- package/components/scatter-plot-positioning.config-DGoMnNZy.js +0 -77
- package/components/scatter-plot-positioning.config-o4c-wuRo.cjs +0 -20
- package/components/set-locale-Xh_1AFbC.cjs +0 -20
- package/components/set-locale-ydAPif-7.js +0 -43
- package/components/slicer-filter-positioning.config-BqpIENEm.cjs +0 -20
- package/components/slicer-filter-positioning.config-D_didkcw.js +0 -48
- package/components/slot-menu-CUdbaW3K.js +0 -428
- package/components/slot-menu-DRx1Ffla.cjs +0 -71
- package/components/slot-menu-list-DVSxamVa.js +0 -347
- package/components/slot-menu-list-DaHzz_ve.cjs +0 -44
- package/components/speedometer-chart-positioning.config-CmxsV4-x.js +0 -48
- package/components/speedometer-chart-positioning.config-eVUWDhkL.cjs +0 -20
- package/components/spike-map-options.config-BRwdTyrp.cjs +0 -20
- package/components/spike-map-options.config-DjoTrAsC.js +0 -415
- package/components/spike-map-positioning.config-B38djRlf.cjs +0 -20
- package/components/spike-map-positioning.config-Bta7ar9e.js +0 -55
- package/components/strip-plot-positioning.config-0vlAfmDB.js +0 -48
- package/components/strip-plot-positioning.config-atH68L8u.cjs +0 -20
- package/components/sunburst-chart-positioning.config-B2x6afBV.js +0 -48
- package/components/sunburst-chart-positioning.config-NFzFNuXB.cjs +0 -20
- package/components/symbol-map-positioning.config-B6v9PFTk.js +0 -55
- package/components/symbol-map-positioning.config-DGpmp_N1.cjs +0 -20
- package/components/treemap-chart-positioning.config-Bf2VNVRQ.js +0 -55
- package/components/treemap-chart-positioning.config-NMULB8UM.cjs +0 -20
- package/components/utils-SzKvwZ9-.cjs +0 -20
- package/components/utils-_8LPCz9-.js +0 -240
- package/components/venn-diagram-positioning.config-D4cODPGV.cjs +0 -20
- package/components/venn-diagram-positioning.config-DgOl0Vh-.js +0 -55
- package/components/viz-item-menu/index.cjs +0 -20
- package/components/viz-item-menu/index.d.ts +0 -8
- package/components/viz-item-menu/index.js +0 -28
- package/components/viz-item-menu/types.d.ts +0 -9
- package/components/viz-item-menu/viz-item-menu.d.ts +0 -78
- package/components/viz-item-menu-CNHv6qDa.cjs +0 -55
- package/components/viz-item-menu-L_j0L08h.js +0 -170
- package/components/wordcloud-chart-positioning.config-BP6iqy-N.js +0 -55
- package/components/wordcloud-chart-positioning.config-DZEkWvb0.cjs +0 -20
- package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
- package/react/components/viz-item-menu.component.ts +0 -33
- package/react/esm/components/viz-item-menu.component.d.ts +0 -16
- package/react/esm/components/viz-item-menu.component.js +0 -21
- /package/{storybook/inject-global-vars.d.ts → utils/data-broker/tests/data-broker.test.d.ts} +0 -0
|
@@ -0,0 +1,805 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
import "./tokens-Ov1pCR4Y.js";
|
|
21
|
+
import { i as e, n as t, t as n } from "./base-CrpOMVeU.js";
|
|
22
|
+
import { t as r } from "./decorate-DyMgX_Uh.js";
|
|
23
|
+
import { t as i } from "./localized-mixin-CYMFnS-n.js";
|
|
24
|
+
import { t as a } from "./data-broker-DNfq_8Lg.js";
|
|
25
|
+
import { t as o } from "./localize-BT7REYBY.js";
|
|
26
|
+
import { o as s } from "./chart-helpers-DQS2iqSd.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 ee, luzmoPlus as y, luzmoTablet as te } from "@luzmo/icons";
|
|
28
|
+
import "@luzmo/lucero/button";
|
|
29
|
+
import "@luzmo/lucero/icon";
|
|
30
|
+
import "@luzmo/lucero/overlay";
|
|
31
|
+
import "@luzmo/lucero/popover";
|
|
32
|
+
import { html as b, nothing as x, unsafeCSS as S } from "lit";
|
|
33
|
+
import { property as C, query as w, state as T } from "lit/decorators.js";
|
|
34
|
+
import { localized as E, msg as D, str as O } from "@lit/localize";
|
|
35
|
+
import "@luzmo/lucero/action-button";
|
|
36
|
+
import "@luzmo/lucero/tooltip";
|
|
37
|
+
import "@luzmo/lucero/progress-circle";
|
|
38
|
+
import "@luzmo/lucero/checkbox";
|
|
39
|
+
import "@luzmo/lucero/divider";
|
|
40
|
+
import "@luzmo/lucero/field-group";
|
|
41
|
+
import "@luzmo/lucero/menu";
|
|
42
|
+
import "@luzmo/lucero/notice";
|
|
43
|
+
import "@luzmo/lucero/search";
|
|
44
|
+
import { ifDefined as k } from "lit/directives/if-defined.js";
|
|
45
|
+
//#region src/components/add-to-dashboard/add-to-dashboard.module.scss?inline
|
|
46
|
+
var A = ":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-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}", j = "0.1.104", M = "0.1.0", N = [
|
|
47
|
+
"id",
|
|
48
|
+
"name",
|
|
49
|
+
"contents",
|
|
50
|
+
"modified_at",
|
|
51
|
+
"is_variant",
|
|
52
|
+
"original_id"
|
|
53
|
+
], ne = /* @__PURE__ */ new Set(["designer", "owner"]), re = "flag_dashboard_variants", P = [
|
|
54
|
+
"desktop",
|
|
55
|
+
"tablet",
|
|
56
|
+
"mobile"
|
|
57
|
+
];
|
|
58
|
+
async function F(e, t, n) {
|
|
59
|
+
let r = [], i = t, a = 0;
|
|
60
|
+
for (let t of e) {
|
|
61
|
+
let e = n - r.length, o = await t(i, Math.max(e, 1));
|
|
62
|
+
e > 0 && r.push(...o.rows.slice(0, e)), i = Math.max(0, i - o.count), a += o.count;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
rows: r,
|
|
66
|
+
total: a
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
async function I(e) {
|
|
70
|
+
let t = await e.fetchApi("/user", {
|
|
71
|
+
action: "get",
|
|
72
|
+
version: M,
|
|
73
|
+
find: {
|
|
74
|
+
where: { id: "me" },
|
|
75
|
+
attributes: ["id", "flags"]
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
return {
|
|
79
|
+
id: t.rows?.[0]?.id ?? "",
|
|
80
|
+
flags: t.rows?.[0]?.flags ?? []
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
async function L(e, t) {
|
|
84
|
+
return (await e.fetchApi("/authorization", {
|
|
85
|
+
action: "get",
|
|
86
|
+
version: M,
|
|
87
|
+
find: { where: { id: t } }
|
|
88
|
+
})).rows?.[0];
|
|
89
|
+
}
|
|
90
|
+
async function R(e, t, n) {
|
|
91
|
+
let r = {
|
|
92
|
+
...t,
|
|
93
|
+
where: {
|
|
94
|
+
...t.where,
|
|
95
|
+
type: "dashboard"
|
|
96
|
+
}
|
|
97
|
+
}, i = await e.fetchApi("/securable", {
|
|
98
|
+
action: "get",
|
|
99
|
+
version: M,
|
|
100
|
+
find: r
|
|
101
|
+
}, { signal: n });
|
|
102
|
+
return {
|
|
103
|
+
rows: i.rows ?? [],
|
|
104
|
+
count: i.count ?? i.rows?.length ?? 0
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function z(e) {
|
|
108
|
+
let t = {
|
|
109
|
+
modifyIds: /* @__PURE__ */ new Set(),
|
|
110
|
+
useOnlyIds: /* @__PURE__ */ new Set()
|
|
111
|
+
};
|
|
112
|
+
for (let n of e?.access?.dashboards ?? []) n.rights?.Modify ? t.modifyIds.add(n.id) : n.rights?.Use && t.useOnlyIds.add(n.id);
|
|
113
|
+
return t;
|
|
114
|
+
}
|
|
115
|
+
function B() {
|
|
116
|
+
return {
|
|
117
|
+
version: j,
|
|
118
|
+
syncScreenModes: !0,
|
|
119
|
+
views: P.map((e) => ({
|
|
120
|
+
screenModus: e,
|
|
121
|
+
options: { theme: { id: "default" } },
|
|
122
|
+
filterGroups: [],
|
|
123
|
+
items: []
|
|
124
|
+
})),
|
|
125
|
+
timezone: {
|
|
126
|
+
type: "fixed",
|
|
127
|
+
id: "UTC"
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
function V(e) {
|
|
132
|
+
return e ? { search: {
|
|
133
|
+
match_types: ["name", "description"],
|
|
134
|
+
keyphrase: e,
|
|
135
|
+
securable_types: ["dashboard"]
|
|
136
|
+
} } : {};
|
|
137
|
+
}
|
|
138
|
+
function H(e, t) {
|
|
139
|
+
return { include: [{
|
|
140
|
+
model: "User",
|
|
141
|
+
as: "allUsers",
|
|
142
|
+
attributes: [],
|
|
143
|
+
required: !0,
|
|
144
|
+
where: {
|
|
145
|
+
id: e,
|
|
146
|
+
...Object.fromEntries(Object.entries(t).map(([e, t]) => [`securableAccessRight.${e}`, t]))
|
|
147
|
+
}
|
|
148
|
+
}] };
|
|
149
|
+
}
|
|
150
|
+
async function U(e) {
|
|
151
|
+
let t = new a({
|
|
152
|
+
apiUrl: e.apiUrl,
|
|
153
|
+
authKey: e.authKey,
|
|
154
|
+
authToken: e.authToken,
|
|
155
|
+
skipNetworkListeners: !0
|
|
156
|
+
}), [n, r] = await Promise.all([I(t), L(t, e.authKey)]), i = z(r), s = r?.type !== "embed" || ne.has(r.role ?? ""), c = !!n.id && n.flags.includes(re), l = [...i.modifyIds, ...c ? i.useOnlyIds : []], u = l.length > 0 ? { id: { notIn: l } } : {}, d = (t, n = !1) => {
|
|
157
|
+
let r = [...new Set((t.contents?.views ?? []).map((e) => e.screenModus))];
|
|
158
|
+
return {
|
|
159
|
+
id: t.id,
|
|
160
|
+
name: o(t.name ?? {}, e.language),
|
|
161
|
+
syncScreenModes: t.contents?.syncScreenModes !== !1,
|
|
162
|
+
screenModes: r.length > 0 ? r : ["desktop"],
|
|
163
|
+
...n ? { requiresVariant: n } : {}
|
|
164
|
+
};
|
|
165
|
+
}, f, p = (e, n) => async (r, a) => {
|
|
166
|
+
if (l.length === 0) return {
|
|
167
|
+
count: 0,
|
|
168
|
+
rows: []
|
|
169
|
+
};
|
|
170
|
+
let o = r > 0 && f?.search === e ? f.rows : void 0;
|
|
171
|
+
return o || (o = (await R(t, {
|
|
172
|
+
where: {
|
|
173
|
+
is_variant: !1,
|
|
174
|
+
archived_at: null,
|
|
175
|
+
id: { in: l }
|
|
176
|
+
},
|
|
177
|
+
attributes: N,
|
|
178
|
+
...V(e)
|
|
179
|
+
}, n)).rows.map((e) => d(e, !i.modifyIds.has(e.id))).sort((e, t) => e.name.localeCompare(t.name)), f = {
|
|
180
|
+
search: e,
|
|
181
|
+
rows: o
|
|
182
|
+
}), {
|
|
183
|
+
count: o.length,
|
|
184
|
+
rows: o.slice(r, r + a)
|
|
185
|
+
};
|
|
186
|
+
}, m = (e, r, i, a) => async (o, s) => {
|
|
187
|
+
let c = await R(t, {
|
|
188
|
+
where: {
|
|
189
|
+
is_variant: !1,
|
|
190
|
+
archived_at: null,
|
|
191
|
+
...u
|
|
192
|
+
},
|
|
193
|
+
attributes: N,
|
|
194
|
+
...H(n.id, i),
|
|
195
|
+
...V(e),
|
|
196
|
+
limit: s,
|
|
197
|
+
offset: o,
|
|
198
|
+
order: [["modified_at", "desc"]]
|
|
199
|
+
}, r);
|
|
200
|
+
return {
|
|
201
|
+
count: c.count,
|
|
202
|
+
rows: c.rows.map((e) => d(e, a))
|
|
203
|
+
};
|
|
204
|
+
}, h = async (e, n, r, i) => {
|
|
205
|
+
await t.fetchApi("/securable", {
|
|
206
|
+
action: "update",
|
|
207
|
+
version: M,
|
|
208
|
+
id: e,
|
|
209
|
+
properties: { append_item: {
|
|
210
|
+
item: n,
|
|
211
|
+
...r?.length ? { screenModes: r } : {}
|
|
212
|
+
} }
|
|
213
|
+
}, { signal: i });
|
|
214
|
+
}, g = async (e, n, r) => {
|
|
215
|
+
try {
|
|
216
|
+
await h(e.id, n, r);
|
|
217
|
+
} catch (n) {
|
|
218
|
+
throw await t.fetchApi("/securable", {
|
|
219
|
+
action: "delete",
|
|
220
|
+
version: M,
|
|
221
|
+
id: e.id
|
|
222
|
+
}).catch(() => void 0), n;
|
|
223
|
+
}
|
|
224
|
+
}, _ = async (e, n) => await t.fetchApi("/securable", {
|
|
225
|
+
action: "create",
|
|
226
|
+
version: M,
|
|
227
|
+
properties: {
|
|
228
|
+
...e,
|
|
229
|
+
type: "dashboard"
|
|
230
|
+
},
|
|
231
|
+
associations: n
|
|
232
|
+
});
|
|
233
|
+
return {
|
|
234
|
+
async list(e, t) {
|
|
235
|
+
return n.id ? await F([
|
|
236
|
+
p(e.search, t.signal),
|
|
237
|
+
...c ? [m(e.search, t.signal, {
|
|
238
|
+
flagUse: !0,
|
|
239
|
+
flagModify: !1
|
|
240
|
+
}, !0)] : [],
|
|
241
|
+
m(e.search, t.signal, { flagModify: !0 }, !1)
|
|
242
|
+
], e.offset, e.limit) : {
|
|
243
|
+
rows: [],
|
|
244
|
+
total: 0
|
|
245
|
+
};
|
|
246
|
+
},
|
|
247
|
+
async add(e, t, n, r) {
|
|
248
|
+
await h(e.id, t, n.screenModes, r.signal);
|
|
249
|
+
},
|
|
250
|
+
...s ? { async create(t, n) {
|
|
251
|
+
let r = await _({
|
|
252
|
+
name: n.name ? { [e.language]: n.name } : {},
|
|
253
|
+
contents: B()
|
|
254
|
+
});
|
|
255
|
+
return await g(r, t, void 0), d(r);
|
|
256
|
+
} } : {},
|
|
257
|
+
...c ? { async listVariants(e, r) {
|
|
258
|
+
return (await R(t, {
|
|
259
|
+
where: {
|
|
260
|
+
is_variant: !0,
|
|
261
|
+
original_id: e.id,
|
|
262
|
+
archived_at: null
|
|
263
|
+
},
|
|
264
|
+
attributes: N,
|
|
265
|
+
...H(n.id, { flagModify: !0 }),
|
|
266
|
+
order: [["modified_at", "desc"]]
|
|
267
|
+
}, r.signal)).rows.map((e) => d(e));
|
|
268
|
+
} } : {},
|
|
269
|
+
...c && s ? { async addToVariant(n, r, i) {
|
|
270
|
+
let a = (await R(t, {
|
|
271
|
+
where: { id: n.id },
|
|
272
|
+
attributes: [
|
|
273
|
+
"id",
|
|
274
|
+
"name",
|
|
275
|
+
"contents"
|
|
276
|
+
]
|
|
277
|
+
})).rows[0];
|
|
278
|
+
if (!a?.contents) throw Error("The dashboard was not found.");
|
|
279
|
+
let o = a.name ?? {}, s = await _({
|
|
280
|
+
name: i.name ? {
|
|
281
|
+
...o,
|
|
282
|
+
[e.language]: i.name
|
|
283
|
+
} : o,
|
|
284
|
+
contents: a.contents
|
|
285
|
+
}, [{
|
|
286
|
+
role: "original",
|
|
287
|
+
id: n.id
|
|
288
|
+
}]);
|
|
289
|
+
return await g(s, r, i.screenModes), d({
|
|
290
|
+
...s,
|
|
291
|
+
contents: s.contents ?? a.contents
|
|
292
|
+
});
|
|
293
|
+
} } : {}
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
//#endregion
|
|
297
|
+
//#region src/components/add-to-dashboard/helpers/add-to-dashboard-helpers.ts
|
|
298
|
+
function W(e) {
|
|
299
|
+
let { theme: t, ...n } = e.options ?? {};
|
|
300
|
+
return {
|
|
301
|
+
...s(e),
|
|
302
|
+
options: n
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
function G(e, t) {
|
|
306
|
+
let n = new Set(e), r = e.length + 1;
|
|
307
|
+
for (; n.has(t(r));) r += 1;
|
|
308
|
+
return r;
|
|
309
|
+
}
|
|
310
|
+
//#endregion
|
|
311
|
+
//#region src/components/add-to-dashboard/add-to-dashboard.ts
|
|
312
|
+
var K = 20, q = 300, J = 8, Y = 48, X = "__luzmo-new-dashboard", Z = "__luzmo-new-variant", Q = /* @__PURE__ */ new Map(), ie = 0, $ = class extends i(t(e, { validSizes: Object.values(n) })) {
|
|
313
|
+
constructor(...e) {
|
|
314
|
+
super(...e), this.chart = null, this.dashboardActions = null, this.authKey = "", this.authToken = "", this.apiUrl = "https://api.luzmo.com", this.placement = "bottom-end", this.disabled = !1, this._open = !1, this._actions = null, this._step = "list", this._rows = [], this._hasMore = !1, this._loading = !1, this._listFailed = !1, this._original = null, this._variants = [], this._variantsLoading = !1, this._variantsFailed = !1, this._pending = null, this._screenModes = [], this._saving = !1, this._status = null, this._triggerId = `add-to-dashboard-trigger-${++ie}`, this._search = "", this._actionsGeneration = 0, this._reloadOnUpdate = !1;
|
|
315
|
+
}
|
|
316
|
+
static get styles() {
|
|
317
|
+
let e = super.styles ?? [];
|
|
318
|
+
return [...Array.isArray(e) ? e : [e], S(A)];
|
|
319
|
+
}
|
|
320
|
+
get _hasSource() {
|
|
321
|
+
return !!this.dashboardActions || !!(this.authKey && this.authToken);
|
|
322
|
+
}
|
|
323
|
+
connectedCallback() {
|
|
324
|
+
super.connectedCallback(), this._status && this._startFittingAlert();
|
|
325
|
+
}
|
|
326
|
+
disconnectedCallback() {
|
|
327
|
+
super.disconnectedCallback(), this._handleClosed(), this._actionsGeneration += 1, this._saveAbort?.abort(), this._stopFittingAlert();
|
|
328
|
+
}
|
|
329
|
+
willUpdate(e) {
|
|
330
|
+
super.willUpdate(e), (e.has("dashboardActions") || e.has("authKey") || e.has("authToken") || e.has("apiUrl") || e.has("language")) && (this._actions = null, this._actionsGeneration += 1, this._open && (this._listAbort?.abort(), this._variantsAbort?.abort(), this._step = "list", this._original = null, this._pending = null, this._rows = [], this._open = this._hasSource, this._reloadOnUpdate = this._hasSource)), e.has("disabled") && this.disabled && (this._open = !1), e.has("chart") && !this.chart && this._handleClosed();
|
|
331
|
+
}
|
|
332
|
+
updated(e) {
|
|
333
|
+
super.updated(e), this._reloadOnUpdate && (this._reloadOnUpdate = !1, this._loadList()), e.has("_step") && this._open && this._focusStep(), e.has("_status") && (this._status ? this._startFittingAlert() : this._stopFittingAlert());
|
|
334
|
+
}
|
|
335
|
+
get _alertContainer() {
|
|
336
|
+
let e = this.getRootNode();
|
|
337
|
+
return this.parentElement ?? (e instanceof ShadowRoot ? e.host : null);
|
|
338
|
+
}
|
|
339
|
+
_startFittingAlert() {
|
|
340
|
+
this._fitAlert();
|
|
341
|
+
let e = this._alertContainer;
|
|
342
|
+
this._alertResizeObserver || !e || (this._alertResizeObserver = new ResizeObserver(() => this._fitAlert()), this._alertResizeObserver.observe(this), this._alertResizeObserver.observe(e));
|
|
343
|
+
}
|
|
344
|
+
_stopFittingAlert() {
|
|
345
|
+
this._alertResizeObserver?.disconnect(), this._alertResizeObserver = void 0;
|
|
346
|
+
}
|
|
347
|
+
_fitAlert() {
|
|
348
|
+
let e = this._noticeElement, t = this._alertContainer;
|
|
349
|
+
if (!e || !t) return;
|
|
350
|
+
let n = this.getBoundingClientRect(), r = t.getBoundingClientRect(), i = Number.parseFloat(getComputedStyle(t).paddingInlineStart) || 0, a = (this.isLTR ? n.right - r.left : r.right - n.left) - i;
|
|
351
|
+
e.style.setProperty("--luzmo-notice-max-inline-size", `${Math.max(0, a)}px`);
|
|
352
|
+
}
|
|
353
|
+
async _resolveActions() {
|
|
354
|
+
if (this.dashboardActions) return this.dashboardActions;
|
|
355
|
+
let e = {
|
|
356
|
+
apiUrl: this.apiUrl,
|
|
357
|
+
authKey: this.authKey,
|
|
358
|
+
authToken: this.authToken,
|
|
359
|
+
language: this.language
|
|
360
|
+
}, t = JSON.stringify(e), n = Q.get(t);
|
|
361
|
+
return n || (Q.clear(), n = U(e), Q.set(t, n), n.catch(() => Q.delete(t))), await n;
|
|
362
|
+
}
|
|
363
|
+
_dispatch(e, t) {
|
|
364
|
+
let n = new CustomEvent(e, {
|
|
365
|
+
detail: t,
|
|
366
|
+
bubbles: !0,
|
|
367
|
+
composed: !0
|
|
368
|
+
});
|
|
369
|
+
this.dispatchEvent(n);
|
|
370
|
+
}
|
|
371
|
+
_displayName(e) {
|
|
372
|
+
return e.name.trim() || D("Untitled dashboard", { desc: "Fallback name of a dashboard without a name" });
|
|
373
|
+
}
|
|
374
|
+
_variantName(e, t) {
|
|
375
|
+
return D(O`${this._displayName(e)} (variant ${t})`, { desc: "Name of a new dashboard variant" });
|
|
376
|
+
}
|
|
377
|
+
_screenModeChoices() {
|
|
378
|
+
return [
|
|
379
|
+
{
|
|
380
|
+
name: "mobile",
|
|
381
|
+
label: D("Smartphone", { desc: "Screen mode name" }),
|
|
382
|
+
size: "< 768px",
|
|
383
|
+
icon: ee
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
name: "tablet",
|
|
387
|
+
label: D("Tablet", { desc: "Screen mode name" }),
|
|
388
|
+
size: "≥ 768px",
|
|
389
|
+
icon: te
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
name: "desktop",
|
|
393
|
+
label: D("Desktop", { desc: "Screen mode name" }),
|
|
394
|
+
size: "≥ 1200px",
|
|
395
|
+
icon: _
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
name: "largeScreen",
|
|
399
|
+
label: D("Large screen", { desc: "Screen mode name" }),
|
|
400
|
+
size: "≥ 1600px",
|
|
401
|
+
icon: g
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
name: "fixed",
|
|
405
|
+
label: D("Fixed width", { desc: "Screen mode name" }),
|
|
406
|
+
icon: m
|
|
407
|
+
}
|
|
408
|
+
];
|
|
409
|
+
}
|
|
410
|
+
async _handleOpened(e) {
|
|
411
|
+
e.target === e.currentTarget && (this._open = !0, this._step = "list", this._search = "", this._original = null, this._pending = null, this._rows = [], await this.updateComplete, this._searchElement?.focus(), await this._loadList());
|
|
412
|
+
}
|
|
413
|
+
async _loadList() {
|
|
414
|
+
let e = this._actionsGeneration;
|
|
415
|
+
this._loading = !0, this._listFailed = !1;
|
|
416
|
+
try {
|
|
417
|
+
let t = this._actions ?? await this._resolveActions();
|
|
418
|
+
if (e !== this._actionsGeneration) return;
|
|
419
|
+
this._actions = t;
|
|
420
|
+
} catch (t) {
|
|
421
|
+
if (!this.isConnected || e !== this._actionsGeneration) return;
|
|
422
|
+
console.error("Failed to resolve the add to dashboard actions:", t), this._loading = !1, this._listFailed = !0;
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
!this.isConnected || !this._open || await this._loadPage(!1);
|
|
426
|
+
}
|
|
427
|
+
_handleClosed(e) {
|
|
428
|
+
e && e.target !== e.currentTarget || (this._open = !1, clearTimeout(this._searchTimer), this._listAbort?.abort(), this._variantsAbort?.abort());
|
|
429
|
+
}
|
|
430
|
+
async _loadPage(e) {
|
|
431
|
+
let t = this._actions;
|
|
432
|
+
if (!t) return;
|
|
433
|
+
this._listAbort?.abort();
|
|
434
|
+
let n = new AbortController();
|
|
435
|
+
this._listAbort = n, this._loading = !0, this._listFailed = !1, e || (this._rows = []);
|
|
436
|
+
try {
|
|
437
|
+
let e = await t.list({
|
|
438
|
+
search: this._search,
|
|
439
|
+
offset: this._rows.length,
|
|
440
|
+
limit: K
|
|
441
|
+
}, { signal: n.signal });
|
|
442
|
+
if (n.signal.aborted) return;
|
|
443
|
+
this._rows = [...this._rows, ...e.rows], this._hasMore = e.total === void 0 ? e.rows.length === K : this._rows.length < e.total;
|
|
444
|
+
} catch (e) {
|
|
445
|
+
if (n.signal.aborted) return;
|
|
446
|
+
console.error("Failed to load dashboards:", e), this._listFailed = !0;
|
|
447
|
+
} finally {
|
|
448
|
+
n.signal.aborted || (this._loading = !1);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
_handleSearchInput(e) {
|
|
452
|
+
this._search = String(e.target?.value ?? ""), clearTimeout(this._searchTimer), this._searchTimer = setTimeout(() => void this._loadPage(!1), q);
|
|
453
|
+
}
|
|
454
|
+
_handleListScroll(e) {
|
|
455
|
+
let t = e.target;
|
|
456
|
+
this._hasMore && !this._loading && t.scrollHeight - t.scrollTop - t.clientHeight <= Y && this._loadPage(!0);
|
|
457
|
+
}
|
|
458
|
+
_menuValue(e) {
|
|
459
|
+
return e.stopPropagation(), e.target.value ?? "";
|
|
460
|
+
}
|
|
461
|
+
_handleListChange(e) {
|
|
462
|
+
let t = this._menuValue(e);
|
|
463
|
+
if (t === X) {
|
|
464
|
+
this._actions?.create && this._save({ kind: "create" });
|
|
465
|
+
return;
|
|
466
|
+
}
|
|
467
|
+
let n = this._rows.find((e) => e.id === t);
|
|
468
|
+
if (n) {
|
|
469
|
+
if (n.requiresVariant) {
|
|
470
|
+
this._original = n, this._step = "variants", this._loadVariants();
|
|
471
|
+
return;
|
|
472
|
+
}
|
|
473
|
+
this._selectTarget({
|
|
474
|
+
kind: "add",
|
|
475
|
+
dashboard: n,
|
|
476
|
+
isVariant: !1
|
|
477
|
+
}, n);
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
_handleVariantChange(e) {
|
|
481
|
+
let t = this._menuValue(e), n = this._original;
|
|
482
|
+
if (!n) return;
|
|
483
|
+
if (t === Z) {
|
|
484
|
+
if (!this._actions?.addToVariant) return;
|
|
485
|
+
let e = this._variants.map((e) => this._displayName(e)), t = this._variantName(n, G(e, (e) => this._variantName(n, e)));
|
|
486
|
+
this._selectTarget({
|
|
487
|
+
kind: "variant",
|
|
488
|
+
original: n,
|
|
489
|
+
name: t
|
|
490
|
+
}, n);
|
|
491
|
+
return;
|
|
492
|
+
}
|
|
493
|
+
let r = this._variants.find((e) => e.id === t);
|
|
494
|
+
r && this._selectTarget({
|
|
495
|
+
kind: "add",
|
|
496
|
+
dashboard: r,
|
|
497
|
+
isVariant: !0
|
|
498
|
+
}, r);
|
|
499
|
+
}
|
|
500
|
+
_selectTarget(e, t) {
|
|
501
|
+
if (t.syncScreenModes !== !1 || !t.screenModes?.length) {
|
|
502
|
+
this._save(e);
|
|
503
|
+
return;
|
|
504
|
+
}
|
|
505
|
+
this._pending = e, this._screenModes = [...t.screenModes ?? []], this._step = "screenModes";
|
|
506
|
+
}
|
|
507
|
+
async _loadVariants() {
|
|
508
|
+
let e = this._actions, t = this._original;
|
|
509
|
+
if (this._variantsAbort?.abort(), this._variants = [], this._variantsLoading = !1, this._variantsFailed = !1, !e?.listVariants || !t) return;
|
|
510
|
+
let n = new AbortController();
|
|
511
|
+
this._variantsAbort = n, this._variantsLoading = !0;
|
|
512
|
+
try {
|
|
513
|
+
let r = await e.listVariants(t, { signal: n.signal });
|
|
514
|
+
n.signal.aborted || (this._variants = r);
|
|
515
|
+
} catch (e) {
|
|
516
|
+
n.signal.aborted || (console.error("Failed to load dashboard variants:", e), this._variantsFailed = !0);
|
|
517
|
+
} finally {
|
|
518
|
+
n.signal.aborted || (this._variantsLoading = !1);
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
_handleBack() {
|
|
522
|
+
this._step === "screenModes" && this._original ? this._step = "variants" : (this._step = "list", this._original = null), this._pending = null;
|
|
523
|
+
}
|
|
524
|
+
_toggleScreenMode(e) {
|
|
525
|
+
this._screenModes = this._screenModes.includes(e) ? this._screenModes.filter((t) => t !== e) : [...this._screenModes, e];
|
|
526
|
+
}
|
|
527
|
+
_handleConfirmScreenModes() {
|
|
528
|
+
this._pending && this._screenModes.length > 0 && this._save(this._pending, { screenModes: [...this._screenModes] });
|
|
529
|
+
}
|
|
530
|
+
async _save(e, t = {}) {
|
|
531
|
+
let n = this._actions;
|
|
532
|
+
if (!n || !this.chart || this._saving) return;
|
|
533
|
+
this._open = !1, this._saving = !0, this._setStatus(null), this._saveAbort = new AbortController();
|
|
534
|
+
let r = W(this.chart), i = { signal: this._saveAbort.signal };
|
|
535
|
+
try {
|
|
536
|
+
let a;
|
|
537
|
+
if (e.kind === "create" && n.create) a = await n.create(r, t, i);
|
|
538
|
+
else if (e.kind === "variant" && n.addToVariant) a = await n.addToVariant(e.original, r, {
|
|
539
|
+
...t,
|
|
540
|
+
name: e.name
|
|
541
|
+
}, i);
|
|
542
|
+
else if (e.kind === "add") a = await n.add(e.dashboard, r, t, i) || e.dashboard;
|
|
543
|
+
else return;
|
|
544
|
+
if (i.signal.aborted) return;
|
|
545
|
+
this._setStatus({
|
|
546
|
+
kind: "success",
|
|
547
|
+
dashboard: a,
|
|
548
|
+
isVariant: e.kind === "variant" || e.kind === "add" && e.isVariant,
|
|
549
|
+
openDashboard: n.openDashboard?.bind(n)
|
|
550
|
+
}), this._dispatch("luzmo-chart-added", { dashboard: a });
|
|
551
|
+
} catch (e) {
|
|
552
|
+
if (i.signal.aborted) return;
|
|
553
|
+
console.error("Failed to add the chart to a dashboard:", e), this._setStatus({ kind: "error" }), this._dispatch("luzmo-chart-add-failed", { error: e });
|
|
554
|
+
} finally {
|
|
555
|
+
this._saving = !1;
|
|
556
|
+
}
|
|
557
|
+
await this.updateComplete, this.isConnected && this._isFocusLost() && this._focusTrigger();
|
|
558
|
+
}
|
|
559
|
+
_setStatus(e) {
|
|
560
|
+
this._status = e;
|
|
561
|
+
}
|
|
562
|
+
_focusTrigger() {
|
|
563
|
+
this._triggerElement?.focus();
|
|
564
|
+
}
|
|
565
|
+
_isFocusLost() {
|
|
566
|
+
return !document.activeElement || document.activeElement === document.body;
|
|
567
|
+
}
|
|
568
|
+
async _handleNoticeClose(e) {
|
|
569
|
+
e.stopPropagation();
|
|
570
|
+
let t = e.currentTarget.matches(":focus-within");
|
|
571
|
+
this._setStatus(null), await this.updateComplete, t && this._isFocusLost() && this._focusTrigger();
|
|
572
|
+
}
|
|
573
|
+
async _focusStep() {
|
|
574
|
+
let e = this._step === "list" ? this._searchElement : this._backElement;
|
|
575
|
+
await e?.updateComplete, e?.focus();
|
|
576
|
+
}
|
|
577
|
+
_renderRow(e) {
|
|
578
|
+
return b`
|
|
579
|
+
<luzmo-menu-item value=${e.id} no-wrap ?disabled=${this._saving}>
|
|
580
|
+
${e.thumbnailUrl ? b`<img slot="icon" class="thumbnail" alt="" src=${e.thumbnailUrl} />` : x}
|
|
581
|
+
${this._displayName(e)}
|
|
582
|
+
${e.requiresVariant ? b`<luzmo-icon slot="value" class="drill-in" size="xs" block .icon=${this.isLTR ? d : u}></luzmo-icon>` : x}
|
|
583
|
+
</luzmo-menu-item>
|
|
584
|
+
`;
|
|
585
|
+
}
|
|
586
|
+
_renderCreateRow(e, t, n, r = !1) {
|
|
587
|
+
let i = `${this._triggerId}-${e}-reason`;
|
|
588
|
+
return b`
|
|
589
|
+
<luzmo-menu-item
|
|
590
|
+
class="create-row"
|
|
591
|
+
value=${e}
|
|
592
|
+
label=${t}
|
|
593
|
+
aria-describedby=${k(n ? i : void 0)}
|
|
594
|
+
no-wrap
|
|
595
|
+
?disabled=${this._saving || r || !!n}
|
|
596
|
+
>
|
|
597
|
+
<luzmo-icon slot="icon" size="s" .icon=${y}></luzmo-icon>
|
|
598
|
+
${t} ${n ? b`<span slot="description" id=${i}>${n}</span>` : x}
|
|
599
|
+
</luzmo-menu-item>
|
|
600
|
+
`;
|
|
601
|
+
}
|
|
602
|
+
_renderLoading() {
|
|
603
|
+
return b`<div class="loading"><luzmo-progress-circle size="s" indeterminate .label=${D("Loading", { desc: "Loading spinner label" })}></luzmo-progress-circle></div>`;
|
|
604
|
+
}
|
|
605
|
+
async _handleRetry(e) {
|
|
606
|
+
let t = e();
|
|
607
|
+
await this.updateComplete, this._isFocusLost() && await this._focusStep(), await t;
|
|
608
|
+
}
|
|
609
|
+
_renderEmpty(e, t) {
|
|
610
|
+
return b`
|
|
611
|
+
<div class="empty">
|
|
612
|
+
<span>${e}</span>
|
|
613
|
+
${t ? b`<luzmo-button size="s" treatment="outline" @click=${() => this._handleRetry(t)}>${D("Retry", { desc: "Retry a failed request" })}</luzmo-button>` : x}
|
|
614
|
+
</div>
|
|
615
|
+
`;
|
|
616
|
+
}
|
|
617
|
+
_renderHeader(e) {
|
|
618
|
+
return b`
|
|
619
|
+
<div class="header">
|
|
620
|
+
<luzmo-action-button size="s" quiet label=${D("Back", { desc: "Go back to the previous step" })} @click=${this._handleBack}>
|
|
621
|
+
<luzmo-icon slot="icon" size="xs" .icon=${this.isLTR ? f : p}></luzmo-icon>
|
|
622
|
+
</luzmo-action-button>
|
|
623
|
+
<span class="header-title" tabindex="-1"
|
|
624
|
+
>${e}<luzmo-tooltip self-managed show-only-if-truncated placement="top" .size=${this.size}>${e}</luzmo-tooltip></span
|
|
625
|
+
>
|
|
626
|
+
</div>
|
|
627
|
+
`;
|
|
628
|
+
}
|
|
629
|
+
_renderList() {
|
|
630
|
+
let e = this._actions && !this._actions.create ? D("These credentials cannot create dashboards", {
|
|
631
|
+
id: "add-to-dashboard-cannot-create",
|
|
632
|
+
desc: "Why a new dashboard cannot be created"
|
|
633
|
+
}) : void 0;
|
|
634
|
+
return b`
|
|
635
|
+
<luzmo-search
|
|
636
|
+
size="s"
|
|
637
|
+
border="none"
|
|
638
|
+
label=${D("Search dashboards", { desc: "Label of the dashboard search field" })}
|
|
639
|
+
placeholder=${D("Search dashboards", { desc: "Label of the dashboard search field" })}
|
|
640
|
+
.value=${this._search}
|
|
641
|
+
@input=${this._handleSearchInput}
|
|
642
|
+
@submit=${(e) => e.preventDefault()}
|
|
643
|
+
></luzmo-search>
|
|
644
|
+
<luzmo-divider size="s"></luzmo-divider>
|
|
645
|
+
<div class="list" @scroll=${this._handleListScroll}>
|
|
646
|
+
<luzmo-menu class="menu" size="s" @change=${this._handleListChange} @close=${(e) => e.stopPropagation()}>
|
|
647
|
+
${this._renderCreateRow(X, D("New dashboard", { desc: "Create a new dashboard for the chart" }), e, !this._actions)}
|
|
648
|
+
${this._rows.map((e) => this._renderRow(e))}
|
|
649
|
+
</luzmo-menu>
|
|
650
|
+
<div class="list-state" role="status" aria-live="polite">
|
|
651
|
+
${this._listFailed ? this._renderEmpty(D("Failed to load dashboards", { desc: "Dashboard list failed to load" }), () => this._loadList()) : !this._loading && this._rows.length === 0 ? this._renderEmpty(D("No dashboards found", { desc: "Dashboard list is empty" })) : x}
|
|
652
|
+
${this._loading ? this._renderLoading() : x}
|
|
653
|
+
</div>
|
|
654
|
+
</div>
|
|
655
|
+
`;
|
|
656
|
+
}
|
|
657
|
+
_renderVariants(e) {
|
|
658
|
+
let t = this._actions?.addToVariant ? void 0 : D("These credentials cannot create variants", {
|
|
659
|
+
id: "add-to-dashboard-cannot-create-variant",
|
|
660
|
+
desc: "Why a new dashboard variant cannot be created"
|
|
661
|
+
}), n = !this._variantsLoading && !this._variantsFailed;
|
|
662
|
+
return b`
|
|
663
|
+
${this._renderHeader(this._displayName(e))}
|
|
664
|
+
<luzmo-divider size="s"></luzmo-divider>
|
|
665
|
+
<div class="list">
|
|
666
|
+
<luzmo-menu class="menu" size="s" @change=${this._handleVariantChange} @close=${(e) => e.stopPropagation()}>
|
|
667
|
+
${this._renderCreateRow(Z, D("New variant", { desc: "Create a new variant of a dashboard" }), t, !n)}
|
|
668
|
+
${this._variants.map((e) => this._renderRow(e))}
|
|
669
|
+
</luzmo-menu>
|
|
670
|
+
<div class="list-state" role="status" aria-live="polite">
|
|
671
|
+
${this._variantsFailed ? this._renderEmpty(D("Failed to load variants", { desc: "Variant list failed to load" }), () => this._loadVariants()) : !this._variantsLoading && this._variants.length === 0 ? this._renderEmpty(D("No variants yet", { desc: "Variant list is empty" })) : x}
|
|
672
|
+
${this._variantsLoading ? this._renderLoading() : x}
|
|
673
|
+
</div>
|
|
674
|
+
</div>
|
|
675
|
+
`;
|
|
676
|
+
}
|
|
677
|
+
_renderScreenModes(e) {
|
|
678
|
+
let t = e.kind === "variant" ? e.original : e.dashboard, n = e.kind === "variant" ? e.name : this._displayName(t), r = t.screenModes ?? [];
|
|
679
|
+
return b`
|
|
680
|
+
${this._renderHeader(n)}
|
|
681
|
+
<luzmo-field-group class="screen-modes" vertical label=${D("Screen modes", { desc: "Label of the group of screen-mode checkboxes" })}>
|
|
682
|
+
${this._screenModeChoices().filter((e) => r.includes(e.name)).map((e) => b`
|
|
683
|
+
<luzmo-checkbox
|
|
684
|
+
size="s"
|
|
685
|
+
?checked=${this._screenModes.includes(e.name)}
|
|
686
|
+
@change=${() => this._toggleScreenMode(e.name)}
|
|
687
|
+
>
|
|
688
|
+
<span class="screen-mode">
|
|
689
|
+
<luzmo-icon size="xs" block .icon=${e.icon}></luzmo-icon>
|
|
690
|
+
${e.label}
|
|
691
|
+
${e.size ? b`<span class="screen-mode-size" dir="ltr">${e.size}</span>` : x}
|
|
692
|
+
</span>
|
|
693
|
+
</luzmo-checkbox>
|
|
694
|
+
`)}
|
|
695
|
+
</luzmo-field-group>
|
|
696
|
+
<div class="footer">
|
|
697
|
+
<luzmo-button size="s" variant="primary" ?disabled=${this._screenModes.length === 0 || this._saving} @click=${this._handleConfirmScreenModes}>
|
|
698
|
+
${D("Confirm", { desc: "Confirm the selected screen modes" })}
|
|
699
|
+
</luzmo-button>
|
|
700
|
+
</div>
|
|
701
|
+
`;
|
|
702
|
+
}
|
|
703
|
+
_renderPicker() {
|
|
704
|
+
return this._step === "screenModes" && this._pending ? this._renderScreenModes(this._pending) : this._step === "variants" && this._original ? this._renderVariants(this._original) : this._renderList();
|
|
705
|
+
}
|
|
706
|
+
_noticeLabels() {
|
|
707
|
+
return { close: D("Close", {
|
|
708
|
+
id: "add-to-dashboard-close",
|
|
709
|
+
desc: "Close the save result notice"
|
|
710
|
+
}) };
|
|
711
|
+
}
|
|
712
|
+
_renderStatus() {
|
|
713
|
+
let e = this._status;
|
|
714
|
+
if (!e) return x;
|
|
715
|
+
if (e.kind === "error") return b`
|
|
716
|
+
<luzmo-notice
|
|
717
|
+
class="alert"
|
|
718
|
+
size="s"
|
|
719
|
+
variant="negative"
|
|
720
|
+
.duration=${J}
|
|
721
|
+
.labels=${this._noticeLabels()}
|
|
722
|
+
@luzmo-notice-close=${this._handleNoticeClose}
|
|
723
|
+
>
|
|
724
|
+
<luzmo-icon slot="icon" .icon=${c}></luzmo-icon>
|
|
725
|
+
<span class="alert-text">${D("Failed to copy item", { desc: "Saving the chart to a dashboard failed" })}</span>
|
|
726
|
+
</luzmo-notice>
|
|
727
|
+
`;
|
|
728
|
+
let t = this._displayName(e.dashboard), n = b`<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;
|
|
729
|
+
return b`
|
|
730
|
+
<luzmo-notice
|
|
731
|
+
class="alert"
|
|
732
|
+
size="s"
|
|
733
|
+
variant="positive"
|
|
734
|
+
.duration=${J}
|
|
735
|
+
.labels=${this._noticeLabels()}
|
|
736
|
+
@luzmo-notice-close=${this._handleNoticeClose}
|
|
737
|
+
>
|
|
738
|
+
<luzmo-icon slot="icon" .icon=${h}></luzmo-icon>
|
|
739
|
+
<div class="alert-body">
|
|
740
|
+
<span class="alert-text" dir="auto">${D(b`Item copied to ${n}`, { desc: "The chart was saved to a dashboard" })}</span>
|
|
741
|
+
${r && !e.isVariant ? b`
|
|
742
|
+
<luzmo-action-button class="alert-open" size="s" quiet @click=${() => r(e.dashboard)}>
|
|
743
|
+
<luzmo-icon slot="icon" size="xs" .icon=${v}></luzmo-icon>
|
|
744
|
+
${D("Open", {
|
|
745
|
+
id: "add-to-dashboard-open",
|
|
746
|
+
desc: "Open the dashboard the chart was saved to"
|
|
747
|
+
})}
|
|
748
|
+
</luzmo-action-button>
|
|
749
|
+
` : x}
|
|
750
|
+
</div>
|
|
751
|
+
</luzmo-notice>
|
|
752
|
+
`;
|
|
753
|
+
}
|
|
754
|
+
render() {
|
|
755
|
+
if (!this.chart || !this._hasSource) return x;
|
|
756
|
+
let e = this._saving ? D("Adding to dashboard", { desc: "The chart is being saved to a dashboard" }) : D("Add to dashboard", { desc: "Button that opens the add to dashboard picker" });
|
|
757
|
+
return b`
|
|
758
|
+
<luzmo-action-button
|
|
759
|
+
id=${this._triggerId}
|
|
760
|
+
class="trigger"
|
|
761
|
+
size=${this.size}
|
|
762
|
+
aria-haspopup="true"
|
|
763
|
+
aria-expanded=${this._open ? "true" : "false"}
|
|
764
|
+
?disabled=${this.disabled || this._saving}
|
|
765
|
+
>
|
|
766
|
+
${this._saving ? b`<luzmo-progress-circle class="trigger-spinner" slot="icon" indeterminate .label=${e}></luzmo-progress-circle>` : b`<luzmo-icon slot="icon" size="xs" .icon=${y}></luzmo-icon>`}
|
|
767
|
+
${e}
|
|
768
|
+
<luzmo-icon class="trigger-chevron" size="xs" .icon=${l}></luzmo-icon>
|
|
769
|
+
</luzmo-action-button>
|
|
770
|
+
<luzmo-overlay
|
|
771
|
+
type="auto"
|
|
772
|
+
placement=${this.placement}
|
|
773
|
+
trigger=${`${this._triggerId}@click`}
|
|
774
|
+
.open=${this._open}
|
|
775
|
+
@luzmo-opened=${this._handleOpened}
|
|
776
|
+
@luzmo-closed=${this._handleClosed}
|
|
777
|
+
>
|
|
778
|
+
<luzmo-popover>
|
|
779
|
+
<div class="picker">${this._open ? this._renderPicker() : x}</div>
|
|
780
|
+
</luzmo-popover>
|
|
781
|
+
</luzmo-overlay>
|
|
782
|
+
<div class="status">${this._renderStatus()}</div>
|
|
783
|
+
`;
|
|
784
|
+
}
|
|
785
|
+
};
|
|
786
|
+
//#endregion
|
|
787
|
+
//#region src/components/add-to-dashboard/index.ts
|
|
788
|
+
r([C({ attribute: !1 })], $.prototype, "chart", void 0), r([C({ attribute: !1 })], $.prototype, "dashboardActions", void 0), r([C({
|
|
789
|
+
type: String,
|
|
790
|
+
attribute: "auth-key"
|
|
791
|
+
})], $.prototype, "authKey", void 0), r([C({
|
|
792
|
+
type: String,
|
|
793
|
+
attribute: "auth-token"
|
|
794
|
+
})], $.prototype, "authToken", void 0), r([C({
|
|
795
|
+
type: String,
|
|
796
|
+
attribute: "api-url"
|
|
797
|
+
})], $.prototype, "apiUrl", void 0), r([C({
|
|
798
|
+
type: String,
|
|
799
|
+
reflect: !0
|
|
800
|
+
})], $.prototype, "placement", void 0), r([C({
|
|
801
|
+
type: Boolean,
|
|
802
|
+
reflect: !0
|
|
803
|
+
})], $.prototype, "disabled", void 0), r([T()], $.prototype, "_open", void 0), r([T()], $.prototype, "_actions", void 0), r([T()], $.prototype, "_step", void 0), r([T()], $.prototype, "_rows", void 0), r([T()], $.prototype, "_hasMore", void 0), r([T()], $.prototype, "_loading", void 0), r([T()], $.prototype, "_listFailed", void 0), r([T()], $.prototype, "_original", void 0), r([T()], $.prototype, "_variants", void 0), r([T()], $.prototype, "_variantsLoading", void 0), r([T()], $.prototype, "_variantsFailed", void 0), r([T()], $.prototype, "_pending", void 0), r([T()], $.prototype, "_screenModes", void 0), r([T()], $.prototype, "_saving", void 0), r([T()], $.prototype, "_status", void 0), r([w(".trigger")], $.prototype, "_triggerElement", void 0), r([w("luzmo-search")], $.prototype, "_searchElement", void 0), r([w(".header luzmo-action-button")], $.prototype, "_backElement", void 0), r([w("luzmo-notice")], $.prototype, "_noticeElement", void 0), $ = r([E()], $), typeof customElements < "u" && !customElements.get("luzmo-add-to-dashboard") && customElements.define("luzmo-add-to-dashboard", $);
|
|
804
|
+
//#endregion
|
|
805
|
+
export { U as n, $ as t };
|