@luzmo/analytics-components-kit 1.0.4-beta.4 → 1.0.5-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -5
- package/components/ad-hoc-slot-content-BxpvfmjT.js +29 -0
- package/components/ad-hoc-slot-content-DJUmB7pS.cjs +20 -0
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.js +1 -1
- package/components/ai-chat-BBc330Jm.js +3832 -0
- package/components/ai-chat-DLDSaC7W.cjs +300 -0
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/ai-interaction-textarea-BCH5_GBO.cjs +68 -0
- package/components/ai-interaction-textarea-DzHetSBZ.js +299 -0
- package/components/area-chart-options.config-CJYI-zcZ.cjs +20 -0
- package/components/area-chart-options.config-CxJWxcD9.js +146 -0
- package/components/area-chart-positioning.config-CjeYLy6C.js +55 -0
- package/components/area-chart-positioning.config-DVrykBho.cjs +20 -0
- package/components/area-chart-slots.config-B56LJaky.cjs +20 -0
- package/components/area-chart-slots.config-C22ZF9l0.js +55 -0
- package/components/bar-chart-options.config-BAatAyhW.js +220 -0
- package/components/bar-chart-options.config-D2a-U6kG.cjs +20 -0
- package/components/bar-chart-positioning.config-DpF15KcV.cjs +20 -0
- package/components/bar-chart-positioning.config-e-SAdpBe.js +59 -0
- package/components/bar-chart-slots.config-BbgFihbK.js +50 -0
- package/components/bar-chart-slots.config-CkOVmYcA.cjs +20 -0
- package/components/base-DSXeP3BL.cjs +20 -0
- package/components/base-a89RuUMb.js +249 -0
- package/components/base-store-D0jbv0bE.js +160 -0
- package/components/base-store-ab2wBsBE.cjs +20 -0
- package/components/box-plot-options.config-BuX2wNhp.js +296 -0
- package/components/box-plot-options.config-Di28EvZb.cjs +20 -0
- package/components/box-plot-positioning.config-Bq2INEtG.js +48 -0
- package/components/box-plot-positioning.config-DbwtHJ4q.cjs +20 -0
- package/components/box-plot-slots.config-DL-tTTn9.cjs +20 -0
- package/components/box-plot-slots.config-OeublT6p.js +40 -0
- package/components/bubble-chart-options.config-C_XQOHgH.js +115 -0
- package/components/bubble-chart-options.config-CnpBrIo6.cjs +20 -0
- package/components/bubble-chart-positioning.config--EBfDgdN.cjs +20 -0
- package/components/bubble-chart-positioning.config-DFnW4mJ9.js +55 -0
- package/components/bubble-chart-slots.config-Bdy20Xqs.js +47 -0
- package/components/bubble-chart-slots.config-smlOOwcK.cjs +20 -0
- package/components/bullet-chart-options.config-6nATAuC3.cjs +20 -0
- package/components/bullet-chart-options.config-h5BFyszP.js +75 -0
- package/components/bullet-chart-positioning.config-CZ46z07k.cjs +20 -0
- package/components/bullet-chart-positioning.config-DS2OmjBY.js +56 -0
- package/components/bullet-chart-slots.config-BaTbWYvU.cjs +20 -0
- package/components/bullet-chart-slots.config-Cqj3i1qo.js +46 -0
- package/components/choropleth-map-options.config-CmtZtBAC.cjs +20 -0
- package/components/choropleth-map-options.config-YCo77O3q.js +348 -0
- package/components/choropleth-map-positioning.config-Clm5IUT6.cjs +20 -0
- package/components/choropleth-map-positioning.config-DgANsGq1.js +55 -0
- package/components/choropleth-map-slots.config-ClMcW8wV.cjs +20 -0
- package/components/choropleth-map-slots.config-D4vxtdtH.js +53 -0
- package/components/circle-pack-chart-options.config-BA_G1sQ8.cjs +20 -0
- package/components/circle-pack-chart-options.config-C0cEtjgC.js +54 -0
- package/components/circle-pack-chart-positioning.config-2H1CrfH_.js +48 -0
- package/components/circle-pack-chart-positioning.config-qF0qGcEO.cjs +20 -0
- package/components/circle-pack-chart-slots.config-Dks8K3uQ.js +38 -0
- package/components/circle-pack-chart-slots.config-IH2KV7z1.cjs +20 -0
- package/components/circular-gauge-options.config-BtP-YDIr.cjs +20 -0
- package/components/circular-gauge-options.config-Cdnk-Sp0.js +188 -0
- package/components/circular-gauge-positioning.config-CMttD_BW.cjs +20 -0
- package/components/circular-gauge-positioning.config-CusKP9Tq.js +48 -0
- package/components/circular-gauge-slots.config-B6ajddW-.cjs +20 -0
- package/components/circular-gauge-slots.config-Wf4sHmk6.js +39 -0
- package/components/color-CXw2IfjN.js +3812 -0
- package/components/color-range-utils-u4ziqRRA.js +63 -0
- package/components/column-chart-options.config-DoZLlIRM.js +219 -0
- package/components/column-chart-options.config-eJ1Cexxe.cjs +20 -0
- package/components/column-chart-positioning.config-ColoutIT.cjs +20 -0
- package/components/column-chart-positioning.config-rRwPVTbj.js +55 -0
- package/components/column-chart-slots.config-BY6y_rvE.cjs +20 -0
- package/components/column-chart-slots.config-BhVqSbKw.js +50 -0
- package/components/combination-chart-options.config-C3kZ2fpK.cjs +20 -0
- package/components/combination-chart-options.config-D7ZXfn61.js +87 -0
- package/components/combination-chart-positioning.config-DAVrKW-6.cjs +20 -0
- package/components/combination-chart-positioning.config-uLf1RJQr.js +48 -0
- package/components/combination-chart-slots.config-CK8YBgUl.js +43 -0
- package/components/combination-chart-slots.config-Ciza_y3a.cjs +20 -0
- package/components/conditional-number-options.config-BwSMI5Ax.js +205 -0
- package/components/conditional-number-options.config-CadHLi0m.cjs +20 -0
- package/components/conditional-number-positioning.config-DZjwZfsH.js +48 -0
- package/components/conditional-number-positioning.config-Nwsh-WyG.cjs +20 -0
- package/components/conditional-number-slots.config-CWX6OuUa.cjs +20 -0
- package/components/conditional-number-slots.config-xSNaYD4u.js +39 -0
- package/components/convert-data-field-to-slot-content-BQkSy_8B.cjs +20 -0
- package/components/data-broker-BH5WDG0j.cjs +20 -0
- package/components/data-broker-CVDImE1j.js +1674 -0
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -1
- package/components/data-field-CFX9bhKN.js +121 -0
- package/components/data-field-bRmOqmAe.cjs +54 -0
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -1
- package/components/data-field-level-Cc6yEETi.js +246 -0
- package/components/data-field-level-Dnl27sxs.cjs +55 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/data-field-panel-BDExLalA.cjs +87 -0
- package/components/data-field-panel-DcqVOzMO.js +385 -0
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -1
- package/components/data-fields-select-B5aGtDYe.cjs +41 -0
- package/components/data-fields-select-CfAfiV-K.js +262 -0
- package/components/dataset-icon/index.js +1 -1
- package/components/dataset-icon-BXEgg_8O.js +125 -0
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/dataset-selector-list-WT2ZHjQ4.cjs +75 -0
- package/components/dataset-selector-list-bAFTW1Hr.js +313 -0
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -1
- package/components/dataset-selector-row-CXrEKQrA.js +273 -0
- package/components/dataset-selector-row-CwkXH93E.cjs +79 -0
- package/components/date-comparison-filter-options.config--clPxHFt.cjs +20 -0
- package/components/date-comparison-filter-options.config-DCCm5Adt.js +126 -0
- package/components/date-comparison-filter-slots.config-KO9B0lfS.cjs +20 -0
- package/components/date-comparison-filter-slots.config-s7FcuKia.js +33 -0
- package/components/date-filter-options.config-BdNFe-Ds.cjs +20 -0
- package/components/date-filter-options.config-DBwcMXzp.js +118 -0
- package/components/date-filter-slots.config-BrQoD-EF.cjs +20 -0
- package/components/date-filter-slots.config-pbd3rG9z.js +37 -0
- package/components/de-DqwsqE-U.js +478 -0
- package/components/de-tUSOg_BJ.cjs +20 -0
- package/components/decorate-CaYbmmmm.js +28 -0
- package/components/display-settings/display-settings.d.ts +21 -2
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-DrcpHnKo.cjs +140 -0
- package/components/display-settings-Ec_smyRC.js +313 -0
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/display-settings-binning-COpQPUin.js +110 -0
- package/components/display-settings-binning-XXJdJeGU.cjs +56 -0
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-datetime-DhSW10ln.cjs +217 -0
- package/components/display-settings-datetime-qj86dnHh.js +413 -0
- 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-D6IDs0U1.js +89 -0
- package/components/display-settings-grand-totals-DTF0sqA1.cjs +44 -0
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -1
- package/components/display-settings-numeric-Dt34JHyR.cjs +190 -0
- package/components/display-settings-numeric-Dy2EMcKa.js +479 -0
- 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-B-ULI6yW.cjs +229 -0
- package/components/display-settings-period-over-period-BMzBnywY.js +433 -0
- package/components/donut-chart-options.config-Buas8fzJ.js +207 -0
- package/components/donut-chart-options.config-K-HkE7sL.cjs +20 -0
- package/components/donut-chart-positioning.config-BnmePhBH.cjs +20 -0
- package/components/donut-chart-positioning.config-CnZRc3e8.js +48 -0
- package/components/donut-chart-slots.config-CZWRHxZe.js +39 -0
- package/components/donut-chart-slots.config-RxPnpO6M.cjs +20 -0
- package/components/dropdown-filter-options.config-B-Vvy0Nq.cjs +20 -0
- package/components/dropdown-filter-options.config-gv1y1OkC.js +153 -0
- package/components/dropdown-filter-slots.config-BBZChIHC.cjs +20 -0
- package/components/dropdown-filter-slots.config-aP5hvp2K.js +38 -0
- package/components/en-B34alchz.cjs +20 -0
- package/components/en-GB-B3xz84vF.cjs +20 -0
- package/components/en-US-B34alchz.cjs +20 -0
- package/components/es-C-5Yqnck.js +478 -0
- package/components/es-Czecz2xB.cjs +20 -0
- package/components/evolution-number-options.config-B1IomzV1.js +228 -0
- package/components/evolution-number-options.config-Bt1FZqqQ.cjs +20 -0
- package/components/evolution-number-positioning.config-CKgGLWTm.cjs +20 -0
- package/components/evolution-number-positioning.config-DiKxJqRO.js +48 -0
- package/components/evolution-number-slots.config-CYxdcD-x.cjs +20 -0
- package/components/evolution-number-slots.config-eOQDWZyb.js +37 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-expression-picker-DMZ4sgJ6.js +425 -0
- package/components/filter-expression-picker-Dq0X2lo3.cjs +38 -0
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-item-BEe-Y6l0.js +242 -0
- package/components/filter-item-BnxKP0Zg.cjs +58 -0
- package/components/filter-parameter-picker/index.js +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-BxaX9BML.cjs +60 -0
- 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-BryAsOYH.cjs +42 -0
- package/components/filter-value-picker-datetime-DtZDr9fY.js +139 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-hierarchy-BSKoZJ0F.cjs +47 -0
- package/components/filter-value-picker-hierarchy-D9BcuttQ.js +232 -0
- 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-B2EcfNUR.cjs +48 -0
- package/components/filter-value-picker-numeric-CoU9l9wS.js +219 -0
- package/components/filter-value-picker-r1zs2IHx.js +151 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/filters-C9DVFS6T.cjs +150 -0
- package/components/filters-DVTYmlI1.js +400 -0
- package/components/formatter-8m-wrIM-.cjs +20 -0
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/formula--lwYaW2w.cjs +45 -0
- package/components/formula-Ekyv6mpo.js +138 -0
- package/components/formula-codemirror-BZuBN5sE.cjs +215 -0
- package/components/formula-codemirror-DgTmL2Id.js +11973 -0
- package/components/formula-display-store-BunPLkc0.cjs +20 -0
- package/components/formula-display-store-ezef6EvF.js +1090 -0
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.js +3 -3
- package/components/formula-editor-CjVohoJB.cjs +218 -0
- package/components/formula-editor-DRpm9ej7.js +666 -0
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -1
- package/components/formula-field-DcgWLGBD.cjs +20 -0
- package/components/formula-field-TwMnyN0t.js +40 -0
- package/components/formula-input-base-D6QdnUOa.cjs +49 -0
- package/components/formula-input-base-Dxk5euNb.js +236 -0
- package/components/fr-BvgQLvx5.js +478 -0
- package/components/fr-CQyhQN6j.cjs +20 -0
- package/components/funnel-chart-options.config-BAIgb6x9.cjs +20 -0
- package/components/funnel-chart-options.config-DAv3185m.js +187 -0
- package/components/funnel-chart-positioning.config-DaHDyj7V.cjs +20 -0
- package/components/funnel-chart-positioning.config-DysRV01G.js +48 -0
- package/components/funnel-chart-slots.config-BsNj6Mbb.js +43 -0
- package/components/funnel-chart-slots.config-CSI5mdma.cjs +20 -0
- package/components/get-css-variable-B1BZoBcs.cjs +20 -0
- package/components/get-css-variable-COcan5CX.js +63 -0
- package/components/get-dataset-name-D4smY8ms.cjs +20 -0
- package/components/get-dataset-name-D_ZiWu64.js +27 -0
- package/components/groupings-Bzp2EA65.js +52 -0
- package/components/groupings-Wfp8piEu.cjs +20 -0
- package/components/heat-map-options.config-Ckw8voNV.js +224 -0
- package/components/heat-map-options.config-Ct-93RVQ.cjs +20 -0
- package/components/heat-map-positioning.config-C6CqosaH.js +48 -0
- package/components/heat-map-positioning.config-hFwq08ML.cjs +20 -0
- package/components/heat-map-slots.config-BFK5TF9k.js +37 -0
- package/components/heat-map-slots.config-D0mwjImu.cjs +20 -0
- package/components/heat-table-options.config-7IS5wa9l.cjs +20 -0
- package/components/heat-table-options.config-PpOf4o94.js +372 -0
- package/components/heat-table-positioning.config-B2RuWLH5.js +55 -0
- package/components/heat-table-positioning.config-MJ_ox9iT.cjs +20 -0
- package/components/heat-table-slots.config-3q2hG4nF.js +49 -0
- package/components/heat-table-slots.config-CH6Q9203.cjs +20 -0
- package/components/hexbin-map-options.config-CUAv6zuD.cjs +20 -0
- package/components/hexbin-map-options.config-D88DHYrl.js +276 -0
- package/components/hexbin-map-positioning.config-Dua5Z8M2.cjs +20 -0
- package/components/hexbin-map-positioning.config-IiGTpp68.js +48 -0
- package/components/hexbin-map-slots.config-BdkQVzI7.cjs +20 -0
- package/components/hexbin-map-slots.config-BfbHCCUe.js +37 -0
- package/components/image-options.config-ByIPpr29.js +153 -0
- package/components/image-options.config-DXqA7sAa.cjs +20 -0
- package/components/image-slots.config-B4MFjNWt.js +24 -0
- package/components/image-slots.config-DprzKxj3.cjs +20 -0
- package/components/index.cjs +1 -1
- package/components/index.js +55 -55
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.js +1 -1
- package/components/interactive-viz-item-O2zj8Ix3.cjs +247 -0
- package/components/interactive-viz-item-lBrlvX4F.js +693 -0
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/item-grid-CmuMl0eC.cjs +113 -0
- package/components/item-grid-Cqi995vx.js +4559 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/item-option-CQw6Xsi2.cjs +252 -0
- package/components/item-option-Cg3zRKlU.js +969 -0
- 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-C1TU-ng7.js +118 -0
- package/components/item-option-action-button-group-DBdpU9Ac.cjs +53 -0
- package/components/item-option-base-4mpxvTpE.js +123 -0
- package/components/item-option-base-BtYcXg-E.cjs +56 -0
- 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-4so22U-2.cjs +40 -0
- package/components/item-option-color-palette-picker-BBnhEOQj.js +2041 -0
- 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-CTTEHFVR.js +87 -0
- package/components/item-option-color-picker-CUBaIdL-.cjs +34 -0
- 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-BuLEgB7a.js +220 -0
- package/components/item-option-color-range-H4nV-HoV.cjs +98 -0
- 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-CXQj3kSW.js +82 -0
- package/components/item-option-multi-language-field-d25tETIC.cjs +33 -0
- 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-CEQEjnu8.js +102 -0
- package/components/item-option-number-field-waG1zcr8.cjs +38 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/item-option-panel-Bh4d0Ueb.cjs +67 -0
- package/components/item-option-panel-CVjT-rr8.js +183 -0
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/item-option-picker-CiEMwzho.js +77 -0
- package/components/item-option-picker-YTJ6noOW.cjs +37 -0
- 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-DExAtVBF.cjs +32 -0
- package/components/item-option-position-picker-DVsG8inN.js +117 -0
- 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-7F1_3pxp.js +164 -0
- package/components/item-option-positions-number-field-Ju4e_B6g.cjs +49 -0
- 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-6w11UJC-.cjs +37 -0
- package/components/item-option-radio-button-group-CHZKF_oZ.js +74 -0
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/item-option-slider-CQCvF7wI.js +81 -0
- package/components/item-option-slider-DdkgydGa.cjs +33 -0
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/item-option-switch-68EoGXKU.js +69 -0
- package/components/item-option-switch-IP4wvB7i.cjs +30 -0
- 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-0CCtgD5i.js +80 -0
- package/components/item-option-text-field-Be4frWhI.cjs +33 -0
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +45 -45
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -1
- package/components/item-slot-drop/item-slot-drop.d.ts +1 -0
- package/components/item-slot-drop-C7BJJcZz.cjs +91 -0
- package/components/item-slot-drop-PlCmap_s.js +331 -0
- 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-BevGCcMh.js +355 -0
- package/components/item-slot-drop-panel-hs0gFwb-.cjs +57 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/item-slot-picker/item-slot-picker.d.ts +3 -0
- package/components/item-slot-picker-BzXlX-Zd.js +505 -0
- package/components/item-slot-picker-dmoR1ZyZ.cjs +174 -0
- 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-B2TtJUIs.cjs +81 -0
- package/components/item-slot-picker-panel-DnvwcLGy.js +448 -0
- package/components/item-slots-configs.cjs +1 -1
- package/components/item-slots-configs.js +45 -45
- package/components/line-chart-options.config-DKQ1k4lg.cjs +20 -0
- package/components/line-chart-options.config-DMjvCs-4.js +168 -0
- package/components/line-chart-positioning.config-CYqzjNzS.cjs +20 -0
- package/components/line-chart-positioning.config-DAs0y-O6.js +55 -0
- package/components/line-chart-slots.config-Cjp4btvG.cjs +20 -0
- package/components/line-chart-slots.config-CrQEwa4W.js +55 -0
- package/components/load-data-fields-for-datasets-BVGaku2J.cjs +20 -0
- package/components/load-data-fields-for-datasets-DeXLqWt4.js +42 -0
- package/components/localized-mixin-BNAt_iYb.cjs +20 -0
- package/components/localized-mixin-GXZQgVAD.js +45 -0
- package/components/marker-map-options.config-C52a3boH.js +117 -0
- package/components/marker-map-options.config-DBPPcGN4.cjs +20 -0
- package/components/marker-map-positioning.config-BQ-kNUJI.js +48 -0
- package/components/marker-map-positioning.config-C5h5ydGa.cjs +20 -0
- package/components/marker-map-slots.config-BOQ8AwRv.cjs +20 -0
- package/components/marker-map-slots.config-eJAxjIaQ.js +37 -0
- package/components/nl-BwK5iXtO.cjs +20 -0
- package/components/nl-D-Wa6DnD.js +478 -0
- package/components/ohlc-chart-options.config-38qB2VKc.js +65 -0
- package/components/ohlc-chart-options.config-D9h-VLdq.cjs +20 -0
- package/components/ohlc-chart-positioning.config-BQyRY4rj.js +78 -0
- package/components/ohlc-chart-positioning.config-fqniDSHf.cjs +20 -0
- package/components/ohlc-chart-slots.config-CUBUexI-.cjs +20 -0
- package/components/ohlc-chart-slots.config-SOs4oD-Q.js +68 -0
- package/components/parallel-coordinates-plot-options.config-DfZ80jLX.js +42 -0
- package/components/parallel-coordinates-plot-options.config-ovgY0A7j.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-Bhyk-q40.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-DMUrvTKC.js +48 -0
- package/components/parallel-coordinates-plot-slots.config-BXZ-NmbH.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-DgsHiCqT.js +46 -0
- package/components/pivot-table-options.config-5udtucDD.js +245 -0
- package/components/pivot-table-options.config-BxKo1DCU.cjs +20 -0
- package/components/pivot-table-positioning.config-CRPJ6cp9.cjs +20 -0
- package/components/pivot-table-positioning.config-kgOD7qg4.js +55 -0
- package/components/pivot-table-slots.config-CRL6EW5R.js +55 -0
- package/components/pivot-table-slots.config-VxbOGtmB.cjs +20 -0
- package/components/pragmatic-element-adapter-U3ppsQDe.cjs +24 -0
- package/components/pragmatic-element-adapter-e5LbH_lv.js +1252 -0
- package/components/pyramid-chart-options.config-iP2MzTeb.js +240 -0
- package/components/pyramid-chart-options.config-lioHQSoq.cjs +20 -0
- package/components/pyramid-chart-positioning.config-B3g4J0Fc.cjs +20 -0
- package/components/pyramid-chart-positioning.config-DzmnUNOa.js +55 -0
- package/components/pyramid-chart-slots.config-CN_Q2YsP.cjs +20 -0
- package/components/pyramid-chart-slots.config-DM3lYlDg.js +50 -0
- package/components/radar-chart-options.config-DhnoFEzo.cjs +20 -0
- package/components/radar-chart-options.config-aR5sQal-.js +130 -0
- package/components/radar-chart-positioning.config-DeMZx8WU.cjs +20 -0
- package/components/radar-chart-positioning.config-DtCHigcZ.js +55 -0
- package/components/radar-chart-slots.config-BISYnTom.cjs +20 -0
- package/components/radar-chart-slots.config-msW05r4n.js +53 -0
- package/components/regular-table-options.config-Bk6CBPgj.cjs +20 -0
- package/components/regular-table-options.config-kbARlJ1E.js +148 -0
- package/components/regular-table-slots.config-BU6Ff96U.cjs +20 -0
- package/components/regular-table-slots.config-DAwLOM5T.js +35 -0
- package/components/route-map-options.config-CAi93e7I.cjs +20 -0
- package/components/route-map-options.config-DCBAfq09.js +326 -0
- package/components/route-map-positioning.config-CNNkOriH.js +66 -0
- package/components/route-map-positioning.config-GRnTnxOT.cjs +20 -0
- package/components/route-map-slots.config-DNiRtoRC.js +59 -0
- package/components/route-map-slots.config-Dznp0DT3.cjs +20 -0
- package/components/sankey-diagram-options.config-CKjVnYnF.js +126 -0
- package/components/sankey-diagram-options.config-D7ZrZV0g.cjs +20 -0
- package/components/sankey-diagram-positioning.config-B4dTAI_t.cjs +20 -0
- package/components/sankey-diagram-positioning.config-DZzxWrlG.js +66 -0
- package/components/sankey-diagram-slots.config-CVD2P6RJ.js +61 -0
- package/components/sankey-diagram-slots.config-TKCUvHOD.cjs +20 -0
- package/components/scatter-plot-options.config--AfAxaGf.js +302 -0
- package/components/scatter-plot-options.config-DXqKb34r.cjs +20 -0
- package/components/scatter-plot-positioning.config-7DccAqx9.js +77 -0
- package/components/scatter-plot-positioning.config-CUxiLfKj.cjs +20 -0
- package/components/scatter-plot-slots.config-CPsk9FUg.cjs +20 -0
- package/components/scatter-plot-slots.config-D57rd66g.js +74 -0
- package/components/search-filter-options.config-DQwMOiXm.js +103 -0
- package/components/search-filter-options.config-DojMfRR_.cjs +20 -0
- package/components/search-filter-slots.config-AhwsTdYC.cjs +20 -0
- package/components/search-filter-slots.config-DQybwP4H.js +39 -0
- package/components/set-locale-BCnD4yp_.cjs +20 -0
- package/components/set-locale-CamOWu7o.js +43 -0
- package/components/slicer-filter-options.config-BhLn4U1W.cjs +20 -0
- package/components/slicer-filter-options.config-DVE33GEz.js +226 -0
- package/components/slicer-filter-positioning.config-DUivNE2P.cjs +20 -0
- package/components/slicer-filter-positioning.config-aOkoNRyY.js +48 -0
- package/components/slicer-filter-slots.config-Bcz9RsdR.js +44 -0
- package/components/slicer-filter-slots.config-zV15NWWS.cjs +20 -0
- package/components/slider-filter-options.config-B8am9mmE.cjs +20 -0
- package/components/slider-filter-options.config-BwaAvOvt.js +72 -0
- package/components/slider-filter-slots.config-Bc8Qk7fb.js +43 -0
- package/components/slider-filter-slots.config-D9Hra0zE.cjs +20 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/slot-menu/slot-menu.d.ts +7 -2
- package/components/slot-menu-Bgoo0gWv.cjs +71 -0
- package/components/slot-menu-Cb8piPji.js +422 -0
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/slot-menu-list/slot-menu-list.d.ts +7 -2
- package/components/slot-menu-list-Cy6tegSf.cjs +44 -0
- package/components/slot-menu-list-VuVIRNtr.js +346 -0
- package/components/slot-role-classification-Bvt3bI01.cjs +20 -0
- package/components/slot-role-classification-CCzj4WgN.js +133 -0
- package/components/slots-config-P_GXW0tl.js +77 -0
- package/components/slots-config-YdyClHLc.cjs +20 -0
- package/components/speedometer-chart-options.config-D4-8n5pn.js +246 -0
- package/components/speedometer-chart-options.config-DEW_D9w1.cjs +20 -0
- package/components/speedometer-chart-positioning.config-Dj6XK0gq.js +48 -0
- package/components/speedometer-chart-positioning.config-DzCh70X-.cjs +20 -0
- package/components/speedometer-chart-slots.config-1BqQZ2vP.cjs +20 -0
- package/components/speedometer-chart-slots.config-B4zqf0f_.js +39 -0
- package/components/spike-map-options.config-CM46vw7B.js +413 -0
- package/components/spike-map-options.config-LPAyKMHe.cjs +20 -0
- package/components/spike-map-positioning.config-BG2pKkf7.js +55 -0
- package/components/spike-map-positioning.config-BQIg4Z0U.cjs +20 -0
- package/components/spike-map-slots.config-B7OehIoc.cjs +20 -0
- package/components/spike-map-slots.config-BeXzuzh0.js +47 -0
- package/components/strip-plot-options.config-BlneYJOy.js +53 -0
- package/components/strip-plot-options.config-vBd38UQs.cjs +20 -0
- package/components/strip-plot-positioning.config-D3ZNgtC4.cjs +20 -0
- package/components/strip-plot-positioning.config-HZCVc6kX.js +48 -0
- package/components/strip-plot-slots.config-BGQIQtMK.js +38 -0
- package/components/strip-plot-slots.config-CAU0z3q4.cjs +20 -0
- package/components/sunburst-chart-options.config-8xopRyBB.js +160 -0
- package/components/sunburst-chart-options.config-CUFOuT2J.cjs +20 -0
- package/components/sunburst-chart-positioning.config-0O9eMweg.js +48 -0
- package/components/sunburst-chart-positioning.config-B-hCz3bI.cjs +20 -0
- package/components/sunburst-chart-slots.config-BCNUNkd9.cjs +20 -0
- package/components/sunburst-chart-slots.config-BhKeTqTo.js +38 -0
- package/components/symbol-map-options.config-CR07hvK0.cjs +20 -0
- package/components/symbol-map-options.config-nJAvVQIh.js +157 -0
- package/components/symbol-map-positioning.config-Dod98HkQ.js +55 -0
- package/components/symbol-map-positioning.config-aHnkaWU6.cjs +20 -0
- package/components/symbol-map-slots.config-D9E-oBE4.js +53 -0
- package/components/symbol-map-slots.config-Dz_tor5P.cjs +20 -0
- package/components/text-options.config-DCF3IVzO.js +67 -0
- package/components/text-options.config-JI2D64hs.cjs +20 -0
- package/components/text-slots.config-0A6csMfd.cjs +20 -0
- package/components/text-slots.config-C60nJ0OX.js +24 -0
- package/components/treemap-chart-options.config-RFQTphEG.js +184 -0
- package/components/treemap-chart-options.config-p21eSXKG.cjs +20 -0
- package/components/treemap-chart-positioning.config-XB1_FmX-.js +55 -0
- package/components/treemap-chart-positioning.config-qhPL49um.cjs +20 -0
- package/components/treemap-chart-slots.config-BJqqnUEF.cjs +20 -0
- package/components/treemap-chart-slots.config-CZRP7PZH.js +47 -0
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils/store.cjs +1 -1
- package/components/utils/store.js +2 -2
- package/components/utils-B1BzV2xl.cjs +20 -0
- package/components/utils-BMOxXnnX.js +240 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +3 -3
- package/components/v4-BK7K-jy_.js +49 -0
- package/components/validate-CJkVJaL1.cjs +20 -0
- package/components/validate-J3P0rm_n.js +28 -0
- package/components/venn-diagram-options.config-EmRhf40r.cjs +20 -0
- package/components/venn-diagram-options.config-uCJ5dei5.js +24 -0
- package/components/venn-diagram-positioning.config-Bh1ypVKP.js +55 -0
- package/components/venn-diagram-positioning.config-CimHfhlV.cjs +20 -0
- package/components/venn-diagram-slots.config-DOljH_uI.js +47 -0
- package/components/venn-diagram-slots.config-MpkJTf5q.cjs +20 -0
- package/components/video-options.config-Dh_lU4c1.cjs +20 -0
- package/components/video-options.config-DkLrX1gP.js +127 -0
- package/components/video-slots.config-Bmh6mcUv.cjs +20 -0
- package/components/video-slots.config-CqMIkttE.js +24 -0
- package/components/viz-item-menu/index.cjs +1 -1
- package/components/viz-item-menu/index.js +1 -1
- package/components/viz-item-menu-CTPd7QMx.cjs +55 -0
- package/components/viz-item-menu-sOvrO3Ku.js +170 -0
- package/components/wordcloud-chart-options.config-C2ZILp7a.js +90 -0
- package/components/wordcloud-chart-options.config-mx2CbmrI.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-BR_g8Now.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-CmakCQG0.js +55 -0
- package/components/wordcloud-chart-slots.config-B8s8B47F.js +45 -0
- package/components/wordcloud-chart-slots.config-C303nwAz.cjs +20 -0
- package/custom-elements.json +142 -5
- package/package.json +3 -3
- package/react/utils/formula/config/tests/build-datasets.test.d.ts +1 -0
- package/react/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
- package/react/utils/slot-content/render-calculation-label.d.ts +7 -0
- package/react/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +1 -0
- package/react/utils/slot-state/slot-store.d.ts +2 -2
- package/react/utils/store/index.d.ts +5 -5
- package/react/utils/store/store-registry.d.ts +1 -1
- package/types/slot.types.d.ts +10 -1
- package/utils/formula/config/tests/build-datasets.test.d.ts +1 -0
- package/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
- package/utils/slot-content/render-calculation-label.d.ts +7 -0
- package/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +1 -0
- package/utils/slot-state/slot-store.d.ts +2 -2
- package/utils/store/index.d.ts +5 -5
- package/utils/store/store-registry.d.ts +1 -1
- package/components/ai-chat-CpK99nb7.cjs +0 -300
- package/components/ai-chat-e2lg3FLg.js +0 -3835
- package/components/ai-interaction-textarea-CSrEsHXV.cjs +0 -68
- package/components/ai-interaction-textarea-cAXXLnoj.js +0 -299
- package/components/area-chart-options.config-Cf1VrUNv.cjs +0 -20
- package/components/area-chart-options.config-DdYBA1_Q.js +0 -146
- package/components/area-chart-positioning.config-CZgo9lkr.cjs +0 -20
- package/components/area-chart-positioning.config-DAEbeAVX.js +0 -55
- package/components/area-chart-slots.config-BOhwdLnr.cjs +0 -20
- package/components/area-chart-slots.config-Cmdkui4v.js +0 -55
- package/components/bar-chart-options.config-BF7Q15FL.cjs +0 -20
- package/components/bar-chart-options.config-Cx3n0tCr.js +0 -220
- package/components/bar-chart-positioning.config-71sM-GEA.js +0 -59
- package/components/bar-chart-positioning.config-9_GWwUur.cjs +0 -20
- package/components/bar-chart-slots.config-BWvrLYv5.js +0 -50
- package/components/bar-chart-slots.config-DMWjAd5a.cjs +0 -20
- package/components/base-DbEAseAh.cjs +0 -20
- package/components/base-store-DHC2m2Os.cjs +0 -20
- package/components/base-store-DmDe0dTU.js +0 -160
- package/components/base-vk9LuivN.js +0 -249
- package/components/box-plot-options.config-BkD5CYGz.cjs +0 -20
- package/components/box-plot-options.config-DB9iCCZg.js +0 -296
- package/components/box-plot-positioning.config-BxIFcn-c.cjs +0 -20
- package/components/box-plot-positioning.config-DIck_I13.js +0 -48
- package/components/box-plot-slots.config-5B_pTjPJ.cjs +0 -20
- package/components/box-plot-slots.config-BknEys-m.js +0 -40
- package/components/bubble-chart-options.config-4f9FUNhc.cjs +0 -20
- package/components/bubble-chart-options.config-D8o_9z0b.js +0 -115
- package/components/bubble-chart-positioning.config-BJi-Te33.js +0 -55
- package/components/bubble-chart-positioning.config-Cf7K70G6.cjs +0 -20
- package/components/bubble-chart-slots.config-Djb-py0h.js +0 -47
- package/components/bubble-chart-slots.config-VHKuntJk.cjs +0 -20
- package/components/bullet-chart-options.config-CmC75LQ8.js +0 -75
- package/components/bullet-chart-options.config-DDygYBiy.cjs +0 -20
- package/components/bullet-chart-positioning.config-3yE6MOJU.cjs +0 -20
- package/components/bullet-chart-positioning.config-ByVG8aFe.js +0 -56
- package/components/bullet-chart-slots.config-BECcf-yZ.js +0 -46
- package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +0 -20
- package/components/choropleth-map-options.config-5W6nNlL7.cjs +0 -20
- package/components/choropleth-map-options.config-Bt-vXkKW.js +0 -348
- package/components/choropleth-map-positioning.config-BmUOKuYh.js +0 -55
- package/components/choropleth-map-positioning.config-QpuHLCDR.cjs +0 -20
- package/components/choropleth-map-slots.config-CZKWF1qV.cjs +0 -20
- package/components/choropleth-map-slots.config-DVrgJYSA.js +0 -53
- package/components/circle-pack-chart-options.config-CD8MWMTw.cjs +0 -20
- package/components/circle-pack-chart-options.config-CLA-ur8J.js +0 -54
- package/components/circle-pack-chart-positioning.config-EN3LKHeo.cjs +0 -20
- package/components/circle-pack-chart-positioning.config-K_yHBCSG.js +0 -48
- package/components/circle-pack-chart-slots.config-BG6Gh03S.js +0 -38
- package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +0 -20
- package/components/circular-gauge-options.config-BFBmfsPn.js +0 -188
- package/components/circular-gauge-options.config-D9gcbX57.cjs +0 -20
- package/components/circular-gauge-positioning.config-AH32vSIN.js +0 -48
- package/components/circular-gauge-positioning.config-CurZIsZj.cjs +0 -20
- package/components/circular-gauge-slots.config-BSzOAb8B.js +0 -39
- package/components/circular-gauge-slots.config-DUHabt3G.cjs +0 -20
- package/components/color-BWnYpOu7.js +0 -3812
- package/components/color-range-utils-CwwtLDX_.js +0 -63
- package/components/column-chart-options.config-CiIw23Yo.cjs +0 -20
- package/components/column-chart-options.config-V7v9PtQA.js +0 -219
- package/components/column-chart-positioning.config-DS8sLc1p.js +0 -55
- package/components/column-chart-positioning.config-Dn7Ri3op.cjs +0 -20
- package/components/column-chart-slots.config-5BjkTrbt.js +0 -50
- package/components/column-chart-slots.config-CM5aytbj.cjs +0 -20
- package/components/combination-chart-options.config-CgSqqLLE.js +0 -87
- package/components/combination-chart-options.config-DaTYSfnr.cjs +0 -20
- package/components/combination-chart-positioning.config-RNhQd78t.cjs +0 -20
- package/components/combination-chart-positioning.config-u9poMkSd.js +0 -48
- package/components/combination-chart-slots.config-BwUOXFCR.cjs +0 -20
- package/components/combination-chart-slots.config-DgM_T-9r.js +0 -43
- package/components/conditional-number-options.config-3_vXSC0j.js +0 -205
- package/components/conditional-number-options.config-BPzCxo2q.cjs +0 -20
- package/components/conditional-number-positioning.config-Cq4uJ35g.cjs +0 -20
- package/components/conditional-number-positioning.config-Dnq3OP76.js +0 -48
- package/components/conditional-number-slots.config-B7maHIaG.cjs +0 -20
- package/components/conditional-number-slots.config-CzVPP4me.js +0 -39
- package/components/convert-data-field-to-slot-content-DLzkk6dT.cjs +0 -20
- package/components/data-broker-Bdv5V8Yp.js +0 -1680
- package/components/data-broker-DWEXs6-2.cjs +0 -20
- package/components/data-field-CGY-TeOZ.js +0 -121
- package/components/data-field-CXK_vezu.cjs +0 -54
- package/components/data-field-level-BsJ3eRQt.js +0 -247
- package/components/data-field-level-CxF3DZmD.cjs +0 -55
- package/components/data-field-panel-Brzkhc5r.cjs +0 -87
- package/components/data-field-panel-CNiGw9_F.js +0 -385
- package/components/data-fields-select-BcMFFFJV.js +0 -262
- package/components/data-fields-select-D-nSjOep.cjs +0 -41
- package/components/dataset-icon-CWT5Ju8w.js +0 -125
- package/components/dataset-selector-list-2Kz1oNFa.cjs +0 -75
- package/components/dataset-selector-list-CvjSPfPj.js +0 -313
- package/components/dataset-selector-row-Beo9owAy.js +0 -273
- package/components/dataset-selector-row-DOhPbfDh.cjs +0 -79
- package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +0 -20
- package/components/date-comparison-filter-options.config-CsDlmT6L.js +0 -126
- package/components/date-comparison-filter-slots.config-EEgNP09x.js +0 -33
- package/components/date-comparison-filter-slots.config-oABOLs3D.cjs +0 -20
- package/components/date-filter-options.config-AFAngO_i.cjs +0 -20
- package/components/date-filter-options.config-b8EHOjR1.js +0 -118
- package/components/date-filter-slots.config-Cuzz0RjE.cjs +0 -20
- package/components/date-filter-slots.config-PJ_h3Aj7.js +0 -37
- package/components/de-BY1wWZE8.cjs +0 -20
- package/components/de-D-xQoqdB.js +0 -473
- package/components/decorate-DyMgX_Uh.js +0 -28
- package/components/display-settings-BNoRfE1e.js +0 -272
- package/components/display-settings-JuegpHpn.cjs +0 -120
- package/components/display-settings-binning-D4fXWXY_.js +0 -110
- package/components/display-settings-binning-DFA-s8JY.cjs +0 -56
- package/components/display-settings-datetime-CcZ-aQjs.js +0 -413
- package/components/display-settings-datetime-DjfBfyzM.cjs +0 -217
- package/components/display-settings-grand-totals-CUlIPreM.js +0 -89
- package/components/display-settings-grand-totals-lf_RFqaR.cjs +0 -44
- package/components/display-settings-numeric-C707pX1_.cjs +0 -190
- package/components/display-settings-numeric-VVEUpoAy.js +0 -479
- package/components/display-settings-period-over-period-02Elu2Rn.js +0 -433
- package/components/display-settings-period-over-period-Be_A5whA.cjs +0 -229
- package/components/donut-chart-options.config-D8Bvo6Cc.cjs +0 -20
- package/components/donut-chart-options.config-N0MWtn-o.js +0 -207
- package/components/donut-chart-positioning.config-ByXtDyY9.cjs +0 -20
- package/components/donut-chart-positioning.config-CH5pTYpi.js +0 -48
- package/components/donut-chart-slots.config-Bi08z-XB.cjs +0 -20
- package/components/donut-chart-slots.config-dQrT0g_x.js +0 -39
- package/components/dropdown-filter-options.config-BRzYD0KE.cjs +0 -20
- package/components/dropdown-filter-options.config-CziqJFPz.js +0 -153
- package/components/dropdown-filter-slots.config-CQo3-kIo.js +0 -38
- package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +0 -20
- package/components/en-GB-uxY5qmIM.cjs +0 -20
- package/components/en-US-q_Ruzags.cjs +0 -20
- package/components/en-q_Ruzags.cjs +0 -20
- package/components/es-BIaD4kOL.cjs +0 -20
- package/components/es-CLnBAiLu.js +0 -473
- package/components/evolution-number-options.config-BfYN1Qgk.js +0 -228
- package/components/evolution-number-options.config-CkqNYgWn.cjs +0 -20
- package/components/evolution-number-positioning.config-B2_CNZP0.js +0 -48
- package/components/evolution-number-positioning.config-IFgvO_iZ.cjs +0 -20
- package/components/evolution-number-slots.config-CBS0b0Yk.js +0 -37
- package/components/evolution-number-slots.config-CikuQYgm.cjs +0 -20
- package/components/filter-expression-picker-0eNf_L9I.cjs +0 -38
- package/components/filter-expression-picker-C0FJhbHk.js +0 -425
- package/components/filter-item-C0AXDA_F.js +0 -242
- package/components/filter-item-C5O2G3Um.cjs +0 -58
- package/components/filter-value-picker-BOL1zvCR.cjs +0 -60
- package/components/filter-value-picker-DZORmKwM.js +0 -151
- package/components/filter-value-picker-datetime-0gRfWBzr.js +0 -139
- package/components/filter-value-picker-datetime-dCo1_pma.cjs +0 -42
- package/components/filter-value-picker-hierarchy-D8n6gV78.cjs +0 -47
- package/components/filter-value-picker-hierarchy-Dt7VNcSd.js +0 -232
- package/components/filter-value-picker-numeric-Cr7ll53O.js +0 -219
- package/components/filter-value-picker-numeric-DBw1TZtm.cjs +0 -48
- package/components/filters-B3zHSR73.js +0 -400
- package/components/filters-DIDatBfn.cjs +0 -150
- package/components/formatter-BeXmurVe.cjs +0 -20
- package/components/formula-CPrZC9BC.cjs +0 -45
- package/components/formula-codemirror-DycN-ivp.js +0 -12018
- package/components/formula-codemirror-uXTVVacE.cjs +0 -215
- package/components/formula-display-store-B6dtlBPk.js +0 -1086
- package/components/formula-display-store-CCxSWPEB.cjs +0 -20
- package/components/formula-editor-BPMeTS5F.cjs +0 -218
- package/components/formula-editor-BqHWUVdh.js +0 -666
- package/components/formula-field-Bfy1qysp.js +0 -40
- package/components/formula-field-CAtaDtSP.cjs +0 -20
- package/components/formula-ibsKYWEh.js +0 -138
- package/components/formula-input-base-Cs71sKh1.js +0 -236
- package/components/formula-input-base-_-8MncrA.cjs +0 -49
- package/components/fr-CHG2Tcby.cjs +0 -20
- package/components/fr-DIwbOnwC.js +0 -473
- package/components/funnel-chart-options.config-BVmrhzna.cjs +0 -20
- package/components/funnel-chart-options.config-D8fqrJvi.js +0 -187
- package/components/funnel-chart-positioning.config-BUMX4e-7.js +0 -48
- package/components/funnel-chart-positioning.config-CY042Tro.cjs +0 -20
- package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +0 -20
- package/components/funnel-chart-slots.config-CeGu8stc.js +0 -43
- package/components/get-css-variable-B8sJUuig.cjs +0 -20
- package/components/get-css-variable-r1spgqX0.js +0 -63
- package/components/get-dataset-name-Dwuh7DWE.cjs +0 -20
- package/components/get-dataset-name-SfDNjsuR.js +0 -27
- package/components/groupings-DuX9SnZa.cjs +0 -20
- package/components/groupings-OLk5e7JO.js +0 -52
- package/components/heat-map-options.config-5zjlVaa0.js +0 -224
- package/components/heat-map-options.config-xPdOcXDk.cjs +0 -20
- package/components/heat-map-positioning.config-C7W5YbvL.js +0 -48
- package/components/heat-map-positioning.config-CjaNs9QU.cjs +0 -20
- package/components/heat-map-slots.config-DBkkcvMN.js +0 -37
- package/components/heat-map-slots.config-Wp_oS8JQ.cjs +0 -20
- package/components/heat-table-options.config-Blcs4JjF.js +0 -372
- package/components/heat-table-options.config-DPbTFoRn.cjs +0 -20
- package/components/heat-table-positioning.config-B2ko43lN.cjs +0 -20
- package/components/heat-table-positioning.config-C6d8wmTk.js +0 -55
- package/components/heat-table-slots.config-BN7rtHZG.cjs +0 -20
- package/components/heat-table-slots.config-CJOXI-Sf.js +0 -49
- package/components/hexbin-map-options.config-CSFSqpMU.cjs +0 -20
- package/components/hexbin-map-options.config-D5o0k890.js +0 -276
- package/components/hexbin-map-positioning.config-B9Af5odq.js +0 -48
- package/components/hexbin-map-positioning.config-CaP2fsiE.cjs +0 -20
- package/components/hexbin-map-slots.config-CpJIfl6o.js +0 -37
- package/components/hexbin-map-slots.config-mx5zUTrA.cjs +0 -20
- package/components/image-options.config-C46UQpMq.js +0 -153
- package/components/image-options.config-DZ5q1D63.cjs +0 -20
- package/components/image-slots.config-DjaT4mUk.js +0 -24
- package/components/image-slots.config-ODQBVz5H.cjs +0 -20
- package/components/interactive-viz-item-CKRpHIwI.js +0 -693
- package/components/interactive-viz-item-D8btvzeg.cjs +0 -247
- package/components/item-grid-BEwohat_.js +0 -4559
- package/components/item-grid-CtW-2roU.cjs +0 -113
- package/components/item-option-CSc3jmeo.js +0 -919
- package/components/item-option-DkqkbwtF.cjs +0 -252
- package/components/item-option-action-button-group-BoZWUGPs.cjs +0 -53
- package/components/item-option-action-button-group-D_K-T_wB.js +0 -118
- package/components/item-option-base-Do3zK0fN.js +0 -123
- package/components/item-option-base-yH3-Snf-.cjs +0 -56
- package/components/item-option-color-palette-picker-B9Umcsw_.cjs +0 -40
- package/components/item-option-color-palette-picker-CTvaiVJ1.js +0 -2041
- package/components/item-option-color-picker-BLF9-2WR.js +0 -87
- package/components/item-option-color-picker-FIPCBMIC.cjs +0 -34
- package/components/item-option-color-range-BznRsx45.cjs +0 -98
- package/components/item-option-color-range-mvlBVdZK.js +0 -220
- package/components/item-option-multi-language-field-BMJdbHOd.js +0 -82
- package/components/item-option-multi-language-field-Rypasjvk.cjs +0 -33
- package/components/item-option-number-field-Bu4IYyNe.js +0 -102
- package/components/item-option-number-field-sNlrQ5mG.cjs +0 -38
- package/components/item-option-panel-Bmm9IeZR.js +0 -183
- package/components/item-option-panel-DEPAMt-A.cjs +0 -67
- package/components/item-option-picker-6-VRIzb5.js +0 -77
- package/components/item-option-picker-DXZce4bl.cjs +0 -37
- package/components/item-option-position-picker-DBy46OLT.js +0 -117
- package/components/item-option-position-picker-DW12bwRL.cjs +0 -32
- package/components/item-option-positions-number-field-BFW0c-PE.js +0 -164
- package/components/item-option-positions-number-field-HofP9ee6.cjs +0 -49
- package/components/item-option-radio-button-group-BN_a7dSl.cjs +0 -37
- package/components/item-option-radio-button-group-CpdXh9GA.js +0 -74
- package/components/item-option-slider-B-CM9FzR.cjs +0 -33
- package/components/item-option-slider-CRjRQP3Z.js +0 -81
- package/components/item-option-switch-CY6zMkI-.cjs +0 -30
- package/components/item-option-switch-Q-IaH1Xr.js +0 -69
- package/components/item-option-text-field-BzHaYPud.js +0 -80
- package/components/item-option-text-field-C2_1-zLs.cjs +0 -33
- package/components/item-slot-drop-CNX2TBXB.js +0 -324
- package/components/item-slot-drop-CR-dvLaD.cjs +0 -91
- package/components/item-slot-drop-panel-BaJoR9Zc.js +0 -355
- package/components/item-slot-drop-panel-DTvbJtNW.cjs +0 -57
- package/components/item-slot-picker-CnKeeXp5.cjs +0 -158
- package/components/item-slot-picker-panel-BMapBAxj.js +0 -448
- package/components/item-slot-picker-panel-Dw682RiT.cjs +0 -81
- package/components/item-slot-picker-tHRu_jaI.js +0 -474
- package/components/line-chart-options.config-BkK829A2.cjs +0 -20
- package/components/line-chart-options.config-KFAaQqB_.js +0 -168
- package/components/line-chart-positioning.config-Bwe9-1yw.js +0 -55
- package/components/line-chart-positioning.config-CfVRqaxT.cjs +0 -20
- package/components/line-chart-slots.config-D0jaC82U.js +0 -55
- package/components/line-chart-slots.config-vv66fcoE.cjs +0 -20
- package/components/load-data-fields-for-datasets-BNnr8x3m.js +0 -42
- package/components/load-data-fields-for-datasets-CW4Voiex.cjs +0 -20
- package/components/localized-mixin-BvQbkZEL.js +0 -45
- package/components/localized-mixin-DrK3QZNa.cjs +0 -20
- package/components/marker-map-options.config-BfPFVxpD.cjs +0 -20
- package/components/marker-map-options.config-D0RmFKKM.js +0 -117
- package/components/marker-map-positioning.config-DLXbw6Yd.cjs +0 -20
- package/components/marker-map-positioning.config-DLehY4Lv.js +0 -48
- package/components/marker-map-slots.config-DigZk7lN.cjs +0 -20
- package/components/marker-map-slots.config-DsMklO0v.js +0 -37
- package/components/nl-C_g1Le3t.js +0 -473
- package/components/nl-PxN5EqzT.cjs +0 -20
- package/components/ohlc-chart-options.config-BBdUKmJ9.js +0 -65
- package/components/ohlc-chart-options.config-BsBVP-Io.cjs +0 -20
- package/components/ohlc-chart-positioning.config-BGU-mDPW.cjs +0 -20
- package/components/ohlc-chart-positioning.config-Cz3zieDp.js +0 -78
- package/components/ohlc-chart-slots.config-BiQn5Kdg.js +0 -68
- package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +0 -20
- package/components/parallel-coordinates-plot-options.config--6iJkURT.cjs +0 -20
- package/components/parallel-coordinates-plot-options.config-KJrOL0Sr.js +0 -42
- package/components/parallel-coordinates-plot-positioning.config-CXIMbncP.cjs +0 -20
- package/components/parallel-coordinates-plot-positioning.config-Cc8k6gqG.js +0 -48
- package/components/parallel-coordinates-plot-slots.config-B7QY714-.js +0 -46
- package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +0 -20
- package/components/pivot-table-options.config-CKGnnXa_.cjs +0 -20
- package/components/pivot-table-options.config-DEmZ_EQi.js +0 -245
- package/components/pivot-table-positioning.config-BBd6xf8q.cjs +0 -20
- package/components/pivot-table-positioning.config-BK7wgw1A.js +0 -55
- package/components/pivot-table-slots.config-DpDaXLdw.js +0 -55
- package/components/pivot-table-slots.config-KlYXL90k.cjs +0 -20
- package/components/pragmatic-element-adapter-C_7HSvGV.js +0 -1252
- package/components/pragmatic-element-adapter-DPWYJiW9.cjs +0 -24
- package/components/pyramid-chart-options.config-8QtjhcJC.cjs +0 -20
- package/components/pyramid-chart-options.config-DiD3QFps.js +0 -240
- package/components/pyramid-chart-positioning.config-C7STytAm.cjs +0 -20
- package/components/pyramid-chart-positioning.config-CGjiKyPG.js +0 -55
- package/components/pyramid-chart-slots.config-BrKgartT.js +0 -50
- package/components/pyramid-chart-slots.config-CreUpxI2.cjs +0 -20
- package/components/radar-chart-options.config-COBM2L3R.js +0 -130
- package/components/radar-chart-options.config-DvW36_zk.cjs +0 -20
- package/components/radar-chart-positioning.config-6xWEPHjC.js +0 -55
- package/components/radar-chart-positioning.config-p0s42Zyt.cjs +0 -20
- package/components/radar-chart-slots.config-B3oIp-8w.cjs +0 -20
- package/components/radar-chart-slots.config-SivEBhuj.js +0 -53
- package/components/regular-table-options.config-B0WNqEjR.cjs +0 -20
- package/components/regular-table-options.config-B0zRcsWM.js +0 -148
- package/components/regular-table-slots.config-M2axBXl4.js +0 -35
- package/components/regular-table-slots.config-UwzWj6gg.cjs +0 -20
- package/components/route-map-options.config-CYNKz_Xm.cjs +0 -20
- package/components/route-map-options.config-CrMrDQ_l.js +0 -326
- package/components/route-map-positioning.config-B2qAh6WW.js +0 -66
- package/components/route-map-positioning.config-C8KmQ33c.cjs +0 -20
- package/components/route-map-slots.config-COCoP99E.js +0 -59
- package/components/route-map-slots.config-DfYT65BF.cjs +0 -20
- package/components/sankey-diagram-options.config-BYLiy1UX.js +0 -126
- package/components/sankey-diagram-options.config-D49IZ1y3.cjs +0 -20
- package/components/sankey-diagram-positioning.config-CBLQktr4.js +0 -66
- package/components/sankey-diagram-positioning.config-DAF803wR.cjs +0 -20
- package/components/sankey-diagram-slots.config-C-sqtrS-.js +0 -61
- package/components/sankey-diagram-slots.config-D-_u4w36.cjs +0 -20
- package/components/scatter-plot-options.config-BETVLevv.cjs +0 -20
- package/components/scatter-plot-options.config-BpUYcLt-.js +0 -302
- package/components/scatter-plot-positioning.config-0hj66nn4.cjs +0 -20
- package/components/scatter-plot-positioning.config-Be9hQ727.js +0 -77
- package/components/scatter-plot-slots.config-CrG6wQtV.cjs +0 -20
- package/components/scatter-plot-slots.config-Dg78lS25.js +0 -74
- package/components/search-filter-options.config-B-dGVPhS.cjs +0 -20
- package/components/search-filter-options.config-lGQ-biU5.js +0 -103
- package/components/search-filter-slots.config-BhDSDpNd.js +0 -39
- package/components/search-filter-slots.config-DP06ulJA.cjs +0 -20
- package/components/set-locale-DB1FMgtK.js +0 -43
- package/components/set-locale-DKCZkJVL.cjs +0 -20
- package/components/slicer-filter-options.config-7OXpRWtw.cjs +0 -20
- package/components/slicer-filter-options.config-B6rxZYcl.js +0 -226
- package/components/slicer-filter-positioning.config-BQoRGx8R.js +0 -48
- package/components/slicer-filter-positioning.config-CvcZ3qkf.cjs +0 -20
- package/components/slicer-filter-slots.config-CHKpdJvF.cjs +0 -20
- package/components/slicer-filter-slots.config-XtuZoiId.js +0 -44
- package/components/slider-filter-options.config-C7-5aoaC.js +0 -72
- package/components/slider-filter-options.config-CRdbX1IJ.cjs +0 -20
- package/components/slider-filter-slots.config-9R298H0t.cjs +0 -20
- package/components/slider-filter-slots.config-BYkIGVvh.js +0 -43
- package/components/slot-menu-CkiIhk9e.cjs +0 -64
- package/components/slot-menu-DZPe7qUA.js +0 -404
- package/components/slot-menu-list-BRsAe3-b.js +0 -326
- package/components/slot-menu-list-CCrkNqq8.cjs +0 -38
- package/components/slots-config-DMC15sjT.js +0 -77
- package/components/slots-config-DVH0lz6t.cjs +0 -20
- package/components/speedometer-chart-options.config-Bd3-G7S7.js +0 -246
- package/components/speedometer-chart-options.config-BsIu28S3.cjs +0 -20
- package/components/speedometer-chart-positioning.config-CAsBGyZ7.cjs +0 -20
- package/components/speedometer-chart-positioning.config-CsgmgREh.js +0 -48
- package/components/speedometer-chart-slots.config-CkeiXSCy.js +0 -39
- package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +0 -20
- package/components/spike-map-options.config-B_2BXI_9.js +0 -413
- package/components/spike-map-options.config-aaiZyME6.cjs +0 -20
- package/components/spike-map-positioning.config-BS8MuRkQ.js +0 -55
- package/components/spike-map-positioning.config-D4isshlL.cjs +0 -20
- package/components/spike-map-slots.config-C44Vxsit.js +0 -47
- package/components/spike-map-slots.config-cKfaD6dQ.cjs +0 -20
- package/components/strip-plot-options.config-By62J2Jj.js +0 -53
- package/components/strip-plot-options.config-TB3rkoj2.cjs +0 -20
- package/components/strip-plot-positioning.config-CufC8vJi.js +0 -48
- package/components/strip-plot-positioning.config-NpwP9QGU.cjs +0 -20
- package/components/strip-plot-slots.config-DNYlrK_c.cjs +0 -20
- package/components/strip-plot-slots.config-xsNFXerT.js +0 -38
- package/components/sunburst-chart-options.config-Ckk_kY_s.cjs +0 -20
- package/components/sunburst-chart-options.config-DwQwkQxR.js +0 -160
- package/components/sunburst-chart-positioning.config-C5UCbZWE.cjs +0 -20
- package/components/sunburst-chart-positioning.config-D60TNhUU.js +0 -48
- package/components/sunburst-chart-slots.config-D6Z2_Kh_.js +0 -38
- package/components/sunburst-chart-slots.config-DkUUt5RF.cjs +0 -20
- package/components/symbol-map-options.config-56eoWz4w.cjs +0 -20
- package/components/symbol-map-options.config-uXEbOHWD.js +0 -157
- package/components/symbol-map-positioning.config-D1esOfIw.js +0 -55
- package/components/symbol-map-positioning.config-D__gPAF-.cjs +0 -20
- package/components/symbol-map-slots.config-CHTIkMw4.js +0 -53
- package/components/symbol-map-slots.config-DwNf547A.cjs +0 -20
- package/components/text-options.config-B5y7YAqT.js +0 -67
- package/components/text-options.config-BwBCG2yo.cjs +0 -20
- package/components/text-slots.config-CPghLc8b.cjs +0 -20
- package/components/text-slots.config-sFoowMc6.js +0 -24
- package/components/treemap-chart-options.config-BouAbrk0.js +0 -184
- package/components/treemap-chart-options.config-r6biULUj.cjs +0 -20
- package/components/treemap-chart-positioning.config-BZ1yMqy5.cjs +0 -20
- package/components/treemap-chart-positioning.config-DEnYiZKj.js +0 -55
- package/components/treemap-chart-slots.config-BjHBRWDJ.js +0 -47
- package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +0 -20
- package/components/utils-Bn8v7iuu.cjs +0 -20
- package/components/utils-CIxpLDLh.js +0 -352
- package/components/v4-DIjJgmR0.js +0 -49
- package/components/venn-diagram-options.config-BZWBYEhB.js +0 -24
- package/components/venn-diagram-options.config-BamlR1qo.cjs +0 -20
- package/components/venn-diagram-positioning.config-DMceiBb8.js +0 -55
- package/components/venn-diagram-positioning.config-DUvGRRSh.cjs +0 -20
- package/components/venn-diagram-slots.config-CM0HPIPD.js +0 -47
- package/components/venn-diagram-slots.config-DYTmU8v2.cjs +0 -20
- package/components/video-options.config-BhBpkaLJ.cjs +0 -20
- package/components/video-options.config-DWuy1OHa.js +0 -127
- package/components/video-slots.config-B_aDlTp6.js +0 -24
- package/components/video-slots.config-DMut7o7r.cjs +0 -20
- package/components/viz-item-menu-BisYrhhJ.js +0 -170
- package/components/viz-item-menu-DEpm1w7U.cjs +0 -55
- package/components/wordcloud-chart-options.config-D041tFDG.js +0 -90
- package/components/wordcloud-chart-options.config-DgH4JgN2.cjs +0 -20
- package/components/wordcloud-chart-positioning.config-CeP0_j_m.cjs +0 -20
- package/components/wordcloud-chart-positioning.config-tVRXTpdQ.js +0 -55
- package/components/wordcloud-chart-slots.config-Cy-Jgcaq.js +0 -45
- package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +0 -20
- /package/components/{rolldown-runtime-mLOUI7ql.cjs → chunk-mLOUI7ql.cjs} +0 -0
|
@@ -1,413 +0,0 @@
|
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2026 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
|
7
|
-
* This license allows users with a current active Luzmo account
|
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
-
*
|
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
-
* SOFTWARE.
|
|
19
|
-
* */
|
|
20
|
-
import { i as e, n as t, t as n } from "./base-vk9LuivN.js";
|
|
21
|
-
import { t as r } from "./decorate-DyMgX_Uh.js";
|
|
22
|
-
import { t as i } from "./localized-mixin-BvQbkZEL.js";
|
|
23
|
-
import { i as a, r as o, t as s } from "./periods.const-NCTkxnvG.js";
|
|
24
|
-
import { r as c, t as l } from "./formatter-Cq5dFCyU.js";
|
|
25
|
-
import { luzmoCheckbox as u, luzmoCheckboxChecked as d } from "@luzmo/icons";
|
|
26
|
-
import "@luzmo/lucero/icon";
|
|
27
|
-
import { html as f, unsafeCSS as p } from "lit";
|
|
28
|
-
import { property as m, query as h } from "lit/decorators.js";
|
|
29
|
-
import { localized as g, msg as _ } from "@lit/localize";
|
|
30
|
-
import "@luzmo/lucero/action-button";
|
|
31
|
-
import "@luzmo/lucero/action-group";
|
|
32
|
-
import "@luzmo/lucero/field-label";
|
|
33
|
-
import "@luzmo/lucero/number-field";
|
|
34
|
-
import "@luzmo/lucero/picker";
|
|
35
|
-
import { Task as v } from "@lit/task";
|
|
36
|
-
import "@luzmo/lucero/progress-circle";
|
|
37
|
-
//#region src/utils/time/formats.const.ts
|
|
38
|
-
var y = {
|
|
39
|
-
"~": () => _("Auto", { desc: "Automatic setting of the option" }),
|
|
40
|
-
"/": () => "/",
|
|
41
|
-
"-": () => "-",
|
|
42
|
-
".": () => "."
|
|
43
|
-
}, b = ":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)}", x = class extends i(t(e, { validSizes: Object.values(n) })) {
|
|
44
|
-
constructor(...e) {
|
|
45
|
-
super(...e), this._loadLocaleFormatsConfig = new v(this, {
|
|
46
|
-
task: async ([e]) => {
|
|
47
|
-
if (e && e !== this._contentLanguageLoaded) {
|
|
48
|
-
let t = /* #__PURE__ */ Object.assign({
|
|
49
|
-
"../../utils/formatter/formats/cs.ts": () => import("./cs-wc4Fl7IN.js"),
|
|
50
|
-
"../../utils/formatter/formats/da.ts": () => import("./da-Byf4w3lJ.js"),
|
|
51
|
-
"../../utils/formatter/formats/de.ts": () => import("./de-OHJ9YCFU.js"),
|
|
52
|
-
"../../utils/formatter/formats/en-GB.ts": () => import("./en-GB-DzkdeUQh.js"),
|
|
53
|
-
"../../utils/formatter/formats/en-US.ts": () => import("./en-US-CcLhGxIh.js"),
|
|
54
|
-
"../../utils/formatter/formats/en.ts": () => import("./en-CcLhGxIh.js"),
|
|
55
|
-
"../../utils/formatter/formats/es.ts": () => import("./es-DuN6cMja.js"),
|
|
56
|
-
"../../utils/formatter/formats/fi.ts": () => import("./fi-vuFNiOkH.js"),
|
|
57
|
-
"../../utils/formatter/formats/fr.ts": () => import("./fr-CwOLJGv2.js"),
|
|
58
|
-
"../../utils/formatter/formats/he.ts": () => import("./he-Cs_3gvpL.js"),
|
|
59
|
-
"../../utils/formatter/formats/hu.ts": () => import("./hu-BXedq4ZF.js"),
|
|
60
|
-
"../../utils/formatter/formats/it.ts": () => import("./it-BoudiwDn.js"),
|
|
61
|
-
"../../utils/formatter/formats/ja.ts": () => import("./ja-DOkmGGSd.js"),
|
|
62
|
-
"../../utils/formatter/formats/ko.ts": () => import("./ko-BrzKwqTe.js"),
|
|
63
|
-
"../../utils/formatter/formats/mk.ts": () => import("./mk-Deht4BwZ.js"),
|
|
64
|
-
"../../utils/formatter/formats/nl.ts": () => import("./nl-C1BTOQ5N.js"),
|
|
65
|
-
"../../utils/formatter/formats/no.ts": () => import("./no-C9FQ33Mp.js"),
|
|
66
|
-
"../../utils/formatter/formats/pl.ts": () => import("./pl-4xvkt0Pl.js"),
|
|
67
|
-
"../../utils/formatter/formats/pt.ts": () => import("./pt-BUpCBhz9.js"),
|
|
68
|
-
"../../utils/formatter/formats/ru.ts": () => import("./ru-CkNBR3ab.js"),
|
|
69
|
-
"../../utils/formatter/formats/sv.ts": () => import("./sv-D2kQHkgH.js"),
|
|
70
|
-
"../../utils/formatter/formats/tr.ts": () => import("./tr-B66hMkRl.js"),
|
|
71
|
-
"../../utils/formatter/formats/zh-CN.ts": () => import("./zh-CN-EbmFbkUF.js"),
|
|
72
|
-
"../../utils/formatter/formats/zh-TW.ts": () => import("./zh-TW-zX5KG7hP.js")
|
|
73
|
-
});
|
|
74
|
-
if (t[`../../utils/formatter/formats/${e}.ts`]) {
|
|
75
|
-
let n = await t[`../../utils/formatter/formats/${e}.ts`]();
|
|
76
|
-
this._localeFormats = n?.default ?? {};
|
|
77
|
-
}
|
|
78
|
-
return this._contentLanguageLoaded = e, this._localeFormats;
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
args: () => [this.contentLanguage]
|
|
82
|
-
}), 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 = () => {
|
|
83
|
-
this._calculateSlotContent(), this.dispatchEvent(new CustomEvent("luzmo-slot-content-changed", {
|
|
84
|
-
bubbles: !0,
|
|
85
|
-
composed: !0,
|
|
86
|
-
cancelable: !0,
|
|
87
|
-
detail: { slotContent: this._currentSlotContent }
|
|
88
|
-
}));
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
static get styles() {
|
|
92
|
-
return [p(b)];
|
|
93
|
-
}
|
|
94
|
-
_parseSlotContent() {
|
|
95
|
-
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();
|
|
96
|
-
}
|
|
97
|
-
_parseSavedFormat() {
|
|
98
|
-
let e = this.slotContent?.format ?? "%d-%m-%Y", t = e.match(/[./-]/);
|
|
99
|
-
if (this._dateSeparator = e.includes("~") ? "~" : t?.[0] ?? "~", e.includes("%amd")) this._dateFormat = "auto";
|
|
100
|
-
else {
|
|
101
|
-
let t = e.indexOf("%d"), n = e.indexOf("%m");
|
|
102
|
-
t !== -1 && n !== -1 && (this._dateFormat = t < n ? "ddmm" : "mmdd");
|
|
103
|
-
}
|
|
104
|
-
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");
|
|
105
|
-
let n = this._dateLevel === 5 && this.slotContent?.weekDayNameFormat || this._dateLevel === 3 && this.slotContent?.monthNameFormat;
|
|
106
|
-
n && (this._weekDayAndMonthInYearFormat = n);
|
|
107
|
-
}
|
|
108
|
-
_calculateFormat() {
|
|
109
|
-
let e, t = this._localeFormats?.smartDateFormats ?? c;
|
|
110
|
-
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" || this._weekFormat !== "ddmm" && null) && e.separator === this._dateSeparator) : t.filter((e) => e.monthType === "number" && e.mmdd === (this._dateFormat === "mmdd" || this._dateFormat !== "ddmm" && 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");
|
|
111
|
-
}
|
|
112
|
-
_setWeekStartsOn() {
|
|
113
|
-
this._weekStart = this._weekStartElement.value, this._sendEvent(), this.requestUpdate();
|
|
114
|
-
}
|
|
115
|
-
_setDisplayAs() {
|
|
116
|
-
this._displayAs = this._displayAsElement.value, this._sendEvent(), this.requestUpdate();
|
|
117
|
-
}
|
|
118
|
-
_setWeekdayAndMonthInYearFormat() {
|
|
119
|
-
this._weekDayAndMonthInYearFormat = this._weekDayAndMonthInYearFormatElement.selected?.[0] ?? "long", this._sendEvent(), this.requestUpdate();
|
|
120
|
-
}
|
|
121
|
-
_setMonthNameFormat() {
|
|
122
|
-
this._monthNameFormat = this._monthNameFormatElement.selected?.[0], this._sendEvent(), this.requestUpdate();
|
|
123
|
-
}
|
|
124
|
-
_setMonthName() {
|
|
125
|
-
this._monthName = this._monthNameElement.selected, this._sendEvent(), this.requestUpdate();
|
|
126
|
-
}
|
|
127
|
-
_setWeekFormat() {
|
|
128
|
-
this._weekFormat = this._weekFormatElement.selected?.[0], this._sendEvent(), this.requestUpdate();
|
|
129
|
-
}
|
|
130
|
-
_setDateFormat() {
|
|
131
|
-
this._dateFormat = this._dateFormatElement.value, this._sendEvent(), this.requestUpdate();
|
|
132
|
-
}
|
|
133
|
-
_setDateSeparator() {
|
|
134
|
-
this._dateSeparator = this._dateSeparatorElement.value, this._sendEvent(), this.requestUpdate();
|
|
135
|
-
}
|
|
136
|
-
_set24hFormat() {
|
|
137
|
-
this._24hFormat = this._format24hElement.selected, this._sendEvent(), this.requestUpdate();
|
|
138
|
-
}
|
|
139
|
-
_setWeekday() {
|
|
140
|
-
this._weekDay = this._weekDayElement.selected, this._sendEvent(), this.requestUpdate();
|
|
141
|
-
}
|
|
142
|
-
_calculateSlotContent() {
|
|
143
|
-
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)));
|
|
144
|
-
}
|
|
145
|
-
willUpdate(e) {
|
|
146
|
-
super.willUpdate(e), e.has("slotContent") && (this._parseSlotContent(), this._calculateSlotContent());
|
|
147
|
-
}
|
|
148
|
-
_renderDisplaySettings() {
|
|
149
|
-
let e = s?.[`level${this._dateLevel ?? 0}`]?.map((e) => f`<luzmo-menu-item value=${e.key}>
|
|
150
|
-
${e.i18n()}
|
|
151
|
-
</luzmo-menu-item>`);
|
|
152
|
-
return f`<div class="setting">
|
|
153
|
-
<luzmo-field-label for="display-as"
|
|
154
|
-
>${_("Display", { desc: "Label for display setting" })}</luzmo-field-label
|
|
155
|
-
>
|
|
156
|
-
<luzmo-picker
|
|
157
|
-
id="display-as"
|
|
158
|
-
size=${this.size}
|
|
159
|
-
variant="highlight"
|
|
160
|
-
value=${this._displayAs ?? "default"}
|
|
161
|
-
@change=${this._setDisplayAs}
|
|
162
|
-
>
|
|
163
|
-
${e}
|
|
164
|
-
</luzmo-picker>
|
|
165
|
-
</div>`;
|
|
166
|
-
}
|
|
167
|
-
_renderWeekDayAndMonthNameFormatSettings() {
|
|
168
|
-
let e = Object.keys(o).map((e) => f`<luzmo-action-button value=${e}>
|
|
169
|
-
${o[e]()}
|
|
170
|
-
</luzmo-action-button>`);
|
|
171
|
-
return f` <div class="setting">
|
|
172
|
-
<luzmo-field-label for="weekday-and-month-in-year-format"
|
|
173
|
-
>${_("Format", { desc: "Label for format setting" })}</luzmo-field-label
|
|
174
|
-
>
|
|
175
|
-
<luzmo-action-group
|
|
176
|
-
emphasized
|
|
177
|
-
id="weekday-and-month-in-year-format"
|
|
178
|
-
size=${this.size}
|
|
179
|
-
compact
|
|
180
|
-
.selected=${[this._weekDayAndMonthInYearFormat ?? "short"]}
|
|
181
|
-
selects="single"
|
|
182
|
-
@change=${this._setWeekdayAndMonthInYearFormat}
|
|
183
|
-
>
|
|
184
|
-
${e}
|
|
185
|
-
</luzmo-action-group>
|
|
186
|
-
</div>`;
|
|
187
|
-
}
|
|
188
|
-
_renderMonthNameFormatSettings() {
|
|
189
|
-
return f` <div class="setting">
|
|
190
|
-
<luzmo-field-label for="month-name-format"
|
|
191
|
-
>${_("Format", { desc: "Label for format setting" })}</luzmo-field-label
|
|
192
|
-
>
|
|
193
|
-
<luzmo-action-group
|
|
194
|
-
emphasized
|
|
195
|
-
id="month-name-format"
|
|
196
|
-
size=${this.size}
|
|
197
|
-
compact
|
|
198
|
-
.selected=${[this._monthNameFormat ?? "long"]}
|
|
199
|
-
selects="single"
|
|
200
|
-
@change=${this._setMonthNameFormat}
|
|
201
|
-
>
|
|
202
|
-
<luzmo-action-button value="short">
|
|
203
|
-
${_("Short", { desc: "Short format option" })}
|
|
204
|
-
</luzmo-action-button>
|
|
205
|
-
<luzmo-action-button value="long">
|
|
206
|
-
${_("Long", { desc: "Long format option" })}
|
|
207
|
-
</luzmo-action-button>
|
|
208
|
-
</luzmo-action-group>
|
|
209
|
-
</div>`;
|
|
210
|
-
}
|
|
211
|
-
_renderWeekFormatSettings() {
|
|
212
|
-
let e = this._localeFormats?.smartDateFormats ?? c, t = e.find((e) => e.mmdd === !0 && e.separator === this._dateSeparator && e.monthType === "number"), n = e.find((e) => e.mmdd === !1 && e.separator === this._dateSeparator && e.monthType === "number");
|
|
213
|
-
return f` <div class="setting">
|
|
214
|
-
<luzmo-field-label for="week-format"
|
|
215
|
-
>${_("Format", { desc: "Label for format setting" })}</luzmo-field-label
|
|
216
|
-
>
|
|
217
|
-
<luzmo-action-group
|
|
218
|
-
emphasized
|
|
219
|
-
id="week-format"
|
|
220
|
-
size=${this.size}
|
|
221
|
-
compact
|
|
222
|
-
.selected=${[this._weekFormat ?? "ddmm"]}
|
|
223
|
-
selects="single"
|
|
224
|
-
@change=${this._setWeekFormat}
|
|
225
|
-
>
|
|
226
|
-
<luzmo-action-button value="ddmm">
|
|
227
|
-
${l({
|
|
228
|
-
...this._currentSlotContent,
|
|
229
|
-
type: "datetime",
|
|
230
|
-
format: n?.key
|
|
231
|
-
}, {
|
|
232
|
-
localFormats: this._localeFormats,
|
|
233
|
-
level: this._dateLevel
|
|
234
|
-
})(/* @__PURE__ */ new Date())}
|
|
235
|
-
</luzmo-action-button>
|
|
236
|
-
<luzmo-action-button value="mmdd"
|
|
237
|
-
>${l({
|
|
238
|
-
...this._currentSlotContent,
|
|
239
|
-
type: "datetime",
|
|
240
|
-
format: t?.key
|
|
241
|
-
}, {
|
|
242
|
-
localFormats: this._localeFormats,
|
|
243
|
-
level: this._dateLevel
|
|
244
|
-
})(/* @__PURE__ */ new Date())}</luzmo-action-button
|
|
245
|
-
>
|
|
246
|
-
</luzmo-action-group>
|
|
247
|
-
</div>`;
|
|
248
|
-
}
|
|
249
|
-
_renderWeekStartsOnSettings() {
|
|
250
|
-
let e = Object.keys(a).map((e) => f`<luzmo-menu-item value=${e}>
|
|
251
|
-
${a[e]()}
|
|
252
|
-
</luzmo-menu-item>`);
|
|
253
|
-
return f`<div class="setting">
|
|
254
|
-
<luzmo-field-label for="week-start"
|
|
255
|
-
>${_("Week starts on", { desc: "Label for week start setting" })}</luzmo-field-label
|
|
256
|
-
>
|
|
257
|
-
<luzmo-picker
|
|
258
|
-
id="week-start"
|
|
259
|
-
size=${this.size}
|
|
260
|
-
variant="highlight"
|
|
261
|
-
value=${this._weekStart ?? "Auto"}
|
|
262
|
-
@change=${this._setWeekStartsOn}
|
|
263
|
-
>
|
|
264
|
-
${e}
|
|
265
|
-
</luzmo-picker>
|
|
266
|
-
</div>`;
|
|
267
|
-
}
|
|
268
|
-
_renderMonthNameSettings() {
|
|
269
|
-
return f`<div class="settings-">
|
|
270
|
-
<luzmo-field-label for="month-name"
|
|
271
|
-
>${_("Month", { desc: "Time unit" })}</luzmo-field-label
|
|
272
|
-
>
|
|
273
|
-
<luzmo-action-button
|
|
274
|
-
id="month-name"
|
|
275
|
-
emphasized
|
|
276
|
-
toggles
|
|
277
|
-
.size=${this.size}
|
|
278
|
-
?selected=${this._monthName}
|
|
279
|
-
@change=${this._setMonthName}
|
|
280
|
-
>
|
|
281
|
-
<luzmo-icon
|
|
282
|
-
slot="icon"
|
|
283
|
-
.size=${this.size}
|
|
284
|
-
.icon=${this._monthName ? d : u}
|
|
285
|
-
></luzmo-icon>
|
|
286
|
-
${_("Name")}
|
|
287
|
-
</luzmo-action-button>
|
|
288
|
-
</div>`;
|
|
289
|
-
}
|
|
290
|
-
_renderDateFormatSettings() {
|
|
291
|
-
let e = this._dateSeparator === "~" ? "/" : this._dateSeparator;
|
|
292
|
-
return f`<div class="setting">
|
|
293
|
-
<luzmo-field-label for="date-format"
|
|
294
|
-
>${_("Format", { desc: "Label for format setting" })}</luzmo-field-label
|
|
295
|
-
>
|
|
296
|
-
<luzmo-picker
|
|
297
|
-
id="date-format"
|
|
298
|
-
size=${this.size}
|
|
299
|
-
variant="highlight"
|
|
300
|
-
value=${this._dateFormat ?? "Auto"}
|
|
301
|
-
@change=${this._setDateFormat}
|
|
302
|
-
>
|
|
303
|
-
<luzmo-menu-item value="auto">
|
|
304
|
-
${_("Auto", { desc: "Automatic setting of the option" })}
|
|
305
|
-
</luzmo-menu-item>
|
|
306
|
-
<luzmo-menu-item value="mmdd">12${e}31</luzmo-menu-item>
|
|
307
|
-
<luzmo-menu-item value="ddmm">31${e}12</luzmo-menu-item>
|
|
308
|
-
</luzmo-picker>
|
|
309
|
-
</div>`;
|
|
310
|
-
}
|
|
311
|
-
_renderSeparatorSettings() {
|
|
312
|
-
let e = Object.keys(y).map((e) => f`<luzmo-menu-item value=${e}>
|
|
313
|
-
${y[e]()}
|
|
314
|
-
</luzmo-menu-item>`);
|
|
315
|
-
return f`<div class="setting">
|
|
316
|
-
<luzmo-field-label for="date-separator"
|
|
317
|
-
>${_("Separator", { desc: "Label for date separator setting" })}</luzmo-field-label
|
|
318
|
-
>
|
|
319
|
-
<luzmo-picker
|
|
320
|
-
id="date-separator"
|
|
321
|
-
size=${this.size}
|
|
322
|
-
variant="highlight"
|
|
323
|
-
value=${this._dateSeparator ?? "~"}
|
|
324
|
-
@change=${this._setDateSeparator}
|
|
325
|
-
>
|
|
326
|
-
${e}
|
|
327
|
-
</luzmo-picker>
|
|
328
|
-
</div>`;
|
|
329
|
-
}
|
|
330
|
-
_render24hFormatSettings() {
|
|
331
|
-
return f`<div class="settings-">
|
|
332
|
-
<luzmo-field-label for="format-24h"
|
|
333
|
-
>${_("24h", { desc: "Label for 24h format setting" })}</luzmo-field-label
|
|
334
|
-
>
|
|
335
|
-
<luzmo-action-button
|
|
336
|
-
id="format-24h"
|
|
337
|
-
emphasized
|
|
338
|
-
toggles
|
|
339
|
-
.size=${this.size}
|
|
340
|
-
.label=${_("Show")}
|
|
341
|
-
?selected=${this._24hFormat}
|
|
342
|
-
@change=${this._set24hFormat}
|
|
343
|
-
>
|
|
344
|
-
<luzmo-icon
|
|
345
|
-
slot="icon"
|
|
346
|
-
.size=${this.size}
|
|
347
|
-
.icon=${this._24hFormat ? d : u}
|
|
348
|
-
></luzmo-icon>
|
|
349
|
-
</luzmo-action-button>
|
|
350
|
-
</div>`;
|
|
351
|
-
}
|
|
352
|
-
_renderWeekdaySettings() {
|
|
353
|
-
return f`<div class="settings-">
|
|
354
|
-
<luzmo-field-label for="weekday"
|
|
355
|
-
>${_("Weekday", { desc: "Label for weekday setting" })}</luzmo-field-label
|
|
356
|
-
>
|
|
357
|
-
<luzmo-action-button
|
|
358
|
-
id="weekday"
|
|
359
|
-
emphasized
|
|
360
|
-
toggles
|
|
361
|
-
.size=${this.size}
|
|
362
|
-
?selected=${this._weekDay}
|
|
363
|
-
@change=${this._setWeekday}
|
|
364
|
-
>
|
|
365
|
-
<luzmo-icon
|
|
366
|
-
slot="icon"
|
|
367
|
-
.size=${this.size}
|
|
368
|
-
.icon=${this._weekDay ? d : u}
|
|
369
|
-
></luzmo-icon>
|
|
370
|
-
${_("Show")}
|
|
371
|
-
</luzmo-action-button>
|
|
372
|
-
</div>`;
|
|
373
|
-
}
|
|
374
|
-
_renderAllSettings() {
|
|
375
|
-
return f`<div class="settings-container">
|
|
376
|
-
${this._dateLevel && ![1, 9].includes(this._dateLevel) ? f` <div class="settings-row">
|
|
377
|
-
${this._renderDisplaySettings()}
|
|
378
|
-
${this._dateLevel && this._dateLevel >= 5 && this._displayAs === "day_in_week" ? this._renderWeekStartsOnSettings() : ""}
|
|
379
|
-
</div>` : ""}
|
|
380
|
-
${["month_in_year", "day_in_week"].includes(this._displayAs ?? "") ? f` <div class="settings-row">
|
|
381
|
-
${this._renderWeekDayAndMonthNameFormatSettings()}
|
|
382
|
-
</div>` : ""}
|
|
383
|
-
${this._dateLevel && this._dateLevel > 1 && this._displayAs === "default" ? f` <div class="settings-row">
|
|
384
|
-
${this._dateLevel && this._dateLevel !== 4 && this._dateLevel !== 2 ? this._renderMonthNameSettings() : ""}
|
|
385
|
-
${this._dateLevel && this._dateLevel !== 4 && this._dateLevel > 2 && this._monthName ? this._renderMonthNameFormatSettings() : ""}
|
|
386
|
-
${this._dateLevel && this._dateLevel === 4 && !this._monthName ? this._renderWeekFormatSettings() : ""}
|
|
387
|
-
${this._dateLevel && this._dateLevel >= 5 && !this._monthName ? this._renderDateFormatSettings() : ""}
|
|
388
|
-
${this._dateLevel && this._dateLevel > 1 && !this._monthName ? this._renderSeparatorSettings() : ""}
|
|
389
|
-
${this._dateLevel && this._dateLevel >= 5 && this._monthName ? this._renderWeekdaySettings() : ""}
|
|
390
|
-
${this._dateLevel && this._dateLevel > 5 ? this._render24hFormatSettings() : ""}
|
|
391
|
-
</div>` : ""}
|
|
392
|
-
</div>`;
|
|
393
|
-
}
|
|
394
|
-
render() {
|
|
395
|
-
return this._loadLocaleFormatsConfig.render({
|
|
396
|
-
pending: () => f`<luzmo-progress-circle
|
|
397
|
-
indeterminate
|
|
398
|
-
.label=${_("Loading", { desc: "Loading spinner label" })}
|
|
399
|
-
.size=${this.size}
|
|
400
|
-
></luzmo-progress-circle>`,
|
|
401
|
-
complete: () => this._renderAllSettings(),
|
|
402
|
-
error: () => this._renderAllSettings()
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
};
|
|
406
|
-
//#endregion
|
|
407
|
-
//#region src/components/display-settings-datetime/index.ts
|
|
408
|
-
r([m({ type: String })], x.prototype, "contentLanguage", void 0), r([m({ type: String })], x.prototype, "size", void 0), r([m({
|
|
409
|
-
type: Object,
|
|
410
|
-
reflect: !1
|
|
411
|
-
})], x.prototype, "slotContent", void 0), r([h("#display-as")], x.prototype, "_displayAsElement", void 0), r([h("#week-start")], x.prototype, "_weekStartElement", void 0), r([h("#weekday-and-month-in-year-format")], x.prototype, "_weekDayAndMonthInYearFormatElement", void 0), r([h("#month-name-format")], x.prototype, "_monthNameFormatElement", void 0), r([h("#month-name")], x.prototype, "_monthNameElement", void 0), r([h("#week-format")], x.prototype, "_weekFormatElement", void 0), r([h("#date-format")], x.prototype, "_dateFormatElement", void 0), r([h("#date-separator")], x.prototype, "_dateSeparatorElement", void 0), r([h("#weekday")], x.prototype, "_weekDayElement", void 0), r([h("#format-24h")], x.prototype, "_format24hElement", void 0), x = r([g()], x), customElements.get("luzmo-display-settings-datetime") || customElements.define("luzmo-display-settings-datetime", x);
|
|
412
|
-
//#endregion
|
|
413
|
-
export { x as t };
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2026 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
|
7
|
-
* This license allows users with a current active Luzmo account
|
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
-
*
|
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
-
* SOFTWARE.
|
|
19
|
-
* */
|
|
20
|
-
const e=require("./base-DbEAseAh.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./localized-mixin-DrK3QZNa.cjs"),r=require("./periods.const-Db0nXrwr.cjs"),i=require("./formatter-BeXmurVe.cjs");let a=require("@luzmo/icons");require("@luzmo/lucero/icon");let o=require("lit"),s=require("lit/decorators.js"),c=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/action-group"),require("@luzmo/lucero/field-label"),require("@luzmo/lucero/number-field"),require("@luzmo/lucero/picker");let l=require("@lit/task");require("@luzmo/lucero/progress-circle");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-a-HHJy3d.cjs")),"../../utils/formatter/formats/da.ts":()=>Promise.resolve().then(()=>require("./da-BuDewcQL.cjs")),"../../utils/formatter/formats/de.ts":()=>Promise.resolve().then(()=>require("./de-BLMiWrvE.cjs")),"../../utils/formatter/formats/en-GB.ts":()=>Promise.resolve().then(()=>require("./en-GB-uxY5qmIM.cjs")),"../../utils/formatter/formats/en-US.ts":()=>Promise.resolve().then(()=>require("./en-US-q_Ruzags.cjs")),"../../utils/formatter/formats/en.ts":()=>Promise.resolve().then(()=>require("./en-q_Ruzags.cjs")),"../../utils/formatter/formats/es.ts":()=>Promise.resolve().then(()=>require("./es-D8MxHOsN.cjs")),"../../utils/formatter/formats/fi.ts":()=>Promise.resolve().then(()=>require("./fi-CzBe3q93.cjs")),"../../utils/formatter/formats/fr.ts":()=>Promise.resolve().then(()=>require("./fr-BlAUad9k.cjs")),"../../utils/formatter/formats/he.ts":()=>Promise.resolve().then(()=>require("./he-CdtHCved.cjs")),"../../utils/formatter/formats/hu.ts":()=>Promise.resolve().then(()=>require("./hu-D0kNP1hN.cjs")),"../../utils/formatter/formats/it.ts":()=>Promise.resolve().then(()=>require("./it-BZF7oRfg.cjs")),"../../utils/formatter/formats/ja.ts":()=>Promise.resolve().then(()=>require("./ja-aOzAwMPW.cjs")),"../../utils/formatter/formats/ko.ts":()=>Promise.resolve().then(()=>require("./ko-B50TWXco.cjs")),"../../utils/formatter/formats/mk.ts":()=>Promise.resolve().then(()=>require("./mk-CehJi277.cjs")),"../../utils/formatter/formats/nl.ts":()=>Promise.resolve().then(()=>require("./nl-wyer9j4m.cjs")),"../../utils/formatter/formats/no.ts":()=>Promise.resolve().then(()=>require("./no-PqE_GjX_.cjs")),"../../utils/formatter/formats/pl.ts":()=>Promise.resolve().then(()=>require("./pl-Cu6_UJbA.cjs")),"../../utils/formatter/formats/pt.ts":()=>Promise.resolve().then(()=>require("./pt-fymmI5Y3.cjs")),"../../utils/formatter/formats/ru.ts":()=>Promise.resolve().then(()=>require("./ru-RyEkpfw0.cjs")),"../../utils/formatter/formats/sv.ts":()=>Promise.resolve().then(()=>require("./sv-CtRGTNGV.cjs")),"../../utils/formatter/formats/tr.ts":()=>Promise.resolve().then(()=>require("./tr-xcDpAdjw.cjs")),"../../utils/formatter/formats/zh-CN.ts":()=>Promise.resolve().then(()=>require("./zh-CN-CnxgkEiH.cjs")),"../../utils/formatter/formats/zh-TW.ts":()=>Promise.resolve().then(()=>require("./zh-TW-CnxgkEiH.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??i.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`||this._weekFormat!==`ddmm`&&null)&&e.separator===this._dateSeparator):t.filter(e=>e.monthType===`number`&&e.mmdd===(this._dateFormat===`mmdd`||this._dateFormat!==`ddmm`&&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=r.t?.[`level${this._dateLevel??0}`]?.map(e=>o.html`<luzmo-menu-item value=${e.key}>
|
|
21
|
-
${e.i18n()}
|
|
22
|
-
</luzmo-menu-item>`);return o.html`<div class="setting">
|
|
23
|
-
<luzmo-field-label for="display-as"
|
|
24
|
-
>${(0,c.msg)(`Display`,{desc:`Label for display setting`})}</luzmo-field-label
|
|
25
|
-
>
|
|
26
|
-
<luzmo-picker
|
|
27
|
-
id="display-as"
|
|
28
|
-
size=${this.size}
|
|
29
|
-
variant="highlight"
|
|
30
|
-
value=${this._displayAs??`default`}
|
|
31
|
-
@change=${this._setDisplayAs}
|
|
32
|
-
>
|
|
33
|
-
${e}
|
|
34
|
-
</luzmo-picker>
|
|
35
|
-
</div>`}_renderWeekDayAndMonthNameFormatSettings(){let e=Object.keys(r.r).map(e=>o.html`<luzmo-action-button value=${e}>
|
|
36
|
-
${r.r[e]()}
|
|
37
|
-
</luzmo-action-button>`);return o.html` <div class="setting">
|
|
38
|
-
<luzmo-field-label for="weekday-and-month-in-year-format"
|
|
39
|
-
>${(0,c.msg)(`Format`,{desc:`Label for format setting`})}</luzmo-field-label
|
|
40
|
-
>
|
|
41
|
-
<luzmo-action-group
|
|
42
|
-
emphasized
|
|
43
|
-
id="weekday-and-month-in-year-format"
|
|
44
|
-
size=${this.size}
|
|
45
|
-
compact
|
|
46
|
-
.selected=${[this._weekDayAndMonthInYearFormat??`short`]}
|
|
47
|
-
selects="single"
|
|
48
|
-
@change=${this._setWeekdayAndMonthInYearFormat}
|
|
49
|
-
>
|
|
50
|
-
${e}
|
|
51
|
-
</luzmo-action-group>
|
|
52
|
-
</div>`}_renderMonthNameFormatSettings(){return o.html` <div class="setting">
|
|
53
|
-
<luzmo-field-label for="month-name-format"
|
|
54
|
-
>${(0,c.msg)(`Format`,{desc:`Label for format setting`})}</luzmo-field-label
|
|
55
|
-
>
|
|
56
|
-
<luzmo-action-group
|
|
57
|
-
emphasized
|
|
58
|
-
id="month-name-format"
|
|
59
|
-
size=${this.size}
|
|
60
|
-
compact
|
|
61
|
-
.selected=${[this._monthNameFormat??`long`]}
|
|
62
|
-
selects="single"
|
|
63
|
-
@change=${this._setMonthNameFormat}
|
|
64
|
-
>
|
|
65
|
-
<luzmo-action-button value="short">
|
|
66
|
-
${(0,c.msg)(`Short`,{desc:`Short format option`})}
|
|
67
|
-
</luzmo-action-button>
|
|
68
|
-
<luzmo-action-button value="long">
|
|
69
|
-
${(0,c.msg)(`Long`,{desc:`Long format option`})}
|
|
70
|
-
</luzmo-action-button>
|
|
71
|
-
</luzmo-action-group>
|
|
72
|
-
</div>`}_renderWeekFormatSettings(){let e=this._localeFormats?.smartDateFormats??i.r,t=e.find(e=>e.mmdd===!0&&e.separator===this._dateSeparator&&e.monthType===`number`),n=e.find(e=>e.mmdd===!1&&e.separator===this._dateSeparator&&e.monthType===`number`);return o.html` <div class="setting">
|
|
73
|
-
<luzmo-field-label for="week-format"
|
|
74
|
-
>${(0,c.msg)(`Format`,{desc:`Label for format setting`})}</luzmo-field-label
|
|
75
|
-
>
|
|
76
|
-
<luzmo-action-group
|
|
77
|
-
emphasized
|
|
78
|
-
id="week-format"
|
|
79
|
-
size=${this.size}
|
|
80
|
-
compact
|
|
81
|
-
.selected=${[this._weekFormat??`ddmm`]}
|
|
82
|
-
selects="single"
|
|
83
|
-
@change=${this._setWeekFormat}
|
|
84
|
-
>
|
|
85
|
-
<luzmo-action-button value="ddmm">
|
|
86
|
-
${i.t({...this._currentSlotContent,type:`datetime`,format:n?.key},{localFormats:this._localeFormats,level:this._dateLevel})(new Date)}
|
|
87
|
-
</luzmo-action-button>
|
|
88
|
-
<luzmo-action-button value="mmdd"
|
|
89
|
-
>${i.t({...this._currentSlotContent,type:`datetime`,format:t?.key},{localFormats:this._localeFormats,level:this._dateLevel})(new Date)}</luzmo-action-button
|
|
90
|
-
>
|
|
91
|
-
</luzmo-action-group>
|
|
92
|
-
</div>`}_renderWeekStartsOnSettings(){let e=Object.keys(r.i).map(e=>o.html`<luzmo-menu-item value=${e}>
|
|
93
|
-
${r.i[e]()}
|
|
94
|
-
</luzmo-menu-item>`);return o.html`<div class="setting">
|
|
95
|
-
<luzmo-field-label for="week-start"
|
|
96
|
-
>${(0,c.msg)(`Week starts on`,{desc:`Label for week start setting`})}</luzmo-field-label
|
|
97
|
-
>
|
|
98
|
-
<luzmo-picker
|
|
99
|
-
id="week-start"
|
|
100
|
-
size=${this.size}
|
|
101
|
-
variant="highlight"
|
|
102
|
-
value=${this._weekStart??`Auto`}
|
|
103
|
-
@change=${this._setWeekStartsOn}
|
|
104
|
-
>
|
|
105
|
-
${e}
|
|
106
|
-
</luzmo-picker>
|
|
107
|
-
</div>`}_renderMonthNameSettings(){return o.html`<div class="settings-">
|
|
108
|
-
<luzmo-field-label for="month-name"
|
|
109
|
-
>${(0,c.msg)(`Month`,{desc:`Time unit`})}</luzmo-field-label
|
|
110
|
-
>
|
|
111
|
-
<luzmo-action-button
|
|
112
|
-
id="month-name"
|
|
113
|
-
emphasized
|
|
114
|
-
toggles
|
|
115
|
-
.size=${this.size}
|
|
116
|
-
?selected=${this._monthName}
|
|
117
|
-
@change=${this._setMonthName}
|
|
118
|
-
>
|
|
119
|
-
<luzmo-icon
|
|
120
|
-
slot="icon"
|
|
121
|
-
.size=${this.size}
|
|
122
|
-
.icon=${this._monthName?a.luzmoCheckboxChecked:a.luzmoCheckbox}
|
|
123
|
-
></luzmo-icon>
|
|
124
|
-
${(0,c.msg)(`Name`)}
|
|
125
|
-
</luzmo-action-button>
|
|
126
|
-
</div>`}_renderDateFormatSettings(){let e=this._dateSeparator===`~`?`/`:this._dateSeparator;return o.html`<div class="setting">
|
|
127
|
-
<luzmo-field-label for="date-format"
|
|
128
|
-
>${(0,c.msg)(`Format`,{desc:`Label for format setting`})}</luzmo-field-label
|
|
129
|
-
>
|
|
130
|
-
<luzmo-picker
|
|
131
|
-
id="date-format"
|
|
132
|
-
size=${this.size}
|
|
133
|
-
variant="highlight"
|
|
134
|
-
value=${this._dateFormat??`Auto`}
|
|
135
|
-
@change=${this._setDateFormat}
|
|
136
|
-
>
|
|
137
|
-
<luzmo-menu-item value="auto">
|
|
138
|
-
${(0,c.msg)(`Auto`,{desc:`Automatic setting of the option`})}
|
|
139
|
-
</luzmo-menu-item>
|
|
140
|
-
<luzmo-menu-item value="mmdd">12${e}31</luzmo-menu-item>
|
|
141
|
-
<luzmo-menu-item value="ddmm">31${e}12</luzmo-menu-item>
|
|
142
|
-
</luzmo-picker>
|
|
143
|
-
</div>`}_renderSeparatorSettings(){let e=Object.keys(u).map(e=>o.html`<luzmo-menu-item value=${e}>
|
|
144
|
-
${u[e]()}
|
|
145
|
-
</luzmo-menu-item>`);return o.html`<div class="setting">
|
|
146
|
-
<luzmo-field-label for="date-separator"
|
|
147
|
-
>${(0,c.msg)(`Separator`,{desc:`Label for date separator setting`})}</luzmo-field-label
|
|
148
|
-
>
|
|
149
|
-
<luzmo-picker
|
|
150
|
-
id="date-separator"
|
|
151
|
-
size=${this.size}
|
|
152
|
-
variant="highlight"
|
|
153
|
-
value=${this._dateSeparator??`~`}
|
|
154
|
-
@change=${this._setDateSeparator}
|
|
155
|
-
>
|
|
156
|
-
${e}
|
|
157
|
-
</luzmo-picker>
|
|
158
|
-
</div>`}_render24hFormatSettings(){return o.html`<div class="settings-">
|
|
159
|
-
<luzmo-field-label for="format-24h"
|
|
160
|
-
>${(0,c.msg)(`24h`,{desc:`Label for 24h format setting`})}</luzmo-field-label
|
|
161
|
-
>
|
|
162
|
-
<luzmo-action-button
|
|
163
|
-
id="format-24h"
|
|
164
|
-
emphasized
|
|
165
|
-
toggles
|
|
166
|
-
.size=${this.size}
|
|
167
|
-
.label=${(0,c.msg)(`Show`)}
|
|
168
|
-
?selected=${this._24hFormat}
|
|
169
|
-
@change=${this._set24hFormat}
|
|
170
|
-
>
|
|
171
|
-
<luzmo-icon
|
|
172
|
-
slot="icon"
|
|
173
|
-
.size=${this.size}
|
|
174
|
-
.icon=${this._24hFormat?a.luzmoCheckboxChecked:a.luzmoCheckbox}
|
|
175
|
-
></luzmo-icon>
|
|
176
|
-
</luzmo-action-button>
|
|
177
|
-
</div>`}_renderWeekdaySettings(){return o.html`<div class="settings-">
|
|
178
|
-
<luzmo-field-label for="weekday"
|
|
179
|
-
>${(0,c.msg)(`Weekday`,{desc:`Label for weekday setting`})}</luzmo-field-label
|
|
180
|
-
>
|
|
181
|
-
<luzmo-action-button
|
|
182
|
-
id="weekday"
|
|
183
|
-
emphasized
|
|
184
|
-
toggles
|
|
185
|
-
.size=${this.size}
|
|
186
|
-
?selected=${this._weekDay}
|
|
187
|
-
@change=${this._setWeekday}
|
|
188
|
-
>
|
|
189
|
-
<luzmo-icon
|
|
190
|
-
slot="icon"
|
|
191
|
-
.size=${this.size}
|
|
192
|
-
.icon=${this._weekDay?a.luzmoCheckboxChecked:a.luzmoCheckbox}
|
|
193
|
-
></luzmo-icon>
|
|
194
|
-
${(0,c.msg)(`Show`)}
|
|
195
|
-
</luzmo-action-button>
|
|
196
|
-
</div>`}_renderAllSettings(){return o.html`<div class="settings-container">
|
|
197
|
-
${this._dateLevel&&![1,9].includes(this._dateLevel)?o.html` <div class="settings-row">
|
|
198
|
-
${this._renderDisplaySettings()}
|
|
199
|
-
${this._dateLevel&&this._dateLevel>=5&&this._displayAs===`day_in_week`?this._renderWeekStartsOnSettings():``}
|
|
200
|
-
</div>`:``}
|
|
201
|
-
${[`month_in_year`,`day_in_week`].includes(this._displayAs??``)?o.html` <div class="settings-row">
|
|
202
|
-
${this._renderWeekDayAndMonthNameFormatSettings()}
|
|
203
|
-
</div>`:``}
|
|
204
|
-
${this._dateLevel&&this._dateLevel>1&&this._displayAs==="default"?o.html` <div class="settings-row">
|
|
205
|
-
${this._dateLevel&&this._dateLevel!==4&&this._dateLevel!==2?this._renderMonthNameSettings():``}
|
|
206
|
-
${this._dateLevel&&this._dateLevel!==4&&this._dateLevel>2&&this._monthName?this._renderMonthNameFormatSettings():``}
|
|
207
|
-
${this._dateLevel&&this._dateLevel===4&&!this._monthName?this._renderWeekFormatSettings():``}
|
|
208
|
-
${this._dateLevel&&this._dateLevel>=5&&!this._monthName?this._renderDateFormatSettings():``}
|
|
209
|
-
${this._dateLevel&&this._dateLevel>1&&!this._monthName?this._renderSeparatorSettings():``}
|
|
210
|
-
${this._dateLevel&&this._dateLevel>=5&&this._monthName?this._renderWeekdaySettings():``}
|
|
211
|
-
${this._dateLevel&&this._dateLevel>5?this._render24hFormatSettings():``}
|
|
212
|
-
</div>`:``}
|
|
213
|
-
</div>`}render(){return this._loadLocaleFormatsConfig.render({pending:()=>o.html`<luzmo-progress-circle
|
|
214
|
-
indeterminate
|
|
215
|
-
.label=${(0,c.msg)(`Loading`,{desc:`Loading spinner label`})}
|
|
216
|
-
.size=${this.size}
|
|
217
|
-
></luzmo-progress-circle>`,complete:()=>this._renderAllSettings(),error:()=>this._renderAllSettings()})}};t.t([(0,s.property)({type:String})],f.prototype,`contentLanguage`,void 0),t.t([(0,s.property)({type:String})],f.prototype,`size`,void 0),t.t([(0,s.property)({type:Object,reflect:!1})],f.prototype,`slotContent`,void 0),t.t([(0,s.query)(`#display-as`)],f.prototype,`_displayAsElement`,void 0),t.t([(0,s.query)(`#week-start`)],f.prototype,`_weekStartElement`,void 0),t.t([(0,s.query)(`#weekday-and-month-in-year-format`)],f.prototype,`_weekDayAndMonthInYearFormatElement`,void 0),t.t([(0,s.query)(`#month-name-format`)],f.prototype,`_monthNameFormatElement`,void 0),t.t([(0,s.query)(`#month-name`)],f.prototype,`_monthNameElement`,void 0),t.t([(0,s.query)(`#week-format`)],f.prototype,`_weekFormatElement`,void 0),t.t([(0,s.query)(`#date-format`)],f.prototype,`_dateFormatElement`,void 0),t.t([(0,s.query)(`#date-separator`)],f.prototype,`_dateSeparatorElement`,void 0),t.t([(0,s.query)(`#weekday`)],f.prototype,`_weekDayElement`,void 0),t.t([(0,s.query)(`#format-24h`)],f.prototype,`_format24hElement`,void 0),f=t.t([(0,c.localized)()],f),customElements.get(`luzmo-display-settings-datetime`)||customElements.define(`luzmo-display-settings-datetime`,f),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return f}});
|