@kdcloudjs/shoelace 1.0.4 → 1.0.6
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/cdn/assets/icons/anthropic.svg +3 -0
- package/cdn/assets/icons/apple-music.svg +3 -0
- package/cdn/assets/icons/battery-low.svg +4 -0
- package/cdn/assets/icons/beaker-fill.svg +3 -0
- package/cdn/assets/icons/beaker.svg +4 -0
- package/cdn/assets/icons/bluesky.svg +3 -0
- package/cdn/assets/icons/calendar3-event-fill.svg +1 -1
- package/cdn/assets/icons/calendar3-range-fill.svg +1 -1
- package/cdn/assets/icons/calendar3-week-fill.svg +1 -1
- package/cdn/assets/icons/claude.svg +3 -0
- package/cdn/assets/icons/css.svg +3 -0
- package/cdn/assets/icons/flask-fill.svg +3 -0
- package/cdn/assets/icons/flask-florence-fill.svg +3 -0
- package/cdn/assets/icons/flask-florence.svg +3 -0
- package/cdn/assets/icons/flask.svg +3 -0
- package/cdn/assets/icons/fork-knife.svg +3 -0
- package/cdn/assets/icons/globe-americas-fill.svg +3 -0
- package/cdn/assets/icons/globe-asia-australia-fill.svg +3 -0
- package/cdn/assets/icons/globe-central-south-asia-fill.svg +3 -0
- package/cdn/assets/icons/globe-europe-africa-fill.svg +3 -0
- package/cdn/assets/icons/icons.json +548 -143
- package/cdn/assets/icons/javascript.svg +3 -0
- package/cdn/assets/icons/leaf-fill.svg +3 -0
- package/cdn/assets/icons/leaf.svg +3 -0
- package/cdn/assets/icons/lock-fill.svg +1 -1
- package/cdn/assets/icons/lock.svg +1 -1
- package/cdn/assets/icons/measuring-cup-fill.svg +3 -0
- package/cdn/assets/icons/measuring-cup.svg +3 -0
- package/cdn/assets/icons/meta.svg +1 -1
- package/cdn/assets/icons/openai.svg +3 -0
- package/cdn/assets/icons/perplexity.svg +3 -0
- package/cdn/assets/icons/tux.svg +4 -0
- package/cdn/assets/icons/typescript.svg +3 -0
- package/cdn/assets/icons/unlock-fill.svg +1 -1
- package/cdn/assets/icons/unlock.svg +1 -1
- package/cdn/assets/icons/unlock2-fill.svg +3 -0
- package/cdn/assets/icons/unlock2.svg +3 -0
- package/cdn/chunks/chunk.24TO35RB.js +25 -0
- package/cdn/chunks/chunk.2D6HKRNC.js +48 -0
- package/cdn/chunks/chunk.2KVZQY7T.js +391 -0
- package/cdn/chunks/chunk.2Q4B6CQ4.js +24 -0
- package/cdn/chunks/chunk.2S2CHGJY.js +11 -0
- package/cdn/chunks/chunk.2SONZBL5.js +120 -0
- package/cdn/chunks/chunk.2TSVFFOB.js +95 -0
- package/cdn/chunks/chunk.2W3MMZOR.js +21 -0
- package/cdn/chunks/chunk.2ZJLDS5B.js +49 -0
- package/cdn/chunks/chunk.34ABVCNF.js +25 -0
- package/cdn/chunks/chunk.3AUITG5O.js +25 -0
- package/cdn/chunks/chunk.3EXJZJWF.js +724 -0
- package/cdn/chunks/chunk.3TOH2DHT.js +70 -0
- package/cdn/chunks/chunk.3VHWMW23.js +26 -0
- package/cdn/chunks/chunk.3Z6OGUR5.js +122 -0
- package/cdn/chunks/chunk.422ZBUKL.js +257 -0
- package/cdn/chunks/chunk.443ZUJRC.js +11 -0
- package/cdn/chunks/chunk.4CKCDS6L.js +24 -0
- package/cdn/chunks/chunk.4GWEBSMH.js +24 -0
- package/cdn/chunks/chunk.4JCUXWRN.js +21 -0
- package/cdn/chunks/chunk.4OPT2TEZ.js +113 -0
- package/cdn/chunks/chunk.4PPZGXGI.js +186 -0
- package/cdn/chunks/chunk.4USKUBRP.js +79 -0
- package/cdn/chunks/chunk.4YY7KVKW.js +29 -0
- package/cdn/chunks/chunk.52JFLXYX.js +24 -0
- package/cdn/chunks/chunk.54YVY4KJ.js +11 -0
- package/cdn/chunks/chunk.5745VHEC.js +314 -0
- package/cdn/chunks/chunk.5BJGFS54.js +11 -0
- package/cdn/chunks/chunk.5BVWACYP.js +33 -0
- package/cdn/chunks/chunk.5E645LB6.js +282 -0
- package/cdn/chunks/chunk.5HOHEHFZ.js +63 -0
- package/cdn/chunks/chunk.5KDCEP57.js +11 -0
- package/cdn/chunks/chunk.5PSHBHTM.js +27 -0
- package/cdn/chunks/chunk.5RTOJJWX.js +27 -0
- package/cdn/chunks/chunk.63IBZP4F.js +82 -0
- package/cdn/chunks/chunk.6FMCIQ3A.js +53 -0
- package/cdn/chunks/chunk.6FMKD5O3.js +19 -0
- package/cdn/chunks/chunk.6MPNB4FC.js +502 -0
- package/cdn/chunks/chunk.6QPGZTOP.js +98 -0
- package/cdn/chunks/chunk.6X3XLMW7.js +110 -0
- package/cdn/chunks/chunk.6ZGB2EWI.js +21 -0
- package/cdn/chunks/chunk.7EWTUOWU.js +11 -0
- package/cdn/chunks/chunk.7O2K6PPX.js +822 -0
- package/cdn/chunks/chunk.7UZ5E243.js +11 -0
- package/cdn/chunks/chunk.7WFPBN26.js +28 -0
- package/cdn/chunks/chunk.7WSF3BCU.js +645 -0
- package/cdn/chunks/chunk.7Z2XM3LW.js +11 -0
- package/cdn/chunks/chunk.AB74KHWT.js +11 -0
- package/cdn/chunks/chunk.ADX6C35W.js +11 -0
- package/cdn/chunks/chunk.AIBGFFXX.js +21 -0
- package/cdn/chunks/chunk.AJXD4PXP.js +21 -0
- package/cdn/chunks/chunk.ALFANBYZ.js +299 -0
- package/cdn/chunks/chunk.AQVUXXOF.js +11 -0
- package/cdn/chunks/chunk.AVETLWAO.js +27 -0
- package/cdn/chunks/chunk.AYWXAFCR.js +111 -0
- package/cdn/chunks/chunk.AZSL5MFU.js +58 -0
- package/cdn/chunks/chunk.B34ZMFU5.js +14 -0
- package/cdn/chunks/chunk.B3OIUCE7.js +11 -0
- package/cdn/chunks/chunk.B7CXVWG6.js +11 -0
- package/cdn/chunks/chunk.BBCWJULO.js +574 -0
- package/cdn/chunks/chunk.BD5F6NL7.js +6234 -0
- package/cdn/chunks/chunk.BEJW4Y4A.js +244 -0
- package/cdn/chunks/chunk.BJDNEBPV.js +51 -0
- package/cdn/chunks/chunk.BT53JGIN.js +68 -0
- package/cdn/chunks/chunk.BVEOCRUR.js +11 -0
- package/cdn/chunks/chunk.BZYQZY7H.js +279 -0
- package/cdn/chunks/chunk.C4QRCLEU.js +92 -0
- package/cdn/chunks/chunk.C5VDREZK.js +11 -0
- package/cdn/chunks/chunk.CHQ22A3M.js +11 -0
- package/cdn/chunks/chunk.CP2Q2TQZ.js +11 -0
- package/cdn/chunks/chunk.CSRWJEDM.js +92 -0
- package/cdn/chunks/chunk.CVBEJRP7.js +27 -0
- package/cdn/chunks/chunk.CWZ3KOZZ.js +30 -0
- package/cdn/chunks/chunk.D5HRUXPS.js +113 -0
- package/cdn/chunks/chunk.D77IB7LU.js +336 -0
- package/cdn/chunks/chunk.DCXMFYZZ.js +255 -0
- package/cdn/chunks/chunk.DIBEGWQP.js +11 -0
- package/cdn/chunks/chunk.ECYL2UQT.js +16 -0
- package/cdn/chunks/chunk.ED3AU335.js +11 -0
- package/cdn/chunks/chunk.EH26GSPV.js +24 -0
- package/cdn/chunks/chunk.EVG7LDKT.js +28 -0
- package/cdn/chunks/chunk.EWATSZK4.js +11 -0
- package/cdn/chunks/chunk.F4QYFX7I.js +11 -0
- package/cdn/chunks/chunk.F6HYVXVP.js +11 -0
- package/cdn/chunks/chunk.FFVGCBGA.js +30 -0
- package/cdn/chunks/chunk.FQ77PHQQ.js +302 -0
- package/cdn/chunks/chunk.FY7RQ2EN.js +586 -0
- package/cdn/chunks/chunk.FYSJH6YS.js +189 -0
- package/cdn/chunks/chunk.FZR6BKU2.js +55 -0
- package/cdn/chunks/chunk.G2XHGZWA.js +29 -0
- package/cdn/chunks/chunk.G2YOMCHR.js +126 -0
- package/cdn/chunks/chunk.G3F5KEH5.js +334 -0
- package/cdn/chunks/chunk.G4ZYPKDT.js +123 -0
- package/cdn/chunks/chunk.G66BUPQX.js +328 -0
- package/cdn/chunks/chunk.GBMOI43A.js +367 -0
- package/cdn/chunks/chunk.GEDUXU6K.js +11 -0
- package/cdn/chunks/chunk.GEHAXJAD.js +28 -0
- package/cdn/chunks/chunk.GFGDEQRG.js +21 -0
- package/cdn/chunks/chunk.GHOMSZ4P.js +11 -0
- package/cdn/chunks/chunk.GJIRETQU.js +29 -0
- package/cdn/chunks/chunk.GKVHM7II.js +24 -0
- package/cdn/chunks/chunk.GO3RBHQC.js +128 -0
- package/cdn/chunks/chunk.GOMPYCOG.js +76 -0
- package/cdn/chunks/chunk.GUIGYA3U.js +11 -0
- package/cdn/chunks/chunk.GWYUWHMZ.js +21 -0
- package/cdn/chunks/chunk.GXKPSSUK.js +37 -0
- package/cdn/chunks/chunk.GYACMIEW.js +219 -0
- package/cdn/chunks/chunk.GYOTPPQV.js +14 -0
- package/cdn/chunks/chunk.H2OVB2FT.js +11 -0
- package/cdn/chunks/chunk.H2UUXXFH.js +11 -0
- package/cdn/chunks/chunk.H5MEYZGW.js +11 -0
- package/cdn/chunks/chunk.H5SKDL5B.js +498 -0
- package/cdn/chunks/chunk.HAGPNIZX.js +175 -0
- package/cdn/chunks/chunk.HE4XNMQ6.js +11 -0
- package/cdn/chunks/chunk.HFDPA5IX.js +21 -0
- package/cdn/chunks/chunk.HHEYGC56.js +40 -0
- package/cdn/chunks/chunk.HKADQ6RI.js +114 -0
- package/cdn/chunks/chunk.HPYSTYB4.js +192 -0
- package/cdn/chunks/chunk.HS5WM3VC.js +313 -0
- package/cdn/chunks/chunk.HUA3M65Y.js +266 -0
- package/cdn/chunks/chunk.HV2YTU6Z.js +63 -0
- package/cdn/chunks/chunk.HZLWIT3S.js +21 -0
- package/cdn/chunks/chunk.I4Q2CFPO.js +21 -0
- package/cdn/chunks/chunk.I5BKER64.js +11 -0
- package/cdn/chunks/chunk.I6P4HPHV.js +21 -0
- package/cdn/chunks/chunk.ICNOZ76T.js +124 -0
- package/cdn/chunks/chunk.IRYMSFH4.js +11 -0
- package/cdn/chunks/chunk.IWMRZPIK.js +402 -0
- package/cdn/chunks/chunk.J43RLQAP.js +58 -0
- package/cdn/chunks/chunk.J46EOQRW.js +24 -0
- package/cdn/chunks/chunk.J7ZESFNQ.js +26 -0
- package/cdn/chunks/chunk.JBHFX2JV.js +28 -0
- package/cdn/chunks/chunk.JCFENQBO.js +127 -0
- package/cdn/chunks/chunk.JCJCP52E.js +69 -0
- package/cdn/chunks/chunk.JFIPKODS.js +5845 -0
- package/cdn/chunks/chunk.JHQRGUAN.js +11 -0
- package/cdn/chunks/chunk.JI2EGSO6.js +21 -0
- package/cdn/chunks/chunk.JIONFRHW.js +75 -0
- package/cdn/chunks/chunk.JLAJDFKN.js +11 -0
- package/cdn/chunks/chunk.JRODKDJ2.js +42 -0
- package/cdn/chunks/chunk.JTC7F5FK.js +246 -0
- package/cdn/chunks/chunk.JTPXYE6K.js +49 -0
- package/cdn/chunks/chunk.JUDPWMX2.js +11 -0
- package/cdn/chunks/chunk.JY6CSNX6.js +23 -0
- package/cdn/chunks/chunk.K26TU4DN.js +1181 -0
- package/cdn/chunks/chunk.K2IH4QB2.js +11 -0
- package/cdn/chunks/chunk.K2V24ZTR.js +24 -0
- package/cdn/chunks/chunk.K2XGWHFS.js +35 -0
- package/cdn/chunks/chunk.K4IR47IM.js +24 -0
- package/cdn/chunks/chunk.KDK3IIAH.js +75 -0
- package/cdn/chunks/chunk.KISAONYP.js +291 -0
- package/cdn/chunks/chunk.KJQP3AWV.js +19 -0
- package/cdn/chunks/chunk.KKBX3MJ2.js +11 -0
- package/cdn/chunks/chunk.KMFBAAVR.js +11 -0
- package/cdn/chunks/chunk.KQW7ZQZW.js +11 -0
- package/cdn/chunks/chunk.KR4OOGD7.js +216 -0
- package/cdn/chunks/chunk.KRLX4MIS.js +25 -0
- package/cdn/chunks/chunk.KUKLOXZJ.js +137 -0
- package/cdn/chunks/chunk.KZVNWVF7.js +25 -0
- package/cdn/chunks/chunk.L46U6UZM.js +158 -0
- package/cdn/chunks/chunk.L6HV4VRO.js +26 -0
- package/cdn/chunks/chunk.L7VLW2WQ.js +1925 -0
- package/cdn/chunks/chunk.LDG4FFOX.js +11 -0
- package/cdn/chunks/chunk.LFCIQ62U.js +22 -0
- package/cdn/chunks/chunk.LKMEPCL2.js +21 -0
- package/cdn/chunks/chunk.LQIEXKGK.js +11 -0
- package/cdn/chunks/chunk.LRBFK4GR.js +177 -0
- package/cdn/chunks/chunk.LRGEUME6.js +236 -0
- package/cdn/chunks/chunk.LX2IWFEF.js +155 -0
- package/cdn/chunks/chunk.M4KK4C2G.js +345 -0
- package/cdn/chunks/chunk.M5R6FBCL.js +271 -0
- package/cdn/chunks/chunk.M7OJX77N.js +42 -0
- package/cdn/chunks/chunk.MJSZGK7T.js +11 -0
- package/cdn/chunks/chunk.MR2NWWCA.js +11 -0
- package/cdn/chunks/chunk.MSEIXTPS.js +36 -0
- package/cdn/chunks/chunk.MT2KSBAH.js +25 -0
- package/cdn/chunks/chunk.N2RNVZD7.js +25 -0
- package/cdn/chunks/chunk.N2SGPX4I.js +77 -0
- package/cdn/chunks/chunk.N6Z36FFY.js +681 -0
- package/cdn/chunks/chunk.NDXSHFSW.js +24 -0
- package/cdn/chunks/chunk.NFM7ZX77.js +11 -0
- package/cdn/chunks/chunk.NJLGMTW4.js +24 -0
- package/cdn/chunks/chunk.NMPFIQ3O.js +361 -0
- package/cdn/chunks/chunk.NRAVVBKX.js +21 -0
- package/cdn/chunks/chunk.NREVM6GO.js +73 -0
- package/cdn/chunks/chunk.NYGQJUAI.js +111 -0
- package/cdn/chunks/chunk.NZAFZKU6.js +24 -0
- package/cdn/chunks/chunk.NZQX4UVC.js +29 -0
- package/cdn/chunks/chunk.O7EXOX5A.js +61 -0
- package/cdn/chunks/chunk.OLVVKQWP.js +24 -0
- package/cdn/chunks/chunk.OOEF6C2K.js +11 -0
- package/cdn/chunks/chunk.OPAPW4GM.js +150 -0
- package/cdn/chunks/chunk.OQBMVH34.js +14 -0
- package/cdn/chunks/chunk.ORPDF22S.js +30 -0
- package/cdn/chunks/chunk.ORVMZFZU.js +11 -0
- package/cdn/chunks/chunk.PC4SBX2U.js +114 -0
- package/cdn/chunks/chunk.PCQV4BNN.js +93 -0
- package/cdn/chunks/chunk.PCYCQW35.js +21 -0
- package/cdn/chunks/chunk.PICT22PW.js +25 -0
- package/cdn/chunks/chunk.PK4DHQKJ.js +50 -0
- package/cdn/chunks/chunk.PQXZ7YSE.js +208 -0
- package/cdn/chunks/chunk.PTZXUWKK.js +11 -0
- package/cdn/chunks/chunk.PWT5JJFI.js +135 -0
- package/cdn/chunks/chunk.PXQ34LBU.js +292 -0
- package/cdn/chunks/chunk.Q6V7CTYH.js +11 -0
- package/cdn/chunks/chunk.Q7SD47LR.js +263 -0
- package/cdn/chunks/chunk.QHD25N4L.js +11 -0
- package/cdn/chunks/chunk.QHEV3T44.js +14 -0
- package/cdn/chunks/chunk.QN6SASV6.js +86 -0
- package/cdn/chunks/chunk.QOH72IUF.js +11 -0
- package/cdn/chunks/chunk.R4673V3Q.js +66 -0
- package/cdn/chunks/chunk.R7N6N4IK.js +27 -0
- package/cdn/chunks/chunk.RBVCLAQN.js +236 -0
- package/cdn/chunks/chunk.RKKDLDAI.js +25 -0
- package/cdn/chunks/chunk.RNKSIYBN.js +11 -0
- package/cdn/chunks/chunk.RNX2ADSU.js +11 -0
- package/cdn/chunks/chunk.RR2YAHDZ.js +101 -0
- package/cdn/chunks/chunk.RV3RLE4K.js +81 -0
- package/cdn/chunks/chunk.RVL7QXYS.js +11 -0
- package/cdn/chunks/chunk.RWJZFB3L.js +73 -0
- package/cdn/chunks/chunk.RYIRLOE3.js +137 -0
- package/cdn/chunks/chunk.RZ53TTPQ.js +342 -0
- package/cdn/chunks/chunk.SFOHQTA4.js +11 -0
- package/cdn/chunks/chunk.SM7UENHY.js +67 -0
- package/cdn/chunks/chunk.SUSX5BLS.js +24 -0
- package/cdn/chunks/chunk.T5LB467Q.js +173 -0
- package/cdn/chunks/chunk.T6RV3AUR.js +11 -0
- package/cdn/chunks/chunk.T7Y6A2WP.js +21 -0
- package/cdn/chunks/chunk.TDCGQ2RC.js +11 -0
- package/cdn/chunks/chunk.TE6EREJW.js +28 -0
- package/cdn/chunks/chunk.TK5KQATK.js +21 -0
- package/cdn/chunks/chunk.TN6KGAGG.js +26 -0
- package/cdn/chunks/chunk.TNJW3BLX.js +21 -0
- package/cdn/chunks/chunk.TNSHBL7H.js +93 -0
- package/cdn/chunks/chunk.TSJTHAKY.js +346 -0
- package/cdn/chunks/chunk.TSR2EZLM.js +54 -0
- package/cdn/chunks/chunk.TT6BF5JB.js +21 -0
- package/cdn/chunks/chunk.TZ4FLPO7.js +57 -0
- package/cdn/chunks/chunk.UDILPTSV.js +233 -0
- package/cdn/chunks/chunk.UGLD2DPT.js +120 -0
- package/cdn/chunks/chunk.UNBPKX7A.js +85 -0
- package/cdn/chunks/chunk.UOAQSJ3P.js +37 -0
- package/cdn/chunks/chunk.URRPMAF5.js +379 -0
- package/cdn/chunks/chunk.V4QRO32F.js +11 -0
- package/cdn/chunks/chunk.VAZMDYBN.js +97 -0
- package/cdn/chunks/chunk.VBRH7YUA.js +21 -0
- package/cdn/chunks/chunk.VHCLMDG7.js +47 -0
- package/cdn/chunks/chunk.VNZTCGEY.js +21 -0
- package/cdn/chunks/chunk.VOA6THJP.js +21 -0
- package/cdn/chunks/chunk.VVNA565X.js +122 -0
- package/cdn/chunks/chunk.VWK5PYEH.js +455 -0
- package/cdn/chunks/chunk.W2UMAW7J.js +142 -0
- package/cdn/chunks/chunk.W5RGGQCC.js +103 -0
- package/cdn/chunks/chunk.WBZGTQPS.js +24 -0
- package/cdn/chunks/chunk.WCONL5LF.js +27 -0
- package/cdn/chunks/chunk.WIAGL6S2.js +1058 -0
- package/cdn/chunks/chunk.WICJO7HC.js +197 -0
- package/cdn/chunks/chunk.WOWIXZNT.js +11 -0
- package/cdn/chunks/chunk.WQ45OMHJ.js +29 -0
- package/cdn/chunks/chunk.WS2W75PS.js +27 -0
- package/cdn/chunks/chunk.WYXYMNG4.js +24 -0
- package/cdn/chunks/chunk.X4OKVQND.js +21 -0
- package/cdn/chunks/chunk.X545B26D.js +11 -0
- package/cdn/chunks/chunk.X7GX2LGV.js +109 -0
- package/cdn/chunks/chunk.XCUCDYSG.js +118 -0
- package/cdn/chunks/chunk.XGT3GC6I.js +21 -0
- package/cdn/chunks/chunk.XKAPNSQY.js +87 -0
- package/cdn/chunks/chunk.XKCUZEJP.js +123 -0
- package/cdn/chunks/chunk.XP5XNLHY.js +11 -0
- package/cdn/chunks/chunk.XPH3HYDF.js +77 -0
- package/cdn/chunks/chunk.XQB53FDS.js +153 -0
- package/cdn/chunks/chunk.XRUQSKYG.js +14 -0
- package/cdn/chunks/chunk.XZUQNSBB.js +10 -0
- package/cdn/chunks/chunk.Y3ILBXVX.js +186 -0
- package/cdn/chunks/chunk.Y6DZ4EYG.js +28 -0
- package/cdn/chunks/chunk.Y6JXDK7T.js +27 -0
- package/cdn/chunks/chunk.Y7ELGLU2.js +25 -0
- package/cdn/chunks/chunk.YDGWQWPS.js +11 -0
- package/cdn/chunks/chunk.YQWRPIZU.js +11 -0
- package/cdn/chunks/chunk.YVCGZCD6.js +67 -0
- package/cdn/chunks/chunk.YVEHBK7B.js +36 -0
- package/cdn/chunks/chunk.YWJEPR6Z.js +177 -0
- package/cdn/chunks/chunk.YWSZ7S5T.js +25 -0
- package/cdn/chunks/chunk.Z7FEUFDR.js +21 -0
- package/cdn/chunks/chunk.ZCH2HSQU.js +11 -0
- package/cdn/chunks/chunk.ZEMO6IK7.js +11 -0
- package/cdn/chunks/chunk.ZF2QQAVL.js +25 -0
- package/cdn/chunks/chunk.ZFLAXOIS.js +49 -0
- package/cdn/chunks/chunk.ZG4UQTC6.js +1990 -0
- package/cdn/chunks/chunk.ZNFQ6T3K.js +11 -0
- package/cdn/chunks/chunk.ZXO2YJ7O.js +162 -0
- package/cdn/components/alert/alert.component.js +16 -16
- package/cdn/components/alert/alert.js +17 -17
- package/cdn/components/alert/alert.styles.js +2 -2
- package/cdn/components/animated-image/animated-image.component.js +9 -9
- package/cdn/components/animated-image/animated-image.js +10 -10
- package/cdn/components/animated-image/animated-image.styles.js +2 -2
- package/cdn/components/animation/animation.component.js +5 -5
- package/cdn/components/animation/animation.js +6 -6
- package/cdn/components/animation/animation.styles.js +2 -2
- package/cdn/components/avatar/avatar.component.js +10 -10
- package/cdn/components/avatar/avatar.js +11 -11
- package/cdn/components/avatar/avatar.styles.js +2 -2
- package/cdn/components/badge/badge.component.js +6 -6
- package/cdn/components/badge/badge.js +7 -7
- package/cdn/components/badge/badge.styles.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.component.js +9 -9
- package/cdn/components/breadcrumb/breadcrumb.js +10 -10
- package/cdn/components/breadcrumb/breadcrumb.styles.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +7 -7
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +8 -8
- package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +2 -2
- package/cdn/components/button/button.component.js +16 -16
- package/cdn/components/button/button.js +17 -17
- package/cdn/components/button/button.styles.js +2 -2
- package/cdn/components/button-group/button-group.component.js +5 -5
- package/cdn/components/button-group/button-group.js +6 -6
- package/cdn/components/button-group/button-group.styles.js +2 -2
- package/cdn/components/calendar/calendar.component.js +19 -20
- package/cdn/components/calendar/calendar.js +19 -20
- package/cdn/components/card/card.component.js +6 -6
- package/cdn/components/card/card.js +7 -7
- package/cdn/components/card/card.styles.js +2 -2
- package/cdn/components/carousel/carousel.component.js +11 -11
- package/cdn/components/carousel/carousel.js +12 -12
- package/cdn/components/carousel/carousel.styles.js +2 -2
- package/cdn/components/carousel-item/carousel-item.component.js +5 -5
- package/cdn/components/carousel-item/carousel-item.js +6 -6
- package/cdn/components/carousel-item/carousel-item.styles.js +2 -2
- package/cdn/components/checkbox/checkbox.component.js +13 -13
- package/cdn/components/checkbox/checkbox.js +14 -14
- package/cdn/components/checkbox/checkbox.styles.js +2 -2
- package/cdn/components/color-picker/color-picker.component.js +31 -31
- package/cdn/components/color-picker/color-picker.js +32 -32
- package/cdn/components/color-picker/color-picker.styles.js +2 -2
- package/cdn/components/copy-button/copy-button.component.js +15 -15
- package/cdn/components/copy-button/copy-button.js +16 -16
- package/cdn/components/copy-button/copy-button.styles.js +2 -2
- package/cdn/components/date-panel/date-panel.component.js +46 -0
- package/cdn/components/date-panel/date-panel.js +50 -0
- package/cdn/components/date-panel/date-panel.styles.js +8 -0
- package/cdn/components/datepicker/datepicker.component.js +33 -32
- package/cdn/components/datepicker/datepicker.js +33 -32
- package/cdn/components/details/details.component.js +11 -11
- package/cdn/components/details/details.js +12 -12
- package/cdn/components/details/details.styles.js +2 -2
- package/cdn/components/dialog/dialog.component.js +16 -16
- package/cdn/components/dialog/dialog.js +17 -17
- package/cdn/components/dialog/dialog.styles.js +2 -2
- package/cdn/components/divider/divider.component.js +5 -5
- package/cdn/components/divider/divider.js +6 -6
- package/cdn/components/divider/divider.styles.js +2 -2
- package/cdn/components/drawer/drawer.component.js +16 -16
- package/cdn/components/drawer/drawer.js +17 -17
- package/cdn/components/drawer/drawer.styles.js +2 -2
- package/cdn/components/dropdown/dropdown.component.js +10 -10
- package/cdn/components/dropdown/dropdown.js +11 -11
- package/cdn/components/dropdown/dropdown.styles.js +2 -2
- package/cdn/components/format-bytes/format-bytes.component.js +3 -3
- package/cdn/components/format-bytes/format-bytes.js +4 -4
- package/cdn/components/format-date/format-date.component.js +3 -3
- package/cdn/components/format-date/format-date.js +4 -4
- package/cdn/components/format-number/format-number.component.js +3 -3
- package/cdn/components/format-number/format-number.js +4 -4
- package/cdn/components/icon/icon.component.js +7 -7
- package/cdn/components/icon/icon.js +8 -8
- package/cdn/components/icon/icon.styles.js +2 -2
- package/cdn/components/icon-button/icon-button.component.js +12 -12
- package/cdn/components/icon-button/icon-button.js +13 -13
- package/cdn/components/icon-button/icon-button.styles.js +2 -2
- package/cdn/components/image-comparer/image-comparer.component.js +12 -12
- package/cdn/components/image-comparer/image-comparer.js +13 -13
- package/cdn/components/image-comparer/image-comparer.styles.js +2 -2
- package/cdn/components/include/include.component.js +5 -5
- package/cdn/components/include/include.js +6 -6
- package/cdn/components/include/include.styles.js +2 -2
- package/cdn/components/input/input.component.js +15 -15
- package/cdn/components/input/input.js +16 -16
- package/cdn/components/input/input.styles.js +2 -2
- package/cdn/components/menu/menu.component.js +5 -5
- package/cdn/components/menu/menu.js +6 -6
- package/cdn/components/menu/menu.styles.js +2 -2
- package/cdn/components/menu-item/menu-item.component.js +18 -18
- package/cdn/components/menu-item/menu-item.js +19 -19
- package/cdn/components/menu-item/menu-item.styles.js +2 -2
- package/cdn/components/menu-item/submenu-controller.js +4 -4
- package/cdn/components/menu-label/menu-label.component.js +5 -5
- package/cdn/components/menu-label/menu-label.js +6 -6
- package/cdn/components/menu-label/menu-label.styles.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.component.js +5 -5
- package/cdn/components/mutation-observer/mutation-observer.js +6 -6
- package/cdn/components/mutation-observer/mutation-observer.styles.js +2 -2
- package/cdn/components/nav/nav.component.js +13 -0
- package/cdn/components/nav/nav.js +14 -0
- package/cdn/components/nav/nav.styles.js +9 -0
- package/cdn/components/nav-group/nav-group.component.js +11 -0
- package/cdn/components/nav-group/nav-group.js +12 -0
- package/cdn/components/nav-group/nav-group.styles.js +9 -0
- package/cdn/components/nav-item/nav-item.component.js +13 -0
- package/cdn/components/nav-item/nav-item.js +14 -0
- package/cdn/components/nav-item/nav-item.styles.js +9 -0
- package/cdn/components/nav-submenu/nav-submenu.component.js +29 -0
- package/cdn/components/nav-submenu/nav-submenu.js +30 -0
- package/cdn/components/nav-submenu/nav-submenu.styles.js +9 -0
- package/cdn/components/option/option.component.js +11 -11
- package/cdn/components/option/option.js +12 -12
- package/cdn/components/option/option.styles.js +2 -2
- package/cdn/components/pagination/custom-select.js +11 -11
- package/cdn/components/pagination/pagination.component.js +17 -17
- package/cdn/components/pagination/pagination.js +17 -17
- package/cdn/components/pagination/pagination.styles.js +2 -2
- package/cdn/components/popup/popup.component.js +7 -7
- package/cdn/components/popup/popup.js +8 -8
- package/cdn/components/popup/popup.styles.js +2 -2
- package/cdn/components/progress-bar/progress-bar.component.js +9 -9
- package/cdn/components/progress-bar/progress-bar.js +10 -10
- package/cdn/components/progress-bar/progress-bar.styles.js +2 -2
- package/cdn/components/progress-ring/progress-ring.component.js +5 -5
- package/cdn/components/progress-ring/progress-ring.js +6 -6
- package/cdn/components/progress-ring/progress-ring.styles.js +2 -2
- package/cdn/components/qr-code/qr-code.component.js +6 -6
- package/cdn/components/qr-code/qr-code.js +7 -7
- package/cdn/components/qr-code/qr-code.styles.js +2 -2
- package/cdn/components/radio/radio.component.js +10 -10
- package/cdn/components/radio/radio.js +11 -11
- package/cdn/components/radio/radio.styles.js +2 -2
- package/cdn/components/radio-button/radio-button.component.js +9 -9
- package/cdn/components/radio-button/radio-button.js +10 -10
- package/cdn/components/radio-button/radio-button.styles.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +9 -9
- package/cdn/components/radio-group/radio-group.js +10 -10
- package/cdn/components/radio-group/radio-group.styles.js +2 -2
- package/cdn/components/range/range.component.js +12 -12
- package/cdn/components/range/range.js +13 -13
- package/cdn/components/range/range.styles.js +2 -2
- package/cdn/components/rating/rating.component.js +13 -13
- package/cdn/components/rating/rating.js +14 -14
- package/cdn/components/rating/rating.styles.js +2 -2
- package/cdn/components/relative-time/relative-time.component.js +3 -3
- package/cdn/components/relative-time/relative-time.js +4 -4
- package/cdn/components/resize-observer/resize-observer.component.js +5 -5
- package/cdn/components/resize-observer/resize-observer.js +6 -6
- package/cdn/components/resize-observer/resize-observer.styles.js +2 -2
- package/cdn/components/screen/gridstack.styles.js +2 -2
- package/cdn/components/screen/screen.component.js +6 -6
- package/cdn/components/screen/screen.js +7 -7
- package/cdn/components/screen/screen.styles.js +2 -2
- package/cdn/components/select/select.component.js +22 -22
- package/cdn/components/select/select.js +23 -23
- package/cdn/components/select/select.styles.js +2 -2
- package/cdn/components/skeleton/skeleton.component.js +6 -6
- package/cdn/components/skeleton/skeleton.js +7 -7
- package/cdn/components/skeleton/skeleton.styles.js +2 -2
- package/cdn/components/spinner/spinner.component.js +5 -5
- package/cdn/components/spinner/spinner.js +6 -6
- package/cdn/components/spinner/spinner.styles.js +2 -2
- package/cdn/components/split-panel/split-panel.component.js +6 -6
- package/cdn/components/split-panel/split-panel.js +7 -7
- package/cdn/components/split-panel/split-panel.styles.js +2 -2
- package/cdn/components/switch/switch.component.js +10 -10
- package/cdn/components/switch/switch.js +11 -11
- package/cdn/components/switch/switch.styles.js +2 -2
- package/cdn/components/tab/tab.component.js +15 -15
- package/cdn/components/tab/tab.js +16 -16
- package/cdn/components/tab/tab.styles.js +2 -2
- package/cdn/components/tab-group/tab-group.component.js +17 -17
- package/cdn/components/tab-group/tab-group.js +18 -18
- package/cdn/components/tab-group/tab-group.styles.js +2 -2
- package/cdn/components/tab-panel/tab-panel.component.js +6 -6
- package/cdn/components/tab-panel/tab-panel.js +7 -7
- package/cdn/components/tab-panel/tab-panel.styles.js +2 -2
- package/cdn/components/table/body-table.js +13 -10
- package/cdn/components/table/col-group.js +5 -5
- package/cdn/components/table/const.js +5 -3
- package/cdn/components/table/features/col-pining.js +11 -0
- package/cdn/components/table/features/index.js +11 -3
- package/cdn/components/table/features/row-drag.js +24 -0
- package/cdn/components/table/features/row-expend.js +2 -2
- package/cdn/components/table/features/row-selection.js +2 -2
- package/cdn/components/table/head-table.js +45 -44
- package/cdn/components/table/spinner-container.js +3 -3
- package/cdn/components/table/table.component.js +55 -53
- package/cdn/components/table/table.js +56 -54
- package/cdn/components/table/utils.js +6 -2
- package/cdn/components/tag/tag.component.js +15 -15
- package/cdn/components/tag/tag.js +16 -16
- package/cdn/components/tag/tag.styles.js +2 -2
- package/cdn/components/textarea/textarea.component.js +10 -10
- package/cdn/components/textarea/textarea.js +11 -11
- package/cdn/components/textarea/textarea.styles.js +2 -2
- package/cdn/components/time-panel/time-panel.component.js +18 -18
- package/cdn/components/time-panel/time-panel.js +18 -18
- package/cdn/components/time-panel/time-panel.styles.js +2 -2
- package/cdn/components/timepicker/timepicker.component.js +43 -30
- package/cdn/components/timepicker/timepicker.js +44 -31
- package/cdn/components/timepicker/timepicker.styles.js +2 -2
- package/cdn/components/tooltip/tooltip.component.js +9 -9
- package/cdn/components/tooltip/tooltip.js +10 -10
- package/cdn/components/tooltip/tooltip.styles.js +2 -2
- package/cdn/components/tree/tree.component.js +21 -21
- package/cdn/components/tree/tree.js +22 -22
- package/cdn/components/tree/tree.styles.js +2 -2
- package/cdn/components/tree-item/tree-item.component.js +19 -19
- package/cdn/components/tree-item/tree-item.js +20 -20
- package/cdn/components/tree-item/tree-item.styles.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.component.js +5 -5
- package/cdn/components/visually-hidden/visually-hidden.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.styles.js +2 -2
- package/cdn/custom-elements.json +3863 -2391
- package/cdn/react/alert/index.js +17 -17
- package/cdn/react/animated-image/index.js +10 -10
- package/cdn/react/animation/index.js +6 -6
- package/cdn/react/avatar/index.js +11 -11
- package/cdn/react/badge/index.js +7 -7
- package/cdn/react/breadcrumb/index.js +10 -10
- package/cdn/react/breadcrumb-item/index.js +8 -8
- package/cdn/react/button/index.js +17 -17
- package/cdn/react/button-group/index.js +6 -6
- package/cdn/react/card/index.js +7 -7
- package/cdn/react/carousel/index.js +12 -12
- package/cdn/react/carousel-item/index.js +6 -6
- package/cdn/react/checkbox/index.js +14 -14
- package/cdn/react/color-picker/index.js +32 -32
- package/cdn/react/copy-button/index.js +16 -16
- package/cdn/react/date-panel/index.js +47 -0
- package/cdn/react/datepicker/index.js +34 -33
- package/cdn/react/details/index.js +12 -12
- package/cdn/react/dialog/index.js +17 -17
- package/cdn/react/divider/index.js +6 -6
- package/cdn/react/drawer/index.js +17 -17
- package/cdn/react/dropdown/index.js +11 -11
- package/cdn/react/format-bytes/index.js +4 -4
- package/cdn/react/format-date/index.js +4 -4
- package/cdn/react/format-number/index.js +4 -4
- package/cdn/react/icon/index.js +8 -8
- package/cdn/react/icon-button/index.js +13 -13
- package/cdn/react/image-comparer/index.js +13 -13
- package/cdn/react/include/index.js +6 -6
- package/cdn/react/index.js +286 -256
- package/cdn/react/input/index.js +16 -16
- package/cdn/react/menu/index.js +6 -6
- package/cdn/react/menu-item/index.js +19 -19
- package/cdn/react/menu-label/index.js +6 -6
- package/cdn/react/mutation-observer/index.js +6 -6
- package/cdn/react/nav/index.js +14 -0
- package/cdn/react/nav-group/index.js +12 -0
- package/cdn/react/nav-item/index.js +14 -0
- package/cdn/react/nav-submenu/index.js +30 -0
- package/cdn/react/option/index.js +12 -12
- package/cdn/react/pagination/index.js +18 -18
- package/cdn/react/popup/index.js +8 -8
- package/cdn/react/progress-bar/index.js +10 -10
- package/cdn/react/progress-ring/index.js +6 -6
- package/cdn/react/qr-code/index.js +7 -7
- package/cdn/react/radio/index.js +11 -11
- package/cdn/react/radio-button/index.js +10 -10
- package/cdn/react/radio-group/index.js +10 -10
- package/cdn/react/range/index.js +13 -13
- package/cdn/react/rating/index.js +14 -14
- package/cdn/react/relative-time/index.js +4 -4
- package/cdn/react/resize-observer/index.js +6 -6
- package/cdn/react/screen/index.js +7 -7
- package/cdn/react/select/index.js +23 -23
- package/cdn/react/skeleton/index.js +7 -7
- package/cdn/react/spinner/index.js +6 -6
- package/cdn/react/split-panel/index.js +7 -7
- package/cdn/react/switch/index.js +11 -11
- package/cdn/react/tab/index.js +16 -16
- package/cdn/react/tab-group/index.js +18 -18
- package/cdn/react/tab-panel/index.js +7 -7
- package/cdn/react/table/index.js +56 -54
- package/cdn/react/tag/index.js +16 -16
- package/cdn/react/textarea/index.js +11 -11
- package/cdn/react/timepicker/index.js +42 -29
- package/cdn/react/tooltip/index.js +10 -10
- package/cdn/react/tree/index.js +22 -22
- package/cdn/react/tree-item/index.js +20 -20
- package/cdn/react/visually-hidden/index.js +6 -6
- package/cdn/shoelace.js +274 -249
- package/cdn/themes/dark.css +4 -3
- package/cdn/themes/dark.styles.js +5 -4
- package/cdn/themes/light.css +4 -3
- package/cdn/themes/light.styles.js +5 -4
- package/cdn/types/vue/index.d.ts +631 -400
- package/cdn/vscode.html-custom-data.json +428 -238
- package/cdn/web-types.json +1124 -650
- package/dist/assets/icons/anthropic.svg +3 -0
- package/dist/assets/icons/apple-music.svg +3 -0
- package/dist/assets/icons/battery-low.svg +4 -0
- package/dist/assets/icons/beaker-fill.svg +3 -0
- package/dist/assets/icons/beaker.svg +4 -0
- package/dist/assets/icons/bluesky.svg +3 -0
- package/dist/assets/icons/calendar3-event-fill.svg +1 -1
- package/dist/assets/icons/calendar3-range-fill.svg +1 -1
- package/dist/assets/icons/calendar3-week-fill.svg +1 -1
- package/dist/assets/icons/claude.svg +3 -0
- package/dist/assets/icons/css.svg +3 -0
- package/dist/assets/icons/flask-fill.svg +3 -0
- package/dist/assets/icons/flask-florence-fill.svg +3 -0
- package/dist/assets/icons/flask-florence.svg +3 -0
- package/dist/assets/icons/flask.svg +3 -0
- package/dist/assets/icons/fork-knife.svg +3 -0
- package/dist/assets/icons/globe-americas-fill.svg +3 -0
- package/dist/assets/icons/globe-asia-australia-fill.svg +3 -0
- package/dist/assets/icons/globe-central-south-asia-fill.svg +3 -0
- package/dist/assets/icons/globe-europe-africa-fill.svg +3 -0
- package/dist/assets/icons/icons.json +548 -143
- package/dist/assets/icons/javascript.svg +3 -0
- package/dist/assets/icons/leaf-fill.svg +3 -0
- package/dist/assets/icons/leaf.svg +3 -0
- package/dist/assets/icons/lock-fill.svg +1 -1
- package/dist/assets/icons/lock.svg +1 -1
- package/dist/assets/icons/measuring-cup-fill.svg +3 -0
- package/dist/assets/icons/measuring-cup.svg +3 -0
- package/dist/assets/icons/meta.svg +1 -1
- package/dist/assets/icons/openai.svg +3 -0
- package/dist/assets/icons/perplexity.svg +3 -0
- package/dist/assets/icons/tux.svg +4 -0
- package/dist/assets/icons/typescript.svg +3 -0
- package/dist/assets/icons/unlock-fill.svg +1 -1
- package/dist/assets/icons/unlock.svg +1 -1
- package/dist/assets/icons/unlock2-fill.svg +3 -0
- package/dist/assets/icons/unlock2.svg +3 -0
- package/dist/chunks/chunk.2BINLYOI.js +147 -0
- package/dist/chunks/chunk.2BSQP4QD.js +306 -0
- package/dist/chunks/chunk.2D4HHVSG.js +21 -0
- package/dist/chunks/chunk.2IA6C64M.js +22 -0
- package/dist/chunks/chunk.34H5UHTC.js +134 -0
- package/dist/chunks/chunk.3A4NOYJ2.js +361 -0
- package/dist/chunks/chunk.3DBTA74X.js +231 -0
- package/dist/chunks/chunk.3G3HTSYD.js +119 -0
- package/dist/chunks/chunk.3LQZGZQS.js +11 -0
- package/dist/chunks/chunk.3XT5JKV2.js +25 -0
- package/dist/chunks/chunk.43UZVBFV.js +29 -0
- package/dist/chunks/chunk.4D7ZTCVS.js +11 -0
- package/dist/chunks/chunk.4KKYO676.js +11 -0
- package/dist/chunks/chunk.4RU5AWLF.js +328 -0
- package/dist/chunks/chunk.4VL3QPZN.js +85 -0
- package/dist/chunks/chunk.4YRHUWQJ.js +11 -0
- package/dist/chunks/chunk.54PQUSBV.js +27 -0
- package/dist/chunks/chunk.55KAF4HI.js +11 -0
- package/dist/chunks/chunk.55S3OOTM.js +33 -0
- package/dist/chunks/chunk.5DVDSPLW.js +11 -0
- package/dist/chunks/chunk.5HNXE6VO.js +11 -0
- package/dist/chunks/chunk.5PKJ5JGP.js +11 -0
- package/dist/chunks/chunk.5TIEVFPW.js +24 -0
- package/dist/chunks/chunk.5UU4O2OW.js +11 -0
- package/dist/chunks/chunk.5V5FOVYW.js +11 -0
- package/dist/chunks/chunk.65RPV74K.js +11 -0
- package/dist/chunks/chunk.65U5J5N4.js +24 -0
- package/dist/chunks/chunk.6BR7R47G.js +25 -0
- package/dist/chunks/chunk.6CJNXI7L.js +11 -0
- package/dist/chunks/chunk.6KKX6GGR.js +11 -0
- package/dist/chunks/chunk.7C3SBUFW.js +24 -0
- package/dist/chunks/chunk.7CCZCHEA.js +315 -0
- package/dist/chunks/chunk.7FUZB3FM.js +89 -0
- package/dist/chunks/chunk.7TBNG7QH.js +11 -0
- package/dist/chunks/chunk.7YTBFE3L.js +25 -0
- package/dist/chunks/chunk.AEEOFKEI.js +75 -0
- package/dist/chunks/chunk.AKDKEN4K.js +91 -0
- package/dist/chunks/chunk.AL3KKQ7S.js +21 -0
- package/dist/chunks/chunk.AWML2ORU.js +277 -0
- package/dist/chunks/chunk.B35YUIV6.js +192 -0
- package/dist/chunks/chunk.B625EXTV.js +227 -0
- package/dist/chunks/chunk.BHK3MAGD.js +11 -0
- package/dist/chunks/chunk.BHRMRWG6.js +21 -0
- package/dist/chunks/chunk.BI2DJN7V.js +24 -0
- package/dist/chunks/chunk.BK532O5J.js +21 -0
- package/dist/chunks/chunk.BNQGTWGN.js +21 -0
- package/dist/chunks/chunk.BO2X5ZMQ.js +11 -0
- package/dist/chunks/chunk.BOOB7ZDY.js +11 -0
- package/dist/chunks/chunk.BWWO2OA2.js +21 -0
- package/dist/chunks/chunk.C3LRRDYL.js +213 -0
- package/dist/chunks/chunk.C6MJ5GD5.js +50 -0
- package/dist/chunks/chunk.C7IZG4PY.js +11 -0
- package/dist/chunks/chunk.CEQ2E64D.js +25 -0
- package/dist/chunks/chunk.CJ7WPMEJ.js +11 -0
- package/dist/chunks/chunk.CKP6CCOM.js +27 -0
- package/dist/chunks/chunk.CQTEPHFU.js +384 -0
- package/dist/chunks/chunk.CRX75ZFD.js +21 -0
- package/dist/chunks/chunk.CSEENZAK.js +132 -0
- package/dist/chunks/chunk.CZUJXCYB.js +11 -0
- package/dist/chunks/chunk.D5KNVM2P.js +90 -0
- package/dist/chunks/chunk.D5N2ZW72.js +274 -0
- package/dist/chunks/chunk.D66RGQF2.js +21 -0
- package/dist/chunks/chunk.DAIEQFF6.js +22 -0
- package/dist/chunks/chunk.DC5CLC6M.js +148 -0
- package/dist/chunks/chunk.DEEBZOLB.js +11 -0
- package/dist/chunks/chunk.DG5SFWFF.js +21 -0
- package/dist/chunks/chunk.DGXPNZOK.js +73 -0
- package/dist/chunks/chunk.DNOGZINF.js +29 -0
- package/dist/chunks/chunk.DOQE3UEC.js +11 -0
- package/dist/chunks/chunk.DOZ4AECL.js +11 -0
- package/dist/chunks/chunk.DTQMOCM2.js +338 -0
- package/dist/chunks/chunk.DY753VTA.js +109 -0
- package/dist/chunks/chunk.E3V3XLVG.js +25 -0
- package/dist/chunks/chunk.E4OCSYIJ.js +63 -0
- package/dist/chunks/chunk.EBD5HDMG.js +21 -0
- package/dist/chunks/chunk.EEUI27HE.js +21 -0
- package/dist/chunks/chunk.ELUKQF6A.js +11 -0
- package/dist/chunks/chunk.EXKZU4YQ.js +116 -0
- package/dist/chunks/chunk.EZFQCTCO.js +25 -0
- package/dist/chunks/chunk.F2MJKLI5.js +21 -0
- package/dist/chunks/chunk.F76GTWU3.js +119 -0
- package/dist/chunks/chunk.FJNILBWN.js +75 -0
- package/dist/chunks/chunk.FPOTUEA5.js +28 -0
- package/dist/chunks/chunk.FQ2MZ5BN.js +25 -0
- package/dist/chunks/chunk.FS7NXERY.js +21 -0
- package/dist/chunks/chunk.FTS7TV2N.js +11 -0
- package/dist/chunks/chunk.FY2ZXS6F.js +117 -0
- package/dist/chunks/chunk.FZR6BKU2.js +55 -0
- package/dist/chunks/chunk.GMDUN5A6.js +100 -0
- package/dist/chunks/chunk.GQ2LYQDK.js +27 -0
- package/dist/chunks/chunk.GVDYPTE6.js +108 -0
- package/dist/chunks/chunk.GXKPSSUK.js +37 -0
- package/dist/chunks/chunk.GYN5WVOD.js +21 -0
- package/dist/chunks/chunk.HBNF6HHX.js +21 -0
- package/dist/chunks/chunk.HIA5D3XY.js +25 -0
- package/dist/chunks/chunk.HKDQ7CO3.js +167 -0
- package/dist/chunks/chunk.HPQAD2AR.js +11 -0
- package/dist/chunks/chunk.I3VGG5HI.js +113 -0
- package/dist/chunks/chunk.IA3ECTCP.js +24 -0
- package/dist/chunks/chunk.IDUGGGW7.js +11 -0
- package/dist/chunks/chunk.IEF3MZN4.js +59 -0
- package/dist/chunks/chunk.IFALPITF.js +35 -0
- package/dist/chunks/chunk.IKG7GFWI.js +122 -0
- package/dist/chunks/chunk.IL2H2WKX.js +11 -0
- package/dist/chunks/chunk.IM3Y7QWK.js +109 -0
- package/dist/chunks/chunk.IUR5UQCL.js +27 -0
- package/dist/chunks/chunk.IW6KMFJU.js +11 -0
- package/dist/chunks/chunk.JBW5KPLH.js +21 -0
- package/dist/chunks/chunk.JJSYXQXL.js +494 -0
- package/dist/chunks/chunk.JR55FCQJ.js +1056 -0
- package/dist/chunks/chunk.JU3LZZRE.js +181 -0
- package/dist/chunks/chunk.KGJZHEOK.js +247 -0
- package/dist/chunks/chunk.KIM6B76U.js +24 -0
- package/dist/chunks/chunk.KMYWGBOI.js +11 -0
- package/dist/chunks/chunk.KPRSKD3P.js +39 -0
- package/dist/chunks/chunk.KPWY6RL4.js +11 -0
- package/dist/chunks/chunk.KTSMVXKF.js +417 -0
- package/dist/chunks/chunk.KWTJWZZX.js +28 -0
- package/dist/chunks/chunk.L322A5HO.js +45 -0
- package/dist/chunks/chunk.LE3RS4K3.js +34 -0
- package/dist/chunks/chunk.LJKZZ4EI.js +24 -0
- package/dist/chunks/chunk.LJT5YHOY.js +263 -0
- package/dist/chunks/chunk.LLDZL4LE.js +25 -0
- package/dist/chunks/chunk.LNJK3H7R.js +21 -0
- package/dist/chunks/chunk.LSYZ4HY6.js +949 -0
- package/dist/chunks/chunk.M2AXCCZV.js +11 -0
- package/dist/chunks/chunk.M4RRGVRJ.js +11 -0
- package/dist/chunks/chunk.M5M4PQFV.js +21 -0
- package/dist/chunks/chunk.M7VPD7XO.js +42 -0
- package/dist/chunks/chunk.MAWF3EWY.js +28 -0
- package/dist/chunks/chunk.MF4CE63B.js +11 -0
- package/dist/chunks/chunk.MMA2ZWOJ.js +174 -0
- package/dist/chunks/chunk.MXW3E66R.js +126 -0
- package/dist/chunks/chunk.N7SFG5VQ.js +28 -0
- package/dist/chunks/chunk.NCUQD3BI.js +11 -0
- package/dist/chunks/chunk.NDZJBHSA.js +100 -0
- package/dist/chunks/chunk.NGHBU5JL.js +11 -0
- package/dist/chunks/chunk.NMS7WJWO.js +11 -0
- package/dist/chunks/chunk.NQ55XHZV.js +45 -0
- package/dist/chunks/chunk.O223QDOY.js +80 -0
- package/dist/chunks/chunk.O24TDVAE.js +11 -0
- package/dist/chunks/chunk.O6IQ3LNL.js +214 -0
- package/dist/chunks/chunk.OCJCZILP.js +11 -0
- package/dist/chunks/chunk.OGPMUZBE.js +293 -0
- package/dist/chunks/chunk.OJQM7QV3.js +11 -0
- package/dist/chunks/chunk.OKHZVDNY.js +11 -0
- package/dist/chunks/chunk.OKWPLGRV.js +24 -0
- package/dist/chunks/chunk.OZXB3DTP.js +11 -0
- package/dist/chunks/chunk.P5TRMZLR.js +11 -0
- package/dist/chunks/chunk.PDR7SFUQ.js +112 -0
- package/dist/chunks/chunk.PHVS3KJH.js +156 -0
- package/dist/chunks/chunk.PKJ27UKI.js +33 -0
- package/dist/chunks/chunk.Q2LC3QKX.js +64 -0
- package/dist/chunks/chunk.Q2M3IRFY.js +26 -0
- package/dist/chunks/chunk.Q4KHVJ4C.js +11 -0
- package/dist/chunks/chunk.Q6OINTVG.js +294 -0
- package/dist/chunks/chunk.QCRRRZGP.js +11 -0
- package/dist/chunks/chunk.QINP5EUY.js +11 -0
- package/dist/chunks/chunk.QJGZUH2Y.js +29 -0
- package/dist/chunks/chunk.QMBOT4RV.js +24 -0
- package/dist/chunks/chunk.QPSRZE4H.js +11 -0
- package/dist/chunks/chunk.QQGKHCLI.js +371 -0
- package/dist/chunks/chunk.QRRAVGY3.js +448 -0
- package/dist/chunks/chunk.QTTCKVPV.js +135 -0
- package/dist/chunks/chunk.QZEMPFMU.js +11 -0
- package/dist/chunks/chunk.R2GZTDR3.js +25 -0
- package/dist/chunks/chunk.R7ZISX7X.js +93 -0
- package/dist/chunks/chunk.REUD6MIU.js +205 -0
- package/dist/chunks/chunk.REUNBDYH.js +550 -0
- package/dist/chunks/chunk.RFBLCSGH.js +11 -0
- package/dist/chunks/chunk.RGECRYWH.js +11 -0
- package/dist/chunks/chunk.RJRDQHBH.js +28 -0
- package/dist/chunks/chunk.RLKFPUZP.js +337 -0
- package/dist/chunks/chunk.S2RYB3DV.js +397 -0
- package/dist/chunks/chunk.SAHV25ZU.js +96 -0
- package/dist/chunks/chunk.SBPQZUMZ.js +21 -0
- package/dist/chunks/chunk.SCRZEJRA.js +28 -0
- package/dist/chunks/chunk.SI7ZCWFM.js +34 -0
- package/dist/chunks/chunk.ST5YCFFA.js +119 -0
- package/dist/chunks/chunk.TBJB7D6Z.js +325 -0
- package/dist/chunks/chunk.TF7SCCGT.js +27 -0
- package/dist/chunks/chunk.TFAUE26H.js +27 -0
- package/dist/chunks/chunk.TFCUOTRH.js +11 -0
- package/dist/chunks/chunk.TFPDIKHB.js +33 -0
- package/dist/chunks/chunk.TGM7PQOQ.js +21 -0
- package/dist/chunks/chunk.TJMXWVKV.js +111 -0
- package/dist/chunks/chunk.TK53DS33.js +11 -0
- package/dist/chunks/chunk.TN4AGWC5.js +24 -0
- package/dist/chunks/chunk.U4JAPFAI.js +489 -0
- package/dist/chunks/chunk.U6HKP5PM.js +11 -0
- package/dist/chunks/chunk.U7FQHFT6.js +21 -0
- package/dist/chunks/chunk.UC7HGZ7Y.js +11 -0
- package/dist/chunks/chunk.UEIGSM7G.js +11 -0
- package/dist/chunks/chunk.UGQ2ABGB.js +11 -0
- package/dist/chunks/chunk.URLMFGU3.js +21 -0
- package/dist/chunks/chunk.UWJCWDTH.js +152 -0
- package/dist/chunks/chunk.V3SYWNCE.js +46 -0
- package/dist/chunks/chunk.VCF7C3DO.js +247 -0
- package/dist/chunks/chunk.VEBSCDJA.js +11 -0
- package/dist/chunks/chunk.VGD6N4VS.js +24 -0
- package/dist/chunks/chunk.VHWATTYS.js +55 -0
- package/dist/chunks/chunk.VRX5HA6F.js +568 -0
- package/dist/chunks/chunk.VRZZLQ3X.js +21 -0
- package/dist/chunks/chunk.VTS2WKNY.js +21 -0
- package/dist/chunks/chunk.VTVESY7M.js +311 -0
- package/dist/chunks/chunk.W5KB6T3Z.js +91 -0
- package/dist/chunks/chunk.W7FBZDC5.js +11 -0
- package/dist/chunks/chunk.WABVKOTD.js +67 -0
- package/dist/chunks/chunk.WBWPWG4N.js +302 -0
- package/dist/chunks/chunk.WFBHGOPY.js +286 -0
- package/dist/chunks/chunk.WJ4UDJ5X.js +11 -0
- package/dist/chunks/chunk.WL3B7OPS.js +29 -0
- package/dist/chunks/chunk.WO7ALQNH.js +46 -0
- package/dist/chunks/chunk.WRYYOP5E.js +151 -0
- package/dist/chunks/chunk.X7UGOVCQ.js +252 -0
- package/dist/chunks/chunk.XCH2XJ4H.js +11 -0
- package/dist/chunks/chunk.XDNVRNJ4.js +26 -0
- package/dist/chunks/chunk.XLQZZINH.js +280 -0
- package/dist/chunks/chunk.XO4YOCCI.js +26 -0
- package/dist/chunks/chunk.XOB4NGOY.js +711 -0
- package/dist/chunks/chunk.XRLAMWSE.js +25 -0
- package/dist/chunks/chunk.XVAUGL7H.js +28 -0
- package/dist/chunks/chunk.XZUQNSBB.js +10 -0
- package/dist/chunks/chunk.YD2NIRZQ.js +24 -0
- package/dist/chunks/chunk.YGFKPU5O.js +24 -0
- package/dist/chunks/chunk.YIKIV6PG.js +52 -0
- package/dist/chunks/chunk.YMVBZDIC.js +11 -0
- package/dist/chunks/chunk.YT7MKC2G.js +11 -0
- package/dist/chunks/chunk.YWMB2DRG.js +21 -0
- package/dist/chunks/chunk.Z2MPXJPA.js +814 -0
- package/dist/chunks/chunk.ZGLGFZOO.js +11 -0
- package/dist/chunks/chunk.ZP3Y4K4L.js +11 -0
- package/dist/components/alert/alert.component.js +11 -11
- package/dist/components/alert/alert.js +12 -12
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/animated-image/animated-image.component.js +7 -7
- package/dist/components/animated-image/animated-image.js +8 -8
- package/dist/components/animated-image/animated-image.styles.js +1 -1
- package/dist/components/animation/animation.component.js +4 -4
- package/dist/components/animation/animation.js +5 -5
- package/dist/components/animation/animation.styles.js +1 -1
- package/dist/components/animation/animations.js +1 -1
- package/dist/components/avatar/avatar.component.js +6 -6
- package/dist/components/avatar/avatar.js +7 -7
- package/dist/components/avatar/avatar.styles.js +1 -1
- package/dist/components/badge/badge.component.js +3 -3
- package/dist/components/badge/badge.js +4 -4
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +6 -6
- package/dist/components/breadcrumb/breadcrumb.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/dist/components/button/button.component.js +10 -10
- package/dist/components/button/button.js +11 -11
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/button-group/button-group.component.js +3 -3
- package/dist/components/button-group/button-group.js +4 -4
- package/dist/components/button-group/button-group.styles.js +1 -1
- package/dist/components/calendar/calendar.component.js +12 -13
- package/dist/components/calendar/calendar.js +12 -13
- package/dist/components/card/card.component.js +3 -3
- package/dist/components/card/card.js +4 -4
- package/dist/components/card/card.styles.js +1 -1
- package/dist/components/carousel/autoplay-controller.js +1 -1
- package/dist/components/carousel/carousel.component.js +8 -8
- package/dist/components/carousel/carousel.js +9 -9
- package/dist/components/carousel/carousel.styles.js +1 -1
- package/dist/components/carousel-item/carousel-item.component.js +3 -3
- package/dist/components/carousel-item/carousel-item.js +4 -4
- package/dist/components/carousel-item/carousel-item.styles.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +8 -8
- package/dist/components/checkbox/checkbox.js +9 -9
- package/dist/components/checkbox/checkbox.styles.js +1 -1
- package/dist/components/color-picker/color-picker.component.js +22 -22
- package/dist/components/color-picker/color-picker.js +23 -23
- package/dist/components/color-picker/color-picker.styles.js +1 -1
- package/dist/components/copy-button/copy-button.component.js +10 -10
- package/dist/components/copy-button/copy-button.js +11 -11
- package/dist/components/copy-button/copy-button.styles.js +1 -1
- package/dist/components/date-panel/date-panel.component.js +39 -0
- package/dist/components/date-panel/date-panel.js +43 -0
- package/dist/components/date-panel/date-panel.styles.js +7 -0
- package/dist/components/datepicker/datepicker.component.js +25 -24
- package/dist/components/datepicker/datepicker.js +25 -24
- package/dist/components/details/details.component.js +8 -8
- package/dist/components/details/details.js +9 -9
- package/dist/components/details/details.styles.js +1 -1
- package/dist/components/dialog/dialog.component.js +13 -13
- package/dist/components/dialog/dialog.js +14 -14
- package/dist/components/dialog/dialog.styles.js +2 -2
- package/dist/components/divider/divider.component.js +4 -4
- package/dist/components/divider/divider.js +5 -5
- package/dist/components/divider/divider.styles.js +1 -1
- package/dist/components/drawer/drawer.component.js +12 -12
- package/dist/components/drawer/drawer.js +13 -13
- package/dist/components/drawer/drawer.styles.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +8 -8
- package/dist/components/dropdown/dropdown.js +9 -9
- package/dist/components/dropdown/dropdown.styles.js +1 -1
- package/dist/components/format-bytes/format-bytes.component.js +3 -3
- package/dist/components/format-bytes/format-bytes.js +4 -4
- package/dist/components/format-date/format-date.component.js +3 -3
- package/dist/components/format-date/format-date.js +4 -4
- package/dist/components/format-number/format-number.component.js +3 -3
- package/dist/components/format-number/format-number.js +4 -4
- package/dist/components/icon/icon.component.js +5 -5
- package/dist/components/icon/icon.js +6 -6
- package/dist/components/icon/icon.styles.js +1 -1
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.js +1 -1
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.component.js +6 -6
- package/dist/components/icon-button/icon-button.js +7 -7
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/image-comparer/image-comparer.component.js +6 -6
- package/dist/components/image-comparer/image-comparer.js +7 -7
- package/dist/components/image-comparer/image-comparer.styles.js +1 -1
- package/dist/components/include/include.component.js +5 -5
- package/dist/components/include/include.js +6 -6
- package/dist/components/include/include.styles.js +1 -1
- package/dist/components/include/request.js +1 -1
- package/dist/components/input/input.component.js +9 -9
- package/dist/components/input/input.js +10 -10
- package/dist/components/input/input.styles.js +2 -2
- package/dist/components/menu/menu.component.js +3 -3
- package/dist/components/menu/menu.js +4 -4
- package/dist/components/menu/menu.styles.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +11 -11
- package/dist/components/menu-item/menu-item.js +12 -12
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-item/submenu-controller.js +1 -1
- package/dist/components/menu-label/menu-label.component.js +3 -3
- package/dist/components/menu-label/menu-label.js +4 -4
- package/dist/components/menu-label/menu-label.styles.js +1 -1
- package/dist/components/mutation-observer/mutation-observer.component.js +4 -4
- package/dist/components/mutation-observer/mutation-observer.js +5 -5
- package/dist/components/mutation-observer/mutation-observer.styles.js +1 -1
- package/dist/components/nav/nav.component.js +10 -0
- package/dist/components/nav/nav.js +11 -0
- package/dist/components/nav/nav.styles.js +8 -0
- package/dist/components/nav-group/nav-group.component.js +10 -0
- package/dist/components/nav-group/nav-group.js +11 -0
- package/dist/components/nav-group/nav-group.styles.js +8 -0
- package/dist/components/nav-item/nav-item.component.js +10 -0
- package/dist/components/nav-item/nav-item.js +11 -0
- package/dist/components/nav-item/nav-item.styles.js +8 -0
- package/dist/components/nav-submenu/nav-submenu.component.js +24 -0
- package/dist/components/nav-submenu/nav-submenu.js +25 -0
- package/dist/components/nav-submenu/nav-submenu.styles.js +8 -0
- package/dist/components/option/option.component.js +6 -6
- package/dist/components/option/option.js +7 -7
- package/dist/components/option/option.styles.js +1 -1
- package/dist/components/pagination/custom-select.js +9 -9
- package/dist/components/pagination/pagination.component.js +13 -13
- package/dist/components/pagination/pagination.js +13 -13
- package/dist/components/pagination/pagination.styles.js +2 -2
- package/dist/components/popup/popup.component.js +3 -3
- package/dist/components/popup/popup.js +4 -4
- package/dist/components/popup/popup.styles.js +1 -1
- package/dist/components/progress-bar/progress-bar.component.js +3 -3
- package/dist/components/progress-bar/progress-bar.js +4 -4
- package/dist/components/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.component.js +3 -3
- package/dist/components/progress-ring/progress-ring.js +4 -4
- package/dist/components/progress-ring/progress-ring.styles.js +1 -1
- package/dist/components/qr-code/qr-code.component.js +4 -4
- package/dist/components/qr-code/qr-code.js +5 -5
- package/dist/components/qr-code/qr-code.styles.js +1 -1
- package/dist/components/radio/radio.component.js +6 -6
- package/dist/components/radio/radio.js +7 -7
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.component.js +4 -4
- package/dist/components/radio-button/radio-button.js +5 -5
- package/dist/components/radio-button/radio-button.styles.js +1 -1
- package/dist/components/radio-group/radio-group.component.js +6 -6
- package/dist/components/radio-group/radio-group.js +7 -7
- package/dist/components/radio-group/radio-group.styles.js +1 -1
- package/dist/components/range/range.component.js +6 -6
- package/dist/components/range/range.js +7 -7
- package/dist/components/range/range.styles.js +1 -1
- package/dist/components/rating/rating.component.js +6 -6
- package/dist/components/rating/rating.js +7 -7
- package/dist/components/rating/rating.styles.js +1 -1
- package/dist/components/relative-time/relative-time.component.js +3 -3
- package/dist/components/relative-time/relative-time.js +4 -4
- package/dist/components/resize-observer/resize-observer.component.js +4 -4
- package/dist/components/resize-observer/resize-observer.js +5 -5
- package/dist/components/resize-observer/resize-observer.styles.js +1 -1
- package/dist/components/screen/gridstack.styles.js +1 -1
- package/dist/components/screen/screen.component.js +4 -4
- package/dist/components/screen/screen.js +5 -5
- package/dist/components/screen/screen.styles.js +1 -1
- package/dist/components/select/select.component.js +13 -13
- package/dist/components/select/select.js +14 -14
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +3 -3
- package/dist/components/skeleton/skeleton.js +4 -4
- package/dist/components/skeleton/skeleton.styles.js +1 -1
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/spinner/spinner.styles.js +2 -2
- package/dist/components/split-panel/split-panel.component.js +4 -4
- package/dist/components/split-panel/split-panel.js +5 -5
- package/dist/components/split-panel/split-panel.styles.js +1 -1
- package/dist/components/switch/switch.component.js +5 -5
- package/dist/components/switch/switch.js +6 -6
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.component.js +7 -7
- package/dist/components/tab/tab.js +8 -8
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.component.js +8 -8
- package/dist/components/tab-group/tab-group.js +9 -9
- package/dist/components/tab-group/tab-group.styles.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +4 -4
- package/dist/components/tab-panel/tab-panel.js +5 -5
- package/dist/components/tab-panel/tab-panel.styles.js +1 -1
- package/dist/components/table/body-table.js +9 -7
- package/dist/components/table/col-group.js +4 -4
- package/dist/components/table/const.js +6 -4
- package/dist/components/table/features/col-pining.js +11 -0
- package/dist/components/table/features/index.js +11 -3
- package/dist/components/table/features/row-drag.js +22 -0
- package/dist/components/table/features/row-expend.js +2 -2
- package/dist/components/table/features/row-filtering.js +1 -1
- package/dist/components/table/features/row-selection.js +2 -2
- package/dist/components/table/features/row-sorting.js +1 -1
- package/dist/components/table/head-table.js +34 -33
- package/dist/components/table/spinner-container.js +3 -3
- package/dist/components/table/table.component.js +43 -42
- package/dist/components/table/table.context.js +1 -1
- package/dist/components/table/table.js +44 -43
- package/dist/components/table/utils.js +7 -3
- package/dist/components/tag/tag.component.js +7 -7
- package/dist/components/tag/tag.js +8 -8
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/textarea/textarea.component.js +5 -5
- package/dist/components/textarea/textarea.js +6 -6
- package/dist/components/textarea/textarea.styles.js +1 -1
- package/dist/components/time-panel/time-panel.component.js +11 -11
- package/dist/components/time-panel/time-panel.js +11 -11
- package/dist/components/time-panel/time-panel.styles.js +1 -1
- package/dist/components/timepicker/timepicker.component.js +32 -19
- package/dist/components/timepicker/timepicker.js +33 -20
- package/dist/components/timepicker/timepicker.styles.js +1 -1
- package/dist/components/tooltip/tooltip.component.js +7 -7
- package/dist/components/tooltip/tooltip.js +8 -8
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- package/dist/components/tree/tree.component.js +15 -15
- package/dist/components/tree/tree.js +16 -16
- package/dist/components/tree/tree.styles.js +1 -1
- package/dist/components/tree-item/tree-item.component.js +14 -14
- package/dist/components/tree-item/tree-item.js +15 -15
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/components/visually-hidden/visually-hidden.component.js +3 -3
- package/dist/components/visually-hidden/visually-hidden.js +4 -4
- package/dist/components/visually-hidden/visually-hidden.styles.js +1 -1
- package/dist/custom-elements.json +3863 -2391
- package/dist/react/alert/index.js +12 -12
- package/dist/react/animated-image/index.js +8 -8
- package/dist/react/animation/index.js +5 -5
- package/dist/react/avatar/index.js +7 -7
- package/dist/react/badge/index.js +4 -4
- package/dist/react/breadcrumb/index.js +7 -7
- package/dist/react/breadcrumb-item/index.js +5 -5
- package/dist/react/button/index.js +11 -11
- package/dist/react/button-group/index.js +4 -4
- package/dist/react/card/index.js +4 -4
- package/dist/react/carousel/index.js +9 -9
- package/dist/react/carousel-item/index.js +4 -4
- package/dist/react/checkbox/index.js +9 -9
- package/dist/react/color-picker/index.js +23 -23
- package/dist/react/copy-button/index.js +11 -11
- package/dist/react/date-panel/index.js +40 -0
- package/dist/react/datepicker/index.js +26 -25
- package/dist/react/details/index.js +9 -9
- package/dist/react/dialog/index.js +14 -14
- package/dist/react/divider/index.js +5 -5
- package/dist/react/drawer/index.js +13 -13
- package/dist/react/dropdown/index.js +9 -9
- package/dist/react/format-bytes/index.js +4 -4
- package/dist/react/format-date/index.js +4 -4
- package/dist/react/format-number/index.js +4 -4
- package/dist/react/icon/index.js +6 -6
- package/dist/react/icon-button/index.js +7 -7
- package/dist/react/image-comparer/index.js +7 -7
- package/dist/react/include/index.js +6 -6
- package/dist/react/index.js +249 -219
- package/dist/react/input/index.js +10 -10
- package/dist/react/menu/index.js +4 -4
- package/dist/react/menu-item/index.js +12 -12
- package/dist/react/menu-label/index.js +4 -4
- package/dist/react/mutation-observer/index.js +5 -5
- package/dist/react/nav/index.js +11 -0
- package/dist/react/nav-group/index.js +11 -0
- package/dist/react/nav-item/index.js +11 -0
- package/dist/react/nav-submenu/index.js +25 -0
- package/dist/react/option/index.js +7 -7
- package/dist/react/pagination/index.js +14 -14
- package/dist/react/popup/index.js +4 -4
- package/dist/react/progress-bar/index.js +4 -4
- package/dist/react/progress-ring/index.js +4 -4
- package/dist/react/qr-code/index.js +5 -5
- package/dist/react/radio/index.js +7 -7
- package/dist/react/radio-button/index.js +5 -5
- package/dist/react/radio-group/index.js +7 -7
- package/dist/react/range/index.js +7 -7
- package/dist/react/rating/index.js +7 -7
- package/dist/react/relative-time/index.js +4 -4
- package/dist/react/resize-observer/index.js +5 -5
- package/dist/react/screen/index.js +5 -5
- package/dist/react/select/index.js +14 -14
- package/dist/react/skeleton/index.js +4 -4
- package/dist/react/spinner/index.js +5 -5
- package/dist/react/split-panel/index.js +5 -5
- package/dist/react/switch/index.js +6 -6
- package/dist/react/tab/index.js +8 -8
- package/dist/react/tab-group/index.js +9 -9
- package/dist/react/tab-panel/index.js +5 -5
- package/dist/react/table/index.js +44 -43
- package/dist/react/tag/index.js +8 -8
- package/dist/react/textarea/index.js +6 -6
- package/dist/react/timepicker/index.js +31 -18
- package/dist/react/tooltip/index.js +8 -8
- package/dist/react/tree/index.js +16 -16
- package/dist/react/tree-item/index.js +15 -15
- package/dist/react/visually-hidden/index.js +4 -4
- package/dist/shoelace-autoloader.js +1 -1
- package/dist/shoelace.js +241 -216
- package/dist/themes/dark.css +4 -3
- package/dist/themes/dark.styles.js +5 -4
- package/dist/themes/light.css +4 -3
- package/dist/themes/light.styles.js +5 -4
- package/dist/translations/ar.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nn.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-tw.js +1 -1
- package/dist/types/vue/index.d.ts +631 -400
- package/dist/utilities/animation-registry.js +2 -2
- package/dist/utilities/animation.js +1 -1
- package/dist/utilities/base-path.js +1 -1
- package/dist/utilities/form.js +3 -3
- package/dist/utilities/icon-library.js +1 -1
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/spread.js +1 -1
- package/dist/vscode.html-custom-data.json +428 -238
- package/dist/web-types.json +1124 -650
- package/package.json +3 -2
- package/cdn/chunks/chunk.27QFON2M.js +0 -21
- package/cdn/chunks/chunk.2FS7YXYL.js +0 -266
- package/cdn/chunks/chunk.2GDE4WQE.js +0 -11
- package/cdn/chunks/chunk.2JNMKFWM.js +0 -118
- package/cdn/chunks/chunk.2KD7RHGV.js +0 -27
- package/cdn/chunks/chunk.2RZAZTJC.js +0 -26
- package/cdn/chunks/chunk.3AB44WGF.js +0 -28
- package/cdn/chunks/chunk.3D3QH63C.js +0 -95
- package/cdn/chunks/chunk.3FTYT6PZ.js +0 -123
- package/cdn/chunks/chunk.3IIMAJUM.js +0 -11
- package/cdn/chunks/chunk.3M34SQ76.js +0 -69
- package/cdn/chunks/chunk.3M5OOLLI.js +0 -77
- package/cdn/chunks/chunk.3O6K66UZ.js +0 -42
- package/cdn/chunks/chunk.3OFUBOO2.js +0 -28
- package/cdn/chunks/chunk.3T34H47U.js +0 -11
- package/cdn/chunks/chunk.3TEIDNQG.js +0 -40
- package/cdn/chunks/chunk.3TET7XQT.js +0 -166
- package/cdn/chunks/chunk.3XCK6SR5.js +0 -24
- package/cdn/chunks/chunk.3XFODJZM.js +0 -57
- package/cdn/chunks/chunk.3XXLDXPE.js +0 -25
- package/cdn/chunks/chunk.465FUQCZ.js +0 -11
- package/cdn/chunks/chunk.4HIOUPRK.js +0 -133
- package/cdn/chunks/chunk.4L6POCBG.js +0 -817
- package/cdn/chunks/chunk.4RX7LNWR.js +0 -109
- package/cdn/chunks/chunk.4VRHDE3E.js +0 -8
- package/cdn/chunks/chunk.4WA4NEEK.js +0 -11
- package/cdn/chunks/chunk.4WHYRHUK.js +0 -24
- package/cdn/chunks/chunk.4YK5BEQS.js +0 -1990
- package/cdn/chunks/chunk.553HB2GN.js +0 -29
- package/cdn/chunks/chunk.55FXRPAL.js +0 -11
- package/cdn/chunks/chunk.5QXLD2NY.js +0 -24
- package/cdn/chunks/chunk.5SZDGBQF.js +0 -175
- package/cdn/chunks/chunk.5ZXKZ3PN.js +0 -21
- package/cdn/chunks/chunk.622UIAVD.js +0 -63
- package/cdn/chunks/chunk.62VUCHSP.js +0 -90
- package/cdn/chunks/chunk.64YUD5IN.js +0 -29
- package/cdn/chunks/chunk.6F5NFZCX.js +0 -11
- package/cdn/chunks/chunk.6J7CD7L5.js +0 -21
- package/cdn/chunks/chunk.6LHVYT75.js +0 -19
- package/cdn/chunks/chunk.6OUPSNV2.js +0 -26
- package/cdn/chunks/chunk.6PWN5KKL.js +0 -11
- package/cdn/chunks/chunk.6RRQUJZL.js +0 -11
- package/cdn/chunks/chunk.6SFU6PI5.js +0 -11
- package/cdn/chunks/chunk.73KOPCMI.js +0 -11
- package/cdn/chunks/chunk.75YFCVKA.js +0 -73
- package/cdn/chunks/chunk.77FYH24J.js +0 -208
- package/cdn/chunks/chunk.7AOL6AS4.js +0 -113
- package/cdn/chunks/chunk.7BFOUTZ5.js +0 -25
- package/cdn/chunks/chunk.7DBKAVCA.js +0 -76
- package/cdn/chunks/chunk.7JHDQVMZ.js +0 -11
- package/cdn/chunks/chunk.7LVOXGKJ.js +0 -42
- package/cdn/chunks/chunk.7P7NFDLH.js +0 -14
- package/cdn/chunks/chunk.7POF2YIB.js +0 -73
- package/cdn/chunks/chunk.7QLFOGNI.js +0 -24
- package/cdn/chunks/chunk.7SFWYN5A.js +0 -21
- package/cdn/chunks/chunk.7VML3YQ2.js +0 -11
- package/cdn/chunks/chunk.7ZK2UF56.js +0 -14
- package/cdn/chunks/chunk.A7N3TA2A.js +0 -21
- package/cdn/chunks/chunk.AA6E6U6Y.js +0 -11
- package/cdn/chunks/chunk.ADJSIZFS.js +0 -328
- package/cdn/chunks/chunk.AGEJTTAO.js +0 -25
- package/cdn/chunks/chunk.AHFMBJNM.js +0 -11
- package/cdn/chunks/chunk.AIF36K26.js +0 -21
- package/cdn/chunks/chunk.AL7WXZXU.js +0 -682
- package/cdn/chunks/chunk.APM22A32.js +0 -314
- package/cdn/chunks/chunk.B5OVB7XQ.js +0 -11
- package/cdn/chunks/chunk.B6HVU3XC.js +0 -27
- package/cdn/chunks/chunk.BK765FEK.js +0 -27
- package/cdn/chunks/chunk.BKIQCYMR.js +0 -28
- package/cdn/chunks/chunk.BO4D3RTO.js +0 -77
- package/cdn/chunks/chunk.BQWWFXQW.js +0 -11
- package/cdn/chunks/chunk.BTL2I3IA.js +0 -21
- package/cdn/chunks/chunk.BTRHUFCR.js +0 -120
- package/cdn/chunks/chunk.BZZC3IXA.js +0 -11
- package/cdn/chunks/chunk.CBUTJ4XC.js +0 -292
- package/cdn/chunks/chunk.CHN6XUDK.js +0 -98
- package/cdn/chunks/chunk.CLPLZWKD.js +0 -25
- package/cdn/chunks/chunk.CLZP3JTB.js +0 -11
- package/cdn/chunks/chunk.COPAJV25.js +0 -19
- package/cdn/chunks/chunk.CPSHITCG.js +0 -21
- package/cdn/chunks/chunk.CSRJR6QI.js +0 -16
- package/cdn/chunks/chunk.CTPQFYW7.js +0 -142
- package/cdn/chunks/chunk.CU3RTBTI.js +0 -11
- package/cdn/chunks/chunk.CU7VTRWN.js +0 -27
- package/cdn/chunks/chunk.CUKDISXD.js +0 -67
- package/cdn/chunks/chunk.CWYUZFWC.js +0 -67
- package/cdn/chunks/chunk.CYAG6A2P.js +0 -70
- package/cdn/chunks/chunk.DDG5Z5Y4.js +0 -11
- package/cdn/chunks/chunk.DEEUTGAH.js +0 -298
- package/cdn/chunks/chunk.DKGS53HW.js +0 -11
- package/cdn/chunks/chunk.DTYUPV6V.js +0 -11
- package/cdn/chunks/chunk.E22KEVJP.js +0 -345
- package/cdn/chunks/chunk.E4UCB5VH.js +0 -26
- package/cdn/chunks/chunk.EFE6XYM5.js +0 -24
- package/cdn/chunks/chunk.EQUTNNTA.js +0 -216
- package/cdn/chunks/chunk.ETQHTIO6.js +0 -11
- package/cdn/chunks/chunk.EUWNUU3Y.js +0 -21
- package/cdn/chunks/chunk.FJPSYXPZ.js +0 -24
- package/cdn/chunks/chunk.FPBCUZP2.js +0 -180
- package/cdn/chunks/chunk.FS2ZSF7D.js +0 -11
- package/cdn/chunks/chunk.FSFY5PAK.js +0 -79
- package/cdn/chunks/chunk.FTAD7KSP.js +0 -201
- package/cdn/chunks/chunk.FTAFZBPR.js +0 -11
- package/cdn/chunks/chunk.FVRO7M4G.js +0 -49
- package/cdn/chunks/chunk.G7C4AK6E.js +0 -11
- package/cdn/chunks/chunk.GGLO7FV3.js +0 -24
- package/cdn/chunks/chunk.GGSAZPMX.js +0 -120
- package/cdn/chunks/chunk.GS235V77.js +0 -25
- package/cdn/chunks/chunk.GTXRBF2N.js +0 -63
- package/cdn/chunks/chunk.GYHD4D2C.js +0 -21
- package/cdn/chunks/chunk.H6LKMMWQ.js +0 -123
- package/cdn/chunks/chunk.HA5BTJ4F.js +0 -175
- package/cdn/chunks/chunk.HBBGKNNO.js +0 -87
- package/cdn/chunks/chunk.HDS562EN.js +0 -93
- package/cdn/chunks/chunk.HEMEMKVQ.js +0 -135
- package/cdn/chunks/chunk.HHGECAXJ.js +0 -11
- package/cdn/chunks/chunk.HJOFYQ2Q.js +0 -11
- package/cdn/chunks/chunk.HLMRFJMA.js +0 -103
- package/cdn/chunks/chunk.HN6W647B.js +0 -236
- package/cdn/chunks/chunk.HNQO3DOA.js +0 -192
- package/cdn/chunks/chunk.HR45FF5W.js +0 -49
- package/cdn/chunks/chunk.HX3E4AEE.js +0 -244
- package/cdn/chunks/chunk.IDLOKUVC.js +0 -122
- package/cdn/chunks/chunk.ILFYY7E7.js +0 -75
- package/cdn/chunks/chunk.IP2G3HHE.js +0 -11
- package/cdn/chunks/chunk.IPXCW32Y.js +0 -81
- package/cdn/chunks/chunk.IQM3KFPD.js +0 -24
- package/cdn/chunks/chunk.ITDOZG3Q.js +0 -361
- package/cdn/chunks/chunk.IVC6KWV7.js +0 -24
- package/cdn/chunks/chunk.IZGKHWYJ.js +0 -82
- package/cdn/chunks/chunk.J5DUE2BY.js +0 -127
- package/cdn/chunks/chunk.J5RYNIJI.js +0 -47
- package/cdn/chunks/chunk.J7DXQCRA.js +0 -29
- package/cdn/chunks/chunk.J7VKVWZA.js +0 -24
- package/cdn/chunks/chunk.JGAPQGRJ.js +0 -21
- package/cdn/chunks/chunk.JGDLMNDO.js +0 -724
- package/cdn/chunks/chunk.JGLKPOL4.js +0 -114
- package/cdn/chunks/chunk.JJZJBIGO.js +0 -233
- package/cdn/chunks/chunk.JK2SZSOP.js +0 -57
- package/cdn/chunks/chunk.JNL27MRY.js +0 -27
- package/cdn/chunks/chunk.JV4JUKDD.js +0 -11
- package/cdn/chunks/chunk.K2TJ56SW.js +0 -51
- package/cdn/chunks/chunk.KDAPZDKF.js +0 -11
- package/cdn/chunks/chunk.KDEA44OK.js +0 -162
- package/cdn/chunks/chunk.KDNDVHCL.js +0 -21
- package/cdn/chunks/chunk.KEII62OL.js +0 -61
- package/cdn/chunks/chunk.KLZ65MVV.js +0 -24
- package/cdn/chunks/chunk.KWXT4KLF.js +0 -21
- package/cdn/chunks/chunk.KXALPLTJ.js +0 -219
- package/cdn/chunks/chunk.L2X4LHL7.js +0 -29
- package/cdn/chunks/chunk.L3DTMMJS.js +0 -93
- package/cdn/chunks/chunk.LCCF3AO6.js +0 -14
- package/cdn/chunks/chunk.LDBWY5N4.js +0 -25
- package/cdn/chunks/chunk.LDNVPVIS.js +0 -263
- package/cdn/chunks/chunk.LFLZXWLY.js +0 -28
- package/cdn/chunks/chunk.LZ2AEEPH.js +0 -30
- package/cdn/chunks/chunk.LZ3VDHB6.js +0 -22
- package/cdn/chunks/chunk.MAXEUF7J.js +0 -279
- package/cdn/chunks/chunk.MEK2JIHV.js +0 -236
- package/cdn/chunks/chunk.MESBRA6O.js +0 -25
- package/cdn/chunks/chunk.MKI2ERLX.js +0 -28
- package/cdn/chunks/chunk.MXM5XKHU.js +0 -21
- package/cdn/chunks/chunk.N2RTCTQE.js +0 -122
- package/cdn/chunks/chunk.NCELV3A3.js +0 -68
- package/cdn/chunks/chunk.NJQDTWNZ.js +0 -11
- package/cdn/chunks/chunk.NMYOJZQU.js +0 -86
- package/cdn/chunks/chunk.NN5OZNQ6.js +0 -11
- package/cdn/chunks/chunk.NXY2UROX.js +0 -186
- package/cdn/chunks/chunk.NYYGXCYF.js +0 -5845
- package/cdn/chunks/chunk.NZ42ZADN.js +0 -113
- package/cdn/chunks/chunk.O33LJU47.js +0 -177
- package/cdn/chunks/chunk.O4VEQSCU.js +0 -85
- package/cdn/chunks/chunk.O6QLVREN.js +0 -37
- package/cdn/chunks/chunk.ORZETCX5.js +0 -11
- package/cdn/chunks/chunk.OS2IKKCL.js +0 -246
- package/cdn/chunks/chunk.OSICTDRO.js +0 -30
- package/cdn/chunks/chunk.OW6O6CKR.js +0 -11
- package/cdn/chunks/chunk.OW6QC3JC.js +0 -153
- package/cdn/chunks/chunk.OXEH2PB3.js +0 -11
- package/cdn/chunks/chunk.P3TU6VPK.js +0 -586
- package/cdn/chunks/chunk.PIK6Q6XZ.js +0 -11
- package/cdn/chunks/chunk.PKA5F2LG.js +0 -11
- package/cdn/chunks/chunk.PNNPHOD6.js +0 -27
- package/cdn/chunks/chunk.POAI47XX.js +0 -158
- package/cdn/chunks/chunk.PPJ6H72V.js +0 -173
- package/cdn/chunks/chunk.PQYRO2OW.js +0 -97
- package/cdn/chunks/chunk.PXND53B4.js +0 -64
- package/cdn/chunks/chunk.Q3HDH45W.js +0 -455
- package/cdn/chunks/chunk.Q3XIGDZS.js +0 -110
- package/cdn/chunks/chunk.QMHYQ4GM.js +0 -36
- package/cdn/chunks/chunk.QODJ44ZK.js +0 -24
- package/cdn/chunks/chunk.QQIZSMLA.js +0 -11
- package/cdn/chunks/chunk.QQXDHLU4.js +0 -11
- package/cdn/chunks/chunk.RGS2YUQD.js +0 -23
- package/cdn/chunks/chunk.RHBCOXOO.js +0 -11
- package/cdn/chunks/chunk.ROOTJVKA.js +0 -11
- package/cdn/chunks/chunk.RTDWRCA5.js +0 -11
- package/cdn/chunks/chunk.RTRV65QN.js +0 -26
- package/cdn/chunks/chunk.SDWIDNMB.js +0 -114
- package/cdn/chunks/chunk.SN3GNV2Z.js +0 -14
- package/cdn/chunks/chunk.SWAWGM7T.js +0 -25
- package/cdn/chunks/chunk.SZ5RXNWG.js +0 -11
- package/cdn/chunks/chunk.T2DMBZRF.js +0 -50
- package/cdn/chunks/chunk.T7K56D5X.js +0 -28
- package/cdn/chunks/chunk.TAVHRKSI.js +0 -402
- package/cdn/chunks/chunk.TCEDQCEE.js +0 -54
- package/cdn/chunks/chunk.TO4QYEYF.js +0 -21
- package/cdn/chunks/chunk.TSK7IU5C.js +0 -11
- package/cdn/chunks/chunk.TVP4JGIN.js +0 -25
- package/cdn/chunks/chunk.U5HHUAAP.js +0 -11
- package/cdn/chunks/chunk.UALGZNLK.js +0 -11
- package/cdn/chunks/chunk.UEEEF4B5.js +0 -21
- package/cdn/chunks/chunk.UJPIRVMQ.js +0 -21
- package/cdn/chunks/chunk.V3V5RT6E.js +0 -336
- package/cdn/chunks/chunk.VCF3KHDO.js +0 -367
- package/cdn/chunks/chunk.VCGSYC5B.js +0 -11
- package/cdn/chunks/chunk.VDD6G6EQ.js +0 -66
- package/cdn/chunks/chunk.VJBLNTBW.js +0 -11
- package/cdn/chunks/chunk.VLREOMST.js +0 -291
- package/cdn/chunks/chunk.VMZXRMXG.js +0 -11
- package/cdn/chunks/chunk.VMZYOA7J.js +0 -267
- package/cdn/chunks/chunk.VN57AEND.js +0 -255
- package/cdn/chunks/chunk.VNBSIS4E.js +0 -11
- package/cdn/chunks/chunk.VPY2OHDU.js +0 -189
- package/cdn/chunks/chunk.VQUZ7NE4.js +0 -197
- package/cdn/chunks/chunk.VRQMVONC.js +0 -502
- package/cdn/chunks/chunk.VVK4DRFB.js +0 -21
- package/cdn/chunks/chunk.VVOAKFKP.js +0 -33
- package/cdn/chunks/chunk.VVV55RYZ.js +0 -11
- package/cdn/chunks/chunk.VXG3RJUH.js +0 -11
- package/cdn/chunks/chunk.VY6M5ICJ.js +0 -21
- package/cdn/chunks/chunk.W4HWDVV6.js +0 -11
- package/cdn/chunks/chunk.WCJCZTR7.js +0 -391
- package/cdn/chunks/chunk.WE4USEQU.js +0 -126
- package/cdn/chunks/chunk.WG3UATOU.js +0 -24
- package/cdn/chunks/chunk.WG7RVA35.js +0 -24
- package/cdn/chunks/chunk.WKCZKVVB.js +0 -21
- package/cdn/chunks/chunk.WMJU7K44.js +0 -58
- package/cdn/chunks/chunk.WMOGC3D5.js +0 -21
- package/cdn/chunks/chunk.WOTGUCYW.js +0 -21
- package/cdn/chunks/chunk.WP33JOMR.js +0 -1879
- package/cdn/chunks/chunk.WQLJ7RBI.js +0 -6027
- package/cdn/chunks/chunk.WRRTQDOR.js +0 -137
- package/cdn/chunks/chunk.WSFYHNDS.js +0 -24
- package/cdn/chunks/chunk.WYOBTCCU.js +0 -11
- package/cdn/chunks/chunk.X27WU2QT.js +0 -302
- package/cdn/chunks/chunk.X2NJALR2.js +0 -29
- package/cdn/chunks/chunk.X4ATDEXB.js +0 -186
- package/cdn/chunks/chunk.X7Y5CKO5.js +0 -11
- package/cdn/chunks/chunk.XADGWHIQ.js +0 -21
- package/cdn/chunks/chunk.XEP3MV3Z.js +0 -681
- package/cdn/chunks/chunk.XHRHLUCB.js +0 -398
- package/cdn/chunks/chunk.XNQFQ6CS.js +0 -11
- package/cdn/chunks/chunk.XNSQ2ACO.js +0 -29
- package/cdn/chunks/chunk.XSXB4NJ3.js +0 -49
- package/cdn/chunks/chunk.Y6X5XUSX.js +0 -25
- package/cdn/chunks/chunk.YM2YAAJE.js +0 -822
- package/cdn/chunks/chunk.YOUSBLVL.js +0 -75
- package/cdn/chunks/chunk.YTMT4E27.js +0 -346
- package/cdn/chunks/chunk.YUO3U4CO.js +0 -128
- package/cdn/chunks/chunk.YVFUZKV2.js +0 -379
- package/cdn/chunks/chunk.YWDTLM6Y.js +0 -11
- package/cdn/chunks/chunk.YYFSTDEU.js +0 -21
- package/cdn/chunks/chunk.Z6XWTYMO.js +0 -11
- package/cdn/chunks/chunk.ZFMK746Y.js +0 -14
- package/cdn/chunks/chunk.ZG55RPFU.js +0 -299
- package/cdn/chunks/chunk.ZHXQFA7P.js +0 -92
- package/cdn/chunks/chunk.ZKRJ3RUK.js +0 -643
- package/cdn/chunks/chunk.ZLZKOPYV.js +0 -47
- package/cdn/chunks/chunk.ZMQGSQS6.js +0 -25
- package/cdn/chunks/chunk.ZSNUIR56.js +0 -53
- package/cdn/chunks/chunk.ZXUNDYLD.js +0 -101
- package/dist/chunks/chunk.23QTCXNR.js +0 -294
- package/dist/chunks/chunk.2DQ7YQID.js +0 -21
- package/dist/chunks/chunk.2GR5RYY4.js +0 -45
- package/dist/chunks/chunk.2JAC3E36.js +0 -29
- package/dist/chunks/chunk.2KWHNALE.js +0 -813
- package/dist/chunks/chunk.2P7ZU66U.js +0 -75
- package/dist/chunks/chunk.2QRAV5FA.js +0 -25
- package/dist/chunks/chunk.2RB3B3UL.js +0 -814
- package/dist/chunks/chunk.34M4NQTX.js +0 -337
- package/dist/chunks/chunk.3CEOFWZN.js +0 -25
- package/dist/chunks/chunk.3CMCXDAM.js +0 -24
- package/dist/chunks/chunk.3FLAXIL6.js +0 -203
- package/dist/chunks/chunk.3FQAOA6Q.js +0 -21
- package/dist/chunks/chunk.3OYFQ2GE.js +0 -11
- package/dist/chunks/chunk.3RPBFEDE.js +0 -302
- package/dist/chunks/chunk.3T5GL6TK.js +0 -11
- package/dist/chunks/chunk.3UP36FKR.js +0 -11
- package/dist/chunks/chunk.3ZLQY7CM.js +0 -21
- package/dist/chunks/chunk.42QS6XMD.js +0 -11
- package/dist/chunks/chunk.4KMA73W2.js +0 -11
- package/dist/chunks/chunk.4M5JW5ZQ.js +0 -291
- package/dist/chunks/chunk.4QORYWC7.js +0 -52
- package/dist/chunks/chunk.4VRHDE3E.js +0 -8
- package/dist/chunks/chunk.54VIHBDR.js +0 -384
- package/dist/chunks/chunk.55TATXST.js +0 -311
- package/dist/chunks/chunk.5DR65PO4.js +0 -274
- package/dist/chunks/chunk.5NLYBKUE.js +0 -91
- package/dist/chunks/chunk.5PZ2HOP6.js +0 -448
- package/dist/chunks/chunk.5Q5U5NI3.js +0 -21
- package/dist/chunks/chunk.5SZZZQEY.js +0 -100
- package/dist/chunks/chunk.6N23A6X7.js +0 -11
- package/dist/chunks/chunk.6UYZKYOJ.js +0 -11
- package/dist/chunks/chunk.6VG3V43U.js +0 -25
- package/dist/chunks/chunk.6XXM4QYP.js +0 -286
- package/dist/chunks/chunk.75OMDLY6.js +0 -11
- package/dist/chunks/chunk.7ACBAU52.js +0 -135
- package/dist/chunks/chunk.7BKT2FPA.js +0 -21
- package/dist/chunks/chunk.7CLUZVZ5.js +0 -22
- package/dist/chunks/chunk.7CZMYSRM.js +0 -11
- package/dist/chunks/chunk.7DUCI5S4.js +0 -64
- package/dist/chunks/chunk.7GKEYXYF.js +0 -25
- package/dist/chunks/chunk.7HVRGFRV.js +0 -26
- package/dist/chunks/chunk.7KJW6T7V.js +0 -27
- package/dist/chunks/chunk.7PFU7PNG.js +0 -315
- package/dist/chunks/chunk.7PW2YQMR.js +0 -11
- package/dist/chunks/chunk.7WYUNPLL.js +0 -134
- package/dist/chunks/chunk.A2WB7P4R.js +0 -293
- package/dist/chunks/chunk.A6VUIAK5.js +0 -113
- package/dist/chunks/chunk.ADFE32ZE.js +0 -397
- package/dist/chunks/chunk.AFVKCXVD.js +0 -11
- package/dist/chunks/chunk.AJ3ENQ5C.js +0 -55
- package/dist/chunks/chunk.AUDNO7AX.js +0 -21
- package/dist/chunks/chunk.B4FKYIJV.js +0 -11
- package/dist/chunks/chunk.B4H75FLB.js +0 -21
- package/dist/chunks/chunk.BBX6LSYR.js +0 -11
- package/dist/chunks/chunk.BN7I7IZK.js +0 -11
- package/dist/chunks/chunk.BPCGZGRG.js +0 -24
- package/dist/chunks/chunk.BRQD35W5.js +0 -28
- package/dist/chunks/chunk.BYP2W3VJ.js +0 -21
- package/dist/chunks/chunk.C2S6DUQY.js +0 -11
- package/dist/chunks/chunk.C3NG3M7R.js +0 -25
- package/dist/chunks/chunk.C422XENI.js +0 -11
- package/dist/chunks/chunk.C5G25IYF.js +0 -11
- package/dist/chunks/chunk.CGMEM3DT.js +0 -24
- package/dist/chunks/chunk.CKI5JNFU.js +0 -11
- package/dist/chunks/chunk.CKLJH3H5.js +0 -130
- package/dist/chunks/chunk.CLRGVPKR.js +0 -11
- package/dist/chunks/chunk.CSAG57R3.js +0 -11
- package/dist/chunks/chunk.CUBXO33B.js +0 -11
- package/dist/chunks/chunk.CUYLGFVM.js +0 -11
- package/dist/chunks/chunk.D3KZIOYI.js +0 -11
- package/dist/chunks/chunk.D5PBIXNV.js +0 -26
- package/dist/chunks/chunk.DKDNW7ND.js +0 -24
- package/dist/chunks/chunk.DO6G64SD.js +0 -67
- package/dist/chunks/chunk.DOJVTX23.js +0 -21
- package/dist/chunks/chunk.DT5UBEUD.js +0 -25
- package/dist/chunks/chunk.DY66DLXX.js +0 -25
- package/dist/chunks/chunk.EGUAJZ2Q.js +0 -50
- package/dist/chunks/chunk.ELQ6ZAHU.js +0 -24
- package/dist/chunks/chunk.EMBJJDRQ.js +0 -11
- package/dist/chunks/chunk.EMN3H5QW.js +0 -119
- package/dist/chunks/chunk.ERVVHGW6.js +0 -21
- package/dist/chunks/chunk.EUHRXKY7.js +0 -21
- package/dist/chunks/chunk.EUKB2CXW.js +0 -28
- package/dist/chunks/chunk.FFKD6W4N.js +0 -389
- package/dist/chunks/chunk.FIQZJA2D.js +0 -93
- package/dist/chunks/chunk.FLMQYK76.js +0 -27
- package/dist/chunks/chunk.FM2W4WWN.js +0 -259
- package/dist/chunks/chunk.FOXUKKKX.js +0 -11
- package/dist/chunks/chunk.FTGEPMGW.js +0 -247
- package/dist/chunks/chunk.FTIAG6S3.js +0 -24
- package/dist/chunks/chunk.FY37V2E7.js +0 -21
- package/dist/chunks/chunk.FYRZ4LVX.js +0 -151
- package/dist/chunks/chunk.G4EYRYPW.js +0 -90
- package/dist/chunks/chunk.GJ6DYB5N.js +0 -28
- package/dist/chunks/chunk.GMYPQTFK.js +0 -33
- package/dist/chunks/chunk.GZLJHFNN.js +0 -11
- package/dist/chunks/chunk.HA5BTJ4F.js +0 -175
- package/dist/chunks/chunk.HHX64HLF.js +0 -147
- package/dist/chunks/chunk.HLNO73WW.js +0 -25
- package/dist/chunks/chunk.HOXEJNUB.js +0 -21
- package/dist/chunks/chunk.HPIBDR24.js +0 -29
- package/dist/chunks/chunk.HVGOXH2K.js +0 -87
- package/dist/chunks/chunk.I5MXJCXA.js +0 -550
- package/dist/chunks/chunk.I7NX25KZ.js +0 -11
- package/dist/chunks/chunk.IB5CAIOM.js +0 -11
- package/dist/chunks/chunk.IGHVYPQC.js +0 -11
- package/dist/chunks/chunk.IH36OBWS.js +0 -85
- package/dist/chunks/chunk.IKTX3OF2.js +0 -11
- package/dist/chunks/chunk.IMQAXOY4.js +0 -11
- package/dist/chunks/chunk.IVLRZTWU.js +0 -100
- package/dist/chunks/chunk.J5RYNIJI.js +0 -47
- package/dist/chunks/chunk.JOKODXHH.js +0 -119
- package/dist/chunks/chunk.JWQMGR3J.js +0 -21
- package/dist/chunks/chunk.JXVBETU2.js +0 -11
- package/dist/chunks/chunk.JYRVBVEP.js +0 -214
- package/dist/chunks/chunk.K7JGTRV7.js +0 -46
- package/dist/chunks/chunk.K7XW37DV.js +0 -325
- package/dist/chunks/chunk.KAW7D32O.js +0 -78
- package/dist/chunks/chunk.KDOF4QYG.js +0 -674
- package/dist/chunks/chunk.KKF7ZZ3I.js +0 -21
- package/dist/chunks/chunk.KRMK4QEF.js +0 -213
- package/dist/chunks/chunk.KXK5Z4DL.js +0 -11
- package/dist/chunks/chunk.L2ZJEQ5W.js +0 -45
- package/dist/chunks/chunk.L4XB5RQ7.js +0 -227
- package/dist/chunks/chunk.LJIWSB5O.js +0 -11
- package/dist/chunks/chunk.LVAFQGBI.js +0 -63
- package/dist/chunks/chunk.LXNDNLGT.js +0 -181
- package/dist/chunks/chunk.LZ5HHTHZ.js +0 -27
- package/dist/chunks/chunk.M74UPSVH.js +0 -26
- package/dist/chunks/chunk.MB7KNGYL.js +0 -73
- package/dist/chunks/chunk.MNJ2FRMM.js +0 -59
- package/dist/chunks/chunk.MQ2MMGIS.js +0 -21
- package/dist/chunks/chunk.MS55NK3J.js +0 -33
- package/dist/chunks/chunk.MXT3TWSF.js +0 -11
- package/dist/chunks/chunk.N3QVR4J3.js +0 -11
- package/dist/chunks/chunk.N4WPBYFA.js +0 -54
- package/dist/chunks/chunk.NINB2GCZ.js +0 -192
- package/dist/chunks/chunk.NMLH7AMX.js +0 -28
- package/dist/chunks/chunk.NMQIEQ5W.js +0 -24
- package/dist/chunks/chunk.NOHZYTD2.js +0 -29
- package/dist/chunks/chunk.O7ETF5M7.js +0 -231
- package/dist/chunks/chunk.OEQBOGLX.js +0 -11
- package/dist/chunks/chunk.OH57EZ77.js +0 -22
- package/dist/chunks/chunk.ORHNYZYZ.js +0 -199
- package/dist/chunks/chunk.OYOAAJZ3.js +0 -25
- package/dist/chunks/chunk.PG5RJ6TV.js +0 -11
- package/dist/chunks/chunk.PLFY7L2F.js +0 -28
- package/dist/chunks/chunk.PTYURPYL.js +0 -27
- package/dist/chunks/chunk.PVQ25BF2.js +0 -11
- package/dist/chunks/chunk.PYVMYAKR.js +0 -371
- package/dist/chunks/chunk.Q7SUWESY.js +0 -11
- package/dist/chunks/chunk.QDMP5PYP.js +0 -11
- package/dist/chunks/chunk.QEY2WSNV.js +0 -21
- package/dist/chunks/chunk.QH353KMG.js +0 -11
- package/dist/chunks/chunk.QIEMAGNI.js +0 -21
- package/dist/chunks/chunk.QKJEDAAH.js +0 -417
- package/dist/chunks/chunk.QL3EHOLM.js +0 -28
- package/dist/chunks/chunk.QOS2AJDC.js +0 -11
- package/dist/chunks/chunk.QZJWCFAA.js +0 -24
- package/dist/chunks/chunk.R5ULTKDV.js +0 -11
- package/dist/chunks/chunk.RE456CM4.js +0 -75
- package/dist/chunks/chunk.RG5YP4E7.js +0 -34
- package/dist/chunks/chunk.RHYFL7XY.js +0 -21
- package/dist/chunks/chunk.RPMKRJLV.js +0 -21
- package/dist/chunks/chunk.RQP7TRVQ.js +0 -21
- package/dist/chunks/chunk.RWS55LOH.js +0 -109
- package/dist/chunks/chunk.S7M7UIY5.js +0 -112
- package/dist/chunks/chunk.SAHEF66Y.js +0 -126
- package/dist/chunks/chunk.SCTVHKIK.js +0 -11
- package/dist/chunks/chunk.SQIDSWT5.js +0 -42
- package/dist/chunks/chunk.SXKYIUGU.js +0 -11
- package/dist/chunks/chunk.T3IJ7FJO.js +0 -39
- package/dist/chunks/chunk.T3Q62XTY.js +0 -11
- package/dist/chunks/chunk.TC6CNTQM.js +0 -506
- package/dist/chunks/chunk.TEPNXV2U.js +0 -11
- package/dist/chunks/chunk.TJ7FQ5JT.js +0 -11
- package/dist/chunks/chunk.TLZDSPEP.js +0 -280
- package/dist/chunks/chunk.TSMWOE6E.js +0 -121
- package/dist/chunks/chunk.UAQFNS66.js +0 -25
- package/dist/chunks/chunk.UKEOH6GM.js +0 -167
- package/dist/chunks/chunk.URSTP76V.js +0 -27
- package/dist/chunks/chunk.UWC6CFRF.js +0 -11
- package/dist/chunks/chunk.VAOOYX3C.js +0 -96
- package/dist/chunks/chunk.VD4T4CEQ.js +0 -24
- package/dist/chunks/chunk.VESXC477.js +0 -156
- package/dist/chunks/chunk.VF47UCR6.js +0 -11
- package/dist/chunks/chunk.VIX2GDLR.js +0 -11
- package/dist/chunks/chunk.VML2NRCR.js +0 -21
- package/dist/chunks/chunk.VMZXWIMR.js +0 -35
- package/dist/chunks/chunk.VSTB7XHK.js +0 -24
- package/dist/chunks/chunk.W7S6DL6O.js +0 -116
- package/dist/chunks/chunk.WIKIRG5N.js +0 -11
- package/dist/chunks/chunk.WNMDANJ2.js +0 -21
- package/dist/chunks/chunk.WSD42N5A.js +0 -11
- package/dist/chunks/chunk.XC4MRFYW.js +0 -11
- package/dist/chunks/chunk.XE3OHVIQ.js +0 -29
- package/dist/chunks/chunk.XGW737ZL.js +0 -494
- package/dist/chunks/chunk.XKERVFKJ.js +0 -21
- package/dist/chunks/chunk.XUO6GY5S.js +0 -11
- package/dist/chunks/chunk.XZPRR64T.js +0 -11
- package/dist/chunks/chunk.YCC476ZW.js +0 -24
- package/dist/chunks/chunk.YFFB2NHT.js +0 -24
- package/dist/chunks/chunk.YLDJOKCS.js +0 -80
- package/dist/chunks/chunk.YLKHYMMJ.js +0 -11
- package/dist/chunks/chunk.YOLD52DY.js +0 -172
- package/dist/chunks/chunk.YSTDXP43.js +0 -111
- package/dist/chunks/chunk.YTQQLXWH.js +0 -11
- package/dist/chunks/chunk.YWOLKWDI.js +0 -361
- package/dist/chunks/chunk.YXP7YSTN.js +0 -117
- package/dist/chunks/chunk.ZHYQKB74.js +0 -949
- package/dist/chunks/chunk.ZIXYBTFK.js +0 -163
- package/dist/chunks/chunk.ZREUJQFI.js +0 -11
- /package/cdn/chunks/{chunk.6QBRHNIF.js → chunk.4IFF37WP.js} +0 -0
- /package/dist/chunks/{chunk.6QBRHNIF.js → chunk.4IFF37WP.js} +0 -0
|
@@ -0,0 +1,1990 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SlVisuallyHidden
|
|
3
|
+
} from "./chunk.K2V24ZTR.js";
|
|
4
|
+
import {
|
|
5
|
+
drag
|
|
6
|
+
} from "./chunk.ESELY2US.js";
|
|
7
|
+
import {
|
|
8
|
+
o as o2
|
|
9
|
+
} from "./chunk.BJDNEBPV.js";
|
|
10
|
+
import {
|
|
11
|
+
SlDropdown
|
|
12
|
+
} from "./chunk.2KVZQY7T.js";
|
|
13
|
+
import {
|
|
14
|
+
SlInput
|
|
15
|
+
} from "./chunk.6MPNB4FC.js";
|
|
16
|
+
import {
|
|
17
|
+
defaultValue
|
|
18
|
+
} from "./chunk.JCJCP52E.js";
|
|
19
|
+
import {
|
|
20
|
+
color_picker_styles_default
|
|
21
|
+
} from "./chunk.M4KK4C2G.js";
|
|
22
|
+
import {
|
|
23
|
+
clamp
|
|
24
|
+
} from "./chunk.HF7GESMZ.js";
|
|
25
|
+
import {
|
|
26
|
+
SlButton
|
|
27
|
+
} from "./chunk.FQ77PHQQ.js";
|
|
28
|
+
import {
|
|
29
|
+
FormControlController
|
|
30
|
+
} from "./chunk.SY37VGFH.js";
|
|
31
|
+
import {
|
|
32
|
+
SlButtonGroup
|
|
33
|
+
} from "./chunk.2TSVFFOB.js";
|
|
34
|
+
import {
|
|
35
|
+
LocalizeController
|
|
36
|
+
} from "./chunk.2SU6QBUU.js";
|
|
37
|
+
import {
|
|
38
|
+
o
|
|
39
|
+
} from "./chunk.KJQP3AWV.js";
|
|
40
|
+
import {
|
|
41
|
+
e
|
|
42
|
+
} from "./chunk.VHCLMDG7.js";
|
|
43
|
+
import {
|
|
44
|
+
SlIcon
|
|
45
|
+
} from "./chunk.4PPZGXGI.js";
|
|
46
|
+
import {
|
|
47
|
+
watch
|
|
48
|
+
} from "./chunk.WID3TCT6.js";
|
|
49
|
+
import {
|
|
50
|
+
component_styles_default
|
|
51
|
+
} from "./chunk.NDXSHFSW.js";
|
|
52
|
+
import {
|
|
53
|
+
ShoelaceElement,
|
|
54
|
+
e as e2,
|
|
55
|
+
n,
|
|
56
|
+
r,
|
|
57
|
+
t2 as t
|
|
58
|
+
} from "./chunk.HUA3M65Y.js";
|
|
59
|
+
import {
|
|
60
|
+
b
|
|
61
|
+
} from "./chunk.7WSF3BCU.js";
|
|
62
|
+
import {
|
|
63
|
+
__decorateClass,
|
|
64
|
+
__spreadValues
|
|
65
|
+
} from "./chunk.CZCSAYQZ.js";
|
|
66
|
+
|
|
67
|
+
// node_modules/@ctrl/tinycolor/dist/module/util.js
|
|
68
|
+
function bound01(n2, max) {
|
|
69
|
+
if (isOnePointZero(n2)) {
|
|
70
|
+
n2 = "100%";
|
|
71
|
+
}
|
|
72
|
+
const isPercent = isPercentage(n2);
|
|
73
|
+
n2 = max === 360 ? n2 : Math.min(max, Math.max(0, parseFloat(n2)));
|
|
74
|
+
if (isPercent) {
|
|
75
|
+
n2 = parseInt(String(n2 * max), 10) / 100;
|
|
76
|
+
}
|
|
77
|
+
if (Math.abs(n2 - max) < 1e-6) {
|
|
78
|
+
return 1;
|
|
79
|
+
}
|
|
80
|
+
if (max === 360) {
|
|
81
|
+
n2 = (n2 < 0 ? n2 % max + max : n2 % max) / parseFloat(String(max));
|
|
82
|
+
} else {
|
|
83
|
+
n2 = n2 % max / parseFloat(String(max));
|
|
84
|
+
}
|
|
85
|
+
return n2;
|
|
86
|
+
}
|
|
87
|
+
function clamp01(val) {
|
|
88
|
+
return Math.min(1, Math.max(0, val));
|
|
89
|
+
}
|
|
90
|
+
function isOnePointZero(n2) {
|
|
91
|
+
return typeof n2 === "string" && n2.indexOf(".") !== -1 && parseFloat(n2) === 1;
|
|
92
|
+
}
|
|
93
|
+
function isPercentage(n2) {
|
|
94
|
+
return typeof n2 === "string" && n2.indexOf("%") !== -1;
|
|
95
|
+
}
|
|
96
|
+
function boundAlpha(a) {
|
|
97
|
+
a = parseFloat(a);
|
|
98
|
+
if (isNaN(a) || a < 0 || a > 1) {
|
|
99
|
+
a = 1;
|
|
100
|
+
}
|
|
101
|
+
return a;
|
|
102
|
+
}
|
|
103
|
+
function convertToPercentage(n2) {
|
|
104
|
+
if (Number(n2) <= 1) {
|
|
105
|
+
return `${Number(n2) * 100}%`;
|
|
106
|
+
}
|
|
107
|
+
return n2;
|
|
108
|
+
}
|
|
109
|
+
function pad2(c) {
|
|
110
|
+
return c.length === 1 ? "0" + c : String(c);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// node_modules/@ctrl/tinycolor/dist/module/conversion.js
|
|
114
|
+
function rgbToRgb(r2, g, b2) {
|
|
115
|
+
return {
|
|
116
|
+
r: bound01(r2, 255) * 255,
|
|
117
|
+
g: bound01(g, 255) * 255,
|
|
118
|
+
b: bound01(b2, 255) * 255
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
function rgbToHsl(r2, g, b2) {
|
|
122
|
+
r2 = bound01(r2, 255);
|
|
123
|
+
g = bound01(g, 255);
|
|
124
|
+
b2 = bound01(b2, 255);
|
|
125
|
+
const max = Math.max(r2, g, b2);
|
|
126
|
+
const min = Math.min(r2, g, b2);
|
|
127
|
+
let h = 0;
|
|
128
|
+
let s = 0;
|
|
129
|
+
const l = (max + min) / 2;
|
|
130
|
+
if (max === min) {
|
|
131
|
+
s = 0;
|
|
132
|
+
h = 0;
|
|
133
|
+
} else {
|
|
134
|
+
const d = max - min;
|
|
135
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
136
|
+
switch (max) {
|
|
137
|
+
case r2:
|
|
138
|
+
h = (g - b2) / d + (g < b2 ? 6 : 0);
|
|
139
|
+
break;
|
|
140
|
+
case g:
|
|
141
|
+
h = (b2 - r2) / d + 2;
|
|
142
|
+
break;
|
|
143
|
+
case b2:
|
|
144
|
+
h = (r2 - g) / d + 4;
|
|
145
|
+
break;
|
|
146
|
+
default:
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
h /= 6;
|
|
150
|
+
}
|
|
151
|
+
return { h, s, l };
|
|
152
|
+
}
|
|
153
|
+
function hue2rgb(p, q, t2) {
|
|
154
|
+
if (t2 < 0) {
|
|
155
|
+
t2 += 1;
|
|
156
|
+
}
|
|
157
|
+
if (t2 > 1) {
|
|
158
|
+
t2 -= 1;
|
|
159
|
+
}
|
|
160
|
+
if (t2 < 1 / 6) {
|
|
161
|
+
return p + (q - p) * (6 * t2);
|
|
162
|
+
}
|
|
163
|
+
if (t2 < 1 / 2) {
|
|
164
|
+
return q;
|
|
165
|
+
}
|
|
166
|
+
if (t2 < 2 / 3) {
|
|
167
|
+
return p + (q - p) * (2 / 3 - t2) * 6;
|
|
168
|
+
}
|
|
169
|
+
return p;
|
|
170
|
+
}
|
|
171
|
+
function hslToRgb(h, s, l) {
|
|
172
|
+
let r2;
|
|
173
|
+
let g;
|
|
174
|
+
let b2;
|
|
175
|
+
h = bound01(h, 360);
|
|
176
|
+
s = bound01(s, 100);
|
|
177
|
+
l = bound01(l, 100);
|
|
178
|
+
if (s === 0) {
|
|
179
|
+
g = l;
|
|
180
|
+
b2 = l;
|
|
181
|
+
r2 = l;
|
|
182
|
+
} else {
|
|
183
|
+
const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
|
184
|
+
const p = 2 * l - q;
|
|
185
|
+
r2 = hue2rgb(p, q, h + 1 / 3);
|
|
186
|
+
g = hue2rgb(p, q, h);
|
|
187
|
+
b2 = hue2rgb(p, q, h - 1 / 3);
|
|
188
|
+
}
|
|
189
|
+
return { r: r2 * 255, g: g * 255, b: b2 * 255 };
|
|
190
|
+
}
|
|
191
|
+
function rgbToHsv(r2, g, b2) {
|
|
192
|
+
r2 = bound01(r2, 255);
|
|
193
|
+
g = bound01(g, 255);
|
|
194
|
+
b2 = bound01(b2, 255);
|
|
195
|
+
const max = Math.max(r2, g, b2);
|
|
196
|
+
const min = Math.min(r2, g, b2);
|
|
197
|
+
let h = 0;
|
|
198
|
+
const v = max;
|
|
199
|
+
const d = max - min;
|
|
200
|
+
const s = max === 0 ? 0 : d / max;
|
|
201
|
+
if (max === min) {
|
|
202
|
+
h = 0;
|
|
203
|
+
} else {
|
|
204
|
+
switch (max) {
|
|
205
|
+
case r2:
|
|
206
|
+
h = (g - b2) / d + (g < b2 ? 6 : 0);
|
|
207
|
+
break;
|
|
208
|
+
case g:
|
|
209
|
+
h = (b2 - r2) / d + 2;
|
|
210
|
+
break;
|
|
211
|
+
case b2:
|
|
212
|
+
h = (r2 - g) / d + 4;
|
|
213
|
+
break;
|
|
214
|
+
default:
|
|
215
|
+
break;
|
|
216
|
+
}
|
|
217
|
+
h /= 6;
|
|
218
|
+
}
|
|
219
|
+
return { h, s, v };
|
|
220
|
+
}
|
|
221
|
+
function hsvToRgb(h, s, v) {
|
|
222
|
+
h = bound01(h, 360) * 6;
|
|
223
|
+
s = bound01(s, 100);
|
|
224
|
+
v = bound01(v, 100);
|
|
225
|
+
const i = Math.floor(h);
|
|
226
|
+
const f = h - i;
|
|
227
|
+
const p = v * (1 - s);
|
|
228
|
+
const q = v * (1 - f * s);
|
|
229
|
+
const t2 = v * (1 - (1 - f) * s);
|
|
230
|
+
const mod = i % 6;
|
|
231
|
+
const r2 = [v, q, p, p, t2, v][mod];
|
|
232
|
+
const g = [t2, v, v, q, p, p][mod];
|
|
233
|
+
const b2 = [p, p, t2, v, v, q][mod];
|
|
234
|
+
return { r: r2 * 255, g: g * 255, b: b2 * 255 };
|
|
235
|
+
}
|
|
236
|
+
function rgbToHex(r2, g, b2, allow3Char) {
|
|
237
|
+
const hex = [
|
|
238
|
+
pad2(Math.round(r2).toString(16)),
|
|
239
|
+
pad2(Math.round(g).toString(16)),
|
|
240
|
+
pad2(Math.round(b2).toString(16))
|
|
241
|
+
];
|
|
242
|
+
if (allow3Char && hex[0].startsWith(hex[0].charAt(1)) && hex[1].startsWith(hex[1].charAt(1)) && hex[2].startsWith(hex[2].charAt(1))) {
|
|
243
|
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
|
|
244
|
+
}
|
|
245
|
+
return hex.join("");
|
|
246
|
+
}
|
|
247
|
+
function rgbaToHex(r2, g, b2, a, allow4Char) {
|
|
248
|
+
const hex = [
|
|
249
|
+
pad2(Math.round(r2).toString(16)),
|
|
250
|
+
pad2(Math.round(g).toString(16)),
|
|
251
|
+
pad2(Math.round(b2).toString(16)),
|
|
252
|
+
pad2(convertDecimalToHex(a))
|
|
253
|
+
];
|
|
254
|
+
if (allow4Char && hex[0].startsWith(hex[0].charAt(1)) && hex[1].startsWith(hex[1].charAt(1)) && hex[2].startsWith(hex[2].charAt(1)) && hex[3].startsWith(hex[3].charAt(1))) {
|
|
255
|
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
|
|
256
|
+
}
|
|
257
|
+
return hex.join("");
|
|
258
|
+
}
|
|
259
|
+
function cmykToRgb(c, m, y, k) {
|
|
260
|
+
const cConv = c / 100;
|
|
261
|
+
const mConv = m / 100;
|
|
262
|
+
const yConv = y / 100;
|
|
263
|
+
const kConv = k / 100;
|
|
264
|
+
const r2 = 255 * (1 - cConv) * (1 - kConv);
|
|
265
|
+
const g = 255 * (1 - mConv) * (1 - kConv);
|
|
266
|
+
const b2 = 255 * (1 - yConv) * (1 - kConv);
|
|
267
|
+
return { r: r2, g, b: b2 };
|
|
268
|
+
}
|
|
269
|
+
function rgbToCmyk(r2, g, b2) {
|
|
270
|
+
let c = 1 - r2 / 255;
|
|
271
|
+
let m = 1 - g / 255;
|
|
272
|
+
let y = 1 - b2 / 255;
|
|
273
|
+
let k = Math.min(c, m, y);
|
|
274
|
+
if (k === 1) {
|
|
275
|
+
c = 0;
|
|
276
|
+
m = 0;
|
|
277
|
+
y = 0;
|
|
278
|
+
} else {
|
|
279
|
+
c = (c - k) / (1 - k) * 100;
|
|
280
|
+
m = (m - k) / (1 - k) * 100;
|
|
281
|
+
y = (y - k) / (1 - k) * 100;
|
|
282
|
+
}
|
|
283
|
+
k *= 100;
|
|
284
|
+
return {
|
|
285
|
+
c: Math.round(c),
|
|
286
|
+
m: Math.round(m),
|
|
287
|
+
y: Math.round(y),
|
|
288
|
+
k: Math.round(k)
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
function convertDecimalToHex(d) {
|
|
292
|
+
return Math.round(parseFloat(d) * 255).toString(16);
|
|
293
|
+
}
|
|
294
|
+
function convertHexToDecimal(h) {
|
|
295
|
+
return parseIntFromHex(h) / 255;
|
|
296
|
+
}
|
|
297
|
+
function parseIntFromHex(val) {
|
|
298
|
+
return parseInt(val, 16);
|
|
299
|
+
}
|
|
300
|
+
function numberInputToObject(color) {
|
|
301
|
+
return {
|
|
302
|
+
r: color >> 16,
|
|
303
|
+
g: (color & 65280) >> 8,
|
|
304
|
+
b: color & 255
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
// node_modules/@ctrl/tinycolor/dist/module/css-color-names.js
|
|
309
|
+
var names = {
|
|
310
|
+
aliceblue: "#f0f8ff",
|
|
311
|
+
antiquewhite: "#faebd7",
|
|
312
|
+
aqua: "#00ffff",
|
|
313
|
+
aquamarine: "#7fffd4",
|
|
314
|
+
azure: "#f0ffff",
|
|
315
|
+
beige: "#f5f5dc",
|
|
316
|
+
bisque: "#ffe4c4",
|
|
317
|
+
black: "#000000",
|
|
318
|
+
blanchedalmond: "#ffebcd",
|
|
319
|
+
blue: "#0000ff",
|
|
320
|
+
blueviolet: "#8a2be2",
|
|
321
|
+
brown: "#a52a2a",
|
|
322
|
+
burlywood: "#deb887",
|
|
323
|
+
cadetblue: "#5f9ea0",
|
|
324
|
+
chartreuse: "#7fff00",
|
|
325
|
+
chocolate: "#d2691e",
|
|
326
|
+
coral: "#ff7f50",
|
|
327
|
+
cornflowerblue: "#6495ed",
|
|
328
|
+
cornsilk: "#fff8dc",
|
|
329
|
+
crimson: "#dc143c",
|
|
330
|
+
cyan: "#00ffff",
|
|
331
|
+
darkblue: "#00008b",
|
|
332
|
+
darkcyan: "#008b8b",
|
|
333
|
+
darkgoldenrod: "#b8860b",
|
|
334
|
+
darkgray: "#a9a9a9",
|
|
335
|
+
darkgreen: "#006400",
|
|
336
|
+
darkgrey: "#a9a9a9",
|
|
337
|
+
darkkhaki: "#bdb76b",
|
|
338
|
+
darkmagenta: "#8b008b",
|
|
339
|
+
darkolivegreen: "#556b2f",
|
|
340
|
+
darkorange: "#ff8c00",
|
|
341
|
+
darkorchid: "#9932cc",
|
|
342
|
+
darkred: "#8b0000",
|
|
343
|
+
darksalmon: "#e9967a",
|
|
344
|
+
darkseagreen: "#8fbc8f",
|
|
345
|
+
darkslateblue: "#483d8b",
|
|
346
|
+
darkslategray: "#2f4f4f",
|
|
347
|
+
darkslategrey: "#2f4f4f",
|
|
348
|
+
darkturquoise: "#00ced1",
|
|
349
|
+
darkviolet: "#9400d3",
|
|
350
|
+
deeppink: "#ff1493",
|
|
351
|
+
deepskyblue: "#00bfff",
|
|
352
|
+
dimgray: "#696969",
|
|
353
|
+
dimgrey: "#696969",
|
|
354
|
+
dodgerblue: "#1e90ff",
|
|
355
|
+
firebrick: "#b22222",
|
|
356
|
+
floralwhite: "#fffaf0",
|
|
357
|
+
forestgreen: "#228b22",
|
|
358
|
+
fuchsia: "#ff00ff",
|
|
359
|
+
gainsboro: "#dcdcdc",
|
|
360
|
+
ghostwhite: "#f8f8ff",
|
|
361
|
+
goldenrod: "#daa520",
|
|
362
|
+
gold: "#ffd700",
|
|
363
|
+
gray: "#808080",
|
|
364
|
+
green: "#008000",
|
|
365
|
+
greenyellow: "#adff2f",
|
|
366
|
+
grey: "#808080",
|
|
367
|
+
honeydew: "#f0fff0",
|
|
368
|
+
hotpink: "#ff69b4",
|
|
369
|
+
indianred: "#cd5c5c",
|
|
370
|
+
indigo: "#4b0082",
|
|
371
|
+
ivory: "#fffff0",
|
|
372
|
+
khaki: "#f0e68c",
|
|
373
|
+
lavenderblush: "#fff0f5",
|
|
374
|
+
lavender: "#e6e6fa",
|
|
375
|
+
lawngreen: "#7cfc00",
|
|
376
|
+
lemonchiffon: "#fffacd",
|
|
377
|
+
lightblue: "#add8e6",
|
|
378
|
+
lightcoral: "#f08080",
|
|
379
|
+
lightcyan: "#e0ffff",
|
|
380
|
+
lightgoldenrodyellow: "#fafad2",
|
|
381
|
+
lightgray: "#d3d3d3",
|
|
382
|
+
lightgreen: "#90ee90",
|
|
383
|
+
lightgrey: "#d3d3d3",
|
|
384
|
+
lightpink: "#ffb6c1",
|
|
385
|
+
lightsalmon: "#ffa07a",
|
|
386
|
+
lightseagreen: "#20b2aa",
|
|
387
|
+
lightskyblue: "#87cefa",
|
|
388
|
+
lightslategray: "#778899",
|
|
389
|
+
lightslategrey: "#778899",
|
|
390
|
+
lightsteelblue: "#b0c4de",
|
|
391
|
+
lightyellow: "#ffffe0",
|
|
392
|
+
lime: "#00ff00",
|
|
393
|
+
limegreen: "#32cd32",
|
|
394
|
+
linen: "#faf0e6",
|
|
395
|
+
magenta: "#ff00ff",
|
|
396
|
+
maroon: "#800000",
|
|
397
|
+
mediumaquamarine: "#66cdaa",
|
|
398
|
+
mediumblue: "#0000cd",
|
|
399
|
+
mediumorchid: "#ba55d3",
|
|
400
|
+
mediumpurple: "#9370db",
|
|
401
|
+
mediumseagreen: "#3cb371",
|
|
402
|
+
mediumslateblue: "#7b68ee",
|
|
403
|
+
mediumspringgreen: "#00fa9a",
|
|
404
|
+
mediumturquoise: "#48d1cc",
|
|
405
|
+
mediumvioletred: "#c71585",
|
|
406
|
+
midnightblue: "#191970",
|
|
407
|
+
mintcream: "#f5fffa",
|
|
408
|
+
mistyrose: "#ffe4e1",
|
|
409
|
+
moccasin: "#ffe4b5",
|
|
410
|
+
navajowhite: "#ffdead",
|
|
411
|
+
navy: "#000080",
|
|
412
|
+
oldlace: "#fdf5e6",
|
|
413
|
+
olive: "#808000",
|
|
414
|
+
olivedrab: "#6b8e23",
|
|
415
|
+
orange: "#ffa500",
|
|
416
|
+
orangered: "#ff4500",
|
|
417
|
+
orchid: "#da70d6",
|
|
418
|
+
palegoldenrod: "#eee8aa",
|
|
419
|
+
palegreen: "#98fb98",
|
|
420
|
+
paleturquoise: "#afeeee",
|
|
421
|
+
palevioletred: "#db7093",
|
|
422
|
+
papayawhip: "#ffefd5",
|
|
423
|
+
peachpuff: "#ffdab9",
|
|
424
|
+
peru: "#cd853f",
|
|
425
|
+
pink: "#ffc0cb",
|
|
426
|
+
plum: "#dda0dd",
|
|
427
|
+
powderblue: "#b0e0e6",
|
|
428
|
+
purple: "#800080",
|
|
429
|
+
rebeccapurple: "#663399",
|
|
430
|
+
red: "#ff0000",
|
|
431
|
+
rosybrown: "#bc8f8f",
|
|
432
|
+
royalblue: "#4169e1",
|
|
433
|
+
saddlebrown: "#8b4513",
|
|
434
|
+
salmon: "#fa8072",
|
|
435
|
+
sandybrown: "#f4a460",
|
|
436
|
+
seagreen: "#2e8b57",
|
|
437
|
+
seashell: "#fff5ee",
|
|
438
|
+
sienna: "#a0522d",
|
|
439
|
+
silver: "#c0c0c0",
|
|
440
|
+
skyblue: "#87ceeb",
|
|
441
|
+
slateblue: "#6a5acd",
|
|
442
|
+
slategray: "#708090",
|
|
443
|
+
slategrey: "#708090",
|
|
444
|
+
snow: "#fffafa",
|
|
445
|
+
springgreen: "#00ff7f",
|
|
446
|
+
steelblue: "#4682b4",
|
|
447
|
+
tan: "#d2b48c",
|
|
448
|
+
teal: "#008080",
|
|
449
|
+
thistle: "#d8bfd8",
|
|
450
|
+
tomato: "#ff6347",
|
|
451
|
+
turquoise: "#40e0d0",
|
|
452
|
+
violet: "#ee82ee",
|
|
453
|
+
wheat: "#f5deb3",
|
|
454
|
+
white: "#ffffff",
|
|
455
|
+
whitesmoke: "#f5f5f5",
|
|
456
|
+
yellow: "#ffff00",
|
|
457
|
+
yellowgreen: "#9acd32"
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
// node_modules/@ctrl/tinycolor/dist/module/format-input.js
|
|
461
|
+
function inputToRGB(color) {
|
|
462
|
+
let rgb = { r: 0, g: 0, b: 0 };
|
|
463
|
+
let a = 1;
|
|
464
|
+
let s = null;
|
|
465
|
+
let v = null;
|
|
466
|
+
let l = null;
|
|
467
|
+
let ok = false;
|
|
468
|
+
let format = false;
|
|
469
|
+
if (typeof color === "string") {
|
|
470
|
+
color = stringInputToObject(color);
|
|
471
|
+
}
|
|
472
|
+
if (typeof color === "object") {
|
|
473
|
+
if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
|
|
474
|
+
rgb = rgbToRgb(color.r, color.g, color.b);
|
|
475
|
+
ok = true;
|
|
476
|
+
format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
|
|
477
|
+
} else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
|
|
478
|
+
s = convertToPercentage(color.s);
|
|
479
|
+
v = convertToPercentage(color.v);
|
|
480
|
+
rgb = hsvToRgb(color.h, s, v);
|
|
481
|
+
ok = true;
|
|
482
|
+
format = "hsv";
|
|
483
|
+
} else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
|
|
484
|
+
s = convertToPercentage(color.s);
|
|
485
|
+
l = convertToPercentage(color.l);
|
|
486
|
+
rgb = hslToRgb(color.h, s, l);
|
|
487
|
+
ok = true;
|
|
488
|
+
format = "hsl";
|
|
489
|
+
} else if (isValidCSSUnit(color.c) && isValidCSSUnit(color.m) && isValidCSSUnit(color.y) && isValidCSSUnit(color.k)) {
|
|
490
|
+
rgb = cmykToRgb(color.c, color.m, color.y, color.k);
|
|
491
|
+
ok = true;
|
|
492
|
+
format = "cmyk";
|
|
493
|
+
}
|
|
494
|
+
if (Object.prototype.hasOwnProperty.call(color, "a")) {
|
|
495
|
+
a = color.a;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
a = boundAlpha(a);
|
|
499
|
+
return {
|
|
500
|
+
ok,
|
|
501
|
+
format: color.format || format,
|
|
502
|
+
r: Math.min(255, Math.max(rgb.r, 0)),
|
|
503
|
+
g: Math.min(255, Math.max(rgb.g, 0)),
|
|
504
|
+
b: Math.min(255, Math.max(rgb.b, 0)),
|
|
505
|
+
a
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
var CSS_INTEGER = "[-\\+]?\\d+%?";
|
|
509
|
+
var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
|
|
510
|
+
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
|
511
|
+
var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
|
512
|
+
var PERMISSIVE_MATCH4 = (
|
|
513
|
+
// eslint-disable-next-line prettier/prettier
|
|
514
|
+
"[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?"
|
|
515
|
+
);
|
|
516
|
+
var matchers = {
|
|
517
|
+
CSS_UNIT: new RegExp(CSS_UNIT),
|
|
518
|
+
rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
|
|
519
|
+
rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
|
|
520
|
+
hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
|
|
521
|
+
hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
|
|
522
|
+
hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
|
|
523
|
+
hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
|
|
524
|
+
cmyk: new RegExp("cmyk" + PERMISSIVE_MATCH4),
|
|
525
|
+
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
526
|
+
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
|
527
|
+
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
528
|
+
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
|
529
|
+
};
|
|
530
|
+
function stringInputToObject(color) {
|
|
531
|
+
color = color.trim().toLowerCase();
|
|
532
|
+
if (color.length === 0) {
|
|
533
|
+
return false;
|
|
534
|
+
}
|
|
535
|
+
let named = false;
|
|
536
|
+
if (names[color]) {
|
|
537
|
+
color = names[color];
|
|
538
|
+
named = true;
|
|
539
|
+
} else if (color === "transparent") {
|
|
540
|
+
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
541
|
+
}
|
|
542
|
+
let match = matchers.rgb.exec(color);
|
|
543
|
+
if (match) {
|
|
544
|
+
return { r: match[1], g: match[2], b: match[3] };
|
|
545
|
+
}
|
|
546
|
+
match = matchers.rgba.exec(color);
|
|
547
|
+
if (match) {
|
|
548
|
+
return { r: match[1], g: match[2], b: match[3], a: match[4] };
|
|
549
|
+
}
|
|
550
|
+
match = matchers.hsl.exec(color);
|
|
551
|
+
if (match) {
|
|
552
|
+
return { h: match[1], s: match[2], l: match[3] };
|
|
553
|
+
}
|
|
554
|
+
match = matchers.hsla.exec(color);
|
|
555
|
+
if (match) {
|
|
556
|
+
return { h: match[1], s: match[2], l: match[3], a: match[4] };
|
|
557
|
+
}
|
|
558
|
+
match = matchers.hsv.exec(color);
|
|
559
|
+
if (match) {
|
|
560
|
+
return { h: match[1], s: match[2], v: match[3] };
|
|
561
|
+
}
|
|
562
|
+
match = matchers.hsva.exec(color);
|
|
563
|
+
if (match) {
|
|
564
|
+
return { h: match[1], s: match[2], v: match[3], a: match[4] };
|
|
565
|
+
}
|
|
566
|
+
match = matchers.cmyk.exec(color);
|
|
567
|
+
if (match) {
|
|
568
|
+
return {
|
|
569
|
+
c: match[1],
|
|
570
|
+
m: match[2],
|
|
571
|
+
y: match[3],
|
|
572
|
+
k: match[4]
|
|
573
|
+
};
|
|
574
|
+
}
|
|
575
|
+
match = matchers.hex8.exec(color);
|
|
576
|
+
if (match) {
|
|
577
|
+
return {
|
|
578
|
+
r: parseIntFromHex(match[1]),
|
|
579
|
+
g: parseIntFromHex(match[2]),
|
|
580
|
+
b: parseIntFromHex(match[3]),
|
|
581
|
+
a: convertHexToDecimal(match[4]),
|
|
582
|
+
format: named ? "name" : "hex8"
|
|
583
|
+
};
|
|
584
|
+
}
|
|
585
|
+
match = matchers.hex6.exec(color);
|
|
586
|
+
if (match) {
|
|
587
|
+
return {
|
|
588
|
+
r: parseIntFromHex(match[1]),
|
|
589
|
+
g: parseIntFromHex(match[2]),
|
|
590
|
+
b: parseIntFromHex(match[3]),
|
|
591
|
+
format: named ? "name" : "hex"
|
|
592
|
+
};
|
|
593
|
+
}
|
|
594
|
+
match = matchers.hex4.exec(color);
|
|
595
|
+
if (match) {
|
|
596
|
+
return {
|
|
597
|
+
r: parseIntFromHex(match[1] + match[1]),
|
|
598
|
+
g: parseIntFromHex(match[2] + match[2]),
|
|
599
|
+
b: parseIntFromHex(match[3] + match[3]),
|
|
600
|
+
a: convertHexToDecimal(match[4] + match[4]),
|
|
601
|
+
format: named ? "name" : "hex8"
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
match = matchers.hex3.exec(color);
|
|
605
|
+
if (match) {
|
|
606
|
+
return {
|
|
607
|
+
r: parseIntFromHex(match[1] + match[1]),
|
|
608
|
+
g: parseIntFromHex(match[2] + match[2]),
|
|
609
|
+
b: parseIntFromHex(match[3] + match[3]),
|
|
610
|
+
format: named ? "name" : "hex"
|
|
611
|
+
};
|
|
612
|
+
}
|
|
613
|
+
return false;
|
|
614
|
+
}
|
|
615
|
+
function isValidCSSUnit(color) {
|
|
616
|
+
if (typeof color === "number") {
|
|
617
|
+
return !Number.isNaN(color);
|
|
618
|
+
}
|
|
619
|
+
return matchers.CSS_UNIT.test(color);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
// node_modules/@ctrl/tinycolor/dist/module/index.js
|
|
623
|
+
var TinyColor = class _TinyColor {
|
|
624
|
+
constructor(color = "", opts = {}) {
|
|
625
|
+
var _a;
|
|
626
|
+
if (color instanceof _TinyColor) {
|
|
627
|
+
return color;
|
|
628
|
+
}
|
|
629
|
+
if (typeof color === "number") {
|
|
630
|
+
color = numberInputToObject(color);
|
|
631
|
+
}
|
|
632
|
+
this.originalInput = color;
|
|
633
|
+
const rgb = inputToRGB(color);
|
|
634
|
+
this.originalInput = color;
|
|
635
|
+
this.r = rgb.r;
|
|
636
|
+
this.g = rgb.g;
|
|
637
|
+
this.b = rgb.b;
|
|
638
|
+
this.a = rgb.a;
|
|
639
|
+
this.roundA = Math.round(100 * this.a) / 100;
|
|
640
|
+
this.format = (_a = opts.format) != null ? _a : rgb.format;
|
|
641
|
+
this.gradientType = opts.gradientType;
|
|
642
|
+
if (this.r < 1) {
|
|
643
|
+
this.r = Math.round(this.r);
|
|
644
|
+
}
|
|
645
|
+
if (this.g < 1) {
|
|
646
|
+
this.g = Math.round(this.g);
|
|
647
|
+
}
|
|
648
|
+
if (this.b < 1) {
|
|
649
|
+
this.b = Math.round(this.b);
|
|
650
|
+
}
|
|
651
|
+
this.isValid = rgb.ok;
|
|
652
|
+
}
|
|
653
|
+
isDark() {
|
|
654
|
+
return this.getBrightness() < 128;
|
|
655
|
+
}
|
|
656
|
+
isLight() {
|
|
657
|
+
return !this.isDark();
|
|
658
|
+
}
|
|
659
|
+
/**
|
|
660
|
+
* Returns the perceived brightness of the color, from 0-255.
|
|
661
|
+
*/
|
|
662
|
+
getBrightness() {
|
|
663
|
+
const rgb = this.toRgb();
|
|
664
|
+
return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1e3;
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* Returns the perceived luminance of a color, from 0-1.
|
|
668
|
+
*/
|
|
669
|
+
getLuminance() {
|
|
670
|
+
const rgb = this.toRgb();
|
|
671
|
+
let R;
|
|
672
|
+
let G;
|
|
673
|
+
let B;
|
|
674
|
+
const RsRGB = rgb.r / 255;
|
|
675
|
+
const GsRGB = rgb.g / 255;
|
|
676
|
+
const BsRGB = rgb.b / 255;
|
|
677
|
+
if (RsRGB <= 0.03928) {
|
|
678
|
+
R = RsRGB / 12.92;
|
|
679
|
+
} else {
|
|
680
|
+
R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);
|
|
681
|
+
}
|
|
682
|
+
if (GsRGB <= 0.03928) {
|
|
683
|
+
G = GsRGB / 12.92;
|
|
684
|
+
} else {
|
|
685
|
+
G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);
|
|
686
|
+
}
|
|
687
|
+
if (BsRGB <= 0.03928) {
|
|
688
|
+
B = BsRGB / 12.92;
|
|
689
|
+
} else {
|
|
690
|
+
B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);
|
|
691
|
+
}
|
|
692
|
+
return 0.2126 * R + 0.7152 * G + 0.0722 * B;
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* Returns the alpha value of a color, from 0-1.
|
|
696
|
+
*/
|
|
697
|
+
getAlpha() {
|
|
698
|
+
return this.a;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* Sets the alpha value on the current color.
|
|
702
|
+
*
|
|
703
|
+
* @param alpha - The new alpha value. The accepted range is 0-1.
|
|
704
|
+
*/
|
|
705
|
+
setAlpha(alpha) {
|
|
706
|
+
this.a = boundAlpha(alpha);
|
|
707
|
+
this.roundA = Math.round(100 * this.a) / 100;
|
|
708
|
+
return this;
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* Returns whether the color is monochrome.
|
|
712
|
+
*/
|
|
713
|
+
isMonochrome() {
|
|
714
|
+
const { s } = this.toHsl();
|
|
715
|
+
return s === 0;
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
* Returns the object as a HSVA object.
|
|
719
|
+
*/
|
|
720
|
+
toHsv() {
|
|
721
|
+
const hsv = rgbToHsv(this.r, this.g, this.b);
|
|
722
|
+
return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this.a };
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* Returns the hsva values interpolated into a string with the following format:
|
|
726
|
+
* "hsva(xxx, xxx, xxx, xx)".
|
|
727
|
+
*/
|
|
728
|
+
toHsvString() {
|
|
729
|
+
const hsv = rgbToHsv(this.r, this.g, this.b);
|
|
730
|
+
const h = Math.round(hsv.h * 360);
|
|
731
|
+
const s = Math.round(hsv.s * 100);
|
|
732
|
+
const v = Math.round(hsv.v * 100);
|
|
733
|
+
return this.a === 1 ? `hsv(${h}, ${s}%, ${v}%)` : `hsva(${h}, ${s}%, ${v}%, ${this.roundA})`;
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* Returns the object as a HSLA object.
|
|
737
|
+
*/
|
|
738
|
+
toHsl() {
|
|
739
|
+
const hsl = rgbToHsl(this.r, this.g, this.b);
|
|
740
|
+
return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this.a };
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* Returns the hsla values interpolated into a string with the following format:
|
|
744
|
+
* "hsla(xxx, xxx, xxx, xx)".
|
|
745
|
+
*/
|
|
746
|
+
toHslString() {
|
|
747
|
+
const hsl = rgbToHsl(this.r, this.g, this.b);
|
|
748
|
+
const h = Math.round(hsl.h * 360);
|
|
749
|
+
const s = Math.round(hsl.s * 100);
|
|
750
|
+
const l = Math.round(hsl.l * 100);
|
|
751
|
+
return this.a === 1 ? `hsl(${h}, ${s}%, ${l}%)` : `hsla(${h}, ${s}%, ${l}%, ${this.roundA})`;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Returns the hex value of the color.
|
|
755
|
+
* @param allow3Char will shorten hex value to 3 char if possible
|
|
756
|
+
*/
|
|
757
|
+
toHex(allow3Char = false) {
|
|
758
|
+
return rgbToHex(this.r, this.g, this.b, allow3Char);
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* Returns the hex value of the color -with a # prefixed.
|
|
762
|
+
* @param allow3Char will shorten hex value to 3 char if possible
|
|
763
|
+
*/
|
|
764
|
+
toHexString(allow3Char = false) {
|
|
765
|
+
return "#" + this.toHex(allow3Char);
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* Returns the hex 8 value of the color.
|
|
769
|
+
* @param allow4Char will shorten hex value to 4 char if possible
|
|
770
|
+
*/
|
|
771
|
+
toHex8(allow4Char = false) {
|
|
772
|
+
return rgbaToHex(this.r, this.g, this.b, this.a, allow4Char);
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Returns the hex 8 value of the color -with a # prefixed.
|
|
776
|
+
* @param allow4Char will shorten hex value to 4 char if possible
|
|
777
|
+
*/
|
|
778
|
+
toHex8String(allow4Char = false) {
|
|
779
|
+
return "#" + this.toHex8(allow4Char);
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* Returns the shorter hex value of the color depends on its alpha -with a # prefixed.
|
|
783
|
+
* @param allowShortChar will shorten hex value to 3 or 4 char if possible
|
|
784
|
+
*/
|
|
785
|
+
toHexShortString(allowShortChar = false) {
|
|
786
|
+
return this.a === 1 ? this.toHexString(allowShortChar) : this.toHex8String(allowShortChar);
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* Returns the object as a RGBA object.
|
|
790
|
+
*/
|
|
791
|
+
toRgb() {
|
|
792
|
+
return {
|
|
793
|
+
r: Math.round(this.r),
|
|
794
|
+
g: Math.round(this.g),
|
|
795
|
+
b: Math.round(this.b),
|
|
796
|
+
a: this.a
|
|
797
|
+
};
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* Returns the RGBA values interpolated into a string with the following format:
|
|
801
|
+
* "RGBA(xxx, xxx, xxx, xx)".
|
|
802
|
+
*/
|
|
803
|
+
toRgbString() {
|
|
804
|
+
const r2 = Math.round(this.r);
|
|
805
|
+
const g = Math.round(this.g);
|
|
806
|
+
const b2 = Math.round(this.b);
|
|
807
|
+
return this.a === 1 ? `rgb(${r2}, ${g}, ${b2})` : `rgba(${r2}, ${g}, ${b2}, ${this.roundA})`;
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* Returns the object as a RGBA object.
|
|
811
|
+
*/
|
|
812
|
+
toPercentageRgb() {
|
|
813
|
+
const fmt = (x) => `${Math.round(bound01(x, 255) * 100)}%`;
|
|
814
|
+
return {
|
|
815
|
+
r: fmt(this.r),
|
|
816
|
+
g: fmt(this.g),
|
|
817
|
+
b: fmt(this.b),
|
|
818
|
+
a: this.a
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
* Returns the RGBA relative values interpolated into a string
|
|
823
|
+
*/
|
|
824
|
+
toPercentageRgbString() {
|
|
825
|
+
const rnd = (x) => Math.round(bound01(x, 255) * 100);
|
|
826
|
+
return this.a === 1 ? `rgb(${rnd(this.r)}%, ${rnd(this.g)}%, ${rnd(this.b)}%)` : `rgba(${rnd(this.r)}%, ${rnd(this.g)}%, ${rnd(this.b)}%, ${this.roundA})`;
|
|
827
|
+
}
|
|
828
|
+
toCmyk() {
|
|
829
|
+
return __spreadValues({}, rgbToCmyk(this.r, this.g, this.b));
|
|
830
|
+
}
|
|
831
|
+
toCmykString() {
|
|
832
|
+
const { c, m, y, k } = rgbToCmyk(this.r, this.g, this.b);
|
|
833
|
+
return `cmyk(${c}, ${m}, ${y}, ${k})`;
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* The 'real' name of the color -if there is one.
|
|
837
|
+
*/
|
|
838
|
+
toName() {
|
|
839
|
+
if (this.a === 0) {
|
|
840
|
+
return "transparent";
|
|
841
|
+
}
|
|
842
|
+
if (this.a < 1) {
|
|
843
|
+
return false;
|
|
844
|
+
}
|
|
845
|
+
const hex = "#" + rgbToHex(this.r, this.g, this.b, false);
|
|
846
|
+
for (const [key, value] of Object.entries(names)) {
|
|
847
|
+
if (hex === value) {
|
|
848
|
+
return key;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
return false;
|
|
852
|
+
}
|
|
853
|
+
toString(format) {
|
|
854
|
+
const formatSet = Boolean(format);
|
|
855
|
+
format = format != null ? format : this.format;
|
|
856
|
+
let formattedString = false;
|
|
857
|
+
const hasAlpha = this.a < 1 && this.a >= 0;
|
|
858
|
+
const needsAlphaFormat = !formatSet && hasAlpha && (format.startsWith("hex") || format === "name");
|
|
859
|
+
if (needsAlphaFormat) {
|
|
860
|
+
if (format === "name" && this.a === 0) {
|
|
861
|
+
return this.toName();
|
|
862
|
+
}
|
|
863
|
+
return this.toRgbString();
|
|
864
|
+
}
|
|
865
|
+
if (format === "rgb") {
|
|
866
|
+
formattedString = this.toRgbString();
|
|
867
|
+
}
|
|
868
|
+
if (format === "prgb") {
|
|
869
|
+
formattedString = this.toPercentageRgbString();
|
|
870
|
+
}
|
|
871
|
+
if (format === "hex" || format === "hex6") {
|
|
872
|
+
formattedString = this.toHexString();
|
|
873
|
+
}
|
|
874
|
+
if (format === "hex3") {
|
|
875
|
+
formattedString = this.toHexString(true);
|
|
876
|
+
}
|
|
877
|
+
if (format === "hex4") {
|
|
878
|
+
formattedString = this.toHex8String(true);
|
|
879
|
+
}
|
|
880
|
+
if (format === "hex8") {
|
|
881
|
+
formattedString = this.toHex8String();
|
|
882
|
+
}
|
|
883
|
+
if (format === "name") {
|
|
884
|
+
formattedString = this.toName();
|
|
885
|
+
}
|
|
886
|
+
if (format === "hsl") {
|
|
887
|
+
formattedString = this.toHslString();
|
|
888
|
+
}
|
|
889
|
+
if (format === "hsv") {
|
|
890
|
+
formattedString = this.toHsvString();
|
|
891
|
+
}
|
|
892
|
+
if (format === "cmyk") {
|
|
893
|
+
formattedString = this.toCmykString();
|
|
894
|
+
}
|
|
895
|
+
return formattedString || this.toHexString();
|
|
896
|
+
}
|
|
897
|
+
toNumber() {
|
|
898
|
+
return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);
|
|
899
|
+
}
|
|
900
|
+
clone() {
|
|
901
|
+
return new _TinyColor(this.toString());
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* Lighten the color a given amount. Providing 100 will always return white.
|
|
905
|
+
* @param amount - valid between 1-100
|
|
906
|
+
*/
|
|
907
|
+
lighten(amount = 10) {
|
|
908
|
+
const hsl = this.toHsl();
|
|
909
|
+
hsl.l += amount / 100;
|
|
910
|
+
hsl.l = clamp01(hsl.l);
|
|
911
|
+
return new _TinyColor(hsl);
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* Brighten the color a given amount, from 0 to 100.
|
|
915
|
+
* @param amount - valid between 1-100
|
|
916
|
+
*/
|
|
917
|
+
brighten(amount = 10) {
|
|
918
|
+
const rgb = this.toRgb();
|
|
919
|
+
rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));
|
|
920
|
+
rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));
|
|
921
|
+
rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));
|
|
922
|
+
return new _TinyColor(rgb);
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* Darken the color a given amount, from 0 to 100.
|
|
926
|
+
* Providing 100 will always return black.
|
|
927
|
+
* @param amount - valid between 1-100
|
|
928
|
+
*/
|
|
929
|
+
darken(amount = 10) {
|
|
930
|
+
const hsl = this.toHsl();
|
|
931
|
+
hsl.l -= amount / 100;
|
|
932
|
+
hsl.l = clamp01(hsl.l);
|
|
933
|
+
return new _TinyColor(hsl);
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
* Mix the color with pure white, from 0 to 100.
|
|
937
|
+
* Providing 0 will do nothing, providing 100 will always return white.
|
|
938
|
+
* @param amount - valid between 1-100
|
|
939
|
+
*/
|
|
940
|
+
tint(amount = 10) {
|
|
941
|
+
return this.mix("white", amount);
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* Mix the color with pure black, from 0 to 100.
|
|
945
|
+
* Providing 0 will do nothing, providing 100 will always return black.
|
|
946
|
+
* @param amount - valid between 1-100
|
|
947
|
+
*/
|
|
948
|
+
shade(amount = 10) {
|
|
949
|
+
return this.mix("black", amount);
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* Desaturate the color a given amount, from 0 to 100.
|
|
953
|
+
* Providing 100 will is the same as calling greyscale
|
|
954
|
+
* @param amount - valid between 1-100
|
|
955
|
+
*/
|
|
956
|
+
desaturate(amount = 10) {
|
|
957
|
+
const hsl = this.toHsl();
|
|
958
|
+
hsl.s -= amount / 100;
|
|
959
|
+
hsl.s = clamp01(hsl.s);
|
|
960
|
+
return new _TinyColor(hsl);
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* Saturate the color a given amount, from 0 to 100.
|
|
964
|
+
* @param amount - valid between 1-100
|
|
965
|
+
*/
|
|
966
|
+
saturate(amount = 10) {
|
|
967
|
+
const hsl = this.toHsl();
|
|
968
|
+
hsl.s += amount / 100;
|
|
969
|
+
hsl.s = clamp01(hsl.s);
|
|
970
|
+
return new _TinyColor(hsl);
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* Completely desaturates a color into greyscale.
|
|
974
|
+
* Same as calling `desaturate(100)`
|
|
975
|
+
*/
|
|
976
|
+
greyscale() {
|
|
977
|
+
return this.desaturate(100);
|
|
978
|
+
}
|
|
979
|
+
/**
|
|
980
|
+
* Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
|
|
981
|
+
* Values outside of this range will be wrapped into this range.
|
|
982
|
+
*/
|
|
983
|
+
spin(amount) {
|
|
984
|
+
const hsl = this.toHsl();
|
|
985
|
+
const hue = (hsl.h + amount) % 360;
|
|
986
|
+
hsl.h = hue < 0 ? 360 + hue : hue;
|
|
987
|
+
return new _TinyColor(hsl);
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
* Mix the current color a given amount with another color, from 0 to 100.
|
|
991
|
+
* 0 means no mixing (return current color).
|
|
992
|
+
*/
|
|
993
|
+
mix(color, amount = 50) {
|
|
994
|
+
const rgb1 = this.toRgb();
|
|
995
|
+
const rgb2 = new _TinyColor(color).toRgb();
|
|
996
|
+
const p = amount / 100;
|
|
997
|
+
const rgba = {
|
|
998
|
+
r: (rgb2.r - rgb1.r) * p + rgb1.r,
|
|
999
|
+
g: (rgb2.g - rgb1.g) * p + rgb1.g,
|
|
1000
|
+
b: (rgb2.b - rgb1.b) * p + rgb1.b,
|
|
1001
|
+
a: (rgb2.a - rgb1.a) * p + rgb1.a
|
|
1002
|
+
};
|
|
1003
|
+
return new _TinyColor(rgba);
|
|
1004
|
+
}
|
|
1005
|
+
analogous(results = 6, slices = 30) {
|
|
1006
|
+
const hsl = this.toHsl();
|
|
1007
|
+
const part = 360 / slices;
|
|
1008
|
+
const ret = [this];
|
|
1009
|
+
for (hsl.h = (hsl.h - (part * results >> 1) + 720) % 360; --results; ) {
|
|
1010
|
+
hsl.h = (hsl.h + part) % 360;
|
|
1011
|
+
ret.push(new _TinyColor(hsl));
|
|
1012
|
+
}
|
|
1013
|
+
return ret;
|
|
1014
|
+
}
|
|
1015
|
+
/**
|
|
1016
|
+
* taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js
|
|
1017
|
+
*/
|
|
1018
|
+
complement() {
|
|
1019
|
+
const hsl = this.toHsl();
|
|
1020
|
+
hsl.h = (hsl.h + 180) % 360;
|
|
1021
|
+
return new _TinyColor(hsl);
|
|
1022
|
+
}
|
|
1023
|
+
monochromatic(results = 6) {
|
|
1024
|
+
const hsv = this.toHsv();
|
|
1025
|
+
const { h } = hsv;
|
|
1026
|
+
const { s } = hsv;
|
|
1027
|
+
let { v } = hsv;
|
|
1028
|
+
const res = [];
|
|
1029
|
+
const modification = 1 / results;
|
|
1030
|
+
while (results--) {
|
|
1031
|
+
res.push(new _TinyColor({ h, s, v }));
|
|
1032
|
+
v = (v + modification) % 1;
|
|
1033
|
+
}
|
|
1034
|
+
return res;
|
|
1035
|
+
}
|
|
1036
|
+
splitcomplement() {
|
|
1037
|
+
const hsl = this.toHsl();
|
|
1038
|
+
const { h } = hsl;
|
|
1039
|
+
return [
|
|
1040
|
+
this,
|
|
1041
|
+
new _TinyColor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),
|
|
1042
|
+
new _TinyColor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l })
|
|
1043
|
+
];
|
|
1044
|
+
}
|
|
1045
|
+
/**
|
|
1046
|
+
* Compute how the color would appear on a background
|
|
1047
|
+
*/
|
|
1048
|
+
onBackground(background) {
|
|
1049
|
+
const fg = this.toRgb();
|
|
1050
|
+
const bg = new _TinyColor(background).toRgb();
|
|
1051
|
+
const alpha = fg.a + bg.a * (1 - fg.a);
|
|
1052
|
+
return new _TinyColor({
|
|
1053
|
+
r: (fg.r * fg.a + bg.r * bg.a * (1 - fg.a)) / alpha,
|
|
1054
|
+
g: (fg.g * fg.a + bg.g * bg.a * (1 - fg.a)) / alpha,
|
|
1055
|
+
b: (fg.b * fg.a + bg.b * bg.a * (1 - fg.a)) / alpha,
|
|
1056
|
+
a: alpha
|
|
1057
|
+
});
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* Alias for `polyad(3)`
|
|
1061
|
+
*/
|
|
1062
|
+
triad() {
|
|
1063
|
+
return this.polyad(3);
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* Alias for `polyad(4)`
|
|
1067
|
+
*/
|
|
1068
|
+
tetrad() {
|
|
1069
|
+
return this.polyad(4);
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)
|
|
1073
|
+
* monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...
|
|
1074
|
+
*/
|
|
1075
|
+
polyad(n2) {
|
|
1076
|
+
const hsl = this.toHsl();
|
|
1077
|
+
const { h } = hsl;
|
|
1078
|
+
const result = [this];
|
|
1079
|
+
const increment = 360 / n2;
|
|
1080
|
+
for (let i = 1; i < n2; i++) {
|
|
1081
|
+
result.push(new _TinyColor({ h: (h + i * increment) % 360, s: hsl.s, l: hsl.l }));
|
|
1082
|
+
}
|
|
1083
|
+
return result;
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
* compare color vs current color
|
|
1087
|
+
*/
|
|
1088
|
+
equals(color) {
|
|
1089
|
+
const comparedColor = new _TinyColor(color);
|
|
1090
|
+
if (this.format === "cmyk" || comparedColor.format === "cmyk") {
|
|
1091
|
+
return this.toCmykString() === comparedColor.toCmykString();
|
|
1092
|
+
}
|
|
1093
|
+
return this.toRgbString() === comparedColor.toRgbString();
|
|
1094
|
+
}
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
// src/components/color-picker/color-picker.component.ts
|
|
1098
|
+
var hasEyeDropper = "EyeDropper" in window;
|
|
1099
|
+
var SlColorPicker = class extends ShoelaceElement {
|
|
1100
|
+
constructor() {
|
|
1101
|
+
super();
|
|
1102
|
+
this.formControlController = new FormControlController(this);
|
|
1103
|
+
this.isSafeValue = false;
|
|
1104
|
+
this.localize = new LocalizeController(this);
|
|
1105
|
+
this.hasFocus = false;
|
|
1106
|
+
this.isDraggingGridHandle = false;
|
|
1107
|
+
this.isEmpty = false;
|
|
1108
|
+
this.inputValue = "";
|
|
1109
|
+
this.hue = 0;
|
|
1110
|
+
this.saturation = 100;
|
|
1111
|
+
this.brightness = 100;
|
|
1112
|
+
this.alpha = 100;
|
|
1113
|
+
this.value = "";
|
|
1114
|
+
this.defaultValue = "";
|
|
1115
|
+
this.label = "";
|
|
1116
|
+
this.format = "hex";
|
|
1117
|
+
this.inline = false;
|
|
1118
|
+
this.size = "medium";
|
|
1119
|
+
this.noFormatToggle = false;
|
|
1120
|
+
this.name = "";
|
|
1121
|
+
this.disabled = false;
|
|
1122
|
+
this.hoist = false;
|
|
1123
|
+
this.opacity = false;
|
|
1124
|
+
this.uppercase = false;
|
|
1125
|
+
this.swatches = "";
|
|
1126
|
+
this.form = "";
|
|
1127
|
+
this.required = false;
|
|
1128
|
+
this.handleFocusIn = () => {
|
|
1129
|
+
this.hasFocus = true;
|
|
1130
|
+
this.emit("sl-focus");
|
|
1131
|
+
};
|
|
1132
|
+
this.handleFocusOut = () => {
|
|
1133
|
+
this.hasFocus = false;
|
|
1134
|
+
this.emit("sl-blur");
|
|
1135
|
+
};
|
|
1136
|
+
this.addEventListener("focusin", this.handleFocusIn);
|
|
1137
|
+
this.addEventListener("focusout", this.handleFocusOut);
|
|
1138
|
+
}
|
|
1139
|
+
/** Gets the validity state object */
|
|
1140
|
+
get validity() {
|
|
1141
|
+
return this.input.validity;
|
|
1142
|
+
}
|
|
1143
|
+
/** Gets the validation message */
|
|
1144
|
+
get validationMessage() {
|
|
1145
|
+
return this.input.validationMessage;
|
|
1146
|
+
}
|
|
1147
|
+
firstUpdated() {
|
|
1148
|
+
this.input.updateComplete.then(() => {
|
|
1149
|
+
this.formControlController.updateValidity();
|
|
1150
|
+
});
|
|
1151
|
+
}
|
|
1152
|
+
handleCopy() {
|
|
1153
|
+
this.input.select();
|
|
1154
|
+
document.execCommand("copy");
|
|
1155
|
+
this.previewButton.focus();
|
|
1156
|
+
this.previewButton.classList.add("color-picker__preview-color--copied");
|
|
1157
|
+
this.previewButton.addEventListener("animationend", () => {
|
|
1158
|
+
this.previewButton.classList.remove("color-picker__preview-color--copied");
|
|
1159
|
+
});
|
|
1160
|
+
}
|
|
1161
|
+
handleFormatToggle() {
|
|
1162
|
+
const formats = ["hex", "rgb", "hsl", "hsv"];
|
|
1163
|
+
const nextIndex = (formats.indexOf(this.format) + 1) % formats.length;
|
|
1164
|
+
this.format = formats[nextIndex];
|
|
1165
|
+
this.setColor(this.value);
|
|
1166
|
+
this.emit("sl-change");
|
|
1167
|
+
this.emit("sl-input");
|
|
1168
|
+
}
|
|
1169
|
+
handleAlphaDrag(event) {
|
|
1170
|
+
const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__alpha");
|
|
1171
|
+
const handle = container.querySelector(".color-picker__slider-handle");
|
|
1172
|
+
const { width } = container.getBoundingClientRect();
|
|
1173
|
+
let initialValue = this.value;
|
|
1174
|
+
let currentValue = this.value;
|
|
1175
|
+
handle.focus();
|
|
1176
|
+
event.preventDefault();
|
|
1177
|
+
drag(container, {
|
|
1178
|
+
onMove: (x) => {
|
|
1179
|
+
this.alpha = clamp(x / width * 100, 0, 100);
|
|
1180
|
+
this.syncValues();
|
|
1181
|
+
if (this.value !== currentValue) {
|
|
1182
|
+
currentValue = this.value;
|
|
1183
|
+
this.emit("sl-input");
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
onStop: () => {
|
|
1187
|
+
if (this.value !== initialValue) {
|
|
1188
|
+
initialValue = this.value;
|
|
1189
|
+
this.emit("sl-change");
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
initialEvent: event
|
|
1193
|
+
});
|
|
1194
|
+
}
|
|
1195
|
+
handleHueDrag(event) {
|
|
1196
|
+
const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__hue");
|
|
1197
|
+
const handle = container.querySelector(".color-picker__slider-handle");
|
|
1198
|
+
const { width } = container.getBoundingClientRect();
|
|
1199
|
+
let initialValue = this.value;
|
|
1200
|
+
let currentValue = this.value;
|
|
1201
|
+
handle.focus();
|
|
1202
|
+
event.preventDefault();
|
|
1203
|
+
drag(container, {
|
|
1204
|
+
onMove: (x) => {
|
|
1205
|
+
this.hue = clamp(x / width * 360, 0, 360);
|
|
1206
|
+
this.syncValues();
|
|
1207
|
+
if (this.value !== currentValue) {
|
|
1208
|
+
currentValue = this.value;
|
|
1209
|
+
this.emit("sl-input");
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
onStop: () => {
|
|
1213
|
+
if (this.value !== initialValue) {
|
|
1214
|
+
initialValue = this.value;
|
|
1215
|
+
this.emit("sl-change");
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
initialEvent: event
|
|
1219
|
+
});
|
|
1220
|
+
}
|
|
1221
|
+
handleGridDrag(event) {
|
|
1222
|
+
const grid = this.shadowRoot.querySelector(".color-picker__grid");
|
|
1223
|
+
const handle = grid.querySelector(".color-picker__grid-handle");
|
|
1224
|
+
const { width, height } = grid.getBoundingClientRect();
|
|
1225
|
+
let initialValue = this.value;
|
|
1226
|
+
let currentValue = this.value;
|
|
1227
|
+
handle.focus();
|
|
1228
|
+
event.preventDefault();
|
|
1229
|
+
this.isDraggingGridHandle = true;
|
|
1230
|
+
drag(grid, {
|
|
1231
|
+
onMove: (x, y) => {
|
|
1232
|
+
this.saturation = clamp(x / width * 100, 0, 100);
|
|
1233
|
+
this.brightness = clamp(100 - y / height * 100, 0, 100);
|
|
1234
|
+
this.syncValues();
|
|
1235
|
+
if (this.value !== currentValue) {
|
|
1236
|
+
currentValue = this.value;
|
|
1237
|
+
this.emit("sl-input");
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
onStop: () => {
|
|
1241
|
+
this.isDraggingGridHandle = false;
|
|
1242
|
+
if (this.value !== initialValue) {
|
|
1243
|
+
initialValue = this.value;
|
|
1244
|
+
this.emit("sl-change");
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
1247
|
+
initialEvent: event
|
|
1248
|
+
});
|
|
1249
|
+
}
|
|
1250
|
+
handleAlphaKeyDown(event) {
|
|
1251
|
+
const increment = event.shiftKey ? 10 : 1;
|
|
1252
|
+
const oldValue = this.value;
|
|
1253
|
+
if (event.key === "ArrowLeft") {
|
|
1254
|
+
event.preventDefault();
|
|
1255
|
+
this.alpha = clamp(this.alpha - increment, 0, 100);
|
|
1256
|
+
this.syncValues();
|
|
1257
|
+
}
|
|
1258
|
+
if (event.key === "ArrowRight") {
|
|
1259
|
+
event.preventDefault();
|
|
1260
|
+
this.alpha = clamp(this.alpha + increment, 0, 100);
|
|
1261
|
+
this.syncValues();
|
|
1262
|
+
}
|
|
1263
|
+
if (event.key === "Home") {
|
|
1264
|
+
event.preventDefault();
|
|
1265
|
+
this.alpha = 0;
|
|
1266
|
+
this.syncValues();
|
|
1267
|
+
}
|
|
1268
|
+
if (event.key === "End") {
|
|
1269
|
+
event.preventDefault();
|
|
1270
|
+
this.alpha = 100;
|
|
1271
|
+
this.syncValues();
|
|
1272
|
+
}
|
|
1273
|
+
if (this.value !== oldValue) {
|
|
1274
|
+
this.emit("sl-change");
|
|
1275
|
+
this.emit("sl-input");
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
handleHueKeyDown(event) {
|
|
1279
|
+
const increment = event.shiftKey ? 10 : 1;
|
|
1280
|
+
const oldValue = this.value;
|
|
1281
|
+
if (event.key === "ArrowLeft") {
|
|
1282
|
+
event.preventDefault();
|
|
1283
|
+
this.hue = clamp(this.hue - increment, 0, 360);
|
|
1284
|
+
this.syncValues();
|
|
1285
|
+
}
|
|
1286
|
+
if (event.key === "ArrowRight") {
|
|
1287
|
+
event.preventDefault();
|
|
1288
|
+
this.hue = clamp(this.hue + increment, 0, 360);
|
|
1289
|
+
this.syncValues();
|
|
1290
|
+
}
|
|
1291
|
+
if (event.key === "Home") {
|
|
1292
|
+
event.preventDefault();
|
|
1293
|
+
this.hue = 0;
|
|
1294
|
+
this.syncValues();
|
|
1295
|
+
}
|
|
1296
|
+
if (event.key === "End") {
|
|
1297
|
+
event.preventDefault();
|
|
1298
|
+
this.hue = 360;
|
|
1299
|
+
this.syncValues();
|
|
1300
|
+
}
|
|
1301
|
+
if (this.value !== oldValue) {
|
|
1302
|
+
this.emit("sl-change");
|
|
1303
|
+
this.emit("sl-input");
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
handleGridKeyDown(event) {
|
|
1307
|
+
const increment = event.shiftKey ? 10 : 1;
|
|
1308
|
+
const oldValue = this.value;
|
|
1309
|
+
if (event.key === "ArrowLeft") {
|
|
1310
|
+
event.preventDefault();
|
|
1311
|
+
this.saturation = clamp(this.saturation - increment, 0, 100);
|
|
1312
|
+
this.syncValues();
|
|
1313
|
+
}
|
|
1314
|
+
if (event.key === "ArrowRight") {
|
|
1315
|
+
event.preventDefault();
|
|
1316
|
+
this.saturation = clamp(this.saturation + increment, 0, 100);
|
|
1317
|
+
this.syncValues();
|
|
1318
|
+
}
|
|
1319
|
+
if (event.key === "ArrowUp") {
|
|
1320
|
+
event.preventDefault();
|
|
1321
|
+
this.brightness = clamp(this.brightness + increment, 0, 100);
|
|
1322
|
+
this.syncValues();
|
|
1323
|
+
}
|
|
1324
|
+
if (event.key === "ArrowDown") {
|
|
1325
|
+
event.preventDefault();
|
|
1326
|
+
this.brightness = clamp(this.brightness - increment, 0, 100);
|
|
1327
|
+
this.syncValues();
|
|
1328
|
+
}
|
|
1329
|
+
if (this.value !== oldValue) {
|
|
1330
|
+
this.emit("sl-change");
|
|
1331
|
+
this.emit("sl-input");
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
handleInputChange(event) {
|
|
1335
|
+
const target = event.target;
|
|
1336
|
+
const oldValue = this.value;
|
|
1337
|
+
event.stopPropagation();
|
|
1338
|
+
if (this.input.value) {
|
|
1339
|
+
this.setColor(target.value);
|
|
1340
|
+
target.value = this.value;
|
|
1341
|
+
} else {
|
|
1342
|
+
this.value = "";
|
|
1343
|
+
}
|
|
1344
|
+
if (this.value !== oldValue) {
|
|
1345
|
+
this.emit("sl-change");
|
|
1346
|
+
this.emit("sl-input");
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
handleInputInput(event) {
|
|
1350
|
+
this.formControlController.updateValidity();
|
|
1351
|
+
event.stopPropagation();
|
|
1352
|
+
}
|
|
1353
|
+
handleInputKeyDown(event) {
|
|
1354
|
+
if (event.key === "Enter") {
|
|
1355
|
+
const oldValue = this.value;
|
|
1356
|
+
if (this.input.value) {
|
|
1357
|
+
this.setColor(this.input.value);
|
|
1358
|
+
this.input.value = this.value;
|
|
1359
|
+
if (this.value !== oldValue) {
|
|
1360
|
+
this.emit("sl-change");
|
|
1361
|
+
this.emit("sl-input");
|
|
1362
|
+
}
|
|
1363
|
+
setTimeout(() => this.input.select());
|
|
1364
|
+
} else {
|
|
1365
|
+
this.hue = 0;
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
handleInputInvalid(event) {
|
|
1370
|
+
this.formControlController.setValidity(false);
|
|
1371
|
+
this.formControlController.emitInvalidEvent(event);
|
|
1372
|
+
}
|
|
1373
|
+
handleTouchMove(event) {
|
|
1374
|
+
event.preventDefault();
|
|
1375
|
+
}
|
|
1376
|
+
parseColor(colorString) {
|
|
1377
|
+
const color = new TinyColor(colorString);
|
|
1378
|
+
if (!color.isValid) {
|
|
1379
|
+
return null;
|
|
1380
|
+
}
|
|
1381
|
+
const hslColor = color.toHsl();
|
|
1382
|
+
const hsl = {
|
|
1383
|
+
h: hslColor.h,
|
|
1384
|
+
s: hslColor.s * 100,
|
|
1385
|
+
l: hslColor.l * 100,
|
|
1386
|
+
a: hslColor.a
|
|
1387
|
+
};
|
|
1388
|
+
const rgb = color.toRgb();
|
|
1389
|
+
const hex = color.toHexString();
|
|
1390
|
+
const hexa = color.toHex8String();
|
|
1391
|
+
const hsvColor = color.toHsv();
|
|
1392
|
+
const hsv = {
|
|
1393
|
+
h: hsvColor.h,
|
|
1394
|
+
s: hsvColor.s * 100,
|
|
1395
|
+
v: hsvColor.v * 100,
|
|
1396
|
+
a: hsvColor.a
|
|
1397
|
+
};
|
|
1398
|
+
return {
|
|
1399
|
+
hsl: {
|
|
1400
|
+
h: hsl.h,
|
|
1401
|
+
s: hsl.s,
|
|
1402
|
+
l: hsl.l,
|
|
1403
|
+
string: this.setLetterCase(`hsl(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%)`)
|
|
1404
|
+
},
|
|
1405
|
+
hsla: {
|
|
1406
|
+
h: hsl.h,
|
|
1407
|
+
s: hsl.s,
|
|
1408
|
+
l: hsl.l,
|
|
1409
|
+
a: hsl.a,
|
|
1410
|
+
string: this.setLetterCase(
|
|
1411
|
+
`hsla(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%, ${hsl.a.toFixed(2).toString()})`
|
|
1412
|
+
)
|
|
1413
|
+
},
|
|
1414
|
+
hsv: {
|
|
1415
|
+
h: hsv.h,
|
|
1416
|
+
s: hsv.s,
|
|
1417
|
+
v: hsv.v,
|
|
1418
|
+
string: this.setLetterCase(`hsv(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%)`)
|
|
1419
|
+
},
|
|
1420
|
+
hsva: {
|
|
1421
|
+
h: hsv.h,
|
|
1422
|
+
s: hsv.s,
|
|
1423
|
+
v: hsv.v,
|
|
1424
|
+
a: hsv.a,
|
|
1425
|
+
string: this.setLetterCase(
|
|
1426
|
+
`hsva(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%, ${hsv.a.toFixed(2).toString()})`
|
|
1427
|
+
)
|
|
1428
|
+
},
|
|
1429
|
+
rgb: {
|
|
1430
|
+
r: rgb.r,
|
|
1431
|
+
g: rgb.g,
|
|
1432
|
+
b: rgb.b,
|
|
1433
|
+
string: this.setLetterCase(`rgb(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)})`)
|
|
1434
|
+
},
|
|
1435
|
+
rgba: {
|
|
1436
|
+
r: rgb.r,
|
|
1437
|
+
g: rgb.g,
|
|
1438
|
+
b: rgb.b,
|
|
1439
|
+
a: rgb.a,
|
|
1440
|
+
string: this.setLetterCase(
|
|
1441
|
+
`rgba(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)}, ${rgb.a.toFixed(2).toString()})`
|
|
1442
|
+
)
|
|
1443
|
+
},
|
|
1444
|
+
hex: this.setLetterCase(hex),
|
|
1445
|
+
hexa: this.setLetterCase(hexa)
|
|
1446
|
+
};
|
|
1447
|
+
}
|
|
1448
|
+
setColor(colorString) {
|
|
1449
|
+
const newColor = this.parseColor(colorString);
|
|
1450
|
+
if (newColor === null) {
|
|
1451
|
+
return false;
|
|
1452
|
+
}
|
|
1453
|
+
this.hue = newColor.hsva.h;
|
|
1454
|
+
this.saturation = newColor.hsva.s;
|
|
1455
|
+
this.brightness = newColor.hsva.v;
|
|
1456
|
+
this.alpha = this.opacity ? newColor.hsva.a * 100 : 100;
|
|
1457
|
+
this.syncValues();
|
|
1458
|
+
return true;
|
|
1459
|
+
}
|
|
1460
|
+
setLetterCase(string) {
|
|
1461
|
+
if (typeof string !== "string") {
|
|
1462
|
+
return "";
|
|
1463
|
+
}
|
|
1464
|
+
return this.uppercase ? string.toUpperCase() : string.toLowerCase();
|
|
1465
|
+
}
|
|
1466
|
+
async syncValues() {
|
|
1467
|
+
const currentColor = this.parseColor(
|
|
1468
|
+
`hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
|
|
1469
|
+
);
|
|
1470
|
+
if (currentColor === null) {
|
|
1471
|
+
return;
|
|
1472
|
+
}
|
|
1473
|
+
if (this.format === "hsl") {
|
|
1474
|
+
this.inputValue = this.opacity ? currentColor.hsla.string : currentColor.hsl.string;
|
|
1475
|
+
} else if (this.format === "rgb") {
|
|
1476
|
+
this.inputValue = this.opacity ? currentColor.rgba.string : currentColor.rgb.string;
|
|
1477
|
+
} else if (this.format === "hsv") {
|
|
1478
|
+
this.inputValue = this.opacity ? currentColor.hsva.string : currentColor.hsv.string;
|
|
1479
|
+
} else {
|
|
1480
|
+
this.inputValue = this.opacity ? currentColor.hexa : currentColor.hex;
|
|
1481
|
+
}
|
|
1482
|
+
this.isSafeValue = true;
|
|
1483
|
+
this.value = this.inputValue;
|
|
1484
|
+
await this.updateComplete;
|
|
1485
|
+
this.isSafeValue = false;
|
|
1486
|
+
}
|
|
1487
|
+
handleAfterHide() {
|
|
1488
|
+
this.previewButton.classList.remove("color-picker__preview-color--copied");
|
|
1489
|
+
}
|
|
1490
|
+
handleEyeDropper() {
|
|
1491
|
+
if (!hasEyeDropper) {
|
|
1492
|
+
return;
|
|
1493
|
+
}
|
|
1494
|
+
const eyeDropper = new EyeDropper();
|
|
1495
|
+
eyeDropper.open().then((colorSelectionResult) => {
|
|
1496
|
+
const oldValue = this.value;
|
|
1497
|
+
this.setColor(colorSelectionResult.sRGBHex);
|
|
1498
|
+
if (this.value !== oldValue) {
|
|
1499
|
+
this.emit("sl-change");
|
|
1500
|
+
this.emit("sl-input");
|
|
1501
|
+
}
|
|
1502
|
+
}).catch(() => {
|
|
1503
|
+
});
|
|
1504
|
+
}
|
|
1505
|
+
selectSwatch(color) {
|
|
1506
|
+
const oldValue = this.value;
|
|
1507
|
+
if (!this.disabled) {
|
|
1508
|
+
this.setColor(color);
|
|
1509
|
+
if (this.value !== oldValue) {
|
|
1510
|
+
this.emit("sl-change");
|
|
1511
|
+
this.emit("sl-input");
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
/** Generates a hex string from HSV values. Hue must be 0-360. All other arguments must be 0-100. */
|
|
1516
|
+
getHexString(hue, saturation, brightness, alpha = 100) {
|
|
1517
|
+
const color = new TinyColor(`hsva(${hue}, ${saturation}%, ${brightness}%, ${alpha / 100})`);
|
|
1518
|
+
if (!color.isValid) {
|
|
1519
|
+
return "";
|
|
1520
|
+
}
|
|
1521
|
+
return color.toHex8String();
|
|
1522
|
+
}
|
|
1523
|
+
// Prevents nested components from leaking events
|
|
1524
|
+
stopNestedEventPropagation(event) {
|
|
1525
|
+
event.stopImmediatePropagation();
|
|
1526
|
+
}
|
|
1527
|
+
handleFormatChange() {
|
|
1528
|
+
this.syncValues();
|
|
1529
|
+
}
|
|
1530
|
+
handleOpacityChange() {
|
|
1531
|
+
this.alpha = 100;
|
|
1532
|
+
}
|
|
1533
|
+
handleValueChange(oldValue, newValue) {
|
|
1534
|
+
this.isEmpty = !newValue;
|
|
1535
|
+
if (!newValue) {
|
|
1536
|
+
this.hue = 0;
|
|
1537
|
+
this.saturation = 0;
|
|
1538
|
+
this.brightness = 100;
|
|
1539
|
+
this.alpha = 100;
|
|
1540
|
+
}
|
|
1541
|
+
if (!this.isSafeValue) {
|
|
1542
|
+
const newColor = this.parseColor(newValue);
|
|
1543
|
+
if (newColor !== null) {
|
|
1544
|
+
this.inputValue = this.value;
|
|
1545
|
+
this.hue = newColor.hsva.h;
|
|
1546
|
+
this.saturation = newColor.hsva.s;
|
|
1547
|
+
this.brightness = newColor.hsva.v;
|
|
1548
|
+
this.alpha = newColor.hsva.a * 100;
|
|
1549
|
+
this.syncValues();
|
|
1550
|
+
} else {
|
|
1551
|
+
this.inputValue = oldValue != null ? oldValue : "";
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
/** Sets focus on the color picker. */
|
|
1556
|
+
focus(options) {
|
|
1557
|
+
if (this.inline) {
|
|
1558
|
+
this.base.focus(options);
|
|
1559
|
+
} else {
|
|
1560
|
+
this.trigger.focus(options);
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
/** Removes focus from the color picker. */
|
|
1564
|
+
blur() {
|
|
1565
|
+
var _a;
|
|
1566
|
+
const elementToBlur = this.inline ? this.base : this.trigger;
|
|
1567
|
+
if (this.hasFocus) {
|
|
1568
|
+
elementToBlur.focus({ preventScroll: true });
|
|
1569
|
+
elementToBlur.blur();
|
|
1570
|
+
}
|
|
1571
|
+
if ((_a = this.dropdown) == null ? void 0 : _a.open) {
|
|
1572
|
+
this.dropdown.hide();
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
/** Returns the current value as a string in the specified format. */
|
|
1576
|
+
getFormattedValue(format = "hex") {
|
|
1577
|
+
const currentColor = this.parseColor(
|
|
1578
|
+
`hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
|
|
1579
|
+
);
|
|
1580
|
+
if (currentColor === null) {
|
|
1581
|
+
return "";
|
|
1582
|
+
}
|
|
1583
|
+
switch (format) {
|
|
1584
|
+
case "hex":
|
|
1585
|
+
return currentColor.hex;
|
|
1586
|
+
case "hexa":
|
|
1587
|
+
return currentColor.hexa;
|
|
1588
|
+
case "rgb":
|
|
1589
|
+
return currentColor.rgb.string;
|
|
1590
|
+
case "rgba":
|
|
1591
|
+
return currentColor.rgba.string;
|
|
1592
|
+
case "hsl":
|
|
1593
|
+
return currentColor.hsl.string;
|
|
1594
|
+
case "hsla":
|
|
1595
|
+
return currentColor.hsla.string;
|
|
1596
|
+
case "hsv":
|
|
1597
|
+
return currentColor.hsv.string;
|
|
1598
|
+
case "hsva":
|
|
1599
|
+
return currentColor.hsva.string;
|
|
1600
|
+
default:
|
|
1601
|
+
return "";
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
1605
|
+
checkValidity() {
|
|
1606
|
+
return this.input.checkValidity();
|
|
1607
|
+
}
|
|
1608
|
+
/** Gets the associated form, if one exists. */
|
|
1609
|
+
getForm() {
|
|
1610
|
+
return this.formControlController.getForm();
|
|
1611
|
+
}
|
|
1612
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
1613
|
+
reportValidity() {
|
|
1614
|
+
if (!this.inline && !this.validity.valid) {
|
|
1615
|
+
this.dropdown.show();
|
|
1616
|
+
this.addEventListener("sl-after-show", () => this.input.reportValidity(), { once: true });
|
|
1617
|
+
if (!this.disabled) {
|
|
1618
|
+
this.formControlController.emitInvalidEvent();
|
|
1619
|
+
}
|
|
1620
|
+
return false;
|
|
1621
|
+
}
|
|
1622
|
+
return this.input.reportValidity();
|
|
1623
|
+
}
|
|
1624
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
1625
|
+
setCustomValidity(message) {
|
|
1626
|
+
this.input.setCustomValidity(message);
|
|
1627
|
+
this.formControlController.updateValidity();
|
|
1628
|
+
}
|
|
1629
|
+
render() {
|
|
1630
|
+
const gridHandleX = this.saturation;
|
|
1631
|
+
const gridHandleY = 100 - this.brightness;
|
|
1632
|
+
const swatches = Array.isArray(this.swatches) ? this.swatches : this.swatches.split(";").filter((color) => color.trim() !== "");
|
|
1633
|
+
const colorPicker = b`
|
|
1634
|
+
<div
|
|
1635
|
+
part="base"
|
|
1636
|
+
class=${e({
|
|
1637
|
+
"color-picker": true,
|
|
1638
|
+
"color-picker--inline": this.inline,
|
|
1639
|
+
"color-picker--disabled": this.disabled,
|
|
1640
|
+
"color-picker--focused": this.hasFocus
|
|
1641
|
+
})}
|
|
1642
|
+
aria-disabled=${this.disabled ? "true" : "false"}
|
|
1643
|
+
aria-labelledby="label"
|
|
1644
|
+
tabindex=${this.inline ? "0" : "-1"}
|
|
1645
|
+
>
|
|
1646
|
+
${this.inline ? b`
|
|
1647
|
+
<sl-visually-hidden id="label">
|
|
1648
|
+
<slot name="label">${this.label}</slot>
|
|
1649
|
+
</sl-visually-hidden>
|
|
1650
|
+
` : null}
|
|
1651
|
+
|
|
1652
|
+
<div
|
|
1653
|
+
part="grid"
|
|
1654
|
+
class="color-picker__grid"
|
|
1655
|
+
style=${o2({ backgroundColor: this.getHexString(this.hue, 100, 100) })}
|
|
1656
|
+
@pointerdown=${this.handleGridDrag}
|
|
1657
|
+
@touchmove=${this.handleTouchMove}
|
|
1658
|
+
>
|
|
1659
|
+
<span
|
|
1660
|
+
part="grid-handle"
|
|
1661
|
+
class=${e({
|
|
1662
|
+
"color-picker__grid-handle": true,
|
|
1663
|
+
"color-picker__grid-handle--dragging": this.isDraggingGridHandle
|
|
1664
|
+
})}
|
|
1665
|
+
style=${o2({
|
|
1666
|
+
top: `${gridHandleY}%`,
|
|
1667
|
+
left: `${gridHandleX}%`,
|
|
1668
|
+
backgroundColor: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
1669
|
+
})}
|
|
1670
|
+
role="application"
|
|
1671
|
+
aria-label="HSV"
|
|
1672
|
+
tabindex=${o(this.disabled ? void 0 : "0")}
|
|
1673
|
+
@keydown=${this.handleGridKeyDown}
|
|
1674
|
+
></span>
|
|
1675
|
+
</div>
|
|
1676
|
+
|
|
1677
|
+
<div class="color-picker__controls">
|
|
1678
|
+
<div class="color-picker__sliders">
|
|
1679
|
+
<div
|
|
1680
|
+
part="slider hue-slider"
|
|
1681
|
+
class="color-picker__hue color-picker__slider"
|
|
1682
|
+
@pointerdown=${this.handleHueDrag}
|
|
1683
|
+
@touchmove=${this.handleTouchMove}
|
|
1684
|
+
>
|
|
1685
|
+
<span
|
|
1686
|
+
part="slider-handle hue-slider-handle"
|
|
1687
|
+
class="color-picker__slider-handle"
|
|
1688
|
+
style=${o2({
|
|
1689
|
+
left: `${this.hue === 0 ? 0 : 100 / (360 / this.hue)}%`
|
|
1690
|
+
})}
|
|
1691
|
+
role="slider"
|
|
1692
|
+
aria-label="hue"
|
|
1693
|
+
aria-orientation="horizontal"
|
|
1694
|
+
aria-valuemin="0"
|
|
1695
|
+
aria-valuemax="360"
|
|
1696
|
+
aria-valuenow=${`${Math.round(this.hue)}`}
|
|
1697
|
+
tabindex=${o(this.disabled ? void 0 : "0")}
|
|
1698
|
+
@keydown=${this.handleHueKeyDown}
|
|
1699
|
+
></span>
|
|
1700
|
+
</div>
|
|
1701
|
+
|
|
1702
|
+
${this.opacity ? b`
|
|
1703
|
+
<div
|
|
1704
|
+
part="slider opacity-slider"
|
|
1705
|
+
class="color-picker__alpha color-picker__slider color-picker__transparent-bg"
|
|
1706
|
+
@pointerdown="${this.handleAlphaDrag}"
|
|
1707
|
+
@touchmove=${this.handleTouchMove}
|
|
1708
|
+
>
|
|
1709
|
+
<div
|
|
1710
|
+
class="color-picker__alpha-gradient"
|
|
1711
|
+
style=${o2({
|
|
1712
|
+
backgroundImage: `linear-gradient(
|
|
1713
|
+
to right,
|
|
1714
|
+
${this.getHexString(this.hue, this.saturation, this.brightness, 0)} 0%,
|
|
1715
|
+
${this.getHexString(this.hue, this.saturation, this.brightness, 100)} 100%
|
|
1716
|
+
)`
|
|
1717
|
+
})}
|
|
1718
|
+
></div>
|
|
1719
|
+
<span
|
|
1720
|
+
part="slider-handle opacity-slider-handle"
|
|
1721
|
+
class="color-picker__slider-handle"
|
|
1722
|
+
style=${o2({
|
|
1723
|
+
left: `${this.alpha}%`
|
|
1724
|
+
})}
|
|
1725
|
+
role="slider"
|
|
1726
|
+
aria-label="alpha"
|
|
1727
|
+
aria-orientation="horizontal"
|
|
1728
|
+
aria-valuemin="0"
|
|
1729
|
+
aria-valuemax="100"
|
|
1730
|
+
aria-valuenow=${Math.round(this.alpha)}
|
|
1731
|
+
tabindex=${o(this.disabled ? void 0 : "0")}
|
|
1732
|
+
@keydown=${this.handleAlphaKeyDown}
|
|
1733
|
+
></span>
|
|
1734
|
+
</div>
|
|
1735
|
+
` : ""}
|
|
1736
|
+
</div>
|
|
1737
|
+
|
|
1738
|
+
<button
|
|
1739
|
+
type="button"
|
|
1740
|
+
part="preview"
|
|
1741
|
+
class="color-picker__preview color-picker__transparent-bg"
|
|
1742
|
+
aria-label=${this.localize.term("copy")}
|
|
1743
|
+
style=${o2({
|
|
1744
|
+
"--preview-color": this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
1745
|
+
})}
|
|
1746
|
+
@click=${this.handleCopy}
|
|
1747
|
+
></button>
|
|
1748
|
+
</div>
|
|
1749
|
+
|
|
1750
|
+
<div class="color-picker__user-input" aria-live="polite">
|
|
1751
|
+
<sl-input
|
|
1752
|
+
part="input"
|
|
1753
|
+
type="text"
|
|
1754
|
+
name=${this.name}
|
|
1755
|
+
autocomplete="off"
|
|
1756
|
+
autocorrect="off"
|
|
1757
|
+
autocapitalize="off"
|
|
1758
|
+
spellcheck="false"
|
|
1759
|
+
value=${this.isEmpty ? "" : this.inputValue}
|
|
1760
|
+
?required=${this.required}
|
|
1761
|
+
?disabled=${this.disabled}
|
|
1762
|
+
aria-label=${this.localize.term("currentValue")}
|
|
1763
|
+
@keydown=${this.handleInputKeyDown}
|
|
1764
|
+
@sl-change=${this.handleInputChange}
|
|
1765
|
+
@sl-input=${this.handleInputInput}
|
|
1766
|
+
@sl-invalid=${this.handleInputInvalid}
|
|
1767
|
+
@sl-blur=${this.stopNestedEventPropagation}
|
|
1768
|
+
@sl-focus=${this.stopNestedEventPropagation}
|
|
1769
|
+
></sl-input>
|
|
1770
|
+
|
|
1771
|
+
<sl-button-group>
|
|
1772
|
+
${!this.noFormatToggle ? b`
|
|
1773
|
+
<sl-button
|
|
1774
|
+
part="format-button"
|
|
1775
|
+
aria-label=${this.localize.term("toggleColorFormat")}
|
|
1776
|
+
exportparts="
|
|
1777
|
+
base:format-button__base,
|
|
1778
|
+
prefix:format-button__prefix,
|
|
1779
|
+
label:format-button__label,
|
|
1780
|
+
suffix:format-button__suffix,
|
|
1781
|
+
caret:format-button__caret
|
|
1782
|
+
"
|
|
1783
|
+
@click=${this.handleFormatToggle}
|
|
1784
|
+
@sl-blur=${this.stopNestedEventPropagation}
|
|
1785
|
+
@sl-focus=${this.stopNestedEventPropagation}
|
|
1786
|
+
>
|
|
1787
|
+
${this.setLetterCase(this.format)}
|
|
1788
|
+
</sl-button>
|
|
1789
|
+
` : ""}
|
|
1790
|
+
${hasEyeDropper ? b`
|
|
1791
|
+
<sl-button
|
|
1792
|
+
part="eye-dropper-button"
|
|
1793
|
+
exportparts="
|
|
1794
|
+
base:eye-dropper-button__base,
|
|
1795
|
+
prefix:eye-dropper-button__prefix,
|
|
1796
|
+
label:eye-dropper-button__label,
|
|
1797
|
+
suffix:eye-dropper-button__suffix,
|
|
1798
|
+
caret:eye-dropper-button__caret
|
|
1799
|
+
"
|
|
1800
|
+
@click=${this.handleEyeDropper}
|
|
1801
|
+
@sl-blur=${this.stopNestedEventPropagation}
|
|
1802
|
+
@sl-focus=${this.stopNestedEventPropagation}
|
|
1803
|
+
>
|
|
1804
|
+
<sl-icon
|
|
1805
|
+
library="system"
|
|
1806
|
+
name="eyedropper"
|
|
1807
|
+
label=${this.localize.term("selectAColorFromTheScreen")}
|
|
1808
|
+
></sl-icon>
|
|
1809
|
+
</sl-button>
|
|
1810
|
+
` : ""}
|
|
1811
|
+
</sl-button-group>
|
|
1812
|
+
</div>
|
|
1813
|
+
|
|
1814
|
+
${swatches.length > 0 ? b`
|
|
1815
|
+
<div part="swatches" class="color-picker__swatches">
|
|
1816
|
+
${swatches.map((swatch) => {
|
|
1817
|
+
const parsedColor = this.parseColor(swatch);
|
|
1818
|
+
if (!parsedColor) {
|
|
1819
|
+
console.error(`Unable to parse swatch color: "${swatch}"`, this);
|
|
1820
|
+
return "";
|
|
1821
|
+
}
|
|
1822
|
+
return b`
|
|
1823
|
+
<div
|
|
1824
|
+
part="swatch"
|
|
1825
|
+
class="color-picker__swatch color-picker__transparent-bg"
|
|
1826
|
+
tabindex=${o(this.disabled ? void 0 : "0")}
|
|
1827
|
+
role="button"
|
|
1828
|
+
aria-label=${swatch}
|
|
1829
|
+
@click=${() => this.selectSwatch(swatch)}
|
|
1830
|
+
@keydown=${(event) => !this.disabled && event.key === "Enter" && this.setColor(parsedColor.hexa)}
|
|
1831
|
+
>
|
|
1832
|
+
<div
|
|
1833
|
+
class="color-picker__swatch-color"
|
|
1834
|
+
style=${o2({ backgroundColor: parsedColor.hexa })}
|
|
1835
|
+
></div>
|
|
1836
|
+
</div>
|
|
1837
|
+
`;
|
|
1838
|
+
})}
|
|
1839
|
+
</div>
|
|
1840
|
+
` : ""}
|
|
1841
|
+
</div>
|
|
1842
|
+
`;
|
|
1843
|
+
if (this.inline) {
|
|
1844
|
+
return colorPicker;
|
|
1845
|
+
}
|
|
1846
|
+
return b`
|
|
1847
|
+
<sl-dropdown
|
|
1848
|
+
class="color-dropdown"
|
|
1849
|
+
aria-disabled=${this.disabled ? "true" : "false"}
|
|
1850
|
+
.containingElement=${this}
|
|
1851
|
+
?disabled=${this.disabled}
|
|
1852
|
+
?hoist=${this.hoist}
|
|
1853
|
+
@sl-after-hide=${this.handleAfterHide}
|
|
1854
|
+
>
|
|
1855
|
+
<button
|
|
1856
|
+
part="trigger"
|
|
1857
|
+
slot="trigger"
|
|
1858
|
+
class=${e({
|
|
1859
|
+
"color-dropdown__trigger": true,
|
|
1860
|
+
"color-dropdown__trigger--disabled": this.disabled,
|
|
1861
|
+
"color-dropdown__trigger--small": this.size === "small",
|
|
1862
|
+
"color-dropdown__trigger--medium": this.size === "medium",
|
|
1863
|
+
"color-dropdown__trigger--large": this.size === "large",
|
|
1864
|
+
"color-dropdown__trigger--empty": this.isEmpty,
|
|
1865
|
+
"color-dropdown__trigger--focused": this.hasFocus,
|
|
1866
|
+
"color-picker__transparent-bg": true
|
|
1867
|
+
})}
|
|
1868
|
+
style=${o2({
|
|
1869
|
+
color: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
1870
|
+
})}
|
|
1871
|
+
type="button"
|
|
1872
|
+
>
|
|
1873
|
+
<sl-visually-hidden>
|
|
1874
|
+
<slot name="label">${this.label}</slot>
|
|
1875
|
+
</sl-visually-hidden>
|
|
1876
|
+
</button>
|
|
1877
|
+
${colorPicker}
|
|
1878
|
+
</sl-dropdown>
|
|
1879
|
+
`;
|
|
1880
|
+
}
|
|
1881
|
+
};
|
|
1882
|
+
SlColorPicker.styles = [component_styles_default, color_picker_styles_default];
|
|
1883
|
+
SlColorPicker.dependencies = {
|
|
1884
|
+
"sl-button-group": SlButtonGroup,
|
|
1885
|
+
"sl-button": SlButton,
|
|
1886
|
+
"sl-dropdown": SlDropdown,
|
|
1887
|
+
"sl-icon": SlIcon,
|
|
1888
|
+
"sl-input": SlInput,
|
|
1889
|
+
"sl-visually-hidden": SlVisuallyHidden
|
|
1890
|
+
};
|
|
1891
|
+
__decorateClass([
|
|
1892
|
+
e2('[part~="base"]')
|
|
1893
|
+
], SlColorPicker.prototype, "base", 2);
|
|
1894
|
+
__decorateClass([
|
|
1895
|
+
e2('[part~="input"]')
|
|
1896
|
+
], SlColorPicker.prototype, "input", 2);
|
|
1897
|
+
__decorateClass([
|
|
1898
|
+
e2(".color-dropdown")
|
|
1899
|
+
], SlColorPicker.prototype, "dropdown", 2);
|
|
1900
|
+
__decorateClass([
|
|
1901
|
+
e2('[part~="preview"]')
|
|
1902
|
+
], SlColorPicker.prototype, "previewButton", 2);
|
|
1903
|
+
__decorateClass([
|
|
1904
|
+
e2('[part~="trigger"]')
|
|
1905
|
+
], SlColorPicker.prototype, "trigger", 2);
|
|
1906
|
+
__decorateClass([
|
|
1907
|
+
r()
|
|
1908
|
+
], SlColorPicker.prototype, "hasFocus", 2);
|
|
1909
|
+
__decorateClass([
|
|
1910
|
+
r()
|
|
1911
|
+
], SlColorPicker.prototype, "isDraggingGridHandle", 2);
|
|
1912
|
+
__decorateClass([
|
|
1913
|
+
r()
|
|
1914
|
+
], SlColorPicker.prototype, "isEmpty", 2);
|
|
1915
|
+
__decorateClass([
|
|
1916
|
+
r()
|
|
1917
|
+
], SlColorPicker.prototype, "inputValue", 2);
|
|
1918
|
+
__decorateClass([
|
|
1919
|
+
r()
|
|
1920
|
+
], SlColorPicker.prototype, "hue", 2);
|
|
1921
|
+
__decorateClass([
|
|
1922
|
+
r()
|
|
1923
|
+
], SlColorPicker.prototype, "saturation", 2);
|
|
1924
|
+
__decorateClass([
|
|
1925
|
+
r()
|
|
1926
|
+
], SlColorPicker.prototype, "brightness", 2);
|
|
1927
|
+
__decorateClass([
|
|
1928
|
+
r()
|
|
1929
|
+
], SlColorPicker.prototype, "alpha", 2);
|
|
1930
|
+
__decorateClass([
|
|
1931
|
+
n()
|
|
1932
|
+
], SlColorPicker.prototype, "value", 2);
|
|
1933
|
+
__decorateClass([
|
|
1934
|
+
defaultValue()
|
|
1935
|
+
], SlColorPicker.prototype, "defaultValue", 2);
|
|
1936
|
+
__decorateClass([
|
|
1937
|
+
n()
|
|
1938
|
+
], SlColorPicker.prototype, "label", 2);
|
|
1939
|
+
__decorateClass([
|
|
1940
|
+
n()
|
|
1941
|
+
], SlColorPicker.prototype, "format", 2);
|
|
1942
|
+
__decorateClass([
|
|
1943
|
+
n({ type: Boolean, reflect: true })
|
|
1944
|
+
], SlColorPicker.prototype, "inline", 2);
|
|
1945
|
+
__decorateClass([
|
|
1946
|
+
n({ reflect: true })
|
|
1947
|
+
], SlColorPicker.prototype, "size", 2);
|
|
1948
|
+
__decorateClass([
|
|
1949
|
+
n({ attribute: "no-format-toggle", type: Boolean })
|
|
1950
|
+
], SlColorPicker.prototype, "noFormatToggle", 2);
|
|
1951
|
+
__decorateClass([
|
|
1952
|
+
n()
|
|
1953
|
+
], SlColorPicker.prototype, "name", 2);
|
|
1954
|
+
__decorateClass([
|
|
1955
|
+
n({ type: Boolean, reflect: true })
|
|
1956
|
+
], SlColorPicker.prototype, "disabled", 2);
|
|
1957
|
+
__decorateClass([
|
|
1958
|
+
n({ type: Boolean })
|
|
1959
|
+
], SlColorPicker.prototype, "hoist", 2);
|
|
1960
|
+
__decorateClass([
|
|
1961
|
+
n({ type: Boolean })
|
|
1962
|
+
], SlColorPicker.prototype, "opacity", 2);
|
|
1963
|
+
__decorateClass([
|
|
1964
|
+
n({ type: Boolean })
|
|
1965
|
+
], SlColorPicker.prototype, "uppercase", 2);
|
|
1966
|
+
__decorateClass([
|
|
1967
|
+
n()
|
|
1968
|
+
], SlColorPicker.prototype, "swatches", 2);
|
|
1969
|
+
__decorateClass([
|
|
1970
|
+
n({ reflect: true })
|
|
1971
|
+
], SlColorPicker.prototype, "form", 2);
|
|
1972
|
+
__decorateClass([
|
|
1973
|
+
n({ type: Boolean, reflect: true })
|
|
1974
|
+
], SlColorPicker.prototype, "required", 2);
|
|
1975
|
+
__decorateClass([
|
|
1976
|
+
t({ passive: false })
|
|
1977
|
+
], SlColorPicker.prototype, "handleTouchMove", 1);
|
|
1978
|
+
__decorateClass([
|
|
1979
|
+
watch("format", { waitUntilFirstUpdate: true })
|
|
1980
|
+
], SlColorPicker.prototype, "handleFormatChange", 1);
|
|
1981
|
+
__decorateClass([
|
|
1982
|
+
watch("opacity", { waitUntilFirstUpdate: true })
|
|
1983
|
+
], SlColorPicker.prototype, "handleOpacityChange", 1);
|
|
1984
|
+
__decorateClass([
|
|
1985
|
+
watch("value")
|
|
1986
|
+
], SlColorPicker.prototype, "handleValueChange", 1);
|
|
1987
|
+
|
|
1988
|
+
export {
|
|
1989
|
+
SlColorPicker
|
|
1990
|
+
};
|