@luzmo/analytics-components-kit 1.0.1-alpha.3 → 1.0.1-alpha.31
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/LICENSE +18 -0
- package/components/area-chart-options.config-7NUkgEdr.js +150 -0
- package/components/area-chart-options.config-HmuEMllK.cjs +20 -0
- package/components/area-chart-options.de-D_LVLa1H.cjs +20 -0
- package/components/area-chart-options.de-FcVE2Ywe.js +80 -0
- package/components/area-chart-options.en-Cz5aXeVe.js +80 -0
- package/components/area-chart-options.en-IauEvPHP.cjs +20 -0
- package/components/area-chart-options.es-CmPycXn2.cjs +20 -0
- package/components/area-chart-options.es-o3ABpXnC.js +80 -0
- package/components/area-chart-options.fr-BMnkGWlJ.cjs +20 -0
- package/components/area-chart-options.fr-CBhHB_ER.js +80 -0
- package/components/area-chart-options.nl-C7-N_idS.cjs +20 -0
- package/components/area-chart-options.nl-SbYGv26w.js +80 -0
- package/components/area-chart-slots.config-CIfDfftd.cjs +20 -0
- package/components/area-chart-slots.config-P7xa-pHi.js +52 -0
- package/components/async-directive-C_bp5UcZ-B5_19oN_.js +152 -0
- package/components/async-directive-C_bp5UcZ-mUPcBvyn.cjs +56 -0
- package/components/bar-chart-options.config-BdbbHUJZ.js +161 -0
- package/components/bar-chart-options.config-C9XGEujs.cjs +20 -0
- package/components/bar-chart-options.de-BGzu5Zgd.cjs +20 -0
- package/components/bar-chart-options.de-DwTn_qfu.js +86 -0
- package/components/bar-chart-options.en-Crc8tYUJ.js +86 -0
- package/components/bar-chart-options.en-D1UfGsS3.cjs +20 -0
- package/components/bar-chart-options.es-B2UWafXc.cjs +20 -0
- package/components/bar-chart-options.es-ByT_D06p.js +86 -0
- package/components/bar-chart-options.fr-BwiGRlQf.js +86 -0
- package/components/bar-chart-options.fr-CP7DTrlk.cjs +20 -0
- package/components/bar-chart-options.nl-DZe2pKRa.cjs +20 -0
- package/components/bar-chart-options.nl-DzXnHdwX.js +86 -0
- package/components/bar-chart-slots.config-DszaQhMd.cjs +20 -0
- package/components/bar-chart-slots.config-MQAjNXqV.js +47 -0
- package/components/base-BjTwmyRF.cjs +24 -0
- package/components/base-D76d76ww-BEIhYtgV.cjs +94 -0
- package/components/base-D76d76ww-D0dTUBua.js +759 -0
- package/components/base-D76d76ww.js +28 -0
- package/components/box-plot-options.config-DJz_kt-M.cjs +20 -0
- package/components/box-plot-options.config-vlz5qeNq.js +296 -0
- package/components/box-plot-options.de-D3Yye2Yp.js +113 -0
- package/components/box-plot-options.de-QbWt-xja.cjs +20 -0
- package/components/box-plot-options.en-CZhtAYXJ.cjs +20 -0
- package/components/box-plot-options.en-DADAI4yL.js +113 -0
- package/components/box-plot-options.es-ePZUgamp.js +113 -0
- package/components/box-plot-options.es-lyXLMKKo.cjs +20 -0
- package/components/box-plot-options.fr-BXh76t2K.cjs +20 -0
- package/components/box-plot-options.fr-DNkSteEz.js +113 -0
- package/components/box-plot-options.nl-DDAzT-zP.cjs +20 -0
- package/components/box-plot-options.nl-GBXrkaLf.js +113 -0
- package/components/box-plot-slots.config-BRhnF2FE.js +48 -0
- package/components/box-plot-slots.config-DZxyy3sS.cjs +20 -0
- package/components/bubble-chart-options.config-BacgXkJ_.js +124 -0
- package/components/bubble-chart-options.config-Ihn6eVQI.cjs +20 -0
- package/components/bubble-chart-options.de-D2Z88fwi.cjs +20 -0
- package/components/bubble-chart-options.de-D8Ap7joq.js +63 -0
- package/components/bubble-chart-options.en-BU3F4n13.js +63 -0
- package/components/bubble-chart-options.en-CP9PhuPw.cjs +20 -0
- package/components/bubble-chart-options.es-B6mTDtxs.cjs +20 -0
- package/components/bubble-chart-options.es-Bh_dRgE3.js +63 -0
- package/components/bubble-chart-options.fr-BMPe3Z5G.cjs +20 -0
- package/components/bubble-chart-options.fr-CNiJgmGl.js +63 -0
- package/components/bubble-chart-options.nl-5thQrFoi.cjs +20 -0
- package/components/bubble-chart-options.nl-BoV3kpaZ.js +63 -0
- package/components/bubble-chart-slots.config-Bbh94VgZ.js +46 -0
- package/components/bubble-chart-slots.config-BwSwgleO.cjs +20 -0
- package/components/bullet-chart-options.config-Bsw7N7Wl.js +76 -0
- package/components/bullet-chart-options.config-DfS4Bwds.cjs +20 -0
- package/components/bullet-chart-options.de-D0XaMKPn.cjs +20 -0
- package/components/bullet-chart-options.de-DxBk0yku.js +51 -0
- package/components/bullet-chart-options.en-BPjbk6Lk.cjs +20 -0
- package/components/bullet-chart-options.en-Cu1cnL90.js +51 -0
- package/components/bullet-chart-options.es-DxC9GWBS.cjs +20 -0
- package/components/bullet-chart-options.es-pGm2umSR.js +51 -0
- package/components/bullet-chart-options.fr-Cf_rodY7.cjs +20 -0
- package/components/bullet-chart-options.fr-DGOcuFKQ.js +51 -0
- package/components/bullet-chart-options.nl-BJ39_p2y.js +51 -0
- package/components/bullet-chart-options.nl-BdIjKMZf.cjs +20 -0
- package/components/bullet-chart-slots.config-BlWTleBt.js +45 -0
- package/components/bullet-chart-slots.config-DQarxMR7.cjs +20 -0
- package/components/button-base-WsJSnMie-B1TLbPwk.cjs +43 -0
- package/components/button-base-WsJSnMie-CyGPs7kd.js +162 -0
- package/components/checkbox-mixin-CmeCReJh-C94-rm4F.js +88 -0
- package/components/checkbox-mixin-CmeCReJh-wY0R8cuc.cjs +45 -0
- package/components/choropleth-map-options.config-CeKXtnYB.js +249 -0
- package/components/choropleth-map-options.config-CxUOg3pw.cjs +20 -0
- package/components/choropleth-map-options.de-BSt-L5Vh.js +102 -0
- package/components/choropleth-map-options.de-B_Agdr4T.cjs +20 -0
- package/components/choropleth-map-options.en-Cy7WcWLG.js +102 -0
- package/components/choropleth-map-options.en-DJHAy6ek.cjs +20 -0
- package/components/choropleth-map-options.es-BnR-9vJv.js +102 -0
- package/components/choropleth-map-options.es-Dr07odJo.cjs +20 -0
- package/components/choropleth-map-options.fr-BlwLS1Wy.js +102 -0
- package/components/choropleth-map-options.fr-CR5NMRR3.cjs +20 -0
- package/components/choropleth-map-options.nl-BITK3ddz.cjs +20 -0
- package/components/choropleth-map-options.nl-D70fr4Hl.js +102 -0
- package/components/choropleth-map-slots.config-B-uJTj4q.js +47 -0
- package/components/choropleth-map-slots.config-PNwSR0XY.cjs +20 -0
- package/components/circle-pack-chart-options.config-DEYL3DMK.js +55 -0
- package/components/circle-pack-chart-options.config-DWql72cN.cjs +20 -0
- package/components/circle-pack-chart-options.de-BKCxSgFo.cjs +20 -0
- package/components/circle-pack-chart-options.de-CUL0ypCU.js +41 -0
- package/components/circle-pack-chart-options.en-8QoEZniy.cjs +20 -0
- package/components/circle-pack-chart-options.en-CFTJowAI.js +41 -0
- package/components/circle-pack-chart-options.es-BAdMklie.cjs +20 -0
- package/components/circle-pack-chart-options.es-BGoaousJ.js +41 -0
- package/components/circle-pack-chart-options.fr-DLb0Di6Z.js +41 -0
- package/components/circle-pack-chart-options.fr-Dx2iO7nE.cjs +20 -0
- package/components/circle-pack-chart-options.nl-BEbtjCy_.cjs +20 -0
- package/components/circle-pack-chart-options.nl-CZL69ZgV.js +41 -0
- package/components/circle-pack-chart-slots.config-C-_ganmv.cjs +20 -0
- package/components/circle-pack-chart-slots.config-xwVdRiwS.js +40 -0
- package/components/circular-gauge-options.config-Cz2TGR6X.cjs +20 -0
- package/components/circular-gauge-options.config-Kd_WK_w-.js +146 -0
- package/components/circular-gauge-options.de-BO3S8GCr.js +73 -0
- package/components/circular-gauge-options.de-BZfrQqs3.cjs +20 -0
- package/components/circular-gauge-options.en-CB-jZtE6.cjs +20 -0
- package/components/circular-gauge-options.en-Cyhhijwg.js +76 -0
- package/components/circular-gauge-options.es-DJ7ru4Wf.js +73 -0
- package/components/circular-gauge-options.es-DuQPHjcG.cjs +20 -0
- package/components/circular-gauge-options.fr-BVWliP7i.js +76 -0
- package/components/circular-gauge-options.fr-CFMa8H8K.cjs +20 -0
- package/components/circular-gauge-options.nl-BB_jgj5k.cjs +20 -0
- package/components/circular-gauge-options.nl-DGpV7Riu.js +76 -0
- package/components/circular-gauge-slots.config-Cd-nkNPm.cjs +20 -0
- package/components/circular-gauge-slots.config-DA-ZAc5d.js +39 -0
- package/components/column-chart-options.config-Bi0RAzK-.cjs +20 -0
- package/components/column-chart-options.config-BqSQ1Sl9.js +162 -0
- package/components/column-chart-options.de-VQVdi8aP.js +86 -0
- package/components/column-chart-options.de-pgdcIHqk.cjs +20 -0
- package/components/column-chart-options.en-Crc8tYUJ.js +86 -0
- package/components/column-chart-options.en-D1UfGsS3.cjs +20 -0
- package/components/column-chart-options.es-CAAXJv_2.cjs +20 -0
- package/components/column-chart-options.es-CT9ZtjV_.js +86 -0
- package/components/column-chart-options.fr-BwiGRlQf.js +86 -0
- package/components/column-chart-options.fr-CP7DTrlk.cjs +20 -0
- package/components/column-chart-options.nl-3wAj9uWY.cjs +20 -0
- package/components/column-chart-options.nl-DB2dcotu.js +86 -0
- package/components/column-chart-slots.config-C7MhpoR8.cjs +20 -0
- package/components/column-chart-slots.config-DAdAk17k.js +47 -0
- package/components/combination-chart-options.config-CApdgFvv.js +45 -0
- package/components/combination-chart-options.config-CyYEp-gX.cjs +20 -0
- package/components/combination-chart-options.de-CEsSn5-2.js +38 -0
- package/components/combination-chart-options.de-CuVQ-JHu.cjs +20 -0
- package/components/combination-chart-options.en-BCKuLOQb.js +38 -0
- package/components/combination-chart-options.en-BPcGTsP4.cjs +20 -0
- package/components/combination-chart-options.es-Dy7jzzFy.cjs +20 -0
- package/components/combination-chart-options.es-zMa9kqmV.js +38 -0
- package/components/combination-chart-options.fr-CLUyqNH7.cjs +20 -0
- package/components/combination-chart-options.fr-DOXtaY1V.js +38 -0
- package/components/combination-chart-options.nl-BF6joCMV.cjs +20 -0
- package/components/combination-chart-options.nl-CCChbhx_.js +38 -0
- package/components/combination-chart-slots.config-CqKLFKCZ.js +45 -0
- package/components/combination-chart-slots.config-crMO01EO.cjs +20 -0
- package/components/conditional-number-options.config-BZfgdUGh.cjs +20 -0
- package/components/conditional-number-options.config-BzzAnCOB.js +133 -0
- package/components/conditional-number-options.de-BJcjBZY1.js +74 -0
- package/components/conditional-number-options.de-CFnufi0r.cjs +20 -0
- package/components/conditional-number-options.en-WSrIzRGJ.js +74 -0
- package/components/conditional-number-options.en-Wd-0YtdE.cjs +20 -0
- package/components/conditional-number-options.es-BKqT0zog.js +74 -0
- package/components/conditional-number-options.es-BTDTe5SF.cjs +20 -0
- package/components/conditional-number-options.fr-CZ-9jzPm.cjs +20 -0
- package/components/conditional-number-options.fr-D2r7Azy8.js +74 -0
- package/components/conditional-number-options.nl-CfRYL6o1.cjs +20 -0
- package/components/conditional-number-options.nl-pkRI1tLZ.js +74 -0
- package/components/conditional-number-slots.config-CD5ZwXuY.cjs +20 -0
- package/components/conditional-number-slots.config-L3t5pb1-.js +39 -0
- package/components/cs-DVZ0Tapy.js +89 -0
- package/components/cs-I9E81keK.cjs +20 -0
- package/components/da-DHy05oSR.js +97 -0
- package/components/da-QkdvupDg.cjs +20 -0
- package/components/date-filter-options.config-CWPMtA18.cjs +20 -0
- package/components/date-filter-options.config-DBRxlTWy.js +157 -0
- package/components/date-filter-options.de-Cav0BXbX.cjs +20 -0
- package/components/date-filter-options.de-DSWcur4l.js +72 -0
- package/components/date-filter-options.en-DgbZmD5M.js +72 -0
- package/components/date-filter-options.en-DqY3gH_W.cjs +20 -0
- package/components/date-filter-options.es-BI-h1lD-.js +72 -0
- package/components/date-filter-options.es-CQeWi9cD.cjs +20 -0
- package/components/date-filter-options.fr-D22GM6_c.cjs +20 -0
- package/components/date-filter-options.fr-DXLKLmhl.js +72 -0
- package/components/date-filter-options.nl-CqZmwOux.cjs +20 -0
- package/components/date-filter-options.nl-DXgD8Ga_.js +72 -0
- package/components/date-filter-slots.config-Cb1LcT9W.cjs +20 -0
- package/components/date-filter-slots.config-CxB8IF5B.js +33 -0
- package/components/de-BaTUIQk1.js +104 -0
- package/components/de-DgHoh7KS.cjs +20 -0
- package/components/de-Dn5mUzha.cjs +20 -0
- package/components/de-iM39JlAt.js +109 -0
- package/components/decompose-numeric-format-B3rVVHpO.cjs +20 -0
- package/components/decompose-numeric-format-BuZcjH2k.js +39 -0
- package/components/directive-helpers-Bx_ey3Gk-BxvL9t9F.cjs +80 -0
- package/components/directive-helpers-Bx_ey3Gk-Csi4AxXe.js +115 -0
- package/components/display-settings/display-settings.d.ts +70 -0
- package/components/display-settings/index.cjs +105 -0
- package/components/display-settings/index.d.ts +7 -0
- package/components/display-settings/index.js +238 -0
- package/components/display-settings-binning/display-settings-binning.d.ts +33 -0
- package/components/display-settings-binning/index.cjs +55 -0
- package/components/display-settings-binning/index.d.ts +7 -0
- package/components/display-settings-binning/index.js +151 -0
- package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
- package/components/display-settings-datetime/index.cjs +228 -0
- package/components/display-settings-datetime/index.d.ts +7 -0
- package/components/display-settings-datetime/index.js +542 -0
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +31 -0
- package/components/display-settings-grand-totals/index.cjs +43 -0
- package/components/display-settings-grand-totals/index.d.ts +7 -0
- package/components/display-settings-grand-totals/index.js +126 -0
- package/components/display-settings-numeric/display-settings-numeric.d.ts +73 -0
- package/components/display-settings-numeric/helpers/constants.d.ts +18 -0
- package/components/display-settings-numeric/index.cjs +156 -0
- package/components/display-settings-numeric/index.d.ts +7 -0
- package/components/display-settings-numeric/index.js +477 -0
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +44 -0
- package/components/display-settings-period-over-period/helpers/constants.d.ts +36 -0
- package/components/display-settings-period-over-period/index.cjs +103 -0
- package/components/display-settings-period-over-period/index.d.ts +7 -0
- package/components/display-settings-period-over-period/index.js +315 -0
- package/components/divider.module-DwOuLGU3-B19eHVg2.js +40 -0
- package/components/divider.module-DwOuLGU3-Bg8RrFkc.cjs +36 -0
- package/components/donut-chart-options.config-BulUEiaH.js +201 -0
- package/components/donut-chart-options.config-tNpqBZfR.cjs +20 -0
- package/components/donut-chart-options.de-LQ01wQGN.cjs +20 -0
- package/components/donut-chart-options.de-nSj3ghwo.js +99 -0
- package/components/donut-chart-options.en-CrUf4CJ9.js +99 -0
- package/components/donut-chart-options.en-DHCYs2el.cjs +20 -0
- package/components/donut-chart-options.es-BLDU1xpY.cjs +20 -0
- package/components/donut-chart-options.es-DnsGqOdo.js +99 -0
- package/components/donut-chart-options.fr-C33dLw52.cjs +20 -0
- package/components/donut-chart-options.fr-DVfZwZny.js +99 -0
- package/components/donut-chart-options.nl-CUuOQyJg.js +99 -0
- package/components/donut-chart-options.nl-h5-SSy_L.cjs +20 -0
- package/components/donut-chart-slots.config-BEwhfq27.js +39 -0
- package/components/donut-chart-slots.config-DIp-24lO.cjs +20 -0
- package/components/draggable-data-item/draggable-data-item.d.ts +26 -0
- package/components/draggable-data-item/index.cjs +55 -0
- package/components/draggable-data-item/index.d.ts +7 -0
- package/components/draggable-data-item/index.js +135 -0
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +29 -0
- package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +2 -0
- package/components/draggable-data-item-level/helpers/generate-preview.d.ts +1 -0
- package/components/draggable-data-item-level/index.cjs +36 -0
- package/components/draggable-data-item-level/index.d.ts +7 -0
- package/components/draggable-data-item-level/index.js +293 -0
- package/components/dropdown-filter-options.config-D9dvPypF.js +163 -0
- package/components/dropdown-filter-options.config-DS-MORmq.cjs +20 -0
- package/components/dropdown-filter-options.de-0HBcrwev.js +82 -0
- package/components/dropdown-filter-options.de-WLFUtnO_.cjs +20 -0
- package/components/dropdown-filter-options.en-CNdmMsNW.js +82 -0
- package/components/dropdown-filter-options.en-txvgrhI8.cjs +20 -0
- package/components/dropdown-filter-options.es-C-U0fQJO.cjs +20 -0
- package/components/dropdown-filter-options.es-DjgZxklA.js +82 -0
- package/components/dropdown-filter-options.fr-Bl7uZNdT.cjs +20 -0
- package/components/dropdown-filter-options.fr-n_2OjO_u.js +82 -0
- package/components/dropdown-filter-options.nl-CL6UEP00.js +82 -0
- package/components/dropdown-filter-options.nl-DIvw6DFh.cjs +20 -0
- package/components/dropdown-filter-slots.config-B8J6ftCh.js +46 -0
- package/components/dropdown-filter-slots.config-I2n4b_6V.cjs +20 -0
- package/components/droppable-slot/droppable-slot.d.ts +49 -0
- package/components/droppable-slot/index.cjs +69 -0
- package/components/droppable-slot/index.d.ts +7 -0
- package/components/droppable-slot/index.js +307 -0
- package/components/droppable-slot/item-slots-configs/index.d.ts +44 -0
- package/components/droppable-slot/item-slots-configs/slot-labels.const.d.ts +8 -0
- package/components/edit-item/edit-item.d.ts +55 -0
- package/components/edit-item/index.cjs +94 -0
- package/components/edit-item/index.d.ts +7 -0
- package/components/edit-item/index.js +642 -0
- package/components/edit-option/edit-option.d.ts +24 -0
- package/components/edit-option/helpers/control-markup.d.ts +14 -0
- package/components/edit-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/color-picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
- package/components/edit-option/helpers/control-templates/number-field-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/position-picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/radio-button-group.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/slider-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/switch-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/text-field-template.d.ts +7 -0
- package/components/edit-option/helpers/generate-callback.d.ts +1 -0
- package/components/edit-option/helpers/get-control-by-key.d.ts +1 -0
- package/components/edit-option/helpers/get-default-value.d.ts +1 -0
- package/components/edit-option/helpers/get-extra-label-values.d.ts +7 -0
- package/components/edit-option/helpers/get-value-by-key.d.ts +1 -0
- package/components/edit-option/index.cjs +20 -0
- package/components/edit-option/index.d.ts +7 -0
- package/components/edit-option/index.js +30 -0
- package/components/edit-option-action-button-group/edit-option-action-button-group.d.ts +27 -0
- package/components/edit-option-action-button-group/index.cjs +51 -0
- package/components/edit-option-action-button-group/index.d.ts +7 -0
- package/components/edit-option-action-button-group/index.js +153 -0
- package/components/edit-option-base/edit-option-base.d.ts +22 -0
- package/components/edit-option-base-DOezOLDd.js +120 -0
- package/components/edit-option-base-jkkFevzT.cjs +53 -0
- package/components/edit-option-color-picker/edit-option-color-picker.d.ts +23 -0
- package/components/edit-option-color-picker/index.cjs +472 -0
- package/components/edit-option-color-picker/index.d.ts +7 -0
- package/components/edit-option-color-picker/index.js +2554 -0
- package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +17 -0
- package/components/edit-option-multi-language-field/index.cjs +31 -0
- package/components/edit-option-multi-language-field/index.d.ts +7 -0
- package/components/edit-option-multi-language-field/index.js +112 -0
- package/components/edit-option-number-field/edit-option-number-field.d.ts +19 -0
- package/components/edit-option-number-field/index.cjs +32 -0
- package/components/edit-option-number-field/index.d.ts +7 -0
- package/components/edit-option-number-field/index.js +115 -0
- package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
- package/components/edit-option-picker/index.cjs +35 -0
- package/components/edit-option-picker/index.d.ts +7 -0
- package/components/edit-option-picker/index.js +106 -0
- package/components/edit-option-position-picker/edit-option-position-picker.d.ts +13 -0
- package/components/edit-option-position-picker/index.cjs +25 -0
- package/components/edit-option-position-picker/index.d.ts +7 -0
- package/components/edit-option-position-picker/index.js +108 -0
- package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +30 -0
- package/components/edit-option-positions-number-field/index.cjs +42 -0
- package/components/edit-option-positions-number-field/index.d.ts +7 -0
- package/components/edit-option-positions-number-field/index.js +179 -0
- package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +18 -0
- package/components/edit-option-radio-button-group/index.cjs +36 -0
- package/components/edit-option-radio-button-group/index.d.ts +7 -0
- package/components/edit-option-radio-button-group/index.js +113 -0
- package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
- package/components/edit-option-slider/index.cjs +48 -0
- package/components/edit-option-slider/index.d.ts +7 -0
- package/components/edit-option-slider/index.js +1253 -0
- package/components/edit-option-switch/edit-option-switch.d.ts +11 -0
- package/components/edit-option-switch/index.cjs +50 -0
- package/components/edit-option-switch/index.d.ts +7 -0
- package/components/edit-option-switch/index.js +172 -0
- package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
- package/components/edit-option-text-field/index.cjs +31 -0
- package/components/edit-option-text-field/index.d.ts +7 -0
- package/components/edit-option-text-field/index.js +100 -0
- package/components/element-resolution-FCUT-wql--7ctE626.js +163 -0
- package/components/element-resolution-FCUT-wql-DSTvdyds.cjs +68 -0
- package/components/en-GB-BtLbN8o_.js +28 -0
- package/components/en-GB-Dd11ROdW.cjs +20 -0
- package/components/es-ByW01bzN.cjs +20 -0
- package/components/es-CwyPlN5d.cjs +20 -0
- package/components/es-D37mTCZB.js +104 -0
- package/components/es-KhTq4jX8.js +305 -0
- package/components/evolution-number-options.config-BgIZY4gQ.cjs +20 -0
- package/components/evolution-number-options.config-DzkfeoIN.js +201 -0
- package/components/evolution-number-options.de-BVv1Uutc.cjs +20 -0
- package/components/evolution-number-options.de-CCfmEfYm.js +104 -0
- package/components/evolution-number-options.en-CiZmE5r7.cjs +20 -0
- package/components/evolution-number-options.en-DR_iG53H.js +104 -0
- package/components/evolution-number-options.es-BPxQCaR6.js +104 -0
- package/components/evolution-number-options.es-k2eY1Y3G.cjs +20 -0
- package/components/evolution-number-options.fr-B47Fwd-D.cjs +20 -0
- package/components/evolution-number-options.fr-CFfC9bub.js +104 -0
- package/components/evolution-number-options.nl-CTppS5EY.cjs +20 -0
- package/components/evolution-number-options.nl-CrD9OFX6.js +104 -0
- package/components/evolution-number-slots.config-BI-sFIug.cjs +20 -0
- package/components/evolution-number-slots.config-CW21b2ua.js +39 -0
- package/components/fi-Dh_ebgpe.js +97 -0
- package/components/fi-rijeZE5V.cjs +20 -0
- package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
- package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
- package/components/focusable-BNESohBR-DYvAZYXL.js +242 -0
- package/components/focusable-BNESohBR-DbTLvYXr.cjs +52 -0
- package/components/focusable-Cu_m_GTh.cjs +42 -0
- package/components/focusable-Dw_pMNQL.js +852 -0
- package/components/formatter-CQDms6fU.js +1478 -0
- package/components/formatter-DiJYkB6b.cjs +20 -0
- package/components/fr-BWJHvkss.js +104 -0
- package/components/fr-BcgE-6S_.cjs +20 -0
- package/components/fr-CU727YF1.js +305 -0
- package/components/fr-DnFUAglm.cjs +20 -0
- package/components/funnel-chart-options.config-CIOrejfS.js +185 -0
- package/components/funnel-chart-options.config-L_gqlFs2.cjs +20 -0
- package/components/funnel-chart-options.de-CuVFMJUC.js +93 -0
- package/components/funnel-chart-options.de-DRAGes5d.cjs +20 -0
- package/components/funnel-chart-options.en-CvPbJr1r.js +93 -0
- package/components/funnel-chart-options.en-b6BBKfZh.cjs +20 -0
- package/components/funnel-chart-options.es-DfDw5S5g.cjs +20 -0
- package/components/funnel-chart-options.es-_M7sC4m6.js +93 -0
- package/components/funnel-chart-options.fr-DWkPkC47.cjs +20 -0
- package/components/funnel-chart-options.fr-DvnZ-XbE.js +93 -0
- package/components/funnel-chart-options.nl-BdAL0ZJP.cjs +20 -0
- package/components/funnel-chart-options.nl-C72_FTNm.js +93 -0
- package/components/funnel-chart-slots.config-BBhMS2qi.js +40 -0
- package/components/funnel-chart-slots.config-WrokHS7f.cjs +20 -0
- package/components/get-css-variable-Bhbr-Kr1.js +1413 -0
- package/components/get-css-variable-DLiZYZEi.cjs +24 -0
- package/components/he-Au3xg6lR.js +89 -0
- package/components/he-O6Ih8Bqh.cjs +20 -0
- package/components/heat-map-options.config-BAuSJV3_.js +158 -0
- package/components/heat-map-options.config-DsUXxjN0.cjs +20 -0
- package/components/heat-map-options.de-6onYsjdI.js +91 -0
- package/components/heat-map-options.de-Cz5Pwwcu.cjs +20 -0
- package/components/heat-map-options.en-DHX1GKcM.cjs +20 -0
- package/components/heat-map-options.en-mwgrQFkO.js +91 -0
- package/components/heat-map-options.es-A-j6i3Tz.cjs +20 -0
- package/components/heat-map-options.es-Dd0KsseA.js +91 -0
- package/components/heat-map-options.fr-BkrrUt04.js +91 -0
- package/components/heat-map-options.fr-C3LwETEg.cjs +20 -0
- package/components/heat-map-options.nl-CXn1y4jH.cjs +20 -0
- package/components/heat-map-options.nl-DME6ILT5.js +91 -0
- package/components/heat-map-slots.config-CSxSsQwX.cjs +20 -0
- package/components/heat-map-slots.config-cdD8XTmI.js +39 -0
- package/components/heat-table-options.config-DSu_18VG.js +309 -0
- package/components/heat-table-options.config-DqPL2hIY.cjs +20 -0
- package/components/heat-table-options.de-BABkUn2Y.js +142 -0
- package/components/heat-table-options.de-aYfCrdCP.cjs +20 -0
- package/components/heat-table-options.en-BUBmMDZW.js +142 -0
- package/components/heat-table-options.en-CIdnDv3K.cjs +20 -0
- package/components/heat-table-options.es-DaK6qGQC.cjs +20 -0
- package/components/heat-table-options.es-Dl9D9rD_.js +142 -0
- package/components/heat-table-options.fr-BouHFs1P.cjs +20 -0
- package/components/heat-table-options.fr-DOShw8a1.js +142 -0
- package/components/heat-table-options.nl-8CXDqKzS.cjs +20 -0
- package/components/heat-table-options.nl-D6Fn7sgt.js +142 -0
- package/components/heat-table-slots.config-DJkP72oT.js +48 -0
- package/components/heat-table-slots.config-GGX3BCh1.cjs +20 -0
- package/components/helpers-DXQwEH1P.cjs +20 -0
- package/components/helpers-v1bPALRP.js +91 -0
- package/components/hexbin-map-options.config-B_KAcDYq.cjs +20 -0
- package/components/hexbin-map-options.config-DaaC88d8.js +232 -0
- package/components/hexbin-map-options.de-BuLxwJd2.js +128 -0
- package/components/hexbin-map-options.de-DPYaSNHm.cjs +20 -0
- package/components/hexbin-map-options.en-CEGMU7TX.cjs +20 -0
- package/components/hexbin-map-options.en-CXV4sbbg.js +128 -0
- package/components/hexbin-map-options.es-2f7amcb6.js +128 -0
- package/components/hexbin-map-options.es-urnYaXEk.cjs +20 -0
- package/components/hexbin-map-options.fr-DxRtJ3_F.cjs +20 -0
- package/components/hexbin-map-options.fr-J3g_JcSM.js +128 -0
- package/components/hexbin-map-options.nl-BnvrfMKQ.js +128 -0
- package/components/hexbin-map-options.nl-GZtiTQw6.cjs +20 -0
- package/components/hexbin-map-slots.config-CSxSsQwX.cjs +20 -0
- package/components/hexbin-map-slots.config-cdD8XTmI.js +39 -0
- package/components/hu-BnZ8y3xQ.cjs +20 -0
- package/components/hu-DNJ-P_MW.js +97 -0
- package/components/if-defined-CF8baNdl.cjs +24 -0
- package/components/if-defined-D-1p2bLN-0_AoRnT2.cjs +60 -0
- package/components/if-defined-D-1p2bLN-Bn-33APC.js +94 -0
- package/components/if-defined-DbhS35z5.js +29 -0
- package/components/image-options.config-CBfeq5Zw.js +127 -0
- package/components/image-options.config-Dqhc2c3b.cjs +20 -0
- package/components/image-options.de-CBkRiIbw.cjs +20 -0
- package/components/image-options.de-CYVnqdL_.js +92 -0
- package/components/image-options.en-BMmV-4O-.js +92 -0
- package/components/image-options.en-DflcU_2H.cjs +20 -0
- package/components/image-options.es-CRbNv384.cjs +20 -0
- package/components/image-options.es-UN5rmaEt.js +92 -0
- package/components/image-options.fr-DRE3zImB.js +92 -0
- package/components/image-options.fr-ycH7UoX5.cjs +20 -0
- package/components/image-options.nl-D20hki6i.js +92 -0
- package/components/image-options.nl-DQL45o0j.cjs +20 -0
- package/components/image-slots.config-IpwUxDyU.js +23 -0
- package/components/image-slots.config-mPXMR1CE.cjs +20 -0
- package/components/index-0HUnZcem.cjs +36 -0
- package/components/index-B3jkBlKY.js +104 -0
- package/components/index-B9dQtvu7.js +298 -0
- package/components/index-BEAYzHcY.js +113 -0
- package/components/index-BIrO4_kD.cjs +20 -0
- package/components/index-BKcvEgWr.cjs +54 -0
- package/components/index-BXMPi13W.js +3170 -0
- package/components/index-Bb8vxGZY.js +843 -0
- package/components/index-BkCJwWm3.cjs +57 -0
- package/components/index-BnbhRpm9.js +163 -0
- package/components/index-Brg_sVUg.js +48 -0
- package/components/index-Bwxvaqxq.cjs +192 -0
- package/components/index-C2-2RrwB.cjs +67 -0
- package/components/index-C9-QEfA9.cjs +59 -0
- package/components/index-CF84gqsb.cjs +42 -0
- package/components/index-CRx2nPkq.js +316 -0
- package/components/index-CVuJ-LUO.cjs +36 -0
- package/components/index-CbeVu32V.js +136 -0
- package/components/index-CqFCIIIl.js +76 -0
- package/components/index-CqynTbW1.cjs +217 -0
- package/components/index-D5rT-qy9.cjs +117 -0
- package/components/index-D8Na-686.cjs +36 -0
- package/components/index-DFnzlbHX.js +779 -0
- package/components/index-DJik7S7b.js +144 -0
- package/components/index-DZZMSlYS.js +174 -0
- package/components/index-DhDgy1sp.cjs +20 -0
- package/components/index-Dwp251OJ.js +841 -0
- package/components/index-Rjoe8cIs.js +968 -0
- package/components/index-_McOOiwL.cjs +39 -0
- package/components/index-bZQXFqxv.cjs +127 -0
- package/components/index-fl13NYnO.js +76 -0
- package/components/index-hogChFy0.cjs +195 -0
- package/components/index-t45_zv93.js +115 -0
- package/components/index-uRWe553S.cjs +95 -0
- package/components/index.cjs +20 -0
- package/components/index.js +487 -0
- package/components/it-Bh5U73z6.js +305 -0
- package/components/it-PshtLMkq.cjs +20 -0
- package/components/item-list.cjs +20 -0
- package/components/item-list.js +423 -0
- package/components/item-menu/item-list/item-list.d.ts +35 -0
- package/components/item-slots-configs.cjs +20 -0
- package/components/item-slots-configs.js +109 -0
- package/components/ja-CCcHUL61.js +89 -0
- package/components/ja-KIS2HdaG.cjs +20 -0
- package/components/ko--l4qmjLV.cjs +20 -0
- package/components/ko-DhapsZMM.js +89 -0
- package/components/line-chart-options.config-DB3IsXXr.js +180 -0
- package/components/line-chart-options.config-DSugoe0t.cjs +20 -0
- package/components/line-chart-options.de-C4c6fWBr.js +82 -0
- package/components/line-chart-options.de-zuguhS7L.cjs +20 -0
- package/components/line-chart-options.en-C88UT2iR.cjs +20 -0
- package/components/line-chart-options.en-XEng6bZk.js +82 -0
- package/components/line-chart-options.es-B6CBKzRj.js +82 -0
- package/components/line-chart-options.es-CvABRdF7.cjs +20 -0
- package/components/line-chart-options.fr-BIugWKt4.js +82 -0
- package/components/line-chart-options.fr-BtfgIPkW.cjs +20 -0
- package/components/line-chart-options.nl-87TuLT5-.js +82 -0
- package/components/line-chart-options.nl-mAxtSkJo.cjs +20 -0
- package/components/line-chart-slots.config-CIfDfftd.cjs +20 -0
- package/components/line-chart-slots.config-P7xa-pHi.js +52 -0
- package/components/localize-BX7q0S0M.js +52 -0
- package/components/localize-r7ALOUy_.cjs +20 -0
- package/components/luzmo-icons-BDClm1AE.cjs +31 -0
- package/components/luzmo-icons-BLN3xVgr-Cr3OrsqW.cjs +47 -0
- package/components/luzmo-icons-BLN3xVgr-Tz5XXgbL.js +118 -0
- package/components/luzmo-icons-U09GB75o.js +561 -0
- package/components/marker-map-options.config-CYoq89Oz.js +114 -0
- package/components/marker-map-options.config-_XFv5XWK.cjs +20 -0
- package/components/marker-map-options.de-BsQQMw02.cjs +20 -0
- package/components/marker-map-options.de-FSPgJVkZ.js +73 -0
- package/components/marker-map-options.en-B1rA5oWS.js +73 -0
- package/components/marker-map-options.en-CS9itUOA.cjs +20 -0
- package/components/marker-map-options.es-A5ZV4oul.cjs +20 -0
- package/components/marker-map-options.es-BBzqqF-j.js +73 -0
- package/components/marker-map-options.fr-CyoC79GW.js +73 -0
- package/components/marker-map-options.fr-yEc1vbcL.cjs +20 -0
- package/components/marker-map-options.nl-CBCPk9iq.js +73 -0
- package/components/marker-map-options.nl-YdcS3JJg.cjs +20 -0
- package/components/marker-map-slots.config-CSxSsQwX.cjs +20 -0
- package/components/marker-map-slots.config-cdD8XTmI.js +39 -0
- package/components/mk-B9HPSuKa.js +97 -0
- package/components/mk-DZlj-edb.cjs +20 -0
- package/components/nl-BKlDqOXb.cjs +20 -0
- package/components/nl-BwSt5Bf4.js +109 -0
- package/components/nl-CWxJcTNT.js +104 -0
- package/components/nl-CpfDNK5c.cjs +20 -0
- package/components/no-D-DofYnx.js +109 -0
- package/components/no-D_SzxhTu.cjs +20 -0
- package/components/observe-slot-text-CVKLDesL-BB2RmFgc.cjs +86 -0
- package/components/observe-slot-text-CVKLDesL-CXUeCmXW.js +221 -0
- package/components/ohlc-chart-options.config-BLlRV_bs.cjs +20 -0
- package/components/ohlc-chart-options.config-D9npwajt.js +75 -0
- package/components/ohlc-chart-options.de-CZj-UIJm.js +46 -0
- package/components/ohlc-chart-options.de-D82a4TlN.cjs +20 -0
- package/components/ohlc-chart-options.en-W7r8X64N.js +54 -0
- package/components/ohlc-chart-options.en-WsfJ9z1E.cjs +20 -0
- package/components/ohlc-chart-options.es-B1PdbaLo.js +46 -0
- package/components/ohlc-chart-options.es-BLKIOFho.cjs +20 -0
- package/components/ohlc-chart-options.fr-3n_H_IQ3.js +46 -0
- package/components/ohlc-chart-options.fr-D6YoAH4U.cjs +20 -0
- package/components/ohlc-chart-options.nl-BVw9fPpa.js +46 -0
- package/components/ohlc-chart-options.nl-lWVHjRUM.cjs +20 -0
- package/components/ohlc-chart-slots.config-Cvy5n1xv.js +64 -0
- package/components/ohlc-chart-slots.config-DMomcHMV.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config-B9eRq_Dj.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config-DxB4kd58.js +46 -0
- package/components/parallel-coordinates-plot-options.de-DRG1qPm_.js +38 -0
- package/components/parallel-coordinates-plot-options.de-Dm5-9Du6.cjs +20 -0
- package/components/parallel-coordinates-plot-options.en-D40V_8T7.js +38 -0
- package/components/parallel-coordinates-plot-options.en-mGJiceE7.cjs +20 -0
- package/components/parallel-coordinates-plot-options.es-BCGOmM2a.js +38 -0
- package/components/parallel-coordinates-plot-options.es-UhSh9vHw.cjs +20 -0
- package/components/parallel-coordinates-plot-options.fr-DNjANPoh.cjs +20 -0
- package/components/parallel-coordinates-plot-options.fr-DjnwEK55.js +38 -0
- package/components/parallel-coordinates-plot-options.nl-BK5ytDIO.js +38 -0
- package/components/parallel-coordinates-plot-options.nl-DCXPdyr2.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-BRXA5nUl.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-CQW2CJW6.js +44 -0
- package/components/periods.const-CDIkC5CK.cjs +20 -0
- package/components/periods.const-GHh5bPfs.js +176 -0
- package/components/pivot-table-options.config-BiJXKSFR.cjs +20 -0
- package/components/pivot-table-options.config-DNK_AIG7.js +232 -0
- package/components/pivot-table-options.de-CEaD9SHr.cjs +20 -0
- package/components/pivot-table-options.de-Dfa6EWs8.js +97 -0
- package/components/pivot-table-options.en-B5sM2MbV.js +97 -0
- package/components/pivot-table-options.en-DC07VN7H.cjs +20 -0
- package/components/pivot-table-options.es-DRXomw6R.js +97 -0
- package/components/pivot-table-options.es-Xm6ENByP.cjs +20 -0
- package/components/pivot-table-options.fr-ClLROt4b.cjs +20 -0
- package/components/pivot-table-options.fr-DEm9IyRf.js +97 -0
- package/components/pivot-table-options.nl-C4c_dGos.js +97 -0
- package/components/pivot-table-options.nl-Dk2Oeu8i.cjs +20 -0
- package/components/pivot-table-slots.config-BH5fOJre.js +48 -0
- package/components/pivot-table-slots.config-DzGWM3Ez.cjs +20 -0
- package/components/pl-D_L_0Boq.js +97 -0
- package/components/pl-PIK23rK_.cjs +20 -0
- package/components/popover-DRyjN9y_-7mF_fAOh.cjs +48 -0
- package/components/popover-DRyjN9y_-w1zh4tvw.js +85 -0
- package/components/pt-B0BBS5VB.js +89 -0
- package/components/pt-Dqlu4MS5.cjs +20 -0
- package/components/pyramid-chart-options.config-C4zbFS26.cjs +20 -0
- package/components/pyramid-chart-options.config-CcVMatYx.js +285 -0
- package/components/pyramid-chart-options.de-CwVggi4v.js +109 -0
- package/components/pyramid-chart-options.de-DKas0NiC.cjs +20 -0
- package/components/pyramid-chart-options.en-L6DFdrRz.cjs +20 -0
- package/components/pyramid-chart-options.en-elRf98In.js +109 -0
- package/components/pyramid-chart-options.es-BBbeV0cJ.js +109 -0
- package/components/pyramid-chart-options.es-Cu0g6t6A.cjs +20 -0
- package/components/pyramid-chart-options.fr-C1NDQloJ.js +109 -0
- package/components/pyramid-chart-options.fr-CreHLwD_.cjs +20 -0
- package/components/pyramid-chart-options.nl-CRbkXz3i.cjs +20 -0
- package/components/pyramid-chart-options.nl-DBCQKS8l.js +109 -0
- package/components/pyramid-chart-slots.config-Cm9bQsXT.js +47 -0
- package/components/pyramid-chart-slots.config-DeWrVApy.cjs +20 -0
- package/components/query-D5qWDopr.cjs +24 -0
- package/components/query-Ddbd72Um.js +39 -0
- package/components/query-assigned-nodes-C76XVPWY-BWouxGZs.js +55 -0
- package/components/query-assigned-nodes-C76XVPWY-k1jDPyUQ.cjs +40 -0
- package/components/radar-chart-options.config-CUZn_3Fd.js +146 -0
- package/components/radar-chart-options.config-EqQu6PTh.cjs +20 -0
- package/components/radar-chart-options.de-BGHs6QoY.cjs +20 -0
- package/components/radar-chart-options.de-DUzx_7w0.js +66 -0
- package/components/radar-chart-options.en-CV6ZYx8z.js +66 -0
- package/components/radar-chart-options.en-DXlfL8Qm.cjs +20 -0
- package/components/radar-chart-options.es-BgvSKtUs.js +66 -0
- package/components/radar-chart-options.es-DBw1arWW.cjs +20 -0
- package/components/radar-chart-options.fr-CKBFCZK0.cjs +20 -0
- package/components/radar-chart-options.fr-CobHnfMX.js +66 -0
- package/components/radar-chart-options.nl-M4-vur3g.js +66 -0
- package/components/radar-chart-options.nl-k4gGr6lf.cjs +20 -0
- package/components/radar-chart-slots.config-Dpmytmc3.js +47 -0
- package/components/radar-chart-slots.config-Dxx5fKnS.cjs +20 -0
- package/components/regular-table-options.config-BoLZsBry.js +175 -0
- package/components/regular-table-options.config-DTx3RTnS.cjs +20 -0
- package/components/regular-table-options.de-DHgnwaEe.cjs +20 -0
- package/components/regular-table-options.de-N0yetsiL.js +73 -0
- package/components/regular-table-options.en-5rWPzGrr.js +73 -0
- package/components/regular-table-options.en-DPoF7r6r.cjs +20 -0
- package/components/regular-table-options.es-8cbzQG40.cjs +20 -0
- package/components/regular-table-options.es-C__0JdSP.js +73 -0
- package/components/regular-table-options.fr-C8X5GUEz.js +73 -0
- package/components/regular-table-options.fr-D4dSaBN-.cjs +20 -0
- package/components/regular-table-options.nl-DgDtntYc.js +73 -0
- package/components/regular-table-options.nl-DvIvjTvR.cjs +20 -0
- package/components/regular-table-slots.config-ChrvnRDb.cjs +20 -0
- package/components/regular-table-slots.config-EUS-V9lL.js +33 -0
- package/components/route-map-options.config-CcQXPmjN.cjs +20 -0
- package/components/route-map-options.config-u0hQqmDh.js +136 -0
- package/components/route-map-options.de-DrhHqbdy.js +74 -0
- package/components/route-map-options.de-ey7CT_tQ.cjs +20 -0
- package/components/route-map-options.en-CjyQT-Ue.cjs +20 -0
- package/components/route-map-options.en-DAgywIcY.js +74 -0
- package/components/route-map-options.es-BR7NuBw0.js +74 -0
- package/components/route-map-options.es-aEyX7m3t.cjs +20 -0
- package/components/route-map-options.fr-42waILBL.cjs +20 -0
- package/components/route-map-options.fr-C7TkfcdY.js +74 -0
- package/components/route-map-options.nl-Btd3mxx0.js +74 -0
- package/components/route-map-options.nl-X4lAer8J.cjs +20 -0
- package/components/route-map-slots.config-BfbIWCr0.cjs +20 -0
- package/components/route-map-slots.config-DYCcaQZi.js +53 -0
- package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +36 -0
- package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +85 -0
- package/components/ru-Vo-m3O_2.js +108 -0
- package/components/ru-zyNDTB04.cjs +20 -0
- package/components/sankey-diagram-options.config-RFB83YLZ.cjs +20 -0
- package/components/sankey-diagram-options.config-tVLKy_Zn.js +128 -0
- package/components/sankey-diagram-options.de-BOtJSpbI.cjs +20 -0
- package/components/sankey-diagram-options.de-kp4wK81w.js +79 -0
- package/components/sankey-diagram-options.en-BJG2rmog.js +79 -0
- package/components/sankey-diagram-options.en-DMx4MkN-.cjs +20 -0
- package/components/sankey-diagram-options.es-BdDSG9DB.cjs +20 -0
- package/components/sankey-diagram-options.es-DoU2uZkk.js +79 -0
- package/components/sankey-diagram-options.fr-CqASKXuH.js +79 -0
- package/components/sankey-diagram-options.fr-D1MrJM4P.cjs +20 -0
- package/components/sankey-diagram-options.nl-BQcClmve.js +79 -0
- package/components/sankey-diagram-options.nl-DW_wVZ1O.cjs +20 -0
- package/components/sankey-diagram-slots.config-B7Q-ZfUP.cjs +20 -0
- package/components/sankey-diagram-slots.config-BSTBEZDe.js +55 -0
- package/components/scatter-plot-options.config-DkJLutNb.cjs +20 -0
- package/components/scatter-plot-options.config-lrkd9qj4.js +321 -0
- package/components/scatter-plot-options.de-CNfyb-0y.js +134 -0
- package/components/scatter-plot-options.de-fSoIvHJy.cjs +20 -0
- package/components/scatter-plot-options.en-CGCdpOtQ.cjs +20 -0
- package/components/scatter-plot-options.en-DT_QitaD.js +134 -0
- package/components/scatter-plot-options.es-CLRJMSqn.cjs +20 -0
- package/components/scatter-plot-options.es-Cb_VrOKP.js +134 -0
- package/components/scatter-plot-options.fr-AUEQJHAt.js +134 -0
- package/components/scatter-plot-options.fr-Da2McGuN.cjs +20 -0
- package/components/scatter-plot-options.nl-C53CChoE.js +134 -0
- package/components/scatter-plot-options.nl-CRWq01rL.cjs +20 -0
- package/components/scatter-plot-slots.config-BuWYqDWK.js +70 -0
- package/components/scatter-plot-slots.config-wlX_PVu8.cjs +20 -0
- package/components/search-filter-options.config-BCaDlYqZ.cjs +20 -0
- package/components/search-filter-options.config-BE3JhR-F.js +111 -0
- package/components/search-filter-options.de-BK66ORWq.cjs +20 -0
- package/components/search-filter-options.de-CtQU33mZ.js +60 -0
- package/components/search-filter-options.en-CDPrPilw.cjs +20 -0
- package/components/search-filter-options.en-D_lZl4BW.js +60 -0
- package/components/search-filter-options.es-4mDTBqYv.js +60 -0
- package/components/search-filter-options.es-D7Z_PcC1.cjs +20 -0
- package/components/search-filter-options.fr-CSzsk8kC.js +60 -0
- package/components/search-filter-options.fr-DhaK1uUa.cjs +20 -0
- package/components/search-filter-options.nl-CAA7cBhK.cjs +20 -0
- package/components/search-filter-options.nl-CUIS-wlX.js +60 -0
- package/components/search-filter-slots.config-DOlr8VaD.cjs +20 -0
- package/components/search-filter-slots.config-DmiVXOva.js +47 -0
- package/components/set-locale-ByIApH40.cjs +60 -0
- package/components/set-locale-DJYT4V7U.js +212 -0
- package/components/sized-mixin-Cqlxwicw.cjs +20 -0
- package/components/sized-mixin-DMuOVsw0.js +65 -0
- package/components/slicer-filter-options.config-3JZZcw5C.js +193 -0
- package/components/slicer-filter-options.config-DNI-XevE.cjs +20 -0
- package/components/slicer-filter-options.de-89LcA_-b.js +89 -0
- package/components/slicer-filter-options.de-DRazS_m2.cjs +20 -0
- package/components/slicer-filter-options.en-BtvdQlh6.js +89 -0
- package/components/slicer-filter-options.en-CpMgGFQr.cjs +20 -0
- package/components/slicer-filter-options.es-CS_RNuGQ.cjs +20 -0
- package/components/slicer-filter-options.es-CsuWj6x4.js +89 -0
- package/components/slicer-filter-options.fr-CfCs-AJo.cjs +20 -0
- package/components/slicer-filter-options.fr-Q1R9a5aW.js +89 -0
- package/components/slicer-filter-options.nl-BR-R2l1o.js +89 -0
- package/components/slicer-filter-options.nl-C_n1KiTW.cjs +20 -0
- package/components/slicer-filter-slots.config-CHQ0ZXga.js +45 -0
- package/components/slicer-filter-slots.config-Dyte3aGp.cjs +20 -0
- package/components/slider-filter-options.config-DH4SS8wH.js +80 -0
- package/components/slider-filter-options.config-_8Z2zKmU.cjs +20 -0
- package/components/slider-filter-options.de-BETdnh_t.js +47 -0
- package/components/slider-filter-options.de-BgUkQGYO.cjs +20 -0
- package/components/slider-filter-options.en-DpbWEGHE.js +47 -0
- package/components/slider-filter-options.en-Dvn-ux4N.cjs +20 -0
- package/components/slider-filter-options.es-B9ObSQWh.cjs +20 -0
- package/components/slider-filter-options.es-CWazXehw.js +47 -0
- package/components/slider-filter-options.fr-B2RT9GfR.js +47 -0
- package/components/slider-filter-options.fr-DI6QMjqa.cjs +20 -0
- package/components/slider-filter-options.nl-CwxJqGoK.js +47 -0
- package/components/slider-filter-options.nl-autc8gPj.cjs +20 -0
- package/components/slider-filter-slots.config-BN3K1rnl.js +33 -0
- package/components/slider-filter-slots.config-Cr5oXbok.cjs +20 -0
- package/components/slot-menu/index.cjs +55 -0
- package/components/slot-menu/index.d.ts +7 -0
- package/components/slot-menu/index.js +188 -0
- package/components/slot-menu/slot-menu.d.ts +66 -0
- package/components/slot-menu-list/index.cjs +39 -0
- package/components/slot-menu-list/index.d.ts +7 -0
- package/components/slot-menu-list/index.js +351 -0
- package/components/slot-menu-list/slot-menu-list.d.ts +33 -0
- package/components/spacer-options.config-IpwUxDyU.js +23 -0
- package/components/spacer-options.config-mPXMR1CE.cjs +20 -0
- package/components/speedometer-chart-options.config-CVsSjLmh.cjs +20 -0
- package/components/speedometer-chart-options.config-Dt2feQYV.js +199 -0
- package/components/speedometer-chart-options.de-D5SIAUZA.cjs +20 -0
- package/components/speedometer-chart-options.de-Es9DDvRK.js +90 -0
- package/components/speedometer-chart-options.en-BUj6JXhT.cjs +20 -0
- package/components/speedometer-chart-options.en-ByIJm8EZ.js +90 -0
- package/components/speedometer-chart-options.es-CPKH0xpW.js +90 -0
- package/components/speedometer-chart-options.es-DalX0e7D.cjs +20 -0
- package/components/speedometer-chart-options.fr-BctlGfgX.js +90 -0
- package/components/speedometer-chart-options.fr-Dqn95u64.cjs +20 -0
- package/components/speedometer-chart-options.nl-Bo6cV2j0.cjs +20 -0
- package/components/speedometer-chart-options.nl-Ygle7DjX.js +90 -0
- package/components/speedometer-chart-slots.config-Cd-nkNPm.cjs +20 -0
- package/components/speedometer-chart-slots.config-DA-ZAc5d.js +39 -0
- package/components/spike-map-options.config-PpPPrsR2.cjs +20 -0
- package/components/spike-map-options.config-pdbV_vwg.js +218 -0
- package/components/spike-map-options.de-BW8YhDI8.cjs +20 -0
- package/components/spike-map-options.de-BxTSDs6l.js +101 -0
- package/components/spike-map-options.en-C0DCu7ul.js +101 -0
- package/components/spike-map-options.en-fNS4A50-.cjs +20 -0
- package/components/spike-map-options.es-I-obYF7j.cjs +20 -0
- package/components/spike-map-options.es-bTfVypDV.js +101 -0
- package/components/spike-map-options.fr-BKzDjsKP.js +101 -0
- package/components/spike-map-options.fr-DWA0ZZBQ.cjs +20 -0
- package/components/spike-map-options.nl-BGPuQRih.js +101 -0
- package/components/spike-map-options.nl-D5Wu6E5D.cjs +20 -0
- package/components/spike-map-slots.config-CuqpgkvN.js +46 -0
- package/components/spike-map-slots.config-Drga6_j0.cjs +20 -0
- package/components/state-QgHgNZLe.cjs +24 -0
- package/components/state-e2n-fyrr.js +31 -0
- package/components/streaming-listener-C8Ctj0Q6-BhMxS69F.cjs +52 -0
- package/components/streaming-listener-C8Ctj0Q6-lanbGKR9.js +161 -0
- package/components/strip-plot-options.config-Bdr8yQJu.js +54 -0
- package/components/strip-plot-options.config-CKy1s16H.cjs +20 -0
- package/components/strip-plot-options.de-DlfRU9aR.js +41 -0
- package/components/strip-plot-options.de-DwOrv0sQ.cjs +20 -0
- package/components/strip-plot-options.en-CjD5zNiU.cjs +20 -0
- package/components/strip-plot-options.en-DqX0AadE.js +41 -0
- package/components/strip-plot-options.es-9lwDujvw.js +41 -0
- package/components/strip-plot-options.es-D_ZS1l9j.cjs +20 -0
- package/components/strip-plot-options.fr-B9cy_kwu.js +41 -0
- package/components/strip-plot-options.fr-C6gKZaLg.cjs +20 -0
- package/components/strip-plot-options.nl-BKYdZ6MS.js +41 -0
- package/components/strip-plot-options.nl-BkQ9nc9g.cjs +20 -0
- package/components/strip-plot-slots.config-Co8ghEv8.js +40 -0
- package/components/strip-plot-slots.config-JvkKY5Ga.cjs +20 -0
- package/components/sunburst-chart-options.config-AbNjWS6t.cjs +20 -0
- package/components/sunburst-chart-options.config-CNauGQJv.js +133 -0
- package/components/sunburst-chart-options.de-BDu_ZCdb.cjs +20 -0
- package/components/sunburst-chart-options.de-DOjqnDNg.js +58 -0
- package/components/sunburst-chart-options.en-D9Rr49yw.cjs +20 -0
- package/components/sunburst-chart-options.en-DQOS_dec.js +58 -0
- package/components/sunburst-chart-options.es-Ba8WDFHg.cjs +20 -0
- package/components/sunburst-chart-options.es-DGsVkhyC.js +58 -0
- package/components/sunburst-chart-options.fr-1Ecu2sp2.cjs +20 -0
- package/components/sunburst-chart-options.fr-DIWRXmkr.js +58 -0
- package/components/sunburst-chart-options.nl-BbOLWrEh.cjs +20 -0
- package/components/sunburst-chart-options.nl-D0hYq2Mh.js +58 -0
- package/components/sunburst-chart-slots.config-C-_ganmv.cjs +20 -0
- package/components/sunburst-chart-slots.config-xwVdRiwS.js +40 -0
- package/components/sv-1DPTltNQ.cjs +20 -0
- package/components/sv-CiozMaev.js +89 -0
- package/components/symbol-map-options.config-Bj-UuL9m.js +169 -0
- package/components/symbol-map-options.config-sdPlHspI.cjs +20 -0
- package/components/symbol-map-options.de-BpGDOFd7.cjs +20 -0
- package/components/symbol-map-options.de-DH9lmyDE.js +82 -0
- package/components/symbol-map-options.en-BZeByzvx.js +82 -0
- package/components/symbol-map-options.en-DfbVAChu.cjs +20 -0
- package/components/symbol-map-options.es-B4bPEp8B.js +82 -0
- package/components/symbol-map-options.es-DwitkQlR.cjs +20 -0
- package/components/symbol-map-options.fr-AkIE-3m3.js +82 -0
- package/components/symbol-map-options.fr-CmMvfUDf.cjs +20 -0
- package/components/symbol-map-options.nl-Dus8jRh5.js +82 -0
- package/components/symbol-map-options.nl-DxnQtnnP.cjs +20 -0
- package/components/symbol-map-slots.config-C5CKaVED.js +47 -0
- package/components/symbol-map-slots.config-DtW-3xkd.cjs +20 -0
- package/components/task-fQFUVV8e.cjs +24 -0
- package/components/task-gE27tBDv.js +120 -0
- package/components/text-field-C0pFjPG1-B4TRivuD.js +430 -0
- package/components/text-field-C0pFjPG1-BCVbGXp7.cjs +147 -0
- package/components/text-options.config-BFB3rEmt.cjs +20 -0
- package/components/text-options.config-BWaJoeG2.js +73 -0
- package/components/text-options.de-BjfS5RBn.js +38 -0
- package/components/text-options.de-DLr2-jBn.cjs +20 -0
- package/components/text-options.en-BQqHFc7M.js +38 -0
- package/components/text-options.en-LfsMtwo6.cjs +20 -0
- package/components/text-options.es-BLQBqlvK.cjs +20 -0
- package/components/text-options.es-CMB1DKq4.js +38 -0
- package/components/text-options.fr-B8x29grG.cjs +20 -0
- package/components/text-options.fr-VPJ3bDOM.js +38 -0
- package/components/text-options.nl-C8sliUgH.js +38 -0
- package/components/text-options.nl-DzglrI3i.cjs +20 -0
- package/components/text-slots.config-BMBEkf0O.cjs +20 -0
- package/components/text-slots.config-Hy5yNIAX.js +23 -0
- package/components/tr-BkmWvOG2.cjs +20 -0
- package/components/tr-D_D4i5iv.js +109 -0
- package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +20 -0
- package/components/treemap-chart-options.config-D5AJaF_u.js +190 -0
- package/components/treemap-chart-options.de-Bdj6O-Ju.js +84 -0
- package/components/treemap-chart-options.de-Crku8ynJ.cjs +20 -0
- package/components/treemap-chart-options.en-D6co_QL8.js +84 -0
- package/components/treemap-chart-options.en-zSWDcqFt.cjs +20 -0
- package/components/treemap-chart-options.es-BjbsJzCM.js +84 -0
- package/components/treemap-chart-options.es-DXX2PyUh.cjs +20 -0
- package/components/treemap-chart-options.fr-B93bhLpR.cjs +20 -0
- package/components/treemap-chart-options.fr-VG44wSIJ.js +84 -0
- package/components/treemap-chart-options.nl-BTKv3TBd.js +84 -0
- package/components/treemap-chart-options.nl-ButbMHmU.cjs +20 -0
- package/components/treemap-chart-slots.config-C3bnHCyy.cjs +20 -0
- package/components/treemap-chart-slots.config-xLD22K9V.js +46 -0
- package/components/utils.cjs +20 -0
- package/components/utils.js +510 -0
- package/components/venn-diagram-slots.config-CpOPbUjs.cjs +20 -0
- package/components/venn-diagram-slots.config-DPmj71cR.js +48 -0
- package/components/video-options.config-CGsDTwHc.cjs +20 -0
- package/components/video-options.config-Dk36zJ1B.js +135 -0
- package/components/video-options.de-DIKmTgn5.js +76 -0
- package/components/video-options.de-DZUy2pUo.cjs +20 -0
- package/components/video-options.en-D69d612-.cjs +20 -0
- package/components/video-options.en-DMzcDD7I.js +76 -0
- package/components/video-options.es-BUKi6Pyc.cjs +20 -0
- package/components/video-options.es-CtV-__xN.js +76 -0
- package/components/video-options.fr-B7b4NJso.cjs +20 -0
- package/components/video-options.fr-DHt0mV9L.js +76 -0
- package/components/video-options.nl-1cNZgoqf.js +76 -0
- package/components/video-options.nl-CSiCG3Vu.cjs +20 -0
- package/components/video-slots.config-IpwUxDyU.js +23 -0
- package/components/video-slots.config-mPXMR1CE.cjs +20 -0
- package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +40 -0
- package/components/when-CDK1Tt5Y-C6ViXC43.js +47 -0
- package/components/wordcloud-chart-options.config-vGfCW8kE.cjs +20 -0
- package/components/wordcloud-chart-options.config-w2NUIWVA.js +71 -0
- package/components/wordcloud-chart-options.de-DnJjN2l-.cjs +20 -0
- package/components/wordcloud-chart-options.de-DwLQlEJg.js +48 -0
- package/components/wordcloud-chart-options.en-Ca5fXbS9.cjs +20 -0
- package/components/wordcloud-chart-options.en-DWkM70-M.js +48 -0
- package/components/wordcloud-chart-options.es-CkXbSwEc.js +48 -0
- package/components/wordcloud-chart-options.es-TkHFgMUu.cjs +20 -0
- package/components/wordcloud-chart-options.fr-DNK5Ouc5.js +48 -0
- package/components/wordcloud-chart-options.fr-Dz53DWyA.cjs +20 -0
- package/components/wordcloud-chart-options.nl-CcgmqL7I.js +48 -0
- package/components/wordcloud-chart-options.nl-Cy_9TRvD.cjs +20 -0
- package/components/wordcloud-chart-slots.config-BS4sOOHt.js +44 -0
- package/components/wordcloud-chart-slots.config-D7CiYopX.cjs +20 -0
- package/components/zh-CN-DTZ4OmdP.cjs +20 -0
- package/components/zh-CN-wsl7eFSd.js +89 -0
- package/components/zh-TW-DTZ4OmdP.cjs +20 -0
- package/components/zh-TW-wsl7eFSd.js +89 -0
- package/custom-elements.json +4012 -0
- package/generated/locale-codes.d.ts +13 -0
- package/index.d.ts +26 -0
- package/item-definitions/area-chart/area-chart-options.config.d.ts +114 -0
- package/item-definitions/area-chart/area-chart-slots.config.d.ts +44 -0
- package/item-definitions/area-chart/i18n/area-chart-options.de.d.ts +59 -0
- package/item-definitions/area-chart/i18n/area-chart-options.en.d.ts +59 -0
- package/item-definitions/area-chart/i18n/area-chart-options.es.d.ts +59 -0
- package/item-definitions/area-chart/i18n/area-chart-options.fr.d.ts +59 -0
- package/item-definitions/area-chart/i18n/area-chart-options.nl.d.ts +59 -0
- package/item-definitions/bar-chart/bar-chart-options.config.d.ts +129 -0
- package/item-definitions/bar-chart/bar-chart-slots.config.d.ts +24 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.de.d.ts +65 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.en.d.ts +65 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.es.d.ts +65 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.fr.d.ts +65 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.nl.d.ts +65 -0
- package/item-definitions/box-plot/box-plot-options.config.d.ts +173 -0
- package/item-definitions/box-plot/box-plot-slots.config.d.ts +26 -0
- package/item-definitions/box-plot/i18n/box-plot-options.de.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.en.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.es.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.fr.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.nl.d.ts +92 -0
- package/item-definitions/bubble-chart/bubble-chart-options.config.d.ts +90 -0
- package/item-definitions/bubble-chart/bubble-chart-slots.config.d.ts +30 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.de.d.ts +42 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.en.d.ts +42 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.es.d.ts +42 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.fr.d.ts +42 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.nl.d.ts +42 -0
- package/item-definitions/bullet-chart/bullet-chart-options.config.d.ts +43 -0
- package/item-definitions/bullet-chart/bullet-chart-slots.config.d.ts +18 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.de.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.en.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.es.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.fr.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.nl.d.ts +30 -0
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +168 -0
- package/item-definitions/choropleth-map/choropleth-map-slots.config.d.ts +29 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.de.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.en.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.es.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.fr.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.nl.d.ts +81 -0
- package/item-definitions/circle-pack-chart/circle-pack-chart-options.config.d.ts +14 -0
- package/item-definitions/circle-pack-chart/circle-pack-chart-slots.config.d.ts +22 -0
- package/item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.de.d.ts +20 -0
- package/item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.en.d.ts +20 -0
- package/item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.es.d.ts +20 -0
- package/item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.fr.d.ts +20 -0
- package/item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.nl.d.ts +20 -0
- package/item-definitions/circular-gauge/circular-gauge-options.config.d.ts +112 -0
- package/item-definitions/circular-gauge/circular-gauge-slots.config.d.ts +16 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.de.d.ts +52 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.en.d.ts +55 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.es.d.ts +52 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.fr.d.ts +55 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.nl.d.ts +55 -0
- package/item-definitions/column-chart/column-chart-options.config.d.ts +123 -0
- package/item-definitions/column-chart/column-chart-slots.config.d.ts +24 -0
- package/item-definitions/column-chart/i18n/column-chart-options.de.d.ts +65 -0
- package/item-definitions/column-chart/i18n/column-chart-options.en.d.ts +65 -0
- package/item-definitions/column-chart/i18n/column-chart-options.es.d.ts +65 -0
- package/item-definitions/column-chart/i18n/column-chart-options.fr.d.ts +65 -0
- package/item-definitions/column-chart/i18n/column-chart-options.nl.d.ts +65 -0
- package/item-definitions/combination-chart/combination-chart-options.config.d.ts +13 -0
- package/item-definitions/combination-chart/combination-chart-slots.config.d.ts +30 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.de.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.en.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.es.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.fr.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.nl.d.ts +17 -0
- package/item-definitions/conditional-number/conditional-number-options.config.d.ts +135 -0
- package/item-definitions/conditional-number/conditional-number-slots.config.d.ts +16 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.de.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.en.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.es.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.fr.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.nl.d.ts +53 -0
- package/item-definitions/date-filter/date-filter-options.config.d.ts +60 -0
- package/item-definitions/date-filter/date-filter-slots.config.d.ts +10 -0
- package/item-definitions/date-filter/i18n/date-filter-options.de.d.ts +51 -0
- package/item-definitions/date-filter/i18n/date-filter-options.en.d.ts +51 -0
- package/item-definitions/date-filter/i18n/date-filter-options.es.d.ts +51 -0
- package/item-definitions/date-filter/i18n/date-filter-options.fr.d.ts +51 -0
- package/item-definitions/date-filter/i18n/date-filter-options.nl.d.ts +51 -0
- package/item-definitions/donut-chart/donut-chart-options.config.d.ts +129 -0
- package/item-definitions/donut-chart/donut-chart-slots.config.d.ts +20 -0
- package/item-definitions/donut-chart/i18n/donut-chart-options.de.d.ts +78 -0
- package/item-definitions/donut-chart/i18n/donut-chart-options.en.d.ts +78 -0
- package/item-definitions/donut-chart/i18n/donut-chart-options.es.d.ts +78 -0
- package/item-definitions/donut-chart/i18n/donut-chart-options.fr.d.ts +78 -0
- package/item-definitions/donut-chart/i18n/donut-chart-options.nl.d.ts +78 -0
- package/item-definitions/dropdown-filter/dropdown-filter-options.config.d.ts +74 -0
- package/item-definitions/dropdown-filter/dropdown-filter-slots.config.d.ts +23 -0
- package/item-definitions/dropdown-filter/i18n/dropdown-filter-options.de.d.ts +61 -0
- package/item-definitions/dropdown-filter/i18n/dropdown-filter-options.en.d.ts +61 -0
- package/item-definitions/dropdown-filter/i18n/dropdown-filter-options.es.d.ts +61 -0
- package/item-definitions/dropdown-filter/i18n/dropdown-filter-options.fr.d.ts +61 -0
- package/item-definitions/dropdown-filter/i18n/dropdown-filter-options.nl.d.ts +61 -0
- package/item-definitions/evolution-number/evolution-number-options.config.d.ts +184 -0
- package/item-definitions/evolution-number/evolution-number-slots.config.d.ts +18 -0
- package/item-definitions/evolution-number/i18n/evolution-number-options.de.d.ts +83 -0
- package/item-definitions/evolution-number/i18n/evolution-number-options.en.d.ts +83 -0
- package/item-definitions/evolution-number/i18n/evolution-number-options.es.d.ts +83 -0
- package/item-definitions/evolution-number/i18n/evolution-number-options.fr.d.ts +83 -0
- package/item-definitions/evolution-number/i18n/evolution-number-options.nl.d.ts +83 -0
- package/item-definitions/funnel-chart/funnel-chart-options.config.d.ts +104 -0
- package/item-definitions/funnel-chart/funnel-chart-slots.config.d.ts +22 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.de.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.en.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.es.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.fr.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.nl.d.ts +72 -0
- package/item-definitions/heat-map/heat-map-options.config.d.ts +149 -0
- package/item-definitions/heat-map/heat-map-slots.config.d.ts +18 -0
- package/item-definitions/heat-map/i18n/heat-map-options.de.d.ts +70 -0
- package/item-definitions/heat-map/i18n/heat-map-options.en.d.ts +70 -0
- package/item-definitions/heat-map/i18n/heat-map-options.es.d.ts +70 -0
- package/item-definitions/heat-map/i18n/heat-map-options.fr.d.ts +70 -0
- package/item-definitions/heat-map/i18n/heat-map-options.nl.d.ts +70 -0
- package/item-definitions/heat-table/heat-table-options.config.d.ts +179 -0
- package/item-definitions/heat-table/heat-table-slots.config.d.ts +20 -0
- package/item-definitions/heat-table/i18n/heat-table-options.de.d.ts +121 -0
- package/item-definitions/heat-table/i18n/heat-table-options.en.d.ts +121 -0
- package/item-definitions/heat-table/i18n/heat-table-options.es.d.ts +121 -0
- package/item-definitions/heat-table/i18n/heat-table-options.fr.d.ts +121 -0
- package/item-definitions/heat-table/i18n/heat-table-options.nl.d.ts +121 -0
- package/item-definitions/helpers.d.ts +21 -0
- package/item-definitions/hexbin-map/hexbin-map-options.config.d.ts +189 -0
- package/item-definitions/hexbin-map/hexbin-map-slots.config.d.ts +18 -0
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.de.d.ts +107 -0
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.en.d.ts +107 -0
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.es.d.ts +107 -0
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.fr.d.ts +107 -0
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.nl.d.ts +107 -0
- package/item-definitions/image/i18n/image-options.de.d.ts +71 -0
- package/item-definitions/image/i18n/image-options.en.d.ts +71 -0
- package/item-definitions/image/i18n/image-options.es.d.ts +71 -0
- package/item-definitions/image/i18n/image-options.fr.d.ts +71 -0
- package/item-definitions/image/i18n/image-options.nl.d.ts +71 -0
- package/item-definitions/image/image-options.config.d.ts +126 -0
- package/item-definitions/image/image-slots.config.d.ts +2 -0
- package/item-definitions/item-list.d.ts +35 -0
- package/item-definitions/line-chart/i18n/line-chart-options.de.d.ts +61 -0
- package/item-definitions/line-chart/i18n/line-chart-options.en.d.ts +61 -0
- package/item-definitions/line-chart/i18n/line-chart-options.es.d.ts +61 -0
- package/item-definitions/line-chart/i18n/line-chart-options.fr.d.ts +61 -0
- package/item-definitions/line-chart/i18n/line-chart-options.nl.d.ts +61 -0
- package/item-definitions/line-chart/line-chart-options.config.d.ts +170 -0
- package/item-definitions/line-chart/line-chart-slots.config.d.ts +44 -0
- package/item-definitions/marker-map/i18n/marker-map-options.de.d.ts +52 -0
- package/item-definitions/marker-map/i18n/marker-map-options.en.d.ts +52 -0
- package/item-definitions/marker-map/i18n/marker-map-options.es.d.ts +52 -0
- package/item-definitions/marker-map/i18n/marker-map-options.fr.d.ts +52 -0
- package/item-definitions/marker-map/i18n/marker-map-options.nl.d.ts +52 -0
- package/item-definitions/marker-map/marker-map-options.config.d.ts +140 -0
- package/item-definitions/marker-map/marker-map-slots.config.d.ts +18 -0
- package/item-definitions/ohlc-chart/i18n/ohlc-chart-options.de.d.ts +25 -0
- package/item-definitions/ohlc-chart/i18n/ohlc-chart-options.en.d.ts +25 -0
- package/item-definitions/ohlc-chart/i18n/ohlc-chart-options.es.d.ts +25 -0
- package/item-definitions/ohlc-chart/i18n/ohlc-chart-options.fr.d.ts +25 -0
- package/item-definitions/ohlc-chart/i18n/ohlc-chart-options.nl.d.ts +25 -0
- package/item-definitions/ohlc-chart/ohlc-chart-options.config.d.ts +37 -0
- package/item-definitions/ohlc-chart/ohlc-chart-slots.config.d.ts +21 -0
- package/item-definitions/parallel-coordinates-plot/i18n/parallel-coordinates-plot-options.de.d.ts +17 -0
- package/item-definitions/parallel-coordinates-plot/i18n/parallel-coordinates-plot-options.en.d.ts +17 -0
- package/item-definitions/parallel-coordinates-plot/i18n/parallel-coordinates-plot-options.es.d.ts +17 -0
- package/item-definitions/parallel-coordinates-plot/i18n/parallel-coordinates-plot-options.fr.d.ts +17 -0
- package/item-definitions/parallel-coordinates-plot/i18n/parallel-coordinates-plot-options.nl.d.ts +17 -0
- package/item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-options.config.d.ts +21 -0
- package/item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-slots.config.d.ts +23 -0
- package/item-definitions/pivot-table/i18n/pivot-table-options.de.d.ts +76 -0
- package/item-definitions/pivot-table/i18n/pivot-table-options.en.d.ts +76 -0
- package/item-definitions/pivot-table/i18n/pivot-table-options.es.d.ts +76 -0
- package/item-definitions/pivot-table/i18n/pivot-table-options.fr.d.ts +76 -0
- package/item-definitions/pivot-table/i18n/pivot-table-options.nl.d.ts +76 -0
- package/item-definitions/pivot-table/pivot-table-options.config.d.ts +157 -0
- package/item-definitions/pivot-table/pivot-table-slots.config.d.ts +21 -0
- package/item-definitions/pyramid-chart/i18n/pyramid-chart-options.de.d.ts +88 -0
- package/item-definitions/pyramid-chart/i18n/pyramid-chart-options.en.d.ts +88 -0
- package/item-definitions/pyramid-chart/i18n/pyramid-chart-options.es.d.ts +88 -0
- package/item-definitions/pyramid-chart/i18n/pyramid-chart-options.fr.d.ts +88 -0
- package/item-definitions/pyramid-chart/i18n/pyramid-chart-options.nl.d.ts +88 -0
- package/item-definitions/pyramid-chart/pyramid-chart-options.config.d.ts +113 -0
- package/item-definitions/pyramid-chart/pyramid-chart-slots.config.d.ts +33 -0
- package/item-definitions/radar-chart/i18n/radar-chart-options.de.d.ts +45 -0
- package/item-definitions/radar-chart/i18n/radar-chart-options.en.d.ts +45 -0
- package/item-definitions/radar-chart/i18n/radar-chart-options.es.d.ts +45 -0
- package/item-definitions/radar-chart/i18n/radar-chart-options.fr.d.ts +45 -0
- package/item-definitions/radar-chart/i18n/radar-chart-options.nl.d.ts +45 -0
- package/item-definitions/radar-chart/radar-chart-options.config.d.ts +122 -0
- package/item-definitions/radar-chart/radar-chart-slots.config.d.ts +33 -0
- package/item-definitions/regular-table/i18n/regular-table-options.de.d.ts +52 -0
- package/item-definitions/regular-table/i18n/regular-table-options.en.d.ts +52 -0
- package/item-definitions/regular-table/i18n/regular-table-options.es.d.ts +52 -0
- package/item-definitions/regular-table/i18n/regular-table-options.fr.d.ts +52 -0
- package/item-definitions/regular-table/i18n/regular-table-options.nl.d.ts +52 -0
- package/item-definitions/regular-table/regular-table-options.config.d.ts +125 -0
- package/item-definitions/regular-table/regular-table-slots.config.d.ts +13 -0
- package/item-definitions/route-map/i18n/route-map-options.de.d.ts +53 -0
- package/item-definitions/route-map/i18n/route-map-options.en.d.ts +53 -0
- package/item-definitions/route-map/i18n/route-map-options.es.d.ts +53 -0
- package/item-definitions/route-map/i18n/route-map-options.fr.d.ts +53 -0
- package/item-definitions/route-map/i18n/route-map-options.nl.d.ts +53 -0
- package/item-definitions/route-map/route-map-options.config.d.ts +167 -0
- package/item-definitions/route-map/route-map-slots.config.d.ts +28 -0
- package/item-definitions/sankey-diagram/i18n/sankey-diagram-options.de.d.ts +58 -0
- package/item-definitions/sankey-diagram/i18n/sankey-diagram-options.en.d.ts +58 -0
- package/item-definitions/sankey-diagram/i18n/sankey-diagram-options.es.d.ts +58 -0
- package/item-definitions/sankey-diagram/i18n/sankey-diagram-options.fr.d.ts +58 -0
- package/item-definitions/sankey-diagram/i18n/sankey-diagram-options.nl.d.ts +58 -0
- package/item-definitions/sankey-diagram/sankey-diagram-options.config.d.ts +46 -0
- package/item-definitions/sankey-diagram/sankey-diagram-slots.config.d.ts +33 -0
- package/item-definitions/scatter-plot/i18n/scatter-plot-options.de.d.ts +113 -0
- package/item-definitions/scatter-plot/i18n/scatter-plot-options.en.d.ts +113 -0
- package/item-definitions/scatter-plot/i18n/scatter-plot-options.es.d.ts +113 -0
- package/item-definitions/scatter-plot/i18n/scatter-plot-options.fr.d.ts +113 -0
- package/item-definitions/scatter-plot/i18n/scatter-plot-options.nl.d.ts +113 -0
- package/item-definitions/scatter-plot/scatter-plot-options.config.d.ts +160 -0
- package/item-definitions/scatter-plot/scatter-plot-slots.config.d.ts +50 -0
- package/item-definitions/search-filter/i18n/search-filter-options.de.d.ts +39 -0
- package/item-definitions/search-filter/i18n/search-filter-options.en.d.ts +39 -0
- package/item-definitions/search-filter/i18n/search-filter-options.es.d.ts +39 -0
- package/item-definitions/search-filter/i18n/search-filter-options.fr.d.ts +39 -0
- package/item-definitions/search-filter/i18n/search-filter-options.nl.d.ts +39 -0
- package/item-definitions/search-filter/search-filter-options.config.d.ts +40 -0
- package/item-definitions/search-filter/search-filter-slots.config.d.ts +24 -0
- package/item-definitions/slicer-filter/i18n/slicer-filter-options.de.d.ts +68 -0
- package/item-definitions/slicer-filter/i18n/slicer-filter-options.en.d.ts +68 -0
- package/item-definitions/slicer-filter/i18n/slicer-filter-options.es.d.ts +68 -0
- package/item-definitions/slicer-filter/i18n/slicer-filter-options.fr.d.ts +68 -0
- package/item-definitions/slicer-filter/i18n/slicer-filter-options.nl.d.ts +68 -0
- package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +136 -0
- package/item-definitions/slicer-filter/slicer-filter-slots.config.d.ts +23 -0
- package/item-definitions/slider-filter/i18n/slider-filter-options.de.d.ts +26 -0
- package/item-definitions/slider-filter/i18n/slider-filter-options.en.d.ts +26 -0
- package/item-definitions/slider-filter/i18n/slider-filter-options.es.d.ts +26 -0
- package/item-definitions/slider-filter/i18n/slider-filter-options.fr.d.ts +26 -0
- package/item-definitions/slider-filter/i18n/slider-filter-options.nl.d.ts +26 -0
- package/item-definitions/slider-filter/slider-filter-options.config.d.ts +45 -0
- package/item-definitions/slider-filter/slider-filter-slots.config.d.ts +13 -0
- package/item-definitions/spacer/spacer-options.config.d.ts +2 -0
- package/item-definitions/speedometer-chart/i18n/speedometer-chart-options.de.d.ts +69 -0
- package/item-definitions/speedometer-chart/i18n/speedometer-chart-options.en.d.ts +69 -0
- package/item-definitions/speedometer-chart/i18n/speedometer-chart-options.es.d.ts +69 -0
- package/item-definitions/speedometer-chart/i18n/speedometer-chart-options.fr.d.ts +69 -0
- package/item-definitions/speedometer-chart/i18n/speedometer-chart-options.nl.d.ts +69 -0
- package/item-definitions/speedometer-chart/speedometer-chart-options.config.d.ts +80 -0
- package/item-definitions/speedometer-chart/speedometer-chart-slots.config.d.ts +16 -0
- package/item-definitions/spike-map/i18n/spike-map-options.de.d.ts +80 -0
- package/item-definitions/spike-map/i18n/spike-map-options.en.d.ts +80 -0
- package/item-definitions/spike-map/i18n/spike-map-options.es.d.ts +80 -0
- package/item-definitions/spike-map/i18n/spike-map-options.fr.d.ts +80 -0
- package/item-definitions/spike-map/i18n/spike-map-options.nl.d.ts +80 -0
- package/item-definitions/spike-map/spike-map-options.config.d.ts +205 -0
- package/item-definitions/spike-map/spike-map-slots.config.d.ts +31 -0
- package/item-definitions/strip-plot/i18n/strip-plot-options.de.d.ts +20 -0
- package/item-definitions/strip-plot/i18n/strip-plot-options.en.d.ts +20 -0
- package/item-definitions/strip-plot/i18n/strip-plot-options.es.d.ts +20 -0
- package/item-definitions/strip-plot/i18n/strip-plot-options.fr.d.ts +20 -0
- package/item-definitions/strip-plot/i18n/strip-plot-options.nl.d.ts +20 -0
- package/item-definitions/strip-plot/strip-plot-options.config.d.ts +21 -0
- package/item-definitions/strip-plot/strip-plot-slots.config.d.ts +22 -0
- package/item-definitions/sunburst-chart/i18n/sunburst-chart-options.de.d.ts +37 -0
- package/item-definitions/sunburst-chart/i18n/sunburst-chart-options.en.d.ts +37 -0
- package/item-definitions/sunburst-chart/i18n/sunburst-chart-options.es.d.ts +37 -0
- package/item-definitions/sunburst-chart/i18n/sunburst-chart-options.fr.d.ts +37 -0
- package/item-definitions/sunburst-chart/i18n/sunburst-chart-options.nl.d.ts +37 -0
- package/item-definitions/sunburst-chart/sunburst-chart-options.config.d.ts +51 -0
- package/item-definitions/sunburst-chart/sunburst-chart-slots.config.d.ts +22 -0
- package/item-definitions/symbol-map/i18n/symbol-map-options.de.d.ts +61 -0
- package/item-definitions/symbol-map/i18n/symbol-map-options.en.d.ts +61 -0
- package/item-definitions/symbol-map/i18n/symbol-map-options.es.d.ts +61 -0
- package/item-definitions/symbol-map/i18n/symbol-map-options.fr.d.ts +61 -0
- package/item-definitions/symbol-map/i18n/symbol-map-options.nl.d.ts +61 -0
- package/item-definitions/symbol-map/symbol-map-options.config.d.ts +164 -0
- package/item-definitions/symbol-map/symbol-map-slots.config.d.ts +31 -0
- package/item-definitions/text/i18n/text-options.de.d.ts +17 -0
- package/item-definitions/text/i18n/text-options.en.d.ts +17 -0
- package/item-definitions/text/i18n/text-options.es.d.ts +17 -0
- package/item-definitions/text/i18n/text-options.fr.d.ts +17 -0
- package/item-definitions/text/i18n/text-options.nl.d.ts +17 -0
- package/item-definitions/text/text-options.config.d.ts +45 -0
- package/item-definitions/text/text-slots.config.d.ts +2 -0
- package/item-definitions/treemap-chart/i18n/treemap-chart-options.de.d.ts +63 -0
- package/item-definitions/treemap-chart/i18n/treemap-chart-options.en.d.ts +63 -0
- package/item-definitions/treemap-chart/i18n/treemap-chart-options.es.d.ts +63 -0
- package/item-definitions/treemap-chart/i18n/treemap-chart-options.fr.d.ts +63 -0
- package/item-definitions/treemap-chart/i18n/treemap-chart-options.nl.d.ts +63 -0
- package/item-definitions/treemap-chart/treemap-chart-options.config.d.ts +103 -0
- package/item-definitions/treemap-chart/treemap-chart-slots.config.d.ts +30 -0
- package/item-definitions/venn-diagram/venn-diagram-slots.config.d.ts +18 -0
- package/item-definitions/video/i18n/video-options.de.d.ts +55 -0
- package/item-definitions/video/i18n/video-options.en.d.ts +55 -0
- package/item-definitions/video/i18n/video-options.es.d.ts +55 -0
- package/item-definitions/video/i18n/video-options.fr.d.ts +55 -0
- package/item-definitions/video/i18n/video-options.nl.d.ts +55 -0
- package/item-definitions/video/video-options.config.d.ts +90 -0
- package/item-definitions/video/video-slots.config.d.ts +2 -0
- package/item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.de.d.ts +27 -0
- package/item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.en.d.ts +27 -0
- package/item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.es.d.ts +27 -0
- package/item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.fr.d.ts +27 -0
- package/item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.nl.d.ts +27 -0
- package/item-definitions/wordcloud-chart/wordcloud-chart-options.config.d.ts +46 -0
- package/item-definitions/wordcloud-chart/wordcloud-chart-slots.config.d.ts +23 -0
- package/package.json +148 -14
- package/utils/base/base.d.ts +16 -0
- package/utils/base/focus-visible.d.ts +29 -0
- package/utils/base/focusable.d.ts +58 -0
- package/utils/base/index.d.ts +4 -0
- package/utils/base/sized-mixin.d.ts +17 -0
- package/utils/formatter/calculate-duration.d.ts +2 -0
- package/utils/formatter/decompose-numeric-format.d.ts +11 -0
- package/utils/formatter/default-local-formats.d.ts +20 -0
- package/utils/formatter/formats/cs.d.ts +20 -0
- package/utils/formatter/formats/da.d.ts +20 -0
- package/utils/formatter/formats/de.d.ts +21 -0
- package/utils/formatter/formats/en-GB.d.ts +21 -0
- package/utils/formatter/formats/en-US.d.ts +1 -0
- package/utils/formatter/formats/en.d.ts +1 -0
- package/utils/formatter/formats/es.d.ts +54 -0
- package/utils/formatter/formats/fi.d.ts +20 -0
- package/utils/formatter/formats/fr.d.ts +54 -0
- package/utils/formatter/formats/he.d.ts +20 -0
- package/utils/formatter/formats/hu.d.ts +20 -0
- package/utils/formatter/formats/it.d.ts +54 -0
- package/utils/formatter/formats/ja.d.ts +20 -0
- package/utils/formatter/formats/ko.d.ts +20 -0
- package/utils/formatter/formats/mk.d.ts +20 -0
- package/utils/formatter/formats/nl.d.ts +21 -0
- package/utils/formatter/formats/no.d.ts +21 -0
- package/utils/formatter/formats/pl.d.ts +20 -0
- package/utils/formatter/formats/pt.d.ts +20 -0
- package/utils/formatter/formats/ru.d.ts +20 -0
- package/utils/formatter/formats/sv.d.ts +20 -0
- package/utils/formatter/formats/tr.d.ts +21 -0
- package/utils/formatter/formats/zh-CN.d.ts +20 -0
- package/utils/formatter/formats/zh-TW.d.ts +20 -0
- package/utils/formatter/formatter.d.ts +9 -0
- package/utils/formatter/localize.d.ts +3 -0
- package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
- package/utils/get-css-variable.d.ts +1 -0
- package/utils/index.d.ts +5 -0
- package/utils/localize/set-locale.d.ts +5 -0
- package/utils/map-tile-providers/index.d.ts +93 -0
- package/utils/switch-item/index.d.ts +14 -0
- package/utils/themes/index.d.ts +507 -0
- package/utils/time/formats.const.d.ts +4 -0
- package/utils/time/periods.const.d.ts +15 -0
- package/utils/types/column.types.d.ts +56 -0
- package/utils/types/type-check.d.ts +7 -0
- package/lib/37.js +0 -1
- package/lib/729.js +0 -1
- package/lib/common-31743c5a.js +0 -13
- package/lib/common-b02547a0.js +0 -1
- package/lib/common-b49d9a9d.js +0 -1
- package/lib/common-b5232813.js +0 -56
- package/lib/common-cefd4f4c.js +0 -1
- package/lib/common-d6cb565f.js +0 -1
- package/lib/common-fd868059.js +0 -1
- package/lib/common-fedaf338.js +0 -32
- package/lib/edit-option-picker/index.js +0 -314
- package/lib/edit-option-slider/index.js +0 -102
- package/lib/edit-option-toggle/index.js +0 -114
- package/lib/index.js +0 -346
- package/lib/vendors-93cc3efa.js +0 -1
- package/lib/vendors-bb3d84b5.js +0 -1
@@ -0,0 +1,2554 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2025 Luzmo
|
4
|
+
* All rights reserved.
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
7
|
+
* This license allows users with a current active Luzmo account
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
+
*
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
* SOFTWARE.
|
19
|
+
* */
|
20
|
+
var Co = Object.getPrototypeOf;
|
21
|
+
var $o = Reflect.get;
|
22
|
+
var oo = (r, o, e) => $o(Co(r), e, o);
|
23
|
+
import { a as R, D as s, z as I, R as m, m as X } from "../base-D76d76ww-D0dTUBua.js";
|
24
|
+
import { n as uo } from "../directive-helpers-Bx_ey3Gk-Csi4AxXe.js";
|
25
|
+
import { m as U, d as C } from "../if-defined-D-1p2bLN-Bn-33APC.js";
|
26
|
+
import { S as J, g as Eo, v as _o, s as Ao } from "../luzmo-icons-BLN3xVgr-Tz5XXgbL.js";
|
27
|
+
import { w as Mo, a as Ho } from "../async-directive-C_bp5UcZ-B5_19oN_.js";
|
28
|
+
import { l as ho, u as mo } from "../streaming-listener-C8Ctj0Q6-lanbGKR9.js";
|
29
|
+
import { i as Po } from "../text-field-C0pFjPG1-B4TRivuD.js";
|
30
|
+
import { p as Ro, d as Fo, a as To } from "../index-BXMPi13W.js";
|
31
|
+
import { r as po } from "../focusable-BNESohBR-DYvAZYXL.js";
|
32
|
+
import "../index-fl13NYnO.js";
|
33
|
+
import "../index-Brg_sVUg.js";
|
34
|
+
import { o as eo } from "../when-CDK1Tt5Y-C6ViXC43.js";
|
35
|
+
import { a as Bo } from "../observe-slot-text-CVKLDesL-CXUeCmXW.js";
|
36
|
+
import { m as No } from "../roving-tabindex-DOg4z6ZU-dufnVmvL.js";
|
37
|
+
import "../index-Rjoe8cIs.js";
|
38
|
+
import { x as Uo, n as F } from "../focusable-Dw_pMNQL.js";
|
39
|
+
import { e as Do } from "../query-Ddbd72Um.js";
|
40
|
+
import { L as Io } from "../edit-option-base-DOezOLDd.js";
|
41
|
+
const So = () => {
|
42
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
43
|
+
const r = document.createElement("style");
|
44
|
+
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
45
|
+
}
|
46
|
+
};
|
47
|
+
So();
|
48
|
+
/*! * Lucero - The design system for Luzmo.
|
49
|
+
*
|
50
|
+
* Copyright © 2025 Luzmo
|
51
|
+
* All rights reserved.
|
52
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
53
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
54
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
55
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
56
|
+
*
|
57
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
58
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
59
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
60
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
61
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
62
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
63
|
+
* SOFTWARE.
|
64
|
+
* */
|
65
|
+
const Oo = ':host{inline-size:var(--luzmo-color-loupe-width, 48px);block-size:var(--luzmo-color-loupe-height, 64px);transform:translateY(var(--luzmo-color-loupe-animation-distance, 8px));opacity:0;transform-origin:bottom;pointer-events:none;filter:drop-shadow(var(--luzmo-color-loupe-drop-shadow-x, 0) var(--luzmo-color-loupe-drop-shadow-y, 2px) var(--luzmo-color-loupe-drop-shadow-blur, 8px) var(--luzmo-color-loupe-drop-shadow-color, rgba(0, 0, 0, .25)));transition:transform .1s ease-in-out,opacity .125s ease-in-out;position:absolute;inset-block-end:calc(var(--luzmo-color-handle-size, 16px) - var(--luzmo-color-handle-outer-border-width, 1px) + var(--luzmo-color-loupe-offset, 12px));inset-inline-end:calc(50% - var(--luzmo-color-loupe-width, 48px) / 2)}:host:dir(rtl),:host([dir=rtl]){inset-inline-end:calc(50% - var(--luzmo-color-loupe-width, 48px) / 2 - 1px)}:host([open]){opacity:1;transform:translate(0)}.luzmo-color-loupe-inner-border{fill:var(--luzmo-picked-color);stroke:var(--luzmo-color-loupe-inner-border-color, rgba(0, 0, 0, .1));stroke-width:var(--luzmo-color-loupe-inner-border-width, 1px)}.luzmo-color-loupe-outer-border{fill:none;stroke:var(--luzmo-color-loupe-outer-border-color, white);stroke-width:calc(var(--luzmo-color-loupe-outer-border-width, 2px) + 2px);transform:translate(calc((var(--luzmo-color-loupe-outer-border-width, 2px) + 2px) / 2))}.luzmo-color-loupe-checkerboard-pattern{fill:var(--luzmo-color-loupe-checkerboard-dark-color, rgb(230, 230, 230))}.luzmo-color-loupe-checkerboard-background{fill:var(--luzmo-color-loupe-checkerboard-light-color, rgb(255, 255, 255))}.luzmo-color-loupe-checkerboard-fill{fill:var(--luzmo-color-loupe-checkerboard-fill, url(#checkerboard-primary))}@media (forced-colors: active){:host{--highcontrast-colorloupe-outer-border-color: CanvasText}}svg{width:inherit;height:inherit}.loupe-clipped{clip-path:path("M23 61.575C19.0044 57.435 15.2591 53.0606 11.784 48.475C8.68949 44.4532 5.96348 40.1608 3.639 35.65C1.224 30.8 0 26.549 0 23C0.00319993 17.6937 1.84059 12.5516 5.20091 8.44488C8.56122 4.33815 13.2378 1.51928 18.4385 0.465803C23.6392 -0.587678 29.0442 0.189006 33.7378 2.66428C38.4314 5.13955 42.125 9.16122 44.193 14.048C45.3915 16.88 46.0061 19.9248 46 23C46 26.551 44.774 30.811 42.355 35.661C40.0274 40.1747 37.298 44.4698 34.2 48.494C30.7297 53.0728 26.9898 57.4409 23 61.575ZZ")}.opacity-checkerboard{position:absolute;top:2px;left:2px;block-size:100%;inline-size:100%}.opacity-checkerboard{background:repeating-conic-gradient(var(--luzmo-color-loupe-checkerboard-light, rgb(255, 255, 255)) 0 25%,var(--luzmo-color-loupe-checkerboard-dark, rgb(230, 230, 230)) 0 50%) var(--luzmo-color-loupe-checkerboard-position, left top)/calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2) calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2)}';
|
66
|
+
var Lo = Object.defineProperty, go = (r, o, e, t) => {
|
67
|
+
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
68
|
+
(a = r[i]) && (l = a(o, e, l) || l);
|
69
|
+
return l && Lo(o, e, l), l;
|
70
|
+
};
|
71
|
+
const bo = class extends I {
|
72
|
+
constructor() {
|
73
|
+
super(...arguments), this.open = !1, this.color = "rgba(255, 0, 0, 0.5)";
|
74
|
+
}
|
75
|
+
render() {
|
76
|
+
return m`
|
77
|
+
<div class="opacity-checkerboard loupe-clipped"></div>
|
78
|
+
<div class="luzmo-color-loupe-inner-border loupe-clipped"></div>
|
79
|
+
<div class="luzmo-color-loupe-outer-border loupe-clipped"></div>
|
80
|
+
<svg
|
81
|
+
aria-hidden="true"
|
82
|
+
class="luzmo-color-loupe is-open"
|
83
|
+
overflow="visible"
|
84
|
+
style="--luzmo-picked-color: ${this.color}; position: absolute;"
|
85
|
+
>
|
86
|
+
<defs>
|
87
|
+
<path
|
88
|
+
id="loupe-path"
|
89
|
+
d="M23 61.575C19.0044 57.435 15.2591 53.0606 11.784 48.475C8.68949 44.4532 5.96348 40.1608 3.639 35.65C1.224 30.8 0 26.549 0 23C0.00319993 17.6937 1.84059 12.5516 5.20091 8.44488C8.56122 4.33815 13.2378 1.51928 18.4385 0.465803C23.6392 -0.587678 29.0442 0.189006 33.7378 2.66428C38.4314 5.13955 42.125 9.16122 44.193 14.048C45.3915 16.88 46.0061 19.9248 46 23C46 26.551 44.774 30.811 42.355 35.661C40.0274 40.1747 37.298 44.4698 34.2 48.494C30.7297 53.0728 26.9898 57.4409 23 61.575ZZ"
|
90
|
+
transform="translate(2, 2)"
|
91
|
+
/>
|
92
|
+
<mask id="loupe-mask">
|
93
|
+
<rect x="0" y="0" height="100" width="100" fill="white" />
|
94
|
+
<use xlink:href="#path" fill="black" />
|
95
|
+
</mask>
|
96
|
+
</defs>
|
97
|
+
|
98
|
+
<g class="luzmo-color-loupe-loupe">
|
99
|
+
<g>
|
100
|
+
<use
|
101
|
+
xlink:href="#loupe-path"
|
102
|
+
mask="url(#loupe-mask)"
|
103
|
+
transform="translate(2, 2)"
|
104
|
+
class="luzmo-color-loupe-inner-border"
|
105
|
+
/>
|
106
|
+
<use
|
107
|
+
xlink:href="#loupe-path"
|
108
|
+
mask="url(#loupe-mask)"
|
109
|
+
class="luzmo-color-loupe-outer-border"
|
110
|
+
/>
|
111
|
+
</g>
|
112
|
+
</g>
|
113
|
+
</svg>
|
114
|
+
`;
|
115
|
+
}
|
116
|
+
};
|
117
|
+
bo.styles = R(Oo);
|
118
|
+
let zo = bo;
|
119
|
+
go([
|
120
|
+
s({ type: Boolean, reflect: !0 })
|
121
|
+
], zo.prototype, "open");
|
122
|
+
go([
|
123
|
+
s({ type: String })
|
124
|
+
], zo.prototype, "color");
|
125
|
+
/*! * Lucero - The design system for Luzmo.
|
126
|
+
*
|
127
|
+
* Copyright © 2025 Luzmo
|
128
|
+
* All rights reserved.
|
129
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
130
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
131
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
132
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
133
|
+
*
|
134
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
135
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
136
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
137
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
138
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
139
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
140
|
+
* SOFTWARE.
|
141
|
+
* */
|
142
|
+
const jo = () => {
|
143
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
144
|
+
const r = document.createElement("style");
|
145
|
+
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
146
|
+
}
|
147
|
+
};
|
148
|
+
jo();
|
149
|
+
const qo = ':host{touch-action:none;transition:inline-size var(--luzmo-color-handle-animation-duration, .13s) var(--luzmo-color-handle-animation-easing, ease-in-out),block-size var(--luzmo-color-handle-animation-duration, .13s) var(--luzmo-color-handle-animation-easing, ease-in-out),border-width var(--luzmo-color-handle-animation-duration, .13s) var(--luzmo-color-handle-animation-easing, ease-in-out),margin-inline var(--luzmo-color-handle-animation-duration, .13s) var(--luzmo-color-handle-animation-easing, ease-in-out),margin-block var(--luzmo-color-handle-animation-duration, .13s) var(--luzmo-color-handle-animation-easing, ease-in-out)}:host{background:repeating-conic-gradient(var(--luzmo-color-loupe-checkerboard-light, rgb(255, 255, 255)) 0 25%,var(--luzmo-color-loupe-checkerboard-dark, rgb(230, 230, 230)) 0 50%) var(--luzmo-color-loupe-checkerboard-position, left top)/calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2) calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2);background-position:50%}:host(:focus){outline:none}:host{z-index:1;box-sizing:border-box;inline-size:var(--luzmo-color-handle-size, 16px);block-size:var(--luzmo-color-handle-size, 16px);margin-inline:calc(var(--luzmo-color-handle-size, 16px) / 2 * -1);margin-block:calc(var(--luzmo-color-handle-size, 16px) / 2 * -1);border-width:var(--luzmo-color-handle-border-width, 2px);border-color:var(--luzmo-color-handle-border-color, rgb(255, 255, 255));box-shadow:0 0 0 var(--luzmo-color-handle-outer-border-width, 1px) var(--luzmo-color-handle-outer-border-color, rgba(0, 0, 0, .42));transition:all var(--luzmo-color-handle-animation-duration, 0) var(--luzmo-color-handle-animation-easing, ease-in-out);border-style:solid}:host,:host:after{border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--luzmo-color-handle-hitarea-size, 24px) / 2);inset-block:calc(50% - var(--luzmo-color-handle-hitarea-size, 24px) / 2);inline-size:var(--luzmo-color-handle-hitarea-size, 24px);block-size:var(--luzmo-color-handle-hitarea-size, 24px);border-radius:var(--luzmo-color-handle-hitarea-border-radius, 100%)}:host([focused]),:host(:focus-visible){inline-size:var(--luzmo-color-handle-focused-size, 32px);block-size:var(--luzmo-color-handle-focused-size, 32px);margin-inline:calc(var(--luzmo-color-handle-size, 16px) * -1);margin-block:calc(var(--luzmo-color-handle-size, 16px) * -1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-color-handle-border-color-disabled, var(--luzmo-color-handle-border-color-disabled, var(--luzmo-font-color-disabled)));background:var(--highcontrast-color-handle-fill-color-disabled, var(--luzmo-color-handle-fill-color-disabled, var(--luzmo-font-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{inline-size:100%;block-size:100%;box-shadow:inset 0 0 0 var(--luzmo-color-handle-inner-border-width, var(--luzmo-border-width)) var(--luzmo-color-handle-inner-border-color, rgba(0, 0, 0, .42));background-color:var(--luzmo-picked-color);border-radius:100%}@media (forced-colors: active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-color-handle-border-color-disabled: GrayText;--highcontrast-color-handle-fill-color-disabled: Canvas}}';
|
150
|
+
var Ko = Object.defineProperty, W = (r, o, e, t) => {
|
151
|
+
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
152
|
+
(a = r[i]) && (l = a(o, e, l) || l);
|
153
|
+
return l && Ko(o, e, l), l;
|
154
|
+
};
|
155
|
+
const fo = class extends I {
|
156
|
+
constructor() {
|
157
|
+
super(...arguments), this.disabled = !1, this.focused = !1, this.open = !1, this.color = "rgba(255, 0, 0, 0.5)";
|
158
|
+
}
|
159
|
+
handlePointerdown(o) {
|
160
|
+
o.pointerType === "touch" && (this.open = !0), this.setPointerCapture(o.pointerId);
|
161
|
+
}
|
162
|
+
handlePointerup(o) {
|
163
|
+
this.open = !1, this.releasePointerCapture(o.pointerId);
|
164
|
+
}
|
165
|
+
render() {
|
166
|
+
return m`
|
167
|
+
<div class="inner" style="background-color: ${this.color}"></div>
|
168
|
+
<luzmo-color-loupe
|
169
|
+
color=${this.color}
|
170
|
+
?open=${this.open && !this.disabled}
|
171
|
+
></luzmo-color-loupe>
|
172
|
+
`;
|
173
|
+
}
|
174
|
+
firstUpdated(o) {
|
175
|
+
super.firstUpdated(o), this.addEventListener("pointerdown", this.handlePointerdown), this.addEventListener("pointerup", this.handlePointerup), this.addEventListener("pointercancel", this.handlePointerup);
|
176
|
+
}
|
177
|
+
};
|
178
|
+
fo.styles = R(qo);
|
179
|
+
let O = fo;
|
180
|
+
W([
|
181
|
+
s({ type: Boolean, reflect: !0 })
|
182
|
+
], O.prototype, "disabled");
|
183
|
+
W([
|
184
|
+
s({ type: Boolean, reflect: !0 })
|
185
|
+
], O.prototype, "focused");
|
186
|
+
W([
|
187
|
+
s({ type: Boolean, reflect: !0 })
|
188
|
+
], O.prototype, "open");
|
189
|
+
W([
|
190
|
+
s({ type: String })
|
191
|
+
], O.prototype, "color");
|
192
|
+
customElements.get("luzmo-color-handle") || customElements.define("luzmo-color-handle", O);
|
193
|
+
const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
194
|
+
__proto__: null,
|
195
|
+
LuzmoColorHandle: O
|
196
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
197
|
+
/*! * Lucero - The design system for Luzmo.
|
198
|
+
*
|
199
|
+
* Copyright © 2025 Luzmo
|
200
|
+
* All rights reserved.
|
201
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
202
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
203
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
204
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
205
|
+
*
|
206
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
207
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
208
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
209
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
210
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
211
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
212
|
+
* SOFTWARE.
|
213
|
+
* */
|
214
|
+
function p(r, o) {
|
215
|
+
Xo(r) && (r = "100%");
|
216
|
+
const e = Wo(r);
|
217
|
+
return r = o === 360 ? r : Math.min(o, Math.max(0, parseFloat(r))), e && (r = parseInt(String(r * o), 10) / 100), Math.abs(r - o) < 1e-6 ? 1 : (o === 360 ? r = (r < 0 ? r % o + o : r % o) / parseFloat(String(o)) : r = r % o / parseFloat(String(o)), r);
|
218
|
+
}
|
219
|
+
function j(r) {
|
220
|
+
return Math.min(1, Math.max(0, r));
|
221
|
+
}
|
222
|
+
function Xo(r) {
|
223
|
+
return typeof r == "string" && r.indexOf(".") !== -1 && parseFloat(r) === 1;
|
224
|
+
}
|
225
|
+
function Wo(r) {
|
226
|
+
return typeof r == "string" && r.indexOf("%") !== -1;
|
227
|
+
}
|
228
|
+
function vo(r) {
|
229
|
+
return r = parseFloat(r), (isNaN(r) || r < 0 || r > 1) && (r = 1), r;
|
230
|
+
}
|
231
|
+
function q(r) {
|
232
|
+
return Number(r) <= 1 ? `${Number(r) * 100}%` : r;
|
233
|
+
}
|
234
|
+
function N(r) {
|
235
|
+
return r.length === 1 ? "0" + r : String(r);
|
236
|
+
}
|
237
|
+
function Yo(r, o, e) {
|
238
|
+
return {
|
239
|
+
r: p(r, 255) * 255,
|
240
|
+
g: p(o, 255) * 255,
|
241
|
+
b: p(e, 255) * 255
|
242
|
+
};
|
243
|
+
}
|
244
|
+
function ro(r, o, e) {
|
245
|
+
r = p(r, 255), o = p(o, 255), e = p(e, 255);
|
246
|
+
const t = Math.max(r, o, e), l = Math.min(r, o, e);
|
247
|
+
let i = 0, a = 0;
|
248
|
+
const n = (t + l) / 2;
|
249
|
+
if (t === l)
|
250
|
+
a = 0, i = 0;
|
251
|
+
else {
|
252
|
+
const c = t - l;
|
253
|
+
switch (a = n > 0.5 ? c / (2 - t - l) : c / (t + l), t) {
|
254
|
+
case r:
|
255
|
+
i = (o - e) / c + (o < e ? 6 : 0);
|
256
|
+
break;
|
257
|
+
case o:
|
258
|
+
i = (e - r) / c + 2;
|
259
|
+
break;
|
260
|
+
case e:
|
261
|
+
i = (r - o) / c + 4;
|
262
|
+
break;
|
263
|
+
}
|
264
|
+
i /= 6;
|
265
|
+
}
|
266
|
+
return { h: i, s: a, l: n };
|
267
|
+
}
|
268
|
+
function Z(r, o, e) {
|
269
|
+
return e < 0 && (e += 1), e > 1 && (e -= 1), e < 1 / 6 ? r + (o - r) * (6 * e) : e < 1 / 2 ? o : e < 2 / 3 ? r + (o - r) * (2 / 3 - e) * 6 : r;
|
270
|
+
}
|
271
|
+
function Zo(r, o, e) {
|
272
|
+
let t, l, i;
|
273
|
+
if (r = p(r, 360), o = p(o, 100), e = p(e, 100), o === 0)
|
274
|
+
l = e, i = e, t = e;
|
275
|
+
else {
|
276
|
+
const a = e < 0.5 ? e * (1 + o) : e + o - e * o, n = 2 * e - a;
|
277
|
+
t = Z(n, a, r + 1 / 3), l = Z(n, a, r), i = Z(n, a, r - 1 / 3);
|
278
|
+
}
|
279
|
+
return { r: t * 255, g: l * 255, b: i * 255 };
|
280
|
+
}
|
281
|
+
function to(r, o, e) {
|
282
|
+
r = p(r, 255), o = p(o, 255), e = p(e, 255);
|
283
|
+
const t = Math.max(r, o, e), l = Math.min(r, o, e);
|
284
|
+
let i = 0;
|
285
|
+
const a = t, n = t - l, c = t === 0 ? 0 : n / t;
|
286
|
+
if (t === l)
|
287
|
+
i = 0;
|
288
|
+
else {
|
289
|
+
switch (t) {
|
290
|
+
case r:
|
291
|
+
i = (o - e) / n + (o < e ? 6 : 0);
|
292
|
+
break;
|
293
|
+
case o:
|
294
|
+
i = (e - r) / n + 2;
|
295
|
+
break;
|
296
|
+
case e:
|
297
|
+
i = (r - o) / n + 4;
|
298
|
+
break;
|
299
|
+
}
|
300
|
+
i /= 6;
|
301
|
+
}
|
302
|
+
return { h: i, s: c, v: a };
|
303
|
+
}
|
304
|
+
function Go(r, o, e) {
|
305
|
+
r = p(r, 360) * 6, o = p(o, 100), e = p(e, 100);
|
306
|
+
const t = Math.floor(r), l = r - t, i = e * (1 - o), a = e * (1 - l * o), n = e * (1 - (1 - l) * o), c = t % 6, d = [e, a, i, i, n, e][c], b = [n, e, e, a, i, i][c], B = [i, i, n, e, e, a][c];
|
307
|
+
return { r: d * 255, g: b * 255, b: B * 255 };
|
308
|
+
}
|
309
|
+
function lo(r, o, e, t) {
|
310
|
+
const l = [
|
311
|
+
N(Math.round(r).toString(16)),
|
312
|
+
N(Math.round(o).toString(16)),
|
313
|
+
N(Math.round(e).toString(16))
|
314
|
+
];
|
315
|
+
return t && l[0].startsWith(l[0].charAt(1)) && l[1].startsWith(l[1].charAt(1)) && l[2].startsWith(l[2].charAt(1)) ? l[0].charAt(0) + l[1].charAt(0) + l[2].charAt(0) : l.join("");
|
316
|
+
}
|
317
|
+
function Jo(r, o, e, t, l) {
|
318
|
+
const i = [
|
319
|
+
N(Math.round(r).toString(16)),
|
320
|
+
N(Math.round(o).toString(16)),
|
321
|
+
N(Math.round(e).toString(16)),
|
322
|
+
N(oe(t))
|
323
|
+
];
|
324
|
+
return l && i[0].startsWith(i[0].charAt(1)) && i[1].startsWith(i[1].charAt(1)) && i[2].startsWith(i[2].charAt(1)) && i[3].startsWith(i[3].charAt(1)) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
|
325
|
+
}
|
326
|
+
function Qo(r, o, e, t) {
|
327
|
+
const l = r / 100, i = o / 100, a = e / 100, n = t / 100, c = 255 * (1 - l) * (1 - n), d = 255 * (1 - i) * (1 - n), b = 255 * (1 - a) * (1 - n);
|
328
|
+
return { r: c, g: d, b };
|
329
|
+
}
|
330
|
+
function io(r, o, e) {
|
331
|
+
let t = 1 - r / 255, l = 1 - o / 255, i = 1 - e / 255, a = Math.min(t, l, i);
|
332
|
+
return a === 1 ? (t = 0, l = 0, i = 0) : (t = (t - a) / (1 - a) * 100, l = (l - a) / (1 - a) * 100, i = (i - a) / (1 - a) * 100), a *= 100, {
|
333
|
+
c: Math.round(t),
|
334
|
+
m: Math.round(l),
|
335
|
+
y: Math.round(i),
|
336
|
+
k: Math.round(a)
|
337
|
+
};
|
338
|
+
}
|
339
|
+
function oe(r) {
|
340
|
+
return Math.round(parseFloat(r) * 255).toString(16);
|
341
|
+
}
|
342
|
+
function ao(r) {
|
343
|
+
return x(r) / 255;
|
344
|
+
}
|
345
|
+
function x(r) {
|
346
|
+
return parseInt(r, 16);
|
347
|
+
}
|
348
|
+
function ee(r) {
|
349
|
+
return {
|
350
|
+
r: r >> 16,
|
351
|
+
g: (r & 65280) >> 8,
|
352
|
+
b: r & 255
|
353
|
+
};
|
354
|
+
}
|
355
|
+
const Q = {
|
356
|
+
aliceblue: "#f0f8ff",
|
357
|
+
antiquewhite: "#faebd7",
|
358
|
+
aqua: "#00ffff",
|
359
|
+
aquamarine: "#7fffd4",
|
360
|
+
azure: "#f0ffff",
|
361
|
+
beige: "#f5f5dc",
|
362
|
+
bisque: "#ffe4c4",
|
363
|
+
black: "#000000",
|
364
|
+
blanchedalmond: "#ffebcd",
|
365
|
+
blue: "#0000ff",
|
366
|
+
blueviolet: "#8a2be2",
|
367
|
+
brown: "#a52a2a",
|
368
|
+
burlywood: "#deb887",
|
369
|
+
cadetblue: "#5f9ea0",
|
370
|
+
chartreuse: "#7fff00",
|
371
|
+
chocolate: "#d2691e",
|
372
|
+
coral: "#ff7f50",
|
373
|
+
cornflowerblue: "#6495ed",
|
374
|
+
cornsilk: "#fff8dc",
|
375
|
+
crimson: "#dc143c",
|
376
|
+
cyan: "#00ffff",
|
377
|
+
darkblue: "#00008b",
|
378
|
+
darkcyan: "#008b8b",
|
379
|
+
darkgoldenrod: "#b8860b",
|
380
|
+
darkgray: "#a9a9a9",
|
381
|
+
darkgreen: "#006400",
|
382
|
+
darkgrey: "#a9a9a9",
|
383
|
+
darkkhaki: "#bdb76b",
|
384
|
+
darkmagenta: "#8b008b",
|
385
|
+
darkolivegreen: "#556b2f",
|
386
|
+
darkorange: "#ff8c00",
|
387
|
+
darkorchid: "#9932cc",
|
388
|
+
darkred: "#8b0000",
|
389
|
+
darksalmon: "#e9967a",
|
390
|
+
darkseagreen: "#8fbc8f",
|
391
|
+
darkslateblue: "#483d8b",
|
392
|
+
darkslategray: "#2f4f4f",
|
393
|
+
darkslategrey: "#2f4f4f",
|
394
|
+
darkturquoise: "#00ced1",
|
395
|
+
darkviolet: "#9400d3",
|
396
|
+
deeppink: "#ff1493",
|
397
|
+
deepskyblue: "#00bfff",
|
398
|
+
dimgray: "#696969",
|
399
|
+
dimgrey: "#696969",
|
400
|
+
dodgerblue: "#1e90ff",
|
401
|
+
firebrick: "#b22222",
|
402
|
+
floralwhite: "#fffaf0",
|
403
|
+
forestgreen: "#228b22",
|
404
|
+
fuchsia: "#ff00ff",
|
405
|
+
gainsboro: "#dcdcdc",
|
406
|
+
ghostwhite: "#f8f8ff",
|
407
|
+
goldenrod: "#daa520",
|
408
|
+
gold: "#ffd700",
|
409
|
+
gray: "#808080",
|
410
|
+
green: "#008000",
|
411
|
+
greenyellow: "#adff2f",
|
412
|
+
grey: "#808080",
|
413
|
+
honeydew: "#f0fff0",
|
414
|
+
hotpink: "#ff69b4",
|
415
|
+
indianred: "#cd5c5c",
|
416
|
+
indigo: "#4b0082",
|
417
|
+
ivory: "#fffff0",
|
418
|
+
khaki: "#f0e68c",
|
419
|
+
lavenderblush: "#fff0f5",
|
420
|
+
lavender: "#e6e6fa",
|
421
|
+
lawngreen: "#7cfc00",
|
422
|
+
lemonchiffon: "#fffacd",
|
423
|
+
lightblue: "#add8e6",
|
424
|
+
lightcoral: "#f08080",
|
425
|
+
lightcyan: "#e0ffff",
|
426
|
+
lightgoldenrodyellow: "#fafad2",
|
427
|
+
lightgray: "#d3d3d3",
|
428
|
+
lightgreen: "#90ee90",
|
429
|
+
lightgrey: "#d3d3d3",
|
430
|
+
lightpink: "#ffb6c1",
|
431
|
+
lightsalmon: "#ffa07a",
|
432
|
+
lightseagreen: "#20b2aa",
|
433
|
+
lightskyblue: "#87cefa",
|
434
|
+
lightslategray: "#778899",
|
435
|
+
lightslategrey: "#778899",
|
436
|
+
lightsteelblue: "#b0c4de",
|
437
|
+
lightyellow: "#ffffe0",
|
438
|
+
lime: "#00ff00",
|
439
|
+
limegreen: "#32cd32",
|
440
|
+
linen: "#faf0e6",
|
441
|
+
magenta: "#ff00ff",
|
442
|
+
maroon: "#800000",
|
443
|
+
mediumaquamarine: "#66cdaa",
|
444
|
+
mediumblue: "#0000cd",
|
445
|
+
mediumorchid: "#ba55d3",
|
446
|
+
mediumpurple: "#9370db",
|
447
|
+
mediumseagreen: "#3cb371",
|
448
|
+
mediumslateblue: "#7b68ee",
|
449
|
+
mediumspringgreen: "#00fa9a",
|
450
|
+
mediumturquoise: "#48d1cc",
|
451
|
+
mediumvioletred: "#c71585",
|
452
|
+
midnightblue: "#191970",
|
453
|
+
mintcream: "#f5fffa",
|
454
|
+
mistyrose: "#ffe4e1",
|
455
|
+
moccasin: "#ffe4b5",
|
456
|
+
navajowhite: "#ffdead",
|
457
|
+
navy: "#000080",
|
458
|
+
oldlace: "#fdf5e6",
|
459
|
+
olive: "#808000",
|
460
|
+
olivedrab: "#6b8e23",
|
461
|
+
orange: "#ffa500",
|
462
|
+
orangered: "#ff4500",
|
463
|
+
orchid: "#da70d6",
|
464
|
+
palegoldenrod: "#eee8aa",
|
465
|
+
palegreen: "#98fb98",
|
466
|
+
paleturquoise: "#afeeee",
|
467
|
+
palevioletred: "#db7093",
|
468
|
+
papayawhip: "#ffefd5",
|
469
|
+
peachpuff: "#ffdab9",
|
470
|
+
peru: "#cd853f",
|
471
|
+
pink: "#ffc0cb",
|
472
|
+
plum: "#dda0dd",
|
473
|
+
powderblue: "#b0e0e6",
|
474
|
+
purple: "#800080",
|
475
|
+
rebeccapurple: "#663399",
|
476
|
+
red: "#ff0000",
|
477
|
+
rosybrown: "#bc8f8f",
|
478
|
+
royalblue: "#4169e1",
|
479
|
+
saddlebrown: "#8b4513",
|
480
|
+
salmon: "#fa8072",
|
481
|
+
sandybrown: "#f4a460",
|
482
|
+
seagreen: "#2e8b57",
|
483
|
+
seashell: "#fff5ee",
|
484
|
+
sienna: "#a0522d",
|
485
|
+
silver: "#c0c0c0",
|
486
|
+
skyblue: "#87ceeb",
|
487
|
+
slateblue: "#6a5acd",
|
488
|
+
slategray: "#708090",
|
489
|
+
slategrey: "#708090",
|
490
|
+
snow: "#fffafa",
|
491
|
+
springgreen: "#00ff7f",
|
492
|
+
steelblue: "#4682b4",
|
493
|
+
tan: "#d2b48c",
|
494
|
+
teal: "#008080",
|
495
|
+
thistle: "#d8bfd8",
|
496
|
+
tomato: "#ff6347",
|
497
|
+
turquoise: "#40e0d0",
|
498
|
+
violet: "#ee82ee",
|
499
|
+
wheat: "#f5deb3",
|
500
|
+
white: "#ffffff",
|
501
|
+
whitesmoke: "#f5f5f5",
|
502
|
+
yellow: "#ffff00",
|
503
|
+
yellowgreen: "#9acd32"
|
504
|
+
};
|
505
|
+
function re(r) {
|
506
|
+
let o = { r: 0, g: 0, b: 0 }, e = 1, t = null, l = null, i = null, a = !1, n = !1;
|
507
|
+
return typeof r == "string" && (r = ie(r)), typeof r == "object" && (v(r.r) && v(r.g) && v(r.b) ? (o = Yo(r.r, r.g, r.b), a = !0, n = String(r.r).substr(-1) === "%" ? "prgb" : "rgb") : v(r.h) && v(r.s) && v(r.v) ? (t = q(r.s), l = q(r.v), o = Go(r.h, t, l), a = !0, n = "hsv") : v(r.h) && v(r.s) && v(r.l) ? (t = q(r.s), i = q(r.l), o = Zo(r.h, t, i), a = !0, n = "hsl") : v(r.c) && v(r.m) && v(r.y) && v(r.k) && (o = Qo(r.c, r.m, r.y, r.k), a = !0, n = "cmyk"), Object.prototype.hasOwnProperty.call(r, "a") && (e = r.a)), e = vo(e), {
|
508
|
+
ok: a,
|
509
|
+
format: r.format || n,
|
510
|
+
r: Math.min(255, Math.max(o.r, 0)),
|
511
|
+
g: Math.min(255, Math.max(o.g, 0)),
|
512
|
+
b: Math.min(255, Math.max(o.b, 0)),
|
513
|
+
a: e
|
514
|
+
};
|
515
|
+
}
|
516
|
+
const te = "[-\\+]?\\d+%?", le = "[-\\+]?\\d*\\.\\d+%?", P = "(?:" + le + ")|(?:" + te + ")", G = "[\\s|\\(]+(" + P + ")[,|\\s]+(" + P + ")[,|\\s]+(" + P + ")\\s*\\)?", K = (
|
517
|
+
// eslint-disable-next-line prettier/prettier
|
518
|
+
"[\\s|\\(]+(" + P + ")[,|\\s]+(" + P + ")[,|\\s]+(" + P + ")[,|\\s]+(" + P + ")\\s*\\)?"
|
519
|
+
), w = {
|
520
|
+
CSS_UNIT: new RegExp(P),
|
521
|
+
rgb: new RegExp("rgb" + G),
|
522
|
+
rgba: new RegExp("rgba" + K),
|
523
|
+
hsl: new RegExp("hsl" + G),
|
524
|
+
hsla: new RegExp("hsla" + K),
|
525
|
+
hsv: new RegExp("hsv" + G),
|
526
|
+
hsva: new RegExp("hsva" + K),
|
527
|
+
cmyk: new RegExp("cmyk" + K),
|
528
|
+
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
529
|
+
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
530
|
+
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
531
|
+
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
532
|
+
};
|
533
|
+
function ie(r) {
|
534
|
+
if (r = r.trim().toLowerCase(), r.length === 0)
|
535
|
+
return !1;
|
536
|
+
let o = !1;
|
537
|
+
if (Q[r])
|
538
|
+
r = Q[r], o = !0;
|
539
|
+
else if (r === "transparent")
|
540
|
+
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
541
|
+
let e = w.rgb.exec(r);
|
542
|
+
return e ? { r: e[1], g: e[2], b: e[3] } : (e = w.rgba.exec(r), e ? { r: e[1], g: e[2], b: e[3], a: e[4] } : (e = w.hsl.exec(r), e ? { h: e[1], s: e[2], l: e[3] } : (e = w.hsla.exec(r), e ? { h: e[1], s: e[2], l: e[3], a: e[4] } : (e = w.hsv.exec(r), e ? { h: e[1], s: e[2], v: e[3] } : (e = w.hsva.exec(r), e ? { h: e[1], s: e[2], v: e[3], a: e[4] } : (e = w.cmyk.exec(r), e ? {
|
543
|
+
c: e[1],
|
544
|
+
m: e[2],
|
545
|
+
y: e[3],
|
546
|
+
k: e[4]
|
547
|
+
} : (e = w.hex8.exec(r), e ? {
|
548
|
+
r: x(e[1]),
|
549
|
+
g: x(e[2]),
|
550
|
+
b: x(e[3]),
|
551
|
+
a: ao(e[4]),
|
552
|
+
format: o ? "name" : "hex8"
|
553
|
+
} : (e = w.hex6.exec(r), e ? {
|
554
|
+
r: x(e[1]),
|
555
|
+
g: x(e[2]),
|
556
|
+
b: x(e[3]),
|
557
|
+
format: o ? "name" : "hex"
|
558
|
+
} : (e = w.hex4.exec(r), e ? {
|
559
|
+
r: x(e[1] + e[1]),
|
560
|
+
g: x(e[2] + e[2]),
|
561
|
+
b: x(e[3] + e[3]),
|
562
|
+
a: ao(e[4] + e[4]),
|
563
|
+
format: o ? "name" : "hex8"
|
564
|
+
} : (e = w.hex3.exec(r), e ? {
|
565
|
+
r: x(e[1] + e[1]),
|
566
|
+
g: x(e[2] + e[2]),
|
567
|
+
b: x(e[3] + e[3]),
|
568
|
+
format: o ? "name" : "hex"
|
569
|
+
} : !1))))))))));
|
570
|
+
}
|
571
|
+
function v(r) {
|
572
|
+
return typeof r == "number" ? !Number.isNaN(r) : w.CSS_UNIT.test(r);
|
573
|
+
}
|
574
|
+
let h = class u {
|
575
|
+
constructor(o = "", e = {}) {
|
576
|
+
if (o instanceof u)
|
577
|
+
return o;
|
578
|
+
typeof o == "number" && (o = ee(o)), this.originalInput = o;
|
579
|
+
const t = re(o);
|
580
|
+
this.originalInput = o, this.r = t.r, this.g = t.g, this.b = t.b, this.a = t.a, this.roundA = Math.round(100 * this.a) / 100, this.format = e.format ?? t.format, this.gradientType = e.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = t.ok;
|
581
|
+
}
|
582
|
+
isDark() {
|
583
|
+
return this.getBrightness() < 128;
|
584
|
+
}
|
585
|
+
isLight() {
|
586
|
+
return !this.isDark();
|
587
|
+
}
|
588
|
+
/**
|
589
|
+
* Returns the perceived brightness of the color, from 0-255.
|
590
|
+
*/
|
591
|
+
getBrightness() {
|
592
|
+
const o = this.toRgb();
|
593
|
+
return (o.r * 299 + o.g * 587 + o.b * 114) / 1e3;
|
594
|
+
}
|
595
|
+
/**
|
596
|
+
* Returns the perceived luminance of a color, from 0-1.
|
597
|
+
*/
|
598
|
+
getLuminance() {
|
599
|
+
const o = this.toRgb();
|
600
|
+
let e, t, l;
|
601
|
+
const i = o.r / 255, a = o.g / 255, n = o.b / 255;
|
602
|
+
return i <= 0.03928 ? e = i / 12.92 : e = Math.pow((i + 0.055) / 1.055, 2.4), a <= 0.03928 ? t = a / 12.92 : t = Math.pow((a + 0.055) / 1.055, 2.4), n <= 0.03928 ? l = n / 12.92 : l = Math.pow((n + 0.055) / 1.055, 2.4), 0.2126 * e + 0.7152 * t + 0.0722 * l;
|
603
|
+
}
|
604
|
+
/**
|
605
|
+
* Returns the alpha value of a color, from 0-1.
|
606
|
+
*/
|
607
|
+
getAlpha() {
|
608
|
+
return this.a;
|
609
|
+
}
|
610
|
+
/**
|
611
|
+
* Sets the alpha value on the current color.
|
612
|
+
*
|
613
|
+
* @param alpha - The new alpha value. The accepted range is 0-1.
|
614
|
+
*/
|
615
|
+
setAlpha(o) {
|
616
|
+
return this.a = vo(o), this.roundA = Math.round(100 * this.a) / 100, this;
|
617
|
+
}
|
618
|
+
/**
|
619
|
+
* Returns whether the color is monochrome.
|
620
|
+
*/
|
621
|
+
isMonochrome() {
|
622
|
+
const { s: o } = this.toHsl();
|
623
|
+
return o === 0;
|
624
|
+
}
|
625
|
+
/**
|
626
|
+
* Returns the object as a HSVA object.
|
627
|
+
*/
|
628
|
+
toHsv() {
|
629
|
+
const o = to(this.r, this.g, this.b);
|
630
|
+
return { h: o.h * 360, s: o.s, v: o.v, a: this.a };
|
631
|
+
}
|
632
|
+
/**
|
633
|
+
* Returns the hsva values interpolated into a string with the following format:
|
634
|
+
* "hsva(xxx, xxx, xxx, xx)".
|
635
|
+
*/
|
636
|
+
toHsvString() {
|
637
|
+
const o = to(this.r, this.g, this.b), e = Math.round(o.h * 360), t = Math.round(o.s * 100), l = Math.round(o.v * 100);
|
638
|
+
return this.a === 1 ? `hsv(${e}, ${t}%, ${l}%)` : `hsva(${e}, ${t}%, ${l}%, ${this.roundA})`;
|
639
|
+
}
|
640
|
+
/**
|
641
|
+
* Returns the object as a HSLA object.
|
642
|
+
*/
|
643
|
+
toHsl() {
|
644
|
+
const o = ro(this.r, this.g, this.b);
|
645
|
+
return { h: o.h * 360, s: o.s, l: o.l, a: this.a };
|
646
|
+
}
|
647
|
+
/**
|
648
|
+
* Returns the hsla values interpolated into a string with the following format:
|
649
|
+
* "hsla(xxx, xxx, xxx, xx)".
|
650
|
+
*/
|
651
|
+
toHslString() {
|
652
|
+
const o = ro(this.r, this.g, this.b), e = Math.round(o.h * 360), t = Math.round(o.s * 100), l = Math.round(o.l * 100);
|
653
|
+
return this.a === 1 ? `hsl(${e}, ${t}%, ${l}%)` : `hsla(${e}, ${t}%, ${l}%, ${this.roundA})`;
|
654
|
+
}
|
655
|
+
/**
|
656
|
+
* Returns the hex value of the color.
|
657
|
+
* @param allow3Char will shorten hex value to 3 char if possible
|
658
|
+
*/
|
659
|
+
toHex(o = !1) {
|
660
|
+
return lo(this.r, this.g, this.b, o);
|
661
|
+
}
|
662
|
+
/**
|
663
|
+
* Returns the hex value of the color -with a # prefixed.
|
664
|
+
* @param allow3Char will shorten hex value to 3 char if possible
|
665
|
+
*/
|
666
|
+
toHexString(o = !1) {
|
667
|
+
return "#" + this.toHex(o);
|
668
|
+
}
|
669
|
+
/**
|
670
|
+
* Returns the hex 8 value of the color.
|
671
|
+
* @param allow4Char will shorten hex value to 4 char if possible
|
672
|
+
*/
|
673
|
+
toHex8(o = !1) {
|
674
|
+
return Jo(this.r, this.g, this.b, this.a, o);
|
675
|
+
}
|
676
|
+
/**
|
677
|
+
* Returns the hex 8 value of the color -with a # prefixed.
|
678
|
+
* @param allow4Char will shorten hex value to 4 char if possible
|
679
|
+
*/
|
680
|
+
toHex8String(o = !1) {
|
681
|
+
return "#" + this.toHex8(o);
|
682
|
+
}
|
683
|
+
/**
|
684
|
+
* Returns the shorter hex value of the color depends on its alpha -with a # prefixed.
|
685
|
+
* @param allowShortChar will shorten hex value to 3 or 4 char if possible
|
686
|
+
*/
|
687
|
+
toHexShortString(o = !1) {
|
688
|
+
return this.a === 1 ? this.toHexString(o) : this.toHex8String(o);
|
689
|
+
}
|
690
|
+
/**
|
691
|
+
* Returns the object as a RGBA object.
|
692
|
+
*/
|
693
|
+
toRgb() {
|
694
|
+
return {
|
695
|
+
r: Math.round(this.r),
|
696
|
+
g: Math.round(this.g),
|
697
|
+
b: Math.round(this.b),
|
698
|
+
a: this.a
|
699
|
+
};
|
700
|
+
}
|
701
|
+
/**
|
702
|
+
* Returns the RGBA values interpolated into a string with the following format:
|
703
|
+
* "RGBA(xxx, xxx, xxx, xx)".
|
704
|
+
*/
|
705
|
+
toRgbString() {
|
706
|
+
const o = Math.round(this.r), e = Math.round(this.g), t = Math.round(this.b);
|
707
|
+
return this.a === 1 ? `rgb(${o}, ${e}, ${t})` : `rgba(${o}, ${e}, ${t}, ${this.roundA})`;
|
708
|
+
}
|
709
|
+
/**
|
710
|
+
* Returns the object as a RGBA object.
|
711
|
+
*/
|
712
|
+
toPercentageRgb() {
|
713
|
+
const o = (e) => `${Math.round(p(e, 255) * 100)}%`;
|
714
|
+
return {
|
715
|
+
r: o(this.r),
|
716
|
+
g: o(this.g),
|
717
|
+
b: o(this.b),
|
718
|
+
a: this.a
|
719
|
+
};
|
720
|
+
}
|
721
|
+
/**
|
722
|
+
* Returns the RGBA relative values interpolated into a string
|
723
|
+
*/
|
724
|
+
toPercentageRgbString() {
|
725
|
+
const o = (e) => Math.round(p(e, 255) * 100);
|
726
|
+
return this.a === 1 ? `rgb(${o(this.r)}%, ${o(this.g)}%, ${o(this.b)}%)` : `rgba(${o(this.r)}%, ${o(this.g)}%, ${o(this.b)}%, ${this.roundA})`;
|
727
|
+
}
|
728
|
+
toCmyk() {
|
729
|
+
return {
|
730
|
+
...io(this.r, this.g, this.b)
|
731
|
+
};
|
732
|
+
}
|
733
|
+
toCmykString() {
|
734
|
+
const { c: o, m: e, y: t, k: l } = io(this.r, this.g, this.b);
|
735
|
+
return `cmyk(${o}, ${e}, ${t}, ${l})`;
|
736
|
+
}
|
737
|
+
/**
|
738
|
+
* The 'real' name of the color -if there is one.
|
739
|
+
*/
|
740
|
+
toName() {
|
741
|
+
if (this.a === 0)
|
742
|
+
return "transparent";
|
743
|
+
if (this.a < 1)
|
744
|
+
return !1;
|
745
|
+
const o = "#" + lo(this.r, this.g, this.b, !1);
|
746
|
+
for (const [e, t] of Object.entries(Q))
|
747
|
+
if (o === t)
|
748
|
+
return e;
|
749
|
+
return !1;
|
750
|
+
}
|
751
|
+
toString(o) {
|
752
|
+
const e = !!o;
|
753
|
+
o = o ?? this.format;
|
754
|
+
let t = !1;
|
755
|
+
const l = this.a < 1 && this.a >= 0;
|
756
|
+
return !e && l && (o.startsWith("hex") || o === "name") ? o === "name" && this.a === 0 ? this.toName() : this.toRgbString() : (o === "rgb" && (t = this.toRgbString()), o === "prgb" && (t = this.toPercentageRgbString()), (o === "hex" || o === "hex6") && (t = this.toHexString()), o === "hex3" && (t = this.toHexString(!0)), o === "hex4" && (t = this.toHex8String(!0)), o === "hex8" && (t = this.toHex8String()), o === "name" && (t = this.toName()), o === "hsl" && (t = this.toHslString()), o === "hsv" && (t = this.toHsvString()), o === "cmyk" && (t = this.toCmykString()), t || this.toHexString());
|
757
|
+
}
|
758
|
+
toNumber() {
|
759
|
+
return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);
|
760
|
+
}
|
761
|
+
clone() {
|
762
|
+
return new u(this.toString());
|
763
|
+
}
|
764
|
+
/**
|
765
|
+
* Lighten the color a given amount. Providing 100 will always return white.
|
766
|
+
* @param amount - valid between 1-100
|
767
|
+
*/
|
768
|
+
lighten(o = 10) {
|
769
|
+
const e = this.toHsl();
|
770
|
+
return e.l += o / 100, e.l = j(e.l), new u(e);
|
771
|
+
}
|
772
|
+
/**
|
773
|
+
* Brighten the color a given amount, from 0 to 100.
|
774
|
+
* @param amount - valid between 1-100
|
775
|
+
*/
|
776
|
+
brighten(o = 10) {
|
777
|
+
const e = this.toRgb();
|
778
|
+
return e.r = Math.max(0, Math.min(255, e.r - Math.round(255 * -(o / 100)))), e.g = Math.max(0, Math.min(255, e.g - Math.round(255 * -(o / 100)))), e.b = Math.max(0, Math.min(255, e.b - Math.round(255 * -(o / 100)))), new u(e);
|
779
|
+
}
|
780
|
+
/**
|
781
|
+
* Darken the color a given amount, from 0 to 100.
|
782
|
+
* Providing 100 will always return black.
|
783
|
+
* @param amount - valid between 1-100
|
784
|
+
*/
|
785
|
+
darken(o = 10) {
|
786
|
+
const e = this.toHsl();
|
787
|
+
return e.l -= o / 100, e.l = j(e.l), new u(e);
|
788
|
+
}
|
789
|
+
/**
|
790
|
+
* Mix the color with pure white, from 0 to 100.
|
791
|
+
* Providing 0 will do nothing, providing 100 will always return white.
|
792
|
+
* @param amount - valid between 1-100
|
793
|
+
*/
|
794
|
+
tint(o = 10) {
|
795
|
+
return this.mix("white", o);
|
796
|
+
}
|
797
|
+
/**
|
798
|
+
* Mix the color with pure black, from 0 to 100.
|
799
|
+
* Providing 0 will do nothing, providing 100 will always return black.
|
800
|
+
* @param amount - valid between 1-100
|
801
|
+
*/
|
802
|
+
shade(o = 10) {
|
803
|
+
return this.mix("black", o);
|
804
|
+
}
|
805
|
+
/**
|
806
|
+
* Desaturate the color a given amount, from 0 to 100.
|
807
|
+
* Providing 100 will is the same as calling greyscale
|
808
|
+
* @param amount - valid between 1-100
|
809
|
+
*/
|
810
|
+
desaturate(o = 10) {
|
811
|
+
const e = this.toHsl();
|
812
|
+
return e.s -= o / 100, e.s = j(e.s), new u(e);
|
813
|
+
}
|
814
|
+
/**
|
815
|
+
* Saturate the color a given amount, from 0 to 100.
|
816
|
+
* @param amount - valid between 1-100
|
817
|
+
*/
|
818
|
+
saturate(o = 10) {
|
819
|
+
const e = this.toHsl();
|
820
|
+
return e.s += o / 100, e.s = j(e.s), new u(e);
|
821
|
+
}
|
822
|
+
/**
|
823
|
+
* Completely desaturates a color into greyscale.
|
824
|
+
* Same as calling `desaturate(100)`
|
825
|
+
*/
|
826
|
+
greyscale() {
|
827
|
+
return this.desaturate(100);
|
828
|
+
}
|
829
|
+
/**
|
830
|
+
* Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
|
831
|
+
* Values outside of this range will be wrapped into this range.
|
832
|
+
*/
|
833
|
+
spin(o) {
|
834
|
+
const e = this.toHsl(), t = (e.h + o) % 360;
|
835
|
+
return e.h = t < 0 ? 360 + t : t, new u(e);
|
836
|
+
}
|
837
|
+
/**
|
838
|
+
* Mix the current color a given amount with another color, from 0 to 100.
|
839
|
+
* 0 means no mixing (return current color).
|
840
|
+
*/
|
841
|
+
mix(o, e = 50) {
|
842
|
+
const t = this.toRgb(), l = new u(o).toRgb(), i = e / 100, a = {
|
843
|
+
r: (l.r - t.r) * i + t.r,
|
844
|
+
g: (l.g - t.g) * i + t.g,
|
845
|
+
b: (l.b - t.b) * i + t.b,
|
846
|
+
a: (l.a - t.a) * i + t.a
|
847
|
+
};
|
848
|
+
return new u(a);
|
849
|
+
}
|
850
|
+
analogous(o = 6, e = 30) {
|
851
|
+
const t = this.toHsl(), l = 360 / e, i = [this];
|
852
|
+
for (t.h = (t.h - (l * o >> 1) + 720) % 360; --o; )
|
853
|
+
t.h = (t.h + l) % 360, i.push(new u(t));
|
854
|
+
return i;
|
855
|
+
}
|
856
|
+
/**
|
857
|
+
* taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js
|
858
|
+
*/
|
859
|
+
complement() {
|
860
|
+
const o = this.toHsl();
|
861
|
+
return o.h = (o.h + 180) % 360, new u(o);
|
862
|
+
}
|
863
|
+
monochromatic(o = 6) {
|
864
|
+
const e = this.toHsv(), { h: t } = e, { s: l } = e;
|
865
|
+
let { v: i } = e;
|
866
|
+
const a = [], n = 1 / o;
|
867
|
+
for (; o--; )
|
868
|
+
a.push(new u({ h: t, s: l, v: i })), i = (i + n) % 1;
|
869
|
+
return a;
|
870
|
+
}
|
871
|
+
splitcomplement() {
|
872
|
+
const o = this.toHsl(), { h: e } = o;
|
873
|
+
return [
|
874
|
+
this,
|
875
|
+
new u({ h: (e + 72) % 360, s: o.s, l: o.l }),
|
876
|
+
new u({ h: (e + 216) % 360, s: o.s, l: o.l })
|
877
|
+
];
|
878
|
+
}
|
879
|
+
/**
|
880
|
+
* Compute how the color would appear on a background
|
881
|
+
*/
|
882
|
+
onBackground(o) {
|
883
|
+
const e = this.toRgb(), t = new u(o).toRgb(), l = e.a + t.a * (1 - e.a);
|
884
|
+
return new u({
|
885
|
+
r: (e.r * e.a + t.r * t.a * (1 - e.a)) / l,
|
886
|
+
g: (e.g * e.a + t.g * t.a * (1 - e.a)) / l,
|
887
|
+
b: (e.b * e.a + t.b * t.a * (1 - e.a)) / l,
|
888
|
+
a: l
|
889
|
+
});
|
890
|
+
}
|
891
|
+
/**
|
892
|
+
* Alias for `polyad(3)`
|
893
|
+
*/
|
894
|
+
triad() {
|
895
|
+
return this.polyad(3);
|
896
|
+
}
|
897
|
+
/**
|
898
|
+
* Alias for `polyad(4)`
|
899
|
+
*/
|
900
|
+
tetrad() {
|
901
|
+
return this.polyad(4);
|
902
|
+
}
|
903
|
+
/**
|
904
|
+
* Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)
|
905
|
+
* monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...
|
906
|
+
*/
|
907
|
+
polyad(o) {
|
908
|
+
const e = this.toHsl(), { h: t } = e, l = [this], i = 360 / o;
|
909
|
+
for (let a = 1; a < o; a++)
|
910
|
+
l.push(new u({ h: (t + a * i) % 360, s: e.s, l: e.l }));
|
911
|
+
return l;
|
912
|
+
}
|
913
|
+
/**
|
914
|
+
* compare color vs current color
|
915
|
+
*/
|
916
|
+
equals(o) {
|
917
|
+
const e = new u(o);
|
918
|
+
return this.format === "cmyk" || e.format === "cmyk" ? this.toCmykString() === e.toCmykString() : this.toRgbString() === e.toRgbString();
|
919
|
+
}
|
920
|
+
};
|
921
|
+
/*! * Lucero - The design system for Luzmo.
|
922
|
+
*
|
923
|
+
* Copyright © 2025 Luzmo
|
924
|
+
* All rights reserved.
|
925
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
926
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
927
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
928
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
929
|
+
*
|
930
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
931
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
932
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
933
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
934
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
935
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
936
|
+
* SOFTWARE.
|
937
|
+
* */
|
938
|
+
const so = /^hs[v|l]a?\s?\((\d{1,3}\.?\d*?),?\s?(\d{1,3})/, no = /(^hs[v|l]a?\s?\()\d{1,3}\.?\d*?(,?\s?)\d{1,3}/, co = /(^hs[v|l]a?\()\d{1,3}/, V = (r, o) => o ? r.toHexString() : r.toHex();
|
939
|
+
let xo = class {
|
940
|
+
constructor(o, {
|
941
|
+
applyColorToState: e,
|
942
|
+
extractColorFromState: t,
|
943
|
+
maintains: l
|
944
|
+
}) {
|
945
|
+
this.maintains = "hue", this._hue = 0, this._opacity = 1, this.getColorProcesses = {
|
946
|
+
rgb: (i, a) => a ? i.toRgbString() : i.toRgb(),
|
947
|
+
prgb: (i, a) => a ? i.toPercentageRgbString() : i.toPercentageRgb(),
|
948
|
+
hex8: (i, a) => a ? i.toHex8String() : i.toHex8(),
|
949
|
+
name: (i) => i.toName() || i.toRgbString(),
|
950
|
+
hsl: (i, a) => {
|
951
|
+
if (this.maintains === "hue") {
|
952
|
+
if (a)
|
953
|
+
return i.toHslString().replace(co, `$1${this.hue}`);
|
954
|
+
const { s: b, l: B, a: Y } = i.toHsl();
|
955
|
+
return { h: this.hue, s: b, l: B, a: Y };
|
956
|
+
}
|
957
|
+
if (a)
|
958
|
+
return i.toHslString().replace(
|
959
|
+
no,
|
960
|
+
`$1${this.hue}$2${this.saturation}`
|
961
|
+
);
|
962
|
+
const { s: n, l: c, a: d } = i.toHsl();
|
963
|
+
return { h: this.hue, s: n, l: c, a: d };
|
964
|
+
},
|
965
|
+
hsv: (i, a) => {
|
966
|
+
if (this.maintains === "hue") {
|
967
|
+
if (a)
|
968
|
+
return i.toHsvString().replace(co, `$1${this.hue}`);
|
969
|
+
const { s: b, v: B, a: Y } = i.toHsv();
|
970
|
+
return { h: this.hue, s: b, v: B, a: Y };
|
971
|
+
}
|
972
|
+
if (a)
|
973
|
+
return i.toHsvString().replace(
|
974
|
+
no,
|
975
|
+
`$1${this.hue}$2${this.saturation}`
|
976
|
+
);
|
977
|
+
const { s: n, v: c, a: d } = i.toHsv();
|
978
|
+
return { h: this.hue, s: n, v: c, a: d };
|
979
|
+
},
|
980
|
+
hex: V,
|
981
|
+
hex3: V,
|
982
|
+
hex4: V,
|
983
|
+
hex6: V
|
984
|
+
}, this._color = new h({ h: 0, s: 1, v: 1 }), this._previousColor = new h({ h: 0, s: 1, v: 1 }), this._format = {
|
985
|
+
format: "",
|
986
|
+
isString: !1
|
987
|
+
}, this.host = o, this.applyColorToState = e, this.extractColorFromState = t, this.maintains = l || this.maintains;
|
988
|
+
}
|
989
|
+
setColorProcess(o, e, t, l) {
|
990
|
+
this.maintains === "hue" ? this.setColorMaintainHue(o, e, t, l) : this.maintains === "saturation" && this.setColorMaintainSaturation(
|
991
|
+
o,
|
992
|
+
e,
|
993
|
+
t,
|
994
|
+
l
|
995
|
+
);
|
996
|
+
}
|
997
|
+
setColorMaintainHue(o, e, t, l) {
|
998
|
+
const { h: i, s: a, v: n, a: c } = this._color.toHsv();
|
999
|
+
let d;
|
1000
|
+
if (l && t.startsWith("hs")) {
|
1001
|
+
const b = so.exec(e);
|
1002
|
+
if (b !== null) {
|
1003
|
+
const [, B] = b;
|
1004
|
+
d = Number(B);
|
1005
|
+
}
|
1006
|
+
} else if (!l && t.startsWith("hs")) {
|
1007
|
+
const b = o.originalInput;
|
1008
|
+
d = Object.values(b)[0];
|
1009
|
+
}
|
1010
|
+
this.hue = d || i, this.opacity = c ?? 1, this.applyColorToState({ h: i, s: a, v: n, a: c });
|
1011
|
+
}
|
1012
|
+
setColorMaintainSaturation(o, e, t, l) {
|
1013
|
+
const { a: i } = this._color.toHsv();
|
1014
|
+
if (l && t.startsWith("hs")) {
|
1015
|
+
const a = so.exec(e);
|
1016
|
+
if (a !== null) {
|
1017
|
+
const [, n, c] = a;
|
1018
|
+
this.hue = Number(n), this.saturation = Number(c);
|
1019
|
+
}
|
1020
|
+
} else if (!l && t.startsWith("hs")) {
|
1021
|
+
const a = o.originalInput, n = Object.values(a);
|
1022
|
+
this.hue = n[0], this.saturation = n[1];
|
1023
|
+
} else {
|
1024
|
+
const { h: a } = o.toHsv();
|
1025
|
+
this.hue = a;
|
1026
|
+
}
|
1027
|
+
this.opacity = i ?? 1, this.applyColorToState(o.toHsv());
|
1028
|
+
}
|
1029
|
+
applyColorFromState() {
|
1030
|
+
this._color = new h(this.extractColorFromState(this));
|
1031
|
+
}
|
1032
|
+
get hue() {
|
1033
|
+
return this._hue;
|
1034
|
+
}
|
1035
|
+
set hue(o) {
|
1036
|
+
const e = Math.min(360, Math.max(0, o));
|
1037
|
+
if (e === this.hue)
|
1038
|
+
return;
|
1039
|
+
const t = this.hue, { s: l, v: i, a } = this._color.toHsv();
|
1040
|
+
this._color = new h({ h: e, s: l, v: i, a }), this._hue = e, this.host.requestUpdate("hue", t);
|
1041
|
+
}
|
1042
|
+
get opacity() {
|
1043
|
+
return this._opacity;
|
1044
|
+
}
|
1045
|
+
set opacity(o) {
|
1046
|
+
const e = Math.min(1, Math.max(0, o));
|
1047
|
+
if (e === this.opacity)
|
1048
|
+
return;
|
1049
|
+
const t = this.opacity, { h: l, s: i, v: a } = this._color.toHsv();
|
1050
|
+
this._color = new h({ h: l, s: i, v: a, a: e }), this._opacity = e, this.host.requestUpdate("opacity", t);
|
1051
|
+
}
|
1052
|
+
/* c8 ignore next 3 */
|
1053
|
+
get value() {
|
1054
|
+
return this.color;
|
1055
|
+
}
|
1056
|
+
get color() {
|
1057
|
+
return this.getColorProcesses[this._format.format || "hex"](
|
1058
|
+
this._color,
|
1059
|
+
this._format.isString
|
1060
|
+
);
|
1061
|
+
}
|
1062
|
+
set color(o) {
|
1063
|
+
if (o === this.color)
|
1064
|
+
return;
|
1065
|
+
const e = this._color;
|
1066
|
+
this._color = new h(o);
|
1067
|
+
const t = this._color.format;
|
1068
|
+
let l = typeof o == "string" || o instanceof String;
|
1069
|
+
t.startsWith("hex") && (l = o.startsWith("#")), this._format = {
|
1070
|
+
format: t,
|
1071
|
+
isString: l
|
1072
|
+
}, this.setColorProcess(this._color, o, t, l), this.host.requestUpdate("color", e);
|
1073
|
+
}
|
1074
|
+
getColor(o) {
|
1075
|
+
const e = {
|
1076
|
+
hsl: "toHsl"
|
1077
|
+
};
|
1078
|
+
return this._color[e[o]]();
|
1079
|
+
}
|
1080
|
+
setColor(o) {
|
1081
|
+
this._color = o;
|
1082
|
+
const e = typeof this._color.originalInput == "string" || this._color.originalInput instanceof String;
|
1083
|
+
this.setColorProcess(this._color, o, this._color.format, e);
|
1084
|
+
}
|
1085
|
+
getHslString() {
|
1086
|
+
return this._color.toHslString();
|
1087
|
+
}
|
1088
|
+
savePreviousColor() {
|
1089
|
+
this._previousColor = this._color.clone();
|
1090
|
+
}
|
1091
|
+
restorePreviousColor() {
|
1092
|
+
this.setColor(this._previousColor);
|
1093
|
+
}
|
1094
|
+
};
|
1095
|
+
/*! * Lucero - The design system for Luzmo.
|
1096
|
+
*
|
1097
|
+
* Copyright © 2025 Luzmo
|
1098
|
+
* All rights reserved.
|
1099
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1100
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
1101
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1102
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1103
|
+
*
|
1104
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1105
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1106
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1107
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1108
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1109
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1110
|
+
* SOFTWARE.
|
1111
|
+
* */
|
1112
|
+
const ae = () => {
|
1113
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
1114
|
+
const r = document.createElement("style");
|
1115
|
+
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
1116
|
+
}
|
1117
|
+
};
|
1118
|
+
ae();
|
1119
|
+
const se = "@media (forced-colors: active){:host{--highcontrast-color-area-border-color-disabled: GrayText;--highcontrast-color-area-border-color: Canvas;--highcontrast-color-area-fill-color-disabled: Canvas}.gradient,:host([disabled]){forced-color-adjust:none}}:host{cursor:default;-webkit-user-select:none;user-select:none;min-inline-size:var(--luzmo-color-area-min-width, 64px);min-block-size:var(--luzmo-color-area-min-height, 64px);inline-size:var(--luzmo-color-area-width, 192px);block-size:var(--luzmo-color-area-height, 192px);box-sizing:border-box;border-radius:var(--luzmo-color-area-border-radius, var(--luzmo-border-radius-s));border:var(--luzmo-color-area-border-width, var(--luzmo-border-width)) solid var(--highcontrast-color-area-border-color, var(--luzmo-color-area-border-color, var(--luzmo-border-color)));display:inline-block;position:relative}:host([focused]){z-index:1}:host([disabled]){pointer-events:none;background:var(--highcontrast-color-area-fill-color-disabled, var(--luzmo-color-area-disabled-background-color, var(--luzmo-dimmed-color)));border:var(--luzmo-color-area-border-width, var(--luzmo-border-width)) solid var(--highcontrast-color-area-border-color-disabled)}:host([disabled]) .gradient{display:none}.handle{transform:translate(calc(var(--luzmo-color-area-width, 192px) - var(--luzmo-border-width)));inset-block-start:0}.handle:dir(rtl),:host([dir=rtl]) .handle{inset-inline-end:0}.gradient{inline-size:100%;block-size:100%;border-radius:var(--luzmo-color-area-border-radius, var(--luzmo-border-radius-s))}.slider{opacity:0;inline-size:100%;block-size:100%;z-index:0;pointer-events:none;margin:0;position:absolute;inset-block-start:0;inset-inline-start:0}:host{touch-action:none}:host:before{pointer-events:none}.gradient{overflow:hidden}.handle{transform:translate(var(--luzmo-color-area-default-width))}::slotted(*){width:100%;height:100%}:host([dir=rtl]) .gradient{transform:scaleX(-1)}.slider[orient=vertical]{-webkit-appearance:slider-vertical;-moz-appearance:slider-vertical;appearance:slider-vertical}.slider:focus{z-index:1}.fieldset{border:0;margin:0;padding:0}";
|
1120
|
+
var ne = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, z = (r, o, e, t) => {
|
1121
|
+
for (var l = t > 1 ? void 0 : t ? ce(o, e) : o, i = r.length - 1, a; i >= 0; i--)
|
1122
|
+
(a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
|
1123
|
+
return t && l && ne(o, e, l), l;
|
1124
|
+
};
|
1125
|
+
class g extends I {
|
1126
|
+
constructor() {
|
1127
|
+
super(...arguments), this.disabled = !1, this.focused = !1, this.labelX = "saturation", this.labelY = "luminosity", this.isLTR = !0, this.languageResolver = new ho(this), this.colorController = new xo(this, {
|
1128
|
+
extractColorFromState: () => ({
|
1129
|
+
h: this.hue,
|
1130
|
+
s: this.x,
|
1131
|
+
v: this.y
|
1132
|
+
}),
|
1133
|
+
applyColorToState: ({ s: o, v: e }) => {
|
1134
|
+
this._x = o, this._y = e, this.requestUpdate();
|
1135
|
+
}
|
1136
|
+
}), this.activeAxis = "x", this._x = 1, this._y = 1, this.step = 0.01, this.altered = 0, this.activeKeys = /* @__PURE__ */ new Set(), this._valueChanged = !1, this._pointerDown = !1;
|
1137
|
+
}
|
1138
|
+
static get styles() {
|
1139
|
+
return [R(se)];
|
1140
|
+
}
|
1141
|
+
get hue() {
|
1142
|
+
return this.colorController.hue;
|
1143
|
+
}
|
1144
|
+
set hue(o) {
|
1145
|
+
this.colorController.hue = o;
|
1146
|
+
}
|
1147
|
+
get value() {
|
1148
|
+
return this.colorController.color;
|
1149
|
+
}
|
1150
|
+
get color() {
|
1151
|
+
return this.colorController.color;
|
1152
|
+
}
|
1153
|
+
set color(o) {
|
1154
|
+
this.colorController.color = o;
|
1155
|
+
}
|
1156
|
+
get x() {
|
1157
|
+
return this._x;
|
1158
|
+
}
|
1159
|
+
set x(o) {
|
1160
|
+
if (o === this.x)
|
1161
|
+
return;
|
1162
|
+
const e = this.x;
|
1163
|
+
this._x = o, this.inputX && (this.inputX.value = o.toString(), this._x = this.inputX.valueAsNumber), this.requestUpdate("x", e), this.colorController.applyColorFromState();
|
1164
|
+
}
|
1165
|
+
get y() {
|
1166
|
+
return this._y;
|
1167
|
+
}
|
1168
|
+
set y(o) {
|
1169
|
+
if (o === this.y)
|
1170
|
+
return;
|
1171
|
+
const e = this.y;
|
1172
|
+
this._y = o, this.inputY && (this.inputY.value = o.toString(), this._y = this.inputY.valueAsNumber), this.requestUpdate("y", e), this.colorController.applyColorFromState();
|
1173
|
+
}
|
1174
|
+
focus(o = {}) {
|
1175
|
+
super.focus(o), this.forwardFocus();
|
1176
|
+
}
|
1177
|
+
forwardFocus() {
|
1178
|
+
this.activeAxis === "x" ? this.inputX.focus() : this.inputY.focus();
|
1179
|
+
}
|
1180
|
+
handleFocus() {
|
1181
|
+
this.focused = !0, this._valueChanged = !1;
|
1182
|
+
}
|
1183
|
+
handleBlur() {
|
1184
|
+
this._pointerDown || (this.altered = 0, this.focused = !1, this._valueChanged = !1);
|
1185
|
+
}
|
1186
|
+
handleKeydown(o) {
|
1187
|
+
const { code: e } = o;
|
1188
|
+
this.focused = !0, this.altered = [o.shiftKey, o.ctrlKey, o.altKey].filter(
|
1189
|
+
(t) => !!t
|
1190
|
+
).length, (e.search("Arrow") === 0 || e.search("Page") === 0 || e.search("Home") === 0 || e.search("End") === 0) && (o.preventDefault(), this.activeKeys.add(e), this.handleKeypress());
|
1191
|
+
}
|
1192
|
+
handleKeypress() {
|
1193
|
+
let o = 0, e = 0;
|
1194
|
+
const t = Math.max(this.step, this.altered * 5 * this.step);
|
1195
|
+
this.activeKeys.forEach((l) => {
|
1196
|
+
switch (l) {
|
1197
|
+
case "ArrowUp": {
|
1198
|
+
e = t;
|
1199
|
+
break;
|
1200
|
+
}
|
1201
|
+
case "ArrowDown": {
|
1202
|
+
e = t * -1;
|
1203
|
+
break;
|
1204
|
+
}
|
1205
|
+
case "ArrowLeft": {
|
1206
|
+
o = this.step * (this.isLTR ? -1 : 1);
|
1207
|
+
break;
|
1208
|
+
}
|
1209
|
+
case "ArrowRight": {
|
1210
|
+
o = this.step * (this.isLTR ? 1 : -1);
|
1211
|
+
break;
|
1212
|
+
}
|
1213
|
+
case "PageUp": {
|
1214
|
+
e = t * 10;
|
1215
|
+
break;
|
1216
|
+
}
|
1217
|
+
case "PageDown": {
|
1218
|
+
e = t * -10;
|
1219
|
+
break;
|
1220
|
+
}
|
1221
|
+
case "Home": {
|
1222
|
+
o = t * (this.isLTR ? -10 : 10);
|
1223
|
+
break;
|
1224
|
+
}
|
1225
|
+
case "End": {
|
1226
|
+
o = t * (this.isLTR ? 10 : -10);
|
1227
|
+
break;
|
1228
|
+
}
|
1229
|
+
}
|
1230
|
+
}), o !== 0 ? (this.activeAxis = "x", this.inputX.focus()) : e !== 0 && (this.activeAxis = "y", this.inputY.focus()), this.x = Math.min(1, Math.max(this.x + o, 0)), this.y = Math.min(1, Math.max(this.y + e, 0)), this.colorController.savePreviousColor(), this.colorController.applyColorFromState(), (o !== 0 || e !== 0) && (this._valueChanged = !0, this.dispatchEvent(
|
1231
|
+
new Event("input", {
|
1232
|
+
bubbles: !0,
|
1233
|
+
composed: !0
|
1234
|
+
})
|
1235
|
+
), this.dispatchEvent(
|
1236
|
+
new Event("change", {
|
1237
|
+
bubbles: !0,
|
1238
|
+
composed: !0,
|
1239
|
+
cancelable: !0
|
1240
|
+
})
|
1241
|
+
) || this.colorController.restorePreviousColor());
|
1242
|
+
}
|
1243
|
+
handleKeyup(o) {
|
1244
|
+
o.preventDefault();
|
1245
|
+
const { code: e } = o;
|
1246
|
+
this.activeKeys.delete(e);
|
1247
|
+
}
|
1248
|
+
handleInput(o) {
|
1249
|
+
const { valueAsNumber: e, name: t } = o.target;
|
1250
|
+
this[t] = e, this.colorController.applyColorFromState();
|
1251
|
+
}
|
1252
|
+
handleChange(o) {
|
1253
|
+
this.handleInput(o), this.dispatchEvent(
|
1254
|
+
new Event("change", {
|
1255
|
+
bubbles: !0,
|
1256
|
+
composed: !0,
|
1257
|
+
cancelable: !0
|
1258
|
+
})
|
1259
|
+
);
|
1260
|
+
}
|
1261
|
+
handlePointerdown(o) {
|
1262
|
+
if (o.button !== 0) {
|
1263
|
+
o.preventDefault();
|
1264
|
+
return;
|
1265
|
+
}
|
1266
|
+
this._pointerDown = !0, this.colorController.savePreviousColor(), this.boundingClientRect = this.getBoundingClientRect(), o.target.setPointerCapture(o.pointerId), o.pointerType === "mouse" && (this.focused = !0);
|
1267
|
+
}
|
1268
|
+
handlePointermove(o) {
|
1269
|
+
const [e, t] = this.calculateHandlePosition(o);
|
1270
|
+
this._valueChanged = !1, this.x = e, this.y = 1 - t, this.colorController.applyColorFromState(), this.dispatchEvent(
|
1271
|
+
new Event("input", {
|
1272
|
+
bubbles: !0,
|
1273
|
+
composed: !0,
|
1274
|
+
cancelable: !0
|
1275
|
+
})
|
1276
|
+
);
|
1277
|
+
}
|
1278
|
+
handlePointerup(o) {
|
1279
|
+
o.preventDefault(), this._pointerDown = !1, o.target.releasePointerCapture(o.pointerId);
|
1280
|
+
const e = this.dispatchEvent(
|
1281
|
+
new Event("change", {
|
1282
|
+
bubbles: !0,
|
1283
|
+
composed: !0,
|
1284
|
+
cancelable: !0
|
1285
|
+
})
|
1286
|
+
);
|
1287
|
+
this.inputX.focus(), o.pointerType === "mouse" && (this.focused = !1), e || this.colorController.restorePreviousColor();
|
1288
|
+
}
|
1289
|
+
/**
|
1290
|
+
* Returns the value under the cursor
|
1291
|
+
* @param: PointerEvent on slider
|
1292
|
+
* @return: Slider value that correlates to the position under the pointer
|
1293
|
+
*/
|
1294
|
+
calculateHandlePosition(o) {
|
1295
|
+
if (!this.boundingClientRect)
|
1296
|
+
return [this.x, this.y];
|
1297
|
+
const e = this.boundingClientRect, t = e.left, l = e.top, i = o.clientX, a = o.clientY, n = e.width, c = e.height, d = Math.max(0, Math.min(1, (i - t) / n)), b = Math.max(0, Math.min(1, (a - l) / c));
|
1298
|
+
return [this.isLTR ? d : 1 - d, b];
|
1299
|
+
}
|
1300
|
+
handleAreaPointerdown(o) {
|
1301
|
+
o.button === 0 && (o.stopPropagation(), o.preventDefault(), this.handle.dispatchEvent(new PointerEvent("pointerdown", o)), this.handlePointermove(o));
|
1302
|
+
}
|
1303
|
+
render() {
|
1304
|
+
const { width: o = 0, height: e = 0 } = this.boundingClientRect || {}, t = Mo() || Ho(), l = "Color Picker", i = U(t ? void 0 : "2d slider"), a = this.labelX, n = this.labelY, c = new Intl.NumberFormat(this.languageResolver.language, {
|
1305
|
+
style: "percent",
|
1306
|
+
unitDisplay: "narrow"
|
1307
|
+
}).format(this.x), d = new Intl.NumberFormat(this.languageResolver.language, {
|
1308
|
+
style: "percent",
|
1309
|
+
unitDisplay: "narrow"
|
1310
|
+
}).format(this.y), b = `linear-gradient(to top, black 0%, hsla(${this.hue}, 100%, 0.01%, 0) 100%),linear-gradient(to right, white 0%, hsla(${this.hue}, 100%, 0.01%, 0) 100%), hsl(${this.hue}, 100%, 50%);`;
|
1311
|
+
return m`
|
1312
|
+
<div
|
1313
|
+
@pointerdown=${this.handleAreaPointerdown}
|
1314
|
+
class="gradient"
|
1315
|
+
style="background: ${b}"
|
1316
|
+
>
|
1317
|
+
<slot name="gradient"></slot>
|
1318
|
+
</div>
|
1319
|
+
|
1320
|
+
<luzmo-color-handle
|
1321
|
+
tabindex=${U(this.focused ? void 0 : "0")}
|
1322
|
+
@focus=${this.forwardFocus}
|
1323
|
+
?focused=${this.focused}
|
1324
|
+
class="handle"
|
1325
|
+
color=${this.colorController.getHslString()}
|
1326
|
+
?disabled=${this.disabled}
|
1327
|
+
style=${`transform: translate(${(this.isLTR ? this.x : 1 - this.x) * o}px, ${e - this.y * e}px);`}
|
1328
|
+
${mo({
|
1329
|
+
start: ["pointerdown", this.handlePointerdown],
|
1330
|
+
streamInside: ["pointermove", this.handlePointermove],
|
1331
|
+
end: [
|
1332
|
+
["pointerup", "pointercancel", "pointerleave"],
|
1333
|
+
this.handlePointerup
|
1334
|
+
]
|
1335
|
+
})}
|
1336
|
+
></luzmo-color-handle>
|
1337
|
+
|
1338
|
+
<fieldset
|
1339
|
+
class="fieldset"
|
1340
|
+
aria-label=${U(t ? l : void 0)}
|
1341
|
+
>
|
1342
|
+
<div role="presentation">
|
1343
|
+
<input
|
1344
|
+
type="range"
|
1345
|
+
class="slider"
|
1346
|
+
name="x"
|
1347
|
+
aria-label=${t ? a : `${a} ${l}`}
|
1348
|
+
aria-roledescription=${i}
|
1349
|
+
aria-orientation="horizontal"
|
1350
|
+
aria-valuetext=${t ? c : `${c}, ${a}${this._valueChanged ? "" : `, ${d}, ${n}`}`}
|
1351
|
+
min="0"
|
1352
|
+
max="1"
|
1353
|
+
step=${this.step}
|
1354
|
+
tabindex="-1"
|
1355
|
+
.value=${String(this.x)}
|
1356
|
+
@input=${this.handleInput}
|
1357
|
+
@change=${this.handleChange}
|
1358
|
+
/>
|
1359
|
+
</div>
|
1360
|
+
<div role="presentation">
|
1361
|
+
<input
|
1362
|
+
type="range"
|
1363
|
+
class="slider"
|
1364
|
+
name="y"
|
1365
|
+
aria-label=${t ? n : `${n} ${l}`}
|
1366
|
+
aria-roledescription=${i}
|
1367
|
+
aria-orientation="vertical"
|
1368
|
+
aria-valuetext=${t ? d : `${d}, ${n}${this._valueChanged ? "" : `, ${c}, ${a}`}`}
|
1369
|
+
orient="vertical"
|
1370
|
+
min="0"
|
1371
|
+
max="1"
|
1372
|
+
step=${this.step}
|
1373
|
+
tabindex="-1"
|
1374
|
+
.value=${String(this.y)}
|
1375
|
+
@input=${this.handleInput}
|
1376
|
+
@change=${this.handleChange}
|
1377
|
+
/>
|
1378
|
+
</div>
|
1379
|
+
</fieldset>
|
1380
|
+
`;
|
1381
|
+
}
|
1382
|
+
firstUpdated(o) {
|
1383
|
+
super.firstUpdated(o), this.boundingClientRect = this.getBoundingClientRect(), this.addEventListener("focus", this.handleFocus), this.addEventListener("blur", this.handleBlur), this.addEventListener("keyup", this.handleKeyup), this.addEventListener("keydown", this.handleKeydown);
|
1384
|
+
}
|
1385
|
+
updated(o) {
|
1386
|
+
if (super.updated(o), this.x !== this.inputX.valueAsNumber && (this._x = this.inputX.valueAsNumber), this.y !== this.inputY.valueAsNumber && (this._y = this.inputY.valueAsNumber), o.has("focused") && this.focused) {
|
1387
|
+
const e = this.inputX.parentElement, t = this.inputY.parentElement;
|
1388
|
+
if (!e.shadowRoot && !t.shadowRoot) {
|
1389
|
+
e.attachShadow({ mode: "open" }), t.attachShadow({ mode: "open" });
|
1390
|
+
const l = '<div tabindex="-1"><slot></slot></div>';
|
1391
|
+
e.shadowRoot.innerHTML = l, t.shadowRoot.innerHTML = l;
|
1392
|
+
}
|
1393
|
+
}
|
1394
|
+
}
|
1395
|
+
connectedCallback() {
|
1396
|
+
var o;
|
1397
|
+
super.connectedCallback(), !this.observer && window.ResizeObserver && (this.observer = new window.ResizeObserver((e) => {
|
1398
|
+
for (const t of e)
|
1399
|
+
this.boundingClientRect = t.contentRect;
|
1400
|
+
this.requestUpdate();
|
1401
|
+
})), (o = this.observer) == null || o.observe(this);
|
1402
|
+
}
|
1403
|
+
disconnectedCallback() {
|
1404
|
+
var o;
|
1405
|
+
(o = this.observer) == null || o.unobserve(this), super.disconnectedCallback();
|
1406
|
+
}
|
1407
|
+
}
|
1408
|
+
z([
|
1409
|
+
s({ type: String, reflect: !0 })
|
1410
|
+
], g.prototype, "dir", 2);
|
1411
|
+
z([
|
1412
|
+
s({ type: Boolean, reflect: !0 })
|
1413
|
+
], g.prototype, "disabled", 2);
|
1414
|
+
z([
|
1415
|
+
s({ type: Boolean, reflect: !0 })
|
1416
|
+
], g.prototype, "focused", 2);
|
1417
|
+
z([
|
1418
|
+
s({ type: String, attribute: "label-x" })
|
1419
|
+
], g.prototype, "labelX", 2);
|
1420
|
+
z([
|
1421
|
+
s({ type: String, attribute: "label-y" })
|
1422
|
+
], g.prototype, "labelY", 2);
|
1423
|
+
z([
|
1424
|
+
s({ type: Boolean, attribute: "is-ltr" })
|
1425
|
+
], g.prototype, "isLTR", 2);
|
1426
|
+
z([
|
1427
|
+
C(".handle")
|
1428
|
+
], g.prototype, "handle", 2);
|
1429
|
+
z([
|
1430
|
+
s({ type: Number })
|
1431
|
+
], g.prototype, "hue", 1);
|
1432
|
+
z([
|
1433
|
+
s({ type: String })
|
1434
|
+
], g.prototype, "value", 1);
|
1435
|
+
z([
|
1436
|
+
s({ type: String })
|
1437
|
+
], g.prototype, "color", 1);
|
1438
|
+
z([
|
1439
|
+
s({ attribute: !1 })
|
1440
|
+
], g.prototype, "activeAxis", 2);
|
1441
|
+
z([
|
1442
|
+
s({ type: Number })
|
1443
|
+
], g.prototype, "x", 1);
|
1444
|
+
z([
|
1445
|
+
s({ type: Number })
|
1446
|
+
], g.prototype, "y", 1);
|
1447
|
+
z([
|
1448
|
+
s({ type: Number })
|
1449
|
+
], g.prototype, "step", 2);
|
1450
|
+
z([
|
1451
|
+
C('[name="x"]')
|
1452
|
+
], g.prototype, "inputX", 2);
|
1453
|
+
z([
|
1454
|
+
C('[name="y"]')
|
1455
|
+
], g.prototype, "inputY", 2);
|
1456
|
+
customElements.get("luzmo-color-area") || customElements.define("luzmo-color-area", g);
|
1457
|
+
/*! * Lucero - The design system for Luzmo.
|
1458
|
+
*
|
1459
|
+
* Copyright © 2025 Luzmo
|
1460
|
+
* All rights reserved.
|
1461
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1462
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
1463
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1464
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1465
|
+
*
|
1466
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1467
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1468
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1469
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1470
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1471
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1472
|
+
* SOFTWARE.
|
1473
|
+
* */
|
1474
|
+
const ue = () => {
|
1475
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
1476
|
+
const r = document.createElement("style");
|
1477
|
+
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
1478
|
+
}
|
1479
|
+
};
|
1480
|
+
ue();
|
1481
|
+
var he = Object.defineProperty, de = (r, o, e, t) => {
|
1482
|
+
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
1483
|
+
(a = r[i]) && (l = a(o, e, l) || l);
|
1484
|
+
return l && he(o, e, l), l;
|
1485
|
+
};
|
1486
|
+
let yo = class extends Po {
|
1487
|
+
constructor() {
|
1488
|
+
super(...arguments), this.viewColor = !1, this._value = "", this.cachedColor = null, this.cachedTinyColor = null;
|
1489
|
+
}
|
1490
|
+
static get styles() {
|
1491
|
+
return [...super.styles];
|
1492
|
+
}
|
1493
|
+
set value(o) {
|
1494
|
+
if (o === this.value)
|
1495
|
+
return;
|
1496
|
+
const e = this._value;
|
1497
|
+
this._value = o, this.requestUpdate("value", e);
|
1498
|
+
}
|
1499
|
+
get value() {
|
1500
|
+
return this._value;
|
1501
|
+
}
|
1502
|
+
getColorValue() {
|
1503
|
+
if (!this.value)
|
1504
|
+
return "";
|
1505
|
+
if (!this.cachedColor || this.cachedColor !== this.value) {
|
1506
|
+
const o = new h(this.value);
|
1507
|
+
this.cachedColor = o.isValid ? o.toRgbString() : "";
|
1508
|
+
}
|
1509
|
+
return this.cachedColor;
|
1510
|
+
}
|
1511
|
+
renderColorHandle() {
|
1512
|
+
return this.viewColor ? m`
|
1513
|
+
<luzmo-color-handle
|
1514
|
+
size="m"
|
1515
|
+
color=${this.getColorValue()}
|
1516
|
+
></luzmo-color-handle>
|
1517
|
+
` : m``;
|
1518
|
+
}
|
1519
|
+
render() {
|
1520
|
+
return this.viewColor && Promise.resolve().then(() => Vo), m` ${super.render()} ${this.renderColorHandle()} `;
|
1521
|
+
}
|
1522
|
+
checkValidity() {
|
1523
|
+
let o = super.checkValidity();
|
1524
|
+
return this.value && ((!this.cachedTinyColor || this.cachedTinyColor.originalInput !== this.value) && (this.cachedTinyColor = new h(this.value)), this.valid = o = this.cachedTinyColor.isValid, this.invalid = !o), o;
|
1525
|
+
}
|
1526
|
+
};
|
1527
|
+
de([
|
1528
|
+
s({ type: Boolean, attribute: "view-color" })
|
1529
|
+
], yo.prototype, "viewColor");
|
1530
|
+
customElements.get("luzmo-color-field") || customElements.define("luzmo-color-field", yo);
|
1531
|
+
/*! * Lucero - The design system for Luzmo.
|
1532
|
+
*
|
1533
|
+
* Copyright © 2025 Luzmo
|
1534
|
+
* All rights reserved.
|
1535
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1536
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
1537
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1538
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1539
|
+
*
|
1540
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1541
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1542
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1543
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1544
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1545
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1546
|
+
* SOFTWARE.
|
1547
|
+
* */
|
1548
|
+
const me = () => {
|
1549
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
1550
|
+
const r = document.createElement("style");
|
1551
|
+
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
1552
|
+
}
|
1553
|
+
};
|
1554
|
+
me();
|
1555
|
+
const pe = '.opacity-checkerboard{position:absolute;block-size:100%;inline-size:100%;background:repeating-conic-gradient(var(--luzmo-color-loupe-checkerboard-light, rgb(255, 255, 255)) 0 25%,var(--luzmo-color-loupe-checkerboard-dark, rgb(230, 230, 230)) 0 50%) var(--luzmo-color-loupe-checkerboard-position, left top)/calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2) calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2)}:host{--luzmo-color-slider-gradient-fallback: rgb(255 0 0) 0%, rgb(255 255 0) 17%, rgb(0 255 0) 33%, rgb(0 255 255) 50%, rgb(0 0 255) 67%, rgb(255 0 255) 83%, rgb(255 0 0) 100%;touch-action:none}:host([vertical]) .handle{inset-block-start:unset;inset-block-end:0}:host([vertical]) .slider{-webkit-appearance:slider-vertical;-moz-appearance:slider-vertical;appearance:slider-vertical}:host(:focus){outline:none}.gradient{overflow:hidden}::slotted(*){width:100%;height:100%}@media (forced-colors: active){:host{--highcontrast-color-slider-border-color: CanvasText;--highcontrast-color-slider-border-color-disabled: GrayText;--highcontrast-color-slider-background-color-disabled: Canvas;forced-color-adjust:none}}:host{--luzmo-color-handle-hitarea-border-radius: var( --luzmo-color-slider-handle-hitarea-border-radius, 0px );min-inline-size:var(--luzmo-color-slider-minimum-length, 80px);inline-size:var(--luzmo-color-slider-length, 192px);block-size:var(--luzmo-color-slider-control-track-width, 24px);-webkit-user-select:none;user-select:none;cursor:default;display:block;position:relative}:host([focused]){z-index:2}:host([disabled]){pointer-events:none}:host([disabled]) .gradient{display:none}:host([vertical]){min-block-size:var(--luzmo-color-slider-vertical-minimum-height, var(--luzmo-color-slider-minimum-length, 80px));block-size:var(--luzmo-color-slider-vertical-height, var(--luzmo-color-slider-length, 192px));min-inline-size:0;inline-size:var(--luzmo-color-slider-vertical-control-track-width, var(--luzmo-color-slider-control-track-height, 24px));display:inline-block}:host([vertical]) .handle{inset-inline-start:50%}.handle{inset-block-start:50%;inset-inline-start:0}.checkerboard{--luzmo-color-slider-border-color-local: var( --highcontrast-color-slider-border-color, var(--luzmo-color-slider-border-color, var(--luzmo-border-color)) )}.checkerboard:before{content:"";z-index:1;box-shadow:inset 0 0 0 var(--luzmo-color-slider-border-width, var(--luzmo-border-width)) var(--luzmo-color-slider-border-color-local);border-radius:var(--luzmo-color-slider-border-rounding, var(--luzmo-border-radius-s));position:absolute;top:0;right:0;bottom:0;left:0}:host([disabled]) .checkerboard{--luzmo-color-slider-border-color-local: var( --highcontrast-color-slider-border-color-disabled, var(--luzmo-color-slider-border-color-disabled, var(--luzmo-dimmed-color)) );background:var(--highcontrast-color-slider-background-color-disabled, var(--luzmo-color-slider-background-color-disabled, var(--luzmo-dimmed-color)))}.checkerboard,.gradient{inline-size:100%;block-size:100%;border-radius:var(--luzmo-color-slider-border-rounding, var(--luzmo-border-radius-s))}.gradient:dir(rtl),:host([dir=rtl]) .gradient{transform:scaleX(-1)}.slider{opacity:0;inline-size:100%;block-size:100%;z-index:0;pointer-events:none;margin:0;position:absolute;inset-block-start:0;inset-inline-start:0}';
|
1556
|
+
var ge = Object.defineProperty, be = Object.getOwnPropertyDescriptor, y = (r, o, e, t) => {
|
1557
|
+
for (var l = t > 1 ? void 0 : t ? be(o, e) : o, i = r.length - 1, a; i >= 0; i--)
|
1558
|
+
(a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
|
1559
|
+
return t && l && ge(o, e, l), l;
|
1560
|
+
};
|
1561
|
+
let f = class extends po {
|
1562
|
+
constructor() {
|
1563
|
+
super(...arguments), this.disabled = !1, this.focused = !1, this.label = "hue", this.vertical = !1, this.languageResolver = new ho(this), this.colorController = new xo(this, {
|
1564
|
+
/* c8 ignore next 3 */
|
1565
|
+
applyColorToState: () => {
|
1566
|
+
if (this.mode === "opacity") {
|
1567
|
+
const o = new h(this.colorController.color);
|
1568
|
+
this.sliderHandlePosition = 100 * o.getAlpha();
|
1569
|
+
} else
|
1570
|
+
this.sliderHandlePosition = 100 * (this.colorController.hue / 360);
|
1571
|
+
},
|
1572
|
+
extractColorFromState: (o) => this.mode === "opacity" ? {
|
1573
|
+
...o.getColor("hsl"),
|
1574
|
+
a: this.value
|
1575
|
+
} : {
|
1576
|
+
...o.getColor("hsl"),
|
1577
|
+
h: this.value
|
1578
|
+
},
|
1579
|
+
maintains: "saturation"
|
1580
|
+
}), this.sliderHandlePosition = 0, this.step = 1, this.isLTR = !0, this._altered = 0, this._pointerDown = !1;
|
1581
|
+
}
|
1582
|
+
static get styles() {
|
1583
|
+
return [R(pe)];
|
1584
|
+
}
|
1585
|
+
get value() {
|
1586
|
+
return this.mode === "opacity" ? this.colorController.opacity : this.colorController.hue;
|
1587
|
+
}
|
1588
|
+
set value(o) {
|
1589
|
+
this.mode === "opacity" ? this.colorController.opacity = o : this.colorController.hue = o;
|
1590
|
+
}
|
1591
|
+
get color() {
|
1592
|
+
return this.colorController.color;
|
1593
|
+
}
|
1594
|
+
set color(o) {
|
1595
|
+
this.colorController.color = o;
|
1596
|
+
}
|
1597
|
+
get altered() {
|
1598
|
+
return this._altered;
|
1599
|
+
}
|
1600
|
+
set altered(o) {
|
1601
|
+
this._altered = o, this.step = Math.max(1, this.altered * 10);
|
1602
|
+
}
|
1603
|
+
get focusElement() {
|
1604
|
+
return this.input;
|
1605
|
+
}
|
1606
|
+
handleKeydown(o) {
|
1607
|
+
const { key: e } = o;
|
1608
|
+
this.focused = !0, this.altered = [o.shiftKey, o.ctrlKey, o.altKey].filter(
|
1609
|
+
(i) => !!i
|
1610
|
+
).length;
|
1611
|
+
let t = 0;
|
1612
|
+
switch (e) {
|
1613
|
+
case "ArrowUp": {
|
1614
|
+
t = this.step;
|
1615
|
+
break;
|
1616
|
+
}
|
1617
|
+
case "ArrowDown": {
|
1618
|
+
t = -this.step;
|
1619
|
+
break;
|
1620
|
+
}
|
1621
|
+
case "ArrowLeft": {
|
1622
|
+
t = this.step * (this.isLTR ? -1 : 1);
|
1623
|
+
break;
|
1624
|
+
}
|
1625
|
+
case "ArrowRight": {
|
1626
|
+
t = this.step * (this.isLTR ? 1 : -1);
|
1627
|
+
break;
|
1628
|
+
}
|
1629
|
+
default:
|
1630
|
+
return;
|
1631
|
+
}
|
1632
|
+
o.preventDefault();
|
1633
|
+
const l = 100 / (this.mode === "opacity" ? 100 : 360);
|
1634
|
+
this.sliderHandlePosition = Math.min(
|
1635
|
+
100,
|
1636
|
+
Math.max(0, this.sliderHandlePosition + t * l)
|
1637
|
+
), this.value = this.mode === "opacity" ? Math.min(1, Math.max(0, this.value + t / 100)) : Math.min(360, Math.max(0, this.value + t)), this.colorController.applyColorFromState(), t !== 0 && (this.dispatchEvent(
|
1638
|
+
new Event("input", {
|
1639
|
+
bubbles: !0,
|
1640
|
+
composed: !0
|
1641
|
+
})
|
1642
|
+
), this.dispatchEvent(
|
1643
|
+
new Event("change", {
|
1644
|
+
bubbles: !0,
|
1645
|
+
composed: !0
|
1646
|
+
})
|
1647
|
+
));
|
1648
|
+
}
|
1649
|
+
handleInput(o) {
|
1650
|
+
const { valueAsNumber: e } = o.target;
|
1651
|
+
this.value = e, this.sliderHandlePosition = 100 * (this.mode === "opacity" ? this.value : this.value / 360), this.colorController.applyColorFromState();
|
1652
|
+
}
|
1653
|
+
handleChange(o) {
|
1654
|
+
this.handleInput(o), this.dispatchEvent(
|
1655
|
+
new Event("change", {
|
1656
|
+
bubbles: !0,
|
1657
|
+
composed: !0
|
1658
|
+
})
|
1659
|
+
);
|
1660
|
+
}
|
1661
|
+
focus(o = {}) {
|
1662
|
+
super.focus(o), this.forwardFocus();
|
1663
|
+
}
|
1664
|
+
forwardFocus() {
|
1665
|
+
this.input.focus();
|
1666
|
+
}
|
1667
|
+
handleFocus() {
|
1668
|
+
this.focused = !0;
|
1669
|
+
}
|
1670
|
+
handleBlur() {
|
1671
|
+
this._pointerDown || (this.altered = 0, this.focused = !1);
|
1672
|
+
}
|
1673
|
+
handlePointerdown(o) {
|
1674
|
+
if (o.button !== 0) {
|
1675
|
+
o.preventDefault();
|
1676
|
+
return;
|
1677
|
+
}
|
1678
|
+
this._pointerDown = !0, this.colorController.savePreviousColor(), this.boundingClientRect = this.getBoundingClientRect(), o.target.setPointerCapture(o.pointerId), o.pointerType === "mouse" && (this.focused = !0);
|
1679
|
+
}
|
1680
|
+
handlePointermove(o) {
|
1681
|
+
this.sliderHandlePosition = this.calculateHandlePosition(o), this.value = (this.mode === "opacity" ? 1 : 360) * (this.sliderHandlePosition / 100), this.colorController.applyColorFromState(), this.dispatchEvent(
|
1682
|
+
new Event("input", {
|
1683
|
+
bubbles: !0,
|
1684
|
+
composed: !0,
|
1685
|
+
cancelable: !0
|
1686
|
+
})
|
1687
|
+
);
|
1688
|
+
}
|
1689
|
+
handlePointerup(o) {
|
1690
|
+
this._pointerDown = !1, o.target.releasePointerCapture(o.pointerId), this.dispatchEvent(
|
1691
|
+
new Event("change", {
|
1692
|
+
bubbles: !0,
|
1693
|
+
composed: !0,
|
1694
|
+
cancelable: !0
|
1695
|
+
})
|
1696
|
+
) || this.colorController.restorePreviousColor(), this.focus(), o.pointerType === "mouse" && (this.focused = !1);
|
1697
|
+
}
|
1698
|
+
/**
|
1699
|
+
* Returns the value under the cursor
|
1700
|
+
* @param: PointerEvent on slider
|
1701
|
+
* @return: Slider value that correlates to the position under the pointer
|
1702
|
+
*/
|
1703
|
+
calculateHandlePosition(o) {
|
1704
|
+
if (!this.boundingClientRect)
|
1705
|
+
return this.sliderHandlePosition;
|
1706
|
+
const e = this.boundingClientRect, t = this.vertical ? e.top : e.left, l = this.vertical ? o.clientY : o.clientX, i = this.vertical ? e.height : e.width, a = Math.max(0, Math.min(1, (l - t) / i));
|
1707
|
+
return this.vertical || !this.isLTR ? 100 - 100 * a : 100 * a;
|
1708
|
+
}
|
1709
|
+
handleGradientPointerdown(o) {
|
1710
|
+
o.button === 0 && (o.stopPropagation(), o.preventDefault(), this.handle.dispatchEvent(new PointerEvent("pointerdown", o)), this.handlePointermove(o));
|
1711
|
+
}
|
1712
|
+
get handlePositionStyles() {
|
1713
|
+
return `${this.vertical ? "inset-block-end" : "inset-inline-start"}: ${this.sliderHandlePosition}%`;
|
1714
|
+
}
|
1715
|
+
get getColorSliderStyle() {
|
1716
|
+
const o = this.vertical ? "top" : "right";
|
1717
|
+
if (this.mode === "opacity") {
|
1718
|
+
const e = new h(this.colorController.color).setAlpha(1).toRgbString();
|
1719
|
+
return {
|
1720
|
+
background: `linear-gradient(to ${o}, transparent, ${e})`
|
1721
|
+
};
|
1722
|
+
}
|
1723
|
+
return {
|
1724
|
+
background: `linear-gradient(to ${o}, var(--luzmo-color-slider-gradient, var(--luzmo-color-slider-gradient-fallback)))`
|
1725
|
+
};
|
1726
|
+
}
|
1727
|
+
render() {
|
1728
|
+
return m`
|
1729
|
+
<div
|
1730
|
+
class="opacity-checkerboard checkerboard"
|
1731
|
+
role="presentation"
|
1732
|
+
@pointerdown=${this.handleGradientPointerdown}
|
1733
|
+
>
|
1734
|
+
<div
|
1735
|
+
class="gradient"
|
1736
|
+
role="presentation"
|
1737
|
+
style=${Ro(this.getColorSliderStyle)}
|
1738
|
+
>
|
1739
|
+
<slot name="gradient"></slot>
|
1740
|
+
</div>
|
1741
|
+
</div>
|
1742
|
+
<luzmo-color-handle
|
1743
|
+
tabindex=${U(this.focused ? void 0 : "0")}
|
1744
|
+
@focus=${this.forwardFocus}
|
1745
|
+
?focused=${this.focused}
|
1746
|
+
class="handle"
|
1747
|
+
color=${this.mode === "opacity" ? this.color : "hsl(" + this.value + ", 100%, 50%)"}
|
1748
|
+
?disabled=${this.disabled}
|
1749
|
+
style=${this.handlePositionStyles}
|
1750
|
+
${mo({
|
1751
|
+
start: ["pointerdown", this.handlePointerdown],
|
1752
|
+
streamInside: ["pointermove", this.handlePointermove],
|
1753
|
+
end: [
|
1754
|
+
["pointerup", "pointercancel", "pointerleave"],
|
1755
|
+
this.handlePointerup
|
1756
|
+
]
|
1757
|
+
})}
|
1758
|
+
></luzmo-color-handle>
|
1759
|
+
<input
|
1760
|
+
type="range"
|
1761
|
+
class="slider"
|
1762
|
+
min="0"
|
1763
|
+
max=${this.mode === "opacity" ? "100" : "360"}
|
1764
|
+
aria-orientation=${U(this.vertical ? "vertical" : void 0)}
|
1765
|
+
orient=${U(this.vertical ? "vertical" : void 0)}
|
1766
|
+
step=${this.step}
|
1767
|
+
aria-label=${this.label}
|
1768
|
+
.value=${String(
|
1769
|
+
this.mode === "opacity" ? this.value * 100 : this.value
|
1770
|
+
)}
|
1771
|
+
aria-valuetext=${`${new Intl.NumberFormat(
|
1772
|
+
this.languageResolver.language,
|
1773
|
+
{
|
1774
|
+
maximumFractionDigits: 0,
|
1775
|
+
minimumIntegerDigits: 1,
|
1776
|
+
style: "unit",
|
1777
|
+
unit: this.mode === "opacity" ? "percent" : "degree",
|
1778
|
+
unitDisplay: "narrow"
|
1779
|
+
}
|
1780
|
+
).format(this.mode === "opacity" ? this.value * 100 : this.value)}`}
|
1781
|
+
@input=${this.handleInput}
|
1782
|
+
@change=${this.handleChange}
|
1783
|
+
@keydown=${this.handleKeydown}
|
1784
|
+
/>
|
1785
|
+
`;
|
1786
|
+
}
|
1787
|
+
firstUpdated(o) {
|
1788
|
+
super.firstUpdated(o), this.boundingClientRect = this.getBoundingClientRect(), this.addEventListener("focus", this.handleFocus), this.addEventListener("blur", this.handleBlur);
|
1789
|
+
}
|
1790
|
+
updated(o) {
|
1791
|
+
o.has("mode") && (this.handle.style.insetInlineStart = "", this.handle.style.insetBlockEnd = "", this.mode === "opacity" && (this.colorController.color = new h(
|
1792
|
+
this.colorController.color
|
1793
|
+
).toRgbString(), this.handle.style.insetInlineStart = 100 * this.colorController.opacity + "%"));
|
1794
|
+
}
|
1795
|
+
};
|
1796
|
+
y([
|
1797
|
+
s({ type: String, reflect: !0 })
|
1798
|
+
], f.prototype, "dir", 2);
|
1799
|
+
y([
|
1800
|
+
s({ type: String, reflect: !0 })
|
1801
|
+
], f.prototype, "mode", 2);
|
1802
|
+
y([
|
1803
|
+
s({ type: Boolean, reflect: !0 })
|
1804
|
+
], f.prototype, "disabled", 2);
|
1805
|
+
y([
|
1806
|
+
s({ type: Boolean, reflect: !0 })
|
1807
|
+
], f.prototype, "focused", 2);
|
1808
|
+
y([
|
1809
|
+
C(".handle")
|
1810
|
+
], f.prototype, "handle", 2);
|
1811
|
+
y([
|
1812
|
+
s({ type: String })
|
1813
|
+
], f.prototype, "label", 2);
|
1814
|
+
y([
|
1815
|
+
s({ type: Boolean, reflect: !0 })
|
1816
|
+
], f.prototype, "vertical", 2);
|
1817
|
+
y([
|
1818
|
+
s({ type: Number })
|
1819
|
+
], f.prototype, "value", 1);
|
1820
|
+
y([
|
1821
|
+
s({ type: Number, reflect: !0 })
|
1822
|
+
], f.prototype, "sliderHandlePosition", 2);
|
1823
|
+
y([
|
1824
|
+
s({ type: String })
|
1825
|
+
], f.prototype, "color", 1);
|
1826
|
+
y([
|
1827
|
+
s({ type: Number })
|
1828
|
+
], f.prototype, "step", 2);
|
1829
|
+
y([
|
1830
|
+
s({ type: Boolean, attribute: "is-ltr" })
|
1831
|
+
], f.prototype, "isLTR", 2);
|
1832
|
+
y([
|
1833
|
+
C("input")
|
1834
|
+
], f.prototype, "input", 2);
|
1835
|
+
customElements.get("luzmo-color-slider") || customElements.define("luzmo-color-slider", f);
|
1836
|
+
/*! * Lucero - The design system for Luzmo.
|
1837
|
+
*
|
1838
|
+
* Copyright © 2025 Luzmo
|
1839
|
+
* All rights reserved.
|
1840
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1841
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
1842
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1843
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1844
|
+
*
|
1845
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1846
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1847
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1848
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1849
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1850
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1851
|
+
* SOFTWARE.
|
1852
|
+
* */
|
1853
|
+
const ze = () => {
|
1854
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
1855
|
+
const r = document.createElement("style");
|
1856
|
+
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
1857
|
+
}
|
1858
|
+
};
|
1859
|
+
ze();
|
1860
|
+
const fe = '@media (forced-colors: active){:host{--highcontrast-swatch-disabled-icon-color: GrayText;--highcontrast-swatch-focus-indicator-color: ButtonText;--highcontrast-swatch-background-color-selected: Background;--highcontrast-swatch-border-color-selected: Highlight;--highcontrast-swatch-border-color: ButtonText;--highcontrast-swatch-fill-foreground-color: ButtonText}.fill{forced-color-adjust:none}:host([disabled]){--highcontrast-swatch-border-color: GrayText}}:host{box-sizing:border-box;inline-size:var(--luzmo-swatch-size, var(--swatch-size));block-size:var(--luzmo-swatch-size, var(--swatch-size));-webkit-user-select:none;user-select:none;outline:none;justify-content:center;align-items:center;display:flex;position:relative}.disabled-icon{inline-size:var(--luzmo-swatch-disabled-icon-size, var(--swatch-disabled-icon-size));block-size:var(--luzmo-swatch-disabled-icon-size, var(--swatch-disabled-icon-size))}:host,:host:before{border-radius:var(--luzmo-swatch-border-radius, var(--swatch-border-radius))}:host([selected]){background-color:var(--highcontrast-swatch-background-color-selected, var(--luzmo-swatch-inner-border-color-selected, var(--swatch-inner-border-color-selected)))}:host([selected]) .fill:before{box-shadow:none;border-radius:0}:host([selected]):before{opacity:1}:host .is-image .fill:before{background-color:initial}:host([mixed-value]) .fill{background:none;background:var(--picked-color, transparent)}:host([mixed-value]) .mixed-value-icon{color:var(--swatch-dash-icon-color);display:block}:host([nothing]) .fill{background-color:initial;background-color:var(--picked-color, transparent);background-image:none}:host([nothing]) .fill:after{inline-size:var(--luzmo-swatch-slash-thickness, var(--swatch-slash-thickness));content:"";block-size:200%;background:var(--highcontrast-swatch-fill-foreground-color, var(--luzmo-swatch-slash-icon-color, var(--swatch-slash-icon-color)));position:absolute;transform:rotate(-45deg)}:host([nothing][shape=rectangle]) .fill:after{transform:rotate(-25deg)}:host([disabled]) .disabled-icon{display:block}:host:before{content:"";border-width:var(--luzmo-swatch-border-thickness-selected, var(--swatch-border-thickness-selected));border-style:solid;border-color:var(--highcontrast-swatch-border-color-selected, var(--luzmo-swatch-border-color-selected, var(--swatch-border-color-selected)));opacity:0;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}:host:after{content:"";inset:calc(var(--luzmo-swatch-focus-indicator-gap, var(--swatch-focus-indicator-gap)) * -2);opacity:0;border-width:var(--luzmo-swatch-focus-indicator-width, var(--swatch-focus-indicator-width));border-style:solid;border-color:var(--highcontrast-swatch-focus-indicator-color, var(--luzmo-swatch-focus-indicator-color, var(--swatch-focus-indicator-color)));border-radius:var(--luzmo-swatch-focus-indicator-border-radius, var(--swatch-focus-indicator-border-radius));transition:opacity var(--luzmo-animation-duration) ease-in-out;position:absolute}:host(:focus-visible):after{opacity:1}.fill{inline-size:100%;block-size:100%;box-sizing:border-box;border-radius:var(--luzmo-swatch-border-radius, var(--swatch-border-radius));justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.fill:before{content:"";z-index:0;box-sizing:border-box;box-shadow:inset 0 0 0 var(--luzmo-swatch-border-thickness, var(--swatch-border-thickness)) var(--highcontrast-swatch-border-color, var(--luzmo-swatch-border-color, var(--swatch-border-color)));border-radius:var(--luzmo-swatch-border-radius, var(--swatch-border-radius));position:absolute;top:0;right:0;bottom:0;left:0}:host([border=none]) .fill:before,.fill:before{background-color:initial;background-color:var(--picked-color, transparent)}:host([border=none]) .fill:before{box-shadow:none}.mixed-value-icon{pointer-events:none;color:#0000;color:var(--picked-color, transparent);display:none}.disabled-icon{z-index:1;pointer-events:none;color:var(--highcontrast-swatch-disabled-icon-color, var(--luzmo-swatch-disabled-icon-color, var(--swatch-disabled-icon-color)));stroke:var(--highcontrast-swatch-disabled-icon-color, var(--luzmo-swatch-disabled-icon-color, var(--swatch-disabled-icon-color)));display:none;position:relative}.disabled-icon path:first-child{fill:var(--highcontrast-swatch-disabled-icon-color, var(--luzmo-swatch-disabled-icon-color, var(--swatch-disabled-icon-color)))}.disabled-icon path:last-child{fill:var(--luzmo-swatch-icon-border-color, var(--swatch-icon-border-color))}:host([shape=rectangle]){inline-size:calc(var(--luzmo-swatch-size, var(--swatch-size)) * 2)}:host([rounding=none]),:host([rounding=none]) .fill,:host([rounding=none]) .fill:before,:host([rounding=none][selected]) .fill,:host([rounding=none][selected]) .fill:before,:host([rounding=none]):after,:host([rounding=none]):before{border-radius:0}:host([rounding=full][selected]:not([shape=rectangle])) .fill,:host([rounding=full][selected]:not([shape=rectangle])) .fill:before,:host([rounding=full]:not([shape=rectangle])),:host([rounding=full]:not([shape=rectangle])) .fill,:host([rounding=full]:not([shape=rectangle])) .fill:before,:host([rounding=full]:not([shape=rectangle])):after,:host([rounding=full]:not([shape=rectangle])):before{border-radius:100%}:host([selected]) .fill{width:calc(var(--luzmo-swatch-size, var(--swatch-size)) - 2 * var(--luzmo-swatch-border-thickness-selected, var(--swatch-border-thickness-selected)) + -2 * var(--luzmo-swatch-focus-indicator-gap, var(--swatch-focus-indicator-gap)));height:calc(var(--luzmo-swatch-size, var(--swatch-size)) - 2 * var(--luzmo-swatch-border-thickness-selected, var(--swatch-border-thickness-selected)) + -2 * var(--luzmo-swatch-focus-indicator-gap, var(--swatch-focus-indicator-gap)))}:host([selected][shape=rectangle]) .fill{width:calc(var(--luzmo-swatch-size, var(--swatch-size)) * 2 - 2 * var(--luzmo-swatch-border-thickness-selected, var(--swatch-border-thickness-selected)) + -2 * var(--luzmo-swatch-focus-indicator-gap, var(--swatch-focus-indicator-gap)))}::slotted([slot=image]){object-fit:contain;inline-size:100%;block-size:100%;transition:width var(--luzmo-animation-duration) ease-in-out,height var(--luzmo-animation-duration) ease-in-out}:host([size=xl]){--swatch-size: var(--luzmo-component-height-xl);--swatch-disabled-icon-size: 24px;--swatch-slash-thickness: 6px}:host([size=l]){--swatch-size: var(--luzmo-component-height-l);--swatch-disabled-icon-size: 20px;--swatch-slash-thickness: 5px}:host([size=s]){--swatch-size: var(--luzmo-component-height-s);--swatch-disabled-icon-size: 16px;--swatch-slash-thickness: 3px}:host([size=xs]){--swatch-size: var(--luzmo-component-height-xs);--swatch-disabled-icon-size: 16px;--swatch-slash-thickness: 2px}:host([size=xxs]){--swatch-size: var(--luzmo-component-height-xxs);--swatch-disabled-icon-size: 14px;--swatch-slash-thickness: 2px}:host{--swatch-size: var(--luzmo-component-height);--swatch-disabled-icon-size: 18px;--swatch-slash-thickness: 4px}:host{--swatch-border-radius: var(--luzmo-border-radius-s);--swatch-focus-indicator-border-radius: var(--luzmo-border-radius-s);--swatch-border-thickness: var(--luzmo-border-width);--swatch-border-thickness-selected: var(--luzmo-border-width);--swatch-focus-indicator-width: var(--luzmo-indicator-width);--swatch-focus-indicator-gap: var(--luzmo-indicator-gap);--swatch-border-color: var(--luzmo-border-color-down);--swatch-icon-border-color: var(--luzmo-border-color);--swatch-border-color-selected: var(--luzmo-border-color-full-down);--swatch-inner-border-color-selected: var(--luzmo-background-color);--swatch-disabled-icon-color: rgb(255, 255, 255);--swatch-dash-icon-color: var(--luzmo-font-color);--swatch-slash-icon-color: var(--luzmo-negative-color);--swatch-focus-indicator-color: var(--luzmo-primary)}.fill:before{background:var(--picked-color, transparent)}:host([border=none]) .fill:before{background:var(--picked-color, transparent)}:host .is-image .fill:before{background:#0000}:host .opacity-checkerboard{background:repeating-conic-gradient(var(--luzmo-swatch-checkerboard-light, rgb(255, 255, 255)) 0 25%,var(--luzmo-swatch-checkerboard-dark, rgb(230, 230, 230)) 0 50%) var(--luzmo-swatch-checkerboard-position, left top)/calc(var(--luzmo-swatch-checkerboard-size, 8px) * 2) calc(var(--luzmo-swatch-checkerboard-size, 8px) * 2)}';
|
1861
|
+
var ve = Object.defineProperty, xe = Object.getOwnPropertyDescriptor, E = (r, o, e, t) => {
|
1862
|
+
for (var l = t > 1 ? void 0 : t ? xe(o, e) : o, i = r.length - 1, a; i >= 0; i--)
|
1863
|
+
(a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
|
1864
|
+
return t && l && ve(o, e, l), l;
|
1865
|
+
};
|
1866
|
+
let $ = class extends X(po, {
|
1867
|
+
validSizes: ["xxs", "xs", "s", "m", "l", "xl"],
|
1868
|
+
noDefaultSize: !0
|
1869
|
+
}) {
|
1870
|
+
constructor() {
|
1871
|
+
super(...arguments), this.color = "", this.label = "", this.mixedValue = !1, this.nothing = !1, this.role = "button", this.selected = !1, this.readonly = !1, this.renderDisabled = () => m`
|
1872
|
+
<svg
|
1873
|
+
xmlns="http://www.w3.org/2000/svg"
|
1874
|
+
class="disabled-icon"
|
1875
|
+
viewBox="0 0 20 20"
|
1876
|
+
>
|
1877
|
+
<path
|
1878
|
+
d="M9.889,1a8.889,8.889,0,1,0,8.889,8.889A8.889,8.889,0,0,0,9.889,1Zm6.667,8.889a6.635,6.635,0,0,1-1.233,3.863l-9.3-9.3A6.667,6.667,0,0,1,16.556,9.889Zm-13.333,0A6.636,6.636,0,0,1,4.455,6.026l9.3,9.3A6.667,6.667,0,0,1,3.222,9.889Z"
|
1879
|
+
stroke="none"
|
1880
|
+
fill="var(--swatch-disabled-icon-color)"
|
1881
|
+
/>
|
1882
|
+
<path
|
1883
|
+
d="M 9.888889312744141 1 C 4.979689598083496 1 1 4.979689598083496 1 9.888889312744141 C 1 14.7980899810791 4.979689598083496 18.77777862548828 9.888889312744141 18.77777862548828 C 14.7980899810791 18.77777862548828 18.77777862548828 14.7980899810791 18.77777862548828 9.888889312744141 C 18.77777862548828 4.979689598083496 14.7980899810791 1 9.888889312744141 1 M 15.32277870178223 13.75166893005371 L 6.02610969543457 4.454998970031738 C 8.059318542480469 3.009572982788086 10.72937774658203 2.820217132568359 12.9462194442749 3.964249610900879 C 15.16304969787598 5.10828971862793 16.55568885803223 7.394259452819824 16.5555591583252 9.888889312744141 C 16.55776977539062 11.27357959747314 16.126708984375 12.62425994873047 15.32277870178223 13.75166893005371 M 9.888258934020996 16.55648612976074 C 8.843273162841797 16.55648612976074 7.794573783874512 16.31111145019531 6.831318855285645 15.8139591217041 C 4.614439010620117 14.66977882385254 3.221879959106445 12.38361930847168 3.222219467163086 9.888889312744141 C 3.220088958740234 8.504219055175781 3.651140213012695 7.153559684753418 4.454998970031738 6.02610969543457 L 13.75166893005371 15.32333946228027 C 12.60186290740967 16.14075088500977 11.24825286865234 16.55648612976074 9.888258934020996 16.55648612976074 M 9.888889312744141 0 C 15.34163951873779 0 19.77777862548828 4.436139106750488 19.77777862548828 9.888889312744141 C 19.77777862548828 15.34163951873779 15.34163951873779 19.77777862548828 9.888889312744141 19.77777862548828 C 4.436139106750488 19.77777862548828 0 15.34163951873779 0 9.888889312744141 C 0 4.436139106750488 4.436139106750488 0 9.888889312744141 0 Z M 15.10232830047607 12.11699867248535 C 15.40205764770508 11.41858959197998 15.55679702758789 10.66494941711426 15.5555591583252 9.89048957824707 C 15.5556697845459 7.759209632873535 14.38009929656982 5.829549789428711 12.48761940002441 4.852889060974121 C 11.68764972686768 4.440059661865234 10.78924942016602 4.22184944152832 9.889529228210449 4.22184944152832 C 9.114802360534668 4.22184944152832 8.360831260681152 4.377038955688477 7.661839485168457 4.676509857177734 L 15.10232830047607 12.11699867248535 Z M 12.11597919464111 15.10181331634521 L 4.675475120544434 7.660861015319824 C 4.375750541687012 8.359296798706055 4.221027374267578 9.112875938415527 4.222219467163086 9.887349128723145 C 4.221929550170898 12.01874923706055 5.397418975830078 13.94855880737305 7.289958953857422 14.92533874511719 C 8.08997917175293 15.3382396697998 8.988459587097168 15.55648994445801 9.888258934020996 15.55648994445801 C 10.66298007965088 15.55648994445801 11.41698551177979 15.40128421783447 12.11597919464111 15.10181331634521 Z"
|
1884
|
+
stroke="none"
|
1885
|
+
fill="var(--swatch-disabled-icon-stroke-color)"
|
1886
|
+
/>
|
1887
|
+
</svg>
|
1888
|
+
`, this.renderMixedValue = () => J(Eo);
|
1889
|
+
}
|
1890
|
+
static get styles() {
|
1891
|
+
return [R(fe)];
|
1892
|
+
}
|
1893
|
+
get value() {
|
1894
|
+
return this._value || this.color || this.label;
|
1895
|
+
}
|
1896
|
+
set value(o) {
|
1897
|
+
if (o === this._value)
|
1898
|
+
return;
|
1899
|
+
const e = this.value;
|
1900
|
+
this._value = o, this.requestUpdate("value", e);
|
1901
|
+
}
|
1902
|
+
get focusElement() {
|
1903
|
+
return this;
|
1904
|
+
}
|
1905
|
+
toggle(o) {
|
1906
|
+
this.readonly || (this.selected = o ?? !this.selected);
|
1907
|
+
}
|
1908
|
+
handleClick() {
|
1909
|
+
this.disabled || this.mixedValue || (this.toggle(), this.dispatchEvent(
|
1910
|
+
new Event("change", {
|
1911
|
+
cancelable: !0,
|
1912
|
+
bubbles: !0
|
1913
|
+
})
|
1914
|
+
) || this.toggle());
|
1915
|
+
}
|
1916
|
+
handleKeydown(o) {
|
1917
|
+
const { code: e } = o;
|
1918
|
+
switch (e) {
|
1919
|
+
case "Space": {
|
1920
|
+
o.preventDefault(), this.addEventListener("keyup", this.handleKeyup);
|
1921
|
+
break;
|
1922
|
+
}
|
1923
|
+
}
|
1924
|
+
}
|
1925
|
+
handleKeypress(o) {
|
1926
|
+
const { code: e } = o;
|
1927
|
+
switch (e) {
|
1928
|
+
case "Enter":
|
1929
|
+
case "NumpadEnter": {
|
1930
|
+
this.click();
|
1931
|
+
break;
|
1932
|
+
}
|
1933
|
+
}
|
1934
|
+
}
|
1935
|
+
handleKeyup(o) {
|
1936
|
+
const { code: e } = o;
|
1937
|
+
switch (e) {
|
1938
|
+
case "Space": {
|
1939
|
+
this.removeEventListener("keyup", this.handleKeyup), this.click();
|
1940
|
+
break;
|
1941
|
+
}
|
1942
|
+
}
|
1943
|
+
}
|
1944
|
+
render() {
|
1945
|
+
return m`
|
1946
|
+
<div
|
1947
|
+
class="opacity-checkerboard fill"
|
1948
|
+
style=${U(
|
1949
|
+
this.color ? `--picked-color: ${this.color}` : void 0
|
1950
|
+
)}
|
1951
|
+
>
|
1952
|
+
<slot name="image"></slot>
|
1953
|
+
${eo(this.disabled, this.renderDisabled)}
|
1954
|
+
${eo(this.mixedValue, this.renderMixedValue)}
|
1955
|
+
</div>
|
1956
|
+
`;
|
1957
|
+
}
|
1958
|
+
willUpdate(o) {
|
1959
|
+
var e;
|
1960
|
+
if (this.getAttribute("role") || this.setAttribute("role", "button"), (o.has("selected") || o.has("role")) && !this.readonly) {
|
1961
|
+
const t = this.role === "button" ? "aria-pressed" : "aria-checked", l = this.role === "button" ? "aria-checked" : "aria-pressed";
|
1962
|
+
o.has("role") && this.removeAttribute(l), this.setAttribute(t, this.selected ? "true" : "false");
|
1963
|
+
}
|
1964
|
+
(o.has("label") || o.has("color") || o.has("mixedValue")) && (this.label !== this.color && (e = this.label) != null && e.length ? this.setAttribute("aria-label", this.label) : this.color ? this.setAttribute("aria-label", this.color) : this.mixedValue ? this.setAttribute("aria-label", "Mixed") : this.removeAttribute("aria-label"));
|
1965
|
+
}
|
1966
|
+
firstUpdated(o) {
|
1967
|
+
super.firstUpdated(o), this.addEventListener("click", this.handleClick), this.addEventListener("keydown", this.handleKeydown), this.addEventListener("keypress", this.handleKeypress), this.hasAttribute("tabindex") || this.setAttribute("tabindex", "0");
|
1968
|
+
}
|
1969
|
+
};
|
1970
|
+
E([
|
1971
|
+
s({ reflect: !0 })
|
1972
|
+
], $.prototype, "border", 2);
|
1973
|
+
E([
|
1974
|
+
s()
|
1975
|
+
], $.prototype, "color", 2);
|
1976
|
+
E([
|
1977
|
+
s()
|
1978
|
+
], $.prototype, "label", 2);
|
1979
|
+
E([
|
1980
|
+
s({ type: Boolean, reflect: !0, attribute: "mixed-value" })
|
1981
|
+
], $.prototype, "mixedValue", 2);
|
1982
|
+
E([
|
1983
|
+
s({ type: Boolean, reflect: !0 })
|
1984
|
+
], $.prototype, "nothing", 2);
|
1985
|
+
E([
|
1986
|
+
s({ reflect: !0 })
|
1987
|
+
], $.prototype, "role", 2);
|
1988
|
+
E([
|
1989
|
+
s({ reflect: !0 })
|
1990
|
+
], $.prototype, "rounding", 2);
|
1991
|
+
E([
|
1992
|
+
s({ type: Boolean, reflect: !0 })
|
1993
|
+
], $.prototype, "selected", 2);
|
1994
|
+
E([
|
1995
|
+
s({ type: Boolean, reflect: !0 })
|
1996
|
+
], $.prototype, "readonly", 2);
|
1997
|
+
E([
|
1998
|
+
s({ reflect: !0 })
|
1999
|
+
], $.prototype, "shape", 2);
|
2000
|
+
E([
|
2001
|
+
s()
|
2002
|
+
], $.prototype, "value", 1);
|
2003
|
+
const ye = ":host{justify-content:flex-start;align-items:flex-start;gap:var(--luzmo-swatch-group-spacing-regular, var(--swatch-group-spacing-regular));flex-flow:wrap;display:inline-flex}:host([density=compact]){gap:var(--luzmo-swatch-group-spacing-compact, var(--swatch-group-spacing-compact))}:host([density=spacious]){gap:var(--luzmo-swatch-group-spacing-spacious, var(--swatch-group-spacing-spacious))}:host{--swatch-group-spacing-compact: 2px;--swatch-group-spacing-regular: 4px;--swatch-group-spacing-spacious: 8px}";
|
2004
|
+
var we = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, D = (r, o, e, t) => {
|
2005
|
+
for (var l = t > 1 ? void 0 : t ? ke(o, e) : o, i = r.length - 1, a; i >= 0; i--)
|
2006
|
+
(a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
|
2007
|
+
return t && l && we(o, e, l), l;
|
2008
|
+
};
|
2009
|
+
class T extends X(I, {
|
2010
|
+
validSizes: ["xs", "s", "m", "l"],
|
2011
|
+
noDefaultSize: !0
|
2012
|
+
}) {
|
2013
|
+
constructor() {
|
2014
|
+
super(), this._selected = [], this.selectedSet = /* @__PURE__ */ new Set(), this.rovingTabindexController = new No(this, {
|
2015
|
+
focusInIndex: (o) => {
|
2016
|
+
let e = -1;
|
2017
|
+
const t = o.findIndex((l, i) => (!o[e] && !l.disabled && (e = i), l.selected && !l.disabled));
|
2018
|
+
return o[t] ? t : e;
|
2019
|
+
},
|
2020
|
+
elements: () => this.swatches,
|
2021
|
+
isFocusableElement: (o) => !o.disabled
|
2022
|
+
}), this.manageChange = async () => {
|
2023
|
+
const o = /* @__PURE__ */ new Set();
|
2024
|
+
this.selectedSet = new Set(this.selected), await Promise.all(this.swatches.map((e) => e.updateComplete)), this.swatches.forEach((e) => {
|
2025
|
+
o.add(e.value), e.selected && this.selectedSet.add(e.value);
|
2026
|
+
}), this.selectedSet.forEach((e) => {
|
2027
|
+
o.has(e) || this.selectedSet.delete(e);
|
2028
|
+
}), this._selected = [...this.selectedSet], this.rovingTabindexController.clearElementCache();
|
2029
|
+
}, new Bo(this, {
|
2030
|
+
config: {
|
2031
|
+
attributes: !0,
|
2032
|
+
childList: !0,
|
2033
|
+
subtree: !0
|
2034
|
+
},
|
2035
|
+
callback: () => {
|
2036
|
+
this.manageChange();
|
2037
|
+
}
|
2038
|
+
});
|
2039
|
+
}
|
2040
|
+
static get styles() {
|
2041
|
+
return [R(ye)];
|
2042
|
+
}
|
2043
|
+
get selected() {
|
2044
|
+
return this._selected;
|
2045
|
+
}
|
2046
|
+
set selected(o) {
|
2047
|
+
if (o === this.selected)
|
2048
|
+
return;
|
2049
|
+
const e = this.selected;
|
2050
|
+
this._selected = o, this.requestUpdate("selected", e);
|
2051
|
+
}
|
2052
|
+
focus(o) {
|
2053
|
+
this.rovingTabindexController.focus(o);
|
2054
|
+
}
|
2055
|
+
handleChange(o) {
|
2056
|
+
o.stopPropagation();
|
2057
|
+
const e = this.selected;
|
2058
|
+
if (!this.selects) {
|
2059
|
+
o.preventDefault();
|
2060
|
+
return;
|
2061
|
+
}
|
2062
|
+
if (this.selects === "single") {
|
2063
|
+
const { target: t } = o;
|
2064
|
+
if (t.tabIndex = 0, t.selected = !0, this.selectedSet.has(t.value))
|
2065
|
+
return;
|
2066
|
+
this.selectedSet.clear(), this.selectedSet.add(t.value), this.rovingTabindexController.elements.forEach((l) => {
|
2067
|
+
l !== t && (l.selected = !1);
|
2068
|
+
});
|
2069
|
+
} else if (this.selects === "multiple") {
|
2070
|
+
const { target: t } = o;
|
2071
|
+
t.selected ? this.selectedSet.add(t.value) : this.selectedSet.delete(t.value);
|
2072
|
+
}
|
2073
|
+
this._selected = [...this.selectedSet], this.dispatchEvent(
|
2074
|
+
new Event("change", {
|
2075
|
+
cancelable: !0,
|
2076
|
+
bubbles: !0
|
2077
|
+
})
|
2078
|
+
) || (this._selected = e, o.preventDefault());
|
2079
|
+
}
|
2080
|
+
getPassthroughSwatchActions(o) {
|
2081
|
+
const e = {};
|
2082
|
+
o.has("selects") && (this.selects || o.get("selects") !== void 0) && (e.selects = this.selects), o.has("border") && (this.border || o.get("border") !== void 0) && (e.border = this.border), o.has("rounding") && (this.rounding || o.get("rounding") !== void 0) && (e.rounding = this.rounding), o.has("size") && (this.size !== "m" || o.get("size") !== void 0) && (e.size = this.size), o.has("shape") && (this.shape || o.get("shape") !== void 0) && (e.shape = this.shape);
|
2083
|
+
const t = [];
|
2084
|
+
return Object.keys(e).length > 0 && t.push((l) => {
|
2085
|
+
"border" in e && (l.border = e.border), "rounding" in e && (l.rounding = e.rounding), "shape" in e && (l.shape = e.shape), "size" in e && (l.size = e.size);
|
2086
|
+
}), t;
|
2087
|
+
}
|
2088
|
+
getSelectionSwatchActions(o) {
|
2089
|
+
const e = [];
|
2090
|
+
if (!o.has("selects"))
|
2091
|
+
return e;
|
2092
|
+
this.selects ? this.setAttribute(
|
2093
|
+
"role",
|
2094
|
+
this.selects === "single" ? "radiogroup" : "group"
|
2095
|
+
) : this.removeAttribute("role");
|
2096
|
+
const t = {
|
2097
|
+
single: "radio",
|
2098
|
+
multiple: "checkbox"
|
2099
|
+
}, l = this.selects ? t[this.selects] : "button";
|
2100
|
+
return e.push((i) => {
|
2101
|
+
i.setAttribute("role", l);
|
2102
|
+
}), e;
|
2103
|
+
}
|
2104
|
+
render() {
|
2105
|
+
return m`
|
2106
|
+
<slot
|
2107
|
+
@change=${this.handleChange}
|
2108
|
+
@slotchange=${this.manageChange}
|
2109
|
+
></slot>
|
2110
|
+
`;
|
2111
|
+
}
|
2112
|
+
willUpdate(o) {
|
2113
|
+
const e = [
|
2114
|
+
...this.getPassthroughSwatchActions(o),
|
2115
|
+
...this.getSelectionSwatchActions(o)
|
2116
|
+
];
|
2117
|
+
let t = new Set(this.selected);
|
2118
|
+
const l = /* @__PURE__ */ new Set();
|
2119
|
+
o.has("selected") && e.push((a) => {
|
2120
|
+
l.add(a.value), a.selected = !!(t.has(a.value) || !this.hasUpdated && a.selected);
|
2121
|
+
});
|
2122
|
+
const i = () => {
|
2123
|
+
t = new Set(this.selected), this.swatches.forEach((a) => {
|
2124
|
+
e.forEach((n) => {
|
2125
|
+
n(a);
|
2126
|
+
});
|
2127
|
+
}), o.has("selected") && (this._selected = [...t.values()].filter(
|
2128
|
+
(a) => l.has(a)
|
2129
|
+
));
|
2130
|
+
};
|
2131
|
+
this.hasUpdated ? i() : this.renderRoot.addEventListener(
|
2132
|
+
"slotchange",
|
2133
|
+
() => {
|
2134
|
+
requestAnimationFrame(i);
|
2135
|
+
},
|
2136
|
+
{ once: !0 }
|
2137
|
+
);
|
2138
|
+
}
|
2139
|
+
}
|
2140
|
+
D([
|
2141
|
+
s({ reflect: !0 })
|
2142
|
+
], T.prototype, "border", 2);
|
2143
|
+
D([
|
2144
|
+
s({ reflect: !0 })
|
2145
|
+
], T.prototype, "density", 2);
|
2146
|
+
D([
|
2147
|
+
s({ reflect: !0 })
|
2148
|
+
], T.prototype, "rounding", 2);
|
2149
|
+
D([
|
2150
|
+
s({ type: Array })
|
2151
|
+
], T.prototype, "selected", 1);
|
2152
|
+
D([
|
2153
|
+
s()
|
2154
|
+
], T.prototype, "selects", 2);
|
2155
|
+
D([
|
2156
|
+
s({ reflect: !0 })
|
2157
|
+
], T.prototype, "shape", 2);
|
2158
|
+
D([
|
2159
|
+
Fo({ flatten: !0 })
|
2160
|
+
], T.prototype, "swatches", 2);
|
2161
|
+
customElements.get("luzmo-swatch") || customElements.define("luzmo-swatch", $);
|
2162
|
+
customElements.get("luzmo-swatch-group") || customElements.define("luzmo-swatch-group", T);
|
2163
|
+
/*! * Lucero - The design system for Luzmo.
|
2164
|
+
*
|
2165
|
+
* Copyright © 2025 Luzmo
|
2166
|
+
* All rights reserved.
|
2167
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
2168
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
2169
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
2170
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
2171
|
+
*
|
2172
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
2173
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
2174
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
2175
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
2176
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
2177
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
2178
|
+
* SOFTWARE.
|
2179
|
+
* */
|
2180
|
+
const Ce = () => {
|
2181
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
2182
|
+
const r = document.createElement("style");
|
2183
|
+
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
2184
|
+
}
|
2185
|
+
};
|
2186
|
+
Ce();
|
2187
|
+
const $e = '@charset "UTF-8";:host{width:var(--luzmo-color-menu-width, var(--color-menu-width))}.hue-opacity-text-swatches-container{display:flex;gap:var(--luzmo-color-menu-color-controls-vertical-gap, var(--color-menu-color-controls-vertical-gap));flex-direction:column;padding:var(--luzmo-color-menu-hue-opacity-text-swatches-vertical-padding, var(--color-menu-hue-opacity-text-swatches-vertical-padding)) var(--luzmo-color-menu-hue-opacity-text-swatches-horizontal-padding, var(--color-menu-hue-opacity-text-swatches-horizontal-padding))}.swatch-sliders-container{display:flex;gap:var(--luzmo-color-menu-swatch-to-sliders-space, var(--color-menu-swatch-to-sliders-space))}.swatch-example-container{display:flex;align-items:center}.field-container{display:flex;align-items:center;gap:var(--luzmo-color-menu-format-field-to-format-space, var(--color-menu-format-field-to-format-space))}.format-container{text-transform:uppercase;position:relative;background:none;border:none;outline:none;height:var(--luzmo-color-menu-format-height, var(--color-menu-format-height));cursor:pointer;font-size:var(--luzmo-color-menu-format-font-size, var(--color-menu-format-font-size));display:flex;align-items:center;color:var(--luzmo-color-menu-format-font-color, var(--color-menu-format-font-color));gap:var(--luzmo-color-menu-format-name-to-icon, var(--color-menu-format-name-to-icon-space));padding:0 var(--luzmo-color-menu-format-horizontal-padding, var(--color-menu-format-horizontal-padding))}.format-container:hover{color:var(--luzmo-color-menu-format-font-color-hover, var(--color-menu-format-font-color-hover))}.format-container:focus-visible{outline:none}.format-container:focus-visible:after{content:"";width:100%;height:100%;position:absolute;box-sizing:border-box;left:0;top:0;border:var(--luzmo-color-menu-format-indicator-width, var(--luzmo-indicator-width)) solid var(--luzmo-color-menu-format-indicator-color, var(--luzmo-indicator-color));border-radius:var(--luzmo-color-menu-format-label-indicator-border-radius, var(--luzmo-border-radius-s))}.format-container:focus-visible,.format-container:active{color:var(--luzmo-color-menu-format-font-color-down, var(--color-menu-format-font-color-down))}.format-container .format-label{-webkit-user-select:none;user-select:none}.format-container .angle-icon{display:flex;align-items:center;height:calc(var(--color-menu-format-font-size) / 1.5)}.slider-container{display:flex;flex-direction:column;justify-content:center;gap:var(--luzmo-color-menu-slider-gap, var(--color-menu-slider-gap))}luzmo-color-area{width:100%;height:var(--luzmo-color-menu-height, var(--color-menu-height))}luzmo-color-slider{width:100%}luzmo-divider{margin:var(--luzmo-spacing-5) à}.swatches-container{display:grid;grid-template-columns:repeat(6,1fr);gap:var(--luzmo-color-menu-swatches-gap, var(--color-menu-swatches-gap))}.swatches-container luzmo-swatch{cursor:pointer}.swatches-container .swatch-choice{display:flex;align-items:center;justify-content:center}:host{--luzmo-text-field-icon-size-valid: 0px;--luzmo-text-field-icon-spacing-inline-end-valid: 1px;--luzmo-text-field-text-align: center}:host{--color-menu-width: 290px;--luzmo-text-field-width: 220px;--luzmo-color-slider-control-track-width: 8px;--color-menu-height: 140px;--color-menu-hue-opacity-text-swatches-horizontal-padding: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-hue-opacity-text-swatches-vertical-padding: var( --luzmo-spacing-5 );--color-menu-color-controls-vertical-gap: var(--luzmo-spacing-5);--color-menu-swatch-to-sliders-space: var(--luzmo-spacing-5);--color-menu-slider-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-format-height: var(--luzmo-component-height);--color-menu-format-font-size: var(--luzmo-font-size-s);--color-menu-format-name-to-icon-space: var(--luzmo-spacing-2);--color-menu-format-field-to-format-space: var(--luzmo-spacing-2);--color-menu-format-horizontal-padding: var(--luzmo-spacing-3);--color-menu-format-font-color: var(--luzmo-font-color);--color-menu-format-font-color-hover: var(--luzmo-font-color-hover);--color-menu-format-font-color-down: var(--luzmo-font-color-down);--color-menu-swatches-gap: var(--luzmo-spacing-4)}:host .swatches-container{--luzmo-swatch-size: 22px}:host([size=s]){--color-menu-width: 260px;--luzmo-text-field-width: 200px;--luzmo-color-slider-control-track-width: 8px;--color-menu-hue-opacity-text-swatches-horizontal-padding: var( --luzmo-spacing-5 );--color-menu-hue-opacity-text-swatches-vertical-padding: var( --luzmo-spacing-4 );--color-menu-color-controls-vertical-gap: var(--luzmo-spacing-4);--color-menu-swatch-to-sliders-space: var(--luzmo-spacing-4);--color-menu-slider-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-format-height: var(--luzmo-component-height-s);--color-menu-format-font-size: var(--luzmo-font-size-xs);--color-menu-format-name-to-icon-space: var(--luzmo-spacing-2);--color-menu-format-field-to-format-space: var(--luzmo-spacing-2);--color-menu-format-horizontal-padding: var(--luzmo-spacing-2);--color-menu-swatches-gap: var(--luzmo-spacing-3)}:host([size=s]) .swatches-container{--luzmo-swatch-size: 20px}:host([size=l]){--color-menu-width: 350px;--luzmo-text-field-width: 240px;--luzmo-color-slider-control-track-width: 16px;--color-menu-hue-opacity-text-swatches-horizontal-padding: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--color-menu-hue-opacity-text-swatches-vertical-padding: var( --luzmo-spacing-5 );--color-menu-color-controls-vertical-gap: var(--luzmo-spacing-5);--color-menu-swatch-to-sliders-space: var(--luzmo-spacing-5);--color-menu-slider-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--color-menu-format-height: var(--luzmo-component-height-l);--color-menu-format-font-size: var(--luzmo-font-size);--color-menu-format-name-to-icon-space: var(--luzmo-spacing-3);--color-menu-format-field-to-format-space: var(--luzmo-spacing-2);--color-menu-format-horizontal-padding: var(--luzmo-spacing-4);--color-menu-swatches-gap: var(--luzmo-spacing-4)}:host([size=l]) .swatches-container{--luzmo-swatch-size: 24px}:host([size=l]) .swatch-example-container{--luzmo-swatch-size: 56px}:host([size=xl]){--color-menu-width: 380px;--luzmo-text-field-width: 280px;--luzmo-color-slider-control-track-width: 16px;--color-menu-hue-opacity-text-swatches-horizontal-padding: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--color-menu-hue-opacity-text-swatches-vertical-padding: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-color-controls-vertical-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-swatch-to-sliders-space: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-slider-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--color-menu-format-height: var(--luzmo-component-height-xl);--color-menu-format-font-size: var(--luzmo-font-size-l);--color-menu-format-name-to-icon-space: var(--luzmo-spacing-3);--color-menu-format-field-to-format-space: var(--luzmo-spacing-3);--color-menu-format-horizontal-padding: var(--luzmo-spacing-4);--color-menu-swatches-gap: var(--luzmo-spacing-4)}:host([size=xl]) .swatches-container{--luzmo-swatch-size: 26px}:host([size=xl]) .swatch-example-container{--luzmo-swatch-size: 64px}';
|
2188
|
+
var Se = Object.defineProperty, M = (r, o, e, t) => {
|
2189
|
+
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
2190
|
+
(a = r[i]) && (l = a(o, e, l) || l);
|
2191
|
+
return l && Se(o, e, l), l;
|
2192
|
+
};
|
2193
|
+
const wo = class extends X(I) {
|
2194
|
+
constructor() {
|
2195
|
+
super(...arguments), this.color = "rgb(255, 0, 0)", this.noAlphaChannel = !1, this._alpha = 1, this._rgbColor = "rgb(255, 0, 0)", this._rgbaColor = "rgb(255, 0, 0, 1)", this._previousColor = "rgb(255, 0, 0)";
|
2196
|
+
}
|
2197
|
+
setColor(o) {
|
2198
|
+
var e;
|
2199
|
+
const t = new h((e = o == null ? void 0 : o.target) == null ? void 0 : e.color);
|
2200
|
+
this._format = t.format === "name" ? "rgb" : t.format, this._rgbaColor = t.toRgbString(), this._alpha = this.noAlphaChannel ? 1 : t.getAlpha(), this._rgbColor = t.setAlpha(1).toRgbString(), this.hueSliderElement.color = this._rgbColor, this.areaElement.color = this._rgbColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.swatchElement.color = this._rgbaColor, this.colorFieldElement.value = this.formatTextField(t), this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
|
2201
|
+
}
|
2202
|
+
handleAreaChange(o) {
|
2203
|
+
o.stopPropagation(), o.preventDefault(), this._rgbColor = this.areaElement.color;
|
2204
|
+
const e = new h(this._rgbColor);
|
2205
|
+
this._rgbaColor = e.setAlpha(this._alpha).toRgbString(), this.colorFieldElement.value = this._rgbaColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.colorFieldElement.value = this.formatTextField(e), this.swatchElement.color = this._rgbaColor, this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
|
2206
|
+
}
|
2207
|
+
handleHueSliderChange(o) {
|
2208
|
+
o.stopPropagation(), o.preventDefault();
|
2209
|
+
const e = new h(this._rgbColor).toHsl();
|
2210
|
+
e.h = this.hueSliderElement.value;
|
2211
|
+
const t = new h(e);
|
2212
|
+
this._rgbColor = t.toRgbString(), this._rgbaColor = t.setAlpha(this._alpha).toRgbString(), this.areaElement.color = this._rgbColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.colorFieldElement.value = this.formatTextField(t), this.swatchElement.color = this._rgbaColor, this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
|
2213
|
+
}
|
2214
|
+
handleOpacitySliderChange(o) {
|
2215
|
+
o.stopPropagation(), o.preventDefault(), this._alpha = this.opacitySliderElement.sliderHandlePosition / 100;
|
2216
|
+
const e = new h(this._rgbColor).setAlpha(this._alpha);
|
2217
|
+
this._rgbaColor = e.toRgbString(), this.colorFieldElement.value = this.formatTextField(e), this.swatchElement.color = this._rgbaColor, this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
|
2218
|
+
}
|
2219
|
+
handleFieldChange(o) {
|
2220
|
+
if (o.stopPropagation(), o.preventDefault(), this.colorFieldElement.checkValidity()) {
|
2221
|
+
const e = new h(this.colorFieldElement.value);
|
2222
|
+
this._format = e.format, this._rgbaColor = e.toRgbString(), this._alpha = e.getAlpha(), this._rgbColor = e.setAlpha(1).toRgbString(), this.noAlphaChannel && (this._rgbaColor = this._rgbColor, this._alpha = 1), this.hueSliderElement.color = this._rgbColor, this.areaElement.color = this._rgbColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.swatchElement.color = this._rgbaColor, this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
|
2223
|
+
}
|
2224
|
+
}
|
2225
|
+
formatTextField(o) {
|
2226
|
+
return this._format === "hsl" ? o.toHslString() : this._format === "hex" ? this.noAlphaChannel ? o.toHexString() : o.toHex8String() : (this._format === "name" && (this._format = "rgb"), o.toRgbString());
|
2227
|
+
}
|
2228
|
+
cycleFormat() {
|
2229
|
+
const o = ["rgb", "hsl", "hex"];
|
2230
|
+
this._format = o[(o.indexOf(this._format) + 1) % o.length];
|
2231
|
+
const e = new h(this.color), t = this.formatTextField(e);
|
2232
|
+
this.colorFieldElement.value = t;
|
2233
|
+
}
|
2234
|
+
updated(o) {
|
2235
|
+
if (o.has("color") && this.color !== this._previousColor) {
|
2236
|
+
this._previousColor = this.color;
|
2237
|
+
const e = new h(this.color);
|
2238
|
+
this._alpha = e.getAlpha(), this._rgbColor = e.setAlpha(1).toRgbString(), this._rgbaColor = e.setAlpha(this._alpha).toRgbString(), this.areaElement.color = this._rgbColor, this.hueSliderElement.color = this._rgbColor, this.colorFieldElement.value = this._rgbaColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.swatchElement.color = this._rgbaColor, this._format = "rgb";
|
2239
|
+
}
|
2240
|
+
o.has("noAlphaChannel") && !this.noAlphaChannel && (this.opacitySliderElement.color = this._rgbaColor);
|
2241
|
+
}
|
2242
|
+
renderOpacitySlider() {
|
2243
|
+
return m`
|
2244
|
+
<luzmo-color-slider
|
2245
|
+
id="luzmo-opacity-slider"
|
2246
|
+
mode="opacity"
|
2247
|
+
@input=${this.handleOpacitySliderChange}
|
2248
|
+
>
|
2249
|
+
</luzmo-color-slider>
|
2250
|
+
`;
|
2251
|
+
}
|
2252
|
+
render() {
|
2253
|
+
var o;
|
2254
|
+
return m`
|
2255
|
+
<div>
|
2256
|
+
<luzmo-color-area
|
2257
|
+
.size=${this.size}
|
2258
|
+
@input=${this.handleAreaChange}
|
2259
|
+
></luzmo-color-area>
|
2260
|
+
<div class="hue-opacity-text-swatches-container">
|
2261
|
+
<div class="swatch-sliders-container">
|
2262
|
+
<div class="swatch-example-container">
|
2263
|
+
<luzmo-swatch
|
2264
|
+
rounding="full"
|
2265
|
+
.size=${this.noAlphaChannel && ["s", "m"].includes(this.size) ? "s" : "l"}
|
2266
|
+
readonly
|
2267
|
+
></luzmo-swatch>
|
2268
|
+
</div>
|
2269
|
+
<div class="slider-container" style="flex-grow: 1;">
|
2270
|
+
<luzmo-color-slider
|
2271
|
+
id="luzmo-hue-slider"
|
2272
|
+
@input=${this.handleHueSliderChange}
|
2273
|
+
>
|
2274
|
+
</luzmo-color-slider>
|
2275
|
+
${this.noAlphaChannel ? "" : this.renderOpacitySlider()}
|
2276
|
+
</div>
|
2277
|
+
</div>
|
2278
|
+
<div class="field-container">
|
2279
|
+
<luzmo-color-field
|
2280
|
+
.size=${this.size}
|
2281
|
+
@input=${this.handleFieldChange}
|
2282
|
+
>
|
2283
|
+
</luzmo-color-field>
|
2284
|
+
<button
|
2285
|
+
class="format-container"
|
2286
|
+
aria-label="Color format"
|
2287
|
+
@click=${this.cycleFormat}
|
2288
|
+
tabindex="0"
|
2289
|
+
>
|
2290
|
+
<div class="format-label">${this._format}</div>
|
2291
|
+
<div class="change-format-icon">
|
2292
|
+
<div class="angle-icon">${J(_o)}</div>
|
2293
|
+
<div class="angle-icon">${J(Ao)}</div>
|
2294
|
+
</div>
|
2295
|
+
</button>
|
2296
|
+
</div>
|
2297
|
+
${((o = this.swatches) == null ? void 0 : o.length) > 0 ? m`
|
2298
|
+
<luzmo-divider></luzmo-divider>
|
2299
|
+
<div class="swatches-container">
|
2300
|
+
${this.swatches.map(
|
2301
|
+
(e) => m`
|
2302
|
+
<div class="swatch-choice">
|
2303
|
+
<luzmo-swatch
|
2304
|
+
@click=${this.setColor}
|
2305
|
+
.color=${e}
|
2306
|
+
.size=${this.size}
|
2307
|
+
readonly
|
2308
|
+
>
|
2309
|
+
</luzmo-swatch>
|
2310
|
+
</div>
|
2311
|
+
`
|
2312
|
+
)}
|
2313
|
+
</div>
|
2314
|
+
` : ""}
|
2315
|
+
</div>
|
2316
|
+
</div>
|
2317
|
+
`;
|
2318
|
+
}
|
2319
|
+
};
|
2320
|
+
wo.styles = R($e);
|
2321
|
+
let A = wo;
|
2322
|
+
M([
|
2323
|
+
s({ type: String, reflect: !0 })
|
2324
|
+
], A.prototype, "color");
|
2325
|
+
M([
|
2326
|
+
s({ type: Boolean, reflect: !0, attribute: "no-alpha-channel" })
|
2327
|
+
], A.prototype, "noAlphaChannel");
|
2328
|
+
M([
|
2329
|
+
s({ type: Array, reflect: !0 })
|
2330
|
+
], A.prototype, "swatches");
|
2331
|
+
M([
|
2332
|
+
C("luzmo-color-area")
|
2333
|
+
], A.prototype, "areaElement");
|
2334
|
+
M([
|
2335
|
+
C("#luzmo-hue-slider")
|
2336
|
+
], A.prototype, "hueSliderElement");
|
2337
|
+
M([
|
2338
|
+
C("#luzmo-opacity-slider")
|
2339
|
+
], A.prototype, "opacitySliderElement");
|
2340
|
+
M([
|
2341
|
+
C("luzmo-color-field")
|
2342
|
+
], A.prototype, "colorFieldElement");
|
2343
|
+
M([
|
2344
|
+
C("luzmo-swatch")
|
2345
|
+
], A.prototype, "swatchElement");
|
2346
|
+
M([
|
2347
|
+
uo()
|
2348
|
+
], A.prototype, "_format");
|
2349
|
+
customElements.get("luzmo-color-menu") || customElements.define("luzmo-color-menu", A);
|
2350
|
+
/*! * Lucero - The design system for Luzmo.
|
2351
|
+
*
|
2352
|
+
* Copyright © 2025 Luzmo
|
2353
|
+
* All rights reserved.
|
2354
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
2355
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
2356
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
2357
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
2358
|
+
*
|
2359
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
2360
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
2361
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
2362
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
2363
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
2364
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
2365
|
+
* SOFTWARE.
|
2366
|
+
* */
|
2367
|
+
const Ee = () => {
|
2368
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
2369
|
+
const r = document.createElement("style");
|
2370
|
+
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
2371
|
+
}
|
2372
|
+
};
|
2373
|
+
Ee();
|
2374
|
+
const _e = "luzmo-popover{margin-left:var(--luzmo-color-picker-popover-horizontal-gap, var(--color-picker-popover-horizontal-gap));margin-right:var(--luzmo-color-picker-popover-horizontal-gap, var(--color-picker-popover-horizontal-gap))}luzmo-swatch{cursor:pointer}:host{--luzmo-popover-content-area-spacing-vertical: 0;--color-picker-popover-horizontal-gap: var(--luzmo-spacing-4)}:host([size=s]){--color-picker-popover-horizontal-gap: var(--luzmo-spacing-3)}:host([size=l]),:host([size=xl]){--color-picker-popover-horizontal-gap: var(--luzmo-spacing-5)}";
|
2375
|
+
var Ae = Object.defineProperty, _ = (r, o, e, t) => {
|
2376
|
+
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
2377
|
+
(a = r[i]) && (l = a(o, e, l) || l);
|
2378
|
+
return l && Ae(o, e, l), l;
|
2379
|
+
};
|
2380
|
+
const ko = class extends X(I) {
|
2381
|
+
constructor() {
|
2382
|
+
super(...arguments), this.color = "rgb(255, 0, 0)", this.open = !1, this.disabled = !1, this.placement = "left-start", this.rounding = "full", this.swatches = [], this.noAlphaChannel = !1, this._renderMenu = !1;
|
2383
|
+
}
|
2384
|
+
overlayCloseEvent() {
|
2385
|
+
this.open = !1;
|
2386
|
+
}
|
2387
|
+
overlayOpenEvent() {
|
2388
|
+
this.open = !0;
|
2389
|
+
}
|
2390
|
+
handleColorChange() {
|
2391
|
+
this.color = this.menuElement.color, this.dispatchEvent(
|
2392
|
+
new Event("change", {
|
2393
|
+
bubbles: !0,
|
2394
|
+
composed: !0
|
2395
|
+
})
|
2396
|
+
);
|
2397
|
+
}
|
2398
|
+
firstUpdated() {
|
2399
|
+
this.overlayElement.addEventListener("slottable-request", (o) => {
|
2400
|
+
this._renderMenu = o.data !== To;
|
2401
|
+
});
|
2402
|
+
}
|
2403
|
+
updated(o) {
|
2404
|
+
o.has("open") && this.open === !0 && (this._renderMenu = !0);
|
2405
|
+
}
|
2406
|
+
renderColorMenu() {
|
2407
|
+
return m`
|
2408
|
+
<luzmo-color-menu
|
2409
|
+
.size=${this.size}
|
2410
|
+
.color=${this.color}
|
2411
|
+
.noAlphaChannel=${this.noAlphaChannel}
|
2412
|
+
.swatches=${this.swatches}
|
2413
|
+
@change=${this.handleColorChange}
|
2414
|
+
></luzmo-color-menu>
|
2415
|
+
`;
|
2416
|
+
}
|
2417
|
+
render() {
|
2418
|
+
return m`
|
2419
|
+
<luzmo-swatch
|
2420
|
+
id="trigger"
|
2421
|
+
.shape=${this.shape}
|
2422
|
+
.rounding=${this.rounding}
|
2423
|
+
.size=${this.size}
|
2424
|
+
.color=${this.color}
|
2425
|
+
.selected=${this.open && !this.disabled}
|
2426
|
+
?disabled=${this.disabled}
|
2427
|
+
@luzmo-closed=${this.overlayCloseEvent}
|
2428
|
+
@luzmo-opened=${this.overlayOpenEvent}
|
2429
|
+
></luzmo-swatch>
|
2430
|
+
<luzmo-overlay
|
2431
|
+
trigger=${this.disabled ? "" : "trigger@click"}
|
2432
|
+
type="auto"
|
2433
|
+
.placement=${this.placement}
|
2434
|
+
type="page"
|
2435
|
+
>
|
2436
|
+
<luzmo-popover style="position:relative">
|
2437
|
+
${this._renderMenu ? this.renderColorMenu() : m``}
|
2438
|
+
</luzmo-popover>
|
2439
|
+
</luzmo-overlay>
|
2440
|
+
`;
|
2441
|
+
}
|
2442
|
+
};
|
2443
|
+
ko.styles = R(_e);
|
2444
|
+
let S = ko;
|
2445
|
+
_([
|
2446
|
+
s({ type: String, reflect: !0 })
|
2447
|
+
], S.prototype, "color");
|
2448
|
+
_([
|
2449
|
+
s({ type: Boolean, reflect: !0 })
|
2450
|
+
], S.prototype, "open");
|
2451
|
+
_([
|
2452
|
+
s({ type: Boolean, reflect: !0 })
|
2453
|
+
], S.prototype, "disabled");
|
2454
|
+
_([
|
2455
|
+
s({ type: String, reflect: !0 })
|
2456
|
+
], S.prototype, "placement");
|
2457
|
+
_([
|
2458
|
+
s({ type: String, reflect: !0 })
|
2459
|
+
], S.prototype, "rounding");
|
2460
|
+
_([
|
2461
|
+
s({ type: String, reflect: !0 })
|
2462
|
+
], S.prototype, "shape");
|
2463
|
+
_([
|
2464
|
+
s({ type: Array, reflect: !0 })
|
2465
|
+
], S.prototype, "swatches");
|
2466
|
+
_([
|
2467
|
+
s({ type: Boolean, reflect: !0, attribute: "no-alpha-channel" })
|
2468
|
+
], S.prototype, "noAlphaChannel");
|
2469
|
+
_([
|
2470
|
+
C("luzmo-color-menu")
|
2471
|
+
], S.prototype, "menuElement");
|
2472
|
+
_([
|
2473
|
+
C("luzmo-overlay")
|
2474
|
+
], S.prototype, "overlayElement");
|
2475
|
+
_([
|
2476
|
+
uo()
|
2477
|
+
], S.prototype, "_renderMenu");
|
2478
|
+
customElements.get("luzmo-color-picker") || customElements.define("luzmo-color-picker", S);
|
2479
|
+
var Me = Object.defineProperty, H = (r, o, e, t) => {
|
2480
|
+
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
2481
|
+
(a = r[i]) && (l = a(o, e, l) || l);
|
2482
|
+
return l && Me(o, e, l), l;
|
2483
|
+
};
|
2484
|
+
const L = class L extends Io {
|
2485
|
+
constructor() {
|
2486
|
+
super(...arguments), this.value = "transparent", this.disabled = !1, this.noAlphaChannel = !1, this.swatches = [], this.rounding = "full", this.shape = "circle", this.placement = "left-start", this.debounce = 50;
|
2487
|
+
}
|
2488
|
+
_handleEvent() {
|
2489
|
+
this.debounceTimeout && clearTimeout(this.debounceTimeout), this.debounceTimeout = setTimeout(() => {
|
2490
|
+
this.dispatchEvent(
|
2491
|
+
new CustomEvent("option-changed", {
|
2492
|
+
bubbles: !0,
|
2493
|
+
composed: !0,
|
2494
|
+
cancelable: !0,
|
2495
|
+
detail: {
|
2496
|
+
value: this.colorPicker.color
|
2497
|
+
}
|
2498
|
+
})
|
2499
|
+
);
|
2500
|
+
}, this.debounce ?? 200);
|
2501
|
+
}
|
2502
|
+
renderController() {
|
2503
|
+
return Uo`
|
2504
|
+
<luzmo-color-picker
|
2505
|
+
.color=${this.value}
|
2506
|
+
.size=${this.size}
|
2507
|
+
.rounding=${this.rounding}
|
2508
|
+
.shape=${this.shape}
|
2509
|
+
.swatches=${this.swatches}
|
2510
|
+
.placement=${this.placement}
|
2511
|
+
.noAlphaChannel=${this.noAlphaChannel}
|
2512
|
+
?disabled=${this.disabled}
|
2513
|
+
@change=${this._handleEvent}
|
2514
|
+
>
|
2515
|
+
</luzmo-color-picker>
|
2516
|
+
`;
|
2517
|
+
}
|
2518
|
+
};
|
2519
|
+
L.styles = [oo(L, L, "styles")];
|
2520
|
+
let k = L;
|
2521
|
+
H([
|
2522
|
+
F({ type: String, reflect: !0 })
|
2523
|
+
], k.prototype, "value");
|
2524
|
+
H([
|
2525
|
+
F({ type: Boolean, reflect: !0 })
|
2526
|
+
], k.prototype, "disabled");
|
2527
|
+
H([
|
2528
|
+
F({ type: Boolean, reflect: !0 })
|
2529
|
+
], k.prototype, "noAlphaChannel");
|
2530
|
+
H([
|
2531
|
+
F({ type: Array, reflect: !0 })
|
2532
|
+
], k.prototype, "swatches");
|
2533
|
+
H([
|
2534
|
+
F({ type: String, reflect: !0 })
|
2535
|
+
], k.prototype, "rounding");
|
2536
|
+
H([
|
2537
|
+
F({ type: String, reflect: !0 })
|
2538
|
+
], k.prototype, "shape");
|
2539
|
+
H([
|
2540
|
+
F()
|
2541
|
+
], k.prototype, "placement");
|
2542
|
+
H([
|
2543
|
+
F({ type: Number, reflect: !0 })
|
2544
|
+
], k.prototype, "debounce");
|
2545
|
+
H([
|
2546
|
+
Do("luzmo-color-picker")
|
2547
|
+
], k.prototype, "colorPicker");
|
2548
|
+
customElements.get("luzmo-edit-option-color-picker") || customElements.define(
|
2549
|
+
"luzmo-edit-option-color-picker",
|
2550
|
+
k
|
2551
|
+
);
|
2552
|
+
export {
|
2553
|
+
k as LuzmoEditOptionColorPicker
|
2554
|
+
};
|