@luzmo/analytics-components-kit 1.0.1-alpha.47 → 1.0.1-alpha.48
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/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-DKjZwr-x.js → calculate-data-item-icon-BiIL_s4Z.js} +1 -1
- 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/{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/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +4 -4
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +6 -6
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +3 -3
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +6 -6
- package/components/display-settings-period-over-period/index.cjs +6 -6
- package/components/display-settings-period-over-period/index.js +4 -4
- package/components/draggable-data-item-level/index.cjs +1 -1
- package/components/draggable-data-item-level/index.js +3 -3
- package/components/droppable-slot/index.cjs +1 -1
- package/components/droppable-slot/index.js +2 -2
- package/components/edit-item/index.cjs +2 -2
- package/components/edit-item/index.js +57 -57
- 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 +1 -1
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +5 -5
- package/components/edit-option-base/edit-option-base.d.ts +1 -0
- package/components/{edit-option-base-CbpBi6I7.js → edit-option-base-D25zHZVl.js} +12 -9
- package/components/{edit-option-base-Db3JjWMk.cjs → edit-option-base-h5ndfVK4.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 +2 -2
- 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 +28 -17
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +3 -3
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +2 -2
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +3 -3
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +3 -3
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +1 -1
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +2 -2
- 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 +4 -4
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +9 -9
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +2 -2
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +2 -2
- package/components/grid/index.cjs +45 -45
- package/components/grid/index.js +2217 -5061
- 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/{index-Tx5oQjbt.cjs → index--3gSNupB.cjs} +1 -1
- package/components/{index-CDpuEf8W.js → index-9LxnqLJa.js} +2 -2
- package/components/{index-MVmoiSxL.cjs → index-B7AFYrfv.cjs} +1 -1
- package/components/{index-CHFwXYcm.cjs → index-BKx2WhDB.cjs} +7 -7
- package/components/{index-cHKqEi5-.cjs → index-BSgp4MWQ.cjs} +1 -1
- package/components/{index-BHJH1eGn.js → index-BW3AUnEX.js} +1 -1
- package/components/index-BY1yDIAI.js +5672 -0
- package/components/index-Be-pSgzQ.js +174 -0
- package/components/{index-Bdy8Bz-n.js → index-BobhBKA2.js} +8 -7
- package/components/{index-CBOAQ3-E.cjs → index-Bpdwb9Js.cjs} +3 -3
- package/components/{index-BNCgbOV2.js → index-BqSQoHjg.js} +2 -2
- package/components/{index-EXO-Hsj2.cjs → index-BukPAqqU.cjs} +1 -1
- package/components/{index-Desl7GJ0.js → index-C6NpWavw.js} +3 -3
- package/components/{index-BC1LV3vH.js → index-COU9XhBt.js} +1 -1
- package/components/{index-ChDwMQlU.js → index-Cf_a7VrO.js} +12 -11
- package/components/{index-CnpJUw_z.cjs → index-CnP-Q5Bw.cjs} +1 -1
- package/components/index-DCdx3dxQ.cjs +42 -0
- package/components/index-DMhm0FM8.cjs +443 -0
- package/components/index-DRLFjkH0.cjs +249 -0
- package/components/{index-DE3d0E0P.js → index-DYmi-X87.js} +2 -2
- package/components/{index-CbuHBIDB.js → index-DeIay7ZE.js} +2 -2
- package/components/{index-Cw_HnduG.js → index-PGX2p9Ns.js} +4 -4
- package/components/{index-BqMMcuLX.cjs → index-VHrmgynd.cjs} +1 -1
- package/components/{index-CNA9joKT.cjs → index-cbfU96gS.cjs} +26 -26
- package/components/{index-DSQyBS9Z.cjs → index-fwJBhawL.cjs} +1 -1
- package/components/{index-DM0JWaVq.js → index-ydBgjAru.js} +560 -466
- package/components/index.cjs +1 -1
- package/components/index.js +62 -58
- package/components/{luzmo-icons-DnAqAQCX.js → luzmo-icons-4Tmb3sKr.js} +5 -5
- package/components/{luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs → luzmo-icons-4nDFv1Lq-D6-m-VWM.cjs} +2 -2
- package/components/{luzmo-icons-DbwDQtuO-QG0fLECn.js → luzmo-icons-4nDFv1Lq-DffGNBpO.js} +7 -7
- package/components/mutation-controller-DH7YOCyj-B6sXpbgh.cjs +40 -0
- package/components/mutation-controller-DH7YOCyj-E7gpCmwh.js +71 -0
- 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/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/slot-contents-picker/index.cjs +1 -1
- package/components/slot-contents-picker/index.js +5 -5
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +2 -2
- package/components/slot-menu-list/index.js +1 -1
- 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/{text-field-BIADXoLC-B9oE05VF.js → text-field-ol9Ed5lQ-DbpeM4EP.js} +1 -1
- package/components/{text-field-BIADXoLC-B8w9TVmS.cjs → text-field-ol9Ed5lQ-cRqtIf_0.cjs} +1 -1
- package/custom-elements.json +369 -2
- package/index.d.ts +2 -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/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/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-C2PPSv8E.cjs +0 -42
- package/components/index-rQxtPaJl.js +0 -174
- package/components/observe-slot-text-BPfIQQtz-DHOh38Ve.cjs +0 -86
- package/components/observe-slot-text-BPfIQQtz-v6B-1BYh.js +0 -221
- 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
@@ -0,0 +1,381 @@
|
|
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 { g as n, a as b } from "./color-palettes-BqH2Fv19.js";
|
21
|
+
import { m as h } from "./index-t45_zv93.js";
|
22
|
+
import { t as y, c as g, a as d } from "./color-range-utils-Bvo9sm5A.js";
|
23
|
+
const O = [
|
24
|
+
{
|
25
|
+
key: "general",
|
26
|
+
type: "group",
|
27
|
+
open: !0,
|
28
|
+
children: [
|
29
|
+
{
|
30
|
+
key: "display.title",
|
31
|
+
control: {
|
32
|
+
type: "switch",
|
33
|
+
label: "Title",
|
34
|
+
default: !0
|
35
|
+
}
|
36
|
+
},
|
37
|
+
{
|
38
|
+
key: "display.legend",
|
39
|
+
control: {
|
40
|
+
type: "switch",
|
41
|
+
label: "Legend",
|
42
|
+
default: !0
|
43
|
+
}
|
44
|
+
}
|
45
|
+
]
|
46
|
+
},
|
47
|
+
{
|
48
|
+
key: "map",
|
49
|
+
type: "group",
|
50
|
+
open: !0,
|
51
|
+
children: [
|
52
|
+
{
|
53
|
+
key: "enabled.zoom",
|
54
|
+
control: {
|
55
|
+
type: "switch",
|
56
|
+
label: "Zoom",
|
57
|
+
default: !0
|
58
|
+
}
|
59
|
+
},
|
60
|
+
/* {
|
61
|
+
key: 'zoomRange',
|
62
|
+
control: {
|
63
|
+
type: 'range',
|
64
|
+
label: 'Zoom range',
|
65
|
+
default: [5, 18],
|
66
|
+
min: 1,
|
67
|
+
max: 22,
|
68
|
+
step: 1
|
69
|
+
},
|
70
|
+
visibleIf: ({ options }: any) => options?.enabled?.zoom === true
|
71
|
+
}, */
|
72
|
+
{
|
73
|
+
key: "enabled.pan",
|
74
|
+
control: {
|
75
|
+
type: "switch",
|
76
|
+
label: "Pan",
|
77
|
+
default: !0
|
78
|
+
}
|
79
|
+
},
|
80
|
+
{
|
81
|
+
key: "enabled.pitchBearing",
|
82
|
+
control: {
|
83
|
+
type: "switch",
|
84
|
+
label: "Pitch & Rotate",
|
85
|
+
tooltip: "Use ctrl + drag",
|
86
|
+
default: !1
|
87
|
+
}
|
88
|
+
},
|
89
|
+
{
|
90
|
+
type: "divider"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
key: "vectorTileProvider",
|
94
|
+
control: {
|
95
|
+
type: "picker",
|
96
|
+
label: "Map style",
|
97
|
+
default: "Basic",
|
98
|
+
enum: [
|
99
|
+
"No Tiles",
|
100
|
+
"Basic",
|
101
|
+
"Bright",
|
102
|
+
"Dark",
|
103
|
+
"Fiord",
|
104
|
+
"Liberty",
|
105
|
+
"Pastel",
|
106
|
+
"Positron",
|
107
|
+
"Streets",
|
108
|
+
"Toner",
|
109
|
+
"Topographique",
|
110
|
+
"Voyager",
|
111
|
+
"3D buildings"
|
112
|
+
],
|
113
|
+
parseValue: (e) => (e == null ? void 0 : e.name) || "Basic",
|
114
|
+
toValue: (e) => h[e] ?? {}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
]
|
118
|
+
},
|
119
|
+
{
|
120
|
+
key: "colors",
|
121
|
+
type: "group",
|
122
|
+
open: !0,
|
123
|
+
children: [
|
124
|
+
{
|
125
|
+
key: "opacity",
|
126
|
+
control: {
|
127
|
+
type: "slider",
|
128
|
+
label: "Opacity",
|
129
|
+
default: 0.85,
|
130
|
+
min: 0.2,
|
131
|
+
max: 1,
|
132
|
+
step: 0.01
|
133
|
+
}
|
134
|
+
},
|
135
|
+
{
|
136
|
+
key: "colorsClassType",
|
137
|
+
control: {
|
138
|
+
type: "picker",
|
139
|
+
label: "Colors type",
|
140
|
+
default: "sequential",
|
141
|
+
enum: ["sequential", "divergent", "manual"],
|
142
|
+
calculateValue: ({ options: e }) => {
|
143
|
+
var r;
|
144
|
+
if ((e == null ? void 0 : e.colorsClass) === "manual")
|
145
|
+
return "manual";
|
146
|
+
const a = n();
|
147
|
+
return ((r = a == null ? void 0 : a[e == null ? void 0 : e.colorsClass]) == null ? void 0 : r.type) ?? "sequential";
|
148
|
+
},
|
149
|
+
toOptions: ({ options: e, value: a }) => {
|
150
|
+
var f, C, V;
|
151
|
+
const l = (e == null ? void 0 : e.colorsClass) ?? "PuBu", r = (e == null ? void 0 : e.numberClasses) ?? 5, u = y(
|
152
|
+
(f = e == null ? void 0 : e.manualValues) == null ? void 0 : f.ranges
|
153
|
+
), c = l === "manual" ? "manual" : l;
|
154
|
+
let s;
|
155
|
+
if (a === "manual")
|
156
|
+
s = "manual";
|
157
|
+
else {
|
158
|
+
const t = n(), k = (C = t == null ? void 0 : t[e == null ? void 0 : e.colorsClass]) == null ? void 0 : C.type;
|
159
|
+
a !== k && (s = b(a ?? "sequential")[0]);
|
160
|
+
}
|
161
|
+
const m = { ...e, colorsClass: s };
|
162
|
+
if (a === "manual" || (e == null ? void 0 : e.classification) === "manual") {
|
163
|
+
const t = g(
|
164
|
+
r,
|
165
|
+
a === "manual" ? c : s,
|
166
|
+
u
|
167
|
+
);
|
168
|
+
m.manualValues = {
|
169
|
+
...m.manualValues,
|
170
|
+
ranges: d(t)
|
171
|
+
};
|
172
|
+
} else
|
173
|
+
(V = m == null ? void 0 : m.manualValues) == null || delete V.ranges;
|
174
|
+
return m;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
},
|
178
|
+
{
|
179
|
+
key: "colorsClass",
|
180
|
+
control: {
|
181
|
+
type: "color-palette-picker",
|
182
|
+
label: "Color palette",
|
183
|
+
hideLabel: !0,
|
184
|
+
default: ({ options: e }) => {
|
185
|
+
var r;
|
186
|
+
const a = n(), l = (r = a == null ? void 0 : a[e == null ? void 0 : e.colorsClass]) == null ? void 0 : r.type;
|
187
|
+
return b(l ?? "sequential")[0];
|
188
|
+
},
|
189
|
+
enum: ({ options: e }) => {
|
190
|
+
var r;
|
191
|
+
const a = n(), l = (r = a == null ? void 0 : a[e == null ? void 0 : e.colorsClass]) == null ? void 0 : r.type;
|
192
|
+
return b(l ?? "sequential");
|
193
|
+
},
|
194
|
+
toOptions: ({ options: e, value: a }) => {
|
195
|
+
var r, u;
|
196
|
+
const l = { ...e, colorsClass: a };
|
197
|
+
if ((e == null ? void 0 : e.classification) === "manual") {
|
198
|
+
const c = (r = n()[a]) == null ? void 0 : r[`colors${(e == null ? void 0 : e.numberClasses) ?? 5}`];
|
199
|
+
l.manualValues = {
|
200
|
+
...l.manualValues,
|
201
|
+
ranges: (u = e == null ? void 0 : e.manualValues) == null ? void 0 : u.ranges.map((s) => ({
|
202
|
+
...s,
|
203
|
+
color: c == null ? void 0 : c[s.val]
|
204
|
+
}))
|
205
|
+
};
|
206
|
+
}
|
207
|
+
return l;
|
208
|
+
}
|
209
|
+
},
|
210
|
+
visibleIf: ({ options: e }) => (e == null ? void 0 : e.colorsClass) !== "manual"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
key: "manualValues.ranges",
|
214
|
+
control: {
|
215
|
+
type: "color-range",
|
216
|
+
editRangeSize: !1,
|
217
|
+
debounce: 500,
|
218
|
+
noValues: !0,
|
219
|
+
noAlphaChannel: !0,
|
220
|
+
label: "Manual range colors",
|
221
|
+
hideLabel: !0
|
222
|
+
},
|
223
|
+
calculateValue: ({ options: e }) => {
|
224
|
+
var a;
|
225
|
+
return g(
|
226
|
+
e == null ? void 0 : e.numberClasses,
|
227
|
+
e == null ? void 0 : e.colorsClass,
|
228
|
+
y((a = e == null ? void 0 : e.manualValues) == null ? void 0 : a.ranges)
|
229
|
+
);
|
230
|
+
},
|
231
|
+
toOptions: ({ options: e, value: a }) => ({
|
232
|
+
...e,
|
233
|
+
manualValues: {
|
234
|
+
...e.manualValues,
|
235
|
+
ranges: d(a)
|
236
|
+
}
|
237
|
+
}),
|
238
|
+
visibleIf: ({ options: e }) => (e == null ? void 0 : e.colorsClass) === "manual"
|
239
|
+
}
|
240
|
+
]
|
241
|
+
},
|
242
|
+
{
|
243
|
+
key: "classification",
|
244
|
+
type: "group",
|
245
|
+
open: !0,
|
246
|
+
children: [
|
247
|
+
{
|
248
|
+
key: "numberClasses",
|
249
|
+
control: {
|
250
|
+
type: "picker",
|
251
|
+
label: "Number of classes",
|
252
|
+
default: "5",
|
253
|
+
enum: ["3", "4", "5", "6", "7", "8", "9"],
|
254
|
+
parseValue: (e) => (e == null ? void 0 : e.toString()) ?? "5",
|
255
|
+
toOptions: ({ options: e, value: a }) => {
|
256
|
+
var r;
|
257
|
+
a = Number.parseInt(a, 10) ?? 5;
|
258
|
+
const l = { ...e, numberClasses: a };
|
259
|
+
if ((e == null ? void 0 : e.classification) === "manual" || (e == null ? void 0 : e.colorsClass) === "manual") {
|
260
|
+
const u = g(
|
261
|
+
a,
|
262
|
+
e == null ? void 0 : e.colorsClass,
|
263
|
+
y((r = e == null ? void 0 : e.manualValues) == null ? void 0 : r.ranges)
|
264
|
+
);
|
265
|
+
l.manualValues = {
|
266
|
+
...l.manualValues,
|
267
|
+
ranges: d(u)
|
268
|
+
};
|
269
|
+
}
|
270
|
+
return l;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
},
|
274
|
+
{
|
275
|
+
key: "classification",
|
276
|
+
control: {
|
277
|
+
type: "picker",
|
278
|
+
label: "Method",
|
279
|
+
default: "interval",
|
280
|
+
// TODO: add manual when being able to retrieve values from the choropleth map
|
281
|
+
enum: ["interval", "manual", "quantile", "continuous"],
|
282
|
+
toOptions: ({ options: e, value: a }) => {
|
283
|
+
var r, u;
|
284
|
+
const l = { ...e, classification: a };
|
285
|
+
if (a === "manual" || (e == null ? void 0 : e.colorsClass) === "manual") {
|
286
|
+
const c = g(
|
287
|
+
e == null ? void 0 : e.numberClasses,
|
288
|
+
e == null ? void 0 : e.colorsClass,
|
289
|
+
y((r = e == null ? void 0 : e.manualValues) == null ? void 0 : r.ranges)
|
290
|
+
);
|
291
|
+
l.manualValues = {
|
292
|
+
...l.manualValues,
|
293
|
+
ranges: d(c)
|
294
|
+
};
|
295
|
+
} else
|
296
|
+
(u = l == null ? void 0 : l.manualValues) == null || delete u.ranges;
|
297
|
+
return l;
|
298
|
+
}
|
299
|
+
}
|
300
|
+
},
|
301
|
+
{
|
302
|
+
key: "manualValues.rangesValues",
|
303
|
+
control: {
|
304
|
+
type: "color-range",
|
305
|
+
editRangeSize: !1,
|
306
|
+
debounce: 500,
|
307
|
+
noValues: !1,
|
308
|
+
readOnlyColorPicker: !0,
|
309
|
+
label: "Manual range values",
|
310
|
+
hideLabel: !0,
|
311
|
+
calculateValue: ({ options: e }) => {
|
312
|
+
var a;
|
313
|
+
return g(
|
314
|
+
e == null ? void 0 : e.numberClasses,
|
315
|
+
e == null ? void 0 : e.colorsClass,
|
316
|
+
y((a = e == null ? void 0 : e.manualValues) == null ? void 0 : a.ranges)
|
317
|
+
);
|
318
|
+
},
|
319
|
+
toOptions: ({ options: e, value: a }) => ({
|
320
|
+
...e,
|
321
|
+
manualValues: {
|
322
|
+
...e.manualValues,
|
323
|
+
ranges: d(a)
|
324
|
+
}
|
325
|
+
})
|
326
|
+
},
|
327
|
+
visibleIf: ({ options: e }) => (e == null ? void 0 : e.classification) === "manual"
|
328
|
+
}
|
329
|
+
]
|
330
|
+
},
|
331
|
+
{
|
332
|
+
key: "legend",
|
333
|
+
type: "group",
|
334
|
+
open: !1,
|
335
|
+
children: [
|
336
|
+
{
|
337
|
+
key: "legend.type",
|
338
|
+
control: {
|
339
|
+
type: "picker",
|
340
|
+
label: "Type",
|
341
|
+
default: "bar",
|
342
|
+
enum: ["bar", "list"]
|
343
|
+
}
|
344
|
+
},
|
345
|
+
{
|
346
|
+
key: "legend.size",
|
347
|
+
control: {
|
348
|
+
type: "radio-button-group",
|
349
|
+
label: "Size",
|
350
|
+
default: "M",
|
351
|
+
enum: ["S", "M", "L"]
|
352
|
+
}
|
353
|
+
},
|
354
|
+
{
|
355
|
+
key: "legend.position",
|
356
|
+
control: {
|
357
|
+
type: "position-picker",
|
358
|
+
label: "Position",
|
359
|
+
default: "bottomLeft",
|
360
|
+
enum: [
|
361
|
+
"topLeft",
|
362
|
+
"top",
|
363
|
+
"topRight",
|
364
|
+
"right",
|
365
|
+
"bottomRight",
|
366
|
+
"bottom",
|
367
|
+
"bottomLeft",
|
368
|
+
"left"
|
369
|
+
]
|
370
|
+
}
|
371
|
+
}
|
372
|
+
],
|
373
|
+
visibleIf: ({ options: e }) => {
|
374
|
+
var a;
|
375
|
+
return ((a = e == null ? void 0 : e.display) == null ? void 0 : a.legend) === !0;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
];
|
379
|
+
export {
|
380
|
+
O as default
|
381
|
+
};
|
@@ -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 s=require("./color-palettes-DhNHcib8.cjs"),f=require("./index-DhDgy1sp.cjs"),u=require("./color-range-utils-C5yXW7ZC.cjs"),V=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0}}]},{key:"map",type:"group",open:!0,children:[{key:"enabled.zoom",control:{type:"switch",label:"Zoom",default:!0}},{key:"enabled.pan",control:{type:"switch",label:"Pan",default:!0}},{key:"enabled.pitchBearing",control:{type:"switch",label:"Pitch & Rotate",tooltip:"Use ctrl + drag",default:!1}},{type:"divider"},{key:"vectorTileProvider",control:{type:"picker",label:"Map style",default:"Basic",enum:["No Tiles","Basic","Bright","Dark","Fiord","Liberty","Pastel","Positron","Streets","Toner","Topographique","Voyager","3D buildings"],parseValue:e=>(e==null?void 0:e.name)||"Basic",toValue:e=>f.mapVectorTileProviders[e]??{}}}]},{key:"colors",type:"group",open:!0,children:[{key:"opacity",control:{type:"slider",label:"Opacity",default:.85,min:.2,max:1,step:.01}},{key:"colorsClassType",control:{type:"picker",label:"Colors type",default:"sequential",enum:["sequential","divergent","manual"],calculateValue:({options:e})=>{var r;if((e==null?void 0:e.colorsClass)==="manual")return"manual";const a=s.getColorMaps();return((r=a==null?void 0:a[e==null?void 0:e.colorsClass])==null?void 0:r.type)??"sequential"},toOptions:({options:e,value:a})=>{var y,d,b;const l=(e==null?void 0:e.colorsClass)??"PuBu",r=(e==null?void 0:e.numberClasses)??5,c=u.toRangesWithValue((y=e==null?void 0:e.manualValues)==null?void 0:y.ranges),t=l==="manual"?"manual":l;let n;if(a==="manual")n="manual";else{const m=s.getColorMaps(),C=(d=m==null?void 0:m[e==null?void 0:e.colorsClass])==null?void 0:d.type;a!==C&&(n=s.getColorMapKeys(a??"sequential")[0])}const g={...e,colorsClass:n};if(a==="manual"||(e==null?void 0:e.classification)==="manual"){const m=u.calculateManualRanges(r,a==="manual"?t:n,c);g.manualValues={...g.manualValues,ranges:u.toRangesWithVal(m)}}else(b=g==null?void 0:g.manualValues)==null||delete b.ranges;return g}}},{key:"colorsClass",control:{type:"color-palette-picker",label:"Color palette",hideLabel:!0,default:({options:e})=>{var r;const a=s.getColorMaps(),l=(r=a==null?void 0:a[e==null?void 0:e.colorsClass])==null?void 0:r.type;return s.getColorMapKeys(l??"sequential")[0]},enum:({options:e})=>{var r;const a=s.getColorMaps(),l=(r=a==null?void 0:a[e==null?void 0:e.colorsClass])==null?void 0:r.type;return s.getColorMapKeys(l??"sequential")},toOptions:({options:e,value:a})=>{var r,c;const l={...e,colorsClass:a};if((e==null?void 0:e.classification)==="manual"){const t=(r=s.getColorMaps()[a])==null?void 0:r[`colors${(e==null?void 0:e.numberClasses)??5}`];l.manualValues={...l.manualValues,ranges:(c=e==null?void 0:e.manualValues)==null?void 0:c.ranges.map(n=>({...n,color:t==null?void 0:t[n.val]}))}}return l}},visibleIf:({options:e})=>(e==null?void 0:e.colorsClass)!=="manual"},{key:"manualValues.ranges",control:{type:"color-range",editRangeSize:!1,debounce:500,noValues:!0,noAlphaChannel:!0,label:"Manual range colors",hideLabel:!0},calculateValue:({options:e})=>{var a;return u.calculateManualRanges(e==null?void 0:e.numberClasses,e==null?void 0:e.colorsClass,u.toRangesWithValue((a=e==null?void 0:e.manualValues)==null?void 0:a.ranges))},toOptions:({options:e,value:a})=>({...e,manualValues:{...e.manualValues,ranges:u.toRangesWithVal(a)}}),visibleIf:({options:e})=>(e==null?void 0:e.colorsClass)==="manual"}]},{key:"classification",type:"group",open:!0,children:[{key:"numberClasses",control:{type:"picker",label:"Number of classes",default:"5",enum:["3","4","5","6","7","8","9"],parseValue:e=>(e==null?void 0:e.toString())??"5",toOptions:({options:e,value:a})=>{var r;a=Number.parseInt(a,10)??5;const l={...e,numberClasses:a};if((e==null?void 0:e.classification)==="manual"||(e==null?void 0:e.colorsClass)==="manual"){const c=u.calculateManualRanges(a,e==null?void 0:e.colorsClass,u.toRangesWithValue((r=e==null?void 0:e.manualValues)==null?void 0:r.ranges));l.manualValues={...l.manualValues,ranges:u.toRangesWithVal(c)}}return l}}},{key:"classification",control:{type:"picker",label:"Method",default:"interval",enum:["interval","manual","quantile","continuous"],toOptions:({options:e,value:a})=>{var r,c;const l={...e,classification:a};if(a==="manual"||(e==null?void 0:e.colorsClass)==="manual"){const t=u.calculateManualRanges(e==null?void 0:e.numberClasses,e==null?void 0:e.colorsClass,u.toRangesWithValue((r=e==null?void 0:e.manualValues)==null?void 0:r.ranges));l.manualValues={...l.manualValues,ranges:u.toRangesWithVal(t)}}else(c=l==null?void 0:l.manualValues)==null||delete c.ranges;return l}}},{key:"manualValues.rangesValues",control:{type:"color-range",editRangeSize:!1,debounce:500,noValues:!1,readOnlyColorPicker:!0,label:"Manual range values",hideLabel:!0,calculateValue:({options:e})=>{var a;return u.calculateManualRanges(e==null?void 0:e.numberClasses,e==null?void 0:e.colorsClass,u.toRangesWithValue((a=e==null?void 0:e.manualValues)==null?void 0:a.ranges))},toOptions:({options:e,value:a})=>({...e,manualValues:{...e.manualValues,ranges:u.toRangesWithVal(a)}})},visibleIf:({options:e})=>(e==null?void 0:e.classification)==="manual"}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.type",control:{type:"picker",label:"Type",default:"bar",enum:["bar","list"]}},{key:"legend.size",control:{type:"radio-button-group",label:"Size",default:"M",enum:["S","M","L"]}},{key:"legend.position",control:{type:"position-picker",label:"Position",default:"bottomLeft",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:({options:e})=>{var a;return((a=e==null?void 0:e.display)==null?void 0:a.legend)===!0}}];exports.default=V;
|
package/components/{choropleth-map-options.de-B_Agdr4T.cjs → choropleth-map-options.de-C4ko9lE4.cjs}
RENAMED
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"Choroplethenkarte",groups:{general:{label:"Allgemein"},map:{label:"Karte"},colors:{label:"Farben"},classification:{label:"Klassifizierung"},legend:{label:"Legende"}},options:{"display.title":{label:"Titel"},"display.legend":{label:"Legende"},"enabled.zoom":{label:"Zoom"},zoomRange:{label:"Zoombereich"},"enabled.pan":{label:"Verschieben"},"enabled.pitchBearing":{label:"Neigung & Drehung",tooltip:"Verwenden Sie Strg + ziehen"},vectorTileProvider:{label:"Kartenstil"},opacity:{label:"Deckkraft"},
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"Choroplethenkarte",groups:{general:{label:"Allgemein"},map:{label:"Karte"},colors:{label:"Farben"},classification:{label:"Klassifizierung"},legend:{label:"Legende"}},options:{"display.title":{label:"Titel"},"display.legend":{label:"Legende"},"enabled.zoom":{label:"Zoom"},zoomRange:{label:"Zoombereich"},"enabled.pan":{label:"Verschieben"},"enabled.pitchBearing":{label:"Neigung & Drehung",tooltip:"Verwenden Sie Strg + ziehen"},vectorTileProvider:{label:"Kartenstil"},opacity:{label:"Deckkraft"},colorsClassType:{label:"Farbtyp",enum:{sequential:"Sequentiell",divergent:"Divergent",manual:"Manuell"}},numberClasses:{label:"Anzahl der Klassen"},classification:{label:"Methode",enum:{interval:"Gleiche Intervalle",manual:"Manuell",quantile:"Quantil",continuous:"Kontinuierlich"}},"legend.type":{label:"Typ",enum:{bar:"Balken",list:"Liste"}},"legend.size":{label:"Größe"},"legend.position":{label:"Position"}}};exports.default=e;
|
package/components/{choropleth-map-options.en-DJHAy6ek.cjs → choropleth-map-options.en-DVWBmXFe.cjs}
RENAMED
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"Choropleth map",groups:{general:{label:"General"},map:{label:"Map"},colors:{label:"Colors"},classification:{label:"Classification"},legend:{label:"Legend"}},options:{"display.title":{label:"Title"},"display.legend":{label:"Legend"},"enabled.zoom":{label:"Zoom"},zoomRange:{label:"Zoom range"},"enabled.pan":{label:"Pan"},"enabled.pitchBearing":{label:"Pitch & Rotate",tooltip:"Use ctrl + drag"},vectorTileProvider:{label:"Map style"},opacity:{label:"Opacity"},
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"Choropleth map",groups:{general:{label:"General"},map:{label:"Map"},colors:{label:"Colors"},classification:{label:"Classification"},legend:{label:"Legend"}},options:{"display.title":{label:"Title"},"display.legend":{label:"Legend"},"enabled.zoom":{label:"Zoom"},zoomRange:{label:"Zoom range"},"enabled.pan":{label:"Pan"},"enabled.pitchBearing":{label:"Pitch & Rotate",tooltip:"Use ctrl + drag"},vectorTileProvider:{label:"Map style"},opacity:{label:"Opacity"},colorsClassType:{label:"Colors type",enum:{sequential:"Sequential",divergent:"Divergent",manual:"Manual"}},numberClasses:{label:"Number of classes"},classification:{label:"Method",enum:{interval:"Equal interval",manual:"Manual",quantile:"Quantile",continuous:"Continuous"}},"legend.type":{label:"Type",enum:{bar:"Bar",list:"List"}},"legend.size":{label:"Size"},"legend.position":{label:"Position"}}};exports.default=e;
|
package/components/{choropleth-map-options.es-Dr07odJo.cjs → choropleth-map-options.es-v5dYm1W3.cjs}
RENAMED
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"Mapa coroplético",groups:{general:{label:"General"},map:{label:"Mapa"},colors:{label:"Colores"},classification:{label:"Clasificación"},legend:{label:"Leyenda"}},options:{"display.title":{label:"Título"},"display.legend":{label:"Leyenda"},"enabled.zoom":{label:"Zoom"},zoomRange:{label:"Rango de zoom"},"enabled.pan":{label:"Panorámica"},"enabled.pitchBearing":{label:"Inclinación y Rotación",tooltip:"Usar ctrl + arrastrar"},vectorTileProvider:{label:"Estilo de mapa"},opacity:{label:"Opacidad"},
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"Mapa coroplético",groups:{general:{label:"General"},map:{label:"Mapa"},colors:{label:"Colores"},classification:{label:"Clasificación"},legend:{label:"Leyenda"}},options:{"display.title":{label:"Título"},"display.legend":{label:"Leyenda"},"enabled.zoom":{label:"Zoom"},zoomRange:{label:"Rango de zoom"},"enabled.pan":{label:"Panorámica"},"enabled.pitchBearing":{label:"Inclinación y Rotación",tooltip:"Usar ctrl + arrastrar"},vectorTileProvider:{label:"Estilo de mapa"},opacity:{label:"Opacidad"},colorsClassType:{label:"Tipo de colores",enum:{sequential:"Secuencial",divergent:"Divergente",manual:"Manual"}},numberClasses:{label:"Número de clases"},classification:{label:"Método",enum:{interval:"Intervalo igual",manual:"Manual",quantile:"Cuantil",continuous:"Continuo"}},"legend.type":{label:"Tipo",enum:{bar:"Barra",list:"Lista"}},"legend.size":{label:"Tamaño"},"legend.position":{label:"Posición"}}};exports.default=e;
|
package/components/{choropleth-map-options.fr-CR5NMRR3.cjs → choropleth-map-options.fr-Bpk_J4Gw.cjs}
RENAMED
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"Carte choroplèthe",groups:{general:{label:"Général"},map:{label:"Carte"},colors:{label:"Couleurs"},classification:{label:"Classification"},legend:{label:"Légende"}},options:{"display.title":{label:"Titre"},"display.legend":{label:"Légende"},"enabled.zoom":{label:"Zoom"},zoomRange:{label:"Plage de zoom"},"enabled.pan":{label:"Panoramique"},"enabled.pitchBearing":{label:"Inclinaison & Rotation",tooltip:"Utiliser ctrl + glisser"},vectorTileProvider:{label:"Style de carte"},opacity:{label:"Opacité"},
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"Carte choroplèthe",groups:{general:{label:"Général"},map:{label:"Carte"},colors:{label:"Couleurs"},classification:{label:"Classification"},legend:{label:"Légende"}},options:{"display.title":{label:"Titre"},"display.legend":{label:"Légende"},"enabled.zoom":{label:"Zoom"},zoomRange:{label:"Plage de zoom"},"enabled.pan":{label:"Panoramique"},"enabled.pitchBearing":{label:"Inclinaison & Rotation",tooltip:"Utiliser ctrl + glisser"},vectorTileProvider:{label:"Style de carte"},opacity:{label:"Opacité"},colorsClassType:{label:"Type de couleurs",enum:{sequential:"Séquentiel",divergent:"Divergent",manual:"Manuel"}},numberClasses:{label:"Nombre de classes"},classification:{label:"Méthode",enum:{interval:"Intervalle égal",manual:"Manuel",quantile:"Quantile",continuous:"Continu"}},"legend.type":{label:"Type",enum:{bar:"Barre",list:"Liste"}},"legend.size":{label:"Taille"},"legend.position":{label:"Position"}}};exports.default=e;
|
package/components/{choropleth-map-options.nl-BITK3ddz.cjs → choropleth-map-options.nl-CyDZDpyE.cjs}
RENAMED
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"Choropletenkaart",groups:{general:{label:"Algemeen"},map:{label:"Kaart"},colors:{label:"Kleuren"},classification:{label:"Classificatie"},legend:{label:"Legenda"}},options:{"display.title":{label:"Titel"},"display.legend":{label:"Legenda"},"enabled.zoom":{label:"Zoomen"},zoomRange:{label:"Zoombereik"},"enabled.pan":{label:"Verschuiven"},"enabled.pitchBearing":{label:"Kantelen & Draaien",tooltip:"Gebruik ctrl + slepen"},vectorTileProvider:{label:"Kaartstijl"},opacity:{label:"Transparantie"},
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"Choropletenkaart",groups:{general:{label:"Algemeen"},map:{label:"Kaart"},colors:{label:"Kleuren"},classification:{label:"Classificatie"},legend:{label:"Legenda"}},options:{"display.title":{label:"Titel"},"display.legend":{label:"Legenda"},"enabled.zoom":{label:"Zoomen"},zoomRange:{label:"Zoombereik"},"enabled.pan":{label:"Verschuiven"},"enabled.pitchBearing":{label:"Kantelen & Draaien",tooltip:"Gebruik ctrl + slepen"},vectorTileProvider:{label:"Kaartstijl"},opacity:{label:"Transparantie"},colorsClassType:{label:"Kleurtype",enum:{sequential:"Sequentieel",divergent:"Divergent",manual:"Handmatig"}},numberClasses:{label:"Aantal klassen"},classification:{label:"Methode",enum:{interval:"Gelijke intervallen",manual:"Handmatig",quantile:"Kwantielen",continuous:"Doorlopend"}},"legend.type":{label:"Type",enum:{bar:"Balk",list:"Lijst"}},"legend.size":{label:"Grootte"},"legend.position":{label:"Positie"}}};exports.default=e;
|
@@ -17,8 +17,13 @@
|
|
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 { g as
|
21
|
-
const
|
20
|
+
import { g as n, a as o, b as f, c as d } from "./helpers-v1bPALRP.js";
|
21
|
+
const i = () => [
|
22
|
+
{ color: "#ff0000", value: 0 },
|
23
|
+
{ color: "#ffa500", value: 33.34 },
|
24
|
+
{ color: "#ffff00", value: 66.67 },
|
25
|
+
{ color: "#008000", value: 100 }
|
26
|
+
], g = [
|
22
27
|
{
|
23
28
|
key: "general",
|
24
29
|
type: "group",
|
@@ -60,31 +65,72 @@ const o = [
|
|
60
65
|
{
|
61
66
|
type: "divider"
|
62
67
|
},
|
63
|
-
|
64
|
-
key:
|
68
|
+
{
|
69
|
+
key: "conditionalColor",
|
65
70
|
control: {
|
66
|
-
type:
|
67
|
-
label:
|
68
|
-
default:
|
71
|
+
type: "switch",
|
72
|
+
label: "Conditional color",
|
73
|
+
default: !1,
|
74
|
+
calculateValue: ({ options: e }) => {
|
75
|
+
var l, r;
|
76
|
+
return ((r = (l = e == null ? void 0 : e.manualValues) == null ? void 0 : l.conditional) == null ? void 0 : r.length) > 0;
|
77
|
+
},
|
78
|
+
toOptions: ({ options: e, value: l }) => {
|
79
|
+
var c, t, u;
|
80
|
+
const r = { ...e }, a = ((t = (c = e == null ? void 0 : e.manualValues) == null ? void 0 : c.conditional) == null ? void 0 : t.length) > 0;
|
81
|
+
return l ? a || (r.manualValues = {
|
82
|
+
...r == null ? void 0 : r.manualValues,
|
83
|
+
conditional: i()
|
84
|
+
}) : (u = r == null ? void 0 : r.manualValues) == null || delete u.conditional, r;
|
85
|
+
}
|
69
86
|
}
|
70
|
-
},
|
87
|
+
},
|
71
88
|
{
|
72
89
|
key: "circle.color",
|
73
90
|
control: {
|
74
91
|
type: "color-picker",
|
75
92
|
label: "Arc color",
|
76
|
-
default: ({ theme: e }) =>
|
77
|
-
extraLabel: ({ options: e, theme: l }) =>
|
78
|
-
extraLabelHasClickAction: ({ options: e, theme: l }) =>
|
93
|
+
default: ({ theme: e }) => d(e),
|
94
|
+
extraLabel: ({ options: e, theme: l }) => f(e, l, "circle.color"),
|
95
|
+
extraLabelHasClickAction: ({ options: e, theme: l }) => o(
|
79
96
|
e,
|
80
97
|
l,
|
81
98
|
"circle.color"
|
82
99
|
),
|
83
|
-
extraLabelClickAction: ({ options: e, theme: l }) =>
|
100
|
+
extraLabelClickAction: ({ options: e, theme: l }) => n(
|
84
101
|
e,
|
85
102
|
l,
|
86
103
|
"circle.color"
|
87
104
|
)
|
105
|
+
},
|
106
|
+
visibleIf: ({ options: e }) => {
|
107
|
+
var l, r, a;
|
108
|
+
return !((l = e == null ? void 0 : e.manualValues) != null && l.conditional) || ((a = (r = e == null ? void 0 : e.manualValues) == null ? void 0 : r.conditional) == null ? void 0 : a.length) === 0;
|
109
|
+
}
|
110
|
+
},
|
111
|
+
{
|
112
|
+
key: "manualValues.conditional",
|
113
|
+
control: {
|
114
|
+
type: "color-range",
|
115
|
+
editRangeSize: !0,
|
116
|
+
minimumRangeSize: 2,
|
117
|
+
percentage: !0,
|
118
|
+
noAlphaChannel: !0,
|
119
|
+
label: "Color ranges",
|
120
|
+
hideLabel: !0,
|
121
|
+
default: () => i(),
|
122
|
+
parseValue: (e) => e == null ? void 0 : e.map((l) => ({
|
123
|
+
color: l == null ? void 0 : l.color,
|
124
|
+
value: (l == null ? void 0 : l.value) ?? (l == null ? void 0 : l.val)
|
125
|
+
})),
|
126
|
+
toValue: (e) => e == null ? void 0 : e.map((r) => ({
|
127
|
+
color: r == null ? void 0 : r.color,
|
128
|
+
val: r == null ? void 0 : r.value
|
129
|
+
}))
|
130
|
+
},
|
131
|
+
visibleIf: ({ options: e }) => {
|
132
|
+
var l, r;
|
133
|
+
return ((r = (l = e == null ? void 0 : e.manualValues) == null ? void 0 : l.conditional) == null ? void 0 : r.length) > 0;
|
88
134
|
}
|
89
135
|
},
|
90
136
|
{
|
@@ -142,5 +188,5 @@ const o = [
|
|
142
188
|
}
|
143
189
|
];
|
144
190
|
export {
|
145
|
-
|
191
|
+
g as default
|
146
192
|
};
|
@@ -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"),n=()=>[{color:"#ff0000",value:0},{color:"#ffa500",value:33.34},{color:"#ffff00",value:66.67},{color:"#008000",value:100}],o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.gaugeValue",control:{type:"switch",label:"Value",default:!0}},{key:"mode",control:{type:"picker",label:"Display",default:"normal",enum:["normal","percentage","difference"]}},{key:"display.gaugeLabel",control:{type:"switch",label:"Label",default:!0}},{type:"divider"},{key:"conditionalColor",control:{type:"switch",label:"Conditional color",default:!1,calculateValue:({options:e})=>{var l,r;return((r=(l=e==null?void 0:e.manualValues)==null?void 0:l.conditional)==null?void 0:r.length)>0},toOptions:({options:e,value:l})=>{var t,u,i;const r={...e},a=((u=(t=e==null?void 0:e.manualValues)==null?void 0:t.conditional)==null?void 0:u.length)>0;return l?a||(r.manualValues={...r==null?void 0:r.manualValues,conditional:n()}):(i=r==null?void 0:r.manualValues)==null||delete i.conditional,r}}},{key:"circle.color",control:{type:"color-picker",label:"Arc color",default:({theme:e})=>c.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>c.getThemeMainColorResetLabel(e,l,"circle.color"),extraLabelHasClickAction:({options:e,theme:l})=>c.getThemeMainColorExtraLabelHasClickAction(e,l,"circle.color"),extraLabelClickAction:({options:e,theme:l})=>c.getThemeMainColorExtraLabelClickAction(e,l,"circle.color")},visibleIf:({options:e})=>{var l,r,a;return!((l=e==null?void 0:e.manualValues)!=null&&l.conditional)||((a=(r=e==null?void 0:e.manualValues)==null?void 0:r.conditional)==null?void 0:a.length)===0}},{key:"manualValues.conditional",control:{type:"color-range",editRangeSize:!0,minimumRangeSize:2,percentage:!0,noAlphaChannel:!0,label:"Color ranges",hideLabel:!0,default:()=>n(),parseValue:e=>e==null?void 0:e.map(l=>({color:l==null?void 0:l.color,value:(l==null?void 0:l.value)??(l==null?void 0:l.val)})),toValue:e=>e==null?void 0:e.map(r=>({color:r==null?void 0:r.color,val:r==null?void 0:r.value}))},visibleIf:({options:e})=>{var l,r;return((r=(l=e==null?void 0:e.manualValues)==null?void 0:l.conditional)==null?void 0:r.length)>0}},{key:"circle.width",control:{type:"slider",label:"Arc width",default:10,min:1,max:30,step:1}}]},{key:"layout",type:"group",open:!0,children:[{key:"circle.degrees",control:{type:"picker",label:"Arc size",default:"full circle",enum:["full circle","3/4 circle","2/3 circle","1/2 circle"],parseValue:e=>e===360?"full circle":e===270?"3/4 circle":e===240?"2/3 circle":e===180?"1/2 circle":"full circle",toValue:e=>e==="full circle"?360:e==="3/4 circle"?270:e==="2/3 circle"?240:e==="1/2 circle"?180:360}},{key:"circle.flip",control:{type:"switch",label:"Flip arc",default:!0},visibleIf:({options:e})=>{var l,r;return((l=e==null?void 0:e.circle)==null?void 0:l.degrees)&&((r=e==null?void 0:e.circle)==null?void 0:r.degrees)!==360}},{key:"circle.lineCap",control:{type:"switch",label:"Rounded ends",default:!0,parseValue:e=>e!=="butt",toValue:e=>e?"round":"butt"}}]}];exports.default=o;
|