@luzmo/analytics-components-kit 1.0.1-alpha.5 → 1.0.1-alpha.50
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 +1 -1
- package/components/area-chart-options.config-C7sMAHco.cjs +20 -0
- package/components/area-chart-options.config-_J0sG4NF.js +150 -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-C0c2ZzBh.js → area-chart-slots.config-DoytjTpw.js} +10 -10
- package/components/area-chart-slots.config-Dx_ysVZK.cjs +20 -0
- package/components/{async-directive-FGzMycjH-Bgeca09f.js → async-directive-BfcqVjDp-BCT-lA4F.js} +9 -9
- package/components/{async-directive-FGzMycjH-CeG35vZ3.cjs → async-directive-BfcqVjDp-C8C45jl6.cjs} +4 -4
- package/components/bar-chart-options.config-D1mb5TDl.js +162 -0
- package/components/bar-chart-options.config-DcxEkOT5.cjs +20 -0
- package/components/bar-chart-options.de-BQ4qGaQc.js +87 -0
- package/components/bar-chart-options.de-Dr5zKz8Q.cjs +20 -0
- package/components/bar-chart-options.en-DdQ2PYrw.cjs +20 -0
- package/components/{bar-chart.en-FwT00qdU.js → bar-chart-options.en-LjG6f4hw.js} +19 -1
- package/components/bar-chart-options.es-BfIKCPf-.js +87 -0
- package/components/bar-chart-options.es-DgYVxn9U.cjs +20 -0
- package/components/bar-chart-options.fr-Cg1lQV2y.js +87 -0
- package/components/bar-chart-options.fr-rteFm93C.cjs +20 -0
- package/components/bar-chart-options.nl--gwlkpc0.cjs +20 -0
- package/components/bar-chart-options.nl-CB2W4rzf.js +87 -0
- package/components/{bar-chart-slots.config-GSSL7XVA.js → bar-chart-slots.config-Dn0IV43j.js} +9 -9
- package/components/{bar-chart.fr-DGx9smEh.cjs → bar-chart-slots.config-c_9ABPOI.cjs} +2 -2
- package/components/base-BjTwmyRF.cjs +1 -1
- package/components/base-D76d76ww-BGkuhs54.js +771 -0
- package/components/base-D76d76ww-tT6yr8eb.cjs +94 -0
- package/components/base-D76d76ww.js +1 -1
- package/components/bliss-DQej6Odb.cjs +20 -0
- package/components/bliss-Da17RL_E.js +80 -0
- package/components/box-plot-options.config-SrrbDEYW.cjs +20 -0
- package/components/box-plot-options.config-xu_i6ms7.js +371 -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-FI5Id-7p.js +48 -0
- package/components/box-plot-slots.config-K-1CiWO-.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-CDPpX1yc.js +87 -0
- package/components/bullet-chart-options.config-DfS4Bwds.cjs +20 -0
- package/components/bullet-chart-options.de-D0XaMKPn.cjs +20 -0
- package/components/{bar-chart.fr-DbxKiM0j.js → bullet-chart-options.de-DxBk0yku.js} +19 -12
- 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/{bar-chart.nl-ahX1ARpH.js → bullet-chart-options.es-pGm2umSR.js} +19 -12
- 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-DbkDzb71-D0Ni0xn1.cjs +43 -0
- package/components/{button-base-CDLQV7Vk-C_3zTrbV.js → button-base-DbkDzb71-Dh2Out91.js} +34 -33
- package/components/calculate-data-item-icon-Dn-9Kd0U.cjs +20 -0
- package/components/calculate-data-item-icon-Dpvf1aLI.js +115 -0
- package/components/{checkbox-mixin-DXUIwtea-DNISZS47.cjs → checkbox-mixin-Do7EgtpQ-D3m-dMTI.cjs} +4 -4
- package/components/{checkbox-mixin-DXUIwtea-wiCZr_KI.js → checkbox-mixin-Do7EgtpQ-hne79zc-.js} +7 -7
- package/components/choropleth-map-options.config-B_W9-rhe.js +381 -0
- package/components/choropleth-map-options.config-ZW8yoZH2.cjs +20 -0
- package/components/choropleth-map-options.de-C4ko9lE4.cjs +20 -0
- package/components/choropleth-map-options.de-CIls11eI.js +102 -0
- package/components/choropleth-map-options.en-C7cPpmnS.js +102 -0
- package/components/choropleth-map-options.en-DVWBmXFe.cjs +20 -0
- package/components/choropleth-map-options.es-gQPy8Q0q.js +102 -0
- package/components/choropleth-map-options.es-v5dYm1W3.cjs +20 -0
- package/components/choropleth-map-options.fr-Bpk_J4Gw.cjs +20 -0
- package/components/choropleth-map-options.fr-YsTTCv_p.js +102 -0
- package/components/choropleth-map-options.nl-CnEI0pYJ.js +102 -0
- package/components/choropleth-map-options.nl-CyDZDpyE.cjs +20 -0
- package/components/choropleth-map-slots.config-CFERs0ca.cjs +20 -0
- package/components/choropleth-map-slots.config-DStOyVgQ.js +52 -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/{donut-chart.nl-D9YGbOce.cjs → circle-pack-chart-options.de-BKCxSgFo.cjs} +2 -2
- package/components/{donut-chart.nl-NMatXfhK.js → circle-pack-chart-options.de-CUL0ypCU.js} +13 -11
- 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/{donut-chart.fr-DftPrKbG.js → circle-pack-chart-options.es-BGoaousJ.js} +13 -11
- 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-B18aqdH1.cjs +20 -0
- package/components/circle-pack-chart-slots.config-lV4uNMcp.js +40 -0
- package/components/circular-gauge-options.config-DAIjz4Rl.js +192 -0
- package/components/circular-gauge-options.config-msZ4mfpN.cjs +20 -0
- package/components/circular-gauge-options.de-BMzGTpZD.js +76 -0
- package/components/{bar-chart.en-BqYbiHO3.cjs → circular-gauge-options.de-CzEREduR.cjs} +2 -2
- package/components/circular-gauge-options.en--hMYjiKb.cjs +20 -0
- package/components/circular-gauge-options.en-C6U5peDD.js +79 -0
- package/components/circular-gauge-options.es-Kajxp0wO.js +76 -0
- package/components/circular-gauge-options.es-bS5N1QyR.cjs +20 -0
- package/components/circular-gauge-options.fr-VgkkhIDb.cjs +20 -0
- package/components/circular-gauge-options.fr-l5cqWrSS.js +79 -0
- package/components/circular-gauge-options.nl-B-E_GXJl.cjs +20 -0
- package/components/circular-gauge-options.nl-CAx8oTMs.js +79 -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/classic-CW66MgMj.cjs +20 -0
- package/components/classic-DSp70wnP.js +86 -0
- package/components/classic-dark-DCtf8kpl.cjs +20 -0
- package/components/classic-dark-o89nk6Bo.js +77 -0
- package/components/color-B6LaL8qz.cjs +20 -0
- package/components/color-DuJ4-73S.js +2867 -0
- package/components/color-palettes-BqH2Fv19.js +1852 -0
- package/components/color-palettes-DhNHcib8.cjs +20 -0
- package/components/color-range-utils-Bvo9sm5A.js +68 -0
- package/components/color-range-utils-C5yXW7ZC.cjs +20 -0
- package/components/column-chart-options.config-B5SjBVdy.js +163 -0
- package/components/column-chart-options.config-BjDvA7i9.cjs +20 -0
- package/components/column-chart-options.de-BU__cJy3.cjs +20 -0
- package/components/column-chart-options.de-BkkWD9rB.js +87 -0
- package/components/column-chart-options.en-DdQ2PYrw.cjs +20 -0
- package/components/column-chart-options.en-LjG6f4hw.js +87 -0
- package/components/column-chart-options.es-BgOc-gTh.js +87 -0
- package/components/column-chart-options.es-CkaTU6qn.cjs +20 -0
- package/components/column-chart-options.fr-Cg1lQV2y.js +87 -0
- package/components/column-chart-options.fr-rteFm93C.cjs +20 -0
- package/components/column-chart-options.nl-Bhe6rcUo.cjs +20 -0
- package/components/column-chart-options.nl-CAeBYwQC.js +87 -0
- package/components/{bar-chart.nl-BYzVExsz.cjs → column-chart-slots.config-C0nGjkmv.cjs} +2 -2
- package/components/column-chart-slots.config-epF0y5yo.js +47 -0
- package/components/combination-chart-options.config-CApdgFvv.js +45 -0
- package/components/{textobject.config-DbAajFz8.cjs → combination-chart-options.config-CyYEp-gX.cjs} +2 -2
- 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-CY07Q5Hw.cjs +20 -0
- package/components/combination-chart-slots.config-DRKSJyCC.js +45 -0
- package/components/conditional-number-options.config-BCEpSK9J.js +189 -0
- package/components/conditional-number-options.config-DgzUo0xi.cjs +20 -0
- package/components/conditional-number-options.de-DbpKd1bd.js +74 -0
- package/components/conditional-number-options.de-R9Mtj45x.cjs +20 -0
- package/components/conditional-number-options.en-C-nOJ85m.cjs +20 -0
- package/components/conditional-number-options.en-DZH6utHH.js +74 -0
- package/components/conditional-number-options.es-C41csR3J.cjs +20 -0
- package/components/conditional-number-options.es-_oKhivId.js +74 -0
- package/components/conditional-number-options.fr-BSSywulP.js +74 -0
- package/components/conditional-number-options.fr-DgaXesnu.cjs +20 -0
- package/components/conditional-number-options.nl-BuKNqxqm.js +74 -0
- package/components/conditional-number-options.nl-CJ5teRtT.cjs +20 -0
- package/components/{donut-chart-slots.config-DIp-24lO.cjs → conditional-number-slots.config-CD5ZwXuY.cjs} +2 -2
- package/components/conditional-number-slots.config-L3t5pb1-.js +39 -0
- package/components/cs-DVZ0Tapy.js +1 -1
- package/components/cs-I9E81keK.cjs +1 -1
- package/components/da-DHy05oSR.js +1 -1
- package/components/da-QkdvupDg.cjs +1 -1
- 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-B7MjV7xe.cjs +20 -0
- package/components/date-filter-options.en-C0AmRz6f.js +73 -0
- package/components/date-filter-options.es-C__wCKac.cjs +20 -0
- package/components/date-filter-options.es-bN790adr.js +73 -0
- package/components/date-filter-options.fr-CFqwPRzc.cjs +20 -0
- package/components/date-filter-options.fr-CNKTJNWh.js +73 -0
- package/components/date-filter-options.nl-CHOlmw93.cjs +20 -0
- package/components/date-filter-options.nl-ajUXG8Z4.js +73 -0
- package/components/date-filter-slots.config-CrA5ijD3.cjs +20 -0
- package/components/date-filter-slots.config-DIjChKTZ.js +33 -0
- package/components/de-Cxe7xkT4.cjs +20 -0
- package/components/de-Dn5mUzha.cjs +1 -1
- package/components/de-ZPzjN2kc.js +164 -0
- package/components/de-iM39JlAt.js +1 -1
- package/components/decompose-numeric-format-B3rVVHpO.cjs +1 -1
- package/components/decompose-numeric-format-BuZcjH2k.js +1 -1
- package/components/default-DBxqR7y5.js +84 -0
- package/components/default-DcRD5JRU.cjs +20 -0
- package/components/default-dark-1299UcUs.cjs +20 -0
- package/components/default-dark-IedybpaJ.js +84 -0
- package/components/directive-BOOaQO_r.cjs +24 -0
- package/components/directive-CF_9GVrT.js +46 -0
- package/components/{directive-helpers-BLDZnGQv-DYFfxaqA.cjs → directive-helpers-Cm6gitnu-BeggOiwf.cjs} +5 -5
- package/components/{directive-helpers-BLDZnGQv-oKMCBvb2.js → directive-helpers-Cm6gitnu-CeYtlPO9.js} +54 -20
- package/components/display-settings/display-settings.d.ts +7 -5
- package/components/display-settings/index.cjs +2 -87
- package/components/display-settings/index.js +7 -215
- package/components/display-settings-binning/display-settings-binning.d.ts +6 -6
- package/components/display-settings-binning/index.cjs +15 -10
- package/components/display-settings-binning/index.js +60 -46
- package/components/display-settings-datetime/display-settings-datetime.d.ts +3 -3
- package/components/display-settings-datetime/index.cjs +210 -2
- package/components/display-settings-datetime/index.js +521 -7
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +4 -4
- package/components/display-settings-grand-totals/index.cjs +10 -7
- package/components/display-settings-grand-totals/index.js +53 -42
- package/components/display-settings-numeric/display-settings-numeric.d.ts +8 -5
- package/components/display-settings-numeric/helpers/constants.d.ts +5 -4
- package/components/display-settings-numeric/index.cjs +78 -47
- package/components/display-settings-numeric/index.js +265 -192
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +4 -4
- package/components/display-settings-period-over-period/helpers/constants.d.ts +5 -2
- package/components/display-settings-period-over-period/index.cjs +17 -17
- package/components/display-settings-period-over-period/index.js +149 -129
- package/components/{divider.module-DwOuLGU3-B19eHVg2.js → divider.module-DoQWQEIJ-B19eHVg2.js} +1 -1
- package/components/{divider.module-DwOuLGU3-Bg8RrFkc.cjs → divider.module-DoQWQEIJ-Bg8RrFkc.cjs} +1 -1
- package/components/{donut-chart.config-3DhKiSSM.js → donut-chart-options.config-BulUEiaH.js} +51 -27
- 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.en-CzjT4-XN.js → donut-chart-options.en-CrUf4CJ9.js} +15 -1
- 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 → donut-chart-slots.config-CHLEBSDg.js} +2 -2
- package/components/donut-chart-slots.config-DBowIZNO.cjs +20 -0
- package/components/draggable-data-item/draggable-data-item.d.ts +8 -4
- package/components/draggable-data-item/index.cjs +13 -9
- package/components/draggable-data-item/index.js +77 -70
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +10 -3
- package/components/draggable-data-item-level/index.cjs +15 -10
- package/components/draggable-data-item-level/index.js +121 -148
- 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-0wn6pMvi.cjs +20 -0
- package/components/dropdown-filter-slots.config-D2J9Z5aQ.js +46 -0
- package/components/droppable-slot/droppable-slot.d.ts +39 -15
- package/components/droppable-slot/index.cjs +34 -19
- package/components/droppable-slot/index.js +377 -135
- 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 +14 -9
- package/components/edit-item/index.cjs +33 -24
- package/components/edit-item/index.js +484 -174
- package/components/edit-option/edit-option.d.ts +5 -3
- package/components/edit-option/helpers/control-markup.d.ts +1 -1
- package/components/edit-option/helpers/control-templates/color-palette-picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/color-range-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/position-picker-template.d.ts +2 -0
- package/components/edit-option/helpers/get-control-by-key.d.ts +1 -1
- package/components/edit-option/helpers/get-default-value.d.ts +1 -0
- package/components/edit-option/helpers/get-enum-values.d.ts +1 -0
- package/components/edit-option/helpers/get-value-by-key.d.ts +1 -1
- package/components/edit-option/index.cjs +2 -158
- package/components/edit-option/index.js +6 -483
- package/components/edit-option-action-button-group/index.cjs +16 -8
- package/components/edit-option-action-button-group/index.js +81 -71
- package/components/edit-option-base/edit-option-base.d.ts +4 -3
- package/components/{edit-option-base-oIvlolV9.js → edit-option-base-CG0JcbX9.js} +16 -12
- package/components/edit-option-base-a2yoNqdf.cjs +53 -0
- package/components/edit-option-color-palette-picker/edit-option-color-palette-picker.d.ts +42 -0
- package/components/edit-option-color-palette-picker/index.cjs +79 -0
- package/components/edit-option-color-palette-picker/index.d.ts +7 -0
- package/components/edit-option-color-palette-picker/index.js +405 -0
- package/components/edit-option-color-picker/edit-option-color-picker.d.ts +5 -0
- package/components/edit-option-color-picker/index.cjs +3 -442
- package/components/edit-option-color-picker/index.js +50 -2493
- package/components/edit-option-color-range/edit-option-color-range.d.ts +99 -0
- package/components/edit-option-color-range/index.cjs +85 -0
- package/components/edit-option-color-range/index.d.ts +7 -0
- package/components/edit-option-color-range/index.js +261 -0
- package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +2 -0
- package/components/edit-option-multi-language-field/index.cjs +4 -4
- package/components/edit-option-multi-language-field/index.js +33 -23
- package/components/edit-option-number-field/edit-option-number-field.d.ts +4 -2
- package/components/edit-option-number-field/index.cjs +8 -4
- package/components/edit-option-number-field/index.js +31 -20
- package/components/edit-option-picker/edit-option-picker.d.ts +2 -2
- package/components/edit-option-picker/index.cjs +7 -7
- package/components/edit-option-picker/index.js +15 -15
- 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 +11 -9
- package/components/edit-option-positions-number-field/index.cjs +13 -13
- package/components/edit-option-positions-number-field/index.js +86 -77
- package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +2 -2
- package/components/edit-option-radio-button-group/index.cjs +4 -4
- package/components/edit-option-radio-button-group/index.js +21 -21
- package/components/edit-option-slider/edit-option-slider.d.ts +2 -2
- package/components/edit-option-slider/index.cjs +4 -4
- package/components/edit-option-slider/index.js +222 -222
- package/components/edit-option-switch/edit-option-switch.d.ts +2 -2
- package/components/edit-option-switch/index.cjs +6 -6
- package/components/edit-option-switch/index.js +39 -38
- package/components/edit-option-text-field/index.cjs +2 -2
- package/components/edit-option-text-field/index.js +8 -8
- package/components/element-resolution-FCUT-wql--7ctE626.js +1 -1
- package/components/element-resolution-FCUT-wql-DSTvdyds.cjs +1 -1
- package/components/{en-GB-qub-Kemt.js → en-GB-BtLbN8o_.js} +2 -2
- package/components/en-GB-Dd11ROdW.cjs +20 -0
- package/components/es-4dEouIgb.cjs +20 -0
- package/components/es-C0JGlz18.js +164 -0
- package/components/es-CwyPlN5d.cjs +1 -1
- package/components/es-KhTq4jX8.js +1 -1
- 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-CNNVp6vR.cjs +20 -0
- package/components/evolution-number-slots.config-CSDEf5Lv.js +39 -0
- package/components/extrapolate-color-0j_AeYkz.cjs +20 -0
- package/components/extrapolate-color-CC9CURf6.js +33 -0
- package/components/fi-Dh_ebgpe.js +1 -1
- package/components/fi-rijeZE5V.cjs +1 -1
- package/components/filter-data-item-picker/filter-data-item-picker.d.ts +88 -0
- package/components/filter-data-item-picker/index.cjs +47 -0
- package/components/filter-data-item-picker/index.d.ts +7 -0
- package/components/filter-data-item-picker/index.js +193 -0
- package/components/filter-expression-picker/filter-expression-picker.d.ts +74 -0
- package/components/filter-expression-picker/index.cjs +20 -0
- package/components/filter-expression-picker/index.d.ts +7 -0
- package/components/{index-BD3VxQBH.js → filter-expression-picker/index.js} +6 -20
- package/components/filter-group/filter-group.d.ts +26 -0
- package/components/filter-group/index.d.ts +7 -0
- package/components/filter-item/filter-item.d.ts +76 -0
- package/components/filter-item/index.cjs +52 -0
- package/components/filter-item/index.d.ts +7 -0
- package/components/filter-item/index.js +271 -0
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +25 -0
- package/components/filter-parameter-picker/index.d.ts +7 -0
- package/components/filter-value-picker/filter-value-picker.d.ts +65 -0
- package/components/filter-value-picker/index.cjs +51 -0
- package/components/filter-value-picker/index.d.ts +7 -0
- package/components/filter-value-picker/index.js +149 -0
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +43 -0
- package/components/filter-value-picker-datetime/index.cjs +288 -0
- package/components/filter-value-picker-datetime/index.d.ts +7 -0
- package/components/filter-value-picker-datetime/index.js +2820 -0
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +82 -0
- package/components/filter-value-picker-hierarchy/index.cjs +46 -0
- package/components/filter-value-picker-hierarchy/index.d.ts +7 -0
- package/components/filter-value-picker-hierarchy/index.js +278 -0
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +83 -0
- package/components/filter-value-picker-numeric/index.cjs +46 -0
- package/components/filter-value-picker-numeric/index.d.ts +7 -0
- package/components/filter-value-picker-numeric/index.js +274 -0
- package/components/flow-D-0MTYCm-BOBCoA5Z.js +546 -0
- package/components/flow-D-0MTYCm-BW5krWol.cjs +48 -0
- package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +1 -1
- package/components/focus-group-DHeTq18L-rNUu13eb.js +1 -1
- package/components/focusable-BbymtxWI.js +275 -0
- package/components/focusable-BxtpnzWp-CkK9AeMt.cjs +52 -0
- package/components/focusable-BxtpnzWp-DJQkL8Zv.js +242 -0
- package/components/focusable-DAGGGYyz.cjs +20 -0
- package/components/formatter-CQDms6fU.js +1478 -0
- package/components/formatter-DiJYkB6b.cjs +20 -0
- package/components/fr-B_-_f-VN.js +164 -0
- package/components/fr-BcgE-6S_.cjs +1 -1
- package/components/fr-CU727YF1.js +1 -1
- package/components/fr-Dwulhlbi.cjs +20 -0
- package/components/funnel-chart-options.config-C_VjTOvD.js +185 -0
- package/components/funnel-chart-options.config-D7H7gFcx.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-B-72sm5j.js +45 -0
- package/components/funnel-chart-slots.config-GKBCY9xN.cjs +20 -0
- package/components/get-css-variable-DLiZYZEi.cjs +1 -1
- package/components/{get-css-variable-Bhbr-Kr1.js → get-css-variable-YlLiVgo8.js} +3 -3
- package/components/grid/actions.d.ts +21 -0
- package/components/grid/grid-item-actions-menu.d.ts +35 -0
- package/components/grid/grid.d.ts +170 -0
- package/components/grid/index.cjs +323 -0
- package/components/grid/index.d.ts +10 -0
- package/components/grid/index.js +6121 -0
- package/components/he-Au3xg6lR.js +1 -1
- package/components/he-O6Ih8Bqh.cjs +1 -1
- package/components/heat-map-options.config-BQ-Afrbi.cjs +20 -0
- package/components/heat-map-options.config-DQya-lag.js +237 -0
- package/components/heat-map-options.de-CCzVMy-R.cjs +20 -0
- package/components/heat-map-options.de-UJbdYtlh.js +90 -0
- package/components/heat-map-options.en-Bg7i7QKn.cjs +20 -0
- package/components/heat-map-options.en-C0K0NGEE.js +91 -0
- package/components/heat-map-options.es-BYyHRdIH.cjs +20 -0
- package/components/heat-map-options.es-DCUCh58R.js +91 -0
- package/components/heat-map-options.fr-CLB-XMRA.cjs +20 -0
- package/components/heat-map-options.fr-a-_Kw5S_.js +91 -0
- package/components/heat-map-options.nl-BHrmi96k.cjs +20 -0
- package/components/heat-map-options.nl-BRGoOun2.js +91 -0
- package/components/heat-map-slots.config-CAj40INL.js +39 -0
- package/components/heat-map-slots.config-D7cSAVdX.cjs +20 -0
- package/components/heat-table-options.config-B12JEYnp.cjs +20 -0
- package/components/heat-table-options.config-CUsDdgUr.js +425 -0
- package/components/heat-table-options.de-D6R0zXX0.js +142 -0
- package/components/heat-table-options.de-cnjPxQep.cjs +20 -0
- package/components/heat-table-options.en-Bjqpkm75.cjs +20 -0
- package/components/heat-table-options.en-Co6IDHlF.js +142 -0
- package/components/heat-table-options.es-B3Kb8J1N.js +142 -0
- package/components/heat-table-options.es-IaNf_Ge4.cjs +20 -0
- package/components/heat-table-options.fr-BdZnJYlb.cjs +20 -0
- package/components/heat-table-options.fr-C51PmgHa.js +142 -0
- package/components/heat-table-options.nl-DGS7vzoT.cjs +20 -0
- package/components/heat-table-options.nl-DXOd_uE6.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-DZERRhM8.cjs +20 -0
- package/components/hexbin-map-options.config-F-7uCqxb.js +267 -0
- package/components/hexbin-map-options.de-D50U2vgf.js +128 -0
- package/components/hexbin-map-options.de-DUp41p9I.cjs +20 -0
- package/components/hexbin-map-options.en-B10UanAQ.cjs +20 -0
- package/components/hexbin-map-options.en-iDuuqVpi.js +128 -0
- package/components/hexbin-map-options.es-97IUVMSg.cjs +20 -0
- package/components/hexbin-map-options.es-RRMQV0DY.js +128 -0
- package/components/hexbin-map-options.fr-Bh9Swyi3.cjs +20 -0
- package/components/hexbin-map-options.fr-CQ7JbE9T.js +128 -0
- package/components/hexbin-map-options.nl-BpTRJ36m.js +128 -0
- package/components/hexbin-map-options.nl-BzyMf0JQ.cjs +20 -0
- package/components/hexbin-map-slots.config-CAj40INL.js +39 -0
- package/components/hexbin-map-slots.config-D7cSAVdX.cjs +20 -0
- package/components/hu-BnZ8y3xQ.cjs +1 -1
- package/components/hu-DNJ-P_MW.js +1 -1
- package/components/{if-defined-Ch2dtEOS.js → if-defined-Barg9gGQ.js} +2 -2
- package/components/{if-defined-CYpcjGCb-tXzyj9Dq.js → if-defined-DOaE2coe-CNT45Xcl.js} +17 -18
- package/components/{if-defined-CYpcjGCb-Bzbg7zmM.cjs → if-defined-DOaE2coe-Cvlu5s9n.cjs} +4 -4
- package/components/{if-defined-DMSuo5Qx.cjs → if-defined-wiCAR_aA.cjs} +2 -2
- package/components/{imageobject.config-DZLp9Elq.js → image-options.config-CBfeq5Zw.js} +3 -3
- package/components/{imageobject.config-B7ld9bj3.cjs → image-options.config-Dqhc2c3b.cjs} +2 -2
- 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/{en-GB-g8rSQSba.cjs → image-slots.config-mPXMR1CE.cjs} +2 -2
- package/components/index-1oIrlkAr.cjs +274 -0
- package/components/index-5Z9GD60H.js +598 -0
- package/components/index-B2ngKWOI.js +494 -0
- package/components/{index-BC-nmKjU.js → index-BC1LV3vH.js} +31 -31
- package/components/index-BEtf1WaQ.js +1790 -0
- package/components/{index-3ewegRbb.cjs → index-BKwbYw6x.cjs} +6 -6
- package/components/index-BPVXrhaX.js +936 -0
- package/components/{index-BGaxFTL4.js → index-BW3AUnEX.js} +12 -13
- package/components/index-B_rfLdXx.cjs +20 -0
- package/components/index-BbpsZYZF.cjs +442 -0
- package/components/index-Bg5PqKqt.js +113 -0
- package/components/{index-DskAouD-.js → index-BmshD32H.js} +40 -41
- package/components/{index-DQiQXn8N.cjs → index-BoXbQm2o.cjs} +3 -3
- package/components/{index-C2qG2Sm8-BQUlk-w0.js → index-BssHAgUU.js} +123 -152
- package/components/{index-Cp-lHUlX.js → index-C3N6qTxJ.js} +9 -10
- package/components/index-CSfR7FMV.cjs +249 -0
- package/components/{index-DVaeDCbe.js → index-CTVNGPeT.js} +3 -3
- package/components/index-CUvucmA0.cjs +192 -0
- package/components/{index-CayjvyyX.cjs → index-CYeQkVeJ.cjs} +7 -7
- package/components/{index-B2N_PZf3.js → index-CbuHBIDB.js} +17 -18
- package/components/index-CgnTl6Sc.js +58 -0
- package/components/index-Ck5VRoXN.cjs +157 -0
- package/components/{index-CTPox3yS.cjs → index-CnP-Q5Bw.cjs} +5 -5
- package/components/{index-B5VaT0lQ.js → index-CsDgk_sj.js} +12 -13
- package/components/{index-BqTdFs1o.js → index-CskV_bXp.js} +7 -8
- package/components/index-Ct7UvUif.js +787 -0
- package/components/index-DAoFunRy.cjs +174 -0
- package/components/{index-B2z7i1-X.js → index-DE3d0E0P.js} +14 -15
- package/components/{index-ON4x-yZ7.cjs → index-DSQyBS9Z.cjs} +3 -3
- package/components/index-DTI4dIyd.js +5624 -0
- package/components/{index-BRk42NQn.js → index-DUF6bALI.js} +596 -558
- package/components/{index-EQldC-LR.js → index-D_jFGBMs.js} +10 -11
- package/components/index-Delpl7qa.js +1728 -0
- package/components/index-Df-_TbOD.cjs +38 -0
- package/components/index-DhDgy1sp.cjs +20 -0
- package/components/{index-DszPbTTD.js → index-DsP81c4M.js} +146 -109
- package/components/{index-Bofs4Q2E.cjs → index-DtohCwyO.cjs} +3 -3
- package/components/index-Dy_5M3M5.cjs +42 -0
- package/components/index-MPM_B4re.cjs +127 -0
- package/components/{index-gfU9TGd5.cjs → index-Tx5oQjbt.cjs} +4 -4
- package/components/index-Vdyb9z2D.cjs +20 -0
- package/components/index-cHKqEi5-.cjs +39 -0
- package/components/index-eBsINoH9.cjs +20 -0
- package/components/{index-C_3Ak4MQ.cjs → index-j8UKjHqY.cjs} +7 -7
- package/components/index-t45_zv93.js +115 -0
- package/components/index-tXl_aMnZ.cjs +101 -0
- package/components/index.cjs +2 -2
- package/components/index.js +485 -47
- package/components/it-Bh5U73z6.js +1 -1
- package/components/it-PshtLMkq.cjs +1 -1
- package/components/item-list.cjs +20 -0
- package/components/item-list.js +644 -0
- package/components/item-menu/item-list/item-list.d.ts +37 -0
- package/components/item-slots-configs.cjs +20 -0
- package/components/item-slots-configs.js +109 -0
- package/components/ja-CCcHUL61.js +1 -1
- package/components/ja-KIS2HdaG.cjs +1 -1
- package/components/ko--l4qmjLV.cjs +1 -1
- package/components/ko-DhapsZMM.js +1 -1
- 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-DoytjTpw.js +52 -0
- package/components/line-chart-slots.config-Dx_ysVZK.cjs +20 -0
- package/components/{localize-B6AsX_Zv.js → localize-BX7q0S0M.js} +17 -17
- package/components/localize-r7ALOUy_.cjs +20 -0
- package/components/localized-decorator-Bl5gcI6n.js +48 -0
- package/components/localized-decorator-DIXYZ3RL.cjs +28 -0
- package/components/{luzmo-icons-CZEpXpvy.js → luzmo-icons-CVeTZ59u.js} +201 -179
- package/components/luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs +47 -0
- package/components/luzmo-icons-DbwDQtuO-QG0fLECn.js +160 -0
- package/components/luzmo-icons-DonyjSXg.cjs +31 -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-CAj40INL.js +39 -0
- package/components/marker-map-slots.config-D7cSAVdX.cjs +20 -0
- package/components/mk-B9HPSuKa.js +1 -1
- package/components/mk-DZlj-edb.cjs +1 -1
- package/components/{base-D76d76ww-BiajPmzU.cjs → mutation-controller-DH7YOCyj-B6sXpbgh.cjs} +3 -3
- package/components/{base-D76d76ww-gf0ESLsU.js → mutation-controller-DH7YOCyj-E7gpCmwh.js} +30 -4
- package/components/nl-BKlDqOXb.cjs +1 -1
- package/components/nl-BwSt5Bf4.js +1 -1
- package/components/nl-DxdBIXDd.cjs +20 -0
- package/components/nl-gdQCG4WV.js +164 -0
- package/components/no-D-DofYnx.js +1 -1
- package/components/no-D_SzxhTu.cjs +1 -1
- package/components/observe-slot-presence-CmVi0zTc-NPSGFmv-.cjs +36 -0
- package/components/{sized-mixin-PyCYpyQq-B40Ek2UB.js → observe-slot-presence-CmVi0zTc-hhUl4oRa.js} +45 -40
- package/components/observe-slot-text-BPfIQQtz-D4LmMIo0.cjs +66 -0
- package/components/observe-slot-text-BPfIQQtz-DLOwgi-A.js +172 -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/orion-CfUR1e5D.cjs +20 -0
- package/components/orion-DiAhsMdg.js +74 -0
- package/components/parallel-coordinates-plot-options.config-B9eRq_Dj.cjs +20 -0
- package/components/{textobject.config-C8opcGG4.js → parallel-coordinates-plot-options.config-DxB4kd58.js} +6 -12
- 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--fk40ZDu.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-BjRcJdWM.js +49 -0
- package/components/pending-state-DTX7ggyF-BQdsLMT1.js +321 -0
- package/components/pending-state-DTX7ggyF-CoV2RbDq.cjs +80 -0
- package/components/periods.const-7sXlqgEo.cjs +20 -0
- package/components/periods.const-B7FKokcH.js +176 -0
- package/components/pinky-Cb0md2xU.js +72 -0
- package/components/pinky-DptTgIM4.cjs +20 -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-45V_Gdm7.cjs +20 -0
- package/components/pivot-table-slots.config-CGU7IyDG.js +48 -0
- package/components/pl-D_L_0Boq.js +1 -1
- package/components/pl-PIK23rK_.cjs +1 -1
- package/components/popover-DjX0aAnY-B_ujTfos.js +85 -0
- package/components/popover-DjX0aAnY-CSUMV_Ay.cjs +48 -0
- package/components/property-Cu4Q1hS4.cjs +42 -0
- package/components/property-DCzt3DR1.js +613 -0
- package/components/pt-B0BBS5VB.js +1 -1
- package/components/pt-Dqlu4MS5.cjs +1 -1
- 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-D5F0WX2d.cjs +20 -0
- package/components/pyramid-chart-slots.config-lfxmIAy_.js +47 -0
- package/components/query-D5qWDopr.cjs +1 -1
- package/components/query-Ddbd72Um.js +1 -1
- package/components/query-all-CR2wWKRD.cjs +24 -0
- package/components/query-all-Ddzx2fEK.js +34 -0
- package/components/{query-assigned-nodes-C76XVPWY-BcyGjObB.cjs → query-assigned-nodes-C76XVPWY-BW2w3V7-.cjs} +2 -2
- package/components/{query-assigned-nodes-C76XVPWY-DPC6kOmH.js → query-assigned-nodes-C76XVPWY-DxNwGHfW.js} +2 -2
- 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-BEigR_Ml.cjs +20 -0
- package/components/radar-chart-slots.config-CuQvda0y.js +52 -0
- package/components/radiant-C6fqp6jv.js +75 -0
- package/components/radiant-Dv7GVveL.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-RLnMgOXn.cjs +20 -0
- package/components/regular-table-slots.config-eQ8HccjY.js +33 -0
- package/components/route-map-options.config-CN86T7c0.js +346 -0
- package/components/route-map-options.config-D7NJePTu.cjs +20 -0
- package/components/route-map-options.de-DXYmUtv8.js +94 -0
- package/components/route-map-options.de-w5wuIvwf.cjs +20 -0
- package/components/route-map-options.en-CYMhTqyE.js +94 -0
- package/components/route-map-options.en-Co0Fbjkz.cjs +20 -0
- package/components/route-map-options.es-BEBPlDvt.js +94 -0
- package/components/route-map-options.es-Cjasm-ZQ.cjs +20 -0
- package/components/route-map-options.fr-C1SCfKLH.cjs +20 -0
- package/components/route-map-options.fr-DEHQekgM.js +94 -0
- package/components/route-map-options.nl-CYmB51pE.cjs +20 -0
- package/components/route-map-options.nl-CwUgb9Zg.js +94 -0
- package/components/route-map-slots.config-B9dcwOXi.js +58 -0
- package/components/route-map-slots.config-DsVJBR3D.cjs +20 -0
- package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +1 -1
- package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +1 -1
- package/components/royale-CmXiODck.js +66 -0
- package/components/royale-Ooq8M7Ef.cjs +20 -0
- package/components/ru-Vo-m3O_2.js +1 -1
- package/components/ru-zyNDTB04.cjs +1 -1
- 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-CiyYElLX.cjs +20 -0
- package/components/sankey-diagram-slots.config-DmqnP_mH.js +55 -0
- package/components/scatter-plot-options.config-CFfGJXsV.cjs +20 -0
- package/components/scatter-plot-options.config-Corlzno1.js +351 -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-47cB5_RC.cjs +20 -0
- package/components/scatter-plot-slots.config-DjURFO07.js +70 -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-CCEWnbiJ.js +47 -0
- package/components/search-filter-slots.config-DeHkvc2Q.cjs +20 -0
- package/components/seasonal-9pbLR3XJ.js +80 -0
- package/components/seasonal-OSKpFyta.cjs +20 -0
- package/components/set-locale-DCPlazsZ.cjs +52 -0
- package/components/set-locale-GI34z_M7.js +188 -0
- package/components/sized-mixin-BGzkX2g1.js +65 -0
- package/components/sized-mixin-j_7aJM4b.cjs +20 -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-AOwwW5Ut.js +45 -0
- package/components/slicer-filter-slots.config-V7hURjKI.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/{donut-chart.fr-BeTVa2wh.cjs → slider-filter-options.en-Dvn-ux4N.cjs} +2 -2
- 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-B--K9cpP.cjs +20 -0
- package/components/slider-filter-slots.config-D7cv_Ky4.js +38 -0
- package/components/slot-contents-picker/index.cjs +145 -0
- package/components/slot-contents-picker/index.d.ts +7 -0
- package/components/slot-contents-picker/index.js +461 -0
- package/components/slot-contents-picker/slot-contents-picker.d.ts +112 -0
- package/components/slot-menu/index.cjs +29 -23
- package/components/slot-menu/index.js +258 -91
- package/components/slot-menu/slot-menu.d.ts +47 -12
- package/components/slot-menu-list/index.cjs +4 -8
- package/components/slot-menu-list/index.js +69 -79
- package/components/slot-menu-list/slot-menu-list.d.ts +3 -3
- package/components/spacer-options.config-IpwUxDyU.js +23 -0
- package/components/spacer-options.config-mPXMR1CE.cjs +20 -0
- package/components/speedometer-chart-options.config-BX9LTQBH.cjs +20 -0
- package/components/speedometer-chart-options.config-SL581yOa.js +265 -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-C5KewecZ.js +436 -0
- package/components/spike-map-options.config-DoBFXPmN.cjs +20 -0
- package/components/spike-map-options.de-COZovZ7s.js +127 -0
- package/components/spike-map-options.de-_47BiyJQ.cjs +20 -0
- package/components/spike-map-options.en-B9InMjtg.cjs +20 -0
- package/components/spike-map-options.en-Dx9h9SIj.js +127 -0
- package/components/spike-map-options.es-CHMMXuMS.js +127 -0
- package/components/spike-map-options.es-e-sVsx0P.cjs +20 -0
- package/components/spike-map-options.fr-BcRnMqG8.js +127 -0
- package/components/spike-map-options.fr-DPpYI3Yd.cjs +20 -0
- package/components/spike-map-options.nl-DOJHgdzZ.cjs +20 -0
- package/components/spike-map-options.nl-DSGG2M38.js +127 -0
- package/components/spike-map-slots.config-BM5-Dlub.cjs +20 -0
- package/components/spike-map-slots.config-Bq0WfdI4.js +46 -0
- package/components/{state-ByiKNRhp.cjs → state-fyl3IYMu.cjs} +2 -2
- package/components/{state-B1a8XIDm.js → state-nDsQPund.js} +2 -2
- package/components/{language-resolution-8yZa5r_P-CTSmbE1U.js → streaming-listener-CP-JE6Fa-9MH0gENR.js} +60 -60
- package/components/streaming-listener-CP-JE6Fa-DMzr1X1m.cjs +52 -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-B1OLcL4K.js +40 -0
- package/components/strip-plot-slots.config-DDUlLO8K.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/{area-chart-slots.config-BLxiYX05.cjs → sunburst-chart-options.de-BDu_ZCdb.cjs} +2 -2
- 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-B18aqdH1.cjs +20 -0
- package/components/sunburst-chart-slots.config-lV4uNMcp.js +40 -0
- package/components/sv-1DPTltNQ.cjs +1 -1
- package/components/sv-CiozMaev.js +1 -1
- 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-DT5lvWh_.js +52 -0
- package/components/symbol-map-slots.config-Dm_FRGHA.cjs +20 -0
- package/components/{task-BPD0PyaQ.js → task-Bh_X-xIU.js} +2 -2
- package/components/{task-HFsHfTra.cjs → task-CwmAXlv0.cjs} +2 -2
- package/components/text-field-BIADXoLC-B8w9TVmS.cjs +147 -0
- package/components/text-field-BIADXoLC-B9oE05VF.js +431 -0
- package/components/{bar-chart-slots.config-Jx1PveTM.cjs → text-options.config-BFB3rEmt.cjs} +2 -2
- 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 +1 -1
- package/components/tr-D_D4i5iv.js +1 -1
- 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/urban-BLQl5Oye.cjs +20 -0
- package/components/urban-CZ4PAlar.js +77 -0
- package/components/utils.cjs +2 -2
- package/components/utils.js +77 -2
- package/components/venn-diagram-slots.config-BPxkBFb6.js +48 -0
- package/components/venn-diagram-slots.config-GytlZGbF.cjs +20 -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/vivid-B-cgSae_.js +76 -0
- package/components/vivid-BpRn83MR.cjs +20 -0
- package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +1 -1
- package/components/when-CDK1Tt5Y-C6ViXC43.js +1 -1
- 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 +1 -1
- package/components/zh-CN-wsl7eFSd.js +1 -1
- package/components/zh-TW-DTZ4OmdP.cjs +1 -1
- package/components/zh-TW-wsl7eFSd.js +1 -1
- package/custom-elements.json +3882 -744
- package/generated/locale-codes.d.ts +13 -0
- package/index.d.ts +14 -0
- package/item-definitions/area-chart/area-chart-options.config.d.ts +114 -0
- package/{components/droppable-slot/item-slots-configs → item-definitions/area-chart}/area-chart-slots.config.d.ts +17 -17
- 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/{components/edit-option/item-configs/bar-chart.config.d.ts → item-definitions/bar-chart/bar-chart-options.config.d.ts} +35 -14
- package/{components/droppable-slot/item-slots-configs → item-definitions/bar-chart}/bar-chart-slots.config.d.ts +8 -8
- package/{components/edit-option/item-translations/bar-chart.en.d.ts → item-definitions/bar-chart/i18n/bar-chart-options.de.d.ts} +18 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.en.d.ts +66 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.es.d.ts +66 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.fr.d.ts +66 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.nl.d.ts +66 -0
- package/item-definitions/box-plot/box-plot-options.config.d.ts +224 -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/{components/droppable-slot/item-slots-configs/donut-chart-slots.config.d.ts → item-definitions/bullet-chart/bullet-chart-slots.config.d.ts} +1 -3
- 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 +293 -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 +206 -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 +55 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.en.d.ts +58 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.es.d.ts +55 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.fr.d.ts +58 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.nl.d.ts +58 -0
- package/{components/edit-option/item-configs/column-chart.config.d.ts → item-definitions/column-chart/column-chart-options.config.d.ts} +29 -14
- 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 +66 -0
- package/item-definitions/column-chart/i18n/column-chart-options.en.d.ts +66 -0
- package/item-definitions/column-chart/i18n/column-chart-options.es.d.ts +66 -0
- package/item-definitions/column-chart/i18n/column-chart-options.fr.d.ts +66 -0
- package/item-definitions/column-chart/i18n/column-chart-options.nl.d.ts +66 -0
- package/item-definitions/combination-chart/combination-chart-slots.config.d.ts +30 -0
- package/{components/edit-option/item-translations/donut-chart.fr.d.ts → item-definitions/combination-chart/i18n/combination-chart-options.de.d.ts} +6 -7
- package/{components/edit-option/item-translations/donut-chart.nl.d.ts → item-definitions/combination-chart/i18n/combination-chart-options.en.d.ts} +6 -7
- 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 +241 -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 +52 -0
- package/item-definitions/date-filter/i18n/date-filter-options.es.d.ts +52 -0
- package/item-definitions/date-filter/i18n/date-filter-options.fr.d.ts +52 -0
- package/item-definitions/date-filter/i18n/date-filter-options.nl.d.ts +52 -0
- package/{components/edit-option/item-configs/donut-chart.config.d.ts → item-definitions/donut-chart/donut-chart-options.config.d.ts} +42 -15
- package/item-definitions/donut-chart/donut-chart-slots.config.d.ts +20 -0
- package/{components/edit-option/item-translations/donut-chart.en.d.ts → item-definitions/donut-chart/i18n/donut-chart-options.de.d.ts} +14 -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 +238 -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 +69 -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 +265 -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 +242 -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/{components/edit-option/item-configs/imageobject.config.d.ts → item-definitions/image/image-options.config.d.ts} +1 -3
- 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/{components/edit-option/item-translations/bar-chart.fr.d.ts → item-definitions/ohlc-chart/i18n/ohlc-chart-options.de.d.ts} +10 -8
- package/{components/edit-option/item-translations/bar-chart.nl.d.ts → item-definitions/ohlc-chart/i18n/ohlc-chart-options.en.d.ts} +10 -8
- 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 +73 -0
- package/item-definitions/route-map/i18n/route-map-options.en.d.ts +73 -0
- package/item-definitions/route-map/i18n/route-map-options.es.d.ts +73 -0
- package/item-definitions/route-map/i18n/route-map-options.fr.d.ts +73 -0
- package/item-definitions/route-map/i18n/route-map-options.nl.d.ts +73 -0
- package/item-definitions/route-map/route-map-options.config.d.ts +324 -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 +163 -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/shared/color-range-utils.d.ts +22 -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 +206 -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 +106 -0
- package/item-definitions/spike-map/i18n/spike-map-options.en.d.ts +106 -0
- package/item-definitions/spike-map/i18n/spike-map-options.es.d.ts +106 -0
- package/item-definitions/spike-map/i18n/spike-map-options.fr.d.ts +106 -0
- package/item-definitions/spike-map/i18n/spike-map-options.nl.d.ts +106 -0
- package/item-definitions/spike-map/spike-map-options.config.d.ts +328 -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/{components/edit-option/item-configs/line-chart.config.d.ts → item-definitions/video/video-options.config.d.ts} +42 -48
- 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 +81 -1
- 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/color/color-palettes.d.ts +17 -0
- package/utils/color/extrapolate-color.d.ts +1 -0
- package/utils/data-broker/index.d.ts +188 -0
- package/utils/data-item-types/calculate-data-item-icon.d.ts +4 -0
- package/utils/drag/draggable.d.ts +13 -0
- package/utils/filters/expressions.d.ts +15 -0
- package/utils/filters/index.d.ts +1 -0
- package/utils/index.d.ts +5 -1
- package/utils/localize/set-locale.d.ts +7 -0
- package/utils/map-tile-providers/index.d.ts +93 -0
- package/utils/store/slot-context.d.ts +4 -0
- package/utils/store/slot-store.d.ts +27 -0
- package/utils/switch-item/index.d.ts +14 -0
- package/utils/themes/bliss.d.ts +43 -0
- package/utils/themes/classic-dark.d.ts +34 -0
- package/utils/themes/classic.d.ts +43 -0
- package/utils/themes/default-dark.d.ts +46 -0
- package/utils/themes/default.d.ts +46 -0
- package/utils/themes/index.d.ts +3 -0
- package/utils/themes/orion.d.ts +44 -0
- package/utils/themes/pinky.d.ts +42 -0
- package/utils/themes/radiant.d.ts +42 -0
- package/utils/themes/royale.d.ts +36 -0
- package/utils/themes/seasonal.d.ts +43 -0
- package/utils/themes/urban.d.ts +44 -0
- package/utils/themes/vivid.d.ts +42 -0
- package/utils/time/formats.const.d.ts +2 -6
- package/utils/time/periods.const.d.ts +9 -23
- package/utils/types/column.types.d.ts +1 -1
- package/components/bar-chart.config-B57geUzJ.cjs +0 -20
- package/components/bar-chart.config-CQ6HAvs2.js +0 -153
- package/components/button-base-CDLQV7Vk-BXgdcJZo.cjs +0 -43
- package/components/column-chart.config-B57geUzJ.cjs +0 -20
- package/components/column-chart.config-C9hP0kX7.js +0 -153
- package/components/donut-chart.config-DLWJUlHx.cjs +0 -20
- package/components/donut-chart.en-Blb9oSdU.cjs +0 -20
- package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +0 -2
- package/components/edit-option-base-DnrerC_T.cjs +0 -53
- package/components/en-BsAhbMzm.js +0 -1979
- package/components/en-CdROUdjt.cjs +0 -202
- package/components/index-B0cBkCaq.cjs +0 -39
- package/components/index-Bjs6Yqet.cjs +0 -185
- package/components/index-C2qG2Sm8-CbVWlbag.cjs +0 -95
- package/components/index-CkDDDzuJ.js +0 -744
- package/components/index-CtHO6VyI.cjs +0 -42
- package/components/index-D4x-O9Uc.cjs +0 -192
- package/components/index-D9vzXhtJ.cjs +0 -95
- package/components/index-liTHhAef.cjs +0 -36
- package/components/language-resolution-8yZa5r_P-DQ3rZzW5.cjs +0 -52
- package/components/line-chart.config-BZcvfO2c.cjs +0 -20
- package/components/line-chart.config-CIVN6uLI.js +0 -115
- package/components/localize-DbobqcKs.cjs +0 -20
- package/components/luzmo-icons-BrtBl3E5.cjs +0 -31
- package/components/observe-slot-text-BG0H7bQK-C0wmc4DO.js +0 -221
- package/components/observe-slot-text-BG0H7bQK-CrkAqUMj.cjs +0 -86
- package/components/popover-bg0EQQ8p-D4-hrhIx.js +0 -86
- package/components/popover-bg0EQQ8p-Dha09dhV.cjs +0 -48
- package/components/property-CD3dwBJC.js +0 -1447
- package/components/property-Su1Q6aME.cjs +0 -124
- package/components/sized-mixin-PyCYpyQq-sKzDjc75.cjs +0 -36
- package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +0 -131
- package/components/text-field-7ITo3Lac-DqVO04kR.js +0 -412
- /package/{components/edit-option/item-configs/textobject.config.d.ts → item-definitions/combination-chart/combination-chart-options.config.d.ts} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
2
|
*
|
3
|
-
* Copyright ©
|
3
|
+
* Copyright © 2025 Luzmo
|
4
4
|
* All rights reserved.
|
5
5
|
* Luzmo web components (“Luzmo Web Components”)
|
6
6
|
* must be used according to the Luzmo Terms of Service.
|
@@ -17,2470 +17,27 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
var
|
21
|
-
var
|
22
|
-
var
|
23
|
-
import
|
24
|
-
import
|
25
|
-
import {
|
26
|
-
import {
|
27
|
-
import {
|
28
|
-
|
29
|
-
import { l as mo, u as po } from "../language-resolution-8yZa5r_P-CTSmbE1U.js";
|
30
|
-
import { i as Po } from "../text-field-7ITo3Lac-DqVO04kR.js";
|
31
|
-
import { p as Ro, d as Fo, a as To } from "../index-BRk42NQn.js";
|
32
|
-
import "../index-BqTdFs1o.js";
|
33
|
-
import "../index-DVaeDCbe.js";
|
34
|
-
import { o as eo } from "../when-CDK1Tt5Y-C6ViXC43.js";
|
35
|
-
import { a as Bo } from "../observe-slot-text-BG0H7bQK-C0wmc4DO.js";
|
36
|
-
import { m as Io } from "../roving-tabindex-DOg4z6ZU-dufnVmvL.js";
|
37
|
-
import "../index-BD3VxQBH.js";
|
38
|
-
import { e as No } from "../query-Ddbd72Um.js";
|
39
|
-
import { L as Uo } from "../edit-option-base-oIvlolV9.js";
|
40
|
-
const So = () => {
|
41
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
42
|
-
const r = document.createElement("style");
|
43
|
-
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
44
|
-
}
|
45
|
-
};
|
46
|
-
So();
|
47
|
-
/*! * Lucero - The design system for Luzmo.
|
48
|
-
*
|
49
|
-
* Copyright © 2025 Luzmo
|
50
|
-
* All rights reserved.
|
51
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
52
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
53
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
54
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
55
|
-
*
|
56
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
57
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
58
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
59
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
60
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
61
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
62
|
-
* SOFTWARE.
|
63
|
-
* */
|
64
|
-
const Oo = ':host{inline-size:var(--luzmo-color-loupe-width, 48px);block-size:var(--luzmo-color-loupe-height, 64px);transform:translateY(var(--luzmo-color-loupe-animation-distance, 8px));opacity:0;transform-origin:bottom;pointer-events:none;filter:drop-shadow(var(--luzmo-color-loupe-drop-shadow-x, 0) var(--luzmo-color-loupe-drop-shadow-y, 2px) var(--luzmo-color-loupe-drop-shadow-blur, 8px) var(--luzmo-color-loupe-drop-shadow-color, rgba(0, 0, 0, .25)));transition:transform .1s ease-in-out,opacity .125s ease-in-out;position:absolute;inset-block-end:calc(var(--luzmo-color-handle-size, 16px) - var(--luzmo-color-handle-outer-border-width, 1px) + var(--luzmo-color-loupe-offset, 12px));inset-inline-end:calc(50% - var(--luzmo-color-loupe-width, 48px) / 2)}:host:dir(rtl),:host([dir=rtl]){inset-inline-end:calc(50% - var(--luzmo-color-loupe-width, 48px) / 2 - 1px)}:host([open]){opacity:1;transform:translate(0)}.luzmo-color-loupe-inner-border{fill:var(--luzmo-picked-color);stroke:var(--luzmo-color-loupe-inner-border-color, rgba(0, 0, 0, .1));stroke-width:var(--luzmo-color-loupe-inner-border-width, 1px)}.luzmo-color-loupe-outer-border{fill:none;stroke:var(--luzmo-color-loupe-outer-border-color, white);stroke-width:calc(var(--luzmo-color-loupe-outer-border-width, 2px) + 2px);transform:translate(calc((var(--luzmo-color-loupe-outer-border-width, 2px) + 2px) / 2))}.luzmo-color-loupe-checkerboard-pattern{fill:var(--luzmo-color-loupe-checkerboard-dark-color, rgb(230, 230, 230))}.luzmo-color-loupe-checkerboard-background{fill:var(--luzmo-color-loupe-checkerboard-light-color, rgb(255, 255, 255))}.luzmo-color-loupe-checkerboard-fill{fill:var(--luzmo-color-loupe-checkerboard-fill, url(#checkerboard-primary))}@media (forced-colors: active){:host{--highcontrast-colorloupe-outer-border-color: CanvasText}}svg{width:inherit;height:inherit}.loupe-clipped{clip-path:path("M23 61.575C19.0044 57.435 15.2591 53.0606 11.784 48.475C8.68949 44.4532 5.96348 40.1608 3.639 35.65C1.224 30.8 0 26.549 0 23C0.00319993 17.6937 1.84059 12.5516 5.20091 8.44488C8.56122 4.33815 13.2378 1.51928 18.4385 0.465803C23.6392 -0.587678 29.0442 0.189006 33.7378 2.66428C38.4314 5.13955 42.125 9.16122 44.193 14.048C45.3915 16.88 46.0061 19.9248 46 23C46 26.551 44.774 30.811 42.355 35.661C40.0274 40.1747 37.298 44.4698 34.2 48.494C30.7297 53.0728 26.9898 57.4409 23 61.575ZZ")}.opacity-checkerboard{position:absolute;top:2px;left:2px;block-size:100%;inline-size:100%}.opacity-checkerboard{background:repeating-conic-gradient(var(--luzmo-color-loupe-checkerboard-light, rgb(255, 255, 255)) 0 25%,var(--luzmo-color-loupe-checkerboard-dark, rgb(230, 230, 230)) 0 50%) var(--luzmo-color-loupe-checkerboard-position, left top)/calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2) calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2)}';
|
65
|
-
var Do = Object.defineProperty, go = (r, o, e, t) => {
|
66
|
-
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
67
|
-
(a = r[i]) && (l = a(o, e, l) || l);
|
68
|
-
return l && Do(o, e, l), l;
|
69
|
-
};
|
70
|
-
const bo = class extends O {
|
71
|
-
constructor() {
|
72
|
-
super(...arguments), this.open = !1, this.color = "rgba(255, 0, 0, 0.5)";
|
73
|
-
}
|
74
|
-
render() {
|
75
|
-
return m`
|
76
|
-
<div class="opacity-checkerboard loupe-clipped"></div>
|
77
|
-
<div class="luzmo-color-loupe-inner-border loupe-clipped"></div>
|
78
|
-
<div class="luzmo-color-loupe-outer-border loupe-clipped"></div>
|
79
|
-
<svg
|
80
|
-
aria-hidden="true"
|
81
|
-
class="luzmo-color-loupe is-open"
|
82
|
-
overflow="visible"
|
83
|
-
style="--luzmo-picked-color: ${this.color}; position: absolute;"
|
84
|
-
>
|
85
|
-
<defs>
|
86
|
-
<path
|
87
|
-
id="loupe-path"
|
88
|
-
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"
|
89
|
-
transform="translate(2, 2)"
|
90
|
-
/>
|
91
|
-
<mask id="loupe-mask">
|
92
|
-
<rect x="0" y="0" height="100" width="100" fill="white" />
|
93
|
-
<use xlink:href="#path" fill="black" />
|
94
|
-
</mask>
|
95
|
-
</defs>
|
96
|
-
|
97
|
-
<g class="luzmo-color-loupe-loupe">
|
98
|
-
<g>
|
99
|
-
<use
|
100
|
-
xlink:href="#loupe-path"
|
101
|
-
mask="url(#loupe-mask)"
|
102
|
-
transform="translate(2, 2)"
|
103
|
-
class="luzmo-color-loupe-inner-border"
|
104
|
-
/>
|
105
|
-
<use
|
106
|
-
xlink:href="#loupe-path"
|
107
|
-
mask="url(#loupe-mask)"
|
108
|
-
class="luzmo-color-loupe-outer-border"
|
109
|
-
/>
|
110
|
-
</g>
|
111
|
-
</g>
|
112
|
-
</svg>
|
113
|
-
`;
|
114
|
-
}
|
115
|
-
};
|
116
|
-
bo.styles = R(Oo);
|
117
|
-
let zo = bo;
|
118
|
-
go([
|
119
|
-
s({ type: Boolean, reflect: !0 })
|
120
|
-
], zo.prototype, "open");
|
121
|
-
go([
|
122
|
-
s({ type: String })
|
123
|
-
], zo.prototype, "color");
|
124
|
-
/*! * Lucero - The design system for Luzmo.
|
125
|
-
*
|
126
|
-
* Copyright © 2025 Luzmo
|
127
|
-
* All rights reserved.
|
128
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
129
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
130
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
131
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
132
|
-
*
|
133
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
134
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
135
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
136
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
137
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
138
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
139
|
-
* SOFTWARE.
|
140
|
-
* */
|
141
|
-
const Lo = () => {
|
142
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
143
|
-
const r = document.createElement("style");
|
144
|
-
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
145
|
-
}
|
146
|
-
};
|
147
|
-
Lo();
|
148
|
-
const jo = ':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}}';
|
149
|
-
var qo = Object.defineProperty, W = (r, o, e, t) => {
|
150
|
-
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
151
|
-
(a = r[i]) && (l = a(o, e, l) || l);
|
152
|
-
return l && qo(o, e, l), l;
|
153
|
-
};
|
154
|
-
const fo = class extends O {
|
155
|
-
constructor() {
|
156
|
-
super(...arguments), this.disabled = !1, this.focused = !1, this.open = !1, this.color = "rgba(255, 0, 0, 0.5)";
|
157
|
-
}
|
158
|
-
handlePointerdown(o) {
|
159
|
-
o.pointerType === "touch" && (this.open = !0), this.setPointerCapture(o.pointerId);
|
160
|
-
}
|
161
|
-
handlePointerup(o) {
|
162
|
-
this.open = !1, this.releasePointerCapture(o.pointerId);
|
163
|
-
}
|
164
|
-
render() {
|
165
|
-
return m`
|
166
|
-
<div class="inner" style="background-color: ${this.color}"></div>
|
167
|
-
<luzmo-color-loupe
|
168
|
-
color=${this.color}
|
169
|
-
?open=${this.open && !this.disabled}
|
170
|
-
></luzmo-color-loupe>
|
171
|
-
`;
|
172
|
-
}
|
173
|
-
firstUpdated(o) {
|
174
|
-
super.firstUpdated(o), this.addEventListener("pointerdown", this.handlePointerdown), this.addEventListener("pointerup", this.handlePointerup), this.addEventListener("pointercancel", this.handlePointerup);
|
175
|
-
}
|
176
|
-
};
|
177
|
-
fo.styles = R(jo);
|
178
|
-
let D = fo;
|
179
|
-
W([
|
180
|
-
s({ type: Boolean, reflect: !0 })
|
181
|
-
], D.prototype, "disabled");
|
182
|
-
W([
|
183
|
-
s({ type: Boolean, reflect: !0 })
|
184
|
-
], D.prototype, "focused");
|
185
|
-
W([
|
186
|
-
s({ type: Boolean, reflect: !0 })
|
187
|
-
], D.prototype, "open");
|
188
|
-
W([
|
189
|
-
s({ type: String })
|
190
|
-
], D.prototype, "color");
|
191
|
-
customElements.get("luzmo-color-handle") || customElements.define("luzmo-color-handle", D);
|
192
|
-
const Ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
193
|
-
__proto__: null,
|
194
|
-
LuzmoColorHandle: D
|
195
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
196
|
-
/*! * Lucero - The design system for Luzmo.
|
197
|
-
*
|
198
|
-
* Copyright © 2025 Luzmo
|
199
|
-
* All rights reserved.
|
200
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
201
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
202
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
203
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
204
|
-
*
|
205
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
206
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
207
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
208
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
209
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
210
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
211
|
-
* SOFTWARE.
|
212
|
-
* */
|
213
|
-
function p(r, o) {
|
214
|
-
Vo(r) && (r = "100%");
|
215
|
-
const e = Xo(r);
|
216
|
-
return r = o === 360 ? r : Math.min(o, Math.max(0, parseFloat(r))), e && (r = parseInt(String(r * o), 10) / 100), Math.abs(r - o) < 1e-6 ? 1 : (o === 360 ? r = (r < 0 ? r % o + o : r % o) / parseFloat(String(o)) : r = r % o / parseFloat(String(o)), r);
|
217
|
-
}
|
218
|
-
function j(r) {
|
219
|
-
return Math.min(1, Math.max(0, r));
|
220
|
-
}
|
221
|
-
function Vo(r) {
|
222
|
-
return typeof r == "string" && r.indexOf(".") !== -1 && parseFloat(r) === 1;
|
223
|
-
}
|
224
|
-
function Xo(r) {
|
225
|
-
return typeof r == "string" && r.indexOf("%") !== -1;
|
226
|
-
}
|
227
|
-
function vo(r) {
|
228
|
-
return r = parseFloat(r), (isNaN(r) || r < 0 || r > 1) && (r = 1), r;
|
229
|
-
}
|
230
|
-
function q(r) {
|
231
|
-
return Number(r) <= 1 ? `${Number(r) * 100}%` : r;
|
232
|
-
}
|
233
|
-
function I(r) {
|
234
|
-
return r.length === 1 ? "0" + r : String(r);
|
235
|
-
}
|
236
|
-
function Wo(r, o, e) {
|
237
|
-
return {
|
238
|
-
r: p(r, 255) * 255,
|
239
|
-
g: p(o, 255) * 255,
|
240
|
-
b: p(e, 255) * 255
|
241
|
-
};
|
242
|
-
}
|
243
|
-
function ro(r, o, e) {
|
244
|
-
r = p(r, 255), o = p(o, 255), e = p(e, 255);
|
245
|
-
const t = Math.max(r, o, e), l = Math.min(r, o, e);
|
246
|
-
let i = 0, a = 0;
|
247
|
-
const n = (t + l) / 2;
|
248
|
-
if (t === l)
|
249
|
-
a = 0, i = 0;
|
250
|
-
else {
|
251
|
-
const c = t - l;
|
252
|
-
switch (a = n > 0.5 ? c / (2 - t - l) : c / (t + l), t) {
|
253
|
-
case r:
|
254
|
-
i = (o - e) / c + (o < e ? 6 : 0);
|
255
|
-
break;
|
256
|
-
case o:
|
257
|
-
i = (e - r) / c + 2;
|
258
|
-
break;
|
259
|
-
case e:
|
260
|
-
i = (r - o) / c + 4;
|
261
|
-
break;
|
262
|
-
}
|
263
|
-
i /= 6;
|
264
|
-
}
|
265
|
-
return { h: i, s: a, l: n };
|
266
|
-
}
|
267
|
-
function Z(r, o, e) {
|
268
|
-
return e < 0 && (e += 1), e > 1 && (e -= 1), e < 1 / 6 ? r + (o - r) * (6 * e) : e < 1 / 2 ? o : e < 2 / 3 ? r + (o - r) * (2 / 3 - e) * 6 : r;
|
269
|
-
}
|
270
|
-
function Yo(r, o, e) {
|
271
|
-
let t, l, i;
|
272
|
-
if (r = p(r, 360), o = p(o, 100), e = p(e, 100), o === 0)
|
273
|
-
l = e, i = e, t = e;
|
274
|
-
else {
|
275
|
-
const a = e < 0.5 ? e * (1 + o) : e + o - e * o, n = 2 * e - a;
|
276
|
-
t = Z(n, a, r + 1 / 3), l = Z(n, a, r), i = Z(n, a, r - 1 / 3);
|
277
|
-
}
|
278
|
-
return { r: t * 255, g: l * 255, b: i * 255 };
|
279
|
-
}
|
280
|
-
function to(r, o, e) {
|
281
|
-
r = p(r, 255), o = p(o, 255), e = p(e, 255);
|
282
|
-
const t = Math.max(r, o, e), l = Math.min(r, o, e);
|
283
|
-
let i = 0;
|
284
|
-
const a = t, n = t - l, c = t === 0 ? 0 : n / t;
|
285
|
-
if (t === l)
|
286
|
-
i = 0;
|
287
|
-
else {
|
288
|
-
switch (t) {
|
289
|
-
case r:
|
290
|
-
i = (o - e) / n + (o < e ? 6 : 0);
|
291
|
-
break;
|
292
|
-
case o:
|
293
|
-
i = (e - r) / n + 2;
|
294
|
-
break;
|
295
|
-
case e:
|
296
|
-
i = (r - o) / n + 4;
|
297
|
-
break;
|
298
|
-
}
|
299
|
-
i /= 6;
|
300
|
-
}
|
301
|
-
return { h: i, s: c, v: a };
|
302
|
-
}
|
303
|
-
function Zo(r, o, e) {
|
304
|
-
r = p(r, 360) * 6, o = p(o, 100), e = p(e, 100);
|
305
|
-
const t = Math.floor(r), l = r - t, i = e * (1 - o), a = e * (1 - l * o), n = e * (1 - (1 - l) * o), c = t % 6, d = [e, a, i, i, n, e][c], b = [n, e, e, a, i, i][c], B = [i, i, n, e, e, a][c];
|
306
|
-
return { r: d * 255, g: b * 255, b: B * 255 };
|
307
|
-
}
|
308
|
-
function lo(r, o, e, t) {
|
309
|
-
const l = [
|
310
|
-
I(Math.round(r).toString(16)),
|
311
|
-
I(Math.round(o).toString(16)),
|
312
|
-
I(Math.round(e).toString(16))
|
313
|
-
];
|
314
|
-
return t && l[0].startsWith(l[0].charAt(1)) && l[1].startsWith(l[1].charAt(1)) && l[2].startsWith(l[2].charAt(1)) ? l[0].charAt(0) + l[1].charAt(0) + l[2].charAt(0) : l.join("");
|
315
|
-
}
|
316
|
-
function Go(r, o, e, t, l) {
|
317
|
-
const i = [
|
318
|
-
I(Math.round(r).toString(16)),
|
319
|
-
I(Math.round(o).toString(16)),
|
320
|
-
I(Math.round(e).toString(16)),
|
321
|
-
I(Qo(t))
|
322
|
-
];
|
323
|
-
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("");
|
324
|
-
}
|
325
|
-
function Jo(r, o, e, t) {
|
326
|
-
const l = r / 100, i = o / 100, a = e / 100, n = t / 100, c = 255 * (1 - l) * (1 - n), d = 255 * (1 - i) * (1 - n), b = 255 * (1 - a) * (1 - n);
|
327
|
-
return { r: c, g: d, b };
|
328
|
-
}
|
329
|
-
function io(r, o, e) {
|
330
|
-
let t = 1 - r / 255, l = 1 - o / 255, i = 1 - e / 255, a = Math.min(t, l, i);
|
331
|
-
return a === 1 ? (t = 0, l = 0, i = 0) : (t = (t - a) / (1 - a) * 100, l = (l - a) / (1 - a) * 100, i = (i - a) / (1 - a) * 100), a *= 100, {
|
332
|
-
c: Math.round(t),
|
333
|
-
m: Math.round(l),
|
334
|
-
y: Math.round(i),
|
335
|
-
k: Math.round(a)
|
336
|
-
};
|
337
|
-
}
|
338
|
-
function Qo(r) {
|
339
|
-
return Math.round(parseFloat(r) * 255).toString(16);
|
340
|
-
}
|
341
|
-
function ao(r) {
|
342
|
-
return x(r) / 255;
|
343
|
-
}
|
344
|
-
function x(r) {
|
345
|
-
return parseInt(r, 16);
|
346
|
-
}
|
347
|
-
function oe(r) {
|
348
|
-
return {
|
349
|
-
r: r >> 16,
|
350
|
-
g: (r & 65280) >> 8,
|
351
|
-
b: r & 255
|
352
|
-
};
|
353
|
-
}
|
354
|
-
const Q = {
|
355
|
-
aliceblue: "#f0f8ff",
|
356
|
-
antiquewhite: "#faebd7",
|
357
|
-
aqua: "#00ffff",
|
358
|
-
aquamarine: "#7fffd4",
|
359
|
-
azure: "#f0ffff",
|
360
|
-
beige: "#f5f5dc",
|
361
|
-
bisque: "#ffe4c4",
|
362
|
-
black: "#000000",
|
363
|
-
blanchedalmond: "#ffebcd",
|
364
|
-
blue: "#0000ff",
|
365
|
-
blueviolet: "#8a2be2",
|
366
|
-
brown: "#a52a2a",
|
367
|
-
burlywood: "#deb887",
|
368
|
-
cadetblue: "#5f9ea0",
|
369
|
-
chartreuse: "#7fff00",
|
370
|
-
chocolate: "#d2691e",
|
371
|
-
coral: "#ff7f50",
|
372
|
-
cornflowerblue: "#6495ed",
|
373
|
-
cornsilk: "#fff8dc",
|
374
|
-
crimson: "#dc143c",
|
375
|
-
cyan: "#00ffff",
|
376
|
-
darkblue: "#00008b",
|
377
|
-
darkcyan: "#008b8b",
|
378
|
-
darkgoldenrod: "#b8860b",
|
379
|
-
darkgray: "#a9a9a9",
|
380
|
-
darkgreen: "#006400",
|
381
|
-
darkgrey: "#a9a9a9",
|
382
|
-
darkkhaki: "#bdb76b",
|
383
|
-
darkmagenta: "#8b008b",
|
384
|
-
darkolivegreen: "#556b2f",
|
385
|
-
darkorange: "#ff8c00",
|
386
|
-
darkorchid: "#9932cc",
|
387
|
-
darkred: "#8b0000",
|
388
|
-
darksalmon: "#e9967a",
|
389
|
-
darkseagreen: "#8fbc8f",
|
390
|
-
darkslateblue: "#483d8b",
|
391
|
-
darkslategray: "#2f4f4f",
|
392
|
-
darkslategrey: "#2f4f4f",
|
393
|
-
darkturquoise: "#00ced1",
|
394
|
-
darkviolet: "#9400d3",
|
395
|
-
deeppink: "#ff1493",
|
396
|
-
deepskyblue: "#00bfff",
|
397
|
-
dimgray: "#696969",
|
398
|
-
dimgrey: "#696969",
|
399
|
-
dodgerblue: "#1e90ff",
|
400
|
-
firebrick: "#b22222",
|
401
|
-
floralwhite: "#fffaf0",
|
402
|
-
forestgreen: "#228b22",
|
403
|
-
fuchsia: "#ff00ff",
|
404
|
-
gainsboro: "#dcdcdc",
|
405
|
-
ghostwhite: "#f8f8ff",
|
406
|
-
goldenrod: "#daa520",
|
407
|
-
gold: "#ffd700",
|
408
|
-
gray: "#808080",
|
409
|
-
green: "#008000",
|
410
|
-
greenyellow: "#adff2f",
|
411
|
-
grey: "#808080",
|
412
|
-
honeydew: "#f0fff0",
|
413
|
-
hotpink: "#ff69b4",
|
414
|
-
indianred: "#cd5c5c",
|
415
|
-
indigo: "#4b0082",
|
416
|
-
ivory: "#fffff0",
|
417
|
-
khaki: "#f0e68c",
|
418
|
-
lavenderblush: "#fff0f5",
|
419
|
-
lavender: "#e6e6fa",
|
420
|
-
lawngreen: "#7cfc00",
|
421
|
-
lemonchiffon: "#fffacd",
|
422
|
-
lightblue: "#add8e6",
|
423
|
-
lightcoral: "#f08080",
|
424
|
-
lightcyan: "#e0ffff",
|
425
|
-
lightgoldenrodyellow: "#fafad2",
|
426
|
-
lightgray: "#d3d3d3",
|
427
|
-
lightgreen: "#90ee90",
|
428
|
-
lightgrey: "#d3d3d3",
|
429
|
-
lightpink: "#ffb6c1",
|
430
|
-
lightsalmon: "#ffa07a",
|
431
|
-
lightseagreen: "#20b2aa",
|
432
|
-
lightskyblue: "#87cefa",
|
433
|
-
lightslategray: "#778899",
|
434
|
-
lightslategrey: "#778899",
|
435
|
-
lightsteelblue: "#b0c4de",
|
436
|
-
lightyellow: "#ffffe0",
|
437
|
-
lime: "#00ff00",
|
438
|
-
limegreen: "#32cd32",
|
439
|
-
linen: "#faf0e6",
|
440
|
-
magenta: "#ff00ff",
|
441
|
-
maroon: "#800000",
|
442
|
-
mediumaquamarine: "#66cdaa",
|
443
|
-
mediumblue: "#0000cd",
|
444
|
-
mediumorchid: "#ba55d3",
|
445
|
-
mediumpurple: "#9370db",
|
446
|
-
mediumseagreen: "#3cb371",
|
447
|
-
mediumslateblue: "#7b68ee",
|
448
|
-
mediumspringgreen: "#00fa9a",
|
449
|
-
mediumturquoise: "#48d1cc",
|
450
|
-
mediumvioletred: "#c71585",
|
451
|
-
midnightblue: "#191970",
|
452
|
-
mintcream: "#f5fffa",
|
453
|
-
mistyrose: "#ffe4e1",
|
454
|
-
moccasin: "#ffe4b5",
|
455
|
-
navajowhite: "#ffdead",
|
456
|
-
navy: "#000080",
|
457
|
-
oldlace: "#fdf5e6",
|
458
|
-
olive: "#808000",
|
459
|
-
olivedrab: "#6b8e23",
|
460
|
-
orange: "#ffa500",
|
461
|
-
orangered: "#ff4500",
|
462
|
-
orchid: "#da70d6",
|
463
|
-
palegoldenrod: "#eee8aa",
|
464
|
-
palegreen: "#98fb98",
|
465
|
-
paleturquoise: "#afeeee",
|
466
|
-
palevioletred: "#db7093",
|
467
|
-
papayawhip: "#ffefd5",
|
468
|
-
peachpuff: "#ffdab9",
|
469
|
-
peru: "#cd853f",
|
470
|
-
pink: "#ffc0cb",
|
471
|
-
plum: "#dda0dd",
|
472
|
-
powderblue: "#b0e0e6",
|
473
|
-
purple: "#800080",
|
474
|
-
rebeccapurple: "#663399",
|
475
|
-
red: "#ff0000",
|
476
|
-
rosybrown: "#bc8f8f",
|
477
|
-
royalblue: "#4169e1",
|
478
|
-
saddlebrown: "#8b4513",
|
479
|
-
salmon: "#fa8072",
|
480
|
-
sandybrown: "#f4a460",
|
481
|
-
seagreen: "#2e8b57",
|
482
|
-
seashell: "#fff5ee",
|
483
|
-
sienna: "#a0522d",
|
484
|
-
silver: "#c0c0c0",
|
485
|
-
skyblue: "#87ceeb",
|
486
|
-
slateblue: "#6a5acd",
|
487
|
-
slategray: "#708090",
|
488
|
-
slategrey: "#708090",
|
489
|
-
snow: "#fffafa",
|
490
|
-
springgreen: "#00ff7f",
|
491
|
-
steelblue: "#4682b4",
|
492
|
-
tan: "#d2b48c",
|
493
|
-
teal: "#008080",
|
494
|
-
thistle: "#d8bfd8",
|
495
|
-
tomato: "#ff6347",
|
496
|
-
turquoise: "#40e0d0",
|
497
|
-
violet: "#ee82ee",
|
498
|
-
wheat: "#f5deb3",
|
499
|
-
white: "#ffffff",
|
500
|
-
whitesmoke: "#f5f5f5",
|
501
|
-
yellow: "#ffff00",
|
502
|
-
yellowgreen: "#9acd32"
|
503
|
-
};
|
504
|
-
function ee(r) {
|
505
|
-
let o = { r: 0, g: 0, b: 0 }, e = 1, t = null, l = null, i = null, a = !1, n = !1;
|
506
|
-
return typeof r == "string" && (r = le(r)), typeof r == "object" && (v(r.r) && v(r.g) && v(r.b) ? (o = Wo(r.r, r.g, r.b), a = !0, n = String(r.r).substr(-1) === "%" ? "prgb" : "rgb") : v(r.h) && v(r.s) && v(r.v) ? (t = q(r.s), l = q(r.v), o = Zo(r.h, t, l), a = !0, n = "hsv") : v(r.h) && v(r.s) && v(r.l) ? (t = q(r.s), i = q(r.l), o = Yo(r.h, t, i), a = !0, n = "hsl") : v(r.c) && v(r.m) && v(r.y) && v(r.k) && (o = Jo(r.c, r.m, r.y, r.k), a = !0, n = "cmyk"), Object.prototype.hasOwnProperty.call(r, "a") && (e = r.a)), e = vo(e), {
|
507
|
-
ok: a,
|
508
|
-
format: r.format || n,
|
509
|
-
r: Math.min(255, Math.max(o.r, 0)),
|
510
|
-
g: Math.min(255, Math.max(o.g, 0)),
|
511
|
-
b: Math.min(255, Math.max(o.b, 0)),
|
512
|
-
a: e
|
513
|
-
};
|
514
|
-
}
|
515
|
-
const re = "[-\\+]?\\d+%?", te = "[-\\+]?\\d*\\.\\d+%?", P = "(?:" + te + ")|(?:" + re + ")", G = "[\\s|\\(]+(" + P + ")[,|\\s]+(" + P + ")[,|\\s]+(" + P + ")\\s*\\)?", K = (
|
516
|
-
// eslint-disable-next-line prettier/prettier
|
517
|
-
"[\\s|\\(]+(" + P + ")[,|\\s]+(" + P + ")[,|\\s]+(" + P + ")[,|\\s]+(" + P + ")\\s*\\)?"
|
518
|
-
), w = {
|
519
|
-
CSS_UNIT: new RegExp(P),
|
520
|
-
rgb: new RegExp("rgb" + G),
|
521
|
-
rgba: new RegExp("rgba" + K),
|
522
|
-
hsl: new RegExp("hsl" + G),
|
523
|
-
hsla: new RegExp("hsla" + K),
|
524
|
-
hsv: new RegExp("hsv" + G),
|
525
|
-
hsva: new RegExp("hsva" + K),
|
526
|
-
cmyk: new RegExp("cmyk" + K),
|
527
|
-
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
528
|
-
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
529
|
-
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
530
|
-
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
531
|
-
};
|
532
|
-
function le(r) {
|
533
|
-
if (r = r.trim().toLowerCase(), r.length === 0)
|
534
|
-
return !1;
|
535
|
-
let o = !1;
|
536
|
-
if (Q[r])
|
537
|
-
r = Q[r], o = !0;
|
538
|
-
else if (r === "transparent")
|
539
|
-
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
540
|
-
let e = w.rgb.exec(r);
|
541
|
-
return e ? { r: e[1], g: e[2], b: e[3] } : (e = w.rgba.exec(r), e ? { r: e[1], g: e[2], b: e[3], a: e[4] } : (e = w.hsl.exec(r), e ? { h: e[1], s: e[2], l: e[3] } : (e = w.hsla.exec(r), e ? { h: e[1], s: e[2], l: e[3], a: e[4] } : (e = w.hsv.exec(r), e ? { h: e[1], s: e[2], v: e[3] } : (e = w.hsva.exec(r), e ? { h: e[1], s: e[2], v: e[3], a: e[4] } : (e = w.cmyk.exec(r), e ? {
|
542
|
-
c: e[1],
|
543
|
-
m: e[2],
|
544
|
-
y: e[3],
|
545
|
-
k: e[4]
|
546
|
-
} : (e = w.hex8.exec(r), e ? {
|
547
|
-
r: x(e[1]),
|
548
|
-
g: x(e[2]),
|
549
|
-
b: x(e[3]),
|
550
|
-
a: ao(e[4]),
|
551
|
-
format: o ? "name" : "hex8"
|
552
|
-
} : (e = w.hex6.exec(r), e ? {
|
553
|
-
r: x(e[1]),
|
554
|
-
g: x(e[2]),
|
555
|
-
b: x(e[3]),
|
556
|
-
format: o ? "name" : "hex"
|
557
|
-
} : (e = w.hex4.exec(r), e ? {
|
558
|
-
r: x(e[1] + e[1]),
|
559
|
-
g: x(e[2] + e[2]),
|
560
|
-
b: x(e[3] + e[3]),
|
561
|
-
a: ao(e[4] + e[4]),
|
562
|
-
format: o ? "name" : "hex8"
|
563
|
-
} : (e = w.hex3.exec(r), e ? {
|
564
|
-
r: x(e[1] + e[1]),
|
565
|
-
g: x(e[2] + e[2]),
|
566
|
-
b: x(e[3] + e[3]),
|
567
|
-
format: o ? "name" : "hex"
|
568
|
-
} : !1))))))))));
|
569
|
-
}
|
570
|
-
function v(r) {
|
571
|
-
return typeof r == "number" ? !Number.isNaN(r) : w.CSS_UNIT.test(r);
|
572
|
-
}
|
573
|
-
let h = class u {
|
574
|
-
constructor(o = "", e = {}) {
|
575
|
-
if (o instanceof u)
|
576
|
-
return o;
|
577
|
-
typeof o == "number" && (o = oe(o)), this.originalInput = o;
|
578
|
-
const t = ee(o);
|
579
|
-
this.originalInput = o, this.r = t.r, this.g = t.g, this.b = t.b, this.a = t.a, this.roundA = Math.round(100 * this.a) / 100, this.format = e.format ?? t.format, this.gradientType = e.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = t.ok;
|
580
|
-
}
|
581
|
-
isDark() {
|
582
|
-
return this.getBrightness() < 128;
|
583
|
-
}
|
584
|
-
isLight() {
|
585
|
-
return !this.isDark();
|
586
|
-
}
|
587
|
-
/**
|
588
|
-
* Returns the perceived brightness of the color, from 0-255.
|
589
|
-
*/
|
590
|
-
getBrightness() {
|
591
|
-
const o = this.toRgb();
|
592
|
-
return (o.r * 299 + o.g * 587 + o.b * 114) / 1e3;
|
593
|
-
}
|
594
|
-
/**
|
595
|
-
* Returns the perceived luminance of a color, from 0-1.
|
596
|
-
*/
|
597
|
-
getLuminance() {
|
598
|
-
const o = this.toRgb();
|
599
|
-
let e, t, l;
|
600
|
-
const i = o.r / 255, a = o.g / 255, n = o.b / 255;
|
601
|
-
return i <= 0.03928 ? e = i / 12.92 : e = Math.pow((i + 0.055) / 1.055, 2.4), a <= 0.03928 ? t = a / 12.92 : t = Math.pow((a + 0.055) / 1.055, 2.4), n <= 0.03928 ? l = n / 12.92 : l = Math.pow((n + 0.055) / 1.055, 2.4), 0.2126 * e + 0.7152 * t + 0.0722 * l;
|
602
|
-
}
|
603
|
-
/**
|
604
|
-
* Returns the alpha value of a color, from 0-1.
|
605
|
-
*/
|
606
|
-
getAlpha() {
|
607
|
-
return this.a;
|
608
|
-
}
|
609
|
-
/**
|
610
|
-
* Sets the alpha value on the current color.
|
611
|
-
*
|
612
|
-
* @param alpha - The new alpha value. The accepted range is 0-1.
|
613
|
-
*/
|
614
|
-
setAlpha(o) {
|
615
|
-
return this.a = vo(o), this.roundA = Math.round(100 * this.a) / 100, this;
|
616
|
-
}
|
617
|
-
/**
|
618
|
-
* Returns whether the color is monochrome.
|
619
|
-
*/
|
620
|
-
isMonochrome() {
|
621
|
-
const { s: o } = this.toHsl();
|
622
|
-
return o === 0;
|
623
|
-
}
|
624
|
-
/**
|
625
|
-
* Returns the object as a HSVA object.
|
626
|
-
*/
|
627
|
-
toHsv() {
|
628
|
-
const o = to(this.r, this.g, this.b);
|
629
|
-
return { h: o.h * 360, s: o.s, v: o.v, a: this.a };
|
630
|
-
}
|
631
|
-
/**
|
632
|
-
* Returns the hsva values interpolated into a string with the following format:
|
633
|
-
* "hsva(xxx, xxx, xxx, xx)".
|
634
|
-
*/
|
635
|
-
toHsvString() {
|
636
|
-
const o = to(this.r, this.g, this.b), e = Math.round(o.h * 360), t = Math.round(o.s * 100), l = Math.round(o.v * 100);
|
637
|
-
return this.a === 1 ? `hsv(${e}, ${t}%, ${l}%)` : `hsva(${e}, ${t}%, ${l}%, ${this.roundA})`;
|
638
|
-
}
|
639
|
-
/**
|
640
|
-
* Returns the object as a HSLA object.
|
641
|
-
*/
|
642
|
-
toHsl() {
|
643
|
-
const o = ro(this.r, this.g, this.b);
|
644
|
-
return { h: o.h * 360, s: o.s, l: o.l, a: this.a };
|
645
|
-
}
|
646
|
-
/**
|
647
|
-
* Returns the hsla values interpolated into a string with the following format:
|
648
|
-
* "hsla(xxx, xxx, xxx, xx)".
|
649
|
-
*/
|
650
|
-
toHslString() {
|
651
|
-
const o = ro(this.r, this.g, this.b), e = Math.round(o.h * 360), t = Math.round(o.s * 100), l = Math.round(o.l * 100);
|
652
|
-
return this.a === 1 ? `hsl(${e}, ${t}%, ${l}%)` : `hsla(${e}, ${t}%, ${l}%, ${this.roundA})`;
|
653
|
-
}
|
654
|
-
/**
|
655
|
-
* Returns the hex value of the color.
|
656
|
-
* @param allow3Char will shorten hex value to 3 char if possible
|
657
|
-
*/
|
658
|
-
toHex(o = !1) {
|
659
|
-
return lo(this.r, this.g, this.b, o);
|
660
|
-
}
|
661
|
-
/**
|
662
|
-
* Returns the hex value of the color -with a # prefixed.
|
663
|
-
* @param allow3Char will shorten hex value to 3 char if possible
|
664
|
-
*/
|
665
|
-
toHexString(o = !1) {
|
666
|
-
return "#" + this.toHex(o);
|
667
|
-
}
|
668
|
-
/**
|
669
|
-
* Returns the hex 8 value of the color.
|
670
|
-
* @param allow4Char will shorten hex value to 4 char if possible
|
671
|
-
*/
|
672
|
-
toHex8(o = !1) {
|
673
|
-
return Go(this.r, this.g, this.b, this.a, o);
|
674
|
-
}
|
675
|
-
/**
|
676
|
-
* Returns the hex 8 value of the color -with a # prefixed.
|
677
|
-
* @param allow4Char will shorten hex value to 4 char if possible
|
678
|
-
*/
|
679
|
-
toHex8String(o = !1) {
|
680
|
-
return "#" + this.toHex8(o);
|
681
|
-
}
|
682
|
-
/**
|
683
|
-
* Returns the shorter hex value of the color depends on its alpha -with a # prefixed.
|
684
|
-
* @param allowShortChar will shorten hex value to 3 or 4 char if possible
|
685
|
-
*/
|
686
|
-
toHexShortString(o = !1) {
|
687
|
-
return this.a === 1 ? this.toHexString(o) : this.toHex8String(o);
|
688
|
-
}
|
689
|
-
/**
|
690
|
-
* Returns the object as a RGBA object.
|
691
|
-
*/
|
692
|
-
toRgb() {
|
693
|
-
return {
|
694
|
-
r: Math.round(this.r),
|
695
|
-
g: Math.round(this.g),
|
696
|
-
b: Math.round(this.b),
|
697
|
-
a: this.a
|
698
|
-
};
|
699
|
-
}
|
700
|
-
/**
|
701
|
-
* Returns the RGBA values interpolated into a string with the following format:
|
702
|
-
* "RGBA(xxx, xxx, xxx, xx)".
|
703
|
-
*/
|
704
|
-
toRgbString() {
|
705
|
-
const o = Math.round(this.r), e = Math.round(this.g), t = Math.round(this.b);
|
706
|
-
return this.a === 1 ? `rgb(${o}, ${e}, ${t})` : `rgba(${o}, ${e}, ${t}, ${this.roundA})`;
|
707
|
-
}
|
708
|
-
/**
|
709
|
-
* Returns the object as a RGBA object.
|
710
|
-
*/
|
711
|
-
toPercentageRgb() {
|
712
|
-
const o = (e) => `${Math.round(p(e, 255) * 100)}%`;
|
713
|
-
return {
|
714
|
-
r: o(this.r),
|
715
|
-
g: o(this.g),
|
716
|
-
b: o(this.b),
|
717
|
-
a: this.a
|
718
|
-
};
|
719
|
-
}
|
720
|
-
/**
|
721
|
-
* Returns the RGBA relative values interpolated into a string
|
722
|
-
*/
|
723
|
-
toPercentageRgbString() {
|
724
|
-
const o = (e) => Math.round(p(e, 255) * 100);
|
725
|
-
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})`;
|
726
|
-
}
|
727
|
-
toCmyk() {
|
728
|
-
return {
|
729
|
-
...io(this.r, this.g, this.b)
|
730
|
-
};
|
731
|
-
}
|
732
|
-
toCmykString() {
|
733
|
-
const { c: o, m: e, y: t, k: l } = io(this.r, this.g, this.b);
|
734
|
-
return `cmyk(${o}, ${e}, ${t}, ${l})`;
|
735
|
-
}
|
736
|
-
/**
|
737
|
-
* The 'real' name of the color -if there is one.
|
738
|
-
*/
|
739
|
-
toName() {
|
740
|
-
if (this.a === 0)
|
741
|
-
return "transparent";
|
742
|
-
if (this.a < 1)
|
743
|
-
return !1;
|
744
|
-
const o = "#" + lo(this.r, this.g, this.b, !1);
|
745
|
-
for (const [e, t] of Object.entries(Q))
|
746
|
-
if (o === t)
|
747
|
-
return e;
|
748
|
-
return !1;
|
749
|
-
}
|
750
|
-
toString(o) {
|
751
|
-
const e = !!o;
|
752
|
-
o = o ?? this.format;
|
753
|
-
let t = !1;
|
754
|
-
const l = this.a < 1 && this.a >= 0;
|
755
|
-
return !e && l && (o.startsWith("hex") || o === "name") ? o === "name" && this.a === 0 ? this.toName() : this.toRgbString() : (o === "rgb" && (t = this.toRgbString()), o === "prgb" && (t = this.toPercentageRgbString()), (o === "hex" || o === "hex6") && (t = this.toHexString()), o === "hex3" && (t = this.toHexString(!0)), o === "hex4" && (t = this.toHex8String(!0)), o === "hex8" && (t = this.toHex8String()), o === "name" && (t = this.toName()), o === "hsl" && (t = this.toHslString()), o === "hsv" && (t = this.toHsvString()), o === "cmyk" && (t = this.toCmykString()), t || this.toHexString());
|
756
|
-
}
|
757
|
-
toNumber() {
|
758
|
-
return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);
|
759
|
-
}
|
760
|
-
clone() {
|
761
|
-
return new u(this.toString());
|
762
|
-
}
|
763
|
-
/**
|
764
|
-
* Lighten the color a given amount. Providing 100 will always return white.
|
765
|
-
* @param amount - valid between 1-100
|
766
|
-
*/
|
767
|
-
lighten(o = 10) {
|
768
|
-
const e = this.toHsl();
|
769
|
-
return e.l += o / 100, e.l = j(e.l), new u(e);
|
770
|
-
}
|
771
|
-
/**
|
772
|
-
* Brighten the color a given amount, from 0 to 100.
|
773
|
-
* @param amount - valid between 1-100
|
774
|
-
*/
|
775
|
-
brighten(o = 10) {
|
776
|
-
const e = this.toRgb();
|
777
|
-
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);
|
778
|
-
}
|
779
|
-
/**
|
780
|
-
* Darken the color a given amount, from 0 to 100.
|
781
|
-
* Providing 100 will always return black.
|
782
|
-
* @param amount - valid between 1-100
|
783
|
-
*/
|
784
|
-
darken(o = 10) {
|
785
|
-
const e = this.toHsl();
|
786
|
-
return e.l -= o / 100, e.l = j(e.l), new u(e);
|
787
|
-
}
|
788
|
-
/**
|
789
|
-
* Mix the color with pure white, from 0 to 100.
|
790
|
-
* Providing 0 will do nothing, providing 100 will always return white.
|
791
|
-
* @param amount - valid between 1-100
|
792
|
-
*/
|
793
|
-
tint(o = 10) {
|
794
|
-
return this.mix("white", o);
|
795
|
-
}
|
796
|
-
/**
|
797
|
-
* Mix the color with pure black, from 0 to 100.
|
798
|
-
* Providing 0 will do nothing, providing 100 will always return black.
|
799
|
-
* @param amount - valid between 1-100
|
800
|
-
*/
|
801
|
-
shade(o = 10) {
|
802
|
-
return this.mix("black", o);
|
803
|
-
}
|
804
|
-
/**
|
805
|
-
* Desaturate the color a given amount, from 0 to 100.
|
806
|
-
* Providing 100 will is the same as calling greyscale
|
807
|
-
* @param amount - valid between 1-100
|
808
|
-
*/
|
809
|
-
desaturate(o = 10) {
|
810
|
-
const e = this.toHsl();
|
811
|
-
return e.s -= o / 100, e.s = j(e.s), new u(e);
|
812
|
-
}
|
813
|
-
/**
|
814
|
-
* Saturate the color a given amount, from 0 to 100.
|
815
|
-
* @param amount - valid between 1-100
|
816
|
-
*/
|
817
|
-
saturate(o = 10) {
|
818
|
-
const e = this.toHsl();
|
819
|
-
return e.s += o / 100, e.s = j(e.s), new u(e);
|
820
|
-
}
|
821
|
-
/**
|
822
|
-
* Completely desaturates a color into greyscale.
|
823
|
-
* Same as calling `desaturate(100)`
|
824
|
-
*/
|
825
|
-
greyscale() {
|
826
|
-
return this.desaturate(100);
|
827
|
-
}
|
828
|
-
/**
|
829
|
-
* Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
|
830
|
-
* Values outside of this range will be wrapped into this range.
|
831
|
-
*/
|
832
|
-
spin(o) {
|
833
|
-
const e = this.toHsl(), t = (e.h + o) % 360;
|
834
|
-
return e.h = t < 0 ? 360 + t : t, new u(e);
|
835
|
-
}
|
836
|
-
/**
|
837
|
-
* Mix the current color a given amount with another color, from 0 to 100.
|
838
|
-
* 0 means no mixing (return current color).
|
839
|
-
*/
|
840
|
-
mix(o, e = 50) {
|
841
|
-
const t = this.toRgb(), l = new u(o).toRgb(), i = e / 100, a = {
|
842
|
-
r: (l.r - t.r) * i + t.r,
|
843
|
-
g: (l.g - t.g) * i + t.g,
|
844
|
-
b: (l.b - t.b) * i + t.b,
|
845
|
-
a: (l.a - t.a) * i + t.a
|
846
|
-
};
|
847
|
-
return new u(a);
|
848
|
-
}
|
849
|
-
analogous(o = 6, e = 30) {
|
850
|
-
const t = this.toHsl(), l = 360 / e, i = [this];
|
851
|
-
for (t.h = (t.h - (l * o >> 1) + 720) % 360; --o; )
|
852
|
-
t.h = (t.h + l) % 360, i.push(new u(t));
|
853
|
-
return i;
|
854
|
-
}
|
855
|
-
/**
|
856
|
-
* taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js
|
857
|
-
*/
|
858
|
-
complement() {
|
859
|
-
const o = this.toHsl();
|
860
|
-
return o.h = (o.h + 180) % 360, new u(o);
|
861
|
-
}
|
862
|
-
monochromatic(o = 6) {
|
863
|
-
const e = this.toHsv(), { h: t } = e, { s: l } = e;
|
864
|
-
let { v: i } = e;
|
865
|
-
const a = [], n = 1 / o;
|
866
|
-
for (; o--; )
|
867
|
-
a.push(new u({ h: t, s: l, v: i })), i = (i + n) % 1;
|
868
|
-
return a;
|
869
|
-
}
|
870
|
-
splitcomplement() {
|
871
|
-
const o = this.toHsl(), { h: e } = o;
|
872
|
-
return [
|
873
|
-
this,
|
874
|
-
new u({ h: (e + 72) % 360, s: o.s, l: o.l }),
|
875
|
-
new u({ h: (e + 216) % 360, s: o.s, l: o.l })
|
876
|
-
];
|
877
|
-
}
|
878
|
-
/**
|
879
|
-
* Compute how the color would appear on a background
|
880
|
-
*/
|
881
|
-
onBackground(o) {
|
882
|
-
const e = this.toRgb(), t = new u(o).toRgb(), l = e.a + t.a * (1 - e.a);
|
883
|
-
return new u({
|
884
|
-
r: (e.r * e.a + t.r * t.a * (1 - e.a)) / l,
|
885
|
-
g: (e.g * e.a + t.g * t.a * (1 - e.a)) / l,
|
886
|
-
b: (e.b * e.a + t.b * t.a * (1 - e.a)) / l,
|
887
|
-
a: l
|
888
|
-
});
|
889
|
-
}
|
890
|
-
/**
|
891
|
-
* Alias for `polyad(3)`
|
892
|
-
*/
|
893
|
-
triad() {
|
894
|
-
return this.polyad(3);
|
895
|
-
}
|
896
|
-
/**
|
897
|
-
* Alias for `polyad(4)`
|
898
|
-
*/
|
899
|
-
tetrad() {
|
900
|
-
return this.polyad(4);
|
901
|
-
}
|
902
|
-
/**
|
903
|
-
* Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)
|
904
|
-
* monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...
|
905
|
-
*/
|
906
|
-
polyad(o) {
|
907
|
-
const e = this.toHsl(), { h: t } = e, l = [this], i = 360 / o;
|
908
|
-
for (let a = 1; a < o; a++)
|
909
|
-
l.push(new u({ h: (t + a * i) % 360, s: e.s, l: e.l }));
|
910
|
-
return l;
|
911
|
-
}
|
912
|
-
/**
|
913
|
-
* compare color vs current color
|
914
|
-
*/
|
915
|
-
equals(o) {
|
916
|
-
const e = new u(o);
|
917
|
-
return this.format === "cmyk" || e.format === "cmyk" ? this.toCmykString() === e.toCmykString() : this.toRgbString() === e.toRgbString();
|
918
|
-
}
|
919
|
-
};
|
920
|
-
/*! * Lucero - The design system for Luzmo.
|
921
|
-
*
|
922
|
-
* Copyright © 2025 Luzmo
|
923
|
-
* All rights reserved.
|
924
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
925
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
926
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
927
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
928
|
-
*
|
929
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
930
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
931
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
932
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
933
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
934
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
935
|
-
* SOFTWARE.
|
936
|
-
* */
|
937
|
-
const so = /^hs[v|l]a?\s?\((\d{1,3}\.?\d*?),?\s?(\d{1,3})/, no = /(^hs[v|l]a?\s?\()\d{1,3}\.?\d*?(,?\s?)\d{1,3}/, co = /(^hs[v|l]a?\()\d{1,3}/, V = (r, o) => o ? r.toHexString() : r.toHex();
|
938
|
-
let xo = class {
|
939
|
-
constructor(o, {
|
940
|
-
applyColorToState: e,
|
941
|
-
extractColorFromState: t,
|
942
|
-
maintains: l
|
943
|
-
}) {
|
944
|
-
this.maintains = "hue", this._hue = 0, this._opacity = 1, this.getColorProcesses = {
|
945
|
-
rgb: (i, a) => a ? i.toRgbString() : i.toRgb(),
|
946
|
-
prgb: (i, a) => a ? i.toPercentageRgbString() : i.toPercentageRgb(),
|
947
|
-
hex8: (i, a) => a ? i.toHex8String() : i.toHex8(),
|
948
|
-
name: (i) => i.toName() || i.toRgbString(),
|
949
|
-
hsl: (i, a) => {
|
950
|
-
if (this.maintains === "hue") {
|
951
|
-
if (a)
|
952
|
-
return i.toHslString().replace(co, `$1${this.hue}`);
|
953
|
-
const { s: b, l: B, a: Y } = i.toHsl();
|
954
|
-
return { h: this.hue, s: b, l: B, a: Y };
|
955
|
-
}
|
956
|
-
if (a)
|
957
|
-
return i.toHslString().replace(
|
958
|
-
no,
|
959
|
-
`$1${this.hue}$2${this.saturation}`
|
960
|
-
);
|
961
|
-
const { s: n, l: c, a: d } = i.toHsl();
|
962
|
-
return { h: this.hue, s: n, l: c, a: d };
|
963
|
-
},
|
964
|
-
hsv: (i, a) => {
|
965
|
-
if (this.maintains === "hue") {
|
966
|
-
if (a)
|
967
|
-
return i.toHsvString().replace(co, `$1${this.hue}`);
|
968
|
-
const { s: b, v: B, a: Y } = i.toHsv();
|
969
|
-
return { h: this.hue, s: b, v: B, a: Y };
|
970
|
-
}
|
971
|
-
if (a)
|
972
|
-
return i.toHsvString().replace(
|
973
|
-
no,
|
974
|
-
`$1${this.hue}$2${this.saturation}`
|
975
|
-
);
|
976
|
-
const { s: n, v: c, a: d } = i.toHsv();
|
977
|
-
return { h: this.hue, s: n, v: c, a: d };
|
978
|
-
},
|
979
|
-
hex: V,
|
980
|
-
hex3: V,
|
981
|
-
hex4: V,
|
982
|
-
hex6: V
|
983
|
-
}, this._color = new h({ h: 0, s: 1, v: 1 }), this._previousColor = new h({ h: 0, s: 1, v: 1 }), this._format = {
|
984
|
-
format: "",
|
985
|
-
isString: !1
|
986
|
-
}, this.host = o, this.applyColorToState = e, this.extractColorFromState = t, this.maintains = l || this.maintains;
|
987
|
-
}
|
988
|
-
setColorProcess(o, e, t, l) {
|
989
|
-
this.maintains === "hue" ? this.setColorMaintainHue(o, e, t, l) : this.maintains === "saturation" && this.setColorMaintainSaturation(
|
990
|
-
o,
|
991
|
-
e,
|
992
|
-
t,
|
993
|
-
l
|
994
|
-
);
|
995
|
-
}
|
996
|
-
setColorMaintainHue(o, e, t, l) {
|
997
|
-
const { h: i, s: a, v: n, a: c } = this._color.toHsv();
|
998
|
-
let d;
|
999
|
-
if (l && t.startsWith("hs")) {
|
1000
|
-
const b = so.exec(e);
|
1001
|
-
if (b !== null) {
|
1002
|
-
const [, B] = b;
|
1003
|
-
d = Number(B);
|
1004
|
-
}
|
1005
|
-
} else if (!l && t.startsWith("hs")) {
|
1006
|
-
const b = o.originalInput;
|
1007
|
-
d = Object.values(b)[0];
|
1008
|
-
}
|
1009
|
-
this.hue = d || i, this.opacity = c ?? 1, this.applyColorToState({ h: i, s: a, v: n, a: c });
|
1010
|
-
}
|
1011
|
-
setColorMaintainSaturation(o, e, t, l) {
|
1012
|
-
const { a: i } = this._color.toHsv();
|
1013
|
-
if (l && t.startsWith("hs")) {
|
1014
|
-
const a = so.exec(e);
|
1015
|
-
if (a !== null) {
|
1016
|
-
const [, n, c] = a;
|
1017
|
-
this.hue = Number(n), this.saturation = Number(c);
|
1018
|
-
}
|
1019
|
-
} else if (!l && t.startsWith("hs")) {
|
1020
|
-
const a = o.originalInput, n = Object.values(a);
|
1021
|
-
this.hue = n[0], this.saturation = n[1];
|
1022
|
-
} else {
|
1023
|
-
const { h: a } = o.toHsv();
|
1024
|
-
this.hue = a;
|
1025
|
-
}
|
1026
|
-
this.opacity = i ?? 1, this.applyColorToState(o.toHsv());
|
1027
|
-
}
|
1028
|
-
applyColorFromState() {
|
1029
|
-
this._color = new h(this.extractColorFromState(this));
|
1030
|
-
}
|
1031
|
-
get hue() {
|
1032
|
-
return this._hue;
|
1033
|
-
}
|
1034
|
-
set hue(o) {
|
1035
|
-
const e = Math.min(360, Math.max(0, o));
|
1036
|
-
if (e === this.hue)
|
1037
|
-
return;
|
1038
|
-
const t = this.hue, { s: l, v: i, a } = this._color.toHsv();
|
1039
|
-
this._color = new h({ h: e, s: l, v: i, a }), this._hue = e, this.host.requestUpdate("hue", t);
|
1040
|
-
}
|
1041
|
-
get opacity() {
|
1042
|
-
return this._opacity;
|
1043
|
-
}
|
1044
|
-
set opacity(o) {
|
1045
|
-
const e = Math.min(1, Math.max(0, o));
|
1046
|
-
if (e === this.opacity)
|
1047
|
-
return;
|
1048
|
-
const t = this.opacity, { h: l, s: i, v: a } = this._color.toHsv();
|
1049
|
-
this._color = new h({ h: l, s: i, v: a, a: e }), this._opacity = e, this.host.requestUpdate("opacity", t);
|
1050
|
-
}
|
1051
|
-
/* c8 ignore next 3 */
|
1052
|
-
get value() {
|
1053
|
-
return this.color;
|
1054
|
-
}
|
1055
|
-
get color() {
|
1056
|
-
return this.getColorProcesses[this._format.format || "hex"](
|
1057
|
-
this._color,
|
1058
|
-
this._format.isString
|
1059
|
-
);
|
1060
|
-
}
|
1061
|
-
set color(o) {
|
1062
|
-
if (o === this.color)
|
1063
|
-
return;
|
1064
|
-
const e = this._color;
|
1065
|
-
this._color = new h(o);
|
1066
|
-
const t = this._color.format;
|
1067
|
-
let l = typeof o == "string" || o instanceof String;
|
1068
|
-
t.startsWith("hex") && (l = o.startsWith("#")), this._format = {
|
1069
|
-
format: t,
|
1070
|
-
isString: l
|
1071
|
-
}, this.setColorProcess(this._color, o, t, l), this.host.requestUpdate("color", e);
|
1072
|
-
}
|
1073
|
-
getColor(o) {
|
1074
|
-
const e = {
|
1075
|
-
hsl: "toHsl"
|
1076
|
-
};
|
1077
|
-
return this._color[e[o]]();
|
1078
|
-
}
|
1079
|
-
setColor(o) {
|
1080
|
-
this._color = o;
|
1081
|
-
const e = typeof this._color.originalInput == "string" || this._color.originalInput instanceof String;
|
1082
|
-
this.setColorProcess(this._color, o, this._color.format, e);
|
1083
|
-
}
|
1084
|
-
getHslString() {
|
1085
|
-
return this._color.toHslString();
|
1086
|
-
}
|
1087
|
-
savePreviousColor() {
|
1088
|
-
this._previousColor = this._color.clone();
|
1089
|
-
}
|
1090
|
-
restorePreviousColor() {
|
1091
|
-
this.setColor(this._previousColor);
|
1092
|
-
}
|
1093
|
-
};
|
1094
|
-
/*! * Lucero - The design system for Luzmo.
|
1095
|
-
*
|
1096
|
-
* Copyright © 2025 Luzmo
|
1097
|
-
* All rights reserved.
|
1098
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1099
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
1100
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1101
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1102
|
-
*
|
1103
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1104
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1105
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1106
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1107
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1108
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1109
|
-
* SOFTWARE.
|
1110
|
-
* */
|
1111
|
-
const ie = () => {
|
20
|
+
var a = Object.getPrototypeOf;
|
21
|
+
var d = Reflect.get;
|
22
|
+
var s = (l, c, i) => d(a(l), i, c);
|
23
|
+
import "../index-DTI4dIyd.js";
|
24
|
+
import "../index-BssHAgUU.js";
|
25
|
+
import { x as p, n as r } from "../property-DCzt3DR1.js";
|
26
|
+
import { e as f } from "../query-Ddbd72Um.js";
|
27
|
+
import { L as h } from "../edit-option-base-CG0JcbX9.js";
|
28
|
+
const z = () => {
|
1112
29
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
1113
|
-
const
|
1114
|
-
|
1115
|
-
}
|
1116
|
-
};
|
1117
|
-
ie();
|
1118
|
-
const ae = "@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}";
|
1119
|
-
var se = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, z = (r, o, e, t) => {
|
1120
|
-
for (var l = t > 1 ? void 0 : t ? ne(o, e) : o, i = r.length - 1, a; i >= 0; i--)
|
1121
|
-
(a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
|
1122
|
-
return t && l && se(o, e, l), l;
|
1123
|
-
};
|
1124
|
-
class g extends O {
|
1125
|
-
constructor() {
|
1126
|
-
super(...arguments), this.disabled = !1, this.focused = !1, this.labelX = "saturation", this.labelY = "luminosity", this.isLTR = !0, this.languageResolver = new mo(this), this.colorController = new xo(this, {
|
1127
|
-
extractColorFromState: () => ({
|
1128
|
-
h: this.hue,
|
1129
|
-
s: this.x,
|
1130
|
-
v: this.y
|
1131
|
-
}),
|
1132
|
-
applyColorToState: ({ s: o, v: e }) => {
|
1133
|
-
this._x = o, this._y = e, this.requestUpdate();
|
1134
|
-
}
|
1135
|
-
}), this.activeAxis = "x", this._x = 1, this._y = 1, this.step = 0.01, this.altered = 0, this.activeKeys = /* @__PURE__ */ new Set(), this._valueChanged = !1, this._pointerDown = !1;
|
1136
|
-
}
|
1137
|
-
static get styles() {
|
1138
|
-
return [R(ae)];
|
1139
|
-
}
|
1140
|
-
get hue() {
|
1141
|
-
return this.colorController.hue;
|
1142
|
-
}
|
1143
|
-
set hue(o) {
|
1144
|
-
this.colorController.hue = o;
|
1145
|
-
}
|
1146
|
-
get value() {
|
1147
|
-
return this.colorController.color;
|
1148
|
-
}
|
1149
|
-
get color() {
|
1150
|
-
return this.colorController.color;
|
1151
|
-
}
|
1152
|
-
set color(o) {
|
1153
|
-
this.colorController.color = o;
|
1154
|
-
}
|
1155
|
-
get x() {
|
1156
|
-
return this._x;
|
1157
|
-
}
|
1158
|
-
set x(o) {
|
1159
|
-
if (o === this.x)
|
1160
|
-
return;
|
1161
|
-
const e = this.x;
|
1162
|
-
this._x = o, this.inputX && (this.inputX.value = o.toString(), this._x = this.inputX.valueAsNumber), this.requestUpdate("x", e), this.colorController.applyColorFromState();
|
1163
|
-
}
|
1164
|
-
get y() {
|
1165
|
-
return this._y;
|
1166
|
-
}
|
1167
|
-
set y(o) {
|
1168
|
-
if (o === this.y)
|
1169
|
-
return;
|
1170
|
-
const e = this.y;
|
1171
|
-
this._y = o, this.inputY && (this.inputY.value = o.toString(), this._y = this.inputY.valueAsNumber), this.requestUpdate("y", e), this.colorController.applyColorFromState();
|
1172
|
-
}
|
1173
|
-
focus(o = {}) {
|
1174
|
-
super.focus(o), this.forwardFocus();
|
1175
|
-
}
|
1176
|
-
forwardFocus() {
|
1177
|
-
this.activeAxis === "x" ? this.inputX.focus() : this.inputY.focus();
|
1178
|
-
}
|
1179
|
-
handleFocus() {
|
1180
|
-
this.focused = !0, this._valueChanged = !1;
|
1181
|
-
}
|
1182
|
-
handleBlur() {
|
1183
|
-
this._pointerDown || (this.altered = 0, this.focused = !1, this._valueChanged = !1);
|
1184
|
-
}
|
1185
|
-
handleKeydown(o) {
|
1186
|
-
const { code: e } = o;
|
1187
|
-
this.focused = !0, this.altered = [o.shiftKey, o.ctrlKey, o.altKey].filter(
|
1188
|
-
(t) => !!t
|
1189
|
-
).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());
|
1190
|
-
}
|
1191
|
-
handleKeypress() {
|
1192
|
-
let o = 0, e = 0;
|
1193
|
-
const t = Math.max(this.step, this.altered * 5 * this.step);
|
1194
|
-
this.activeKeys.forEach((l) => {
|
1195
|
-
switch (l) {
|
1196
|
-
case "ArrowUp": {
|
1197
|
-
e = t;
|
1198
|
-
break;
|
1199
|
-
}
|
1200
|
-
case "ArrowDown": {
|
1201
|
-
e = t * -1;
|
1202
|
-
break;
|
1203
|
-
}
|
1204
|
-
case "ArrowLeft": {
|
1205
|
-
o = this.step * (this.isLTR ? -1 : 1);
|
1206
|
-
break;
|
1207
|
-
}
|
1208
|
-
case "ArrowRight": {
|
1209
|
-
o = this.step * (this.isLTR ? 1 : -1);
|
1210
|
-
break;
|
1211
|
-
}
|
1212
|
-
case "PageUp": {
|
1213
|
-
e = t * 10;
|
1214
|
-
break;
|
1215
|
-
}
|
1216
|
-
case "PageDown": {
|
1217
|
-
e = t * -10;
|
1218
|
-
break;
|
1219
|
-
}
|
1220
|
-
case "Home": {
|
1221
|
-
o = t * (this.isLTR ? -10 : 10);
|
1222
|
-
break;
|
1223
|
-
}
|
1224
|
-
case "End": {
|
1225
|
-
o = t * (this.isLTR ? 10 : -10);
|
1226
|
-
break;
|
1227
|
-
}
|
1228
|
-
}
|
1229
|
-
}), 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(
|
1230
|
-
new Event("input", {
|
1231
|
-
bubbles: !0,
|
1232
|
-
composed: !0
|
1233
|
-
})
|
1234
|
-
), this.dispatchEvent(
|
1235
|
-
new Event("change", {
|
1236
|
-
bubbles: !0,
|
1237
|
-
composed: !0,
|
1238
|
-
cancelable: !0
|
1239
|
-
})
|
1240
|
-
) || this.colorController.restorePreviousColor());
|
1241
|
-
}
|
1242
|
-
handleKeyup(o) {
|
1243
|
-
o.preventDefault();
|
1244
|
-
const { code: e } = o;
|
1245
|
-
this.activeKeys.delete(e);
|
1246
|
-
}
|
1247
|
-
handleInput(o) {
|
1248
|
-
const { valueAsNumber: e, name: t } = o.target;
|
1249
|
-
this[t] = e, this.colorController.applyColorFromState();
|
1250
|
-
}
|
1251
|
-
handleChange(o) {
|
1252
|
-
this.handleInput(o), this.dispatchEvent(
|
1253
|
-
new Event("change", {
|
1254
|
-
bubbles: !0,
|
1255
|
-
composed: !0,
|
1256
|
-
cancelable: !0
|
1257
|
-
})
|
1258
|
-
);
|
1259
|
-
}
|
1260
|
-
handlePointerdown(o) {
|
1261
|
-
if (o.button !== 0) {
|
1262
|
-
o.preventDefault();
|
1263
|
-
return;
|
1264
|
-
}
|
1265
|
-
this._pointerDown = !0, this.colorController.savePreviousColor(), this.boundingClientRect = this.getBoundingClientRect(), o.target.setPointerCapture(o.pointerId), o.pointerType === "mouse" && (this.focused = !0);
|
1266
|
-
}
|
1267
|
-
handlePointermove(o) {
|
1268
|
-
const [e, t] = this.calculateHandlePosition(o);
|
1269
|
-
this._valueChanged = !1, this.x = e, this.y = 1 - t, this.colorController.applyColorFromState(), this.dispatchEvent(
|
1270
|
-
new Event("input", {
|
1271
|
-
bubbles: !0,
|
1272
|
-
composed: !0,
|
1273
|
-
cancelable: !0
|
1274
|
-
})
|
1275
|
-
);
|
1276
|
-
}
|
1277
|
-
handlePointerup(o) {
|
1278
|
-
o.preventDefault(), this._pointerDown = !1, o.target.releasePointerCapture(o.pointerId);
|
1279
|
-
const e = this.dispatchEvent(
|
1280
|
-
new Event("change", {
|
1281
|
-
bubbles: !0,
|
1282
|
-
composed: !0,
|
1283
|
-
cancelable: !0
|
1284
|
-
})
|
1285
|
-
);
|
1286
|
-
this.inputX.focus(), o.pointerType === "mouse" && (this.focused = !1), e || this.colorController.restorePreviousColor();
|
1287
|
-
}
|
1288
|
-
/**
|
1289
|
-
* Returns the value under the cursor
|
1290
|
-
* @param: PointerEvent on slider
|
1291
|
-
* @return: Slider value that correlates to the position under the pointer
|
1292
|
-
*/
|
1293
|
-
calculateHandlePosition(o) {
|
1294
|
-
if (!this.boundingClientRect)
|
1295
|
-
return [this.x, this.y];
|
1296
|
-
const e = this.boundingClientRect, t = e.left, l = e.top, i = o.clientX, a = o.clientY, n = e.width, c = e.height, d = Math.max(0, Math.min(1, (i - t) / n)), b = Math.max(0, Math.min(1, (a - l) / c));
|
1297
|
-
return [this.isLTR ? d : 1 - d, b];
|
1298
|
-
}
|
1299
|
-
handleAreaPointerdown(o) {
|
1300
|
-
o.button === 0 && (o.stopPropagation(), o.preventDefault(), this.handle.dispatchEvent(new PointerEvent("pointerdown", o)), this.handlePointermove(o));
|
1301
|
-
}
|
1302
|
-
render() {
|
1303
|
-
const { width: o = 0, height: e = 0 } = this.boundingClientRect || {}, t = Mo() || Ho(), l = "Color Picker", i = N(t ? void 0 : "2d slider"), a = this.labelX, n = this.labelY, c = new Intl.NumberFormat(this.languageResolver.language, {
|
1304
|
-
style: "percent",
|
1305
|
-
unitDisplay: "narrow"
|
1306
|
-
}).format(this.x), d = new Intl.NumberFormat(this.languageResolver.language, {
|
1307
|
-
style: "percent",
|
1308
|
-
unitDisplay: "narrow"
|
1309
|
-
}).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%);`;
|
1310
|
-
return m`
|
1311
|
-
<div
|
1312
|
-
@pointerdown=${this.handleAreaPointerdown}
|
1313
|
-
class="gradient"
|
1314
|
-
style="background: ${b}"
|
1315
|
-
>
|
1316
|
-
<slot name="gradient"></slot>
|
1317
|
-
</div>
|
1318
|
-
|
1319
|
-
<luzmo-color-handle
|
1320
|
-
tabindex=${N(this.focused ? void 0 : "0")}
|
1321
|
-
@focus=${this.forwardFocus}
|
1322
|
-
?focused=${this.focused}
|
1323
|
-
class="handle"
|
1324
|
-
color=${this.colorController.getHslString()}
|
1325
|
-
?disabled=${this.disabled}
|
1326
|
-
style=${`transform: translate(${(this.isLTR ? this.x : 1 - this.x) * o}px, ${e - this.y * e}px);`}
|
1327
|
-
${po({
|
1328
|
-
start: ["pointerdown", this.handlePointerdown],
|
1329
|
-
streamInside: ["pointermove", this.handlePointermove],
|
1330
|
-
end: [
|
1331
|
-
["pointerup", "pointercancel", "pointerleave"],
|
1332
|
-
this.handlePointerup
|
1333
|
-
]
|
1334
|
-
})}
|
1335
|
-
></luzmo-color-handle>
|
1336
|
-
|
1337
|
-
<fieldset
|
1338
|
-
class="fieldset"
|
1339
|
-
aria-label=${N(t ? l : void 0)}
|
1340
|
-
>
|
1341
|
-
<div role="presentation">
|
1342
|
-
<input
|
1343
|
-
type="range"
|
1344
|
-
class="slider"
|
1345
|
-
name="x"
|
1346
|
-
aria-label=${t ? a : `${a} ${l}`}
|
1347
|
-
aria-roledescription=${i}
|
1348
|
-
aria-orientation="horizontal"
|
1349
|
-
aria-valuetext=${t ? c : `${c}, ${a}${this._valueChanged ? "" : `, ${d}, ${n}`}`}
|
1350
|
-
min="0"
|
1351
|
-
max="1"
|
1352
|
-
step=${this.step}
|
1353
|
-
tabindex="-1"
|
1354
|
-
.value=${String(this.x)}
|
1355
|
-
@input=${this.handleInput}
|
1356
|
-
@change=${this.handleChange}
|
1357
|
-
/>
|
1358
|
-
</div>
|
1359
|
-
<div role="presentation">
|
1360
|
-
<input
|
1361
|
-
type="range"
|
1362
|
-
class="slider"
|
1363
|
-
name="y"
|
1364
|
-
aria-label=${t ? n : `${n} ${l}`}
|
1365
|
-
aria-roledescription=${i}
|
1366
|
-
aria-orientation="vertical"
|
1367
|
-
aria-valuetext=${t ? d : `${d}, ${n}${this._valueChanged ? "" : `, ${c}, ${a}`}`}
|
1368
|
-
orient="vertical"
|
1369
|
-
min="0"
|
1370
|
-
max="1"
|
1371
|
-
step=${this.step}
|
1372
|
-
tabindex="-1"
|
1373
|
-
.value=${String(this.y)}
|
1374
|
-
@input=${this.handleInput}
|
1375
|
-
@change=${this.handleChange}
|
1376
|
-
/>
|
1377
|
-
</div>
|
1378
|
-
</fieldset>
|
1379
|
-
`;
|
1380
|
-
}
|
1381
|
-
firstUpdated(o) {
|
1382
|
-
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);
|
1383
|
-
}
|
1384
|
-
updated(o) {
|
1385
|
-
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) {
|
1386
|
-
const e = this.inputX.parentElement, t = this.inputY.parentElement;
|
1387
|
-
if (!e.shadowRoot && !t.shadowRoot) {
|
1388
|
-
e.attachShadow({ mode: "open" }), t.attachShadow({ mode: "open" });
|
1389
|
-
const l = '<div tabindex="-1"><slot></slot></div>';
|
1390
|
-
e.shadowRoot.innerHTML = l, t.shadowRoot.innerHTML = l;
|
1391
|
-
}
|
1392
|
-
}
|
1393
|
-
}
|
1394
|
-
connectedCallback() {
|
1395
|
-
var o;
|
1396
|
-
super.connectedCallback(), !this.observer && window.ResizeObserver && (this.observer = new window.ResizeObserver((e) => {
|
1397
|
-
for (const t of e)
|
1398
|
-
this.boundingClientRect = t.contentRect;
|
1399
|
-
this.requestUpdate();
|
1400
|
-
})), (o = this.observer) == null || o.observe(this);
|
1401
|
-
}
|
1402
|
-
disconnectedCallback() {
|
1403
|
-
var o;
|
1404
|
-
(o = this.observer) == null || o.unobserve(this), super.disconnectedCallback();
|
1405
|
-
}
|
1406
|
-
}
|
1407
|
-
z([
|
1408
|
-
s({ type: String, reflect: !0 })
|
1409
|
-
], g.prototype, "dir", 2);
|
1410
|
-
z([
|
1411
|
-
s({ type: Boolean, reflect: !0 })
|
1412
|
-
], g.prototype, "disabled", 2);
|
1413
|
-
z([
|
1414
|
-
s({ type: Boolean, reflect: !0 })
|
1415
|
-
], g.prototype, "focused", 2);
|
1416
|
-
z([
|
1417
|
-
s({ type: String, attribute: "label-x" })
|
1418
|
-
], g.prototype, "labelX", 2);
|
1419
|
-
z([
|
1420
|
-
s({ type: String, attribute: "label-y" })
|
1421
|
-
], g.prototype, "labelY", 2);
|
1422
|
-
z([
|
1423
|
-
s({ type: Boolean, attribute: "is-ltr" })
|
1424
|
-
], g.prototype, "isLTR", 2);
|
1425
|
-
z([
|
1426
|
-
C(".handle")
|
1427
|
-
], g.prototype, "handle", 2);
|
1428
|
-
z([
|
1429
|
-
s({ type: Number })
|
1430
|
-
], g.prototype, "hue", 1);
|
1431
|
-
z([
|
1432
|
-
s({ type: String })
|
1433
|
-
], g.prototype, "value", 1);
|
1434
|
-
z([
|
1435
|
-
s({ type: String })
|
1436
|
-
], g.prototype, "color", 1);
|
1437
|
-
z([
|
1438
|
-
s({ attribute: !1 })
|
1439
|
-
], g.prototype, "activeAxis", 2);
|
1440
|
-
z([
|
1441
|
-
s({ type: Number })
|
1442
|
-
], g.prototype, "x", 1);
|
1443
|
-
z([
|
1444
|
-
s({ type: Number })
|
1445
|
-
], g.prototype, "y", 1);
|
1446
|
-
z([
|
1447
|
-
s({ type: Number })
|
1448
|
-
], g.prototype, "step", 2);
|
1449
|
-
z([
|
1450
|
-
C('[name="x"]')
|
1451
|
-
], g.prototype, "inputX", 2);
|
1452
|
-
z([
|
1453
|
-
C('[name="y"]')
|
1454
|
-
], g.prototype, "inputY", 2);
|
1455
|
-
customElements.get("luzmo-color-area") || customElements.define("luzmo-color-area", g);
|
1456
|
-
/*! * Lucero - The design system for Luzmo.
|
1457
|
-
*
|
1458
|
-
* Copyright © 2025 Luzmo
|
1459
|
-
* All rights reserved.
|
1460
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1461
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
1462
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1463
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1464
|
-
*
|
1465
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1466
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1467
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1468
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1469
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1470
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1471
|
-
* SOFTWARE.
|
1472
|
-
* */
|
1473
|
-
const ce = () => {
|
1474
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
1475
|
-
const r = document.createElement("style");
|
1476
|
-
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
1477
|
-
}
|
1478
|
-
};
|
1479
|
-
ce();
|
1480
|
-
var ue = Object.defineProperty, he = (r, o, e, t) => {
|
1481
|
-
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
1482
|
-
(a = r[i]) && (l = a(o, e, l) || l);
|
1483
|
-
return l && ue(o, e, l), l;
|
1484
|
-
};
|
1485
|
-
let yo = class extends Po {
|
1486
|
-
constructor() {
|
1487
|
-
super(...arguments), this.viewColor = !1, this._value = "", this.cachedColor = null, this.cachedTinyColor = null;
|
1488
|
-
}
|
1489
|
-
static get styles() {
|
1490
|
-
return [...super.styles];
|
1491
|
-
}
|
1492
|
-
set value(o) {
|
1493
|
-
if (o === this.value)
|
1494
|
-
return;
|
1495
|
-
const e = this._value;
|
1496
|
-
this._value = o, this.requestUpdate("value", e);
|
1497
|
-
}
|
1498
|
-
get value() {
|
1499
|
-
return this._value;
|
1500
|
-
}
|
1501
|
-
getColorValue() {
|
1502
|
-
if (!this.value)
|
1503
|
-
return "";
|
1504
|
-
if (!this.cachedColor || this.cachedColor !== this.value) {
|
1505
|
-
const o = new h(this.value);
|
1506
|
-
this.cachedColor = o.isValid ? o.toRgbString() : "";
|
1507
|
-
}
|
1508
|
-
return this.cachedColor;
|
1509
|
-
}
|
1510
|
-
renderColorHandle() {
|
1511
|
-
return this.viewColor ? m`
|
1512
|
-
<luzmo-color-handle
|
1513
|
-
size="m"
|
1514
|
-
color=${this.getColorValue()}
|
1515
|
-
></luzmo-color-handle>
|
1516
|
-
` : m``;
|
1517
|
-
}
|
1518
|
-
render() {
|
1519
|
-
return this.viewColor && Promise.resolve().then(() => Ko), m` ${super.render()} ${this.renderColorHandle()} `;
|
1520
|
-
}
|
1521
|
-
checkValidity() {
|
1522
|
-
let o = super.checkValidity();
|
1523
|
-
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;
|
1524
|
-
}
|
1525
|
-
};
|
1526
|
-
he([
|
1527
|
-
s({ type: Boolean, attribute: "view-color" })
|
1528
|
-
], yo.prototype, "viewColor");
|
1529
|
-
customElements.get("luzmo-color-field") || customElements.define("luzmo-color-field", yo);
|
1530
|
-
/*! * Lucero - The design system for Luzmo.
|
1531
|
-
*
|
1532
|
-
* Copyright © 2025 Luzmo
|
1533
|
-
* All rights reserved.
|
1534
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1535
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
1536
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1537
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1538
|
-
*
|
1539
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1540
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1541
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1542
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1543
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1544
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1545
|
-
* SOFTWARE.
|
1546
|
-
* */
|
1547
|
-
const de = () => {
|
1548
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
1549
|
-
const r = document.createElement("style");
|
1550
|
-
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
1551
|
-
}
|
1552
|
-
};
|
1553
|
-
de();
|
1554
|
-
const me = '.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}';
|
1555
|
-
var pe = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, y = (r, o, e, t) => {
|
1556
|
-
for (var l = t > 1 ? void 0 : t ? ge(o, e) : o, i = r.length - 1, a; i >= 0; i--)
|
1557
|
-
(a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
|
1558
|
-
return t && l && pe(o, e, l), l;
|
1559
|
-
};
|
1560
|
-
let f = class extends uo {
|
1561
|
-
constructor() {
|
1562
|
-
super(...arguments), this.disabled = !1, this.focused = !1, this.label = "hue", this.vertical = !1, this.languageResolver = new mo(this), this.colorController = new xo(this, {
|
1563
|
-
/* c8 ignore next 3 */
|
1564
|
-
applyColorToState: () => {
|
1565
|
-
if (this.mode === "opacity") {
|
1566
|
-
const o = new h(this.colorController.color);
|
1567
|
-
this.sliderHandlePosition = 100 * o.getAlpha();
|
1568
|
-
} else
|
1569
|
-
this.sliderHandlePosition = 100 * (this.colorController.hue / 360);
|
1570
|
-
},
|
1571
|
-
extractColorFromState: (o) => this.mode === "opacity" ? {
|
1572
|
-
...o.getColor("hsl"),
|
1573
|
-
a: this.value
|
1574
|
-
} : {
|
1575
|
-
...o.getColor("hsl"),
|
1576
|
-
h: this.value
|
1577
|
-
},
|
1578
|
-
maintains: "saturation"
|
1579
|
-
}), this.sliderHandlePosition = 0, this.step = 1, this.isLTR = !0, this._altered = 0, this._pointerDown = !1;
|
1580
|
-
}
|
1581
|
-
static get styles() {
|
1582
|
-
return [R(me)];
|
1583
|
-
}
|
1584
|
-
get value() {
|
1585
|
-
return this.mode === "opacity" ? this.colorController.opacity : this.colorController.hue;
|
1586
|
-
}
|
1587
|
-
set value(o) {
|
1588
|
-
this.mode === "opacity" ? this.colorController.opacity = o : this.colorController.hue = o;
|
1589
|
-
}
|
1590
|
-
get color() {
|
1591
|
-
return this.colorController.color;
|
1592
|
-
}
|
1593
|
-
set color(o) {
|
1594
|
-
this.colorController.color = o;
|
1595
|
-
}
|
1596
|
-
get altered() {
|
1597
|
-
return this._altered;
|
1598
|
-
}
|
1599
|
-
set altered(o) {
|
1600
|
-
this._altered = o, this.step = Math.max(1, this.altered * 10);
|
1601
|
-
}
|
1602
|
-
get focusElement() {
|
1603
|
-
return this.input;
|
1604
|
-
}
|
1605
|
-
handleKeydown(o) {
|
1606
|
-
const { key: e } = o;
|
1607
|
-
this.focused = !0, this.altered = [o.shiftKey, o.ctrlKey, o.altKey].filter(
|
1608
|
-
(i) => !!i
|
1609
|
-
).length;
|
1610
|
-
let t = 0;
|
1611
|
-
switch (e) {
|
1612
|
-
case "ArrowUp": {
|
1613
|
-
t = this.step;
|
1614
|
-
break;
|
1615
|
-
}
|
1616
|
-
case "ArrowDown": {
|
1617
|
-
t = -this.step;
|
1618
|
-
break;
|
1619
|
-
}
|
1620
|
-
case "ArrowLeft": {
|
1621
|
-
t = this.step * (this.isLTR ? -1 : 1);
|
1622
|
-
break;
|
1623
|
-
}
|
1624
|
-
case "ArrowRight": {
|
1625
|
-
t = this.step * (this.isLTR ? 1 : -1);
|
1626
|
-
break;
|
1627
|
-
}
|
1628
|
-
default:
|
1629
|
-
return;
|
1630
|
-
}
|
1631
|
-
o.preventDefault();
|
1632
|
-
const l = 100 / (this.mode === "opacity" ? 100 : 360);
|
1633
|
-
this.sliderHandlePosition = Math.min(
|
1634
|
-
100,
|
1635
|
-
Math.max(0, this.sliderHandlePosition + t * l)
|
1636
|
-
), this.value = this.mode === "opacity" ? Math.min(1, Math.max(0, this.value + t / 100)) : Math.min(360, Math.max(0, this.value + t)), this.colorController.applyColorFromState(), t !== 0 && (this.dispatchEvent(
|
1637
|
-
new Event("input", {
|
1638
|
-
bubbles: !0,
|
1639
|
-
composed: !0
|
1640
|
-
})
|
1641
|
-
), this.dispatchEvent(
|
1642
|
-
new Event("change", {
|
1643
|
-
bubbles: !0,
|
1644
|
-
composed: !0
|
1645
|
-
})
|
1646
|
-
));
|
1647
|
-
}
|
1648
|
-
handleInput(o) {
|
1649
|
-
const { valueAsNumber: e } = o.target;
|
1650
|
-
this.value = e, this.sliderHandlePosition = 100 * (this.mode === "opacity" ? this.value : this.value / 360), this.colorController.applyColorFromState();
|
1651
|
-
}
|
1652
|
-
handleChange(o) {
|
1653
|
-
this.handleInput(o), this.dispatchEvent(
|
1654
|
-
new Event("change", {
|
1655
|
-
bubbles: !0,
|
1656
|
-
composed: !0
|
1657
|
-
})
|
1658
|
-
);
|
1659
|
-
}
|
1660
|
-
focus(o = {}) {
|
1661
|
-
super.focus(o), this.forwardFocus();
|
1662
|
-
}
|
1663
|
-
forwardFocus() {
|
1664
|
-
this.input.focus();
|
1665
|
-
}
|
1666
|
-
handleFocus() {
|
1667
|
-
this.focused = !0;
|
1668
|
-
}
|
1669
|
-
handleBlur() {
|
1670
|
-
this._pointerDown || (this.altered = 0, this.focused = !1);
|
1671
|
-
}
|
1672
|
-
handlePointerdown(o) {
|
1673
|
-
if (o.button !== 0) {
|
1674
|
-
o.preventDefault();
|
1675
|
-
return;
|
1676
|
-
}
|
1677
|
-
this._pointerDown = !0, this.colorController.savePreviousColor(), this.boundingClientRect = this.getBoundingClientRect(), o.target.setPointerCapture(o.pointerId), o.pointerType === "mouse" && (this.focused = !0);
|
1678
|
-
}
|
1679
|
-
handlePointermove(o) {
|
1680
|
-
this.sliderHandlePosition = this.calculateHandlePosition(o), this.value = (this.mode === "opacity" ? 1 : 360) * (this.sliderHandlePosition / 100), this.colorController.applyColorFromState(), this.dispatchEvent(
|
1681
|
-
new Event("input", {
|
1682
|
-
bubbles: !0,
|
1683
|
-
composed: !0,
|
1684
|
-
cancelable: !0
|
1685
|
-
})
|
1686
|
-
);
|
1687
|
-
}
|
1688
|
-
handlePointerup(o) {
|
1689
|
-
this._pointerDown = !1, o.target.releasePointerCapture(o.pointerId), this.dispatchEvent(
|
1690
|
-
new Event("change", {
|
1691
|
-
bubbles: !0,
|
1692
|
-
composed: !0,
|
1693
|
-
cancelable: !0
|
1694
|
-
})
|
1695
|
-
) || this.colorController.restorePreviousColor(), this.focus(), o.pointerType === "mouse" && (this.focused = !1);
|
1696
|
-
}
|
1697
|
-
/**
|
1698
|
-
* Returns the value under the cursor
|
1699
|
-
* @param: PointerEvent on slider
|
1700
|
-
* @return: Slider value that correlates to the position under the pointer
|
1701
|
-
*/
|
1702
|
-
calculateHandlePosition(o) {
|
1703
|
-
if (!this.boundingClientRect)
|
1704
|
-
return this.sliderHandlePosition;
|
1705
|
-
const e = this.boundingClientRect, t = this.vertical ? e.top : e.left, l = this.vertical ? o.clientY : o.clientX, i = this.vertical ? e.height : e.width, a = Math.max(0, Math.min(1, (l - t) / i));
|
1706
|
-
return this.vertical || !this.isLTR ? 100 - 100 * a : 100 * a;
|
1707
|
-
}
|
1708
|
-
handleGradientPointerdown(o) {
|
1709
|
-
o.button === 0 && (o.stopPropagation(), o.preventDefault(), this.handle.dispatchEvent(new PointerEvent("pointerdown", o)), this.handlePointermove(o));
|
1710
|
-
}
|
1711
|
-
get handlePositionStyles() {
|
1712
|
-
return `${this.vertical ? "inset-block-end" : "inset-inline-start"}: ${this.sliderHandlePosition}%`;
|
1713
|
-
}
|
1714
|
-
get getColorSliderStyle() {
|
1715
|
-
const o = this.vertical ? "top" : "right";
|
1716
|
-
if (this.mode === "opacity") {
|
1717
|
-
const e = new h(this.colorController.color).setAlpha(1).toRgbString();
|
1718
|
-
return {
|
1719
|
-
background: `linear-gradient(to ${o}, transparent, ${e})`
|
1720
|
-
};
|
1721
|
-
}
|
1722
|
-
return {
|
1723
|
-
background: `linear-gradient(to ${o}, var(--luzmo-color-slider-gradient, var(--luzmo-color-slider-gradient-fallback)))`
|
1724
|
-
};
|
1725
|
-
}
|
1726
|
-
render() {
|
1727
|
-
return m`
|
1728
|
-
<div
|
1729
|
-
class="opacity-checkerboard checkerboard"
|
1730
|
-
role="presentation"
|
1731
|
-
@pointerdown=${this.handleGradientPointerdown}
|
1732
|
-
>
|
1733
|
-
<div
|
1734
|
-
class="gradient"
|
1735
|
-
role="presentation"
|
1736
|
-
style=${Ro(this.getColorSliderStyle)}
|
1737
|
-
>
|
1738
|
-
<slot name="gradient"></slot>
|
1739
|
-
</div>
|
1740
|
-
</div>
|
1741
|
-
<luzmo-color-handle
|
1742
|
-
tabindex=${N(this.focused ? void 0 : "0")}
|
1743
|
-
@focus=${this.forwardFocus}
|
1744
|
-
?focused=${this.focused}
|
1745
|
-
class="handle"
|
1746
|
-
color=${this.mode === "opacity" ? this.color : "hsl(" + this.value + ", 100%, 50%)"}
|
1747
|
-
?disabled=${this.disabled}
|
1748
|
-
style=${this.handlePositionStyles}
|
1749
|
-
${po({
|
1750
|
-
start: ["pointerdown", this.handlePointerdown],
|
1751
|
-
streamInside: ["pointermove", this.handlePointermove],
|
1752
|
-
end: [
|
1753
|
-
["pointerup", "pointercancel", "pointerleave"],
|
1754
|
-
this.handlePointerup
|
1755
|
-
]
|
1756
|
-
})}
|
1757
|
-
></luzmo-color-handle>
|
1758
|
-
<input
|
1759
|
-
type="range"
|
1760
|
-
class="slider"
|
1761
|
-
min="0"
|
1762
|
-
max=${this.mode === "opacity" ? "100" : "360"}
|
1763
|
-
aria-orientation=${N(this.vertical ? "vertical" : void 0)}
|
1764
|
-
orient=${N(this.vertical ? "vertical" : void 0)}
|
1765
|
-
step=${this.step}
|
1766
|
-
aria-label=${this.label}
|
1767
|
-
.value=${String(
|
1768
|
-
this.mode === "opacity" ? this.value * 100 : this.value
|
1769
|
-
)}
|
1770
|
-
aria-valuetext=${`${new Intl.NumberFormat(
|
1771
|
-
this.languageResolver.language,
|
1772
|
-
{
|
1773
|
-
maximumFractionDigits: 0,
|
1774
|
-
minimumIntegerDigits: 1,
|
1775
|
-
style: "unit",
|
1776
|
-
unit: this.mode === "opacity" ? "percent" : "degree",
|
1777
|
-
unitDisplay: "narrow"
|
1778
|
-
}
|
1779
|
-
).format(this.mode === "opacity" ? this.value * 100 : this.value)}`}
|
1780
|
-
@input=${this.handleInput}
|
1781
|
-
@change=${this.handleChange}
|
1782
|
-
@keydown=${this.handleKeydown}
|
1783
|
-
/>
|
1784
|
-
`;
|
1785
|
-
}
|
1786
|
-
firstUpdated(o) {
|
1787
|
-
super.firstUpdated(o), this.boundingClientRect = this.getBoundingClientRect(), this.addEventListener("focus", this.handleFocus), this.addEventListener("blur", this.handleBlur);
|
1788
|
-
}
|
1789
|
-
updated(o) {
|
1790
|
-
o.has("mode") && (this.handle.style.insetInlineStart = "", this.handle.style.insetBlockEnd = "", this.mode === "opacity" && (this.colorController.color = new h(
|
1791
|
-
this.colorController.color
|
1792
|
-
).toRgbString(), this.handle.style.insetInlineStart = 100 * this.colorController.opacity + "%"));
|
1793
|
-
}
|
1794
|
-
};
|
1795
|
-
y([
|
1796
|
-
s({ type: String, reflect: !0 })
|
1797
|
-
], f.prototype, "dir", 2);
|
1798
|
-
y([
|
1799
|
-
s({ type: String, reflect: !0 })
|
1800
|
-
], f.prototype, "mode", 2);
|
1801
|
-
y([
|
1802
|
-
s({ type: Boolean, reflect: !0 })
|
1803
|
-
], f.prototype, "disabled", 2);
|
1804
|
-
y([
|
1805
|
-
s({ type: Boolean, reflect: !0 })
|
1806
|
-
], f.prototype, "focused", 2);
|
1807
|
-
y([
|
1808
|
-
C(".handle")
|
1809
|
-
], f.prototype, "handle", 2);
|
1810
|
-
y([
|
1811
|
-
s({ type: String })
|
1812
|
-
], f.prototype, "label", 2);
|
1813
|
-
y([
|
1814
|
-
s({ type: Boolean, reflect: !0 })
|
1815
|
-
], f.prototype, "vertical", 2);
|
1816
|
-
y([
|
1817
|
-
s({ type: Number })
|
1818
|
-
], f.prototype, "value", 1);
|
1819
|
-
y([
|
1820
|
-
s({ type: Number, reflect: !0 })
|
1821
|
-
], f.prototype, "sliderHandlePosition", 2);
|
1822
|
-
y([
|
1823
|
-
s({ type: String })
|
1824
|
-
], f.prototype, "color", 1);
|
1825
|
-
y([
|
1826
|
-
s({ type: Number })
|
1827
|
-
], f.prototype, "step", 2);
|
1828
|
-
y([
|
1829
|
-
s({ type: Boolean, attribute: "is-ltr" })
|
1830
|
-
], f.prototype, "isLTR", 2);
|
1831
|
-
y([
|
1832
|
-
C("input")
|
1833
|
-
], f.prototype, "input", 2);
|
1834
|
-
customElements.get("luzmo-color-slider") || customElements.define("luzmo-color-slider", f);
|
1835
|
-
/*! * Lucero - The design system for Luzmo.
|
1836
|
-
*
|
1837
|
-
* Copyright © 2025 Luzmo
|
1838
|
-
* All rights reserved.
|
1839
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1840
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
1841
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1842
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1843
|
-
*
|
1844
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1845
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1846
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1847
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1848
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1849
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1850
|
-
* SOFTWARE.
|
1851
|
-
* */
|
1852
|
-
const be = () => {
|
1853
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
1854
|
-
const r = document.createElement("style");
|
1855
|
-
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
1856
|
-
}
|
1857
|
-
};
|
1858
|
-
be();
|
1859
|
-
const ze = '@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-color-negative);--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)}';
|
1860
|
-
var fe = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, E = (r, o, e, t) => {
|
1861
|
-
for (var l = t > 1 ? void 0 : t ? ve(o, e) : o, i = r.length - 1, a; i >= 0; i--)
|
1862
|
-
(a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
|
1863
|
-
return t && l && fe(o, e, l), l;
|
1864
|
-
};
|
1865
|
-
let $ = class extends X(uo, {
|
1866
|
-
validSizes: ["xxs", "xs", "s", "m", "l", "xl"],
|
1867
|
-
noDefaultSize: !0
|
1868
|
-
}) {
|
1869
|
-
constructor() {
|
1870
|
-
super(...arguments), this.color = "", this.label = "", this.mixedValue = !1, this.nothing = !1, this.role = "button", this.selected = !1, this.readonly = !1, this.renderDisabled = () => m`
|
1871
|
-
<svg
|
1872
|
-
xmlns="http://www.w3.org/2000/svg"
|
1873
|
-
class="disabled-icon"
|
1874
|
-
viewBox="0 0 20 20"
|
1875
|
-
>
|
1876
|
-
<path
|
1877
|
-
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"
|
1878
|
-
stroke="none"
|
1879
|
-
fill="var(--swatch-disabled-icon-color)"
|
1880
|
-
/>
|
1881
|
-
<path
|
1882
|
-
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"
|
1883
|
-
stroke="none"
|
1884
|
-
fill="var(--swatch-disabled-icon-stroke-color)"
|
1885
|
-
/>
|
1886
|
-
</svg>
|
1887
|
-
`, this.renderMixedValue = () => J(Eo);
|
1888
|
-
}
|
1889
|
-
static get styles() {
|
1890
|
-
return [R(ze)];
|
1891
|
-
}
|
1892
|
-
get value() {
|
1893
|
-
return this._value || this.color || this.label;
|
1894
|
-
}
|
1895
|
-
set value(o) {
|
1896
|
-
if (o === this._value)
|
1897
|
-
return;
|
1898
|
-
const e = this.value;
|
1899
|
-
this._value = o, this.requestUpdate("value", e);
|
1900
|
-
}
|
1901
|
-
get focusElement() {
|
1902
|
-
return this;
|
1903
|
-
}
|
1904
|
-
toggle(o) {
|
1905
|
-
this.readonly || (this.selected = o ?? !this.selected);
|
1906
|
-
}
|
1907
|
-
handleClick() {
|
1908
|
-
this.disabled || this.mixedValue || (this.toggle(), this.dispatchEvent(
|
1909
|
-
new Event("change", {
|
1910
|
-
cancelable: !0,
|
1911
|
-
bubbles: !0
|
1912
|
-
})
|
1913
|
-
) || this.toggle());
|
1914
|
-
}
|
1915
|
-
handleKeydown(o) {
|
1916
|
-
const { code: e } = o;
|
1917
|
-
switch (e) {
|
1918
|
-
case "Space": {
|
1919
|
-
o.preventDefault(), this.addEventListener("keyup", this.handleKeyup);
|
1920
|
-
break;
|
1921
|
-
}
|
1922
|
-
}
|
1923
|
-
}
|
1924
|
-
handleKeypress(o) {
|
1925
|
-
const { code: e } = o;
|
1926
|
-
switch (e) {
|
1927
|
-
case "Enter":
|
1928
|
-
case "NumpadEnter": {
|
1929
|
-
this.click();
|
1930
|
-
break;
|
1931
|
-
}
|
1932
|
-
}
|
1933
|
-
}
|
1934
|
-
handleKeyup(o) {
|
1935
|
-
const { code: e } = o;
|
1936
|
-
switch (e) {
|
1937
|
-
case "Space": {
|
1938
|
-
this.removeEventListener("keyup", this.handleKeyup), this.click();
|
1939
|
-
break;
|
1940
|
-
}
|
1941
|
-
}
|
1942
|
-
}
|
1943
|
-
render() {
|
1944
|
-
return m`
|
1945
|
-
<div
|
1946
|
-
class="opacity-checkerboard fill"
|
1947
|
-
style=${N(
|
1948
|
-
this.color ? `--picked-color: ${this.color}` : void 0
|
1949
|
-
)}
|
1950
|
-
>
|
1951
|
-
<slot name="image"></slot>
|
1952
|
-
${eo(this.disabled, this.renderDisabled)}
|
1953
|
-
${eo(this.mixedValue, this.renderMixedValue)}
|
1954
|
-
</div>
|
1955
|
-
`;
|
1956
|
-
}
|
1957
|
-
willUpdate(o) {
|
1958
|
-
var e;
|
1959
|
-
if (this.getAttribute("role") || this.setAttribute("role", "button"), (o.has("selected") || o.has("role")) && !this.readonly) {
|
1960
|
-
const t = this.role === "button" ? "aria-pressed" : "aria-checked", l = this.role === "button" ? "aria-checked" : "aria-pressed";
|
1961
|
-
o.has("role") && this.removeAttribute(l), this.setAttribute(t, this.selected ? "true" : "false");
|
1962
|
-
}
|
1963
|
-
(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"));
|
1964
|
-
}
|
1965
|
-
firstUpdated(o) {
|
1966
|
-
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");
|
1967
|
-
}
|
1968
|
-
};
|
1969
|
-
E([
|
1970
|
-
s({ reflect: !0 })
|
1971
|
-
], $.prototype, "border", 2);
|
1972
|
-
E([
|
1973
|
-
s()
|
1974
|
-
], $.prototype, "color", 2);
|
1975
|
-
E([
|
1976
|
-
s()
|
1977
|
-
], $.prototype, "label", 2);
|
1978
|
-
E([
|
1979
|
-
s({ type: Boolean, reflect: !0, attribute: "mixed-value" })
|
1980
|
-
], $.prototype, "mixedValue", 2);
|
1981
|
-
E([
|
1982
|
-
s({ type: Boolean, reflect: !0 })
|
1983
|
-
], $.prototype, "nothing", 2);
|
1984
|
-
E([
|
1985
|
-
s({ reflect: !0 })
|
1986
|
-
], $.prototype, "role", 2);
|
1987
|
-
E([
|
1988
|
-
s({ reflect: !0 })
|
1989
|
-
], $.prototype, "rounding", 2);
|
1990
|
-
E([
|
1991
|
-
s({ type: Boolean, reflect: !0 })
|
1992
|
-
], $.prototype, "selected", 2);
|
1993
|
-
E([
|
1994
|
-
s({ type: Boolean, reflect: !0 })
|
1995
|
-
], $.prototype, "readonly", 2);
|
1996
|
-
E([
|
1997
|
-
s({ reflect: !0 })
|
1998
|
-
], $.prototype, "shape", 2);
|
1999
|
-
E([
|
2000
|
-
s()
|
2001
|
-
], $.prototype, "value", 1);
|
2002
|
-
const xe = ":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}";
|
2003
|
-
var ye = Object.defineProperty, we = Object.getOwnPropertyDescriptor, U = (r, o, e, t) => {
|
2004
|
-
for (var l = t > 1 ? void 0 : t ? we(o, e) : o, i = r.length - 1, a; i >= 0; i--)
|
2005
|
-
(a = r[i]) && (l = (t ? a(o, e, l) : a(l)) || l);
|
2006
|
-
return t && l && ye(o, e, l), l;
|
2007
|
-
};
|
2008
|
-
class T extends X(O, {
|
2009
|
-
validSizes: ["xs", "s", "m", "l"],
|
2010
|
-
noDefaultSize: !0
|
2011
|
-
}) {
|
2012
|
-
constructor() {
|
2013
|
-
super(), this._selected = [], this.selectedSet = /* @__PURE__ */ new Set(), this.rovingTabindexController = new Io(this, {
|
2014
|
-
focusInIndex: (o) => {
|
2015
|
-
let e = -1;
|
2016
|
-
const t = o.findIndex((l, i) => (!o[e] && !l.disabled && (e = i), l.selected && !l.disabled));
|
2017
|
-
return o[t] ? t : e;
|
2018
|
-
},
|
2019
|
-
elements: () => this.swatches,
|
2020
|
-
isFocusableElement: (o) => !o.disabled
|
2021
|
-
}), this.manageChange = async () => {
|
2022
|
-
const o = /* @__PURE__ */ new Set();
|
2023
|
-
this.selectedSet = new Set(this.selected), await Promise.all(this.swatches.map((e) => e.updateComplete)), this.swatches.forEach((e) => {
|
2024
|
-
o.add(e.value), e.selected && this.selectedSet.add(e.value);
|
2025
|
-
}), this.selectedSet.forEach((e) => {
|
2026
|
-
o.has(e) || this.selectedSet.delete(e);
|
2027
|
-
}), this._selected = [...this.selectedSet], this.rovingTabindexController.clearElementCache();
|
2028
|
-
}, new Bo(this, {
|
2029
|
-
config: {
|
2030
|
-
attributes: !0,
|
2031
|
-
childList: !0,
|
2032
|
-
subtree: !0
|
2033
|
-
},
|
2034
|
-
callback: () => {
|
2035
|
-
this.manageChange();
|
2036
|
-
}
|
2037
|
-
});
|
2038
|
-
}
|
2039
|
-
static get styles() {
|
2040
|
-
return [R(xe)];
|
2041
|
-
}
|
2042
|
-
get selected() {
|
2043
|
-
return this._selected;
|
2044
|
-
}
|
2045
|
-
set selected(o) {
|
2046
|
-
if (o === this.selected)
|
2047
|
-
return;
|
2048
|
-
const e = this.selected;
|
2049
|
-
this._selected = o, this.requestUpdate("selected", e);
|
2050
|
-
}
|
2051
|
-
focus(o) {
|
2052
|
-
this.rovingTabindexController.focus(o);
|
2053
|
-
}
|
2054
|
-
handleChange(o) {
|
2055
|
-
o.stopPropagation();
|
2056
|
-
const e = this.selected;
|
2057
|
-
if (!this.selects) {
|
2058
|
-
o.preventDefault();
|
2059
|
-
return;
|
2060
|
-
}
|
2061
|
-
if (this.selects === "single") {
|
2062
|
-
const { target: t } = o;
|
2063
|
-
if (t.tabIndex = 0, t.selected = !0, this.selectedSet.has(t.value))
|
2064
|
-
return;
|
2065
|
-
this.selectedSet.clear(), this.selectedSet.add(t.value), this.rovingTabindexController.elements.forEach((l) => {
|
2066
|
-
l !== t && (l.selected = !1);
|
2067
|
-
});
|
2068
|
-
} else if (this.selects === "multiple") {
|
2069
|
-
const { target: t } = o;
|
2070
|
-
t.selected ? this.selectedSet.add(t.value) : this.selectedSet.delete(t.value);
|
2071
|
-
}
|
2072
|
-
this._selected = [...this.selectedSet], this.dispatchEvent(
|
2073
|
-
new Event("change", {
|
2074
|
-
cancelable: !0,
|
2075
|
-
bubbles: !0
|
2076
|
-
})
|
2077
|
-
) || (this._selected = e, o.preventDefault());
|
2078
|
-
}
|
2079
|
-
getPassthroughSwatchActions(o) {
|
2080
|
-
const e = {};
|
2081
|
-
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);
|
2082
|
-
const t = [];
|
2083
|
-
return Object.keys(e).length > 0 && t.push((l) => {
|
2084
|
-
"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);
|
2085
|
-
}), t;
|
2086
|
-
}
|
2087
|
-
getSelectionSwatchActions(o) {
|
2088
|
-
const e = [];
|
2089
|
-
if (!o.has("selects"))
|
2090
|
-
return e;
|
2091
|
-
this.selects ? this.setAttribute(
|
2092
|
-
"role",
|
2093
|
-
this.selects === "single" ? "radiogroup" : "group"
|
2094
|
-
) : this.removeAttribute("role");
|
2095
|
-
const t = {
|
2096
|
-
single: "radio",
|
2097
|
-
multiple: "checkbox"
|
2098
|
-
}, l = this.selects ? t[this.selects] : "button";
|
2099
|
-
return e.push((i) => {
|
2100
|
-
i.setAttribute("role", l);
|
2101
|
-
}), e;
|
2102
|
-
}
|
2103
|
-
render() {
|
2104
|
-
return m`
|
2105
|
-
<slot
|
2106
|
-
@change=${this.handleChange}
|
2107
|
-
@slotchange=${this.manageChange}
|
2108
|
-
></slot>
|
2109
|
-
`;
|
2110
|
-
}
|
2111
|
-
willUpdate(o) {
|
2112
|
-
const e = [
|
2113
|
-
...this.getPassthroughSwatchActions(o),
|
2114
|
-
...this.getSelectionSwatchActions(o)
|
2115
|
-
];
|
2116
|
-
let t = new Set(this.selected);
|
2117
|
-
const l = /* @__PURE__ */ new Set();
|
2118
|
-
o.has("selected") && e.push((a) => {
|
2119
|
-
l.add(a.value), a.selected = !!(t.has(a.value) || !this.hasUpdated && a.selected);
|
2120
|
-
});
|
2121
|
-
const i = () => {
|
2122
|
-
t = new Set(this.selected), this.swatches.forEach((a) => {
|
2123
|
-
e.forEach((n) => {
|
2124
|
-
n(a);
|
2125
|
-
});
|
2126
|
-
}), o.has("selected") && (this._selected = [...t.values()].filter(
|
2127
|
-
(a) => l.has(a)
|
2128
|
-
));
|
2129
|
-
};
|
2130
|
-
this.hasUpdated ? i() : this.renderRoot.addEventListener(
|
2131
|
-
"slotchange",
|
2132
|
-
() => {
|
2133
|
-
requestAnimationFrame(i);
|
2134
|
-
},
|
2135
|
-
{ once: !0 }
|
2136
|
-
);
|
2137
|
-
}
|
2138
|
-
}
|
2139
|
-
U([
|
2140
|
-
s({ reflect: !0 })
|
2141
|
-
], T.prototype, "border", 2);
|
2142
|
-
U([
|
2143
|
-
s({ reflect: !0 })
|
2144
|
-
], T.prototype, "density", 2);
|
2145
|
-
U([
|
2146
|
-
s({ reflect: !0 })
|
2147
|
-
], T.prototype, "rounding", 2);
|
2148
|
-
U([
|
2149
|
-
s({ type: Array })
|
2150
|
-
], T.prototype, "selected", 1);
|
2151
|
-
U([
|
2152
|
-
s()
|
2153
|
-
], T.prototype, "selects", 2);
|
2154
|
-
U([
|
2155
|
-
s({ reflect: !0 })
|
2156
|
-
], T.prototype, "shape", 2);
|
2157
|
-
U([
|
2158
|
-
Fo({ flatten: !0 })
|
2159
|
-
], T.prototype, "swatches", 2);
|
2160
|
-
customElements.get("luzmo-swatch") || customElements.define("luzmo-swatch", $);
|
2161
|
-
customElements.get("luzmo-swatch-group") || customElements.define("luzmo-swatch-group", T);
|
2162
|
-
/*! * Lucero - The design system for Luzmo.
|
2163
|
-
*
|
2164
|
-
* Copyright © 2025 Luzmo
|
2165
|
-
* All rights reserved.
|
2166
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
2167
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
2168
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
2169
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
2170
|
-
*
|
2171
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
2172
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
2173
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
2174
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
2175
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
2176
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
2177
|
-
* SOFTWARE.
|
2178
|
-
* */
|
2179
|
-
const ke = () => {
|
2180
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
2181
|
-
const r = document.createElement("style");
|
2182
|
-
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
2183
|
-
}
|
2184
|
-
};
|
2185
|
-
ke();
|
2186
|
-
const Ce = '@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}';
|
2187
|
-
var $e = Object.defineProperty, M = (r, o, e, t) => {
|
2188
|
-
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
2189
|
-
(a = r[i]) && (l = a(o, e, l) || l);
|
2190
|
-
return l && $e(o, e, l), l;
|
2191
|
-
};
|
2192
|
-
const wo = class extends X(O) {
|
2193
|
-
constructor() {
|
2194
|
-
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)";
|
2195
|
-
}
|
2196
|
-
setColor(o) {
|
2197
|
-
var e;
|
2198
|
-
const t = new h((e = o == null ? void 0 : o.target) == null ? void 0 : e.color);
|
2199
|
-
this._format = t.format === "name" ? "rgb" : t.format, this._rgbaColor = t.toRgbString(), this._alpha = this.noAlphaChannel ? 1 : t.getAlpha(), this._rgbColor = t.setAlpha(1).toRgbString(), this.hueSliderElement.color = this._rgbColor, this.areaElement.color = this._rgbColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.swatchElement.color = this._rgbaColor, this.colorFieldElement.value = this.formatTextField(t), this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
|
2200
|
-
}
|
2201
|
-
handleAreaChange(o) {
|
2202
|
-
o.stopPropagation(), o.preventDefault(), this._rgbColor = this.areaElement.color;
|
2203
|
-
const e = new h(this._rgbColor);
|
2204
|
-
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 }));
|
2205
|
-
}
|
2206
|
-
handleHueSliderChange(o) {
|
2207
|
-
o.stopPropagation(), o.preventDefault();
|
2208
|
-
const e = new h(this._rgbColor).toHsl();
|
2209
|
-
e.h = this.hueSliderElement.value;
|
2210
|
-
const t = new h(e);
|
2211
|
-
this._rgbColor = t.toRgbString(), this._rgbaColor = t.setAlpha(this._alpha).toRgbString(), this.areaElement.color = this._rgbColor, this.noAlphaChannel || (this.opacitySliderElement.color = this._rgbaColor), this.colorFieldElement.value = this.formatTextField(t), this.swatchElement.color = this._rgbaColor, this._previousColor = this._rgbaColor, this.color = this._rgbaColor, this.dispatchEvent(new CustomEvent("change", { detail: this.color }));
|
2212
|
-
}
|
2213
|
-
handleOpacitySliderChange(o) {
|
2214
|
-
o.stopPropagation(), o.preventDefault(), this._alpha = this.opacitySliderElement.sliderHandlePosition / 100;
|
2215
|
-
const e = new h(this._rgbColor).setAlpha(this._alpha);
|
2216
|
-
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 }));
|
2217
|
-
}
|
2218
|
-
handleFieldChange(o) {
|
2219
|
-
if (o.stopPropagation(), o.preventDefault(), this.colorFieldElement.checkValidity()) {
|
2220
|
-
const e = new h(this.colorFieldElement.value);
|
2221
|
-
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 }));
|
2222
|
-
}
|
2223
|
-
}
|
2224
|
-
formatTextField(o) {
|
2225
|
-
return this._format === "hsl" ? o.toHslString() : this._format === "hex" ? this.noAlphaChannel ? o.toHexString() : o.toHex8String() : (this._format === "name" && (this._format = "rgb"), o.toRgbString());
|
2226
|
-
}
|
2227
|
-
cycleFormat() {
|
2228
|
-
const o = ["rgb", "hsl", "hex"];
|
2229
|
-
this._format = o[(o.indexOf(this._format) + 1) % o.length];
|
2230
|
-
const e = new h(this.color), t = this.formatTextField(e);
|
2231
|
-
this.colorFieldElement.value = t;
|
2232
|
-
}
|
2233
|
-
updated(o) {
|
2234
|
-
if (o.has("color") && this.color !== this._previousColor) {
|
2235
|
-
this._previousColor = this.color;
|
2236
|
-
const e = new h(this.color);
|
2237
|
-
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";
|
2238
|
-
}
|
2239
|
-
o.has("noAlphaChannel") && !this.noAlphaChannel && (this.opacitySliderElement.color = this._rgbaColor);
|
2240
|
-
}
|
2241
|
-
renderOpacitySlider() {
|
2242
|
-
return m`
|
2243
|
-
<luzmo-color-slider
|
2244
|
-
id="luzmo-opacity-slider"
|
2245
|
-
mode="opacity"
|
2246
|
-
@input=${this.handleOpacitySliderChange}
|
2247
|
-
>
|
2248
|
-
</luzmo-color-slider>
|
2249
|
-
`;
|
2250
|
-
}
|
2251
|
-
render() {
|
2252
|
-
var o;
|
2253
|
-
return m`
|
2254
|
-
<div>
|
2255
|
-
<luzmo-color-area
|
2256
|
-
.size=${this.size}
|
2257
|
-
@input=${this.handleAreaChange}
|
2258
|
-
></luzmo-color-area>
|
2259
|
-
<div class="hue-opacity-text-swatches-container">
|
2260
|
-
<div class="swatch-sliders-container">
|
2261
|
-
<div class="swatch-example-container">
|
2262
|
-
<luzmo-swatch
|
2263
|
-
rounding="full"
|
2264
|
-
.size=${this.noAlphaChannel && ["s", "m"].includes(this.size) ? "s" : "l"}
|
2265
|
-
readonly
|
2266
|
-
></luzmo-swatch>
|
2267
|
-
</div>
|
2268
|
-
<div class="slider-container" style="flex-grow: 1;">
|
2269
|
-
<luzmo-color-slider
|
2270
|
-
id="luzmo-hue-slider"
|
2271
|
-
@input=${this.handleHueSliderChange}
|
2272
|
-
>
|
2273
|
-
</luzmo-color-slider>
|
2274
|
-
${this.noAlphaChannel ? "" : this.renderOpacitySlider()}
|
2275
|
-
</div>
|
2276
|
-
</div>
|
2277
|
-
<div class="field-container">
|
2278
|
-
<luzmo-color-field
|
2279
|
-
.size=${this.size}
|
2280
|
-
@input=${this.handleFieldChange}
|
2281
|
-
>
|
2282
|
-
</luzmo-color-field>
|
2283
|
-
<button
|
2284
|
-
class="format-container"
|
2285
|
-
aria-label="Color format"
|
2286
|
-
@click=${this.cycleFormat}
|
2287
|
-
tabindex="0"
|
2288
|
-
>
|
2289
|
-
<div class="format-label">${this._format}</div>
|
2290
|
-
<div class="change-format-icon">
|
2291
|
-
<div class="angle-icon">${J(_o)}</div>
|
2292
|
-
<div class="angle-icon">${J(Ao)}</div>
|
2293
|
-
</div>
|
2294
|
-
</button>
|
2295
|
-
</div>
|
2296
|
-
${((o = this.swatches) == null ? void 0 : o.length) > 0 ? m`
|
2297
|
-
<luzmo-divider></luzmo-divider>
|
2298
|
-
<div class="swatches-container">
|
2299
|
-
${this.swatches.map(
|
2300
|
-
(e) => m`
|
2301
|
-
<div class="swatch-choice">
|
2302
|
-
<luzmo-swatch
|
2303
|
-
@click=${this.setColor}
|
2304
|
-
.color=${e}
|
2305
|
-
.size=${this.size}
|
2306
|
-
readonly
|
2307
|
-
>
|
2308
|
-
</luzmo-swatch>
|
2309
|
-
</div>
|
2310
|
-
`
|
2311
|
-
)}
|
2312
|
-
</div>
|
2313
|
-
` : ""}
|
2314
|
-
</div>
|
2315
|
-
</div>
|
2316
|
-
`;
|
2317
|
-
}
|
2318
|
-
};
|
2319
|
-
wo.styles = R(Ce);
|
2320
|
-
let A = wo;
|
2321
|
-
M([
|
2322
|
-
s({ type: String, reflect: !0 })
|
2323
|
-
], A.prototype, "color");
|
2324
|
-
M([
|
2325
|
-
s({ type: Boolean, reflect: !0, attribute: "no-alpha-channel" })
|
2326
|
-
], A.prototype, "noAlphaChannel");
|
2327
|
-
M([
|
2328
|
-
s({ type: Array, reflect: !0 })
|
2329
|
-
], A.prototype, "swatches");
|
2330
|
-
M([
|
2331
|
-
C("luzmo-color-area")
|
2332
|
-
], A.prototype, "areaElement");
|
2333
|
-
M([
|
2334
|
-
C("#luzmo-hue-slider")
|
2335
|
-
], A.prototype, "hueSliderElement");
|
2336
|
-
M([
|
2337
|
-
C("#luzmo-opacity-slider")
|
2338
|
-
], A.prototype, "opacitySliderElement");
|
2339
|
-
M([
|
2340
|
-
C("luzmo-color-field")
|
2341
|
-
], A.prototype, "colorFieldElement");
|
2342
|
-
M([
|
2343
|
-
C("luzmo-swatch")
|
2344
|
-
], A.prototype, "swatchElement");
|
2345
|
-
M([
|
2346
|
-
ho()
|
2347
|
-
], A.prototype, "_format");
|
2348
|
-
customElements.get("luzmo-color-menu") || customElements.define("luzmo-color-menu", A);
|
2349
|
-
/*! * Lucero - The design system for Luzmo.
|
2350
|
-
*
|
2351
|
-
* Copyright © 2025 Luzmo
|
2352
|
-
* All rights reserved.
|
2353
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
2354
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
2355
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
2356
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
2357
|
-
*
|
2358
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
2359
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
2360
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
2361
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
2362
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
2363
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
2364
|
-
* SOFTWARE.
|
2365
|
-
* */
|
2366
|
-
const Se = () => {
|
2367
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
2368
|
-
const r = document.createElement("style");
|
2369
|
-
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
2370
|
-
}
|
2371
|
-
};
|
2372
|
-
Se();
|
2373
|
-
const Ee = "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)}";
|
2374
|
-
var _e = Object.defineProperty, _ = (r, o, e, t) => {
|
2375
|
-
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
2376
|
-
(a = r[i]) && (l = a(o, e, l) || l);
|
2377
|
-
return l && _e(o, e, l), l;
|
2378
|
-
};
|
2379
|
-
const ko = class extends X(O) {
|
2380
|
-
constructor() {
|
2381
|
-
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;
|
2382
|
-
}
|
2383
|
-
overlayCloseEvent() {
|
2384
|
-
this.open = !1;
|
2385
|
-
}
|
2386
|
-
overlayOpenEvent() {
|
2387
|
-
this.open = !0;
|
2388
|
-
}
|
2389
|
-
handleColorChange() {
|
2390
|
-
this.color = this.menuElement.color, this.dispatchEvent(
|
2391
|
-
new Event("change", {
|
2392
|
-
bubbles: !0,
|
2393
|
-
composed: !0
|
2394
|
-
})
|
2395
|
-
);
|
2396
|
-
}
|
2397
|
-
firstUpdated() {
|
2398
|
-
this.overlayElement.addEventListener("slottable-request", (o) => {
|
2399
|
-
this._renderMenu = o.data !== To;
|
2400
|
-
});
|
2401
|
-
}
|
2402
|
-
updated(o) {
|
2403
|
-
o.has("open") && this.open === !0 && (this._renderMenu = !0);
|
2404
|
-
}
|
2405
|
-
renderColorMenu() {
|
2406
|
-
return m`
|
2407
|
-
<luzmo-color-menu
|
2408
|
-
.size=${this.size}
|
2409
|
-
.color=${this.color}
|
2410
|
-
.noAlphaChannel=${this.noAlphaChannel}
|
2411
|
-
.swatches=${this.swatches}
|
2412
|
-
@change=${this.handleColorChange}
|
2413
|
-
></luzmo-color-menu>
|
2414
|
-
`;
|
2415
|
-
}
|
2416
|
-
render() {
|
2417
|
-
return m`
|
2418
|
-
<luzmo-swatch
|
2419
|
-
id="trigger"
|
2420
|
-
.shape=${this.shape}
|
2421
|
-
.rounding=${this.rounding}
|
2422
|
-
.size=${this.size}
|
2423
|
-
.color=${this.color}
|
2424
|
-
.selected=${this.open && !this.disabled}
|
2425
|
-
?disabled=${this.disabled}
|
2426
|
-
@luzmo-closed=${this.overlayCloseEvent}
|
2427
|
-
@luzmo-opened=${this.overlayOpenEvent}
|
2428
|
-
></luzmo-swatch>
|
2429
|
-
<luzmo-overlay
|
2430
|
-
trigger=${this.disabled ? "" : "trigger@click"}
|
2431
|
-
type="auto"
|
2432
|
-
.placement=${this.placement}
|
2433
|
-
type="page"
|
2434
|
-
>
|
2435
|
-
<luzmo-popover style="position:relative">
|
2436
|
-
${this._renderMenu ? this.renderColorMenu() : m``}
|
2437
|
-
</luzmo-popover>
|
2438
|
-
</luzmo-overlay>
|
2439
|
-
`;
|
30
|
+
const l = document.createElement("style");
|
31
|
+
l.setAttribute("data-luzmo-vars", ""), l.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(l);
|
2440
32
|
}
|
2441
33
|
};
|
2442
|
-
|
2443
|
-
|
2444
|
-
|
2445
|
-
|
2446
|
-
|
2447
|
-
_([
|
2448
|
-
s({ type: Boolean, reflect: !0 })
|
2449
|
-
], S.prototype, "open");
|
2450
|
-
_([
|
2451
|
-
s({ type: Boolean, reflect: !0 })
|
2452
|
-
], S.prototype, "disabled");
|
2453
|
-
_([
|
2454
|
-
s({ type: String, reflect: !0 })
|
2455
|
-
], S.prototype, "placement");
|
2456
|
-
_([
|
2457
|
-
s({ type: String, reflect: !0 })
|
2458
|
-
], S.prototype, "rounding");
|
2459
|
-
_([
|
2460
|
-
s({ type: String, reflect: !0 })
|
2461
|
-
], S.prototype, "shape");
|
2462
|
-
_([
|
2463
|
-
s({ type: Array, reflect: !0 })
|
2464
|
-
], S.prototype, "swatches");
|
2465
|
-
_([
|
2466
|
-
s({ type: Boolean, reflect: !0, attribute: "no-alpha-channel" })
|
2467
|
-
], S.prototype, "noAlphaChannel");
|
2468
|
-
_([
|
2469
|
-
C("luzmo-color-menu")
|
2470
|
-
], S.prototype, "menuElement");
|
2471
|
-
_([
|
2472
|
-
C("luzmo-overlay")
|
2473
|
-
], S.prototype, "overlayElement");
|
2474
|
-
_([
|
2475
|
-
ho()
|
2476
|
-
], S.prototype, "_renderMenu");
|
2477
|
-
customElements.get("luzmo-color-picker") || customElements.define("luzmo-color-picker", S);
|
2478
|
-
var Ae = Object.defineProperty, H = (r, o, e, t) => {
|
2479
|
-
for (var l = void 0, i = r.length - 1, a; i >= 0; i--)
|
2480
|
-
(a = r[i]) && (l = a(o, e, l) || l);
|
2481
|
-
return l && Ae(o, e, l), l;
|
34
|
+
z();
|
35
|
+
var b = Object.defineProperty, e = (l, c, i, g) => {
|
36
|
+
for (var t = void 0, m = l.length - 1, n; m >= 0; m--)
|
37
|
+
(n = l[m]) && (t = n(c, i, t) || t);
|
38
|
+
return t && b(c, i, t), t;
|
2482
39
|
};
|
2483
|
-
const
|
40
|
+
const u = class u extends h {
|
2484
41
|
constructor() {
|
2485
42
|
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;
|
2486
43
|
}
|
@@ -2499,7 +56,7 @@ const L = class L extends Uo {
|
|
2499
56
|
}, this.debounce ?? 200);
|
2500
57
|
}
|
2501
58
|
renderController() {
|
2502
|
-
return
|
59
|
+
return p`
|
2503
60
|
<luzmo-color-picker
|
2504
61
|
.color=${this.value}
|
2505
62
|
.size=${this.size}
|
@@ -2515,39 +72,39 @@ const L = class L extends Uo {
|
|
2515
72
|
`;
|
2516
73
|
}
|
2517
74
|
};
|
2518
|
-
|
2519
|
-
let
|
2520
|
-
|
2521
|
-
|
2522
|
-
],
|
2523
|
-
|
2524
|
-
|
2525
|
-
],
|
2526
|
-
|
2527
|
-
|
2528
|
-
],
|
2529
|
-
|
2530
|
-
|
2531
|
-
],
|
2532
|
-
|
2533
|
-
|
2534
|
-
],
|
2535
|
-
|
2536
|
-
|
2537
|
-
],
|
2538
|
-
|
2539
|
-
|
2540
|
-
],
|
2541
|
-
|
2542
|
-
|
2543
|
-
],
|
2544
|
-
|
2545
|
-
|
2546
|
-
],
|
75
|
+
u.styles = [s(u, u, "styles")];
|
76
|
+
let o = u;
|
77
|
+
e([
|
78
|
+
r({ type: String, reflect: !0 })
|
79
|
+
], o.prototype, "value");
|
80
|
+
e([
|
81
|
+
r({ type: Boolean, reflect: !0 })
|
82
|
+
], o.prototype, "disabled");
|
83
|
+
e([
|
84
|
+
r({ type: Boolean, reflect: !0 })
|
85
|
+
], o.prototype, "noAlphaChannel");
|
86
|
+
e([
|
87
|
+
r({ type: Array, reflect: !0 })
|
88
|
+
], o.prototype, "swatches");
|
89
|
+
e([
|
90
|
+
r({ type: String, reflect: !0 })
|
91
|
+
], o.prototype, "rounding");
|
92
|
+
e([
|
93
|
+
r({ type: String, reflect: !0 })
|
94
|
+
], o.prototype, "shape");
|
95
|
+
e([
|
96
|
+
r()
|
97
|
+
], o.prototype, "placement");
|
98
|
+
e([
|
99
|
+
r({ type: Number, reflect: !0 })
|
100
|
+
], o.prototype, "debounce");
|
101
|
+
e([
|
102
|
+
f("luzmo-color-picker")
|
103
|
+
], o.prototype, "colorPicker");
|
2547
104
|
customElements.get("luzmo-edit-option-color-picker") || customElements.define(
|
2548
105
|
"luzmo-edit-option-color-picker",
|
2549
|
-
|
106
|
+
o
|
2550
107
|
);
|
2551
108
|
export {
|
2552
|
-
|
109
|
+
o as LuzmoEditOptionColorPicker
|
2553
110
|
};
|