@uplynk/lynk-design 1.11.2 → 1.12.0
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/chunks/chunk.2BD5ESA2.js +219 -0
- package/cdn/chunks/chunk.2NFKYFTL.js +11 -0
- package/cdn/chunks/chunk.2PM2XQRP.js +11 -0
- package/cdn/chunks/chunk.2PN52IHJ.js +34 -0
- package/cdn/chunks/chunk.2TI7YVUU.js +406 -0
- package/cdn/chunks/chunk.2UD7HPHP.js +11 -0
- package/cdn/chunks/chunk.2VU4JJUU.js +131 -0
- package/cdn/chunks/chunk.37K7W5FA.js +11 -0
- package/cdn/chunks/chunk.3AU3QAWD.js +551 -0
- package/cdn/chunks/chunk.3E4VGRJI.js +200 -0
- package/cdn/chunks/chunk.3HX54JUL.js +24 -0
- package/cdn/chunks/chunk.3MP6XN4U.js +93 -0
- package/cdn/chunks/chunk.3PJS3QAW.js +11 -0
- package/cdn/chunks/chunk.42WDEG5Y.js +1925 -0
- package/cdn/chunks/chunk.46H6VLTI.js +83 -0
- package/cdn/chunks/chunk.46XMLGST.js +27 -0
- package/cdn/chunks/chunk.4BSCNMGW.js +25 -0
- package/cdn/chunks/chunk.4DQUQAVY.js +122 -0
- package/cdn/chunks/chunk.4E37C5JA.js +28 -0
- package/cdn/chunks/chunk.4LDZRVNZ.js +11 -0
- package/cdn/chunks/chunk.4MT2MRBQ.js +361 -0
- package/cdn/chunks/chunk.4MV7AWNL.js +57 -0
- package/cdn/chunks/chunk.4NPIPKIF.js +11 -0
- package/cdn/chunks/chunk.4NSEKWZY.js +216 -0
- package/cdn/chunks/chunk.4RDPJ34V.js +384 -0
- package/cdn/chunks/chunk.4ZJZDLCR.js +21 -0
- package/cdn/chunks/chunk.5AEYRX7Z.js +25 -0
- package/cdn/chunks/chunk.5CHXNW4T.js +24 -0
- package/cdn/chunks/chunk.5EGGIVNV.js +29 -0
- package/cdn/chunks/chunk.5GIES3KV.js +27 -0
- package/cdn/chunks/chunk.5I324SUO.js +11 -0
- package/cdn/chunks/chunk.5JV53LTK.js +11 -0
- package/cdn/chunks/chunk.5LKAJ6VY.js +11 -0
- package/cdn/chunks/chunk.5VNI4TDR.js +403 -0
- package/cdn/chunks/chunk.5W5GNLGB.js +33 -0
- package/cdn/chunks/chunk.5WI5QZDY.js +19 -0
- package/cdn/chunks/chunk.5XJFK345.js +24 -0
- package/cdn/chunks/chunk.67VKPOXR.js +98 -0
- package/cdn/chunks/chunk.6KJNINUX.js +11 -0
- package/cdn/chunks/chunk.6KUH2YMF.js +357 -0
- package/cdn/chunks/chunk.6KVHDYL6.js +21 -0
- package/cdn/chunks/chunk.6RY6YDRI.js +64 -0
- package/cdn/chunks/chunk.6XUZRTWA.js +24 -0
- package/cdn/chunks/chunk.6YODB2NF.js +46 -0
- package/cdn/chunks/chunk.75YDP3YV.js +24 -0
- package/cdn/chunks/chunk.7AAYKU3E.js +79 -0
- package/cdn/chunks/chunk.7LSD27KY.js +11 -0
- package/cdn/chunks/chunk.7MFCWB6Y.js +11 -0
- package/cdn/chunks/chunk.7S53G3O6.js +21 -0
- package/cdn/chunks/chunk.7VYFCTN2.js +47 -0
- package/cdn/chunks/chunk.7X6C2UJU.js +352 -0
- package/cdn/chunks/chunk.7XY4GRCO.js +24 -0
- package/cdn/chunks/chunk.A7XWJUHZ.js +276 -0
- package/cdn/chunks/chunk.AIAQQXT4.js +103 -0
- package/cdn/chunks/chunk.AJDRWK3M.js +24 -0
- package/cdn/chunks/chunk.AKPJGP44.js +24 -0
- package/cdn/chunks/chunk.AQBV3E7R.js +21 -0
- package/cdn/chunks/chunk.AYZ5T2UE.js +11 -0
- package/cdn/chunks/chunk.B4WY2AHA.js +49 -0
- package/cdn/chunks/chunk.BF3WIZ3I.js +35 -0
- package/cdn/chunks/chunk.BITBCDDJ.js +11 -0
- package/cdn/chunks/chunk.BJIWHDPC.js +11 -0
- package/cdn/chunks/chunk.BOTJ6YKT.js +11 -0
- package/cdn/chunks/chunk.BP526J2S.js +11 -0
- package/cdn/chunks/chunk.BPSEMQM3.js +24 -0
- package/cdn/chunks/chunk.BRIVQACJ.js +11 -0
- package/cdn/chunks/chunk.BTCFYKQ4.js +36 -0
- package/cdn/chunks/chunk.BTONEV3N.js +147 -0
- package/cdn/chunks/chunk.C5AC66D2.js +144 -0
- package/cdn/chunks/chunk.C6VAIWTH.js +87 -0
- package/cdn/chunks/chunk.C7SRRXYX.js +73 -0
- package/cdn/chunks/chunk.CDLXCGC7.js +42 -0
- package/cdn/chunks/chunk.CJGO3LS2.js +11 -0
- package/cdn/chunks/chunk.COQAXPRD.js +11 -0
- package/cdn/chunks/chunk.CPTSIKIG.js +50 -0
- package/cdn/chunks/chunk.CZSL7GGK.js +25 -0
- package/cdn/chunks/chunk.CZTOAVCG.js +159 -0
- package/cdn/chunks/chunk.D36UC4XU.js +11 -0
- package/cdn/chunks/chunk.D46MLHYE.js +21 -0
- package/cdn/chunks/chunk.DMKPWMDI.js +11 -0
- package/cdn/chunks/chunk.DRM4PZ42.js +11 -0
- package/cdn/chunks/chunk.DUDE5FRC.js +21 -0
- package/cdn/chunks/chunk.DVYYL5Y6.js +282 -0
- package/cdn/chunks/chunk.E7TWAEKA.js +21 -0
- package/cdn/chunks/chunk.EAUTIXYW.js +21 -0
- package/cdn/chunks/chunk.ECVI7S2E.js +21 -0
- package/cdn/chunks/chunk.ED4U26RM.js +11 -0
- package/cdn/chunks/chunk.EH3MV34E.js +35 -0
- package/cdn/chunks/chunk.ENRQFPRD.js +21 -0
- package/cdn/chunks/chunk.EPPMSC3Z.js +11 -0
- package/cdn/chunks/chunk.ESAR2VJF.js +11 -0
- package/cdn/chunks/chunk.EXQ726LF.js +29 -0
- package/cdn/chunks/chunk.F5WON2DF.js +21 -0
- package/cdn/chunks/chunk.FFC42NHA.js +128 -0
- package/cdn/chunks/chunk.FG7FHSDQ.js +11 -0
- package/cdn/chunks/chunk.FGNPCJOT.js +21 -0
- package/cdn/chunks/chunk.FKJQXFUO.js +11 -0
- package/cdn/chunks/chunk.FPKGLLDN.js +11 -0
- package/cdn/chunks/chunk.FQQQP6HU.js +11 -0
- package/cdn/chunks/chunk.FT2OCER7.js +11 -0
- package/cdn/chunks/chunk.FWRMWDRT.js +649 -0
- package/cdn/chunks/chunk.FX7UODWS.js +21 -0
- package/cdn/chunks/chunk.G2NZTZEU.js +391 -0
- package/cdn/chunks/chunk.G4AZ4NAP.js +21 -0
- package/cdn/chunks/chunk.G4QDLINH.js +11 -0
- package/cdn/chunks/chunk.GDUEU3NT.js +46 -0
- package/cdn/chunks/chunk.GJQY76C4.js +325 -0
- package/cdn/chunks/chunk.GOPO64TB.js +21 -0
- package/cdn/chunks/chunk.GTMADLGH.js +11 -0
- package/cdn/chunks/chunk.GUDPMTUE.js +11 -0
- package/cdn/chunks/chunk.GV2HVL7T.js +404 -0
- package/cdn/chunks/chunk.GVVCAOCV.js +21 -0
- package/cdn/chunks/chunk.GY2M35ES.js +21 -0
- package/cdn/chunks/chunk.GY6HQGRJ.js +65 -0
- package/cdn/chunks/chunk.GYLR3JST.js +69 -0
- package/cdn/chunks/chunk.GZFS7NPG.js +291 -0
- package/cdn/chunks/chunk.HI2VWQQQ.js +11 -0
- package/cdn/chunks/chunk.HJEMCWT2.js +347 -0
- package/cdn/chunks/chunk.HMSML2FF.js +1994 -0
- package/cdn/chunks/chunk.HOO5F37O.js +104 -0
- package/cdn/chunks/chunk.HRY4HU5H.js +113 -0
- package/cdn/chunks/chunk.HYDML55W.js +11 -0
- package/cdn/chunks/chunk.HYPTDGRS.js +11 -0
- package/cdn/chunks/chunk.I5CBJJZG.js +11 -0
- package/cdn/chunks/chunk.ICSOARPZ.js +11 -0
- package/cdn/chunks/chunk.IG64GXN5.js +11 -0
- package/cdn/chunks/chunk.IJXRPIHO.js +356 -0
- package/cdn/chunks/chunk.IPSBIE4L.js +21 -0
- package/cdn/chunks/chunk.IVEN7ED4.js +25 -0
- package/cdn/chunks/chunk.J3GDPQXW.js +28 -0
- package/cdn/chunks/chunk.J3SN7MKJ.js +28 -0
- package/cdn/chunks/chunk.J5ILHKHY.js +11 -0
- package/cdn/chunks/chunk.J5NZAEDC.js +11 -0
- package/cdn/chunks/chunk.JCG3X2HP.js +11 -0
- package/cdn/chunks/chunk.JE63CDAB.js +11 -0
- package/cdn/chunks/chunk.JHCQU4KQ.js +11 -0
- package/cdn/chunks/chunk.JRXCYXBV.js +11 -0
- package/cdn/chunks/chunk.JXPYC2A7.js +25 -0
- package/cdn/chunks/chunk.K26EKGTM.js +27 -0
- package/cdn/chunks/chunk.K2LSUERL.js +24 -0
- package/cdn/chunks/chunk.K6N3CVHW.js +21 -0
- package/cdn/chunks/chunk.KEOFCIRM.js +38 -0
- package/cdn/chunks/chunk.KGW5GEEI.js +11 -0
- package/cdn/chunks/chunk.KIBSEXEC.js +11 -0
- package/cdn/chunks/chunk.KMDK5B6B.js +27 -0
- package/cdn/chunks/chunk.KNOYDIFK.js +839 -0
- package/cdn/chunks/chunk.KOCR43TB.js +82 -0
- package/cdn/chunks/chunk.L2SLRJME.js +11 -0
- package/cdn/chunks/chunk.LHTMO7PA.js +171 -0
- package/cdn/chunks/chunk.LL7FV6O7.js +11 -0
- package/cdn/chunks/chunk.LMM45D36.js +26 -0
- package/cdn/chunks/chunk.LO6WGE7R.js +214 -0
- package/cdn/chunks/chunk.LOUVYHPJ.js +67 -0
- package/cdn/chunks/chunk.LVSRPFQT.js +79 -0
- package/cdn/chunks/chunk.M443RITD.js +389 -0
- package/cdn/chunks/chunk.M4DCMXHU.js +11 -0
- package/cdn/chunks/chunk.MA3ZD77B.js +11 -0
- package/cdn/chunks/chunk.MAHXDMIG.js +186 -0
- package/cdn/chunks/chunk.MAPYIDJS.js +21 -0
- package/cdn/chunks/chunk.MCPV7NU4.js +36 -0
- package/cdn/chunks/chunk.MF77TGSK.js +25 -0
- package/cdn/chunks/chunk.MJ3FQ74G.js +11 -0
- package/cdn/chunks/chunk.N4N6ZFEJ.js +11 -0
- package/cdn/chunks/chunk.NETA6AMG.js +21 -0
- package/cdn/chunks/chunk.NOCDXSTJ.js +28 -0
- package/cdn/chunks/chunk.NRIK4LAQ.js +64 -0
- package/cdn/chunks/chunk.NRR323XZ.js +203 -0
- package/cdn/chunks/chunk.NTNWBB7C.js +24 -0
- package/cdn/chunks/chunk.NWON5FNW.js +21 -0
- package/cdn/chunks/chunk.NX6EZCRX.js +21 -0
- package/cdn/chunks/chunk.O4UQBBBG.js +11 -0
- package/cdn/chunks/chunk.O4VMABJC.js +24 -0
- package/cdn/chunks/chunk.OARQ2IYI.js +11 -0
- package/cdn/chunks/chunk.OEMUGBQM.js +11 -0
- package/cdn/chunks/chunk.OJWSJZ2X.js +11 -0
- package/cdn/chunks/chunk.OSQO56UC.js +11 -0
- package/cdn/chunks/chunk.OTSKHXGJ.js +77 -0
- package/cdn/chunks/chunk.OU3B5GWO.js +158 -0
- package/cdn/chunks/chunk.OVRHPXIP.js +21 -0
- package/cdn/chunks/chunk.OXYT23LQ.js +11 -0
- package/cdn/chunks/chunk.P5V3ODUH.js +21 -0
- package/cdn/chunks/chunk.PK3MSGTP.js +21 -0
- package/cdn/chunks/chunk.PN3IACMY.js +11 -0
- package/cdn/chunks/chunk.PQQHEEYN.js +128 -0
- package/cdn/chunks/chunk.PUX7ZURE.js +89 -0
- package/cdn/chunks/chunk.PVCHO3ZI.js +319 -0
- package/cdn/chunks/chunk.PWYPFWSJ.js +21 -0
- package/cdn/chunks/chunk.PZ76IQYD.js +21 -0
- package/cdn/chunks/chunk.Q4GMHELS.js +27 -0
- package/cdn/chunks/chunk.Q7HHYNOR.js +21 -0
- package/cdn/chunks/chunk.QFFS6OLD.js +405 -0
- package/cdn/chunks/chunk.QGXPN3QJ.js +11 -0
- package/cdn/chunks/chunk.QK2IZWKE.js +11 -0
- package/cdn/chunks/chunk.QME27PTL.js +233 -0
- package/cdn/chunks/chunk.QOBPR6SN.js +25 -0
- package/cdn/chunks/chunk.QSLRQLFY.js +69 -0
- package/cdn/chunks/chunk.QUQWR3NZ.js +24 -0
- package/cdn/chunks/chunk.QUVOGFNA.js +11 -0
- package/cdn/chunks/chunk.QVTADZQO.js +62 -0
- package/cdn/chunks/chunk.QYHFCG5F.js +28 -0
- package/cdn/chunks/chunk.R573YJB2.js +21 -0
- package/cdn/chunks/chunk.R7TWKZTP.js +24 -0
- package/cdn/chunks/chunk.RBWJV5ZR.js +11 -0
- package/cdn/chunks/chunk.RE6K67IK.js +516 -0
- package/cdn/chunks/chunk.RM4J6Z3N.js +21 -0
- package/cdn/chunks/chunk.RPN7IXXD.js +365 -0
- package/cdn/chunks/chunk.RTTKGFD5.js +24 -0
- package/cdn/chunks/chunk.RU4UEOB2.js +21 -0
- package/cdn/chunks/chunk.S2X3KY4T.js +30 -0
- package/cdn/chunks/chunk.S7CJUUIU.js +26 -0
- package/cdn/chunks/chunk.SAE46LYQ.js +11 -0
- package/cdn/chunks/chunk.SHNKUP3A.js +21 -0
- package/cdn/chunks/chunk.SHR57NYF.js +11 -0
- package/cdn/chunks/chunk.SI3CD66X.js +11 -0
- package/cdn/chunks/chunk.SJKBSAJH.js +11 -0
- package/cdn/chunks/chunk.SOE2ASD5.js +21 -0
- package/cdn/chunks/chunk.SPC5TJTM.js +145 -0
- package/cdn/chunks/chunk.SPHZVCNY.js +197 -0
- package/cdn/chunks/chunk.SR35Z3Z5.js +24 -0
- package/cdn/chunks/chunk.SUD7PO6G.js +29 -0
- package/cdn/chunks/chunk.SXJFSX6H.js +11 -0
- package/cdn/chunks/chunk.SXPT5ICA.js +26 -0
- package/cdn/chunks/chunk.SZLO565W.js +24 -0
- package/cdn/chunks/chunk.T6JT4GI3.js +21 -0
- package/cdn/chunks/chunk.TAQALSK7.js +26 -0
- package/cdn/chunks/chunk.TDWQLPUL.js +27 -0
- package/cdn/chunks/chunk.TE2MR5M4.js +411 -0
- package/cdn/chunks/chunk.TEPEEMJZ.js +11 -0
- package/cdn/chunks/chunk.TFEMARE7.js +11 -0
- package/cdn/chunks/chunk.TIGOZDAV.js +302 -0
- package/cdn/chunks/chunk.TJEOVTBG.js +232 -0
- package/cdn/chunks/chunk.U43I4EHK.js +26 -0
- package/cdn/chunks/chunk.U7BSXIID.js +11 -0
- package/cdn/chunks/chunk.UBR35P6Y.js +123 -0
- package/cdn/chunks/chunk.UF627IOQ.js +11 -0
- package/cdn/chunks/chunk.UGNIG5KQ.js +24 -0
- package/cdn/chunks/chunk.UHMWXUDT.js +747 -0
- package/cdn/chunks/chunk.UHYWHMER.js +11 -0
- package/cdn/chunks/chunk.UK7HREZY.js +315 -0
- package/cdn/chunks/chunk.UNQXZ7VY.js +21 -0
- package/cdn/chunks/chunk.UPTWQC4M.js +11 -0
- package/cdn/chunks/chunk.V2BF242B.js +63 -0
- package/cdn/chunks/chunk.V2LS4WAT.js +246 -0
- package/cdn/chunks/chunk.V2PSM3FH.js +24 -0
- package/cdn/chunks/chunk.VDCKDS2I.js +21 -0
- package/cdn/chunks/chunk.VVH2UZ2W.js +26 -0
- package/cdn/chunks/chunk.VVYITW3D.js +11 -0
- package/cdn/chunks/chunk.VXVPWZXL.js +11 -0
- package/cdn/chunks/chunk.W2SMDSHI.js +11 -0
- package/cdn/chunks/chunk.W4KHEHLQ.js +11 -0
- package/cdn/chunks/chunk.W6WGGOWV.js +75 -0
- package/cdn/chunks/chunk.WE7G4ENI.js +126 -0
- package/cdn/chunks/chunk.WF76CH3X.js +56 -0
- package/cdn/chunks/chunk.WK5AMXTV.js +513 -0
- package/cdn/chunks/chunk.WNLHHYTK.js +27 -0
- package/cdn/chunks/chunk.WYDN2VGE.js +395 -0
- package/cdn/chunks/chunk.WYYK37NP.js +11 -0
- package/cdn/chunks/chunk.X3TSQ27F.js +11 -0
- package/cdn/chunks/chunk.X3ZQB6MH.js +11 -0
- package/cdn/chunks/chunk.X5FNDEQS.js +25 -0
- package/cdn/chunks/chunk.X5OKACBJ.js +11 -0
- package/cdn/chunks/chunk.X62UNVCR.js +27 -0
- package/cdn/chunks/chunk.XFEIHFUU.js +11 -0
- package/cdn/chunks/chunk.XFI7EAWO.js +21 -0
- package/cdn/chunks/chunk.XIDZZTEZ.js +21 -0
- package/cdn/chunks/chunk.XLENE7SN.js +96 -0
- package/cdn/chunks/chunk.XPA23K32.js +11 -0
- package/cdn/chunks/chunk.XPDX7ETU.js +829 -0
- package/cdn/chunks/chunk.XWW5FATC.js +11 -0
- package/cdn/chunks/chunk.YA567XFM.js +26 -0
- package/cdn/chunks/chunk.YHAYKG7G.js +21 -0
- package/cdn/chunks/chunk.YKQNQ64V.js +973 -0
- package/cdn/chunks/chunk.YWQ64SSR.js +88 -0
- package/cdn/chunks/chunk.YYNSRGMO.js +25 -0
- package/cdn/chunks/chunk.ZLQL2GTI.js +21 -0
- package/cdn/chunks/chunk.ZV2QCI46.js +120 -0
- package/cdn/chunks/chunk.ZVK4I5ML.js +11 -0
- package/cdn/chunks/chunk.ZYPH5TLN.js +11 -0
- package/cdn/components/accordion/accordion.component.js +3 -3
- package/cdn/components/accordion/accordion.js +4 -4
- package/cdn/components/alert/alert.component.js +6 -6
- package/cdn/components/alert/alert.js +7 -7
- package/cdn/components/animation/animation.component.js +3 -3
- package/cdn/components/animation/animation.js +4 -4
- package/cdn/components/auto-grid/auto-grid.component.js +2 -2
- package/cdn/components/auto-grid/auto-grid.js +3 -3
- package/cdn/components/avatar/avatar.component.js +2 -2
- package/cdn/components/avatar/avatar.js +3 -3
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/box/box.component.js +2 -2
- package/cdn/components/box/box.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.js +5 -5
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +5 -5
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +6 -6
- package/cdn/components/button/button.component.js +6 -6
- package/cdn/components/button/button.js +7 -7
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +2 -2
- package/cdn/components/calendar/calendar.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +4 -4
- package/cdn/components/checkbox/checkbox.js +5 -5
- package/cdn/components/clock/clock.component.js +3 -3
- package/cdn/components/clock/clock.js +4 -4
- package/cdn/components/col/col.component.js +2 -2
- package/cdn/components/col/col.js +3 -3
- package/cdn/components/colgroup/colgroup.component.js +2 -2
- package/cdn/components/colgroup/colgroup.js +3 -3
- package/cdn/components/color-picker/color-picker.component.js +18 -17
- package/cdn/components/color-picker/color-picker.js +19 -18
- package/cdn/components/combobox/combobox.component.js +9 -9
- package/cdn/components/combobox/combobox.js +10 -10
- package/cdn/components/copy-button/copy-button.component.js +6 -6
- package/cdn/components/copy-button/copy-button.js +7 -7
- package/cdn/components/date-picker/date-picker.component.js +13 -12
- package/cdn/components/date-picker/date-picker.js +14 -13
- package/cdn/components/date-time-picker/date-time-picker.component.d.ts +11 -0
- package/cdn/components/date-time-picker/date-time-picker.component.js +16 -15
- package/cdn/components/date-time-picker/date-time-picker.js +17 -16
- package/cdn/components/dialog/dialog.component.js +8 -7
- package/cdn/components/dialog/dialog.js +9 -8
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +8 -7
- package/cdn/components/drawer/drawer.js +9 -8
- package/cdn/components/dropdown/dropdown.component.d.ts +8 -5
- package/cdn/components/dropdown/dropdown.component.js +5 -4
- package/cdn/components/dropdown/dropdown.js +6 -5
- package/cdn/components/flank/flank.component.js +2 -2
- package/cdn/components/flank/flank.js +3 -3
- package/cdn/components/form-field/form-field.component.js +6 -6
- package/cdn/components/form-field/form-field.js +7 -7
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/grid/grid.component.js +2 -2
- package/cdn/components/grid/grid.js +3 -3
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/icon-button/icon-button.component.js +4 -4
- package/cdn/components/icon-button/icon-button.js +5 -5
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +8 -8
- package/cdn/components/input/input.js +9 -9
- package/cdn/components/input/input.styles.js +1 -1
- package/cdn/components/intersection-observer/intersection-observer.component.js +2 -2
- package/cdn/components/intersection-observer/intersection-observer.js +3 -3
- package/cdn/components/menu/menu.component.d.ts +1 -1
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.d.ts +20 -1
- package/cdn/components/menu-item/menu-item.component.js +12 -5
- package/cdn/components/menu-item/menu-item.js +13 -6
- package/cdn/components/menu-item/menu-item.styles.js +1 -1
- package/cdn/components/menu-item/submenu-controller.d.ts +34 -0
- package/cdn/components/menu-item/submenu-controller.js +11 -0
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +8 -8
- package/cdn/components/nav/nav.js +9 -9
- package/cdn/components/nav-group/nav-group.component.js +3 -3
- package/cdn/components/nav-group/nav-group.js +4 -4
- package/cdn/components/nav-item/nav-item.component.js +6 -6
- package/cdn/components/nav-item/nav-item.js +7 -7
- package/cdn/components/optgroup/optgroup.component.js +4 -4
- package/cdn/components/optgroup/optgroup.js +5 -5
- package/cdn/components/option/option.component.js +4 -4
- package/cdn/components/option/option.js +5 -5
- package/cdn/components/page/page.component.js +2 -2
- package/cdn/components/page/page.js +3 -3
- package/cdn/components/page-content/page-content.component.js +3 -3
- package/cdn/components/page-content/page-content.js +4 -4
- package/cdn/components/page-footer/page-footer.component.js +4 -4
- package/cdn/components/page-footer/page-footer.js +5 -5
- package/cdn/components/page-header/page-header.component.js +4 -4
- package/cdn/components/page-header/page-header.js +5 -5
- package/cdn/components/page-sidebar/page-sidebar.component.js +11 -11
- package/cdn/components/page-sidebar/page-sidebar.js +12 -12
- package/cdn/components/panel/panel.component.js +4 -4
- package/cdn/components/panel/panel.js +5 -5
- package/cdn/components/popover/popover.component.js +4 -4
- package/cdn/components/popover/popover.js +5 -5
- package/cdn/components/popup/popup.component.d.ts +1 -1
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/radio/radio.component.js +4 -4
- package/cdn/components/radio/radio.js +5 -5
- package/cdn/components/radio-button/radio-button.component.js +3 -3
- package/cdn/components/radio-button/radio-button.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +8 -8
- package/cdn/components/radio-group/radio-group.js +9 -9
- package/cdn/components/range/range.component.js +7 -7
- package/cdn/components/range/range.js +8 -8
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/responsive-media/responsive-media.component.js +2 -2
- package/cdn/components/responsive-media/responsive-media.js +3 -3
- package/cdn/components/scroller/scroller.component.js +2 -2
- package/cdn/components/scroller/scroller.js +3 -3
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/select/select.styles.js +1 -1
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split/split.component.js +2 -2
- package/cdn/components/split/split.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/splitter/splitter.component.js +2 -2
- package/cdn/components/splitter/splitter.js +3 -3
- package/cdn/components/splitter-pane/splitter-pane.component.js +2 -2
- package/cdn/components/splitter-pane/splitter-pane.js +3 -3
- package/cdn/components/stack/stack.component.js +2 -2
- package/cdn/components/stack/stack.js +3 -3
- package/cdn/components/switch/switch.component.js +3 -3
- package/cdn/components/switch/switch.js +4 -4
- package/cdn/components/tab/tab.component.js +5 -5
- package/cdn/components/tab/tab.js +6 -6
- package/cdn/components/tab-group/tab-group.component.js +6 -6
- package/cdn/components/tab-group/tab-group.js +7 -7
- package/cdn/components/tab-panel/tab-panel.component.js +3 -3
- package/cdn/components/tab-panel/tab-panel.js +4 -4
- package/cdn/components/table/table.component.js +2 -2
- package/cdn/components/table/table.js +3 -3
- package/cdn/components/tag/tag.component.js +5 -5
- package/cdn/components/tag/tag.js +6 -6
- package/cdn/components/tbody/tbody.component.js +2 -2
- package/cdn/components/tbody/tbody.js +3 -3
- package/cdn/components/td/td.component.js +2 -2
- package/cdn/components/td/td.js +3 -3
- package/cdn/components/textarea/textarea.component.js +7 -7
- package/cdn/components/textarea/textarea.js +8 -8
- package/cdn/components/th/th.component.js +2 -2
- package/cdn/components/th/th.js +3 -3
- package/cdn/components/thead/thead.component.js +2 -2
- package/cdn/components/thead/thead.js +3 -3
- package/cdn/components/time-picker/time-picker.component.js +13 -12
- package/cdn/components/time-picker/time-picker.js +14 -13
- package/cdn/components/tooltip/tooltip.component.js +4 -4
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/components/tr/tr.component.js +2 -2
- package/cdn/components/tr/tr.js +3 -3
- package/cdn/components/tree/tree.component.js +8 -8
- package/cdn/components/tree/tree.js +9 -9
- package/cdn/components/tree-item/tree-item.component.d.ts +3 -0
- package/cdn/components/tree-item/tree-item.component.js +7 -7
- package/cdn/components/tree-item/tree-item.js +8 -8
- package/cdn/components/tree-item/tree-item.styles.js +1 -1
- package/cdn/components/truncate/truncate.component.js +2 -2
- package/cdn/components/truncate/truncate.js +3 -3
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/components/wisp/wisp.component.js +2 -2
- package/cdn/components/wisp/wisp.js +3 -3
- package/cdn/custom-elements.json +1183 -1023
- package/cdn/lynk.js +245 -243
- package/cdn/react/accordion/index.js +4 -4
- package/cdn/react/alert/index.js +7 -7
- package/cdn/react/animation/index.js +4 -4
- package/cdn/react/auto-grid/index.js +3 -3
- package/cdn/react/avatar/index.js +3 -3
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/box/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +5 -5
- package/cdn/react/breadcrumb-item/index.js +6 -6
- package/cdn/react/button/index.js +7 -7
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/calendar/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/checkbox/index.js +5 -5
- package/cdn/react/clock/index.js +4 -4
- package/cdn/react/col/index.js +3 -3
- package/cdn/react/colgroup/index.js +3 -3
- package/cdn/react/color-picker/index.js +19 -18
- package/cdn/react/combobox/index.js +10 -10
- package/cdn/react/copy-button/index.js +7 -7
- package/cdn/react/date-picker/index.js +14 -13
- package/cdn/react/date-time-picker/index.js +17 -16
- package/cdn/react/dialog/index.js +9 -8
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -8
- package/cdn/react/dropdown/index.d.ts +2 -1
- package/cdn/react/dropdown/index.js +6 -5
- package/cdn/react/flank/index.js +3 -3
- package/cdn/react/form-field/index.js +7 -7
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/grid/index.js +3 -3
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/icon-button/index.js +5 -5
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.d.ts +2 -2
- package/cdn/react/index.js +245 -243
- package/cdn/react/input/index.js +9 -9
- package/cdn/react/intersection-observer/index.js +3 -3
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.d.ts +8 -0
- package/cdn/react/menu-item/index.js +13 -6
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +9 -9
- package/cdn/react/nav-group/index.js +4 -4
- package/cdn/react/nav-item/index.js +7 -7
- package/cdn/react/optgroup/index.js +5 -5
- package/cdn/react/option/index.js +5 -5
- package/cdn/react/page/index.js +3 -3
- package/cdn/react/page-content/index.js +4 -4
- package/cdn/react/page-footer/index.js +5 -5
- package/cdn/react/page-header/index.js +5 -5
- package/cdn/react/page-sidebar/index.js +12 -12
- package/cdn/react/panel/index.js +5 -5
- package/cdn/react/popover/index.js +5 -5
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/radio/index.js +5 -5
- package/cdn/react/radio-button/index.js +4 -4
- package/cdn/react/radio-group/index.js +9 -9
- package/cdn/react/range/index.js +8 -8
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/responsive-media/index.js +3 -3
- package/cdn/react/scroller/index.js +3 -3
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/splitter/index.js +3 -3
- package/cdn/react/splitter-pane/index.js +3 -3
- package/cdn/react/stack/index.js +3 -3
- package/cdn/react/switch/index.js +4 -4
- package/cdn/react/tab/index.js +6 -6
- package/cdn/react/tab-group/index.js +7 -7
- package/cdn/react/tab-panel/index.js +4 -4
- package/cdn/react/table/index.js +3 -3
- package/cdn/react/tag/index.js +6 -6
- package/cdn/react/tbody/index.js +3 -3
- package/cdn/react/td/index.js +3 -3
- package/cdn/react/textarea/index.js +8 -8
- package/cdn/react/th/index.js +3 -3
- package/cdn/react/thead/index.js +3 -3
- package/cdn/react/time-picker/index.js +14 -13
- package/cdn/react/tooltip/index.js +5 -5
- package/cdn/react/tr/index.js +3 -3
- package/cdn/react/tree/index.js +9 -9
- package/cdn/react/tree-item/index.d.ts +1 -0
- package/cdn/react/tree-item/index.js +8 -8
- package/cdn/react/truncate/index.js +3 -3
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/react/wisp/index.js +3 -3
- package/cdn/types/vue/index.d.ts +262 -243
- package/cdn/vscode.html-custom-data.json +111 -96
- package/cdn/web-types.json +647 -613
- package/dist/chunks/chunk.2377FQ6X.js +93 -0
- package/dist/chunks/chunk.25MTI3GM.js +150 -0
- package/dist/chunks/chunk.263PWIMB.js +11 -0
- package/dist/chunks/chunk.2FM5SNQY.js +11 -0
- package/dist/chunks/chunk.2GFBWA7S.js +11 -0
- package/dist/chunks/chunk.2GU4H7L6.js +222 -0
- package/dist/chunks/chunk.2IEGJREG.js +21 -0
- package/dist/chunks/chunk.2JGQVVA3.js +75 -0
- package/dist/chunks/chunk.2JNYJ5MM.js +25 -0
- package/dist/chunks/chunk.2OPV3OGD.js +25 -0
- package/dist/chunks/chunk.2QCQTR7S.js +45 -0
- package/dist/chunks/chunk.2VSSGQHT.js +11 -0
- package/dist/chunks/chunk.35W4H3W5.js +80 -0
- package/dist/chunks/chunk.3FGEDD7H.js +11 -0
- package/dist/chunks/chunk.3IZJPHKV.js +67 -0
- package/dist/chunks/chunk.3JNBUGCS.js +739 -0
- package/dist/chunks/chunk.3LVENXQ2.js +44 -0
- package/dist/chunks/chunk.3MDWSVKC.js +25 -0
- package/dist/chunks/chunk.3MYQ6YIL.js +417 -0
- package/dist/chunks/chunk.3RFDJ6GO.js +382 -0
- package/dist/chunks/chunk.3RZKWLNU.js +11 -0
- package/dist/chunks/chunk.3T46AKKY.js +11 -0
- package/dist/chunks/chunk.3TD33X42.js +11 -0
- package/dist/chunks/chunk.3TGONL4H.js +25 -0
- package/dist/chunks/chunk.3WTTN2XX.js +506 -0
- package/dist/chunks/chunk.45MONTX2.js +26 -0
- package/dist/chunks/chunk.4BFMXPBN.js +25 -0
- package/dist/chunks/chunk.4BKNCK37.js +309 -0
- package/dist/chunks/chunk.4HIRDSN6.js +24 -0
- package/dist/chunks/chunk.4JNXS6H6.js +34 -0
- package/dist/chunks/chunk.4M6VAAOY.js +11 -0
- package/dist/chunks/chunk.4OQ4CHYM.js +11 -0
- package/dist/chunks/chunk.4RSAH72C.js +21 -0
- package/dist/chunks/chunk.4VDUO5CK.js +11 -0
- package/dist/chunks/chunk.56BRBGHH.js +11 -0
- package/dist/chunks/chunk.5EIUY65T.js +967 -0
- package/dist/chunks/chunk.5HI4HRMS.js +21 -0
- package/dist/chunks/chunk.5I7LPXLJ.js +211 -0
- package/dist/chunks/chunk.67TJ7Y23.js +90 -0
- package/dist/chunks/chunk.6NVOR3EK.js +21 -0
- package/dist/chunks/chunk.6OEG777B.js +11 -0
- package/dist/chunks/chunk.6TMV6FQ3.js +26 -0
- package/dist/chunks/chunk.6US5J6FZ.js +11 -0
- package/dist/chunks/chunk.6X5LIQTE.js +28 -0
- package/dist/chunks/chunk.7DDAF6PL.js +21 -0
- package/dist/chunks/chunk.7TJ7I3VP.js +27 -0
- package/dist/chunks/chunk.A3H2VZ6N.js +92 -0
- package/dist/chunks/chunk.A4NMNT5O.js +52 -0
- package/dist/chunks/chunk.A5OKAQQ6.js +21 -0
- package/dist/chunks/chunk.A7ACCR7Y.js +24 -0
- package/dist/chunks/chunk.AA6H7AWE.js +645 -0
- package/dist/chunks/chunk.ABA7RTU6.js +85 -0
- package/dist/chunks/chunk.AGEUHTGE.js +75 -0
- package/dist/chunks/chunk.AH5AX642.js +11 -0
- package/dist/chunks/chunk.AK3RQFPG.js +378 -0
- package/dist/chunks/chunk.AL5VKAC7.js +11 -0
- package/dist/chunks/chunk.AMCFIJ3C.js +11 -0
- package/dist/chunks/chunk.ARCDQRFP.js +93 -0
- package/dist/chunks/chunk.B2CM6M2H.js +11 -0
- package/dist/chunks/chunk.B43TXN73.js +29 -0
- package/dist/chunks/chunk.B4BT6POS.js +83 -0
- package/dist/chunks/chunk.BCKYPNNK.js +197 -0
- package/dist/chunks/chunk.BGJOZNKW.js +123 -0
- package/dist/chunks/chunk.BHU65BUY.js +11 -0
- package/dist/chunks/chunk.BIFLGZFQ.js +181 -0
- package/dist/chunks/chunk.BNGSKHQF.js +21 -0
- package/dist/chunks/chunk.BTUDZDEL.js +28 -0
- package/dist/chunks/chunk.CBODUQFO.js +11 -0
- package/dist/chunks/chunk.CJ2G6QD4.js +241 -0
- package/dist/chunks/chunk.CMKFJFGU.js +21 -0
- package/dist/chunks/chunk.CTD24WHB.js +24 -0
- package/dist/chunks/chunk.CVDDNARZ.js +22 -0
- package/dist/chunks/chunk.CXSQO44U.js +11 -0
- package/dist/chunks/chunk.CYF7N3JT.js +22 -0
- package/dist/chunks/chunk.D4TIK7DV.js +21 -0
- package/dist/chunks/chunk.D73VRUYH.js +27 -0
- package/dist/chunks/chunk.DDGAP4C2.js +21 -0
- package/dist/chunks/chunk.DI2BP34H.js +11 -0
- package/dist/chunks/chunk.DIPOWEOO.js +60 -0
- package/dist/chunks/chunk.DMDQAVOZ.js +21 -0
- package/dist/chunks/chunk.DOOB6L7H.js +21 -0
- package/dist/chunks/chunk.DQAMNAYW.js +11 -0
- package/dist/chunks/chunk.DVQPJ4YC.js +24 -0
- package/dist/chunks/chunk.DWKKCQME.js +11 -0
- package/dist/chunks/chunk.DYECZV3R.js +11 -0
- package/dist/chunks/chunk.E3TKK2TJ.js +21 -0
- package/dist/chunks/chunk.E4OAOJNH.js +21 -0
- package/dist/chunks/chunk.E5XWMTPP.js +11 -0
- package/dist/chunks/chunk.E6KZ5GO7.js +11 -0
- package/dist/chunks/chunk.EINPQY54.js +11 -0
- package/dist/chunks/chunk.EJSMANZO.js +21 -0
- package/dist/chunks/chunk.ESBLYUR7.js +11 -0
- package/dist/chunks/chunk.ET3XQGDJ.js +63 -0
- package/dist/chunks/chunk.F2OFLWFL.js +63 -0
- package/dist/chunks/chunk.F3BOXQFP.js +399 -0
- package/dist/chunks/chunk.F4O7X247.js +165 -0
- package/dist/chunks/chunk.FAFGHEFH.js +21 -0
- package/dist/chunks/chunk.FC3Z3RQ7.js +11 -0
- package/dist/chunks/chunk.FJV6YDAG.js +270 -0
- package/dist/chunks/chunk.FKZEJAWV.js +11 -0
- package/dist/chunks/chunk.FLRXDTYJ.js +61 -0
- package/dist/chunks/chunk.FN3T67NV.js +25 -0
- package/dist/chunks/chunk.FQCVZHIN.js +11 -0
- package/dist/chunks/chunk.FVE7XOWX.js +11 -0
- package/dist/chunks/chunk.FZNBXUF2.js +24 -0
- package/dist/chunks/chunk.G7DFVEHC.js +21 -0
- package/dist/chunks/chunk.GB3ZITIS.js +310 -0
- package/dist/chunks/chunk.GIIBGEMJ.js +11 -0
- package/dist/chunks/chunk.GLCVCLNW.js +11 -0
- package/dist/chunks/chunk.GN4I7W2H.js +25 -0
- package/dist/chunks/chunk.GTBGHNMI.js +19 -0
- package/dist/chunks/chunk.GTDD27UY.js +821 -0
- package/dist/chunks/chunk.GXFLJRJR.js +11 -0
- package/dist/chunks/chunk.H57ZUOVG.js +11 -0
- package/dist/chunks/chunk.HCFQH5OZ.js +11 -0
- package/dist/chunks/chunk.HGP3QFDE.js +21 -0
- package/dist/chunks/chunk.HLRZPC4P.js +21 -0
- package/dist/chunks/chunk.HOHHL76Z.js +65 -0
- package/dist/chunks/chunk.HSU4D2X5.js +11 -0
- package/dist/chunks/chunk.HTLV4GYS.js +21 -0
- package/dist/chunks/chunk.HWNV4RWC.js +326 -0
- package/dist/chunks/chunk.HYTSE7SY.js +227 -0
- package/dist/chunks/chunk.HZOWBRXF.js +192 -0
- package/dist/chunks/chunk.IEOGTCAK.js +21 -0
- package/dist/chunks/chunk.IKOLUFJF.js +11 -0
- package/dist/chunks/chunk.IMJ4R6OD.js +11 -0
- package/dist/chunks/chunk.IXGIDW3F.js +34 -0
- package/dist/chunks/chunk.IZMNEL6J.js +11 -0
- package/dist/chunks/chunk.J5JOWEPN.js +30 -0
- package/dist/chunks/chunk.JCN67QFJ.js +67 -0
- package/dist/chunks/chunk.JHO2MP6V.js +11 -0
- package/dist/chunks/chunk.JIGNOICC.js +28 -0
- package/dist/chunks/chunk.JKRQU7IJ.js +21 -0
- package/dist/chunks/chunk.JMFXZGDX.js +42 -0
- package/dist/chunks/chunk.JNP2Y2OI.js +11 -0
- package/dist/chunks/chunk.K3DO77LV.js +121 -0
- package/dist/chunks/chunk.K64RQWKZ.js +35 -0
- package/dist/chunks/chunk.KB42R5DR.js +285 -0
- package/dist/chunks/chunk.KG2ZL7BT.js +11 -0
- package/dist/chunks/chunk.KM5LTXGY.js +87 -0
- package/dist/chunks/chunk.KO5BTFI6.js +11 -0
- package/dist/chunks/chunk.KRTDZN44.js +36 -0
- package/dist/chunks/chunk.KTESMVCL.js +27 -0
- package/dist/chunks/chunk.L3B4XEPM.js +44 -0
- package/dist/chunks/chunk.LEPTUB77.js +21 -0
- package/dist/chunks/chunk.LPBMBP7L.js +24 -0
- package/dist/chunks/chunk.LTTKUTWU.js +123 -0
- package/dist/chunks/chunk.LXJ3I4XV.js +24 -0
- package/dist/chunks/chunk.M2FXO7NU.js +22 -0
- package/dist/chunks/chunk.MGU5PUAV.js +11 -0
- package/dist/chunks/chunk.MHC35D6E.js +211 -0
- package/dist/chunks/chunk.MJ372WLI.js +24 -0
- package/dist/chunks/chunk.MRJU7SRC.js +60 -0
- package/dist/chunks/chunk.MTC64OBR.js +240 -0
- package/dist/chunks/chunk.MUG2OY75.js +11 -0
- package/dist/chunks/chunk.N2LZRJYL.js +11 -0
- package/dist/chunks/chunk.N4JTUK3U.js +111 -0
- package/dist/chunks/chunk.N7UTDO5V.js +115 -0
- package/dist/chunks/chunk.NBLACCUW.js +21 -0
- package/dist/chunks/chunk.NCDYYBYG.js +11 -0
- package/dist/chunks/chunk.NCWQ4FYY.js +831 -0
- package/dist/chunks/chunk.NDRVPZPH.js +11 -0
- package/dist/chunks/chunk.NGQA2QUO.js +11 -0
- package/dist/chunks/chunk.NN57JKMN.js +11 -0
- package/dist/chunks/chunk.NOYV44LS.js +21 -0
- package/dist/chunks/chunk.NQTA25PE.js +11 -0
- package/dist/chunks/chunk.NR46YWYN.js +395 -0
- package/dist/chunks/chunk.NRQL6QM5.js +21 -0
- package/dist/chunks/chunk.NRSZS3H7.js +21 -0
- package/dist/chunks/chunk.NW7C6MUX.js +30 -0
- package/dist/chunks/chunk.O7UX2MIO.js +11 -0
- package/dist/chunks/chunk.OG2N6Y2I.js +21 -0
- package/dist/chunks/chunk.OH46PIDN.js +122 -0
- package/dist/chunks/chunk.OLYTAKIA.js +11 -0
- package/dist/chunks/chunk.OX7ZT2WJ.js +953 -0
- package/dist/chunks/chunk.P3JQVAJT.js +11 -0
- package/dist/chunks/chunk.P4PUFY46.js +26 -0
- package/dist/chunks/chunk.P6ZDOX2U.js +11 -0
- package/dist/chunks/chunk.P7L2RAYF.js +322 -0
- package/dist/chunks/chunk.PDDCFJP6.js +11 -0
- package/dist/chunks/chunk.PPFXMGUK.js +75 -0
- package/dist/chunks/chunk.PVPIACGF.js +11 -0
- package/dist/chunks/chunk.PWFQLWVT.js +11 -0
- package/dist/chunks/chunk.Q3P4WH2Q.js +45 -0
- package/dist/chunks/chunk.Q4A4VYXF.js +385 -0
- package/dist/chunks/chunk.QBRRRFTV.js +33 -0
- package/dist/chunks/chunk.QD7T3ZL7.js +27 -0
- package/dist/chunks/chunk.QHKYO54Q.js +11 -0
- package/dist/chunks/chunk.QOUVUE6V.js +347 -0
- package/dist/chunks/chunk.QSJ7QIOL.js +21 -0
- package/dist/chunks/chunk.QTN24H6K.js +26 -0
- package/dist/chunks/chunk.QU4KR6NB.js +27 -0
- package/dist/chunks/chunk.QUT6I2BS.js +27 -0
- package/dist/chunks/chunk.QYAF7WST.js +11 -0
- package/dist/chunks/chunk.R5SHQIKX.js +26 -0
- package/dist/chunks/chunk.R5XJFS3Q.js +11 -0
- package/dist/chunks/chunk.R5XMRK4T.js +100 -0
- package/dist/chunks/chunk.RAW4HPFB.js +506 -0
- package/dist/chunks/chunk.RI4I2P3G.js +28 -0
- package/dist/chunks/chunk.RO2NM7IN.js +25 -0
- package/dist/chunks/chunk.RRYATV6B.js +11 -0
- package/dist/chunks/chunk.RZZ6CLQT.js +22 -0
- package/dist/chunks/chunk.S6GQDUM5.js +386 -0
- package/dist/chunks/chunk.SAWRTMFW.js +295 -0
- package/dist/chunks/chunk.SEWW5UFL.js +21 -0
- package/dist/chunks/chunk.SHCHMDDL.js +27 -0
- package/dist/chunks/chunk.SHLDV4AD.js +277 -0
- package/dist/chunks/chunk.SS3VZ7J4.js +11 -0
- package/dist/chunks/chunk.SZRK2LWJ.js +11 -0
- package/dist/chunks/chunk.SZZLHNOW.js +123 -0
- package/dist/chunks/chunk.T26IKXTB.js +359 -0
- package/dist/chunks/chunk.T6BSMXYY.js +11 -0
- package/dist/chunks/chunk.TDDUJIJU.js +137 -0
- package/dist/chunks/chunk.TGERHBWP.js +21 -0
- package/dist/chunks/chunk.TGLDZEJR.js +24 -0
- package/dist/chunks/chunk.TGUVFD5J.js +408 -0
- package/dist/chunks/chunk.TITY4QP7.js +197 -0
- package/dist/chunks/chunk.TLCVS3RL.js +11 -0
- package/dist/chunks/chunk.TM45HPX5.js +22 -0
- package/dist/chunks/chunk.TNHJDOAT.js +73 -0
- package/dist/chunks/chunk.TPZERUIK.js +11 -0
- package/dist/chunks/chunk.TQKHT4US.js +21 -0
- package/dist/chunks/chunk.TVKIDFWU.js +11 -0
- package/dist/chunks/chunk.TYVOVMNH.js +398 -0
- package/dist/chunks/chunk.TYWZCMHN.js +11 -0
- package/dist/chunks/chunk.U4YFJB5H.js +11 -0
- package/dist/chunks/chunk.U77TOQZJ.js +100 -0
- package/dist/chunks/chunk.UIE2AGUG.js +21 -0
- package/dist/chunks/chunk.UINKXP3I.js +118 -0
- package/dist/chunks/chunk.UML6TB3H.js +11 -0
- package/dist/chunks/chunk.UTID4YVC.js +78 -0
- package/dist/chunks/chunk.UTYQEMXJ.js +541 -0
- package/dist/chunks/chunk.UU4WXMWV.js +11 -0
- package/dist/chunks/chunk.UWHB6V5T.js +29 -0
- package/dist/chunks/chunk.UXFFHXCW.js +26 -0
- package/dist/chunks/chunk.VCC5HENF.js +29 -0
- package/dist/chunks/chunk.VD3WWJII.js +24 -0
- package/dist/chunks/chunk.VHJZI4KW.js +21 -0
- package/dist/chunks/chunk.VJCOXGCG.js +26 -0
- package/dist/chunks/chunk.VMJ2G53D.js +11 -0
- package/dist/chunks/chunk.VMJNIVLB.js +11 -0
- package/dist/chunks/chunk.VQRDS5EH.js +21 -0
- package/dist/chunks/chunk.VWV6VQ3F.js +21 -0
- package/dist/chunks/chunk.VZJWX7BC.js +11 -0
- package/dist/chunks/chunk.W52CC7VK.js +11 -0
- package/dist/chunks/chunk.WA4HUXB2.js +11 -0
- package/dist/chunks/chunk.WENQMSVX.js +11 -0
- package/dist/chunks/chunk.WIX3VLU7.js +24 -0
- package/dist/chunks/chunk.WJB4VACJ.js +11 -0
- package/dist/chunks/chunk.WNHD37W5.js +24 -0
- package/dist/chunks/chunk.WOVTK5KM.js +11 -0
- package/dist/chunks/chunk.WRABWKQ6.js +21 -0
- package/dist/chunks/chunk.WT76PWVW.js +11 -0
- package/dist/chunks/chunk.WU3TUJGX.js +396 -0
- package/dist/chunks/chunk.WZ5DPQGT.js +25 -0
- package/dist/chunks/chunk.X2S6NXVN.js +53 -0
- package/dist/chunks/chunk.X3JZCONY.js +27 -0
- package/dist/chunks/chunk.X66P5F4H.js +50 -0
- package/dist/chunks/chunk.X67MO4H5.js +21 -0
- package/dist/chunks/chunk.XAVHUS3N.js +354 -0
- package/dist/chunks/chunk.XCJEL6WZ.js +33 -0
- package/dist/chunks/chunk.XEHALRN5.js +62 -0
- package/dist/chunks/chunk.XOCB2SBS.js +11 -0
- package/dist/chunks/chunk.XRHJDHSY.js +11 -0
- package/dist/chunks/chunk.YDJX244X.js +343 -0
- package/dist/chunks/chunk.YGCI2JI6.js +136 -0
- package/dist/chunks/chunk.YIW3EUTP.js +28 -0
- package/dist/chunks/chunk.YJZ6O2EG.js +21 -0
- package/dist/chunks/chunk.YMMNTYAT.js +145 -0
- package/dist/chunks/chunk.YQFP2ZAX.js +24 -0
- package/dist/chunks/chunk.YQYEB7CS.js +21 -0
- package/dist/chunks/chunk.YRUFXCXH.js +11 -0
- package/dist/chunks/chunk.Z37VCJM2.js +11 -0
- package/dist/chunks/chunk.ZABK2Y7V.js +11 -0
- package/dist/chunks/chunk.ZEFMOQPM.js +24 -0
- package/dist/chunks/chunk.ZNNEIGLL.js +21 -0
- package/dist/chunks/chunk.ZP5WM6I2.js +11 -0
- package/dist/chunks/chunk.ZPCJZG6Z.js +155 -0
- package/dist/components/accordion/accordion.component.js +2 -2
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animation/animation.component.js +3 -3
- package/dist/components/animation/animation.js +4 -4
- package/dist/components/auto-grid/auto-grid.component.js +2 -2
- package/dist/components/auto-grid/auto-grid.js +3 -3
- package/dist/components/avatar/avatar.component.js +2 -2
- package/dist/components/avatar/avatar.js +3 -3
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/box/box.component.js +2 -2
- package/dist/components/box/box.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +2 -2
- package/dist/components/calendar/calendar.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/clock/clock.component.js +2 -2
- package/dist/components/clock/clock.js +3 -3
- package/dist/components/col/col.component.js +2 -2
- package/dist/components/col/col.js +3 -3
- package/dist/components/colgroup/colgroup.component.js +2 -2
- package/dist/components/colgroup/colgroup.js +3 -3
- package/dist/components/color-picker/color-picker.component.js +18 -17
- package/dist/components/color-picker/color-picker.js +19 -18
- package/dist/components/combobox/combobox.component.js +9 -9
- package/dist/components/combobox/combobox.js +10 -10
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/date-picker/date-picker.component.js +12 -11
- package/dist/components/date-picker/date-picker.js +13 -12
- package/dist/components/date-time-picker/date-time-picker.component.d.ts +11 -0
- package/dist/components/date-time-picker/date-time-picker.component.js +16 -15
- package/dist/components/date-time-picker/date-time-picker.js +17 -16
- package/dist/components/dialog/dialog.component.js +8 -7
- package/dist/components/dialog/dialog.js +9 -8
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +8 -7
- package/dist/components/drawer/drawer.js +9 -8
- package/dist/components/dropdown/dropdown.component.d.ts +8 -5
- package/dist/components/dropdown/dropdown.component.js +4 -3
- package/dist/components/dropdown/dropdown.js +5 -4
- package/dist/components/flank/flank.component.js +2 -2
- package/dist/components/flank/flank.js +3 -3
- package/dist/components/form-field/form-field.component.js +6 -6
- package/dist/components/form-field/form-field.js +7 -7
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/grid/grid.component.js +2 -2
- package/dist/components/grid/grid.js +3 -3
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon-button/icon-button.component.js +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +8 -8
- package/dist/components/input/input.js +9 -9
- package/dist/components/input/input.styles.js +1 -1
- package/dist/components/intersection-observer/intersection-observer.component.js +2 -2
- package/dist/components/intersection-observer/intersection-observer.js +3 -3
- package/dist/components/menu/menu.component.d.ts +1 -1
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.d.ts +20 -1
- package/dist/components/menu-item/menu-item.component.js +12 -5
- package/dist/components/menu-item/menu-item.js +13 -6
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-item/submenu-controller.d.ts +34 -0
- package/dist/components/menu-item/submenu-controller.js +8 -0
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +8 -8
- package/dist/components/nav/nav.js +9 -9
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +6 -6
- package/dist/components/nav-item/nav-item.js +7 -7
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/page/page.component.js +2 -2
- package/dist/components/page/page.js +3 -3
- package/dist/components/page-content/page-content.component.js +3 -3
- package/dist/components/page-content/page-content.js +4 -4
- package/dist/components/page-footer/page-footer.component.js +4 -4
- package/dist/components/page-footer/page-footer.js +5 -5
- package/dist/components/page-header/page-header.component.js +4 -4
- package/dist/components/page-header/page-header.js +5 -5
- package/dist/components/page-sidebar/page-sidebar.component.js +11 -11
- package/dist/components/page-sidebar/page-sidebar.js +12 -12
- package/dist/components/panel/panel.component.js +4 -4
- package/dist/components/panel/panel.js +5 -5
- package/dist/components/popover/popover.component.js +3 -3
- package/dist/components/popover/popover.js +4 -4
- package/dist/components/popup/popup.component.d.ts +1 -1
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/radio/radio.component.js +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +8 -8
- package/dist/components/radio-group/radio-group.js +9 -9
- package/dist/components/range/range.component.js +7 -7
- package/dist/components/range/range.js +8 -8
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/responsive-media/responsive-media.component.js +2 -2
- package/dist/components/responsive-media/responsive-media.js +3 -3
- package/dist/components/scroller/scroller.component.js +2 -2
- package/dist/components/scroller/scroller.js +3 -3
- package/dist/components/select/select.component.js +10 -10
- package/dist/components/select/select.js +11 -11
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split/split.component.js +2 -2
- package/dist/components/split/split.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/splitter/splitter.component.js +2 -2
- package/dist/components/splitter/splitter.js +3 -3
- package/dist/components/splitter-pane/splitter-pane.component.js +2 -2
- package/dist/components/splitter-pane/splitter-pane.js +3 -3
- package/dist/components/stack/stack.component.js +2 -2
- package/dist/components/stack/stack.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +5 -5
- package/dist/components/tab/tab.js +6 -6
- package/dist/components/tab-group/tab-group.component.js +6 -6
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/table.component.js +2 -2
- package/dist/components/table/table.js +3 -3
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/tbody/tbody.component.js +2 -2
- package/dist/components/tbody/tbody.js +3 -3
- package/dist/components/td/td.component.js +2 -2
- package/dist/components/td/td.js +3 -3
- package/dist/components/textarea/textarea.component.js +7 -7
- package/dist/components/textarea/textarea.js +8 -8
- package/dist/components/th/th.component.js +2 -2
- package/dist/components/th/th.js +3 -3
- package/dist/components/thead/thead.component.js +2 -2
- package/dist/components/thead/thead.js +3 -3
- package/dist/components/time-picker/time-picker.component.js +12 -11
- package/dist/components/time-picker/time-picker.js +13 -12
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tr/tr.component.js +2 -2
- package/dist/components/tr/tr.js +3 -3
- package/dist/components/tree/tree.component.js +8 -8
- package/dist/components/tree/tree.js +9 -9
- package/dist/components/tree-item/tree-item.component.d.ts +3 -0
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/components/truncate/truncate.component.js +2 -2
- package/dist/components/truncate/truncate.js +3 -3
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/components/wisp/wisp.component.js +2 -2
- package/dist/components/wisp/wisp.js +3 -3
- package/dist/custom-elements.json +1183 -1023
- package/dist/lynk.js +243 -241
- package/dist/react/accordion/index.js +3 -3
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animation/index.js +4 -4
- package/dist/react/auto-grid/index.js +3 -3
- package/dist/react/avatar/index.js +3 -3
- package/dist/react/badge/index.js +3 -3
- package/dist/react/box/index.js +3 -3
- package/dist/react/breadcrumb/index.js +5 -5
- package/dist/react/breadcrumb-item/index.js +5 -5
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/calendar/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/clock/index.js +3 -3
- package/dist/react/col/index.js +3 -3
- package/dist/react/colgroup/index.js +3 -3
- package/dist/react/color-picker/index.js +19 -18
- package/dist/react/combobox/index.js +10 -10
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/date-picker/index.js +13 -12
- package/dist/react/date-time-picker/index.js +17 -16
- package/dist/react/dialog/index.js +9 -8
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +9 -8
- package/dist/react/dropdown/index.d.ts +2 -1
- package/dist/react/dropdown/index.js +5 -4
- package/dist/react/flank/index.js +3 -3
- package/dist/react/form-field/index.js +7 -7
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/grid/index.js +3 -3
- package/dist/react/icon/index.js +4 -4
- package/dist/react/icon-button/index.js +5 -5
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +243 -241
- package/dist/react/input/index.js +9 -9
- package/dist/react/intersection-observer/index.js +3 -3
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.d.ts +8 -0
- package/dist/react/menu-item/index.js +13 -6
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +9 -9
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +7 -7
- package/dist/react/optgroup/index.js +4 -4
- package/dist/react/option/index.js +5 -5
- package/dist/react/page/index.js +3 -3
- package/dist/react/page-content/index.js +4 -4
- package/dist/react/page-footer/index.js +5 -5
- package/dist/react/page-header/index.js +5 -5
- package/dist/react/page-sidebar/index.js +12 -12
- package/dist/react/panel/index.js +5 -5
- package/dist/react/popover/index.js +4 -4
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/radio/index.js +5 -5
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +9 -9
- package/dist/react/range/index.js +8 -8
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/responsive-media/index.js +3 -3
- package/dist/react/scroller/index.js +3 -3
- package/dist/react/select/index.js +11 -11
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/splitter/index.js +3 -3
- package/dist/react/splitter-pane/index.js +3 -3
- package/dist/react/stack/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +6 -6
- package/dist/react/tab-group/index.js +7 -7
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +3 -3
- package/dist/react/tag/index.js +6 -6
- package/dist/react/tbody/index.js +3 -3
- package/dist/react/td/index.js +3 -3
- package/dist/react/textarea/index.js +8 -8
- package/dist/react/th/index.js +3 -3
- package/dist/react/thead/index.js +3 -3
- package/dist/react/time-picker/index.js +13 -12
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tr/index.js +3 -3
- package/dist/react/tree/index.js +9 -9
- package/dist/react/tree-item/index.d.ts +1 -0
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/truncate/index.js +3 -3
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/react/wisp/index.js +3 -3
- package/dist/types/vue/index.d.ts +262 -243
- package/dist/vscode.html-custom-data.json +111 -96
- package/dist/web-types.json +647 -613
- package/package.json +17 -17
- package/cdn/chunks/chunk.22ZV3OLJ.js +0 -11
- package/cdn/chunks/chunk.25H7GWMS.js +0 -69
- package/cdn/chunks/chunk.2FHLU7VQ.js +0 -159
- package/cdn/chunks/chunk.2RDXMRNU.js +0 -21
- package/cdn/chunks/chunk.2SUUTJ6X.js +0 -11
- package/cdn/chunks/chunk.2SZIA4ZE.js +0 -57
- package/cdn/chunks/chunk.2UUGNVDB.js +0 -83
- package/cdn/chunks/chunk.2WQCV6V6.js +0 -21
- package/cdn/chunks/chunk.2Z6KFKX3.js +0 -98
- package/cdn/chunks/chunk.2Z6RMW7Z.js +0 -11
- package/cdn/chunks/chunk.32BQZGWS.js +0 -21
- package/cdn/chunks/chunk.34LEWHYU.js +0 -25
- package/cdn/chunks/chunk.37EO3UXY.js +0 -21
- package/cdn/chunks/chunk.3DHPLNNA.js +0 -11
- package/cdn/chunks/chunk.3EPX7F2P.js +0 -11
- package/cdn/chunks/chunk.3GBCXRX2.js +0 -26
- package/cdn/chunks/chunk.3KMAJ7XG.js +0 -11
- package/cdn/chunks/chunk.3LAQQX2L.js +0 -11
- package/cdn/chunks/chunk.3LP32N5I.js +0 -21
- package/cdn/chunks/chunk.3YGODMH5.js +0 -27
- package/cdn/chunks/chunk.44S6RX24.js +0 -21
- package/cdn/chunks/chunk.4JJSO6QX.js +0 -1994
- package/cdn/chunks/chunk.4M5UAUZL.js +0 -21
- package/cdn/chunks/chunk.4MUY4BQ4.js +0 -403
- package/cdn/chunks/chunk.4OFVPCPT.js +0 -33
- package/cdn/chunks/chunk.4Y4OWB2S.js +0 -11
- package/cdn/chunks/chunk.5BNAUIRP.js +0 -21
- package/cdn/chunks/chunk.5DNJSM5T.js +0 -232
- package/cdn/chunks/chunk.5GYOPTHP.js +0 -96
- package/cdn/chunks/chunk.5IT5OKXP.js +0 -11
- package/cdn/chunks/chunk.5J4NBXM2.js +0 -11
- package/cdn/chunks/chunk.5L5CHXO6.js +0 -11
- package/cdn/chunks/chunk.5LCBY3F6.js +0 -11
- package/cdn/chunks/chunk.5LPLDIXW.js +0 -29
- package/cdn/chunks/chunk.5OIIWFEQ.js +0 -11
- package/cdn/chunks/chunk.5Q7NT3SA.js +0 -11
- package/cdn/chunks/chunk.5RPI2JPK.js +0 -21
- package/cdn/chunks/chunk.5VWARLOF.js +0 -24
- package/cdn/chunks/chunk.5W4GFRUQ.js +0 -135
- package/cdn/chunks/chunk.63LEF4IS.js +0 -352
- package/cdn/chunks/chunk.66G27K4Y.js +0 -11
- package/cdn/chunks/chunk.6BHAT4SC.js +0 -104
- package/cdn/chunks/chunk.6JCAPUCK.js +0 -11
- package/cdn/chunks/chunk.6JISLBJU.js +0 -21
- package/cdn/chunks/chunk.6P7XSHBR.js +0 -11
- package/cdn/chunks/chunk.6SQMJTAJ.js +0 -21
- package/cdn/chunks/chunk.6SUJSFHA.js +0 -11
- package/cdn/chunks/chunk.72GIXKTB.js +0 -216
- package/cdn/chunks/chunk.734SJCM4.js +0 -11
- package/cdn/chunks/chunk.74NT3QLV.js +0 -11
- package/cdn/chunks/chunk.75DGQ3RX.js +0 -11
- package/cdn/chunks/chunk.76RM3ZRG.js +0 -28
- package/cdn/chunks/chunk.7AJ5EEI5.js +0 -11
- package/cdn/chunks/chunk.7CGLAVFV.js +0 -25
- package/cdn/chunks/chunk.7DI2BLFY.js +0 -24
- package/cdn/chunks/chunk.7DVUAIKQ.js +0 -106
- package/cdn/chunks/chunk.7F33PK3Z.js +0 -11
- package/cdn/chunks/chunk.7PRXFKAS.js +0 -11
- package/cdn/chunks/chunk.7SRISFXI.js +0 -21
- package/cdn/chunks/chunk.A2D5XH6H.js +0 -46
- package/cdn/chunks/chunk.A6AGB2WK.js +0 -36
- package/cdn/chunks/chunk.A7EJTWQY.js +0 -65
- package/cdn/chunks/chunk.AAUZ3NXL.js +0 -319
- package/cdn/chunks/chunk.AHH5XJZP.js +0 -11
- package/cdn/chunks/chunk.ALTY6PSH.js +0 -551
- package/cdn/chunks/chunk.AMCWZ52E.js +0 -75
- package/cdn/chunks/chunk.AWWHFQS5.js +0 -79
- package/cdn/chunks/chunk.B4SCPXKD.js +0 -34
- package/cdn/chunks/chunk.B5HSZCAW.js +0 -21
- package/cdn/chunks/chunk.B7GAFLVY.js +0 -11
- package/cdn/chunks/chunk.BE6P6INF.js +0 -21
- package/cdn/chunks/chunk.BTVTOIQV.js +0 -35
- package/cdn/chunks/chunk.BU5FCAIK.js +0 -21
- package/cdn/chunks/chunk.BVUE2KMT.js +0 -11
- package/cdn/chunks/chunk.BX2SPPX6.js +0 -21
- package/cdn/chunks/chunk.C2M2A75W.js +0 -315
- package/cdn/chunks/chunk.C3LUWRAR.js +0 -21
- package/cdn/chunks/chunk.C4B2MWUV.js +0 -28
- package/cdn/chunks/chunk.C6FWBTFN.js +0 -513
- package/cdn/chunks/chunk.CCNCPZVZ.js +0 -11
- package/cdn/chunks/chunk.CDXDYNYB.js +0 -25
- package/cdn/chunks/chunk.CDZOI637.js +0 -50
- package/cdn/chunks/chunk.CFPLXQXK.js +0 -11
- package/cdn/chunks/chunk.CGTNWEOR.js +0 -21
- package/cdn/chunks/chunk.CJ6HTOIQ.js +0 -158
- package/cdn/chunks/chunk.CNJTBOB4.js +0 -73
- package/cdn/chunks/chunk.D37SEFKT.js +0 -233
- package/cdn/chunks/chunk.DDTBWYSU.js +0 -21
- package/cdn/chunks/chunk.DEL5BECL.js +0 -282
- package/cdn/chunks/chunk.DHW2BV5H.js +0 -26
- package/cdn/chunks/chunk.DJ43C3MV.js +0 -11
- package/cdn/chunks/chunk.DLCO7X2W.js +0 -196
- package/cdn/chunks/chunk.DLRUNIYY.js +0 -120
- package/cdn/chunks/chunk.DMMZJANW.js +0 -11
- package/cdn/chunks/chunk.DPP4TQ7D.js +0 -11
- package/cdn/chunks/chunk.DWC53C5L.js +0 -89
- package/cdn/chunks/chunk.DYTT2QKN.js +0 -11
- package/cdn/chunks/chunk.E7ST3LJ3.js +0 -11
- package/cdn/chunks/chunk.EIEG366I.js +0 -21
- package/cdn/chunks/chunk.EINWVZAF.js +0 -649
- package/cdn/chunks/chunk.ELPXLB3Y.js +0 -21
- package/cdn/chunks/chunk.EO7UPKQ3.js +0 -186
- package/cdn/chunks/chunk.ESWPQ7KF.js +0 -26
- package/cdn/chunks/chunk.EU552KHZ.js +0 -11
- package/cdn/chunks/chunk.EX5MO3XD.js +0 -27
- package/cdn/chunks/chunk.FAOENVCY.js +0 -246
- package/cdn/chunks/chunk.FECM6FUB.js +0 -27
- package/cdn/chunks/chunk.FH2HYI5U.js +0 -11
- package/cdn/chunks/chunk.FLVSU2TJ.js +0 -11
- package/cdn/chunks/chunk.FOLJWCWX.js +0 -395
- package/cdn/chunks/chunk.FQKDUEGT.js +0 -11
- package/cdn/chunks/chunk.FT4DL54F.js +0 -11
- package/cdn/chunks/chunk.FZ2H7UQ6.js +0 -384
- package/cdn/chunks/chunk.FZA5TGMR.js +0 -21
- package/cdn/chunks/chunk.FZVQFOFB.js +0 -302
- package/cdn/chunks/chunk.G7FQLUSK.js +0 -11
- package/cdn/chunks/chunk.GAY3WVA2.js +0 -11
- package/cdn/chunks/chunk.GDGLNSF7.js +0 -27
- package/cdn/chunks/chunk.GG6BO6GY.js +0 -21
- package/cdn/chunks/chunk.GPGIWBH5.js +0 -11
- package/cdn/chunks/chunk.GX4ITGCQ.js +0 -56
- package/cdn/chunks/chunk.GZSMX564.js +0 -46
- package/cdn/chunks/chunk.H67V7AFD.js +0 -24
- package/cdn/chunks/chunk.HCAR5K65.js +0 -24
- package/cdn/chunks/chunk.HEMEXQVN.js +0 -11
- package/cdn/chunks/chunk.HFJ35RXI.js +0 -11
- package/cdn/chunks/chunk.HK4W4QWM.js +0 -11
- package/cdn/chunks/chunk.HQHT3QXN.js +0 -1919
- package/cdn/chunks/chunk.HTRVC53V.js +0 -25
- package/cdn/chunks/chunk.HVTGBHYB.js +0 -11
- package/cdn/chunks/chunk.IASESY3X.js +0 -11
- package/cdn/chunks/chunk.ID24TJVJ.js +0 -24
- package/cdn/chunks/chunk.IDWMVGKL.js +0 -77
- package/cdn/chunks/chunk.IJREEB65.js +0 -63
- package/cdn/chunks/chunk.IKRVNEXG.js +0 -11
- package/cdn/chunks/chunk.IZJAO2DG.js +0 -219
- package/cdn/chunks/chunk.JEPZVPYR.js +0 -11
- package/cdn/chunks/chunk.JFS4JNAY.js +0 -389
- package/cdn/chunks/chunk.JJSEIIYI.js +0 -29
- package/cdn/chunks/chunk.JKJUCIJ7.js +0 -11
- package/cdn/chunks/chunk.JLRMYW3V.js +0 -11
- package/cdn/chunks/chunk.JQAU7B6C.js +0 -171
- package/cdn/chunks/chunk.JREN5XLV.js +0 -21
- package/cdn/chunks/chunk.JVFPW3BN.js +0 -11
- package/cdn/chunks/chunk.JWSAL5R4.js +0 -704
- package/cdn/chunks/chunk.JZ4EWGS4.js +0 -11
- package/cdn/chunks/chunk.JZATXAFX.js +0 -42
- package/cdn/chunks/chunk.KCZXHDCL.js +0 -24
- package/cdn/chunks/chunk.KLNOLVTW.js +0 -25
- package/cdn/chunks/chunk.KYDIAWA7.js +0 -372
- package/cdn/chunks/chunk.L6QYRFUH.js +0 -21
- package/cdn/chunks/chunk.LF77GLTC.js +0 -47
- package/cdn/chunks/chunk.LL5MKJEE.js +0 -409
- package/cdn/chunks/chunk.LN6CBFCD.js +0 -404
- package/cdn/chunks/chunk.LRFXNRAF.js +0 -93
- package/cdn/chunks/chunk.LW52UNAB.js +0 -24
- package/cdn/chunks/chunk.MHKF7C5N.js +0 -26
- package/cdn/chunks/chunk.MJB65JZW.js +0 -24
- package/cdn/chunks/chunk.MKVFWN5V.js +0 -11
- package/cdn/chunks/chunk.MM63UVII.js +0 -69
- package/cdn/chunks/chunk.MNKL7IY3.js +0 -24
- package/cdn/chunks/chunk.MQGSBU43.js +0 -128
- package/cdn/chunks/chunk.MR4W5AYT.js +0 -11
- package/cdn/chunks/chunk.MY4M6QYS.js +0 -11
- package/cdn/chunks/chunk.MYTVTTZ6.js +0 -11
- package/cdn/chunks/chunk.N5I2TY4B.js +0 -11
- package/cdn/chunks/chunk.N65PAPZL.js +0 -11
- package/cdn/chunks/chunk.N7ELYVZB.js +0 -11
- package/cdn/chunks/chunk.NB7ULH2J.js +0 -829
- package/cdn/chunks/chunk.NBJ2FIUP.js +0 -11
- package/cdn/chunks/chunk.NJVIC7RG.js +0 -24
- package/cdn/chunks/chunk.NQS7LIUF.js +0 -30
- package/cdn/chunks/chunk.NSTC6XHU.js +0 -24
- package/cdn/chunks/chunk.NUEKR7LS.js +0 -24
- package/cdn/chunks/chunk.NWFQDCT7.js +0 -11
- package/cdn/chunks/chunk.NWLRWIBO.js +0 -11
- package/cdn/chunks/chunk.NYKP6AXO.js +0 -11
- package/cdn/chunks/chunk.NZQVURJM.js +0 -25
- package/cdn/chunks/chunk.O6Z2W2AT.js +0 -35
- package/cdn/chunks/chunk.OFRJTVPD.js +0 -356
- package/cdn/chunks/chunk.OLVUCYCS.js +0 -26
- package/cdn/chunks/chunk.OXV3DOE5.js +0 -11
- package/cdn/chunks/chunk.OZUUIV2M.js +0 -131
- package/cdn/chunks/chunk.P4P4WB2O.js +0 -24
- package/cdn/chunks/chunk.PDJQXGCF.js +0 -145
- package/cdn/chunks/chunk.PE35AYSD.js +0 -24
- package/cdn/chunks/chunk.PF5PV5E3.js +0 -214
- package/cdn/chunks/chunk.PFTLMVR6.js +0 -11
- package/cdn/chunks/chunk.PIKDSPGQ.js +0 -11
- package/cdn/chunks/chunk.PISWVBUL.js +0 -25
- package/cdn/chunks/chunk.PJAWRTU6.js +0 -29
- package/cdn/chunks/chunk.PJZ53DYB.js +0 -21
- package/cdn/chunks/chunk.PLZIG2PX.js +0 -21
- package/cdn/chunks/chunk.PRN5KXWH.js +0 -64
- package/cdn/chunks/chunk.PTQIR7EX.js +0 -356
- package/cdn/chunks/chunk.PUQIHNDR.js +0 -11
- package/cdn/chunks/chunk.Q6SMJZRB.js +0 -21
- package/cdn/chunks/chunk.QBCXKEVD.js +0 -11
- package/cdn/chunks/chunk.QJXYRLT4.js +0 -405
- package/cdn/chunks/chunk.QN64W3AC.js +0 -11
- package/cdn/chunks/chunk.R4XRUBAE.js +0 -21
- package/cdn/chunks/chunk.R6HKNRFO.js +0 -25
- package/cdn/chunks/chunk.R7B3TA7C.js +0 -27
- package/cdn/chunks/chunk.RBG63JKW.js +0 -11
- package/cdn/chunks/chunk.REA5RX5M.js +0 -67
- package/cdn/chunks/chunk.RGI76OGY.js +0 -516
- package/cdn/chunks/chunk.RLAXH735.js +0 -11
- package/cdn/chunks/chunk.RLUICSLN.js +0 -291
- package/cdn/chunks/chunk.RTKRKV6A.js +0 -11
- package/cdn/chunks/chunk.RTO3CFO4.js +0 -24
- package/cdn/chunks/chunk.RXKST22B.js +0 -973
- package/cdn/chunks/chunk.S3QJ4DZ6.js +0 -62
- package/cdn/chunks/chunk.SAAYTKUC.js +0 -11
- package/cdn/chunks/chunk.SEJKREPO.js +0 -21
- package/cdn/chunks/chunk.SEV5MMEO.js +0 -21
- package/cdn/chunks/chunk.SI7NOFC3.js +0 -27
- package/cdn/chunks/chunk.SLE4CXI7.js +0 -38
- package/cdn/chunks/chunk.SPYO7CHG.js +0 -82
- package/cdn/chunks/chunk.STTKZCN2.js +0 -103
- package/cdn/chunks/chunk.SUOZOQMO.js +0 -87
- package/cdn/chunks/chunk.SWSMZ5UY.js +0 -11
- package/cdn/chunks/chunk.TBTZA6R3.js +0 -21
- package/cdn/chunks/chunk.TD2ZKOLB.js +0 -79
- package/cdn/chunks/chunk.TG63YMMH.js +0 -24
- package/cdn/chunks/chunk.TJJL6FAM.js +0 -21
- package/cdn/chunks/chunk.TJKRYM5E.js +0 -128
- package/cdn/chunks/chunk.TJMNBWN7.js +0 -11
- package/cdn/chunks/chunk.TKIGBPJ3.js +0 -27
- package/cdn/chunks/chunk.TMR3C6R2.js +0 -11
- package/cdn/chunks/chunk.TYHGXCUE.js +0 -21
- package/cdn/chunks/chunk.UA46L6ES.js +0 -11
- package/cdn/chunks/chunk.UEDH4746.js +0 -24
- package/cdn/chunks/chunk.USYIIOFD.js +0 -11
- package/cdn/chunks/chunk.V3H6IC2Q.js +0 -21
- package/cdn/chunks/chunk.V5FJAOXI.js +0 -24
- package/cdn/chunks/chunk.VCA4EQ2X.js +0 -276
- package/cdn/chunks/chunk.VFWRGMZA.js +0 -21
- package/cdn/chunks/chunk.VGQ2DWPR.js +0 -11
- package/cdn/chunks/chunk.VHKRGKH7.js +0 -25
- package/cdn/chunks/chunk.VHZWOD3O.js +0 -11
- package/cdn/chunks/chunk.VKLADJ3Z.js +0 -27
- package/cdn/chunks/chunk.VM3NODXQ.js +0 -135
- package/cdn/chunks/chunk.VRZBG2SI.js +0 -28
- package/cdn/chunks/chunk.VULPSIFX.js +0 -28
- package/cdn/chunks/chunk.W373ZVWZ.js +0 -36
- package/cdn/chunks/chunk.W3L4SB7N.js +0 -11
- package/cdn/chunks/chunk.W3ZT32RL.js +0 -122
- package/cdn/chunks/chunk.W6OKISHB.js +0 -11
- package/cdn/chunks/chunk.WGK3BPDN.js +0 -839
- package/cdn/chunks/chunk.WNXE5YVH.js +0 -203
- package/cdn/chunks/chunk.WRPD3GP7.js +0 -11
- package/cdn/chunks/chunk.X37G3OJI.js +0 -11
- package/cdn/chunks/chunk.XE3AWAOD.js +0 -126
- package/cdn/chunks/chunk.XGHPX4WY.js +0 -24
- package/cdn/chunks/chunk.XKMDPFV4.js +0 -341
- package/cdn/chunks/chunk.XSZAF3QC.js +0 -391
- package/cdn/chunks/chunk.XVN4E4K7.js +0 -26
- package/cdn/chunks/chunk.XWGUVCRF.js +0 -21
- package/cdn/chunks/chunk.YESK2LKX.js +0 -11
- package/cdn/chunks/chunk.YICVLDDV.js +0 -365
- package/cdn/chunks/chunk.YQUYBO2U.js +0 -11
- package/cdn/chunks/chunk.YRDABYHC.js +0 -11
- package/cdn/chunks/chunk.YSCKJH6V.js +0 -11
- package/cdn/chunks/chunk.ZICVWGUR.js +0 -88
- package/cdn/chunks/chunk.ZIL2A5MQ.js +0 -21
- package/cdn/chunks/chunk.ZJHPWVG3.js +0 -21
- package/cdn/chunks/chunk.ZLMBSIFT.js +0 -113
- package/cdn/chunks/chunk.ZMGZ7DJW.js +0 -144
- package/cdn/chunks/chunk.ZN3ERVMB.js +0 -21
- package/cdn/chunks/chunk.ZOBQDSMG.js +0 -21
- package/cdn/chunks/chunk.ZOIVUFNK.js +0 -64
- package/cdn/chunks/chunk.ZRFVXZ75.js +0 -49
- package/cdn/chunks/chunk.ZSZSEZBD.js +0 -28
- package/cdn/chunks/chunk.ZWGUX67H.js +0 -26
- package/cdn/chunks/chunk.ZXEWZ4QW.js +0 -11
- package/cdn/chunks/chunk.ZYZSE7BL.js +0 -314
- package/dist/chunks/chunk.27MXIOJX.js +0 -21
- package/dist/chunks/chunk.2CJ4ZI3V.js +0 -100
- package/dist/chunks/chunk.2IQBJYT3.js +0 -24
- package/dist/chunks/chunk.2RRHSBLO.js +0 -11
- package/dist/chunks/chunk.2SLBDD7L.js +0 -11
- package/dist/chunks/chunk.2WXWH4YE.js +0 -309
- package/dist/chunks/chunk.2XPKE32A.js +0 -26
- package/dist/chunks/chunk.37PR6M6K.js +0 -378
- package/dist/chunks/chunk.3OP5PXLI.js +0 -21
- package/dist/chunks/chunk.3SM4RHPR.js +0 -75
- package/dist/chunks/chunk.3VPVSAOH.js +0 -11
- package/dist/chunks/chunk.3X3A6K42.js +0 -27
- package/dist/chunks/chunk.3X5PTD5P.js +0 -22
- package/dist/chunks/chunk.3XZFSXFJ.js +0 -11
- package/dist/chunks/chunk.46UUOIQ5.js +0 -193
- package/dist/chunks/chunk.4AUKDSHD.js +0 -21
- package/dist/chunks/chunk.4FNFYNT5.js +0 -11
- package/dist/chunks/chunk.4G3TNIBO.js +0 -11
- package/dist/chunks/chunk.4J4YZDFY.js +0 -36
- package/dist/chunks/chunk.4JWHICGI.js +0 -365
- package/dist/chunks/chunk.4RLSTLZ5.js +0 -90
- package/dist/chunks/chunk.4VBFSRY6.js +0 -83
- package/dist/chunks/chunk.52BUGJEJ.js +0 -137
- package/dist/chunks/chunk.53Q7J2MB.js +0 -506
- package/dist/chunks/chunk.547B4NVM.js +0 -21
- package/dist/chunks/chunk.56CK7K7I.js +0 -78
- package/dist/chunks/chunk.57HBFNVE.js +0 -541
- package/dist/chunks/chunk.5EJ7BNVM.js +0 -11
- package/dist/chunks/chunk.5KOCA62M.js +0 -506
- package/dist/chunks/chunk.5O3YKWJG.js +0 -696
- package/dist/chunks/chunk.5X4QLIFP.js +0 -93
- package/dist/chunks/chunk.5YIAHVJB.js +0 -11
- package/dist/chunks/chunk.65E2SJTI.js +0 -22
- package/dist/chunks/chunk.65NKFBXU.js +0 -25
- package/dist/chunks/chunk.6BZL37OU.js +0 -34
- package/dist/chunks/chunk.6DBJN2VR.js +0 -11
- package/dist/chunks/chunk.6HDSXISF.js +0 -11
- package/dist/chunks/chunk.6L3ZI4SK.js +0 -11
- package/dist/chunks/chunk.6TQFKHBF.js +0 -417
- package/dist/chunks/chunk.6TQY3VQ7.js +0 -60
- package/dist/chunks/chunk.6WB5XZE3.js +0 -103
- package/dist/chunks/chunk.6WSRYQLB.js +0 -311
- package/dist/chunks/chunk.6Z4WARB4.js +0 -29
- package/dist/chunks/chunk.6ZS2ZHHC.js +0 -67
- package/dist/chunks/chunk.74WJGCVQ.js +0 -11
- package/dist/chunks/chunk.76D4BGFZ.js +0 -11
- package/dist/chunks/chunk.77FAAX35.js +0 -42
- package/dist/chunks/chunk.7SPHDYRR.js +0 -21
- package/dist/chunks/chunk.7UJYNLWR.js +0 -11
- package/dist/chunks/chunk.A4C2KUTG.js +0 -11
- package/dist/chunks/chunk.A5RSH3YI.js +0 -26
- package/dist/chunks/chunk.A7DJV5ND.js +0 -11
- package/dist/chunks/chunk.A7X6SOYR.js +0 -11
- package/dist/chunks/chunk.AGQFWVSZ.js +0 -93
- package/dist/chunks/chunk.AJMHTDT6.js +0 -197
- package/dist/chunks/chunk.ALFM3CKP.js +0 -11
- package/dist/chunks/chunk.AR2AVLDU.js +0 -386
- package/dist/chunks/chunk.AXUODNUK.js +0 -29
- package/dist/chunks/chunk.B2TAKFCH.js +0 -11
- package/dist/chunks/chunk.B552LY7M.js +0 -28
- package/dist/chunks/chunk.BBNCHI5W.js +0 -11
- package/dist/chunks/chunk.BGQ5XEEL.js +0 -270
- package/dist/chunks/chunk.BGZUIBDF.js +0 -28
- package/dist/chunks/chunk.BIRQF5RB.js +0 -11
- package/dist/chunks/chunk.BNCDULWT.js +0 -63
- package/dist/chunks/chunk.BOLOACCM.js +0 -181
- package/dist/chunks/chunk.BP6V4OD4.js +0 -73
- package/dist/chunks/chunk.BSTDTHXF.js +0 -11
- package/dist/chunks/chunk.BTZBRVRY.js +0 -24
- package/dist/chunks/chunk.BV6HZXLF.js +0 -111
- package/dist/chunks/chunk.BY6KMGSL.js +0 -11
- package/dist/chunks/chunk.C3GTKR54.js +0 -153
- package/dist/chunks/chunk.C6575W5D.js +0 -11
- package/dist/chunks/chunk.CCXNHOLZ.js +0 -63
- package/dist/chunks/chunk.CDTCTOEY.js +0 -27
- package/dist/chunks/chunk.CEE7EUCB.js +0 -67
- package/dist/chunks/chunk.CH2HLJH4.js +0 -100
- package/dist/chunks/chunk.CH3HSHSP.js +0 -21
- package/dist/chunks/chunk.CHI5VUB5.js +0 -45
- package/dist/chunks/chunk.CRVXVRG3.js +0 -11
- package/dist/chunks/chunk.CS4PQLV5.js +0 -11
- package/dist/chunks/chunk.D4VJEVW4.js +0 -11
- package/dist/chunks/chunk.D5Y3BLSJ.js +0 -28
- package/dist/chunks/chunk.D7KVRNXI.js +0 -61
- package/dist/chunks/chunk.DHBNRVCX.js +0 -11
- package/dist/chunks/chunk.DHF2AXD5.js +0 -11
- package/dist/chunks/chunk.DHSYHEQM.js +0 -75
- package/dist/chunks/chunk.DKJDA4CK.js +0 -27
- package/dist/chunks/chunk.DQ3R7DDN.js +0 -33
- package/dist/chunks/chunk.DU2RAVJH.js +0 -80
- package/dist/chunks/chunk.E5YGMIFC.js +0 -24
- package/dist/chunks/chunk.E7FI67AB.js +0 -27
- package/dist/chunks/chunk.EHHYJJU4.js +0 -11
- package/dist/chunks/chunk.ELLTOSBH.js +0 -11
- package/dist/chunks/chunk.EQY4KDDZ.js +0 -60
- package/dist/chunks/chunk.EVQBOG7G.js +0 -11
- package/dist/chunks/chunk.F27AZWCC.js +0 -11
- package/dist/chunks/chunk.F44DPANS.js +0 -21
- package/dist/chunks/chunk.F4ENLVN5.js +0 -22
- package/dist/chunks/chunk.FDGGO2AJ.js +0 -25
- package/dist/chunks/chunk.FWU7TMYX.js +0 -24
- package/dist/chunks/chunk.FYEL43RE.js +0 -21
- package/dist/chunks/chunk.FYXLI5ZN.js +0 -11
- package/dist/chunks/chunk.G444DORH.js +0 -11
- package/dist/chunks/chunk.GA2W2WYU.js +0 -26
- package/dist/chunks/chunk.GCO4DDCG.js +0 -21
- package/dist/chunks/chunk.GLAOFNOA.js +0 -45
- package/dist/chunks/chunk.GLFU5P7T.js +0 -11
- package/dist/chunks/chunk.GOFJDI7L.js +0 -26
- package/dist/chunks/chunk.GVRGXUKT.js +0 -122
- package/dist/chunks/chunk.GZ3XUJIR.js +0 -27
- package/dist/chunks/chunk.H2TKBKWN.js +0 -295
- package/dist/chunks/chunk.HAUNUTXS.js +0 -21
- package/dist/chunks/chunk.HDRPFA24.js +0 -11
- package/dist/chunks/chunk.HE5IJX7Y.js +0 -28
- package/dist/chunks/chunk.HFPZPLHY.js +0 -11
- package/dist/chunks/chunk.HKIM3MYC.js +0 -11
- package/dist/chunks/chunk.HPBKWFEL.js +0 -21
- package/dist/chunks/chunk.HQQAOTGA.js +0 -150
- package/dist/chunks/chunk.HWXLBUN4.js +0 -11
- package/dist/chunks/chunk.I4N2ID2E.js +0 -24
- package/dist/chunks/chunk.IAJRLXOV.js +0 -11
- package/dist/chunks/chunk.IFXKUNW4.js +0 -24
- package/dist/chunks/chunk.IIVOO27T.js +0 -21
- package/dist/chunks/chunk.ILLDTHEJ.js +0 -382
- package/dist/chunks/chunk.ITVBRW3O.js +0 -165
- package/dist/chunks/chunk.IUREL3IB.js +0 -11
- package/dist/chunks/chunk.IXDHDXEH.js +0 -25
- package/dist/chunks/chunk.JFLZ5L4V.js +0 -75
- package/dist/chunks/chunk.JKK3Y4Y6.js +0 -24
- package/dist/chunks/chunk.JLSEDCGZ.js +0 -11
- package/dist/chunks/chunk.JP6PGGHF.js +0 -30
- package/dist/chunks/chunk.JS73YJP2.js +0 -11
- package/dist/chunks/chunk.K3INAE5F.js +0 -11
- package/dist/chunks/chunk.K6LJ5UGY.js +0 -21
- package/dist/chunks/chunk.K7UF4MJA.js +0 -831
- package/dist/chunks/chunk.KEHOB5JP.js +0 -11
- package/dist/chunks/chunk.KHNFU44G.js +0 -27
- package/dist/chunks/chunk.KNZH6HJT.js +0 -115
- package/dist/chunks/chunk.KTYMETJC.js +0 -11
- package/dist/chunks/chunk.KX4UXHNG.js +0 -11
- package/dist/chunks/chunk.L3BQBXBR.js +0 -385
- package/dist/chunks/chunk.LIAV2NZY.js +0 -21
- package/dist/chunks/chunk.LMHV54OF.js +0 -343
- package/dist/chunks/chunk.LMNRSNPK.js +0 -11
- package/dist/chunks/chunk.LN5VVDPO.js +0 -21
- package/dist/chunks/chunk.LQHJY7KA.js +0 -28
- package/dist/chunks/chunk.LREKHAQE.js +0 -35
- package/dist/chunks/chunk.LRJTTJGV.js +0 -25
- package/dist/chunks/chunk.LSBDPG6S.js +0 -21
- package/dist/chunks/chunk.LTPXTRZ6.js +0 -11
- package/dist/chunks/chunk.LTRUFECA.js +0 -11
- package/dist/chunks/chunk.LYURAPUE.js +0 -11
- package/dist/chunks/chunk.LYW5ZAXU.js +0 -25
- package/dist/chunks/chunk.MARPFEZQ.js +0 -135
- package/dist/chunks/chunk.MENOQGT6.js +0 -44
- package/dist/chunks/chunk.MJXO5GBB.js +0 -11
- package/dist/chunks/chunk.MYZVV3LC.js +0 -21
- package/dist/chunks/chunk.MZD7FL4U.js +0 -11
- package/dist/chunks/chunk.NKO4J3HA.js +0 -11
- package/dist/chunks/chunk.NLZWU4E5.js +0 -21
- package/dist/chunks/chunk.NMSZYUPP.js +0 -21
- package/dist/chunks/chunk.NQ3WKMCO.js +0 -11
- package/dist/chunks/chunk.NSHFQR6T.js +0 -11
- package/dist/chunks/chunk.NW4XABCV.js +0 -21
- package/dist/chunks/chunk.NWU7TCHE.js +0 -62
- package/dist/chunks/chunk.NXX7JVX5.js +0 -953
- package/dist/chunks/chunk.NZHO5RZN.js +0 -821
- package/dist/chunks/chunk.O4JPQ63V.js +0 -21
- package/dist/chunks/chunk.OAUH4KDB.js +0 -11
- package/dist/chunks/chunk.OBX77OLI.js +0 -11
- package/dist/chunks/chunk.OCH3G4UL.js +0 -11
- package/dist/chunks/chunk.OH5SDN4X.js +0 -406
- package/dist/chunks/chunk.OHDJZSRE.js +0 -65
- package/dist/chunks/chunk.OSIWDOTV.js +0 -11
- package/dist/chunks/chunk.OYP624AH.js +0 -29
- package/dist/chunks/chunk.OZ7HYLOY.js +0 -11
- package/dist/chunks/chunk.P2CZQF37.js +0 -87
- package/dist/chunks/chunk.P2TX544Z.js +0 -11
- package/dist/chunks/chunk.P4WDNVKM.js +0 -33
- package/dist/chunks/chunk.P6CNWS2X.js +0 -22
- package/dist/chunks/chunk.P6UTBIVN.js +0 -11
- package/dist/chunks/chunk.PF3YZG5X.js +0 -11
- package/dist/chunks/chunk.PH6HHJHR.js +0 -53
- package/dist/chunks/chunk.PKOQWQS6.js +0 -967
- package/dist/chunks/chunk.PKQHI7OI.js +0 -211
- package/dist/chunks/chunk.POIP724Q.js +0 -11
- package/dist/chunks/chunk.PR26BOGR.js +0 -21
- package/dist/chunks/chunk.PTT6C4ZH.js +0 -50
- package/dist/chunks/chunk.PYXJVHCO.js +0 -25
- package/dist/chunks/chunk.PZHIKOV5.js +0 -11
- package/dist/chunks/chunk.Q37FUTZW.js +0 -21
- package/dist/chunks/chunk.QCMFRQ3B.js +0 -11
- package/dist/chunks/chunk.QKI5VCJ7.js +0 -21
- package/dist/chunks/chunk.QKX6AHUC.js +0 -11
- package/dist/chunks/chunk.QLLZCRE5.js +0 -11
- package/dist/chunks/chunk.QNHF3CAM.js +0 -222
- package/dist/chunks/chunk.QRHN5YYG.js +0 -227
- package/dist/chunks/chunk.QYVAXVWW.js +0 -21
- package/dist/chunks/chunk.R3LQQCTP.js +0 -11
- package/dist/chunks/chunk.R72ER2JG.js +0 -27
- package/dist/chunks/chunk.REHHQ3WZ.js +0 -277
- package/dist/chunks/chunk.RI6FB5F3.js +0 -11
- package/dist/chunks/chunk.RKSRDJFL.js +0 -11
- package/dist/chunks/chunk.RMNQH2IM.js +0 -34
- package/dist/chunks/chunk.RQIWOQWX.js +0 -11
- package/dist/chunks/chunk.RZNQFSST.js +0 -21
- package/dist/chunks/chunk.S22WQFML.js +0 -11
- package/dist/chunks/chunk.S27HDV3M.js +0 -24
- package/dist/chunks/chunk.S3DI5YJG.js +0 -21
- package/dist/chunks/chunk.SBJEZPOI.js +0 -11
- package/dist/chunks/chunk.STF25O2Q.js +0 -347
- package/dist/chunks/chunk.SVT2Y7HI.js +0 -24
- package/dist/chunks/chunk.SWYH7GC7.js +0 -26
- package/dist/chunks/chunk.T2B7GM6S.js +0 -27
- package/dist/chunks/chunk.TD3EVD2D.js +0 -353
- package/dist/chunks/chunk.TEG3NMSC.js +0 -21
- package/dist/chunks/chunk.TH2KU34L.js +0 -133
- package/dist/chunks/chunk.TIJ4YQQT.js +0 -11
- package/dist/chunks/chunk.TNPKZ56J.js +0 -398
- package/dist/chunks/chunk.TPKFAGQD.js +0 -123
- package/dist/chunks/chunk.TRGSZOSQ.js +0 -21
- package/dist/chunks/chunk.TRXEE7OI.js +0 -22
- package/dist/chunks/chunk.TU727M5D.js +0 -211
- package/dist/chunks/chunk.TWSG4PHX.js +0 -21
- package/dist/chunks/chunk.UAEIA77R.js +0 -21
- package/dist/chunks/chunk.UD3L6HCV.js +0 -310
- package/dist/chunks/chunk.UEKNX43G.js +0 -11
- package/dist/chunks/chunk.UGSAUKVP.js +0 -21
- package/dist/chunks/chunk.UHEZD2X2.js +0 -52
- package/dist/chunks/chunk.UO7AS5PI.js +0 -21
- package/dist/chunks/chunk.UYANZUW6.js +0 -11
- package/dist/chunks/chunk.V3DT3DTR.js +0 -11
- package/dist/chunks/chunk.V5WXA6OP.js +0 -121
- package/dist/chunks/chunk.VBHBREE2.js +0 -21
- package/dist/chunks/chunk.VIZNYI7O.js +0 -25
- package/dist/chunks/chunk.VNS27UMD.js +0 -25
- package/dist/chunks/chunk.VS47G22O.js +0 -24
- package/dist/chunks/chunk.VTBQM7Z3.js +0 -30
- package/dist/chunks/chunk.VX42KMPN.js +0 -396
- package/dist/chunks/chunk.W3OMBOW2.js +0 -21
- package/dist/chunks/chunk.WAY5ESBF.js +0 -85
- package/dist/chunks/chunk.WCOLTKOH.js +0 -24
- package/dist/chunks/chunk.WJUETGW7.js +0 -24
- package/dist/chunks/chunk.WLTZV7RD.js +0 -11
- package/dist/chunks/chunk.WOPWG5CD.js +0 -26
- package/dist/chunks/chunk.WP6RCTRY.js +0 -21
- package/dist/chunks/chunk.WW2K7DR4.js +0 -26
- package/dist/chunks/chunk.X7MULZTQ.js +0 -395
- package/dist/chunks/chunk.XCPBLQTM.js +0 -21
- package/dist/chunks/chunk.XM55FVCG.js +0 -21
- package/dist/chunks/chunk.XMFMYM7G.js +0 -320
- package/dist/chunks/chunk.XUPPVUDW.js +0 -11
- package/dist/chunks/chunk.XWEJVBBZ.js +0 -24
- package/dist/chunks/chunk.Y5KTSOE5.js +0 -21
- package/dist/chunks/chunk.YCXVLBDO.js +0 -92
- package/dist/chunks/chunk.YFQM2P5F.js +0 -645
- package/dist/chunks/chunk.YHM5R4GT.js +0 -11
- package/dist/chunks/chunk.YKKLLOPZ.js +0 -11
- package/dist/chunks/chunk.YLGIA3OR.js +0 -118
- package/dist/chunks/chunk.YMM6Q5CH.js +0 -11
- package/dist/chunks/chunk.YMTE52V6.js +0 -11
- package/dist/chunks/chunk.YS66OICV.js +0 -24
- package/dist/chunks/chunk.YTVKMDM6.js +0 -44
- package/dist/chunks/chunk.YW2N7NNX.js +0 -11
- package/dist/chunks/chunk.YYCUUGS3.js +0 -21
- package/dist/chunks/chunk.YZSWN6XV.js +0 -136
- package/dist/chunks/chunk.Z2PJCEC5.js +0 -123
- package/dist/chunks/chunk.Z3HCO5F4.js +0 -25
- package/dist/chunks/chunk.Z56PKERW.js +0 -11
- package/dist/chunks/chunk.Z7DWQ7YF.js +0 -11
- package/dist/chunks/chunk.ZF33HI2E.js +0 -11
- package/dist/chunks/chunk.ZLXQ3L7B.js +0 -285
- package/dist/chunks/chunk.ZOB5YGIN.js +0 -241
- package/dist/chunks/chunk.ZVZ5LPOF.js +0 -21
- package/dist/chunks/chunk.ZY3PTP5Q.js +0 -359
|
@@ -1,1994 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LynkVisuallyHidden
|
|
3
|
-
} from "./chunk.MNKL7IY3.js";
|
|
4
|
-
import {
|
|
5
|
-
drag
|
|
6
|
-
} from "./chunk.A4SOQOK5.js";
|
|
7
|
-
import {
|
|
8
|
-
o as o2
|
|
9
|
-
} from "./chunk.MP5HJB22.js";
|
|
10
|
-
import {
|
|
11
|
-
clamp
|
|
12
|
-
} from "./chunk.HF7GESMZ.js";
|
|
13
|
-
import {
|
|
14
|
-
LynkInput
|
|
15
|
-
} from "./chunk.RGI76OGY.js";
|
|
16
|
-
import {
|
|
17
|
-
LynkDropdown
|
|
18
|
-
} from "./chunk.KYDIAWA7.js";
|
|
19
|
-
import {
|
|
20
|
-
color_picker_styles_default
|
|
21
|
-
} from "./chunk.O4QM72L7.js";
|
|
22
|
-
import {
|
|
23
|
-
defaultValue
|
|
24
|
-
} from "./chunk.74D2ZUAN.js";
|
|
25
|
-
import {
|
|
26
|
-
LynkButtonGroup
|
|
27
|
-
} from "./chunk.6BHAT4SC.js";
|
|
28
|
-
import {
|
|
29
|
-
LynkButton
|
|
30
|
-
} from "./chunk.PTQIR7EX.js";
|
|
31
|
-
import {
|
|
32
|
-
FormControlController
|
|
33
|
-
} from "./chunk.2LNQMRJE.js";
|
|
34
|
-
import {
|
|
35
|
-
LocalizeController
|
|
36
|
-
} from "./chunk.VS2OBD6I.js";
|
|
37
|
-
import {
|
|
38
|
-
LynkIcon
|
|
39
|
-
} from "./chunk.EO7UPKQ3.js";
|
|
40
|
-
import {
|
|
41
|
-
o
|
|
42
|
-
} from "./chunk.XQGSWNOO.js";
|
|
43
|
-
import {
|
|
44
|
-
watch
|
|
45
|
-
} from "./chunk.RB5L7E7Z.js";
|
|
46
|
-
import {
|
|
47
|
-
e
|
|
48
|
-
} from "./chunk.BB43Q4ZV.js";
|
|
49
|
-
import {
|
|
50
|
-
LynkElement,
|
|
51
|
-
e as e2,
|
|
52
|
-
n,
|
|
53
|
-
r,
|
|
54
|
-
t
|
|
55
|
-
} from "./chunk.IZJAO2DG.js";
|
|
56
|
-
import {
|
|
57
|
-
component_styles_default
|
|
58
|
-
} from "./chunk.ADWNFIQR.js";
|
|
59
|
-
import {
|
|
60
|
-
x
|
|
61
|
-
} from "./chunk.BW3AXSF6.js";
|
|
62
|
-
import {
|
|
63
|
-
__decorateClass,
|
|
64
|
-
__spreadValues
|
|
65
|
-
} from "./chunk.QIOX6AG5.js";
|
|
66
|
-
|
|
67
|
-
// node_modules/.pnpm/@ctrl+tinycolor@4.2.0/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/.pnpm/@ctrl+tinycolor@4.2.0/node_modules/@ctrl/tinycolor/dist/module/conversion.js
|
|
114
|
-
function rgbToRgb(r2, g, b) {
|
|
115
|
-
return {
|
|
116
|
-
r: bound01(r2, 255) * 255,
|
|
117
|
-
g: bound01(g, 255) * 255,
|
|
118
|
-
b: bound01(b, 255) * 255
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
function rgbToHsl(r2, g, b) {
|
|
122
|
-
r2 = bound01(r2, 255);
|
|
123
|
-
g = bound01(g, 255);
|
|
124
|
-
b = bound01(b, 255);
|
|
125
|
-
const max = Math.max(r2, g, b);
|
|
126
|
-
const min = Math.min(r2, g, b);
|
|
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 - b) / d + (g < b ? 6 : 0);
|
|
139
|
-
break;
|
|
140
|
-
case g:
|
|
141
|
-
h = (b - r2) / d + 2;
|
|
142
|
-
break;
|
|
143
|
-
case b:
|
|
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 b;
|
|
175
|
-
h = bound01(h, 360);
|
|
176
|
-
s = bound01(s, 100);
|
|
177
|
-
l = bound01(l, 100);
|
|
178
|
-
if (s === 0) {
|
|
179
|
-
g = l;
|
|
180
|
-
b = 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
|
-
b = hue2rgb(p, q, h - 1 / 3);
|
|
188
|
-
}
|
|
189
|
-
return { r: r2 * 255, g: g * 255, b: b * 255 };
|
|
190
|
-
}
|
|
191
|
-
function rgbToHsv(r2, g, b) {
|
|
192
|
-
r2 = bound01(r2, 255);
|
|
193
|
-
g = bound01(g, 255);
|
|
194
|
-
b = bound01(b, 255);
|
|
195
|
-
const max = Math.max(r2, g, b);
|
|
196
|
-
const min = Math.min(r2, g, b);
|
|
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 - b) / d + (g < b ? 6 : 0);
|
|
207
|
-
break;
|
|
208
|
-
case g:
|
|
209
|
-
h = (b - r2) / d + 2;
|
|
210
|
-
break;
|
|
211
|
-
case b:
|
|
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 b = [p, p, t2, v, v, q][mod];
|
|
234
|
-
return { r: r2 * 255, g: g * 255, b: b * 255 };
|
|
235
|
-
}
|
|
236
|
-
function rgbToHex(r2, g, b, allow3Char) {
|
|
237
|
-
const hex = [
|
|
238
|
-
pad2(Math.round(r2).toString(16)),
|
|
239
|
-
pad2(Math.round(g).toString(16)),
|
|
240
|
-
pad2(Math.round(b).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, b, a, allow4Char) {
|
|
248
|
-
const hex = [
|
|
249
|
-
pad2(Math.round(r2).toString(16)),
|
|
250
|
-
pad2(Math.round(g).toString(16)),
|
|
251
|
-
pad2(Math.round(b).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 b = 255 * (1 - yConv) * (1 - kConv);
|
|
267
|
-
return { r: r2, g, b };
|
|
268
|
-
}
|
|
269
|
-
function rgbToCmyk(r2, g, b) {
|
|
270
|
-
let c = 1 - r2 / 255;
|
|
271
|
-
let m = 1 - g / 255;
|
|
272
|
-
let y = 1 - b / 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/.pnpm/@ctrl+tinycolor@4.2.0/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/.pnpm/@ctrl+tinycolor@4.2.0/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/.pnpm/@ctrl+tinycolor@4.2.0/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 b = Math.round(this.b);
|
|
807
|
-
return this.a === 1 ? `rgb(${r2}, ${g}, ${b})` : `rgba(${r2}, ${g}, ${b}, ${this.roundA})`;
|
|
808
|
-
}
|
|
809
|
-
/**
|
|
810
|
-
* Returns the object as a RGBA object.
|
|
811
|
-
*/
|
|
812
|
-
toPercentageRgb() {
|
|
813
|
-
const fmt = (x2) => `${Math.round(bound01(x2, 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 = (x2) => Math.round(bound01(x2, 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 LynkColorPicker = class extends LynkElement {
|
|
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.swatchesOnly = false;
|
|
1127
|
-
this.form = "";
|
|
1128
|
-
this.required = false;
|
|
1129
|
-
this.handleFocusIn = () => {
|
|
1130
|
-
this.hasFocus = true;
|
|
1131
|
-
this.emit("ev-focus");
|
|
1132
|
-
};
|
|
1133
|
-
this.handleFocusOut = () => {
|
|
1134
|
-
this.hasFocus = false;
|
|
1135
|
-
this.emit("ev-blur");
|
|
1136
|
-
};
|
|
1137
|
-
this.addEventListener("focusin", this.handleFocusIn);
|
|
1138
|
-
this.addEventListener("focusout", this.handleFocusOut);
|
|
1139
|
-
}
|
|
1140
|
-
/** Gets the validity state object */
|
|
1141
|
-
get validity() {
|
|
1142
|
-
return this.input.validity;
|
|
1143
|
-
}
|
|
1144
|
-
/** Gets the validation message */
|
|
1145
|
-
get validationMessage() {
|
|
1146
|
-
return this.input.validationMessage;
|
|
1147
|
-
}
|
|
1148
|
-
firstUpdated() {
|
|
1149
|
-
this.input.updateComplete.then(() => {
|
|
1150
|
-
this.formControlController.updateValidity();
|
|
1151
|
-
});
|
|
1152
|
-
}
|
|
1153
|
-
handleCopy() {
|
|
1154
|
-
this.input.select();
|
|
1155
|
-
document.execCommand("copy");
|
|
1156
|
-
this.previewButton.focus();
|
|
1157
|
-
this.previewButton.classList.add("color-picker__preview-color--copied");
|
|
1158
|
-
this.previewButton.addEventListener("animationend", () => {
|
|
1159
|
-
this.previewButton.classList.remove("color-picker__preview-color--copied");
|
|
1160
|
-
});
|
|
1161
|
-
}
|
|
1162
|
-
handleFormatToggle() {
|
|
1163
|
-
const formats = ["hex", "rgb", "hsl", "hsv"];
|
|
1164
|
-
const nextIndex = (formats.indexOf(this.format) + 1) % formats.length;
|
|
1165
|
-
this.format = formats[nextIndex];
|
|
1166
|
-
this.setColor(this.value);
|
|
1167
|
-
this.emit("ev-change");
|
|
1168
|
-
this.emit("ev-input");
|
|
1169
|
-
}
|
|
1170
|
-
handleAlphaDrag(event) {
|
|
1171
|
-
const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__alpha");
|
|
1172
|
-
const handle = container.querySelector(".color-picker__slider-handle");
|
|
1173
|
-
const { width } = container.getBoundingClientRect();
|
|
1174
|
-
let initialValue = this.value;
|
|
1175
|
-
let currentValue = this.value;
|
|
1176
|
-
handle.focus();
|
|
1177
|
-
event.preventDefault();
|
|
1178
|
-
drag(container, {
|
|
1179
|
-
onMove: (x2) => {
|
|
1180
|
-
this.alpha = clamp(x2 / width * 100, 0, 100);
|
|
1181
|
-
this.syncValues();
|
|
1182
|
-
if (this.value !== currentValue) {
|
|
1183
|
-
currentValue = this.value;
|
|
1184
|
-
this.emit("ev-input");
|
|
1185
|
-
}
|
|
1186
|
-
},
|
|
1187
|
-
onStop: () => {
|
|
1188
|
-
if (this.value !== initialValue) {
|
|
1189
|
-
initialValue = this.value;
|
|
1190
|
-
this.emit("ev-change");
|
|
1191
|
-
}
|
|
1192
|
-
},
|
|
1193
|
-
initialEvent: event
|
|
1194
|
-
});
|
|
1195
|
-
}
|
|
1196
|
-
handleHueDrag(event) {
|
|
1197
|
-
const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__hue");
|
|
1198
|
-
const handle = container.querySelector(".color-picker__slider-handle");
|
|
1199
|
-
const { width } = container.getBoundingClientRect();
|
|
1200
|
-
let initialValue = this.value;
|
|
1201
|
-
let currentValue = this.value;
|
|
1202
|
-
handle.focus();
|
|
1203
|
-
event.preventDefault();
|
|
1204
|
-
drag(container, {
|
|
1205
|
-
onMove: (x2) => {
|
|
1206
|
-
this.hue = clamp(x2 / width * 360, 0, 360);
|
|
1207
|
-
this.syncValues();
|
|
1208
|
-
if (this.value !== currentValue) {
|
|
1209
|
-
currentValue = this.value;
|
|
1210
|
-
this.emit("ev-input");
|
|
1211
|
-
}
|
|
1212
|
-
},
|
|
1213
|
-
onStop: () => {
|
|
1214
|
-
if (this.value !== initialValue) {
|
|
1215
|
-
initialValue = this.value;
|
|
1216
|
-
this.emit("ev-change");
|
|
1217
|
-
}
|
|
1218
|
-
},
|
|
1219
|
-
initialEvent: event
|
|
1220
|
-
});
|
|
1221
|
-
}
|
|
1222
|
-
handleGridDrag(event) {
|
|
1223
|
-
const grid = this.shadowRoot.querySelector(".color-picker__grid");
|
|
1224
|
-
const handle = grid.querySelector(".color-picker__grid-handle");
|
|
1225
|
-
const { width, height } = grid.getBoundingClientRect();
|
|
1226
|
-
let initialValue = this.value;
|
|
1227
|
-
let currentValue = this.value;
|
|
1228
|
-
handle.focus();
|
|
1229
|
-
event.preventDefault();
|
|
1230
|
-
this.isDraggingGridHandle = true;
|
|
1231
|
-
drag(grid, {
|
|
1232
|
-
onMove: (x2, y) => {
|
|
1233
|
-
this.saturation = clamp(x2 / width * 100, 0, 100);
|
|
1234
|
-
this.brightness = clamp(100 - y / height * 100, 0, 100);
|
|
1235
|
-
this.syncValues();
|
|
1236
|
-
if (this.value !== currentValue) {
|
|
1237
|
-
currentValue = this.value;
|
|
1238
|
-
this.emit("ev-input");
|
|
1239
|
-
}
|
|
1240
|
-
},
|
|
1241
|
-
onStop: () => {
|
|
1242
|
-
this.isDraggingGridHandle = false;
|
|
1243
|
-
if (this.value !== initialValue) {
|
|
1244
|
-
initialValue = this.value;
|
|
1245
|
-
this.emit("ev-change");
|
|
1246
|
-
}
|
|
1247
|
-
},
|
|
1248
|
-
initialEvent: event
|
|
1249
|
-
});
|
|
1250
|
-
}
|
|
1251
|
-
handleAlphaKeyDown(event) {
|
|
1252
|
-
const increment = event.shiftKey ? 10 : 1;
|
|
1253
|
-
const oldValue = this.value;
|
|
1254
|
-
if (event.key === "ArrowLeft") {
|
|
1255
|
-
event.preventDefault();
|
|
1256
|
-
this.alpha = clamp(this.alpha - increment, 0, 100);
|
|
1257
|
-
this.syncValues();
|
|
1258
|
-
}
|
|
1259
|
-
if (event.key === "ArrowRight") {
|
|
1260
|
-
event.preventDefault();
|
|
1261
|
-
this.alpha = clamp(this.alpha + increment, 0, 100);
|
|
1262
|
-
this.syncValues();
|
|
1263
|
-
}
|
|
1264
|
-
if (event.key === "Home") {
|
|
1265
|
-
event.preventDefault();
|
|
1266
|
-
this.alpha = 0;
|
|
1267
|
-
this.syncValues();
|
|
1268
|
-
}
|
|
1269
|
-
if (event.key === "End") {
|
|
1270
|
-
event.preventDefault();
|
|
1271
|
-
this.alpha = 100;
|
|
1272
|
-
this.syncValues();
|
|
1273
|
-
}
|
|
1274
|
-
if (this.value !== oldValue) {
|
|
1275
|
-
this.emit("ev-change");
|
|
1276
|
-
this.emit("ev-input");
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
handleHueKeyDown(event) {
|
|
1280
|
-
const increment = event.shiftKey ? 10 : 1;
|
|
1281
|
-
const oldValue = this.value;
|
|
1282
|
-
if (event.key === "ArrowLeft") {
|
|
1283
|
-
event.preventDefault();
|
|
1284
|
-
this.hue = clamp(this.hue - increment, 0, 360);
|
|
1285
|
-
this.syncValues();
|
|
1286
|
-
}
|
|
1287
|
-
if (event.key === "ArrowRight") {
|
|
1288
|
-
event.preventDefault();
|
|
1289
|
-
this.hue = clamp(this.hue + increment, 0, 360);
|
|
1290
|
-
this.syncValues();
|
|
1291
|
-
}
|
|
1292
|
-
if (event.key === "Home") {
|
|
1293
|
-
event.preventDefault();
|
|
1294
|
-
this.hue = 0;
|
|
1295
|
-
this.syncValues();
|
|
1296
|
-
}
|
|
1297
|
-
if (event.key === "End") {
|
|
1298
|
-
event.preventDefault();
|
|
1299
|
-
this.hue = 360;
|
|
1300
|
-
this.syncValues();
|
|
1301
|
-
}
|
|
1302
|
-
if (this.value !== oldValue) {
|
|
1303
|
-
this.emit("ev-change");
|
|
1304
|
-
this.emit("ev-input");
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
handleGridKeyDown(event) {
|
|
1308
|
-
const increment = event.shiftKey ? 10 : 1;
|
|
1309
|
-
const oldValue = this.value;
|
|
1310
|
-
if (event.key === "ArrowLeft") {
|
|
1311
|
-
event.preventDefault();
|
|
1312
|
-
this.saturation = clamp(this.saturation - increment, 0, 100);
|
|
1313
|
-
this.syncValues();
|
|
1314
|
-
}
|
|
1315
|
-
if (event.key === "ArrowRight") {
|
|
1316
|
-
event.preventDefault();
|
|
1317
|
-
this.saturation = clamp(this.saturation + increment, 0, 100);
|
|
1318
|
-
this.syncValues();
|
|
1319
|
-
}
|
|
1320
|
-
if (event.key === "ArrowUp") {
|
|
1321
|
-
event.preventDefault();
|
|
1322
|
-
this.brightness = clamp(this.brightness + increment, 0, 100);
|
|
1323
|
-
this.syncValues();
|
|
1324
|
-
}
|
|
1325
|
-
if (event.key === "ArrowDown") {
|
|
1326
|
-
event.preventDefault();
|
|
1327
|
-
this.brightness = clamp(this.brightness - increment, 0, 100);
|
|
1328
|
-
this.syncValues();
|
|
1329
|
-
}
|
|
1330
|
-
if (this.value !== oldValue) {
|
|
1331
|
-
this.emit("ev-change");
|
|
1332
|
-
this.emit("ev-input");
|
|
1333
|
-
}
|
|
1334
|
-
}
|
|
1335
|
-
handleInputChange(event) {
|
|
1336
|
-
const target = event.target;
|
|
1337
|
-
const oldValue = this.value;
|
|
1338
|
-
event.stopPropagation();
|
|
1339
|
-
if (this.input.value) {
|
|
1340
|
-
this.setColor(target.value);
|
|
1341
|
-
target.value = this.value;
|
|
1342
|
-
} else {
|
|
1343
|
-
this.value = "";
|
|
1344
|
-
}
|
|
1345
|
-
if (this.value !== oldValue) {
|
|
1346
|
-
this.emit("ev-change");
|
|
1347
|
-
this.emit("ev-input");
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
handleInputInput(event) {
|
|
1351
|
-
this.formControlController.updateValidity();
|
|
1352
|
-
event.stopPropagation();
|
|
1353
|
-
}
|
|
1354
|
-
handleInputKeyDown(event) {
|
|
1355
|
-
if (event.key === "Enter") {
|
|
1356
|
-
const oldValue = this.value;
|
|
1357
|
-
if (this.input.value) {
|
|
1358
|
-
this.setColor(this.input.value);
|
|
1359
|
-
this.input.value = this.value;
|
|
1360
|
-
if (this.value !== oldValue) {
|
|
1361
|
-
this.emit("ev-change");
|
|
1362
|
-
this.emit("ev-input");
|
|
1363
|
-
}
|
|
1364
|
-
setTimeout(() => this.input.select());
|
|
1365
|
-
} else {
|
|
1366
|
-
this.hue = 0;
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1370
|
-
handleInputInvalid(event) {
|
|
1371
|
-
this.formControlController.setValidity(false);
|
|
1372
|
-
this.formControlController.emitInvalidEvent(event);
|
|
1373
|
-
}
|
|
1374
|
-
handleTouchMove(event) {
|
|
1375
|
-
event.preventDefault();
|
|
1376
|
-
}
|
|
1377
|
-
parseColor(colorString) {
|
|
1378
|
-
const color = new TinyColor(colorString);
|
|
1379
|
-
if (!color.isValid) {
|
|
1380
|
-
return null;
|
|
1381
|
-
}
|
|
1382
|
-
const hslColor = color.toHsl();
|
|
1383
|
-
const hsl = {
|
|
1384
|
-
h: hslColor.h,
|
|
1385
|
-
s: hslColor.s * 100,
|
|
1386
|
-
l: hslColor.l * 100,
|
|
1387
|
-
a: hslColor.a
|
|
1388
|
-
};
|
|
1389
|
-
const rgb = color.toRgb();
|
|
1390
|
-
const hex = color.toHexString();
|
|
1391
|
-
const hexa = color.toHex8String();
|
|
1392
|
-
const hsvColor = color.toHsv();
|
|
1393
|
-
const hsv = {
|
|
1394
|
-
h: hsvColor.h,
|
|
1395
|
-
s: hsvColor.s * 100,
|
|
1396
|
-
v: hsvColor.v * 100,
|
|
1397
|
-
a: hsvColor.a
|
|
1398
|
-
};
|
|
1399
|
-
return {
|
|
1400
|
-
hsl: {
|
|
1401
|
-
h: hsl.h,
|
|
1402
|
-
s: hsl.s,
|
|
1403
|
-
l: hsl.l,
|
|
1404
|
-
string: this.setLetterCase(`hsl(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%)`)
|
|
1405
|
-
},
|
|
1406
|
-
hsla: {
|
|
1407
|
-
h: hsl.h,
|
|
1408
|
-
s: hsl.s,
|
|
1409
|
-
l: hsl.l,
|
|
1410
|
-
a: hsl.a,
|
|
1411
|
-
string: this.setLetterCase(
|
|
1412
|
-
`hsla(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%, ${hsl.a.toFixed(2).toString()})`
|
|
1413
|
-
)
|
|
1414
|
-
},
|
|
1415
|
-
hsv: {
|
|
1416
|
-
h: hsv.h,
|
|
1417
|
-
s: hsv.s,
|
|
1418
|
-
v: hsv.v,
|
|
1419
|
-
string: this.setLetterCase(`hsv(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%)`)
|
|
1420
|
-
},
|
|
1421
|
-
hsva: {
|
|
1422
|
-
h: hsv.h,
|
|
1423
|
-
s: hsv.s,
|
|
1424
|
-
v: hsv.v,
|
|
1425
|
-
a: hsv.a,
|
|
1426
|
-
string: this.setLetterCase(
|
|
1427
|
-
`hsva(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%, ${hsv.a.toFixed(2).toString()})`
|
|
1428
|
-
)
|
|
1429
|
-
},
|
|
1430
|
-
rgb: {
|
|
1431
|
-
r: rgb.r,
|
|
1432
|
-
g: rgb.g,
|
|
1433
|
-
b: rgb.b,
|
|
1434
|
-
string: this.setLetterCase(`rgb(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)})`)
|
|
1435
|
-
},
|
|
1436
|
-
rgba: {
|
|
1437
|
-
r: rgb.r,
|
|
1438
|
-
g: rgb.g,
|
|
1439
|
-
b: rgb.b,
|
|
1440
|
-
a: rgb.a,
|
|
1441
|
-
string: this.setLetterCase(
|
|
1442
|
-
`rgba(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)}, ${rgb.a.toFixed(2).toString()})`
|
|
1443
|
-
)
|
|
1444
|
-
},
|
|
1445
|
-
hex: this.setLetterCase(hex),
|
|
1446
|
-
hexa: this.setLetterCase(hexa)
|
|
1447
|
-
};
|
|
1448
|
-
}
|
|
1449
|
-
setColor(colorString) {
|
|
1450
|
-
const newColor = this.parseColor(colorString);
|
|
1451
|
-
if (newColor === null) {
|
|
1452
|
-
return false;
|
|
1453
|
-
}
|
|
1454
|
-
this.hue = newColor.hsva.h;
|
|
1455
|
-
this.saturation = newColor.hsva.s;
|
|
1456
|
-
this.brightness = newColor.hsva.v;
|
|
1457
|
-
this.alpha = this.opacity ? newColor.hsva.a * 100 : 100;
|
|
1458
|
-
this.syncValues();
|
|
1459
|
-
return true;
|
|
1460
|
-
}
|
|
1461
|
-
setLetterCase(string) {
|
|
1462
|
-
if (typeof string !== "string") {
|
|
1463
|
-
return "";
|
|
1464
|
-
}
|
|
1465
|
-
return this.uppercase ? string.toUpperCase() : string.toLowerCase();
|
|
1466
|
-
}
|
|
1467
|
-
async syncValues() {
|
|
1468
|
-
const currentColor = this.parseColor(
|
|
1469
|
-
`hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
|
|
1470
|
-
);
|
|
1471
|
-
if (currentColor === null) {
|
|
1472
|
-
return;
|
|
1473
|
-
}
|
|
1474
|
-
if (this.format === "hsl") {
|
|
1475
|
-
this.inputValue = this.opacity ? currentColor.hsla.string : currentColor.hsl.string;
|
|
1476
|
-
} else if (this.format === "rgb") {
|
|
1477
|
-
this.inputValue = this.opacity ? currentColor.rgba.string : currentColor.rgb.string;
|
|
1478
|
-
} else if (this.format === "hsv") {
|
|
1479
|
-
this.inputValue = this.opacity ? currentColor.hsva.string : currentColor.hsv.string;
|
|
1480
|
-
} else {
|
|
1481
|
-
this.inputValue = this.opacity ? currentColor.hexa : currentColor.hex;
|
|
1482
|
-
}
|
|
1483
|
-
this.isSafeValue = true;
|
|
1484
|
-
this.value = this.inputValue;
|
|
1485
|
-
await this.updateComplete;
|
|
1486
|
-
this.isSafeValue = false;
|
|
1487
|
-
}
|
|
1488
|
-
handleAfterHide() {
|
|
1489
|
-
this.previewButton.classList.remove("color-picker__preview-color--copied");
|
|
1490
|
-
}
|
|
1491
|
-
handleEyeDropper() {
|
|
1492
|
-
if (!hasEyeDropper) {
|
|
1493
|
-
return;
|
|
1494
|
-
}
|
|
1495
|
-
const eyeDropper = new EyeDropper();
|
|
1496
|
-
eyeDropper.open().then((colorSelectionResult) => {
|
|
1497
|
-
const oldValue = this.value;
|
|
1498
|
-
this.setColor(colorSelectionResult.sRGBHex);
|
|
1499
|
-
if (this.value !== oldValue) {
|
|
1500
|
-
this.emit("ev-change");
|
|
1501
|
-
this.emit("ev-input");
|
|
1502
|
-
}
|
|
1503
|
-
}).catch(() => {
|
|
1504
|
-
});
|
|
1505
|
-
}
|
|
1506
|
-
selectSwatch(color) {
|
|
1507
|
-
const oldValue = this.value;
|
|
1508
|
-
if (!this.disabled) {
|
|
1509
|
-
this.setColor(color);
|
|
1510
|
-
if (this.value !== oldValue) {
|
|
1511
|
-
this.emit("ev-change");
|
|
1512
|
-
this.emit("ev-input");
|
|
1513
|
-
}
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
/** Generates a hex string from HSV values. Hue must be 0-360. All other arguments must be 0-100. */
|
|
1517
|
-
getHexString(hue, saturation, brightness, alpha = 100) {
|
|
1518
|
-
const color = new TinyColor(`hsva(${hue}, ${saturation}%, ${brightness}%, ${alpha / 100})`);
|
|
1519
|
-
if (!color.isValid) {
|
|
1520
|
-
return "";
|
|
1521
|
-
}
|
|
1522
|
-
return color.toHex8String();
|
|
1523
|
-
}
|
|
1524
|
-
// Prevents nested components from leaking events
|
|
1525
|
-
stopNestedEventPropagation(event) {
|
|
1526
|
-
event.stopImmediatePropagation();
|
|
1527
|
-
}
|
|
1528
|
-
handleFormatChange() {
|
|
1529
|
-
this.syncValues();
|
|
1530
|
-
}
|
|
1531
|
-
handleOpacityChange() {
|
|
1532
|
-
this.alpha = 100;
|
|
1533
|
-
}
|
|
1534
|
-
handleValueChange(oldValue, newValue) {
|
|
1535
|
-
this.isEmpty = !newValue;
|
|
1536
|
-
if (!newValue) {
|
|
1537
|
-
this.hue = 0;
|
|
1538
|
-
this.saturation = 0;
|
|
1539
|
-
this.brightness = 100;
|
|
1540
|
-
this.alpha = 100;
|
|
1541
|
-
}
|
|
1542
|
-
if (!this.isSafeValue) {
|
|
1543
|
-
const newColor = this.parseColor(newValue);
|
|
1544
|
-
if (newColor !== null) {
|
|
1545
|
-
this.inputValue = this.value;
|
|
1546
|
-
this.hue = newColor.hsva.h;
|
|
1547
|
-
this.saturation = newColor.hsva.s;
|
|
1548
|
-
this.brightness = newColor.hsva.v;
|
|
1549
|
-
this.alpha = newColor.hsva.a * 100;
|
|
1550
|
-
this.syncValues();
|
|
1551
|
-
} else {
|
|
1552
|
-
this.inputValue = oldValue != null ? oldValue : "";
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
/** Sets focus on the color picker. */
|
|
1557
|
-
focus(options) {
|
|
1558
|
-
if (this.inline) {
|
|
1559
|
-
this.base.focus(options);
|
|
1560
|
-
} else {
|
|
1561
|
-
this.trigger.focus(options);
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
/** Removes focus from the color picker. */
|
|
1565
|
-
blur() {
|
|
1566
|
-
var _a;
|
|
1567
|
-
const elementToBlur = this.inline ? this.base : this.trigger;
|
|
1568
|
-
if (this.hasFocus) {
|
|
1569
|
-
elementToBlur.focus({ preventScroll: true });
|
|
1570
|
-
elementToBlur.blur();
|
|
1571
|
-
}
|
|
1572
|
-
if ((_a = this.dropdown) == null ? void 0 : _a.open) {
|
|
1573
|
-
this.dropdown.hide();
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
/** Returns the current value as a string in the specified format. */
|
|
1577
|
-
getFormattedValue(format = "hex") {
|
|
1578
|
-
const currentColor = this.parseColor(
|
|
1579
|
-
`hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
|
|
1580
|
-
);
|
|
1581
|
-
if (currentColor === null) {
|
|
1582
|
-
return "";
|
|
1583
|
-
}
|
|
1584
|
-
switch (format) {
|
|
1585
|
-
case "hex":
|
|
1586
|
-
return currentColor.hex;
|
|
1587
|
-
case "hexa":
|
|
1588
|
-
return currentColor.hexa;
|
|
1589
|
-
case "rgb":
|
|
1590
|
-
return currentColor.rgb.string;
|
|
1591
|
-
case "rgba":
|
|
1592
|
-
return currentColor.rgba.string;
|
|
1593
|
-
case "hsl":
|
|
1594
|
-
return currentColor.hsl.string;
|
|
1595
|
-
case "hsla":
|
|
1596
|
-
return currentColor.hsla.string;
|
|
1597
|
-
case "hsv":
|
|
1598
|
-
return currentColor.hsv.string;
|
|
1599
|
-
case "hsva":
|
|
1600
|
-
return currentColor.hsva.string;
|
|
1601
|
-
default:
|
|
1602
|
-
return "";
|
|
1603
|
-
}
|
|
1604
|
-
}
|
|
1605
|
-
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
1606
|
-
checkValidity() {
|
|
1607
|
-
return this.input.checkValidity();
|
|
1608
|
-
}
|
|
1609
|
-
/** Gets the associated form, if one exists. */
|
|
1610
|
-
getForm() {
|
|
1611
|
-
return this.formControlController.getForm();
|
|
1612
|
-
}
|
|
1613
|
-
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
1614
|
-
reportValidity() {
|
|
1615
|
-
if (!this.inline && !this.validity.valid) {
|
|
1616
|
-
this.dropdown.show();
|
|
1617
|
-
this.addEventListener("lynk-after-show", () => this.input.reportValidity(), { once: true });
|
|
1618
|
-
if (!this.disabled) {
|
|
1619
|
-
this.formControlController.emitInvalidEvent();
|
|
1620
|
-
}
|
|
1621
|
-
return false;
|
|
1622
|
-
}
|
|
1623
|
-
return this.input.reportValidity();
|
|
1624
|
-
}
|
|
1625
|
-
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
1626
|
-
setCustomValidity(message) {
|
|
1627
|
-
this.input.setCustomValidity(message);
|
|
1628
|
-
this.formControlController.updateValidity();
|
|
1629
|
-
}
|
|
1630
|
-
render() {
|
|
1631
|
-
const gridHandleX = this.saturation;
|
|
1632
|
-
const gridHandleY = 100 - this.brightness;
|
|
1633
|
-
const swatches = Array.isArray(this.swatches) ? this.swatches : this.swatches.split(";").filter((color) => color.trim() !== "");
|
|
1634
|
-
const colorPicker = x`
|
|
1635
|
-
<div
|
|
1636
|
-
part="base"
|
|
1637
|
-
class=${e({
|
|
1638
|
-
"color-picker": true,
|
|
1639
|
-
"color-picker--inline": this.inline,
|
|
1640
|
-
"color-picker--disabled": this.disabled,
|
|
1641
|
-
"color-picker--focused": this.hasFocus
|
|
1642
|
-
})}
|
|
1643
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
1644
|
-
aria-labelledby="label"
|
|
1645
|
-
tabindex=${this.inline ? "0" : "-1"}
|
|
1646
|
-
>
|
|
1647
|
-
${this.inline ? x`
|
|
1648
|
-
<lynk-visually-hidden id="label">
|
|
1649
|
-
<slot name="label">${this.label}</slot>
|
|
1650
|
-
</lynk-visually-hidden>
|
|
1651
|
-
` : null}
|
|
1652
|
-
${!this.swatchesOnly || swatches.length === 0 ? x`
|
|
1653
|
-
<div
|
|
1654
|
-
part="grid"
|
|
1655
|
-
class="color-picker__grid"
|
|
1656
|
-
style=${o2({ backgroundColor: this.getHexString(this.hue, 100, 100) })}
|
|
1657
|
-
@pointerdown=${this.handleGridDrag}
|
|
1658
|
-
@touchmove=${this.handleTouchMove}
|
|
1659
|
-
>
|
|
1660
|
-
<span
|
|
1661
|
-
part="grid-handle"
|
|
1662
|
-
class=${e({
|
|
1663
|
-
"color-picker__grid-handle": true,
|
|
1664
|
-
"color-picker__grid-handle--dragging": this.isDraggingGridHandle
|
|
1665
|
-
})}
|
|
1666
|
-
style=${o2({
|
|
1667
|
-
top: `${gridHandleY}%`,
|
|
1668
|
-
left: `${gridHandleX}%`,
|
|
1669
|
-
backgroundColor: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
1670
|
-
})}
|
|
1671
|
-
role="application"
|
|
1672
|
-
aria-label="HSV"
|
|
1673
|
-
tabindex=${o(this.disabled ? void 0 : "0")}
|
|
1674
|
-
@keydown=${this.handleGridKeyDown}
|
|
1675
|
-
></span>
|
|
1676
|
-
</div>
|
|
1677
|
-
|
|
1678
|
-
<div class="color-picker__controls">
|
|
1679
|
-
<div class="color-picker__sliders">
|
|
1680
|
-
<div
|
|
1681
|
-
part="slider hue-slider"
|
|
1682
|
-
class="color-picker__hue color-picker__slider"
|
|
1683
|
-
@pointerdown=${this.handleHueDrag}
|
|
1684
|
-
@touchmove=${this.handleTouchMove}
|
|
1685
|
-
>
|
|
1686
|
-
<span
|
|
1687
|
-
part="slider-handle hue-slider-handle"
|
|
1688
|
-
class="color-picker__slider-handle"
|
|
1689
|
-
style=${o2({
|
|
1690
|
-
left: `${this.hue === 0 ? 0 : 100 / (360 / this.hue)}%`
|
|
1691
|
-
})}
|
|
1692
|
-
role="slider"
|
|
1693
|
-
aria-label="hue"
|
|
1694
|
-
aria-orientation="horizontal"
|
|
1695
|
-
aria-valuemin="0"
|
|
1696
|
-
aria-valuemax="360"
|
|
1697
|
-
aria-valuenow=${`${Math.round(this.hue)}`}
|
|
1698
|
-
tabindex=${o(this.disabled ? void 0 : "0")}
|
|
1699
|
-
@keydown=${this.handleHueKeyDown}
|
|
1700
|
-
></span>
|
|
1701
|
-
</div>
|
|
1702
|
-
|
|
1703
|
-
${this.opacity ? x`
|
|
1704
|
-
<div
|
|
1705
|
-
part="slider opacity-slider"
|
|
1706
|
-
class="color-picker__alpha color-picker__slider color-picker__transparent-bg"
|
|
1707
|
-
@pointerdown="${this.handleAlphaDrag}"
|
|
1708
|
-
@touchmove=${this.handleTouchMove}
|
|
1709
|
-
>
|
|
1710
|
-
<div
|
|
1711
|
-
class="color-picker__alpha-gradient"
|
|
1712
|
-
style=${o2({
|
|
1713
|
-
backgroundImage: `linear-gradient(
|
|
1714
|
-
to right,
|
|
1715
|
-
${this.getHexString(this.hue, this.saturation, this.brightness, 0)} 0%,
|
|
1716
|
-
${this.getHexString(this.hue, this.saturation, this.brightness, 100)} 100%
|
|
1717
|
-
)`
|
|
1718
|
-
})}
|
|
1719
|
-
></div>
|
|
1720
|
-
<span
|
|
1721
|
-
part="slider-handle opacity-slider-handle"
|
|
1722
|
-
class="color-picker__slider-handle"
|
|
1723
|
-
style=${o2({
|
|
1724
|
-
left: `${this.alpha}%`
|
|
1725
|
-
})}
|
|
1726
|
-
role="slider"
|
|
1727
|
-
aria-label="alpha"
|
|
1728
|
-
aria-orientation="horizontal"
|
|
1729
|
-
aria-valuemin="0"
|
|
1730
|
-
aria-valuemax="100"
|
|
1731
|
-
aria-valuenow=${Math.round(this.alpha)}
|
|
1732
|
-
tabindex=${o(this.disabled ? void 0 : "0")}
|
|
1733
|
-
@keydown=${this.handleAlphaKeyDown}
|
|
1734
|
-
></span>
|
|
1735
|
-
</div>
|
|
1736
|
-
` : ""}
|
|
1737
|
-
</div>
|
|
1738
|
-
|
|
1739
|
-
<button
|
|
1740
|
-
type="button"
|
|
1741
|
-
part="preview"
|
|
1742
|
-
class="color-picker__preview color-picker__transparent-bg"
|
|
1743
|
-
aria-label=${this.localize.term("copy")}
|
|
1744
|
-
style=${o2({
|
|
1745
|
-
"--preview-color": this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
1746
|
-
})}
|
|
1747
|
-
@click=${this.handleCopy}
|
|
1748
|
-
></button>
|
|
1749
|
-
</div>
|
|
1750
|
-
|
|
1751
|
-
<div class="color-picker__user-input" aria-live="polite">
|
|
1752
|
-
<lynk-input
|
|
1753
|
-
part="input"
|
|
1754
|
-
type="text"
|
|
1755
|
-
name=${this.name}
|
|
1756
|
-
autocomplete="off"
|
|
1757
|
-
autocorrect="off"
|
|
1758
|
-
autocapitalize="off"
|
|
1759
|
-
spellcheck="false"
|
|
1760
|
-
value=${this.isEmpty ? "" : this.inputValue}
|
|
1761
|
-
?required=${this.required}
|
|
1762
|
-
?disabled=${this.disabled}
|
|
1763
|
-
aria-label=${this.localize.term("currentValue")}
|
|
1764
|
-
@keydown=${this.handleInputKeyDown}
|
|
1765
|
-
@ev-change=${this.handleInputChange}
|
|
1766
|
-
@ev-input=${this.handleInputInput}
|
|
1767
|
-
@ev-invalid=${this.handleInputInvalid}
|
|
1768
|
-
@ev-blur=${this.stopNestedEventPropagation}
|
|
1769
|
-
@ev-focus=${this.stopNestedEventPropagation}
|
|
1770
|
-
></lynk-input>
|
|
1771
|
-
|
|
1772
|
-
<lynk-button-group>
|
|
1773
|
-
${!this.noFormatToggle ? x`
|
|
1774
|
-
<lynk-button
|
|
1775
|
-
part="format-button"
|
|
1776
|
-
aria-label=${this.localize.term("toggleColorFormat")}
|
|
1777
|
-
exportparts="
|
|
1778
|
-
base:format-button__base,
|
|
1779
|
-
prefix:format-button__prefix,
|
|
1780
|
-
label:format-button__label,
|
|
1781
|
-
suffix:format-button__suffix,
|
|
1782
|
-
caret:format-button__caret
|
|
1783
|
-
"
|
|
1784
|
-
@click=${this.handleFormatToggle}
|
|
1785
|
-
@ev-blur=${this.stopNestedEventPropagation}
|
|
1786
|
-
@ev-focus=${this.stopNestedEventPropagation}
|
|
1787
|
-
>
|
|
1788
|
-
${this.setLetterCase(this.format)}
|
|
1789
|
-
</lynk-button>
|
|
1790
|
-
` : ""}
|
|
1791
|
-
${hasEyeDropper ? x`
|
|
1792
|
-
<lynk-button
|
|
1793
|
-
part="eye-dropper-button"
|
|
1794
|
-
exportparts="
|
|
1795
|
-
base:eye-dropper-button__base,
|
|
1796
|
-
prefix:eye-dropper-button__prefix,
|
|
1797
|
-
label:eye-dropper-button__label,
|
|
1798
|
-
suffix:eye-dropper-button__suffix,
|
|
1799
|
-
caret:eye-dropper-button__caret
|
|
1800
|
-
"
|
|
1801
|
-
@click=${this.handleEyeDropper}
|
|
1802
|
-
@ev-blur=${this.stopNestedEventPropagation}
|
|
1803
|
-
@ev-focus=${this.stopNestedEventPropagation}
|
|
1804
|
-
>
|
|
1805
|
-
<lynk-icon
|
|
1806
|
-
library="system"
|
|
1807
|
-
name="eyedropper"
|
|
1808
|
-
label=${this.localize.term("selectAColorFromTheScreen")}
|
|
1809
|
-
></lynk-icon>
|
|
1810
|
-
</lynk-button>
|
|
1811
|
-
` : ""}
|
|
1812
|
-
</lynk-button-group>
|
|
1813
|
-
</div>
|
|
1814
|
-
` : ""}
|
|
1815
|
-
${swatches.length > 0 ? x`
|
|
1816
|
-
<div part="swatches" class="color-picker__swatches">
|
|
1817
|
-
${swatches.map((swatch) => {
|
|
1818
|
-
const parsedColor = this.parseColor(swatch);
|
|
1819
|
-
if (!parsedColor) {
|
|
1820
|
-
console.error(`Unable to parse swatch color: "${swatch}"`, this);
|
|
1821
|
-
return "";
|
|
1822
|
-
}
|
|
1823
|
-
return x`
|
|
1824
|
-
<div
|
|
1825
|
-
part="swatch"
|
|
1826
|
-
class="color-picker__swatch color-picker__transparent-bg"
|
|
1827
|
-
tabindex=${o(this.disabled ? void 0 : "0")}
|
|
1828
|
-
role="button"
|
|
1829
|
-
aria-label=${swatch}
|
|
1830
|
-
@click=${() => this.selectSwatch(swatch)}
|
|
1831
|
-
@keydown=${(event) => !this.disabled && event.key === "Enter" && this.setColor(parsedColor.hexa)}
|
|
1832
|
-
>
|
|
1833
|
-
<div
|
|
1834
|
-
class="color-picker__swatch-color"
|
|
1835
|
-
style=${o2({ backgroundColor: parsedColor.hexa })}
|
|
1836
|
-
></div>
|
|
1837
|
-
</div>
|
|
1838
|
-
`;
|
|
1839
|
-
})}
|
|
1840
|
-
</div>
|
|
1841
|
-
` : ""}
|
|
1842
|
-
</div>
|
|
1843
|
-
`;
|
|
1844
|
-
if (this.inline) {
|
|
1845
|
-
return colorPicker;
|
|
1846
|
-
}
|
|
1847
|
-
return x`
|
|
1848
|
-
<lynk-dropdown
|
|
1849
|
-
class="color-dropdown"
|
|
1850
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
1851
|
-
.containingElement=${this}
|
|
1852
|
-
?disabled=${this.disabled}
|
|
1853
|
-
?hoist=${this.hoist}
|
|
1854
|
-
@lynk-after-hide=${this.handleAfterHide}
|
|
1855
|
-
>
|
|
1856
|
-
<button
|
|
1857
|
-
part="trigger"
|
|
1858
|
-
slot="trigger"
|
|
1859
|
-
class=${e({
|
|
1860
|
-
"color-dropdown__trigger": true,
|
|
1861
|
-
"color-dropdown__trigger--disabled": this.disabled,
|
|
1862
|
-
"color-dropdown__trigger--small": this.size === "small",
|
|
1863
|
-
"color-dropdown__trigger--medium": this.size === "medium",
|
|
1864
|
-
"color-dropdown__trigger--large": this.size === "large",
|
|
1865
|
-
"color-dropdown__trigger--empty": this.isEmpty,
|
|
1866
|
-
"color-dropdown__trigger--focused": this.hasFocus,
|
|
1867
|
-
"color-picker__transparent-bg": true
|
|
1868
|
-
})}
|
|
1869
|
-
style=${o2({
|
|
1870
|
-
color: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
1871
|
-
})}
|
|
1872
|
-
type="button"
|
|
1873
|
-
>
|
|
1874
|
-
<lynk-visually-hidden>
|
|
1875
|
-
<slot name="label">${this.label}</slot>
|
|
1876
|
-
</lynk-visually-hidden>
|
|
1877
|
-
</button>
|
|
1878
|
-
${colorPicker}
|
|
1879
|
-
</lynk-dropdown>
|
|
1880
|
-
`;
|
|
1881
|
-
}
|
|
1882
|
-
};
|
|
1883
|
-
LynkColorPicker.styles = [component_styles_default, color_picker_styles_default];
|
|
1884
|
-
LynkColorPicker.dependencies = {
|
|
1885
|
-
"lynk-button-group": LynkButtonGroup,
|
|
1886
|
-
"lynk-button": LynkButton,
|
|
1887
|
-
"lynk-dropdown": LynkDropdown,
|
|
1888
|
-
"lynk-icon": LynkIcon,
|
|
1889
|
-
"lynk-input": LynkInput,
|
|
1890
|
-
"lynk-visually-hidden": LynkVisuallyHidden
|
|
1891
|
-
};
|
|
1892
|
-
__decorateClass([
|
|
1893
|
-
e2('[part~="base"]')
|
|
1894
|
-
], LynkColorPicker.prototype, "base", 2);
|
|
1895
|
-
__decorateClass([
|
|
1896
|
-
e2('[part~="input"]')
|
|
1897
|
-
], LynkColorPicker.prototype, "input", 2);
|
|
1898
|
-
__decorateClass([
|
|
1899
|
-
e2(".color-dropdown")
|
|
1900
|
-
], LynkColorPicker.prototype, "dropdown", 2);
|
|
1901
|
-
__decorateClass([
|
|
1902
|
-
e2('[part~="preview"]')
|
|
1903
|
-
], LynkColorPicker.prototype, "previewButton", 2);
|
|
1904
|
-
__decorateClass([
|
|
1905
|
-
e2('[part~="trigger"]')
|
|
1906
|
-
], LynkColorPicker.prototype, "trigger", 2);
|
|
1907
|
-
__decorateClass([
|
|
1908
|
-
r()
|
|
1909
|
-
], LynkColorPicker.prototype, "hasFocus", 2);
|
|
1910
|
-
__decorateClass([
|
|
1911
|
-
r()
|
|
1912
|
-
], LynkColorPicker.prototype, "isDraggingGridHandle", 2);
|
|
1913
|
-
__decorateClass([
|
|
1914
|
-
r()
|
|
1915
|
-
], LynkColorPicker.prototype, "isEmpty", 2);
|
|
1916
|
-
__decorateClass([
|
|
1917
|
-
r()
|
|
1918
|
-
], LynkColorPicker.prototype, "inputValue", 2);
|
|
1919
|
-
__decorateClass([
|
|
1920
|
-
r()
|
|
1921
|
-
], LynkColorPicker.prototype, "hue", 2);
|
|
1922
|
-
__decorateClass([
|
|
1923
|
-
r()
|
|
1924
|
-
], LynkColorPicker.prototype, "saturation", 2);
|
|
1925
|
-
__decorateClass([
|
|
1926
|
-
r()
|
|
1927
|
-
], LynkColorPicker.prototype, "brightness", 2);
|
|
1928
|
-
__decorateClass([
|
|
1929
|
-
r()
|
|
1930
|
-
], LynkColorPicker.prototype, "alpha", 2);
|
|
1931
|
-
__decorateClass([
|
|
1932
|
-
n()
|
|
1933
|
-
], LynkColorPicker.prototype, "value", 2);
|
|
1934
|
-
__decorateClass([
|
|
1935
|
-
defaultValue()
|
|
1936
|
-
], LynkColorPicker.prototype, "defaultValue", 2);
|
|
1937
|
-
__decorateClass([
|
|
1938
|
-
n()
|
|
1939
|
-
], LynkColorPicker.prototype, "label", 2);
|
|
1940
|
-
__decorateClass([
|
|
1941
|
-
n()
|
|
1942
|
-
], LynkColorPicker.prototype, "format", 2);
|
|
1943
|
-
__decorateClass([
|
|
1944
|
-
n({ type: Boolean, reflect: true })
|
|
1945
|
-
], LynkColorPicker.prototype, "inline", 2);
|
|
1946
|
-
__decorateClass([
|
|
1947
|
-
n({ reflect: true })
|
|
1948
|
-
], LynkColorPicker.prototype, "size", 2);
|
|
1949
|
-
__decorateClass([
|
|
1950
|
-
n({ attribute: "no-format-toggle", type: Boolean })
|
|
1951
|
-
], LynkColorPicker.prototype, "noFormatToggle", 2);
|
|
1952
|
-
__decorateClass([
|
|
1953
|
-
n()
|
|
1954
|
-
], LynkColorPicker.prototype, "name", 2);
|
|
1955
|
-
__decorateClass([
|
|
1956
|
-
n({ type: Boolean, reflect: true })
|
|
1957
|
-
], LynkColorPicker.prototype, "disabled", 2);
|
|
1958
|
-
__decorateClass([
|
|
1959
|
-
n({ type: Boolean })
|
|
1960
|
-
], LynkColorPicker.prototype, "hoist", 2);
|
|
1961
|
-
__decorateClass([
|
|
1962
|
-
n({ type: Boolean })
|
|
1963
|
-
], LynkColorPicker.prototype, "opacity", 2);
|
|
1964
|
-
__decorateClass([
|
|
1965
|
-
n({ type: Boolean })
|
|
1966
|
-
], LynkColorPicker.prototype, "uppercase", 2);
|
|
1967
|
-
__decorateClass([
|
|
1968
|
-
n()
|
|
1969
|
-
], LynkColorPicker.prototype, "swatches", 2);
|
|
1970
|
-
__decorateClass([
|
|
1971
|
-
n({ attribute: "swatches-only", type: Boolean })
|
|
1972
|
-
], LynkColorPicker.prototype, "swatchesOnly", 2);
|
|
1973
|
-
__decorateClass([
|
|
1974
|
-
n({ reflect: true })
|
|
1975
|
-
], LynkColorPicker.prototype, "form", 2);
|
|
1976
|
-
__decorateClass([
|
|
1977
|
-
n({ type: Boolean, reflect: true })
|
|
1978
|
-
], LynkColorPicker.prototype, "required", 2);
|
|
1979
|
-
__decorateClass([
|
|
1980
|
-
t({ passive: false })
|
|
1981
|
-
], LynkColorPicker.prototype, "handleTouchMove", 1);
|
|
1982
|
-
__decorateClass([
|
|
1983
|
-
watch("format", { waitUntilFirstUpdate: true })
|
|
1984
|
-
], LynkColorPicker.prototype, "handleFormatChange", 1);
|
|
1985
|
-
__decorateClass([
|
|
1986
|
-
watch("opacity", { waitUntilFirstUpdate: true })
|
|
1987
|
-
], LynkColorPicker.prototype, "handleOpacityChange", 1);
|
|
1988
|
-
__decorateClass([
|
|
1989
|
-
watch("value")
|
|
1990
|
-
], LynkColorPicker.prototype, "handleValueChange", 1);
|
|
1991
|
-
|
|
1992
|
-
export {
|
|
1993
|
-
LynkColorPicker
|
|
1994
|
-
};
|