@luzmo/analytics-components-kit 1.0.4-beta.1 → 1.0.4-beta.3
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 +1 -1
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.js +1 -1
- package/components/ai-chat-CXt4wCe0.js +3715 -0
- package/components/ai-chat-Dnf-C838.cjs +258 -0
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/ai-interaction-textarea-B_-aZ9mc.cjs +68 -0
- package/components/ai-interaction-textarea-DSrZkuh9.js +299 -0
- package/components/area-chart-options.config-BjdRY1sr.js +146 -0
- package/components/area-chart-options.config-CJYI-zcZ.cjs +20 -0
- package/components/area-chart-positioning.config-PZ-MmeDb.cjs +20 -0
- package/components/area-chart-positioning.config-hLhrDJ3v.js +55 -0
- package/components/area-chart-slots.config-B56LJaky.cjs +20 -0
- package/components/area-chart-slots.config-BpvvqFy_.js +55 -0
- package/components/bar-chart-options.config-D2a-U6kG.cjs +20 -0
- package/components/bar-chart-options.config-DxNHV39Y.js +220 -0
- package/components/bar-chart-positioning.config-C6wWTn1o.js +59 -0
- package/components/bar-chart-positioning.config-DI8tOMbI.cjs +20 -0
- package/components/bar-chart-slots.config-CfIirCOX.js +50 -0
- package/components/bar-chart-slots.config-CkOVmYcA.cjs +20 -0
- package/components/base-BCmPH4SF.cjs +20 -0
- package/components/base-DYkpEuMf.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-CXey4hvi.js +296 -0
- package/components/box-plot-options.config-Di28EvZb.cjs +20 -0
- package/components/box-plot-positioning.config-D_qhNWth.cjs +20 -0
- package/components/box-plot-positioning.config-XG-WcIlA.js +48 -0
- package/components/box-plot-slots.config-DL-tTTn9.cjs +20 -0
- package/components/box-plot-slots.config-DclNulnH.js +40 -0
- package/components/bubble-chart-options.config-CeaOv4eF.js +115 -0
- package/components/bubble-chart-options.config-CnpBrIo6.cjs +20 -0
- package/components/bubble-chart-positioning.config-CHYBh_Nb.cjs +20 -0
- package/components/bubble-chart-positioning.config-o_r-GWQG.js +55 -0
- package/components/bubble-chart-slots.config-D7vQta7G.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-CLn7sV4W.js +75 -0
- package/components/bullet-chart-positioning.config-BF8PflF6.cjs +20 -0
- package/components/bullet-chart-positioning.config-DE5oy4M6.js +56 -0
- package/components/bullet-chart-slots.config-BaTbWYvU.cjs +20 -0
- package/components/bullet-chart-slots.config-IX7zJWc7.js +46 -0
- package/components/choropleth-map-options.config-CmtZtBAC.cjs +20 -0
- package/components/choropleth-map-options.config-DzTlJSO3.js +348 -0
- package/components/choropleth-map-positioning.config-Cf8bEIns.js +55 -0
- package/components/choropleth-map-positioning.config-DT1WWljP.cjs +20 -0
- package/components/choropleth-map-slots.config-ClMcW8wV.cjs +20 -0
- package/components/choropleth-map-slots.config-y0y9rf6i.js +53 -0
- package/components/circle-pack-chart-options.config-BA_G1sQ8.cjs +20 -0
- package/components/circle-pack-chart-options.config-DoLPbnPq.js +54 -0
- package/components/circle-pack-chart-positioning.config-DDpnake6.cjs +20 -0
- package/components/circle-pack-chart-positioning.config-Dy-DZ_de.js +48 -0
- package/components/circle-pack-chart-slots.config-IH2KV7z1.cjs +20 -0
- package/components/circle-pack-chart-slots.config-X9WVAykN.js +38 -0
- package/components/circular-gauge-options.config-BPUFjqx8.js +188 -0
- package/components/circular-gauge-options.config-BtP-YDIr.cjs +20 -0
- package/components/circular-gauge-positioning.config-D2t_3T1J.cjs +20 -0
- package/components/circular-gauge-positioning.config-DljBe7e-.js +48 -0
- package/components/circular-gauge-slots.config-B6ajddW-.cjs +20 -0
- package/components/circular-gauge-slots.config-NIEmIAIG.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-DQts3cE4.js +219 -0
- package/components/column-chart-options.config-eJ1Cexxe.cjs +20 -0
- package/components/column-chart-positioning.config-Bob00Qnq.js +55 -0
- package/components/column-chart-positioning.config-Uvvr5PxW.cjs +20 -0
- package/components/column-chart-slots.config-BY6y_rvE.cjs +20 -0
- package/components/column-chart-slots.config-CoFarLvo.js +50 -0
- package/components/combination-chart-options.config-C3kZ2fpK.cjs +20 -0
- package/components/combination-chart-options.config-CjSV6Ic4.js +87 -0
- package/components/combination-chart-positioning.config-BzbcDQ2O.cjs +20 -0
- package/components/combination-chart-positioning.config-DG2CM16I.js +48 -0
- package/components/combination-chart-slots.config-BGRHSwfr.js +43 -0
- package/components/combination-chart-slots.config-Ciza_y3a.cjs +20 -0
- package/components/conditional-number-options.config-CZFqw31c.js +205 -0
- package/components/conditional-number-options.config-CadHLi0m.cjs +20 -0
- package/components/conditional-number-positioning.config-CT8PqxDT.js +48 -0
- package/components/conditional-number-positioning.config-DpORiYgh.cjs +20 -0
- package/components/conditional-number-slots.config-CWX6OuUa.cjs +20 -0
- package/components/conditional-number-slots.config-r_C8T2HH.js +39 -0
- package/components/convert-data-field-to-slot-content-BQkSy_8B.cjs +20 -0
- package/components/convert-data-field-to-slot-content-C6IIqU7G.js +53 -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-CxUItUcs.cjs +54 -0
- package/components/data-field-RzkD37hR.js +121 -0
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -1
- package/components/data-field-level-55bJkqFt.cjs +55 -0
- package/components/data-field-level-zbu4U2m5.js +246 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/data-field-panel-C3O77CIF.cjs +87 -0
- package/components/data-field-panel-Ob-hNZwz.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-CYQy6Ow-.js +262 -0
- package/components/data-fields-select-D-nSjOep.cjs +41 -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-BW5v_7_L.cjs +75 -0
- package/components/dataset-selector-list-DwfeaUGu.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-BU7YhT7l.cjs +79 -0
- package/components/dataset-selector-row-CLbx0joD.js +273 -0
- package/components/date-comparison-filter-options.config--clPxHFt.cjs +20 -0
- package/components/date-comparison-filter-options.config-s16IGX_4.js +126 -0
- package/components/date-comparison-filter-slots.config-DQBKeCRX.js +33 -0
- package/components/date-comparison-filter-slots.config-KO9B0lfS.cjs +20 -0
- package/components/date-filter-options.config-BdNFe-Ds.cjs +20 -0
- package/components/date-filter-options.config-ChFEIjN3.js +118 -0
- package/components/date-filter-slots.config-BrQoD-EF.cjs +20 -0
- package/components/date-filter-slots.config-DREsncpE.js +37 -0
- package/components/de-BY1wWZE8.cjs +20 -0
- package/components/de-D-xQoqdB.js +473 -0
- package/components/decorate-CaYbmmmm.js +28 -0
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-COYLimuI.cjs +120 -0
- package/components/display-settings-ajA8j6kr.js +272 -0
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/display-settings-binning-GKaol6nW.cjs +56 -0
- package/components/display-settings-binning-MHns2Ns6.js +110 -0
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-datetime-CLRXVpld.cjs +217 -0
- package/components/display-settings-datetime-D5eBAfWQ.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-CpulhtNX.js +89 -0
- package/components/display-settings-grand-totals-DltI_Z-x.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-CurqaTi5.cjs +190 -0
- package/components/display-settings-numeric-DnyXOV_x.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-DP2grX4n.cjs +229 -0
- package/components/display-settings-period-over-period-Do4qG7yY.js +433 -0
- package/components/donut-chart-options.config-K-HkE7sL.cjs +20 -0
- package/components/donut-chart-options.config-WNOpb2n9.js +207 -0
- package/components/donut-chart-positioning.config-BLnTmwTZ.cjs +20 -0
- package/components/donut-chart-positioning.config-Bl96um6F.js +48 -0
- package/components/donut-chart-slots.config-DEQ3Cw6c.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-DBNawOPR.js +153 -0
- package/components/dropdown-filter-slots.config-BBZChIHC.cjs +20 -0
- package/components/dropdown-filter-slots.config-DcStZGjV.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-BIaD4kOL.cjs +20 -0
- package/components/es-CLnBAiLu.js +473 -0
- package/components/evolution-number-options.config-Bt1FZqqQ.cjs +20 -0
- package/components/evolution-number-options.config-CrIM2GTn.js +228 -0
- package/components/evolution-number-positioning.config-DSoC35zp.cjs +20 -0
- package/components/evolution-number-positioning.config-DXNPD29G.js +48 -0
- package/components/evolution-number-slots.config-Bq_JlxgK.js +37 -0
- package/components/evolution-number-slots.config-CYxdcD-x.cjs +20 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-expression-picker-0eNf_L9I.cjs +38 -0
- package/components/filter-expression-picker-D_buTmzJ.js +425 -0
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-item-DGnRmeaB.cjs +58 -0
- package/components/filter-item-VzEHDr04.js +242 -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-C1lDTmKM.cjs +60 -0
- package/components/filter-value-picker-CIblY-PW.js +151 -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-DQpEf_tv.js +139 -0
- package/components/filter-value-picker-datetime-dCo1_pma.cjs +42 -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-DaZlasgM.cjs +47 -0
- package/components/filter-value-picker-hierarchy-DzHUrpyk.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-BU975w8c.js +219 -0
- package/components/filter-value-picker-numeric-D-dUSGAP.cjs +48 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/filters-BgTnxSKg.js +400 -0
- package/components/filters-Cx1S1-vx.cjs +150 -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-CeDEKB7D.js +138 -0
- package/components/formula-D7E8UieE.cjs +45 -0
- package/components/formula-codemirror-CFMYytMd.cjs +215 -0
- package/components/formula-codemirror-MygWCu2u.js +11973 -0
- package/components/formula-display-store-BYa910x_.js +1086 -0
- package/components/formula-display-store-DjjsQ5mW.cjs +20 -0
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.js +3 -3
- package/components/formula-editor-4PoZ3BlC.cjs +218 -0
- package/components/formula-editor-DeYzzLDr.js +666 -0
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -1
- package/components/formula-field-DXdxspyY.js +40 -0
- package/components/formula-field-DkKXMIMg.cjs +20 -0
- package/components/formula-input-base-Bz_XVZcs.cjs +49 -0
- package/components/formula-input-base-Dok5ujvH.js +236 -0
- package/components/fr-CHG2Tcby.cjs +20 -0
- package/components/fr-DIwbOnwC.js +473 -0
- package/components/funnel-chart-options.config-BAIgb6x9.cjs +20 -0
- package/components/funnel-chart-options.config-k0X4rkj-.js +187 -0
- package/components/funnel-chart-positioning.config-BcsV1xp7.cjs +20 -0
- package/components/funnel-chart-positioning.config-CWSM8nTo.js +48 -0
- package/components/funnel-chart-slots.config-CSI5mdma.cjs +20 -0
- package/components/funnel-chart-slots.config-DKhaZf_r.js +43 -0
- package/components/get-css-variable-Bpma6ZOo.js +63 -0
- package/components/get-css-variable-rHTFFWYM.cjs +20 -0
- package/components/get-dataset-name-Dwuh7DWE.cjs +20 -0
- package/components/get-dataset-name-SfDNjsuR.js +27 -0
- package/components/groupings-BNrLlXIB.cjs +20 -0
- package/components/groupings-okwLJKoG.js +52 -0
- package/components/heat-map-options.config-Ct-93RVQ.cjs +20 -0
- package/components/heat-map-options.config-_xxAm6iG.js +224 -0
- package/components/heat-map-positioning.config-C0dkG5_9.cjs +20 -0
- package/components/heat-map-positioning.config-DQJP4mTG.js +48 -0
- package/components/heat-map-slots.config-BDfEGgq5.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-DxRbWqJ8.js +372 -0
- package/components/heat-table-positioning.config-BzSpf7ed.cjs +20 -0
- package/components/heat-table-positioning.config-WUHNZPT-.js +55 -0
- package/components/heat-table-slots.config-CH6Q9203.cjs +20 -0
- package/components/heat-table-slots.config-CVh1TEJJ.js +49 -0
- package/components/hexbin-map-options.config-CUAv6zuD.cjs +20 -0
- package/components/hexbin-map-options.config-CmAmK-jM.js +276 -0
- package/components/hexbin-map-positioning.config-CJPhgdt2.js +48 -0
- package/components/hexbin-map-positioning.config-Cno9WIc9.cjs +20 -0
- package/components/hexbin-map-slots.config-BdkQVzI7.cjs +20 -0
- package/components/hexbin-map-slots.config-rxPZ4kwL.js +37 -0
- package/components/image-options.config-DJ2DEf7g.js +153 -0
- package/components/image-options.config-DXqA7sAa.cjs +20 -0
- package/components/image-slots.config-DprzKxj3.cjs +20 -0
- package/components/image-slots.config-bDNDmiWy.js +24 -0
- package/components/index.cjs +1 -1
- package/components/index.js +63 -62
- package/components/interactive-viz-item/helpers/chart-helpers.d.ts +7 -0
- package/components/interactive-viz-item/index.cjs +20 -0
- package/components/interactive-viz-item/index.d.ts +10 -0
- package/components/interactive-viz-item/index.js +28 -0
- package/components/interactive-viz-item/interactive-viz-item.d.ts +96 -0
- package/components/interactive-viz-item/types.d.ts +117 -0
- package/components/interactive-viz-item-63pap_oz.cjs +247 -0
- package/components/interactive-viz-item-QVji6wbp.js +693 -0
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/item-grid-CO_cqGqJ.js +4559 -0
- package/components/item-grid-CRAoMdCq.cjs +113 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/item-option-Bc6qXONK.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-VpgTKSIV.js +118 -0
- package/components/item-option-action-button-group-jPUDKP3M.cjs +53 -0
- package/components/item-option-base-Bk9L8Ie7.cjs +56 -0
- package/components/item-option-base-VV7gyznL.js +123 -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-CQgG_NPQ.js +2041 -0
- package/components/item-option-color-palette-picker-kch0Ep_5.cjs +40 -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-BmQBTQzb.js +87 -0
- package/components/item-option-color-picker-DeDwpICb.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-Cj6sZ72F.cjs +98 -0
- package/components/item-option-color-range-D2kHXssY.js +220 -0
- package/components/item-option-iQM2pOGK.cjs +252 -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-Cc9ph205.cjs +33 -0
- package/components/item-option-multi-language-field-DbqcqhhN.js +82 -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-B6GFKuLN.cjs +38 -0
- package/components/item-option-number-field-BbCVJeXZ.js +102 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/item-option-panel-6UFGCcnF.cjs +67 -0
- package/components/item-option-panel-CrNZ0xIF.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-DJKTAG9w.cjs +37 -0
- package/components/item-option-picker-YquXTQNY.js +77 -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-Csc4Y6dN.cjs +32 -0
- package/components/item-option-position-picker-DKvsF-VQ.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-Bxcbu_IR.js +164 -0
- package/components/item-option-positions-number-field-DBV6Yekk.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-Bzh4RtSn.cjs +37 -0
- package/components/item-option-radio-button-group-Cw-xUSUS.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-BwQnaxvO.js +81 -0
- package/components/item-option-slider-DUqo3Fw0.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-DBsakQjy.cjs +30 -0
- package/components/item-option-switch-IixoilYJ.js +69 -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-B4V_sKnM.cjs +33 -0
- package/components/item-option-text-field-CdWylobQ.js +80 -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-BmvMi3dI.js +324 -0
- package/components/item-slot-drop-D8KI2kny.cjs +91 -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-Crw-ktDj.cjs +57 -0
- package/components/item-slot-drop-panel-D5vaJidp.js +355 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/item-slot-picker-BZV33YoP.js +474 -0
- package/components/item-slot-picker-BgQAviso.cjs +158 -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-C26kZ4zE.cjs +81 -0
- package/components/item-slot-picker-panel-DyhRlAKN.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-CfHRdG6O.js +168 -0
- package/components/line-chart-options.config-DKQ1k4lg.cjs +20 -0
- package/components/line-chart-positioning.config-Cfcgse1N.js +55 -0
- package/components/line-chart-positioning.config-pSGQm1C1.cjs +20 -0
- package/components/line-chart-slots.config-Cjp4btvG.cjs +20 -0
- package/components/line-chart-slots.config-DKy4D4Yt.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-BYWQe1fg.js +45 -0
- package/components/localized-mixin-DrK3QZNa.cjs +20 -0
- package/components/marker-map-options.config-C_aGdRQQ.js +117 -0
- package/components/marker-map-options.config-DBPPcGN4.cjs +20 -0
- package/components/marker-map-positioning.config-B-HitobG.cjs +20 -0
- package/components/marker-map-positioning.config-DTCPGbnG.js +48 -0
- package/components/marker-map-slots.config-BKRRAGwB.js +37 -0
- package/components/marker-map-slots.config-BOQ8AwRv.cjs +20 -0
- package/components/nl-C_g1Le3t.js +473 -0
- package/components/nl-PxN5EqzT.cjs +20 -0
- package/components/ohlc-chart-options.config-Bd-vLN0I.js +65 -0
- package/components/ohlc-chart-options.config-D9h-VLdq.cjs +20 -0
- package/components/ohlc-chart-positioning.config-D0kJJkXw.js +78 -0
- package/components/ohlc-chart-positioning.config-NhpIR1T3.cjs +20 -0
- package/components/ohlc-chart-slots.config-CUBUexI-.cjs +20 -0
- package/components/ohlc-chart-slots.config-DC8NCD0o.js +68 -0
- package/components/parallel-coordinates-plot-options.config-BUo6XxfP.js +42 -0
- package/components/parallel-coordinates-plot-options.config-ovgY0A7j.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-DLF0U4lZ.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-Dzd0eaka.js +48 -0
- package/components/parallel-coordinates-plot-slots.config-BXZ-NmbH.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-Dy-9mztD.js +46 -0
- package/components/pivot-table-options.config-BxKo1DCU.cjs +20 -0
- package/components/pivot-table-options.config-DrzB4qVX.js +245 -0
- package/components/pivot-table-positioning.config-BvUjUkG3.cjs +20 -0
- package/components/pivot-table-positioning.config-PKXfqjiN.js +55 -0
- package/components/pivot-table-slots.config-OQe8tS40.js +55 -0
- package/components/pivot-table-slots.config-VxbOGtmB.cjs +20 -0
- package/components/pragmatic-element-adapter-BFUFSRw6.js +1252 -0
- package/components/pragmatic-element-adapter-CKhTZWGj.cjs +24 -0
- package/components/pyramid-chart-options.config-Dux8839h.js +240 -0
- package/components/pyramid-chart-options.config-lioHQSoq.cjs +20 -0
- package/components/pyramid-chart-positioning.config-48iZhPdi.cjs +20 -0
- package/components/pyramid-chart-positioning.config-C8yiD0R3.js +55 -0
- package/components/pyramid-chart-slots.config-CN_Q2YsP.cjs +20 -0
- package/components/pyramid-chart-slots.config-DwlZaBAF.js +50 -0
- package/components/radar-chart-options.config-ColtKo6Z.js +130 -0
- package/components/radar-chart-options.config-DhnoFEzo.cjs +20 -0
- package/components/radar-chart-positioning.config-CpqhJjoz.cjs +20 -0
- package/components/radar-chart-positioning.config-L5Eu5W1I.js +55 -0
- package/components/radar-chart-slots.config-BISYnTom.cjs +20 -0
- package/components/radar-chart-slots.config-BuHg4Zeg.js +53 -0
- package/components/regular-table-options.config-Bk6CBPgj.cjs +20 -0
- package/components/regular-table-options.config-DopdB4eB.js +148 -0
- package/components/regular-table-slots.config--SVEN5Cu.js +35 -0
- package/components/regular-table-slots.config-BU6Ff96U.cjs +20 -0
- package/components/route-map-options.config-BCuJw5k3.js +326 -0
- package/components/route-map-options.config-CAi93e7I.cjs +20 -0
- package/components/route-map-positioning.config-DTwMkeiu.cjs +20 -0
- package/components/route-map-positioning.config-DVb_Jiws.js +66 -0
- package/components/route-map-slots.config-CmVIxDkx.js +59 -0
- package/components/route-map-slots.config-Dznp0DT3.cjs +20 -0
- package/components/sankey-diagram-options.config-BH3kpjFs.js +126 -0
- package/components/sankey-diagram-options.config-D7ZrZV0g.cjs +20 -0
- package/components/sankey-diagram-positioning.config-Dk0siSAo.js +66 -0
- package/components/sankey-diagram-positioning.config-_kyrBnJ4.cjs +20 -0
- package/components/sankey-diagram-slots.config-TKCUvHOD.cjs +20 -0
- package/components/sankey-diagram-slots.config-lbkF8DWJ.js +61 -0
- package/components/scatter-plot-options.config-DXqKb34r.cjs +20 -0
- package/components/scatter-plot-options.config-Dn6ILlJw.js +302 -0
- package/components/scatter-plot-positioning.config-440yA7x5.js +77 -0
- package/components/scatter-plot-positioning.config-DaYstFV8.cjs +20 -0
- package/components/scatter-plot-slots.config-CPsk9FUg.cjs +20 -0
- package/components/scatter-plot-slots.config-DEFWWj0_.js +74 -0
- package/components/search-filter-options.config-DWKVxBc5.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-vyPYIXE7.js +39 -0
- package/components/set-locale-DB1FMgtK.js +43 -0
- package/components/set-locale-DKCZkJVL.cjs +20 -0
- package/components/slicer-filter-options.config-BhLn4U1W.cjs +20 -0
- package/components/slicer-filter-options.config-C6HPrjIw.js +226 -0
- package/components/slicer-filter-positioning.config-B6wPo539.js +48 -0
- package/components/slicer-filter-positioning.config-DdfTuXdV.cjs +20 -0
- package/components/slicer-filter-slots.config-BZWCSkX4.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-CvqHWJIX.js +72 -0
- package/components/slider-filter-slots.config-BY9X2rlz.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-BBnibMJU.cjs +64 -0
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/slot-menu-list-D193fsQX.cjs +38 -0
- package/components/slot-menu-list-gKDiWsHB.js +325 -0
- package/components/slot-menu-w7sla2N0.js +400 -0
- package/components/slots-config-DIBoffEb.js +77 -0
- package/components/slots-config-YdyClHLc.cjs +20 -0
- package/components/speedometer-chart-options.config-DEW_D9w1.cjs +20 -0
- package/components/speedometer-chart-options.config-wX3KzciD.js +246 -0
- package/components/speedometer-chart-positioning.config-BVYrl1_s.cjs +20 -0
- package/components/speedometer-chart-positioning.config-rI2Jxymu.js +48 -0
- package/components/speedometer-chart-slots.config-0Tv8EtKT.js +39 -0
- package/components/speedometer-chart-slots.config-1BqQZ2vP.cjs +20 -0
- package/components/spike-map-options.config-DpgsB_L-.js +413 -0
- package/components/spike-map-options.config-LPAyKMHe.cjs +20 -0
- package/components/spike-map-positioning.config-2XZLrk9D.cjs +20 -0
- package/components/spike-map-positioning.config-CiY2ju4c.js +55 -0
- package/components/spike-map-slots.config-B7OehIoc.cjs +20 -0
- package/components/spike-map-slots.config-C6e0NXiD.js +47 -0
- package/components/strip-plot-options.config-BzhxzU-s.js +53 -0
- package/components/strip-plot-options.config-vBd38UQs.cjs +20 -0
- package/components/strip-plot-positioning.config-CFQPdgei.js +48 -0
- package/components/strip-plot-positioning.config-CkC8JUwR.cjs +20 -0
- package/components/strip-plot-slots.config-BjwAuVoh.js +38 -0
- package/components/strip-plot-slots.config-CAU0z3q4.cjs +20 -0
- package/components/sunburst-chart-options.config-Ba_H54ip.js +160 -0
- package/components/sunburst-chart-options.config-CUFOuT2J.cjs +20 -0
- package/components/sunburst-chart-positioning.config-BHJf7n-T.js +48 -0
- package/components/sunburst-chart-positioning.config-DVt84HYB.cjs +20 -0
- package/components/sunburst-chart-slots.config-BCNUNkd9.cjs +20 -0
- package/components/sunburst-chart-slots.config-h114Cuzh.js +38 -0
- package/components/symbol-map-options.config-CR07hvK0.cjs +20 -0
- package/components/symbol-map-options.config-DeJyZILi.js +157 -0
- package/components/symbol-map-positioning.config-DQK1q4GP.cjs +20 -0
- package/components/symbol-map-positioning.config-tZp8vwwl.js +55 -0
- package/components/symbol-map-slots.config-BmvI5_VE.js +53 -0
- package/components/symbol-map-slots.config-Dz_tor5P.cjs +20 -0
- package/components/text-options.config-BXuZMKTG.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-18Chz73A.js +24 -0
- package/components/treemap-chart-options.config-Be-LBEGy.js +184 -0
- package/components/treemap-chart-options.config-p21eSXKG.cjs +20 -0
- package/components/treemap-chart-positioning.config-CEYAh7Uc.js +55 -0
- package/components/treemap-chart-positioning.config-DQfHJ-ZS.cjs +20 -0
- package/components/treemap-chart-slots.config-BJqqnUEF.cjs +20 -0
- package/components/treemap-chart-slots.config-e7ORieH-.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-CJf8VNzX.cjs +20 -0
- package/components/utils-Ci1YA9yB.js +352 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +9 -9
- 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-D3bEFsYa.js +24 -0
- package/components/venn-diagram-options.config-EmRhf40r.cjs +20 -0
- package/components/venn-diagram-positioning.config-2rUFGTJh.js +55 -0
- package/components/venn-diagram-positioning.config-DQa6-GAn.cjs +20 -0
- package/components/venn-diagram-slots.config-Dm-IC6JS.js +47 -0
- package/components/venn-diagram-slots.config-MpkJTf5q.cjs +20 -0
- package/components/video-options.config-B5aOwGa4.js +127 -0
- package/components/video-options.config-Dh_lU4c1.cjs +20 -0
- package/components/video-slots.config-Bmh6mcUv.cjs +20 -0
- package/components/video-slots.config-D2MtpAGI.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-B4BJBNEq.js +170 -0
- package/components/viz-item-menu-DD8ndROu.cjs +55 -0
- package/components/wordcloud-chart-options.config-DntH4Hvg.js +90 -0
- package/components/wordcloud-chart-options.config-mx2CbmrI.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-C3Zulr2Q.js +55 -0
- package/components/wordcloud-chart-positioning.config-DhoAsQP-.cjs +20 -0
- package/components/wordcloud-chart-slots.config-C303nwAz.cjs +20 -0
- package/components/wordcloud-chart-slots.config-CsFBBXDz.js +45 -0
- package/custom-elements.json +487 -0
- package/index.d.ts +1 -0
- package/package.json +7 -2
- package/react/README.md +1 -0
- package/react/components/interactive-viz-item/index.ts +1 -0
- package/react/components/interactive-viz-item/types.ts +122 -0
- package/react/components/interactive-viz-item.component.ts +33 -0
- package/react/esm/components/interactive-viz-item/index.d.ts +1 -0
- package/react/esm/components/interactive-viz-item/index.js +1 -0
- package/react/esm/components/interactive-viz-item/types.d.ts +117 -0
- package/react/esm/components/interactive-viz-item/types.js +16 -0
- package/react/esm/components/interactive-viz-item.component.d.ts +16 -0
- package/react/esm/components/interactive-viz-item.component.js +21 -0
- package/react/esm/index.d.ts +3 -2
- package/react/esm/index.js +4 -0
- package/react/index.ts +4 -0
- package/react/luzmo-stub.d.ts +8 -0
- package/react/utils/index.d.ts +1 -0
- package/react/utils/store/index.d.ts +5 -5
- package/react/utils/store/store-registry.d.ts +1 -1
- package/react/utils/timezone/datetime-timezone.d.ts +25 -0
- package/react/utils/timezone/tests/datetime-timezone.test.d.ts +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/store/index.d.ts +5 -5
- package/utils/store/store-registry.d.ts +1 -1
- package/utils/timezone/datetime-timezone.d.ts +25 -0
- package/utils/timezone/tests/datetime-timezone.test.d.ts +1 -0
- package/components/ai-chat-BMDfKnEj.cjs +0 -258
- package/components/ai-chat-Cd26aDpX.js +0 -3718
- package/components/ai-interaction-textarea-CPfJqTB0.cjs +0 -68
- package/components/ai-interaction-textarea-DkBglh6Q.js +0 -299
- package/components/area-chart-options.config-4OY_kXkB.js +0 -146
- package/components/area-chart-options.config-Cf1VrUNv.cjs +0 -20
- package/components/area-chart-positioning.config-CAPrtEZW.js +0 -55
- package/components/area-chart-positioning.config-CfC43YUW.cjs +0 -20
- package/components/area-chart-slots.config--pd_dBTn.js +0 -55
- package/components/area-chart-slots.config-BOhwdLnr.cjs +0 -20
- package/components/bar-chart-options.config-BF7Q15FL.cjs +0 -20
- package/components/bar-chart-options.config-C3puwFpi.js +0 -220
- package/components/bar-chart-positioning.config-C1MLYyl9.js +0 -59
- package/components/bar-chart-positioning.config-vJOALpQP.cjs +0 -20
- package/components/bar-chart-slots.config-DMWjAd5a.cjs +0 -20
- package/components/bar-chart-slots.config-Dr7v4xxd.js +0 -50
- package/components/base-B_wdCOxV.js +0 -249
- package/components/base-kQ6cjcIZ.cjs +0 -20
- package/components/base-store-DHC2m2Os.cjs +0 -20
- package/components/base-store-DmDe0dTU.js +0 -160
- package/components/box-plot-options.config-B486nCds.js +0 -296
- package/components/box-plot-options.config-BkD5CYGz.cjs +0 -20
- package/components/box-plot-positioning.config-CA27sCpO.js +0 -48
- package/components/box-plot-positioning.config-DVNeh9kg.cjs +0 -20
- package/components/box-plot-slots.config-5B_pTjPJ.cjs +0 -20
- package/components/box-plot-slots.config-Bdb7pkky.js +0 -40
- package/components/bubble-chart-options.config-4f9FUNhc.cjs +0 -20
- package/components/bubble-chart-options.config-BymUqNR5.js +0 -115
- package/components/bubble-chart-positioning.config-Dg92VJnB.cjs +0 -20
- package/components/bubble-chart-positioning.config-OlbBZU4m.js +0 -55
- package/components/bubble-chart-slots.config-B4tsJDuz.js +0 -47
- package/components/bubble-chart-slots.config-VHKuntJk.cjs +0 -20
- package/components/bullet-chart-options.config-BtyRdRk2.js +0 -75
- package/components/bullet-chart-options.config-DDygYBiy.cjs +0 -20
- package/components/bullet-chart-positioning.config-BwqxpSSL.cjs +0 -20
- package/components/bullet-chart-positioning.config-Y18yvzoc.js +0 -56
- package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +0 -20
- package/components/bullet-chart-slots.config-ccCSNJ5q.js +0 -46
- package/components/choropleth-map-options.config-5W6nNlL7.cjs +0 -20
- package/components/choropleth-map-options.config-CqCciAvW.js +0 -348
- package/components/choropleth-map-positioning.config-Dmzy3fMc.js +0 -55
- package/components/choropleth-map-positioning.config-y-bYMoxr.cjs +0 -20
- package/components/choropleth-map-slots.config-CZKWF1qV.cjs +0 -20
- package/components/choropleth-map-slots.config-X2YYrSXc.js +0 -53
- package/components/circle-pack-chart-options.config-CD8MWMTw.cjs +0 -20
- package/components/circle-pack-chart-options.config-D9C-ltHA.js +0 -54
- package/components/circle-pack-chart-positioning.config-YDdY2cc2.js +0 -48
- package/components/circle-pack-chart-positioning.config-wKIQDFe8.cjs +0 -20
- package/components/circle-pack-chart-slots.config-BIO1dZsK.js +0 -38
- package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +0 -20
- package/components/circular-gauge-options.config-D9gcbX57.cjs +0 -20
- package/components/circular-gauge-options.config-De6SlTLT.js +0 -188
- package/components/circular-gauge-positioning.config-C41euPS9.js +0 -48
- package/components/circular-gauge-positioning.config-CKNanoFX.cjs +0 -20
- package/components/circular-gauge-slots.config-DUHabt3G.cjs +0 -20
- package/components/circular-gauge-slots.config-Dv_7fAD_.js +0 -39
- package/components/color-BWnYpOu7.js +0 -3812
- package/components/color-range-utils-CwwtLDX_.js +0 -63
- package/components/column-chart-options.config-5Dbg3FmH.js +0 -219
- package/components/column-chart-options.config-CiIw23Yo.cjs +0 -20
- package/components/column-chart-positioning.config-BdyuErF8.js +0 -55
- package/components/column-chart-positioning.config-Enx15Dqh.cjs +0 -20
- package/components/column-chart-slots.config-CM5aytbj.cjs +0 -20
- package/components/column-chart-slots.config-eHvTwZLX.js +0 -50
- package/components/combination-chart-options.config-BzmLGCal.js +0 -87
- package/components/combination-chart-options.config-DaTYSfnr.cjs +0 -20
- package/components/combination-chart-positioning.config-BQRn0EfF.js +0 -48
- package/components/combination-chart-positioning.config-CqlKA__j.cjs +0 -20
- package/components/combination-chart-slots.config-BwUOXFCR.cjs +0 -20
- package/components/combination-chart-slots.config-CG40JjE3.js +0 -43
- package/components/conditional-number-options.config-BPzCxo2q.cjs +0 -20
- package/components/conditional-number-options.config-CVgV7s7f.js +0 -205
- package/components/conditional-number-positioning.config-BBivi4ps.js +0 -48
- package/components/conditional-number-positioning.config-CR45rPru.cjs +0 -20
- package/components/conditional-number-slots.config-B7maHIaG.cjs +0 -20
- package/components/conditional-number-slots.config-o22l-qLv.js +0 -39
- package/components/data-broker-Bdv5V8Yp.js +0 -1680
- package/components/data-broker-DWEXs6-2.cjs +0 -20
- package/components/data-field-CAGprHjS.cjs +0 -54
- package/components/data-field-CLfUWgK9.js +0 -121
- package/components/data-field-level-7qi9K__S.cjs +0 -55
- package/components/data-field-level-CfJ0dmxo.js +0 -247
- package/components/data-field-panel-DUc8y4WA.cjs +0 -87
- package/components/data-field-panel-N7mukLj6.js +0 -385
- package/components/data-fields-select-B1pwPYt6.js +0 -262
- package/components/data-fields-select-qCWuzckJ.cjs +0 -41
- package/components/dataset-icon-CWT5Ju8w.js +0 -125
- package/components/dataset-selector-list-BPBZ04Lf.cjs +0 -75
- package/components/dataset-selector-list-DmajZuNC.js +0 -313
- package/components/dataset-selector-row-SJzYIpO6.js +0 -273
- package/components/dataset-selector-row-qxfmcxpm.cjs +0 -79
- package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +0 -20
- package/components/date-comparison-filter-options.config-BJg_WqL4.js +0 -126
- package/components/date-comparison-filter-slots.config-BIK5aZ6P.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-N6eGgPGL.js +0 -118
- package/components/date-filter-slots.config-CJJ4P0v6.js +0 -37
- package/components/date-filter-slots.config-Cuzz0RjE.cjs +0 -20
- package/components/de-BHQ-FfU0.js +0 -465
- package/components/de-DnADyZVQ.cjs +0 -20
- package/components/decorate-DyMgX_Uh.js +0 -28
- package/components/default-acceptable-data-field-types-DFOFWWnT.js +0 -53
- package/components/default-acceptable-data-field-types-fPsz64ka.cjs +0 -20
- package/components/display-settings-CkkjJjem.js +0 -272
- package/components/display-settings-DnzOjr-1.cjs +0 -120
- package/components/display-settings-binning-BohjN2qK.js +0 -110
- package/components/display-settings-binning-C7-gByrp.cjs +0 -56
- package/components/display-settings-datetime-7pUcku_h.js +0 -413
- package/components/display-settings-datetime-DL0Qcz8Y.cjs +0 -217
- package/components/display-settings-grand-totals-CV5guBhH.js +0 -89
- package/components/display-settings-grand-totals-DHQSZqMI.cjs +0 -44
- package/components/display-settings-numeric--5zk8_7K.cjs +0 -190
- package/components/display-settings-numeric-D2LjMepO.js +0 -479
- package/components/display-settings-period-over-period-BE22oHvV.cjs +0 -229
- package/components/display-settings-period-over-period-sqZU6Zj_.js +0 -433
- package/components/donut-chart-options.config-C66yOoed.js +0 -207
- package/components/donut-chart-options.config-D8Bvo6Cc.cjs +0 -20
- package/components/donut-chart-positioning.config-B9sm4yFV.cjs +0 -20
- package/components/donut-chart-positioning.config-DtaPAgXE.js +0 -48
- package/components/donut-chart-slots.config-2XbT9Uu8.js +0 -39
- package/components/donut-chart-slots.config-Bi08z-XB.cjs +0 -20
- package/components/dropdown-filter-options.config-BRzYD0KE.cjs +0 -20
- package/components/dropdown-filter-options.config-Cm_wK0mn.js +0 -153
- package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +0 -20
- package/components/dropdown-filter-slots.config-CnESCGuw.js +0 -38
- 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-B4xWcOeJ.cjs +0 -20
- package/components/es-CkCov6l7.js +0 -465
- package/components/evolution-number-options.config-07Jd0oUL.js +0 -228
- package/components/evolution-number-options.config-CkqNYgWn.cjs +0 -20
- package/components/evolution-number-positioning.config-DVXhBZYj.cjs +0 -20
- package/components/evolution-number-positioning.config-v8_6kB1H.js +0 -48
- package/components/evolution-number-slots.config-BKdD3cKw.js +0 -37
- package/components/evolution-number-slots.config-CikuQYgm.cjs +0 -20
- package/components/filter-expression-picker-CF4Otpll.cjs +0 -38
- package/components/filter-expression-picker-DCrCAIhg.js +0 -425
- package/components/filter-item-CKg3oQlZ.cjs +0 -58
- package/components/filter-item-DtdK1jvx.js +0 -242
- package/components/filter-value-picker-B5fHoLAG.cjs +0 -60
- package/components/filter-value-picker-datetime-CFCV2jkK.js +0 -139
- package/components/filter-value-picker-datetime-D20WnWar.cjs +0 -42
- package/components/filter-value-picker-hierarchy-CSM0RPvX.cjs +0 -47
- package/components/filter-value-picker-hierarchy-DEbN7h5L.js +0 -232
- package/components/filter-value-picker-numeric-BYspQRSi.js +0 -219
- package/components/filter-value-picker-numeric-BtZaQvkr.cjs +0 -48
- package/components/filter-value-picker-tyoO5ISM.js +0 -151
- package/components/filters-C8fHs4_m.js +0 -400
- package/components/filters-sR8GxUGw.cjs +0 -150
- package/components/formatter-BeXmurVe.cjs +0 -20
- package/components/formula-BPHH_GKB.cjs +0 -45
- package/components/formula-DYdcMG-v.js +0 -138
- package/components/formula-codemirror-CFgPlkN8.cjs +0 -215
- package/components/formula-codemirror-CQonNhmd.js +0 -12018
- package/components/formula-display-store-BGzj13Cs.js +0 -1086
- package/components/formula-display-store-DFAvw21p.cjs +0 -20
- package/components/formula-editor-CtCvJkyS.cjs +0 -218
- package/components/formula-editor-KXxQlh2n.js +0 -666
- package/components/formula-field-OcD4TWAn.js +0 -40
- package/components/formula-field-aiqX7nRp.cjs +0 -20
- package/components/formula-input-base-CGe2ABn6.cjs +0 -49
- package/components/formula-input-base-CQPGmISj.js +0 -236
- package/components/fr-BOivrXqX.cjs +0 -20
- package/components/fr-BSFpJ50_.js +0 -465
- package/components/funnel-chart-options.config-BVmrhzna.cjs +0 -20
- package/components/funnel-chart-options.config-PV1Hlu91.js +0 -187
- package/components/funnel-chart-positioning.config-BT-YoTgv.js +0 -48
- package/components/funnel-chart-positioning.config-C5Z3JkuS.cjs +0 -20
- package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +0 -20
- package/components/funnel-chart-slots.config-_9HUPvTb.js +0 -43
- package/components/get-css-variable-CBXsAxR6.cjs +0 -20
- package/components/get-css-variable-DYnldi15.js +0 -63
- package/components/get-dataset-name-BGCvfcdY.js +0 -27
- package/components/get-dataset-name-EkeeFzI3.cjs +0 -20
- package/components/groupings-CrE-yp0S.js +0 -52
- package/components/groupings-dIFi0bJY.cjs +0 -20
- package/components/heat-map-options.config-CQY6t9AL.js +0 -224
- package/components/heat-map-options.config-xPdOcXDk.cjs +0 -20
- package/components/heat-map-positioning.config-BpFis567.js +0 -48
- package/components/heat-map-positioning.config-HPftgmdz.cjs +0 -20
- package/components/heat-map-slots.config-B4AswVSo.js +0 -37
- package/components/heat-map-slots.config-Wp_oS8JQ.cjs +0 -20
- package/components/heat-table-options.config-DPbTFoRn.cjs +0 -20
- package/components/heat-table-options.config-IlVPk4Q4.js +0 -372
- package/components/heat-table-positioning.config-Canc3aEE.js +0 -55
- package/components/heat-table-positioning.config-wkrm8Fbk.cjs +0 -20
- package/components/heat-table-slots.config-BN7rtHZG.cjs +0 -20
- package/components/heat-table-slots.config-CB509zU4.js +0 -49
- package/components/hexbin-map-options.config-CSFSqpMU.cjs +0 -20
- package/components/hexbin-map-options.config-vzw6ovva.js +0 -276
- package/components/hexbin-map-positioning.config-CBv6Lij5.js +0 -48
- package/components/hexbin-map-positioning.config-D0hAchxV.cjs +0 -20
- package/components/hexbin-map-slots.config-Dyse0pui.js +0 -37
- package/components/hexbin-map-slots.config-mx5zUTrA.cjs +0 -20
- package/components/image-options.config-Cmrsd8Yu.js +0 -153
- package/components/image-options.config-DZ5q1D63.cjs +0 -20
- package/components/image-slots.config-CVj-DM07.js +0 -24
- package/components/image-slots.config-ODQBVz5H.cjs +0 -20
- package/components/item-grid-BXZXJV3g.cjs +0 -339
- package/components/item-grid-uWM-Unjx.js +0 -8814
- package/components/item-option-CEwjJc1p.cjs +0 -252
- package/components/item-option-action-button-group-BOxQFfBF.js +0 -118
- package/components/item-option-action-button-group-DXCVJqpt.cjs +0 -53
- package/components/item-option-base-DKieCS-Y.cjs +0 -56
- package/components/item-option-base-Dr5-WxZ9.js +0 -123
- package/components/item-option-color-palette-picker-7vSSpj5o.cjs +0 -40
- package/components/item-option-color-palette-picker-D_mABGWh.js +0 -2041
- package/components/item-option-color-picker-COLBYeRy.js +0 -87
- package/components/item-option-color-picker-DMyNeD2e.cjs +0 -34
- package/components/item-option-color-range-BFr0B6Vf.cjs +0 -98
- package/components/item-option-color-range-CueVlyT2.js +0 -220
- package/components/item-option-multi-language-field-CMuQwrwQ.js +0 -82
- package/components/item-option-multi-language-field-q7txF5xA.cjs +0 -33
- package/components/item-option-number-field-BODNSx66.js +0 -102
- package/components/item-option-number-field-DWeJWUxY.cjs +0 -38
- package/components/item-option-panel-CxOfVI0z.js +0 -183
- package/components/item-option-panel-D0dxyUfE.cjs +0 -67
- package/components/item-option-picker-BsP_0XyD.cjs +0 -37
- package/components/item-option-picker-CyX7qqrb.js +0 -77
- package/components/item-option-position-picker-CcmBYyqF.cjs +0 -32
- package/components/item-option-position-picker-LOg6P4Gl.js +0 -117
- package/components/item-option-positions-number-field-BCbWb1R6.js +0 -164
- package/components/item-option-positions-number-field-o3Qckgwd.cjs +0 -49
- package/components/item-option-radio-button-group-CDebmEn3.js +0 -74
- package/components/item-option-radio-button-group-CjLhWTEJ.cjs +0 -37
- package/components/item-option-slider-C9ZJZcdg.js +0 -81
- package/components/item-option-slider-CHbkJHLK.cjs +0 -33
- package/components/item-option-switch-BVMOOWya.js +0 -69
- package/components/item-option-switch-FRAZWozp.cjs +0 -30
- package/components/item-option-text-field-DkYqHfdJ.cjs +0 -33
- package/components/item-option-text-field-e6NLDlSq.js +0 -80
- package/components/item-option-uyAsPcfE.js +0 -919
- package/components/item-slot-drop-BUCjEfJf.cjs +0 -91
- package/components/item-slot-drop-CoReI68M.js +0 -324
- package/components/item-slot-drop-panel-CEI1q060.js +0 -355
- package/components/item-slot-drop-panel-DqekQtOr.cjs +0 -57
- package/components/item-slot-picker-CvbXFh6Z.cjs +0 -158
- package/components/item-slot-picker-dy5hVID5.js +0 -474
- package/components/item-slot-picker-panel-BUyp6Hbg.cjs +0 -81
- package/components/item-slot-picker-panel-CG0NyMDX.js +0 -448
- package/components/line-chart-options.config-1TpSJqeb.js +0 -168
- package/components/line-chart-options.config-BkK829A2.cjs +0 -20
- package/components/line-chart-positioning.config-61uNfPZs.js +0 -55
- package/components/line-chart-positioning.config-BNtGFWUK.cjs +0 -20
- package/components/line-chart-slots.config-CcCpwWzZ.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-CiBWThrZ.cjs +0 -20
- package/components/localized-mixin-EpweDrTk.js +0 -45
- package/components/marker-map-options.config-BfPFVxpD.cjs +0 -20
- package/components/marker-map-options.config-DTaax79J.js +0 -117
- package/components/marker-map-positioning.config-Bi5WCVgJ.js +0 -48
- package/components/marker-map-positioning.config-C2cL7uZJ.cjs +0 -20
- package/components/marker-map-slots.config-BOWmS_IZ.js +0 -37
- package/components/marker-map-slots.config-DigZk7lN.cjs +0 -20
- package/components/nl-DS4Y_g8B.cjs +0 -20
- package/components/nl-D_MleIlk.js +0 -465
- package/components/ohlc-chart-options.config-BsBVP-Io.cjs +0 -20
- package/components/ohlc-chart-options.config-Dfes8ROC.js +0 -65
- package/components/ohlc-chart-positioning.config-DFx99k9A.js +0 -78
- package/components/ohlc-chart-positioning.config-IAOfu4ue.cjs +0 -20
- package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +0 -20
- package/components/ohlc-chart-slots.config-JRztPEXL.js +0 -68
- package/components/parallel-coordinates-plot-options.config--6iJkURT.cjs +0 -20
- package/components/parallel-coordinates-plot-options.config-NSk_HC0H.js +0 -42
- package/components/parallel-coordinates-plot-positioning.config-Bf0Leksw.cjs +0 -20
- package/components/parallel-coordinates-plot-positioning.config-C9TqUuGC.js +0 -48
- package/components/parallel-coordinates-plot-slots.config-pmbO5DnL.js +0 -46
- package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +0 -20
- package/components/pivot-table-options.config-B3wYlzEq.js +0 -245
- package/components/pivot-table-options.config-CKGnnXa_.cjs +0 -20
- package/components/pivot-table-positioning.config-CPXqqtcR.js +0 -55
- package/components/pivot-table-positioning.config-D1R3VO88.cjs +0 -20
- package/components/pivot-table-slots.config-DaLfGOP9.js +0 -55
- package/components/pivot-table-slots.config-KlYXL90k.cjs +0 -20
- package/components/pragmatic-element-adapter-D0LRKx5U.js +0 -1253
- package/components/pragmatic-element-adapter-DdyH32ix.cjs +0 -24
- package/components/pyramid-chart-options.config-8QtjhcJC.cjs +0 -20
- package/components/pyramid-chart-options.config-DIyiyqGM.js +0 -240
- package/components/pyramid-chart-positioning.config-BfXdJS8g.cjs +0 -20
- package/components/pyramid-chart-positioning.config-JAUQpA0B.js +0 -55
- package/components/pyramid-chart-slots.config-CreUpxI2.cjs +0 -20
- package/components/pyramid-chart-slots.config-DtnUlw5y.js +0 -50
- package/components/radar-chart-options.config-DvW36_zk.cjs +0 -20
- package/components/radar-chart-options.config-UVOzUnVT.js +0 -130
- package/components/radar-chart-positioning.config-Bixdrod2.cjs +0 -20
- package/components/radar-chart-positioning.config-CdJSazt4.js +0 -55
- package/components/radar-chart-slots.config-B3oIp-8w.cjs +0 -20
- package/components/radar-chart-slots.config-CkLoeAV7.js +0 -53
- package/components/regular-table-options.config-B0WNqEjR.cjs +0 -20
- package/components/regular-table-options.config-CBvnxTdd.js +0 -148
- package/components/regular-table-slots.config-Cc6hL7iu.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-DZrlGa5o.js +0 -326
- package/components/route-map-positioning.config-7aca5Iex.cjs +0 -20
- package/components/route-map-positioning.config-Bk_BndTS.js +0 -66
- package/components/route-map-slots.config-CQxB8gKC.js +0 -59
- package/components/route-map-slots.config-DfYT65BF.cjs +0 -20
- package/components/sankey-diagram-options.config-D49IZ1y3.cjs +0 -20
- package/components/sankey-diagram-options.config-s_QRVr1r.js +0 -126
- package/components/sankey-diagram-positioning.config-Bvus3RDi.cjs +0 -20
- package/components/sankey-diagram-positioning.config-DPgQELIu.js +0 -66
- package/components/sankey-diagram-slots.config-C9tIfWHU.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-DI4hlqi5.js +0 -302
- package/components/scatter-plot-positioning.config-D-ifHW9P.js +0 -77
- package/components/scatter-plot-positioning.config-DBDCDDad.cjs +0 -20
- package/components/scatter-plot-slots.config-CUURijrN.js +0 -74
- package/components/scatter-plot-slots.config-CrG6wQtV.cjs +0 -20
- package/components/search-filter-options.config-B-dGVPhS.cjs +0 -20
- package/components/search-filter-options.config-CPzfgUWV.js +0 -103
- package/components/search-filter-slots.config-DD119qkk.js +0 -39
- package/components/search-filter-slots.config-DP06ulJA.cjs +0 -20
- package/components/set-locale-DTFOOSog.cjs +0 -20
- package/components/set-locale-UK0ghkg9.js +0 -43
- package/components/slicer-filter-options.config-7OXpRWtw.cjs +0 -20
- package/components/slicer-filter-options.config-F2CZ8ckV.js +0 -226
- package/components/slicer-filter-positioning.config-0uGZ8EgN.js +0 -48
- package/components/slicer-filter-positioning.config-Bx2_7jxp.cjs +0 -20
- package/components/slicer-filter-slots.config-CHKpdJvF.cjs +0 -20
- package/components/slicer-filter-slots.config-D-BhCuA9.js +0 -44
- package/components/slider-filter-options.config-CRdbX1IJ.cjs +0 -20
- package/components/slider-filter-options.config-DO0HHK2l.js +0 -72
- package/components/slider-filter-slots.config-9R298H0t.cjs +0 -20
- package/components/slider-filter-slots.config-CGQG6JqK.js +0 -43
- package/components/slot-menu-Cw5HJ_bk.js +0 -404
- package/components/slot-menu-DkyDLDSd.cjs +0 -64
- package/components/slot-menu-list-BZllvntQ.cjs +0 -38
- package/components/slot-menu-list-CTJ-owp1.js +0 -326
- package/components/slots-config-BuHluMEl.js +0 -77
- package/components/slots-config-DVH0lz6t.cjs +0 -20
- package/components/speedometer-chart-options.config-BsIu28S3.cjs +0 -20
- package/components/speedometer-chart-options.config-jK_yQjy2.js +0 -246
- package/components/speedometer-chart-positioning.config-CNOKIw7e.cjs +0 -20
- package/components/speedometer-chart-positioning.config-FzFxMi0X.js +0 -48
- package/components/speedometer-chart-slots.config-CjkHAHNX.js +0 -39
- package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +0 -20
- package/components/spike-map-options.config-aaiZyME6.cjs +0 -20
- package/components/spike-map-options.config-cj07bETE.js +0 -413
- package/components/spike-map-positioning.config-B4NYfmEw.js +0 -55
- package/components/spike-map-positioning.config-Bcdt8670.cjs +0 -20
- package/components/spike-map-slots.config-cKfaD6dQ.cjs +0 -20
- package/components/spike-map-slots.config-yMkdy-0w.js +0 -47
- package/components/strip-plot-options.config-DmAxeY2S.js +0 -53
- package/components/strip-plot-options.config-TB3rkoj2.cjs +0 -20
- package/components/strip-plot-positioning.config-BjcqWJoD.cjs +0 -20
- package/components/strip-plot-positioning.config-n9OIxpa_.js +0 -48
- package/components/strip-plot-slots.config-C07nIM5s.js +0 -38
- package/components/strip-plot-slots.config-DNYlrK_c.cjs +0 -20
- package/components/sunburst-chart-options.config-CLyQG-8x.js +0 -160
- package/components/sunburst-chart-options.config-Ckk_kY_s.cjs +0 -20
- package/components/sunburst-chart-positioning.config-BIpSCpSi.cjs +0 -20
- package/components/sunburst-chart-positioning.config-CcGOcwOK.js +0 -48
- package/components/sunburst-chart-slots.config-BU9ma0xm.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-I_gykFhh.js +0 -157
- package/components/symbol-map-positioning.config-DPv89eCY.cjs +0 -20
- package/components/symbol-map-positioning.config-H3n2ngaa.js +0 -55
- package/components/symbol-map-slots.config-CQJgV5bh.js +0 -53
- package/components/symbol-map-slots.config-DwNf547A.cjs +0 -20
- package/components/text-options.config-BwBCG2yo.cjs +0 -20
- package/components/text-options.config-DUMx63Ol.js +0 -67
- package/components/text-slots.config-CPghLc8b.cjs +0 -20
- package/components/text-slots.config-YmmXsb-0.js +0 -24
- package/components/treemap-chart-options.config-CAWPa5jK.js +0 -184
- package/components/treemap-chart-options.config-r6biULUj.cjs +0 -20
- package/components/treemap-chart-positioning.config-Dzp4TodY.js +0 -55
- package/components/treemap-chart-positioning.config-W2sl4gZ0.cjs +0 -20
- package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +0 -20
- package/components/treemap-chart-slots.config-QEVbKZyS.js +0 -47
- package/components/utils-3XO8ba12.cjs +0 -20
- package/components/utils-B6EE0gvH.js +0 -313
- package/components/v4-DIjJgmR0.js +0 -49
- package/components/venn-diagram-options.config-BamlR1qo.cjs +0 -20
- package/components/venn-diagram-options.config-KKD89q3q.js +0 -24
- package/components/venn-diagram-positioning.config-BLSj3JqA.js +0 -55
- package/components/venn-diagram-positioning.config-Bv3pFJIU.cjs +0 -20
- package/components/venn-diagram-slots.config-DYTmU8v2.cjs +0 -20
- package/components/venn-diagram-slots.config-DsIqVOI2.js +0 -47
- package/components/video-options.config-BhBpkaLJ.cjs +0 -20
- package/components/video-options.config-D2SEyNrP.js +0 -127
- package/components/video-slots.config-B680gLmP.js +0 -24
- package/components/video-slots.config-DMut7o7r.cjs +0 -20
- package/components/viz-item-menu-CiEJJddu.js +0 -170
- package/components/viz-item-menu-Dry8xpRA.cjs +0 -55
- package/components/wordcloud-chart-options.config-DLN2RAEK.js +0 -90
- package/components/wordcloud-chart-options.config-DgH4JgN2.cjs +0 -20
- package/components/wordcloud-chart-positioning.config-DVPWXJXb.js +0 -55
- package/components/wordcloud-chart-positioning.config-ZTO2VLdY.cjs +0 -20
- package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +0 -20
- package/components/wordcloud-chart-slots.config-mFvqkiQE.js +0 -45
- /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-B_wdCOxV.js";
|
|
21
|
-
import { t as r } from "./decorate-DyMgX_Uh.js";
|
|
22
|
-
import { t as i } from "./localized-mixin-EpweDrTk.js";
|
|
23
|
-
import { r as a, t as o } from "./formatter-Cq5dFCyU.js";
|
|
24
|
-
import { i as s, r as c, t as l } from "./periods.const-NCTkxnvG.js";
|
|
25
|
-
import { luzmoCheckbox as u, luzmoCheckboxChecked as d } from "@luzmo/icons";
|
|
26
|
-
import { html as f, unsafeCSS as p } from "lit";
|
|
27
|
-
import { property as m, query as h } from "lit/decorators.js";
|
|
28
|
-
import { localized as g, msg as _ } from "@lit/localize";
|
|
29
|
-
import "@luzmo/lucero/icon";
|
|
30
|
-
import "@luzmo/lucero/action-button";
|
|
31
|
-
import { Task as v } from "@lit/task";
|
|
32
|
-
import "@luzmo/lucero/field-label";
|
|
33
|
-
import "@luzmo/lucero/progress-circle";
|
|
34
|
-
import "@luzmo/lucero/number-field";
|
|
35
|
-
import "@luzmo/lucero/action-group";
|
|
36
|
-
import "@luzmo/lucero/picker";
|
|
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 ?? a;
|
|
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 = l?.[`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(c).map((e) => f`<luzmo-action-button value=${e}>
|
|
169
|
-
${c[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 ?? a, 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
|
-
${o({
|
|
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
|
-
>${o({
|
|
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(s).map((e) => f`<luzmo-menu-item value=${e}>
|
|
251
|
-
${s[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-kQ6cjcIZ.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./localized-mixin-CiBWThrZ.cjs"),r=require("./formatter-BeXmurVe.cjs"),i=require("./periods.const-Db0nXrwr.cjs");let a=require("@luzmo/icons"),o=require("lit"),s=require("lit/decorators.js"),c=require("@lit/localize");require("@luzmo/lucero/icon"),require("@luzmo/lucero/action-button");let l=require("@lit/task");require("@luzmo/lucero/field-label"),require("@luzmo/lucero/progress-circle"),require("@luzmo/lucero/number-field"),require("@luzmo/lucero/action-group"),require("@luzmo/lucero/picker");var u={"~":()=>(0,c.msg)(`Auto`,{desc:`Automatic setting of the option`}),"/":()=>`/`,"-":()=>`-`,".":()=>`.`},d=`:host{font-family:var(--luzmo-display-settings-datetime-font-family,var(--luzmo-font-family))}:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-datetime-gap,var(--display-settings-datetime-gap));display:flex}:host{--display-settings-datetime-example-font-size:var(--luzmo-font-size-s);--display-settings-datetime-example-color:var(--luzmo-font-color);--display-settings-datetime-example-label-font-weight:bold;--display-settings-datetime-example-label-color:var(--luzmo-primary);--display-settings-datetime-example-language-color:var(--luzmo-primary);--display-settings-datetime-gap:var(--luzmo-spacing-3);--display-settings-datetime-example-height:var(--luzmo-component-height)}:host([size=s]){--display-settings-datetime-gap:var(--luzmo-spacing-3);--display-settings-datetime-example-height:var(--luzmo-component-height-s);--display-settings-datetime-example-font-size:var(--luzmo-font-size-s)}:host([size=l]){--display-settings-datetime-gap:var(--luzmo-spacing-4);--display-settings-datetime-example-height:var(--luzmo-component-height-l);--display-settings-datetime-example-font-size:var(--luzmo-font-size)}:host([size=xl]){--display-settings-datetime-gap:var(--luzmo-spacing-5);--display-settings-datetime-example-height:var(--luzmo-component-height-xl);--display-settings-datetime-example-font-size:var(--luzmo-font-size-l)}`,f=class extends n.t(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this._loadLocaleFormatsConfig=new l.Task(this,{task:async([e])=>{if(e&&e!==this._contentLanguageLoaded){let t=Object.assign({"../../utils/formatter/formats/cs.ts":()=>Promise.resolve().then(()=>require("./cs-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??r.r;this._monthName?(e=t.filter(e=>e.monthType===`name`&&e.longText===(this._monthNameFormat===`long`)&&e.weekday===this._weekDay),e.length>0?this._format=e[0].key:(this._weekDayAndMonthInYearFormat=`short`,this._weekDay=!0,this._format=`%a %e %B %Y`)):(e=this._dateLevel&&this._dateLevel===4?t.filter(e=>e.monthType===`number`&&e.mmdd===(this._weekFormat===`mmdd`||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=i.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(i.r).map(e=>o.html`<luzmo-action-button value=${e}>
|
|
36
|
-
${i.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??r.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
|
-
${r.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
|
-
>${r.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(i.i).map(e=>o.html`<luzmo-menu-item value=${e}>
|
|
93
|
-
${i.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}});
|