@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,472 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2025 Luzmo
|
4
|
+
* All rights reserved.
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
7
|
+
* This license allows users with a current active Luzmo account
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
+
*
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
* SOFTWARE.
|
19
|
+
* */
|
20
|
+
"use strict";var xo=Object.getPrototypeOf;var yo=Reflect.get;var G=(t,o,e)=>yo(xo(t),e,o);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../base-D76d76ww-BEIhYtgV.cjs"),no=require("../directive-helpers-Bx_ey3Gk-BxvL9t9F.cjs"),d=require("../if-defined-D-1p2bLN-0_AoRnT2.cjs"),B=require("../luzmo-icons-BLN3xVgr-Cr3OrsqW.cjs"),Q=require("../async-directive-C_bp5UcZ-mUPcBvyn.cjs"),j=require("../streaming-listener-C8Ctj0Q6-BhMxS69F.cjs"),wo=require("../text-field-C0pFjPG1-BCVbGXp7.cjs"),Z=require("../index-Bwxvaqxq.cjs"),co=require("../focusable-BNESohBR-DbTLvYXr.cjs");require("../index-0HUnZcem.cjs");require("../index-D8Na-686.cjs");const J=require("../when-CDK1Tt5Y-BN3qcTK0.cjs"),ko=require("../observe-slot-text-CVKLDesL-BB2RmFgc.cjs"),Co=require("../roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs");require("../index-D5rT-qy9.cjs");const A=require("../focusable-Cu_m_GTh.cjs"),So=require("../query-D5qWDopr.cjs"),$o=require("../edit-option-base-jkkFevzT.cjs");/*! * Lucero - The design system for Luzmo.
|
21
|
+
*
|
22
|
+
* Copyright © 2025 Luzmo
|
23
|
+
* All rights reserved.
|
24
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
25
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
26
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
27
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
28
|
+
*
|
29
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
30
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
31
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
32
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
33
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
|
+
* SOFTWARE.
|
36
|
+
* */const _o=':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)}';var Eo=Object.defineProperty,uo=(t,o,e,r)=>{for(var l=void 0,i=t.length-1,a;i>=0;i--)(a=t[i])&&(l=a(o,e,l)||l);return l&&Eo(o,e,l),l};const ho=class extends s.zt{constructor(){super(...arguments),this.open=!1,this.color="rgba(255, 0, 0, 0.5)"}render(){return s.Rt`
|
37
|
+
<div class="opacity-checkerboard loupe-clipped"></div>
|
38
|
+
<div class="luzmo-color-loupe-inner-border loupe-clipped"></div>
|
39
|
+
<div class="luzmo-color-loupe-outer-border loupe-clipped"></div>
|
40
|
+
<svg
|
41
|
+
aria-hidden="true"
|
42
|
+
class="luzmo-color-loupe is-open"
|
43
|
+
overflow="visible"
|
44
|
+
style="--luzmo-picked-color: ${this.color}; position: absolute;"
|
45
|
+
>
|
46
|
+
<defs>
|
47
|
+
<path
|
48
|
+
id="loupe-path"
|
49
|
+
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"
|
50
|
+
transform="translate(2, 2)"
|
51
|
+
/>
|
52
|
+
<mask id="loupe-mask">
|
53
|
+
<rect x="0" y="0" height="100" width="100" fill="white" />
|
54
|
+
<use xlink:href="#path" fill="black" />
|
55
|
+
</mask>
|
56
|
+
</defs>
|
57
|
+
|
58
|
+
<g class="luzmo-color-loupe-loupe">
|
59
|
+
<g>
|
60
|
+
<use
|
61
|
+
xlink:href="#loupe-path"
|
62
|
+
mask="url(#loupe-mask)"
|
63
|
+
transform="translate(2, 2)"
|
64
|
+
class="luzmo-color-loupe-inner-border"
|
65
|
+
/>
|
66
|
+
<use
|
67
|
+
xlink:href="#loupe-path"
|
68
|
+
mask="url(#loupe-mask)"
|
69
|
+
class="luzmo-color-loupe-outer-border"
|
70
|
+
/>
|
71
|
+
</g>
|
72
|
+
</g>
|
73
|
+
</svg>
|
74
|
+
`}};ho.styles=s.at(_o);let mo=ho;uo([s.Dt({type:Boolean,reflect:!0})],mo.prototype,"open");uo([s.Dt({type:String})],mo.prototype,"color");/*! * Lucero - The design system for Luzmo.
|
75
|
+
*
|
76
|
+
* Copyright © 2025 Luzmo
|
77
|
+
* All rights reserved.
|
78
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
79
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
80
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
81
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
82
|
+
*
|
83
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
84
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
85
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
86
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
87
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
88
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
89
|
+
* SOFTWARE.
|
90
|
+
* */const Ao=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const t=document.createElement("style");t.setAttribute("data-luzmo-vars",""),t.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(t)}};Ao();const Mo=':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}}';var Ro=Object.defineProperty,K=(t,o,e,r)=>{for(var l=void 0,i=t.length-1,a;i>=0;i--)(a=t[i])&&(l=a(o,e,l)||l);return l&&Ro(o,e,l),l};const po=class extends s.zt{constructor(){super(...arguments),this.disabled=!1,this.focused=!1,this.open=!1,this.color="rgba(255, 0, 0, 0.5)"}handlePointerdown(o){o.pointerType==="touch"&&(this.open=!0),this.setPointerCapture(o.pointerId)}handlePointerup(o){this.open=!1,this.releasePointerCapture(o.pointerId)}render(){return s.Rt`
|
91
|
+
<div class="inner" style="background-color: ${this.color}"></div>
|
92
|
+
<luzmo-color-loupe
|
93
|
+
color=${this.color}
|
94
|
+
?open=${this.open&&!this.disabled}
|
95
|
+
></luzmo-color-loupe>
|
96
|
+
`}firstUpdated(o){super.firstUpdated(o),this.addEventListener("pointerdown",this.handlePointerdown),this.addEventListener("pointerup",this.handlePointerup),this.addEventListener("pointercancel",this.handlePointerup)}};po.styles=s.at(Mo);let N=po;K([s.Dt({type:Boolean,reflect:!0})],N.prototype,"disabled");K([s.Dt({type:Boolean,reflect:!0})],N.prototype,"focused");K([s.Dt({type:Boolean,reflect:!0})],N.prototype,"open");K([s.Dt({type:String})],N.prototype,"color");customElements.get("luzmo-color-handle")||customElements.define("luzmo-color-handle",N);const Do=Object.freeze(Object.defineProperty({__proto__:null,LuzmoColorHandle:N},Symbol.toStringTag,{value:"Module"}));/*! * Lucero - The design system for Luzmo.
|
97
|
+
*
|
98
|
+
* Copyright © 2025 Luzmo
|
99
|
+
* All rights reserved.
|
100
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
101
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
102
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
103
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
104
|
+
*
|
105
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
106
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
107
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
108
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
109
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
110
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
111
|
+
* SOFTWARE.
|
112
|
+
* */function p(t,o){Ho(t)&&(t="100%");const e=Po(t);return t=o===360?t:Math.min(o,Math.max(0,parseFloat(t))),e&&(t=parseInt(String(t*o),10)/100),Math.abs(t-o)<1e-6?1:(o===360?t=(t<0?t%o+o:t%o)/parseFloat(String(o)):t=t%o/parseFloat(String(o)),t)}function U(t){return Math.min(1,Math.max(0,t))}function Ho(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function Po(t){return typeof t=="string"&&t.indexOf("%")!==-1}function go(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function L(t){return Number(t)<=1?`${Number(t)*100}%`:t}function F(t){return t.length===1?"0"+t:String(t)}function Fo(t,o,e){return{r:p(t,255)*255,g:p(o,255)*255,b:p(e,255)*255}}function oo(t,o,e){t=p(t,255),o=p(o,255),e=p(e,255);const r=Math.max(t,o,e),l=Math.min(t,o,e);let i=0,a=0;const n=(r+l)/2;if(r===l)a=0,i=0;else{const c=r-l;switch(a=n>.5?c/(2-r-l):c/(r+l),r){case t:i=(o-e)/c+(o<e?6:0);break;case o:i=(e-t)/c+2;break;case e:i=(t-o)/c+4;break}i/=6}return{h:i,s:a,l:n}}function X(t,o,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+(o-t)*(6*e):e<1/2?o:e<2/3?t+(o-t)*(2/3-e)*6:t}function To(t,o,e){let r,l,i;if(t=p(t,360),o=p(o,100),e=p(e,100),o===0)l=e,i=e,r=e;else{const a=e<.5?e*(1+o):e+o-e*o,n=2*e-a;r=X(n,a,t+1/3),l=X(n,a,t),i=X(n,a,t-1/3)}return{r:r*255,g:l*255,b:i*255}}function eo(t,o,e){t=p(t,255),o=p(o,255),e=p(e,255);const r=Math.max(t,o,e),l=Math.min(t,o,e);let i=0;const a=r,n=r-l,c=r===0?0:n/r;if(r===l)i=0;else{switch(r){case t:i=(o-e)/n+(o<e?6:0);break;case o:i=(e-t)/n+2;break;case e:i=(t-o)/n+4;break}i/=6}return{h:i,s:c,v:a}}function Bo(t,o,e){t=p(t,360)*6,o=p(o,100),e=p(e,100);const r=Math.floor(t),l=t-r,i=e*(1-o),a=e*(1-l*o),n=e*(1-(1-l)*o),c=r%6,m=[e,a,i,i,n,e][c],b=[n,e,e,a,i,i][c],P=[i,i,n,e,e,a][c];return{r:m*255,g:b*255,b:P*255}}function to(t,o,e,r){const l=[F(Math.round(t).toString(16)),F(Math.round(o).toString(16)),F(Math.round(e).toString(16))];return r&&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("")}function No(t,o,e,r,l){const i=[F(Math.round(t).toString(16)),F(Math.round(o).toString(16)),F(Math.round(e).toString(16)),F(Uo(r))];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("")}function qo(t,o,e,r){const l=t/100,i=o/100,a=e/100,n=r/100,c=255*(1-l)*(1-n),m=255*(1-i)*(1-n),b=255*(1-a)*(1-n);return{r:c,g:m,b}}function ro(t,o,e){let r=1-t/255,l=1-o/255,i=1-e/255,a=Math.min(r,l,i);return a===1?(r=0,l=0,i=0):(r=(r-a)/(1-a)*100,l=(l-a)/(1-a)*100,i=(i-a)/(1-a)*100),a*=100,{c:Math.round(r),m:Math.round(l),y:Math.round(i),k:Math.round(a)}}function Uo(t){return Math.round(parseFloat(t)*255).toString(16)}function lo(t){return x(t)/255}function x(t){return parseInt(t,16)}function Lo(t){return{r:t>>16,g:(t&65280)>>8,b:t&255}}const W={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Oo(t){let o={r:0,g:0,b:0},e=1,r=null,l=null,i=null,a=!1,n=!1;return typeof t=="string"&&(t=Ko(t)),typeof t=="object"&&(v(t.r)&&v(t.g)&&v(t.b)?(o=Fo(t.r,t.g,t.b),a=!0,n=String(t.r).substr(-1)==="%"?"prgb":"rgb"):v(t.h)&&v(t.s)&&v(t.v)?(r=L(t.s),l=L(t.v),o=Bo(t.h,r,l),a=!0,n="hsv"):v(t.h)&&v(t.s)&&v(t.l)?(r=L(t.s),i=L(t.l),o=To(t.h,r,i),a=!0,n="hsl"):v(t.c)&&v(t.m)&&v(t.y)&&v(t.k)&&(o=qo(t.c,t.m,t.y,t.k),a=!0,n="cmyk"),Object.prototype.hasOwnProperty.call(t,"a")&&(e=t.a)),e=go(e),{ok:a,format:t.format||n,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:e}}const Io="[-\\+]?\\d+%?",jo="[-\\+]?\\d*\\.\\d+%?",D="(?:"+jo+")|(?:"+Io+")",Y="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",O="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",k={CSS_UNIT:new RegExp(D),rgb:new RegExp("rgb"+Y),rgba:new RegExp("rgba"+O),hsl:new RegExp("hsl"+Y),hsla:new RegExp("hsla"+O),hsv:new RegExp("hsv"+Y),hsva:new RegExp("hsva"+O),cmyk:new RegExp("cmyk"+O),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ko(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;let o=!1;if(W[t])t=W[t],o=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let e=k.rgb.exec(t);return e?{r:e[1],g:e[2],b:e[3]}:(e=k.rgba.exec(t),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=k.hsl.exec(t),e?{h:e[1],s:e[2],l:e[3]}:(e=k.hsla.exec(t),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=k.hsv.exec(t),e?{h:e[1],s:e[2],v:e[3]}:(e=k.hsva.exec(t),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=k.cmyk.exec(t),e?{c:e[1],m:e[2],y:e[3],k:e[4]}:(e=k.hex8.exec(t),e?{r:x(e[1]),g:x(e[2]),b:x(e[3]),a:lo(e[4]),format:o?"name":"hex8"}:(e=k.hex6.exec(t),e?{r:x(e[1]),g:x(e[2]),b:x(e[3]),format:o?"name":"hex"}:(e=k.hex4.exec(t),e?{r:x(e[1]+e[1]),g:x(e[2]+e[2]),b:x(e[3]+e[3]),a:lo(e[4]+e[4]),format:o?"name":"hex8"}:(e=k.hex3.exec(t),e?{r:x(e[1]+e[1]),g:x(e[2]+e[2]),b:x(e[3]+e[3]),format:o?"name":"hex"}:!1))))))))))}function v(t){return typeof t=="number"?!Number.isNaN(t):k.CSS_UNIT.test(t)}let h=class u{constructor(o="",e={}){if(o instanceof u)return o;typeof o=="number"&&(o=Lo(o)),this.originalInput=o;const r=Oo(o);this.originalInput=o,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=e.format??r.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=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const o=this.toRgb();return(o.r*299+o.g*587+o.b*114)/1e3}getLuminance(){const o=this.toRgb();let e,r,l;const i=o.r/255,a=o.g/255,n=o.b/255;return i<=.03928?e=i/12.92:e=Math.pow((i+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),n<=.03928?l=n/12.92:l=Math.pow((n+.055)/1.055,2.4),.2126*e+.7152*r+.0722*l}getAlpha(){return this.a}setAlpha(o){return this.a=go(o),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:o}=this.toHsl();return o===0}toHsv(){const o=eo(this.r,this.g,this.b);return{h:o.h*360,s:o.s,v:o.v,a:this.a}}toHsvString(){const o=eo(this.r,this.g,this.b),e=Math.round(o.h*360),r=Math.round(o.s*100),l=Math.round(o.v*100);return this.a===1?`hsv(${e}, ${r}%, ${l}%)`:`hsva(${e}, ${r}%, ${l}%, ${this.roundA})`}toHsl(){const o=oo(this.r,this.g,this.b);return{h:o.h*360,s:o.s,l:o.l,a:this.a}}toHslString(){const o=oo(this.r,this.g,this.b),e=Math.round(o.h*360),r=Math.round(o.s*100),l=Math.round(o.l*100);return this.a===1?`hsl(${e}, ${r}%, ${l}%)`:`hsla(${e}, ${r}%, ${l}%, ${this.roundA})`}toHex(o=!1){return to(this.r,this.g,this.b,o)}toHexString(o=!1){return"#"+this.toHex(o)}toHex8(o=!1){return No(this.r,this.g,this.b,this.a,o)}toHex8String(o=!1){return"#"+this.toHex8(o)}toHexShortString(o=!1){return this.a===1?this.toHexString(o):this.toHex8String(o)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const o=Math.round(this.r),e=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${o}, ${e}, ${r})`:`rgba(${o}, ${e}, ${r}, ${this.roundA})`}toPercentageRgb(){const o=e=>`${Math.round(p(e,255)*100)}%`;return{r:o(this.r),g:o(this.g),b:o(this.b),a:this.a}}toPercentageRgbString(){const o=e=>Math.round(p(e,255)*100);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})`}toCmyk(){return{...ro(this.r,this.g,this.b)}}toCmykString(){const{c:o,m:e,y:r,k:l}=ro(this.r,this.g,this.b);return`cmyk(${o}, ${e}, ${r}, ${l})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const o="#"+to(this.r,this.g,this.b,!1);for(const[e,r]of Object.entries(W))if(o===r)return e;return!1}toString(o){const e=!!o;o=o??this.format;let r=!1;const l=this.a<1&&this.a>=0;return!e&&l&&(o.startsWith("hex")||o==="name")?o==="name"&&this.a===0?this.toName():this.toRgbString():(o==="rgb"&&(r=this.toRgbString()),o==="prgb"&&(r=this.toPercentageRgbString()),(o==="hex"||o==="hex6")&&(r=this.toHexString()),o==="hex3"&&(r=this.toHexString(!0)),o==="hex4"&&(r=this.toHex8String(!0)),o==="hex8"&&(r=this.toHex8String()),o==="name"&&(r=this.toName()),o==="hsl"&&(r=this.toHslString()),o==="hsv"&&(r=this.toHsvString()),o==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new u(this.toString())}lighten(o=10){const e=this.toHsl();return e.l+=o/100,e.l=U(e.l),new u(e)}brighten(o=10){const e=this.toRgb();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)}darken(o=10){const e=this.toHsl();return e.l-=o/100,e.l=U(e.l),new u(e)}tint(o=10){return this.mix("white",o)}shade(o=10){return this.mix("black",o)}desaturate(o=10){const e=this.toHsl();return e.s-=o/100,e.s=U(e.s),new u(e)}saturate(o=10){const e=this.toHsl();return e.s+=o/100,e.s=U(e.s),new u(e)}greyscale(){return this.desaturate(100)}spin(o){const e=this.toHsl(),r=(e.h+o)%360;return e.h=r<0?360+r:r,new u(e)}mix(o,e=50){const r=this.toRgb(),l=new u(o).toRgb(),i=e/100,a={r:(l.r-r.r)*i+r.r,g:(l.g-r.g)*i+r.g,b:(l.b-r.b)*i+r.b,a:(l.a-r.a)*i+r.a};return new u(a)}analogous(o=6,e=30){const r=this.toHsl(),l=360/e,i=[this];for(r.h=(r.h-(l*o>>1)+720)%360;--o;)r.h=(r.h+l)%360,i.push(new u(r));return i}complement(){const o=this.toHsl();return o.h=(o.h+180)%360,new u(o)}monochromatic(o=6){const e=this.toHsv(),{h:r}=e,{s:l}=e;let{v:i}=e;const a=[],n=1/o;for(;o--;)a.push(new u({h:r,s:l,v:i})),i=(i+n)%1;return a}splitcomplement(){const o=this.toHsl(),{h:e}=o;return[this,new u({h:(e+72)%360,s:o.s,l:o.l}),new u({h:(e+216)%360,s:o.s,l:o.l})]}onBackground(o){const e=this.toRgb(),r=new u(o).toRgb(),l=e.a+r.a*(1-e.a);return new u({r:(e.r*e.a+r.r*r.a*(1-e.a))/l,g:(e.g*e.a+r.g*r.a*(1-e.a))/l,b:(e.b*e.a+r.b*r.a*(1-e.a))/l,a:l})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(o){const e=this.toHsl(),{h:r}=e,l=[this],i=360/o;for(let a=1;a<o;a++)l.push(new u({h:(r+a*i)%360,s:e.s,l:e.l}));return l}equals(o){const e=new u(o);return this.format==="cmyk"||e.format==="cmyk"?this.toCmykString()===e.toCmykString():this.toRgbString()===e.toRgbString()}};/*! * Lucero - The design system for Luzmo.
|
113
|
+
*
|
114
|
+
* Copyright © 2025 Luzmo
|
115
|
+
* All rights reserved.
|
116
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
117
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
118
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
119
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
120
|
+
*
|
121
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
122
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
123
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
124
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
125
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
126
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
127
|
+
* SOFTWARE.
|
128
|
+
* */const io=/^hs[v|l]a?\s?\((\d{1,3}\.?\d*?),?\s?(\d{1,3})/,ao=/(^hs[v|l]a?\s?\()\d{1,3}\.?\d*?(,?\s?)\d{1,3}/,so=/(^hs[v|l]a?\()\d{1,3}/,I=(t,o)=>o?t.toHexString():t.toHex();let bo=class{constructor(o,{applyColorToState:e,extractColorFromState:r,maintains:l}){this.maintains="hue",this._hue=0,this._opacity=1,this.getColorProcesses={rgb:(i,a)=>a?i.toRgbString():i.toRgb(),prgb:(i,a)=>a?i.toPercentageRgbString():i.toPercentageRgb(),hex8:(i,a)=>a?i.toHex8String():i.toHex8(),name:i=>i.toName()||i.toRgbString(),hsl:(i,a)=>{if(this.maintains==="hue"){if(a)return i.toHslString().replace(so,`$1${this.hue}`);const{s:b,l:P,a:V}=i.toHsl();return{h:this.hue,s:b,l:P,a:V}}if(a)return i.toHslString().replace(ao,`$1${this.hue}$2${this.saturation}`);const{s:n,l:c,a:m}=i.toHsl();return{h:this.hue,s:n,l:c,a:m}},hsv:(i,a)=>{if(this.maintains==="hue"){if(a)return i.toHsvString().replace(so,`$1${this.hue}`);const{s:b,v:P,a:V}=i.toHsv();return{h:this.hue,s:b,v:P,a:V}}if(a)return i.toHsvString().replace(ao,`$1${this.hue}$2${this.saturation}`);const{s:n,v:c,a:m}=i.toHsv();return{h:this.hue,s:n,v:c,a:m}},hex:I,hex3:I,hex4:I,hex6:I},this._color=new h({h:0,s:1,v:1}),this._previousColor=new h({h:0,s:1,v:1}),this._format={format:"",isString:!1},this.host=o,this.applyColorToState=e,this.extractColorFromState=r,this.maintains=l||this.maintains}setColorProcess(o,e,r,l){this.maintains==="hue"?this.setColorMaintainHue(o,e,r,l):this.maintains==="saturation"&&this.setColorMaintainSaturation(o,e,r,l)}setColorMaintainHue(o,e,r,l){const{h:i,s:a,v:n,a:c}=this._color.toHsv();let m;if(l&&r.startsWith("hs")){const b=io.exec(e);if(b!==null){const[,P]=b;m=Number(P)}}else if(!l&&r.startsWith("hs")){const b=o.originalInput;m=Object.values(b)[0]}this.hue=m||i,this.opacity=c??1,this.applyColorToState({h:i,s:a,v:n,a:c})}setColorMaintainSaturation(o,e,r,l){const{a:i}=this._color.toHsv();if(l&&r.startsWith("hs")){const a=io.exec(e);if(a!==null){const[,n,c]=a;this.hue=Number(n),this.saturation=Number(c)}}else if(!l&&r.startsWith("hs")){const a=o.originalInput,n=Object.values(a);this.hue=n[0],this.saturation=n[1]}else{const{h:a}=o.toHsv();this.hue=a}this.opacity=i??1,this.applyColorToState(o.toHsv())}applyColorFromState(){this._color=new h(this.extractColorFromState(this))}get hue(){return this._hue}set hue(o){const e=Math.min(360,Math.max(0,o));if(e===this.hue)return;const r=this.hue,{s:l,v:i,a}=this._color.toHsv();this._color=new h({h:e,s:l,v:i,a}),this._hue=e,this.host.requestUpdate("hue",r)}get opacity(){return this._opacity}set opacity(o){const e=Math.min(1,Math.max(0,o));if(e===this.opacity)return;const r=this.opacity,{h:l,s:i,v:a}=this._color.toHsv();this._color=new h({h:l,s:i,v:a,a:e}),this._opacity=e,this.host.requestUpdate("opacity",r)}get value(){return this.color}get color(){return this.getColorProcesses[this._format.format||"hex"](this._color,this._format.isString)}set color(o){if(o===this.color)return;const e=this._color;this._color=new h(o);const r=this._color.format;let l=typeof o=="string"||o instanceof String;r.startsWith("hex")&&(l=o.startsWith("#")),this._format={format:r,isString:l},this.setColorProcess(this._color,o,r,l),this.host.requestUpdate("color",e)}getColor(o){const e={hsl:"toHsl"};return this._color[e[o]]()}setColor(o){this._color=o;const e=typeof this._color.originalInput=="string"||this._color.originalInput instanceof String;this.setColorProcess(this._color,o,this._color.format,e)}getHslString(){return this._color.toHslString()}savePreviousColor(){this._previousColor=this._color.clone()}restorePreviousColor(){this.setColor(this._previousColor)}};/*! * Lucero - The design system for Luzmo.
|
129
|
+
*
|
130
|
+
* Copyright © 2025 Luzmo
|
131
|
+
* All rights reserved.
|
132
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
133
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
134
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
135
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
136
|
+
*
|
137
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
138
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
139
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
140
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
141
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
142
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
143
|
+
* SOFTWARE.
|
144
|
+
* */const Vo=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const t=document.createElement("style");t.setAttribute("data-luzmo-vars",""),t.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(t)}};Vo();const Xo="@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}";var Yo=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,z=(t,o,e,r)=>{for(var l=r>1?void 0:r?Wo(o,e):o,i=t.length-1,a;i>=0;i--)(a=t[i])&&(l=(r?a(o,e,l):a(l))||l);return r&&l&&Yo(o,e,l),l};class g extends s.zt{constructor(){super(...arguments),this.disabled=!1,this.focused=!1,this.labelX="saturation",this.labelY="luminosity",this.isLTR=!0,this.languageResolver=new j.l(this),this.colorController=new bo(this,{extractColorFromState:()=>({h:this.hue,s:this.x,v:this.y}),applyColorToState:({s:o,v:e})=>{this._x=o,this._y=e,this.requestUpdate()}}),this.activeAxis="x",this._x=1,this._y=1,this.step=.01,this.altered=0,this.activeKeys=new Set,this._valueChanged=!1,this._pointerDown=!1}static get styles(){return[s.at(Xo)]}get hue(){return this.colorController.hue}set hue(o){this.colorController.hue=o}get value(){return this.colorController.color}get color(){return this.colorController.color}set color(o){this.colorController.color=o}get x(){return this._x}set x(o){if(o===this.x)return;const e=this.x;this._x=o,this.inputX&&(this.inputX.value=o.toString(),this._x=this.inputX.valueAsNumber),this.requestUpdate("x",e),this.colorController.applyColorFromState()}get y(){return this._y}set y(o){if(o===this.y)return;const e=this.y;this._y=o,this.inputY&&(this.inputY.value=o.toString(),this._y=this.inputY.valueAsNumber),this.requestUpdate("y",e),this.colorController.applyColorFromState()}focus(o={}){super.focus(o),this.forwardFocus()}forwardFocus(){this.activeAxis==="x"?this.inputX.focus():this.inputY.focus()}handleFocus(){this.focused=!0,this._valueChanged=!1}handleBlur(){this._pointerDown||(this.altered=0,this.focused=!1,this._valueChanged=!1)}handleKeydown(o){const{code:e}=o;this.focused=!0,this.altered=[o.shiftKey,o.ctrlKey,o.altKey].filter(r=>!!r).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())}handleKeypress(){let o=0,e=0;const r=Math.max(this.step,this.altered*5*this.step);this.activeKeys.forEach(l=>{switch(l){case"ArrowUp":{e=r;break}case"ArrowDown":{e=r*-1;break}case"ArrowLeft":{o=this.step*(this.isLTR?-1:1);break}case"ArrowRight":{o=this.step*(this.isLTR?1:-1);break}case"PageUp":{e=r*10;break}case"PageDown":{e=r*-10;break}case"Home":{o=r*(this.isLTR?-10:10);break}case"End":{o=r*(this.isLTR?10:-10);break}}}),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(new Event("input",{bubbles:!0,composed:!0})),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}))||this.colorController.restorePreviousColor())}handleKeyup(o){o.preventDefault();const{code:e}=o;this.activeKeys.delete(e)}handleInput(o){const{valueAsNumber:e,name:r}=o.target;this[r]=e,this.colorController.applyColorFromState()}handleChange(o){this.handleInput(o),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}))}handlePointerdown(o){if(o.button!==0){o.preventDefault();return}this._pointerDown=!0,this.colorController.savePreviousColor(),this.boundingClientRect=this.getBoundingClientRect(),o.target.setPointerCapture(o.pointerId),o.pointerType==="mouse"&&(this.focused=!0)}handlePointermove(o){const[e,r]=this.calculateHandlePosition(o);this._valueChanged=!1,this.x=e,this.y=1-r,this.colorController.applyColorFromState(),this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0,cancelable:!0}))}handlePointerup(o){o.preventDefault(),this._pointerDown=!1,o.target.releasePointerCapture(o.pointerId);const e=this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}));this.inputX.focus(),o.pointerType==="mouse"&&(this.focused=!1),e||this.colorController.restorePreviousColor()}calculateHandlePosition(o){if(!this.boundingClientRect)return[this.x,this.y];const e=this.boundingClientRect,r=e.left,l=e.top,i=o.clientX,a=o.clientY,n=e.width,c=e.height,m=Math.max(0,Math.min(1,(i-r)/n)),b=Math.max(0,Math.min(1,(a-l)/c));return[this.isLTR?m:1-m,b]}handleAreaPointerdown(o){o.button===0&&(o.stopPropagation(),o.preventDefault(),this.handle.dispatchEvent(new PointerEvent("pointerdown",o)),this.handlePointermove(o))}render(){const{width:o=0,height:e=0}=this.boundingClientRect||{},r=Q.w()||Q.a(),l="Color Picker",i=d.m(r?void 0:"2d slider"),a=this.labelX,n=this.labelY,c=new Intl.NumberFormat(this.languageResolver.language,{style:"percent",unitDisplay:"narrow"}).format(this.x),m=new Intl.NumberFormat(this.languageResolver.language,{style:"percent",unitDisplay:"narrow"}).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%);`;return s.Rt`
|
145
|
+
<div
|
146
|
+
@pointerdown=${this.handleAreaPointerdown}
|
147
|
+
class="gradient"
|
148
|
+
style="background: ${b}"
|
149
|
+
>
|
150
|
+
<slot name="gradient"></slot>
|
151
|
+
</div>
|
152
|
+
|
153
|
+
<luzmo-color-handle
|
154
|
+
tabindex=${d.m(this.focused?void 0:"0")}
|
155
|
+
@focus=${this.forwardFocus}
|
156
|
+
?focused=${this.focused}
|
157
|
+
class="handle"
|
158
|
+
color=${this.colorController.getHslString()}
|
159
|
+
?disabled=${this.disabled}
|
160
|
+
style=${`transform: translate(${(this.isLTR?this.x:1-this.x)*o}px, ${e-this.y*e}px);`}
|
161
|
+
${j.u({start:["pointerdown",this.handlePointerdown],streamInside:["pointermove",this.handlePointermove],end:[["pointerup","pointercancel","pointerleave"],this.handlePointerup]})}
|
162
|
+
></luzmo-color-handle>
|
163
|
+
|
164
|
+
<fieldset
|
165
|
+
class="fieldset"
|
166
|
+
aria-label=${d.m(r?l:void 0)}
|
167
|
+
>
|
168
|
+
<div role="presentation">
|
169
|
+
<input
|
170
|
+
type="range"
|
171
|
+
class="slider"
|
172
|
+
name="x"
|
173
|
+
aria-label=${r?a:`${a} ${l}`}
|
174
|
+
aria-roledescription=${i}
|
175
|
+
aria-orientation="horizontal"
|
176
|
+
aria-valuetext=${r?c:`${c}, ${a}${this._valueChanged?"":`, ${m}, ${n}`}`}
|
177
|
+
min="0"
|
178
|
+
max="1"
|
179
|
+
step=${this.step}
|
180
|
+
tabindex="-1"
|
181
|
+
.value=${String(this.x)}
|
182
|
+
@input=${this.handleInput}
|
183
|
+
@change=${this.handleChange}
|
184
|
+
/>
|
185
|
+
</div>
|
186
|
+
<div role="presentation">
|
187
|
+
<input
|
188
|
+
type="range"
|
189
|
+
class="slider"
|
190
|
+
name="y"
|
191
|
+
aria-label=${r?n:`${n} ${l}`}
|
192
|
+
aria-roledescription=${i}
|
193
|
+
aria-orientation="vertical"
|
194
|
+
aria-valuetext=${r?m:`${m}, ${n}${this._valueChanged?"":`, ${c}, ${a}`}`}
|
195
|
+
orient="vertical"
|
196
|
+
min="0"
|
197
|
+
max="1"
|
198
|
+
step=${this.step}
|
199
|
+
tabindex="-1"
|
200
|
+
.value=${String(this.y)}
|
201
|
+
@input=${this.handleInput}
|
202
|
+
@change=${this.handleChange}
|
203
|
+
/>
|
204
|
+
</div>
|
205
|
+
</fieldset>
|
206
|
+
`}firstUpdated(o){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)}updated(o){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){const e=this.inputX.parentElement,r=this.inputY.parentElement;if(!e.shadowRoot&&!r.shadowRoot){e.attachShadow({mode:"open"}),r.attachShadow({mode:"open"});const l='<div tabindex="-1"><slot></slot></div>';e.shadowRoot.innerHTML=l,r.shadowRoot.innerHTML=l}}}connectedCallback(){var o;super.connectedCallback(),!this.observer&&window.ResizeObserver&&(this.observer=new window.ResizeObserver(e=>{for(const r of e)this.boundingClientRect=r.contentRect;this.requestUpdate()})),(o=this.observer)==null||o.observe(this)}disconnectedCallback(){var o;(o=this.observer)==null||o.unobserve(this),super.disconnectedCallback()}}z([s.Dt({type:String,reflect:!0})],g.prototype,"dir",2);z([s.Dt({type:Boolean,reflect:!0})],g.prototype,"disabled",2);z([s.Dt({type:Boolean,reflect:!0})],g.prototype,"focused",2);z([s.Dt({type:String,attribute:"label-x"})],g.prototype,"labelX",2);z([s.Dt({type:String,attribute:"label-y"})],g.prototype,"labelY",2);z([s.Dt({type:Boolean,attribute:"is-ltr"})],g.prototype,"isLTR",2);z([d.d(".handle")],g.prototype,"handle",2);z([s.Dt({type:Number})],g.prototype,"hue",1);z([s.Dt({type:String})],g.prototype,"value",1);z([s.Dt({type:String})],g.prototype,"color",1);z([s.Dt({attribute:!1})],g.prototype,"activeAxis",2);z([s.Dt({type:Number})],g.prototype,"x",1);z([s.Dt({type:Number})],g.prototype,"y",1);z([s.Dt({type:Number})],g.prototype,"step",2);z([d.d('[name="x"]')],g.prototype,"inputX",2);z([d.d('[name="y"]')],g.prototype,"inputY",2);customElements.get("luzmo-color-area")||customElements.define("luzmo-color-area",g);/*! * Lucero - The design system for Luzmo.
|
207
|
+
*
|
208
|
+
* Copyright © 2025 Luzmo
|
209
|
+
* All rights reserved.
|
210
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
211
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
212
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
213
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
214
|
+
*
|
215
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
216
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
217
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
218
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
219
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
220
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
221
|
+
* SOFTWARE.
|
222
|
+
* */const Zo=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const t=document.createElement("style");t.setAttribute("data-luzmo-vars",""),t.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(t)}};Zo();var Go=Object.defineProperty,Qo=(t,o,e,r)=>{for(var l=void 0,i=t.length-1,a;i>=0;i--)(a=t[i])&&(l=a(o,e,l)||l);return l&&Go(o,e,l),l};let zo=class extends wo.i{constructor(){super(...arguments),this.viewColor=!1,this._value="",this.cachedColor=null,this.cachedTinyColor=null}static get styles(){return[...super.styles]}set value(o){if(o===this.value)return;const e=this._value;this._value=o,this.requestUpdate("value",e)}get value(){return this._value}getColorValue(){if(!this.value)return"";if(!this.cachedColor||this.cachedColor!==this.value){const o=new h(this.value);this.cachedColor=o.isValid?o.toRgbString():""}return this.cachedColor}renderColorHandle(){return this.viewColor?s.Rt`
|
223
|
+
<luzmo-color-handle
|
224
|
+
size="m"
|
225
|
+
color=${this.getColorValue()}
|
226
|
+
></luzmo-color-handle>
|
227
|
+
`:s.Rt``}render(){return this.viewColor&&Promise.resolve().then(()=>Do),s.Rt` ${super.render()} ${this.renderColorHandle()} `}checkValidity(){let o=super.checkValidity();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}};Qo([s.Dt({type:Boolean,attribute:"view-color"})],zo.prototype,"viewColor");customElements.get("luzmo-color-field")||customElements.define("luzmo-color-field",zo);/*! * Lucero - The design system for Luzmo.
|
228
|
+
*
|
229
|
+
* Copyright © 2025 Luzmo
|
230
|
+
* All rights reserved.
|
231
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
232
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
233
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
234
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
235
|
+
*
|
236
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
237
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
238
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
239
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
240
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
241
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
242
|
+
* SOFTWARE.
|
243
|
+
* */const Jo=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const t=document.createElement("style");t.setAttribute("data-luzmo-vars",""),t.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(t)}};Jo();const oe='.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}';var ee=Object.defineProperty,te=Object.getOwnPropertyDescriptor,w=(t,o,e,r)=>{for(var l=r>1?void 0:r?te(o,e):o,i=t.length-1,a;i>=0;i--)(a=t[i])&&(l=(r?a(o,e,l):a(l))||l);return r&&l&&ee(o,e,l),l};let f=class extends co.r{constructor(){super(...arguments),this.disabled=!1,this.focused=!1,this.label="hue",this.vertical=!1,this.languageResolver=new j.l(this),this.colorController=new bo(this,{applyColorToState:()=>{if(this.mode==="opacity"){const o=new h(this.colorController.color);this.sliderHandlePosition=100*o.getAlpha()}else this.sliderHandlePosition=100*(this.colorController.hue/360)},extractColorFromState:o=>this.mode==="opacity"?{...o.getColor("hsl"),a:this.value}:{...o.getColor("hsl"),h:this.value},maintains:"saturation"}),this.sliderHandlePosition=0,this.step=1,this.isLTR=!0,this._altered=0,this._pointerDown=!1}static get styles(){return[s.at(oe)]}get value(){return this.mode==="opacity"?this.colorController.opacity:this.colorController.hue}set value(o){this.mode==="opacity"?this.colorController.opacity=o:this.colorController.hue=o}get color(){return this.colorController.color}set color(o){this.colorController.color=o}get altered(){return this._altered}set altered(o){this._altered=o,this.step=Math.max(1,this.altered*10)}get focusElement(){return this.input}handleKeydown(o){const{key:e}=o;this.focused=!0,this.altered=[o.shiftKey,o.ctrlKey,o.altKey].filter(i=>!!i).length;let r=0;switch(e){case"ArrowUp":{r=this.step;break}case"ArrowDown":{r=-this.step;break}case"ArrowLeft":{r=this.step*(this.isLTR?-1:1);break}case"ArrowRight":{r=this.step*(this.isLTR?1:-1);break}default:return}o.preventDefault();const l=100/(this.mode==="opacity"?100:360);this.sliderHandlePosition=Math.min(100,Math.max(0,this.sliderHandlePosition+r*l)),this.value=this.mode==="opacity"?Math.min(1,Math.max(0,this.value+r/100)):Math.min(360,Math.max(0,this.value+r)),this.colorController.applyColorFromState(),r!==0&&(this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}handleInput(o){const{valueAsNumber:e}=o.target;this.value=e,this.sliderHandlePosition=100*(this.mode==="opacity"?this.value:this.value/360),this.colorController.applyColorFromState()}handleChange(o){this.handleInput(o),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}focus(o={}){super.focus(o),this.forwardFocus()}forwardFocus(){this.input.focus()}handleFocus(){this.focused=!0}handleBlur(){this._pointerDown||(this.altered=0,this.focused=!1)}handlePointerdown(o){if(o.button!==0){o.preventDefault();return}this._pointerDown=!0,this.colorController.savePreviousColor(),this.boundingClientRect=this.getBoundingClientRect(),o.target.setPointerCapture(o.pointerId),o.pointerType==="mouse"&&(this.focused=!0)}handlePointermove(o){this.sliderHandlePosition=this.calculateHandlePosition(o),this.value=(this.mode==="opacity"?1:360)*(this.sliderHandlePosition/100),this.colorController.applyColorFromState(),this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0,cancelable:!0}))}handlePointerup(o){this._pointerDown=!1,o.target.releasePointerCapture(o.pointerId),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}))||this.colorController.restorePreviousColor(),this.focus(),o.pointerType==="mouse"&&(this.focused=!1)}calculateHandlePosition(o){if(!this.boundingClientRect)return this.sliderHandlePosition;const e=this.boundingClientRect,r=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-r)/i));return this.vertical||!this.isLTR?100-100*a:100*a}handleGradientPointerdown(o){o.button===0&&(o.stopPropagation(),o.preventDefault(),this.handle.dispatchEvent(new PointerEvent("pointerdown",o)),this.handlePointermove(o))}get handlePositionStyles(){return`${this.vertical?"inset-block-end":"inset-inline-start"}: ${this.sliderHandlePosition}%`}get getColorSliderStyle(){const o=this.vertical?"top":"right";if(this.mode==="opacity"){const e=new h(this.colorController.color).setAlpha(1).toRgbString();return{background:`linear-gradient(to ${o}, transparent, ${e})`}}return{background:`linear-gradient(to ${o}, var(--luzmo-color-slider-gradient, var(--luzmo-color-slider-gradient-fallback)))`}}render(){return s.Rt`
|
244
|
+
<div
|
245
|
+
class="opacity-checkerboard checkerboard"
|
246
|
+
role="presentation"
|
247
|
+
@pointerdown=${this.handleGradientPointerdown}
|
248
|
+
>
|
249
|
+
<div
|
250
|
+
class="gradient"
|
251
|
+
role="presentation"
|
252
|
+
style=${Z.p(this.getColorSliderStyle)}
|
253
|
+
>
|
254
|
+
<slot name="gradient"></slot>
|
255
|
+
</div>
|
256
|
+
</div>
|
257
|
+
<luzmo-color-handle
|
258
|
+
tabindex=${d.m(this.focused?void 0:"0")}
|
259
|
+
@focus=${this.forwardFocus}
|
260
|
+
?focused=${this.focused}
|
261
|
+
class="handle"
|
262
|
+
color=${this.mode==="opacity"?this.color:"hsl("+this.value+", 100%, 50%)"}
|
263
|
+
?disabled=${this.disabled}
|
264
|
+
style=${this.handlePositionStyles}
|
265
|
+
${j.u({start:["pointerdown",this.handlePointerdown],streamInside:["pointermove",this.handlePointermove],end:[["pointerup","pointercancel","pointerleave"],this.handlePointerup]})}
|
266
|
+
></luzmo-color-handle>
|
267
|
+
<input
|
268
|
+
type="range"
|
269
|
+
class="slider"
|
270
|
+
min="0"
|
271
|
+
max=${this.mode==="opacity"?"100":"360"}
|
272
|
+
aria-orientation=${d.m(this.vertical?"vertical":void 0)}
|
273
|
+
orient=${d.m(this.vertical?"vertical":void 0)}
|
274
|
+
step=${this.step}
|
275
|
+
aria-label=${this.label}
|
276
|
+
.value=${String(this.mode==="opacity"?this.value*100:this.value)}
|
277
|
+
aria-valuetext=${`${new Intl.NumberFormat(this.languageResolver.language,{maximumFractionDigits:0,minimumIntegerDigits:1,style:"unit",unit:this.mode==="opacity"?"percent":"degree",unitDisplay:"narrow"}).format(this.mode==="opacity"?this.value*100:this.value)}`}
|
278
|
+
@input=${this.handleInput}
|
279
|
+
@change=${this.handleChange}
|
280
|
+
@keydown=${this.handleKeydown}
|
281
|
+
/>
|
282
|
+
`}firstUpdated(o){super.firstUpdated(o),this.boundingClientRect=this.getBoundingClientRect(),this.addEventListener("focus",this.handleFocus),this.addEventListener("blur",this.handleBlur)}updated(o){o.has("mode")&&(this.handle.style.insetInlineStart="",this.handle.style.insetBlockEnd="",this.mode==="opacity"&&(this.colorController.color=new h(this.colorController.color).toRgbString(),this.handle.style.insetInlineStart=100*this.colorController.opacity+"%"))}};w([s.Dt({type:String,reflect:!0})],f.prototype,"dir",2);w([s.Dt({type:String,reflect:!0})],f.prototype,"mode",2);w([s.Dt({type:Boolean,reflect:!0})],f.prototype,"disabled",2);w([s.Dt({type:Boolean,reflect:!0})],f.prototype,"focused",2);w([d.d(".handle")],f.prototype,"handle",2);w([s.Dt({type:String})],f.prototype,"label",2);w([s.Dt({type:Boolean,reflect:!0})],f.prototype,"vertical",2);w([s.Dt({type:Number})],f.prototype,"value",1);w([s.Dt({type:Number,reflect:!0})],f.prototype,"sliderHandlePosition",2);w([s.Dt({type:String})],f.prototype,"color",1);w([s.Dt({type:Number})],f.prototype,"step",2);w([s.Dt({type:Boolean,attribute:"is-ltr"})],f.prototype,"isLTR",2);w([d.d("input")],f.prototype,"input",2);customElements.get("luzmo-color-slider")||customElements.define("luzmo-color-slider",f);/*! * Lucero - The design system for Luzmo.
|
283
|
+
*
|
284
|
+
* Copyright © 2025 Luzmo
|
285
|
+
* All rights reserved.
|
286
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
287
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
288
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
289
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
290
|
+
*
|
291
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
292
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
293
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
294
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
295
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
296
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
297
|
+
* SOFTWARE.
|
298
|
+
* */const re=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const t=document.createElement("style");t.setAttribute("data-luzmo-vars",""),t.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(t)}};re();const le='@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)}';var ie=Object.defineProperty,ae=Object.getOwnPropertyDescriptor,$=(t,o,e,r)=>{for(var l=r>1?void 0:r?ae(o,e):o,i=t.length-1,a;i>=0;i--)(a=t[i])&&(l=(r?a(o,e,l):a(l))||l);return r&&l&&ie(o,e,l),l};let C=class extends s.m(co.r,{validSizes:["xxs","xs","s","m","l","xl"],noDefaultSize:!0}){constructor(){super(...arguments),this.color="",this.label="",this.mixedValue=!1,this.nothing=!1,this.role="button",this.selected=!1,this.readonly=!1,this.renderDisabled=()=>s.Rt`
|
299
|
+
<svg
|
300
|
+
xmlns="http://www.w3.org/2000/svg"
|
301
|
+
class="disabled-icon"
|
302
|
+
viewBox="0 0 20 20"
|
303
|
+
>
|
304
|
+
<path
|
305
|
+
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"
|
306
|
+
stroke="none"
|
307
|
+
fill="var(--swatch-disabled-icon-color)"
|
308
|
+
/>
|
309
|
+
<path
|
310
|
+
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"
|
311
|
+
stroke="none"
|
312
|
+
fill="var(--swatch-disabled-icon-stroke-color)"
|
313
|
+
/>
|
314
|
+
</svg>
|
315
|
+
`,this.renderMixedValue=()=>B.S(B.g)}static get styles(){return[s.at(le)]}get value(){return this._value||this.color||this.label}set value(o){if(o===this._value)return;const e=this.value;this._value=o,this.requestUpdate("value",e)}get focusElement(){return this}toggle(o){this.readonly||(this.selected=o??!this.selected)}handleClick(){this.disabled||this.mixedValue||(this.toggle(),this.dispatchEvent(new Event("change",{cancelable:!0,bubbles:!0}))||this.toggle())}handleKeydown(o){const{code:e}=o;switch(e){case"Space":{o.preventDefault(),this.addEventListener("keyup",this.handleKeyup);break}}}handleKeypress(o){const{code:e}=o;switch(e){case"Enter":case"NumpadEnter":{this.click();break}}}handleKeyup(o){const{code:e}=o;switch(e){case"Space":{this.removeEventListener("keyup",this.handleKeyup),this.click();break}}}render(){return s.Rt`
|
316
|
+
<div
|
317
|
+
class="opacity-checkerboard fill"
|
318
|
+
style=${d.m(this.color?`--picked-color: ${this.color}`:void 0)}
|
319
|
+
>
|
320
|
+
<slot name="image"></slot>
|
321
|
+
${J.o(this.disabled,this.renderDisabled)}
|
322
|
+
${J.o(this.mixedValue,this.renderMixedValue)}
|
323
|
+
</div>
|
324
|
+
`}willUpdate(o){var e;if(this.getAttribute("role")||this.setAttribute("role","button"),(o.has("selected")||o.has("role"))&&!this.readonly){const r=this.role==="button"?"aria-pressed":"aria-checked",l=this.role==="button"?"aria-checked":"aria-pressed";o.has("role")&&this.removeAttribute(l),this.setAttribute(r,this.selected?"true":"false")}(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"))}firstUpdated(o){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")}};$([s.Dt({reflect:!0})],C.prototype,"border",2);$([s.Dt()],C.prototype,"color",2);$([s.Dt()],C.prototype,"label",2);$([s.Dt({type:Boolean,reflect:!0,attribute:"mixed-value"})],C.prototype,"mixedValue",2);$([s.Dt({type:Boolean,reflect:!0})],C.prototype,"nothing",2);$([s.Dt({reflect:!0})],C.prototype,"role",2);$([s.Dt({reflect:!0})],C.prototype,"rounding",2);$([s.Dt({type:Boolean,reflect:!0})],C.prototype,"selected",2);$([s.Dt({type:Boolean,reflect:!0})],C.prototype,"readonly",2);$([s.Dt({reflect:!0})],C.prototype,"shape",2);$([s.Dt()],C.prototype,"value",1);const se=":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}";var ne=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,T=(t,o,e,r)=>{for(var l=r>1?void 0:r?ce(o,e):o,i=t.length-1,a;i>=0;i--)(a=t[i])&&(l=(r?a(o,e,l):a(l))||l);return r&&l&&ne(o,e,l),l};class H extends s.m(s.zt,{validSizes:["xs","s","m","l"],noDefaultSize:!0}){constructor(){super(),this._selected=[],this.selectedSet=new Set,this.rovingTabindexController=new Co.m(this,{focusInIndex:o=>{let e=-1;const r=o.findIndex((l,i)=>(!o[e]&&!l.disabled&&(e=i),l.selected&&!l.disabled));return o[r]?r:e},elements:()=>this.swatches,isFocusableElement:o=>!o.disabled}),this.manageChange=async()=>{const o=new Set;this.selectedSet=new Set(this.selected),await Promise.all(this.swatches.map(e=>e.updateComplete)),this.swatches.forEach(e=>{o.add(e.value),e.selected&&this.selectedSet.add(e.value)}),this.selectedSet.forEach(e=>{o.has(e)||this.selectedSet.delete(e)}),this._selected=[...this.selectedSet],this.rovingTabindexController.clearElementCache()},new ko.a(this,{config:{attributes:!0,childList:!0,subtree:!0},callback:()=>{this.manageChange()}})}static get styles(){return[s.at(se)]}get selected(){return this._selected}set selected(o){if(o===this.selected)return;const e=this.selected;this._selected=o,this.requestUpdate("selected",e)}focus(o){this.rovingTabindexController.focus(o)}handleChange(o){o.stopPropagation();const e=this.selected;if(!this.selects){o.preventDefault();return}if(this.selects==="single"){const{target:r}=o;if(r.tabIndex=0,r.selected=!0,this.selectedSet.has(r.value))return;this.selectedSet.clear(),this.selectedSet.add(r.value),this.rovingTabindexController.elements.forEach(l=>{l!==r&&(l.selected=!1)})}else if(this.selects==="multiple"){const{target:r}=o;r.selected?this.selectedSet.add(r.value):this.selectedSet.delete(r.value)}this._selected=[...this.selectedSet],this.dispatchEvent(new Event("change",{cancelable:!0,bubbles:!0}))||(this._selected=e,o.preventDefault())}getPassthroughSwatchActions(o){const e={};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);const r=[];return Object.keys(e).length>0&&r.push(l=>{"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)}),r}getSelectionSwatchActions(o){const e=[];if(!o.has("selects"))return e;this.selects?this.setAttribute("role",this.selects==="single"?"radiogroup":"group"):this.removeAttribute("role");const r={single:"radio",multiple:"checkbox"},l=this.selects?r[this.selects]:"button";return e.push(i=>{i.setAttribute("role",l)}),e}render(){return s.Rt`
|
325
|
+
<slot
|
326
|
+
@change=${this.handleChange}
|
327
|
+
@slotchange=${this.manageChange}
|
328
|
+
></slot>
|
329
|
+
`}willUpdate(o){const e=[...this.getPassthroughSwatchActions(o),...this.getSelectionSwatchActions(o)];let r=new Set(this.selected);const l=new Set;o.has("selected")&&e.push(a=>{l.add(a.value),a.selected=!!(r.has(a.value)||!this.hasUpdated&&a.selected)});const i=()=>{r=new Set(this.selected),this.swatches.forEach(a=>{e.forEach(n=>{n(a)})}),o.has("selected")&&(this._selected=[...r.values()].filter(a=>l.has(a)))};this.hasUpdated?i():this.renderRoot.addEventListener("slotchange",()=>{requestAnimationFrame(i)},{once:!0})}}T([s.Dt({reflect:!0})],H.prototype,"border",2);T([s.Dt({reflect:!0})],H.prototype,"density",2);T([s.Dt({reflect:!0})],H.prototype,"rounding",2);T([s.Dt({type:Array})],H.prototype,"selected",1);T([s.Dt()],H.prototype,"selects",2);T([s.Dt({reflect:!0})],H.prototype,"shape",2);T([Z.d({flatten:!0})],H.prototype,"swatches",2);customElements.get("luzmo-swatch")||customElements.define("luzmo-swatch",C);customElements.get("luzmo-swatch-group")||customElements.define("luzmo-swatch-group",H);/*! * Lucero - The design system for Luzmo.
|
330
|
+
*
|
331
|
+
* Copyright © 2025 Luzmo
|
332
|
+
* All rights reserved.
|
333
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
334
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
335
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
336
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
337
|
+
*
|
338
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
339
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
340
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
341
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
342
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
343
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
344
|
+
* SOFTWARE.
|
345
|
+
* */const ue=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const t=document.createElement("style");t.setAttribute("data-luzmo-vars",""),t.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(t)}};ue();const he='@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}';var de=Object.defineProperty,M=(t,o,e,r)=>{for(var l=void 0,i=t.length-1,a;i>=0;i--)(a=t[i])&&(l=a(o,e,l)||l);return l&&de(o,e,l),l};const fo=class extends s.m(s.zt){constructor(){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)"}setColor(o){var e;const r=new h((e=o==null?void 0:o.target)==null?void 0:e.color);this._format=r.format==="name"?"rgb":r.format,this._rgbaColor=r.toRgbString(),this._alpha=this.noAlphaChannel?1:r.getAlpha(),this._rgbColor=r.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(r),this._previousColor=this._rgbaColor,this.color=this._rgbaColor,this.dispatchEvent(new CustomEvent("change",{detail:this.color}))}handleAreaChange(o){o.stopPropagation(),o.preventDefault(),this._rgbColor=this.areaElement.color;const e=new h(this._rgbColor);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}))}handleHueSliderChange(o){o.stopPropagation(),o.preventDefault();const e=new h(this._rgbColor).toHsl();e.h=this.hueSliderElement.value;const r=new h(e);this._rgbColor=r.toRgbString(),this._rgbaColor=r.setAlpha(this._alpha).toRgbString(),this.areaElement.color=this._rgbColor,this.noAlphaChannel||(this.opacitySliderElement.color=this._rgbaColor),this.colorFieldElement.value=this.formatTextField(r),this.swatchElement.color=this._rgbaColor,this._previousColor=this._rgbaColor,this.color=this._rgbaColor,this.dispatchEvent(new CustomEvent("change",{detail:this.color}))}handleOpacitySliderChange(o){o.stopPropagation(),o.preventDefault(),this._alpha=this.opacitySliderElement.sliderHandlePosition/100;const e=new h(this._rgbColor).setAlpha(this._alpha);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}))}handleFieldChange(o){if(o.stopPropagation(),o.preventDefault(),this.colorFieldElement.checkValidity()){const e=new h(this.colorFieldElement.value);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}))}}formatTextField(o){return this._format==="hsl"?o.toHslString():this._format==="hex"?this.noAlphaChannel?o.toHexString():o.toHex8String():(this._format==="name"&&(this._format="rgb"),o.toRgbString())}cycleFormat(){const o=["rgb","hsl","hex"];this._format=o[(o.indexOf(this._format)+1)%o.length];const e=new h(this.color),r=this.formatTextField(e);this.colorFieldElement.value=r}updated(o){if(o.has("color")&&this.color!==this._previousColor){this._previousColor=this.color;const e=new h(this.color);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"}o.has("noAlphaChannel")&&!this.noAlphaChannel&&(this.opacitySliderElement.color=this._rgbaColor)}renderOpacitySlider(){return s.Rt`
|
346
|
+
<luzmo-color-slider
|
347
|
+
id="luzmo-opacity-slider"
|
348
|
+
mode="opacity"
|
349
|
+
@input=${this.handleOpacitySliderChange}
|
350
|
+
>
|
351
|
+
</luzmo-color-slider>
|
352
|
+
`}render(){var o;return s.Rt`
|
353
|
+
<div>
|
354
|
+
<luzmo-color-area
|
355
|
+
.size=${this.size}
|
356
|
+
@input=${this.handleAreaChange}
|
357
|
+
></luzmo-color-area>
|
358
|
+
<div class="hue-opacity-text-swatches-container">
|
359
|
+
<div class="swatch-sliders-container">
|
360
|
+
<div class="swatch-example-container">
|
361
|
+
<luzmo-swatch
|
362
|
+
rounding="full"
|
363
|
+
.size=${this.noAlphaChannel&&["s","m"].includes(this.size)?"s":"l"}
|
364
|
+
readonly
|
365
|
+
></luzmo-swatch>
|
366
|
+
</div>
|
367
|
+
<div class="slider-container" style="flex-grow: 1;">
|
368
|
+
<luzmo-color-slider
|
369
|
+
id="luzmo-hue-slider"
|
370
|
+
@input=${this.handleHueSliderChange}
|
371
|
+
>
|
372
|
+
</luzmo-color-slider>
|
373
|
+
${this.noAlphaChannel?"":this.renderOpacitySlider()}
|
374
|
+
</div>
|
375
|
+
</div>
|
376
|
+
<div class="field-container">
|
377
|
+
<luzmo-color-field
|
378
|
+
.size=${this.size}
|
379
|
+
@input=${this.handleFieldChange}
|
380
|
+
>
|
381
|
+
</luzmo-color-field>
|
382
|
+
<button
|
383
|
+
class="format-container"
|
384
|
+
aria-label="Color format"
|
385
|
+
@click=${this.cycleFormat}
|
386
|
+
tabindex="0"
|
387
|
+
>
|
388
|
+
<div class="format-label">${this._format}</div>
|
389
|
+
<div class="change-format-icon">
|
390
|
+
<div class="angle-icon">${B.S(B.v)}</div>
|
391
|
+
<div class="angle-icon">${B.S(B.s)}</div>
|
392
|
+
</div>
|
393
|
+
</button>
|
394
|
+
</div>
|
395
|
+
${((o=this.swatches)==null?void 0:o.length)>0?s.Rt`
|
396
|
+
<luzmo-divider></luzmo-divider>
|
397
|
+
<div class="swatches-container">
|
398
|
+
${this.swatches.map(e=>s.Rt`
|
399
|
+
<div class="swatch-choice">
|
400
|
+
<luzmo-swatch
|
401
|
+
@click=${this.setColor}
|
402
|
+
.color=${e}
|
403
|
+
.size=${this.size}
|
404
|
+
readonly
|
405
|
+
>
|
406
|
+
</luzmo-swatch>
|
407
|
+
</div>
|
408
|
+
`)}
|
409
|
+
</div>
|
410
|
+
`:""}
|
411
|
+
</div>
|
412
|
+
</div>
|
413
|
+
`}};fo.styles=s.at(he);let E=fo;M([s.Dt({type:String,reflect:!0})],E.prototype,"color");M([s.Dt({type:Boolean,reflect:!0,attribute:"no-alpha-channel"})],E.prototype,"noAlphaChannel");M([s.Dt({type:Array,reflect:!0})],E.prototype,"swatches");M([d.d("luzmo-color-area")],E.prototype,"areaElement");M([d.d("#luzmo-hue-slider")],E.prototype,"hueSliderElement");M([d.d("#luzmo-opacity-slider")],E.prototype,"opacitySliderElement");M([d.d("luzmo-color-field")],E.prototype,"colorFieldElement");M([d.d("luzmo-swatch")],E.prototype,"swatchElement");M([no.n()],E.prototype,"_format");customElements.get("luzmo-color-menu")||customElements.define("luzmo-color-menu",E);/*! * Lucero - The design system for Luzmo.
|
414
|
+
*
|
415
|
+
* Copyright © 2025 Luzmo
|
416
|
+
* All rights reserved.
|
417
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
418
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
419
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
420
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
421
|
+
*
|
422
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
423
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
424
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
425
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
426
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
427
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
428
|
+
* SOFTWARE.
|
429
|
+
* */const me=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const t=document.createElement("style");t.setAttribute("data-luzmo-vars",""),t.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(t)}};me();const pe="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)}";var ge=Object.defineProperty,_=(t,o,e,r)=>{for(var l=void 0,i=t.length-1,a;i>=0;i--)(a=t[i])&&(l=a(o,e,l)||l);return l&&ge(o,e,l),l};const vo=class extends s.m(s.zt){constructor(){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}overlayCloseEvent(){this.open=!1}overlayOpenEvent(){this.open=!0}handleColorChange(){this.color=this.menuElement.color,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}firstUpdated(){this.overlayElement.addEventListener("slottable-request",o=>{this._renderMenu=o.data!==Z.a})}updated(o){o.has("open")&&this.open===!0&&(this._renderMenu=!0)}renderColorMenu(){return s.Rt`
|
430
|
+
<luzmo-color-menu
|
431
|
+
.size=${this.size}
|
432
|
+
.color=${this.color}
|
433
|
+
.noAlphaChannel=${this.noAlphaChannel}
|
434
|
+
.swatches=${this.swatches}
|
435
|
+
@change=${this.handleColorChange}
|
436
|
+
></luzmo-color-menu>
|
437
|
+
`}render(){return s.Rt`
|
438
|
+
<luzmo-swatch
|
439
|
+
id="trigger"
|
440
|
+
.shape=${this.shape}
|
441
|
+
.rounding=${this.rounding}
|
442
|
+
.size=${this.size}
|
443
|
+
.color=${this.color}
|
444
|
+
.selected=${this.open&&!this.disabled}
|
445
|
+
?disabled=${this.disabled}
|
446
|
+
@luzmo-closed=${this.overlayCloseEvent}
|
447
|
+
@luzmo-opened=${this.overlayOpenEvent}
|
448
|
+
></luzmo-swatch>
|
449
|
+
<luzmo-overlay
|
450
|
+
trigger=${this.disabled?"":"trigger@click"}
|
451
|
+
type="auto"
|
452
|
+
.placement=${this.placement}
|
453
|
+
type="page"
|
454
|
+
>
|
455
|
+
<luzmo-popover style="position:relative">
|
456
|
+
${this._renderMenu?this.renderColorMenu():s.Rt``}
|
457
|
+
</luzmo-popover>
|
458
|
+
</luzmo-overlay>
|
459
|
+
`}};vo.styles=s.at(pe);let S=vo;_([s.Dt({type:String,reflect:!0})],S.prototype,"color");_([s.Dt({type:Boolean,reflect:!0})],S.prototype,"open");_([s.Dt({type:Boolean,reflect:!0})],S.prototype,"disabled");_([s.Dt({type:String,reflect:!0})],S.prototype,"placement");_([s.Dt({type:String,reflect:!0})],S.prototype,"rounding");_([s.Dt({type:String,reflect:!0})],S.prototype,"shape");_([s.Dt({type:Array,reflect:!0})],S.prototype,"swatches");_([s.Dt({type:Boolean,reflect:!0,attribute:"no-alpha-channel"})],S.prototype,"noAlphaChannel");_([d.d("luzmo-color-menu")],S.prototype,"menuElement");_([d.d("luzmo-overlay")],S.prototype,"overlayElement");_([no.n()],S.prototype,"_renderMenu");customElements.get("luzmo-color-picker")||customElements.define("luzmo-color-picker",S);var be=Object.defineProperty,R=(t,o,e,r)=>{for(var l=void 0,i=t.length-1,a;i>=0;i--)(a=t[i])&&(l=a(o,e,l)||l);return l&&be(o,e,l),l};const q=class q extends $o.LuzmoEditOptionBase{constructor(){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}_handleEvent(){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this.colorPicker.color}}))},this.debounce??200)}renderController(){return A.x`
|
460
|
+
<luzmo-color-picker
|
461
|
+
.color=${this.value}
|
462
|
+
.size=${this.size}
|
463
|
+
.rounding=${this.rounding}
|
464
|
+
.shape=${this.shape}
|
465
|
+
.swatches=${this.swatches}
|
466
|
+
.placement=${this.placement}
|
467
|
+
.noAlphaChannel=${this.noAlphaChannel}
|
468
|
+
?disabled=${this.disabled}
|
469
|
+
@change=${this._handleEvent}
|
470
|
+
>
|
471
|
+
</luzmo-color-picker>
|
472
|
+
`}};q.styles=[G(q,q,"styles")];let y=q;R([A.n({type:String,reflect:!0})],y.prototype,"value");R([A.n({type:Boolean,reflect:!0})],y.prototype,"disabled");R([A.n({type:Boolean,reflect:!0})],y.prototype,"noAlphaChannel");R([A.n({type:Array,reflect:!0})],y.prototype,"swatches");R([A.n({type:String,reflect:!0})],y.prototype,"rounding");R([A.n({type:String,reflect:!0})],y.prototype,"shape");R([A.n()],y.prototype,"placement");R([A.n({type:Number,reflect:!0})],y.prototype,"debounce");R([So.e("luzmo-color-picker")],y.prototype,"colorPicker");customElements.get("luzmo-edit-option-color-picker")||customElements.define("luzmo-edit-option-color-picker",y);exports.LuzmoEditOptionColorPicker=y;
|