@luzmo/analytics-components-kit 1.0.1-alpha.21 → 1.0.1-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{area-chart-options.config-A8NH6aUG.cjs → area-chart-options.config-2BXQXewO.cjs} +1 -1
- package/components/{area-chart-options.config-BbSP_Auh.js → area-chart-options.config-B_RU34v5.js} +1 -1
- package/components/{area-chart-slots.config-BLxiYX05.cjs → area-chart-slots.config-CIfDfftd.cjs} +1 -1
- package/components/{bar-chart-options.config-CRGDLJCK.js → bar-chart-options.config-CyLNzGX7.js} +1 -1
- package/components/{bar-chart-options.config-Cpbrpmp1.cjs → bar-chart-options.config-DlDSo8Dq.cjs} +1 -1
- package/components/{bar-chart-slots.config-Jx1PveTM.cjs → bar-chart-slots.config-DszaQhMd.cjs} +1 -1
- package/components/{box-plot-options.config-BtonHYul.js → box-plot-options.config-Bx78e6xX.js} +1 -1
- package/components/{box-plot-options.config-CGIKZNsw.cjs → box-plot-options.config-VLu-MYZx.cjs} +1 -1
- package/components/{bubble-chart-options.config-BM7njnkG.cjs → bubble-chart-options.config-B5uoD-UQ.cjs} +1 -1
- package/components/{bubble-chart-options.config-R5R-E3dd.js → bubble-chart-options.config-DoLr3Twj.js} +1 -1
- package/components/{bullet-chart-options.config-D-wrbTMO.cjs → bullet-chart-options.config-Dqq2JsBH.cjs} +1 -1
- package/components/{bullet-chart-options.config-D-_esi9S.js → bullet-chart-options.config-WCpV0bmw.js} +1 -1
- package/components/{bullet-chart-slots.config-CiYsxviC.cjs → bullet-chart-slots.config-DQarxMR7.cjs} +1 -1
- package/components/choropleth-map-options.config-BfiQod-y.cjs +20 -0
- package/components/{choropleth-map-options.config-z2fY__jr.js → choropleth-map-options.config-DHQu69ib.js} +4 -95
- package/components/{circular-gauge-options.config-h9KNl5Eq.cjs → circular-gauge-options.config-CfBX-BB2.cjs} +1 -1
- package/components/{circular-gauge-options.config-9tIxyJj1.js → circular-gauge-options.config-DKERJQpZ.js} +12 -8
- package/components/{column-chart-options.config-D87ZFT76.js → column-chart-options.config-Car_euCH.js} +1 -1
- package/components/{column-chart-options.config-B-e2SI2W.cjs → column-chart-options.config-qM4Qo3NP.cjs} +1 -1
- package/components/{conditional-number-options.config-PVvKLc1P.js → conditional-number-options.config-B5rpjedA.js} +1 -1
- package/components/{conditional-number-options.config-D09JeUlU.cjs → conditional-number-options.config-CU9_onv1.cjs} +1 -1
- package/components/date-filter-options.config-CWPMtA18.cjs +20 -0
- package/components/date-filter-options.config-KiuizKhg.js +157 -0
- package/components/date-filter-options.de-Cav0BXbX.cjs +20 -0
- package/components/{helpers-DqqxcHaY.js → date-filter-options.de-DSWcur4l.js} +50 -29
- package/components/date-filter-options.en-DgbZmD5M.js +72 -0
- package/components/date-filter-options.en-DqY3gH_W.cjs +20 -0
- package/components/date-filter-options.es-BI-h1lD-.js +72 -0
- package/components/date-filter-options.es-CQeWi9cD.cjs +20 -0
- package/components/date-filter-options.fr-D22GM6_c.cjs +20 -0
- package/components/date-filter-options.fr-DXLKLmhl.js +72 -0
- package/components/date-filter-options.nl-CqZmwOux.cjs +20 -0
- package/components/date-filter-options.nl-DXgD8Ga_.js +72 -0
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +3 -3
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +2 -2
- package/components/droppable-slot/index.cjs +1 -1
- package/components/droppable-slot/index.js +3 -3
- package/components/edit-item/index.cjs +10 -10
- package/components/edit-item/index.js +144 -78
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +2 -2
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +2 -2
- package/components/evolution-number-options.config-DmzhEioN.js +201 -0
- package/components/evolution-number-options.config-G8jViz8Z.cjs +20 -0
- package/components/evolution-number-options.de-BVv1Uutc.cjs +20 -0
- package/components/evolution-number-options.de-CCfmEfYm.js +104 -0
- package/components/evolution-number-options.en-CiZmE5r7.cjs +20 -0
- package/components/evolution-number-options.en-DR_iG53H.js +104 -0
- package/components/evolution-number-options.es-BPxQCaR6.js +104 -0
- package/components/evolution-number-options.es-k2eY1Y3G.cjs +20 -0
- package/components/evolution-number-options.fr-B47Fwd-D.cjs +20 -0
- package/components/evolution-number-options.fr-CFfC9bub.js +104 -0
- package/components/evolution-number-options.nl-CTppS5EY.cjs +20 -0
- package/components/evolution-number-options.nl-CrD9OFX6.js +104 -0
- package/components/heat-map-options.config-B0FtmOXM.js +158 -0
- package/components/heat-map-options.config-CnBcz-lL.cjs +20 -0
- package/components/heat-map-options.de-6onYsjdI.js +91 -0
- package/components/heat-map-options.de-Cz5Pwwcu.cjs +20 -0
- package/components/heat-map-options.en-DHX1GKcM.cjs +20 -0
- package/components/heat-map-options.en-mwgrQFkO.js +91 -0
- package/components/heat-map-options.es-A-j6i3Tz.cjs +20 -0
- package/components/heat-map-options.es-Dd0KsseA.js +91 -0
- package/components/heat-map-options.fr-BkrrUt04.js +91 -0
- package/components/heat-map-options.fr-C3LwETEg.cjs +20 -0
- package/components/heat-map-options.nl-CXn1y4jH.cjs +20 -0
- package/components/heat-map-options.nl-DME6ILT5.js +91 -0
- package/components/helpers-2MlDBxn2.js +74 -0
- package/components/helpers-CK5Jy2Ta.cjs +20 -0
- package/components/hexbin-map-options.config-BJaPYxgd.js +232 -0
- package/components/hexbin-map-options.config-BraDZx_s.cjs +20 -0
- package/components/hexbin-map-options.de-BuLxwJd2.js +128 -0
- package/components/hexbin-map-options.de-DPYaSNHm.cjs +20 -0
- package/components/hexbin-map-options.en-CEGMU7TX.cjs +20 -0
- package/components/hexbin-map-options.en-CXV4sbbg.js +128 -0
- package/components/hexbin-map-options.es-2f7amcb6.js +128 -0
- package/components/hexbin-map-options.es-urnYaXEk.cjs +20 -0
- package/components/hexbin-map-options.fr-DxRtJ3_F.cjs +20 -0
- package/components/hexbin-map-options.fr-J3g_JcSM.js +128 -0
- package/components/hexbin-map-options.nl-BnvrfMKQ.js +128 -0
- package/components/hexbin-map-options.nl-GZtiTQw6.cjs +20 -0
- package/components/index-4gddXWJC.cjs +195 -0
- package/components/{index-Di00QW2f.js → index-BEAYzHcY.js} +3 -3
- package/components/{index-CMvLpPKD-Yf1PLWrj.cjs → index-BH9W0QLt-Cy2sUVJ_.cjs} +1 -1
- package/components/{index-CMvLpPKD-D5MpMVYZ.js → index-BH9W0QLt-DBxyzKWK.js} +1 -1
- package/components/{index-DXyAeBh6.cjs → index-BIrO4_kD.cjs} +1 -1
- package/components/{index-BBrer3_5.js → index-D5LI0odG.js} +1 -1
- package/components/{index-DYGldqzJ.js → index-DGIXzqTS.js} +277 -211
- package/components/{index-B5Wvyv9s.js → index-DM_2d78G.js} +2 -2
- package/components/{index-CdpyJ7hp.cjs → index-Dc9c_dq-.cjs} +1 -1
- package/components/index-DhDgy1sp.cjs +20 -0
- package/components/{index-BrEDK88k.cjs → index-DrLPC6eG.cjs} +2 -2
- package/components/{index-DnozlYag.js → index-aYcu00GB.js} +1 -1
- package/components/index-t45_zv93.js +115 -0
- package/components/{index-D8qmoauu.cjs → index-w3j1USKK.cjs} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/item-slots-configs.cjs +1 -1
- package/components/item-slots-configs.js +3 -3
- package/components/{line-chart-options.config-Cb7txmmw.cjs → line-chart-options.config-DsskcFNR.cjs} +1 -1
- package/components/{line-chart-options.config-BtfCTjNr.js → line-chart-options.config-vvO1O6jm.js} +1 -1
- package/components/marker-map-options.config-DJrnM51M.cjs +20 -0
- package/components/marker-map-options.config-DlJhJQFX.js +114 -0
- package/components/marker-map-options.de-BsQQMw02.cjs +20 -0
- package/components/marker-map-options.de-FSPgJVkZ.js +73 -0
- package/components/marker-map-options.en-B1rA5oWS.js +73 -0
- package/components/marker-map-options.en-CS9itUOA.cjs +20 -0
- package/components/marker-map-options.es-A5ZV4oul.cjs +20 -0
- package/components/marker-map-options.es-BBzqqF-j.js +73 -0
- package/components/marker-map-options.fr-CyoC79GW.js +73 -0
- package/components/marker-map-options.fr-yEc1vbcL.cjs +20 -0
- package/components/marker-map-options.nl-CBCPk9iq.js +73 -0
- package/components/marker-map-options.nl-YdcS3JJg.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config-B9eRq_Dj.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config-DxB4kd58.js +46 -0
- package/components/parallel-coordinates-plot-options.de-DRG1qPm_.js +38 -0
- package/components/parallel-coordinates-plot-options.de-Dm5-9Du6.cjs +20 -0
- package/components/parallel-coordinates-plot-options.en-D40V_8T7.js +38 -0
- package/components/parallel-coordinates-plot-options.en-mGJiceE7.cjs +20 -0
- package/components/parallel-coordinates-plot-options.es-BCGOmM2a.js +38 -0
- package/components/parallel-coordinates-plot-options.es-UhSh9vHw.cjs +20 -0
- package/components/parallel-coordinates-plot-options.fr-DNjANPoh.cjs +20 -0
- package/components/parallel-coordinates-plot-options.fr-DjnwEK55.js +38 -0
- package/components/parallel-coordinates-plot-options.nl-BK5ytDIO.js +38 -0
- package/components/parallel-coordinates-plot-options.nl-DCXPdyr2.cjs +20 -0
- package/components/popover-Bx4ZDHk4-BuzeOeNe.cjs +48 -0
- package/components/popover-Bx4ZDHk4-jZJ0Cd59.js +86 -0
- package/components/{radar-chart-options.config-DFxna7UF.js → radar-chart-options.config-DBJ8brjT.js} +1 -1
- package/components/{radar-chart-options.config-Ck7skfge.cjs → radar-chart-options.config-DP8xDDs-.cjs} +1 -1
- package/components/regular-table-options.config-Bi84Hym7.cjs +20 -0
- package/components/regular-table-options.config-HkJRCsZu.js +175 -0
- package/components/regular-table-options.de-DHgnwaEe.cjs +20 -0
- package/components/regular-table-options.de-N0yetsiL.js +73 -0
- package/components/regular-table-options.en-5rWPzGrr.js +73 -0
- package/components/regular-table-options.en-DPoF7r6r.cjs +20 -0
- package/components/regular-table-options.es-8cbzQG40.cjs +20 -0
- package/components/regular-table-options.es-C__0JdSP.js +73 -0
- package/components/regular-table-options.fr-C8X5GUEz.js +73 -0
- package/components/regular-table-options.fr-D4dSaBN-.cjs +20 -0
- package/components/regular-table-options.nl-DgDtntYc.js +73 -0
- package/components/regular-table-options.nl-DvIvjTvR.cjs +20 -0
- package/components/route-map-options.config-BOIdPHns.cjs +20 -0
- package/components/route-map-options.config-CPM0TmlA.js +136 -0
- package/components/route-map-options.de-DrhHqbdy.js +74 -0
- package/components/route-map-options.de-ey7CT_tQ.cjs +20 -0
- package/components/route-map-options.en-CjyQT-Ue.cjs +20 -0
- package/components/route-map-options.en-DAgywIcY.js +74 -0
- package/components/route-map-options.es-BR7NuBw0.js +74 -0
- package/components/route-map-options.es-aEyX7m3t.cjs +20 -0
- package/components/route-map-options.fr-42waILBL.cjs +20 -0
- package/components/route-map-options.fr-C7TkfcdY.js +74 -0
- package/components/route-map-options.nl-Btd3mxx0.js +74 -0
- package/components/route-map-options.nl-X4lAer8J.cjs +20 -0
- package/components/{sankey-diagram-options.config-DJqI2dMh.cjs → sankey-diagram-options.config-BUSorI4e.cjs} +1 -1
- package/components/{sankey-diagram-options.config-Dj9g2BOp.js → sankey-diagram-options.config-v0h4IkEH.js} +1 -1
- package/components/{slicer-filter-options.config-BArPA7Mb.js → slicer-filter-options.config-DnOP_foh.js} +1 -1
- package/components/{slicer-filter-options.config-BW44EPso.cjs → slicer-filter-options.config-k8DoX77G.cjs} +1 -1
- package/components/{slider-filter-options.config-BIKIbGbN.js → slider-filter-options.config-BJZtYn5P.js} +1 -1
- package/components/{slider-filter-options.config-zuWa8Rtt.cjs → slider-filter-options.config-DJ2XK2QN.cjs} +1 -1
- package/components/spike-map-options.config-D-TWp2W4.cjs +20 -0
- package/components/spike-map-options.config-wzGnfQRU.js +218 -0
- package/components/spike-map-options.de-BW8YhDI8.cjs +20 -0
- package/components/spike-map-options.de-BxTSDs6l.js +101 -0
- package/components/spike-map-options.en-C0DCu7ul.js +101 -0
- package/components/spike-map-options.en-fNS4A50-.cjs +20 -0
- package/components/spike-map-options.es-I-obYF7j.cjs +20 -0
- package/components/spike-map-options.es-bTfVypDV.js +101 -0
- package/components/spike-map-options.fr-BKzDjsKP.js +101 -0
- package/components/spike-map-options.fr-DWA0ZZBQ.cjs +20 -0
- package/components/spike-map-options.nl-BGPuQRih.js +101 -0
- package/components/spike-map-options.nl-D5Wu6E5D.cjs +20 -0
- package/components/strip-plot-options.config-Bdr8yQJu.js +54 -0
- package/components/strip-plot-options.config-CKy1s16H.cjs +20 -0
- package/components/strip-plot-options.de-DlfRU9aR.js +41 -0
- package/components/strip-plot-options.de-DwOrv0sQ.cjs +20 -0
- package/components/strip-plot-options.en-CjD5zNiU.cjs +20 -0
- package/components/strip-plot-options.en-DqX0AadE.js +41 -0
- package/components/strip-plot-options.es-9lwDujvw.js +41 -0
- package/components/strip-plot-options.es-D_ZS1l9j.cjs +20 -0
- package/components/strip-plot-options.fr-B9cy_kwu.js +41 -0
- package/components/strip-plot-options.fr-C6gKZaLg.cjs +20 -0
- package/components/strip-plot-options.nl-BKYdZ6MS.js +41 -0
- package/components/strip-plot-options.nl-BkQ9nc9g.cjs +20 -0
- package/components/sunburst-chart-options.config-AbNjWS6t.cjs +20 -0
- package/components/{sunburst-chart-options.config-BxkJfdrU.js → sunburst-chart-options.config-CNauGQJv.js} +21 -27
- package/components/symbol-map-options.config-DlyBMq6R.js +169 -0
- package/components/symbol-map-options.config-FVRaZHKk.cjs +20 -0
- package/components/symbol-map-options.de-BpGDOFd7.cjs +20 -0
- package/components/symbol-map-options.de-DH9lmyDE.js +82 -0
- package/components/symbol-map-options.en-BZeByzvx.js +82 -0
- package/components/symbol-map-options.en-DfbVAChu.cjs +20 -0
- package/components/symbol-map-options.es-B4bPEp8B.js +82 -0
- package/components/symbol-map-options.es-DwitkQlR.cjs +20 -0
- package/components/symbol-map-options.fr-AkIE-3m3.js +82 -0
- package/components/symbol-map-options.fr-CmMvfUDf.cjs +20 -0
- package/components/symbol-map-options.nl-Dus8jRh5.js +82 -0
- package/components/symbol-map-options.nl-DxnQtnnP.cjs +20 -0
- package/components/{treemap-chart-options.config-MyCTS35Y.js → treemap-chart-options.config-COItww3I.js} +10 -16
- package/components/{treemap-chart-options.config-PwXbMhHZ.cjs → treemap-chart-options.config-QYXvOoni.cjs} +1 -1
- package/components/utils.cjs +1 -1
- package/components/utils.js +61 -59
- package/components/{wordcloud-chart-options.config-Cv9l0THs.cjs → wordcloud-chart-options.config-JBSwFHr2.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-Dq7TF0sb.js → wordcloud-chart-options.config-wNLESTnL.js} +1 -1
- package/item-definitions/area-chart/area-chart-slots.config.d.ts +16 -16
- package/item-definitions/bar-chart/bar-chart-slots.config.d.ts +8 -8
- package/item-definitions/bullet-chart/bullet-chart-slots.config.d.ts +6 -6
- package/item-definitions/circular-gauge/circular-gauge-options.config.d.ts +4 -1
- package/item-definitions/date-filter/date-filter-options.config.d.ts +60 -0
- package/item-definitions/date-filter/i18n/date-filter-options.de.d.ts +51 -0
- package/item-definitions/date-filter/i18n/date-filter-options.en.d.ts +51 -0
- package/item-definitions/date-filter/i18n/date-filter-options.es.d.ts +51 -0
- package/item-definitions/date-filter/i18n/date-filter-options.fr.d.ts +51 -0
- package/item-definitions/date-filter/i18n/date-filter-options.nl.d.ts +51 -0
- package/item-definitions/evolution-number/evolution-number-options.config.d.ts +184 -0
- package/item-definitions/evolution-number/i18n/evolution-number-options.de.d.ts +83 -0
- package/item-definitions/evolution-number/i18n/evolution-number-options.en.d.ts +83 -0
- package/item-definitions/evolution-number/i18n/evolution-number-options.es.d.ts +83 -0
- package/item-definitions/evolution-number/i18n/evolution-number-options.fr.d.ts +83 -0
- package/item-definitions/evolution-number/i18n/evolution-number-options.nl.d.ts +83 -0
- package/item-definitions/heat-map/heat-map-options.config.d.ts +149 -0
- package/item-definitions/heat-map/i18n/heat-map-options.de.d.ts +70 -0
- package/item-definitions/heat-map/i18n/heat-map-options.en.d.ts +70 -0
- package/item-definitions/heat-map/i18n/heat-map-options.es.d.ts +70 -0
- package/item-definitions/heat-map/i18n/heat-map-options.fr.d.ts +70 -0
- package/item-definitions/heat-map/i18n/heat-map-options.nl.d.ts +70 -0
- package/item-definitions/helpers.d.ts +7 -0
- package/item-definitions/hexbin-map/hexbin-map-options.config.d.ts +189 -0
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.de.d.ts +107 -0
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.en.d.ts +107 -0
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.es.d.ts +107 -0
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.fr.d.ts +107 -0
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.nl.d.ts +107 -0
- package/item-definitions/marker-map/i18n/marker-map-options.de.d.ts +52 -0
- package/item-definitions/marker-map/i18n/marker-map-options.en.d.ts +52 -0
- package/item-definitions/marker-map/i18n/marker-map-options.es.d.ts +52 -0
- package/item-definitions/marker-map/i18n/marker-map-options.fr.d.ts +52 -0
- package/item-definitions/marker-map/i18n/marker-map-options.nl.d.ts +52 -0
- package/item-definitions/marker-map/marker-map-options.config.d.ts +140 -0
- package/item-definitions/parallel-coordinates-plot/i18n/parallel-coordinates-plot-options.de.d.ts +17 -0
- package/item-definitions/parallel-coordinates-plot/i18n/parallel-coordinates-plot-options.en.d.ts +17 -0
- package/item-definitions/parallel-coordinates-plot/i18n/parallel-coordinates-plot-options.es.d.ts +17 -0
- package/item-definitions/parallel-coordinates-plot/i18n/parallel-coordinates-plot-options.fr.d.ts +17 -0
- package/item-definitions/parallel-coordinates-plot/i18n/parallel-coordinates-plot-options.nl.d.ts +17 -0
- package/item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-options.config.d.ts +21 -0
- package/item-definitions/regular-table/i18n/regular-table-options.de.d.ts +52 -0
- package/item-definitions/regular-table/i18n/regular-table-options.en.d.ts +52 -0
- package/item-definitions/regular-table/i18n/regular-table-options.es.d.ts +52 -0
- package/item-definitions/regular-table/i18n/regular-table-options.fr.d.ts +52 -0
- package/item-definitions/regular-table/i18n/regular-table-options.nl.d.ts +52 -0
- package/item-definitions/regular-table/regular-table-options.config.d.ts +125 -0
- package/item-definitions/route-map/i18n/route-map-options.de.d.ts +53 -0
- package/item-definitions/route-map/i18n/route-map-options.en.d.ts +53 -0
- package/item-definitions/route-map/i18n/route-map-options.es.d.ts +53 -0
- package/item-definitions/route-map/i18n/route-map-options.fr.d.ts +53 -0
- package/item-definitions/route-map/i18n/route-map-options.nl.d.ts +53 -0
- package/item-definitions/route-map/route-map-options.config.d.ts +167 -0
- package/item-definitions/spike-map/i18n/spike-map-options.de.d.ts +80 -0
- package/item-definitions/spike-map/i18n/spike-map-options.en.d.ts +80 -0
- package/item-definitions/spike-map/i18n/spike-map-options.es.d.ts +80 -0
- package/item-definitions/spike-map/i18n/spike-map-options.fr.d.ts +80 -0
- package/item-definitions/spike-map/i18n/spike-map-options.nl.d.ts +80 -0
- package/item-definitions/spike-map/spike-map-options.config.d.ts +205 -0
- package/item-definitions/strip-plot/i18n/strip-plot-options.de.d.ts +20 -0
- package/item-definitions/strip-plot/i18n/strip-plot-options.en.d.ts +20 -0
- package/item-definitions/strip-plot/i18n/strip-plot-options.es.d.ts +20 -0
- package/item-definitions/strip-plot/i18n/strip-plot-options.fr.d.ts +20 -0
- package/item-definitions/strip-plot/i18n/strip-plot-options.nl.d.ts +20 -0
- package/item-definitions/strip-plot/strip-plot-options.config.d.ts +21 -0
- package/item-definitions/sunburst-chart/sunburst-chart-options.config.d.ts +1 -1
- package/item-definitions/symbol-map/i18n/symbol-map-options.de.d.ts +61 -0
- package/item-definitions/symbol-map/i18n/symbol-map-options.en.d.ts +61 -0
- package/item-definitions/symbol-map/i18n/symbol-map-options.es.d.ts +61 -0
- package/item-definitions/symbol-map/i18n/symbol-map-options.fr.d.ts +61 -0
- package/item-definitions/symbol-map/i18n/symbol-map-options.nl.d.ts +61 -0
- package/item-definitions/symbol-map/symbol-map-options.config.d.ts +164 -0
- package/item-definitions/treemap-chart/treemap-chart-options.config.d.ts +1 -1
- package/package.json +1 -1
- package/utils/switch-item/index.d.ts +0 -4
- package/components/choropleth-map-options.config-BOuMfF8r.cjs +0 -20
- package/components/helpers-CKo1Fkek.cjs +0 -20
- package/components/index-LSrSqEfM.cjs +0 -195
- package/components/popover-DlkzrLpl-BhTvuvTu.cjs +0 -48
- package/components/popover-DlkzrLpl-CCwcTIXr.js +0 -86
- package/components/sunburst-chart-options.config-BjtKxThH.cjs +0 -20
- package/components/{area-chart-slots.config-C0c2ZzBh.js → area-chart-slots.config-P7xa-pHi.js} +9 -9
- package/components/{bar-chart-slots.config-GSSL7XVA.js → bar-chart-slots.config-MQAjNXqV.js} +7 -7
- package/components/{bullet-chart-slots.config-Ccv_dX0s.js → bullet-chart-slots.config-BlWTleBt.js} +7 -7
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../task-B8yMzxui.cjs");require("../index-zuArOtOt.cjs");require("../index-DUO13KGl.cjs");require("../index-Bt5nP_6w.cjs");require("../index-h9T5DPIm.cjs");require("../index-iYpAy-Kg.cjs");require("../index-BrEDK88k.cjs");require("../index-i8GaIN7i.cjs");const s=require("../property-0L4eB11h.cjs"),p=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),i=require("../set-locale-ByIApH40.cjs"),d=require("../luzmo-icons-XsFsTAl3.cjs"),m=require("../formatter-DiJYkB6b.cjs"),h=require("../periods.const-CDIkC5CK.cjs"),l=require("../query-D5qWDopr.cjs"),c={"~":()=>i.msg("Auto",{desc:"Automatic setting of the option"}),"/":()=>"/","-":()=>"-",".":()=>"."},f=":host{font-family:var(--luzmo-display-settings-datetime-font-family, var(--luzmo-font-family))}:host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-datetime-gap, var(--display-settings-datetime-gap))}:host .example-container{line-height:var(--luzmo-display-settings-datetime-example-height, var(--display-settings-datetime-example-height));font-size:var(--luzmo-display-settings-datetime-example-font-size, var(--display-settings-datetime-example-font-size));color:var(--luzmo-display-settings-datetime-example-color, var(--display-settings-datetime-example-color))}:host .example-container .example-label{font-weight:var(--luzmo-display-settings-datetime-example-label-font-weight, var(--display-settings-datetime-example-label-font-weight));color:var(--luzmo-display-settings-datetime-example-label-color, var(--display-settings-datetime-example-label-color))}:host .example-container .example-language{text-transform:uppercase;color:var(--luzmo-display-settings-datetime-example-language-color, var(--display-settings-datetime-example-language-color))}:host{--display-settings-datetime-example-font-size: var(--luzmo-font-size);--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)}:host{--display-settings-datetime-gap: var(--luzmo-spacing-3);--display-settings-datetime-example-height: var(--luzmo-component-height);--display-settings-datetime-example-font-size: var(--luzmo-font-size-s)}: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)}";var y=Object.defineProperty,v=Object.getOwnPropertyDescriptor,r=(u,e,t,o)=>{for(var a=o>1?void 0:o?v(e,t):e,n=u.length-1,_;n>=0;n--)(_=u[n])&&(a=(o?_(e,t,a):_(a))||a);return o&&a&&y(e,t,a),a};exports.LuzmoDisplaySettingsDatetime=class extends p.m(s.kt,{validSizes:Object.values(p.d)}){constructor(){super(...arguments),this._loadLocaleFormatsConfig=new g.h(this,{task:async([e])=>{if(e&&e!==this._contentLanguageLoaded){const t=Object.assign({"../../utils/formatter/formats/cs.ts":()=>Promise.resolve().then(()=>require("../cs-I9E81keK.cjs")),"../../utils/formatter/formats/da.ts":()=>Promise.resolve().then(()=>require("../da-QkdvupDg.cjs")),"../../utils/formatter/formats/de.ts":()=>Promise.resolve().then(()=>require("../de-Dn5mUzha.cjs")),"../../utils/formatter/formats/en-GB.ts":()=>Promise.resolve().then(()=>require("../en-GB-Dd11ROdW.cjs")),"../../utils/formatter/formats/en-US.ts":()=>Promise.resolve().then(()=>z),"../../utils/formatter/formats/en.ts":()=>Promise.resolve().then(()=>S),"../../utils/formatter/formats/es.ts":()=>Promise.resolve().then(()=>require("../es-CwyPlN5d.cjs")),"../../utils/formatter/formats/fi.ts":()=>Promise.resolve().then(()=>require("../fi-rijeZE5V.cjs")),"../../utils/formatter/formats/fr.ts":()=>Promise.resolve().then(()=>require("../fr-BcgE-6S_.cjs")),"../../utils/formatter/formats/he.ts":()=>Promise.resolve().then(()=>require("../he-O6Ih8Bqh.cjs")),"../../utils/formatter/formats/hu.ts":()=>Promise.resolve().then(()=>require("../hu-BnZ8y3xQ.cjs")),"../../utils/formatter/formats/it.ts":()=>Promise.resolve().then(()=>require("../it-PshtLMkq.cjs")),"../../utils/formatter/formats/ja.ts":()=>Promise.resolve().then(()=>require("../ja-KIS2HdaG.cjs")),"../../utils/formatter/formats/ko.ts":()=>Promise.resolve().then(()=>require("../ko--l4qmjLV.cjs")),"../../utils/formatter/formats/mk.ts":()=>Promise.resolve().then(()=>require("../mk-DZlj-edb.cjs")),"../../utils/formatter/formats/nl.ts":()=>Promise.resolve().then(()=>require("../nl-BKlDqOXb.cjs")),"../../utils/formatter/formats/no.ts":()=>Promise.resolve().then(()=>require("../no-D_SzxhTu.cjs")),"../../utils/formatter/formats/pl.ts":()=>Promise.resolve().then(()=>require("../pl-PIK23rK_.cjs")),"../../utils/formatter/formats/pt.ts":()=>Promise.resolve().then(()=>require("../pt-Dqlu4MS5.cjs")),"../../utils/formatter/formats/ru.ts":()=>Promise.resolve().then(()=>require("../ru-zyNDTB04.cjs")),"../../utils/formatter/formats/sv.ts":()=>Promise.resolve().then(()=>require("../sv-1DPTltNQ.cjs")),"../../utils/formatter/formats/tr.ts":()=>Promise.resolve().then(()=>require("../tr-BkmWvOG2.cjs")),"../../utils/formatter/formats/zh-CN.ts":()=>Promise.resolve().then(()=>require("../zh-CN-DTZ4OmdP.cjs")),"../../utils/formatter/formats/zh-TW.ts":()=>Promise.resolve().then(()=>require("../zh-TW-DTZ4OmdP.cjs"))});if(t[`../../utils/formatter/formats/${e}.ts`]){const o=await t[`../../utils/formatter/formats/${e}.ts`]();this._localeFormats=(o==null?void 0:o.default)??{}}return this._contentLanguageLoaded=e,this._localeFormats}},args:()=>[this.contentLanguage]}),this.language="en",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("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}}static get styles(){return[s.r$1(f)]}_parseSlotContent(){var e,t;this._dateLevel=this.slotContent.level??((e=this.slotContent)==null?void 0:e.lowestLevel)??5,this._displayAs=((t=this.slotContent)==null?void 0:t.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")}_calculateFormat(){var o;let e;const t=((o=this._localeFormats)==null?void 0:o.smartDateFormats)??m.SMART_DATE_FORMATS;this._monthName?(e=t.filter(a=>a.monthType==="name"&&a.longText===(this._monthNameFormat==="long")&&a.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(a=>a.monthType==="number"&&a.mmdd===(this._weekFormat==="mmdd"?!0:this._weekFormat==="ddmm"?!1:null)&&a.separator===this._dateSeparator):t.filter(a=>a.monthType==="number"&&a.mmdd===(this._dateFormat==="mmdd"?!0:this._dateFormat==="ddmm"?!1:null)&&a.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(){var e;this._weekDayAndMonthInYearFormat=((e=this._weekDayAndMonthInYearFormatElement.selected)==null?void 0:e[0])??"long",this._sendEvent(),this.requestUpdate()}_setMonthNameFormat(){var e;this._monthNameFormat=(e=this._monthNameFormatElement.selected)==null?void 0:e[0],this._sendEvent(),this.requestUpdate()}_setMonthName(){this._monthName=this._monthNameElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekFormat(){var e;this._weekFormat=(e=this._weekFormatElement.selected)==null?void 0:e[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){e.has("slotContent")&&(this._parseSlotContent(),this._calculateSlotContent()),e.has("language")&&([...i.targetLocales].includes(this.language)||this.language==="en")&&(i.setLocale(this.language),this.requestUpdate())}_renderDisplaySettings(){var t,o;const e=(o=(t=h.DATETIME_AS_STRING_FORMATS_PER_LEVEL)==null?void 0:t[`level${this._dateLevel??0}`])==null?void 0:o.map(a=>s.x`<luzmo-menu-item value=${a.key}>
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../task-B8yMzxui.cjs");require("../index-zuArOtOt.cjs");require("../index-DUO13KGl.cjs");require("../index-Bt5nP_6w.cjs");require("../index-h9T5DPIm.cjs");require("../index-iYpAy-Kg.cjs");require("../index-DrLPC6eG.cjs");require("../index-i8GaIN7i.cjs");const s=require("../property-0L4eB11h.cjs"),p=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),i=require("../set-locale-ByIApH40.cjs"),d=require("../luzmo-icons-XsFsTAl3.cjs"),m=require("../formatter-DiJYkB6b.cjs"),h=require("../periods.const-CDIkC5CK.cjs"),l=require("../query-D5qWDopr.cjs"),c={"~":()=>i.msg("Auto",{desc:"Automatic setting of the option"}),"/":()=>"/","-":()=>"-",".":()=>"."},f=":host{font-family:var(--luzmo-display-settings-datetime-font-family, var(--luzmo-font-family))}:host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-datetime-gap, var(--display-settings-datetime-gap))}:host .example-container{line-height:var(--luzmo-display-settings-datetime-example-height, var(--display-settings-datetime-example-height));font-size:var(--luzmo-display-settings-datetime-example-font-size, var(--display-settings-datetime-example-font-size));color:var(--luzmo-display-settings-datetime-example-color, var(--display-settings-datetime-example-color))}:host .example-container .example-label{font-weight:var(--luzmo-display-settings-datetime-example-label-font-weight, var(--display-settings-datetime-example-label-font-weight));color:var(--luzmo-display-settings-datetime-example-label-color, var(--display-settings-datetime-example-label-color))}:host .example-container .example-language{text-transform:uppercase;color:var(--luzmo-display-settings-datetime-example-language-color, var(--display-settings-datetime-example-language-color))}:host{--display-settings-datetime-example-font-size: var(--luzmo-font-size);--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)}:host{--display-settings-datetime-gap: var(--luzmo-spacing-3);--display-settings-datetime-example-height: var(--luzmo-component-height);--display-settings-datetime-example-font-size: var(--luzmo-font-size-s)}: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)}";var y=Object.defineProperty,v=Object.getOwnPropertyDescriptor,r=(u,e,t,o)=>{for(var a=o>1?void 0:o?v(e,t):e,n=u.length-1,_;n>=0;n--)(_=u[n])&&(a=(o?_(e,t,a):_(a))||a);return o&&a&&y(e,t,a),a};exports.LuzmoDisplaySettingsDatetime=class extends p.m(s.kt,{validSizes:Object.values(p.d)}){constructor(){super(...arguments),this._loadLocaleFormatsConfig=new g.h(this,{task:async([e])=>{if(e&&e!==this._contentLanguageLoaded){const t=Object.assign({"../../utils/formatter/formats/cs.ts":()=>Promise.resolve().then(()=>require("../cs-I9E81keK.cjs")),"../../utils/formatter/formats/da.ts":()=>Promise.resolve().then(()=>require("../da-QkdvupDg.cjs")),"../../utils/formatter/formats/de.ts":()=>Promise.resolve().then(()=>require("../de-Dn5mUzha.cjs")),"../../utils/formatter/formats/en-GB.ts":()=>Promise.resolve().then(()=>require("../en-GB-Dd11ROdW.cjs")),"../../utils/formatter/formats/en-US.ts":()=>Promise.resolve().then(()=>z),"../../utils/formatter/formats/en.ts":()=>Promise.resolve().then(()=>S),"../../utils/formatter/formats/es.ts":()=>Promise.resolve().then(()=>require("../es-CwyPlN5d.cjs")),"../../utils/formatter/formats/fi.ts":()=>Promise.resolve().then(()=>require("../fi-rijeZE5V.cjs")),"../../utils/formatter/formats/fr.ts":()=>Promise.resolve().then(()=>require("../fr-BcgE-6S_.cjs")),"../../utils/formatter/formats/he.ts":()=>Promise.resolve().then(()=>require("../he-O6Ih8Bqh.cjs")),"../../utils/formatter/formats/hu.ts":()=>Promise.resolve().then(()=>require("../hu-BnZ8y3xQ.cjs")),"../../utils/formatter/formats/it.ts":()=>Promise.resolve().then(()=>require("../it-PshtLMkq.cjs")),"../../utils/formatter/formats/ja.ts":()=>Promise.resolve().then(()=>require("../ja-KIS2HdaG.cjs")),"../../utils/formatter/formats/ko.ts":()=>Promise.resolve().then(()=>require("../ko--l4qmjLV.cjs")),"../../utils/formatter/formats/mk.ts":()=>Promise.resolve().then(()=>require("../mk-DZlj-edb.cjs")),"../../utils/formatter/formats/nl.ts":()=>Promise.resolve().then(()=>require("../nl-BKlDqOXb.cjs")),"../../utils/formatter/formats/no.ts":()=>Promise.resolve().then(()=>require("../no-D_SzxhTu.cjs")),"../../utils/formatter/formats/pl.ts":()=>Promise.resolve().then(()=>require("../pl-PIK23rK_.cjs")),"../../utils/formatter/formats/pt.ts":()=>Promise.resolve().then(()=>require("../pt-Dqlu4MS5.cjs")),"../../utils/formatter/formats/ru.ts":()=>Promise.resolve().then(()=>require("../ru-zyNDTB04.cjs")),"../../utils/formatter/formats/sv.ts":()=>Promise.resolve().then(()=>require("../sv-1DPTltNQ.cjs")),"../../utils/formatter/formats/tr.ts":()=>Promise.resolve().then(()=>require("../tr-BkmWvOG2.cjs")),"../../utils/formatter/formats/zh-CN.ts":()=>Promise.resolve().then(()=>require("../zh-CN-DTZ4OmdP.cjs")),"../../utils/formatter/formats/zh-TW.ts":()=>Promise.resolve().then(()=>require("../zh-TW-DTZ4OmdP.cjs"))});if(t[`../../utils/formatter/formats/${e}.ts`]){const o=await t[`../../utils/formatter/formats/${e}.ts`]();this._localeFormats=(o==null?void 0:o.default)??{}}return this._contentLanguageLoaded=e,this._localeFormats}},args:()=>[this.contentLanguage]}),this.language="en",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("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}}static get styles(){return[s.r$1(f)]}_parseSlotContent(){var e,t;this._dateLevel=this.slotContent.level??((e=this.slotContent)==null?void 0:e.lowestLevel)??5,this._displayAs=((t=this.slotContent)==null?void 0:t.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")}_calculateFormat(){var o;let e;const t=((o=this._localeFormats)==null?void 0:o.smartDateFormats)??m.SMART_DATE_FORMATS;this._monthName?(e=t.filter(a=>a.monthType==="name"&&a.longText===(this._monthNameFormat==="long")&&a.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(a=>a.monthType==="number"&&a.mmdd===(this._weekFormat==="mmdd"?!0:this._weekFormat==="ddmm"?!1:null)&&a.separator===this._dateSeparator):t.filter(a=>a.monthType==="number"&&a.mmdd===(this._dateFormat==="mmdd"?!0:this._dateFormat==="ddmm"?!1:null)&&a.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(){var e;this._weekDayAndMonthInYearFormat=((e=this._weekDayAndMonthInYearFormatElement.selected)==null?void 0:e[0])??"long",this._sendEvent(),this.requestUpdate()}_setMonthNameFormat(){var e;this._monthNameFormat=(e=this._monthNameFormatElement.selected)==null?void 0:e[0],this._sendEvent(),this.requestUpdate()}_setMonthName(){this._monthName=this._monthNameElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekFormat(){var e;this._weekFormat=(e=this._weekFormatElement.selected)==null?void 0:e[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){e.has("slotContent")&&(this._parseSlotContent(),this._calculateSlotContent()),e.has("language")&&([...i.targetLocales].includes(this.language)||this.language==="en")&&(i.setLocale(this.language),this.requestUpdate())}_renderDisplaySettings(){var t,o;const e=(o=(t=h.DATETIME_AS_STRING_FORMATS_PER_LEVEL)==null?void 0:t[`level${this._dateLevel??0}`])==null?void 0:o.map(a=>s.x`<luzmo-menu-item value=${a.key}>
|
21
21
|
${a.i18n()}
|
22
22
|
</luzmo-menu-item>`);return s.x`<div class="setting">
|
23
23
|
<luzmo-field-label for="display-as"
|
@@ -23,7 +23,7 @@ import "../index-Bee1uunR.js";
|
|
23
23
|
import "../index-BYfDERr7.js";
|
24
24
|
import "../index-ymMEPngt.js";
|
25
25
|
import "../index-B3ve6cAj.js";
|
26
|
-
import "../index-
|
26
|
+
import "../index-DM_2d78G.js";
|
27
27
|
import "../index-CfEn3fIT.js";
|
28
28
|
import { k, a as x, x as a, n as d } from "../property-B2F7x7Cz.js";
|
29
29
|
import { m as w, d as F } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../set-locale-ByIApH40.cjs");require("../index-zuArOtOt.cjs");require("../index-DUO13KGl.cjs");require("../index-Bt5nP_6w.cjs");require("../index-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../set-locale-ByIApH40.cjs");require("../index-zuArOtOt.cjs");require("../index-DUO13KGl.cjs");require("../index-Bt5nP_6w.cjs");require("../index-w3j1USKK.cjs");require("../index-iYpAy-Kg.cjs");require("../index-DrLPC6eG.cjs");require("../index-Dc9c_dq-.cjs");const a=require("../property-0L4eB11h.cjs"),v=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),f=require("../decompose-numeric-format-B3rVVHpO.cjs"),y=require("../luzmo-icons-XsFsTAl3.cjs"),b=require("../index-BJVxTeoi.cjs"),S=require("../state-BFA93Sye.cjs"),m=require("../query-D5qWDopr.cjs"),A=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-numeric-gap, var(--display-settings-numeric-gap))}.duration-angle-down-icon{margin-inline-start:var(--luzmo-numeric-duration-levels-dropdown-icon-margin-inline-start, var(--numeric-duration-levels-dropdown-icon-margin-inline-start))}:host{--display-settings-numeric-gap: var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-2 )}:host([size=s]){--display-settings-numeric-gap: var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-1 )}:host([size=l]){--display-settings-numeric-gap: var(--luzmo-spacing-4);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-3 )}:host([size=xl]){--display-settings-numeric-gap: var(--luzmo-spacing-5);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-4 )}",D={sum:()=>s.msg("Sum",{desc:"Numeric Aggregation option"}),cumulativesum:()=>s.msg("Cumulative sum",{desc:"Numeric Aggregation option"}),average:()=>s.msg("Average",{desc:"Numeric Aggregation option"}),weightedaverage:()=>s.msg("Weighted average",{desc:"Numeric Aggregation option"}),median:()=>s.msg("Median",{desc:"Numeric Aggregation option"}),count:()=>s.msg("Count",{desc:"Numeric Aggregation option"}),distinctcount:()=>s.msg("Distinct count",{desc:"Numeric Aggregation option"}),min:()=>s.msg("Minimum",{desc:"Numeric Aggregation option"}),max:()=>s.msg("Maximum",{desc:"Numeric Aggregation option"}),stddev:()=>s.msg("Standard deviation",{desc:"Numeric Aggregation option"}),rate:()=>s.msg("Rate",{desc:"Numeric Aggregation option"})},z={general:"123",percentage:"%",scientific:"SI"},L={time:()=>s.msg("Time",{desc:"Time format option"}),short:()=>s.msg("Short",{desc:"Short format option"}),long:()=>s.msg("Long",{desc:"Long format option"})},p={Auto:{auto:!0,label:()=>s.msg("Auto",{desc:"Automatic setting of the option"})},"1,000.00":{auto:!1,label:()=>"1,000.00",thousandSeparator:",",decimalSeparator:"."},"1.000,00":{auto:!1,label:()=>"1.000,00",thousandSeparator:".",decimalSeparator:","},"1000.00":{auto:!1,label:()=>"1000.00",decimalSeparator:"."},"1000,00":{auto:!1,label:()=>"1000,00",decimalSeparator:","}},F={levels:[{level:1,label:"years"},{level:2,label:"quarters"},{level:3,label:"months"},{level:4,label:"weeks"},{level:5,label:"days"},{level:6,label:"hours"},{level:7,label:"minutes"},{level:8,label:"seconds"},{level:9,label:"milliseconds"}]};var $=Object.defineProperty,N=Object.getOwnPropertyDescriptor,r=(h,t,e,i)=>{for(var n=i>1?void 0:i?N(t,e):t,o=h.length-1,l;o>=0;o--)(l=h[o])&&(n=(i?l(t,e,n):l(n))||n);return i&&n&&$(t,e,n),n};exports.LuzmoDisplaySettingsNumeric=class extends v.m(a.kt,{validSizes:Object.values(v.d)}){constructor(){super(...arguments),this.language="en",this.slotContent={},this.measureColumns=[],this._durationLevels=[],this._renderDurationLevelMenu=!1,this._sendEvent=()=>{const t={...this.slotContent};t.format=this._format,t.aggregationFunc=this._aggregationFunc,this._aggregationWeightColumn?t.aggregationWeight={...this._aggregationWeightColumn}:this._aggregationFunc==="rate"&&(t.aggregationFunc="average"),this._displayMode==="duration"?(t.duration=t.duration??{},t.duration.format=this._durationFormat,t.duration.levels=this._durationLevels):delete t.duration,this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:t}}))}}static get styles(){return[a.r$1(A)]}_parseSavedNumericFormatSettings(){var t,e,i,n,o,l,g,c,d,_;if(this._displayMode=((t=this.slotContent)==null?void 0:t.subtype)==="duration"?((n=(i=(e=this.slotContent)==null?void 0:e.duration)==null?void 0:i.levels)==null?void 0:n.length)===1?"numeric":"duration":"numeric",this._durationFormat=((l=(o=this.slotContent)==null?void 0:o.duration)==null?void 0:l.format)??"short",this._durationLevels=((c=(g=this.slotContent)==null?void 0:g.duration)==null?void 0:c.levels)??[1],this._displayMode==="duration")this._precision=2,this._commaDecimals=!1,this._thousandSeparator=!1;else{this._format=((d=this.slotContent)==null?void 0:d.format)??".0f";const u=f.decomposeNumericFormat(this._format??".0f");this._isAuto=((_=u.typeFormat)==null?void 0:_.includes("a"))??!1,["%","a%","y","ay"].includes(u.typeFormat)?this._displayAs="percentage":["s","as","w","aw"].includes(u.typeFormat)?this._displayAs="scientific":this._displayAs="general",this._precision=u.precision?Number.parseInt(u.precision.replace(".",""),10):this._displayAs==="scientific"?1:0,this._commaDecimals=["z","az","y","ay","w","aw"].includes(u.typeFormat),this._thousandSeparator=u.comma===",",this._isAuto?this._numericFormatGroup="Auto":this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup="1.000,00":!this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup="1,000.00":this._commaDecimals&&!this._thousandSeparator?this._numericFormatGroup="1000,00":!this._commaDecimals&&!this._thousandSeparator&&(this._numericFormatGroup="1000.00")}}_setNumericDisplayAs(){var t,e;this._displayAs=((e=(t=this._displayAsElement)==null?void 0:t.selected)==null?void 0:e[0])??"general",this._displayAs==="scientific"&&(this._precision=Math.max(this._precision??0,1),this._thousandSeparator=!1),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setNumericSeparators(t){const e=p[(t==null?void 0:t.detail)??"Auto"];this._thousandSeparator=[",","."].includes((e==null?void 0:e.thousandSeparator)??""),this._commaDecimals=(e==null?void 0:e.decimalSeparator)===",",this._isAuto=e==null?void 0:e.auto,this._setNumericFormat(),this._sendEvent()}_setPrecision(){this._precision=this._precisionElement.value,this._setNumericFormat(),this._sendEvent()}_setNumericFormat(){var i;let t="f";const e=this.slotContent.subtype==="duration"?this._durationLevels&&((i=this._durationLevels)==null?void 0:i.length)===1?"numeric":"duration":"numeric";this._maxDurationLevel=Math.min(...this._durationLevels),e==="duration"?(!["time","short","long"].includes(this._durationFormat??"")||this._maxDurationLevel<6&&this._durationFormat==="time")&&(this._durationFormat="short"):(this._displayAs==="general"&&this._commaDecimals?t="z":this._displayAs==="percentage"&&this._commaDecimals?t="y":this._displayAs==="scientific"&&this._commaDecimals?t="w":this._displayAs==="percentage"?t="%":this._displayAs==="scientific"&&(t="s"),this._format=(this._thousandSeparator||this._isAuto?",":"")+"."+this._precision+(this._isAuto?"a":"")+t)}_setAggregationFunc(){const t=this._aggregationFunc,e=this.slotContent.format;if(this._aggregationElement.value!==t){if(this._aggregationFunc=this._aggregationElement.value,t==="rate"){const i=f.decomposeNumericFormat(e),n=["%","y","a%","ay"].includes(i.typeFormat);this.slotContent.subtype==="currency"&&n&&this._setNumericDisplayAs()}this._sendEvent(),(this._aggregationFunc==="rate"||t==="rate")&&this.requestUpdate()}}_setAggregationWeight(){const t=this._aggregationWeightElement.value;if(t==="none")this._aggregationWeightColumn=void 0;else{const e=this.measureColumns.find(i=>i.columnId===t);this._aggregationWeightColumn={column:e==null?void 0:e.columnId,set:e==null?void 0:e.datasetId,columnSubType:e==null?void 0:e.subtype}}this._sendEvent()}_setDurationLevels(){const t=this._durationLevels,e=this._durationLevelsElement.value.split(",").filter(i=>i!=="").map(i=>Number.parseInt(i,10));this._durationLevels=((e==null?void 0:e.length)??0)>=1?e:t,this._maxDurationLevel=Math.min(...this._durationLevels),this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setDurationFormat(){var t,e;this._durationFormat=(e=(t=this._durationFormatElement)==null?void 0:t.selected)==null?void 0:e[0],this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_fillTimeDurationLevels(){if(this._durationFormat==="time"){const t=this._durationLevels.sort().at(-1);if([7,8,9].includes(t)){const e={lev7:[6],lev8:[6,7],lev9:[6,7,8]};for(const i of e["lev"+t])this._durationLevels.includes(i)||this._durationLevels.push(i);this._durationLevels=[...this._durationLevels].sort()}}}willUpdate(t){var e,i,n;t.has("slotContent")&&(this._parseSavedNumericFormatSettings(),this._aggregationFunc=((e=this.slotContent)==null?void 0:e.aggregationFunc)??((i=this.slotContent)==null?void 0:i.type)==="numeric"?"sum":"count",this._aggregationWeightColumn=(n=this.slotContent)==null?void 0:n.aggregationWeight),t.has("language")&&([...s.targetLocales].includes(this.language??"en")||this.language==="en")&&(s.setLocale(this.language),this.requestUpdate())}firstUpdated(){var t;(t=this.slotContent)!=null&&t.duration&&this._durationLevelsOverlay.addEventListener("slottable-request",e=>{this._renderDurationLevelMenu=e.data!==b.a})}_renderDurationLevelsSettings(){const t=F.levels.map(e=>{let i=!1;return this._durationFormat==="time"&&e.level>=6&&this._durationLevels.includes(e.level)&&e.level!==Math.max(...this._durationLevels)&&(i=!0),this._durationLevels.length===1&&this._durationLevels.includes(e.level)&&(i=!0),a.x`<luzmo-menu-item
|
21
21
|
value=${e.level}
|
22
22
|
?selected=${this._durationLevels.includes(e.level)}
|
23
23
|
?disabled=${i}
|
@@ -21,10 +21,10 @@ import { m as s, t as x, s as A, l as L } from "../set-locale-DJYT4V7U.js";
|
|
21
21
|
import "../index-CdCtJpK9.js";
|
22
22
|
import "../index-Bee1uunR.js";
|
23
23
|
import "../index-BYfDERr7.js";
|
24
|
-
import "../index-
|
24
|
+
import "../index-D5LI0odG.js";
|
25
25
|
import "../index-B3ve6cAj.js";
|
26
|
-
import "../index-
|
27
|
-
import "../index-
|
26
|
+
import "../index-DM_2d78G.js";
|
27
|
+
import "../index-aYcu00GB.js";
|
28
28
|
import { k as F, a as $, x as a, n as f } from "../property-B2F7x7Cz.js";
|
29
29
|
import { m as S, d as D } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
|
30
30
|
import { d as v } from "../decompose-numeric-format-BuZcjH2k.js";
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../set-locale-ByIApH40.cjs"),v=require("../luzmo-icons-XsFsTAl3.cjs"),r=require("../property-0L4eB11h.cjs"),z=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),w=require("../checkbox-mixin-BFGTmw17-CCjGd0nS.cjs");require("../index-Bt5nP_6w.cjs");require("../index-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../set-locale-ByIApH40.cjs"),v=require("../luzmo-icons-XsFsTAl3.cjs"),r=require("../property-0L4eB11h.cjs"),z=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),w=require("../checkbox-mixin-BFGTmw17-CCjGd0nS.cjs");require("../index-Bt5nP_6w.cjs");require("../index-w3j1USKK.cjs");require("../index-iYpAy-Kg.cjs");require("../index-DrLPC6eG.cjs");const C=require("../decompose-numeric-format-B3rVVHpO.cjs"),_=require("../state-BFA93Sye.cjs"),p=require("../query-D5qWDopr.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -23,9 +23,9 @@ import { h as j, H as p, k as x, R as h, a as H, x as z, n as A } from "../prope
|
|
23
23
|
import { m as P, d as F } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
|
24
24
|
import { k as T } from "../checkbox-mixin-BFGTmw17-C34LMsgu.js";
|
25
25
|
import "../index-BYfDERr7.js";
|
26
|
-
import "../index-
|
26
|
+
import "../index-D5LI0odG.js";
|
27
27
|
import "../index-B3ve6cAj.js";
|
28
|
-
import "../index-
|
28
|
+
import "../index-DM_2d78G.js";
|
29
29
|
import { d as D } from "../decompose-numeric-format-BuZcjH2k.js";
|
30
30
|
import { r as B } from "../state-Joaryhrg.js";
|
31
31
|
import { e as v } from "../query-Ddbd72Um.js";
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("../get-css-variable-DLiZYZEi.cjs"),a=require("../set-locale-ByIApH40.cjs"),y=require("../task-B8yMzxui.cjs"),h=require("../luzmo-icons-XsFsTAl3.cjs");require("../index-ByjLd3bT.cjs");const r=require("../property-0L4eB11h.cjs"),C=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),S=require("../localize-r7ALOUy_.cjs"),q=require("../query-D5qWDopr.cjs");require("../slot-menu/index.cjs");const P=":host{font-family:var(--luzmo-droppable-slot-font-family, var(--luzmo-font-family))}.droppable-slot[filled]{cursor:pointer;border:var(--luzmo-droppable-slot-filled-border-width, var(--droppable-slot-filled-border-width)) var(--luzmo-droppable-slot-filled-border-style, var(--droppable-slot-filled-border-style)) var(--luzmo-droppable-slot-filled-border-color, var(--droppable-slot-filled-border-color));background-color:var(--luzmo-droppable-slot-filled-background-color, var(--droppable-slot-filled-background-color));color:var(--luzmo-droppable-slot-filled-color, var(--droppable-slot-filled-color))}.droppable-slot{color:var(--luzmo-droppable-slot-font-color, var(--droppable-slot-font-color));border:var(--luzmo-droppable-slot-border-width, var(--droppable-slot-border-width)) var(--luzmo-droppable-slot-border-style, var(--droppable-slot-border-style)) var(--luzmo-droppable-slot-border-color, var(--droppable-slot-border-color));background-color:var(--luzmo-droppable-slot-background-color, var(--droppable-slot-background-color));display:flex;justify-content:space-between;align-items:center;padding-left:var(--luzmo-droppable-slot-edge-to-label, var(--droppable-slot-edge-to-label));gap:var(--luzmo-spacing-5);border-radius:var(--luzmo-border-radius);height:var(--luzmo-droppable-slot-height, var(--droppable-slot-height));cursor:move}:host([disabled]) .droppable-slot{background-color:var(--luzmo-droppable-slot-background-color-disabled, var(--droppable-slot-background-color-disabled));color:var(--luzmo-droppable-slot-color-disabled, var(--droppable-slot-color-disabled));cursor:not-allowed}:host([disabled]) .drag-handle-icon{opacity:.25;font-size:12px}.drag-handle-icon{opacity:.5;font-size:12px}.droppable-slot-label{font-size:var(--luzmo-droppable-slot-label-font-size, var(--droppable-slot-label-font-size));flex-grow:1;margin-right:var(--luzmo-droppable-slot-text-to-controls, var(--droppable-slot-text-to-controls));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.controls{height:100%;display:flex;align-items:center;gap:var(--luzmo-droppable-slot-controls-gap, var(--droppable-slot-controls-gap));background-color:var(--luzmo-droppable-slot-controls-background-color, var(--droppable-slot-controls-background-color));color:var(--luzmo-droppable-slot-controls-color, var(--droppable-slot-controls-color));margin-right:var(--luzmo-droppable-slot-controls-to-edge, var(--droppable-slot-controls-to-edge));padding:0 var(--luzmo-droppable-slot-controls-horizontal-padding, var(--droppable-slot-controls-horizontal-padding))}.controls div{cursor:pointer;height:100%;display:flex;align-items:center;padding:0 var(--luzmo-droppable-slot-controls-control-horizontal-padding, var(--droppable-slot-controls-control-horizontal-padding))}luzmo-slot-menu[placement=bottom],luzmo-slot-menu[placement=top],luzmo-slot-menu[placement=bottom-start],luzmo-slot-menu[placement=top-start],luzmo-slot-menu[placement=bottom-end],luzmo-slot-menu[placement=top-end]{margin:var(--luzmo-droppable-slot-overlay-vertical-gap, var(--droppable-slot-overlay-vertical-gap)) 0}luzmo-slot-menu[placement=left],luzmo-slot-menu[placement=right],luzmo-slot-menu[placement=left-start],luzmo-slot-menu[placement=right-start],luzmo-slot-menu[placement=left-end],luzmo-slot-menu[placement=right-end]{margin:0 var(--luzmo-droppable-slot-overlay-horizontal-gap, var(--droppable-slot-overlay-horizontal-gap))}:host{--droppable-slot-border-width: var(--luzmo-border-width);--droppable-slot-border-style: dashed;--droppable-slot-border-color: var(--luzmo-border-color);--droppable-slot-background-color: transparent;--droppable-slot-font-color: var(--luzmo-font-color);--droppable-slot-controls-background-color: var(--luzmo-primary-down);--droppable-slot-controls-color: var(--luzmo-primary-inverse-color);--droppable-slot-text-to-controls: var(--luzmo-spacing-3);--droppable-slot-controls-to-edge: 0;--droppable-slot-controls-gap: var(--luzmo-spacing-2);--droppable-slot-controls-horizontal-padding: var(--luzmo-spacing-2);--droppable-slot-controls-control-horizontal-padding: var(--luzmo-spacing-3);--droppable-slot-filled-background-color: var(--luzmo-primary);--droppable-slot-filled-color: var(--luzmo-primary-inverse-color);--droppable-slot-filled-border-width: var(--luzmo-border-width);--droppable-slot-filled-border-style: solid;--droppable-slot-filled-border-color: var(--luzmo-primary-down);--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-edge-to-label: var(--luzmo-spacing-5);--droppable-slot-color-disabled: var(--luzmo-color-disabled);--droppable-slot-background-color-disabled: var( --luzmo-background-color-disabled )}:host([accept-drag]){--droppable-slot-filled-background-color: var(--luzmo-color-positive);--droppable-slot-filled-color: white;--droppable-slot-filled-border-color: var(--luzmo-color-positive-down);--droppable-slot-controls-background-color: var(--luzmo-color-positive-down);--droppable-slot-controls-color: white;--droppable-slot-background-color: var(--luzmo-color-positive);--droppable-slot-font-color: white}:host{--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=s]){--droppable-slot-height: var(--luzmo-component-height-s);--droppable-slot-label-font-size: var(--luzmo-font-size-s);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-s);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=l]){--droppable-slot-height: var(--luzmo-component-height-l);--droppable-slot-label-font-size: var(--luzmo-font-size-l);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-l);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host([size=xl]){--droppable-slot-height: var(--luzmo-component-height-xl);--droppable-slot-label-font-size: var(--luzmo-font-size-xl);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-xl);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host{box-sizing:border-box}",v={Category:()=>a.msg("Category",{desc:"Category label"}),Measure:()=>a.msg("Measure",{desc:"Measure label"}),Legend:()=>a.msg("Legend",{desc:"Legend label"}),"Y-Axis":()=>a.msg("Y-Axis",{desc:"Y-Axis label"}),"X-Axis":()=>a.msg("X-Axis",{desc:"X-Axis label"}),"Group by":()=>a.msg("Group by",{desc:"Group by label"})};var L=Object.defineProperty,x=Object.getOwnPropertyDescriptor,n=(g,o,t,e)=>{for(var l=e>1?void 0:e?x(o,t):o,s=g.length-1,i;s>=0;s--)(i=g[s])&&(l=(e?i(o,t,l):i(l))||l);return e&&l&&L(o,t,l),l};exports.LuzmoDroppableSlot=class extends C.m(r.kt,{validSizes:["s","m","l","xl"],noDefaultSize:!0}){constructor(){super(...arguments),this._loadSlotsConfig=new y.h(this,{task:async([o])=>{if(o&&o!==this._itemTypeLoaded){const t=Object.assign({"../../item-definitions/area-chart/area-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../area-chart-slots.config-BLxiYX05.cjs")),"../../item-definitions/bar-chart/bar-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../bar-chart-slots.config-Jx1PveTM.cjs")),"../../item-definitions/box-plot/box-plot-slots.config.ts":()=>Promise.resolve().then(()=>require("../box-plot-slots.config-DZxyy3sS.cjs")),"../../item-definitions/bubble-chart/bubble-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../bubble-chart-slots.config-BwSwgleO.cjs")),"../../item-definitions/bullet-chart/bullet-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../bullet-chart-slots.config-CiYsxviC.cjs")),"../../item-definitions/choropleth-map/choropleth-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../choropleth-map-slots.config-PNwSR0XY.cjs")),"../../item-definitions/circle-pack-chart/circle-pack-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../circle-pack-chart-slots.config-C-_ganmv.cjs")),"../../item-definitions/circular-gauge/circular-gauge-slots.config.ts":()=>Promise.resolve().then(()=>require("../circular-gauge-slots.config-Cd-nkNPm.cjs")),"../../item-definitions/column-chart/column-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../column-chart-slots.config-C7MhpoR8.cjs")),"../../item-definitions/combination-chart/combination-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../combination-chart-slots.config-crMO01EO.cjs")),"../../item-definitions/conditional-number/conditional-number-slots.config.ts":()=>Promise.resolve().then(()=>require("../conditional-number-slots.config-CD5ZwXuY.cjs")),"../../item-definitions/date-filter/date-filter-slots.config.ts":()=>Promise.resolve().then(()=>require("../date-filter-slots.config-Cb1LcT9W.cjs")),"../../item-definitions/donut-chart/donut-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../donut-chart-slots.config-DIp-24lO.cjs")),"../../item-definitions/dropdown-filter/dropdown-filter-slots.config.ts":()=>Promise.resolve().then(()=>require("../dropdown-filter-slots.config-I2n4b_6V.cjs")),"../../item-definitions/evolution-number/evolution-number-slots.config.ts":()=>Promise.resolve().then(()=>require("../evolution-number-slots.config-BI-sFIug.cjs")),"../../item-definitions/funnel-chart/funnel-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../funnel-chart-slots.config-WrokHS7f.cjs")),"../../item-definitions/heat-map/heat-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../heat-map-slots.config-CSxSsQwX.cjs")),"../../item-definitions/heat-table/heat-table-slots.config.ts":()=>Promise.resolve().then(()=>require("../heat-table-slots.config-GGX3BCh1.cjs")),"../../item-definitions/hexbin-map/hexbin-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../hexbin-map-slots.config-CSxSsQwX.cjs")),"../../item-definitions/image/image-slots.config.ts":()=>Promise.resolve().then(()=>require("../image-slots.config-mPXMR1CE.cjs")),"../../item-definitions/line-chart/line-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../line-chart-slots.config-CIfDfftd.cjs")),"../../item-definitions/marker-map/marker-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../marker-map-slots.config-CSxSsQwX.cjs")),"../../item-definitions/ohlc-chart/ohlc-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../ohlc-chart-slots.config-DMomcHMV.cjs")),"../../item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-slots.config.ts":()=>Promise.resolve().then(()=>require("../parallel-coordinates-plot-slots.config-BRXA5nUl.cjs")),"../../item-definitions/pivot-table/pivot-table-slots.config.ts":()=>Promise.resolve().then(()=>require("../pivot-table-slots.config-DzGWM3Ez.cjs")),"../../item-definitions/pyramid-chart/pyramid-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../pyramid-chart-slots.config-DeWrVApy.cjs")),"../../item-definitions/radar-chart/radar-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../radar-chart-slots.config-Dxx5fKnS.cjs")),"../../item-definitions/regular-table/regular-table-slots.config.ts":()=>Promise.resolve().then(()=>require("../regular-table-slots.config-ChrvnRDb.cjs")),"../../item-definitions/route-map/route-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../route-map-slots.config-BfbIWCr0.cjs")),"../../item-definitions/sankey-diagram/sankey-diagram-slots.config.ts":()=>Promise.resolve().then(()=>require("../sankey-diagram-slots.config-B7Q-ZfUP.cjs")),"../../item-definitions/scatter-plot/scatter-plot-slots.config.ts":()=>Promise.resolve().then(()=>require("../scatter-plot-slots.config-wlX_PVu8.cjs")),"../../item-definitions/search-filter/search-filter-slots.config.ts":()=>Promise.resolve().then(()=>require("../search-filter-slots.config-DOlr8VaD.cjs")),"../../item-definitions/slicer-filter/slicer-filter-slots.config.ts":()=>Promise.resolve().then(()=>require("../slicer-filter-slots.config-Dyte3aGp.cjs")),"../../item-definitions/slider-filter/slider-filter-slots.config.ts":()=>Promise.resolve().then(()=>require("../slider-filter-slots.config-Cr5oXbok.cjs")),"../../item-definitions/speedometer-chart/speedometer-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../speedometer-chart-slots.config-Cd-nkNPm.cjs")),"../../item-definitions/spike-map/spike-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../spike-map-slots.config-Drga6_j0.cjs")),"../../item-definitions/strip-plot/strip-plot-slots.config.ts":()=>Promise.resolve().then(()=>require("../strip-plot-slots.config-JvkKY5Ga.cjs")),"../../item-definitions/sunburst-chart/sunburst-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../sunburst-chart-slots.config-C-_ganmv.cjs")),"../../item-definitions/symbol-map/symbol-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../symbol-map-slots.config-DtW-3xkd.cjs")),"../../item-definitions/text/text-slots.config.ts":()=>Promise.resolve().then(()=>require("../text-slots.config-BMBEkf0O.cjs")),"../../item-definitions/treemap-chart/treemap-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../treemap-chart-slots.config-C3bnHCyy.cjs")),"../../item-definitions/venn-diagram/venn-diagram-slots.config.ts":()=>Promise.resolve().then(()=>require("../venn-diagram-slots.config-CpOPbUjs.cjs")),"../../item-definitions/video/video-slots.config.ts":()=>Promise.resolve().then(()=>require("../video-slots.config-mPXMR1CE.cjs")),"../../item-definitions/wordcloud-chart/wordcloud-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../wordcloud-chart-slots.config-D7CiYopX.cjs"))});if(t[`../../item-definitions/${o}/${o}-slots.config.ts`]){const e=await t[`../../item-definitions/${o}/${o}-slots.config.ts`]();this._slotsConfig=(e==null?void 0:e.default)??{}}return this._slotsConfig}},args:()=>[this.itemType,this.language]}),this.slotConfiguration={},this.slotContents=[],this.language="en",this.menu="default",this.placement="bottom-end",this.changedSlotContents=o=>{this.dispatchEvent(new CustomEvent("slot-contents-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:o}}))},this._currentSlotContents=[]}disconnectedCallback(){super.disconnectedCallback(),this._cleanupDroppable()}emptySlotContents(o){o.preventDefault(),o.stopPropagation(),this.slotContents=[],this.changedSlotContents([])}willUpdate(o){o.has("language")&&([...a.targetLocales].includes(this.language)||this.language==="en")&&(a.setLocale(this.language),this.requestUpdate()),o.has("slotContents")&&(this._currentSlotContents=structuredClone(this.slotContents))}firstUpdated(o){this._cleanupDroppable||(this._cleanupDroppable=z.dropTargetForElements({element:this,onDrop:t=>{var i,p,d,c;const e={...(i=t.source)==null?void 0:i.data},l={...(e==null?void 0:e.label)??{en:"Untitled"}},s=e==null?void 0:e.type;if(s==="datetime"&&!e.level&&(e.level=e.lowestLevel??(e.subtype==="date"?5:9)),s==="datetime"&&((d=(p=t==null?void 0:t.source)==null?void 0:p.element)!=null&&d.hasAttribute("sublevel"))){const u=["(Yr)","(Qtr)","(Mth)","(Wk)","(Date)","(Hr)","(Min)","(Sec)","(Msec)"],m=(e==null?void 0:e.level)??1,b=Object.keys(l);for(const f of b)l[f]=`${l[f]} ${u[m-1]}`;e.label=l}this.slotContents=(c=this.slotConfiguration)!=null&&c.canAcceptMultipleColumns?[...this.slotContents??[],e]:[e],this.removeAttribute("accept-drag"),this.changedSlotContents(this.slotContents)},canDrop:({source:t})=>{var l,s,i,p,d,c,u,m,b;if(!["LUZMO-DRAGGABLE-DATA-ITEM-LEVEL","LUZMO-DRAGGABLE-DATA-ITEM"].includes((l=t.element)==null?void 0:l.tagName))return!1;const e=((i=(s=this.slotConfiguration)==null?void 0:s.acceptableColumnTypes)==null?void 0:i.length)>0?this.slotConfiguration.acceptableColumnTypes:["numeric","hierarchy","datetime"];return(p=t==null?void 0:t.data)!=null&&p.type&&!e.includes((d=t==null?void 0:t.data)==null?void 0:d.type)?!1:!((c=t==null?void 0:t.data)!=null&&c.subtype&&((m=(u=this.slotConfiguration)==null?void 0:u.acceptableColumnSubtypes)==null?void 0:m.length)>0&&!this.slotConfiguration.acceptableColumnSubtypes.includes((b=t==null?void 0:t.data)==null?void 0:b.subtype))},getDropEffect:()=>"link",onDragEnter:()=>{this.setAttribute("accept-drag","")},onDragLeave:()=>{this.removeAttribute("accept-drag")}}))}updated(){this.createFullLabel()}_onSlotMenuChanges(o){var t;o.preventDefault(),o.stopPropagation(),this.slotContents.length===((t=o.detail.slotContents)==null?void 0:t.length)?(this._currentSlotContents=o.detail.slotContents,this.createFullLabel(),this.changedSlotContents(this._currentSlotContents)):(this.slotContents=o.detail.slotContents,this.changedSlotContents(this.slotContents))}createFullLabel(){var l,s,i,p,d,c,u,m,b;let o="";const t=v[(l=this.slotConfiguration)==null?void 0:l.label]?v[(s=this.slotConfiguration)==null?void 0:s.label]():(i=this.slotConfiguration)==null?void 0:i.label;((p=this._currentSlotContents)==null?void 0:p.length)===1?o=S.localize((c=(d=this._currentSlotContents)==null?void 0:d[0])==null?void 0:c.label,this.language)??"Untitled":((u=this._currentSlotContents)==null?void 0:u.length)>1&&(o=`${this._currentSlotContents.length} items`);let e="";this.label?e=this.label:t&&(e=t),e=e||"Untitled",((m=this._currentSlotContents)==null?void 0:m.length)>0&&(e+=((b=this._currentSlotContents)==null?void 0:b.length)>1?`: ${this._currentSlotContents.length} items`:`: ${o}`),this._droppableSlotLabelElement&&(this._droppableSlotLabelElement.textContent=e)}droppableSlotMarkup(){var o,t,e,l;return r.x`
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("../get-css-variable-DLiZYZEi.cjs"),a=require("../set-locale-ByIApH40.cjs"),y=require("../task-B8yMzxui.cjs"),h=require("../luzmo-icons-XsFsTAl3.cjs");require("../index-ByjLd3bT.cjs");const r=require("../property-0L4eB11h.cjs"),C=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),S=require("../localize-r7ALOUy_.cjs"),q=require("../query-D5qWDopr.cjs");require("../slot-menu/index.cjs");const P=":host{font-family:var(--luzmo-droppable-slot-font-family, var(--luzmo-font-family))}.droppable-slot[filled]{cursor:pointer;border:var(--luzmo-droppable-slot-filled-border-width, var(--droppable-slot-filled-border-width)) var(--luzmo-droppable-slot-filled-border-style, var(--droppable-slot-filled-border-style)) var(--luzmo-droppable-slot-filled-border-color, var(--droppable-slot-filled-border-color));background-color:var(--luzmo-droppable-slot-filled-background-color, var(--droppable-slot-filled-background-color));color:var(--luzmo-droppable-slot-filled-color, var(--droppable-slot-filled-color))}.droppable-slot{color:var(--luzmo-droppable-slot-font-color, var(--droppable-slot-font-color));border:var(--luzmo-droppable-slot-border-width, var(--droppable-slot-border-width)) var(--luzmo-droppable-slot-border-style, var(--droppable-slot-border-style)) var(--luzmo-droppable-slot-border-color, var(--droppable-slot-border-color));background-color:var(--luzmo-droppable-slot-background-color, var(--droppable-slot-background-color));display:flex;justify-content:space-between;align-items:center;padding-left:var(--luzmo-droppable-slot-edge-to-label, var(--droppable-slot-edge-to-label));gap:var(--luzmo-spacing-5);border-radius:var(--luzmo-border-radius);height:var(--luzmo-droppable-slot-height, var(--droppable-slot-height));cursor:move}:host([disabled]) .droppable-slot{background-color:var(--luzmo-droppable-slot-background-color-disabled, var(--droppable-slot-background-color-disabled));color:var(--luzmo-droppable-slot-color-disabled, var(--droppable-slot-color-disabled));cursor:not-allowed}:host([disabled]) .drag-handle-icon{opacity:.25;font-size:12px}.drag-handle-icon{opacity:.5;font-size:12px}.droppable-slot-label{font-size:var(--luzmo-droppable-slot-label-font-size, var(--droppable-slot-label-font-size));flex-grow:1;margin-right:var(--luzmo-droppable-slot-text-to-controls, var(--droppable-slot-text-to-controls));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.controls{height:100%;display:flex;align-items:center;gap:var(--luzmo-droppable-slot-controls-gap, var(--droppable-slot-controls-gap));background-color:var(--luzmo-droppable-slot-controls-background-color, var(--droppable-slot-controls-background-color));color:var(--luzmo-droppable-slot-controls-color, var(--droppable-slot-controls-color));margin-right:var(--luzmo-droppable-slot-controls-to-edge, var(--droppable-slot-controls-to-edge));padding:0 var(--luzmo-droppable-slot-controls-horizontal-padding, var(--droppable-slot-controls-horizontal-padding))}.controls div{cursor:pointer;height:100%;display:flex;align-items:center;padding:0 var(--luzmo-droppable-slot-controls-control-horizontal-padding, var(--droppable-slot-controls-control-horizontal-padding))}luzmo-slot-menu[placement=bottom],luzmo-slot-menu[placement=top],luzmo-slot-menu[placement=bottom-start],luzmo-slot-menu[placement=top-start],luzmo-slot-menu[placement=bottom-end],luzmo-slot-menu[placement=top-end]{margin:var(--luzmo-droppable-slot-overlay-vertical-gap, var(--droppable-slot-overlay-vertical-gap)) 0}luzmo-slot-menu[placement=left],luzmo-slot-menu[placement=right],luzmo-slot-menu[placement=left-start],luzmo-slot-menu[placement=right-start],luzmo-slot-menu[placement=left-end],luzmo-slot-menu[placement=right-end]{margin:0 var(--luzmo-droppable-slot-overlay-horizontal-gap, var(--droppable-slot-overlay-horizontal-gap))}:host{--droppable-slot-border-width: var(--luzmo-border-width);--droppable-slot-border-style: dashed;--droppable-slot-border-color: var(--luzmo-border-color);--droppable-slot-background-color: transparent;--droppable-slot-font-color: var(--luzmo-font-color);--droppable-slot-controls-background-color: var(--luzmo-primary-down);--droppable-slot-controls-color: var(--luzmo-primary-inverse-color);--droppable-slot-text-to-controls: var(--luzmo-spacing-3);--droppable-slot-controls-to-edge: 0;--droppable-slot-controls-gap: var(--luzmo-spacing-2);--droppable-slot-controls-horizontal-padding: var(--luzmo-spacing-2);--droppable-slot-controls-control-horizontal-padding: var(--luzmo-spacing-3);--droppable-slot-filled-background-color: var(--luzmo-primary);--droppable-slot-filled-color: var(--luzmo-primary-inverse-color);--droppable-slot-filled-border-width: var(--luzmo-border-width);--droppable-slot-filled-border-style: solid;--droppable-slot-filled-border-color: var(--luzmo-primary-down);--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-edge-to-label: var(--luzmo-spacing-5);--droppable-slot-color-disabled: var(--luzmo-color-disabled);--droppable-slot-background-color-disabled: var( --luzmo-background-color-disabled )}:host([accept-drag]){--droppable-slot-filled-background-color: var(--luzmo-color-positive);--droppable-slot-filled-color: white;--droppable-slot-filled-border-color: var(--luzmo-color-positive-down);--droppable-slot-controls-background-color: var(--luzmo-color-positive-down);--droppable-slot-controls-color: white;--droppable-slot-background-color: var(--luzmo-color-positive);--droppable-slot-font-color: white}:host{--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=s]){--droppable-slot-height: var(--luzmo-component-height-s);--droppable-slot-label-font-size: var(--luzmo-font-size-s);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-s);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=l]){--droppable-slot-height: var(--luzmo-component-height-l);--droppable-slot-label-font-size: var(--luzmo-font-size-l);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-l);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host([size=xl]){--droppable-slot-height: var(--luzmo-component-height-xl);--droppable-slot-label-font-size: var(--luzmo-font-size-xl);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-xl);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host{box-sizing:border-box}",v={Category:()=>a.msg("Category",{desc:"Category label"}),Measure:()=>a.msg("Measure",{desc:"Measure label"}),Legend:()=>a.msg("Legend",{desc:"Legend label"}),"Y-Axis":()=>a.msg("Y-Axis",{desc:"Y-Axis label"}),"X-Axis":()=>a.msg("X-Axis",{desc:"X-Axis label"}),"Group by":()=>a.msg("Group by",{desc:"Group by label"})};var L=Object.defineProperty,x=Object.getOwnPropertyDescriptor,n=(g,o,t,e)=>{for(var l=e>1?void 0:e?x(o,t):o,s=g.length-1,i;s>=0;s--)(i=g[s])&&(l=(e?i(o,t,l):i(l))||l);return e&&l&&L(o,t,l),l};exports.LuzmoDroppableSlot=class extends C.m(r.kt,{validSizes:["s","m","l","xl"],noDefaultSize:!0}){constructor(){super(...arguments),this._loadSlotsConfig=new y.h(this,{task:async([o])=>{if(o&&o!==this._itemTypeLoaded){const t=Object.assign({"../../item-definitions/area-chart/area-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../area-chart-slots.config-CIfDfftd.cjs")),"../../item-definitions/bar-chart/bar-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../bar-chart-slots.config-DszaQhMd.cjs")),"../../item-definitions/box-plot/box-plot-slots.config.ts":()=>Promise.resolve().then(()=>require("../box-plot-slots.config-DZxyy3sS.cjs")),"../../item-definitions/bubble-chart/bubble-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../bubble-chart-slots.config-BwSwgleO.cjs")),"../../item-definitions/bullet-chart/bullet-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../bullet-chart-slots.config-DQarxMR7.cjs")),"../../item-definitions/choropleth-map/choropleth-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../choropleth-map-slots.config-PNwSR0XY.cjs")),"../../item-definitions/circle-pack-chart/circle-pack-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../circle-pack-chart-slots.config-C-_ganmv.cjs")),"../../item-definitions/circular-gauge/circular-gauge-slots.config.ts":()=>Promise.resolve().then(()=>require("../circular-gauge-slots.config-Cd-nkNPm.cjs")),"../../item-definitions/column-chart/column-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../column-chart-slots.config-C7MhpoR8.cjs")),"../../item-definitions/combination-chart/combination-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../combination-chart-slots.config-crMO01EO.cjs")),"../../item-definitions/conditional-number/conditional-number-slots.config.ts":()=>Promise.resolve().then(()=>require("../conditional-number-slots.config-CD5ZwXuY.cjs")),"../../item-definitions/date-filter/date-filter-slots.config.ts":()=>Promise.resolve().then(()=>require("../date-filter-slots.config-Cb1LcT9W.cjs")),"../../item-definitions/donut-chart/donut-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../donut-chart-slots.config-DIp-24lO.cjs")),"../../item-definitions/dropdown-filter/dropdown-filter-slots.config.ts":()=>Promise.resolve().then(()=>require("../dropdown-filter-slots.config-I2n4b_6V.cjs")),"../../item-definitions/evolution-number/evolution-number-slots.config.ts":()=>Promise.resolve().then(()=>require("../evolution-number-slots.config-BI-sFIug.cjs")),"../../item-definitions/funnel-chart/funnel-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../funnel-chart-slots.config-WrokHS7f.cjs")),"../../item-definitions/heat-map/heat-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../heat-map-slots.config-CSxSsQwX.cjs")),"../../item-definitions/heat-table/heat-table-slots.config.ts":()=>Promise.resolve().then(()=>require("../heat-table-slots.config-GGX3BCh1.cjs")),"../../item-definitions/hexbin-map/hexbin-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../hexbin-map-slots.config-CSxSsQwX.cjs")),"../../item-definitions/image/image-slots.config.ts":()=>Promise.resolve().then(()=>require("../image-slots.config-mPXMR1CE.cjs")),"../../item-definitions/line-chart/line-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../line-chart-slots.config-CIfDfftd.cjs")),"../../item-definitions/marker-map/marker-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../marker-map-slots.config-CSxSsQwX.cjs")),"../../item-definitions/ohlc-chart/ohlc-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../ohlc-chart-slots.config-DMomcHMV.cjs")),"../../item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-slots.config.ts":()=>Promise.resolve().then(()=>require("../parallel-coordinates-plot-slots.config-BRXA5nUl.cjs")),"../../item-definitions/pivot-table/pivot-table-slots.config.ts":()=>Promise.resolve().then(()=>require("../pivot-table-slots.config-DzGWM3Ez.cjs")),"../../item-definitions/pyramid-chart/pyramid-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../pyramid-chart-slots.config-DeWrVApy.cjs")),"../../item-definitions/radar-chart/radar-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../radar-chart-slots.config-Dxx5fKnS.cjs")),"../../item-definitions/regular-table/regular-table-slots.config.ts":()=>Promise.resolve().then(()=>require("../regular-table-slots.config-ChrvnRDb.cjs")),"../../item-definitions/route-map/route-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../route-map-slots.config-BfbIWCr0.cjs")),"../../item-definitions/sankey-diagram/sankey-diagram-slots.config.ts":()=>Promise.resolve().then(()=>require("../sankey-diagram-slots.config-B7Q-ZfUP.cjs")),"../../item-definitions/scatter-plot/scatter-plot-slots.config.ts":()=>Promise.resolve().then(()=>require("../scatter-plot-slots.config-wlX_PVu8.cjs")),"../../item-definitions/search-filter/search-filter-slots.config.ts":()=>Promise.resolve().then(()=>require("../search-filter-slots.config-DOlr8VaD.cjs")),"../../item-definitions/slicer-filter/slicer-filter-slots.config.ts":()=>Promise.resolve().then(()=>require("../slicer-filter-slots.config-Dyte3aGp.cjs")),"../../item-definitions/slider-filter/slider-filter-slots.config.ts":()=>Promise.resolve().then(()=>require("../slider-filter-slots.config-Cr5oXbok.cjs")),"../../item-definitions/speedometer-chart/speedometer-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../speedometer-chart-slots.config-Cd-nkNPm.cjs")),"../../item-definitions/spike-map/spike-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../spike-map-slots.config-Drga6_j0.cjs")),"../../item-definitions/strip-plot/strip-plot-slots.config.ts":()=>Promise.resolve().then(()=>require("../strip-plot-slots.config-JvkKY5Ga.cjs")),"../../item-definitions/sunburst-chart/sunburst-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../sunburst-chart-slots.config-C-_ganmv.cjs")),"../../item-definitions/symbol-map/symbol-map-slots.config.ts":()=>Promise.resolve().then(()=>require("../symbol-map-slots.config-DtW-3xkd.cjs")),"../../item-definitions/text/text-slots.config.ts":()=>Promise.resolve().then(()=>require("../text-slots.config-BMBEkf0O.cjs")),"../../item-definitions/treemap-chart/treemap-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../treemap-chart-slots.config-C3bnHCyy.cjs")),"../../item-definitions/venn-diagram/venn-diagram-slots.config.ts":()=>Promise.resolve().then(()=>require("../venn-diagram-slots.config-CpOPbUjs.cjs")),"../../item-definitions/video/video-slots.config.ts":()=>Promise.resolve().then(()=>require("../video-slots.config-mPXMR1CE.cjs")),"../../item-definitions/wordcloud-chart/wordcloud-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../wordcloud-chart-slots.config-D7CiYopX.cjs"))});if(t[`../../item-definitions/${o}/${o}-slots.config.ts`]){const e=await t[`../../item-definitions/${o}/${o}-slots.config.ts`]();this._slotsConfig=(e==null?void 0:e.default)??{}}return this._slotsConfig}},args:()=>[this.itemType,this.language]}),this.slotConfiguration={},this.slotContents=[],this.language="en",this.menu="default",this.placement="bottom-end",this.changedSlotContents=o=>{this.dispatchEvent(new CustomEvent("slot-contents-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:o}}))},this._currentSlotContents=[]}disconnectedCallback(){super.disconnectedCallback(),this._cleanupDroppable()}emptySlotContents(o){o.preventDefault(),o.stopPropagation(),this.slotContents=[],this.changedSlotContents([])}willUpdate(o){o.has("language")&&([...a.targetLocales].includes(this.language)||this.language==="en")&&(a.setLocale(this.language),this.requestUpdate()),o.has("slotContents")&&(this._currentSlotContents=structuredClone(this.slotContents))}firstUpdated(o){this._cleanupDroppable||(this._cleanupDroppable=z.dropTargetForElements({element:this,onDrop:t=>{var i,p,d,c;const e={...(i=t.source)==null?void 0:i.data},l={...(e==null?void 0:e.label)??{en:"Untitled"}},s=e==null?void 0:e.type;if(s==="datetime"&&!e.level&&(e.level=e.lowestLevel??(e.subtype==="date"?5:9)),s==="datetime"&&((d=(p=t==null?void 0:t.source)==null?void 0:p.element)!=null&&d.hasAttribute("sublevel"))){const u=["(Yr)","(Qtr)","(Mth)","(Wk)","(Date)","(Hr)","(Min)","(Sec)","(Msec)"],m=(e==null?void 0:e.level)??1,b=Object.keys(l);for(const f of b)l[f]=`${l[f]} ${u[m-1]}`;e.label=l}this.slotContents=(c=this.slotConfiguration)!=null&&c.canAcceptMultipleColumns?[...this.slotContents??[],e]:[e],this.removeAttribute("accept-drag"),this.changedSlotContents(this.slotContents)},canDrop:({source:t})=>{var l,s,i,p,d,c,u,m,b;if(!["LUZMO-DRAGGABLE-DATA-ITEM-LEVEL","LUZMO-DRAGGABLE-DATA-ITEM"].includes((l=t.element)==null?void 0:l.tagName))return!1;const e=((i=(s=this.slotConfiguration)==null?void 0:s.acceptableColumnTypes)==null?void 0:i.length)>0?this.slotConfiguration.acceptableColumnTypes:["numeric","hierarchy","datetime"];return(p=t==null?void 0:t.data)!=null&&p.type&&!e.includes((d=t==null?void 0:t.data)==null?void 0:d.type)?!1:!((c=t==null?void 0:t.data)!=null&&c.subtype&&((m=(u=this.slotConfiguration)==null?void 0:u.acceptableColumnSubtypes)==null?void 0:m.length)>0&&!this.slotConfiguration.acceptableColumnSubtypes.includes((b=t==null?void 0:t.data)==null?void 0:b.subtype))},getDropEffect:()=>"link",onDragEnter:()=>{this.setAttribute("accept-drag","")},onDragLeave:()=>{this.removeAttribute("accept-drag")}}))}updated(){this.createFullLabel()}_onSlotMenuChanges(o){var t;o.preventDefault(),o.stopPropagation(),this.slotContents.length===((t=o.detail.slotContents)==null?void 0:t.length)?(this._currentSlotContents=o.detail.slotContents,this.createFullLabel(),this.changedSlotContents(this._currentSlotContents)):(this.slotContents=o.detail.slotContents,this.changedSlotContents(this.slotContents))}createFullLabel(){var l,s,i,p,d,c,u,m,b;let o="";const t=v[(l=this.slotConfiguration)==null?void 0:l.label]?v[(s=this.slotConfiguration)==null?void 0:s.label]():(i=this.slotConfiguration)==null?void 0:i.label;((p=this._currentSlotContents)==null?void 0:p.length)===1?o=S.localize((c=(d=this._currentSlotContents)==null?void 0:d[0])==null?void 0:c.label,this.language)??"Untitled":((u=this._currentSlotContents)==null?void 0:u.length)>1&&(o=`${this._currentSlotContents.length} items`);let e="";this.label?e=this.label:t&&(e=t),e=e||"Untitled",((m=this._currentSlotContents)==null?void 0:m.length)>0&&(e+=((b=this._currentSlotContents)==null?void 0:b.length)>1?`: ${this._currentSlotContents.length} items`:`: ${o}`),this._droppableSlotLabelElement&&(this._droppableSlotLabelElement.textContent=e)}droppableSlotMarkup(){var o,t,e,l;return r.x`
|
21
21
|
<div
|
22
22
|
class="droppable-slot"
|
23
23
|
?filled=${((o=this.slotContents)==null?void 0:o.length)>0}
|
@@ -56,11 +56,11 @@ let i = class extends D($, {
|
|
56
56
|
task: async ([o]) => {
|
57
57
|
if (o && o !== this._itemTypeLoaded) {
|
58
58
|
const t = /* @__PURE__ */ Object.assign({
|
59
|
-
"../../item-definitions/area-chart/area-chart-slots.config.ts": () => import("../area-chart-slots.config-
|
60
|
-
"../../item-definitions/bar-chart/bar-chart-slots.config.ts": () => import("../bar-chart-slots.config-
|
59
|
+
"../../item-definitions/area-chart/area-chart-slots.config.ts": () => import("../area-chart-slots.config-P7xa-pHi.js"),
|
60
|
+
"../../item-definitions/bar-chart/bar-chart-slots.config.ts": () => import("../bar-chart-slots.config-MQAjNXqV.js"),
|
61
61
|
"../../item-definitions/box-plot/box-plot-slots.config.ts": () => import("../box-plot-slots.config-BRhnF2FE.js"),
|
62
62
|
"../../item-definitions/bubble-chart/bubble-chart-slots.config.ts": () => import("../bubble-chart-slots.config-Bbh94VgZ.js"),
|
63
|
-
"../../item-definitions/bullet-chart/bullet-chart-slots.config.ts": () => import("../bullet-chart-slots.config-
|
63
|
+
"../../item-definitions/bullet-chart/bullet-chart-slots.config.ts": () => import("../bullet-chart-slots.config-BlWTleBt.js"),
|
64
64
|
"../../item-definitions/choropleth-map/choropleth-map-slots.config.ts": () => import("../choropleth-map-slots.config-B-uJTj4q.js"),
|
65
65
|
"../../item-definitions/circle-pack-chart/circle-pack-chart-slots.config.ts": () => import("../circle-pack-chart-slots.config-xwVdRiwS.js"),
|
66
66
|
"../../item-definitions/circular-gauge/circular-gauge-slots.config.ts": () => import("../circular-gauge-slots.config-DA-ZAc5d.js"),
|