@luzmo/analytics-components-kit 1.0.1-alpha.47 → 1.0.1-alpha.49
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/{bar-chart-options.config-BdbbHUJZ.js → bar-chart-options.config-D1mb5TDl.js} +1 -0
- package/components/{bar-chart-options.config-C9XGEujs.cjs → bar-chart-options.config-DcxEkOT5.cjs} +1 -1
- package/components/{bar-chart-options.de-DwTn_qfu.js → bar-chart-options.de-BQ4qGaQc.js} +1 -0
- package/components/{bar-chart-options.de-BGzu5Zgd.cjs → bar-chart-options.de-Dr5zKz8Q.cjs} +1 -1
- package/components/{column-chart-options.en-D1UfGsS3.cjs → bar-chart-options.en-DdQ2PYrw.cjs} +1 -1
- package/components/{bar-chart-options.en-Crc8tYUJ.js → bar-chart-options.en-LjG6f4hw.js} +1 -0
- package/components/{bar-chart-options.es-ByT_D06p.js → bar-chart-options.es-BfIKCPf-.js} +1 -0
- package/components/{bar-chart-options.es-B2UWafXc.cjs → bar-chart-options.es-DgYVxn9U.cjs} +1 -1
- package/components/{bar-chart-options.fr-BwiGRlQf.js → bar-chart-options.fr-Cg1lQV2y.js} +1 -0
- package/components/{bar-chart-options.fr-CP7DTrlk.cjs → bar-chart-options.fr-rteFm93C.cjs} +1 -1
- package/components/{column-chart-options.nl-3wAj9uWY.cjs → bar-chart-options.nl--gwlkpc0.cjs} +1 -1
- package/components/{bar-chart-options.nl-DzXnHdwX.js → bar-chart-options.nl-CB2W4rzf.js} +1 -0
- package/components/box-plot-options.config-SrrbDEYW.cjs +20 -0
- package/components/{box-plot-options.config-vlz5qeNq.js → box-plot-options.config-xu_i6ms7.js} +119 -44
- package/components/{bullet-chart-options.config-Bsw7N7Wl.js → bullet-chart-options.config-CDPpX1yc.js} +11 -0
- package/components/{button-base-DbkDzb71-CY6MJGqE.cjs → button-base-DbkDzb71-D0Ni0xn1.cjs} +1 -1
- package/components/{button-base-DbkDzb71-R8oqSqlY.js → button-base-DbkDzb71-Dh2Out91.js} +1 -1
- package/components/{calculate-data-item-icon-DlfbBvFN.cjs → calculate-data-item-icon-Dn-9Kd0U.cjs} +1 -1
- package/components/{calculate-data-item-icon-DKjZwr-x.js → calculate-data-item-icon-Dpvf1aLI.js} +51 -51
- package/components/choropleth-map-options.config-B_W9-rhe.js +381 -0
- package/components/choropleth-map-options.config-ZW8yoZH2.cjs +20 -0
- package/components/{choropleth-map-options.de-B_Agdr4T.cjs → choropleth-map-options.de-C4ko9lE4.cjs} +1 -1
- package/components/{choropleth-map-options.de-BSt-L5Vh.js → choropleth-map-options.de-CIls11eI.js} +1 -1
- package/components/{choropleth-map-options.en-Cy7WcWLG.js → choropleth-map-options.en-C7cPpmnS.js} +1 -1
- package/components/{choropleth-map-options.en-DJHAy6ek.cjs → choropleth-map-options.en-DVWBmXFe.cjs} +1 -1
- package/components/{choropleth-map-options.es-BnR-9vJv.js → choropleth-map-options.es-gQPy8Q0q.js} +1 -1
- package/components/{choropleth-map-options.es-Dr07odJo.cjs → choropleth-map-options.es-v5dYm1W3.cjs} +1 -1
- package/components/{choropleth-map-options.fr-CR5NMRR3.cjs → choropleth-map-options.fr-Bpk_J4Gw.cjs} +1 -1
- package/components/{choropleth-map-options.fr-BlwLS1Wy.js → choropleth-map-options.fr-YsTTCv_p.js} +1 -1
- package/components/{choropleth-map-options.nl-D70fr4Hl.js → choropleth-map-options.nl-CnEI0pYJ.js} +1 -1
- package/components/{choropleth-map-options.nl-BITK3ddz.cjs → choropleth-map-options.nl-CyDZDpyE.cjs} +1 -1
- package/components/{circular-gauge-options.config-Kd_WK_w-.js → circular-gauge-options.config-DAIjz4Rl.js} +59 -13
- package/components/circular-gauge-options.config-msZ4mfpN.cjs +20 -0
- package/components/{circular-gauge-options.de-BO3S8GCr.js → circular-gauge-options.de-BMzGTpZD.js} +3 -0
- package/components/{circular-gauge-options.de-BZfrQqs3.cjs → circular-gauge-options.de-CzEREduR.cjs} +1 -1
- package/components/{circular-gauge-options.en-CB-jZtE6.cjs → circular-gauge-options.en--hMYjiKb.cjs} +1 -1
- package/components/{circular-gauge-options.en-Cyhhijwg.js → circular-gauge-options.en-C6U5peDD.js} +3 -0
- package/components/{circular-gauge-options.es-DJ7ru4Wf.js → circular-gauge-options.es-Kajxp0wO.js} +5 -2
- package/components/{circular-gauge-options.es-DuQPHjcG.cjs → circular-gauge-options.es-bS5N1QyR.cjs} +1 -1
- package/components/{circular-gauge-options.fr-CFMa8H8K.cjs → circular-gauge-options.fr-VgkkhIDb.cjs} +1 -1
- package/components/{circular-gauge-options.fr-BVWliP7i.js → circular-gauge-options.fr-l5cqWrSS.js} +3 -0
- package/components/{circular-gauge-options.nl-BB_jgj5k.cjs → circular-gauge-options.nl-B-E_GXJl.cjs} +1 -1
- package/components/{circular-gauge-options.nl-DGpV7Riu.js → circular-gauge-options.nl-CAx8oTMs.js} +3 -0
- package/components/color-B6LaL8qz.cjs +20 -0
- package/components/color-DuJ4-73S.js +2867 -0
- package/components/color-palettes-BqH2Fv19.js +1852 -0
- package/components/color-palettes-DhNHcib8.cjs +20 -0
- package/components/color-range-utils-Bvo9sm5A.js +68 -0
- package/components/color-range-utils-C5yXW7ZC.cjs +20 -0
- package/components/{column-chart-options.config-BqSQ1Sl9.js → column-chart-options.config-B5SjBVdy.js} +10 -9
- package/components/{column-chart-options.config-Bi0RAzK-.cjs → column-chart-options.config-BjDvA7i9.cjs} +1 -1
- package/components/{column-chart-options.de-pgdcIHqk.cjs → column-chart-options.de-BU__cJy3.cjs} +1 -1
- package/components/{column-chart-options.de-VQVdi8aP.js → column-chart-options.de-BkkWD9rB.js} +1 -0
- package/components/{bar-chart-options.en-D1UfGsS3.cjs → column-chart-options.en-DdQ2PYrw.cjs} +1 -1
- package/components/{column-chart-options.en-Crc8tYUJ.js → column-chart-options.en-LjG6f4hw.js} +1 -0
- package/components/{column-chart-options.es-CT9ZtjV_.js → column-chart-options.es-BgOc-gTh.js} +1 -0
- package/components/{column-chart-options.es-CAAXJv_2.cjs → column-chart-options.es-CkaTU6qn.cjs} +1 -1
- package/components/{column-chart-options.fr-BwiGRlQf.js → column-chart-options.fr-Cg1lQV2y.js} +1 -0
- package/components/{column-chart-options.fr-CP7DTrlk.cjs → column-chart-options.fr-rteFm93C.cjs} +1 -1
- package/components/{bar-chart-options.nl-DZe2pKRa.cjs → column-chart-options.nl-Bhe6rcUo.cjs} +1 -1
- package/components/{column-chart-options.nl-DB2dcotu.js → column-chart-options.nl-CAeBYwQC.js} +1 -0
- package/components/{conditional-number-options.config-BzzAnCOB.js → conditional-number-options.config-BCEpSK9J.js} +68 -12
- package/components/conditional-number-options.config-DgzUo0xi.cjs +20 -0
- package/components/{conditional-number-options.de-BJcjBZY1.js → conditional-number-options.de-DbpKd1bd.js} +2 -2
- package/components/{conditional-number-options.de-CFnufi0r.cjs → conditional-number-options.de-R9Mtj45x.cjs} +1 -1
- package/components/{conditional-number-options.en-Wd-0YtdE.cjs → conditional-number-options.en-C-nOJ85m.cjs} +1 -1
- package/components/{conditional-number-options.en-WSrIzRGJ.js → conditional-number-options.en-DZH6utHH.js} +2 -2
- package/components/{conditional-number-options.es-BTDTe5SF.cjs → conditional-number-options.es-C41csR3J.cjs} +1 -1
- package/components/{conditional-number-options.es-BKqT0zog.js → conditional-number-options.es-_oKhivId.js} +2 -2
- package/components/{conditional-number-options.fr-D2r7Azy8.js → conditional-number-options.fr-BSSywulP.js} +2 -2
- package/components/{conditional-number-options.fr-CZ-9jzPm.cjs → conditional-number-options.fr-DgaXesnu.cjs} +1 -1
- package/components/{conditional-number-options.nl-pkRI1tLZ.js → conditional-number-options.nl-BuKNqxqm.js} +2 -2
- package/components/{conditional-number-options.nl-CfRYL6o1.cjs → conditional-number-options.nl-CJ5teRtT.cjs} +1 -1
- package/components/{date-filter-options.en-DqY3gH_W.cjs → date-filter-options.en-B7MjV7xe.cjs} +1 -1
- package/components/{date-filter-options.en-DgbZmD5M.js → date-filter-options.en-C0AmRz6f.js} +2 -1
- package/components/{date-filter-options.es-CQeWi9cD.cjs → date-filter-options.es-C__wCKac.cjs} +1 -1
- package/components/{date-filter-options.es-BI-h1lD-.js → date-filter-options.es-bN790adr.js} +4 -3
- package/components/{date-filter-options.fr-D22GM6_c.cjs → date-filter-options.fr-CFqwPRzc.cjs} +1 -1
- package/components/{date-filter-options.fr-DXLKLmhl.js → date-filter-options.fr-CNKTJNWh.js} +2 -1
- package/components/{date-filter-options.nl-CqZmwOux.cjs → date-filter-options.nl-CHOlmw93.cjs} +1 -1
- package/components/{date-filter-options.nl-DXgD8Ga_.js → date-filter-options.nl-ajUXG8Z4.js} +2 -1
- package/components/{de-eIqMhTVC.cjs → de-Cxe7xkT4.cjs} +1 -1
- package/components/{de-BbcctJsI.js → de-ZPzjN2kc.js} +0 -1
- package/components/directive-BOOaQO_r.cjs +24 -0
- package/components/directive-CF_9GVrT.js +46 -0
- package/components/display-settings/display-settings.d.ts +2 -2
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +2 -2
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +10 -10
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +13 -13
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +10 -10
- package/components/display-settings-numeric/display-settings-numeric.d.ts +3 -1
- package/components/display-settings-numeric/index.cjs +61 -40
- package/components/display-settings-numeric/index.js +224 -183
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +10 -10
- package/components/draggable-data-item/draggable-data-item.d.ts +1 -0
- package/components/draggable-data-item/index.cjs +8 -5
- package/components/draggable-data-item/index.js +44 -38
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +4 -0
- package/components/draggable-data-item-level/index.cjs +10 -10
- package/components/draggable-data-item-level/index.js +101 -76
- package/components/droppable-slot/droppable-slot.d.ts +29 -9
- package/components/droppable-slot/index.cjs +25 -71
- package/components/droppable-slot/index.js +274 -623
- package/components/edit-item/index.cjs +2 -2
- package/components/edit-item/index.js +72 -72
- package/components/edit-option/helpers/control-templates/color-palette-picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/color-range-template.d.ts +2 -0
- package/components/edit-option/helpers/get-enum-values.d.ts +1 -0
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +2 -2
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +6 -6
- package/components/edit-option-base/edit-option-base.d.ts +1 -0
- package/components/{edit-option-base-CbpBi6I7.js → edit-option-base-CG0JcbX9.js} +13 -10
- package/components/{edit-option-base-Db3JjWMk.cjs → edit-option-base-a2yoNqdf.cjs} +3 -3
- package/components/edit-option-color-palette-picker/edit-option-color-palette-picker.d.ts +42 -0
- package/components/edit-option-color-palette-picker/index.cjs +79 -0
- package/components/edit-option-color-palette-picker/index.d.ts +7 -0
- package/components/edit-option-color-palette-picker/index.js +405 -0
- package/components/edit-option-color-picker/edit-option-color-picker.d.ts +5 -0
- package/components/edit-option-color-picker/index.cjs +2 -424
- package/components/edit-option-color-picker/index.js +49 -5653
- package/components/edit-option-color-range/edit-option-color-range.d.ts +99 -0
- package/components/edit-option-color-range/index.cjs +85 -0
- package/components/edit-option-color-range/index.d.ts +7 -0
- package/components/edit-option-color-range/index.js +261 -0
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +3 -3
- package/components/edit-option-number-field/edit-option-number-field.d.ts +2 -0
- package/components/edit-option-number-field/index.cjs +7 -3
- package/components/edit-option-number-field/index.js +30 -19
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +5 -5
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +3 -3
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +6 -6
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +5 -5
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +3 -3
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +3 -3
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +6 -6
- package/components/{es-tWaYVbsQ.cjs → es-4dEouIgb.cjs} +1 -1
- package/components/{es-ByWFTJ0s.js → es-C0JGlz18.js} +0 -1
- package/components/extrapolate-color-0j_AeYkz.cjs +20 -0
- package/components/extrapolate-color-CC9CURf6.js +33 -0
- package/components/filter-data-item-picker/index.cjs +1 -1
- package/components/filter-data-item-picker/index.js +7 -7
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +2 -2
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +24 -24
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +4 -4
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +300 -300
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +7 -7
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +8 -8
- package/components/{focusable-Bhf_beoW.js → focusable-BbymtxWI.js} +1 -1
- package/components/{focusable-B8t8a-WJ.cjs → focusable-DAGGGYyz.cjs} +1 -1
- package/components/{fr-C5b2Wgoz.js → fr-B_-_f-VN.js} +0 -1
- package/components/{fr-2igiTsHU.cjs → fr-Dwulhlbi.cjs} +1 -1
- package/components/grid/index.cjs +44 -48
- package/components/grid/index.js +2213 -5078
- package/components/heat-map-options.config-BQ-Afrbi.cjs +20 -0
- package/components/{heat-map-options.config-BAuSJV3_.js → heat-map-options.config-DQya-lag.js} +92 -13
- package/components/{heat-map-options.de-Cz5Pwwcu.cjs → heat-map-options.de-CCzVMy-R.cjs} +1 -1
- package/components/{heat-map-options.de-6onYsjdI.js → heat-map-options.de-UJbdYtlh.js} +4 -5
- package/components/{heat-map-options.en-DHX1GKcM.cjs → heat-map-options.en-Bg7i7QKn.cjs} +1 -1
- package/components/{heat-map-options.en-mwgrQFkO.js → heat-map-options.en-C0K0NGEE.js} +5 -5
- package/components/{heat-map-options.es-A-j6i3Tz.cjs → heat-map-options.es-BYyHRdIH.cjs} +1 -1
- package/components/{heat-map-options.es-Dd0KsseA.js → heat-map-options.es-DCUCh58R.js} +5 -5
- package/components/{heat-map-options.fr-C3LwETEg.cjs → heat-map-options.fr-CLB-XMRA.cjs} +1 -1
- package/components/{heat-map-options.fr-BkrrUt04.js → heat-map-options.fr-a-_Kw5S_.js} +5 -5
- package/components/{heat-map-options.nl-CXn1y4jH.cjs → heat-map-options.nl-BHrmi96k.cjs} +1 -1
- package/components/{heat-map-options.nl-DME6ILT5.js → heat-map-options.nl-BRGoOun2.js} +5 -5
- package/components/heat-table-options.config-B12JEYnp.cjs +20 -0
- package/components/{heat-table-options.config-DSu_18VG.js → heat-table-options.config-CUsDdgUr.js} +137 -21
- package/components/{heat-table-options.de-BABkUn2Y.js → heat-table-options.de-D6R0zXX0.js} +1 -1
- package/components/{heat-table-options.de-aYfCrdCP.cjs → heat-table-options.de-cnjPxQep.cjs} +1 -1
- package/components/{heat-table-options.en-CIdnDv3K.cjs → heat-table-options.en-Bjqpkm75.cjs} +1 -1
- package/components/{heat-table-options.en-BUBmMDZW.js → heat-table-options.en-Co6IDHlF.js} +1 -1
- package/components/{heat-table-options.es-Dl9D9rD_.js → heat-table-options.es-B3Kb8J1N.js} +1 -1
- package/components/{heat-table-options.es-DaK6qGQC.cjs → heat-table-options.es-IaNf_Ge4.cjs} +1 -1
- package/components/{heat-table-options.fr-BouHFs1P.cjs → heat-table-options.fr-BdZnJYlb.cjs} +1 -1
- package/components/{heat-table-options.fr-DOShw8a1.js → heat-table-options.fr-C51PmgHa.js} +1 -1
- package/components/{heat-table-options.nl-8CXDqKzS.cjs → heat-table-options.nl-DGS7vzoT.cjs} +1 -1
- package/components/{heat-table-options.nl-D6Fn7sgt.js → heat-table-options.nl-DXOd_uE6.js} +1 -1
- package/components/hexbin-map-options.config-DZERRhM8.cjs +20 -0
- package/components/{hexbin-map-options.config-DaaC88d8.js → hexbin-map-options.config-F-7uCqxb.js} +55 -20
- package/components/{hexbin-map-options.de-BuLxwJd2.js → hexbin-map-options.de-D50U2vgf.js} +1 -1
- package/components/{hexbin-map-options.de-DPYaSNHm.cjs → hexbin-map-options.de-DUp41p9I.cjs} +1 -1
- package/components/{hexbin-map-options.en-CEGMU7TX.cjs → hexbin-map-options.en-B10UanAQ.cjs} +1 -1
- package/components/{hexbin-map-options.en-CXV4sbbg.js → hexbin-map-options.en-iDuuqVpi.js} +1 -1
- package/components/{hexbin-map-options.es-urnYaXEk.cjs → hexbin-map-options.es-97IUVMSg.cjs} +1 -1
- package/components/{hexbin-map-options.es-2f7amcb6.js → hexbin-map-options.es-RRMQV0DY.js} +1 -1
- package/components/{hexbin-map-options.fr-DxRtJ3_F.cjs → hexbin-map-options.fr-Bh9Swyi3.cjs} +1 -1
- package/components/{hexbin-map-options.fr-J3g_JcSM.js → hexbin-map-options.fr-CQ7JbE9T.js} +1 -1
- package/components/{hexbin-map-options.nl-BnvrfMKQ.js → hexbin-map-options.nl-BpTRJ36m.js} +1 -1
- package/components/{hexbin-map-options.nl-GZtiTQw6.cjs → hexbin-map-options.nl-BzyMf0JQ.cjs} +1 -1
- package/components/{if-defined-Dg09naf2.js → if-defined-Barg9gGQ.js} +1 -1
- package/components/{if-defined-DjdbEoAa.cjs → if-defined-wiCAR_aA.cjs} +1 -1
- package/components/{index-CNA9joKT.cjs → index-1oIrlkAr.cjs} +21 -21
- package/components/{index-BNCgbOV2.js → index-5Z9GD60H.js} +6 -6
- package/components/{index-CDpuEf8W.js → index-B2ngKWOI.js} +1 -1
- package/components/{index-ChDwMQlU.js → index-BEtf1WaQ.js} +10 -9
- package/components/{index-BHJH1eGn.js → index-BW3AUnEX.js} +1 -1
- package/components/index-BbpsZYZF.cjs +442 -0
- package/components/index-BfzppmHn.cjs +249 -0
- package/components/{index-Bdy8Bz-n.js → index-BssHAgUU.js} +7 -6
- package/components/index-Bt3JTHTC.js +787 -0
- package/components/index-CY_cyFdI.cjs +174 -0
- package/components/{index-EXO-Hsj2.cjs → index-Ck5VRoXN.cjs} +1 -1
- package/components/{index-CnpJUw_z.cjs → index-CnP-Q5Bw.cjs} +1 -1
- package/components/index-DTI4dIyd.js +5624 -0
- package/components/{index-rQxtPaJl.js → index-D_jFGBMs.js} +1 -1
- package/components/{index-D9yzIoGv.js → index-Delpl7qa.js} +368 -306
- package/components/{index-MVmoiSxL.cjs → index-Df-_TbOD.cjs} +1 -1
- package/components/{index-Desl7GJ0.js → index-DsP81c4M.js} +1 -1
- package/components/{index-C2PPSv8E.cjs → index-Dy_5M3M5.cjs} +1 -1
- package/components/{index-CBOAQ3-E.cjs → index-MPM_B4re.cjs} +1 -1
- package/components/{index-DM0JWaVq.js → index-N845QLku.js} +572 -478
- package/components/index-eBsINoH9.cjs +20 -0
- package/components/{index-CHFwXYcm.cjs → index-tXl_aMnZ.cjs} +7 -7
- package/components/index.cjs +1 -1
- package/components/index.js +63 -59
- package/components/{localized-decorator-DNr1P1m0.js → localized-decorator-Bl5gcI6n.js} +1 -1
- package/components/{localized-decorator-SOrjcPab.cjs → localized-decorator-DIXYZ3RL.cjs} +1 -1
- package/components/{luzmo-icons-DnAqAQCX.js → luzmo-icons-CVeTZ59u.js} +14 -14
- package/components/{luzmo-icons-Bvm-_ECi.cjs → luzmo-icons-DonyjSXg.cjs} +1 -1
- package/components/mutation-controller-DH7YOCyj-B6sXpbgh.cjs +40 -0
- package/components/mutation-controller-DH7YOCyj-E7gpCmwh.js +71 -0
- package/components/{nl-B50x7wMn.cjs → nl-DxdBIXDd.cjs} +1 -1
- package/components/{nl-76jn_zMH.js → nl-gdQCG4WV.js} +0 -1
- package/components/{observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs → observe-slot-presence-CmVi0zTc-NPSGFmv-.cjs} +2 -2
- package/components/{observe-slot-presence-CmVi0zTc-DCFuXW7v.js → observe-slot-presence-CmVi0zTc-hhUl4oRa.js} +5 -5
- package/components/observe-slot-text-BPfIQQtz-D4LmMIo0.cjs +66 -0
- package/components/observe-slot-text-BPfIQQtz-DLOwgi-A.js +172 -0
- package/components/{periods.const-CfXsouLz.cjs → periods.const-7sXlqgEo.cjs} +1 -1
- package/components/{periods.const-C89NNRX-.js → periods.const-B7FKokcH.js} +1 -1
- package/components/property-Cu4Q1hS4.cjs +42 -0
- package/components/{property-BFMfZY1k.js → property-DCzt3DR1.js} +277 -277
- package/components/route-map-options.config-CN86T7c0.js +346 -0
- package/components/route-map-options.config-D7NJePTu.cjs +20 -0
- package/components/{route-map-options.de-DrhHqbdy.js → route-map-options.de-DXYmUtv8.js} +20 -0
- package/components/{route-map-options.de-ey7CT_tQ.cjs → route-map-options.de-w5wuIvwf.cjs} +1 -1
- package/components/{route-map-options.en-DAgywIcY.js → route-map-options.en-CYMhTqyE.js} +20 -0
- package/components/{route-map-options.en-CjyQT-Ue.cjs → route-map-options.en-Co0Fbjkz.cjs} +1 -1
- package/components/{route-map-options.es-BR7NuBw0.js → route-map-options.es-BEBPlDvt.js} +20 -0
- package/components/{route-map-options.es-aEyX7m3t.cjs → route-map-options.es-Cjasm-ZQ.cjs} +1 -1
- package/components/{route-map-options.fr-42waILBL.cjs → route-map-options.fr-C1SCfKLH.cjs} +1 -1
- package/components/{route-map-options.fr-C7TkfcdY.js → route-map-options.fr-DEHQekgM.js} +20 -0
- package/components/{route-map-options.nl-X4lAer8J.cjs → route-map-options.nl-CYmB51pE.cjs} +1 -1
- package/components/{route-map-options.nl-Btd3mxx0.js → route-map-options.nl-CwUgb9Zg.js} +20 -0
- package/components/{set-locale-Cam8nRIW.cjs → set-locale-DCPlazsZ.cjs} +1 -1
- package/components/{set-locale-DbEAMqUs.js → set-locale-GI34z_M7.js} +1 -1
- package/components/{sized-mixin-CkdMApAU.js → sized-mixin-BGzkX2g1.js} +1 -1
- package/components/{sized-mixin-C48t6K7U.cjs → sized-mixin-j_7aJM4b.cjs} +1 -1
- package/components/slot-contents-picker/index.cjs +1 -1
- package/components/slot-contents-picker/index.js +16 -16
- package/components/slot-menu/index.cjs +27 -22
- package/components/slot-menu/index.js +237 -148
- package/components/slot-menu/slot-menu.d.ts +34 -12
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +5 -5
- package/components/speedometer-chart-options.config-BX9LTQBH.cjs +20 -0
- package/components/speedometer-chart-options.config-SL581yOa.js +265 -0
- package/components/spike-map-options.config-C5KewecZ.js +436 -0
- package/components/spike-map-options.config-DoBFXPmN.cjs +20 -0
- package/components/{spike-map-options.de-BxTSDs6l.js → spike-map-options.de-COZovZ7s.js} +26 -0
- package/components/spike-map-options.de-_47BiyJQ.cjs +20 -0
- package/components/spike-map-options.en-B9InMjtg.cjs +20 -0
- package/components/{spike-map-options.en-C0DCu7ul.js → spike-map-options.en-Dx9h9SIj.js} +26 -0
- package/components/{spike-map-options.es-bTfVypDV.js → spike-map-options.es-CHMMXuMS.js} +26 -0
- package/components/spike-map-options.es-e-sVsx0P.cjs +20 -0
- package/components/{spike-map-options.fr-BKzDjsKP.js → spike-map-options.fr-BcRnMqG8.js} +26 -0
- package/components/spike-map-options.fr-DPpYI3Yd.cjs +20 -0
- package/components/spike-map-options.nl-DOJHgdzZ.cjs +20 -0
- package/components/{spike-map-options.nl-BGPuQRih.js → spike-map-options.nl-DSGG2M38.js} +26 -0
- package/components/{state-CuE7TJCY.cjs → state-fyl3IYMu.cjs} +1 -1
- package/components/{state-BSTa7W6f.js → state-nDsQPund.js} +1 -1
- package/components/{task-CDsB8Kbr.js → task-Bh_X-xIU.js} +1 -1
- package/components/{task-0B-FC3rj.cjs → task-CwmAXlv0.cjs} +1 -1
- package/custom-elements.json +595 -43
- package/index.d.ts +2 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.de.d.ts +1 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.en.d.ts +1 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.es.d.ts +1 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.fr.d.ts +1 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.nl.d.ts +1 -0
- package/item-definitions/box-plot/box-plot-options.config.d.ts +51 -0
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +125 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.de.d.ts +1 -1
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.en.d.ts +1 -1
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.es.d.ts +1 -1
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.fr.d.ts +1 -1
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.nl.d.ts +1 -1
- package/item-definitions/circular-gauge/circular-gauge-options.config.d.ts +94 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.de.d.ts +3 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.en.d.ts +3 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.es.d.ts +3 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.fr.d.ts +3 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.nl.d.ts +3 -0
- package/item-definitions/column-chart/i18n/column-chart-options.de.d.ts +1 -0
- package/item-definitions/column-chart/i18n/column-chart-options.en.d.ts +1 -0
- package/item-definitions/column-chart/i18n/column-chart-options.es.d.ts +1 -0
- package/item-definitions/column-chart/i18n/column-chart-options.fr.d.ts +1 -0
- package/item-definitions/column-chart/i18n/column-chart-options.nl.d.ts +1 -0
- package/item-definitions/conditional-number/conditional-number-options.config.d.ts +106 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.de.d.ts +2 -2
- package/item-definitions/conditional-number/i18n/conditional-number-options.en.d.ts +2 -2
- package/item-definitions/conditional-number/i18n/conditional-number-options.es.d.ts +2 -2
- package/item-definitions/conditional-number/i18n/conditional-number-options.fr.d.ts +2 -2
- package/item-definitions/conditional-number/i18n/conditional-number-options.nl.d.ts +2 -2
- package/item-definitions/date-filter/i18n/date-filter-options.en.d.ts +1 -0
- package/item-definitions/date-filter/i18n/date-filter-options.es.d.ts +1 -0
- package/item-definitions/date-filter/i18n/date-filter-options.fr.d.ts +1 -0
- package/item-definitions/date-filter/i18n/date-filter-options.nl.d.ts +1 -0
- package/item-definitions/heat-map/heat-map-options.config.d.ts +89 -0
- package/item-definitions/heat-map/i18n/heat-map-options.de.d.ts +4 -5
- package/item-definitions/heat-map/i18n/heat-map-options.en.d.ts +5 -5
- package/item-definitions/heat-map/i18n/heat-map-options.es.d.ts +5 -5
- package/item-definitions/heat-map/i18n/heat-map-options.fr.d.ts +5 -5
- package/item-definitions/heat-map/i18n/heat-map-options.nl.d.ts +5 -5
- package/item-definitions/heat-table/heat-table-options.config.d.ts +90 -4
- package/item-definitions/heat-table/i18n/heat-table-options.de.d.ts +1 -1
- package/item-definitions/heat-table/i18n/heat-table-options.en.d.ts +1 -1
- package/item-definitions/heat-table/i18n/heat-table-options.es.d.ts +1 -1
- package/item-definitions/heat-table/i18n/heat-table-options.fr.d.ts +1 -1
- package/item-definitions/heat-table/i18n/heat-table-options.nl.d.ts +1 -1
- package/item-definitions/hexbin-map/hexbin-map-options.config.d.ts +55 -2
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.de.d.ts +1 -1
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.en.d.ts +1 -1
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.es.d.ts +1 -1
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.fr.d.ts +1 -1
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.nl.d.ts +1 -1
- package/item-definitions/route-map/i18n/route-map-options.de.d.ts +20 -0
- package/item-definitions/route-map/i18n/route-map-options.en.d.ts +20 -0
- package/item-definitions/route-map/i18n/route-map-options.es.d.ts +20 -0
- package/item-definitions/route-map/i18n/route-map-options.fr.d.ts +20 -0
- package/item-definitions/route-map/i18n/route-map-options.nl.d.ts +20 -0
- package/item-definitions/route-map/route-map-options.config.d.ts +157 -0
- package/item-definitions/shared/color-range-utils.d.ts +22 -0
- package/item-definitions/speedometer-chart/speedometer-chart-options.config.d.ts +126 -0
- package/item-definitions/spike-map/i18n/spike-map-options.de.d.ts +26 -0
- package/item-definitions/spike-map/i18n/spike-map-options.en.d.ts +26 -0
- package/item-definitions/spike-map/i18n/spike-map-options.es.d.ts +26 -0
- package/item-definitions/spike-map/i18n/spike-map-options.fr.d.ts +26 -0
- package/item-definitions/spike-map/i18n/spike-map-options.nl.d.ts +26 -0
- package/item-definitions/spike-map/spike-map-options.config.d.ts +123 -0
- package/package.json +11 -1
- package/utils/color/color-palettes.d.ts +17 -0
- package/utils/color/extrapolate-color.d.ts +1 -0
- package/utils/data-broker/index.d.ts +9 -0
- package/utils/store/slot-store.d.ts +9 -3
- package/components/box-plot-options.config-DJz_kt-M.cjs +0 -20
- package/components/choropleth-map-options.config-CeKXtnYB.js +0 -249
- package/components/choropleth-map-options.config-CxUOg3pw.cjs +0 -20
- package/components/circular-gauge-options.config-Cz2TGR6X.cjs +0 -20
- package/components/conditional-number-options.config-BZfgdUGh.cjs +0 -20
- package/components/heat-map-options.config-DsUXxjN0.cjs +0 -20
- package/components/heat-table-options.config-DqPL2hIY.cjs +0 -20
- package/components/hexbin-map-options.config-B_KAcDYq.cjs +0 -20
- package/components/index-BNFpjvqX.cjs +0 -195
- package/components/index-BqMMcuLX.cjs +0 -121
- package/components/index-Cw_HnduG.js +0 -304
- package/components/index-TQG9Xdxu.cjs +0 -20
- package/components/observe-slot-text-BPfIQQtz-DHOh38Ve.cjs +0 -86
- package/components/observe-slot-text-BPfIQQtz-v6B-1BYh.js +0 -221
- package/components/property-BV1QaY8E.cjs +0 -42
- package/components/route-map-options.config-CcQXPmjN.cjs +0 -20
- package/components/route-map-options.config-u0hQqmDh.js +0 -136
- package/components/speedometer-chart-options.config-CVsSjLmh.cjs +0 -20
- package/components/speedometer-chart-options.config-Dt2feQYV.js +0 -199
- package/components/spike-map-options.config-PpPPrsR2.cjs +0 -20
- package/components/spike-map-options.config-pdbV_vwg.js +0 -218
- package/components/spike-map-options.de-BW8YhDI8.cjs +0 -20
- package/components/spike-map-options.en-fNS4A50-.cjs +0 -20
- package/components/spike-map-options.es-I-obYF7j.cjs +0 -20
- package/components/spike-map-options.fr-DWA0ZZBQ.cjs +0 -20
- package/components/spike-map-options.nl-D5Wu6E5D.cjs +0 -20
@@ -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 p=require("../property-BV1QaY8E.cjs"),v=require("../get-css-variable-DLiZYZEi.cjs"),C=require("../luzmo-icons-Bvm-_ECi.cjs"),_=require("../localize-r7ALOUy_.cjs"),P=require("../query-all-CR2wWKRD.cjs"),j=require("../focusable-B8t8a-WJ.cjs"),k=require("../sized-mixin-C48t6K7U.cjs");var D={large:700};function F(i){i.animate([{backgroundColor:"var(--ds-background-selected, #E9F2FF)"},{}],{duration:D.large,easing:"cubic-bezier(0.25, 0.1, 0.25, 1.0)",iterations:1})}function w(i,t){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable})),e.push.apply(e,o)}return e}function S(i){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?w(Object(e),!0).forEach(function(o){v._defineProperty(i,o,e[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):w(Object(e)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(e,o))})}return i}var L={top:function(t,e){return Math.abs(e.y-t.top)},right:function(t,e){return Math.abs(t.right-e.x)},bottom:function(t,e){return Math.abs(t.bottom-e.y)},left:function(t,e){return Math.abs(e.x-t.left)}},I=Symbol("closestEdge");function $(i,t){var e,o,s=t.element,u=t.input,n=t.allowedEdges,l={x:u.clientX,y:u.clientY},r=s.getBoundingClientRect(),a=n.map(function(c){return{edge:c,value:L[c](r,l)}}),d=(e=(o=a.sort(function(c,b){return c.value-b.value})[0])===null||o===void 0?void 0:o.edge)!==null&&e!==void 0?e:null;return S(S({},i),{},v._defineProperty({},I,d))}function E(i){var t;return(t=i[I])!==null&&t!==void 0?t:null}const M=':host{font-family:var(--luzmo-slot-menu-list-font-family, var(--luzmo-font-family));font-size:var(--luzmo-slot-menu-list-font-size, var(--slot-menu-list-font-size));color:var(--luzmo-slot-menu-listfont-color, var(--luzmo-font-color))}:host{margin:0;padding:0;list-style:none;border-right:var(--luzmo-slot-menu-list-border-right-width, var(--luzmo-border-width)) solid var(--luzmo-slot-menu-list-border-right-color, var(--luzmo-border-color))}:host li{position:relative;cursor:pointer}:host li:hover{background-color:var(--luzmo-slot-menu-list-background-color-hover, var(--slot-menu-list-background-color-hover))}:host .active{background-color:var(--luzmo-slot-menu-list-active-background-color, var(--slot-menu-list-active-background-color));color:var(--luzmo-slot-menu-list-active-color, var(--slot-menu-list-active-color))}:host .active:hover{background-color:var(--luzmo-slot-menu-list-active-background-color-hover, var(--slot-menu-list-active-background-color-hover))}.drop-indicator{position:absolute;left:0;right:0;height:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height));background-color:var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color))}.drop-indicator:before{content:"";display:block;width:100%;border:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)) solid var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color));border-radius:50%;position:absolute;background:var(--luzmo-slot-menu-list-drop-indicator-background, var(--luzmo-background-color));left:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));top:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));height:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size));width:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size))}.drop-indicator[data-edge=top]{top:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.drop-indicator[data-edge=bottom]{bottom:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.draggable-slot-content{display:flex;justify-content:space-between;gap:var(--luzmo-slot-menu-label-to-icon-gap, var(--slot-menu-label-to-icon-gap));align-items:center}.draggable-slot-content .draggable-slot-content-label,.draggable-slot-content .draggable-slot-content-remove{padding-block-start:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding));padding-block-end:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding))}.draggable-slot-content .draggable-slot-content-label{padding-inline-start:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draggable-slot-content .draggable-slot-content-remove{padding-inline-end:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:0 0 auto}:host{--slot-menu-list-active-background-color: var(--luzmo-primary);--slot-menu-list-active-background-color-hover: var(--luzmo-primary-hover);--slot-menu-list-active-color: var(--luzmo-primary-inverse-color);--slot-menu-list-background-color-hover: var(--luzmo-background-color-hover);--slot-menu-list-drop-indicator-color: var(--luzmo-font-color-down);--slot-menu-list-drop-indicator-height: 2px;--slot-menu-list-drop-indicator-circle-size: 4px}:host{--slot-menu-display-settings-min-width: 19rem;--slot-menu-min-height: calc(var(--luzmo-component-height) * 2);--slot-menu-font-size: var(--luzmo-font-size);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-4);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-3)}:host([size=s]){--slot-menu-display-settings-min-width: 16rem;--slot-menu-min-height: calc(var(--luzmo-component-height-s) * 2);--slot-menu-font-size: var(--luzmo-font-size-s);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-3);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-2)}:host([size=l]){--slot-menu-display-settings-min-width: 23rem;--slot-menu-min-height: calc(var(--luzmo-component-height-l) * 2);--slot-menu-font-size: var(--luzmo-font-size-l);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-4)}:host([size=xl]){--slot-menu-display-settings-min-width: 26rem;--slot-menu-min-height: calc(var(--luzmo-component-height-xl) * 2);--slot-menu-font-size: var(--luzmo-font-size-xl);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-4);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-5)}';var q=Object.defineProperty,f=(i,t,e,o)=>{for(var s=void 0,u=i.length-1,n;u>=0;u--)(n=i[u])&&(s=n(t,e,s)||s);return s&&q(t,e,s),s};class h extends k.SizedMixin(j.LuzmoElement,{validSizes:Object.values(k.ElementSizes)}){constructor(){super(...arguments),this.language="en",this.contentLanguage="en",this.slotContents=[],this.activeIndex=0,this._sendChangeEvent=()=>{this.dispatchEvent(new CustomEvent("slot-list-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:structuredClone(this.slotContents),activeIndex:this.activeIndex}}))},this._cleanupFns=[],this._attachAll=()=>{[...this._draggableSlotContentElements].forEach(t=>{const e=this._sendChangeEvent.bind(this),o=this,s=v.draggable({element:t,onGenerateDragPreview({nativeSetDragImage:n}){v.setCustomNativeDragPreview({nativeSetDragImage:n,render({container:l}){var d;const r=document.createElement("div");r.classList.add("drag-preview");const a={};[["borderColor","--luzmo-slot-menu-list-border-color","--luzmo-border-color"],["backgroundColor","--luzmo-slot-menu-list-background-color","--luzmo-background-color"],["color","--luzmo-slot-menu-list-font-color","--slot-menu-list-font-color"],["fontSize","--luzmo-slot-menu-list-font-size","--slot-menu-list-font-size"],["horizontalPadding","--luzmo-slot-menu-list-item-horizontal-padding","--slot-menu-list-item-horizontal-padding"],["verticalPadding","--luzmo-slot-menu-list-item-vertical-padding","--slot-menu-list-item-vertical-padding"],["borderRadius","--luzmo-slot-menu-list-border-radius","--luzmo-border-radius"],["fontFamily","--luzmo-slot-menu-list-font-family","--luzmo-font-family"]].forEach(([c,b,y])=>{const m=v.getCssVariableValue(t,b)||v.getCssVariableValue(t,y);a[c]=m}),r.textContent=((d=t.querySelector("[data-task-content]"))==null?void 0:d.textContent)??t.textContent,Object.assign(r.style,{border:`1px solid ${a.borderColor}`,backgroundColor:a.backgroundColor,borderRadius:a.borderRadius,fontFamily:a.fontFamily,fontSize:a.fontSize,color:a.color,paddingInline:`${a.horizontalPadding}`,paddingBlock:`${a.verticalPadding}`}),l.append(r)}})},getInitialData(){var r;const n=t.parentElement;let l=0;return n&&(l=[...((r=n.parentElement)==null?void 0:r.children)??[]].indexOf(n)),{index:l}},onDragStart(){t.style.opacity="0.5"},onDrop(){t.style.opacity="1"}});this._cleanupFns.push(s);const u=v.dropTargetForElements({element:t,canDrop({source:n}){var l;return n.element===t?!1:(l=n==null?void 0:n.element)==null?void 0:l.classList.contains("draggable-slot-content")},getData(n){return $({},{element:t,input:n.input,allowedEdges:["top","bottom"]})},getIsSticky(){return!0},onDragEnter({self:n}){const l=E(n.data);if(!l)return;const r=document.createElement("div");r.classList.add("drop-indicator"),r.dataset.edge=l,t.after(r)},onDrag({self:n}){var a,d,c;const l=E(n.data);if(!l){(a=t.nextElementSibling)==null||a.remove();return}if(((d=t.nextElementSibling)==null?void 0:d.getAttribute("data-edge"))===l)return;(c=t.nextElementSibling)==null||c.remove();const r=document.createElement("div");r.classList.add("drop-indicator"),r.dataset.edge=l,t.after(r)},onDragLeave(){var n;(n=t.nextElementSibling)==null||n.remove()},onDrop({self:n,source:l}){var d,c,b,y;(d=t.nextElementSibling)==null||d.remove();const r=E(n.data),a=n.element.parentElement;if(typeof l.data.index=="number"&&a){let m=[...((c=a.parentElement)==null?void 0:c.children)??[]].indexOf(a);r==="bottom"&&l.data.index>=m&&m<(((y=(b=a==null?void 0:a.parentElement)==null?void 0:b.children)==null?void 0:y.length)??0)-1?m+=1:r==="top"&&m>l.data.index&&(m-=1);const g=o.activeIndex,z=l.data.index,x=m,O=o.slotContents[z];o.slotContents.splice(z,1),o.slotContents.splice(x,0,O),z===g?o.activeIndex=x:z<g&&x>=g?o.activeIndex=g-1:z>g&&x<=g&&(o.activeIndex=g+1)}r&&(F(l.element),o.requestUpdate(),e())}});this._cleanupFns.push(u)})},this._detachAll=()=>{this._cleanupFns.forEach(t=>t()),this._cleanupFns=[]}}static get styles(){return[p.r(M)]}willUpdate(){this._detachAll()}updated(){this._attachAll()}setActiveIndex(t){this.activeIndex=t,this._sendChangeEvent()}removeSlotContent(t){this.slotContents=this.slotContents.filter((e,o)=>o!==t),this.activeIndex===t?this.activeIndex=t:this.slotContents.length>0&&this.activeIndex>t&&this.activeIndex--,this._sendChangeEvent()}render(){const t=this.slotContents.map((e,o)=>{const s=_.localize(e.label,this.contentLanguage);return p.x`<li class=${o===this.activeIndex?"active":""}>
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../property-Cu4Q1hS4.cjs"),v=require("../get-css-variable-DLiZYZEi.cjs"),C=require("../luzmo-icons-DonyjSXg.cjs"),_=require("../localize-r7ALOUy_.cjs"),P=require("../query-all-CR2wWKRD.cjs"),j=require("../focusable-DAGGGYyz.cjs"),k=require("../sized-mixin-j_7aJM4b.cjs");var D={large:700};function F(i){i.animate([{backgroundColor:"var(--ds-background-selected, #E9F2FF)"},{}],{duration:D.large,easing:"cubic-bezier(0.25, 0.1, 0.25, 1.0)",iterations:1})}function w(i,t){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable})),e.push.apply(e,o)}return e}function S(i){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?w(Object(e),!0).forEach(function(o){v._defineProperty(i,o,e[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):w(Object(e)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(e,o))})}return i}var L={top:function(t,e){return Math.abs(e.y-t.top)},right:function(t,e){return Math.abs(t.right-e.x)},bottom:function(t,e){return Math.abs(t.bottom-e.y)},left:function(t,e){return Math.abs(e.x-t.left)}},I=Symbol("closestEdge");function $(i,t){var e,o,s=t.element,u=t.input,n=t.allowedEdges,l={x:u.clientX,y:u.clientY},r=s.getBoundingClientRect(),a=n.map(function(c){return{edge:c,value:L[c](r,l)}}),d=(e=(o=a.sort(function(c,b){return c.value-b.value})[0])===null||o===void 0?void 0:o.edge)!==null&&e!==void 0?e:null;return S(S({},i),{},v._defineProperty({},I,d))}function E(i){var t;return(t=i[I])!==null&&t!==void 0?t:null}const M=':host{font-family:var(--luzmo-slot-menu-list-font-family, var(--luzmo-font-family));font-size:var(--luzmo-slot-menu-list-font-size, var(--slot-menu-list-font-size));color:var(--luzmo-slot-menu-listfont-color, var(--luzmo-font-color))}:host{margin:0;padding:0;list-style:none;border-right:var(--luzmo-slot-menu-list-border-right-width, var(--luzmo-border-width)) solid var(--luzmo-slot-menu-list-border-right-color, var(--luzmo-border-color))}:host li{position:relative;cursor:pointer}:host li:hover{background-color:var(--luzmo-slot-menu-list-background-color-hover, var(--slot-menu-list-background-color-hover))}:host .active{background-color:var(--luzmo-slot-menu-list-active-background-color, var(--slot-menu-list-active-background-color));color:var(--luzmo-slot-menu-list-active-color, var(--slot-menu-list-active-color))}:host .active:hover{background-color:var(--luzmo-slot-menu-list-active-background-color-hover, var(--slot-menu-list-active-background-color-hover))}.drop-indicator{position:absolute;left:0;right:0;height:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height));background-color:var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color))}.drop-indicator:before{content:"";display:block;width:100%;border:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)) solid var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color));border-radius:50%;position:absolute;background:var(--luzmo-slot-menu-list-drop-indicator-background, var(--luzmo-background-color));left:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));top:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));height:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size));width:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size))}.drop-indicator[data-edge=top]{top:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.drop-indicator[data-edge=bottom]{bottom:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.draggable-slot-content{display:flex;justify-content:space-between;gap:var(--luzmo-slot-menu-label-to-icon-gap, var(--slot-menu-label-to-icon-gap));align-items:center}.draggable-slot-content .draggable-slot-content-label,.draggable-slot-content .draggable-slot-content-remove{padding-block-start:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding));padding-block-end:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding))}.draggable-slot-content .draggable-slot-content-label{padding-inline-start:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draggable-slot-content .draggable-slot-content-remove{padding-inline-end:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:0 0 auto}:host{--slot-menu-list-active-background-color: var(--luzmo-primary);--slot-menu-list-active-background-color-hover: var(--luzmo-primary-hover);--slot-menu-list-active-color: var(--luzmo-primary-inverse-color);--slot-menu-list-background-color-hover: var(--luzmo-background-color-hover);--slot-menu-list-drop-indicator-color: var(--luzmo-font-color-down);--slot-menu-list-drop-indicator-height: 2px;--slot-menu-list-drop-indicator-circle-size: 4px}:host{--slot-menu-display-settings-min-width: 19rem;--slot-menu-min-height: calc(var(--luzmo-component-height) * 2);--slot-menu-font-size: var(--luzmo-font-size);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-4);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-3)}:host([size=s]){--slot-menu-display-settings-min-width: 16rem;--slot-menu-min-height: calc(var(--luzmo-component-height-s) * 2);--slot-menu-font-size: var(--luzmo-font-size-s);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-3);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-2)}:host([size=l]){--slot-menu-display-settings-min-width: 23rem;--slot-menu-min-height: calc(var(--luzmo-component-height-l) * 2);--slot-menu-font-size: var(--luzmo-font-size-l);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-4)}:host([size=xl]){--slot-menu-display-settings-min-width: 26rem;--slot-menu-min-height: calc(var(--luzmo-component-height-xl) * 2);--slot-menu-font-size: var(--luzmo-font-size-xl);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-4);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-5)}';var q=Object.defineProperty,f=(i,t,e,o)=>{for(var s=void 0,u=i.length-1,n;u>=0;u--)(n=i[u])&&(s=n(t,e,s)||s);return s&&q(t,e,s),s};class h extends k.SizedMixin(j.LuzmoElement,{validSizes:Object.values(k.ElementSizes)}){constructor(){super(...arguments),this.language="en",this.contentLanguage="en",this.slotContents=[],this.activeIndex=0,this._sendChangeEvent=()=>{this.dispatchEvent(new CustomEvent("slot-list-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:structuredClone(this.slotContents),activeIndex:this.activeIndex}}))},this._cleanupFns=[],this._attachAll=()=>{[...this._draggableSlotContentElements].forEach(t=>{const e=this._sendChangeEvent.bind(this),o=this,s=v.draggable({element:t,onGenerateDragPreview({nativeSetDragImage:n}){v.setCustomNativeDragPreview({nativeSetDragImage:n,render({container:l}){var d;const r=document.createElement("div");r.classList.add("drag-preview");const a={};[["borderColor","--luzmo-slot-menu-list-border-color","--luzmo-border-color"],["backgroundColor","--luzmo-slot-menu-list-background-color","--luzmo-background-color"],["color","--luzmo-slot-menu-list-font-color","--slot-menu-list-font-color"],["fontSize","--luzmo-slot-menu-list-font-size","--slot-menu-list-font-size"],["horizontalPadding","--luzmo-slot-menu-list-item-horizontal-padding","--slot-menu-list-item-horizontal-padding"],["verticalPadding","--luzmo-slot-menu-list-item-vertical-padding","--slot-menu-list-item-vertical-padding"],["borderRadius","--luzmo-slot-menu-list-border-radius","--luzmo-border-radius"],["fontFamily","--luzmo-slot-menu-list-font-family","--luzmo-font-family"]].forEach(([c,b,y])=>{const m=v.getCssVariableValue(t,b)||v.getCssVariableValue(t,y);a[c]=m}),r.textContent=((d=t.querySelector("[data-task-content]"))==null?void 0:d.textContent)??t.textContent,Object.assign(r.style,{border:`1px solid ${a.borderColor}`,backgroundColor:a.backgroundColor,borderRadius:a.borderRadius,fontFamily:a.fontFamily,fontSize:a.fontSize,color:a.color,paddingInline:`${a.horizontalPadding}`,paddingBlock:`${a.verticalPadding}`}),l.append(r)}})},getInitialData(){var r;const n=t.parentElement;let l=0;return n&&(l=[...((r=n.parentElement)==null?void 0:r.children)??[]].indexOf(n)),{index:l}},onDragStart(){t.style.opacity="0.5"},onDrop(){t.style.opacity="1"}});this._cleanupFns.push(s);const u=v.dropTargetForElements({element:t,canDrop({source:n}){var l;return n.element===t?!1:(l=n==null?void 0:n.element)==null?void 0:l.classList.contains("draggable-slot-content")},getData(n){return $({},{element:t,input:n.input,allowedEdges:["top","bottom"]})},getIsSticky(){return!0},onDragEnter({self:n}){const l=E(n.data);if(!l)return;const r=document.createElement("div");r.classList.add("drop-indicator"),r.dataset.edge=l,t.after(r)},onDrag({self:n}){var a,d,c;const l=E(n.data);if(!l){(a=t.nextElementSibling)==null||a.remove();return}if(((d=t.nextElementSibling)==null?void 0:d.getAttribute("data-edge"))===l)return;(c=t.nextElementSibling)==null||c.remove();const r=document.createElement("div");r.classList.add("drop-indicator"),r.dataset.edge=l,t.after(r)},onDragLeave(){var n;(n=t.nextElementSibling)==null||n.remove()},onDrop({self:n,source:l}){var d,c,b,y;(d=t.nextElementSibling)==null||d.remove();const r=E(n.data),a=n.element.parentElement;if(typeof l.data.index=="number"&&a){let m=[...((c=a.parentElement)==null?void 0:c.children)??[]].indexOf(a);r==="bottom"&&l.data.index>=m&&m<(((y=(b=a==null?void 0:a.parentElement)==null?void 0:b.children)==null?void 0:y.length)??0)-1?m+=1:r==="top"&&m>l.data.index&&(m-=1);const g=o.activeIndex,z=l.data.index,x=m,O=o.slotContents[z];o.slotContents.splice(z,1),o.slotContents.splice(x,0,O),z===g?o.activeIndex=x:z<g&&x>=g?o.activeIndex=g-1:z>g&&x<=g&&(o.activeIndex=g+1)}r&&(F(l.element),o.requestUpdate(),e())}});this._cleanupFns.push(u)})},this._detachAll=()=>{this._cleanupFns.forEach(t=>t()),this._cleanupFns=[]}}static get styles(){return[p.r(M)]}willUpdate(){this._detachAll()}updated(){this._attachAll()}setActiveIndex(t){this.activeIndex=t,this._sendChangeEvent()}removeSlotContent(t){this.slotContents=this.slotContents.filter((e,o)=>o!==t),this.activeIndex===t?this.activeIndex=t:this.slotContents.length>0&&this.activeIndex>t&&this.activeIndex--,this._sendChangeEvent()}render(){const t=this.slotContents.map((e,o)=>{const s=_.localize(e.label,this.contentLanguage);return p.x`<li class=${o===this.activeIndex?"active":""}>
|
21
21
|
<div class="draggable-slot-content">
|
22
22
|
<div
|
23
23
|
class="draggable-slot-content-label"
|
@@ -17,17 +17,17 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import { r as P, x as E, n as x } from "../property-
|
20
|
+
import { r as P, x as E, n as x } from "../property-DCzt3DR1.js";
|
21
21
|
import { _ as S, d as F, a as j, s as D, g as w } from "../get-css-variable-YlLiVgo8.js";
|
22
|
-
import {
|
22
|
+
import { a8 as $, a7 as L } from "../luzmo-icons-CVeTZ59u.js";
|
23
23
|
import { l as M } from "../localize-BX7q0S0M.js";
|
24
24
|
import { r as A } from "../query-all-Ddzx2fEK.js";
|
25
|
-
import { L as R } from "../focusable-
|
26
|
-
import { S as T, E as q } from "../sized-mixin-
|
25
|
+
import { L as R } from "../focusable-BbymtxWI.js";
|
26
|
+
import { S as T, E as q } from "../sized-mixin-BGzkX2g1.js";
|
27
27
|
const _ = () => {
|
28
28
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
29
29
|
const r = document.createElement("style");
|
30
|
-
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
30
|
+
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
31
31
|
}
|
32
32
|
};
|
33
33
|
_();
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2025 Luzmo
|
4
|
+
* All rights reserved.
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
7
|
+
* This license allows users with a current active Luzmo account
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
+
*
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
* SOFTWARE.
|
19
|
+
* */
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./helpers-DXQwEH1P.cjs"),k=e=>{var a,l,r,u;return((l=(a=e==null?void 0:e.find(t=>(t==null?void 0:t.name)==="target"))==null?void 0:a.content)==null?void 0:l.length)===0&&((u=(r=e==null?void 0:e.find(t=>(t==null?void 0:t.name)==="measure"))==null?void 0:r.content)==null?void 0:u.length)>0},b=[{color:"#ff0000",value:0},{color:"#ffa500",value:25},{color:"#ffff00",value:50},{color:"#008000",value:75},{color:"#006400",value:100}],f=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.meterValue",control:{type:"switch",label:"Value",default:!0}},{key:"display.meterLabel",control:{type:"switch",label:"Label",default:!0}},{key:"display.ticks",control:{type:"switch",label:"Ticks",default:!0}},{key:"degrees",control:{type:"slider",label:"Arc size",default:230,min:180,max:360,step:1}},{key:"arcWidth",control:{type:"slider",label:"Gauge width",default:.08,min:.02,max:.7,step:.01}},{type:"divider"},{key:"manualValues.display",control:{type:"picker",label:"Ticks display",default:"absolute",enum:["absolute","percentage"]}},{key:"manualValues.mode",control:{type:"picker",label:"Range type",default:"relative",enum:["relative","absolute"],toOptions:({options:e,value:a})=>{var u,t,m,d,i,y;const l=((u=e==null?void 0:e.manualValues)==null?void 0:u.mode)??"relative",r={...e,manualValues:{...e.manualValues,mode:a}};return a==="absolute"&&l==="relative"&&((t=r.manualValues)!=null&&t.ranges)&&((m=r.manualValues)!=null&&m.target)?r.manualValues.ranges=r.manualValues.ranges.map(n=>({...n,val:n.val*r.manualValues.target/100})):a==="relative"&&l==="absolute"&&((i=(d=r.manualValues)==null?void 0:d.ranges)!=null&&i.length)&&(r.manualValues.target=(y=r.manualValues.ranges.at(-1))==null?void 0:y.val,r.manualValues.ranges=r.manualValues.ranges.map(n=>({...n,value:n.val*100/r.manualValues.target}))),r}}},{key:"manualValues.target",control:{type:"number-field",label:"Manual target",placeholder:"Target value",minWidthInputField:"150px"},visibleIf:({options:e,slots:a})=>{var l;return((l=e==null?void 0:e.manualValues)==null?void 0:l.mode)!=="absolute"&&k(a)}},{key:"manualValues.ranges",control:{type:"color-range",editRangeSize:!0,minimumRangeSize:2,percentage:({options:e})=>{var a;return((a=e==null?void 0:e.manualValues)==null?void 0:a.mode)!=="absolute"},noAlphaChannel:!0,hideLabel:!0,label:"Color ranges",default:()=>structuredClone(b),parseValue:e=>e==null?void 0:e.map(a=>({color:a==null?void 0:a.color,value:(a==null?void 0:a.value)??(a==null?void 0:a.val)})),toValue:e=>e==null?void 0:e.map(a=>({color:a==null?void 0:a.color,val:a==null?void 0:a.value}))}}]},{key:"marker",type:"group",open:!1,children:[{key:"marker.type",control:{type:"picker",label:"Marker type",default:"innerBand",enum:["needle","line","inside","outside","centerBand","innerBand"]}},{key:"marker.color",control:{type:"color-picker",label:"Marker color",default:({theme:e})=>c.getThemeAxisColor(e),extraLabel:({options:e,theme:a})=>c.getThemeAxisColorResetLabel(e,a,"axis.y.color"),extraLabelHasClickAction:({options:e,theme:a})=>c.getThemeAxisColorExtraLabelHasClickAction(e,a,"axis.y.color"),extraLabelClickAction:({options:e,theme:a})=>c.getThemeBorderColorExtraLabelClickAction(e,a,"axis.y.color")},visibleIf:({options:e})=>{var a,l;return((a=e==null?void 0:e.marker)==null?void 0:a.type)&&((l=e==null?void 0:e.marker)==null?void 0:l.type)!=="innerBand"}},{key:"marker.centerBandWidth",control:{type:"slider",label:"Marker width",default:.34,min:.1,max:1,step:.01},visibleIf:({options:e})=>{var a,l;return((a=e==null?void 0:e.marker)==null?void 0:a.type)&&((l=e==null?void 0:e.marker)==null?void 0:l.type)==="centerBand"}},{key:"marker.lineWidth",control:{type:"slider",label:"Line width",default:2,min:1,max:10,step:1},visibleIf:({options:e})=>{var a,l;return((a=e==null?void 0:e.marker)==null?void 0:a.type)&&((l=e==null?void 0:e.marker)==null?void 0:l.type)==="line"}},{key:"marker.arrowSize",control:{type:"slider",label:"Arrow size",default:.05,min:.05,max:.2,step:.01},visibleIf:({options:e})=>{var a,l;return((a=e==null?void 0:e.marker)==null?void 0:a.type)&&["inside","outside"].includes((l=e==null?void 0:e.marker)==null?void 0:l.type)}}]}];exports.default=f;
|
@@ -0,0 +1,265 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2025 Luzmo
|
4
|
+
* All rights reserved.
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
7
|
+
* This license allows users with a current active Luzmo account
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
+
*
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
* SOFTWARE.
|
19
|
+
* */
|
20
|
+
import { d as i, j as k, k as f, l as b } from "./helpers-v1bPALRP.js";
|
21
|
+
const g = (e) => {
|
22
|
+
var a, l, r, u;
|
23
|
+
return ((l = (a = e == null ? void 0 : e.find((t) => (t == null ? void 0 : t.name) === "target")) == null ? void 0 : a.content) == null ? void 0 : l.length) === 0 && ((u = (r = e == null ? void 0 : e.find((t) => (t == null ? void 0 : t.name) === "measure")) == null ? void 0 : r.content) == null ? void 0 : u.length) > 0;
|
24
|
+
}, s = [
|
25
|
+
{ color: "#ff0000", value: 0 },
|
26
|
+
{ color: "#ffa500", value: 25 },
|
27
|
+
{ color: "#ffff00", value: 50 },
|
28
|
+
{ color: "#008000", value: 75 },
|
29
|
+
{ color: "#006400", value: 100 }
|
30
|
+
], V = [
|
31
|
+
{
|
32
|
+
key: "general",
|
33
|
+
type: "group",
|
34
|
+
open: !0,
|
35
|
+
children: [
|
36
|
+
{
|
37
|
+
key: "display.title",
|
38
|
+
control: {
|
39
|
+
type: "switch",
|
40
|
+
label: "Title",
|
41
|
+
default: !1
|
42
|
+
}
|
43
|
+
},
|
44
|
+
{
|
45
|
+
key: "display.meterValue",
|
46
|
+
control: {
|
47
|
+
type: "switch",
|
48
|
+
label: "Value",
|
49
|
+
default: !0
|
50
|
+
}
|
51
|
+
},
|
52
|
+
{
|
53
|
+
key: "display.meterLabel",
|
54
|
+
control: {
|
55
|
+
type: "switch",
|
56
|
+
label: "Label",
|
57
|
+
default: !0
|
58
|
+
}
|
59
|
+
},
|
60
|
+
{
|
61
|
+
key: "display.ticks",
|
62
|
+
control: {
|
63
|
+
type: "switch",
|
64
|
+
label: "Ticks",
|
65
|
+
default: !0
|
66
|
+
}
|
67
|
+
},
|
68
|
+
{
|
69
|
+
key: "degrees",
|
70
|
+
control: {
|
71
|
+
type: "slider",
|
72
|
+
label: "Arc size",
|
73
|
+
default: 230,
|
74
|
+
min: 180,
|
75
|
+
max: 360,
|
76
|
+
step: 1
|
77
|
+
}
|
78
|
+
},
|
79
|
+
{
|
80
|
+
key: "arcWidth",
|
81
|
+
control: {
|
82
|
+
type: "slider",
|
83
|
+
label: "Gauge width",
|
84
|
+
default: 0.08,
|
85
|
+
min: 0.02,
|
86
|
+
max: 0.7,
|
87
|
+
step: 0.01
|
88
|
+
}
|
89
|
+
},
|
90
|
+
{
|
91
|
+
type: "divider"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
key: "manualValues.display",
|
95
|
+
control: {
|
96
|
+
type: "picker",
|
97
|
+
label: "Ticks display",
|
98
|
+
default: "absolute",
|
99
|
+
enum: ["absolute", "percentage"]
|
100
|
+
}
|
101
|
+
},
|
102
|
+
{
|
103
|
+
key: "manualValues.mode",
|
104
|
+
control: {
|
105
|
+
type: "picker",
|
106
|
+
label: "Range type",
|
107
|
+
default: "relative",
|
108
|
+
enum: ["relative", "absolute"],
|
109
|
+
toOptions: ({ options: e, value: a }) => {
|
110
|
+
var u, t, n, c, d, y;
|
111
|
+
const l = ((u = e == null ? void 0 : e.manualValues) == null ? void 0 : u.mode) ?? "relative", r = {
|
112
|
+
...e,
|
113
|
+
manualValues: {
|
114
|
+
...e.manualValues,
|
115
|
+
mode: a
|
116
|
+
}
|
117
|
+
};
|
118
|
+
return a === "absolute" && l === "relative" && ((t = r.manualValues) != null && t.ranges) && ((n = r.manualValues) != null && n.target) ? r.manualValues.ranges = r.manualValues.ranges.map(
|
119
|
+
(m) => ({
|
120
|
+
...m,
|
121
|
+
val: m.val * r.manualValues.target / 100
|
122
|
+
})
|
123
|
+
) : a === "relative" && l === "absolute" && ((d = (c = r.manualValues) == null ? void 0 : c.ranges) != null && d.length) && (r.manualValues.target = (y = r.manualValues.ranges.at(-1)) == null ? void 0 : y.val, r.manualValues.ranges = r.manualValues.ranges.map(
|
124
|
+
(m) => ({
|
125
|
+
...m,
|
126
|
+
value: m.val * 100 / r.manualValues.target
|
127
|
+
})
|
128
|
+
)), r;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
},
|
132
|
+
{
|
133
|
+
key: "manualValues.target",
|
134
|
+
control: {
|
135
|
+
type: "number-field",
|
136
|
+
label: "Manual target",
|
137
|
+
placeholder: "Target value",
|
138
|
+
minWidthInputField: "150px"
|
139
|
+
},
|
140
|
+
visibleIf: ({ options: e, slots: a }) => {
|
141
|
+
var l;
|
142
|
+
return ((l = e == null ? void 0 : e.manualValues) == null ? void 0 : l.mode) !== "absolute" && g(a);
|
143
|
+
}
|
144
|
+
},
|
145
|
+
{
|
146
|
+
key: "manualValues.ranges",
|
147
|
+
control: {
|
148
|
+
type: "color-range",
|
149
|
+
editRangeSize: !0,
|
150
|
+
minimumRangeSize: 2,
|
151
|
+
percentage: ({ options: e }) => {
|
152
|
+
var a;
|
153
|
+
return ((a = e == null ? void 0 : e.manualValues) == null ? void 0 : a.mode) !== "absolute";
|
154
|
+
},
|
155
|
+
noAlphaChannel: !0,
|
156
|
+
hideLabel: !0,
|
157
|
+
label: "Color ranges",
|
158
|
+
default: () => structuredClone(s),
|
159
|
+
parseValue: (e) => e == null ? void 0 : e.map((a) => ({
|
160
|
+
color: a == null ? void 0 : a.color,
|
161
|
+
value: (a == null ? void 0 : a.value) ?? (a == null ? void 0 : a.val)
|
162
|
+
})),
|
163
|
+
toValue: (e) => e == null ? void 0 : e.map((a) => ({
|
164
|
+
color: a == null ? void 0 : a.color,
|
165
|
+
val: a == null ? void 0 : a.value
|
166
|
+
}))
|
167
|
+
}
|
168
|
+
}
|
169
|
+
]
|
170
|
+
},
|
171
|
+
{
|
172
|
+
key: "marker",
|
173
|
+
type: "group",
|
174
|
+
open: !1,
|
175
|
+
children: [
|
176
|
+
{
|
177
|
+
key: "marker.type",
|
178
|
+
control: {
|
179
|
+
type: "picker",
|
180
|
+
label: "Marker type",
|
181
|
+
default: "innerBand",
|
182
|
+
enum: [
|
183
|
+
"needle",
|
184
|
+
"line",
|
185
|
+
"inside",
|
186
|
+
"outside",
|
187
|
+
"centerBand",
|
188
|
+
"innerBand"
|
189
|
+
]
|
190
|
+
}
|
191
|
+
},
|
192
|
+
{
|
193
|
+
key: "marker.color",
|
194
|
+
control: {
|
195
|
+
type: "color-picker",
|
196
|
+
label: "Marker color",
|
197
|
+
default: ({ theme: e }) => b(e),
|
198
|
+
extraLabel: ({ options: e, theme: a }) => f(e, a, "axis.y.color"),
|
199
|
+
extraLabelHasClickAction: ({ options: e, theme: a }) => k(
|
200
|
+
e,
|
201
|
+
a,
|
202
|
+
"axis.y.color"
|
203
|
+
),
|
204
|
+
extraLabelClickAction: ({ options: e, theme: a }) => i(
|
205
|
+
e,
|
206
|
+
a,
|
207
|
+
"axis.y.color"
|
208
|
+
)
|
209
|
+
},
|
210
|
+
visibleIf: ({ options: e }) => {
|
211
|
+
var a, l;
|
212
|
+
return ((a = e == null ? void 0 : e.marker) == null ? void 0 : a.type) && ((l = e == null ? void 0 : e.marker) == null ? void 0 : l.type) !== "innerBand";
|
213
|
+
}
|
214
|
+
},
|
215
|
+
{
|
216
|
+
key: "marker.centerBandWidth",
|
217
|
+
control: {
|
218
|
+
type: "slider",
|
219
|
+
label: "Marker width",
|
220
|
+
default: 0.34,
|
221
|
+
min: 0.1,
|
222
|
+
max: 1,
|
223
|
+
step: 0.01
|
224
|
+
},
|
225
|
+
visibleIf: ({ options: e }) => {
|
226
|
+
var a, l;
|
227
|
+
return ((a = e == null ? void 0 : e.marker) == null ? void 0 : a.type) && ((l = e == null ? void 0 : e.marker) == null ? void 0 : l.type) === "centerBand";
|
228
|
+
}
|
229
|
+
},
|
230
|
+
{
|
231
|
+
key: "marker.lineWidth",
|
232
|
+
control: {
|
233
|
+
type: "slider",
|
234
|
+
label: "Line width",
|
235
|
+
default: 2,
|
236
|
+
min: 1,
|
237
|
+
max: 10,
|
238
|
+
step: 1
|
239
|
+
},
|
240
|
+
visibleIf: ({ options: e }) => {
|
241
|
+
var a, l;
|
242
|
+
return ((a = e == null ? void 0 : e.marker) == null ? void 0 : a.type) && ((l = e == null ? void 0 : e.marker) == null ? void 0 : l.type) === "line";
|
243
|
+
}
|
244
|
+
},
|
245
|
+
{
|
246
|
+
key: "marker.arrowSize",
|
247
|
+
control: {
|
248
|
+
type: "slider",
|
249
|
+
label: "Arrow size",
|
250
|
+
default: 0.05,
|
251
|
+
min: 0.05,
|
252
|
+
max: 0.2,
|
253
|
+
step: 0.01
|
254
|
+
},
|
255
|
+
visibleIf: ({ options: e }) => {
|
256
|
+
var a, l;
|
257
|
+
return ((a = e == null ? void 0 : e.marker) == null ? void 0 : a.type) && ["inside", "outside"].includes((l = e == null ? void 0 : e.marker) == null ? void 0 : l.type);
|
258
|
+
}
|
259
|
+
}
|
260
|
+
]
|
261
|
+
}
|
262
|
+
];
|
263
|
+
export {
|
264
|
+
V as default
|
265
|
+
};
|