@luzmo/analytics-components-kit 1.0.3-beta.6 → 1.0.3-beta.7
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/components/ai-chat/ai-chat.d.ts +17 -1
- package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +46 -0
- package/components/ai-chat/empty-state/index.d.ts +8 -0
- package/components/ai-chat/empty-state/types.d.ts +14 -0
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.d.ts +2 -0
- package/components/ai-chat/index.js +2 -2
- package/components/ai-chat-BITPlYbm.cjs +178 -0
- package/components/{ai-chat-DVU9XiA2.js → ai-chat-D6fgbjA2.js} +368 -295
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/{ai-interaction-textarea-DI98QoMZ.js → ai-interaction-textarea-C1DMkiX9.js} +3 -3
- package/components/{ai-interaction-textarea-DqWt823F.cjs → ai-interaction-textarea-wt2weV1c.cjs} +1 -1
- package/components/{base-D3ehdFno.js → base-D82dU2vv.js} +1 -1
- package/components/{base-HUGXYn6t.cjs → base-iNk9N4Tk.cjs} +1 -1
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -1
- package/components/{data-field-DwSYggPc.js → data-field-2gH1_AhT.js} +3 -3
- package/components/{data-field-DSzU9Apl.cjs → data-field-DDO-2ESu.cjs} +1 -1
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -1
- package/components/{data-field-level-BquNqRm1.js → data-field-level-2h8s8KK1.js} +1 -1
- package/components/{data-field-level-CYUtLiIi.cjs → data-field-level-COl8ZWdN.cjs} +1 -1
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/{data-field-panel-B_83HNyI.cjs → data-field-panel-CgfuCAp8.cjs} +1 -1
- package/components/{data-field-panel-Bqslx0EB.js → data-field-panel-P9QrDHMI.js} +3 -3
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -1
- package/components/{data-fields-select-t1ikPTLw.js → data-fields-select-1I8-Brdz.js} +1 -1
- package/components/{data-fields-select-BZj1cpL5.cjs → data-fields-select-Cudq0iLk.cjs} +1 -1
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/{dataset-selector-list-Bta-CGoN.cjs → dataset-selector-list-BxGYITHM.cjs} +1 -1
- package/components/{dataset-selector-list-Ho8JnQp7.js → dataset-selector-list-DmbQl9uz.js} +1 -1
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -1
- package/components/{dataset-selector-row-CKhHK1H5.cjs → dataset-selector-row-BgGa4uFN.cjs} +1 -1
- package/components/{dataset-selector-row-8hgsmMRg.js → dataset-selector-row-CaTsyi1d.js} +1 -1
- package/components/{de-D2bZwq4D.js → de-DFS1MvFY.js} +7 -7
- package/components/de-DWpyMlmz.cjs +20 -0
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/{display-settings-Bmb0HUlu.cjs → display-settings-Bfz2tg_G.cjs} +1 -1
- package/components/{display-settings-Di9dXtUM.js → display-settings-DWoUj0P7.js} +1 -1
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/{display-settings-binning-B8qUIt6T.js → display-settings-binning-BIBzOWZA.js} +2 -2
- package/components/{display-settings-binning-CpwCqvwm.cjs → display-settings-binning-Cf1QlQy6.cjs} +1 -1
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/{display-settings-datetime-3M3DvzTN.cjs → display-settings-datetime-C76Et2ED.cjs} +1 -1
- package/components/{display-settings-datetime-C8JfjDJK.js → display-settings-datetime-DGlj31eD.js} +2 -2
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -1
- package/components/{display-settings-grand-totals-DMDa6C5k.cjs → display-settings-grand-totals-By98iKXS.cjs} +1 -1
- package/components/{display-settings-grand-totals-kyfMh55D.js → display-settings-grand-totals-ZWO02WXj.js} +2 -2
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -1
- package/components/{display-settings-numeric-B51KddXI.cjs → display-settings-numeric-BPKl9ljn.cjs} +1 -1
- package/components/{display-settings-numeric-Cw8Nx5s9.js → display-settings-numeric-DHvjUxmC.js} +2 -2
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +1 -1
- package/components/{display-settings-period-over-period-B2AN0rwz.js → display-settings-period-over-period-CPsfL-OC.js} +2 -2
- package/components/{display-settings-period-over-period-CjjA2NqZ.cjs → display-settings-period-over-period-CYwa8_dX.cjs} +1 -1
- package/components/es-Bm4nseZH.cjs +20 -0
- package/components/{es-9-jszdOJ.js → es-C1prodbH.js} +7 -7
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/{filter-expression-picker-DCFZKpBE.cjs → filter-expression-picker-CJB_jgcc.cjs} +1 -1
- package/components/{filter-expression-picker-Brn-vNUd.js → filter-expression-picker-DbIwoTsX.js} +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/{filter-item-BlSQe2nu.js → filter-item-BGtJwvjk.js} +4 -4
- package/components/{filter-item-Cjrhb1RR.cjs → filter-item-as8Ocmp3.cjs} +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/{filter-value-picker-BCckBdal.cjs → filter-value-picker-BL-1pN_G.cjs} +1 -1
- package/components/{filter-value-picker-CBetCjIs.js → filter-value-picker-BrYCGFst.js} +4 -4
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -1
- package/components/{filter-value-picker-datetime-CT63jJDI.js → filter-value-picker-datetime-BPtF1l_J.js} +1 -1
- package/components/{filter-value-picker-datetime-CxM6HXe3.cjs → filter-value-picker-datetime-wXHf2Ybs.cjs} +1 -1
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/{filter-value-picker-hierarchy-CAORy2A-.js → filter-value-picker-hierarchy-CDhpfB2Y.js} +2 -2
- package/components/{filter-value-picker-hierarchy-C5QZXiQz.cjs → filter-value-picker-hierarchy-Cmw2p2K6.cjs} +1 -1
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/{filter-value-picker-numeric-Fao-PKN7.js → filter-value-picker-numeric-BEvT5oKu.js} +1 -1
- package/components/{filter-value-picker-numeric-CtOfHaJR.cjs → filter-value-picker-numeric-UwkCyHGV.cjs} +1 -1
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/{filters-DI0GTL9k.cjs → filters-DdB5-4Db.cjs} +1 -1
- package/components/{filters-CtWut3ce.js → filters-ltvxQR-K.js} +2 -2
- package/components/{fr-DLf99-F8.js → fr-BMYUCp2R.js} +7 -7
- package/components/fr-BPTbVsj0.cjs +20 -0
- package/components/{get-dataset-name-EKmxKZU9.js → get-dataset-name-BfFHT__k.js} +1 -1
- package/components/{get-dataset-name-CvZduuOo.cjs → get-dataset-name-Cl6mPSex.cjs} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +58 -58
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/{item-grid-Bcez8lwg.cjs → item-grid-DR36E_MC.cjs} +1 -1
- package/components/{item-grid-DgxtJ0eX.js → item-grid-Q0Ggl_US.js} +1 -1
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/{item-option-BgYyAKSW.cjs → item-option-CbvYq_WJ.cjs} +1 -1
- package/components/{item-option-DjiTHr0r.js → item-option-DI3KO7QY.js} +1 -1
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -1
- package/components/{item-option-action-button-group-DdqzgR08.cjs → item-option-action-button-group-BnMVlPWX.cjs} +1 -1
- package/components/{item-option-action-button-group-U5GCtFjg.js → item-option-action-button-group-D6IwxNDf.js} +1 -1
- package/components/{item-option-base-BeIdCZMp.cjs → item-option-base-CKQPWveC.cjs} +1 -1
- package/components/{item-option-base-DM3U9dbW.js → item-option-base-DH5wKqEF.js} +1 -1
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -1
- package/components/{item-option-color-palette-picker-oj8nSb-q.cjs → item-option-color-palette-picker-h-3xHsR4.cjs} +1 -1
- package/components/{item-option-color-palette-picker-BsMZ3IUR.js → item-option-color-palette-picker-n_OxJNd9.js} +1 -1
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -1
- package/components/{item-option-color-picker-B_pemZKJ.js → item-option-color-picker-C1x5vS5d.js} +1 -1
- package/components/{item-option-color-picker-BJKGTrIi.cjs → item-option-color-picker-C6LZkkBG.cjs} +1 -1
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -1
- package/components/{item-option-color-range-DW3rdMt5.js → item-option-color-range-B2jermJT.js} +1 -1
- package/components/{item-option-color-range-BOegJZim.cjs → item-option-color-range-DBiG8jhK.cjs} +1 -1
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -1
- package/components/{item-option-multi-language-field-CeYgkRzs.js → item-option-multi-language-field-BmJY3dG0.js} +1 -1
- package/components/{item-option-multi-language-field-BQZ4Lmiy.cjs → item-option-multi-language-field-DDeFZMwX.cjs} +1 -1
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -1
- package/components/{item-option-number-field-CFQyJG_w.js → item-option-number-field-B5ed4vvs.js} +1 -1
- package/components/{item-option-number-field-T2L2jFCf.cjs → item-option-number-field-BJo-SKQB.cjs} +1 -1
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/{item-option-panel-ChOItFmc.js → item-option-panel-B8BKxNPg.js} +2 -2
- package/components/{item-option-panel-BOJmKPgY.cjs → item-option-panel-Dm34avUG.cjs} +1 -1
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/{item-option-picker-IBP7QFLA.js → item-option-picker-C8evzSOb.js} +1 -1
- package/components/{item-option-picker-3krQktmk.cjs → item-option-picker-DlbKU1wY.cjs} +1 -1
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -1
- package/components/{item-option-position-picker-DF54K_Mw.js → item-option-position-picker-Bue5o0fT.js} +1 -1
- package/components/{item-option-position-picker-BiLRWUWK.cjs → item-option-position-picker-CB4Y0Z6D.cjs} +1 -1
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -1
- package/components/{item-option-positions-number-field-B6qxN1x7.cjs → item-option-positions-number-field-Bbru1yNj.cjs} +1 -1
- package/components/{item-option-positions-number-field-Dchzu5NS.js → item-option-positions-number-field-CdK1WdMx.js} +1 -1
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -1
- package/components/{item-option-radio-button-group-DzI_2jB3.cjs → item-option-radio-button-group-BCiDl5wB.cjs} +1 -1
- package/components/{item-option-radio-button-group-BiOpqNXX.js → item-option-radio-button-group-BlQxNUIM.js} +1 -1
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/{item-option-slider-Dba7mmcA.js → item-option-slider-CX8XWUEP.js} +1 -1
- package/components/{item-option-slider-6E4VgJpv.cjs → item-option-slider-Db-HdZ9C.cjs} +1 -1
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/{item-option-switch-BAYX5lTr.js → item-option-switch-1wVCBJpo.js} +1 -1
- package/components/{item-option-switch-Dt4pzFNi.cjs → item-option-switch-BI0b6qMP.cjs} +1 -1
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -1
- package/components/{item-option-text-field-BLOz4LvH.cjs → item-option-text-field-Cuo1cBWG.cjs} +1 -1
- package/components/{item-option-text-field-CHalqTt1.js → item-option-text-field-c8PsVNYB.js} +1 -1
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -1
- package/components/{item-slot-drop-CNeF_Qmg.cjs → item-slot-drop-2SpLWjPC.cjs} +1 -1
- package/components/{item-slot-drop-n6UHgA-Q.js → item-slot-drop-Cpf4DnI4.js} +4 -4
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -1
- package/components/{item-slot-drop-panel-Hhp9_pDd.js → item-slot-drop-panel-C77wRsvJ.js} +3 -3
- package/components/{item-slot-drop-panel-Bh6PlCJx.cjs → item-slot-drop-panel-ClEOXFHz.cjs} +1 -1
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/{item-slot-picker-BAMVwHtd.js → item-slot-picker-BEPRIyMJ.js} +5 -5
- package/components/{item-slot-picker-7oF3vLwb.cjs → item-slot-picker-B_l4VnV_.cjs} +1 -1
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -1
- package/components/{item-slot-picker-panel-BYCDx6Hk.js → item-slot-picker-panel-B4tCFh38.js} +3 -3
- package/components/{item-slot-picker-panel-C6mMlurQ.cjs → item-slot-picker-panel-BCzV9MAV.cjs} +1 -1
- package/components/{localized-mixin-CxGNXOcg.cjs → localized-mixin-AEA3w4H0.cjs} +1 -1
- package/components/{localized-mixin-CpYxJczB.js → localized-mixin-XqTi4F7d.js} +1 -1
- package/components/nl-BE6MZtti.cjs +20 -0
- package/components/{nl-QLEhlKsI.js → nl-DzdJmn0w.js} +7 -7
- package/components/{set-locale-wsrhUZVV.js → set-locale-B8CaHx6q.js} +4 -4
- package/components/{set-locale-xSK2Wd4D.cjs → set-locale-CFD7fxS3.cjs} +1 -1
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/{slot-menu-CIQRPLvx.cjs → slot-menu-C8446xNy.cjs} +1 -1
- package/components/{slot-menu-B431N66z.js → slot-menu-DuJRaqmC.js} +3 -3
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/{slot-menu-list-BROocU0s.cjs → slot-menu-list-B6A6w2d9.cjs} +1 -1
- package/components/{slot-menu-list-Cdh09ie0.js → slot-menu-list-Zzwr6h1J.js} +1 -1
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/{utils-iY1cKQaF.cjs → utils-1SB0pExj.cjs} +1 -1
- package/components/{utils-CJ3Vy98n.js → utils-sAvG9cHu.js} +1 -1
- package/components/utils.cjs +1 -1
- package/components/utils.js +2 -2
- package/components/viz-item-menu/index.cjs +1 -1
- package/components/viz-item-menu/index.js +1 -1
- package/components/{viz-item-menu-D20StIE_.cjs → viz-item-menu-B4mavjZ5.cjs} +1 -1
- package/components/{viz-item-menu--FyB_XCf.js → viz-item-menu-CEcwbasZ.js} +1 -1
- package/custom-elements.json +284 -0
- package/package.json +1 -1
- package/react/components/ai-chat/empty-state/index.ts +1 -0
- package/react/components/ai-chat/empty-state/types.ts +16 -0
- package/react/esm/components/ai-chat/empty-state/index.d.ts +1 -0
- package/react/esm/components/ai-chat/empty-state/index.js +1 -0
- package/react/esm/components/ai-chat/empty-state/types.d.ts +14 -0
- package/react/esm/components/ai-chat/empty-state/types.js +1 -0
- package/components/ai-chat-CY73iYCg.cjs +0 -154
- package/components/de-CVLDoWlp.cjs +0 -20
- package/components/es-Byjf7YBI.cjs +0 -20
- package/components/fr-BVxPTfyF.cjs +0 -20
- package/components/nl-D4uOyZ6h.cjs +0 -20
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../dataset-selector-row-
|
|
27
|
+
import { t as e } from "../dataset-selector-row-CaTsyi1d.js";
|
|
28
28
|
export { e as LuzmoDatasetSelectorRow };
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
require(`./chunk-i8uDWG73.cjs`);const e=require(`./decorate-BfLyr4NV.cjs`),t=require(`./data-broker-CIVFcrOy.cjs`),n=require(`./get-dataset-name-
|
|
20
|
+
require(`./chunk-i8uDWG73.cjs`);const e=require(`./decorate-BfLyr4NV.cjs`),t=require(`./data-broker-CIVFcrOy.cjs`),n=require(`./get-dataset-name-Cl6mPSex.cjs`);require(`./dataset-icon-DCvy3NSz.cjs`);let r=require(`@luzmo/icons`),i=require(`lit`),a=require(`lit/decorators.js`),o=require(`@lit/localize`);require(`@luzmo/lucero/icon`),require(`@luzmo/lucero/select`),require(`@luzmo/lucero/tags`),require(`@luzmo/lucero/tooltip`);let s=require(`lit/directives/repeat.js`);var c=`:host([disabled]){pointer-events:none}:host{box-sizing:border-box;gap:var(--luzmo-dataset-selector-row-gap,var(--dataset-selector-row-gap));min-height:var(--luzmo-dataset-selector-row-min-height,var(--dataset-selector-row-min-height));font-size:var(--luzmo-dataset-selector-row-font-size,var(--dataset-selector-row-font-size));color:var(--luzmo-dataset-selector-row-color,var(--dataset-selector-row-color));font-family:var(--luzmo-dataset-selector-row-font-family,var(--dataset-selector-row-font-family));flex-flow:wrap;align-items:flex-start;display:flex}:host .dataset-search{--luzmo-select-inline-size:fit-content;flex:none;align-self:flex-start;inline-size:auto}:host .dataset-search .dataset-search-trigger-layout{align-items:center;gap:var(--luzmo-spacing-2);--luzmo-icon-vertical-align:top;min-inline-size:0;display:flex}:host .dataset-search .dataset-search-trigger-label{white-space:nowrap;line-height:1}:host .dataset-search{max-inline-size:var(--luzmo-dataset-selector-row-search-max-width,var(--dataset-selector-row-search-max-width));--luzmo-popover-max-height:var(--luzmo-dataset-selector-row-search-popover-max-height,var(--dataset-selector-row-search-popover-max-height,var(--luzmo-popover-max-height)));--select-minimum-width-multiplier:1}:host .selected-dataset-tag{--luzmo-tag-max-inline-size:180px;--luzmo-tag-height:var(--luzmo-component-height);--luzmo-tag-spacing-inline-start:var(--luzmo-spacing-3);--luzmo-tag-icon-spacing-inline-end:var(--luzmo-spacing-3);--luzmo-tag-label-spacing-inline-end:var(--luzmo-spacing-2);--luzmo-tag-clear-button-spacing-inline-start:.375rem;--luzmo-tag-clear-button-spacing-inline-end:.375rem;margin:0}:host .selected-datasets-tags{--luzmo-tag-group-item-margin-block:0;--luzmo-tag-group-item-margin-inline:0;display:contents}:host .selected-dataset-tag .dataset-tag-label{align-items:center;line-height:1}:host .sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:host{--dataset-selector-row-gap:var(--luzmo-spacing-2);--dataset-selector-row-min-height:1.75rem;--dataset-selector-row-font-size:.75rem;--dataset-selector-row-color:var(--luzmo-font-color-extra-dimmed);--dataset-selector-row-font-family:var(--luzmo-font-family);--dataset-selector-row-search-max-width:23.75rem;--dataset-selector-row-search-popover-max-height:400px}`,l=400,u=50,d=class extends i.LitElement{constructor(...e){super(...e),this.selectedDatasets=[],this.buttonLabel=(0,o.msg)(`Add dataset`,{desc:`Label for the control that opens dataset search to add a dataset`}),this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.appServer=`https://app.luzmo.com`,this.flagOpendata=!1,this.disabled=!1,this.hideDatasetIcons=!1,this._availableDatasets=[],this._removalAnnouncement=``,this._selectValue=[],this._retrieving=!1,this._searchValue=``,this._activeSearchRequestId=0,this._searchDebounceTimer=null,this._renderDatasetOptionIcon=e=>{if(this.hideDatasetIcons)return null;let t=e.value;if(typeof t!=`string`)return null;let n=this._availableDatasets.find(e=>e.id===t);return n?i.html`
|
|
21
21
|
<luzmo-dataset-icon
|
|
22
22
|
slot="icon"
|
|
23
23
|
.datasetInfo=${n}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* */
|
|
20
20
|
import { t as e } from "./decorate-DKLaHs_w.js";
|
|
21
21
|
import { t } from "./data-broker-CW4ZQUct.js";
|
|
22
|
-
import { t as n } from "./get-dataset-name-
|
|
22
|
+
import { t as n } from "./get-dataset-name-BfFHT__k.js";
|
|
23
23
|
import "./dataset-icon-DVvk1RBl.js";
|
|
24
24
|
import { luzmoFileUploadOutline as r, luzmoPlugin as i, luzmoPlus as a } from "@luzmo/icons";
|
|
25
25
|
import { LitElement as o, html as s, nothing as c, unsafeCSS as l } from "lit";
|
|
@@ -24,6 +24,7 @@ var t = {
|
|
|
24
24
|
s00decbd8fed4f501: "Maximum",
|
|
25
25
|
s0218a6cc95bc9386: "Bereichstyp",
|
|
26
26
|
s0456d2ad905847d9: "letzte",
|
|
27
|
+
s071e55c416742716: "Wiederherstellungsmenü öffnen",
|
|
27
28
|
s079a052719914d71: "Kategorie",
|
|
28
29
|
s088e3b07b5394bc3: "gleich",
|
|
29
30
|
s091d3407b5b2f824: "ODER",
|
|
@@ -95,6 +96,8 @@ var t = {
|
|
|
95
96
|
s517acbf1f96324f9: "Gewicht",
|
|
96
97
|
s519d0aa80bbafd42: "Woche bis heute",
|
|
97
98
|
s55e343865792fc47: "Datenfelder des Datensatzes können nicht abgerufen werden",
|
|
99
|
+
s55f71f5d3158ed9f: "KI-Prompt-Eingabe",
|
|
100
|
+
s572efb51e9cfc967: "Dashboard wird aktualisiert...",
|
|
98
101
|
s5758683fdb7446a9: "Filterdatum",
|
|
99
102
|
s57ace73e7c6e719f: "ist nicht in",
|
|
100
103
|
s58ec693e33483873: "kleiner als",
|
|
@@ -124,7 +127,6 @@ var t = {
|
|
|
124
127
|
s716a6024e3fe999c: "Zeigen",
|
|
125
128
|
s736157452e7fc7af: "Etwas ist schiefgelaufen. Bitte versuche es erneut.",
|
|
126
129
|
s7468e87263dfff7e: "Kennung",
|
|
127
|
-
s74c00d5f85cc6da9: "Beschreiben Sie, wie Sie dieses Element bearbeiten möchten…",
|
|
128
130
|
s74dcd519e6563a26: "WTD",
|
|
129
131
|
s750a2c8ca7ec9e95: "Slot-Inhalt",
|
|
130
132
|
s7632fc9aa12bf382: "Monate",
|
|
@@ -143,6 +145,7 @@ var t = {
|
|
|
143
145
|
s8a56a8c8bd19c9c7: "fehlt",
|
|
144
146
|
s8b1883cb3a3a94e2: "Mehr erfahren (öffnet in neuem Tab)",
|
|
145
147
|
s8ba2b22eee9bb57e: "Filter hinzufügen",
|
|
148
|
+
s8bd1517975b86680: "Dashboard wird erstellt...",
|
|
146
149
|
s8d0259032729869d: "Sekunde",
|
|
147
150
|
s8d77a3cb03eea446: "Daten werden geladen...",
|
|
148
151
|
s8de2a5b227e80c95: "(x) Perioden oder länger her",
|
|
@@ -217,6 +220,7 @@ var t = {
|
|
|
217
220
|
sdb73788b3c975f16: "Automatisch",
|
|
218
221
|
sdc673e73b5c13aea: "Löschen",
|
|
219
222
|
sdebe99a43259a451: "Zeilen zählen",
|
|
223
|
+
sdfbe1b87d8712bc7: "Womit kann ich dir helfen?",
|
|
220
224
|
sdfeb2151b9e78d4d: "enthält nicht",
|
|
221
225
|
se01bc9eea39688ad: "Monat im Jahr",
|
|
222
226
|
se0955919920ee87d: "Tag",
|
|
@@ -242,6 +246,7 @@ var t = {
|
|
|
242
246
|
sf095cc47a4ff9c3d: "Formel",
|
|
243
247
|
sf518b78d9734f57b: "beginnt nicht mit",
|
|
244
248
|
sf6cda8263b3170af: "Verwenden Sie den Zeitraum bis heute für unvollständige Zeiträume",
|
|
249
|
+
sf6dd5d79bf159456: "Prompt-Vorschläge",
|
|
245
250
|
sf70eaf9ab4c93082: "nicht enth",
|
|
246
251
|
sf9c10516a62a23db: "Anzeigen als",
|
|
247
252
|
sfa069719a050be66: "UND",
|
|
@@ -253,12 +258,7 @@ var t = {
|
|
|
253
258
|
sff5bb7742c2896c8: "Zielwert",
|
|
254
259
|
sffa721bb6aa3128d: "Suchen...",
|
|
255
260
|
"slot-label-name": "Name",
|
|
256
|
-
"slot-label-time": "Zeit"
|
|
257
|
-
s071e55c416742716: "Open restore menu",
|
|
258
|
-
s8bd1517975b86680: "Creating dashboard...",
|
|
259
|
-
s572efb51e9cfc967: "Updating dashboard...",
|
|
260
|
-
s16e609de8500afc0: "Describe how you want to edit this dashboard…",
|
|
261
|
-
s55f71f5d3158ed9f: "AI prompt input"
|
|
261
|
+
"slot-label-time": "Zeit"
|
|
262
262
|
};
|
|
263
263
|
//#endregion
|
|
264
264
|
export { t as templates };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
require(`./chunk-i8uDWG73.cjs`);let e=require(`@lit/localize`);var t={"close-action":`Schließen`,s00decbd8fed4f501:`Maximum`,s0218a6cc95bc9386:`Bereichstyp`,s0456d2ad905847d9:`letzte`,s071e55c416742716:`Wiederherstellungsmenü öffnen`,s079a052719914d71:`Kategorie`,s088e3b07b5394bc3:`gleich`,s091d3407b5b2f824:`ODER`,s095140a7d22730b7:`Kategorien`,s099b18e1bd8a1154:`Stunden`,s09c2b609dff29061:`Kumulative Summe`,s0b5cefc4c510193d:`Farbbereich`,s0bb151c9319a6813:`X-Achse`,s0bca0c91195d8d6d:`enth`,s0d5c4bb195a222f8:`Menge`,s0e6fcbb074f690d0:`Datenfeld hinzufügen`,s1125d159f7e64df5:`Anzeigen`,s11326fd2590f4e5e:`Standard`,s122f7f3f1a22ea50:`nicht gleich`,s13f5793e33ebda4f:`zwischen`,s146475c4daa430ed:`Dezimalstellen`,s1525a3512765bd52:`Zeiteinheit`,s16d507740d87045d:`Ad-hoc-Formel`,s173bffc4bc8fdb40:`Quartalsnummer`,s178b06f4d02cfd40:`fehlt nicht`,s184501a399a815dc:`Quartale`,s18498398aeb37b07:`Woche beginnt am`,s187528426100c44e:`Keine Daten`,s1cdb6b07fe827486:`Wochennummer`,s1e20d0d47c1c09c4:`Rasterelement`,s1e593719b55d60c0:`MTD`,s1e7745005c37315c:`Relativer Versatz`,s1f0916624a87d415:`Tag im Jahr`,s1f7698c061c208c9:`Eröffnung`,s23a368c93d7e6a90:`Schieberegler-Metrik`,s2454d1f117573457:`Genauigkeit`,s247d110f13a3a288:`Tag in der Woche`,s24f3a319b88552c1:`Tief`,s25e13c6d08776558:`Synchronisation umschalten`,s26273c258ddde0e1:`Auswählen...`,s2695506122ffd614:`Sekunde in der Minute`,s2718cebf7de190e1:`ist zwischen`,s2798d16f4e04857e:`Minute in der Stunde`,s29e9a2758d0ffdc3:`Dimension`,s2ba5f4d8f3bd7c57:`Reihenfolge`,s2d4d8b099a73e46a:`Ebenen`,s2dcbfb305c43f0d4:`Option konnte nicht geladen werden`,s2ea38ce3da088075:`Perioden`,s2f56fa0428bad0c9:`Elementaktionen`,s2fa05f91c1baa29b:e.str`${0} entfernen`,s2fb2a49481123d6a:`Wochen`,s2fedf26ef08343d4:`ist gleich`,s303f51ebddb596d4:`Slot-Menü`,s31f1afc1bfe1cb3a:`Mehr erfahren`,s344ea8f4939cdc98:`Farbe`,s354ae458a550da1f:`Ziel`,s360896d6e6234cc4:`Element wird aktualisiert...`,s3924c3d773a80312:`letzte verfügbar`,s3c6455b19fb1c3e4:`Absoluter Wechsel`,s3dcf7b255596a2c3:`Standardabweichung`,s41f303448d636dfd:`Dashboard-Raster`,s4406e2a8264d6a3e:`Route`,s441accd1cd3484c9:`Minute`,s463b8c4e92751ba5:`Optionen`,s467b030b9a34b3c8:`Durchschnitt`,s48e186fb300e5464:`Zeit`,s496c60f73bdf5725:`Aggregation`,s4b30fad1c34464e1:`größer oder gleich`,s4b58c01e2578f5e4:`Legende`,s4e585eeea351a038:`enthält`,s4efbcab48a433013:`Lang`,s4f27f6b48a68b5c2:`Sperren`,s50d9e1b0c1636e99:`Geografie`,s517acbf1f96324f9:`Gewicht`,s519d0aa80bbafd42:`Woche bis heute`,s55e343865792fc47:`Datenfelder des Datensatzes können nicht abgerufen werden`,s55f71f5d3158ed9f:`KI-Prompt-Eingabe`,s572efb51e9cfc967:`Dashboard wird aktualisiert...`,s5758683fdb7446a9:`Filterdatum`,s57ace73e7c6e719f:`ist nicht in`,s58ec693e33483873:`kleiner als`,s5a801360c0e7cc6e:`Kreise`,s5b5005aae2ab472d:e.str`${0} entfernt`,s5d73a3b3b68e6cba:`Benutzerdefiniert`,s5d929ff1619ac0c9:`Suchen`,s5e2654fb8587f442:`Duplizieren`,s5e8250fb85d64c23:`Schluss`,s5f43af3669b1e098:`Quelle`,s602805b1eb3106c6:`Y-Achse`,s6031881827829901:`24h`,s60b34c3c17dc35bd:`Jahre`,s6361bdb1b0dc327b:`Anzahl der Perioden`,s64ef2a6c2dd1d3d1:`Bearbeiten`,s6580790b036f0c6f:`aktiv`,s66722bc2ea775e05:`Deaktiviert`,s669b18c6d2d9c95b:`Keine`,s66dcbbc0355c2759:`Sonntag`,s680f01021b5e339d:`Woche`,s6b0bffd88024372f:`Stunde`,s6d2c233e1a4f6a2c:`Datensatz hinzufügen`,s6de3d6e9660857a1:`Beispiel`,s708bbac083d05109:`beginnt nicht mit`,s709a09b6edea9d90:`Datum/Zeit`,s70a773eb3133e5fa:`Monat bis heute`,s716a6024e3fe999c:`Zeigen`,s736157452e7fc7af:`Etwas ist schiefgelaufen. Bitte versuche es erneut.`,s7468e87263dfff7e:`Kennung`,s74dcd519e6563a26:`WTD`,s750a2c8ca7ec9e95:`Slot-Inhalt`,s7632fc9aa12bf382:`Monate`,s782f286a79cca35d:`Relativ`,s78789724e789221c:`Größe`,s7a6878d41ffac284:`letzte abgeschl`,s7c95876637f6a9d7:`Filter`,s7cb5d294ed7634e3:`Datensatz`,s7dacc1388e15a544:`Positionswerte`,s7e357543a7b769f4:`Versatz-Datums-Spalte`,s846876f9b712e843:`ist nicht gleich`,s862f5319f0256b94:`QTD`,s8665d029b5cb8b24:`Gesamtsummen`,s898a5d3aef872ea2:`Filterbedingung umschalten, derzeit `,s898eb5552843fe54:`Zustand wiederherstellen`,s8a56a8c8bd19c9c7:`fehlt`,s8b1883cb3a3a94e2:`Mehr erfahren (öffnet in neuem Tab)`,s8ba2b22eee9bb57e:`Filter hinzufügen`,s8bd1517975b86680:`Dashboard wird erstellt...`,s8d0259032729869d:`Sekunde`,s8d77a3cb03eea446:`Daten werden geladen...`,s8de2a5b227e80c95:`(x) Perioden oder länger her`,s9094c0cde8fb5058:`Keine Ergebnisse gefunden`,s92ab9b834d8fd1fc:`Untergruppe`,s92c8c8ca61f1e379:`Datensatz auswählen...`,s965c503c3e42fdfe:`Aktiviert`,s9689e928323dc124:`letzte abgeschlossene (Periode)`,s981f232bd33ec927:`Rate`,s9854300ef4a37d18:`endet nicht mit`,s987abe19fac8d108:`Summe`,s98b1cb8fb62909ec:`Gruppe`,s98c337186f2d57c6:`Bin-Breite`,s98db41a3eb532203:`Jahr bis heute`,s991d216e6efc157c:`Keine Ergebnisse`,s996319f23f6cf0b5:`endet mit`,s9b9009d4a5004fb8:`Binning`,s9b9d6ce29d05a298:`kleiner oder gleich`,s9deeefd89ca8a81d:`Hoch`,s9e40e59654c8ad67:`Spalte`,s9eacba092932f5ee:`Filterbedingung`,sa26d7a273074cbf9:`Keine Daten verfügbar`,sa3c9339de23c1752:`Format`,sa696721931eda01a:`Filterwert`,sa6ab5184d6315895:`Von`,sa6f2645578b2d2bc:`Jahr`,sa7effa06c0f6784c:`größer als`,sa8beb6b1182241ac:`Filter`,sa91d4991fca9514e:`mehr als her`,saa8b48fefe67c4e3:`Dataset- und Spalten-IDs anzeigen`,sac8256732f2ee1e5:`Daten`,sac8b59943205b14f:`nächste volle (Periode)`,sac94bb71f7737997:`Median`,sacae74732f544fca:`Tage`,saf2a19f4eaf00f68:`oder länger her`,sb06a3310a509f99a:`Farbstopp entfernen`,sb0f3327210fe18fc:`Spalten`,sb1f654608a3eea75:`Wochentag`,sb3b793ff5cc1bc39:`nächste (x) Perioden`,sb47daaf9e1c4a905:`Monat`,sb569204089b4cac3:`KI-Chat`,sb5803460fed8e45e:`Beschreibung anzeigen`,sb59d68ed12d46377:`Laden`,sb5b295e3a7500b9c:`Dauerstufen`,sb6513caf69971fb5:`Kurz`,sb70671db5700ff60:`endet nicht mit`,sb93e5af29aca2e3d:`fehlt`,sb9f1339b3a61604a:`Ebenen`,sbbb97b1c63507dc0:`Zahl`,sbeebe911264bed23:`letzte (x) verfügbare Perioden`,sc056cc14a35b3e61:`Filter entfernen`,sc1bf67624fa6d498:`% Änderung`,sc4842e5b8b90466a:`Sekunden`,sc592307ea80f16b9:`Unbekannt`,sc6e49f3d37e54030:`Stunde im Tag`,sc6f5a4fc0583d734:`ist in`,sc70ad8207db856a8:`Koordinaten`,sc86e72c4fdd4e0ec:`Zählen unterschiedlich`,sc8a98cb006054d7b:`Filterausdruck`,sc8d21540b3d89a69:`Farbstopp hinzufügen`,scace072bef961918:`Zeilen`,scb7bab1a17663a6c:`YTD`,scbaef981909d487e:`Entwicklung`,scf2bb2b0de9cdb8a:`Millisekunde`,sd05671183b4fe913:`Daten konnten nicht abgerufen werden`,sd237be440de38cc7:`Quartal`,sd28141a332dc31fa:`Tag im Monat`,sd3ec39c275aec063:`Nenner`,sd5b1040899eb149d:`nächste voll`,sd66a74fff07a11fb:`{count} elemente ausgewählt`,sd7ebafacf602c9bd:`Brief`,sdb73788b3c975f16:`Automatisch`,sdc673e73b5c13aea:`Löschen`,sdebe99a43259a451:`Zeilen zählen`,sdfbe1b87d8712bc7:`Womit kann ich dir helfen?`,sdfeb2151b9e78d4d:`enthält nicht`,se01bc9eea39688ad:`Monat im Jahr`,se0955919920ee87d:`Tag`,se211e3d21bbf3bff:`Maß`,se2b7530e30fa607d:`Periodenvergleich`,se2d6ee866b592a9f:`mehr als (x) Perioden her`,se3a1aa0525f22ee4:`Kennzahlen`,se415bbea6c976fb1:`Gruppieren nach`,se5316cbaa025f028:`nächste`,se715be190539325a:`vor`,se8ddc90a9d7c709d:`Ebene`,se9e535bb9591039e:`Ausdruck auswählen`,se9ff6e9a514d8cf9:`Montag`,sea4f08110bb8f15d:`Entfernen`,seb4eae68d45315b7:`Minimum`,seb9c440de1ce6044:`beginnt mit`,sec2f608650e36ac5:`letzte abgeschlossene Periode`,secf42ec1c7c47be2:`fehlt nicht`,sed1e9f2d0f29e036:`Kein Gewicht`,sed522484748a787d:`Element wird erstellt...`,see0ec27fb03d880e:`Minuten`,sef49aec68fd1dc66:`Name`,sf095cc47a4ff9c3d:`Formel`,sf518b78d9734f57b:`beginnt nicht mit`,sf6cda8263b3170af:`Verwenden Sie den Zeitraum bis heute für unvollständige Zeiträume`,sf6dd5d79bf159456:`Prompt-Vorschläge`,sf70eaf9ab4c93082:`nicht enth`,sf9c10516a62a23db:`Anzeigen als`,sfa069719a050be66:`UND`,sfa2d0aa30ee5aa58:`letzte (x) Perioden`,sfad9ed343e97551c:`Vergangener Wert`,sfb9e6d0c6baa99f5:`Passt dem Datumsbereich, der in der Tabelle oder im Diagramm sichtbar ist`,sfbac36245480ddbc:`Trennzeichen`,sfda1c9d0be35cec8:`Quartal bis heute`,sff5bb7742c2896c8:`Zielwert`,sffa721bb6aa3128d:`Suchen...`,"slot-label-name":`Name`,"slot-label-time":`Zeit`};exports.templates=t;
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-Bfz2tg_G.cjs`);exports.LuzmoDisplaySettings=e.t;
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../display-settings-
|
|
27
|
+
import { t as e } from "../display-settings-DWoUj0P7.js";
|
|
28
28
|
export { e as LuzmoDisplaySettings };
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
require(`./chunk-i8uDWG73.cjs`);const e=require(`./base-
|
|
20
|
+
require(`./chunk-i8uDWG73.cjs`);const e=require(`./base-iNk9N4Tk.cjs`),t=require(`./decorate-BfLyr4NV.cjs`),n=require(`./formatter-BblIPq_5.cjs`);let r=require(`@luzmo/icons`),i=require(`lit`),a=require(`lit/decorators.js`),o=require(`@lit/localize`);require(`@luzmo/lucero/icon`),require(`@luzmo/lucero/tooltip`);let s=require(`@lit-labs/signals`),c=require(`@lit/context`),l=require(`@lit/task`);require(`@luzmo/lucero/action-button`),require(`@luzmo/lucero/divider`),require(`@luzmo/lucero/field-label`),require(`@luzmo/lucero/multi-language-field`),require(`@luzmo/lucero/progress-circle`),require(`@luzmo/lucero/text-field`);var u=(0,c.createContext)(Symbol(`slot-store-context`)),d=`:host{font-family:var(--luzmo-display-settings-font-family,var(--luzmo-font-family));font-size:var(--luzmo-display-settings-font-size,var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color,var(--luzmo-font-color))}.settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}.settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-gap,var(--display-settings-gap));display:flex}luzmo-divider{margin:var(--luzmo-display-settings-ids-container-vertical-margin,var(--display-settings-ids-container-vertical-margin)) 0}luzmo-tooltip{--tooltip-font-size:var(--luzmo-display-settings-tooltip-font-size,var(--tooltip-font-size))}.setting{align-items:center;display:flex}.label-action-container{justify-content:space-between;align-items:center;gap:var(--luzmo-display-settings-info-to-remove-icon-gap,var(--display-settings-info-to-remove-icon-gap));display:flex}.label-action-container luzmo-action-button{margin-inline-start:var(--luzmo-spacing-2)}.ids-container{gap:var(--luzmo-display-settings-ids-container-gap,var(--luzmo-spacing-2));border-radius:50%;flex-direction:column;display:flex}.id-label{text-transform:var(--luzmo-display-settings-id-label-text-transform,var(--display-settings-id-label-text-transform));font-size:var(--luzmo-display-settings-id-label-font-size,var(--display-settings-id-label-font-size));color:var(--luzmo-display-settings-id-label-color,var(--display-settings-id-label-color))}.id-value{-webkit-user-select:text;user-select:text;cursor:text}.example-container{line-height:var(--luzmo-display-settings-example-height,var(--display-settings-example-height));font-size:var(--luzmo-display-settings-example-font-size,var(--display-settings-example-font-size));color:var(--luzmo-display-settings-example-color,var(--display-settings-example-color))}.example-container .example-label{font-weight:var(--luzmo-display-settings-example-label-font-weight,var(--display-settings-example-label-font-weight));color:var(--luzmo-display-settings-example-label-color,var(--display-settings-example-label-color))}.example-container .example-language{text-transform:uppercase;color:var(--luzmo-display-settings-example-language-color,var(--display-settings-example-language-color))}.example-container{gap:var(--luzmo-display-settings-example-container-gap,var(--luzmo-spacing-2))}:host{--display-settings-font-family:var(--luzmo-font-family);--display-settings-id-label-text-transform:uppercase;--display-settings-id-label-color:var(--luzmo-secondary);--display-settings-font-size:var(--luzmo-font-size);--display-settings-id-label-font-size:var(--luzmo-font-size-s);--display-settings-gap:var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin:var(--luzmo-spacing-4);--display-settings-info-to-remove-icon-gap:var(--luzmo-spacing-5)}:host([size=s]){--display-settings-id-label-font-size:var(--luzmo-font-size-s);--display-settings-font-size:var(--luzmo-font-size-s);--display-settings-gap:var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin:var(--luzmo-spacing-3);--display-settings-info-to-remove-icon-gap:var(--luzmo-spacing-4)}:host([size=l]){--display-settings-id-label-font-size:var(--luzmo-font-size);--display-settings-font-size:var(--luzmo-font-size-l);--display-settings-gap:var(--luzmo-spacing-4);--display-settings-ids-container-vertical-margin:var(--luzmo-spacing-5);--display-settings-info-to-remove-icon-gap:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1))}:host([size=xl]){--display-settings-id-label-font-size:var(--luzmo-font-size-l);--display-settings-font-size:var(--luzmo-font-size-xl);--display-settings-gap:var(--luzmo-spacing-5);--display-settings-ids-container-vertical-margin:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--display-settings-info-to-remove-icon-gap:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2))}:host{--display-settings-example-font-size:var(--luzmo-font-size);--display-settings-example-color:var(--luzmo-font-color);--display-settings-example-label-font-weight:bold;--display-settings-example-label-color:var(--luzmo-primary);--display-settings-example-language-color:var(--luzmo-primary);--display-settings-example-height:var(--luzmo-component-height)}:host([size=s]){--display-settings-example-height:var(--luzmo-component-height-s);--display-settings-example-font-size:var(--luzmo-font-size-s)}:host([size=l]){--display-settings-example-height:var(--luzmo-component-height-l);--display-settings-example-font-size:var(--luzmo-font-size)}:host([size=xl]){--display-settings-example-height:var(--luzmo-component-height-xl);--display-settings-example-font-size:var(--luzmo-font-size-l)}`,f=class extends (0,s.SignalWatcher)(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this._loadDisplaySettings=new l.Task(this,{task:async([e,t,n,r,i,a])=>{let o=[];a&&o.push(`grandTotals`),n&&o.push(`periodOverPeriod`),(e===`numeric`||e===`mixed`&&this._currentSlotContent?.type===`numeric`)&&o.push(`numeric`),e!==`numeric`&&this._currentSlotContent?.type===`datetime`&&o.push(`datetime`),![`numeric`,`mixed`].includes(e??``)&&this._currentSlotContent?.type===`numeric`&&!r&&o.push(`binning`),n&&!this._settingsTypeLoaded.periodOverPeriod&&(await Promise.resolve().then(()=>require(`./display-settings-period-over-period/index.cjs`)),this._settingsTypeLoaded.periodOverPeriod=!0),o.length>0&&!t&&(o.includes(`numeric`)&&!this._settingsTypeLoaded.numeric?(await Promise.resolve().then(()=>require(`./display-settings-numeric/index.cjs`)),this._settingsTypeLoaded.numeric=!0):o.includes(`datetime`)&&!this._settingsTypeLoaded.datetime&&i?(await Promise.resolve().then(()=>require(`./display-settings-datetime/index.cjs`)),this._settingsTypeLoaded.datetime=!0):o.includes(`binning`)&&!this._settingsTypeLoaded.binning?(await Promise.resolve().then(()=>require(`./display-settings-binning/index.cjs`)),this._settingsTypeLoaded.binning=!0):o.includes(`grandTotals`)&&!this._settingsTypeLoaded.grandTotals&&(await Promise.resolve().then(()=>require(`./display-settings-grand-totals/index.cjs`)),this._settingsTypeLoaded.grandTotals=!0))},args:()=>[this.slotType,this.hideDisplaySettings,this._store?.periodOverPeriodUiType.get(),this.isBinningDisabled,this.areDatetimeOptionsEnabled,this.areGrandTotalsEnabled,this.slotContent]}),this.language=`en`,this.contentLanguage=`en`,this.slotType=`numeric`,this.slotContent={},this._showIds=!1,this.measureColumns=[],this._settingsTypeLoaded={binning:!1,datetime:!1,numeric:!1,grandTotals:!1,periodOverPeriod:!1,hierarchy:!0},this._currentSlotContent={}}static get styles(){return[(0,i.unsafeCSS)(d)]}_datasetDatetimeColumns(){return this._store?.linkedDataset.get().flatMap(e=>e.columns?.filter(e=>e.type===`datetime`).map(t=>({...t,datasetId:e.id})))}willUpdate(e){let t=this._store?.activeSlotContents.get(),n=this._store?.periodOverPeriodUiType.get();if(this.periodOverPeriodUiType!==n&&(this.periodOverPeriodUiType=n),this._store){t!==this._lastStoreContent&&(this._lastStoreContent=t,this._currentSlotContent=t?structuredClone(t):{});return}if(e.has(`slotContent`)||Object.keys(this._currentSlotContent).length===0){let e=this.slotContent;e&&(this._currentSlotContent=structuredClone(e))}}get datasetId(){return this._currentSlotContent.datasetId??this._currentSlotContent.set}get formulaOrColumnId(){return this._currentSlotContent.formula??this._currentSlotContent.columnId??this._currentSlotContent.column}resetInfoVisibility(e){this._showIds&&this._toggleIds(e)}_onSlotContentChange(e){e.stopPropagation(),e.preventDefault(),this._currentSlotContent=structuredClone(e.detail.slotContent),this._sendEvent(),this.requestUpdate()}_onLabelChange(){this._currentSlotContent=structuredClone(this._currentSlotContent),this._currentSlotContent.label=this._multiLanguageFieldElement.value||{},this._sendEvent(),this.requestUpdate()}_sendEvent(){this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this._currentSlotContent}}})),this._store&&(this._store.updateContent({...this._currentSlotContent}),this._lastStoreContent=this._store.activeSlotContents.get())}_removeEvent(){this.dispatchEvent(new CustomEvent(`luzmo-remove-slot-content`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}_toggleIds(e=!0){this._showIds=!this._showIds,e&&this.dispatchEvent(new CustomEvent(`luzmo-info-visibility-changed`,{detail:{isVisible:this._showIds,slotContent:{...this._currentSlotContent}}}))}_renderExampleRow(){let e=this.slotType===`numeric`||this.slotType===`mixed`&&this._currentSlotContent.type===`numeric`,t=this.slotType!==`datetime`&&this._currentSlotContent.type===`datetime`&&this.areDatetimeOptionsEnabled;if(!(e||t))return i.nothing;let r=!this._currentSlotContent.datetimeDisplayMode||this._currentSlotContent.datetimeDisplayMode===`default`,a=e?1234.56:r?new Date:1,s=n.t({...this._currentSlotContent,type:e?`numeric`:`datetime`},{locale:this.contentLanguage,level:this._currentSlotContent.level})(a);return i.html`<div class="settings-row example-container">
|
|
21
21
|
<span class="example-label"
|
|
22
22
|
>${(0,o.msg)(`Example`,{desc:`Label for example`})}:</span
|
|
23
23
|
>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { i as e, n as t, t as n } from "./base-
|
|
20
|
+
import { i as e, n as t, t as n } from "./base-D82dU2vv.js";
|
|
21
21
|
import { t as r } from "./decorate-DKLaHs_w.js";
|
|
22
22
|
import { t as i } from "./formatter-B-7UHTKd.js";
|
|
23
23
|
import { luzmoIcon as a, luzmoInfoCircleOutline as o, luzmoTrashOutline as s } from "@luzmo/icons";
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-binning-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-binning-Cf1QlQy6.cjs`);Object.defineProperty(exports,`LuzmoDisplaySettingsBinning`,{enumerable:!0,get:function(){return e.t}});
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../display-settings-binning-
|
|
27
|
+
import { t as e } from "../display-settings-binning-BIBzOWZA.js";
|
|
28
28
|
export { e as LuzmoDisplaySettingsBinning };
|
package/components/{display-settings-binning-B8qUIt6T.js → display-settings-binning-BIBzOWZA.js}
RENAMED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { i as e, n as t, t as n } from "./base-
|
|
20
|
+
import { i as e, n as t, t as n } from "./base-D82dU2vv.js";
|
|
21
21
|
import { t as r } from "./decorate-DKLaHs_w.js";
|
|
22
|
-
import { t as i } from "./localized-mixin-
|
|
22
|
+
import { t as i } from "./localized-mixin-XqTi4F7d.js";
|
|
23
23
|
import { luzmoCheckbox as a, luzmoCheckboxChecked as o } from "@luzmo/icons";
|
|
24
24
|
import { html as s, unsafeCSS as c } from "lit";
|
|
25
25
|
import { property as l, query as u, state as d } from "lit/decorators.js";
|
package/components/{display-settings-binning-CpwCqvwm.cjs → display-settings-binning-Cf1QlQy6.cjs}
RENAMED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
require(`./chunk-i8uDWG73.cjs`);const e=require(`./base-
|
|
20
|
+
require(`./chunk-i8uDWG73.cjs`);const e=require(`./base-iNk9N4Tk.cjs`),t=require(`./decorate-BfLyr4NV.cjs`),n=require(`./localized-mixin-AEA3w4H0.cjs`);let r=require(`@luzmo/icons`),i=require(`lit`),a=require(`lit/decorators.js`),o=require(`@lit/localize`);require(`@luzmo/lucero/icon`),require(`@luzmo/lucero/action-button`),require(`@luzmo/lucero/field-label`),require(`@luzmo/lucero/number-field`);var s=`:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-binning-gap,var(--display-settings-binning-gap));display:flex}:host,:host([size=s]){--display-settings-binning-gap:var(--luzmo-spacing-3)}:host([size=l]){--display-settings-binning-gap:var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-binning-gap:var(--luzmo-spacing-5)}`,c=class extends n.t(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this.slotContent={},this._enabled=!1,this._binWidth=10}static get styles(){return[(0,i.unsafeCSS)(s)]}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._enabled=this.slotContent?.bins?.enabled??!1,this._binWidth=this.slotContent?.bins?.number??10)}toggleBinning(){this._enabled=!this._enabled,this.sendEvent()}setBinning(){this._binWidth=this.binWidthElement.value,this.sendEvent()}sendEvent(){let e={enabled:!!this._enabled,number:this._binWidth??10};this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,bins:e}}}))}renderBinWidth(){return i.html`<div class="setting">
|
|
21
21
|
<luzmo-field-label for="bin-width"
|
|
22
22
|
>${(0,o.msg)(`Bin width`,{desc:`The width of each bin in the histogram`})}</luzmo-field-label
|
|
23
23
|
>
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-datetime-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-datetime-C76Et2ED.cjs`);Object.defineProperty(exports,`LuzmoDisplaySettingsDatetime`,{enumerable:!0,get:function(){return e.t}});
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../display-settings-datetime-
|
|
27
|
+
import { t as e } from "../display-settings-datetime-DGlj31eD.js";
|
|
28
28
|
export { e as LuzmoDisplaySettingsDatetime };
|
package/components/{display-settings-datetime-3M3DvzTN.cjs → display-settings-datetime-C76Et2ED.cjs}
RENAMED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
require(`./chunk-i8uDWG73.cjs`);const e=require(`./base-HUGXYn6t.cjs`),t=require(`./decorate-BfLyr4NV.cjs`),n=require(`./localized-mixin-CxGNXOcg.cjs`),r=require(`./formatter-BblIPq_5.cjs`),i=require(`./periods.const-BxFA8cFJ.cjs`);let a=require(`@luzmo/icons`),o=require(`lit`),s=require(`lit/decorators.js`),c=require(`@lit/localize`);require(`@luzmo/lucero/icon`);let l=require(`@lit/task`);require(`@luzmo/lucero/action-button`),require(`@luzmo/lucero/field-label`),require(`@luzmo/lucero/progress-circle`),require(`@luzmo/lucero/number-field`),require(`@luzmo/lucero/action-group`),require(`@luzmo/lucero/picker`);var u={"~":()=>(0,c.msg)(`Auto`,{desc:`Automatic setting of the option`}),"/":()=>`/`,"-":()=>`-`,".":()=>`.`},d=`:host{font-family:var(--luzmo-display-settings-datetime-font-family,var(--luzmo-font-family))}:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-datetime-gap,var(--display-settings-datetime-gap));display:flex}:host{--display-settings-datetime-example-font-size:var(--luzmo-font-size-s);--display-settings-datetime-example-color:var(--luzmo-font-color);--display-settings-datetime-example-label-font-weight:bold;--display-settings-datetime-example-label-color:var(--luzmo-primary);--display-settings-datetime-example-language-color:var(--luzmo-primary);--display-settings-datetime-gap:var(--luzmo-spacing-3);--display-settings-datetime-example-height:var(--luzmo-component-height)}:host([size=s]){--display-settings-datetime-gap:var(--luzmo-spacing-3);--display-settings-datetime-example-height:var(--luzmo-component-height-s);--display-settings-datetime-example-font-size:var(--luzmo-font-size-s)}:host([size=l]){--display-settings-datetime-gap:var(--luzmo-spacing-4);--display-settings-datetime-example-height:var(--luzmo-component-height-l);--display-settings-datetime-example-font-size:var(--luzmo-font-size)}:host([size=xl]){--display-settings-datetime-gap:var(--luzmo-spacing-5);--display-settings-datetime-example-height:var(--luzmo-component-height-xl);--display-settings-datetime-example-font-size:var(--luzmo-font-size-l)}`,f=class extends n.t(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this._loadLocaleFormatsConfig=new l.Task(this,{task:async([e])=>{if(e&&e!==this._contentLanguageLoaded){let t=Object.assign({"../../utils/formatter/formats/cs.ts":()=>Promise.resolve().then(()=>require(`./cs-DtPd2kHl.cjs`)),"../../utils/formatter/formats/da.ts":()=>Promise.resolve().then(()=>require(`./da-BL7okidt.cjs`)),"../../utils/formatter/formats/de.ts":()=>Promise.resolve().then(()=>require(`./de-azhozn1j.cjs`)),"../../utils/formatter/formats/en-GB.ts":()=>Promise.resolve().then(()=>require(`./en-GB-DLOw3NUy.cjs`)),"../../utils/formatter/formats/en-US.ts":()=>Promise.resolve().then(()=>require(`./en-US-DYHuHrUJ.cjs`)),"../../utils/formatter/formats/en.ts":()=>Promise.resolve().then(()=>require(`./en-DrHAQ7-o.cjs`)),"../../utils/formatter/formats/es.ts":()=>Promise.resolve().then(()=>require(`./es-N3YBMw-E.cjs`)),"../../utils/formatter/formats/fi.ts":()=>Promise.resolve().then(()=>require(`./fi-D6zhsSlb.cjs`)),"../../utils/formatter/formats/fr.ts":()=>Promise.resolve().then(()=>require(`./fr-CEQxQT14.cjs`)),"../../utils/formatter/formats/he.ts":()=>Promise.resolve().then(()=>require(`./he-QOggkiXk.cjs`)),"../../utils/formatter/formats/hu.ts":()=>Promise.resolve().then(()=>require(`./hu-D6a9TGu3.cjs`)),"../../utils/formatter/formats/it.ts":()=>Promise.resolve().then(()=>require(`./it-iB0BKfeS.cjs`)),"../../utils/formatter/formats/ja.ts":()=>Promise.resolve().then(()=>require(`./ja-BRAISy7Q.cjs`)),"../../utils/formatter/formats/ko.ts":()=>Promise.resolve().then(()=>require(`./ko-CG0RTrAk.cjs`)),"../../utils/formatter/formats/mk.ts":()=>Promise.resolve().then(()=>require(`./mk-CDVycYWF.cjs`)),"../../utils/formatter/formats/nl.ts":()=>Promise.resolve().then(()=>require(`./nl-tnHFrGoq.cjs`)),"../../utils/formatter/formats/no.ts":()=>Promise.resolve().then(()=>require(`./no-BlnVBQ0I.cjs`)),"../../utils/formatter/formats/pl.ts":()=>Promise.resolve().then(()=>require(`./pl-owNLR5Zz.cjs`)),"../../utils/formatter/formats/pt.ts":()=>Promise.resolve().then(()=>require(`./pt-CiG6VXrb.cjs`)),"../../utils/formatter/formats/ru.ts":()=>Promise.resolve().then(()=>require(`./ru-B8HHRGR9.cjs`)),"../../utils/formatter/formats/sv.ts":()=>Promise.resolve().then(()=>require(`./sv-DHQZ-0Jp.cjs`)),"../../utils/formatter/formats/tr.ts":()=>Promise.resolve().then(()=>require(`./tr-DF2bY9ls.cjs`)),"../../utils/formatter/formats/zh-CN.ts":()=>Promise.resolve().then(()=>require(`./zh-CN-ugn0HyKX.cjs`)),"../../utils/formatter/formats/zh-TW.ts":()=>Promise.resolve().then(()=>require(`./zh-TW-C1UNCohz.cjs`))});if(t[`../../utils/formatter/formats/${e}.ts`]){let n=await t[`../../utils/formatter/formats/${e}.ts`]();this._localeFormats=n?.default??{}}return this._contentLanguageLoaded=e,this._localeFormats}},args:()=>[this.contentLanguage]}),this.contentLanguage=`en`,this.size=`m`,this.slotContent={},this._dateLevel=5,this._displayAs=`default`,this._weekStart=`monday`,this._weekDayAndMonthInYearFormat=`long`,this._dateFormat=`auto`,this._dateSeparator=`~`,this._sendEvent=()=>{this._calculateSlotContent(),this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}}static get styles(){return[(0,o.unsafeCSS)(d)]}_parseSlotContent(){this._dateLevel=this.slotContent?.level??this.slotContent?.lowestLevel??5,this._displayAs=this.slotContent?.datetimeDisplayMode??`default`,this._displayAs===`weekday_number`&&(this._displayAs=`day_in_week`,this._weekDayAndMonthInYearFormat=`number`),this._displayAs===`weekday_name`&&(this._displayAs=`day_in_week`),this._displayAs===`month_number`&&(this._displayAs=`month_in_year`,this._weekDayAndMonthInYearFormat=`number`),this._displayAs===`month_name`&&(this._displayAs=`month_in_year`),this._parseSavedFormat()}_parseSavedFormat(){let e=this.slotContent?.format??`%d-%m-%Y`,t=e.match(/[./-]/);if(this._dateSeparator=e.includes(`~`)?`~`:t?.[0]??`~`,e.includes(`%amd`))this._dateFormat=`auto`;else{let t=e.indexOf(`%d`),n=e.indexOf(`%m`);t!==-1&&n!==-1&&(this._dateFormat=t<n?`ddmm`:`mmdd`)}this._24hFormat=e.includes(`%H`),this._monthName=/%B|%b/.test(e),this._weekDay=/%a|%A/.test(e),this._monthName&&(this._monthNameFormat=e.includes(`%b`)?`short`:`long`),this._weekDay&&(this._weekDayAndMonthInYearFormat=e.includes(`%a`)?`short`:`long`);let n=this._dateLevel===5&&this.slotContent?.weekDayNameFormat||this._dateLevel===3&&this.slotContent?.monthNameFormat;n&&(this._weekDayAndMonthInYearFormat=n)}_calculateFormat(){let e,t=this._localeFormats?.smartDateFormats??r.r;this._monthName?(e=t.filter(e=>e.monthType===`name`&&e.longText===(this._monthNameFormat===`long`)&&e.weekday===this._weekDay),e.length>0?this._format=e[0].key:(this._weekDayAndMonthInYearFormat=`short`,this._weekDay=!0,this._format=`%a %e %B %Y`)):(e=this._dateLevel&&this._dateLevel===4?t.filter(e=>e.monthType===`number`&&e.mmdd===(this._weekFormat===`mmdd`?!0:this._weekFormat===`ddmm`?!1:null)&&e.separator===this._dateSeparator):t.filter(e=>e.monthType===`number`&&e.mmdd===(this._dateFormat===`mmdd`?!0:this._dateFormat===`ddmm`?!1:null)&&e.separator===this._dateSeparator),this._dateFormat===`auto`&&this._dateLevel&&this._dateLevel!==4?this._format=`%amd`+this._dateSeparator+`%Y`:e.length>0?this._format=e[0].key:(this._dateFormat=`ddmm`,this._dateSeparator=`/`,this._format=`%d/%m/%Y`)),this._dateLevel&&this._dateLevel>5&&(this._format+=this._24hFormat?` %H:%M:%S.%L`:` %I:%M:%S.%L %p`)}_setWeekStartsOn(){this._weekStart=this._weekStartElement.value,this._sendEvent(),this.requestUpdate()}_setDisplayAs(){this._displayAs=this._displayAsElement.value,this._sendEvent(),this.requestUpdate()}_setWeekdayAndMonthInYearFormat(){this._weekDayAndMonthInYearFormat=this._weekDayAndMonthInYearFormatElement.selected?.[0]??`long`,this._sendEvent(),this.requestUpdate()}_setMonthNameFormat(){this._monthNameFormat=this._monthNameFormatElement.selected?.[0],this._sendEvent(),this.requestUpdate()}_setMonthName(){this._monthName=this._monthNameElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekFormat(){this._weekFormat=this._weekFormatElement.selected?.[0],this._sendEvent(),this.requestUpdate()}_setDateFormat(){this._dateFormat=this._dateFormatElement.value,this._sendEvent(),this.requestUpdate()}_setDateSeparator(){this._dateSeparator=this._dateSeparatorElement.value,this._sendEvent(),this.requestUpdate()}_set24hFormat(){this._24hFormat=this._format24hElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekday(){this._weekDay=this._weekDayElement.selected,this._sendEvent(),this.requestUpdate()}_calculateSlotContent(){this._currentSlotContent={...this.slotContent},this._calculateFormat(),this._currentSlotContent.format=this._format,this._displayAs===`default`?delete this._currentSlotContent.datetimeDisplayMode:(this._currentSlotContent.datetimeDisplayMode=this._displayAs,this._displayAs===`week_in_year`?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`week_number`:`week_name`:this._displayAs===`month_in_year`?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`month_number`:`month_name`:this._displayAs===`day_in_week`&&(this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`weekday_number`:`weekday_name`,this._currentSlotContent.weekStart=this._weekStart),this._weekDayAndMonthInYearFormat&&(this._dateLevel===3?this._currentSlotContent.monthNameFormat=this._weekDayAndMonthInYearFormat:this._dateLevel===5&&(this._currentSlotContent.weekDayNameFormat=this._weekDayAndMonthInYearFormat)))}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._parseSlotContent(),this._calculateSlotContent())}_renderDisplaySettings(){let e=i.t?.[`level${this._dateLevel??0}`]?.map(e=>o.html`<luzmo-menu-item value=${e.key}>
|
|
20
|
+
require(`./chunk-i8uDWG73.cjs`);const e=require(`./base-iNk9N4Tk.cjs`),t=require(`./decorate-BfLyr4NV.cjs`),n=require(`./localized-mixin-AEA3w4H0.cjs`),r=require(`./formatter-BblIPq_5.cjs`),i=require(`./periods.const-BxFA8cFJ.cjs`);let a=require(`@luzmo/icons`),o=require(`lit`),s=require(`lit/decorators.js`),c=require(`@lit/localize`);require(`@luzmo/lucero/icon`);let l=require(`@lit/task`);require(`@luzmo/lucero/action-button`),require(`@luzmo/lucero/field-label`),require(`@luzmo/lucero/progress-circle`),require(`@luzmo/lucero/number-field`),require(`@luzmo/lucero/action-group`),require(`@luzmo/lucero/picker`);var u={"~":()=>(0,c.msg)(`Auto`,{desc:`Automatic setting of the option`}),"/":()=>`/`,"-":()=>`-`,".":()=>`.`},d=`:host{font-family:var(--luzmo-display-settings-datetime-font-family,var(--luzmo-font-family))}:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-datetime-gap,var(--display-settings-datetime-gap));display:flex}:host{--display-settings-datetime-example-font-size:var(--luzmo-font-size-s);--display-settings-datetime-example-color:var(--luzmo-font-color);--display-settings-datetime-example-label-font-weight:bold;--display-settings-datetime-example-label-color:var(--luzmo-primary);--display-settings-datetime-example-language-color:var(--luzmo-primary);--display-settings-datetime-gap:var(--luzmo-spacing-3);--display-settings-datetime-example-height:var(--luzmo-component-height)}:host([size=s]){--display-settings-datetime-gap:var(--luzmo-spacing-3);--display-settings-datetime-example-height:var(--luzmo-component-height-s);--display-settings-datetime-example-font-size:var(--luzmo-font-size-s)}:host([size=l]){--display-settings-datetime-gap:var(--luzmo-spacing-4);--display-settings-datetime-example-height:var(--luzmo-component-height-l);--display-settings-datetime-example-font-size:var(--luzmo-font-size)}:host([size=xl]){--display-settings-datetime-gap:var(--luzmo-spacing-5);--display-settings-datetime-example-height:var(--luzmo-component-height-xl);--display-settings-datetime-example-font-size:var(--luzmo-font-size-l)}`,f=class extends n.t(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this._loadLocaleFormatsConfig=new l.Task(this,{task:async([e])=>{if(e&&e!==this._contentLanguageLoaded){let t=Object.assign({"../../utils/formatter/formats/cs.ts":()=>Promise.resolve().then(()=>require(`./cs-DtPd2kHl.cjs`)),"../../utils/formatter/formats/da.ts":()=>Promise.resolve().then(()=>require(`./da-BL7okidt.cjs`)),"../../utils/formatter/formats/de.ts":()=>Promise.resolve().then(()=>require(`./de-azhozn1j.cjs`)),"../../utils/formatter/formats/en-GB.ts":()=>Promise.resolve().then(()=>require(`./en-GB-DLOw3NUy.cjs`)),"../../utils/formatter/formats/en-US.ts":()=>Promise.resolve().then(()=>require(`./en-US-DYHuHrUJ.cjs`)),"../../utils/formatter/formats/en.ts":()=>Promise.resolve().then(()=>require(`./en-DrHAQ7-o.cjs`)),"../../utils/formatter/formats/es.ts":()=>Promise.resolve().then(()=>require(`./es-N3YBMw-E.cjs`)),"../../utils/formatter/formats/fi.ts":()=>Promise.resolve().then(()=>require(`./fi-D6zhsSlb.cjs`)),"../../utils/formatter/formats/fr.ts":()=>Promise.resolve().then(()=>require(`./fr-CEQxQT14.cjs`)),"../../utils/formatter/formats/he.ts":()=>Promise.resolve().then(()=>require(`./he-QOggkiXk.cjs`)),"../../utils/formatter/formats/hu.ts":()=>Promise.resolve().then(()=>require(`./hu-D6a9TGu3.cjs`)),"../../utils/formatter/formats/it.ts":()=>Promise.resolve().then(()=>require(`./it-iB0BKfeS.cjs`)),"../../utils/formatter/formats/ja.ts":()=>Promise.resolve().then(()=>require(`./ja-BRAISy7Q.cjs`)),"../../utils/formatter/formats/ko.ts":()=>Promise.resolve().then(()=>require(`./ko-CG0RTrAk.cjs`)),"../../utils/formatter/formats/mk.ts":()=>Promise.resolve().then(()=>require(`./mk-CDVycYWF.cjs`)),"../../utils/formatter/formats/nl.ts":()=>Promise.resolve().then(()=>require(`./nl-tnHFrGoq.cjs`)),"../../utils/formatter/formats/no.ts":()=>Promise.resolve().then(()=>require(`./no-BlnVBQ0I.cjs`)),"../../utils/formatter/formats/pl.ts":()=>Promise.resolve().then(()=>require(`./pl-owNLR5Zz.cjs`)),"../../utils/formatter/formats/pt.ts":()=>Promise.resolve().then(()=>require(`./pt-CiG6VXrb.cjs`)),"../../utils/formatter/formats/ru.ts":()=>Promise.resolve().then(()=>require(`./ru-B8HHRGR9.cjs`)),"../../utils/formatter/formats/sv.ts":()=>Promise.resolve().then(()=>require(`./sv-DHQZ-0Jp.cjs`)),"../../utils/formatter/formats/tr.ts":()=>Promise.resolve().then(()=>require(`./tr-DF2bY9ls.cjs`)),"../../utils/formatter/formats/zh-CN.ts":()=>Promise.resolve().then(()=>require(`./zh-CN-ugn0HyKX.cjs`)),"../../utils/formatter/formats/zh-TW.ts":()=>Promise.resolve().then(()=>require(`./zh-TW-C1UNCohz.cjs`))});if(t[`../../utils/formatter/formats/${e}.ts`]){let n=await t[`../../utils/formatter/formats/${e}.ts`]();this._localeFormats=n?.default??{}}return this._contentLanguageLoaded=e,this._localeFormats}},args:()=>[this.contentLanguage]}),this.contentLanguage=`en`,this.size=`m`,this.slotContent={},this._dateLevel=5,this._displayAs=`default`,this._weekStart=`monday`,this._weekDayAndMonthInYearFormat=`long`,this._dateFormat=`auto`,this._dateSeparator=`~`,this._sendEvent=()=>{this._calculateSlotContent(),this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}}static get styles(){return[(0,o.unsafeCSS)(d)]}_parseSlotContent(){this._dateLevel=this.slotContent?.level??this.slotContent?.lowestLevel??5,this._displayAs=this.slotContent?.datetimeDisplayMode??`default`,this._displayAs===`weekday_number`&&(this._displayAs=`day_in_week`,this._weekDayAndMonthInYearFormat=`number`),this._displayAs===`weekday_name`&&(this._displayAs=`day_in_week`),this._displayAs===`month_number`&&(this._displayAs=`month_in_year`,this._weekDayAndMonthInYearFormat=`number`),this._displayAs===`month_name`&&(this._displayAs=`month_in_year`),this._parseSavedFormat()}_parseSavedFormat(){let e=this.slotContent?.format??`%d-%m-%Y`,t=e.match(/[./-]/);if(this._dateSeparator=e.includes(`~`)?`~`:t?.[0]??`~`,e.includes(`%amd`))this._dateFormat=`auto`;else{let t=e.indexOf(`%d`),n=e.indexOf(`%m`);t!==-1&&n!==-1&&(this._dateFormat=t<n?`ddmm`:`mmdd`)}this._24hFormat=e.includes(`%H`),this._monthName=/%B|%b/.test(e),this._weekDay=/%a|%A/.test(e),this._monthName&&(this._monthNameFormat=e.includes(`%b`)?`short`:`long`),this._weekDay&&(this._weekDayAndMonthInYearFormat=e.includes(`%a`)?`short`:`long`);let n=this._dateLevel===5&&this.slotContent?.weekDayNameFormat||this._dateLevel===3&&this.slotContent?.monthNameFormat;n&&(this._weekDayAndMonthInYearFormat=n)}_calculateFormat(){let e,t=this._localeFormats?.smartDateFormats??r.r;this._monthName?(e=t.filter(e=>e.monthType===`name`&&e.longText===(this._monthNameFormat===`long`)&&e.weekday===this._weekDay),e.length>0?this._format=e[0].key:(this._weekDayAndMonthInYearFormat=`short`,this._weekDay=!0,this._format=`%a %e %B %Y`)):(e=this._dateLevel&&this._dateLevel===4?t.filter(e=>e.monthType===`number`&&e.mmdd===(this._weekFormat===`mmdd`?!0:this._weekFormat===`ddmm`?!1:null)&&e.separator===this._dateSeparator):t.filter(e=>e.monthType===`number`&&e.mmdd===(this._dateFormat===`mmdd`?!0:this._dateFormat===`ddmm`?!1:null)&&e.separator===this._dateSeparator),this._dateFormat===`auto`&&this._dateLevel&&this._dateLevel!==4?this._format=`%amd`+this._dateSeparator+`%Y`:e.length>0?this._format=e[0].key:(this._dateFormat=`ddmm`,this._dateSeparator=`/`,this._format=`%d/%m/%Y`)),this._dateLevel&&this._dateLevel>5&&(this._format+=this._24hFormat?` %H:%M:%S.%L`:` %I:%M:%S.%L %p`)}_setWeekStartsOn(){this._weekStart=this._weekStartElement.value,this._sendEvent(),this.requestUpdate()}_setDisplayAs(){this._displayAs=this._displayAsElement.value,this._sendEvent(),this.requestUpdate()}_setWeekdayAndMonthInYearFormat(){this._weekDayAndMonthInYearFormat=this._weekDayAndMonthInYearFormatElement.selected?.[0]??`long`,this._sendEvent(),this.requestUpdate()}_setMonthNameFormat(){this._monthNameFormat=this._monthNameFormatElement.selected?.[0],this._sendEvent(),this.requestUpdate()}_setMonthName(){this._monthName=this._monthNameElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekFormat(){this._weekFormat=this._weekFormatElement.selected?.[0],this._sendEvent(),this.requestUpdate()}_setDateFormat(){this._dateFormat=this._dateFormatElement.value,this._sendEvent(),this.requestUpdate()}_setDateSeparator(){this._dateSeparator=this._dateSeparatorElement.value,this._sendEvent(),this.requestUpdate()}_set24hFormat(){this._24hFormat=this._format24hElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekday(){this._weekDay=this._weekDayElement.selected,this._sendEvent(),this.requestUpdate()}_calculateSlotContent(){this._currentSlotContent={...this.slotContent},this._calculateFormat(),this._currentSlotContent.format=this._format,this._displayAs===`default`?delete this._currentSlotContent.datetimeDisplayMode:(this._currentSlotContent.datetimeDisplayMode=this._displayAs,this._displayAs===`week_in_year`?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`week_number`:`week_name`:this._displayAs===`month_in_year`?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`month_number`:`month_name`:this._displayAs===`day_in_week`&&(this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`weekday_number`:`weekday_name`,this._currentSlotContent.weekStart=this._weekStart),this._weekDayAndMonthInYearFormat&&(this._dateLevel===3?this._currentSlotContent.monthNameFormat=this._weekDayAndMonthInYearFormat:this._dateLevel===5&&(this._currentSlotContent.weekDayNameFormat=this._weekDayAndMonthInYearFormat)))}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._parseSlotContent(),this._calculateSlotContent())}_renderDisplaySettings(){let e=i.t?.[`level${this._dateLevel??0}`]?.map(e=>o.html`<luzmo-menu-item value=${e.key}>
|
|
21
21
|
${e.i18n()}
|
|
22
22
|
</luzmo-menu-item>`);return o.html`<div class="setting">
|
|
23
23
|
<luzmo-field-label for="display-as"
|
package/components/{display-settings-datetime-C8JfjDJK.js → display-settings-datetime-DGlj31eD.js}
RENAMED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { i as e, n as t, t as n } from "./base-
|
|
20
|
+
import { i as e, n as t, t as n } from "./base-D82dU2vv.js";
|
|
21
21
|
import { t as r } from "./decorate-DKLaHs_w.js";
|
|
22
|
-
import { t as i } from "./localized-mixin-
|
|
22
|
+
import { t as i } from "./localized-mixin-XqTi4F7d.js";
|
|
23
23
|
import { r as a, t as o } from "./formatter-B-7UHTKd.js";
|
|
24
24
|
import { i as s, r as c, t as l } from "./periods.const-CwCg21Rl.js";
|
|
25
25
|
import { luzmoCheckbox as u, luzmoCheckboxChecked as d } from "@luzmo/icons";
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-grand-totals-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-grand-totals-By98iKXS.cjs`);Object.defineProperty(exports,`LuzmoDisplaySettingsGrandTotals`,{enumerable:!0,get:function(){return e.t}});
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../display-settings-grand-totals-
|
|
27
|
+
import { t as e } from "../display-settings-grand-totals-ZWO02WXj.js";
|
|
28
28
|
export { e as LuzmoDisplaySettingsGrandTotals };
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
require(`./chunk-i8uDWG73.cjs`);const e=require(`./base-
|
|
20
|
+
require(`./chunk-i8uDWG73.cjs`);const e=require(`./base-iNk9N4Tk.cjs`),t=require(`./decorate-BfLyr4NV.cjs`),n=require(`./localized-mixin-AEA3w4H0.cjs`);let r=require(`@luzmo/icons`),i=require(`lit`),a=require(`lit/decorators.js`),o=require(`@lit/localize`);require(`@luzmo/lucero/icon`),require(`@luzmo/lucero/action-button`),require(`@luzmo/lucero/field-label`);let s=require(`lit/directives/if-defined.js`);var c=`:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap,var(--display-settings-grand-totals-gap));display:flex}:host,:host([size=s]){--display-settings-grand-totals-gap:var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap:var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap:var(--luzmo-spacing-5)}`,l=class extends n.t(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this.slotContent={}}static get styles(){return[(0,i.unsafeCSS)(c)]}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._enabled=this.slotContent?.grandTotals?.enabled??!1)}toggleGrandTotals(){this._enabled=!this._enabled,this.sendEvent()}sendEvent(){let e={enabled:!!this._enabled};this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,grandTotals:e}}}))}render(){return i.html`<div class="settings-container">
|
|
21
21
|
<div class="settings-row">
|
|
22
22
|
<div class="setting">
|
|
23
23
|
<luzmo-field-label for="grand-totals"
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { i as e, n as t, t as n } from "./base-
|
|
20
|
+
import { i as e, n as t, t as n } from "./base-D82dU2vv.js";
|
|
21
21
|
import { t as r } from "./decorate-DKLaHs_w.js";
|
|
22
|
-
import { t as i } from "./localized-mixin-
|
|
22
|
+
import { t as i } from "./localized-mixin-XqTi4F7d.js";
|
|
23
23
|
import { luzmoCheckbox as a, luzmoCheckboxChecked as o } from "@luzmo/icons";
|
|
24
24
|
import { html as s, unsafeCSS as c } from "lit";
|
|
25
25
|
import { property as l, state as u } from "lit/decorators.js";
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-numeric-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-numeric-BPKl9ljn.cjs`);Object.defineProperty(exports,`LuzmoDisplaySettingsNumeric`,{enumerable:!0,get:function(){return e.t}});
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../display-settings-numeric-
|
|
27
|
+
import { t as e } from "../display-settings-numeric-DHvjUxmC.js";
|
|
28
28
|
export { e as LuzmoDisplaySettingsNumeric };
|
package/components/{display-settings-numeric-B51KddXI.cjs → display-settings-numeric-BPKl9ljn.cjs}
RENAMED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
require(`./chunk-i8uDWG73.cjs`);const e=require(`./base-HUGXYn6t.cjs`),t=require(`./decorate-BfLyr4NV.cjs`),n=require(`./localized-mixin-CxGNXOcg.cjs`),r=require(`./calculate-data-field-icon-DZN47Tts.cjs`),i=require(`./localize-BKptOXuV.cjs`),a=require(`./decompose-numeric-format-DuZkAMnU.cjs`);let o=require(`@luzmo/icons`),s=require(`@luzmo/lucero/overlay`);require(`@luzmo/lucero/popover`);let c=require(`lit`),l=require(`lit/decorators.js`),u=require(`@lit/localize`);require(`@luzmo/lucero/tooltip`),require(`@luzmo/lucero/action-button`),require(`@luzmo/lucero/field-label`),require(`@luzmo/lucero/number-field`),require(`@luzmo/lucero/action-group`),require(`@luzmo/lucero/picker`),require(`@luzmo/lucero/menu`);var d=`:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-numeric-gap,var(--display-settings-numeric-gap));display:flex}.duration-angle-down-icon{margin-inline-start:var(--luzmo-numeric-duration-levels-dropdown-icon-margin-inline-start,var(--numeric-duration-levels-dropdown-icon-margin-inline-start))}.dataset-header{white-space:nowrap;text-overflow:ellipsis;text-transform:uppercase;max-width:100%;color:var(--luzmo-font-color);white-space:nowrap;cursor:default;margin:.5rem 1rem;font-weight:600;overflow:hidden}.no-weight-label{margin-left:1rem}.with-secondary-icon{clip-path:polygon(0 0,60% 0,65% 60%,100% 65%,100% 100%,0 100%)}.secondary-icon{width:auto;font-size:.75em;line-height:1;position:absolute;bottom:45%;left:60%}.data-icon-type{text-align:center;width:1.5rem;display:inline-block;position:relative}:host{--display-settings-numeric-gap:var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-2)}:host([size=s]){--display-settings-numeric-gap:var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-1)}:host([size=l]){--display-settings-numeric-gap:var(--luzmo-spacing-4);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-3)}:host([size=xl]){--display-settings-numeric-gap:var(--luzmo-spacing-5);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-4)}`,f={sum:()=>(0,u.msg)(`Sum`,{desc:`Numeric Aggregation option`}),cumulativesum:()=>(0,u.msg)(`Cumulative sum`,{desc:`Numeric Aggregation option`}),average:()=>(0,u.msg)(`Average`,{desc:`Numeric Aggregation option`}),median:()=>(0,u.msg)(`Median`,{desc:`Numeric Aggregation option`}),count:()=>(0,u.msg)(`Count rows`,{desc:`Numeric Aggregation option`}),distinctcount:()=>(0,u.msg)(`Count distinct`,{desc:`Numeric Aggregation option`}),min:()=>(0,u.msg)(`Minimum`,{desc:`Numeric Aggregation option`}),max:()=>(0,u.msg)(`Maximum`,{desc:`Numeric Aggregation option`}),stddev:()=>(0,u.msg)(`Standard deviation`,{desc:`Numeric Aggregation option`}),rate:()=>(0,u.msg)(`Rate`,{desc:`Numeric Aggregation option`})},p={general:`123`,percentage:`%`,scientific:`SI`},m={time:()=>(0,u.msg)(`Time`,{desc:`Time format option`}),short:()=>(0,u.msg)(`Short`,{desc:`Short format option`}),long:()=>(0,u.msg)(`Long`,{desc:`Long format option`})},h={Auto:{auto:!0,label:()=>(0,u.msg)(`Auto`,{desc:`Automatic setting of the option`})},"1,000.00":{auto:!1,label:()=>`1,000.00`,thousandSeparator:`,`,decimalSeparator:`.`,hiddenFor:`scientific`},"1.000,00":{auto:!1,label:()=>`1.000,00`,thousandSeparator:`.`,decimalSeparator:`,`,hiddenFor:`scientific`},"1000.00":{auto:!1,label:()=>`1000.00`,decimalSeparator:`.`},"1000,00":{auto:!1,label:()=>`1000,00`,decimalSeparator:`,`}},g={levels:[{level:1,label:`years`},{level:2,label:`quarters`},{level:3,label:`months`},{level:4,label:`weeks`},{level:5,label:`days`},{level:6,label:`hours`},{level:7,label:`minutes`},{level:8,label:`seconds`},{level:9,label:`milliseconds`}]},_=class extends n.t(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this.slotContent={},this.measureColumns=[],this._durationLevels=[],this._renderDurationLevelMenu=!1,this._handleSlottableRequest=e=>{this._renderDurationLevelMenu=e.data!==s.removeSlottableRequest},this._sendEvent=()=>{let e={...this.slotContent,format:this._format,aggregationFunc:this._aggregationFunc};this._aggregationWeightColumn?e.aggregationWeight={...this._aggregationWeightColumn}:delete e.aggregationWeight,this._displayMode===`duration`?(e.duration=e.duration??{},e.duration.format=this._durationFormat,e.duration.levels=this._durationLevels):delete e.duration,this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:e}}))}}static get styles(){return[(0,c.unsafeCSS)(d)]}_parseSavedNumericFormatSettings(){if(this._displayMode=this.slotContent?.subtype===`duration`?`duration`:`numeric`,this._durationFormat=this.slotContent?.duration?.format??`short`,this._durationLevels=this.slotContent?.duration?.levels??[1],this._displayMode===`duration`)this._precision=2,this._commaDecimals=!1,this._thousandSeparator=!1;else{this._format=this.slotContent?.format??`.0f`;let e=a.t(this._format??`.0f`);this._isAuto=e.typeFormat?.includes(`a`)??!1,[`%`,`a%`,`y`,`ay`].includes(e.typeFormat)?this._displayAs=`percentage`:[`s`,`as`,`w`,`aw`].includes(e.typeFormat)?this._displayAs=`scientific`:this._displayAs=`general`,this._precision=e.precision?Number.parseInt(e.precision.replace(`.`,``),10):+(this._displayAs===`scientific`),this._commaDecimals=[`z`,`az`,`y`,`ay`,`w`,`aw`].includes(e.typeFormat),this._thousandSeparator=e.comma===`,`,this._isAuto?this._numericFormatGroup=`Auto`:this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup=`1.000,00`:!this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup=`1,000.00`:this._commaDecimals&&!this._thousandSeparator?this._numericFormatGroup=`1000,00`:!this._commaDecimals&&!this._thousandSeparator&&(this._numericFormatGroup=`1000.00`)}}_setNumericDisplayAs(){this._displayAs=this._displayAsElement?.selected?.[0]??`general`,this._displayAs===`scientific`&&(this._precision=Math.max(this._precision??0,1),this._thousandSeparator=!1),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setNumericSeparators(e){let t=h[e?.detail??`Auto`];this._thousandSeparator=[`,`,`.`].includes(t?.thousandSeparator??``),this._commaDecimals=t?.decimalSeparator===`,`,this._isAuto=t?.auto,this._setNumericFormat(),this._sendEvent()}_setPrecision(){Number.isNaN(this._precisionElement.value)&&(this._precisionElement.value=+(this._displayAs===`scientific`)),this._precision=this._precisionElement.value,this._setNumericFormat(),this._sendEvent()}_setNumericFormat(){let e=`f`,t=this.slotContent.subtype===`duration`?this._durationLevels&&this._durationLevels?.length===1?`numeric`:`duration`:`numeric`;if(this._maxDurationLevel=Math.min(...this._durationLevels),t===`duration`)(![`time`,`short`,`long`].includes(this._durationFormat??``)||this._maxDurationLevel<6&&this._durationFormat===`time`)&&(this._durationFormat=`short`);else{let t=this._displayAs??`general`;t===`general`&&this._commaDecimals?e=`z`:t===`percentage`&&this._commaDecimals?e=`y`:t===`scientific`&&this._commaDecimals?e=`w`:t===`percentage`?e=`%`:t===`scientific`&&(e=`s`),this._format=(this._thousandSeparator||this._isAuto?`,`:``)+`.`+this._precision+(this._isAuto?`a`:``)+e}}_setAggregationFunc(){let e=this._aggregationElement.value,t=this._aggregationFunc,n=this.slotContent.format;if(e!==(t===`weightedaverage`?`average`:t)){if(this._aggregationFunc=e===`average`&&this._aggregationWeightColumn?.column?`weightedaverage`:e,t===`rate`){let e=a.t(n),t=[`%`,`y`,`a%`,`ay`].includes(e.typeFormat);this.slotContent.subtype===`currency`&&t&&this._setNumericDisplayAs()}this._sendEvent(),(this._aggregationFunc===`rate`||t===`rate`)&&this.requestUpdate()}}_setAggregationWeight(){let e=this._aggregationWeightElement.value,t=this._aggregationFunc;if(e===`none`)this._aggregationWeightColumn=void 0,this._aggregationFunc===`weightedaverage`&&(this._aggregationFunc=`average`);else{let t,n;for(let r of this.measureColumns??[]){let i=r.columns?.find(t=>t.id===e);if(i){t=i,n=r.datasetId;break}}t&&(this._aggregationWeightColumn={column:t.id,set:n,columnSubType:t.subtype}),this._aggregationFunc===`average`&&(this._aggregationFunc=`weightedaverage`)}this._sendEvent(),this.requestUpdate(),(t===`weightedaverage`&&this._aggregationFunc===`average`||t===`average`&&this._aggregationFunc===`weightedaverage`)&&this.requestUpdate()}_setDurationLevels(){let e=this._durationLevels,t=this._durationLevelsElement.value.split(`,`).filter(e=>e!==``).map(e=>Number.parseInt(e,10));this._durationLevels=(t?.length??0)>=1?t:e,this._maxDurationLevel=Math.min(...this._durationLevels),this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setDurationFormat(){this._durationFormat=this._durationFormatElement?.selected?.[0],this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_fillTimeDurationLevels(){if(this._durationFormat===`time`){let e=this._durationLevels.sort().at(-1);if([7,8,9].includes(e)){for(let t of{lev7:[6],lev8:[6,7],lev9:[6,7,8]}[`lev`+e])this._durationLevels.includes(t)||this._durationLevels.push(t);this._durationLevels=[...this._durationLevels].sort()}}}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._parseSavedNumericFormatSettings(),this._aggregationFunc=this.slotContent?.aggregationFunc??(this.slotContent?.type===`numeric`?`sum`:`count`),this._aggregationWeightColumn=this.slotContent?.aggregationWeight,this._isFormula=this.slotContent?.formula||this.slotContent?.formulaId)}_renderDurationLevelsSettings(){let e=g.levels.map(e=>{let t=!1;return this._durationFormat===`time`&&e.level>=6&&this._durationLevels.includes(e.level)&&e.level!==Math.max(...this._durationLevels)&&(t=!0),this._durationLevels.length===1&&this._durationLevels.includes(e.level)&&(t=!0),c.html`<luzmo-menu-item
|
|
20
|
+
require(`./chunk-i8uDWG73.cjs`);const e=require(`./base-iNk9N4Tk.cjs`),t=require(`./decorate-BfLyr4NV.cjs`),n=require(`./localized-mixin-AEA3w4H0.cjs`),r=require(`./calculate-data-field-icon-DZN47Tts.cjs`),i=require(`./localize-BKptOXuV.cjs`),a=require(`./decompose-numeric-format-DuZkAMnU.cjs`);let o=require(`@luzmo/icons`),s=require(`@luzmo/lucero/overlay`);require(`@luzmo/lucero/popover`);let c=require(`lit`),l=require(`lit/decorators.js`),u=require(`@lit/localize`);require(`@luzmo/lucero/tooltip`),require(`@luzmo/lucero/action-button`),require(`@luzmo/lucero/field-label`),require(`@luzmo/lucero/number-field`),require(`@luzmo/lucero/action-group`),require(`@luzmo/lucero/picker`),require(`@luzmo/lucero/menu`);var d=`:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-numeric-gap,var(--display-settings-numeric-gap));display:flex}.duration-angle-down-icon{margin-inline-start:var(--luzmo-numeric-duration-levels-dropdown-icon-margin-inline-start,var(--numeric-duration-levels-dropdown-icon-margin-inline-start))}.dataset-header{white-space:nowrap;text-overflow:ellipsis;text-transform:uppercase;max-width:100%;color:var(--luzmo-font-color);white-space:nowrap;cursor:default;margin:.5rem 1rem;font-weight:600;overflow:hidden}.no-weight-label{margin-left:1rem}.with-secondary-icon{clip-path:polygon(0 0,60% 0,65% 60%,100% 65%,100% 100%,0 100%)}.secondary-icon{width:auto;font-size:.75em;line-height:1;position:absolute;bottom:45%;left:60%}.data-icon-type{text-align:center;width:1.5rem;display:inline-block;position:relative}:host{--display-settings-numeric-gap:var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-2)}:host([size=s]){--display-settings-numeric-gap:var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-1)}:host([size=l]){--display-settings-numeric-gap:var(--luzmo-spacing-4);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-3)}:host([size=xl]){--display-settings-numeric-gap:var(--luzmo-spacing-5);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-4)}`,f={sum:()=>(0,u.msg)(`Sum`,{desc:`Numeric Aggregation option`}),cumulativesum:()=>(0,u.msg)(`Cumulative sum`,{desc:`Numeric Aggregation option`}),average:()=>(0,u.msg)(`Average`,{desc:`Numeric Aggregation option`}),median:()=>(0,u.msg)(`Median`,{desc:`Numeric Aggregation option`}),count:()=>(0,u.msg)(`Count rows`,{desc:`Numeric Aggregation option`}),distinctcount:()=>(0,u.msg)(`Count distinct`,{desc:`Numeric Aggregation option`}),min:()=>(0,u.msg)(`Minimum`,{desc:`Numeric Aggregation option`}),max:()=>(0,u.msg)(`Maximum`,{desc:`Numeric Aggregation option`}),stddev:()=>(0,u.msg)(`Standard deviation`,{desc:`Numeric Aggregation option`}),rate:()=>(0,u.msg)(`Rate`,{desc:`Numeric Aggregation option`})},p={general:`123`,percentage:`%`,scientific:`SI`},m={time:()=>(0,u.msg)(`Time`,{desc:`Time format option`}),short:()=>(0,u.msg)(`Short`,{desc:`Short format option`}),long:()=>(0,u.msg)(`Long`,{desc:`Long format option`})},h={Auto:{auto:!0,label:()=>(0,u.msg)(`Auto`,{desc:`Automatic setting of the option`})},"1,000.00":{auto:!1,label:()=>`1,000.00`,thousandSeparator:`,`,decimalSeparator:`.`,hiddenFor:`scientific`},"1.000,00":{auto:!1,label:()=>`1.000,00`,thousandSeparator:`.`,decimalSeparator:`,`,hiddenFor:`scientific`},"1000.00":{auto:!1,label:()=>`1000.00`,decimalSeparator:`.`},"1000,00":{auto:!1,label:()=>`1000,00`,decimalSeparator:`,`}},g={levels:[{level:1,label:`years`},{level:2,label:`quarters`},{level:3,label:`months`},{level:4,label:`weeks`},{level:5,label:`days`},{level:6,label:`hours`},{level:7,label:`minutes`},{level:8,label:`seconds`},{level:9,label:`milliseconds`}]},_=class extends n.t(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this.slotContent={},this.measureColumns=[],this._durationLevels=[],this._renderDurationLevelMenu=!1,this._handleSlottableRequest=e=>{this._renderDurationLevelMenu=e.data!==s.removeSlottableRequest},this._sendEvent=()=>{let e={...this.slotContent,format:this._format,aggregationFunc:this._aggregationFunc};this._aggregationWeightColumn?e.aggregationWeight={...this._aggregationWeightColumn}:delete e.aggregationWeight,this._displayMode===`duration`?(e.duration=e.duration??{},e.duration.format=this._durationFormat,e.duration.levels=this._durationLevels):delete e.duration,this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:e}}))}}static get styles(){return[(0,c.unsafeCSS)(d)]}_parseSavedNumericFormatSettings(){if(this._displayMode=this.slotContent?.subtype===`duration`?`duration`:`numeric`,this._durationFormat=this.slotContent?.duration?.format??`short`,this._durationLevels=this.slotContent?.duration?.levels??[1],this._displayMode===`duration`)this._precision=2,this._commaDecimals=!1,this._thousandSeparator=!1;else{this._format=this.slotContent?.format??`.0f`;let e=a.t(this._format??`.0f`);this._isAuto=e.typeFormat?.includes(`a`)??!1,[`%`,`a%`,`y`,`ay`].includes(e.typeFormat)?this._displayAs=`percentage`:[`s`,`as`,`w`,`aw`].includes(e.typeFormat)?this._displayAs=`scientific`:this._displayAs=`general`,this._precision=e.precision?Number.parseInt(e.precision.replace(`.`,``),10):+(this._displayAs===`scientific`),this._commaDecimals=[`z`,`az`,`y`,`ay`,`w`,`aw`].includes(e.typeFormat),this._thousandSeparator=e.comma===`,`,this._isAuto?this._numericFormatGroup=`Auto`:this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup=`1.000,00`:!this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup=`1,000.00`:this._commaDecimals&&!this._thousandSeparator?this._numericFormatGroup=`1000,00`:!this._commaDecimals&&!this._thousandSeparator&&(this._numericFormatGroup=`1000.00`)}}_setNumericDisplayAs(){this._displayAs=this._displayAsElement?.selected?.[0]??`general`,this._displayAs===`scientific`&&(this._precision=Math.max(this._precision??0,1),this._thousandSeparator=!1),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setNumericSeparators(e){let t=h[e?.detail??`Auto`];this._thousandSeparator=[`,`,`.`].includes(t?.thousandSeparator??``),this._commaDecimals=t?.decimalSeparator===`,`,this._isAuto=t?.auto,this._setNumericFormat(),this._sendEvent()}_setPrecision(){Number.isNaN(this._precisionElement.value)&&(this._precisionElement.value=+(this._displayAs===`scientific`)),this._precision=this._precisionElement.value,this._setNumericFormat(),this._sendEvent()}_setNumericFormat(){let e=`f`,t=this.slotContent.subtype===`duration`?this._durationLevels&&this._durationLevels?.length===1?`numeric`:`duration`:`numeric`;if(this._maxDurationLevel=Math.min(...this._durationLevels),t===`duration`)(![`time`,`short`,`long`].includes(this._durationFormat??``)||this._maxDurationLevel<6&&this._durationFormat===`time`)&&(this._durationFormat=`short`);else{let t=this._displayAs??`general`;t===`general`&&this._commaDecimals?e=`z`:t===`percentage`&&this._commaDecimals?e=`y`:t===`scientific`&&this._commaDecimals?e=`w`:t===`percentage`?e=`%`:t===`scientific`&&(e=`s`),this._format=(this._thousandSeparator||this._isAuto?`,`:``)+`.`+this._precision+(this._isAuto?`a`:``)+e}}_setAggregationFunc(){let e=this._aggregationElement.value,t=this._aggregationFunc,n=this.slotContent.format;if(e!==(t===`weightedaverage`?`average`:t)){if(this._aggregationFunc=e===`average`&&this._aggregationWeightColumn?.column?`weightedaverage`:e,t===`rate`){let e=a.t(n),t=[`%`,`y`,`a%`,`ay`].includes(e.typeFormat);this.slotContent.subtype===`currency`&&t&&this._setNumericDisplayAs()}this._sendEvent(),(this._aggregationFunc===`rate`||t===`rate`)&&this.requestUpdate()}}_setAggregationWeight(){let e=this._aggregationWeightElement.value,t=this._aggregationFunc;if(e===`none`)this._aggregationWeightColumn=void 0,this._aggregationFunc===`weightedaverage`&&(this._aggregationFunc=`average`);else{let t,n;for(let r of this.measureColumns??[]){let i=r.columns?.find(t=>t.id===e);if(i){t=i,n=r.datasetId;break}}t&&(this._aggregationWeightColumn={column:t.id,set:n,columnSubType:t.subtype}),this._aggregationFunc===`average`&&(this._aggregationFunc=`weightedaverage`)}this._sendEvent(),this.requestUpdate(),(t===`weightedaverage`&&this._aggregationFunc===`average`||t===`average`&&this._aggregationFunc===`weightedaverage`)&&this.requestUpdate()}_setDurationLevels(){let e=this._durationLevels,t=this._durationLevelsElement.value.split(`,`).filter(e=>e!==``).map(e=>Number.parseInt(e,10));this._durationLevels=(t?.length??0)>=1?t:e,this._maxDurationLevel=Math.min(...this._durationLevels),this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setDurationFormat(){this._durationFormat=this._durationFormatElement?.selected?.[0],this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_fillTimeDurationLevels(){if(this._durationFormat===`time`){let e=this._durationLevels.sort().at(-1);if([7,8,9].includes(e)){for(let t of{lev7:[6],lev8:[6,7],lev9:[6,7,8]}[`lev`+e])this._durationLevels.includes(t)||this._durationLevels.push(t);this._durationLevels=[...this._durationLevels].sort()}}}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._parseSavedNumericFormatSettings(),this._aggregationFunc=this.slotContent?.aggregationFunc??(this.slotContent?.type===`numeric`?`sum`:`count`),this._aggregationWeightColumn=this.slotContent?.aggregationWeight,this._isFormula=this.slotContent?.formula||this.slotContent?.formulaId)}_renderDurationLevelsSettings(){let e=g.levels.map(e=>{let t=!1;return this._durationFormat===`time`&&e.level>=6&&this._durationLevels.includes(e.level)&&e.level!==Math.max(...this._durationLevels)&&(t=!0),this._durationLevels.length===1&&this._durationLevels.includes(e.level)&&(t=!0),c.html`<luzmo-menu-item
|
|
21
21
|
value=${e.level}
|
|
22
22
|
?selected=${this._durationLevels.includes(e.level)}
|
|
23
23
|
?disabled=${t}
|
package/components/{display-settings-numeric-Cw8Nx5s9.js → display-settings-numeric-DHvjUxmC.js}
RENAMED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { i as e, n as t, t as n } from "./base-
|
|
20
|
+
import { i as e, n as t, t as n } from "./base-D82dU2vv.js";
|
|
21
21
|
import { t as r } from "./decorate-DKLaHs_w.js";
|
|
22
|
-
import { t as i } from "./localized-mixin-
|
|
22
|
+
import { t as i } from "./localized-mixin-XqTi4F7d.js";
|
|
23
23
|
import { t as a } from "./calculate-data-field-icon-CBhSMupd.js";
|
|
24
24
|
import { t as o } from "./localize-BTLmwb_o.js";
|
|
25
25
|
import { t as s } from "./decompose-numeric-format-bSRd_jIJ.js";
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-period-over-period-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../display-settings-period-over-period-CYwa8_dX.cjs`);Object.defineProperty(exports,`LuzmoDisplaySettingsPeriodOverPeriod`,{enumerable:!0,get:function(){return e.t}});
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../display-settings-period-over-period-
|
|
27
|
+
import { t as e } from "../display-settings-period-over-period-CPsfL-OC.js";
|
|
28
28
|
export { e as LuzmoDisplaySettingsPeriodOverPeriod };
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { i as e, n as t, t as n } from "./base-
|
|
20
|
+
import { i as e, n as t, t as n } from "./base-D82dU2vv.js";
|
|
21
21
|
import { t as r } from "./decorate-DKLaHs_w.js";
|
|
22
|
-
import { t as i } from "./localized-mixin-
|
|
22
|
+
import { t as i } from "./localized-mixin-XqTi4F7d.js";
|
|
23
23
|
import { t as a } from "./localize-BTLmwb_o.js";
|
|
24
24
|
import { t as o } from "./decompose-numeric-format-bSRd_jIJ.js";
|
|
25
25
|
import { t as s } from "./period-over-period-condition.const-BUEH5Yg0.js";
|