@luzmo/analytics-components-kit 1.0.9-beta.1 → 1.0.9-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.js +2 -9
- package/components/{ai-chat-PesGGOLP.js → ai-chat-CVxHPPvM.js} +3 -2
- package/components/{ai-chat-1OlRpimu.cjs → ai-chat-DEVIxsRP.cjs} +1 -1
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -8
- package/components/{ai-interaction-textarea-CmFGJzbb.cjs → ai-interaction-textarea-D_Lw29_i.cjs} +1 -1
- package/components/{ai-interaction-textarea-BXKG2elT.js → ai-interaction-textarea-i9SabsmQ.js} +3 -2
- package/components/{area-chart-positioning.config-C37nmNfP.cjs → area-chart-positioning.config-B8xSL1XU.cjs} +1 -1
- package/components/{area-chart-positioning.config-CF8Z7PuX.js → area-chart-positioning.config-C0_dxknc.js} +1 -1
- package/components/{bar-chart-positioning.config-vuRQZsYr.js → bar-chart-positioning.config-B4fazkYv.js} +1 -1
- package/components/{bar-chart-positioning.config-C4ii41mE.cjs → bar-chart-positioning.config-B6A5m0ZR.cjs} +1 -1
- package/components/{base-8L8Jt2vi.js → base-BRTs2KqJ.js} +29 -30
- package/components/base-BWU343D_.cjs +20 -0
- package/components/{box-plot-positioning.config-DMIsI9yU.js → box-plot-positioning.config-BI9F_JjL.js} +1 -1
- package/components/{box-plot-positioning.config-D2LpbgQ_.cjs → box-plot-positioning.config-DVXXjP8U.cjs} +1 -1
- package/components/{bubble-chart-positioning.config-Btak-zwN.cjs → bubble-chart-positioning.config-C0tGI4fC.cjs} +1 -1
- package/components/{bubble-chart-positioning.config-jYu0Q0Mc.js → bubble-chart-positioning.config-DXhama4z.js} +1 -1
- package/components/{bullet-chart-positioning.config-BWHfPPyA.js → bullet-chart-positioning.config-Czlw32Ii.js} +1 -1
- package/components/{bullet-chart-positioning.config-CwoRVgNS.cjs → bullet-chart-positioning.config-Dmb_yizO.cjs} +1 -1
- package/components/{choropleth-map-positioning.config-KtxcLW7E.js → choropleth-map-positioning.config-BWJmEGy6.js} +1 -1
- package/components/{choropleth-map-positioning.config-DttV0Dk_.cjs → choropleth-map-positioning.config-JIj9p6-n.cjs} +1 -1
- package/components/{circle-pack-chart-positioning.config-N-rZvQjR.cjs → circle-pack-chart-positioning.config-D3Ogj0P9.cjs} +1 -1
- package/components/{circle-pack-chart-positioning.config-QBO-pwDr.js → circle-pack-chart-positioning.config-PhYH_yh8.js} +1 -1
- package/components/{circular-gauge-positioning.config-DKGmEpFj.js → circular-gauge-positioning.config-COSdEO1U.js} +1 -1
- package/components/{circular-gauge-positioning.config-Cf1zuLXa.cjs → circular-gauge-positioning.config-DxfZmoEP.cjs} +1 -1
- package/components/{column-chart-positioning.config-DcErS56C.cjs → column-chart-positioning.config-6OVsL5vU.cjs} +1 -1
- package/components/{column-chart-positioning.config-LkQSNtSH.js → column-chart-positioning.config-BRYZk4cF.js} +1 -1
- package/components/{combination-chart-positioning.config-Dzi93oAp.cjs → combination-chart-positioning.config-4qgeM8BL.cjs} +1 -1
- package/components/{combination-chart-positioning.config-7iAEpO7h.js → combination-chart-positioning.config-CTj23r8f.js} +1 -1
- package/components/{conditional-number-positioning.config-Bse6AKPP.js → conditional-number-positioning.config-BUdWeVNm.js} +1 -1
- package/components/{conditional-number-positioning.config-CTy0zLXu.cjs → conditional-number-positioning.config-Dg67t4VA.cjs} +1 -1
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -8
- package/components/{data-field-CSm9APdz.js → data-field-CwC5VH16.js} +3 -2
- package/components/{data-field-D2y4cv9j.cjs → data-field-DHpgI_wv.cjs} +1 -1
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -8
- package/components/data-field-level-8-eOBdl6.cjs +55 -0
- package/components/{data-field-level-B0aj8c5M.js → data-field-level-Ben_W9pd.js} +2 -1
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -8
- package/components/data-field-panel-CiuTVMXF.cjs +87 -0
- package/components/{data-field-panel-DpBWJnes.js → data-field-panel-DppKRagT.js} +3 -2
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -8
- package/components/data-fields-select-DjDeBEj-.cjs +43 -0
- package/components/{data-fields-select-69TDpIG_.js → data-fields-select-HwMkrPAn.js} +1 -0
- package/components/dataset-icon/index.cjs +1 -1
- package/components/dataset-icon/index.js +1 -8
- package/components/{dataset-icon-CWT5Ju8w.js → dataset-icon-BEq1MNml.js} +1 -0
- package/components/dataset-icon-tec1Xulw.cjs +64 -0
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -8
- package/components/dataset-selector-list-BL2uKzCy.cjs +75 -0
- package/components/{dataset-selector-list-DTMXvqfO.js → dataset-selector-list-BWavenTF.js} +2 -1
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -8
- package/components/{dataset-selector-row-gHWsZlrC.cjs → dataset-selector-row-BP4Txybx.cjs} +1 -1
- package/components/{dataset-selector-row-kiHtzZcP.js → dataset-selector-row-C_O6h4Ir.js} +2 -1
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -8
- package/components/display-settings-Dmvi7XT-.cjs +142 -0
- package/components/{display-settings-DKuvd62j.js → display-settings-V5AltVPN.js} +3 -2
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -8
- package/components/{display-settings-binning-BkCNSkgf.js → display-settings-binning-BNofVnZE.js} +2 -1
- package/components/{display-settings-binning-DZKo_tBm.cjs → display-settings-binning-C1Fvc8tj.cjs} +1 -1
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -8
- package/components/{display-settings-datetime-BTgriFcv.js → display-settings-datetime-CUR1w0k5.js} +2 -1
- package/components/{display-settings-datetime-DD7Oh-2T.cjs → display-settings-datetime-OiFwicTh.cjs} +1 -1
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -8
- package/components/{display-settings-grand-totals-BsIZg67h.cjs → display-settings-grand-totals-Bi1OcC7p.cjs} +1 -1
- package/components/{display-settings-grand-totals-DH7AoyQY.js → display-settings-grand-totals-CgzHbK1K.js} +2 -1
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -8
- package/components/{display-settings-numeric-CsmrnEp2.cjs → display-settings-numeric-BQ_vQrnj.cjs} +1 -1
- package/components/{display-settings-numeric-CkFpOoWU.js → display-settings-numeric-CUWkiQtR.js} +2 -1
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +1 -8
- package/components/{display-settings-period-over-period-Co37HcSm.cjs → display-settings-period-over-period-Br08rz7r.cjs} +1 -1
- package/components/{display-settings-period-over-period-CdI5wuL_.js → display-settings-period-over-period-C7cfSyIL.js} +2 -1
- package/components/{donut-chart-positioning.config-BThtaJEt.cjs → donut-chart-positioning.config-B4JdERSl.cjs} +1 -1
- package/components/{donut-chart-positioning.config-D2uG_Irk.js → donut-chart-positioning.config-CWGYZUec.js} +1 -1
- package/components/{evolution-number-positioning.config-DtYiv9oB.cjs → evolution-number-positioning.config-CqQeAPbN.cjs} +1 -1
- package/components/{evolution-number-positioning.config-BtjobZqK.js → evolution-number-positioning.config-DZ7SVvue.js} +1 -1
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -8
- package/components/{filter-expression-picker-C4kE_Thd.js → filter-expression-picker-3xcrAACt.js} +1 -0
- package/components/filter-expression-picker-BrtXMSBv.cjs +40 -0
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -8
- package/components/{filter-item-Be6Z7NMz.js → filter-item-CH5sjhJy.js} +5 -4
- package/components/filter-item-C_h4rbuL.cjs +111 -0
- package/components/filter-parameter-picker/index.cjs +1 -1
- package/components/filter-parameter-picker/index.js +1 -8
- package/components/{filter-parameter-picker-Ba8bvoPZ.js → filter-parameter-picker-CB3uIoZ2.js} +1 -0
- package/components/filter-parameter-picker-DJKHZxlT.cjs +124 -0
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -8
- package/components/{filter-value-picker-Dpua1vcJ.cjs → filter-value-picker-CW9vKpn1.cjs} +1 -1
- package/components/{filter-value-picker-DD206JZl.js → filter-value-picker-DeO855hf.js} +4 -3
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -8
- package/components/{filter-value-picker-datetime-Bj0YaPtB.js → filter-value-picker-datetime-B0lLveRY.js} +1 -0
- package/components/filter-value-picker-datetime-DapMI9Jr.cjs +51 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -8
- package/components/{filter-value-picker-hierarchy-ZMThNJYm.js → filter-value-picker-hierarchy-B2xSmjFz.js} +1 -0
- package/components/filter-value-picker-hierarchy-C9mJ8PH7.cjs +54 -0
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -8
- package/components/{filter-value-picker-numeric-CVaDogFQ.js → filter-value-picker-numeric-CayroCHe.js} +1 -0
- package/components/{filter-value-picker-numeric-1Vxp_Vam.cjs → filter-value-picker-numeric-DE5h7dZN.cjs} +1 -1
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -8
- package/components/filters-CGqIDlPK.cjs +199 -0
- package/components/{filters-Cnm0Kwk3.js → filters-D5oua2IU.js} +2 -1
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -8
- package/components/formula-8YhND5Y7.cjs +45 -0
- package/components/{formula-BE9bipho.js → formula-B4lrmE5g.js} +3 -2
- package/components/{formula-codemirror-B14vsZXJ.cjs → formula-codemirror-CBvQJGHq.cjs} +1 -1
- package/components/{formula-codemirror-xfm0QtJN.js → formula-codemirror-CVlF_Qyh.js} +4 -3
- package/components/{formula-display-store-8hohve9v.cjs → formula-display-store-BJvPYYsO.cjs} +1 -1
- package/components/{formula-display-store-JAaWuYNB.js → formula-display-store-D9MWhreP.js} +2 -2
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.js +3 -10
- package/components/{formula-editor-DN87mT8q.js → formula-editor-BGT-QcuH.js} +6 -5
- package/components/{formula-editor-CkW-JfyT.cjs → formula-editor-De9Zj-9c.cjs} +1 -1
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -8
- package/components/formula-field--gNwmTRk.cjs +20 -0
- package/components/{formula-field-B1EMJOfK.js → formula-field-CQcnyXOD.js} +2 -1
- package/components/{formula-input-base-HL0Fg74x.js → formula-input-base-BdKh5O_E.js} +1 -1
- package/components/{formula-input-base-BCQXmd1P.cjs → formula-input-base-CZih19kC.cjs} +1 -1
- package/components/{funnel-chart-positioning.config-TVzSiV6I.js → funnel-chart-positioning.config-B6I8z0_N.js} +1 -1
- package/components/{funnel-chart-positioning.config-DeLnAGGT.cjs → funnel-chart-positioning.config-BhK0EStG.cjs} +1 -1
- package/components/{groupings-CODDxpbZ.js → groupings-C1WNuUBe.js} +1 -1
- package/components/{groupings-DKMq8DgS.cjs → groupings-CvXvU4Fr.cjs} +1 -1
- package/components/{heat-map-positioning.config-ddrgZXa9.cjs → heat-map-positioning.config-B9Njs88T.cjs} +1 -1
- package/components/{heat-map-positioning.config--wm9l7bB.js → heat-map-positioning.config-DAAt2hIR.js} +1 -1
- package/components/{heat-table-positioning.config-qMDSRhZR.cjs → heat-table-positioning.config-Cn7Ouv5g.cjs} +1 -1
- package/components/{heat-table-positioning.config-CIhhBEMg.js → heat-table-positioning.config-D6ChanEH.js} +1 -1
- package/components/{hexbin-map-positioning.config-E_BpcIFy.cjs → hexbin-map-positioning.config-BqfRSZbU.cjs} +1 -1
- package/components/{hexbin-map-positioning.config-S7VYUwVD.js → hexbin-map-positioning.config-CNId41q1.js} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +54 -60
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.js +1 -8
- package/components/{interactive-viz-item-cdShBZQA.js → interactive-viz-item-CzIT8K3I.js} +2 -1
- package/components/{interactive-viz-item--kqitfEZ.cjs → interactive-viz-item-DUyE1QEJ.cjs} +1 -1
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -8
- package/components/{item-grid-xCM8AqRH.js → item-grid-BaW6EZ2a.js} +1 -0
- package/components/{item-grid-BfhqMuQA.cjs → item-grid-BcgBGxIq.cjs} +1 -1
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -8
- package/components/item-option-8PQMxg8v.cjs +269 -0
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -8
- package/components/{item-option-action-button-group-4w8ub3cT.js → item-option-action-button-group-BcZTtikv.js} +2 -1
- package/components/item-option-action-button-group-zZp49Gbz.cjs +53 -0
- package/components/{item-option-base-BxQUwXzg.js → item-option-base-DJ9FLqmu.js} +1 -1
- package/components/{item-option-base-4Bwn-3Fc.cjs → item-option-base-K2pn6CrX.cjs} +1 -1
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -8
- package/components/item-option-color-palette-picker-B9JlHGA8.cjs +40 -0
- package/components/{item-option-color-palette-picker-D5nO-Bqb.js → item-option-color-palette-picker-DJX3MxcT.js} +2 -1
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -8
- package/components/{item-option-color-picker-CKokPQcS.js → item-option-color-picker-Dgz-VK03.js} +2 -1
- package/components/{item-option-color-picker-Bhv_k1uW.cjs → item-option-color-picker-ayYko5QB.cjs} +1 -1
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -8
- package/components/item-option-color-range-Cc8thG33.cjs +98 -0
- package/components/{item-option-color-range-DYsMbFEb.js → item-option-color-range-DibSfro5.js} +2 -1
- package/components/{item-option-DaAlj_OB.js → item-option-em2Lp2zJ.js} +2 -1
- package/components/item-option-guidelines/index.cjs +1 -1
- package/components/item-option-guidelines/index.js +1 -8
- package/components/{item-option-guidelines-CXl4Yla4.js → item-option-guidelines-DXUcdAel.js} +3 -2
- package/components/item-option-guidelines-h5-NrAYD.cjs +135 -0
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -8
- package/components/{item-option-multi-language-field-C75Hd2fG.cjs → item-option-multi-language-field-BlnTZCFJ.cjs} +1 -1
- package/components/{item-option-multi-language-field-S6Mt3k23.js → item-option-multi-language-field-Bqo9OeK4.js} +2 -1
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -8
- package/components/{item-option-number-field-CALw8q_J.js → item-option-number-field-BZHhCuuj.js} +2 -1
- package/components/{item-option-number-field-Bg5r0IAX.cjs → item-option-number-field-D9vv1Q-O.cjs} +1 -1
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -8
- package/components/{item-option-panel-DBXgOsM4.cjs → item-option-panel-Bo3sC4u5.cjs} +1 -1
- package/components/{item-option-panel-v7yUS9hb.js → item-option-panel-DvgDiRPH.js} +3 -2
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -8
- package/components/{item-option-picker-RFstpFwI.cjs → item-option-picker-D5xhm36O.cjs} +1 -1
- package/components/{item-option-picker-CZyzd3Nq.js → item-option-picker-cy0KK-ev.js} +2 -1
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -8
- package/components/item-option-position-picker-BJ35DWBL.cjs +32 -0
- package/components/{item-option-position-picker-C8cnHEH4.js → item-option-position-picker-BbYP1Jnh.js} +2 -1
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -8
- package/components/{item-option-positions-number-field-BJTY1qZR.js → item-option-positions-number-field-DO4z_aKu.js} +2 -1
- package/components/item-option-positions-number-field-DzYQoSpk.cjs +49 -0
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -8
- package/components/{item-option-radio-button-group-CN8TLtsV.cjs → item-option-radio-button-group-CF1gttvP.cjs} +1 -1
- package/components/{item-option-radio-button-group-vhm4r4_k.js → item-option-radio-button-group-DX7wCv8J.js} +2 -1
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -8
- package/components/{item-option-slider-DbLPhpJd.cjs → item-option-slider-DeGmGyZE.cjs} +1 -1
- package/components/{item-option-slider-CQOKWBZQ.js → item-option-slider-z1CwX5mE.js} +2 -1
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -8
- package/components/{item-option-switch-CWpb0nf3.cjs → item-option-switch-D3jq7jIt.cjs} +1 -1
- package/components/{item-option-switch-azZX2vJr.js → item-option-switch-D41KguKr.js} +2 -1
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -8
- package/components/{item-option-text-field-CIM_38yi.js → item-option-text-field-CnFcApMz.js} +2 -1
- package/components/{item-option-text-field-CS3Lccda.cjs → item-option-text-field-cXy2sx5N.cjs} +1 -1
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -8
- package/components/item-slot-drop-CtEMLkmt.cjs +91 -0
- package/components/{item-slot-drop-DeZ2GvAu.js → item-slot-drop-YAKpKb2-.js} +5 -4
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -8
- package/components/{item-slot-drop-panel-LpfX7ap0.js → item-slot-drop-panel-JZtBKPJu.js} +39 -38
- package/components/item-slot-drop-panel-aom0ugTz.cjs +57 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -8
- package/components/{item-slot-picker-BSO1ltXC.js → item-slot-picker-D-FvHowO.js} +6 -5
- package/components/{item-slot-picker-CvySq194.cjs → item-slot-picker-D8h7QXGD.cjs} +1 -1
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -8
- package/components/item-slot-picker-panel-C98lpd4g.cjs +81 -0
- package/components/{item-slot-picker-panel-CsntXcAp.js → item-slot-picker-panel-g4JDw1M_.js} +3 -2
- package/components/{line-chart-positioning.config-DMe1Ldwk.cjs → line-chart-positioning.config-BZUWqKWz.cjs} +1 -1
- package/components/{line-chart-positioning.config-CrreArf5.js → line-chart-positioning.config-C3VzNcws.js} +1 -1
- package/components/{marker-map-positioning.config-DW9tMO2M.js → marker-map-positioning.config-BlvgG6yX.js} +1 -1
- package/components/{marker-map-positioning.config-CpI8nCtC.cjs → marker-map-positioning.config-CGF74mJI.cjs} +1 -1
- package/components/{ohlc-chart-positioning.config-9DETh4xy.cjs → ohlc-chart-positioning.config-B__cD7Wo.cjs} +1 -1
- package/components/{ohlc-chart-positioning.config-CkX8gyS2.js → ohlc-chart-positioning.config-BdbEgiry.js} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-CLDZdGdh.cjs → parallel-coordinates-plot-positioning.config-BqdmUJLk.cjs} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-DTJZLEeT.js → parallel-coordinates-plot-positioning.config-DNu5qhNR.js} +1 -1
- package/components/{pivot-table-positioning.config-CtSYHD-n.js → pivot-table-positioning.config-CUfnXIHj.js} +1 -1
- package/components/{pivot-table-positioning.config-B-SALuVb.cjs → pivot-table-positioning.config-DDpgWCZ7.cjs} +1 -1
- package/components/{pyramid-chart-positioning.config-BllFtneP.cjs → pyramid-chart-positioning.config-B2TxqefZ.cjs} +1 -1
- package/components/{pyramid-chart-positioning.config-0Juiava5.js → pyramid-chart-positioning.config-CZBcrHEG.js} +1 -1
- package/components/{radar-chart-positioning.config-BY4RKNDi.cjs → radar-chart-positioning.config-ddvHAHJF.cjs} +1 -1
- package/components/{radar-chart-positioning.config-BPbb63S6.js → radar-chart-positioning.config-j1WOeFnM.js} +1 -1
- package/components/{route-map-positioning.config-D6nZFd8f.js → route-map-positioning.config-ChBYybF1.js} +1 -1
- package/components/{route-map-positioning.config-GQ9AJfej.cjs → route-map-positioning.config-xBhhxtYu.cjs} +1 -1
- package/components/{sankey-diagram-positioning.config-R1EjoR5F.js → sankey-diagram-positioning.config-CudMit_S.js} +1 -1
- package/components/{sankey-diagram-positioning.config-DAuj5A08.cjs → sankey-diagram-positioning.config-tZu-dDV-.cjs} +1 -1
- package/components/{scatter-plot-positioning.config-DGoMnNZy.js → scatter-plot-positioning.config-BoJEGmgK.js} +1 -1
- package/components/{scatter-plot-positioning.config-o4c-wuRo.cjs → scatter-plot-positioning.config-DQOtIhJi.cjs} +1 -1
- package/components/{slicer-filter-positioning.config-D_didkcw.js → slicer-filter-positioning.config-CY4jw7_A.js} +1 -1
- package/components/{slicer-filter-positioning.config-BqpIENEm.cjs → slicer-filter-positioning.config-CZY2fvwt.cjs} +1 -1
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -8
- package/components/slot-menu-Bl6PrLIN.cjs +71 -0
- package/components/{slot-menu-CUdbaW3K.js → slot-menu-hIK2_qR3.js} +4 -3
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -8
- package/components/{slot-menu-list-DVSxamVa.js → slot-menu-list-BgwZS32Q.js} +2 -1
- package/components/{slot-menu-list-DaHzz_ve.cjs → slot-menu-list-BhgD2zt4.cjs} +1 -1
- package/components/{speedometer-chart-positioning.config-eVUWDhkL.cjs → speedometer-chart-positioning.config-D3CWnYTb.cjs} +1 -1
- package/components/{speedometer-chart-positioning.config-CmxsV4-x.js → speedometer-chart-positioning.config-cBMverSU.js} +1 -1
- package/components/{spike-map-positioning.config-B38djRlf.cjs → spike-map-positioning.config-i7ntIkN5.cjs} +1 -1
- package/components/{spike-map-positioning.config-Bta7ar9e.js → spike-map-positioning.config-vuoKutnj.js} +1 -1
- package/components/{strip-plot-positioning.config-atH68L8u.cjs → strip-plot-positioning.config-C2H-io7l.cjs} +1 -1
- package/components/{strip-plot-positioning.config-0vlAfmDB.js → strip-plot-positioning.config-_-ElbWoV.js} +1 -1
- package/components/{sunburst-chart-positioning.config-NFzFNuXB.cjs → sunburst-chart-positioning.config-MB8z_ZfG.cjs} +1 -1
- package/components/{sunburst-chart-positioning.config-B2x6afBV.js → sunburst-chart-positioning.config-yzTnv1BQ.js} +1 -1
- package/components/{symbol-map-positioning.config-B6v9PFTk.js → symbol-map-positioning.config-BPkEp4Pj.js} +1 -1
- package/components/{symbol-map-positioning.config-DGpmp_N1.cjs → symbol-map-positioning.config-L11e_Z3x.cjs} +1 -1
- package/components/tokens-BWMfo_w4.cjs +20 -0
- package/components/tokens-Ov1pCR4Y.js +29 -0
- package/components/{treemap-chart-positioning.config-NMULB8UM.cjs → treemap-chart-positioning.config-40_GcY2u.cjs} +1 -1
- package/components/{treemap-chart-positioning.config-Bf2VNVRQ.js → treemap-chart-positioning.config-CitiBQB2.js} +1 -1
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +1 -1
- package/components/{venn-diagram-positioning.config-DgOl0Vh-.js → venn-diagram-positioning.config-A28suR_R.js} +1 -1
- package/components/{venn-diagram-positioning.config-D4cODPGV.cjs → venn-diagram-positioning.config-C7bkb2Qv.cjs} +1 -1
- package/components/viz-item-menu/index.cjs +1 -1
- package/components/viz-item-menu/index.js +1 -8
- package/components/viz-item-menu/viz-item-menu.d.ts +7 -0
- package/components/{viz-item-menu-L_j0L08h.js → viz-item-menu-DsIJZRgm.js} +44 -11
- package/components/viz-item-menu-DtHlgOqt.cjs +63 -0
- package/components/{wordcloud-chart-positioning.config-DZEkWvb0.cjs → wordcloud-chart-positioning.config-BQFzFNko.cjs} +1 -1
- package/components/{wordcloud-chart-positioning.config-BP6iqy-N.js → wordcloud-chart-positioning.config-Dk13J1zq.js} +1 -1
- package/package.json +2 -2
- package/react/package.json +2 -2
- package/styles/tokens.d.ts +1 -0
- package/components/base-K-bf6_7X.cjs +0 -20
- package/components/data-field-level-Llx0Y9m-.cjs +0 -55
- package/components/data-field-panel-Dv60lRUC.cjs +0 -87
- package/components/data-fields-select-BHa8THub.cjs +0 -43
- package/components/dataset-icon-BAV0S4sZ.cjs +0 -64
- package/components/dataset-selector-list-D5lBv2sD.cjs +0 -75
- package/components/display-settings-DPqTRJ7E.cjs +0 -142
- package/components/filter-expression-picker-CU-OfSmI.cjs +0 -40
- package/components/filter-item-CxPrwF-R.cjs +0 -111
- package/components/filter-parameter-picker-BtJLCUbT.cjs +0 -124
- package/components/filter-value-picker-datetime-DWgI83nJ.cjs +0 -51
- package/components/filter-value-picker-hierarchy-BEoqkQq0.cjs +0 -54
- package/components/filters-Dtbt99BP.cjs +0 -199
- package/components/formula-DGMnKmnR.cjs +0 -45
- package/components/formula-field-CQYFSBHL.cjs +0 -20
- package/components/item-option-B5FraAiv.cjs +0 -269
- package/components/item-option-action-button-group-DHu8VjCy.cjs +0 -53
- package/components/item-option-color-palette-picker-DrhHKaAK.cjs +0 -40
- package/components/item-option-color-range-CwDkzRcx.cjs +0 -98
- package/components/item-option-guidelines-DMjA-h3h.cjs +0 -135
- package/components/item-option-position-picker-CKHbHHl1.cjs +0 -32
- package/components/item-option-positions-number-field-BGs3WWaz.cjs +0 -49
- package/components/item-slot-drop-C8WYPu_w.cjs +0 -91
- package/components/item-slot-drop-panel-BcBHDDTT.cjs +0 -57
- package/components/item-slot-picker-panel-DQ_OzMO_.cjs +0 -81
- package/components/slot-menu-DRx1Ffla.cjs +0 -71
- package/components/viz-item-menu-CNHv6qDa.cjs +0 -55
- package/storybook/inject-global-vars.d.ts +0 -1
|
@@ -17,8 +17,9 @@
|
|
|
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 "./tokens-Ov1pCR4Y.js";
|
|
20
21
|
import { t as e } from "./decorate-DyMgX_Uh.js";
|
|
21
|
-
import { t } from "./item-option-base-
|
|
22
|
+
import { t } from "./item-option-base-DJ9FLqmu.js";
|
|
22
23
|
import { luzmoAlignBottom as n, luzmoAlignCenter as r, luzmoAlignLeft as i, luzmoAlignMiddle as a, luzmoAlignRight as o, luzmoAlignTop as s, luzmoArrowsExpand as c, luzmoArrowsHorizontal as l, luzmoArrowsVertical as u, luzmoBan as d, luzmoBold as f, luzmoBorderDashed as p, luzmoBorderDotted as m, luzmoBorderSolid as h, luzmoColumns as g, luzmoCompress as _, luzmoExpand as v, luzmoItalic as y, luzmoRows as b, luzmoTable as x, luzmoUnderline as S } from "@luzmo/icons";
|
|
23
24
|
import "@luzmo/lucero/icon";
|
|
24
25
|
import { html as C, unsafeCSS as w } from "lit";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
require("./tokens-BWMfo_w4.cjs");const e=require("./decorate-DCJt-2rt.cjs"),t=require("./item-option-base-K2pn6CrX.cjs");let n=require("@luzmo/icons");require("@luzmo/lucero/icon");let r=require("lit"),i=require("lit/decorators.js");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/action-group");var a=`luzmo-action-group{--luzmo-item-option-action-button-group-button-background-hover:rgba(var(--luzmo-primary-rgb), .1);--luzmo-item-option-action-button-group-button-background-down:rgba(var(--luzmo-primary-rgb), .2);--luzmo-item-option-action-button-group-button-background-focus:rgba(var(--luzmo-primary-rgb), .1);--luzmo-item-option-action-button-group-button-content-color-default:var(--luzmo-font-color-disabled);--luzmo-item-option-action-button-group-button-content-color-hover:var(--luzmo-font-color-hover);--luzmo-item-option-action-button-group-button-content-color-down:var(--luzmo-font-color-down);--luzmo-item-option-action-button-group-button-content-color-focus:var(--luzmo-font-color-focus)}luzmo-action-group[compact][quiet][emphasized],luzmo-action-group[compact][quiet][emphasized][size=s]{--luzmo-action-group-gap-size-compact:var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=l]{--luzmo-action-group-gap-size-compact:var(--luzmo-spacing-2)}luzmo-action-group[compact][quiet][emphasized][size=xl]{--luzmo-action-group-gap-size-compact:var(--luzmo-spacing-3)}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button{--luzmo-action-button-background-color-hover:var(--luzmo-item-option-action-button-group-button-background-hover);--luzmo-action-button-background-color-down:var(--luzmo-item-option-action-button-group-button-background-down);--luzmo-action-button-background-color-focus:var(--luzmo-item-option-action-button-group-button-background-focus);--luzmo-action-button-content-color-default:var(--luzmo-item-option-action-button-group-button-content-color-default);--luzmo-action-button-content-color-hover:var(--luzmo-item-option-action-button-group-button-content-color-hover);--luzmo-action-button-content-color-down:var(--luzmo-item-option-action-button-group-button-content-color-down);--luzmo-action-button-content-color-focus:var(--luzmo-item-option-action-button-group-button-content-color-focus)}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]:hover,luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]{--luzmo-action-button-background-color-hover:var(--luzmo-item-option-action-button-group-button-background-down);--luzmo-action-button-background-color-default:var(--luzmo-item-option-action-button-group-button-background-down);--luzmo-action-button-content-color-default:var(--luzmo-item-option-action-button-group-button-content-color-down);--luzmo-action-button-content-color-hover:var(--luzmo-item-option-action-button-group-button-content-color-down);--luzmo-action-button-content-color-down:var(--luzmo-item-option-action-button-group-button-content-color-down)}`,o={alignBottom:n.luzmoAlignBottom,alignMiddle:n.luzmoAlignMiddle,alignTop:n.luzmoAlignTop,alignLeft:n.luzmoAlignLeft,alignCenter:n.luzmoAlignCenter,alignRight:n.luzmoAlignRight,ban:n.luzmoBan,borderSolid:n.luzmoBorderSolid,borderDashed:n.luzmoBorderDashed,borderDotted:n.luzmoBorderDotted,compress:n.luzmoCompress,expand:n.luzmoExpand,arrowsExpand:n.luzmoArrowsExpand,arrowsHorizontal:n.luzmoArrowsHorizontal,arrowsVertical:n.luzmoArrowsVertical,italic:n.luzmoItalic,bold:n.luzmoBold,underline:n.luzmoUnderline,rows:n.luzmoRows,columns:n.luzmoColumns,table:n.luzmoTable},s=class extends t.t{constructor(...e){super(...e),this.values={},this.disabled=!1}static{this.styles=[...super.styles,(0,r.unsafeCSS)(a)]}_handleEvent(){let e=this.selects===`multiple`?this.actionGroup?.selected:this.actionGroup?.selected?.[0];this.dispatchEvent(new CustomEvent(`luzmo-option-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:e}}))}_generateButtonContents(e){return typeof e==`string`?r.html`${e}`:e.iconName||e.icon?r.html`
|
|
21
|
+
<luzmo-icon
|
|
22
|
+
slot="icon"
|
|
23
|
+
.size=${this.size}
|
|
24
|
+
.icon=${e.icon??o[e.iconName]}
|
|
25
|
+
.label=${e.label??``}
|
|
26
|
+
></luzmo-icon>
|
|
27
|
+
${e.buttonText??``}
|
|
28
|
+
`:r.html`${e.buttonText??``}`}_generateActionButtons(){return Object.entries(this.values).map(([e,t])=>r.html`
|
|
29
|
+
<luzmo-action-button value=${e} ?disabled=${this.disabled}>
|
|
30
|
+
${this._generateButtonContents(t)}
|
|
31
|
+
${t.label?r.html`<luzmo-tooltip
|
|
32
|
+
self-managed
|
|
33
|
+
placement="top"
|
|
34
|
+
size=${this.size}
|
|
35
|
+
>
|
|
36
|
+
${t.label}
|
|
37
|
+
</luzmo-tooltip>`:``}
|
|
38
|
+
</luzmo-action-button>
|
|
39
|
+
`)}renderController(){let e=this._generateActionButtons();return r.html`
|
|
40
|
+
<luzmo-action-group
|
|
41
|
+
id="luzmo-item-option-control"
|
|
42
|
+
compact
|
|
43
|
+
quiet
|
|
44
|
+
emphasized
|
|
45
|
+
.selects=${this.selects??`single`}
|
|
46
|
+
.size=${this.size}
|
|
47
|
+
.selected=${this.value||this.default||[]}
|
|
48
|
+
@change=${this._handleEvent}
|
|
49
|
+
.disabled=${this.disabled}
|
|
50
|
+
>
|
|
51
|
+
${e}
|
|
52
|
+
</luzmo-action-group>
|
|
53
|
+
`}};e.t([(0,i.property)({type:Array})],s.prototype,`values`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],s.prototype,`disabled`,void 0),e.t([(0,i.property)({type:String})],s.prototype,`selects`,void 0),e.t([(0,i.property)({type:Array})],s.prototype,`value`,void 0),e.t([(0,i.property)({type:Array})],s.prototype,`default`,void 0),e.t([(0,i.query)(`luzmo-action-group`)],s.prototype,`actionGroup`,void 0),customElements.get(`luzmo-item-option-action-button-group`)||customElements.define(`luzmo-item-option-action-button-group`,s),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
|
@@ -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
|
-
import { i as e, n as t } from "./base-
|
|
20
|
+
import { i as e, n as t } from "./base-BRTs2KqJ.js";
|
|
21
21
|
import { t as n } from "./decorate-DyMgX_Uh.js";
|
|
22
22
|
import { html as r, nothing as i, unsafeCSS as a } from "lit";
|
|
23
23
|
import { property as o } from "lit/decorators.js";
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
const e=require("./base-
|
|
20
|
+
const e=require("./base-BWU343D_.cjs"),t=require("./decorate-DCJt-2rt.cjs");let n=require("lit"),r=require("lit/decorators.js");require("@luzmo/lucero/tooltip"),require("@luzmo/lucero/field-label");var i=`:host{font-family:var(--luzmo-item-option-component-font-family,var(--luzmo-font-family))}.luzmo-item-option{height:var(--luzmo-item-option-component-height,var(--item-option-component-height));justify-content:space-between;align-items:center;gap:var(--luzmo-spacing-3);width:100%;color:var(--luzmo-font-color);font-size:var(--luzmo-font-size-s);display:flex}.control-container{align-items:center;gap:var(--luzmo-item-option-control-container-gap,var(--item-option-control-container-gap));flex:1;justify-content:end;display:flex}.extra-label{padding-left:var(--luzmo-item-option-extra-label-padding-left,var(--item-option-extra-label-padding-left));padding-right:var(--luzmo-item-option-extra-label-padding-right,var(--item-option-extra-label-padding-right));font-size:var(--luzmo-item-option-extra-label-font-size,var(--item-option-extra-label-font-size))}.extra-link{text-align:right;cursor:pointer;text-decoration:underline}.extra-link:hover{color:var(--luzmo-font-color-hover)}.extra-link.disabled{opacity:.65;cursor:not-allowed}.extra-link.disabled:hover{color:var(--luzmo-font-color-disabled)}:host{--item-option-component-height:var(--luzmo-component-height);--item-option-extra-label-padding-right:var(--luzmo-spacing-4);--item-option-extra-label-padding-left:var(--luzmo-spacing-5);--item-option-control-container-gap:var(--luzmo-spacing-2);--item-option-extra-label-font-size:var(--luzmo-font-size-s)}:host([size=s]){--item-option-component-height:var(--luzmo-component-height-s);--item-option-extra-label-padding-right:var(--luzmo-spacing-3);--item-option-extra-label-padding-left:var(--luzmo-spacing-4);--item-option-control-container-gap:var(--luzmo-spacing-2);--item-option-extra-label-font-size:var(--luzmo-font-size-xs)}:host([size=l]){--item-option-component-height:var(--luzmo-component-height-l);--item-option-extra-label-padding-right:var(--luzmo-spacing-4);--item-option-extra-label-padding-left:var(--luzmo-spacing-5);--item-option-control-container-gap:var(--luzmo-spacing-3);--item-option-extra-label-font-size:var(--luzmo-font-size)}:host([size=xl]){--item-option-component-height:var(--luzmo-component-height-xl);--item-option-extra-label-padding-right:var(--luzmo-spacing-5);--item-option-extra-label-padding-left:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--item-option-control-container-gap:var(--luzmo-spacing-4);--item-option-extra-label-font-size:var(--luzmo-font-size-l)}:host{display:block;overflow:hidden}`,a=class extends e.n(e.i,{defaultSize:`s`,validSizes:[`s`,`m`,`l`,`xl`]}){constructor(...e){super(...e),this.disabled=!1,this.hideLabel=!1,this.label=``,this.tooltip=``,this.extraLabel=``,this.extraLabelHasClickAction=!1,this.extraLabelTooltip=``}static{this.styles=[(0,n.unsafeCSS)(i)]}handleExtraLabelClick(e){if(this.extraLabelHasClickAction&&typeof this.extraLabelClickAction==`function`){let{value:e}=this.extraLabelClickAction();this.dispatchEvent(new CustomEvent(`luzmo-option-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:e}}))}e?.preventDefault(),this.dispatchEvent(new CustomEvent(`luzmo-extra-label-click`,{bubbles:!0,composed:!0}))}render(){return n.html`
|
|
21
21
|
<div class="luzmo-item-option">
|
|
22
22
|
${this.label&&!this.hideLabel?n.html`
|
|
23
23
|
<luzmo-field-label
|
|
@@ -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
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../item-option-color-palette-picker-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../item-option-color-palette-picker-B9JlHGA8.cjs");exports.LuzmoItemOptionColorPalettePicker=e.t;
|
|
@@ -17,12 +17,5 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
|
|
21
|
-
(function() {
|
|
22
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
23
|
-
let e = document.createElement("style");
|
|
24
|
-
e.setAttribute("data-luzmo-vars", ""), e.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: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--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: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--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: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--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: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--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(e);
|
|
25
|
-
}
|
|
26
|
-
})();
|
|
27
|
-
import { t as e } from "../item-option-color-palette-picker-D5nO-Bqb.js";
|
|
20
|
+
import { t as e } from "../item-option-color-palette-picker-DJX3MxcT.js";
|
|
28
21
|
export { e as LuzmoItemOptionColorPalettePicker };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
require("./tokens-BWMfo_w4.cjs");const e=require("./decorate-DCJt-2rt.cjs"),t=require("./item-option-base-K2pn6CrX.cjs");let n=require("lit"),r=require("lit/decorators.js");require("@luzmo/lucero/color-palette"),require("@luzmo/lucero/color-palette-group");function i(){return{Spectral:{colors3:[`rgb(252,141,89)`,`rgb(255,255,191)`,`rgb(153,213,148)`],colors4:[`rgb(215,25,28)`,`rgb(253,174,97)`,`rgb(171,221,164)`,`rgb(43,131,186)`],colors5:[`rgb(215,25,28)`,`rgb(253,174,97)`,`rgb(255,255,191)`,`rgb(171,221,164)`,`rgb(43,131,186)`],colors6:[`rgb(213,62,79)`,`rgb(252,141,89)`,`rgb(254,224,139)`,`rgb(230,245,152)`,`rgb(153,213,148)`,`rgb(50,136,189)`],colors7:[`rgb(213,62,79)`,`rgb(252,141,89)`,`rgb(254,224,139)`,`rgb(255,255,191)`,`rgb(230,245,152)`,`rgb(153,213,148)`,`rgb(50,136,189)`],colors8:[`rgb(213,62,79)`,`rgb(244,109,67)`,`rgb(253,174,97)`,`rgb(254,224,139)`,`rgb(230,245,152)`,`rgb(171,221,164)`,`rgb(102,194,165)`,`rgb(50,136,189)`],colors9:[`rgb(213,62,79)`,`rgb(244,109,67)`,`rgb(253,174,97)`,`rgb(254,224,139)`,`rgb(255,255,191)`,`rgb(230,245,152)`,`rgb(171,221,164)`,`rgb(102,194,165)`,`rgb(50,136,189)`],type:`divergent`},RdYlGn:{colors3:[`rgb(252,141,89)`,`rgb(255,255,191)`,`rgb(145,207,96)`],colors4:[`rgb(215,25,28)`,`rgb(253,174,97)`,`rgb(166,217,106)`,`rgb(26,150,65)`],colors5:[`rgb(215,25,28)`,`rgb(253,174,97)`,`rgb(255,255,191)`,`rgb(166,217,106)`,`rgb(26,150,65)`],colors6:[`rgb(215,48,39)`,`rgb(252,141,89)`,`rgb(254,224,139)`,`rgb(217,239,139)`,`rgb(145,207,96)`,`rgb(26,152,80)`],colors7:[`rgb(215,48,39)`,`rgb(252,141,89)`,`rgb(254,224,139)`,`rgb(255,255,191)`,`rgb(217,239,139)`,`rgb(145,207,96)`,`rgb(26,152,80)`],colors8:[`rgb(215,48,39)`,`rgb(244,109,67)`,`rgb(253,174,97)`,`rgb(254,224,139)`,`rgb(217,239,139)`,`rgb(166,217,106)`,`rgb(102,189,99)`,`rgb(26,152,80)`],colors9:[`rgb(215,48,39)`,`rgb(244,109,67)`,`rgb(253,174,97)`,`rgb(254,224,139)`,`rgb(255,255,191)`,`rgb(217,239,139)`,`rgb(166,217,106)`,`rgb(102,189,99)`,`rgb(26,152,80)`],type:`divergent`},RdBu:{colors3:[`rgb(239,138,98)`,`rgb(247,247,247)`,`rgb(103,169,207)`],colors4:[`rgb(202,0,32)`,`rgb(244,165,130)`,`rgb(146,197,222)`,`rgb(5,113,176)`],colors5:[`rgb(202,0,32)`,`rgb(244,165,130)`,`rgb(247,247,247)`,`rgb(146,197,222)`,`rgb(5,113,176)`],colors6:[`rgb(178,24,43)`,`rgb(239,138,98)`,`rgb(253,219,199)`,`rgb(209,229,240)`,`rgb(103,169,207)`,`rgb(33,102,172)`],colors7:[`rgb(178,24,43)`,`rgb(239,138,98)`,`rgb(253,219,199)`,`rgb(247,247,247)`,`rgb(209,229,240)`,`rgb(103,169,207)`,`rgb(33,102,172)`],colors8:[`rgb(178,24,43)`,`rgb(214,96,77)`,`rgb(244,165,130)`,`rgb(253,219,199)`,`rgb(209,229,240)`,`rgb(146,197,222)`,`rgb(67,147,195)`,`rgb(33,102,172)`],colors9:[`rgb(178,24,43)`,`rgb(214,96,77)`,`rgb(244,165,130)`,`rgb(253,219,199)`,`rgb(247,247,247)`,`rgb(209,229,240)`,`rgb(146,197,222)`,`rgb(67,147,195)`,`rgb(33,102,172)`],type:`divergent`},PiYG:{colors3:[`rgb(233,163,201)`,`rgb(247,247,247)`,`rgb(161,215,106)`],colors4:[`rgb(208,28,139)`,`rgb(241,182,218)`,`rgb(184,225,134)`,`rgb(77,172,38)`],colors5:[`rgb(208,28,139)`,`rgb(241,182,218)`,`rgb(247,247,247)`,`rgb(184,225,134)`,`rgb(77,172,38)`],colors6:[`rgb(197,27,125)`,`rgb(233,163,201)`,`rgb(253,224,239)`,`rgb(230,245,208)`,`rgb(161,215,106)`,`rgb(77,146,33)`],colors7:[`rgb(197,27,125)`,`rgb(233,163,201)`,`rgb(253,224,239)`,`rgb(247,247,247)`,`rgb(230,245,208)`,`rgb(161,215,106)`,`rgb(77,146,33)`],colors8:[`rgb(197,27,125)`,`rgb(222,119,174)`,`rgb(241,182,218)`,`rgb(253,224,239)`,`rgb(230,245,208)`,`rgb(184,225,134)`,`rgb(127,188,65)`,`rgb(77,146,33)`],colors9:[`rgb(197,27,125)`,`rgb(222,119,174)`,`rgb(241,182,218)`,`rgb(253,224,239)`,`rgb(247,247,247)`,`rgb(230,245,208)`,`rgb(184,225,134)`,`rgb(127,188,65)`,`rgb(77,146,33)`],type:`divergent`},PRGn:{colors3:[`rgb(175,141,195)`,`rgb(247,247,247)`,`rgb(127,191,123)`],colors4:[`rgb(123,50,148)`,`rgb(194,165,207)`,`rgb(166,219,160)`,`rgb(0,136,55)`],colors5:[`rgb(123,50,148)`,`rgb(194,165,207)`,`rgb(247,247,247)`,`rgb(166,219,160)`,`rgb(0,136,55)`],colors6:[`rgb(118,42,131)`,`rgb(175,141,195)`,`rgb(231,212,232)`,`rgb(217,240,211)`,`rgb(127,191,123)`,`rgb(27,120,55)`],colors7:[`rgb(118,42,131)`,`rgb(175,141,195)`,`rgb(231,212,232)`,`rgb(247,247,247)`,`rgb(217,240,211)`,`rgb(127,191,123)`,`rgb(27,120,55)`],colors8:[`rgb(118,42,131)`,`rgb(153,112,171)`,`rgb(194,165,207)`,`rgb(231,212,232)`,`rgb(217,240,211)`,`rgb(166,219,160)`,`rgb(90,174,97)`,`rgb(27,120,55)`],colors9:[`rgb(118,42,131)`,`rgb(153,112,171)`,`rgb(194,165,207)`,`rgb(231,212,232)`,`rgb(247,247,247)`,`rgb(217,240,211)`,`rgb(166,219,160)`,`rgb(90,174,97)`,`rgb(27,120,55)`],type:`divergent`},RdYlBu:{colors3:[`rgb(252,141,89)`,`rgb(255,255,191)`,`rgb(145,191,219)`],colors4:[`rgb(215,25,28)`,`rgb(253,174,97)`,`rgb(171,217,233)`,`rgb(44,123,182)`],colors5:[`rgb(215,25,28)`,`rgb(253,174,97)`,`rgb(255,255,191)`,`rgb(171,217,233)`,`rgb(44,123,182)`],colors6:[`rgb(215,48,39)`,`rgb(252,141,89)`,`rgb(254,224,144)`,`rgb(224,243,248)`,`rgb(145,191,219)`,`rgb(69,117,180)`],colors7:[`rgb(215,48,39)`,`rgb(252,141,89)`,`rgb(254,224,144)`,`rgb(255,255,191)`,`rgb(224,243,248)`,`rgb(145,191,219)`,`rgb(69,117,180)`],colors8:[`rgb(215,48,39)`,`rgb(244,109,67)`,`rgb(253,174,97)`,`rgb(254,224,144)`,`rgb(224,243,248)`,`rgb(171,217,233)`,`rgb(116,173,209)`,`rgb(69,117,180)`],colors9:[`rgb(215,48,39)`,`rgb(244,109,67)`,`rgb(253,174,97)`,`rgb(254,224,144)`,`rgb(255,255,191)`,`rgb(224,243,248)`,`rgb(171,217,233)`,`rgb(116,173,209)`,`rgb(69,117,180)`],type:`divergent`},BrBG:{colors3:[`rgb(216,179,101)`,`rgb(245,245,245)`,`rgb(90,180,172)`],colors4:[`rgb(166,97,26)`,`rgb(223,194,125)`,`rgb(128,205,193)`,`rgb(1,133,113)`],colors5:[`rgb(166,97,26)`,`rgb(223,194,125)`,`rgb(245,245,245)`,`rgb(128,205,193)`,`rgb(1,133,113)`],colors6:[`rgb(140,81,10)`,`rgb(216,179,101)`,`rgb(246,232,195)`,`rgb(199,234,229)`,`rgb(90,180,172)`,`rgb(1,102,94)`],colors7:[`rgb(140,81,10)`,`rgb(216,179,101)`,`rgb(246,232,195)`,`rgb(245,245,245)`,`rgb(199,234,229)`,`rgb(90,180,172)`,`rgb(1,102,94)`],colors8:[`rgb(140,81,10)`,`rgb(191,129,45)`,`rgb(223,194,125)`,`rgb(246,232,195)`,`rgb(199,234,229)`,`rgb(128,205,193)`,`rgb(53,151,143)`,`rgb(1,102,94)`],colors9:[`rgb(140,81,10)`,`rgb(191,129,45)`,`rgb(223,194,125)`,`rgb(246,232,195)`,`rgb(245,245,245)`,`rgb(199,234,229)`,`rgb(128,205,193)`,`rgb(53,151,143)`,`rgb(1,102,94)`],type:`divergent`},RdGy:{colors3:[`rgb(239,138,98)`,`rgb(255,255,255)`,`rgb(153,153,153)`],colors4:[`rgb(202,0,32)`,`rgb(244,165,130)`,`rgb(186,186,186)`,`rgb(64,64,64)`],colors5:[`rgb(202,0,32)`,`rgb(244,165,130)`,`rgb(255,255,255)`,`rgb(186,186,186)`,`rgb(64,64,64)`],colors6:[`rgb(178,24,43)`,`rgb(239,138,98)`,`rgb(253,219,199)`,`rgb(224,224,224)`,`rgb(153,153,153)`,`rgb(77,77,77)`],colors7:[`rgb(178,24,43)`,`rgb(239,138,98)`,`rgb(253,219,199)`,`rgb(255,255,255)`,`rgb(224,224,224)`,`rgb(153,153,153)`,`rgb(77,77,77)`],colors8:[`rgb(178,24,43)`,`rgb(214,96,77)`,`rgb(244,165,130)`,`rgb(253,219,199)`,`rgb(224,224,224)`,`rgb(186,186,186)`,`rgb(135,135,135)`,`rgb(77,77,77)`],colors9:[`rgb(178,24,43)`,`rgb(214,96,77)`,`rgb(244,165,130)`,`rgb(253,219,199)`,`rgb(255,255,255)`,`rgb(224,224,224)`,`rgb(186,186,186)`,`rgb(135,135,135)`,`rgb(77,77,77)`],type:`divergent`},PuOr:{colors3:[`rgb(241,163,64)`,`rgb(247,247,247)`,`rgb(153,142,195)`],colors4:[`rgb(230,97,1)`,`rgb(253,184,99)`,`rgb(178,171,210)`,`rgb(94,60,153)`],colors5:[`rgb(230,97,1)`,`rgb(253,184,99)`,`rgb(247,247,247)`,`rgb(178,171,210)`,`rgb(94,60,153)`],colors6:[`rgb(179,88,6)`,`rgb(241,163,64)`,`rgb(254,224,182)`,`rgb(216,218,235)`,`rgb(153,142,195)`,`rgb(84,39,136)`],colors7:[`rgb(179,88,6)`,`rgb(241,163,64)`,`rgb(254,224,182)`,`rgb(247,247,247)`,`rgb(216,218,235)`,`rgb(153,142,195)`,`rgb(84,39,136)`],colors8:[`rgb(179,88,6)`,`rgb(224,130,20)`,`rgb(253,184,99)`,`rgb(254,224,182)`,`rgb(216,218,235)`,`rgb(178,171,210)`,`rgb(128,115,172)`,`rgb(84,39,136)`],colors9:[`rgb(179,88,6)`,`rgb(224,130,20)`,`rgb(253,184,99)`,`rgb(254,224,182)`,`rgb(247,247,247)`,`rgb(216,218,235)`,`rgb(178,171,210)`,`rgb(128,115,172)`,`rgb(84,39,136)`],type:`divergent`},Paired:{colors3:[`rgb(166,206,227)`,`rgb(31,120,180)`,`rgb(178,223,138)`],colors4:[`rgb(166,206,227)`,`rgb(31,120,180)`,`rgb(178,223,138)`,`rgb(51,160,44)`],colors5:[`rgb(166,206,227)`,`rgb(31,120,180)`,`rgb(178,223,138)`,`rgb(51,160,44)`,`rgb(251,154,153)`],colors6:[`rgb(166,206,227)`,`rgb(31,120,180)`,`rgb(178,223,138)`,`rgb(51,160,44)`,`rgb(251,154,153)`,`rgb(227,26,28)`],colors7:[`rgb(166,206,227)`,`rgb(31,120,180)`,`rgb(178,223,138)`,`rgb(51,160,44)`,`rgb(251,154,153)`,`rgb(227,26,28)`,`rgb(253,191,111)`],colors8:[`rgb(166,206,227)`,`rgb(31,120,180)`,`rgb(178,223,138)`,`rgb(51,160,44)`,`rgb(251,154,153)`,`rgb(227,26,28)`,`rgb(253,191,111)`,`rgb(255,127,0)`],colors9:[`rgb(166,206,227)`,`rgb(31,120,180)`,`rgb(178,223,138)`,`rgb(51,160,44)`,`rgb(251,154,153)`,`rgb(227,26,28)`,`rgb(253,191,111)`,`rgb(255,127,0)`,`rgb(202,178,214)`],colors10:[`rgb(166,206,227)`,`rgb(31,120,180)`,`rgb(178,223,138)`,`rgb(51,160,44)`,`rgb(251,154,153)`,`rgb(227,26,28)`,`rgb(253,191,111)`,`rgb(255,127,0)`,`rgb(202,178,214)`,`rgb(106,61,154)`],colors11:[`rgb(166,206,227)`,`rgb(31,120,180)`,`rgb(178,223,138)`,`rgb(51,160,44)`,`rgb(251,154,153)`,`rgb(227,26,28)`,`rgb(253,191,111)`,`rgb(255,127,0)`,`rgb(202,178,214)`,`rgb(106,61,154)`,`rgb(255,255,153)`],colors12:[`rgb(166,206,227)`,`rgb(31,120,180)`,`rgb(178,223,138)`,`rgb(51,160,44)`,`rgb(251,154,153)`,`rgb(227,26,28)`,`rgb(253,191,111)`,`rgb(255,127,0)`,`rgb(202,178,214)`,`rgb(106,61,154)`,`rgb(255,255,153)`,`rgb(177,89,40)`],type:`qualitative`},Set1:{colors3:[`rgb(228,26,28)`,`rgb(55,126,184)`,`rgb(77,175,74)`],colors4:[`rgb(228,26,28)`,`rgb(55,126,184)`,`rgb(77,175,74)`,`rgb(152,78,163)`],colors5:[`rgb(228,26,28)`,`rgb(55,126,184)`,`rgb(77,175,74)`,`rgb(152,78,163)`,`rgb(255,127,0)`],colors6:[`rgb(228,26,28)`,`rgb(55,126,184)`,`rgb(77,175,74)`,`rgb(152,78,163)`,`rgb(255,127,0)`,`rgb(255,255,51)`],colors7:[`rgb(228,26,28)`,`rgb(55,126,184)`,`rgb(77,175,74)`,`rgb(152,78,163)`,`rgb(255,127,0)`,`rgb(255,255,51)`,`rgb(166,86,40)`],colors8:[`rgb(228,26,28)`,`rgb(55,126,184)`,`rgb(77,175,74)`,`rgb(152,78,163)`,`rgb(255,127,0)`,`rgb(255,255,51)`,`rgb(166,86,40)`,`rgb(247,129,191)`],colors9:[`rgb(228,26,28)`,`rgb(55,126,184)`,`rgb(77,175,74)`,`rgb(152,78,163)`,`rgb(255,127,0)`,`rgb(255,255,51)`,`rgb(166,86,40)`,`rgb(247,129,191)`,`rgb(153,153,153)`],type:`qualitative`},Set3:{colors3:[`rgb(141,211,199)`,`rgb(255,255,179)`,`rgb(190,186,218)`],colors4:[`rgb(141,211,199)`,`rgb(255,255,179)`,`rgb(190,186,218)`,`rgb(251,128,114)`],colors5:[`rgb(141,211,199)`,`rgb(255,255,179)`,`rgb(190,186,218)`,`rgb(251,128,114)`,`rgb(128,177,211)`],colors6:[`rgb(141,211,199)`,`rgb(255,255,179)`,`rgb(190,186,218)`,`rgb(251,128,114)`,`rgb(128,177,211)`,`rgb(253,180,98)`],colors7:[`rgb(141,211,199)`,`rgb(255,255,179)`,`rgb(190,186,218)`,`rgb(251,128,114)`,`rgb(128,177,211)`,`rgb(253,180,98)`,`rgb(179,222,105)`],colors8:[`rgb(141,211,199)`,`rgb(255,255,179)`,`rgb(190,186,218)`,`rgb(251,128,114)`,`rgb(128,177,211)`,`rgb(253,180,98)`,`rgb(179,222,105)`,`rgb(252,205,229)`],colors9:[`rgb(141,211,199)`,`rgb(255,255,179)`,`rgb(190,186,218)`,`rgb(251,128,114)`,`rgb(128,177,211)`,`rgb(253,180,98)`,`rgb(179,222,105)`,`rgb(252,205,229)`,`rgb(217,217,217)`],colors10:[`rgb(141,211,199)`,`rgb(255,255,179)`,`rgb(190,186,218)`,`rgb(251,128,114)`,`rgb(128,177,211)`,`rgb(253,180,98)`,`rgb(179,222,105)`,`rgb(252,205,229)`,`rgb(217,217,217)`,`rgb(188,128,189)`],colors11:[`rgb(141,211,199)`,`rgb(255,255,179)`,`rgb(190,186,218)`,`rgb(251,128,114)`,`rgb(128,177,211)`,`rgb(253,180,98)`,`rgb(179,222,105)`,`rgb(252,205,229)`,`rgb(217,217,217)`,`rgb(188,128,189)`,`rgb(204,235,197)`],colors12:[`rgb(141,211,199)`,`rgb(255,255,179)`,`rgb(190,186,218)`,`rgb(251,128,114)`,`rgb(128,177,211)`,`rgb(253,180,98)`,`rgb(179,222,105)`,`rgb(252,205,229)`,`rgb(217,217,217)`,`rgb(188,128,189)`,`rgb(204,235,197)`,`rgb(255,237,111)`],type:`qualitative`},PuBu:{colors3:[`rgb(236,231,242)`,`rgb(166,189,219)`,`rgb(43,140,190)`],colors4:[`rgb(241,238,246)`,`rgb(189,201,225)`,`rgb(116,169,207)`,`rgb(5,112,176)`],colors5:[`rgb(241,238,246)`,`rgb(189,201,225)`,`rgb(116,169,207)`,`rgb(43,140,190)`,`rgb(4,90,141)`],colors6:[`rgb(241,238,246)`,`rgb(208,209,230)`,`rgb(166,189,219)`,`rgb(116,169,207)`,`rgb(43,140,190)`,`rgb(4,90,141)`],colors7:[`rgb(241,238,246)`,`rgb(208,209,230)`,`rgb(166,189,219)`,`rgb(116,169,207)`,`rgb(54,144,192)`,`rgb(5,112,176)`,`rgb(3,78,123)`],colors8:[`rgb(255,247,251)`,`rgb(236,231,242)`,`rgb(208,209,230)`,`rgb(166,189,219)`,`rgb(116,169,207)`,`rgb(54,144,192)`,`rgb(5,112,176)`,`rgb(3,78,123)`],colors9:[`rgb(255,247,251)`,`rgb(236,231,242)`,`rgb(208,209,230)`,`rgb(166,189,219)`,`rgb(116,169,207)`,`rgb(54,144,192)`,`rgb(5,112,176)`,`rgb(4,90,141)`,`rgb(2,56,88)`],type:`sequential`},OrRd:{colors3:[`rgb(254,232,200)`,`rgb(253,187,132)`,`rgb(227,74,51)`],colors4:[`rgb(254,240,217)`,`rgb(253,204,138)`,`rgb(252,141,89)`,`rgb(215,48,31)`],colors5:[`rgb(254,240,217)`,`rgb(253,204,138)`,`rgb(252,141,89)`,`rgb(227,74,51)`,`rgb(179,0,0)`],colors6:[`rgb(254,240,217)`,`rgb(253,212,158)`,`rgb(253,187,132)`,`rgb(252,141,89)`,`rgb(227,74,51)`,`rgb(179,0,0)`],colors7:[`rgb(254,240,217)`,`rgb(253,212,158)`,`rgb(253,187,132)`,`rgb(252,141,89)`,`rgb(239,101,72)`,`rgb(215,48,31)`,`rgb(153,0,0)`],colors8:[`rgb(255,247,236)`,`rgb(254,232,200)`,`rgb(253,212,158)`,`rgb(253,187,132)`,`rgb(252,141,89)`,`rgb(239,101,72)`,`rgb(215,48,31)`,`rgb(153,0,0)`],colors9:[`rgb(255,247,236)`,`rgb(254,232,200)`,`rgb(253,212,158)`,`rgb(253,187,132)`,`rgb(252,141,89)`,`rgb(239,101,72)`,`rgb(215,48,31)`,`rgb(179,0,0)`,`rgb(127,0,0)`],type:`sequential`},BuPu:{colors3:[`rgb(224,236,244)`,`rgb(158,188,218)`,`rgb(136,86,167)`],colors4:[`rgb(237,248,251)`,`rgb(179,205,227)`,`rgb(140,150,198)`,`rgb(136,65,157)`],colors5:[`rgb(237,248,251)`,`rgb(179,205,227)`,`rgb(140,150,198)`,`rgb(136,86,167)`,`rgb(129,15,124)`],colors6:[`rgb(237,248,251)`,`rgb(191,211,230)`,`rgb(158,188,218)`,`rgb(140,150,198)`,`rgb(136,86,167)`,`rgb(129,15,124)`],colors7:[`rgb(237,248,251)`,`rgb(191,211,230)`,`rgb(158,188,218)`,`rgb(140,150,198)`,`rgb(140,107,177)`,`rgb(136,65,157)`,`rgb(110,1,107)`],colors8:[`rgb(247,252,253)`,`rgb(224,236,244)`,`rgb(191,211,230)`,`rgb(158,188,218)`,`rgb(140,150,198)`,`rgb(140,107,177)`,`rgb(136,65,157)`,`rgb(110,1,107)`],colors9:[`rgb(247,252,253)`,`rgb(224,236,244)`,`rgb(191,211,230)`,`rgb(158,188,218)`,`rgb(140,150,198)`,`rgb(140,107,177)`,`rgb(136,65,157)`,`rgb(129,15,124)`,`rgb(77,0,75)`],type:`sequential`},Oranges:{colors3:[`rgb(254,230,206)`,`rgb(253,174,107)`,`rgb(230,85,13)`],colors4:[`rgb(254,237,222)`,`rgb(253,190,133)`,`rgb(253,141,60)`,`rgb(217,71,1)`],colors5:[`rgb(254,237,222)`,`rgb(253,190,133)`,`rgb(253,141,60)`,`rgb(230,85,13)`,`rgb(166,54,3)`],colors6:[`rgb(254,237,222)`,`rgb(253,208,162)`,`rgb(253,174,107)`,`rgb(253,141,60)`,`rgb(230,85,13)`,`rgb(166,54,3)`],colors7:[`rgb(254,237,222)`,`rgb(253,208,162)`,`rgb(253,174,107)`,`rgb(253,141,60)`,`rgb(241,105,19)`,`rgb(217,72,1)`,`rgb(140,45,4)`],colors8:[`rgb(255,245,235)`,`rgb(254,230,206)`,`rgb(253,208,162)`,`rgb(253,174,107)`,`rgb(253,141,60)`,`rgb(241,105,19)`,`rgb(217,72,1)`,`rgb(140,45,4)`],colors9:[`rgb(255,245,235)`,`rgb(254,230,206)`,`rgb(253,208,162)`,`rgb(253,174,107)`,`rgb(253,141,60)`,`rgb(241,105,19)`,`rgb(217,72,1)`,`rgb(166,54,3)`,`rgb(127,39,4)`],type:`sequential`},BuGn:{colors3:[`rgb(229,245,249)`,`rgb(153,216,201)`,`rgb(44,162,95)`],colors4:[`rgb(237,248,251)`,`rgb(178,226,226)`,`rgb(102,194,164)`,`rgb(35,139,69)`],colors5:[`rgb(237,248,251)`,`rgb(178,226,226)`,`rgb(102,194,164)`,`rgb(44,162,95)`,`rgb(0,109,44)`],colors6:[`rgb(237,248,251)`,`rgb(204,236,230)`,`rgb(153,216,201)`,`rgb(102,194,164)`,`rgb(44,162,95)`,`rgb(0,109,44)`],colors7:[`rgb(237,248,251)`,`rgb(204,236,230)`,`rgb(153,216,201)`,`rgb(102,194,164)`,`rgb(65,174,118)`,`rgb(35,139,69)`,`rgb(0,88,36)`],colors8:[`rgb(247,252,253)`,`rgb(229,245,249)`,`rgb(204,236,230)`,`rgb(153,216,201)`,`rgb(102,194,164)`,`rgb(65,174,118)`,`rgb(35,139,69)`,`rgb(0,88,36)`],colors9:[`rgb(247,252,253)`,`rgb(229,245,249)`,`rgb(204,236,230)`,`rgb(153,216,201)`,`rgb(102,194,164)`,`rgb(65,174,118)`,`rgb(35,139,69)`,`rgb(0,109,44)`,`rgb(0,68,27)`],type:`sequential`},YlOrBr:{colors3:[`rgb(255,247,188)`,`rgb(254,196,79)`,`rgb(217,95,14)`],colors4:[`rgb(255,255,212)`,`rgb(254,217,142)`,`rgb(254,153,41)`,`rgb(204,76,2)`],colors5:[`rgb(255,255,212)`,`rgb(254,217,142)`,`rgb(254,153,41)`,`rgb(217,95,14)`,`rgb(153,52,4)`],colors6:[`rgb(255,255,212)`,`rgb(254,227,145)`,`rgb(254,196,79)`,`rgb(254,153,41)`,`rgb(217,95,14)`,`rgb(153,52,4)`],colors7:[`rgb(255,255,212)`,`rgb(254,227,145)`,`rgb(254,196,79)`,`rgb(254,153,41)`,`rgb(236,112,20)`,`rgb(204,76,2)`,`rgb(140,45,4)`],colors8:[`rgb(255,255,229)`,`rgb(255,247,188)`,`rgb(254,227,145)`,`rgb(254,196,79)`,`rgb(254,153,41)`,`rgb(236,112,20)`,`rgb(204,76,2)`,`rgb(140,45,4)`],colors9:[`rgb(255,255,229)`,`rgb(255,247,188)`,`rgb(254,227,145)`,`rgb(254,196,79)`,`rgb(254,153,41)`,`rgb(236,112,20)`,`rgb(204,76,2)`,`rgb(153,52,4)`,`rgb(102,37,6)`],type:`sequential`},YlGn:{colors3:[`rgb(247,252,185)`,`rgb(173,221,142)`,`rgb(49,163,84)`],colors4:[`rgb(255,255,204)`,`rgb(194,230,153)`,`rgb(120,198,121)`,`rgb(35,132,67)`],colors5:[`rgb(255,255,204)`,`rgb(194,230,153)`,`rgb(120,198,121)`,`rgb(49,163,84)`,`rgb(0,104,55)`],colors6:[`rgb(255,255,204)`,`rgb(217,240,163)`,`rgb(173,221,142)`,`rgb(120,198,121)`,`rgb(49,163,84)`,`rgb(0,104,55)`],colors7:[`rgb(255,255,204)`,`rgb(217,240,163)`,`rgb(173,221,142)`,`rgb(120,198,121)`,`rgb(65,171,93)`,`rgb(35,132,67)`,`rgb(0,90,50)`],colors8:[`rgb(255,255,229)`,`rgb(247,252,185)`,`rgb(217,240,163)`,`rgb(173,221,142)`,`rgb(120,198,121)`,`rgb(65,171,93)`,`rgb(35,132,67)`,`rgb(0,90,50)`],colors9:[`rgb(255,255,229)`,`rgb(247,252,185)`,`rgb(217,240,163)`,`rgb(173,221,142)`,`rgb(120,198,121)`,`rgb(65,171,93)`,`rgb(35,132,67)`,`rgb(0,104,55)`,`rgb(0,69,41)`],type:`sequential`},Reds:{colors3:[`rgb(254,224,210)`,`rgb(252,146,114)`,`rgb(222,45,38)`],colors4:[`rgb(254,229,217)`,`rgb(252,174,145)`,`rgb(251,106,74)`,`rgb(203,24,29)`],colors5:[`rgb(254,229,217)`,`rgb(252,174,145)`,`rgb(251,106,74)`,`rgb(222,45,38)`,`rgb(165,15,21)`],colors6:[`rgb(254,229,217)`,`rgb(252,187,161)`,`rgb(252,146,114)`,`rgb(251,106,74)`,`rgb(222,45,38)`,`rgb(165,15,21)`],colors7:[`rgb(254,229,217)`,`rgb(252,187,161)`,`rgb(252,146,114)`,`rgb(251,106,74)`,`rgb(239,59,44)`,`rgb(203,24,29)`,`rgb(153,0,13)`],colors8:[`rgb(255,245,240)`,`rgb(254,224,210)`,`rgb(252,187,161)`,`rgb(252,146,114)`,`rgb(251,106,74)`,`rgb(239,59,44)`,`rgb(203,24,29)`,`rgb(153,0,13)`],colors9:[`rgb(255,245,240)`,`rgb(254,224,210)`,`rgb(252,187,161)`,`rgb(252,146,114)`,`rgb(251,106,74)`,`rgb(239,59,44)`,`rgb(203,24,29)`,`rgb(165,15,21)`,`rgb(103,0,13)`],type:`sequential`},RdPu:{colors3:[`rgb(253,224,221)`,`rgb(250,159,181)`,`rgb(197,27,138)`],colors4:[`rgb(254,235,226)`,`rgb(251,180,185)`,`rgb(247,104,161)`,`rgb(174,1,126)`],colors5:[`rgb(254,235,226)`,`rgb(251,180,185)`,`rgb(247,104,161)`,`rgb(197,27,138)`,`rgb(122,1,119)`],colors6:[`rgb(254,235,226)`,`rgb(252,197,192)`,`rgb(250,159,181)`,`rgb(247,104,161)`,`rgb(197,27,138)`,`rgb(122,1,119)`],colors7:[`rgb(254,235,226)`,`rgb(252,197,192)`,`rgb(250,159,181)`,`rgb(247,104,161)`,`rgb(221,52,151)`,`rgb(174,1,126)`,`rgb(122,1,119)`],colors8:[`rgb(255,247,243)`,`rgb(253,224,221)`,`rgb(252,197,192)`,`rgb(250,159,181)`,`rgb(247,104,161)`,`rgb(221,52,151)`,`rgb(174,1,126)`,`rgb(122,1,119)`],colors9:[`rgb(255,247,243)`,`rgb(253,224,221)`,`rgb(252,197,192)`,`rgb(250,159,181)`,`rgb(247,104,161)`,`rgb(221,52,151)`,`rgb(174,1,126)`,`rgb(122,1,119)`,`rgb(73,0,106)`],type:`sequential`},Greens:{colors3:[`rgb(229,245,224)`,`rgb(161,217,155)`,`rgb(49,163,84)`],colors4:[`rgb(237,248,233)`,`rgb(186,228,179)`,`rgb(116,196,118)`,`rgb(35,139,69)`],colors5:[`rgb(237,248,233)`,`rgb(186,228,179)`,`rgb(116,196,118)`,`rgb(49,163,84)`,`rgb(0,109,44)`],colors6:[`rgb(237,248,233)`,`rgb(199,233,192)`,`rgb(161,217,155)`,`rgb(116,196,118)`,`rgb(49,163,84)`,`rgb(0,109,44)`],colors7:[`rgb(237,248,233)`,`rgb(199,233,192)`,`rgb(161,217,155)`,`rgb(116,196,118)`,`rgb(65,171,93)`,`rgb(35,139,69)`,`rgb(0,90,50)`],colors8:[`rgb(247,252,245)`,`rgb(229,245,224)`,`rgb(199,233,192)`,`rgb(161,217,155)`,`rgb(116,196,118)`,`rgb(65,171,93)`,`rgb(35,139,69)`,`rgb(0,90,50)`],colors9:[`rgb(247,252,245)`,`rgb(229,245,224)`,`rgb(199,233,192)`,`rgb(161,217,155)`,`rgb(116,196,118)`,`rgb(65,171,93)`,`rgb(35,139,69)`,`rgb(0,109,44)`,`rgb(0,68,27)`],type:`sequential`},YlGnBu:{colors3:[`rgb(237,248,177)`,`rgb(127,205,187)`,`rgb(44,127,184)`],colors4:[`rgb(255,255,204)`,`rgb(161,218,180)`,`rgb(65,182,196)`,`rgb(34,94,168)`],colors5:[`rgb(255,255,204)`,`rgb(161,218,180)`,`rgb(65,182,196)`,`rgb(44,127,184)`,`rgb(37,52,148)`],colors6:[`rgb(255,255,204)`,`rgb(199,233,180)`,`rgb(127,205,187)`,`rgb(65,182,196)`,`rgb(44,127,184)`,`rgb(37,52,148)`],colors7:[`rgb(255,255,204)`,`rgb(199,233,180)`,`rgb(127,205,187)`,`rgb(65,182,196)`,`rgb(29,145,192)`,`rgb(34,94,168)`,`rgb(12,44,132)`],colors8:[`rgb(255,255,217)`,`rgb(237,248,177)`,`rgb(199,233,180)`,`rgb(127,205,187)`,`rgb(65,182,196)`,`rgb(29,145,192)`,`rgb(34,94,168)`,`rgb(12,44,132)`],colors9:[`rgb(255,255,217)`,`rgb(237,248,177)`,`rgb(199,233,180)`,`rgb(127,205,187)`,`rgb(65,182,196)`,`rgb(29,145,192)`,`rgb(34,94,168)`,`rgb(37,52,148)`,`rgb(8,29,88)`],type:`sequential`},Purples:{colors3:[`rgb(239,237,245)`,`rgb(188,189,220)`,`rgb(117,107,177)`],colors4:[`rgb(242,240,247)`,`rgb(203,201,226)`,`rgb(158,154,200)`,`rgb(106,81,163)`],colors5:[`rgb(242,240,247)`,`rgb(203,201,226)`,`rgb(158,154,200)`,`rgb(117,107,177)`,`rgb(84,39,143)`],colors6:[`rgb(242,240,247)`,`rgb(218,218,235)`,`rgb(188,189,220)`,`rgb(158,154,200)`,`rgb(117,107,177)`,`rgb(84,39,143)`],colors7:[`rgb(242,240,247)`,`rgb(218,218,235)`,`rgb(188,189,220)`,`rgb(158,154,200)`,`rgb(128,125,186)`,`rgb(106,81,163)`,`rgb(74,20,134)`],colors8:[`rgb(252,251,253)`,`rgb(239,237,245)`,`rgb(218,218,235)`,`rgb(188,189,220)`,`rgb(158,154,200)`,`rgb(128,125,186)`,`rgb(106,81,163)`,`rgb(74,20,134)`],colors9:[`rgb(252,251,253)`,`rgb(239,237,245)`,`rgb(218,218,235)`,`rgb(188,189,220)`,`rgb(158,154,200)`,`rgb(128,125,186)`,`rgb(106,81,163)`,`rgb(84,39,143)`,`rgb(63,0,125)`],type:`sequential`},GnBu:{colors3:[`rgb(224,243,219)`,`rgb(168,221,181)`,`rgb(67,162,202)`],colors4:[`rgb(240,249,232)`,`rgb(186,228,188)`,`rgb(123,204,196)`,`rgb(43,140,190)`],colors5:[`rgb(240,249,232)`,`rgb(186,228,188)`,`rgb(123,204,196)`,`rgb(67,162,202)`,`rgb(8,104,172)`],colors6:[`rgb(240,249,232)`,`rgb(204,235,197)`,`rgb(168,221,181)`,`rgb(123,204,196)`,`rgb(67,162,202)`,`rgb(8,104,172)`],colors7:[`rgb(240,249,232)`,`rgb(204,235,197)`,`rgb(168,221,181)`,`rgb(123,204,196)`,`rgb(78,179,211)`,`rgb(43,140,190)`,`rgb(8,88,158)`],colors8:[`rgb(247,252,240)`,`rgb(224,243,219)`,`rgb(204,235,197)`,`rgb(168,221,181)`,`rgb(123,204,196)`,`rgb(78,179,211)`,`rgb(43,140,190)`,`rgb(8,88,158)`],colors9:[`rgb(247,252,240)`,`rgb(224,243,219)`,`rgb(204,235,197)`,`rgb(168,221,181)`,`rgb(123,204,196)`,`rgb(78,179,211)`,`rgb(43,140,190)`,`rgb(8,104,172)`,`rgb(8,64,129)`],type:`sequential`},Greys:{colors3:[`rgb(240,240,240)`,`rgb(189,189,189)`,`rgb(99,99,99)`],colors4:[`rgb(247,247,247)`,`rgb(204,204,204)`,`rgb(150,150,150)`,`rgb(82,82,82)`],colors5:[`rgb(247,247,247)`,`rgb(204,204,204)`,`rgb(150,150,150)`,`rgb(99,99,99)`,`rgb(37,37,37)`],colors6:[`rgb(247,247,247)`,`rgb(217,217,217)`,`rgb(189,189,189)`,`rgb(150,150,150)`,`rgb(99,99,99)`,`rgb(37,37,37)`],colors7:[`rgb(247,247,247)`,`rgb(217,217,217)`,`rgb(189,189,189)`,`rgb(150,150,150)`,`rgb(115,115,115)`,`rgb(82,82,82)`,`rgb(37,37,37)`],colors8:[`rgb(255,255,255)`,`rgb(240,240,240)`,`rgb(217,217,217)`,`rgb(189,189,189)`,`rgb(150,150,150)`,`rgb(115,115,115)`,`rgb(82,82,82)`,`rgb(37,37,37)`],colors9:[`rgb(255,255,255)`,`rgb(240,240,240)`,`rgb(217,217,217)`,`rgb(189,189,189)`,`rgb(150,150,150)`,`rgb(115,115,115)`,`rgb(82,82,82)`,`rgb(37,37,37)`,`rgb(0,0,0)`],type:`sequential`},YlOrRd:{colors3:[`rgb(255,237,160)`,`rgb(254,178,76)`,`rgb(240,59,32)`],colors4:[`rgb(255,255,178)`,`rgb(254,204,92)`,`rgb(253,141,60)`,`rgb(227,26,28)`],colors5:[`rgb(255,255,178)`,`rgb(254,204,92)`,`rgb(253,141,60)`,`rgb(240,59,32)`,`rgb(189,0,38)`],colors6:[`rgb(255,255,178)`,`rgb(254,217,118)`,`rgb(254,178,76)`,`rgb(253,141,60)`,`rgb(240,59,32)`,`rgb(189,0,38)`],colors7:[`rgb(255,255,178)`,`rgb(254,217,118)`,`rgb(254,178,76)`,`rgb(253,141,60)`,`rgb(252,78,42)`,`rgb(227,26,28)`,`rgb(177,0,38)`],colors8:[`rgb(255,255,204)`,`rgb(255,237,160)`,`rgb(254,217,118)`,`rgb(254,178,76)`,`rgb(253,141,60)`,`rgb(252,78,42)`,`rgb(227,26,28)`,`rgb(177,0,38)`],colors9:[`rgb(255,255,204)`,`rgb(255,237,160)`,`rgb(254,217,118)`,`rgb(254,178,76)`,`rgb(253,141,60)`,`rgb(252,78,42)`,`rgb(227,26,28)`,`rgb(189,0,38)`,`rgb(128,0,38)`],type:`sequential`},PuRd:{colors3:[`rgb(231,225,239)`,`rgb(201,148,199)`,`rgb(221,28,119)`],colors4:[`rgb(241,238,246)`,`rgb(215,181,216)`,`rgb(223,101,176)`,`rgb(206,18,86)`],colors5:[`rgb(241,238,246)`,`rgb(215,181,216)`,`rgb(223,101,176)`,`rgb(221,28,119)`,`rgb(152,0,67)`],colors6:[`rgb(241,238,246)`,`rgb(212,185,218)`,`rgb(201,148,199)`,`rgb(223,101,176)`,`rgb(221,28,119)`,`rgb(152,0,67)`],colors7:[`rgb(241,238,246)`,`rgb(212,185,218)`,`rgb(201,148,199)`,`rgb(223,101,176)`,`rgb(231,41,138)`,`rgb(206,18,86)`,`rgb(145,0,63)`],colors8:[`rgb(247,244,249)`,`rgb(231,225,239)`,`rgb(212,185,218)`,`rgb(201,148,199)`,`rgb(223,101,176)`,`rgb(231,41,138)`,`rgb(206,18,86)`,`rgb(145,0,63)`],colors9:[`rgb(247,244,249)`,`rgb(231,225,239)`,`rgb(212,185,218)`,`rgb(201,148,199)`,`rgb(223,101,176)`,`rgb(231,41,138)`,`rgb(206,18,86)`,`rgb(152,0,67)`,`rgb(103,0,31)`],type:`sequential`},Blues:{colors3:[`rgb(222,235,247)`,`rgb(158,202,225)`,`rgb(49,130,189)`],colors4:[`rgb(239,243,255)`,`rgb(189,215,231)`,`rgb(107,174,214)`,`rgb(33,113,181)`],colors5:[`rgb(239,243,255)`,`rgb(189,215,231)`,`rgb(107,174,214)`,`rgb(49,130,189)`,`rgb(8,81,156)`],colors6:[`rgb(239,243,255)`,`rgb(198,219,239)`,`rgb(158,202,225)`,`rgb(107,174,214)`,`rgb(49,130,189)`,`rgb(8,81,156)`],colors7:[`rgb(239,243,255)`,`rgb(198,219,239)`,`rgb(158,202,225)`,`rgb(107,174,214)`,`rgb(66,146,198)`,`rgb(33,113,181)`,`rgb(8,69,148)`],colors8:[`rgb(247,251,255)`,`rgb(222,235,247)`,`rgb(198,219,239)`,`rgb(158,202,225)`,`rgb(107,174,214)`,`rgb(66,146,198)`,`rgb(33,113,181)`,`rgb(8,69,148)`],colors9:[`rgb(247,251,255)`,`rgb(222,235,247)`,`rgb(198,219,239)`,`rgb(158,202,225)`,`rgb(107,174,214)`,`rgb(66,146,198)`,`rgb(33,113,181)`,`rgb(8,81,156)`,`rgb(8,48,107)`],type:`sequential`},PuBuGn:{colors3:[`rgb(236,226,240)`,`rgb(166,189,219)`,`rgb(28,144,153)`],colors4:[`rgb(246,239,247)`,`rgb(189,201,225)`,`rgb(103,169,207)`,`rgb(2,129,138)`],colors5:[`rgb(246,239,247)`,`rgb(189,201,225)`,`rgb(103,169,207)`,`rgb(28,144,153)`,`rgb(1,108,89)`],colors6:[`rgb(246,239,247)`,`rgb(208,209,230)`,`rgb(166,189,219)`,`rgb(103,169,207)`,`rgb(28,144,153)`,`rgb(1,108,89)`],colors7:[`rgb(246,239,247)`,`rgb(208,209,230)`,`rgb(166,189,219)`,`rgb(103,169,207)`,`rgb(54,144,192)`,`rgb(2,129,138)`,`rgb(1,100,80)`],colors8:[`rgb(255,247,251)`,`rgb(236,226,240)`,`rgb(208,209,230)`,`rgb(166,189,219)`,`rgb(103,169,207)`,`rgb(54,144,192)`,`rgb(2,129,138)`,`rgb(1,100,80)`],colors9:[`rgb(255,247,251)`,`rgb(236,226,240)`,`rgb(208,209,230)`,`rgb(166,189,219)`,`rgb(103,169,207)`,`rgb(54,144,192)`,`rgb(2,129,138)`,`rgb(1,108,89)`,`rgb(1,70,54)`],type:`sequential`},Spectrum:{colors5:[`rgb(0,0,255)`,`rgb(0,255,255)`,`rgb(0,255,0)`,`rgb(255,255,0)`,`rgb(255,0,0)`],type:`heat`},BlueRed:{colors5:[`rgb(0,0,255)`,`rgb(64,0,191)`,`rgb(128,0,128)`,`rgb(191,0,64)`,`rgb(255,0,0)`],type:`heat`},Plasma:{colors5:[`rgb(0,0,140)`,`rgb(140,0,160)`,`rgb(200,80,110)`,`rgb(255,160,60)`,`rgb(255,255,0)`],type:`heat`},Viris:{colors5:[`rgb(80,0,80)`,`rgb(60,80,140)`,`rgb(30,140,140)`,`rgb(80,200,100)`,`rgb(255,255,0)`],type:`heat`},Incan:{colors5:[`rgb(0,0,0)`,`rgb(100, 0, 0)`,`rgb(200, 150, 0)`,`rgb(255, 255, 70)`,`rgb(255,255,255)`],type:`heat`},Fire:{colors5:[`rgb(0,0,0)`,`rgb(128,0,128)`,`rgb(255,0,0)`,`rgb(255,255,0)`,`rgb(255,255,255)`],type:`heat`},Inferno:{colors5:[`rgb(0,0,0)`,`rgb(80,20,110)`,`rgb(190,60,80)`,`rgb(255,140,0)`,`rgb(255,255,160)`],type:`heat`},Ocean:{colors5:[`rgb(0,0,0)`,`rgb(25,50,100)`,`rgb(50,100,160)`,`rgb(20,170,200)`,`rgb(0,255,255)`],type:`heat`},Sunrise:{colors5:[`rgb(255,0,0)`,`rgb(255,80,0)`,`rgb(255,180,0)`,`rgb(255,255,20)`,`rgb(255,255,255)`],type:`heat`}}}var a=`.luzmo-item-option{align-items:start;height:fit-content}.control-container{align-items:start}.color-classes{gap:var(--luzmo-spacing-2);flex-flow:wrap;display:flex}.extra-label{height:var(--luzmo-item-option-component-height,var(--item-option-component-height));align-items:center;display:flex}`,o=class extends t.t{constructor(...e){super(...e),this.default=`OrRd`,this.values=[],this.disabled=!1,this.horizontal=!1,this.numberOfColors=5}static{this.styles=[super.styles,(0,n.unsafeCSS)(a)]}_setColorPalette(e){let t=e.target.selected;this.value=t,this.dispatchEvent(new CustomEvent(`luzmo-option-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue==`function`?this.toValue(t??``):t}}))}generateColorsClasses(e){let t=i(),r=(e,t)=>n.html`
|
|
21
|
+
<luzmo-color-palette
|
|
22
|
+
.size=${this.size}
|
|
23
|
+
.value=${e}
|
|
24
|
+
aria-label=${e}
|
|
25
|
+
?disabled=${this.disabled}
|
|
26
|
+
?horizontal=${this.horizontal}
|
|
27
|
+
.colors=${t}
|
|
28
|
+
></luzmo-color-palette>
|
|
29
|
+
`,a=(this.values??[]).map(e=>{let n=`colors${this.numberOfColors??5}`,i=t[e][n];return r(e,Array.isArray(i)?i:[])});return n.html`
|
|
30
|
+
<luzmo-color-palette-group
|
|
31
|
+
id="luzmo-item-option-control"
|
|
32
|
+
role="radiogroup"
|
|
33
|
+
.size=${this.size}
|
|
34
|
+
?disabled=${this.disabled}
|
|
35
|
+
?horizontal=${this.horizontal}
|
|
36
|
+
.selected=${e}
|
|
37
|
+
@change=${this._setColorPalette.bind(this)}
|
|
38
|
+
>${a}</luzmo-color-palette-group
|
|
39
|
+
>
|
|
40
|
+
`}renderController(){let e=typeof this.parseValue==`function`?this.parseValue(this.value):this.value,t=typeof this.parseValue==`function`?this.parseValue(this.default):this.default;return this.generateColorsClasses(e??t??`OrRd`)}};e.t([(0,r.property)({type:String,reflect:!0})],o.prototype,`value`,void 0),e.t([(0,r.property)({type:String,reflect:!0})],o.prototype,`default`,void 0),e.t([(0,r.property)({type:Array,attribute:`values`})],o.prototype,`values`,void 0),e.t([(0,r.property)({type:Boolean,reflect:!0})],o.prototype,`disabled`,void 0),e.t([(0,r.property)({type:Boolean,reflect:!0})],o.prototype,`horizontal`,void 0),e.t([(0,r.property)()],o.prototype,`parseValue`,void 0),e.t([(0,r.property)()],o.prototype,`toValue`,void 0),e.t([(0,r.property)({type:Number,attribute:`number-of-colors`})],o.prototype,`numberOfColors`,void 0),customElements.get(`luzmo-item-option-color-palette-picker`)||customElements.define(`luzmo-item-option-color-palette-picker`,o),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -17,8 +17,9 @@
|
|
|
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 "./tokens-Ov1pCR4Y.js";
|
|
20
21
|
import { t as e } from "./decorate-DyMgX_Uh.js";
|
|
21
|
-
import { t } from "./item-option-base-
|
|
22
|
+
import { t } from "./item-option-base-DJ9FLqmu.js";
|
|
22
23
|
import { html as n, unsafeCSS as r } from "lit";
|
|
23
24
|
import { property as i } from "lit/decorators.js";
|
|
24
25
|
import "@luzmo/lucero/color-palette";
|
|
@@ -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
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../item-option-color-picker-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../item-option-color-picker-ayYko5QB.cjs");exports.LuzmoItemOptionColorPicker=e.t;
|
|
@@ -17,12 +17,5 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
|
|
21
|
-
(function() {
|
|
22
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
23
|
-
let e = document.createElement("style");
|
|
24
|
-
e.setAttribute("data-luzmo-vars", ""), e.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: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--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: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--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: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--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: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--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(e);
|
|
25
|
-
}
|
|
26
|
-
})();
|
|
27
|
-
import { t as e } from "../item-option-color-picker-CKokPQcS.js";
|
|
20
|
+
import { t as e } from "../item-option-color-picker-Dgz-VK03.js";
|
|
28
21
|
export { e as LuzmoItemOptionColorPicker };
|
package/components/{item-option-color-picker-CKokPQcS.js → item-option-color-picker-Dgz-VK03.js}
RENAMED
|
@@ -17,8 +17,9 @@
|
|
|
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 "./tokens-Ov1pCR4Y.js";
|
|
20
21
|
import { t as e } from "./decorate-DyMgX_Uh.js";
|
|
21
|
-
import { t } from "./item-option-base-
|
|
22
|
+
import { t } from "./item-option-base-DJ9FLqmu.js";
|
|
22
23
|
import { html as n } from "lit";
|
|
23
24
|
import { property as r, query as i } from "lit/decorators.js";
|
|
24
25
|
import "@luzmo/lucero/menu";
|
package/components/{item-option-color-picker-Bhv_k1uW.cjs → item-option-color-picker-ayYko5QB.cjs}
RENAMED
|
@@ -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
|
-
const e=require("./decorate-DCJt-2rt.cjs"),t=require("./item-option-base-
|
|
20
|
+
require("./tokens-BWMfo_w4.cjs");const e=require("./decorate-DCJt-2rt.cjs"),t=require("./item-option-base-K2pn6CrX.cjs");let n=require("lit"),r=require("lit/decorators.js");require("@luzmo/lucero/menu"),require("@luzmo/lucero/color-picker");var i=class extends t.t{constructor(...e){super(...e),this.value=`transparent`,this.disabled=!1,this.noAlphaChannel=!1,this.swatches=[],this.rounding=`full`,this.shape=`circle`,this.placement=`left-start`,this.debounce=50}static{this.styles=[super.styles]}_handleEvent(){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.dispatchEvent(new CustomEvent(`luzmo-option-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this.colorPicker.color}}))},this.debounce??200)}renderController(){return n.html`
|
|
21
21
|
<luzmo-color-picker
|
|
22
22
|
id="luzmo-item-option-control"
|
|
23
23
|
.color=${this.value}
|
|
@@ -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
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../item-option-color-range-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../item-option-color-range-Cc8thG33.cjs");exports.LuzmoItemOptionColorRange=e.t;
|
|
@@ -17,12 +17,5 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
|
|
21
|
-
(function() {
|
|
22
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
23
|
-
let e = document.createElement("style");
|
|
24
|
-
e.setAttribute("data-luzmo-vars", ""), e.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: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--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: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--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: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--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: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--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(e);
|
|
25
|
-
}
|
|
26
|
-
})();
|
|
27
|
-
import { t as e } from "../item-option-color-range-DYsMbFEb.js";
|
|
20
|
+
import { t as e } from "../item-option-color-range-DibSfro5.js";
|
|
28
21
|
export { e as LuzmoItemOptionColorRange };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
require("./tokens-BWMfo_w4.cjs");const e=require("./decorate-DCJt-2rt.cjs"),t=require("./color-Bl8h58rV.cjs"),n=require("./item-option-base-K2pn6CrX.cjs");let r=require("@luzmo/icons");require("@luzmo/lucero/icon");let i=require("lit"),a=require("lit/decorators.js"),o=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/number-field"),require("@luzmo/lucero/text-field"),require("@luzmo/lucero/color-picker"),require("@luzmo/lucero/color-field");var s=(e,n=.1)=>{if(e.length<2)return`#AAAAAA`;let r=e.length,i=new t.t(e[r-2]).to(`oklab`),a=new t.t(e[r-1]).to(`oklab`),o=i.coords[0],s=a.coords[0];return new t.t(`oklab`,[Math.min(1,Math.max(0,s+(s>o?1:-1)*n)),a.coords[1],a.coords[2]],a.alpha).to(`srgb`).toString({format:`hex`,precision:0})},c=`:host{--luzmo-swatch-size:14px}.luzmo-item-option{align-items:start;height:fit-content}.control-container{flex-grow:1;align-items:start}.color-range-line{align-items:center;display:flex}luzmo-color-field,luzmo-number-field{flex-grow:1}.color-range-lines-container,.color-range-lines{gap:var(--luzmo-item-option-color-range-ranges-gap,var(--color-ranges-gap));flex-direction:column;flex-grow:1;display:flex}.color-range-lines{width:100%}.extra-label{height:var(--item-option-component-height);align-items:center;display:flex}.color-range-percentage-value{padding-inline-start:var(--luzmo-item-option-color-range-color-swatch-to-percentage,var(--color-swatch-to-percentage));padding-inline-end:var(--luzmo-item-option-color-range-percentage-to-input-field,var(--percentage-to-input-field))}luzmo-color-picker{position:relative}luzmo-color-picker:not(:has(+.color-range-percentage-value)){padding-inline-end:var(--luzmo-item-option-color-range-color-swatch-to-input-field,var(--color-swatch-to-input-field))}:is(luzmo-number-field:has(+luzmo-action-button),luzmo-color-field:has(+luzmo-action-button)){padding-inline-end:var(--luzmo-item-option-color-range-input-field-to-button,var(--input-field-to-button))}luzmo-color-picker:before{box-sizing:border-box;content:"";top:var(--color-range-connector-top);left:var(--color-range-connector-left);height:var(--color-range-connector-height);width:var(--color-range-connector-width);background:var(--range-color);border:var(--luzmo-item-option-color-range-connector-border-width,var(--luzmo-border-width)) solid var(--luzmo-item-option-color-range-connector-border-color,var(--luzmo-border-color));z-index:-1;border-top:0;border-bottom:0;position:absolute}:host([reverse]) luzmo-color-picker:before{top:var(--color-range-reverse-connector-top)}.color-range-lines:not(.edit-range-size) .color-range-line:last-child luzmo-color-picker:before{display:none}.color-range-add-value-container{height:var(--color-range-input-field-height);justify-content:start;align-items:center;display:flex}.color-range-add-value{box-sizing:border-box;width:var(--luzmo-item-option-color-range-add-value-width,var(--luzmo-swatch-size));height:var(--luzmo-item-option-color-range-add-value-height,var(--luzmo-swatch-size));border-width:var(--luzmo-item-option-color-range-add-value-border-width,var(--luzmo-border-width));border-style:solid;border-color:var(--luzmo-item-option-color-range-add-value-border-color,var(--luzmo-primary));border-radius:var(--luzmo-item-option-color-range-add-value-border-radius,50%);background-color:var(--luzmo-item-option-color-range-add-value-background-color,var(--luzmo-background-color));cursor:pointer;color:var(--luzmo-item-option-color-range-add-value-color,var(--luzmo-primary));justify-content:center;align-items:center;display:flex;position:relative}.color-range-add-value .plus-sign{width:100%;height:100%;position:absolute;top:0;left:0}.color-range-add-value .plus-sign:before{content:" ";background-color:var(--luzmo-item-option-color-range-add-value-color,var(--luzmo-primary));height:var(--add-color-range-plus-size);width:var(--luzmo-item-option-color-range-add-color-range-plus-sign-border-width,var(--add-color-range-plus-sign-border-width));top:calc((var(--luzmo-item-option-color-range-add-color-range-size,var(--add-color-range-size)) - var(--add-color-range-plus-size)) / 2 - var(--luzmo-item-option-color-range-add-value-border-width,var(--luzmo-border-width)));left:calc((var(--luzmo-item-option-color-range-add-color-range-size,var(--add-color-range-size)) - var(--luzmo-item-option-color-range-add-color-range-plus-sign-border-width,var(--add-color-range-plus-sign-border-width))) / 2 - var(--luzmo-item-option-color-range-add-value-border-width,var(--luzmo-border-width)));z-index:1;display:block;position:absolute}.color-range-add-value .plus-sign:after{content:" ";background-color:var(--luzmo-item-option-color-range-add-value-color,var(--luzmo-primary));width:var(--add-color-range-plus-size);height:var(--luzmo-item-option-color-range-add-color-range-plus-sign-border-width,var(--add-color-range-plus-sign-border-width));left:calc((var(--luzmo-item-option-color-range-add-color-range-size,var(--add-color-range-size)) - var(--add-color-range-plus-size)) / 2 - var(--luzmo-item-option-color-range-add-value-border-width,var(--luzmo-border-width)));top:calc((var(--luzmo-item-option-color-range-add-color-range-size,var(--add-color-range-size)) - var(--luzmo-item-option-color-range-add-color-range-plus-sign-border-width,var(--add-color-range-plus-sign-border-width))) / 2 - var(--luzmo-item-option-color-range-add-value-border-width,var(--luzmo-border-width)));z-index:1;display:block;position:absolute}.color-range-add-value:hover{background-color:var(--luzmo-item-option-color-range-add-value-background-color-hover,var(--luzmo-background-color-hover));color:var(--luzmo-item-option-color-range-add-value-color-hover,var(--luzmo-primary-hover))}.color-range-add-value[focused],.color-range-add-value:focus-visible{background-color:var(--luzmo-item-option-color-range-add-value-background-color-focus,var(--luzmo-background-color-focus));color:var(--luzmo-item-option-color-range-add-value-color-focus,var(--luzmo-primary-focus));outline:none}.color-range-add-value[focused]:after,.color-range-add-value:focus-visible:after{content:"";inset:calc(var(--luzmo-item-option-color-range-add-value-focus-indicator-gap,var(--add-value-focus-indicator-gap)) * -2);background-color:var(--luzmo-item-option-color-range-add-value-focus-indicator-background-color,var(--luzmo-background-color));border-width:var(--luzmo-item-option-color-range-add-value-focus-indicator-width,var(--add-value-focus-indicator-width));border-style:solid;border-color:var(--highcontrast-swatch-focus-indicator-color,var(--luzmo-item-option-color-range-add-value-focus-indicator-color,var(--add-value-focus-indicator-color)));border-radius:var(--luzmo-item-option-color-range-add-value-focus-indicator-border-radius,var(--add-value-focus-indicator-border-radius));transition:opacity var(--luzmo-animation-duration) ease-in-out;z-index:-1;position:absolute}:host{--luzmo-swatch-size:var(--color-range-swatch-size);--color-range-swatch-size:16px;--color-ranges-gap:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--color-range-connector-width:.25rem;--color-range-connector-height:calc(var(--color-range-input-field-height) + var(--color-ranges-gap) - var(--color-range-swatch-size) + var(--color-range-connector-width));--color-range-connector-top:calc(var(--color-range-swatch-size) - (var(--color-range-connector-width) / 2));--color-range-reverse-connector-top:calc(-1 * var(--color-range-connector-height) + (var(--color-range-connector-width) / 2));--color-range-connector-left:calc((var(--color-range-swatch-size) - var(--color-range-connector-width)) / 2);--color-range-input-field-height:var(--luzmo-component-height);--add-color-range-size:var(--color-range-swatch-size);--add-color-range-plus-size:8px;--add-color-range-plus-sign-border-width:2px;--add-value-focus-indicator-border-radius:50%;--add-value-focus-indicator-gap:3px;--add-value-focus-indicator-width:1px;--add-value-focus-indicator-color:var(--luzmo-primary);--color-swatch-to-percentage:var(--luzmo-spacing-4);--color-swatch-to-input-field:var(--luzmo-spacing-4);--percentage-to-input-field:var(--luzmo-spacing-4);--input-field-to-button:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1))}:host([size=s]){--color-range-swatch-size:14px;--color-range-input-field-height:var(--luzmo-component-height-s);--color-ranges-gap:var(--luzmo-spacing-2);--add-color-range-plus-size:6px;--add-color-range-plus-sign-border-width:2px;--color-swatch-to-percentage:var(--luzmo-spacing-3);--color-swatch-to-input-field:var(--luzmo-spacing-3);--percentage-to-input-field:var(--luzmo-spacing-3);--input-field-to-button:var(--luzmo-spacing-2)}:host([size=l]){--color-range-swatch-size:18px;--color-range-input-field-height:var(--luzmo-component-height-l);--color-ranges-gap:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--add-color-range-plus-size:10px;--color-swatch-to-percentage:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--color-swatch-to-input-field:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--percentage-to-input-field:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--input-field-to-button:var(--luzmo-spacing-3)}:host([size=xl]){--color-range-swatch-size:20px;--color-range-input-field-height:var(--luzmo-component-height-xl);--color-ranges-gap:var(--luzmo-spacing-3);--add-color-range-plus-size:10px;--color-swatch-to-percentage:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--color-swatch-to-input-field:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--percentage-to-input-field:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--input-field-to-button:var(--luzmo-spacing-4)}`,l=class extends n.t{constructor(...e){super(...e),this.disabled=!1,this.percentage=!1,this.noAlphaChannel=!1,this.editRangeSize=!1,this.noValues=!1,this.minimumRangeSize=2,this.negativeInfinityValue=!1,this.readOnlyColorPicker=!1,this.reverse=!1,this.debounce=100,this._ranges=[]}static{this.styles=[super.styles,(0,i.unsafeCSS)(c)]}willUpdate(e){super.willUpdate(e),e.has(`value`)&&(this._ranges=typeof this.parseValue==`function`?this.parseValue(this.value??this.default??[]):this.value??this.default??[]),this.negativeInfinityValue&&(this._ranges=[{color:this._ranges[0].color,value:-1/0},...this._ranges.slice(1)])}_handleChangeEvent(){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.dispatchEvent(new CustomEvent(`luzmo-option-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue==`function`?this.toValue(this._ranges):this._ranges}}))},this.debounce??200)}_getIndex(e){let t=[...this.colorRangeLines].indexOf((e?.target)?.closest(`.color-range-line`));return this.reverse&&(t=(this._ranges?.length??0)-1-t),t}_extrapolateNewValue(e){if(e.length<2)return 0;let t=e.at(-1),n=e.at(-2),r=(t??0)-(n??0);return(t??0)+r}_setColor(e){let t=this._getIndex(e),n=e.target.color??e.target.value;this._ranges?.[t]&&(this._ranges[t].color=String(n)),this._ranges=structuredClone(this._ranges),this._handleChangeEvent()}_setNumber(e){let t=this._getIndex(e),n=e.target.value;this._ranges?.[t]&&(this._ranges[t].value=n),this._ranges=structuredClone(this._ranges.sort((e,t)=>(e?.value??0)-(t?.value??0))),this._handleChangeEvent()}_removeRangeValue(e){let t=this._getIndex(e);this._ranges?.splice(t,1),this._ranges=structuredClone(this._ranges),this._handleChangeEvent()}_addRangeValue(){let e=s(this._ranges?.map(e=>e.color)??[]),t=this._extrapolateNewValue(this._ranges?.map(e=>e.value??0)??[]);this._ranges?.push({color:e,value:t}),this._ranges=structuredClone(this._ranges),this._handleChangeEvent()}renderRangeValues(){let e=(e,t,n,a)=>i.html`
|
|
21
|
+
<div class="color-range-line" style="--range-color: ${e}">
|
|
22
|
+
<luzmo-color-picker
|
|
23
|
+
.color=${e}
|
|
24
|
+
.debounce=${this.debounce}
|
|
25
|
+
?disabled=${this.disabled}
|
|
26
|
+
?no-alpha-channel=${this.noAlphaChannel}
|
|
27
|
+
?read-only=${this.readOnlyColorPicker}
|
|
28
|
+
@change=${this._setColor}
|
|
29
|
+
></luzmo-color-picker>
|
|
30
|
+
${this.percentage?i.html`
|
|
31
|
+
<div class="color-range-percentage-value">%</div>
|
|
32
|
+
`:i.html`
|
|
33
|
+
|
|
34
|
+
`}
|
|
35
|
+
${this.noValues?i.html` <luzmo-color-field
|
|
36
|
+
.value=${e}
|
|
37
|
+
.size=${this.size}
|
|
38
|
+
.debounce=${this.debounce}
|
|
39
|
+
?no-alpha-channel=${this.noAlphaChannel}
|
|
40
|
+
?disabled=${this.disabled}
|
|
41
|
+
@change=${this._setColor}
|
|
42
|
+
></luzmo-color-field>`:n?i.html` <luzmo-text-field
|
|
43
|
+
.value=${`< `+(a??0)}
|
|
44
|
+
.size=${this.size}
|
|
45
|
+
readonly
|
|
46
|
+
></luzmo-text-field>`:i.html` <luzmo-number-field
|
|
47
|
+
.value=${t??0}
|
|
48
|
+
.size=${this.size}
|
|
49
|
+
.debounce=${this.debounce}
|
|
50
|
+
?disabled=${this.disabled}
|
|
51
|
+
@change=${this._setNumber}
|
|
52
|
+
></luzmo-number-field>`}
|
|
53
|
+
${this.editRangeSize&&!this.disabled&&!n&&(this._ranges?.length??0)>this.minimumRangeSize?i.html`<luzmo-action-button
|
|
54
|
+
quiet
|
|
55
|
+
.size=${this.size}
|
|
56
|
+
.label=${(0,o.msg)(`Remove color stop`,{desc:`Aria label for remove color stop button`})}
|
|
57
|
+
@click=${this._removeRangeValue}
|
|
58
|
+
>
|
|
59
|
+
<luzmo-icon
|
|
60
|
+
slot="icon"
|
|
61
|
+
.size=${this.size}
|
|
62
|
+
.icon=${r.luzmoTrashOutline}
|
|
63
|
+
></luzmo-icon>
|
|
64
|
+
</luzmo-action-button>`:i.html`
|
|
65
|
+
|
|
66
|
+
`}
|
|
67
|
+
</div>
|
|
68
|
+
`,t=this._ranges??this.default??[];this.reverse&&(t=[...t].reverse());let n=t.map(({color:n,value:r},i)=>e(n,r,i===0&&this.negativeInfinityValue,i===0&&this.negativeInfinityValue?t[1]?.value:void 0));return i.html`
|
|
69
|
+
<div id="luzmo-item-option-control" class="color-range-lines-container" role="group" aria-label=${this.label||(0,o.msg)(`Color range`,{desc:`Accessible label for color range control`})}>
|
|
70
|
+
${this.editRangeSize&&!this.disabled&&this.reverse?i.html`<div class="color-range-add-value-container">
|
|
71
|
+
<button
|
|
72
|
+
class="color-range-add-value"
|
|
73
|
+
aria-label=${(0,o.msg)(`Add color stop`,{desc:`Aria label for add color stop button`})}
|
|
74
|
+
@click=${this._addRangeValue}
|
|
75
|
+
>
|
|
76
|
+
<div class="plus-sign"></div>
|
|
77
|
+
</button>
|
|
78
|
+
</div>`:i.html`
|
|
79
|
+
|
|
80
|
+
`}
|
|
81
|
+
<div
|
|
82
|
+
class="color-range-lines ${this.editRangeSize&&!this.disabled?`edit-range-size`:``}"
|
|
83
|
+
>
|
|
84
|
+
${n}
|
|
85
|
+
</div>
|
|
86
|
+
${this.editRangeSize&&!this.disabled&&!this.reverse?i.html`<div class="color-range-add-value-container">
|
|
87
|
+
<button
|
|
88
|
+
class="color-range-add-value"
|
|
89
|
+
aria-label=${(0,o.msg)(`Add color stop`,{desc:`Aria label for add color stop button`})}
|
|
90
|
+
@click=${this._addRangeValue}
|
|
91
|
+
>
|
|
92
|
+
<div class="plus-sign"></div>
|
|
93
|
+
</button>
|
|
94
|
+
</div>`:i.html`
|
|
95
|
+
|
|
96
|
+
`}
|
|
97
|
+
</div>
|
|
98
|
+
`}renderController(){return this.renderRangeValues()}};e.t([(0,a.property)({type:Array,reflect:!0})],l.prototype,`value`,void 0),e.t([(0,a.property)({type:Array,reflect:!0})],l.prototype,`default`,void 0),e.t([(0,a.property)({type:Boolean,reflect:!0})],l.prototype,`disabled`,void 0),e.t([(0,a.property)({type:Boolean})],l.prototype,`percentage`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`no-alpha-channel`})],l.prototype,`noAlphaChannel`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`edit-range-size`})],l.prototype,`editRangeSize`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`no-values`})],l.prototype,`noValues`,void 0),e.t([(0,a.property)({type:Number,reflect:!0,attribute:`minimum-range-size`})],l.prototype,`minimumRangeSize`,void 0),e.t([(0,a.property)({type:Boolean,reflect:!0,attribute:`negative-infinity-value`})],l.prototype,`negativeInfinityValue`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`read-only-color-picker`})],l.prototype,`readOnlyColorPicker`,void 0),e.t([(0,a.property)({type:Boolean})],l.prototype,`reverse`,void 0),e.t([(0,a.property)({type:Number,reflect:!0})],l.prototype,`debounce`,void 0),e.t([(0,a.property)()],l.prototype,`parseValue`,void 0),e.t([(0,a.property)()],l.prototype,`toValue`,void 0),e.t([(0,a.queryAll)(`.color-range-line`)],l.prototype,`colorRangeLines`,void 0),e.t([(0,a.state)()],l.prototype,`_ranges`,void 0),customElements.get(`luzmo-item-option-color-range`)||customElements.define(`luzmo-item-option-color-range`,l),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return l}});
|
package/components/{item-option-color-range-DYsMbFEb.js → item-option-color-range-DibSfro5.js}
RENAMED
|
@@ -17,9 +17,10 @@
|
|
|
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 "./tokens-Ov1pCR4Y.js";
|
|
20
21
|
import { t as e } from "./decorate-DyMgX_Uh.js";
|
|
21
22
|
import { t } from "./color-BWnYpOu7.js";
|
|
22
|
-
import { t as n } from "./item-option-base-
|
|
23
|
+
import { t as n } from "./item-option-base-DJ9FLqmu.js";
|
|
23
24
|
import { luzmoTrashOutline as r } from "@luzmo/icons";
|
|
24
25
|
import "@luzmo/lucero/icon";
|
|
25
26
|
import { html as i, unsafeCSS as a } from "lit";
|
|
@@ -17,7 +17,8 @@
|
|
|
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
|
|
20
|
+
import "./tokens-Ov1pCR4Y.js";
|
|
21
|
+
import { i as e } from "./base-BRTs2KqJ.js";
|
|
21
22
|
import { t } from "./decorate-DyMgX_Uh.js";
|
|
22
23
|
import { t as n } from "./data-broker-B0uUO5er.js";
|
|
23
24
|
import { n as r, t as i } from "./themes-CQZd578_.js";
|
|
@@ -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
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../types-pVa6ut_v.cjs"),t=require("../item-option-guidelines-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../types-pVa6ut_v.cjs"),t=require("../item-option-guidelines-h5-NrAYD.cjs");exports.CARTESIAN_GUIDELINE_LINE_TYPES=e.t,exports.DEFAULT_GUIDELINE_COLOR_DARK=e.n,exports.DEFAULT_GUIDELINE_COLOR_LIGHT=e.r,exports.DEFAULT_GUIDELINE_DEBOUNCE=e.i,exports.DEFAULT_GUIDELINE_STYLE=e.a,exports.DEFAULT_NUMERIC_GUIDELINE_VALUE=e.o,exports.GUIDELINE_LINE_TYPES=e.s,exports.GUIDELINE_STYLE_TYPES=e.c,exports.GUIDELINE_WIDTHS=e.l,Object.defineProperty(exports,"LuzmoItemOptionGuidelines",{enumerable:!0,get:function(){return t.t}});
|
|
@@ -17,13 +17,6 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
// Auto-generated initialization code
|
|
21
|
-
(function() {
|
|
22
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
23
|
-
let e = document.createElement("style");
|
|
24
|
-
e.setAttribute("data-luzmo-vars", ""), e.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: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--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: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--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: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--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: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--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(e);
|
|
25
|
-
}
|
|
26
|
-
})();
|
|
27
20
|
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../types-DNRGKFSD.js";
|
|
28
|
-
import { t as l } from "../item-option-guidelines-
|
|
21
|
+
import { t as l } from "../item-option-guidelines-DXUcdAel.js";
|
|
29
22
|
export { c as CARTESIAN_GUIDELINE_LINE_TYPES, i as DEFAULT_GUIDELINE_COLOR_DARK, o as DEFAULT_GUIDELINE_COLOR_LIGHT, n as DEFAULT_GUIDELINE_DEBOUNCE, e as DEFAULT_GUIDELINE_STYLE, a as DEFAULT_NUMERIC_GUIDELINE_VALUE, s as GUIDELINE_LINE_TYPES, t as GUIDELINE_STYLE_TYPES, r as GUIDELINE_WIDTHS, l as LuzmoItemOptionGuidelines };
|
package/components/{item-option-guidelines-CXl4Yla4.js → item-option-guidelines-DXUcdAel.js}
RENAMED
|
@@ -17,11 +17,12 @@
|
|
|
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 "./
|
|
20
|
+
import "./tokens-Ov1pCR4Y.js";
|
|
21
|
+
import "./base-BRTs2KqJ.js";
|
|
21
22
|
import { t as e } from "./decorate-DyMgX_Uh.js";
|
|
22
23
|
import { t } from "./localized-mixin-DaLXe5J9.js";
|
|
23
24
|
import { a as n, c as r, l as i, n as a, r as o, s, t as c } from "./types-DNRGKFSD.js";
|
|
24
|
-
import { t as l } from "./item-option-base-
|
|
25
|
+
import { t as l } from "./item-option-base-DJ9FLqmu.js";
|
|
25
26
|
import { luzmoBorderDashed as u, luzmoBorderDotted as d, luzmoBorderSolid as f, luzmoPlus as p, luzmoTrashOutline as m } from "@luzmo/icons";
|
|
26
27
|
import "@luzmo/lucero/button";
|
|
27
28
|
import "@luzmo/lucero/icon";
|