@kdcloudjs/shoelace 1.0.45 → 1.0.46
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.22NNKN6V.js +26 -0
- package/cdn/chunks/chunk.2BEGJHBX.js +320 -0
- package/cdn/chunks/chunk.2FB7J42X.js +985 -0
- package/cdn/chunks/chunk.2G3LBT2I.js +11 -0
- package/cdn/chunks/chunk.2G3MRJGS.js +97 -0
- package/cdn/chunks/chunk.2GGMUP3X.js +95 -0
- package/cdn/chunks/chunk.2GJRZOD5.js +21 -0
- package/cdn/chunks/chunk.2RZMKDGB.js +11 -0
- package/cdn/chunks/chunk.2ZLLCDDF.js +346 -0
- package/cdn/chunks/chunk.34LGLJ2I.js +24 -0
- package/cdn/chunks/chunk.37AIKSLN.js +21 -0
- package/cdn/chunks/chunk.3CJNQAGZ.js +29 -0
- package/cdn/chunks/chunk.3CK73ZND.js +11 -0
- package/cdn/chunks/chunk.3F23BHAH.js +5896 -0
- package/cdn/chunks/chunk.3IETIMQW.js +197 -0
- package/cdn/chunks/chunk.3IZ7XKFO.js +236 -0
- package/cdn/chunks/chunk.3J7K5Q7R.js +103 -0
- package/cdn/chunks/chunk.3VOJQDP4.js +11 -0
- package/cdn/chunks/chunk.42B4OCCM.js +70 -0
- package/cdn/chunks/chunk.44WA42P7.js +25 -0
- package/cdn/chunks/chunk.4IROWLB4.js +29 -0
- package/cdn/chunks/chunk.4MQAMPJR.js +299 -0
- package/cdn/chunks/chunk.4N3RWJQC.js +0 -0
- package/cdn/chunks/chunk.4NC7MLPD.js +28 -0
- package/cdn/chunks/chunk.4ULZJM5H.js +11 -0
- package/cdn/chunks/chunk.52AWCZEY.js +11 -0
- package/cdn/chunks/chunk.52RBQUKR.js +197 -0
- package/cdn/chunks/chunk.543S6BT5.js +1257 -0
- package/cdn/chunks/chunk.5H7VZ6BO.js +122 -0
- package/cdn/chunks/chunk.5M2VFGRK.js +11 -0
- package/cdn/chunks/chunk.5N6A6QRA.js +11 -0
- package/cdn/chunks/chunk.5ZHMVY6X.js +26 -0
- package/cdn/chunks/chunk.63EELRGR.js +271 -0
- package/cdn/chunks/chunk.64M2K3HQ.js +24 -0
- package/cdn/chunks/chunk.64N5O4OK.js +132 -0
- package/cdn/chunks/chunk.6555EKD7.js +24 -0
- package/cdn/chunks/chunk.67CAGCAH.js +11 -0
- package/cdn/chunks/chunk.6CLQ5L7I.js +455 -0
- package/cdn/chunks/chunk.6CPPEBGB.js +77 -0
- package/cdn/chunks/chunk.6JWJWU6J.js +29 -0
- package/cdn/chunks/chunk.6KPPJZ7W.js +11 -0
- package/cdn/chunks/chunk.6NNWVYZF.js +49 -0
- package/cdn/chunks/chunk.6PKR2JMO.js +199 -0
- package/cdn/chunks/chunk.6QP7YTLI.js +21 -0
- package/cdn/chunks/chunk.6QZAFLX5.js +24 -0
- package/cdn/chunks/chunk.6RUSH7QF.js +510 -0
- package/cdn/chunks/chunk.6UXBANZ5.js +21 -0
- package/cdn/chunks/chunk.77DPN5JK.js +696 -0
- package/cdn/chunks/chunk.7C4HWMQS.js +246 -0
- package/cdn/chunks/chunk.7DHX4BD5.js +11 -0
- package/cdn/chunks/chunk.7DLCV77U.js +24 -0
- package/cdn/chunks/chunk.7L7OTO7F.js +67 -0
- package/cdn/chunks/chunk.7MJQT7T7.js +21 -0
- package/cdn/chunks/chunk.7QN4KDMC.js +21 -0
- package/cdn/chunks/chunk.7VAPADX7.js +7426 -0
- package/cdn/chunks/chunk.7VG2F655.js +11 -0
- package/cdn/chunks/chunk.A5PIE37Z.js +87 -0
- package/cdn/chunks/chunk.AGUW2GDV.js +11 -0
- package/cdn/chunks/chunk.AYATWMF7.js +11 -0
- package/cdn/chunks/chunk.AZAMVGBC.js +11 -0
- package/cdn/chunks/chunk.BDIE4VKA.js +25 -0
- package/cdn/chunks/chunk.BEFQYHDO.js +1986 -0
- package/cdn/chunks/chunk.BKVXILLB.js +413 -0
- package/cdn/chunks/chunk.BTINT75U.js +21 -0
- package/cdn/chunks/chunk.BTUYSIKT.js +1071 -0
- package/cdn/chunks/chunk.BU4EN5M4.js +472 -0
- package/cdn/chunks/chunk.BUEZDJBO.js +21 -0
- package/cdn/chunks/chunk.C5TKMJ5P.js +11 -0
- package/cdn/chunks/chunk.CJ36IRNW.js +21 -0
- package/cdn/chunks/chunk.CJGSQRIH.js +24 -0
- package/cdn/chunks/chunk.CKQ7ADVE.js +120 -0
- package/cdn/chunks/chunk.CQBOVUI5.js +26 -0
- package/cdn/chunks/chunk.CQX7UPK6.js +186 -0
- package/cdn/chunks/chunk.CZCRTGLL.js +21 -0
- package/cdn/chunks/chunk.CZMTZF4Y.js +11 -0
- package/cdn/chunks/chunk.D6C2HGW4.js +21 -0
- package/cdn/chunks/chunk.D7T7D3ZF.js +11 -0
- package/cdn/chunks/chunk.DFJMQMZ7.js +11 -0
- package/cdn/chunks/chunk.DQAFHNXP.js +24 -0
- package/cdn/chunks/chunk.E5W7KIHL.js +36 -0
- package/cdn/chunks/chunk.ECQIWJZO.js +24 -0
- package/cdn/chunks/chunk.EFUUO2AA.js +21 -0
- package/cdn/chunks/chunk.EKLQUMNF.js +1213 -0
- package/cdn/chunks/chunk.EOA6NE76.js +25 -0
- package/cdn/chunks/chunk.EUKDYQNS.js +21 -0
- package/cdn/chunks/chunk.EVHXWWHZ.js +25 -0
- package/cdn/chunks/chunk.EYKQ3QQ4.js +1990 -0
- package/cdn/chunks/chunk.F2XMASS7.js +11 -0
- package/cdn/chunks/chunk.FM6KJHEK.js +402 -0
- package/cdn/chunks/chunk.FPK474OI.js +21 -0
- package/cdn/chunks/chunk.FPK7OIFM.js +28 -0
- package/cdn/chunks/chunk.FTXDNS3A.js +54 -0
- package/cdn/chunks/chunk.FZM2Z5UC.js +305 -0
- package/cdn/chunks/chunk.G3FUBBPW.js +11 -0
- package/cdn/chunks/chunk.G7FROALP.js +25 -0
- package/cdn/chunks/chunk.GLG3F2SW.js +354 -0
- package/cdn/chunks/chunk.GNRJ7ML2.js +239 -0
- package/cdn/chunks/chunk.GOHBGBTY.js +329 -0
- package/cdn/chunks/chunk.GOQTGGL5.js +27 -0
- package/cdn/chunks/chunk.H3OLG73F.js +11 -0
- package/cdn/chunks/chunk.H5T5WYLB.js +11 -0
- package/cdn/chunks/chunk.H6ND6Q32.js +153 -0
- package/cdn/chunks/chunk.HBRUM4LZ.js +11 -0
- package/cdn/chunks/chunk.HDSIJ6YE.js +11 -0
- package/cdn/chunks/chunk.HHYD46U6.js +255 -0
- package/cdn/chunks/chunk.HJLGPPJ4.js +142 -0
- package/cdn/chunks/chunk.HLCOQXWF.js +923 -0
- package/cdn/chunks/chunk.HMXY3HB2.js +128 -0
- package/cdn/chunks/chunk.HPEOCBA3.js +292 -0
- package/cdn/chunks/chunk.HT6YQJEY.js +63 -0
- package/cdn/chunks/chunk.IAY6HNWS.js +835 -0
- package/cdn/chunks/chunk.IBQDAJ5L.js +133 -0
- package/cdn/chunks/chunk.ICDVNYBI.js +25 -0
- package/cdn/chunks/chunk.IGMKF5IS.js +28 -0
- package/cdn/chunks/chunk.IMRYCTLZ.js +29 -0
- package/cdn/chunks/chunk.J5ETNVQQ.js +21 -0
- package/cdn/chunks/chunk.JHPYGKVG.js +279 -0
- package/cdn/chunks/chunk.JIWZYUK4.js +92 -0
- package/cdn/chunks/chunk.JLW4ADYZ.js +163 -0
- package/cdn/chunks/chunk.JMJ2L424.js +135 -0
- package/cdn/chunks/chunk.JTT5E4VZ.js +11 -0
- package/cdn/chunks/chunk.JYUOVYXF.js +28 -0
- package/cdn/chunks/chunk.KBMHJZXS.js +11 -0
- package/cdn/chunks/chunk.KC72VA2H.js +21 -0
- package/cdn/chunks/chunk.KETXAQWI.js +11 -0
- package/cdn/chunks/chunk.KGYCOLBT.js +73 -0
- package/cdn/chunks/chunk.KMSWKF53.js +330 -0
- package/cdn/chunks/chunk.KNNBHPNW.js +21 -0
- package/cdn/chunks/chunk.KPKZZM26.js +24 -0
- package/cdn/chunks/chunk.KTXXSN2T.js +21 -0
- package/cdn/chunks/chunk.KV27DU6E.js +118 -0
- package/cdn/chunks/chunk.KWHCNWGW.js +11 -0
- package/cdn/chunks/chunk.KYLO44NO.js +29 -0
- package/cdn/chunks/chunk.L3DNG7HZ.js +383 -0
- package/cdn/chunks/chunk.L64OM6YY.js +11 -0
- package/cdn/chunks/chunk.L6H5BTEF.js +11 -0
- package/cdn/chunks/chunk.L6WNZUQG.js +11 -0
- package/cdn/chunks/chunk.LGTO37VO.js +42 -0
- package/cdn/chunks/chunk.LINHJWZL.js +11 -0
- package/cdn/chunks/chunk.LJ5UCMYO.js +21 -0
- package/cdn/chunks/chunk.LL4SGLFP.js +24 -0
- package/cdn/chunks/chunk.LLCRUXEP.js +24 -0
- package/cdn/chunks/chunk.LUEW5H7O.js +11 -0
- package/cdn/chunks/chunk.LUPMBKXI.js +25 -0
- package/cdn/chunks/chunk.LV7232BY.js +60 -0
- package/cdn/chunks/chunk.M66AMUAN.js +11 -0
- package/cdn/chunks/chunk.MAWQP537.js +27 -0
- package/cdn/chunks/chunk.MDLLSI3L.js +24 -0
- package/cdn/chunks/chunk.MF5AJWUT.js +11 -0
- package/cdn/chunks/chunk.MHKBY4DJ.js +782 -0
- package/cdn/chunks/chunk.MI6MHMPZ.js +27 -0
- package/cdn/chunks/chunk.MLYUF3ET.js +24 -0
- package/cdn/chunks/chunk.MMQXCVJJ.js +11 -0
- package/cdn/chunks/chunk.MSIOM4IN.js +25 -0
- package/cdn/chunks/chunk.MWGOJBX2.js +79 -0
- package/cdn/chunks/chunk.MYLLMGEX.js +26 -0
- package/cdn/chunks/chunk.N2GV3BG6.js +32 -0
- package/cdn/chunks/chunk.N2T7TCJE.js +11 -0
- package/cdn/chunks/chunk.N5OOYSBE.js +21 -0
- package/cdn/chunks/chunk.NASNSK6B.js +75 -0
- package/cdn/chunks/chunk.NATNMXLL.js +29 -0
- package/cdn/chunks/chunk.NI5SV7WZ.js +11 -0
- package/cdn/chunks/chunk.NIO6IPWY.js +25 -0
- package/cdn/chunks/chunk.NMMLGLBG.js +11 -0
- package/cdn/chunks/chunk.NP4HNMEQ.js +210 -0
- package/cdn/chunks/chunk.NRDYQ4EJ.js +21 -0
- package/cdn/chunks/chunk.OAPSKMTF.js +724 -0
- package/cdn/chunks/chunk.OB3J4AXC.js +21 -0
- package/cdn/chunks/chunk.OHKYESEQ.js +126 -0
- package/cdn/chunks/chunk.OIE4L4VB.js +11 -0
- package/cdn/chunks/chunk.OINFGGWO.js +177 -0
- package/cdn/chunks/chunk.OJDQRPEA.js +26 -0
- package/cdn/chunks/chunk.OKU2SAAI.js +11 -0
- package/cdn/chunks/chunk.OLKWA3EN.js +25 -0
- package/cdn/chunks/chunk.ONH3YZB3.js +50 -0
- package/cdn/chunks/chunk.OQGJY2XW.js +336 -0
- package/cdn/chunks/chunk.ORHAPSZJ.js +634 -0
- package/cdn/chunks/chunk.ORORATCB.js +27 -0
- package/cdn/chunks/chunk.OSFPINVY.js +11 -0
- package/cdn/chunks/chunk.OWHH7WFG.js +127 -0
- package/cdn/chunks/chunk.OWTFWBN3.js +21 -0
- package/cdn/chunks/chunk.OZZIITA5.js +27 -0
- package/cdn/chunks/chunk.P7PGCLVQ.js +93 -0
- package/cdn/chunks/chunk.PGPZJMC4.js +21 -0
- package/cdn/chunks/chunk.PMYZQHZC.js +114 -0
- package/cdn/chunks/chunk.PQGPH4N7.js +2632 -0
- package/cdn/chunks/chunk.PSSTOK7P.js +71 -0
- package/cdn/chunks/chunk.PST4SGCW.js +11 -0
- package/cdn/chunks/chunk.PWVDZOVL.js +21 -0
- package/cdn/chunks/chunk.Q2JBHMLS.js +692 -0
- package/cdn/chunks/chunk.Q4NYWOQ7.js +11 -0
- package/cdn/chunks/chunk.Q7RTY3I3.js +391 -0
- package/cdn/chunks/chunk.QCN3BOKE.js +11 -0
- package/cdn/chunks/chunk.QEA3J3FI.js +215 -0
- package/cdn/chunks/chunk.QGVZ5ARN.js +246 -0
- package/cdn/chunks/chunk.QRCKKTDU.js +11 -0
- package/cdn/chunks/chunk.QRS3WY6I.js +11 -0
- package/cdn/chunks/chunk.QW3HC5VO.js +302 -0
- package/cdn/chunks/chunk.QWSIGDE2.js +24 -0
- package/cdn/chunks/chunk.QX6LMUJK.js +161 -0
- package/cdn/chunks/chunk.QYW4AM4J.js +158 -0
- package/cdn/chunks/chunk.R2LLVITP.js +11 -0
- package/cdn/chunks/chunk.R3OGLLTK.js +27 -0
- package/cdn/chunks/chunk.R4NZNANP.js +11 -0
- package/cdn/chunks/chunk.RBG7WZUF.js +24 -0
- package/cdn/chunks/chunk.RCKOWBJR.js +154 -0
- package/cdn/chunks/chunk.RCRLZCOU.js +11 -0
- package/cdn/chunks/chunk.REFZHJ4F.js +21 -0
- package/cdn/chunks/chunk.REZGNTCG.js +371 -0
- package/cdn/chunks/chunk.RKDOFZVU.js +619 -0
- package/cdn/chunks/chunk.RQJGMKBO.js +11 -0
- package/cdn/chunks/chunk.RRA3QZYW.js +11 -0
- package/cdn/chunks/chunk.RRXO53WM.js +11 -0
- package/cdn/chunks/chunk.RXV2VIRY.js +110 -0
- package/cdn/chunks/chunk.RZJHYK7Z.js +233 -0
- package/cdn/chunks/chunk.S5E5QZHP.js +11 -0
- package/cdn/chunks/chunk.SBCHNRZ2.js +186 -0
- package/cdn/chunks/chunk.SCAAWKCF.js +137 -0
- package/cdn/chunks/chunk.SD6Q6G3S.js +11 -0
- package/cdn/chunks/chunk.SHZ3JMWR.js +11 -0
- package/cdn/chunks/chunk.SOSIDSVS.js +29 -0
- package/cdn/chunks/chunk.SPBW63IR.js +605 -0
- package/cdn/chunks/chunk.SUIEXJAC.js +11 -0
- package/cdn/chunks/chunk.SWEE2U6A.js +92 -0
- package/cdn/chunks/chunk.SZTZAX4A.js +21 -0
- package/cdn/chunks/chunk.T2QTBZET.js +11 -0
- package/cdn/chunks/chunk.TAMRDPMJ.js +11 -0
- package/cdn/chunks/chunk.THORLTL2.js +28 -0
- package/cdn/chunks/chunk.TTO2ZK4R.js +27 -0
- package/cdn/chunks/chunk.TUVSORHL.js +113 -0
- package/cdn/chunks/chunk.TWR2LAAR.js +11 -0
- package/cdn/chunks/chunk.U5HLIVA2.js +11 -0
- package/cdn/chunks/chunk.UEEJ2AIG.js +368 -0
- package/cdn/chunks/chunk.UEQU3ZXG.js +11 -0
- package/cdn/chunks/chunk.UFJPCQE3.js +454 -0
- package/cdn/chunks/chunk.UJPW6RIA.js +24 -0
- package/cdn/chunks/chunk.UP3DFBSV.js +11 -0
- package/cdn/chunks/chunk.UQAGPCRT.js +216 -0
- package/cdn/chunks/chunk.USQLNG42.js +26 -0
- package/cdn/chunks/chunk.UTXR7GBY.js +25 -0
- package/cdn/chunks/chunk.UV4PEJWH.js +1932 -0
- package/cdn/chunks/chunk.UVQMS5TB.js +11 -0
- package/cdn/chunks/chunk.UWWIGF5X.js +543 -0
- package/cdn/chunks/chunk.V37EWD6Y.js +179 -0
- package/cdn/chunks/chunk.V4CMPAT3.js +24 -0
- package/cdn/chunks/chunk.V6B4YP4I.js +28 -0
- package/cdn/chunks/chunk.VB5YVOBQ.js +11 -0
- package/cdn/chunks/chunk.VCXQTH6D.js +193 -0
- package/cdn/chunks/chunk.VDY6DS4P.js +586 -0
- package/cdn/chunks/chunk.VGTKOVFX.js +21 -0
- package/cdn/chunks/chunk.VIOHXTZG.js +11 -0
- package/cdn/chunks/chunk.VSILDMJZ.js +11 -0
- package/cdn/chunks/chunk.VZJYMEHN.js +11 -0
- package/cdn/chunks/chunk.WA3EGIIZ.js +276 -0
- package/cdn/chunks/chunk.WAYEY2UH.js +11 -0
- package/cdn/chunks/chunk.WDLAB6IL.js +21 -0
- package/cdn/chunks/chunk.WIHKSRB2.js +11 -0
- package/cdn/chunks/chunk.WOZAIT4L.js +11 -0
- package/cdn/chunks/chunk.X7ID7JZM.js +215 -0
- package/cdn/chunks/chunk.XBM2FROK.js +29 -0
- package/cdn/chunks/chunk.XBN4MHJ2.js +35 -0
- package/cdn/chunks/chunk.XDOZVH2Q.js +27 -0
- package/cdn/chunks/chunk.XKUN2TV5.js +82 -0
- package/cdn/chunks/chunk.XW4FROQH.js +11 -0
- package/cdn/chunks/chunk.YAZ5NIIB.js +331 -0
- package/cdn/chunks/chunk.YB42C3ET.js +11 -0
- package/cdn/chunks/chunk.YDDHGQOG.js +24 -0
- package/cdn/chunks/chunk.YGYY7PJ6.js +11 -0
- package/cdn/chunks/chunk.YHVPGCIL.js +11 -0
- package/cdn/chunks/chunk.YKB3HC3Q.js +24 -0
- package/cdn/chunks/chunk.YNQZXXNS.js +11 -0
- package/cdn/chunks/chunk.YP6DV5JC.js +27 -0
- package/cdn/chunks/chunk.YPGL7GZU.js +500 -0
- package/cdn/chunks/chunk.YPIEPHLJ.js +291 -0
- package/cdn/chunks/chunk.YPNJZEWO.js +49 -0
- package/cdn/chunks/chunk.YSFDSBV5.js +11 -0
- package/cdn/chunks/chunk.YSNRAJMB.js +31 -0
- package/cdn/chunks/chunk.YT2ZV3YP.js +11 -0
- package/cdn/chunks/chunk.YUIMLINX.js +91 -0
- package/cdn/chunks/chunk.YW7JD5YR.js +11 -0
- package/cdn/chunks/chunk.Z5JCLOGG.js +11 -0
- package/cdn/chunks/chunk.ZBPMCW4K.js +11 -0
- package/cdn/chunks/chunk.ZIKPONO5.js +33 -0
- package/cdn/chunks/chunk.ZKGOLM5X.js +24 -0
- package/cdn/chunks/chunk.ZMGRN2SY.js +21 -0
- package/cdn/chunks/chunk.ZMSE3BPP.js +21 -0
- package/cdn/chunks/chunk.ZPBMZKGF.js +11 -0
- package/cdn/chunks/chunk.ZVAP26PP.js +11 -0
- package/cdn/components/alert/alert.component.js +8 -8
- package/cdn/components/alert/alert.js +9 -9
- package/cdn/components/animated-image/animated-image.component.js +5 -5
- package/cdn/components/animated-image/animated-image.js +6 -6
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +7 -7
- package/cdn/components/avatar/avatar.js +8 -8
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.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 +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- 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 +16 -16
- package/cdn/components/calendar/calendar.js +17 -17
- package/cdn/components/calendar-picker/calendar-picker.component.js +10 -10
- package/cdn/components/calendar-picker/calendar-picker.js +10 -10
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +6 -6
- package/cdn/components/carousel/carousel.js +7 -7
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/cascader/cascader.component.js +9 -9
- package/cdn/components/cascader/cascader.js +10 -10
- package/cdn/components/checkbox/checkbox.component.js +7 -7
- package/cdn/components/checkbox/checkbox.js +8 -8
- package/cdn/components/col/col.component.js +2 -2
- package/cdn/components/col/col.js +3 -3
- package/cdn/components/color-picker/color-picker.component.js +17 -17
- package/cdn/components/color-picker/color-picker.js +18 -18
- package/cdn/components/copy-button/copy-button.component.js +8 -8
- package/cdn/components/copy-button/copy-button.js +9 -9
- package/cdn/components/date-panel/date-panel.component.js +15 -15
- package/cdn/components/date-panel/date-panel.js +15 -15
- package/cdn/components/datepicker/datepicker.component.js +20 -20
- package/cdn/components/datepicker/datepicker.js +20 -20
- package/cdn/components/daterangepicker/daterangepicker.component.js +17 -17
- package/cdn/components/daterangepicker/daterangepicker.js +18 -18
- package/cdn/components/details/details.component.js +6 -6
- package/cdn/components/details/details.js +7 -7
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- 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 -8
- package/cdn/components/drawer/drawer.js +9 -9
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/float-button/float-button.component.js +8 -8
- package/cdn/components/float-button/float-button.js +9 -9
- package/cdn/components/float-button-group/float-button-group.component.js +6 -6
- package/cdn/components/float-button-group/float-button-group.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/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/icon-button/icon-button.component.js +6 -6
- package/cdn/components/icon-button/icon-button.js +7 -7
- package/cdn/components/image/image.component.js +3 -3
- package/cdn/components/image/image.js +3 -3
- package/cdn/components/image/image.styles.js +1 -1
- package/cdn/components/image-comparer/image-comparer.component.js +6 -6
- package/cdn/components/image-comparer/image-comparer.js +7 -7
- package/cdn/components/image-preview-group/image-preview-group.component.js +3 -3
- package/cdn/components/image-preview-group/image-preview-group.js +3 -3
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +7 -7
- package/cdn/components/input/input.js +8 -8
- 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.js +11 -11
- package/cdn/components/menu-item/menu-item.js +12 -12
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- 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 +12 -12
- package/cdn/components/nav/nav.js +13 -13
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +2 -2
- package/cdn/components/nav-item/nav-item.js +3 -3
- package/cdn/components/nav-submenu/nav-submenu.component.js +7 -7
- package/cdn/components/nav-submenu/nav-submenu.js +8 -8
- package/cdn/components/notification/notification.component.js +8 -8
- package/cdn/components/notification/notification.js +9 -9
- package/cdn/components/option/option.component.js +6 -6
- package/cdn/components/option/option.js +7 -7
- package/cdn/components/pagination/custom-select.js +14 -14
- package/cdn/components/pagination/pagination.component.js +15 -15
- package/cdn/components/pagination/pagination.js +15 -15
- 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/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +6 -6
- package/cdn/components/radio/radio.js +7 -7
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +6 -6
- package/cdn/components/rating/rating.js +7 -7
- 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/row/row.component.js +2 -2
- package/cdn/components/row/row.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/segmented/segmented.component.js +8 -8
- package/cdn/components/segmented/segmented.js +9 -9
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/sender/sender.component.js +19 -19
- package/cdn/components/sender/sender.js +20 -20
- package/cdn/components/sender-header/sender-header.component.js +9 -9
- package/cdn/components/sender-header/sender-header.js +10 -10
- package/cdn/components/sender-switch/sender-switch.component.js +9 -9
- package/cdn/components/sender-switch/sender-switch.js +10 -10
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/space/space.component.js +2 -2
- package/cdn/components/space/space.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.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/steps/steps.component.js +5 -5
- package/cdn/components/steps/steps.js +6 -6
- package/cdn/components/steps/steps.styles.js +1 -1
- package/cdn/components/switch/switch.component.js +4 -4
- package/cdn/components/switch/switch.js +5 -5
- package/cdn/components/tab/tab.component.js +7 -7
- package/cdn/components/tab/tab.js +8 -8
- package/cdn/components/tab-group/tab-group.component.js +8 -8
- package/cdn/components/tab-group/tab-group.js +9 -9
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +6 -6
- package/cdn/components/table/col-group.js +2 -2
- package/cdn/components/table/features/index.js +3 -3
- package/cdn/components/table/features/row-drag-controller.js +3 -3
- package/cdn/components/table/footer-table.js +5 -5
- package/cdn/components/table/head-table.js +26 -26
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +38 -38
- package/cdn/components/table/table.js +39 -39
- package/cdn/components/tag/tag.component.js +7 -7
- package/cdn/components/tag/tag.js +8 -8
- package/cdn/components/textarea/textarea.component.js +4 -4
- package/cdn/components/textarea/textarea.js +5 -5
- package/cdn/components/think/think.component.js +7 -7
- package/cdn/components/think/think.js +8 -8
- package/cdn/components/thought-chain/thought-chain.component.js +2 -2
- package/cdn/components/thought-chain/thought-chain.js +3 -3
- package/cdn/components/thought-chain-item/thought-chain-item.component.js +7 -7
- package/cdn/components/thought-chain-item/thought-chain-item.js +8 -8
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +7 -7
- package/cdn/components/thought-chain-node/thought-chain-node.js +8 -8
- package/cdn/components/time-panel/time-panel.component.js +9 -9
- package/cdn/components/time-panel/time-panel.js +9 -9
- package/cdn/components/timepicker/timepicker.component.js +20 -20
- package/cdn/components/timepicker/timepicker.js +20 -20
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/transfer/interface.js +1 -0
- package/cdn/components/transfer/transfer.component.js +56 -0
- package/cdn/components/transfer/transfer.js +61 -0
- package/cdn/components/transfer/transfer.styles.js +9 -0
- package/cdn/components/tree/tree.component.js +12 -12
- package/cdn/components/tree/tree.js +13 -13
- package/cdn/components/tree-item/tree-item.component.js +10 -10
- package/cdn/components/tree-item/tree-item.js +11 -11
- package/cdn/components/tree-select/tree-select.component.js +18 -18
- package/cdn/components/tree-select/tree-select.js +19 -19
- package/cdn/components/upload/upload.component.js +15 -15
- package/cdn/components/upload/upload.js +15 -15
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/components/x-markdown/markdown/components.js +3 -3
- package/cdn/components/x-markdown/markdown/render.js +4 -4
- package/cdn/components/x-markdown/x-markdown.component.js +8 -8
- package/cdn/components/x-markdown/x-markdown.js +9 -9
- package/cdn/custom-elements.json +12829 -11889
- package/cdn/react/alert/index.js +9 -9
- package/cdn/react/animated-image/index.js +6 -6
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +8 -8
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +5 -5
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/calendar/index.js +17 -17
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +7 -7
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/cascader/index.js +10 -10
- package/cdn/react/checkbox/index.js +8 -8
- package/cdn/react/col/index.js +3 -3
- package/cdn/react/color-picker/index.js +18 -18
- package/cdn/react/copy-button/index.js +9 -9
- package/cdn/react/date-panel/index.js +16 -16
- package/cdn/react/datepicker/index.js +21 -21
- package/cdn/react/daterangepicker/index.js +18 -18
- package/cdn/react/details/index.js +7 -7
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/float-button/index.js +9 -9
- package/cdn/react/float-button-group/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/icon/index.js +4 -4
- package/cdn/react/icon-button/index.js +7 -7
- package/cdn/react/image/index.js +4 -4
- package/cdn/react/image-comparer/index.js +7 -7
- package/cdn/react/image-preview-group/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +320 -314
- package/cdn/react/input/index.js +8 -8
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +12 -12
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +13 -13
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +3 -3
- package/cdn/react/nav-submenu/index.js +8 -8
- package/cdn/react/notification/index.js +9 -9
- package/cdn/react/option/index.js +7 -7
- package/cdn/react/pagination/index.js +16 -16
- 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/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +7 -7
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +7 -7
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/row/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/segmented/index.js +9 -9
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/sender/index.js +20 -20
- package/cdn/react/sender-header/index.js +10 -10
- package/cdn/react/sender-switch/index.js +10 -10
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/space/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/steps/index.js +6 -6
- package/cdn/react/switch/index.js +5 -5
- package/cdn/react/tab/index.js +8 -8
- package/cdn/react/tab-group/index.js +9 -9
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +39 -39
- package/cdn/react/tag/index.js +8 -8
- package/cdn/react/textarea/index.js +5 -5
- package/cdn/react/think/index.js +8 -8
- package/cdn/react/thought-chain/index.js +3 -3
- package/cdn/react/thought-chain-item/index.js +8 -8
- package/cdn/react/thought-chain-node/index.js +8 -8
- package/cdn/react/timepicker/index.js +21 -21
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/transfer/index.js +57 -0
- package/cdn/react/tree/index.js +13 -13
- package/cdn/react/tree-item/index.js +11 -11
- package/cdn/react/tree-select/index.js +19 -19
- package/cdn/react/upload/index.js +16 -16
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/react/x-markdown/index.js +9 -9
- package/cdn/shoelace.js +295 -295
- package/cdn/themes/dark.css +24 -0
- package/cdn/themes/dark.styles.js +24 -0
- package/cdn/themes/light.css +24 -1
- package/cdn/themes/light.styles.js +24 -1
- package/cdn/themes/nova_dark.css +33 -0
- package/cdn/themes/nova_dark.styles.js +33 -0
- package/cdn/themes/nova_light.css +27 -0
- package/cdn/themes/nova_light.styles.js +30 -0
- package/cdn/types/vue/index.d.ts +1846 -1769
- package/cdn/vscode.html-custom-data.json +1235 -1175
- package/cdn/web-types.json +4198 -3996
- package/dist/chunks/chunk.254HMC43.js +125 -0
- package/dist/chunks/chunk.2DH53UPD.js +11 -0
- package/dist/chunks/chunk.2FS4T6H5.js +11 -0
- package/dist/chunks/chunk.2GNT2XUA.js +45 -0
- package/dist/chunks/chunk.2HJKMXLX.js +21 -0
- package/dist/chunks/chunk.2VGXOGF2.js +21 -0
- package/dist/chunks/chunk.3EDSCJD7.js +24 -0
- package/dist/chunks/chunk.3FXP3STW.js +11 -0
- package/dist/chunks/chunk.3GB2ILNG.js +75 -0
- package/dist/chunks/chunk.3NXVR6DG.js +24 -0
- package/dist/chunks/chunk.3OKDCSXL.js +21 -0
- package/dist/chunks/chunk.3RWWLDX4.js +317 -0
- package/dist/chunks/chunk.47PVGX7N.js +466 -0
- package/dist/chunks/chunk.4DGNJ3YL.js +324 -0
- package/dist/chunks/chunk.4G5YFAGN.js +11 -0
- package/dist/chunks/chunk.4N3RWJQC.js +0 -0
- package/dist/chunks/chunk.4NHJDU2U.js +21 -0
- package/dist/chunks/chunk.4TXCABRV.js +280 -0
- package/dist/chunks/chunk.4UYZJR2Y.js +167 -0
- package/dist/chunks/chunk.53K6RGRH.js +914 -0
- package/dist/chunks/chunk.5DLUHUIT.js +191 -0
- package/dist/chunks/chunk.5I2U2EQK.js +129 -0
- package/dist/chunks/chunk.5LNB7N5C.js +154 -0
- package/dist/chunks/chunk.5MFXGR7Z.js +550 -0
- package/dist/chunks/chunk.5ROBTE3M.js +21 -0
- package/dist/chunks/chunk.5T5GTDK3.js +11 -0
- package/dist/chunks/chunk.5YJFXD74.js +11 -0
- package/dist/chunks/chunk.63PD7B5G.js +29 -0
- package/dist/chunks/chunk.65H6ULNF.js +28 -0
- package/dist/chunks/chunk.6CKFYJFW.js +11 -0
- package/dist/chunks/chunk.6CQXQAJS.js +134 -0
- package/dist/chunks/chunk.6GZW6O7D.js +21 -0
- package/dist/chunks/chunk.6H5BJGNX.js +11 -0
- package/dist/chunks/chunk.6KMT5M3Z.js +21 -0
- package/dist/chunks/chunk.6KNEMSTX.js +11 -0
- package/dist/chunks/chunk.6KNLONVH.js +11 -0
- package/dist/chunks/chunk.6KTLIXLH.js +42 -0
- package/dist/chunks/chunk.6L3YKGXL.js +96 -0
- package/dist/chunks/chunk.6OVEJOTQ.js +21 -0
- package/dist/chunks/chunk.6PEW4XGB.js +25 -0
- package/dist/chunks/chunk.6W6UPBKO.js +25 -0
- package/dist/chunks/chunk.6ZDKOOCR.js +24 -0
- package/dist/chunks/chunk.72OTBWYC.js +11 -0
- package/dist/chunks/chunk.73OSNWTU.js +21 -0
- package/dist/chunks/chunk.75NGMLHM.js +11 -0
- package/dist/chunks/chunk.75NZUHVT.js +11 -0
- package/dist/chunks/chunk.7A76KITH.js +11 -0
- package/dist/chunks/chunk.7B7AJMWY.js +28 -0
- package/dist/chunks/chunk.7EZSPXAS.js +1207 -0
- package/dist/chunks/chunk.7G6BWARZ.js +24 -0
- package/dist/chunks/chunk.7P7ELIE7.js +11 -0
- package/dist/chunks/chunk.7TCRNOEP.js +213 -0
- package/dist/chunks/chunk.7VTWM3OW.js +11 -0
- package/dist/chunks/chunk.7WA2F2KS.js +448 -0
- package/dist/chunks/chunk.7X7YE5EM.js +11 -0
- package/dist/chunks/chunk.7XP3YCN4.js +33 -0
- package/dist/chunks/chunk.7Y3VGX7H.js +24 -0
- package/dist/chunks/chunk.7ZIAXMHS.js +937 -0
- package/dist/chunks/chunk.A4YAECSJ.js +109 -0
- package/dist/chunks/chunk.A5EXYOB2.js +135 -0
- package/dist/chunks/chunk.AI6RBV4J.js +87 -0
- package/dist/chunks/chunk.AOE7I4YT.js +21 -0
- package/dist/chunks/chunk.AOYJPYHB.js +1062 -0
- package/dist/chunks/chunk.ARGGKBG7.js +26 -0
- package/dist/chunks/chunk.ARLVC7XO.js +27 -0
- package/dist/chunks/chunk.ATRXIDL6.js +27 -0
- package/dist/chunks/chunk.AZ3B4JSB.js +294 -0
- package/dist/chunks/chunk.AZPCQVGD.js +11 -0
- package/dist/chunks/chunk.BAVAEOZJ.js +209 -0
- package/dist/chunks/chunk.BDTNWSDJ.js +34 -0
- package/dist/chunks/chunk.BGUPXPPX.js +293 -0
- package/dist/chunks/chunk.BKGP7UAY.js +24 -0
- package/dist/chunks/chunk.BPH53QIY.js +11 -0
- package/dist/chunks/chunk.BRGKFCMK.js +11 -0
- package/dist/chunks/chunk.C6FNRMNI.js +21 -0
- package/dist/chunks/chunk.CBXG7BSI.js +80 -0
- package/dist/chunks/chunk.CC3OX562.js +151 -0
- package/dist/chunks/chunk.CNEDX2I2.js +11 -0
- package/dist/chunks/chunk.CT67DNNF.js +25 -0
- package/dist/chunks/chunk.CUDCCRZG.js +315 -0
- package/dist/chunks/chunk.CW5RITRV.js +247 -0
- package/dist/chunks/chunk.CYBYWVEA.js +29 -0
- package/dist/chunks/chunk.D437ZWL4.js +11 -0
- package/dist/chunks/chunk.D45MK7ZK.js +982 -0
- package/dist/chunks/chunk.D6XIP6LS.js +11 -0
- package/dist/chunks/chunk.DGMREM5O.js +119 -0
- package/dist/chunks/chunk.DQM5YJAW.js +11 -0
- package/dist/chunks/chunk.DUBGCA4O.js +827 -0
- package/dist/chunks/chunk.DWGIX4EC.js +11 -0
- package/dist/chunks/chunk.DYVZGQSV.js +21 -0
- package/dist/chunks/chunk.EE3CF2WW.js +11 -0
- package/dist/chunks/chunk.EFG3FRFM.js +85 -0
- package/dist/chunks/chunk.EMFY5AS4.js +28 -0
- package/dist/chunks/chunk.EOHQFQUG.js +11 -0
- package/dist/chunks/chunk.EP4NZGVO.js +11 -0
- package/dist/chunks/chunk.ETJEWPST.js +11 -0
- package/dist/chunks/chunk.EWQQXHTU.js +27 -0
- package/dist/chunks/chunk.EXJCVFOP.js +11 -0
- package/dist/chunks/chunk.F4GG2KUW.js +24 -0
- package/dist/chunks/chunk.F5NK6SUF.js +448 -0
- package/dist/chunks/chunk.FCWNBJ2S.js +11 -0
- package/dist/chunks/chunk.FFVTD7PC.js +86 -0
- package/dist/chunks/chunk.FNUKMQQH.js +11 -0
- package/dist/chunks/chunk.FOF65IAE.js +190 -0
- package/dist/chunks/chunk.FPCIGWQ6.js +25 -0
- package/dist/chunks/chunk.FR227KYH.js +227 -0
- package/dist/chunks/chunk.G723M6RC.js +11 -0
- package/dist/chunks/chunk.GDZJKGFK.js +25 -0
- package/dist/chunks/chunk.GJPRVZ6T.js +21 -0
- package/dist/chunks/chunk.GLJLXCPV.js +375 -0
- package/dist/chunks/chunk.GQDX35GJ.js +11 -0
- package/dist/chunks/chunk.GS3TTKRO.js +11 -0
- package/dist/chunks/chunk.GSORJOAT.js +11 -0
- package/dist/chunks/chunk.HDJWQQPO.js +11 -0
- package/dist/chunks/chunk.HOVRIPPG.js +31 -0
- package/dist/chunks/chunk.HQKO4NPQ.js +117 -0
- package/dist/chunks/chunk.HRJZ3WCX.js +32 -0
- package/dist/chunks/chunk.HSMJSZ4N.js +397 -0
- package/dist/chunks/chunk.HSQIHVFK.js +171 -0
- package/dist/chunks/chunk.ICBPAWA5.js +1977 -0
- package/dist/chunks/chunk.IHDPEK64.js +29 -0
- package/dist/chunks/chunk.IKXPZZQL.js +25 -0
- package/dist/chunks/chunk.ILKNYTVP.js +21 -0
- package/dist/chunks/chunk.ISA5ILQP.js +21 -0
- package/dist/chunks/chunk.IW4O32JQ.js +21 -0
- package/dist/chunks/chunk.IYYFDMOJ.js +263 -0
- package/dist/chunks/chunk.J4NU34FJ.js +25 -0
- package/dist/chunks/chunk.J5LDHD5F.js +27 -0
- package/dist/chunks/chunk.JCTEYGQK.js +771 -0
- package/dist/chunks/chunk.JDOVRAMF.js +27 -0
- package/dist/chunks/chunk.JI2HKL5B.js +24 -0
- package/dist/chunks/chunk.JJ3P7DXL.js +11 -0
- package/dist/chunks/chunk.JL7V74BC.js +11 -0
- package/dist/chunks/chunk.JRII7HDZ.js +24 -0
- package/dist/chunks/chunk.JUQULAEG.js +24 -0
- package/dist/chunks/chunk.JXNGZWZS.js +11 -0
- package/dist/chunks/chunk.JZDM4UIY.js +59 -0
- package/dist/chunks/chunk.JZJXKEFB.js +11 -0
- package/dist/chunks/chunk.K2W3UNCN.js +26 -0
- package/dist/chunks/chunk.KCHH5WYV.js +158 -0
- package/dist/chunks/chunk.KHHW23GS.js +949 -0
- package/dist/chunks/chunk.KIEB6ID2.js +29 -0
- package/dist/chunks/chunk.KILRX4OF.js +21 -0
- package/dist/chunks/chunk.KJ226E5A.js +11 -0
- package/dist/chunks/chunk.KKNJSKIR.js +25 -0
- package/dist/chunks/chunk.KS3IU4MI.js +384 -0
- package/dist/chunks/chunk.L2VCC2I3.js +844 -0
- package/dist/chunks/chunk.LHTK2FP5.js +11 -0
- package/dist/chunks/chunk.LIIEIDIH.js +11 -0
- package/dist/chunks/chunk.LPSZYUOT.js +24 -0
- package/dist/chunks/chunk.LSEFKE2Z.js +11 -0
- package/dist/chunks/chunk.LTG2USNH.js +27 -0
- package/dist/chunks/chunk.LVAD7P4M.js +11 -0
- package/dist/chunks/chunk.LW2OSMWH.js +598 -0
- package/dist/chunks/chunk.M7A3XVIJ.js +75 -0
- package/dist/chunks/chunk.MAXWJGAY.js +11 -0
- package/dist/chunks/chunk.MBHQ5ECI.js +29 -0
- package/dist/chunks/chunk.MLCF6OAY.js +11 -0
- package/dist/chunks/chunk.MNJDZIRS.js +521 -0
- package/dist/chunks/chunk.MNNP2WJJ.js +11 -0
- package/dist/chunks/chunk.MY5BOTIL.js +67 -0
- package/dist/chunks/chunk.MZMACKWN.js +234 -0
- package/dist/chunks/chunk.NETR6ZSK.js +11 -0
- package/dist/chunks/chunk.NJFAPOYI.js +100 -0
- package/dist/chunks/chunk.NNNDGTUI.js +21 -0
- package/dist/chunks/chunk.NP4Q4BXL.js +35 -0
- package/dist/chunks/chunk.O4IO6R7B.js +24 -0
- package/dist/chunks/chunk.ODRAO2UU.js +11 -0
- package/dist/chunks/chunk.OOZAUAQO.js +681 -0
- package/dist/chunks/chunk.OP3WIQ67.js +21 -0
- package/dist/chunks/chunk.OPLLCQV3.js +11 -0
- package/dist/chunks/chunk.OQ4CK3BJ.js +28 -0
- package/dist/chunks/chunk.OU5VBQ65.js +21 -0
- package/dist/chunks/chunk.OZXSYYWM.js +21 -0
- package/dist/chunks/chunk.P4TTXOKT.js +26 -0
- package/dist/chunks/chunk.PHOADAQC.js +627 -0
- package/dist/chunks/chunk.PKHZBX6R.js +21 -0
- package/dist/chunks/chunk.PMPAB3X5.js +274 -0
- package/dist/chunks/chunk.PN2P6OLT.js +11 -0
- package/dist/chunks/chunk.PQBWKAZR.js +11 -0
- package/dist/chunks/chunk.PRU5QBPU.js +322 -0
- package/dist/chunks/chunk.PUNC7UHS.js +348 -0
- package/dist/chunks/chunk.Q252BT7J.js +28 -0
- package/dist/chunks/chunk.Q3JF34EQ.js +24 -0
- package/dist/chunks/chunk.QH7ZHCBW.js +24 -0
- package/dist/chunks/chunk.QQZKCFW4.js +21 -0
- package/dist/chunks/chunk.RDJ4AE4V.js +11 -0
- package/dist/chunks/chunk.REZ5G44O.js +116 -0
- package/dist/chunks/chunk.RHAUS6JV.js +27 -0
- package/dist/chunks/chunk.RI667HFF.js +11 -0
- package/dist/chunks/chunk.ROCPLKBD.js +286 -0
- package/dist/chunks/chunk.RQOOFI57.js +241 -0
- package/dist/chunks/chunk.RR4XBYT2.js +207 -0
- package/dist/chunks/chunk.RVZ3VYPA.js +50 -0
- package/dist/chunks/chunk.S3TGDH7P.js +57 -0
- package/dist/chunks/chunk.SGCS3MVP.js +25 -0
- package/dist/chunks/chunk.SJYIWZBR.js +180 -0
- package/dist/chunks/chunk.SOBVNSP7.js +11 -0
- package/dist/chunks/chunk.SR76II64.js +11 -0
- package/dist/chunks/chunk.STMVINF4.js +11 -0
- package/dist/chunks/chunk.SV325PC4.js +231 -0
- package/dist/chunks/chunk.T42W5SOC.js +26 -0
- package/dist/chunks/chunk.T7SEEOFS.js +113 -0
- package/dist/chunks/chunk.TDAY6JDX.js +691 -0
- package/dist/chunks/chunk.TDVKMSAK.js +11 -0
- package/dist/chunks/chunk.TEKPRJDN.js +21 -0
- package/dist/chunks/chunk.TES3RTM4.js +52 -0
- package/dist/chunks/chunk.TMSYVUFC.js +407 -0
- package/dist/chunks/chunk.TRQX76YX.js +26 -0
- package/dist/chunks/chunk.TWNDILMX.js +91 -0
- package/dist/chunks/chunk.TXQVGDHA.js +86 -0
- package/dist/chunks/chunk.U237BHWO.js +365 -0
- package/dist/chunks/chunk.U4S5L6FS.js +24 -0
- package/dist/chunks/chunk.U6I7LYCD.js +27 -0
- package/dist/chunks/chunk.UC7SS2QR.js +21 -0
- package/dist/chunks/chunk.UFNYFDBG.js +29 -0
- package/dist/chunks/chunk.UH6FHBPZ.js +212 -0
- package/dist/chunks/chunk.UHBSPGGN.js +26 -0
- package/dist/chunks/chunk.UHOZJNMJ.js +11 -0
- package/dist/chunks/chunk.UN3IMGT6.js +22 -0
- package/dist/chunks/chunk.UNF36IBW.js +11 -0
- package/dist/chunks/chunk.UNHI6YID.js +29 -0
- package/dist/chunks/chunk.UONLAQYO.js +11 -0
- package/dist/chunks/chunk.URQKURL6.js +21 -0
- package/dist/chunks/chunk.UV3QAJYD.js +24 -0
- package/dist/chunks/chunk.UXYLHLRL.js +148 -0
- package/dist/chunks/chunk.UYQ4CSAA.js +21 -0
- package/dist/chunks/chunk.V2DZ4VIR.js +11 -0
- package/dist/chunks/chunk.VH7TV6VV.js +320 -0
- package/dist/chunks/chunk.VICSTLWR.js +11 -0
- package/dist/chunks/chunk.VJ6QBXEX.js +22 -0
- package/dist/chunks/chunk.VPV5B6MW.js +100 -0
- package/dist/chunks/chunk.VUGYQC7L.js +29 -0
- package/dist/chunks/chunk.VWKG5F4G.js +25 -0
- package/dist/chunks/chunk.VYBMYLOG.js +11 -0
- package/dist/chunks/chunk.W25DMNBA.js +11 -0
- package/dist/chunks/chunk.W2KYBBYE.js +25 -0
- package/dist/chunks/chunk.W2T4RBHS.js +21 -0
- package/dist/chunks/chunk.W6WIH7X7.js +45 -0
- package/dist/chunks/chunk.WBKEFTMA.js +11 -0
- package/dist/chunks/chunk.WBS3LBS3.js +147 -0
- package/dist/chunks/chunk.WHGYCDFP.js +28 -0
- package/dist/chunks/chunk.WKNWXXRR.js +613 -0
- package/dist/chunks/chunk.WMRUHRDV.js +21 -0
- package/dist/chunks/chunk.WOAGJPTN.js +11 -0
- package/dist/chunks/chunk.WP42MMDK.js +63 -0
- package/dist/chunks/chunk.WRSW7KNK.js +21 -0
- package/dist/chunks/chunk.WSVSEQMF.js +111 -0
- package/dist/chunks/chunk.X2PCHQ6L.js +194 -0
- package/dist/chunks/chunk.X6SZFLPF.js +11 -0
- package/dist/chunks/chunk.XE2H5GYD.js +11 -0
- package/dist/chunks/chunk.XI7BWS3G.js +90 -0
- package/dist/chunks/chunk.XJ75SILN.js +11 -0
- package/dist/chunks/chunk.XKFE7UAM.js +126 -0
- package/dist/chunks/chunk.XTCPUWNC.js +337 -0
- package/dist/chunks/chunk.XTIYIVO3.js +11 -0
- package/dist/chunks/chunk.XVDEGGRU.js +11 -0
- package/dist/chunks/chunk.XXJW5VGH.js +73 -0
- package/dist/chunks/chunk.Y4U7PHHA.js +11 -0
- package/dist/chunks/chunk.YACRHEK2.js +11 -0
- package/dist/chunks/chunk.YDU3P4DL.js +126 -0
- package/dist/chunks/chunk.YJMXC6SS.js +181 -0
- package/dist/chunks/chunk.YLQDEKZC.js +11 -0
- package/dist/chunks/chunk.YQZIDODR.js +11 -0
- package/dist/chunks/chunk.YTY7KRME.js +424 -0
- package/dist/chunks/chunk.YWMPT747.js +93 -0
- package/dist/chunks/chunk.YXFWXGZP.js +11 -0
- package/dist/chunks/chunk.Z33SGCFT.js +502 -0
- package/dist/chunks/chunk.Z5P4ZJUG.js +11 -0
- package/dist/chunks/chunk.ZCCJCJPY.js +365 -0
- package/dist/chunks/chunk.ZCOM57KW.js +24 -0
- package/dist/chunks/chunk.ZHBBQBM4.js +11 -0
- package/dist/chunks/chunk.ZKDJ44SZ.js +11 -0
- package/dist/chunks/chunk.ZN7XIAWT.js +494 -0
- package/dist/chunks/chunk.ZOSS4BBF.js +192 -0
- package/dist/chunks/chunk.ZRXXJLRK.js +11 -0
- package/dist/chunks/chunk.ZSAUYOIT.js +24 -0
- package/dist/chunks/chunk.ZT2QIYIT.js +174 -0
- package/dist/chunks/chunk.ZTFMOM5N.js +25 -0
- package/dist/chunks/chunk.ZTVELYCT.js +11 -0
- package/dist/chunks/chunk.ZYPN2M4F.js +21 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.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 +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- 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 +14 -14
- package/dist/components/calendar/calendar.js +15 -15
- package/dist/components/calendar-picker/calendar-picker.component.js +8 -8
- package/dist/components/calendar-picker/calendar-picker.js +8 -8
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +4 -4
- package/dist/components/carousel/carousel.js +5 -5
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/cascader/cascader.component.js +7 -7
- package/dist/components/cascader/cascader.js +8 -8
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/col/col.component.js +2 -2
- package/dist/components/col/col.js +3 -3
- package/dist/components/color-picker/color-picker.component.js +15 -15
- package/dist/components/color-picker/color-picker.js +16 -16
- 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-panel/date-panel.component.js +13 -13
- package/dist/components/date-panel/date-panel.js +13 -13
- package/dist/components/datepicker/datepicker.component.js +17 -17
- package/dist/components/datepicker/datepicker.js +17 -17
- package/dist/components/daterangepicker/daterangepicker.component.js +14 -14
- package/dist/components/daterangepicker/daterangepicker.js +15 -15
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/float-button/float-button.component.js +6 -6
- package/dist/components/float-button/float-button.js +7 -7
- package/dist/components/float-button-group/float-button-group.component.js +4 -4
- package/dist/components/float-button-group/float-button-group.js +5 -5
- 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/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/image/image.component.js +3 -3
- package/dist/components/image/image.js +3 -3
- package/dist/components/image/image.styles.js +1 -1
- package/dist/components/image-comparer/image-comparer.component.js +4 -4
- package/dist/components/image-comparer/image-comparer.js +5 -5
- package/dist/components/image-preview-group/image-preview-group.component.js +3 -3
- package/dist/components/image-preview-group/image-preview-group.js +3 -3
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- 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.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- 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 +10 -10
- package/dist/components/nav/nav.js +11 -11
- 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 +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +5 -5
- package/dist/components/nav-submenu/nav-submenu.js +6 -6
- package/dist/components/notification/notification.component.js +6 -6
- package/dist/components/notification/notification.js +7 -7
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/custom-select.js +10 -10
- package/dist/components/pagination/pagination.component.js +11 -11
- package/dist/components/pagination/pagination.js +11 -11
- 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/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.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 +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +4 -4
- package/dist/components/rating/rating.js +5 -5
- 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/row/row.component.js +2 -2
- package/dist/components/row/row.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/segmented/segmented.component.js +6 -6
- package/dist/components/segmented/segmented.js +7 -7
- package/dist/components/select/select.component.js +8 -8
- package/dist/components/select/select.js +9 -9
- package/dist/components/sender/sender.component.js +16 -16
- package/dist/components/sender/sender.js +17 -17
- package/dist/components/sender-header/sender-header.component.js +7 -7
- package/dist/components/sender-header/sender-header.js +8 -8
- package/dist/components/sender-switch/sender-switch.component.js +7 -7
- package/dist/components/sender-switch/sender-switch.js +8 -8
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/space/space.component.js +2 -2
- package/dist/components/space/space.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.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/steps/steps.component.js +5 -5
- package/dist/components/steps/steps.js +6 -6
- package/dist/components/steps/steps.styles.js +1 -1
- 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/body-table.js +2 -2
- package/dist/components/table/footer-table.js +2 -2
- package/dist/components/table/head-table.js +21 -21
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +31 -31
- package/dist/components/table/table.js +32 -32
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/think/think.component.js +5 -5
- package/dist/components/think/think.js +6 -6
- package/dist/components/thought-chain/thought-chain.component.js +2 -2
- package/dist/components/thought-chain/thought-chain.js +3 -3
- package/dist/components/thought-chain-item/thought-chain-item.component.js +5 -5
- package/dist/components/thought-chain-item/thought-chain-item.js +6 -6
- package/dist/components/thought-chain-node/thought-chain-node.component.js +5 -5
- package/dist/components/thought-chain-node/thought-chain-node.js +6 -6
- package/dist/components/time-panel/time-panel.component.js +7 -7
- package/dist/components/time-panel/time-panel.js +7 -7
- package/dist/components/timepicker/timepicker.component.js +17 -17
- package/dist/components/timepicker/timepicker.js +17 -17
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/transfer/interface.js +1 -0
- package/dist/components/transfer/transfer.component.js +47 -0
- package/dist/components/transfer/transfer.js +52 -0
- package/dist/components/transfer/transfer.styles.js +7 -0
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- 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-select/tree-select.component.js +15 -15
- package/dist/components/tree-select/tree-select.js +16 -16
- package/dist/components/upload/upload.component.js +13 -13
- package/dist/components/upload/upload.js +13 -13
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/components/x-markdown/x-markdown.component.js +4 -4
- package/dist/components/x-markdown/x-markdown.js +5 -5
- package/dist/custom-elements.json +12829 -11889
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +5 -5
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/calendar/index.js +15 -15
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/cascader/index.js +8 -8
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/col/index.js +3 -3
- package/dist/react/color-picker/index.js +16 -16
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/date-panel/index.js +14 -14
- package/dist/react/datepicker/index.js +18 -18
- package/dist/react/daterangepicker/index.js +15 -15
- package/dist/react/details/index.js +5 -5
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/float-button/index.js +7 -7
- package/dist/react/float-button-group/index.js +5 -5
- 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/icon/index.js +4 -4
- package/dist/react/icon-button/index.js +5 -5
- package/dist/react/image/index.js +4 -4
- package/dist/react/image-comparer/index.js +5 -5
- package/dist/react/image-preview-group/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +311 -305
- package/dist/react/input/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +11 -11
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +6 -6
- package/dist/react/notification/index.js +7 -7
- package/dist/react/option/index.js +5 -5
- package/dist/react/pagination/index.js +12 -12
- 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/qr-code/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 +4 -4
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +5 -5
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/row/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/segmented/index.js +7 -7
- package/dist/react/select/index.js +9 -9
- package/dist/react/sender/index.js +17 -17
- package/dist/react/sender-header/index.js +8 -8
- package/dist/react/sender-switch/index.js +8 -8
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/space/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/steps/index.js +6 -6
- 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 +32 -32
- package/dist/react/tag/index.js +6 -6
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/think/index.js +6 -6
- package/dist/react/thought-chain/index.js +3 -3
- package/dist/react/thought-chain-item/index.js +6 -6
- package/dist/react/thought-chain-node/index.js +6 -6
- package/dist/react/timepicker/index.js +18 -18
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/transfer/index.js +48 -0
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/tree-select/index.js +16 -16
- package/dist/react/upload/index.js +14 -14
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/react/x-markdown/index.js +5 -5
- package/dist/shoelace.js +287 -287
- package/dist/themes/dark.css +24 -0
- package/dist/themes/dark.styles.js +24 -0
- package/dist/themes/light.css +24 -1
- package/dist/themes/light.styles.js +24 -1
- package/dist/themes/nova_dark.css +33 -0
- package/dist/themes/nova_dark.styles.js +33 -0
- package/dist/themes/nova_light.css +27 -0
- package/dist/themes/nova_light.styles.js +30 -0
- package/dist/types/vue/index.d.ts +1846 -1769
- package/dist/vscode.html-custom-data.json +1235 -1175
- package/dist/web-types.json +4198 -3996
- package/package.json +3 -2
- package/cdn/chunks/chunk.22N5PTVX.js +0 -21
- package/cdn/chunks/chunk.2BCGBG5C.js +0 -11
- package/cdn/chunks/chunk.2CAY5OWV.js +0 -11
- package/cdn/chunks/chunk.2DAFOMJC.js +0 -11
- package/cdn/chunks/chunk.2H6KQPLN.js +0 -255
- package/cdn/chunks/chunk.2KNJMVS6.js +0 -233
- package/cdn/chunks/chunk.2LUFKO4T.js +0 -63
- package/cdn/chunks/chunk.2NBJAFW6.js +0 -21
- package/cdn/chunks/chunk.2S2XSLZS.js +0 -25
- package/cdn/chunks/chunk.2S6N57C2.js +0 -543
- package/cdn/chunks/chunk.2S6YOP7W.js +0 -11
- package/cdn/chunks/chunk.2X6YGHEK.js +0 -11
- package/cdn/chunks/chunk.2ZN6BGNY.js +0 -29
- package/cdn/chunks/chunk.3DCOCOWQ.js +0 -21
- package/cdn/chunks/chunk.3GAF2BPB.js +0 -21
- package/cdn/chunks/chunk.3GOZ7XCZ.js +0 -75
- package/cdn/chunks/chunk.3HUPT63B.js +0 -11
- package/cdn/chunks/chunk.3ORAR7VD.js +0 -27
- package/cdn/chunks/chunk.3XM7ULBR.js +0 -11
- package/cdn/chunks/chunk.44Q33RDN.js +0 -21
- package/cdn/chunks/chunk.4BTRF6TV.js +0 -24
- package/cdn/chunks/chunk.4GVSH6ZZ.js +0 -27
- package/cdn/chunks/chunk.4NIEW2RH.js +0 -24
- package/cdn/chunks/chunk.4PGMXZ7G.js +0 -163
- package/cdn/chunks/chunk.55HPVCT5.js +0 -11
- package/cdn/chunks/chunk.564K2G7T.js +0 -11
- package/cdn/chunks/chunk.5BCM6FLW.js +0 -120
- package/cdn/chunks/chunk.5GSCG5RD.js +0 -281
- package/cdn/chunks/chunk.5JB53YLB.js +0 -154
- package/cdn/chunks/chunk.5LLG3CLU.js +0 -11
- package/cdn/chunks/chunk.5NORL6KZ.js +0 -11
- package/cdn/chunks/chunk.5OQ7MG36.js +0 -11
- package/cdn/chunks/chunk.5XOW7N3P.js +0 -11
- package/cdn/chunks/chunk.622NCJ7A.js +0 -21
- package/cdn/chunks/chunk.62U256U7.js +0 -11
- package/cdn/chunks/chunk.67C2SWFA.js +0 -161
- package/cdn/chunks/chunk.6AZGQXJK.js +0 -11
- package/cdn/chunks/chunk.6EPRN4BN.js +0 -27
- package/cdn/chunks/chunk.6F46FH3S.js +0 -11
- package/cdn/chunks/chunk.6NAUCGYE.js +0 -24
- package/cdn/chunks/chunk.6RHFSW2E.js +0 -54
- package/cdn/chunks/chunk.76CZYTNN.js +0 -11
- package/cdn/chunks/chunk.7EF6KIH3.js +0 -60
- package/cdn/chunks/chunk.7IFUCYTC.js +0 -634
- package/cdn/chunks/chunk.7K4YCGDK.js +0 -11
- package/cdn/chunks/chunk.7K5F2BXD.js +0 -11
- package/cdn/chunks/chunk.7N2ATS4S.js +0 -246
- package/cdn/chunks/chunk.7YRVUZ5Z.js +0 -28
- package/cdn/chunks/chunk.7ZTCV26X.js +0 -11
- package/cdn/chunks/chunk.A2FSPE72.js +0 -299
- package/cdn/chunks/chunk.A3LXMVDY.js +0 -186
- package/cdn/chunks/chunk.A47FSQQS.js +0 -24
- package/cdn/chunks/chunk.A6E77YML.js +0 -197
- package/cdn/chunks/chunk.A6M2XBBK.js +0 -2632
- package/cdn/chunks/chunk.AC3BRBCQ.js +0 -11
- package/cdn/chunks/chunk.ACJITJE6.js +0 -329
- package/cdn/chunks/chunk.AGF4UFJG.js +0 -92
- package/cdn/chunks/chunk.AKXHPGOV.js +0 -29
- package/cdn/chunks/chunk.AUFYA4OA.js +0 -28
- package/cdn/chunks/chunk.B2QCQFCI.js +0 -383
- package/cdn/chunks/chunk.B4MV4SME.js +0 -11
- package/cdn/chunks/chunk.B5XIDI6F.js +0 -31
- package/cdn/chunks/chunk.B6U6Y4EH.js +0 -135
- package/cdn/chunks/chunk.BCODMAEY.js +0 -158
- package/cdn/chunks/chunk.BDVTJZDQ.js +0 -28
- package/cdn/chunks/chunk.BHK2CEFI.js +0 -291
- package/cdn/chunks/chunk.BHZ6JC7T.js +0 -95
- package/cdn/chunks/chunk.BILFFE77.js +0 -73
- package/cdn/chunks/chunk.BKDG2OEQ.js +0 -11
- package/cdn/chunks/chunk.BZ5HBYHP.js +0 -199
- package/cdn/chunks/chunk.BZ5PBV75.js +0 -11
- package/cdn/chunks/chunk.CFQH3MJT.js +0 -21
- package/cdn/chunks/chunk.CG5EQ2J6.js +0 -11
- package/cdn/chunks/chunk.CI3RFEJE.js +0 -11
- package/cdn/chunks/chunk.CI4DJHME.js +0 -24
- package/cdn/chunks/chunk.CIXQI3ZN.js +0 -11
- package/cdn/chunks/chunk.CLHJVNB6.js +0 -510
- package/cdn/chunks/chunk.CMHSZDTK.js +0 -25
- package/cdn/chunks/chunk.CVLBAJVT.js +0 -21
- package/cdn/chunks/chunk.D3FKAMLI.js +0 -113
- package/cdn/chunks/chunk.D3WHNWAU.js +0 -110
- package/cdn/chunks/chunk.DG3KI6VD.js +0 -692
- package/cdn/chunks/chunk.DILUS27E.js +0 -11
- package/cdn/chunks/chunk.DUU5PEPA.js +0 -118
- package/cdn/chunks/chunk.DW6EG2ZC.js +0 -305
- package/cdn/chunks/chunk.DX4BYW4D.js +0 -179
- package/cdn/chunks/chunk.E3U4AAJR.js +0 -236
- package/cdn/chunks/chunk.E5K7RZ5A.js +0 -25
- package/cdn/chunks/chunk.E5R5EIBN.js +0 -11
- package/cdn/chunks/chunk.EAZNC2LB.js +0 -24
- package/cdn/chunks/chunk.EEEPGF2G.js +0 -21
- package/cdn/chunks/chunk.ETQT6I4A.js +0 -215
- package/cdn/chunks/chunk.F2EFOTZD.js +0 -216
- package/cdn/chunks/chunk.F2VT3MNV.js +0 -26
- package/cdn/chunks/chunk.F4BONJ6C.js +0 -11
- package/cdn/chunks/chunk.F67WBIO2.js +0 -11
- package/cdn/chunks/chunk.FCETIUX5.js +0 -24
- package/cdn/chunks/chunk.FD3K7GAJ.js +0 -402
- package/cdn/chunks/chunk.FRAYJJ62.js +0 -21
- package/cdn/chunks/chunk.FVG6ECXV.js +0 -25
- package/cdn/chunks/chunk.G7C4IQHF.js +0 -271
- package/cdn/chunks/chunk.GB5GPJBP.js +0 -11
- package/cdn/chunks/chunk.GBGSVB53.js +0 -11
- package/cdn/chunks/chunk.GDMWEJTF.js +0 -128
- package/cdn/chunks/chunk.GHZJCWCN.js +0 -246
- package/cdn/chunks/chunk.GK4EPTHD.js +0 -11
- package/cdn/chunks/chunk.GQQJ3VNW.js +0 -25
- package/cdn/chunks/chunk.GU24PRQD.js +0 -24
- package/cdn/chunks/chunk.GU73Y2LV.js +0 -1071
- package/cdn/chunks/chunk.GXVRHFBG.js +0 -11
- package/cdn/chunks/chunk.GYTL6PIH.js +0 -11
- package/cdn/chunks/chunk.H24MB2RG.js +0 -11
- package/cdn/chunks/chunk.H6YBBT32.js +0 -336
- package/cdn/chunks/chunk.HEXIDJNP.js +0 -391
- package/cdn/chunks/chunk.HGA5KVLN.js +0 -29
- package/cdn/chunks/chunk.HGLE6Z4W.js +0 -24
- package/cdn/chunks/chunk.HSQ3QFLA.js +0 -26
- package/cdn/chunks/chunk.HVW2NRVH.js +0 -21
- package/cdn/chunks/chunk.HYKTEX6M.js +0 -132
- package/cdn/chunks/chunk.IEAYR3KY.js +0 -11
- package/cdn/chunks/chunk.IF6ZINR3.js +0 -103
- package/cdn/chunks/chunk.IQPIX6GQ.js +0 -29
- package/cdn/chunks/chunk.IRBBLQ2D.js +0 -835
- package/cdn/chunks/chunk.ITBD43WZ.js +0 -21
- package/cdn/chunks/chunk.IUJWLVST.js +0 -26
- package/cdn/chunks/chunk.IX4KYKFV.js +0 -923
- package/cdn/chunks/chunk.IX7ZI5KX.js +0 -11
- package/cdn/chunks/chunk.J3DDS3C5.js +0 -186
- package/cdn/chunks/chunk.J4TFWMDD.js +0 -724
- package/cdn/chunks/chunk.J5DCJIJG.js +0 -11
- package/cdn/chunks/chunk.JAXDP6HO.js +0 -27
- package/cdn/chunks/chunk.JE4M6LBP.js +0 -11
- package/cdn/chunks/chunk.JG23CVDU.js +0 -27
- package/cdn/chunks/chunk.JHPHYEWZ.js +0 -21
- package/cdn/chunks/chunk.JJVLSMVP.js +0 -11
- package/cdn/chunks/chunk.JONGUMJ4.js +0 -11
- package/cdn/chunks/chunk.JRDKK5PI.js +0 -292
- package/cdn/chunks/chunk.JRJXDEYA.js +0 -24
- package/cdn/chunks/chunk.JXHJSRXB.js +0 -79
- package/cdn/chunks/chunk.JYWOELZO.js +0 -21
- package/cdn/chunks/chunk.K6FR7AFP.js +0 -11
- package/cdn/chunks/chunk.K7H26JT3.js +0 -25
- package/cdn/chunks/chunk.KAA3R7F6.js +0 -1972
- package/cdn/chunks/chunk.KD2W73R4.js +0 -279
- package/cdn/chunks/chunk.KGSUEYIK.js +0 -24
- package/cdn/chunks/chunk.KHW7U7QA.js +0 -302
- package/cdn/chunks/chunk.KNSF44EG.js +0 -87
- package/cdn/chunks/chunk.KTUEKLUU.js +0 -500
- package/cdn/chunks/chunk.KYMJVPYB.js +0 -11
- package/cdn/chunks/chunk.L5PDBA73.js +0 -7426
- package/cdn/chunks/chunk.L73AY6XV.js +0 -11
- package/cdn/chunks/chunk.LAIIZLEM.js +0 -21
- package/cdn/chunks/chunk.LCMQ7QMH.js +0 -215
- package/cdn/chunks/chunk.LEQ7ROXQ.js +0 -36
- package/cdn/chunks/chunk.LIUXTERA.js +0 -11
- package/cdn/chunks/chunk.LK7UVDWC.js +0 -24
- package/cdn/chunks/chunk.LMVGSCMZ.js +0 -25
- package/cdn/chunks/chunk.LOEPVL46.js +0 -11
- package/cdn/chunks/chunk.LS5MJC2K.js +0 -67
- package/cdn/chunks/chunk.LWRG24EZ.js +0 -21
- package/cdn/chunks/chunk.LXDA6DTG.js +0 -354
- package/cdn/chunks/chunk.LYCYIXUW.js +0 -11
- package/cdn/chunks/chunk.M2TSX2S6.js +0 -605
- package/cdn/chunks/chunk.MKBGEG2L.js +0 -21
- package/cdn/chunks/chunk.MMG3NKNI.js +0 -11
- package/cdn/chunks/chunk.MRSMOI22.js +0 -25
- package/cdn/chunks/chunk.MTXZRY66.js +0 -11
- package/cdn/chunks/chunk.MV6BI5GK.js +0 -11
- package/cdn/chunks/chunk.MXYPWECN.js +0 -29
- package/cdn/chunks/chunk.MYCLNYJF.js +0 -21
- package/cdn/chunks/chunk.N6OUYYHN.js +0 -82
- package/cdn/chunks/chunk.NATFYANS.js +0 -11
- package/cdn/chunks/chunk.NN5BTMHP.js +0 -11
- package/cdn/chunks/chunk.NXT36LNP.js +0 -24
- package/cdn/chunks/chunk.O7PVH2G4.js +0 -24
- package/cdn/chunks/chunk.OCMKVACL.js +0 -330
- package/cdn/chunks/chunk.OO6RKMCB.js +0 -70
- package/cdn/chunks/chunk.OVRGHDOB.js +0 -42
- package/cdn/chunks/chunk.P35BG3RR.js +0 -142
- package/cdn/chunks/chunk.P5CG56IO.js +0 -1257
- package/cdn/chunks/chunk.P7VAWFLA.js +0 -153
- package/cdn/chunks/chunk.PHLMPS7Z.js +0 -21
- package/cdn/chunks/chunk.PL4KGADD.js +0 -133
- package/cdn/chunks/chunk.PLM45NZD.js +0 -77
- package/cdn/chunks/chunk.PQ7OQRTN.js +0 -619
- package/cdn/chunks/chunk.PSTTVCPG.js +0 -782
- package/cdn/chunks/chunk.PSZF2LS6.js +0 -49
- package/cdn/chunks/chunk.PU6CJLWU.js +0 -824
- package/cdn/chunks/chunk.PUR7QYBW.js +0 -21
- package/cdn/chunks/chunk.PVXZ37HV.js +0 -11
- package/cdn/chunks/chunk.PYBRREFJ.js +0 -27
- package/cdn/chunks/chunk.Q2HFGSX3.js +0 -11
- package/cdn/chunks/chunk.QAVL6VNM.js +0 -11
- package/cdn/chunks/chunk.QIEADF2R.js +0 -1932
- package/cdn/chunks/chunk.QNACI2VQ.js +0 -126
- package/cdn/chunks/chunk.QRZQGKIP.js +0 -11
- package/cdn/chunks/chunk.QW3S7RGA.js +0 -137
- package/cdn/chunks/chunk.QYR3IGLT.js +0 -50
- package/cdn/chunks/chunk.QZA7O4ND.js +0 -24
- package/cdn/chunks/chunk.R6FBYIWE.js +0 -26
- package/cdn/chunks/chunk.R7QDBXPZ.js +0 -35
- package/cdn/chunks/chunk.R7ST2TAF.js +0 -21
- package/cdn/chunks/chunk.RFKIEWKU.js +0 -27
- package/cdn/chunks/chunk.RIAM6WXC.js +0 -25
- package/cdn/chunks/chunk.RNM3TMQL.js +0 -346
- package/cdn/chunks/chunk.RR3ZZRM4.js +0 -11
- package/cdn/chunks/chunk.RRMTMZK3.js +0 -29
- package/cdn/chunks/chunk.RWD3FFJZ.js +0 -11
- package/cdn/chunks/chunk.RYJ5NSSJ.js +0 -455
- package/cdn/chunks/chunk.S6IQL52Z.js +0 -97
- package/cdn/chunks/chunk.S6NYZPVE.js +0 -21
- package/cdn/chunks/chunk.S6RARJ6I.js +0 -21
- package/cdn/chunks/chunk.SKXIMFBN.js +0 -122
- package/cdn/chunks/chunk.SOAQSD5Y.js +0 -320
- package/cdn/chunks/chunk.SPRZI4PO.js +0 -93
- package/cdn/chunks/chunk.SUFIZXAS.js +0 -24
- package/cdn/chunks/chunk.SZRRQZPC.js +0 -114
- package/cdn/chunks/chunk.T35R3U32.js +0 -28
- package/cdn/chunks/chunk.T6RBEZIM.js +0 -92
- package/cdn/chunks/chunk.T6TU4WDJ.js +0 -24
- package/cdn/chunks/chunk.TDKUTEKR.js +0 -11
- package/cdn/chunks/chunk.TFKS2DSM.js +0 -28
- package/cdn/chunks/chunk.TG2JJEGO.js +0 -91
- package/cdn/chunks/chunk.TGK4K22N.js +0 -26
- package/cdn/chunks/chunk.TIFZ7L34.js +0 -24
- package/cdn/chunks/chunk.TKTXI5TH.js +0 -11
- package/cdn/chunks/chunk.TNPKPMPA.js +0 -454
- package/cdn/chunks/chunk.TO3CJJ63.js +0 -11
- package/cdn/chunks/chunk.TPDV4NOM.js +0 -26
- package/cdn/chunks/chunk.TRKIJFED.js +0 -24
- package/cdn/chunks/chunk.TS4KMVGQ.js +0 -11
- package/cdn/chunks/chunk.TS6R4FXD.js +0 -71
- package/cdn/chunks/chunk.TX2JEVUU.js +0 -193
- package/cdn/chunks/chunk.TXB53IAA.js +0 -33
- package/cdn/chunks/chunk.TXUE6LBW.js +0 -27
- package/cdn/chunks/chunk.TZ3ZEYZW.js +0 -11
- package/cdn/chunks/chunk.TZZMKEKV.js +0 -127
- package/cdn/chunks/chunk.U6VNQDE4.js +0 -331
- package/cdn/chunks/chunk.UF4GX4AK.js +0 -11
- package/cdn/chunks/chunk.UFRR4FRY.js +0 -49
- package/cdn/chunks/chunk.UKIT4CJ5.js +0 -371
- package/cdn/chunks/chunk.UQ7LZ2KP.js +0 -28
- package/cdn/chunks/chunk.UTWBVWVO.js +0 -21
- package/cdn/chunks/chunk.UVCXOKOU.js +0 -11
- package/cdn/chunks/chunk.UVPLSCZN.js +0 -24
- package/cdn/chunks/chunk.UWBCBLXH.js +0 -11
- package/cdn/chunks/chunk.UWZCNB34.js +0 -1990
- package/cdn/chunks/chunk.UZSH5GHZ.js +0 -21
- package/cdn/chunks/chunk.UZTI43W7.js +0 -21
- package/cdn/chunks/chunk.V3KXJCDQ.js +0 -11
- package/cdn/chunks/chunk.V5ZXWIQG.js +0 -21
- package/cdn/chunks/chunk.VAJB3EU3.js +0 -5896
- package/cdn/chunks/chunk.VFAO2T3T.js +0 -239
- package/cdn/chunks/chunk.VMRCRARS.js +0 -11
- package/cdn/chunks/chunk.VVN4AZ6W.js +0 -11
- package/cdn/chunks/chunk.W626LNKJ.js +0 -21
- package/cdn/chunks/chunk.WPM42KGA.js +0 -21
- package/cdn/chunks/chunk.WT723SV4.js +0 -197
- package/cdn/chunks/chunk.XB4ZV6RK.js +0 -25
- package/cdn/chunks/chunk.XCVOIFZO.js +0 -11
- package/cdn/chunks/chunk.XE5ZCUAB.js +0 -11
- package/cdn/chunks/chunk.XEDS5UTC.js +0 -25
- package/cdn/chunks/chunk.XHLDQEDC.js +0 -29
- package/cdn/chunks/chunk.XJ7Q4EGL.js +0 -29
- package/cdn/chunks/chunk.XMK6TU2Z.js +0 -472
- package/cdn/chunks/chunk.XUNG7FQE.js +0 -32
- package/cdn/chunks/chunk.XWWOORAU.js +0 -11
- package/cdn/chunks/chunk.XXFGH26X.js +0 -11
- package/cdn/chunks/chunk.XXWWX42Z.js +0 -11
- package/cdn/chunks/chunk.XY62FXRL.js +0 -11
- package/cdn/chunks/chunk.Y3WFCWJZ.js +0 -1213
- package/cdn/chunks/chunk.YCXRP4OI.js +0 -11
- package/cdn/chunks/chunk.YHPGJQ7S.js +0 -586
- package/cdn/chunks/chunk.YNDTL3NT.js +0 -413
- package/cdn/chunks/chunk.YORH576P.js +0 -11
- package/cdn/chunks/chunk.YPD5YX4H.js +0 -11
- package/cdn/chunks/chunk.Z5U2CSGH.js +0 -11
- package/cdn/chunks/chunk.ZEGQE6A7.js +0 -177
- package/cdn/chunks/chunk.ZFKDKWOD.js +0 -11
- package/cdn/chunks/chunk.ZHA5PVWU.js +0 -11
- package/cdn/chunks/chunk.ZLJQVKI7.js +0 -21
- package/cdn/chunks/chunk.ZMHSGEF7.js +0 -21
- package/cdn/chunks/chunk.ZS3K4NPH.js +0 -11
- package/cdn/chunks/chunk.ZYC5S7ZP.js +0 -276
- package/dist/chunks/chunk.242KU6YF.js +0 -63
- package/dist/chunks/chunk.25PU63SY.js +0 -21
- package/dist/chunks/chunk.26CIOSZK.js +0 -21
- package/dist/chunks/chunk.2A5WSIRJ.js +0 -21
- package/dist/chunks/chunk.2HSBID6W.js +0 -11
- package/dist/chunks/chunk.2NCMYNNT.js +0 -11
- package/dist/chunks/chunk.2NERKQ3M.js +0 -24
- package/dist/chunks/chunk.2SC7ZSKZ.js +0 -26
- package/dist/chunks/chunk.3DEPNMW6.js +0 -274
- package/dist/chunks/chunk.3GB4CR6M.js +0 -11
- package/dist/chunks/chunk.3MN2P4VW.js +0 -11
- package/dist/chunks/chunk.3MN7PGB7.js +0 -24
- package/dist/chunks/chunk.3NGRIE4Q.js +0 -25
- package/dist/chunks/chunk.3O4XBHCA.js +0 -11
- package/dist/chunks/chunk.3XP2E4S5.js +0 -28
- package/dist/chunks/chunk.3Z3CJ4SO.js +0 -28
- package/dist/chunks/chunk.42NKZGHU.js +0 -75
- package/dist/chunks/chunk.44AYLEYI.js +0 -397
- package/dist/chunks/chunk.462YIHHV.js +0 -11
- package/dist/chunks/chunk.4HOC44K2.js +0 -27
- package/dist/chunks/chunk.4JZX7KAU.js +0 -681
- package/dist/chunks/chunk.4ODCKP2K.js +0 -151
- package/dist/chunks/chunk.4R3AIS5W.js +0 -11
- package/dist/chunks/chunk.4S47ZPL7.js +0 -11
- package/dist/chunks/chunk.4WPS7YAB.js +0 -29
- package/dist/chunks/chunk.4XWHSNRZ.js +0 -11
- package/dist/chunks/chunk.4ZFAL7AO.js +0 -27
- package/dist/chunks/chunk.53GWUUFZ.js +0 -1963
- package/dist/chunks/chunk.54FBXB2R.js +0 -26
- package/dist/chunks/chunk.577OV2K6.js +0 -365
- package/dist/chunks/chunk.57GQ6SRV.js +0 -25
- package/dist/chunks/chunk.5C5OJETG.js +0 -212
- package/dist/chunks/chunk.5EBLUKYK.js +0 -21
- package/dist/chunks/chunk.5KON64UZ.js +0 -113
- package/dist/chunks/chunk.5L2VSRGE.js +0 -11
- package/dist/chunks/chunk.5OE2EUTG.js +0 -11
- package/dist/chunks/chunk.5OFJ6BJV.js +0 -407
- package/dist/chunks/chunk.5TYAJMSJ.js +0 -21
- package/dist/chunks/chunk.5U44SZ5P.js +0 -11
- package/dist/chunks/chunk.5XZPB6U6.js +0 -171
- package/dist/chunks/chunk.5Z7A6VFJ.js +0 -28
- package/dist/chunks/chunk.634UOXH6.js +0 -11
- package/dist/chunks/chunk.64RAIQPK.js +0 -11
- package/dist/chunks/chunk.64Z6QJB6.js +0 -21
- package/dist/chunks/chunk.65KXXEBM.js +0 -24
- package/dist/chunks/chunk.6BUK336C.js +0 -34
- package/dist/chunks/chunk.6F6MPDPQ.js +0 -24
- package/dist/chunks/chunk.6FHMJAHS.js +0 -324
- package/dist/chunks/chunk.6G5S4JOQ.js +0 -263
- package/dist/chunks/chunk.6GDEQD74.js +0 -21
- package/dist/chunks/chunk.6MKDADB2.js +0 -11
- package/dist/chunks/chunk.6N36COCL.js +0 -771
- package/dist/chunks/chunk.6NJTOZRI.js +0 -213
- package/dist/chunks/chunk.6OF7K2C5.js +0 -29
- package/dist/chunks/chunk.6PAZ37RZ.js +0 -11
- package/dist/chunks/chunk.6QTDR3SM.js +0 -949
- package/dist/chunks/chunk.74TTM3VZ.js +0 -85
- package/dist/chunks/chunk.7HWPRW4Q.js +0 -613
- package/dist/chunks/chunk.7QEZFLNR.js +0 -11
- package/dist/chunks/chunk.7R64S7D5.js +0 -11
- package/dist/chunks/chunk.7X3DSDKV.js +0 -29
- package/dist/chunks/chunk.A4GXWY6S.js +0 -28
- package/dist/chunks/chunk.AD6MQQJU.js +0 -33
- package/dist/chunks/chunk.AH5TVHUA.js +0 -11
- package/dist/chunks/chunk.AJ2XDXSP.js +0 -11
- package/dist/chunks/chunk.ARCGGPRK.js +0 -209
- package/dist/chunks/chunk.ASGILMTB.js +0 -59
- package/dist/chunks/chunk.AYQS2USC.js +0 -11
- package/dist/chunks/chunk.B2USJM3J.js +0 -11
- package/dist/chunks/chunk.BC472SFW.js +0 -11
- package/dist/chunks/chunk.BIAV24H4.js +0 -24
- package/dist/chunks/chunk.BPULMOCN.js +0 -26
- package/dist/chunks/chunk.BVRY5KDQ.js +0 -29
- package/dist/chunks/chunk.BWDRW7PE.js +0 -50
- package/dist/chunks/chunk.CAGU4EFI.js +0 -167
- package/dist/chunks/chunk.CAROPHHN.js +0 -466
- package/dist/chunks/chunk.CDLYX5ZY.js +0 -21
- package/dist/chunks/chunk.CHCLMZQY.js +0 -280
- package/dist/chunks/chunk.CHIZQ4A3.js +0 -598
- package/dist/chunks/chunk.CILIF33J.js +0 -11
- package/dist/chunks/chunk.CO5JO2SO.js +0 -21
- package/dist/chunks/chunk.CQJC4DOF.js +0 -21
- package/dist/chunks/chunk.CRS6IRCY.js +0 -11
- package/dist/chunks/chunk.CT2QGCWF.js +0 -27
- package/dist/chunks/chunk.CT464QFG.js +0 -11
- package/dist/chunks/chunk.D7NCN62B.js +0 -21
- package/dist/chunks/chunk.DCLGOKUZ.js +0 -125
- package/dist/chunks/chunk.DG6XTSRI.js +0 -11
- package/dist/chunks/chunk.DGH7K36S.js +0 -11
- package/dist/chunks/chunk.DOPSYM6L.js +0 -90
- package/dist/chunks/chunk.DOUQZACI.js +0 -180
- package/dist/chunks/chunk.DQHGZY4X.js +0 -42
- package/dist/chunks/chunk.DTUP5LFB.js +0 -25
- package/dist/chunks/chunk.DUKYB367.js +0 -550
- package/dist/chunks/chunk.DVSKGKOO.js +0 -11
- package/dist/chunks/chunk.E5HWNRCQ.js +0 -278
- package/dist/chunks/chunk.EDFQJJTL.js +0 -11
- package/dist/chunks/chunk.EFJCUH7P.js +0 -75
- package/dist/chunks/chunk.EFLVGD3X.js +0 -80
- package/dist/chunks/chunk.EIFOXOB3.js +0 -247
- package/dist/chunks/chunk.EKXPMPO2.js +0 -24
- package/dist/chunks/chunk.EV7OI2WV.js +0 -11
- package/dist/chunks/chunk.EWTYDN6H.js +0 -11
- package/dist/chunks/chunk.FF3CGXMY.js +0 -25
- package/dist/chunks/chunk.FFPZDSCN.js +0 -27
- package/dist/chunks/chunk.FHXI54IP.js +0 -286
- package/dist/chunks/chunk.FKZTQOEP.js +0 -191
- package/dist/chunks/chunk.FMHLWHNI.js +0 -11
- package/dist/chunks/chunk.FMROHC6E.js +0 -21
- package/dist/chunks/chunk.FPDBTSPA.js +0 -11
- package/dist/chunks/chunk.FTNJT2E2.js +0 -424
- package/dist/chunks/chunk.FUCLBWV5.js +0 -11
- package/dist/chunks/chunk.FWLIVJ4Y.js +0 -348
- package/dist/chunks/chunk.FX65YXYD.js +0 -148
- package/dist/chunks/chunk.G2KNGP4Y.js +0 -11
- package/dist/chunks/chunk.G5LWR33U.js +0 -192
- package/dist/chunks/chunk.GBZ2ACZN.js +0 -11
- package/dist/chunks/chunk.GEC7VKFA.js +0 -937
- package/dist/chunks/chunk.GPCLVQAU.js +0 -24
- package/dist/chunks/chunk.GSVTHEIC.js +0 -11
- package/dist/chunks/chunk.GW666QCH.js +0 -21
- package/dist/chunks/chunk.H3VTQBCH.js +0 -181
- package/dist/chunks/chunk.H6A6PIQW.js +0 -21
- package/dist/chunks/chunk.H7ULT3VY.js +0 -322
- package/dist/chunks/chunk.HEA65HFK.js +0 -234
- package/dist/chunks/chunk.HHHUIVIP.js +0 -129
- package/dist/chunks/chunk.HJP3OUMH.js +0 -21
- package/dist/chunks/chunk.HNBV77LW.js +0 -93
- package/dist/chunks/chunk.HTWXPBTZ.js +0 -26
- package/dist/chunks/chunk.HZK6N6DH.js +0 -24
- package/dist/chunks/chunk.I4R7R4KS.js +0 -29
- package/dist/chunks/chunk.I7HUMOKW.js +0 -158
- package/dist/chunks/chunk.IC4PT5JI.js +0 -494
- package/dist/chunks/chunk.IGYO3UNZ.js +0 -100
- package/dist/chunks/chunk.IM7EECTO.js +0 -27
- package/dist/chunks/chunk.IPJUQSLG.js +0 -116
- package/dist/chunks/chunk.IVLRUCSN.js +0 -375
- package/dist/chunks/chunk.IX65EUJJ.js +0 -11
- package/dist/chunks/chunk.IXDSN42N.js +0 -11
- package/dist/chunks/chunk.J3BLCSDS.js +0 -119
- package/dist/chunks/chunk.J5GUNY2G.js +0 -11
- package/dist/chunks/chunk.JFXS5MCD.js +0 -294
- package/dist/chunks/chunk.JIXSDH33.js +0 -521
- package/dist/chunks/chunk.JMFMFEA2.js +0 -126
- package/dist/chunks/chunk.JVXDHKI4.js +0 -1062
- package/dist/chunks/chunk.KBWWZNHI.js +0 -21
- package/dist/chunks/chunk.KEADIIOS.js +0 -11
- package/dist/chunks/chunk.KGACLTYK.js +0 -25
- package/dist/chunks/chunk.KJRSOL2J.js +0 -11
- package/dist/chunks/chunk.KN2SW5DA.js +0 -821
- package/dist/chunks/chunk.KOG3XOSJ.js +0 -154
- package/dist/chunks/chunk.KOTGC4A5.js +0 -194
- package/dist/chunks/chunk.KQDM6MAV.js +0 -24
- package/dist/chunks/chunk.KTEDC3LM.js +0 -126
- package/dist/chunks/chunk.KTRIWPEE.js +0 -26
- package/dist/chunks/chunk.KX3IYY2Z.js +0 -111
- package/dist/chunks/chunk.KY34UXQ3.js +0 -320
- package/dist/chunks/chunk.L4473BKE.js +0 -24
- package/dist/chunks/chunk.LAYRYYR6.js +0 -11
- package/dist/chunks/chunk.LBW777P5.js +0 -21
- package/dist/chunks/chunk.LFP6CSQC.js +0 -337
- package/dist/chunks/chunk.LHVFVJGX.js +0 -91
- package/dist/chunks/chunk.LJ72CT3W.js +0 -45
- package/dist/chunks/chunk.LPEJNVY7.js +0 -35
- package/dist/chunks/chunk.LSJRQER4.js +0 -29
- package/dist/chunks/chunk.LVJQEVHA.js +0 -24
- package/dist/chunks/chunk.LVPIOUBJ.js +0 -11
- package/dist/chunks/chunk.LYIXMYH6.js +0 -11
- package/dist/chunks/chunk.M2EBHH6G.js +0 -100
- package/dist/chunks/chunk.MDZMA4LH.js +0 -45
- package/dist/chunks/chunk.MFJQY3HH.js +0 -109
- package/dist/chunks/chunk.MJL7SEXQ.js +0 -24
- package/dist/chunks/chunk.MS5WCGPD.js +0 -11
- package/dist/chunks/chunk.MXHQ7F23.js +0 -11
- package/dist/chunks/chunk.N47VWZXT.js +0 -27
- package/dist/chunks/chunk.NCVYKAZP.js +0 -21
- package/dist/chunks/chunk.NFFRPWMX.js +0 -448
- package/dist/chunks/chunk.NG7XXMLA.js +0 -448
- package/dist/chunks/chunk.NJYEDZXF.js +0 -21
- package/dist/chunks/chunk.NPNLAJ7K.js +0 -21
- package/dist/chunks/chunk.NQFXGRBB.js +0 -24
- package/dist/chunks/chunk.NQQBXB3M.js +0 -11
- package/dist/chunks/chunk.NWZ5U44C.js +0 -21
- package/dist/chunks/chunk.O2Q6K3DO.js +0 -11
- package/dist/chunks/chunk.O3Q5BDNM.js +0 -25
- package/dist/chunks/chunk.O6RITK2F.js +0 -21
- package/dist/chunks/chunk.OB7XRYCW.js +0 -11
- package/dist/chunks/chunk.OCNAF3HD.js +0 -25
- package/dist/chunks/chunk.ONCFQOV3.js +0 -11
- package/dist/chunks/chunk.OOXDGYS2.js +0 -147
- package/dist/chunks/chunk.OQ6FVCLJ.js +0 -11
- package/dist/chunks/chunk.PA5BWTRO.js +0 -11
- package/dist/chunks/chunk.PD3VO3ET.js +0 -827
- package/dist/chunks/chunk.PEVZOJIL.js +0 -11
- package/dist/chunks/chunk.PEZYQNK4.js +0 -11
- package/dist/chunks/chunk.PFGDAO4O.js +0 -21
- package/dist/chunks/chunk.PPYWOOYI.js +0 -11
- package/dist/chunks/chunk.PXOCEZMH.js +0 -11
- package/dist/chunks/chunk.QAKAC53P.js +0 -844
- package/dist/chunks/chunk.QF4LX2YN.js +0 -11
- package/dist/chunks/chunk.QHDM3CNW.js +0 -11
- package/dist/chunks/chunk.QNMCYR4Q.js +0 -135
- package/dist/chunks/chunk.QPO4SZUB.js +0 -317
- package/dist/chunks/chunk.QQ7BK3Z7.js +0 -57
- package/dist/chunks/chunk.QQOWBUNB.js +0 -21
- package/dist/chunks/chunk.QSXPROE6.js +0 -22
- package/dist/chunks/chunk.R2SOI75R.js +0 -25
- package/dist/chunks/chunk.RAAAM746.js +0 -190
- package/dist/chunks/chunk.RCSHXYTZ.js +0 -293
- package/dist/chunks/chunk.RIE2EOE2.js +0 -11
- package/dist/chunks/chunk.RNGCZFF2.js +0 -384
- package/dist/chunks/chunk.RRCF43LA.js +0 -502
- package/dist/chunks/chunk.RXD4NE3U.js +0 -21
- package/dist/chunks/chunk.RZNG3KGD.js +0 -11
- package/dist/chunks/chunk.RZY6V64L.js +0 -11
- package/dist/chunks/chunk.S3MVOYD5.js +0 -24
- package/dist/chunks/chunk.SWPFG6LB.js +0 -26
- package/dist/chunks/chunk.SZQQHPNS.js +0 -11
- package/dist/chunks/chunk.T3VL3T7Z.js +0 -11
- package/dist/chunks/chunk.TD7WHMNY.js +0 -11
- package/dist/chunks/chunk.TG2A6PR5.js +0 -11
- package/dist/chunks/chunk.TMXEOHUF.js +0 -11
- package/dist/chunks/chunk.TWBU3II5.js +0 -86
- package/dist/chunks/chunk.TXFRUYBO.js +0 -174
- package/dist/chunks/chunk.TZXT7OTJ.js +0 -117
- package/dist/chunks/chunk.UANPNKP3.js +0 -227
- package/dist/chunks/chunk.UBPMBH6W.js +0 -21
- package/dist/chunks/chunk.UCUIIZWB.js +0 -11
- package/dist/chunks/chunk.UEGCZTXQ.js +0 -11
- package/dist/chunks/chunk.UHT6BSRF.js +0 -231
- package/dist/chunks/chunk.UMZGOVQL.js +0 -11
- package/dist/chunks/chunk.UPD3Q5NN.js +0 -11
- package/dist/chunks/chunk.UQV4DS3U.js +0 -73
- package/dist/chunks/chunk.US4347Y4.js +0 -11
- package/dist/chunks/chunk.UTLBOZCY.js +0 -11
- package/dist/chunks/chunk.UV27JGAH.js +0 -627
- package/dist/chunks/chunk.UW5BQBCV.js +0 -28
- package/dist/chunks/chunk.UXXVWVEM.js +0 -29
- package/dist/chunks/chunk.UZSILUCD.js +0 -24
- package/dist/chunks/chunk.V7MQHW5C.js +0 -11
- package/dist/chunks/chunk.VAKU7NJI.js +0 -25
- package/dist/chunks/chunk.VEKSO5MX.js +0 -52
- package/dist/chunks/chunk.VOOY5TX3.js +0 -11
- package/dist/chunks/chunk.VSRO36PB.js +0 -24
- package/dist/chunks/chunk.VVR7H2PI.js +0 -11
- package/dist/chunks/chunk.VXUZPBP5.js +0 -914
- package/dist/chunks/chunk.VYVN45LG.js +0 -22
- package/dist/chunks/chunk.W2VU3KEU.js +0 -21
- package/dist/chunks/chunk.W4E6AAQR.js +0 -11
- package/dist/chunks/chunk.WDTYJHKW.js +0 -21
- package/dist/chunks/chunk.WHZHCE5G.js +0 -11
- package/dist/chunks/chunk.WI77LQQG.js +0 -11
- package/dist/chunks/chunk.WQVWW4AV.js +0 -24
- package/dist/chunks/chunk.WUCIZ2FR.js +0 -25
- package/dist/chunks/chunk.WVR5W63R.js +0 -241
- package/dist/chunks/chunk.X4KNSGQI.js +0 -21
- package/dist/chunks/chunk.XEAYE4YB.js +0 -87
- package/dist/chunks/chunk.XFAGVPFD.js +0 -31
- package/dist/chunks/chunk.XJSREIQJ.js +0 -11
- package/dist/chunks/chunk.XKHPAXAA.js +0 -27
- package/dist/chunks/chunk.XW2OHUJS.js +0 -11
- package/dist/chunks/chunk.YBQQK5BC.js +0 -25
- package/dist/chunks/chunk.YCSHHN2S.js +0 -21
- package/dist/chunks/chunk.YD2H2PMA.js +0 -28
- package/dist/chunks/chunk.YF7QYEWJ.js +0 -315
- package/dist/chunks/chunk.YIDGSTM6.js +0 -32
- package/dist/chunks/chunk.YVQD7PRU.js +0 -24
- package/dist/chunks/chunk.YWF57HVV.js +0 -1207
- package/dist/chunks/chunk.YY7PLMWH.js +0 -11
- package/dist/chunks/chunk.YYASWS6L.js +0 -86
- package/dist/chunks/chunk.YYLCO2SK.js +0 -134
- package/dist/chunks/chunk.Z6MR47TP.js +0 -67
- package/dist/chunks/chunk.Z7YALPMH.js +0 -11
- package/dist/chunks/chunk.ZD7A5X6F.js +0 -29
- package/dist/chunks/chunk.ZFM37KIH.js +0 -96
- package/dist/chunks/chunk.ZKG5TMCH.js +0 -21
- package/dist/chunks/chunk.ZZ5S25NK.js +0 -25
package/cdn/types/vue/index.d.ts
CHANGED
|
@@ -1,116 +1,98 @@
|
|
|
1
1
|
import type { DefineComponent } from "vue";
|
|
2
2
|
|
|
3
|
-
import type { SlAnimatedImage } from "../../components/animated-image/animated-image.component.js";
|
|
4
3
|
import type { SlAlert } from "../../components/alert/alert.component.js";
|
|
4
|
+
import type { SlAnimatedImage } from "../../components/animated-image/animated-image.component.js";
|
|
5
5
|
import type { SlAnimation } from "../../components/animation/animation.component.js";
|
|
6
|
+
import type { SlBreadcrumb } from "../../components/breadcrumb/breadcrumb.component.js";
|
|
6
7
|
import type { SlBadge } from "../../components/badge/badge.component.js";
|
|
7
8
|
import type { SlBreadcrumbItem } from "../../components/breadcrumb-item/breadcrumb-item.component.js";
|
|
8
9
|
import type { SlAvatar } from "../../components/avatar/avatar.component.js";
|
|
9
|
-
import type { SlBreadcrumb } from "../../components/breadcrumb/breadcrumb.component.js";
|
|
10
10
|
import type { SlButton } from "../../components/button/button.component.js";
|
|
11
11
|
import type { SlButtonGroup } from "../../components/button-group/button-group.component.js";
|
|
12
|
-
import type { SlCarousel } from "../../components/carousel/carousel.component.js";
|
|
13
|
-
import type { SlCarouselItem } from "../../components/carousel-item/carousel-item.component.js";
|
|
14
|
-
import type { SlCard } from "../../components/card/card.component.js";
|
|
15
12
|
import type { SlCalendar, CustomEvent } from "../../components/calendar/calendar.component.js";
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type { SlCol } from "../../components/col/col.component.js";
|
|
13
|
+
import type { SlCard } from "../../components/card/card.component.js";
|
|
14
|
+
import type { SlCarousel } from "../../components/carousel/carousel.component.js";
|
|
19
15
|
import type { SlCascader } from "../../components/cascader/cascader.component.js";
|
|
16
|
+
import type { SlColorPicker } from "../../components/color-picker/color-picker.component.js";
|
|
17
|
+
import type { SlCheckbox } from "../../components/checkbox/checkbox.component.js";
|
|
20
18
|
import type { SlCopyButton } from "../../components/copy-button/copy-button.component.js";
|
|
19
|
+
import type { SlCol } from "../../components/col/col.component.js";
|
|
20
|
+
import type { SlCarouselItem } from "../../components/carousel-item/carousel-item.component.js";
|
|
21
|
+
import type { SlDatePanel, CustomEvent } from "../../components/date-panel/date-panel.component.js";
|
|
22
|
+
import type { SlDatepicker } from "../../components/datepicker/datepicker.component.js";
|
|
21
23
|
import type { SlDetails } from "../../components/details/details.component.js";
|
|
22
24
|
import type { SlDialog } from "../../components/dialog/dialog.component.js";
|
|
23
|
-
import type { SlDaterangepicker } from "../../components/daterangepicker/daterangepicker.component.js";
|
|
24
|
-
import type { SlDatepicker } from "../../components/datepicker/datepicker.component.js";
|
|
25
25
|
import type { SlDivider } from "../../components/divider/divider.component.js";
|
|
26
26
|
import type { SlDrawer } from "../../components/drawer/drawer.component.js";
|
|
27
27
|
import type { SlDropdown } from "../../components/dropdown/dropdown.component.js";
|
|
28
|
-
import type {
|
|
28
|
+
import type { SlFloatButtonGroup } from "../../components/float-button-group/float-button-group.component.js";
|
|
29
|
+
import type { SlFloatButton } from "../../components/float-button/float-button.component.js";
|
|
29
30
|
import type { SlFormatBytes } from "../../components/format-bytes/format-bytes.component.js";
|
|
31
|
+
import type { SlDaterangepicker } from "../../components/daterangepicker/daterangepicker.component.js";
|
|
30
32
|
import type { SlFormatDate } from "../../components/format-date/format-date.component.js";
|
|
31
33
|
import type { SlFormatNumber } from "../../components/format-number/format-number.component.js";
|
|
32
34
|
import type { SlIconButton } from "../../components/icon-button/icon-button.component.js";
|
|
33
|
-
import type { SlFloatButton } from "../../components/float-button/float-button.component.js";
|
|
34
|
-
import type { SlFloatButtonGroup } from "../../components/float-button-group/float-button-group.component.js";
|
|
35
|
-
import type { SlIcon } from "../../components/icon/icon.component.js";
|
|
36
35
|
import type { SlImageComparer } from "../../components/image-comparer/image-comparer.component.js";
|
|
37
|
-
import type { SlInclude } from "../../components/include/include.component.js";
|
|
38
|
-
import type { SlInput } from "../../components/input/input.component.js";
|
|
39
36
|
import type { SlImagePreviewGroup } from "../../components/image-preview-group/image-preview-group.component.js";
|
|
40
|
-
import type { SlMenuItem } from "../../components/menu-item/menu-item.component.js";
|
|
41
37
|
import type { SlImage } from "../../components/image/image.component.js";
|
|
38
|
+
import type { SlIcon } from "../../components/icon/icon.component.js";
|
|
39
|
+
import type { SlInput } from "../../components/input/input.component.js";
|
|
42
40
|
import type { SlMenu } from "../../components/menu/menu.component.js";
|
|
41
|
+
import type { SlInclude } from "../../components/include/include.component.js";
|
|
42
|
+
import type { SlMenuItem } from "../../components/menu-item/menu-item.component.js";
|
|
43
43
|
import type { SlMenuLabel } from "../../components/menu-label/menu-label.component.js";
|
|
44
44
|
import type { SlMutationObserver } from "../../components/mutation-observer/mutation-observer.component.js";
|
|
45
|
+
import type { SlNav } from "../../components/nav/nav.component.js";
|
|
45
46
|
import type { SlNavGroup } from "../../components/nav-group/nav-group.component.js";
|
|
46
47
|
import type { SlNavItem } from "../../components/nav-item/nav-item.component.js";
|
|
47
48
|
import type { SlNavSubmenu } from "../../components/nav-submenu/nav-submenu.component.js";
|
|
49
|
+
import type { SlNotification } from "../../components/notification/notification.component.js";
|
|
48
50
|
import type { SlOption } from "../../components/option/option.component.js";
|
|
51
|
+
import type { SlPagination } from "../../components/pagination/pagination.component.js";
|
|
49
52
|
import type { SlPopup } from "../../components/popup/popup.component.js";
|
|
50
|
-
import type { SlNotification } from "../../components/notification/notification.component.js";
|
|
51
|
-
import type { SlNav } from "../../components/nav/nav.component.js";
|
|
52
53
|
import type { SlProgressRing } from "../../components/progress-ring/progress-ring.component.js";
|
|
53
54
|
import type { SlProgressBar } from "../../components/progress-bar/progress-bar.component.js";
|
|
54
|
-
import type { SlPagination } from "../../components/pagination/pagination.component.js";
|
|
55
55
|
import type { SlQrCode } from "../../components/qr-code/qr-code.component.js";
|
|
56
56
|
import type { SlRadio } from "../../components/radio/radio.component.js";
|
|
57
57
|
import type { SlRadioGroup } from "../../components/radio-group/radio-group.component.js";
|
|
58
|
-
import type { SlRadioButton } from "../../components/radio-button/radio-button.component.js";
|
|
59
|
-
import type { SlRating } from "../../components/rating/rating.component.js";
|
|
60
|
-
import type { SlRelativeTime } from "../../components/relative-time/relative-time.component.js";
|
|
61
58
|
import type { SlRange } from "../../components/range/range.component.js";
|
|
59
|
+
import type { SlRating } from "../../components/rating/rating.component.js";
|
|
60
|
+
import type { SlRadioButton } from "../../components/radio-button/radio-button.component.js";
|
|
62
61
|
import type { SlResizeObserver } from "../../components/resize-observer/resize-observer.component.js";
|
|
63
|
-
import type {
|
|
62
|
+
import type { SlRelativeTime } from "../../components/relative-time/relative-time.component.js";
|
|
64
63
|
import type { SlRow } from "../../components/row/row.component.js";
|
|
65
64
|
import type { SlScreen } from "../../components/screen/screen.component.js";
|
|
66
65
|
import type { SlSegmented } from "../../components/segmented/segmented.component.js";
|
|
67
|
-
import type {
|
|
68
|
-
import type { SlSpace } from "../../components/space/space.component.js";
|
|
69
|
-
import type { SlSenderSwitch, CustomEvent } from "../../components/sender-switch/sender-switch.component.js";
|
|
66
|
+
import type { SlSelect } from "../../components/select/select.component.js";
|
|
70
67
|
import type { SlSender, CustomEvent } from "../../components/sender/sender.component.js";
|
|
71
68
|
import type { SlSenderHeader } from "../../components/sender-header/sender-header.component.js";
|
|
72
|
-
import type {
|
|
73
|
-
import type {
|
|
69
|
+
import type { SlSenderSwitch, CustomEvent } from "../../components/sender-switch/sender-switch.component.js";
|
|
70
|
+
import type { SlSkeleton } from "../../components/skeleton/skeleton.component.js";
|
|
71
|
+
import type { SlSpace } from "../../components/space/space.component.js";
|
|
74
72
|
import type { SlSpinner } from "../../components/spinner/spinner.component.js";
|
|
75
73
|
import type { SlSplitPanel } from "../../components/split-panel/split-panel.component.js";
|
|
76
|
-
import type {
|
|
77
|
-
import type {
|
|
74
|
+
import type { SlSteps } from "../../components/steps/steps.component.js";
|
|
75
|
+
import type { SlSwitch } from "../../components/switch/switch.component.js";
|
|
78
76
|
import type { SlTab } from "../../components/tab/tab.component.js";
|
|
79
|
-
import type {
|
|
77
|
+
import type { SlTabGroup } from "../../components/tab-group/tab-group.component.js";
|
|
78
|
+
import type { SlTabPanel } from "../../components/tab-panel/tab-panel.component.js";
|
|
79
|
+
import type { SlTable, CustomEvent } from "../../components/table/table.component.js";
|
|
80
80
|
import type { SlTag } from "../../components/tag/tag.component.js";
|
|
81
81
|
import type { SlTextarea } from "../../components/textarea/textarea.component.js";
|
|
82
|
-
import type {
|
|
83
|
-
import type { SlThoughtChainItem } from "../../components/thought-chain-item/thought-chain-item.component.js";
|
|
82
|
+
import type { SlThink } from "../../components/think/think.component.js";
|
|
84
83
|
import type { SlThoughtChain } from "../../components/thought-chain/thought-chain.component.js";
|
|
84
|
+
import type { SlThoughtChainItem } from "../../components/thought-chain-item/thought-chain-item.component.js";
|
|
85
|
+
import type { SlThoughtChainNode } from "../../components/thought-chain-node/thought-chain-node.component.js";
|
|
86
|
+
import type { SlTimepicker } from "../../components/timepicker/timepicker.component.js";
|
|
85
87
|
import type { SlTooltip } from "../../components/tooltip/tooltip.component.js";
|
|
86
|
-
import type {
|
|
88
|
+
import type { SlTransfer } from "../../components/transfer/transfer.component.js";
|
|
87
89
|
import type { SlTree } from "../../components/tree/tree.component.js";
|
|
88
90
|
import type { SlTreeItem } from "../../components/tree-item/tree-item.component.js";
|
|
89
91
|
import type { SlUpload } from "../../components/upload/upload.component.js";
|
|
90
|
-
import type { SlTimepicker } from "../../components/timepicker/timepicker.component.js";
|
|
91
92
|
import type { SlVisuallyHidden } from "../../components/visually-hidden/visually-hidden.component.js";
|
|
92
93
|
import type { SlTreeSelect } from "../../components/tree-select/tree-select.component.js";
|
|
93
94
|
import type { SlXMarkdown } from "../../components/x-markdown/x-markdown.component.js";
|
|
94
95
|
|
|
95
|
-
type SlAnimatedImageProps = {
|
|
96
|
-
/** The path to the image to load. */
|
|
97
|
-
src?: SlAnimatedImage["src"];
|
|
98
|
-
/** A description of the image used by assistive devices. */
|
|
99
|
-
alt?: SlAnimatedImage["alt"];
|
|
100
|
-
/** Plays the animation. When this attribute is remove, the animation will pause. */
|
|
101
|
-
play?: SlAnimatedImage["play"];
|
|
102
|
-
/** */
|
|
103
|
-
animatedImage?: SlAnimatedImage["animatedImage"];
|
|
104
|
-
/** */
|
|
105
|
-
frozenFrame?: SlAnimatedImage["frozenFrame"];
|
|
106
|
-
/** */
|
|
107
|
-
isLoaded?: SlAnimatedImage["isLoaded"];
|
|
108
|
-
/** Emitted when the image loads successfully. */
|
|
109
|
-
"onsl-load"?: (e: CustomEvent<never>) => void;
|
|
110
|
-
/** Emitted when the image fails to load. */
|
|
111
|
-
"onsl-error"?: (e: CustomEvent<never>) => void;
|
|
112
|
-
};
|
|
113
|
-
|
|
114
96
|
type SlAlertProps = {
|
|
115
97
|
/** Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can
|
|
116
98
|
use the `show()` and `hide()` methods and this attribute will reflect the alert's open state. */
|
|
@@ -140,6 +122,25 @@ Typically used to indicate the remaining time before a whole app refresh. */
|
|
|
140
122
|
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
141
123
|
};
|
|
142
124
|
|
|
125
|
+
type SlAnimatedImageProps = {
|
|
126
|
+
/** The path to the image to load. */
|
|
127
|
+
src?: SlAnimatedImage["src"];
|
|
128
|
+
/** A description of the image used by assistive devices. */
|
|
129
|
+
alt?: SlAnimatedImage["alt"];
|
|
130
|
+
/** Plays the animation. When this attribute is remove, the animation will pause. */
|
|
131
|
+
play?: SlAnimatedImage["play"];
|
|
132
|
+
/** */
|
|
133
|
+
animatedImage?: SlAnimatedImage["animatedImage"];
|
|
134
|
+
/** */
|
|
135
|
+
frozenFrame?: SlAnimatedImage["frozenFrame"];
|
|
136
|
+
/** */
|
|
137
|
+
isLoaded?: SlAnimatedImage["isLoaded"];
|
|
138
|
+
/** Emitted when the image loads successfully. */
|
|
139
|
+
"onsl-load"?: (e: CustomEvent<never>) => void;
|
|
140
|
+
/** Emitted when the image fails to load. */
|
|
141
|
+
"onsl-error"?: (e: CustomEvent<never>) => void;
|
|
142
|
+
};
|
|
143
|
+
|
|
143
144
|
type SlAnimationProps = {
|
|
144
145
|
/** The name of the built-in animation to use. For custom animations, use the `keyframes` prop. */
|
|
145
146
|
name?: SlAnimation["name"];
|
|
@@ -182,6 +183,16 @@ value can be changed without causing the animation to restart. */
|
|
|
182
183
|
"onsl-start"?: (e: CustomEvent<never>) => void;
|
|
183
184
|
};
|
|
184
185
|
|
|
186
|
+
type SlBreadcrumbProps = {
|
|
187
|
+
/** The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by
|
|
188
|
+
screen readers and other assistive devices to provide more context for users. */
|
|
189
|
+
label?: SlBreadcrumb["label"];
|
|
190
|
+
/** */
|
|
191
|
+
defaultSlot?: SlBreadcrumb["defaultSlot"];
|
|
192
|
+
/** */
|
|
193
|
+
separatorSlot?: SlBreadcrumb["separatorSlot"];
|
|
194
|
+
};
|
|
195
|
+
|
|
185
196
|
type SlBadgeProps = {
|
|
186
197
|
/** The badge's theme variant. */
|
|
187
198
|
variant?: SlBadge["variant"];
|
|
@@ -219,16 +230,6 @@ type SlAvatarProps = {
|
|
|
219
230
|
"onsl-error"?: (e: CustomEvent<never>) => void;
|
|
220
231
|
};
|
|
221
232
|
|
|
222
|
-
type SlBreadcrumbProps = {
|
|
223
|
-
/** The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by
|
|
224
|
-
screen readers and other assistive devices to provide more context for users. */
|
|
225
|
-
label?: SlBreadcrumb["label"];
|
|
226
|
-
/** */
|
|
227
|
-
defaultSlot?: SlBreadcrumb["defaultSlot"];
|
|
228
|
-
/** */
|
|
229
|
-
separatorSlot?: SlBreadcrumb["separatorSlot"];
|
|
230
|
-
};
|
|
231
|
-
|
|
232
233
|
type SlButtonProps = {
|
|
233
234
|
/** */
|
|
234
235
|
title?: SlButton["title"];
|
|
@@ -308,44 +309,6 @@ devices when interacting with the control and is strongly recommended. */
|
|
|
308
309
|
disableRole?: SlButtonGroup["disableRole"];
|
|
309
310
|
};
|
|
310
311
|
|
|
311
|
-
type SlCarouselProps = {
|
|
312
|
-
/** When set, allows the user to navigate the carousel in the same direction indefinitely. */
|
|
313
|
-
loop?: SlCarousel["loop"];
|
|
314
|
-
/** When set, show the carousel's navigation. */
|
|
315
|
-
navigation?: SlCarousel["navigation"];
|
|
316
|
-
/** When set, show the carousel's pagination indicators. */
|
|
317
|
-
pagination?: SlCarousel["pagination"];
|
|
318
|
-
/** When set, the slides will scroll automatically when the user is not interacting with them. */
|
|
319
|
-
autoplay?: SlCarousel["autoplay"];
|
|
320
|
-
/** Specifies the amount of time, in milliseconds, between each automatic scroll. */
|
|
321
|
-
"autoplay-interval"?: SlCarousel["autoplayInterval"];
|
|
322
|
-
/** Specifies how many slides should be shown at a given time. */
|
|
323
|
-
"slides-per-page"?: SlCarousel["slidesPerPage"];
|
|
324
|
-
/** Specifies the number of slides the carousel will advance when scrolling, useful when specifying a `slides-per-page`
|
|
325
|
-
greater than one. It can't be higher than `slides-per-page`. */
|
|
326
|
-
"slides-per-move"?: SlCarousel["slidesPerMove"];
|
|
327
|
-
/** Specifies the orientation in which the carousel will lay out. */
|
|
328
|
-
orientation?: SlCarousel["orientation"];
|
|
329
|
-
/** When set, it is possible to scroll through the slides by dragging them with the mouse. */
|
|
330
|
-
"mouse-dragging"?: SlCarousel["mouseDragging"];
|
|
331
|
-
/** */
|
|
332
|
-
scrollContainer?: SlCarousel["scrollContainer"];
|
|
333
|
-
/** */
|
|
334
|
-
paginationContainer?: SlCarousel["paginationContainer"];
|
|
335
|
-
/** */
|
|
336
|
-
activeSlide?: SlCarousel["activeSlide"];
|
|
337
|
-
/** */
|
|
338
|
-
scrolling?: SlCarousel["scrolling"];
|
|
339
|
-
/** */
|
|
340
|
-
dragging?: SlCarousel["dragging"];
|
|
341
|
-
/** Emitted when the active slide changes. */
|
|
342
|
-
"onsl-slide-change"?: (e: CustomEvent<{ index: number; slide: SlCarouselItem }>) => void;
|
|
343
|
-
};
|
|
344
|
-
|
|
345
|
-
type SlCarouselItemProps = {};
|
|
346
|
-
|
|
347
|
-
type SlCardProps = {};
|
|
348
|
-
|
|
349
312
|
type SlCalendarProps = {
|
|
350
313
|
/** The display mode: 'month' shows days, 'year' shows months. */
|
|
351
314
|
mode?: SlCalendar["mode"];
|
|
@@ -379,143 +342,40 @@ type SlCalendarProps = {
|
|
|
379
342
|
"onsl-calendar-select"?: (e: CustomEvent<CustomEvent>) => void;
|
|
380
343
|
};
|
|
381
344
|
|
|
382
|
-
type
|
|
345
|
+
type SlCardProps = {};
|
|
346
|
+
|
|
347
|
+
type SlCarouselProps = {
|
|
348
|
+
/** When set, allows the user to navigate the carousel in the same direction indefinitely. */
|
|
349
|
+
loop?: SlCarousel["loop"];
|
|
350
|
+
/** When set, show the carousel's navigation. */
|
|
351
|
+
navigation?: SlCarousel["navigation"];
|
|
352
|
+
/** When set, show the carousel's pagination indicators. */
|
|
353
|
+
pagination?: SlCarousel["pagination"];
|
|
354
|
+
/** When set, the slides will scroll automatically when the user is not interacting with them. */
|
|
355
|
+
autoplay?: SlCarousel["autoplay"];
|
|
356
|
+
/** Specifies the amount of time, in milliseconds, between each automatic scroll. */
|
|
357
|
+
"autoplay-interval"?: SlCarousel["autoplayInterval"];
|
|
358
|
+
/** Specifies how many slides should be shown at a given time. */
|
|
359
|
+
"slides-per-page"?: SlCarousel["slidesPerPage"];
|
|
360
|
+
/** Specifies the number of slides the carousel will advance when scrolling, useful when specifying a `slides-per-page`
|
|
361
|
+
greater than one. It can't be higher than `slides-per-page`. */
|
|
362
|
+
"slides-per-move"?: SlCarousel["slidesPerMove"];
|
|
363
|
+
/** Specifies the orientation in which the carousel will lay out. */
|
|
364
|
+
orientation?: SlCarousel["orientation"];
|
|
365
|
+
/** When set, it is possible to scroll through the slides by dragging them with the mouse. */
|
|
366
|
+
"mouse-dragging"?: SlCarousel["mouseDragging"];
|
|
383
367
|
/** */
|
|
384
|
-
|
|
385
|
-
/** The name of the checkbox, submitted as a name/value pair with form data. */
|
|
386
|
-
name?: SlCheckbox["name"];
|
|
387
|
-
/** The current value of the checkbox, submitted as a name/value pair with form data. */
|
|
388
|
-
value?: SlCheckbox["value"];
|
|
389
|
-
/** The checkbox's size. */
|
|
390
|
-
size?: SlCheckbox["size"];
|
|
391
|
-
/** Disables the checkbox. */
|
|
392
|
-
disabled?: SlCheckbox["disabled"];
|
|
393
|
-
/** Draws the checkbox in a checked state. */
|
|
394
|
-
checked?: SlCheckbox["checked"];
|
|
395
|
-
/** Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
396
|
-
all/none" behavior when associated checkboxes have a mix of checked and unchecked states. */
|
|
397
|
-
indeterminate?: SlCheckbox["indeterminate"];
|
|
398
|
-
/** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
399
|
-
to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
400
|
-
the same document or shadow root for this to work. */
|
|
401
|
-
form?: SlCheckbox["form"];
|
|
402
|
-
/** Makes the checkbox a required field. */
|
|
403
|
-
required?: SlCheckbox["required"];
|
|
404
|
-
/** The checkbox's help text. If you need to display HTML, use the `help-text` slot instead. */
|
|
405
|
-
"help-text"?: SlCheckbox["helpText"];
|
|
368
|
+
scrollContainer?: SlCarousel["scrollContainer"];
|
|
406
369
|
/** */
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
|
|
414
|
-
/** Emitted when the
|
|
415
|
-
"onsl-
|
|
416
|
-
/** Emitted when the checked state changes. */
|
|
417
|
-
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
418
|
-
/** Emitted when the checkbox gains focus. */
|
|
419
|
-
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
420
|
-
/** Emitted when the checkbox receives input. */
|
|
421
|
-
"onsl-input"?: (e: CustomEvent<never>) => void;
|
|
422
|
-
/** Emitted when the form control has been checked for validity and its constraints aren't satisfied. */
|
|
423
|
-
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
424
|
-
};
|
|
425
|
-
|
|
426
|
-
type SlColorPickerProps = {
|
|
427
|
-
/** The current value of the color picker. The value's format will vary based the `format` attribute. To get the value
|
|
428
|
-
in a specific format, use the `getFormattedValue()` method. The value is submitted as a name/value pair with form
|
|
429
|
-
data. */
|
|
430
|
-
value?: SlColorPicker["value"];
|
|
431
|
-
/** The color picker's label. This will not be displayed, but it will be announced by assistive devices. If you need to
|
|
432
|
-
display HTML, you can use the `label` slot` instead. */
|
|
433
|
-
label?: SlColorPicker["label"];
|
|
434
|
-
/** The format to use. If opacity is enabled, these will translate to HEXA, RGBA, HSLA, and HSVA respectively. The color
|
|
435
|
-
picker will accept user input in any format (including CSS color names) and convert it to the desired format. */
|
|
436
|
-
format?: SlColorPicker["format"];
|
|
437
|
-
/** Renders the color picker inline rather than in a dropdown. */
|
|
438
|
-
inline?: SlColorPicker["inline"];
|
|
439
|
-
/** Determines the size of the color picker's trigger. This has no effect on inline color pickers. */
|
|
440
|
-
size?: SlColorPicker["size"];
|
|
441
|
-
/** Removes the button that lets users toggle between format. */
|
|
442
|
-
"no-format-toggle"?: SlColorPicker["noFormatToggle"];
|
|
443
|
-
/** The name of the form control, submitted as a name/value pair with form data. */
|
|
444
|
-
name?: SlColorPicker["name"];
|
|
445
|
-
/** Disables the color picker. */
|
|
446
|
-
disabled?: SlColorPicker["disabled"];
|
|
447
|
-
/** Enable this option to prevent the panel from being clipped when the component is placed inside a container with
|
|
448
|
-
`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios. */
|
|
449
|
-
hoist?: SlColorPicker["hoist"];
|
|
450
|
-
/** Shows the opacity slider. Enabling this will cause the formatted value to be HEXA, RGBA, or HSLA. */
|
|
451
|
-
opacity?: SlColorPicker["opacity"];
|
|
452
|
-
/** By default, values are lowercase. With this attribute, values will be uppercase instead. */
|
|
453
|
-
uppercase?: SlColorPicker["uppercase"];
|
|
454
|
-
/** One or more predefined color swatches to display as presets in the color picker. Can include any format the color
|
|
455
|
-
picker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a
|
|
456
|
-
semicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript. */
|
|
457
|
-
swatches?: SlColorPicker["swatches"];
|
|
458
|
-
/** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
459
|
-
to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
460
|
-
the same document or shadow root for this to work. */
|
|
461
|
-
form?: SlColorPicker["form"];
|
|
462
|
-
/** Makes the color picker a required field. */
|
|
463
|
-
required?: SlColorPicker["required"];
|
|
464
|
-
/** */
|
|
465
|
-
base?: SlColorPicker["base"];
|
|
466
|
-
/** */
|
|
467
|
-
input?: SlColorPicker["input"];
|
|
468
|
-
/** */
|
|
469
|
-
dropdown?: SlColorPicker["dropdown"];
|
|
470
|
-
/** */
|
|
471
|
-
previewButton?: SlColorPicker["previewButton"];
|
|
472
|
-
/** */
|
|
473
|
-
trigger?: SlColorPicker["trigger"];
|
|
474
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
475
|
-
defaultValue?: SlColorPicker["defaultValue"];
|
|
476
|
-
/** Gets the validity state object */
|
|
477
|
-
validity?: SlColorPicker["validity"];
|
|
478
|
-
/** Gets the validation message */
|
|
479
|
-
validationMessage?: SlColorPicker["validationMessage"];
|
|
480
|
-
/** Emitted when the color picker loses focus. */
|
|
481
|
-
"onsl-blur"?: (e: CustomEvent<never>) => void;
|
|
482
|
-
/** Emitted when the color picker's value changes. */
|
|
483
|
-
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
484
|
-
/** Emitted when the color picker receives focus. */
|
|
485
|
-
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
486
|
-
/** Emitted when the color picker receives input. */
|
|
487
|
-
"onsl-input"?: (e: CustomEvent<never>) => void;
|
|
488
|
-
/** Emitted when the form control has been checked for validity and its constraints aren't satisfied. */
|
|
489
|
-
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
490
|
-
};
|
|
491
|
-
|
|
492
|
-
type SlColProps = {
|
|
493
|
-
/** Number of cells to span (out of 24) */
|
|
494
|
-
span?: SlCol["span"];
|
|
495
|
-
/** Number of cells to offset from the left */
|
|
496
|
-
offset?: SlCol["offset"];
|
|
497
|
-
/** Order of the column */
|
|
498
|
-
order?: SlCol["order"];
|
|
499
|
-
/** Number of cells to push from the left */
|
|
500
|
-
push?: SlCol["push"];
|
|
501
|
-
/** Number of cells to pull from the right */
|
|
502
|
-
pull?: SlCol["pull"];
|
|
503
|
-
/** Flex layout style */
|
|
504
|
-
flex?: SlCol["flex"];
|
|
505
|
-
/** Responsive config for xs screens (< 576px) */
|
|
506
|
-
xs?: SlCol["xs"];
|
|
507
|
-
/** Responsive config for sm screens (≥ 576px) */
|
|
508
|
-
sm?: SlCol["sm"];
|
|
509
|
-
/** Responsive config for md screens (≥ 768px) */
|
|
510
|
-
md?: SlCol["md"];
|
|
511
|
-
/** Responsive config for lg screens (≥ 992px) */
|
|
512
|
-
lg?: SlCol["lg"];
|
|
513
|
-
/** Responsive config for xl screens (≥ 1200px) */
|
|
514
|
-
xl?: SlCol["xl"];
|
|
515
|
-
/** Responsive config for xxl screens (≥ 1600px) */
|
|
516
|
-
xxl?: SlCol["xxl"];
|
|
517
|
-
/** */
|
|
518
|
-
rowContext?: SlCol["rowContext"];
|
|
370
|
+
paginationContainer?: SlCarousel["paginationContainer"];
|
|
371
|
+
/** */
|
|
372
|
+
activeSlide?: SlCarousel["activeSlide"];
|
|
373
|
+
/** */
|
|
374
|
+
scrolling?: SlCarousel["scrolling"];
|
|
375
|
+
/** */
|
|
376
|
+
dragging?: SlCarousel["dragging"];
|
|
377
|
+
/** Emitted when the active slide changes. */
|
|
378
|
+
"onsl-slide-change"?: (e: CustomEvent<{ index: number; slide: SlCarouselItem }>) => void;
|
|
519
379
|
};
|
|
520
380
|
|
|
521
381
|
type SlCascaderProps = {
|
|
@@ -599,6 +459,116 @@ type SlCascaderProps = {
|
|
|
599
459
|
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
600
460
|
};
|
|
601
461
|
|
|
462
|
+
type SlColorPickerProps = {
|
|
463
|
+
/** The current value of the color picker. The value's format will vary based the `format` attribute. To get the value
|
|
464
|
+
in a specific format, use the `getFormattedValue()` method. The value is submitted as a name/value pair with form
|
|
465
|
+
data. */
|
|
466
|
+
value?: SlColorPicker["value"];
|
|
467
|
+
/** The color picker's label. This will not be displayed, but it will be announced by assistive devices. If you need to
|
|
468
|
+
display HTML, you can use the `label` slot` instead. */
|
|
469
|
+
label?: SlColorPicker["label"];
|
|
470
|
+
/** The format to use. If opacity is enabled, these will translate to HEXA, RGBA, HSLA, and HSVA respectively. The color
|
|
471
|
+
picker will accept user input in any format (including CSS color names) and convert it to the desired format. */
|
|
472
|
+
format?: SlColorPicker["format"];
|
|
473
|
+
/** Renders the color picker inline rather than in a dropdown. */
|
|
474
|
+
inline?: SlColorPicker["inline"];
|
|
475
|
+
/** Determines the size of the color picker's trigger. This has no effect on inline color pickers. */
|
|
476
|
+
size?: SlColorPicker["size"];
|
|
477
|
+
/** Removes the button that lets users toggle between format. */
|
|
478
|
+
"no-format-toggle"?: SlColorPicker["noFormatToggle"];
|
|
479
|
+
/** The name of the form control, submitted as a name/value pair with form data. */
|
|
480
|
+
name?: SlColorPicker["name"];
|
|
481
|
+
/** Disables the color picker. */
|
|
482
|
+
disabled?: SlColorPicker["disabled"];
|
|
483
|
+
/** Enable this option to prevent the panel from being clipped when the component is placed inside a container with
|
|
484
|
+
`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios. */
|
|
485
|
+
hoist?: SlColorPicker["hoist"];
|
|
486
|
+
/** Shows the opacity slider. Enabling this will cause the formatted value to be HEXA, RGBA, or HSLA. */
|
|
487
|
+
opacity?: SlColorPicker["opacity"];
|
|
488
|
+
/** By default, values are lowercase. With this attribute, values will be uppercase instead. */
|
|
489
|
+
uppercase?: SlColorPicker["uppercase"];
|
|
490
|
+
/** One or more predefined color swatches to display as presets in the color picker. Can include any format the color
|
|
491
|
+
picker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a
|
|
492
|
+
semicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript. */
|
|
493
|
+
swatches?: SlColorPicker["swatches"];
|
|
494
|
+
/** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
495
|
+
to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
496
|
+
the same document or shadow root for this to work. */
|
|
497
|
+
form?: SlColorPicker["form"];
|
|
498
|
+
/** Makes the color picker a required field. */
|
|
499
|
+
required?: SlColorPicker["required"];
|
|
500
|
+
/** */
|
|
501
|
+
base?: SlColorPicker["base"];
|
|
502
|
+
/** */
|
|
503
|
+
input?: SlColorPicker["input"];
|
|
504
|
+
/** */
|
|
505
|
+
dropdown?: SlColorPicker["dropdown"];
|
|
506
|
+
/** */
|
|
507
|
+
previewButton?: SlColorPicker["previewButton"];
|
|
508
|
+
/** */
|
|
509
|
+
trigger?: SlColorPicker["trigger"];
|
|
510
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
511
|
+
defaultValue?: SlColorPicker["defaultValue"];
|
|
512
|
+
/** Gets the validity state object */
|
|
513
|
+
validity?: SlColorPicker["validity"];
|
|
514
|
+
/** Gets the validation message */
|
|
515
|
+
validationMessage?: SlColorPicker["validationMessage"];
|
|
516
|
+
/** Emitted when the color picker loses focus. */
|
|
517
|
+
"onsl-blur"?: (e: CustomEvent<never>) => void;
|
|
518
|
+
/** Emitted when the color picker's value changes. */
|
|
519
|
+
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
520
|
+
/** Emitted when the color picker receives focus. */
|
|
521
|
+
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
522
|
+
/** Emitted when the color picker receives input. */
|
|
523
|
+
"onsl-input"?: (e: CustomEvent<never>) => void;
|
|
524
|
+
/** Emitted when the form control has been checked for validity and its constraints aren't satisfied. */
|
|
525
|
+
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
type SlCheckboxProps = {
|
|
529
|
+
/** */
|
|
530
|
+
title?: SlCheckbox["title"];
|
|
531
|
+
/** The name of the checkbox, submitted as a name/value pair with form data. */
|
|
532
|
+
name?: SlCheckbox["name"];
|
|
533
|
+
/** The current value of the checkbox, submitted as a name/value pair with form data. */
|
|
534
|
+
value?: SlCheckbox["value"];
|
|
535
|
+
/** The checkbox's size. */
|
|
536
|
+
size?: SlCheckbox["size"];
|
|
537
|
+
/** Disables the checkbox. */
|
|
538
|
+
disabled?: SlCheckbox["disabled"];
|
|
539
|
+
/** Draws the checkbox in a checked state. */
|
|
540
|
+
checked?: SlCheckbox["checked"];
|
|
541
|
+
/** Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
542
|
+
all/none" behavior when associated checkboxes have a mix of checked and unchecked states. */
|
|
543
|
+
indeterminate?: SlCheckbox["indeterminate"];
|
|
544
|
+
/** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
545
|
+
to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
546
|
+
the same document or shadow root for this to work. */
|
|
547
|
+
form?: SlCheckbox["form"];
|
|
548
|
+
/** Makes the checkbox a required field. */
|
|
549
|
+
required?: SlCheckbox["required"];
|
|
550
|
+
/** The checkbox's help text. If you need to display HTML, use the `help-text` slot instead. */
|
|
551
|
+
"help-text"?: SlCheckbox["helpText"];
|
|
552
|
+
/** */
|
|
553
|
+
input?: SlCheckbox["input"];
|
|
554
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
555
|
+
defaultChecked?: SlCheckbox["defaultChecked"];
|
|
556
|
+
/** Gets the validity state object */
|
|
557
|
+
validity?: SlCheckbox["validity"];
|
|
558
|
+
/** Gets the validation message */
|
|
559
|
+
validationMessage?: SlCheckbox["validationMessage"];
|
|
560
|
+
/** Emitted when the checkbox loses focus. */
|
|
561
|
+
"onsl-blur"?: (e: CustomEvent<never>) => void;
|
|
562
|
+
/** Emitted when the checked state changes. */
|
|
563
|
+
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
564
|
+
/** Emitted when the checkbox gains focus. */
|
|
565
|
+
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
566
|
+
/** Emitted when the checkbox receives input. */
|
|
567
|
+
"onsl-input"?: (e: CustomEvent<never>) => void;
|
|
568
|
+
/** Emitted when the form control has been checked for validity and its constraints aren't satisfied. */
|
|
569
|
+
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
570
|
+
};
|
|
571
|
+
|
|
602
572
|
type SlCopyButtonProps = {
|
|
603
573
|
/** The text value to copy. */
|
|
604
574
|
value?: SlCopyButton["value"];
|
|
@@ -641,164 +611,70 @@ scenarios. */
|
|
|
641
611
|
"onsl-error"?: (e: CustomEvent<never>) => void;
|
|
642
612
|
};
|
|
643
613
|
|
|
644
|
-
type
|
|
645
|
-
/**
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
614
|
+
type SlColProps = {
|
|
615
|
+
/** Number of cells to span (out of 24) */
|
|
616
|
+
span?: SlCol["span"];
|
|
617
|
+
/** Number of cells to offset from the left */
|
|
618
|
+
offset?: SlCol["offset"];
|
|
619
|
+
/** Order of the column */
|
|
620
|
+
order?: SlCol["order"];
|
|
621
|
+
/** Number of cells to push from the left */
|
|
622
|
+
push?: SlCol["push"];
|
|
623
|
+
/** Number of cells to pull from the right */
|
|
624
|
+
pull?: SlCol["pull"];
|
|
625
|
+
/** Flex layout style */
|
|
626
|
+
flex?: SlCol["flex"];
|
|
627
|
+
/** Responsive config for xs screens (< 576px) */
|
|
628
|
+
xs?: SlCol["xs"];
|
|
629
|
+
/** Responsive config for sm screens (≥ 576px) */
|
|
630
|
+
sm?: SlCol["sm"];
|
|
631
|
+
/** Responsive config for md screens (≥ 768px) */
|
|
632
|
+
md?: SlCol["md"];
|
|
633
|
+
/** Responsive config for lg screens (≥ 992px) */
|
|
634
|
+
lg?: SlCol["lg"];
|
|
635
|
+
/** Responsive config for xl screens (≥ 1200px) */
|
|
636
|
+
xl?: SlCol["xl"];
|
|
637
|
+
/** Responsive config for xxl screens (≥ 1600px) */
|
|
638
|
+
xxl?: SlCol["xxl"];
|
|
652
639
|
/** */
|
|
653
|
-
|
|
640
|
+
rowContext?: SlCol["rowContext"];
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
type SlCarouselItemProps = {};
|
|
644
|
+
|
|
645
|
+
type SlDatePanelProps = {
|
|
654
646
|
/** */
|
|
655
|
-
|
|
647
|
+
open?: SlDatePanel["open"];
|
|
656
648
|
/** */
|
|
657
|
-
|
|
649
|
+
value?: SlDatePanel["value"];
|
|
658
650
|
/** */
|
|
659
|
-
|
|
651
|
+
type?: SlDatePanel["type"];
|
|
660
652
|
/** */
|
|
661
|
-
|
|
662
|
-
/** Emitted when the details opens. */
|
|
663
|
-
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
664
|
-
/** Emitted after the details opens and all animations are complete. */
|
|
665
|
-
"onsl-after-show"?: (e: CustomEvent<never>) => void;
|
|
666
|
-
/** Emitted when the details closes. */
|
|
667
|
-
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
668
|
-
/** Emitted after the details closes and all animations are complete. */
|
|
669
|
-
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
670
|
-
};
|
|
671
|
-
|
|
672
|
-
type SlDialogProps = {
|
|
673
|
-
/** Indicates whether or not the dialog is resizable. When true, the user can resize the dialog by dragging the
|
|
674
|
-
bottom-right corner, and double-clicking the header will toggle fullscreen mode. */
|
|
675
|
-
resize?: SlDialog["resize"];
|
|
676
|
-
/** Indicates whether or not the dialog is in fullscreen mode. */
|
|
677
|
-
fullscreen?: SlDialog["fullscreen"];
|
|
678
|
-
/** Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can
|
|
679
|
-
use the `show()` and `hide()` methods and this attribute will reflect the dialog's open state. */
|
|
680
|
-
open?: SlDialog["open"];
|
|
681
|
-
/** The dialog's label as displayed in the header. You should always include a relevant label even when using
|
|
682
|
-
`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead. */
|
|
683
|
-
label?: SlDialog["label"];
|
|
684
|
-
/** Disables the header. This will also remove the default close button, so please ensure you provide an easy,
|
|
685
|
-
accessible way for users to dismiss the dialog. */
|
|
686
|
-
"no-header"?: SlDialog["noHeader"];
|
|
687
|
-
/** Indicates whether or not the dialog can be closed by clicking the overlay. When set to false, clicking the overlay
|
|
688
|
-
will not close the dialog. */
|
|
689
|
-
"mask-closable"?: SlDialog["maskClosable"];
|
|
690
|
-
/** Exposes the internal modal utility that controls focus trapping. To temporarily disable focus trapping and allow third-party modals spawned from an active Shoelace modal, call `modal.activateExternal()` when the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Shoelace's focus trapping. */
|
|
691
|
-
modal?: SlDialog["modal"];
|
|
692
|
-
/** */
|
|
693
|
-
dialog?: SlDialog["dialog"];
|
|
694
|
-
/** */
|
|
695
|
-
panel?: SlDialog["panel"];
|
|
696
|
-
/** */
|
|
697
|
-
overlay?: SlDialog["overlay"];
|
|
698
|
-
/** Emitted when the dialog opens. */
|
|
699
|
-
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
700
|
-
/** Emitted after the dialog opens and all animations are complete. */
|
|
701
|
-
"onsl-after-show"?: (e: CustomEvent<never>) => void;
|
|
702
|
-
/** Emitted when the dialog closes. */
|
|
703
|
-
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
704
|
-
/** Emitted after the dialog closes and all animations are complete. */
|
|
705
|
-
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
706
|
-
/** Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input. */
|
|
707
|
-
"onsl-initial-focus"?: (e: CustomEvent<never>) => void;
|
|
708
|
-
/** Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss. */
|
|
709
|
-
"onsl-request-close"?: (e: CustomEvent<{ source: "close-button" | "keyboard" | "overlay" }>) => void;
|
|
710
|
-
};
|
|
711
|
-
|
|
712
|
-
type SlDaterangepickerProps = {
|
|
713
|
-
/** The name of the input, submitted as a name/value pair with form data. */
|
|
714
|
-
name?: SlDaterangepicker["name"];
|
|
715
|
-
/** The current value of the input, submitted as a name/value pair with form data. */
|
|
716
|
-
value?: SlDaterangepicker["value"];
|
|
717
|
-
/** The input's size. */
|
|
718
|
-
size?: SlDaterangepicker["size"];
|
|
719
|
-
/** Draws a filled input. */
|
|
720
|
-
filled?: SlDaterangepicker["filled"];
|
|
721
|
-
/** Draws a pill-style input with rounded edges. */
|
|
722
|
-
pill?: SlDaterangepicker["pill"];
|
|
723
|
-
/** The input's label. If you need to display HTML, use the `label` slot instead. */
|
|
724
|
-
label?: SlDaterangepicker["label"];
|
|
725
|
-
/** The input's help text. If you need to display HTML, use the `help-text` slot instead. */
|
|
726
|
-
"help-text"?: SlDaterangepicker["helpText"];
|
|
727
|
-
/** Adds a clear button when the input is not empty. */
|
|
728
|
-
clearable?: SlDaterangepicker["clearable"];
|
|
729
|
-
/** Disables the input. */
|
|
730
|
-
disabled?: SlDaterangepicker["disabled"];
|
|
731
|
-
/** Placeholder text for the two inputs. Accepts a string in the format "startPlaceholder,endPlaceholder"
|
|
732
|
-
as an HTML attribute, or a [startPlaceholder, endPlaceholder] tuple when set via JavaScript. */
|
|
733
|
-
placeholder?: SlDaterangepicker["placeholder"];
|
|
734
|
-
/** Makes the input readonly. */
|
|
735
|
-
readonly?: SlDaterangepicker["readonly"];
|
|
736
|
-
/** Makes the input a required field. */
|
|
737
|
-
required?: SlDaterangepicker["required"];
|
|
738
|
-
/** */
|
|
739
|
-
type?: SlDaterangepicker["type"];
|
|
740
|
-
/** The minimum allowed date (in YYYY-MM-DD format). */
|
|
741
|
-
min?: SlDaterangepicker["min"];
|
|
742
|
-
/** The maximum allowed date (in YYYY-MM-DD format). */
|
|
743
|
-
max?: SlDaterangepicker["max"];
|
|
744
|
-
/** 日期格式化字符串,支持以下占位符(与 dayjs/Ant Design 一致):
|
|
745
|
-
- YYYY: 4位数年份
|
|
746
|
-
- MM: 2位数月份
|
|
747
|
-
- DD: 2位数日期
|
|
748
|
-
- HH: 24小时制小时
|
|
749
|
-
- mm: 分钟
|
|
750
|
-
- ss: 秒
|
|
751
|
-
- hh: 12小时制小时
|
|
752
|
-
- A: AM/PM
|
|
753
|
-
也支持传入数组,允许输入框接受多种格式。
|
|
754
|
-
默认值:type='date' 时为 'YYYY-MM-DD',type='datetime' 时为 'YYYY-MM-DD HH:mm:ss' */
|
|
755
|
-
format?: SlDaterangepicker["format"];
|
|
653
|
+
min?: SlDatePanel["min"];
|
|
756
654
|
/** */
|
|
757
|
-
|
|
655
|
+
max?: SlDatePanel["max"];
|
|
758
656
|
/** */
|
|
759
|
-
|
|
657
|
+
format?: SlDatePanel["format"];
|
|
760
658
|
/** */
|
|
761
|
-
|
|
659
|
+
calendar?: SlDatePanel["calendar"];
|
|
762
660
|
/** */
|
|
763
|
-
|
|
661
|
+
yearColumn?: SlDatePanel["yearColumn"];
|
|
764
662
|
/** */
|
|
765
|
-
|
|
663
|
+
monthColumn?: SlDatePanel["monthColumn"];
|
|
766
664
|
/** */
|
|
767
|
-
|
|
665
|
+
hourColumn?: SlDatePanel["hourColumn"];
|
|
768
666
|
/** */
|
|
769
|
-
|
|
667
|
+
minuteColumn?: SlDatePanel["minuteColumn"];
|
|
770
668
|
/** */
|
|
771
|
-
|
|
669
|
+
secondColumn?: SlDatePanel["secondColumn"];
|
|
772
670
|
/** */
|
|
773
|
-
|
|
671
|
+
"onsl-cancel"?: (e: CustomEvent<CustomEvent>) => void;
|
|
774
672
|
/** */
|
|
775
|
-
|
|
776
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
777
|
-
defaultValue?: SlDaterangepicker["defaultValue"];
|
|
673
|
+
"onsl-clear"?: (e: CustomEvent<CustomEvent>) => void;
|
|
778
674
|
/** */
|
|
779
|
-
|
|
675
|
+
"onsl-confirm"?: (e: CustomEvent<CustomEvent>) => void;
|
|
780
676
|
/** */
|
|
781
|
-
|
|
782
|
-
/** The start date value. */
|
|
783
|
-
startDate?: SlDaterangepicker["startDate"];
|
|
784
|
-
/** The end date value. */
|
|
785
|
-
endDate?: SlDaterangepicker["endDate"];
|
|
786
|
-
/** Gets the validity state object */
|
|
787
|
-
validity?: SlDaterangepicker["validity"];
|
|
788
|
-
/** Gets the validation message */
|
|
789
|
-
validationMessage?: SlDaterangepicker["validationMessage"];
|
|
790
|
-
/** Emitted when the control loses focus. */
|
|
791
|
-
"onsl-blur"?: (e: CustomEvent<never>) => void;
|
|
792
|
-
/** Emitted when an alteration to the control's value is committed by the user. */
|
|
793
|
-
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
794
|
-
/** Emitted when the control gains focus. */
|
|
795
|
-
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
796
|
-
/** Emitted when the control receives input. */
|
|
797
|
-
"onsl-input"?: (e: CustomEvent<never>) => void;
|
|
798
|
-
/** Emitted when the form control has been checked for validity and its constraints aren't satisfied. */
|
|
799
|
-
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
800
|
-
/** Emitted when the clear button is activated. */
|
|
801
|
-
"onsl-clear"?: (e: CustomEvent<never>) => void;
|
|
677
|
+
"onsl-date-change"?: (e: CustomEvent<CustomEvent>) => void;
|
|
802
678
|
};
|
|
803
679
|
|
|
804
680
|
type SlDatepickerProps = {
|
|
@@ -838,6 +714,74 @@ type SlDatepickerProps = {
|
|
|
838
714
|
"onsl-clear"?: (e: CustomEvent<never>) => void;
|
|
839
715
|
};
|
|
840
716
|
|
|
717
|
+
type SlDetailsProps = {
|
|
718
|
+
/** Indicates whether or not the details is open. You can toggle this attribute to show and hide the details, or you
|
|
719
|
+
can use the `show()` and `hide()` methods and this attribute will reflect the details' open state. */
|
|
720
|
+
open?: SlDetails["open"];
|
|
721
|
+
/** The summary to show in the header. If you need to display HTML, use the `summary` slot instead. */
|
|
722
|
+
summary?: SlDetails["summary"];
|
|
723
|
+
/** Disables the details so it can't be toggled. */
|
|
724
|
+
disabled?: SlDetails["disabled"];
|
|
725
|
+
/** */
|
|
726
|
+
details?: SlDetails["details"];
|
|
727
|
+
/** */
|
|
728
|
+
header?: SlDetails["header"];
|
|
729
|
+
/** */
|
|
730
|
+
body?: SlDetails["body"];
|
|
731
|
+
/** */
|
|
732
|
+
expandIconSlot?: SlDetails["expandIconSlot"];
|
|
733
|
+
/** */
|
|
734
|
+
detailsObserver?: SlDetails["detailsObserver"];
|
|
735
|
+
/** Emitted when the details opens. */
|
|
736
|
+
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
737
|
+
/** Emitted after the details opens and all animations are complete. */
|
|
738
|
+
"onsl-after-show"?: (e: CustomEvent<never>) => void;
|
|
739
|
+
/** Emitted when the details closes. */
|
|
740
|
+
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
741
|
+
/** Emitted after the details closes and all animations are complete. */
|
|
742
|
+
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
type SlDialogProps = {
|
|
746
|
+
/** Indicates whether or not the dialog is resizable. When true, the user can resize the dialog by dragging the
|
|
747
|
+
bottom-right corner, and double-clicking the header will toggle fullscreen mode. */
|
|
748
|
+
resize?: SlDialog["resize"];
|
|
749
|
+
/** Indicates whether or not the dialog is in fullscreen mode. */
|
|
750
|
+
fullscreen?: SlDialog["fullscreen"];
|
|
751
|
+
/** Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can
|
|
752
|
+
use the `show()` and `hide()` methods and this attribute will reflect the dialog's open state. */
|
|
753
|
+
open?: SlDialog["open"];
|
|
754
|
+
/** The dialog's label as displayed in the header. You should always include a relevant label even when using
|
|
755
|
+
`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead. */
|
|
756
|
+
label?: SlDialog["label"];
|
|
757
|
+
/** Disables the header. This will also remove the default close button, so please ensure you provide an easy,
|
|
758
|
+
accessible way for users to dismiss the dialog. */
|
|
759
|
+
"no-header"?: SlDialog["noHeader"];
|
|
760
|
+
/** Indicates whether or not the dialog can be closed by clicking the overlay. When set to false, clicking the overlay
|
|
761
|
+
will not close the dialog. */
|
|
762
|
+
"mask-closable"?: SlDialog["maskClosable"];
|
|
763
|
+
/** Exposes the internal modal utility that controls focus trapping. To temporarily disable focus trapping and allow third-party modals spawned from an active Shoelace modal, call `modal.activateExternal()` when the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Shoelace's focus trapping. */
|
|
764
|
+
modal?: SlDialog["modal"];
|
|
765
|
+
/** */
|
|
766
|
+
dialog?: SlDialog["dialog"];
|
|
767
|
+
/** */
|
|
768
|
+
panel?: SlDialog["panel"];
|
|
769
|
+
/** */
|
|
770
|
+
overlay?: SlDialog["overlay"];
|
|
771
|
+
/** Emitted when the dialog opens. */
|
|
772
|
+
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
773
|
+
/** Emitted after the dialog opens and all animations are complete. */
|
|
774
|
+
"onsl-after-show"?: (e: CustomEvent<never>) => void;
|
|
775
|
+
/** Emitted when the dialog closes. */
|
|
776
|
+
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
777
|
+
/** Emitted after the dialog closes and all animations are complete. */
|
|
778
|
+
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
779
|
+
/** Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input. */
|
|
780
|
+
"onsl-initial-focus"?: (e: CustomEvent<never>) => void;
|
|
781
|
+
/** Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss. */
|
|
782
|
+
"onsl-request-close"?: (e: CustomEvent<{ source: "close-button" | "keyboard" | "overlay" }>) => void;
|
|
783
|
+
};
|
|
784
|
+
|
|
841
785
|
type SlDividerProps = {
|
|
842
786
|
/** Draws the divider in a vertical orientation. */
|
|
843
787
|
vertical?: SlDivider["vertical"];
|
|
@@ -920,63 +864,160 @@ components that use a dropdown internally. */
|
|
|
920
864
|
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
921
865
|
};
|
|
922
866
|
|
|
923
|
-
type
|
|
924
|
-
/**
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
|
|
928
|
-
/**
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
|
|
932
|
-
/** */
|
|
933
|
-
max?: SlDatePanel["max"];
|
|
934
|
-
/** */
|
|
935
|
-
format?: SlDatePanel["format"];
|
|
936
|
-
/** */
|
|
937
|
-
calendar?: SlDatePanel["calendar"];
|
|
938
|
-
/** */
|
|
939
|
-
yearColumn?: SlDatePanel["yearColumn"];
|
|
940
|
-
/** */
|
|
941
|
-
monthColumn?: SlDatePanel["monthColumn"];
|
|
942
|
-
/** */
|
|
943
|
-
hourColumn?: SlDatePanel["hourColumn"];
|
|
944
|
-
/** */
|
|
945
|
-
minuteColumn?: SlDatePanel["minuteColumn"];
|
|
946
|
-
/** */
|
|
947
|
-
secondColumn?: SlDatePanel["secondColumn"];
|
|
948
|
-
/** */
|
|
949
|
-
"onsl-cancel"?: (e: CustomEvent<CustomEvent>) => void;
|
|
950
|
-
/** */
|
|
951
|
-
"onsl-clear"?: (e: CustomEvent<CustomEvent>) => void;
|
|
952
|
-
/** */
|
|
953
|
-
"onsl-confirm"?: (e: CustomEvent<CustomEvent>) => void;
|
|
954
|
-
/** */
|
|
955
|
-
"onsl-date-change"?: (e: CustomEvent<CustomEvent>) => void;
|
|
956
|
-
};
|
|
867
|
+
type SlFloatButtonGroupProps = {
|
|
868
|
+
/** The shape applied to all child float buttons. */
|
|
869
|
+
shape?: SlFloatButtonGroup["shape"];
|
|
870
|
+
/** The trigger mode for menu. When set, shows a trigger button that toggles the menu. */
|
|
871
|
+
trigger?: SlFloatButtonGroup["trigger"];
|
|
872
|
+
/** Whether the menu is open (controlled mode, use with trigger). */
|
|
873
|
+
open?: SlFloatButtonGroup["open"];
|
|
874
|
+
/** The direction the menu items expand. */
|
|
875
|
+
placement?: SlFloatButtonGroup["placement"];
|
|
957
876
|
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
unit?: SlFormatBytes["unit"];
|
|
963
|
-
/** Determines how to display the result, e.g. "100 bytes", "100 b", or "100b". */
|
|
964
|
-
display?: SlFormatBytes["display"];
|
|
877
|
+
/** Emitted when the menu opens (menu mode only). */
|
|
878
|
+
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
879
|
+
/** Emitted when the menu closes (menu mode only). */
|
|
880
|
+
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
965
881
|
};
|
|
966
882
|
|
|
967
|
-
type
|
|
968
|
-
/** The
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
/** The
|
|
973
|
-
|
|
974
|
-
/** The
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
|
|
883
|
+
type SlFloatButtonProps = {
|
|
884
|
+
/** The button's type. */
|
|
885
|
+
type?: SlFloatButton["type"];
|
|
886
|
+
/** The button's shape. */
|
|
887
|
+
shape?: SlFloatButton["shape"];
|
|
888
|
+
/** The button's size. */
|
|
889
|
+
size?: SlFloatButton["size"];
|
|
890
|
+
/** The name of the icon to display (from the registered icon library). */
|
|
891
|
+
icon?: SlFloatButton["icon"];
|
|
892
|
+
/** Tooltip text shown on hover. */
|
|
893
|
+
tooltip?: SlFloatButton["tooltip"];
|
|
894
|
+
/** Tooltip placement. */
|
|
895
|
+
"tooltip-placement"?: SlFloatButton["tooltipPlacement"];
|
|
896
|
+
/** Disables the button. */
|
|
897
|
+
disabled?: SlFloatButton["disabled"];
|
|
898
|
+
/** When set, the button will render as an anchor tag with this URL. */
|
|
899
|
+
href?: SlFloatButton["href"];
|
|
900
|
+
/** Where to display the linked URL (only used when href is set). */
|
|
901
|
+
target?: SlFloatButton["target"];
|
|
902
|
+
|
|
903
|
+
/** Emitted when the button is clicked. */
|
|
904
|
+
"onsl-click"?: (e: CustomEvent<never>) => void;
|
|
905
|
+
};
|
|
906
|
+
|
|
907
|
+
type SlFormatBytesProps = {
|
|
908
|
+
/** The number to format in bytes. */
|
|
909
|
+
value?: SlFormatBytes["value"];
|
|
910
|
+
/** The type of unit to display. */
|
|
911
|
+
unit?: SlFormatBytes["unit"];
|
|
912
|
+
/** Determines how to display the result, e.g. "100 bytes", "100 b", or "100b". */
|
|
913
|
+
display?: SlFormatBytes["display"];
|
|
914
|
+
};
|
|
915
|
+
|
|
916
|
+
type SlDaterangepickerProps = {
|
|
917
|
+
/** The name of the input, submitted as a name/value pair with form data. */
|
|
918
|
+
name?: SlDaterangepicker["name"];
|
|
919
|
+
/** The current value of the input, submitted as a name/value pair with form data. */
|
|
920
|
+
value?: SlDaterangepicker["value"];
|
|
921
|
+
/** The input's size. */
|
|
922
|
+
size?: SlDaterangepicker["size"];
|
|
923
|
+
/** Draws a filled input. */
|
|
924
|
+
filled?: SlDaterangepicker["filled"];
|
|
925
|
+
/** Draws a pill-style input with rounded edges. */
|
|
926
|
+
pill?: SlDaterangepicker["pill"];
|
|
927
|
+
/** The input's label. If you need to display HTML, use the `label` slot instead. */
|
|
928
|
+
label?: SlDaterangepicker["label"];
|
|
929
|
+
/** The input's help text. If you need to display HTML, use the `help-text` slot instead. */
|
|
930
|
+
"help-text"?: SlDaterangepicker["helpText"];
|
|
931
|
+
/** Adds a clear button when the input is not empty. */
|
|
932
|
+
clearable?: SlDaterangepicker["clearable"];
|
|
933
|
+
/** Disables the input. */
|
|
934
|
+
disabled?: SlDaterangepicker["disabled"];
|
|
935
|
+
/** Placeholder text for the two inputs. Accepts a string in the format "startPlaceholder,endPlaceholder"
|
|
936
|
+
as an HTML attribute, or a [startPlaceholder, endPlaceholder] tuple when set via JavaScript. */
|
|
937
|
+
placeholder?: SlDaterangepicker["placeholder"];
|
|
938
|
+
/** Makes the input readonly. */
|
|
939
|
+
readonly?: SlDaterangepicker["readonly"];
|
|
940
|
+
/** Makes the input a required field. */
|
|
941
|
+
required?: SlDaterangepicker["required"];
|
|
942
|
+
/** */
|
|
943
|
+
type?: SlDaterangepicker["type"];
|
|
944
|
+
/** The minimum allowed date (in YYYY-MM-DD format). */
|
|
945
|
+
min?: SlDaterangepicker["min"];
|
|
946
|
+
/** The maximum allowed date (in YYYY-MM-DD format). */
|
|
947
|
+
max?: SlDaterangepicker["max"];
|
|
948
|
+
/** 日期格式化字符串,支持以下占位符(与 dayjs/Ant Design 一致):
|
|
949
|
+
- YYYY: 4位数年份
|
|
950
|
+
- MM: 2位数月份
|
|
951
|
+
- DD: 2位数日期
|
|
952
|
+
- HH: 24小时制小时
|
|
953
|
+
- mm: 分钟
|
|
954
|
+
- ss: 秒
|
|
955
|
+
- hh: 12小时制小时
|
|
956
|
+
- A: AM/PM
|
|
957
|
+
也支持传入数组,允许输入框接受多种格式。
|
|
958
|
+
默认值:type='date' 时为 'YYYY-MM-DD',type='datetime' 时为 'YYYY-MM-DD HH:mm:ss' */
|
|
959
|
+
format?: SlDaterangepicker["format"];
|
|
960
|
+
/** */
|
|
961
|
+
startInput?: SlDaterangepicker["startInput"];
|
|
962
|
+
/** */
|
|
963
|
+
endInput?: SlDaterangepicker["endInput"];
|
|
964
|
+
/** */
|
|
965
|
+
popup?: SlDaterangepicker["popup"];
|
|
966
|
+
/** */
|
|
967
|
+
inputContainer?: SlDaterangepicker["inputContainer"];
|
|
968
|
+
/** */
|
|
969
|
+
calendars?: SlDaterangepicker["calendars"];
|
|
970
|
+
/** */
|
|
971
|
+
yearColumn?: SlDaterangepicker["yearColumn"];
|
|
972
|
+
/** */
|
|
973
|
+
monthColumn?: SlDaterangepicker["monthColumn"];
|
|
974
|
+
/** */
|
|
975
|
+
hourColumn?: SlDaterangepicker["hourColumn"];
|
|
976
|
+
/** */
|
|
977
|
+
minuteColumn?: SlDaterangepicker["minuteColumn"];
|
|
978
|
+
/** */
|
|
979
|
+
secondColumn?: SlDaterangepicker["secondColumn"];
|
|
980
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
981
|
+
defaultValue?: SlDaterangepicker["defaultValue"];
|
|
982
|
+
/** */
|
|
983
|
+
startPlaceholder?: SlDaterangepicker["startPlaceholder"];
|
|
984
|
+
/** */
|
|
985
|
+
endPlaceholder?: SlDaterangepicker["endPlaceholder"];
|
|
986
|
+
/** The start date value. */
|
|
987
|
+
startDate?: SlDaterangepicker["startDate"];
|
|
988
|
+
/** The end date value. */
|
|
989
|
+
endDate?: SlDaterangepicker["endDate"];
|
|
990
|
+
/** Gets the validity state object */
|
|
991
|
+
validity?: SlDaterangepicker["validity"];
|
|
992
|
+
/** Gets the validation message */
|
|
993
|
+
validationMessage?: SlDaterangepicker["validationMessage"];
|
|
994
|
+
/** Emitted when the control loses focus. */
|
|
995
|
+
"onsl-blur"?: (e: CustomEvent<never>) => void;
|
|
996
|
+
/** Emitted when an alteration to the control's value is committed by the user. */
|
|
997
|
+
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
998
|
+
/** Emitted when the control gains focus. */
|
|
999
|
+
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
1000
|
+
/** Emitted when the control receives input. */
|
|
1001
|
+
"onsl-input"?: (e: CustomEvent<never>) => void;
|
|
1002
|
+
/** Emitted when the form control has been checked for validity and its constraints aren't satisfied. */
|
|
1003
|
+
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
1004
|
+
/** Emitted when the clear button is activated. */
|
|
1005
|
+
"onsl-clear"?: (e: CustomEvent<never>) => void;
|
|
1006
|
+
};
|
|
1007
|
+
|
|
1008
|
+
type SlFormatDateProps = {
|
|
1009
|
+
/** The date/time to format. If not set, the current date and time will be used. When passing a string, it's strongly
|
|
1010
|
+
recommended to use the ISO 8601 format to ensure timezones are handled correctly. To convert a date to this format
|
|
1011
|
+
in JavaScript, use [`date.toISOString()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString). */
|
|
1012
|
+
date?: SlFormatDate["date"];
|
|
1013
|
+
/** The format for displaying the weekday. */
|
|
1014
|
+
weekday?: SlFormatDate["weekday"];
|
|
1015
|
+
/** The format for displaying the era. */
|
|
1016
|
+
era?: SlFormatDate["era"];
|
|
1017
|
+
/** The format for displaying the year. */
|
|
1018
|
+
year?: SlFormatDate["year"];
|
|
1019
|
+
/** The format for displaying the month. */
|
|
1020
|
+
month?: SlFormatDate["month"];
|
|
980
1021
|
/** The format for displaying the day. */
|
|
981
1022
|
day?: SlFormatDate["day"];
|
|
982
1023
|
/** The format for displaying the hour. */
|
|
@@ -1043,44 +1084,65 @@ that describes what the icon button does. */
|
|
|
1043
1084
|
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
1044
1085
|
};
|
|
1045
1086
|
|
|
1046
|
-
type
|
|
1047
|
-
/** The
|
|
1048
|
-
|
|
1049
|
-
/**
|
|
1050
|
-
|
|
1051
|
-
/**
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
|
|
1055
|
-
/** Tooltip text shown on hover. */
|
|
1056
|
-
tooltip?: SlFloatButton["tooltip"];
|
|
1057
|
-
/** Tooltip placement. */
|
|
1058
|
-
"tooltip-placement"?: SlFloatButton["tooltipPlacement"];
|
|
1059
|
-
/** Disables the button. */
|
|
1060
|
-
disabled?: SlFloatButton["disabled"];
|
|
1061
|
-
/** When set, the button will render as an anchor tag with this URL. */
|
|
1062
|
-
href?: SlFloatButton["href"];
|
|
1063
|
-
/** Where to display the linked URL (only used when href is set). */
|
|
1064
|
-
target?: SlFloatButton["target"];
|
|
1065
|
-
|
|
1066
|
-
/** Emitted when the button is clicked. */
|
|
1067
|
-
"onsl-click"?: (e: CustomEvent<never>) => void;
|
|
1087
|
+
type SlImageComparerProps = {
|
|
1088
|
+
/** The position of the divider as a percentage. */
|
|
1089
|
+
position?: SlImageComparer["position"];
|
|
1090
|
+
/** */
|
|
1091
|
+
base?: SlImageComparer["base"];
|
|
1092
|
+
/** */
|
|
1093
|
+
handle?: SlImageComparer["handle"];
|
|
1094
|
+
/** Emitted when the position changes. */
|
|
1095
|
+
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
1068
1096
|
};
|
|
1069
1097
|
|
|
1070
|
-
type
|
|
1071
|
-
/**
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
|
|
1075
|
-
/**
|
|
1076
|
-
|
|
1077
|
-
/**
|
|
1078
|
-
|
|
1098
|
+
type SlImagePreviewGroupProps = {
|
|
1099
|
+
/** 预览配置,为 false 时禁用预览 */
|
|
1100
|
+
preview?: SlImagePreviewGroup["preview"];
|
|
1101
|
+
/** 预览数组,支持字符串或 { src, alt, crossOrigin } 对象 */
|
|
1102
|
+
items?: SlImagePreviewGroup["items"];
|
|
1103
|
+
/** 加载失败容错地址(组件级) */
|
|
1104
|
+
fallback?: SlImagePreviewGroup["fallback"];
|
|
1105
|
+
/** */
|
|
1106
|
+
previewOpen?: SlImagePreviewGroup["previewOpen"];
|
|
1107
|
+
/** 预览打开时触发 */
|
|
1108
|
+
"onsl-preview-open"?: (e: CustomEvent<never>) => void;
|
|
1109
|
+
/** 预览关闭时触发 */
|
|
1110
|
+
"onsl-preview-close"?: (e: CustomEvent<never>) => void;
|
|
1111
|
+
/** 预览图片切换时触发,detail 包含 { current, prev } */
|
|
1112
|
+
"onsl-preview-change"?: (e: CustomEvent<never>) => void;
|
|
1113
|
+
};
|
|
1079
1114
|
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1115
|
+
type SlImageProps = {
|
|
1116
|
+
/** 图片地址 */
|
|
1117
|
+
src?: SlImage["src"];
|
|
1118
|
+
/** 图片替代文本 */
|
|
1119
|
+
alt?: SlImage["alt"];
|
|
1120
|
+
/** 图片宽度 */
|
|
1121
|
+
width?: SlImage["width"];
|
|
1122
|
+
/** 图片高度 */
|
|
1123
|
+
height?: SlImage["height"];
|
|
1124
|
+
/** 加载失败时的回退图片地址 */
|
|
1125
|
+
fallback?: SlImage["fallback"];
|
|
1126
|
+
/** 加载占位图;设为 true 显示默认占位符,设为字符串则作为占位图片 src */
|
|
1127
|
+
placeholder?: SlImage["placeholder"];
|
|
1128
|
+
/** 是否禁用预览 */
|
|
1129
|
+
"no-preview"?: SlImage["noPreview"];
|
|
1130
|
+
/** 预览配置 */
|
|
1131
|
+
preview?: SlImage["preview"];
|
|
1132
|
+
/** 是否在 group 中(由 sl-image-preview-group 自动设置) */
|
|
1133
|
+
"in-group"?: SlImage["inGroup"];
|
|
1134
|
+
/** */
|
|
1135
|
+
previewOpen?: SlImage["previewOpen"];
|
|
1136
|
+
/** 在 group 模式下点击图片时触发 */
|
|
1137
|
+
"onsl-image-click"?: (e: CustomEvent<never>) => void;
|
|
1138
|
+
/** 预览打开时触发 */
|
|
1139
|
+
"onsl-preview-open"?: (e: CustomEvent<never>) => void;
|
|
1140
|
+
/** 预览关闭时触发 */
|
|
1141
|
+
"onsl-preview-close"?: (e: CustomEvent<never>) => void;
|
|
1142
|
+
/** 图片加载失败时触发 */
|
|
1143
|
+
"onsl-error"?: (e: CustomEvent<never>) => void;
|
|
1144
|
+
/** 图片加载成功时触发 */
|
|
1145
|
+
"onsl-load"?: (e: CustomEvent<never>) => void;
|
|
1084
1146
|
};
|
|
1085
1147
|
|
|
1086
1148
|
type SlIconProps = {
|
|
@@ -1101,33 +1163,6 @@ ignored by assistive devices. */
|
|
|
1101
1163
|
"onsl-error"?: (e: CustomEvent<never>) => void;
|
|
1102
1164
|
};
|
|
1103
1165
|
|
|
1104
|
-
type SlImageComparerProps = {
|
|
1105
|
-
/** The position of the divider as a percentage. */
|
|
1106
|
-
position?: SlImageComparer["position"];
|
|
1107
|
-
/** */
|
|
1108
|
-
base?: SlImageComparer["base"];
|
|
1109
|
-
/** */
|
|
1110
|
-
handle?: SlImageComparer["handle"];
|
|
1111
|
-
/** Emitted when the position changes. */
|
|
1112
|
-
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
1113
|
-
};
|
|
1114
|
-
|
|
1115
|
-
type SlIncludeProps = {
|
|
1116
|
-
/** The location of the HTML file to include. Be sure you trust the content you are including as it will be executed as
|
|
1117
|
-
code and can result in XSS attacks. */
|
|
1118
|
-
src?: SlInclude["src"];
|
|
1119
|
-
/** The fetch mode to use. */
|
|
1120
|
-
mode?: SlInclude["mode"];
|
|
1121
|
-
/** Allows included scripts to be executed. Be sure you trust the content you are including as it will be executed as
|
|
1122
|
-
code and can result in XSS attacks. */
|
|
1123
|
-
"allow-scripts"?: SlInclude["allowScripts"];
|
|
1124
|
-
|
|
1125
|
-
/** Emitted when the included file is loaded. */
|
|
1126
|
-
"onsl-load"?: (e: CustomEvent<never>) => void;
|
|
1127
|
-
/** Emitted when the included file fails to load due to an error. */
|
|
1128
|
-
"onsl-error"?: (e: CustomEvent<{ status: number }>) => void;
|
|
1129
|
-
};
|
|
1130
|
-
|
|
1131
1166
|
type SlInputProps = {
|
|
1132
1167
|
/** */
|
|
1133
1168
|
title?: SlInput["title"];
|
|
@@ -1227,21 +1262,27 @@ keyboard on supportive devices. */
|
|
|
1227
1262
|
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
1228
1263
|
};
|
|
1229
1264
|
|
|
1230
|
-
type
|
|
1231
|
-
/** 预览配置,为 false 时禁用预览 */
|
|
1232
|
-
preview?: SlImagePreviewGroup["preview"];
|
|
1233
|
-
/** 预览数组,支持字符串或 { src, alt, crossOrigin } 对象 */
|
|
1234
|
-
items?: SlImagePreviewGroup["items"];
|
|
1235
|
-
/** 加载失败容错地址(组件级) */
|
|
1236
|
-
fallback?: SlImagePreviewGroup["fallback"];
|
|
1265
|
+
type SlMenuProps = {
|
|
1237
1266
|
/** */
|
|
1238
|
-
|
|
1239
|
-
/**
|
|
1240
|
-
"onsl-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1267
|
+
defaultSlot?: SlMenu["defaultSlot"];
|
|
1268
|
+
/** Emitted when a menu item is selected. */
|
|
1269
|
+
"onsl-select"?: (e: CustomEvent<{ item: SlMenuItem }>) => void;
|
|
1270
|
+
};
|
|
1271
|
+
|
|
1272
|
+
type SlIncludeProps = {
|
|
1273
|
+
/** The location of the HTML file to include. Be sure you trust the content you are including as it will be executed as
|
|
1274
|
+
code and can result in XSS attacks. */
|
|
1275
|
+
src?: SlInclude["src"];
|
|
1276
|
+
/** The fetch mode to use. */
|
|
1277
|
+
mode?: SlInclude["mode"];
|
|
1278
|
+
/** Allows included scripts to be executed. Be sure you trust the content you are including as it will be executed as
|
|
1279
|
+
code and can result in XSS attacks. */
|
|
1280
|
+
"allow-scripts"?: SlInclude["allowScripts"];
|
|
1281
|
+
|
|
1282
|
+
/** Emitted when the included file is loaded. */
|
|
1283
|
+
"onsl-load"?: (e: CustomEvent<never>) => void;
|
|
1284
|
+
/** Emitted when the included file fails to load due to an error. */
|
|
1285
|
+
"onsl-error"?: (e: CustomEvent<{ status: number }>) => void;
|
|
1245
1286
|
};
|
|
1246
1287
|
|
|
1247
1288
|
type SlMenuItemProps = {
|
|
@@ -1261,46 +1302,6 @@ type SlMenuItemProps = {
|
|
|
1261
1302
|
menuItem?: SlMenuItem["menuItem"];
|
|
1262
1303
|
};
|
|
1263
1304
|
|
|
1264
|
-
type SlImageProps = {
|
|
1265
|
-
/** 图片地址 */
|
|
1266
|
-
src?: SlImage["src"];
|
|
1267
|
-
/** 图片替代文本 */
|
|
1268
|
-
alt?: SlImage["alt"];
|
|
1269
|
-
/** 图片宽度 */
|
|
1270
|
-
width?: SlImage["width"];
|
|
1271
|
-
/** 图片高度 */
|
|
1272
|
-
height?: SlImage["height"];
|
|
1273
|
-
/** 加载失败时的回退图片地址 */
|
|
1274
|
-
fallback?: SlImage["fallback"];
|
|
1275
|
-
/** 加载占位图;设为 true 显示默认占位符,设为字符串则作为占位图片 src */
|
|
1276
|
-
placeholder?: SlImage["placeholder"];
|
|
1277
|
-
/** 是否禁用预览 */
|
|
1278
|
-
"no-preview"?: SlImage["noPreview"];
|
|
1279
|
-
/** 预览配置 */
|
|
1280
|
-
preview?: SlImage["preview"];
|
|
1281
|
-
/** 是否在 group 中(由 sl-image-preview-group 自动设置) */
|
|
1282
|
-
"in-group"?: SlImage["inGroup"];
|
|
1283
|
-
/** */
|
|
1284
|
-
previewOpen?: SlImage["previewOpen"];
|
|
1285
|
-
/** 在 group 模式下点击图片时触发 */
|
|
1286
|
-
"onsl-image-click"?: (e: CustomEvent<never>) => void;
|
|
1287
|
-
/** 预览打开时触发 */
|
|
1288
|
-
"onsl-preview-open"?: (e: CustomEvent<never>) => void;
|
|
1289
|
-
/** 预览关闭时触发 */
|
|
1290
|
-
"onsl-preview-close"?: (e: CustomEvent<never>) => void;
|
|
1291
|
-
/** 图片加载失败时触发 */
|
|
1292
|
-
"onsl-error"?: (e: CustomEvent<never>) => void;
|
|
1293
|
-
/** 图片加载成功时触发 */
|
|
1294
|
-
"onsl-load"?: (e: CustomEvent<never>) => void;
|
|
1295
|
-
};
|
|
1296
|
-
|
|
1297
|
-
type SlMenuProps = {
|
|
1298
|
-
/** */
|
|
1299
|
-
defaultSlot?: SlMenu["defaultSlot"];
|
|
1300
|
-
/** Emitted when a menu item is selected. */
|
|
1301
|
-
"onsl-select"?: (e: CustomEvent<{ item: SlMenuItem }>) => void;
|
|
1302
|
-
};
|
|
1303
|
-
|
|
1304
1305
|
type SlMenuLabelProps = {};
|
|
1305
1306
|
|
|
1306
1307
|
type SlMutationObserverProps = {
|
|
@@ -1322,6 +1323,61 @@ type SlMutationObserverProps = {
|
|
|
1322
1323
|
"onsl-mutation"?: (e: CustomEvent<{ mutationList: MutationRecord[] }>) => void;
|
|
1323
1324
|
};
|
|
1324
1325
|
|
|
1326
|
+
type SlNavProps = {
|
|
1327
|
+
/** Matches Antd's `mode` API. */
|
|
1328
|
+
mode?: SlNav["mode"];
|
|
1329
|
+
/** Matches Antd's `multiple` API. */
|
|
1330
|
+
multiple?: SlNav["multiple"];
|
|
1331
|
+
/** Matches Antd's `selectable` API. */
|
|
1332
|
+
selectable?: SlNav["selectable"];
|
|
1333
|
+
/** Matches Antd's `inlineCollapsed` API. */
|
|
1334
|
+
"inline-collapsed"?: SlNav["inlineCollapsed"];
|
|
1335
|
+
/** Matches Antd's `inlineIndent` API. */
|
|
1336
|
+
"inline-indent"?: SlNav["inlineIndent"];
|
|
1337
|
+
/** Matches Antd's `subMenuOpenDelay` API, in seconds. */
|
|
1338
|
+
"sub-menu-open-delay"?: SlNav["subMenuOpenDelay"];
|
|
1339
|
+
/** Matches Antd's `subMenuCloseDelay` API, in seconds. */
|
|
1340
|
+
"sub-menu-close-delay"?: SlNav["subMenuCloseDelay"];
|
|
1341
|
+
/** Matches Antd's `triggerSubMenuAction` API. */
|
|
1342
|
+
"trigger-sub-menu-action"?: SlNav["triggerSubMenuAction"];
|
|
1343
|
+
/** Matches Antd's `theme` API. Present for compatibility and future styling. */
|
|
1344
|
+
theme?: SlNav["theme"];
|
|
1345
|
+
/** Matches Antd's `forceSubMenuRender` API. */
|
|
1346
|
+
"force-sub-menu-render"?: SlNav["forceSubMenuRender"];
|
|
1347
|
+
/** Matches Antd's `disabledOverflow` API. Present for compatibility. */
|
|
1348
|
+
"disabled-overflow"?: SlNav["disabledOverflow"];
|
|
1349
|
+
/** */
|
|
1350
|
+
defaultSlot?: SlNav["defaultSlot"];
|
|
1351
|
+
/** Matches Antd's `items` API. */
|
|
1352
|
+
items?: SlNav["items"];
|
|
1353
|
+
/** Matches Antd's `selectedKeys` API. */
|
|
1354
|
+
selectedKeys?: SlNav["selectedKeys"];
|
|
1355
|
+
/** Matches Antd's `defaultSelectedKeys` API. */
|
|
1356
|
+
defaultSelectedKeys?: SlNav["defaultSelectedKeys"];
|
|
1357
|
+
/** Matches Antd's `openKeys` API. */
|
|
1358
|
+
openKeys?: SlNav["openKeys"];
|
|
1359
|
+
/** Matches Antd's `defaultOpenKeys` API. */
|
|
1360
|
+
defaultOpenKeys?: SlNav["defaultOpenKeys"];
|
|
1361
|
+
/** Matches Antd's `expandIcon` API. */
|
|
1362
|
+
expandIcon?: SlNav["expandIcon"];
|
|
1363
|
+
/** Matches Antd's `overflowedIndicator` API. Present for compatibility. */
|
|
1364
|
+
overflowedIndicator?: SlNav["overflowedIndicator"];
|
|
1365
|
+
/** Matches Antd's `onClick` callback API. */
|
|
1366
|
+
onClick?: SlNav["onClick"];
|
|
1367
|
+
/** Matches Antd's `onSelect` callback API. */
|
|
1368
|
+
onSelect?: SlNav["onSelect"];
|
|
1369
|
+
/** Matches Antd's `onDeselect` callback API. */
|
|
1370
|
+
onDeselect?: SlNav["onDeselect"];
|
|
1371
|
+
/** Matches Antd's `onOpenChange` callback API. */
|
|
1372
|
+
onOpenChange?: SlNav["onOpenChange"];
|
|
1373
|
+
/** Emitted when the selected nav item changes. */
|
|
1374
|
+
"onsl-change"?: (e: CustomEvent<{ item: SlNavItem | undefined; selectedKeys: string[] }>) => void;
|
|
1375
|
+
/** Emitted when the open submenu keys change. */
|
|
1376
|
+
"onsl-nav-open-change"?: (e: CustomEvent<{ openKeys: string[] }>) => void;
|
|
1377
|
+
/** Emitted when a nav item is selected. */
|
|
1378
|
+
"onsl-nav-select"?: (e: CustomEvent<{ item: SlNavItem; domEvent: MouseEvent | KeyboardEvent }>) => void;
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1325
1381
|
type SlNavGroupProps = {
|
|
1326
1382
|
/** Draws the nav group in an active (selected) state. */
|
|
1327
1383
|
active?: SlNavGroup["active"];
|
|
@@ -1421,6 +1477,39 @@ React reserves `key` and won't forward it to custom elements, so wrapper users c
|
|
|
1421
1477
|
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
1422
1478
|
};
|
|
1423
1479
|
|
|
1480
|
+
type SlNotificationProps = {
|
|
1481
|
+
/** Indicates whether or not the notification is open. */
|
|
1482
|
+
open?: SlNotification["open"];
|
|
1483
|
+
/** Enables a close button that allows the user to dismiss the notification. */
|
|
1484
|
+
closable?: SlNotification["closable"];
|
|
1485
|
+
/** Custom close icon name. Set to null or false to hide the close button. */
|
|
1486
|
+
"close-icon"?: SlNotification["closeIcon"];
|
|
1487
|
+
/** The notification's type variant. */
|
|
1488
|
+
type?: SlNotification["type"];
|
|
1489
|
+
/** The length of time, in milliseconds, the notification will show before closing itself. Set to false or 0 to disable. */
|
|
1490
|
+
duration?: SlNotification["duration"];
|
|
1491
|
+
/** The placement of the notification. */
|
|
1492
|
+
placement?: SlNotification["placement"];
|
|
1493
|
+
/** Whether to show the progress bar. */
|
|
1494
|
+
"show-progress"?: SlNotification["showProgress"];
|
|
1495
|
+
/** Whether to pause the auto-hide timer when hovering. */
|
|
1496
|
+
"pause-on-hover"?: SlNotification["pauseOnHover"];
|
|
1497
|
+
/** A unique key for the notification. */
|
|
1498
|
+
key?: SlNotification["key"];
|
|
1499
|
+
/** */
|
|
1500
|
+
base?: SlNotification["base"];
|
|
1501
|
+
/** */
|
|
1502
|
+
progressBar?: SlNotification["progressBar"];
|
|
1503
|
+
/** Emitted when the notification opens. */
|
|
1504
|
+
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
1505
|
+
/** Emitted after the notification opens and all animations are complete. */
|
|
1506
|
+
"onsl-after-show"?: (e: CustomEvent<never>) => void;
|
|
1507
|
+
/** Emitted when the notification closes. */
|
|
1508
|
+
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
1509
|
+
/** Emitted after the notification closes and all animations are complete. */
|
|
1510
|
+
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1424
1513
|
type SlOptionProps = {
|
|
1425
1514
|
/** The option's value. When selected, the containing form control will receive this value. The value must be unique
|
|
1426
1515
|
from other options in the same group. Values may not contain spaces, as spaces are used as delimiters when listing
|
|
@@ -1438,6 +1527,27 @@ multiple values. */
|
|
|
1438
1527
|
hasHover?: SlOption["hasHover"];
|
|
1439
1528
|
};
|
|
1440
1529
|
|
|
1530
|
+
type SlPaginationProps = {
|
|
1531
|
+
/** */
|
|
1532
|
+
currentPage?: SlPagination["currentPage"];
|
|
1533
|
+
/** */
|
|
1534
|
+
pageSize?: SlPagination["pageSize"];
|
|
1535
|
+
/** */
|
|
1536
|
+
pageSizeOpts?: SlPagination["pageSizeOpts"];
|
|
1537
|
+
/** */
|
|
1538
|
+
total?: SlPagination["total"];
|
|
1539
|
+
/** */
|
|
1540
|
+
disabled?: SlPagination["disabled"];
|
|
1541
|
+
/** */
|
|
1542
|
+
className?: SlPagination["className"];
|
|
1543
|
+
/** */
|
|
1544
|
+
simpleMode?: SlPagination["simpleMode"];
|
|
1545
|
+
/** */
|
|
1546
|
+
direction?: SlPagination["direction"];
|
|
1547
|
+
/** */
|
|
1548
|
+
defaultCurrentPage?: SlPagination["defaultCurrentPage"];
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1441
1551
|
type SlPopupProps = {
|
|
1442
1552
|
/** The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide the anchor
|
|
1443
1553
|
element `id`, a DOM element reference, or a `VirtualElement`. If the anchor lives inside the popup, use the
|
|
@@ -1513,103 +1623,15 @@ active. */
|
|
|
1513
1623
|
"onsl-reposition"?: (e: CustomEvent<never>) => void;
|
|
1514
1624
|
};
|
|
1515
1625
|
|
|
1516
|
-
type
|
|
1517
|
-
/**
|
|
1518
|
-
|
|
1519
|
-
/**
|
|
1520
|
-
|
|
1521
|
-
/** Custom close icon name. Set to null or false to hide the close button. */
|
|
1522
|
-
"close-icon"?: SlNotification["closeIcon"];
|
|
1523
|
-
/** The notification's type variant. */
|
|
1524
|
-
type?: SlNotification["type"];
|
|
1525
|
-
/** The length of time, in milliseconds, the notification will show before closing itself. Set to false or 0 to disable. */
|
|
1526
|
-
duration?: SlNotification["duration"];
|
|
1527
|
-
/** The placement of the notification. */
|
|
1528
|
-
placement?: SlNotification["placement"];
|
|
1529
|
-
/** Whether to show the progress bar. */
|
|
1530
|
-
"show-progress"?: SlNotification["showProgress"];
|
|
1531
|
-
/** Whether to pause the auto-hide timer when hovering. */
|
|
1532
|
-
"pause-on-hover"?: SlNotification["pauseOnHover"];
|
|
1533
|
-
/** A unique key for the notification. */
|
|
1534
|
-
key?: SlNotification["key"];
|
|
1626
|
+
type SlProgressRingProps = {
|
|
1627
|
+
/** The current progress as a percentage, 0 to 100. */
|
|
1628
|
+
value?: SlProgressRing["value"];
|
|
1629
|
+
/** A custom label for assistive devices. */
|
|
1630
|
+
label?: SlProgressRing["label"];
|
|
1535
1631
|
/** */
|
|
1536
|
-
|
|
1632
|
+
indicator?: SlProgressRing["indicator"];
|
|
1537
1633
|
/** */
|
|
1538
|
-
|
|
1539
|
-
/** Emitted when the notification opens. */
|
|
1540
|
-
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
1541
|
-
/** Emitted after the notification opens and all animations are complete. */
|
|
1542
|
-
"onsl-after-show"?: (e: CustomEvent<never>) => void;
|
|
1543
|
-
/** Emitted when the notification closes. */
|
|
1544
|
-
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
1545
|
-
/** Emitted after the notification closes and all animations are complete. */
|
|
1546
|
-
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
1547
|
-
};
|
|
1548
|
-
|
|
1549
|
-
type SlNavProps = {
|
|
1550
|
-
/** Matches Antd's `mode` API. */
|
|
1551
|
-
mode?: SlNav["mode"];
|
|
1552
|
-
/** Matches Antd's `multiple` API. */
|
|
1553
|
-
multiple?: SlNav["multiple"];
|
|
1554
|
-
/** Matches Antd's `selectable` API. */
|
|
1555
|
-
selectable?: SlNav["selectable"];
|
|
1556
|
-
/** Matches Antd's `inlineCollapsed` API. */
|
|
1557
|
-
"inline-collapsed"?: SlNav["inlineCollapsed"];
|
|
1558
|
-
/** Matches Antd's `inlineIndent` API. */
|
|
1559
|
-
"inline-indent"?: SlNav["inlineIndent"];
|
|
1560
|
-
/** Matches Antd's `subMenuOpenDelay` API, in seconds. */
|
|
1561
|
-
"sub-menu-open-delay"?: SlNav["subMenuOpenDelay"];
|
|
1562
|
-
/** Matches Antd's `subMenuCloseDelay` API, in seconds. */
|
|
1563
|
-
"sub-menu-close-delay"?: SlNav["subMenuCloseDelay"];
|
|
1564
|
-
/** Matches Antd's `triggerSubMenuAction` API. */
|
|
1565
|
-
"trigger-sub-menu-action"?: SlNav["triggerSubMenuAction"];
|
|
1566
|
-
/** Matches Antd's `theme` API. Present for compatibility and future styling. */
|
|
1567
|
-
theme?: SlNav["theme"];
|
|
1568
|
-
/** Matches Antd's `forceSubMenuRender` API. */
|
|
1569
|
-
"force-sub-menu-render"?: SlNav["forceSubMenuRender"];
|
|
1570
|
-
/** Matches Antd's `disabledOverflow` API. Present for compatibility. */
|
|
1571
|
-
"disabled-overflow"?: SlNav["disabledOverflow"];
|
|
1572
|
-
/** */
|
|
1573
|
-
defaultSlot?: SlNav["defaultSlot"];
|
|
1574
|
-
/** Matches Antd's `items` API. */
|
|
1575
|
-
items?: SlNav["items"];
|
|
1576
|
-
/** Matches Antd's `selectedKeys` API. */
|
|
1577
|
-
selectedKeys?: SlNav["selectedKeys"];
|
|
1578
|
-
/** Matches Antd's `defaultSelectedKeys` API. */
|
|
1579
|
-
defaultSelectedKeys?: SlNav["defaultSelectedKeys"];
|
|
1580
|
-
/** Matches Antd's `openKeys` API. */
|
|
1581
|
-
openKeys?: SlNav["openKeys"];
|
|
1582
|
-
/** Matches Antd's `defaultOpenKeys` API. */
|
|
1583
|
-
defaultOpenKeys?: SlNav["defaultOpenKeys"];
|
|
1584
|
-
/** Matches Antd's `expandIcon` API. */
|
|
1585
|
-
expandIcon?: SlNav["expandIcon"];
|
|
1586
|
-
/** Matches Antd's `overflowedIndicator` API. Present for compatibility. */
|
|
1587
|
-
overflowedIndicator?: SlNav["overflowedIndicator"];
|
|
1588
|
-
/** Matches Antd's `onClick` callback API. */
|
|
1589
|
-
onClick?: SlNav["onClick"];
|
|
1590
|
-
/** Matches Antd's `onSelect` callback API. */
|
|
1591
|
-
onSelect?: SlNav["onSelect"];
|
|
1592
|
-
/** Matches Antd's `onDeselect` callback API. */
|
|
1593
|
-
onDeselect?: SlNav["onDeselect"];
|
|
1594
|
-
/** Matches Antd's `onOpenChange` callback API. */
|
|
1595
|
-
onOpenChange?: SlNav["onOpenChange"];
|
|
1596
|
-
/** Emitted when the selected nav item changes. */
|
|
1597
|
-
"onsl-change"?: (e: CustomEvent<{ item: SlNavItem | undefined; selectedKeys: string[] }>) => void;
|
|
1598
|
-
/** Emitted when the open submenu keys change. */
|
|
1599
|
-
"onsl-nav-open-change"?: (e: CustomEvent<{ openKeys: string[] }>) => void;
|
|
1600
|
-
/** Emitted when a nav item is selected. */
|
|
1601
|
-
"onsl-nav-select"?: (e: CustomEvent<{ item: SlNavItem; domEvent: MouseEvent | KeyboardEvent }>) => void;
|
|
1602
|
-
};
|
|
1603
|
-
|
|
1604
|
-
type SlProgressRingProps = {
|
|
1605
|
-
/** The current progress as a percentage, 0 to 100. */
|
|
1606
|
-
value?: SlProgressRing["value"];
|
|
1607
|
-
/** A custom label for assistive devices. */
|
|
1608
|
-
label?: SlProgressRing["label"];
|
|
1609
|
-
/** */
|
|
1610
|
-
indicator?: SlProgressRing["indicator"];
|
|
1611
|
-
/** */
|
|
1612
|
-
indicatorOffset?: SlProgressRing["indicatorOffset"];
|
|
1634
|
+
indicatorOffset?: SlProgressRing["indicatorOffset"];
|
|
1613
1635
|
};
|
|
1614
1636
|
|
|
1615
1637
|
type SlProgressBarProps = {
|
|
@@ -1621,27 +1643,6 @@ type SlProgressBarProps = {
|
|
|
1621
1643
|
label?: SlProgressBar["label"];
|
|
1622
1644
|
};
|
|
1623
1645
|
|
|
1624
|
-
type SlPaginationProps = {
|
|
1625
|
-
/** */
|
|
1626
|
-
currentPage?: SlPagination["currentPage"];
|
|
1627
|
-
/** */
|
|
1628
|
-
pageSize?: SlPagination["pageSize"];
|
|
1629
|
-
/** */
|
|
1630
|
-
pageSizeOpts?: SlPagination["pageSizeOpts"];
|
|
1631
|
-
/** */
|
|
1632
|
-
total?: SlPagination["total"];
|
|
1633
|
-
/** */
|
|
1634
|
-
disabled?: SlPagination["disabled"];
|
|
1635
|
-
/** */
|
|
1636
|
-
className?: SlPagination["className"];
|
|
1637
|
-
/** */
|
|
1638
|
-
simpleMode?: SlPagination["simpleMode"];
|
|
1639
|
-
/** */
|
|
1640
|
-
direction?: SlPagination["direction"];
|
|
1641
|
-
/** */
|
|
1642
|
-
defaultCurrentPage?: SlPagination["defaultCurrentPage"];
|
|
1643
|
-
};
|
|
1644
|
-
|
|
1645
1646
|
type SlQrCodeProps = {
|
|
1646
1647
|
/** The QR code's value. */
|
|
1647
1648
|
value?: SlQrCode["value"];
|
|
@@ -1715,66 +1716,6 @@ the same document or shadow root for this to work. */
|
|
|
1715
1716
|
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
1716
1717
|
};
|
|
1717
1718
|
|
|
1718
|
-
type SlRadioButtonProps = {
|
|
1719
|
-
/** The radio's value. When selected, the radio group will receive this value. */
|
|
1720
|
-
value?: SlRadioButton["value"];
|
|
1721
|
-
/** Disables the radio button. */
|
|
1722
|
-
disabled?: SlRadioButton["disabled"];
|
|
1723
|
-
/** The radio button's size. When used inside a radio group, the size will be determined by the radio group's size so
|
|
1724
|
-
this attribute can typically be omitted. */
|
|
1725
|
-
size?: SlRadioButton["size"];
|
|
1726
|
-
/** Draws a pill-style radio button with rounded edges. */
|
|
1727
|
-
pill?: SlRadioButton["pill"];
|
|
1728
|
-
/** */
|
|
1729
|
-
input?: SlRadioButton["input"];
|
|
1730
|
-
/** */
|
|
1731
|
-
hiddenInput?: SlRadioButton["hiddenInput"];
|
|
1732
|
-
/** Emitted when the button loses focus. */
|
|
1733
|
-
"onsl-blur"?: (e: CustomEvent<never>) => void;
|
|
1734
|
-
/** Emitted when the button gains focus. */
|
|
1735
|
-
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
1736
|
-
};
|
|
1737
|
-
|
|
1738
|
-
type SlRatingProps = {
|
|
1739
|
-
/** A label that describes the rating to assistive devices. */
|
|
1740
|
-
label?: SlRating["label"];
|
|
1741
|
-
/** The current rating. */
|
|
1742
|
-
value?: SlRating["value"];
|
|
1743
|
-
/** The highest rating to show. */
|
|
1744
|
-
max?: SlRating["max"];
|
|
1745
|
-
/** The precision at which the rating will increase and decrease. For example, to allow half-star ratings, set this
|
|
1746
|
-
attribute to `0.5`. */
|
|
1747
|
-
precision?: SlRating["precision"];
|
|
1748
|
-
/** Makes the rating readonly. */
|
|
1749
|
-
readonly?: SlRating["readonly"];
|
|
1750
|
-
/** Disables the rating. */
|
|
1751
|
-
disabled?: SlRating["disabled"];
|
|
1752
|
-
/** A function that customizes the symbol to be rendered. The first and only argument is the rating's current value.
|
|
1753
|
-
The function should return a string containing trusted HTML of the symbol to render at the specified value. Works
|
|
1754
|
-
well with `<sl-icon>` elements. */
|
|
1755
|
-
getSymbol?: SlRating["getSymbol"];
|
|
1756
|
-
/** */
|
|
1757
|
-
rating?: SlRating["rating"];
|
|
1758
|
-
/** Emitted when the rating's value changes. */
|
|
1759
|
-
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
1760
|
-
/** Emitted when the user hovers over a value. The `phase` property indicates when hovering starts, moves to a new value, or ends. The `value` property tells what the rating's value would be if the user were to commit to the hovered value. */
|
|
1761
|
-
"onsl-hover"?: (e: CustomEvent<{ phase: "start" | "move" | "end"; value: number }>) => void;
|
|
1762
|
-
};
|
|
1763
|
-
|
|
1764
|
-
type SlRelativeTimeProps = {
|
|
1765
|
-
/** The date from which to calculate time from. If not set, the current date and time will be used. When passing a
|
|
1766
|
-
string, it's strongly recommended to use the ISO 8601 format to ensure timezones are handled correctly. To convert
|
|
1767
|
-
a date to this format in JavaScript, use [`date.toISOString()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString). */
|
|
1768
|
-
date?: SlRelativeTime["date"];
|
|
1769
|
-
/** The formatting style to use. */
|
|
1770
|
-
format?: SlRelativeTime["format"];
|
|
1771
|
-
/** When `auto`, values such as "yesterday" and "tomorrow" will be shown when possible. When `always`, values such as
|
|
1772
|
-
"1 day ago" and "in 1 day" will be shown. */
|
|
1773
|
-
numeric?: SlRelativeTime["numeric"];
|
|
1774
|
-
/** Keep the displayed value up to date as time passes. */
|
|
1775
|
-
sync?: SlRelativeTime["sync"];
|
|
1776
|
-
};
|
|
1777
|
-
|
|
1778
1719
|
type SlRangeProps = {
|
|
1779
1720
|
/** */
|
|
1780
1721
|
title?: SlRange["title"];
|
|
@@ -1825,6 +1766,52 @@ function should return a string to display in the tooltip. */
|
|
|
1825
1766
|
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
1826
1767
|
};
|
|
1827
1768
|
|
|
1769
|
+
type SlRatingProps = {
|
|
1770
|
+
/** A label that describes the rating to assistive devices. */
|
|
1771
|
+
label?: SlRating["label"];
|
|
1772
|
+
/** The current rating. */
|
|
1773
|
+
value?: SlRating["value"];
|
|
1774
|
+
/** The highest rating to show. */
|
|
1775
|
+
max?: SlRating["max"];
|
|
1776
|
+
/** The precision at which the rating will increase and decrease. For example, to allow half-star ratings, set this
|
|
1777
|
+
attribute to `0.5`. */
|
|
1778
|
+
precision?: SlRating["precision"];
|
|
1779
|
+
/** Makes the rating readonly. */
|
|
1780
|
+
readonly?: SlRating["readonly"];
|
|
1781
|
+
/** Disables the rating. */
|
|
1782
|
+
disabled?: SlRating["disabled"];
|
|
1783
|
+
/** A function that customizes the symbol to be rendered. The first and only argument is the rating's current value.
|
|
1784
|
+
The function should return a string containing trusted HTML of the symbol to render at the specified value. Works
|
|
1785
|
+
well with `<sl-icon>` elements. */
|
|
1786
|
+
getSymbol?: SlRating["getSymbol"];
|
|
1787
|
+
/** */
|
|
1788
|
+
rating?: SlRating["rating"];
|
|
1789
|
+
/** Emitted when the rating's value changes. */
|
|
1790
|
+
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
1791
|
+
/** Emitted when the user hovers over a value. The `phase` property indicates when hovering starts, moves to a new value, or ends. The `value` property tells what the rating's value would be if the user were to commit to the hovered value. */
|
|
1792
|
+
"onsl-hover"?: (e: CustomEvent<{ phase: "start" | "move" | "end"; value: number }>) => void;
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1795
|
+
type SlRadioButtonProps = {
|
|
1796
|
+
/** The radio's value. When selected, the radio group will receive this value. */
|
|
1797
|
+
value?: SlRadioButton["value"];
|
|
1798
|
+
/** Disables the radio button. */
|
|
1799
|
+
disabled?: SlRadioButton["disabled"];
|
|
1800
|
+
/** The radio button's size. When used inside a radio group, the size will be determined by the radio group's size so
|
|
1801
|
+
this attribute can typically be omitted. */
|
|
1802
|
+
size?: SlRadioButton["size"];
|
|
1803
|
+
/** Draws a pill-style radio button with rounded edges. */
|
|
1804
|
+
pill?: SlRadioButton["pill"];
|
|
1805
|
+
/** */
|
|
1806
|
+
input?: SlRadioButton["input"];
|
|
1807
|
+
/** */
|
|
1808
|
+
hiddenInput?: SlRadioButton["hiddenInput"];
|
|
1809
|
+
/** Emitted when the button loses focus. */
|
|
1810
|
+
"onsl-blur"?: (e: CustomEvent<never>) => void;
|
|
1811
|
+
/** Emitted when the button gains focus. */
|
|
1812
|
+
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
1813
|
+
};
|
|
1814
|
+
|
|
1828
1815
|
type SlResizeObserverProps = {
|
|
1829
1816
|
/** Disables the observer. */
|
|
1830
1817
|
disabled?: SlResizeObserver["disabled"];
|
|
@@ -1833,6 +1820,69 @@ type SlResizeObserverProps = {
|
|
|
1833
1820
|
"onsl-resize"?: (e: CustomEvent<{ entries: ResizeObserverEntry[] }>) => void;
|
|
1834
1821
|
};
|
|
1835
1822
|
|
|
1823
|
+
type SlRelativeTimeProps = {
|
|
1824
|
+
/** The date from which to calculate time from. If not set, the current date and time will be used. When passing a
|
|
1825
|
+
string, it's strongly recommended to use the ISO 8601 format to ensure timezones are handled correctly. To convert
|
|
1826
|
+
a date to this format in JavaScript, use [`date.toISOString()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString). */
|
|
1827
|
+
date?: SlRelativeTime["date"];
|
|
1828
|
+
/** The formatting style to use. */
|
|
1829
|
+
format?: SlRelativeTime["format"];
|
|
1830
|
+
/** When `auto`, values such as "yesterday" and "tomorrow" will be shown when possible. When `always`, values such as
|
|
1831
|
+
"1 day ago" and "in 1 day" will be shown. */
|
|
1832
|
+
numeric?: SlRelativeTime["numeric"];
|
|
1833
|
+
/** Keep the displayed value up to date as time passes. */
|
|
1834
|
+
sync?: SlRelativeTime["sync"];
|
|
1835
|
+
};
|
|
1836
|
+
|
|
1837
|
+
type SlRowProps = {
|
|
1838
|
+
/** Spacing between columns, can be a number or responsive object */
|
|
1839
|
+
gutter?: SlRow["gutter"];
|
|
1840
|
+
/** Vertical alignment of columns */
|
|
1841
|
+
align?: SlRow["align"];
|
|
1842
|
+
/** Horizontal arrangement of columns */
|
|
1843
|
+
justify?: SlRow["justify"];
|
|
1844
|
+
/** Whether to wrap columns */
|
|
1845
|
+
wrap?: SlRow["wrap"];
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1848
|
+
type SlScreenProps = {
|
|
1849
|
+
/** The options for the GridStack instance. */
|
|
1850
|
+
options?: SlScreen["options"];
|
|
1851
|
+
/** The initial configuration for the grid. */
|
|
1852
|
+
data?: SlScreen["data"];
|
|
1853
|
+
/** Whether the items in the grid can be removed. */
|
|
1854
|
+
removable?: SlScreen["removable"];
|
|
1855
|
+
/** Disables dragging and resizing of widgets. */
|
|
1856
|
+
static?: SlScreen["static"];
|
|
1857
|
+
/** The selector for items that can be dragged into the grid from outside. */
|
|
1858
|
+
selector?: SlScreen["selector"];
|
|
1859
|
+
/** */
|
|
1860
|
+
gridElement?: SlScreen["gridElement"];
|
|
1861
|
+
};
|
|
1862
|
+
|
|
1863
|
+
type SlSegmentedProps = {
|
|
1864
|
+
/** */
|
|
1865
|
+
options?: SlSegmented["options"];
|
|
1866
|
+
/** */
|
|
1867
|
+
value?: SlSegmented["value"];
|
|
1868
|
+
/** 非受控模式下的默认选中值 */
|
|
1869
|
+
defaultValue?: SlSegmented["defaultValue"];
|
|
1870
|
+
/** */
|
|
1871
|
+
disabled?: SlSegmented["disabled"];
|
|
1872
|
+
/** */
|
|
1873
|
+
orientation?: SlSegmented["orientation"];
|
|
1874
|
+
/** */
|
|
1875
|
+
shape?: SlSegmented["shape"];
|
|
1876
|
+
/** */
|
|
1877
|
+
size?: SlSegmented["size"];
|
|
1878
|
+
/** */
|
|
1879
|
+
block?: SlSegmented["block"];
|
|
1880
|
+
/** 分组名称,用于原生 radio 归组和键盘导航 */
|
|
1881
|
+
name?: SlSegmented["name"];
|
|
1882
|
+
/** */
|
|
1883
|
+
onChange?: SlSegmented["onChange"];
|
|
1884
|
+
};
|
|
1885
|
+
|
|
1836
1886
|
type SlSelectProps = {
|
|
1837
1887
|
/** The name of the select, submitted as a name/value pair with form data. */
|
|
1838
1888
|
name?: SlSelect["name"];
|
|
@@ -1924,87 +1974,6 @@ be an array. **For this reason, values must not contain spaces.** */
|
|
|
1924
1974
|
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
1925
1975
|
};
|
|
1926
1976
|
|
|
1927
|
-
type SlRowProps = {
|
|
1928
|
-
/** Spacing between columns, can be a number or responsive object */
|
|
1929
|
-
gutter?: SlRow["gutter"];
|
|
1930
|
-
/** Vertical alignment of columns */
|
|
1931
|
-
align?: SlRow["align"];
|
|
1932
|
-
/** Horizontal arrangement of columns */
|
|
1933
|
-
justify?: SlRow["justify"];
|
|
1934
|
-
/** Whether to wrap columns */
|
|
1935
|
-
wrap?: SlRow["wrap"];
|
|
1936
|
-
};
|
|
1937
|
-
|
|
1938
|
-
type SlScreenProps = {
|
|
1939
|
-
/** The options for the GridStack instance. */
|
|
1940
|
-
options?: SlScreen["options"];
|
|
1941
|
-
/** The initial configuration for the grid. */
|
|
1942
|
-
data?: SlScreen["data"];
|
|
1943
|
-
/** Whether the items in the grid can be removed. */
|
|
1944
|
-
removable?: SlScreen["removable"];
|
|
1945
|
-
/** Disables dragging and resizing of widgets. */
|
|
1946
|
-
static?: SlScreen["static"];
|
|
1947
|
-
/** The selector for items that can be dragged into the grid from outside. */
|
|
1948
|
-
selector?: SlScreen["selector"];
|
|
1949
|
-
/** */
|
|
1950
|
-
gridElement?: SlScreen["gridElement"];
|
|
1951
|
-
};
|
|
1952
|
-
|
|
1953
|
-
type SlSegmentedProps = {
|
|
1954
|
-
/** */
|
|
1955
|
-
options?: SlSegmented["options"];
|
|
1956
|
-
/** */
|
|
1957
|
-
value?: SlSegmented["value"];
|
|
1958
|
-
/** 非受控模式下的默认选中值 */
|
|
1959
|
-
defaultValue?: SlSegmented["defaultValue"];
|
|
1960
|
-
/** */
|
|
1961
|
-
disabled?: SlSegmented["disabled"];
|
|
1962
|
-
/** */
|
|
1963
|
-
orientation?: SlSegmented["orientation"];
|
|
1964
|
-
/** */
|
|
1965
|
-
shape?: SlSegmented["shape"];
|
|
1966
|
-
/** */
|
|
1967
|
-
size?: SlSegmented["size"];
|
|
1968
|
-
/** */
|
|
1969
|
-
block?: SlSegmented["block"];
|
|
1970
|
-
/** 分组名称,用于原生 radio 归组和键盘导航 */
|
|
1971
|
-
name?: SlSegmented["name"];
|
|
1972
|
-
/** */
|
|
1973
|
-
onChange?: SlSegmented["onChange"];
|
|
1974
|
-
};
|
|
1975
|
-
|
|
1976
|
-
type SlSkeletonProps = {
|
|
1977
|
-
/** Determines which effect the skeleton will use. */
|
|
1978
|
-
effect?: SlSkeleton["effect"];
|
|
1979
|
-
};
|
|
1980
|
-
|
|
1981
|
-
type SlSpaceProps = {
|
|
1982
|
-
/** 间距方向,vertical 为垂直方向,horizontal 为水平方向 */
|
|
1983
|
-
orientation?: SlSpace["orientation"];
|
|
1984
|
-
/** 间距大小,可选 small、medium、large 或自定义数值(单位为 px) */
|
|
1985
|
-
size?: SlSpace["size"];
|
|
1986
|
-
/** 对齐方式 */
|
|
1987
|
-
align?: SlSpace["align"];
|
|
1988
|
-
/** 是否自动换行,仅在 horizontal 方向时有效 */
|
|
1989
|
-
wrap?: SlSpace["wrap"];
|
|
1990
|
-
/** 分隔符内容 */
|
|
1991
|
-
separator?: SlSpace["separator"];
|
|
1992
|
-
};
|
|
1993
|
-
|
|
1994
|
-
type SlSenderSwitchProps = {
|
|
1995
|
-
/** Whether the switch is in the checked (active) state. */
|
|
1996
|
-
checked?: SlSenderSwitch["checked"];
|
|
1997
|
-
/** The initial checked state when uncontrolled. Only used on first render. */
|
|
1998
|
-
"default-checked"?: SlSenderSwitch["defaultChecked"];
|
|
1999
|
-
/** Disables the switch. */
|
|
2000
|
-
disabled?: SlSenderSwitch["disabled"];
|
|
2001
|
-
/** Shows a loading spinner on the switch. */
|
|
2002
|
-
loading?: SlSenderSwitch["loading"];
|
|
2003
|
-
|
|
2004
|
-
/** Emitted when the switch's checked state changes. Read `el.checked` for the new state. */
|
|
2005
|
-
"onsl-change"?: (e: CustomEvent<CustomEvent>) => void;
|
|
2006
|
-
};
|
|
2007
|
-
|
|
2008
1977
|
type SlSenderProps = {
|
|
2009
1978
|
/** The current value of the sender, submitted as part of the event detail on submit. */
|
|
2010
1979
|
value?: SlSender["value"];
|
|
@@ -2074,6 +2043,65 @@ When false (default), content is removed from the DOM when closed. */
|
|
|
2074
2043
|
"onsl-open-change"?: (e: CustomEvent<never>) => void;
|
|
2075
2044
|
};
|
|
2076
2045
|
|
|
2046
|
+
type SlSenderSwitchProps = {
|
|
2047
|
+
/** Whether the switch is in the checked (active) state. */
|
|
2048
|
+
checked?: SlSenderSwitch["checked"];
|
|
2049
|
+
/** The initial checked state when uncontrolled. Only used on first render. */
|
|
2050
|
+
"default-checked"?: SlSenderSwitch["defaultChecked"];
|
|
2051
|
+
/** Disables the switch. */
|
|
2052
|
+
disabled?: SlSenderSwitch["disabled"];
|
|
2053
|
+
/** Shows a loading spinner on the switch. */
|
|
2054
|
+
loading?: SlSenderSwitch["loading"];
|
|
2055
|
+
|
|
2056
|
+
/** Emitted when the switch's checked state changes. Read `el.checked` for the new state. */
|
|
2057
|
+
"onsl-change"?: (e: CustomEvent<CustomEvent>) => void;
|
|
2058
|
+
};
|
|
2059
|
+
|
|
2060
|
+
type SlSkeletonProps = {
|
|
2061
|
+
/** Determines which effect the skeleton will use. */
|
|
2062
|
+
effect?: SlSkeleton["effect"];
|
|
2063
|
+
};
|
|
2064
|
+
|
|
2065
|
+
type SlSpaceProps = {
|
|
2066
|
+
/** 间距方向,vertical 为垂直方向,horizontal 为水平方向 */
|
|
2067
|
+
orientation?: SlSpace["orientation"];
|
|
2068
|
+
/** 间距大小,可选 small、medium、large 或自定义数值(单位为 px) */
|
|
2069
|
+
size?: SlSpace["size"];
|
|
2070
|
+
/** 对齐方式 */
|
|
2071
|
+
align?: SlSpace["align"];
|
|
2072
|
+
/** 是否自动换行,仅在 horizontal 方向时有效 */
|
|
2073
|
+
wrap?: SlSpace["wrap"];
|
|
2074
|
+
/** 分隔符内容 */
|
|
2075
|
+
separator?: SlSpace["separator"];
|
|
2076
|
+
};
|
|
2077
|
+
|
|
2078
|
+
type SlSpinnerProps = {};
|
|
2079
|
+
|
|
2080
|
+
type SlSplitPanelProps = {
|
|
2081
|
+
/** The current position of the divider from the primary panel's edge as a percentage 0-100. Defaults to 50% of the
|
|
2082
|
+
container's initial size. */
|
|
2083
|
+
position?: SlSplitPanel["position"];
|
|
2084
|
+
/** The current position of the divider from the primary panel's edge in pixels. */
|
|
2085
|
+
"position-in-pixels"?: SlSplitPanel["positionInPixels"];
|
|
2086
|
+
/** Draws the split panel in a vertical orientation with the start and end panels stacked. */
|
|
2087
|
+
vertical?: SlSplitPanel["vertical"];
|
|
2088
|
+
/** Disables resizing. Note that the position may still change as a result of resizing the host element. */
|
|
2089
|
+
disabled?: SlSplitPanel["disabled"];
|
|
2090
|
+
/** If no primary panel is designated, both panels will resize proportionally when the host element is resized. If a
|
|
2091
|
+
primary panel is designated, it will maintain its size and the other panel will grow or shrink as needed when the
|
|
2092
|
+
host element is resized. */
|
|
2093
|
+
primary?: SlSplitPanel["primary"];
|
|
2094
|
+
/** Either one or more space-separated values at which the divider should snap, in pixels, percentages, or repeat expressions e.g. `'100px 50% 500px' or `repeat(50%) 10px`,
|
|
2095
|
+
or a function which takes in a `SnapFunctionParams`, and returns a position to snap to, e.g. `({ pos }) => Math.round(pos / 8) * 8`. */
|
|
2096
|
+
snap?: SlSplitPanel["snap"];
|
|
2097
|
+
/** How close the divider must be to a snap point until snapping occurs. */
|
|
2098
|
+
"snap-threshold"?: SlSplitPanel["snapThreshold"];
|
|
2099
|
+
/** */
|
|
2100
|
+
divider?: SlSplitPanel["divider"];
|
|
2101
|
+
/** Emitted when the divider's position changes. */
|
|
2102
|
+
"onsl-reposition"?: (e: CustomEvent<never>) => void;
|
|
2103
|
+
};
|
|
2104
|
+
|
|
2077
2105
|
type SlStepsProps = {
|
|
2078
2106
|
/** 步骤条数据 */
|
|
2079
2107
|
items?: SlSteps["items"];
|
|
@@ -2142,38 +2170,19 @@ the same document or shadow root for this to work. */
|
|
|
2142
2170
|
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
2143
2171
|
};
|
|
2144
2172
|
|
|
2145
|
-
type
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
/**
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
vertical?: SlSplitPanel["vertical"];
|
|
2155
|
-
/** Disables resizing. Note that the position may still change as a result of resizing the host element. */
|
|
2156
|
-
disabled?: SlSplitPanel["disabled"];
|
|
2157
|
-
/** If no primary panel is designated, both panels will resize proportionally when the host element is resized. If a
|
|
2158
|
-
primary panel is designated, it will maintain its size and the other panel will grow or shrink as needed when the
|
|
2159
|
-
host element is resized. */
|
|
2160
|
-
primary?: SlSplitPanel["primary"];
|
|
2161
|
-
/** Either one or more space-separated values at which the divider should snap, in pixels, percentages, or repeat expressions e.g. `'100px 50% 500px' or `repeat(50%) 10px`,
|
|
2162
|
-
or a function which takes in a `SnapFunctionParams`, and returns a position to snap to, e.g. `({ pos }) => Math.round(pos / 8) * 8`. */
|
|
2163
|
-
snap?: SlSplitPanel["snap"];
|
|
2164
|
-
/** How close the divider must be to a snap point until snapping occurs. */
|
|
2165
|
-
"snap-threshold"?: SlSplitPanel["snapThreshold"];
|
|
2173
|
+
type SlTabProps = {
|
|
2174
|
+
/** The name of the tab panel this tab is associated with. The panel must be located in the same tab group. */
|
|
2175
|
+
panel?: SlTab["panel"];
|
|
2176
|
+
/** Draws the tab in an active state. */
|
|
2177
|
+
active?: SlTab["active"];
|
|
2178
|
+
/** Makes the tab closable and shows a close button. */
|
|
2179
|
+
closable?: SlTab["closable"];
|
|
2180
|
+
/** Disables the tab and prevents selection. */
|
|
2181
|
+
disabled?: SlTab["disabled"];
|
|
2166
2182
|
/** */
|
|
2167
|
-
|
|
2168
|
-
/** Emitted when the
|
|
2169
|
-
"onsl-
|
|
2170
|
-
};
|
|
2171
|
-
|
|
2172
|
-
type SlTabPanelProps = {
|
|
2173
|
-
/** The tab panel's name. */
|
|
2174
|
-
name?: SlTabPanel["name"];
|
|
2175
|
-
/** When true, the tab panel will be shown. */
|
|
2176
|
-
active?: SlTabPanel["active"];
|
|
2183
|
+
tab?: SlTab["tab"];
|
|
2184
|
+
/** Emitted when the tab is closable and the close button is activated. */
|
|
2185
|
+
"onsl-close"?: (e: CustomEvent<never>) => void;
|
|
2177
2186
|
};
|
|
2178
2187
|
|
|
2179
2188
|
type SlTabGroupProps = {
|
|
@@ -2200,57 +2209,94 @@ manual, the tab will receive focus but will not show until the user presses spac
|
|
|
2200
2209
|
"onsl-tab-hide"?: (e: CustomEvent<{ name: String }>) => void;
|
|
2201
2210
|
};
|
|
2202
2211
|
|
|
2203
|
-
type
|
|
2204
|
-
/** The
|
|
2205
|
-
|
|
2206
|
-
/**
|
|
2207
|
-
active?:
|
|
2208
|
-
/** Makes the tab closable and shows a close button. */
|
|
2209
|
-
closable?: SlTab["closable"];
|
|
2210
|
-
/** Disables the tab and prevents selection. */
|
|
2211
|
-
disabled?: SlTab["disabled"];
|
|
2212
|
-
/** */
|
|
2213
|
-
tab?: SlTab["tab"];
|
|
2214
|
-
/** Emitted when the tab is closable and the close button is activated. */
|
|
2215
|
-
"onsl-close"?: (e: CustomEvent<never>) => void;
|
|
2212
|
+
type SlTabPanelProps = {
|
|
2213
|
+
/** The tab panel's name. */
|
|
2214
|
+
name?: SlTabPanel["name"];
|
|
2215
|
+
/** When true, the tab panel will be shown. */
|
|
2216
|
+
active?: SlTabPanel["active"];
|
|
2216
2217
|
};
|
|
2217
2218
|
|
|
2218
|
-
type
|
|
2219
|
-
/** The title text shown in the status bar. Accepts plain text.
|
|
2220
|
-
For rich HTML content, use the `title` slot instead.
|
|
2221
|
-
Maps to React's `title: React.ReactNode` prop. */
|
|
2222
|
-
title?: SlThink["title"];
|
|
2223
|
-
/** When true, the status icon is replaced by a loading spinner
|
|
2224
|
-
(or the content of the `loading-icon` slot for a custom indicator).
|
|
2225
|
-
Maps to React's `loading: boolean | React.ReactNode` prop:
|
|
2226
|
-
- `loading` (boolean) → boolean attribute
|
|
2227
|
-
- `loading` (ReactNode) → use the `loading-icon` slot */
|
|
2228
|
-
loading?: SlThink["loading"];
|
|
2229
|
-
/** Whether the content body is expanded.
|
|
2230
|
-
When used without `default-expanded`, this acts as a controlled prop
|
|
2231
|
-
(the parent is responsible for updating it).
|
|
2232
|
-
When neither this nor `default-expanded` is set on the element,
|
|
2233
|
-
the component defaults to expanded (equivalent to React's `defaultExpanded = true`).
|
|
2234
|
-
Maps to React's `expanded: boolean` prop. */
|
|
2235
|
-
expanded?: SlThink["expanded"];
|
|
2236
|
-
/** The initial expanded state when the component is first rendered.
|
|
2237
|
-
Only applies if `expanded` is not set as an attribute on the element.
|
|
2238
|
-
Maps to React's `defaultExpanded: boolean` prop (default: `true`).
|
|
2239
|
-
|
|
2240
|
-
Because Lit's `type: Boolean` treats attribute *presence* as `true`,
|
|
2241
|
-
setting `default-expanded="false"` in HTML does NOT work — this is
|
|
2242
|
-
consistent with all other Shoelace boolean attributes.
|
|
2243
|
-
To start collapsed, set the property via JS: `el.defaultExpanded = false`. */
|
|
2244
|
-
"default-expanded"?: SlThink["defaultExpanded"];
|
|
2245
|
-
/** When true, applies a blinking animation to the title text to signal ongoing activity.
|
|
2246
|
-
Maps to React's `blink: boolean` prop. */
|
|
2247
|
-
blink?: SlThink["blink"];
|
|
2219
|
+
type SlTableProps = {
|
|
2248
2220
|
/** */
|
|
2249
|
-
|
|
2250
|
-
/**
|
|
2251
|
-
"
|
|
2252
|
-
/**
|
|
2253
|
-
"
|
|
2221
|
+
rowKey?: SlTable["rowKey"];
|
|
2222
|
+
/** */
|
|
2223
|
+
columns?: SlTable["columns"];
|
|
2224
|
+
/** */
|
|
2225
|
+
dataSource?: SlTable["dataSource"];
|
|
2226
|
+
/** */
|
|
2227
|
+
loading?: SlTable["loading"];
|
|
2228
|
+
/** */
|
|
2229
|
+
bordered?: SlTable["bordered"];
|
|
2230
|
+
/** */
|
|
2231
|
+
direction?: SlTable["direction"];
|
|
2232
|
+
/** */
|
|
2233
|
+
showHeader?: SlTable["showHeader"];
|
|
2234
|
+
/** */
|
|
2235
|
+
rowSelection?: SlTable["rowSelection"];
|
|
2236
|
+
/** */
|
|
2237
|
+
tableScroll?: SlTable["tableScroll"];
|
|
2238
|
+
/** */
|
|
2239
|
+
pagination?: SlTable["pagination"];
|
|
2240
|
+
/** */
|
|
2241
|
+
expandProps?: SlTable["expandProps"];
|
|
2242
|
+
/** */
|
|
2243
|
+
tree?: SlTable["tree"];
|
|
2244
|
+
/** */
|
|
2245
|
+
enableColumnResizing?: SlTable["enableColumnResizing"];
|
|
2246
|
+
/** */
|
|
2247
|
+
slHeaderRow?: SlTable["slHeaderRow"];
|
|
2248
|
+
/** */
|
|
2249
|
+
slRow?: SlTable["slRow"];
|
|
2250
|
+
/** */
|
|
2251
|
+
slColumnResize?: SlTable["slColumnResize"];
|
|
2252
|
+
/** */
|
|
2253
|
+
virtualized?: SlTable["virtualized"];
|
|
2254
|
+
/** 是否允许拖动调整行顺序 */
|
|
2255
|
+
rowDrag?: SlTable["rowDrag"];
|
|
2256
|
+
/** 行拖拽排序后的回调 */
|
|
2257
|
+
slRowReorder?: SlTable["slRowReorder"];
|
|
2258
|
+
/** */
|
|
2259
|
+
summary?: SlTable["summary"];
|
|
2260
|
+
/** 表格尺寸 */
|
|
2261
|
+
size?: SlTable["size"];
|
|
2262
|
+
/** */
|
|
2263
|
+
rowSelectedMap?: SlTable["rowSelectedMap"];
|
|
2264
|
+
/** */
|
|
2265
|
+
expandedMap?: SlTable["expandedMap"];
|
|
2266
|
+
/** */
|
|
2267
|
+
sorting?: SlTable["sorting"];
|
|
2268
|
+
/** */
|
|
2269
|
+
columnFilters?: SlTable["columnFilters"];
|
|
2270
|
+
/** */
|
|
2271
|
+
tableWidth?: SlTable["tableWidth"];
|
|
2272
|
+
/** */
|
|
2273
|
+
columnSizing?: SlTable["columnSizing"];
|
|
2274
|
+
/** */
|
|
2275
|
+
pageIndex?: SlTable["pageIndex"];
|
|
2276
|
+
/** */
|
|
2277
|
+
columnPinning?: SlTable["columnPinning"];
|
|
2278
|
+
/** */
|
|
2279
|
+
adapter?: SlTable["adapter"];
|
|
2280
|
+
/** */
|
|
2281
|
+
setColumnWidth?: SlTable["setColumnWidth"];
|
|
2282
|
+
/** */
|
|
2283
|
+
handleBodyScroll?: SlTable["handleBodyScroll"];
|
|
2284
|
+
/** */
|
|
2285
|
+
handleBodyScrollLeft?: SlTable["handleBodyScrollLeft"];
|
|
2286
|
+
/** */
|
|
2287
|
+
handleWindowResize?: SlTable["handleWindowResize"];
|
|
2288
|
+
/** */
|
|
2289
|
+
syncTableWidth?: SlTable["syncTableWidth"];
|
|
2290
|
+
/** */
|
|
2291
|
+
setScrollBarStyle?: SlTable["setScrollBarStyle"];
|
|
2292
|
+
/** */
|
|
2293
|
+
setScrollPositionClassName?: SlTable["setScrollPositionClassName"];
|
|
2294
|
+
/** */
|
|
2295
|
+
handleFilterDropdownChange?: SlTable["handleFilterDropdownChange"];
|
|
2296
|
+
/** */
|
|
2297
|
+
handlePaginationChange?: SlTable["handlePaginationChange"];
|
|
2298
|
+
/** */
|
|
2299
|
+
onchange?: (e: CustomEvent<CustomEvent>) => void;
|
|
2254
2300
|
};
|
|
2255
2301
|
|
|
2256
2302
|
type SlTagProps = {
|
|
@@ -2340,47 +2386,42 @@ keyboard on supportive devices. */
|
|
|
2340
2386
|
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
2341
2387
|
};
|
|
2342
2388
|
|
|
2343
|
-
type
|
|
2344
|
-
/**
|
|
2345
|
-
|
|
2346
|
-
Maps to React's `
|
|
2347
|
-
|
|
2348
|
-
/**
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
/** Whether
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
};
|
|
2365
|
-
|
|
2366
|
-
type SlThoughtChainItemProps = {
|
|
2367
|
-
/** The title text. Use the `title` slot for rich HTML content. */
|
|
2368
|
-
title?: SlThoughtChainItem["title"];
|
|
2369
|
-
/** The description text. Use the `description` slot for rich HTML content. */
|
|
2370
|
-
description?: SlThoughtChainItem["description"];
|
|
2371
|
-
/** The status of this item. Determines the status icon shown. */
|
|
2372
|
-
status?: SlThoughtChainItem["status"];
|
|
2373
|
-
/** The visual variant of the item. */
|
|
2374
|
-
variant?: SlThoughtChainItem["variant"];
|
|
2375
|
-
/** Whether to show a blink/pulse animation. */
|
|
2376
|
-
blink?: SlThoughtChainItem["blink"];
|
|
2377
|
-
/** Whether the item is disabled. Prevents click events and applies disabled styling. */
|
|
2378
|
-
disabled?: SlThoughtChainItem["disabled"];
|
|
2379
|
-
/** Whether this item is clickable. When true, hover/cursor styles are applied. */
|
|
2380
|
-
clickable?: SlThoughtChainItem["clickable"];
|
|
2389
|
+
type SlThinkProps = {
|
|
2390
|
+
/** The title text shown in the status bar. Accepts plain text.
|
|
2391
|
+
For rich HTML content, use the `title` slot instead.
|
|
2392
|
+
Maps to React's `title: React.ReactNode` prop. */
|
|
2393
|
+
title?: SlThink["title"];
|
|
2394
|
+
/** When true, the status icon is replaced by a loading spinner
|
|
2395
|
+
(or the content of the `loading-icon` slot for a custom indicator).
|
|
2396
|
+
Maps to React's `loading: boolean | React.ReactNode` prop:
|
|
2397
|
+
- `loading` (boolean) → boolean attribute
|
|
2398
|
+
- `loading` (ReactNode) → use the `loading-icon` slot */
|
|
2399
|
+
loading?: SlThink["loading"];
|
|
2400
|
+
/** Whether the content body is expanded.
|
|
2401
|
+
When used without `default-expanded`, this acts as a controlled prop
|
|
2402
|
+
(the parent is responsible for updating it).
|
|
2403
|
+
When neither this nor `default-expanded` is set on the element,
|
|
2404
|
+
the component defaults to expanded (equivalent to React's `defaultExpanded = true`).
|
|
2405
|
+
Maps to React's `expanded: boolean` prop. */
|
|
2406
|
+
expanded?: SlThink["expanded"];
|
|
2407
|
+
/** The initial expanded state when the component is first rendered.
|
|
2408
|
+
Only applies if `expanded` is not set as an attribute on the element.
|
|
2409
|
+
Maps to React's `defaultExpanded: boolean` prop (default: `true`).
|
|
2381
2410
|
|
|
2382
|
-
|
|
2383
|
-
|
|
2411
|
+
Because Lit's `type: Boolean` treats attribute *presence* as `true`,
|
|
2412
|
+
setting `default-expanded="false"` in HTML does NOT work — this is
|
|
2413
|
+
consistent with all other Shoelace boolean attributes.
|
|
2414
|
+
To start collapsed, set the property via JS: `el.defaultExpanded = false`. */
|
|
2415
|
+
"default-expanded"?: SlThink["defaultExpanded"];
|
|
2416
|
+
/** When true, applies a blinking animation to the title text to signal ongoing activity.
|
|
2417
|
+
Maps to React's `blink: boolean` prop. */
|
|
2418
|
+
blink?: SlThink["blink"];
|
|
2419
|
+
/** */
|
|
2420
|
+
body?: SlThink["body"];
|
|
2421
|
+
/** Emitted when the think block starts expanding (before animation). Equivalent to React's `onExpand(true)`. */
|
|
2422
|
+
"onsl-expand"?: (e: CustomEvent<never>) => void;
|
|
2423
|
+
/** Emitted when the think block starts collapsing (before animation). Equivalent to React's `onExpand(false)`. */
|
|
2424
|
+
"onsl-collapse"?: (e: CustomEvent<never>) => void;
|
|
2384
2425
|
};
|
|
2385
2426
|
|
|
2386
2427
|
type SlThoughtChainProps = {
|
|
@@ -2409,125 +2450,143 @@ When set, you must update this in response to `sl-expand` events. */
|
|
|
2409
2450
|
"onsl-expand"?: (e: CustomEvent<never>) => void;
|
|
2410
2451
|
};
|
|
2411
2452
|
|
|
2412
|
-
type
|
|
2413
|
-
/** The
|
|
2414
|
-
|
|
2415
|
-
/** The
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
/** Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with
|
|
2431
|
-
`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,
|
|
2432
|
-
scenarios. */
|
|
2433
|
-
hoist?: SlTooltip["hoist"];
|
|
2434
|
-
/** */
|
|
2435
|
-
defaultSlot?: SlTooltip["defaultSlot"];
|
|
2436
|
-
/** */
|
|
2437
|
-
body?: SlTooltip["body"];
|
|
2438
|
-
/** */
|
|
2439
|
-
popup?: SlTooltip["popup"];
|
|
2440
|
-
/** Emitted when the tooltip begins to show. */
|
|
2441
|
-
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
2442
|
-
/** Emitted after the tooltip has shown and all animations are complete. */
|
|
2443
|
-
"onsl-after-show"?: (e: CustomEvent<never>) => void;
|
|
2444
|
-
/** Emitted when the tooltip begins to hide. */
|
|
2445
|
-
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
2446
|
-
/** Emitted after the tooltip has hidden and all animations are complete. */
|
|
2447
|
-
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
2453
|
+
type SlThoughtChainItemProps = {
|
|
2454
|
+
/** The title text. Use the `title` slot for rich HTML content. */
|
|
2455
|
+
title?: SlThoughtChainItem["title"];
|
|
2456
|
+
/** The description text. Use the `description` slot for rich HTML content. */
|
|
2457
|
+
description?: SlThoughtChainItem["description"];
|
|
2458
|
+
/** The status of this item. Determines the status icon shown. */
|
|
2459
|
+
status?: SlThoughtChainItem["status"];
|
|
2460
|
+
/** The visual variant of the item. */
|
|
2461
|
+
variant?: SlThoughtChainItem["variant"];
|
|
2462
|
+
/** Whether to show a blink/pulse animation. */
|
|
2463
|
+
blink?: SlThoughtChainItem["blink"];
|
|
2464
|
+
/** Whether the item is disabled. Prevents click events and applies disabled styling. */
|
|
2465
|
+
disabled?: SlThoughtChainItem["disabled"];
|
|
2466
|
+
/** Whether this item is clickable. When true, hover/cursor styles are applied. */
|
|
2467
|
+
clickable?: SlThoughtChainItem["clickable"];
|
|
2468
|
+
|
|
2469
|
+
/** Emitted when the item is clicked (only when not disabled and has a click handler). */
|
|
2470
|
+
"onsl-click"?: (e: CustomEvent<never>) => void;
|
|
2448
2471
|
};
|
|
2449
2472
|
|
|
2450
|
-
type
|
|
2451
|
-
/**
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
/**
|
|
2456
|
-
|
|
2457
|
-
/**
|
|
2458
|
-
|
|
2459
|
-
/**
|
|
2460
|
-
|
|
2461
|
-
/**
|
|
2462
|
-
|
|
2463
|
-
/**
|
|
2464
|
-
|
|
2465
|
-
/**
|
|
2466
|
-
|
|
2467
|
-
/** */
|
|
2468
|
-
tableScroll?: SlTable["tableScroll"];
|
|
2469
|
-
/** */
|
|
2470
|
-
pagination?: SlTable["pagination"];
|
|
2471
|
-
/** */
|
|
2472
|
-
expandProps?: SlTable["expandProps"];
|
|
2473
|
-
/** */
|
|
2474
|
-
tree?: SlTable["tree"];
|
|
2475
|
-
/** */
|
|
2476
|
-
enableColumnResizing?: SlTable["enableColumnResizing"];
|
|
2477
|
-
/** */
|
|
2478
|
-
slHeaderRow?: SlTable["slHeaderRow"];
|
|
2479
|
-
/** */
|
|
2480
|
-
slRow?: SlTable["slRow"];
|
|
2481
|
-
/** */
|
|
2482
|
-
slColumnResize?: SlTable["slColumnResize"];
|
|
2483
|
-
/** */
|
|
2484
|
-
virtualized?: SlTable["virtualized"];
|
|
2485
|
-
/** 是否允许拖动调整行顺序 */
|
|
2486
|
-
rowDrag?: SlTable["rowDrag"];
|
|
2487
|
-
/** 行拖拽排序后的回调 */
|
|
2488
|
-
slRowReorder?: SlTable["slRowReorder"];
|
|
2489
|
-
/** */
|
|
2490
|
-
summary?: SlTable["summary"];
|
|
2491
|
-
/** 表格尺寸 */
|
|
2492
|
-
size?: SlTable["size"];
|
|
2493
|
-
/** */
|
|
2494
|
-
rowSelectedMap?: SlTable["rowSelectedMap"];
|
|
2495
|
-
/** */
|
|
2496
|
-
expandedMap?: SlTable["expandedMap"];
|
|
2497
|
-
/** */
|
|
2498
|
-
sorting?: SlTable["sorting"];
|
|
2499
|
-
/** */
|
|
2500
|
-
columnFilters?: SlTable["columnFilters"];
|
|
2501
|
-
/** */
|
|
2502
|
-
tableWidth?: SlTable["tableWidth"];
|
|
2503
|
-
/** */
|
|
2504
|
-
columnSizing?: SlTable["columnSizing"];
|
|
2505
|
-
/** */
|
|
2506
|
-
pageIndex?: SlTable["pageIndex"];
|
|
2507
|
-
/** */
|
|
2508
|
-
columnPinning?: SlTable["columnPinning"];
|
|
2509
|
-
/** */
|
|
2510
|
-
adapter?: SlTable["adapter"];
|
|
2511
|
-
/** */
|
|
2512
|
-
setColumnWidth?: SlTable["setColumnWidth"];
|
|
2513
|
-
/** */
|
|
2514
|
-
handleBodyScroll?: SlTable["handleBodyScroll"];
|
|
2515
|
-
/** */
|
|
2516
|
-
handleBodyScrollLeft?: SlTable["handleBodyScrollLeft"];
|
|
2473
|
+
type SlThoughtChainNodeProps = {
|
|
2474
|
+
/** Unique key for this node. Required when using collapsible mode or
|
|
2475
|
+
controlled expansion via the parent `<sl-thought-chain>`.
|
|
2476
|
+
Maps to React's `key` property on ThoughtChainItemType. */
|
|
2477
|
+
"node-key"?: SlThoughtChainNode["nodeKey"];
|
|
2478
|
+
/** The title text shown in the node header. Use the `title` slot for rich HTML. */
|
|
2479
|
+
title?: SlThoughtChainNode["title"];
|
|
2480
|
+
/** The description text shown below the title. Use the `description` slot for rich HTML. */
|
|
2481
|
+
description?: SlThoughtChainNode["description"];
|
|
2482
|
+
/** The status of this node. Shows a status icon and applies status-specific styling. */
|
|
2483
|
+
status?: SlThoughtChainNode["status"];
|
|
2484
|
+
/** Whether this node's content area is collapsible. */
|
|
2485
|
+
collapsible?: SlThoughtChainNode["collapsible"];
|
|
2486
|
+
/** Whether to show a blink/pulse animation on the title (indicates ongoing activity). */
|
|
2487
|
+
blink?: SlThoughtChainNode["blink"];
|
|
2488
|
+
/** Whether to hide the icon entirely (equivalent to React's `icon={false}`). */
|
|
2489
|
+
"no-icon"?: SlThoughtChainNode["noIcon"];
|
|
2517
2490
|
/** */
|
|
2518
|
-
|
|
2491
|
+
contentEl?: SlThoughtChainNode["contentEl"];
|
|
2492
|
+
/** Whether this node's content is currently expanded */
|
|
2493
|
+
expanded?: SlThoughtChainNode["expanded"];
|
|
2494
|
+
};
|
|
2495
|
+
|
|
2496
|
+
type SlTimepickerProps = {
|
|
2519
2497
|
/** */
|
|
2520
|
-
|
|
2498
|
+
format?: SlTimepicker["format"];
|
|
2521
2499
|
/** */
|
|
2522
|
-
|
|
2500
|
+
pattern?: SlTimepicker["pattern"];
|
|
2523
2501
|
/** */
|
|
2524
|
-
|
|
2502
|
+
timePanel?: SlTimepicker["timePanel"];
|
|
2503
|
+
/** Emitted when the control's value changes. */
|
|
2504
|
+
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
2505
|
+
/** Emitted when the control's value changes. */
|
|
2506
|
+
"onsl-input"?: (e: CustomEvent<never>) => void;
|
|
2507
|
+
/** Emitted when the control gains focus. */
|
|
2508
|
+
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
2509
|
+
/** Emitted when the control loses focus. */
|
|
2510
|
+
"onsl-blur"?: (e: CustomEvent<never>) => void;
|
|
2511
|
+
/** Emitted when the clear button is activated. */
|
|
2512
|
+
"onsl-clear"?: (e: CustomEvent<never>) => void;
|
|
2513
|
+
/** Emitted when the form control has been checked for validity and its constraints aren't satisfied. */
|
|
2514
|
+
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
2515
|
+
};
|
|
2516
|
+
|
|
2517
|
+
type SlTooltipProps = {
|
|
2518
|
+
/** The tooltip's content. If you need to display HTML, use the `content` slot instead. */
|
|
2519
|
+
content?: SlTooltip["content"];
|
|
2520
|
+
/** The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip
|
|
2521
|
+
inside of the viewport. */
|
|
2522
|
+
placement?: SlTooltip["placement"];
|
|
2523
|
+
/** Disables the tooltip so it won't show when triggered. */
|
|
2524
|
+
disabled?: SlTooltip["disabled"];
|
|
2525
|
+
/** The distance in pixels from which to offset the tooltip away from its target. */
|
|
2526
|
+
distance?: SlTooltip["distance"];
|
|
2527
|
+
/** Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods. */
|
|
2528
|
+
open?: SlTooltip["open"];
|
|
2529
|
+
/** The distance in pixels from which to offset the tooltip along its target. */
|
|
2530
|
+
skidding?: SlTooltip["skidding"];
|
|
2531
|
+
/** Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple
|
|
2532
|
+
options can be passed by separating them with a space. When manual is used, the tooltip must be activated
|
|
2533
|
+
programmatically. */
|
|
2534
|
+
trigger?: SlTooltip["trigger"];
|
|
2535
|
+
/** Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with
|
|
2536
|
+
`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,
|
|
2537
|
+
scenarios. */
|
|
2538
|
+
hoist?: SlTooltip["hoist"];
|
|
2525
2539
|
/** */
|
|
2526
|
-
|
|
2540
|
+
defaultSlot?: SlTooltip["defaultSlot"];
|
|
2527
2541
|
/** */
|
|
2528
|
-
|
|
2542
|
+
body?: SlTooltip["body"];
|
|
2529
2543
|
/** */
|
|
2530
|
-
|
|
2544
|
+
popup?: SlTooltip["popup"];
|
|
2545
|
+
/** Emitted when the tooltip begins to show. */
|
|
2546
|
+
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
2547
|
+
/** Emitted after the tooltip has shown and all animations are complete. */
|
|
2548
|
+
"onsl-after-show"?: (e: CustomEvent<never>) => void;
|
|
2549
|
+
/** Emitted when the tooltip begins to hide. */
|
|
2550
|
+
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
2551
|
+
/** Emitted after the tooltip has hidden and all animations are complete. */
|
|
2552
|
+
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
type SlTransferProps = {
|
|
2556
|
+
/** 数据源 */
|
|
2557
|
+
dataSource?: SlTransfer["dataSource"];
|
|
2558
|
+
/** 目标列表的 key 集合 */
|
|
2559
|
+
"target-keys"?: SlTransfer["targetKeys"];
|
|
2560
|
+
/** 是否禁用 */
|
|
2561
|
+
disabled?: SlTransfer["disabled"];
|
|
2562
|
+
/** 是否显示分页 */
|
|
2563
|
+
pagination?: SlTransfer["pagination"];
|
|
2564
|
+
/** 每页显示条数 */
|
|
2565
|
+
"page-size"?: SlTransfer["pageSize"];
|
|
2566
|
+
/** 是否显示搜索框 */
|
|
2567
|
+
"show-search"?: SlTransfer["showSearch"];
|
|
2568
|
+
/** 是否显示全选 */
|
|
2569
|
+
"show-select-all"?: SlTransfer["showSelectAll"];
|
|
2570
|
+
/** 是否单向穿梭 */
|
|
2571
|
+
"one-way"?: SlTransfer["oneWay"];
|
|
2572
|
+
/** 两个列表的标题,格式为 ['sourceTitle', 'targetTitle'] */
|
|
2573
|
+
titles?: SlTransfer["titles"];
|
|
2574
|
+
/** 组件状态 */
|
|
2575
|
+
status?: SlTransfer["status"];
|
|
2576
|
+
/** 搜索框占位符 */
|
|
2577
|
+
"search-placeholder"?: SlTransfer["searchPlaceholder"];
|
|
2578
|
+
/** 受控模式下的选中项 key 集合,传入后由外部完全控制选中状态 */
|
|
2579
|
+
"selected-keys"?: SlTransfer["selectedKeys"];
|
|
2580
|
+
/** 自定义渲染每个列表项的内容,返回 TemplateResult 或字符串 */
|
|
2581
|
+
itemRender?: SlTransfer["itemRender"];
|
|
2582
|
+
/** 当数据穿梭完成时触发,返回目标键、方向和移动的键。 */
|
|
2583
|
+
"onsl-transfer-change"?: (e: CustomEvent<never>) => void;
|
|
2584
|
+
/** 当选中项变化时触发。 */
|
|
2585
|
+
"onsl-transfer-select-change"?: (e: CustomEvent<never>) => void;
|
|
2586
|
+
/** 当搜索时触发。 */
|
|
2587
|
+
"onsl-transfer-search"?: (e: CustomEvent<never>) => void;
|
|
2588
|
+
/** 当列表滚动时触发。 */
|
|
2589
|
+
"onsl-transfer-scroll"?: (e: CustomEvent<never>) => void;
|
|
2531
2590
|
};
|
|
2532
2591
|
|
|
2533
2592
|
type SlTreeProps = {
|
|
@@ -2654,27 +2713,6 @@ type SlUploadProps = {
|
|
|
2654
2713
|
"onsl-exceed"?: (e: CustomEvent<never>) => void;
|
|
2655
2714
|
};
|
|
2656
2715
|
|
|
2657
|
-
type SlTimepickerProps = {
|
|
2658
|
-
/** */
|
|
2659
|
-
format?: SlTimepicker["format"];
|
|
2660
|
-
/** */
|
|
2661
|
-
pattern?: SlTimepicker["pattern"];
|
|
2662
|
-
/** */
|
|
2663
|
-
timePanel?: SlTimepicker["timePanel"];
|
|
2664
|
-
/** Emitted when the control's value changes. */
|
|
2665
|
-
"onsl-change"?: (e: CustomEvent<never>) => void;
|
|
2666
|
-
/** Emitted when the control's value changes. */
|
|
2667
|
-
"onsl-input"?: (e: CustomEvent<never>) => void;
|
|
2668
|
-
/** Emitted when the control gains focus. */
|
|
2669
|
-
"onsl-focus"?: (e: CustomEvent<never>) => void;
|
|
2670
|
-
/** Emitted when the control loses focus. */
|
|
2671
|
-
"onsl-blur"?: (e: CustomEvent<never>) => void;
|
|
2672
|
-
/** Emitted when the clear button is activated. */
|
|
2673
|
-
"onsl-clear"?: (e: CustomEvent<never>) => void;
|
|
2674
|
-
/** Emitted when the form control has been checked for validity and its constraints aren't satisfied. */
|
|
2675
|
-
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
2676
|
-
};
|
|
2677
|
-
|
|
2678
2716
|
type SlVisuallyHiddenProps = {};
|
|
2679
2717
|
|
|
2680
2718
|
type SlTreeSelectProps = {
|
|
@@ -2803,28 +2841,6 @@ type SlXMarkdownProps = {
|
|
|
2803
2841
|
};
|
|
2804
2842
|
|
|
2805
2843
|
export type CustomElements = {
|
|
2806
|
-
/**
|
|
2807
|
-
* A component for displaying animated GIFs and WEBPs that play and pause on interaction.
|
|
2808
|
-
* ---
|
|
2809
|
-
*
|
|
2810
|
-
*
|
|
2811
|
-
* ### **Events:**
|
|
2812
|
-
* - **sl-load** - Emitted when the image loads successfully.
|
|
2813
|
-
* - **sl-error** - Emitted when the image fails to load.
|
|
2814
|
-
*
|
|
2815
|
-
* ### **Slots:**
|
|
2816
|
-
* - **play-icon** - Optional play icon to use instead of the default. Works best with `<sl-icon>`.
|
|
2817
|
-
* - **pause-icon** - Optional pause icon to use instead of the default. Works best with `<sl-icon>`.
|
|
2818
|
-
*
|
|
2819
|
-
* ### **CSS Properties:**
|
|
2820
|
-
* - **--control-box-size** - The size of the icon box. _(default: undefined)_
|
|
2821
|
-
* - **--icon-size** - The size of the play/pause icons. _(default: undefined)_
|
|
2822
|
-
*
|
|
2823
|
-
* ### **CSS Parts:**
|
|
2824
|
-
* - **control-box** - The container that surrounds the pause/play icons and provides their background.
|
|
2825
|
-
*/
|
|
2826
|
-
"sl-animated-image": DefineComponent<SlAnimatedImageProps>;
|
|
2827
|
-
|
|
2828
2844
|
/**
|
|
2829
2845
|
* Alerts are used to display important messages inline or as toast notifications.
|
|
2830
2846
|
* ---
|
|
@@ -2856,6 +2872,28 @@ export type CustomElements = {
|
|
|
2856
2872
|
*/
|
|
2857
2873
|
"sl-alert": DefineComponent<SlAlertProps>;
|
|
2858
2874
|
|
|
2875
|
+
/**
|
|
2876
|
+
* A component for displaying animated GIFs and WEBPs that play and pause on interaction.
|
|
2877
|
+
* ---
|
|
2878
|
+
*
|
|
2879
|
+
*
|
|
2880
|
+
* ### **Events:**
|
|
2881
|
+
* - **sl-load** - Emitted when the image loads successfully.
|
|
2882
|
+
* - **sl-error** - Emitted when the image fails to load.
|
|
2883
|
+
*
|
|
2884
|
+
* ### **Slots:**
|
|
2885
|
+
* - **play-icon** - Optional play icon to use instead of the default. Works best with `<sl-icon>`.
|
|
2886
|
+
* - **pause-icon** - Optional pause icon to use instead of the default. Works best with `<sl-icon>`.
|
|
2887
|
+
*
|
|
2888
|
+
* ### **CSS Properties:**
|
|
2889
|
+
* - **--control-box-size** - The size of the icon box. _(default: undefined)_
|
|
2890
|
+
* - **--icon-size** - The size of the play/pause icons. _(default: undefined)_
|
|
2891
|
+
*
|
|
2892
|
+
* ### **CSS Parts:**
|
|
2893
|
+
* - **control-box** - The container that surrounds the pause/play icons and provides their background.
|
|
2894
|
+
*/
|
|
2895
|
+
"sl-animated-image": DefineComponent<SlAnimatedImageProps>;
|
|
2896
|
+
|
|
2859
2897
|
/**
|
|
2860
2898
|
* Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).
|
|
2861
2899
|
* ---
|
|
@@ -2875,6 +2913,20 @@ export type CustomElements = {
|
|
|
2875
2913
|
*/
|
|
2876
2914
|
"sl-animation": DefineComponent<SlAnimationProps>;
|
|
2877
2915
|
|
|
2916
|
+
/**
|
|
2917
|
+
* Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
|
|
2918
|
+
* ---
|
|
2919
|
+
*
|
|
2920
|
+
*
|
|
2921
|
+
* ### **Slots:**
|
|
2922
|
+
* - _default_ - One or more breadcrumb items to display.
|
|
2923
|
+
* - **separator** - The separator to use between breadcrumb items. Works best with `<sl-icon>`.
|
|
2924
|
+
*
|
|
2925
|
+
* ### **CSS Parts:**
|
|
2926
|
+
* - **base** - The component's base wrapper.
|
|
2927
|
+
*/
|
|
2928
|
+
"sl-breadcrumb": DefineComponent<SlBreadcrumbProps>;
|
|
2929
|
+
|
|
2878
2930
|
/**
|
|
2879
2931
|
* Badges are used to draw attention and display statuses or counts.
|
|
2880
2932
|
* ---
|
|
@@ -2930,20 +2982,6 @@ export type CustomElements = {
|
|
|
2930
2982
|
*/
|
|
2931
2983
|
"sl-avatar": DefineComponent<SlAvatarProps>;
|
|
2932
2984
|
|
|
2933
|
-
/**
|
|
2934
|
-
* Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
|
|
2935
|
-
* ---
|
|
2936
|
-
*
|
|
2937
|
-
*
|
|
2938
|
-
* ### **Slots:**
|
|
2939
|
-
* - _default_ - One or more breadcrumb items to display.
|
|
2940
|
-
* - **separator** - The separator to use between breadcrumb items. Works best with `<sl-icon>`.
|
|
2941
|
-
*
|
|
2942
|
-
* ### **CSS Parts:**
|
|
2943
|
-
* - **base** - The component's base wrapper.
|
|
2944
|
-
*/
|
|
2945
|
-
"sl-breadcrumb": DefineComponent<SlBreadcrumbProps>;
|
|
2946
|
-
|
|
2947
2985
|
/**
|
|
2948
2986
|
* Buttons represent actions that are available to the user.
|
|
2949
2987
|
* ---
|
|
@@ -2992,53 +3030,34 @@ export type CustomElements = {
|
|
|
2992
3030
|
"sl-button-group": DefineComponent<SlButtonGroupProps>;
|
|
2993
3031
|
|
|
2994
3032
|
/**
|
|
2995
|
-
*
|
|
3033
|
+
* 日历组件,用于按日历形式展示数据,支持全屏和卡片模式
|
|
2996
3034
|
* ---
|
|
2997
3035
|
*
|
|
2998
3036
|
*
|
|
2999
3037
|
* ### **Events:**
|
|
3000
|
-
* - **sl-
|
|
3001
|
-
*
|
|
3002
|
-
*
|
|
3003
|
-
* - **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.
|
|
3004
|
-
* - **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.
|
|
3005
|
-
* - **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.
|
|
3006
|
-
*
|
|
3007
|
-
* ### **Slots:**
|
|
3008
|
-
* - _default_ - The carousel's main content, one or more `<sl-carousel-item>` elements.
|
|
3009
|
-
* - **next-icon** - Optional next icon to use instead of the default. Works best with `<sl-icon>`.
|
|
3010
|
-
* - **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sl-icon>`.
|
|
3038
|
+
* - **sl-panel-change** - 当面板切换时触发
|
|
3039
|
+
* - **sl-calendar-change** - 当日期发生变化时触发
|
|
3040
|
+
* - **sl-calendar-select** - 当日期被选中时触发,包含来源信息
|
|
3011
3041
|
*
|
|
3012
3042
|
* ### **CSS Properties:**
|
|
3013
|
-
* - **--
|
|
3014
|
-
* - **--
|
|
3015
|
-
* - **--
|
|
3043
|
+
* - **--sl-calendar-item-active-bg** - Background color of selected date _(default: undefined)_
|
|
3044
|
+
* - **--sl-calendar-full-bg** - Background color of full calendar _(default: undefined)_
|
|
3045
|
+
* - **--sl-calendar-full-panel-bg** - Background color of calendar panel _(default: undefined)_
|
|
3046
|
+
* - **--sl-calendar-mini-content-height** - Height of mini calendar content _(default: undefined)_
|
|
3016
3047
|
*
|
|
3017
3048
|
* ### **CSS Parts:**
|
|
3018
|
-
* - **base** - The
|
|
3019
|
-
* - **
|
|
3020
|
-
* - **
|
|
3021
|
-
* - **
|
|
3022
|
-
* - **
|
|
3023
|
-
* - **
|
|
3024
|
-
* - **
|
|
3025
|
-
* - **
|
|
3026
|
-
* - **
|
|
3027
|
-
|
|
3028
|
-
"sl-carousel": DefineComponent<SlCarouselProps>;
|
|
3029
|
-
|
|
3030
|
-
/**
|
|
3031
|
-
* A carousel item represent a slide within a [carousel](/components/carousel).
|
|
3032
|
-
* ---
|
|
3033
|
-
*
|
|
3034
|
-
*
|
|
3035
|
-
* ### **Slots:**
|
|
3036
|
-
* - _default_ - The carousel item's content..
|
|
3037
|
-
*
|
|
3038
|
-
* ### **CSS Properties:**
|
|
3039
|
-
* - **--aspect-ratio** - The slide's aspect ratio. Inherited from the carousel by default. _(default: undefined)_
|
|
3049
|
+
* - **base** - The component's base wrapper.
|
|
3050
|
+
* - **header** - The calendar header.
|
|
3051
|
+
* - **header-left** - The header left section (year/month selects).
|
|
3052
|
+
* - **header-right** - The header right section (mode switch).
|
|
3053
|
+
* - **body** - The calendar body.
|
|
3054
|
+
* - **table** - The calendar table.
|
|
3055
|
+
* - **cell** - Individual calendar cells.
|
|
3056
|
+
* - **cell-inner** - Inner content of calendar cells.
|
|
3057
|
+
* - **date-value** - The date number display.
|
|
3058
|
+
* - **date-content** - The custom content area in cells.
|
|
3040
3059
|
*/
|
|
3041
|
-
"sl-
|
|
3060
|
+
"sl-calendar": DefineComponent<SlCalendarProps>;
|
|
3042
3061
|
|
|
3043
3062
|
/**
|
|
3044
3063
|
* Cards can be used to group related subjects in a container.
|
|
@@ -3067,72 +3086,83 @@ export type CustomElements = {
|
|
|
3067
3086
|
"sl-card": DefineComponent<SlCardProps>;
|
|
3068
3087
|
|
|
3069
3088
|
/**
|
|
3070
|
-
*
|
|
3089
|
+
* Carousels display an arbitrary number of content slides along a horizontal or vertical axis.
|
|
3071
3090
|
* ---
|
|
3072
3091
|
*
|
|
3073
3092
|
*
|
|
3074
3093
|
* ### **Events:**
|
|
3075
|
-
* - **sl-
|
|
3076
|
-
* - **sl-calendar-change** - 当日期发生变化时触发
|
|
3077
|
-
* - **sl-calendar-select** - 当日期被选中时触发,包含来源信息
|
|
3094
|
+
* - **sl-slide-change** - Emitted when the active slide changes.
|
|
3078
3095
|
*
|
|
3079
|
-
* ### **
|
|
3080
|
-
* -
|
|
3081
|
-
* -
|
|
3082
|
-
* -
|
|
3083
|
-
* - **--sl-calendar-mini-content-height** - Height of mini calendar content _(default: undefined)_
|
|
3096
|
+
* ### **Methods:**
|
|
3097
|
+
* - **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.
|
|
3098
|
+
* - **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.
|
|
3099
|
+
* - **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.
|
|
3084
3100
|
*
|
|
3085
|
-
* ### **
|
|
3086
|
-
* -
|
|
3087
|
-
* - **
|
|
3088
|
-
* - **
|
|
3089
|
-
*
|
|
3090
|
-
*
|
|
3091
|
-
* -
|
|
3092
|
-
* - **
|
|
3093
|
-
* -
|
|
3094
|
-
*
|
|
3095
|
-
*
|
|
3101
|
+
* ### **Slots:**
|
|
3102
|
+
* - _default_ - The carousel's main content, one or more `<sl-carousel-item>` elements.
|
|
3103
|
+
* - **next-icon** - Optional next icon to use instead of the default. Works best with `<sl-icon>`.
|
|
3104
|
+
* - **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sl-icon>`.
|
|
3105
|
+
*
|
|
3106
|
+
* ### **CSS Properties:**
|
|
3107
|
+
* - **--slide-gap** - The space between each slide. _(default: undefined)_
|
|
3108
|
+
* - **--aspect-ratio** - The aspect ratio of each slide. _(default: 16/9)_
|
|
3109
|
+
* - **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_
|
|
3110
|
+
*
|
|
3111
|
+
* ### **CSS Parts:**
|
|
3112
|
+
* - **base** - The carousel's internal wrapper.
|
|
3113
|
+
* - **scroll-container** - The scroll container that wraps the slides.
|
|
3114
|
+
* - **pagination** - The pagination indicators wrapper.
|
|
3115
|
+
* - **pagination-item** - The pagination indicator.
|
|
3116
|
+
* - **pagination-item--active** - Applied when the item is active.
|
|
3117
|
+
* - **navigation** - The navigation wrapper.
|
|
3118
|
+
* - **navigation-button** - The navigation button.
|
|
3119
|
+
* - **navigation-button--previous** - Applied to the previous button.
|
|
3120
|
+
* - **navigation-button--next** - Applied to the next button.
|
|
3096
3121
|
*/
|
|
3097
|
-
"sl-
|
|
3122
|
+
"sl-carousel": DefineComponent<SlCarouselProps>;
|
|
3098
3123
|
|
|
3099
3124
|
/**
|
|
3100
|
-
*
|
|
3125
|
+
* Cascader is a cascade selection component that allows users to select from a set of hierarchical options.
|
|
3101
3126
|
* ---
|
|
3102
3127
|
*
|
|
3103
3128
|
*
|
|
3104
3129
|
* ### **Events:**
|
|
3105
|
-
* - **sl-
|
|
3106
|
-
* - **sl-
|
|
3107
|
-
* - **sl-
|
|
3108
|
-
* - **sl-
|
|
3109
|
-
* - **sl-
|
|
3110
|
-
*
|
|
3111
|
-
*
|
|
3112
|
-
*
|
|
3113
|
-
* - **
|
|
3114
|
-
* - **blur()** - Removes focus from the checkbox.
|
|
3115
|
-
* - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.
|
|
3116
|
-
* - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.
|
|
3117
|
-
* - **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.
|
|
3118
|
-
* - **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear
|
|
3119
|
-
* the custom validation message, call this method with an empty string.
|
|
3130
|
+
* - **sl-change** - Emitted when the control's value changes.
|
|
3131
|
+
* - **sl-clear** - Emitted when the control's value is cleared.
|
|
3132
|
+
* - **sl-input** - Emitted when the control receives input.
|
|
3133
|
+
* - **sl-focus** - Emitted when the control gains focus.
|
|
3134
|
+
* - **sl-blur** - Emitted when the control loses focus.
|
|
3135
|
+
* - **sl-show** - Emitted when the cascader's menu opens.
|
|
3136
|
+
* - **sl-after-show** - Emitted after the cascader's menu opens and all animations are complete.
|
|
3137
|
+
* - **sl-hide** - Emitted when the cascader's menu closes.
|
|
3138
|
+
* - **sl-after-hide** - Emitted after the cascader's menu closes and all animations are complete.
|
|
3120
3139
|
*
|
|
3121
3140
|
* ### **Slots:**
|
|
3122
|
-
* -
|
|
3123
|
-
* - **help-text** - Text that describes how to use the
|
|
3141
|
+
* - **label** - The input's label. Alternatively, you can use the `label` attribute.
|
|
3142
|
+
* - **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
|
|
3143
|
+
* - **prefix** - Used to prepend a presentational icon or similar element to the combobox.
|
|
3144
|
+
* - **suffix** - Used to append a presentational icon or similar element to the combobox.
|
|
3145
|
+
* - **clear-icon** - An icon to use in lieu of the default clear icon.
|
|
3146
|
+
* - **expand-icon** - The icon to show when the control is expanded and collapsed.
|
|
3124
3147
|
*
|
|
3125
3148
|
* ### **CSS Parts:**
|
|
3126
|
-
* - **
|
|
3127
|
-
* - **control** - The
|
|
3128
|
-
* - **control
|
|
3129
|
-
* - **control--indeterminate** - Matches the control part when the checkbox is indeterminate.
|
|
3130
|
-
* - **checked-icon** - The checked icon, an `<sl-icon>` element.
|
|
3131
|
-
* - **indeterminate-icon** - The indeterminate icon, an `<sl-icon>` element.
|
|
3132
|
-
* - **label** - The container that wraps the checkbox's label.
|
|
3149
|
+
* - **form-control** - The form control that wraps the label, input, and help text.
|
|
3150
|
+
* - **form-control-label** - The label's wrapper.
|
|
3151
|
+
* - **form-control-input** - The cascader's wrapper.
|
|
3133
3152
|
* - **form-control-help-text** - The help text's wrapper.
|
|
3153
|
+
* - **combobox** - The container that wraps the prefix, suffix, combobox, clear icon, and expand button.
|
|
3154
|
+
* - **prefix** - The container that wraps the prefix slot.
|
|
3155
|
+
* - **suffix** - The container that wraps the suffix slot.
|
|
3156
|
+
* - **display-input** - The element that displays the selected option's label.
|
|
3157
|
+
* - **menu** - The cascader menu container.
|
|
3158
|
+
* - **menu-column** - Each column in the cascader menu.
|
|
3159
|
+
* - **menu-item** - Each item in the cascader menu.
|
|
3160
|
+
* - **tags** - The container that houses option tags when `multiple` is used.
|
|
3161
|
+
* - **tag** - The individual tags that represent each selected option.
|
|
3162
|
+
* - **clear-button** - The clear button.
|
|
3163
|
+
* - **expand-icon** - The container that wraps the expand icon.
|
|
3134
3164
|
*/
|
|
3135
|
-
"sl-
|
|
3165
|
+
"sl-cascader": DefineComponent<SlCascaderProps>;
|
|
3136
3166
|
|
|
3137
3167
|
/**
|
|
3138
3168
|
* Color pickers allow the user to select a color.
|
|
@@ -3197,60 +3227,42 @@ export type CustomElements = {
|
|
|
3197
3227
|
"sl-color-picker": DefineComponent<SlColorPickerProps>;
|
|
3198
3228
|
|
|
3199
3229
|
/**
|
|
3200
|
-
*
|
|
3201
|
-
* ---
|
|
3202
|
-
*
|
|
3203
|
-
*
|
|
3204
|
-
* ### **Slots:**
|
|
3205
|
-
* - _default_ - The default slot for content.
|
|
3206
|
-
*
|
|
3207
|
-
* ### **CSS Parts:**
|
|
3208
|
-
* - **base** - The component's base wrapper.
|
|
3209
|
-
*/
|
|
3210
|
-
"sl-col": DefineComponent<SlColProps>;
|
|
3211
|
-
|
|
3212
|
-
/**
|
|
3213
|
-
* Cascader is a cascade selection component that allows users to select from a set of hierarchical options.
|
|
3230
|
+
* Checkboxes allow the user to toggle an option on or off.
|
|
3214
3231
|
* ---
|
|
3215
3232
|
*
|
|
3216
3233
|
*
|
|
3217
3234
|
* ### **Events:**
|
|
3218
|
-
* - **sl-
|
|
3219
|
-
* - **sl-
|
|
3220
|
-
* - **sl-
|
|
3221
|
-
* - **sl-
|
|
3222
|
-
* - **sl-
|
|
3223
|
-
*
|
|
3224
|
-
*
|
|
3225
|
-
*
|
|
3226
|
-
* - **
|
|
3235
|
+
* - **sl-blur** - Emitted when the checkbox loses focus.
|
|
3236
|
+
* - **sl-change** - Emitted when the checked state changes.
|
|
3237
|
+
* - **sl-focus** - Emitted when the checkbox gains focus.
|
|
3238
|
+
* - **sl-input** - Emitted when the checkbox receives input.
|
|
3239
|
+
* - **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
3240
|
+
*
|
|
3241
|
+
* ### **Methods:**
|
|
3242
|
+
* - **click()** - Simulates a click on the checkbox.
|
|
3243
|
+
* - **focus(options: _FocusOptions_)** - Sets focus on the checkbox.
|
|
3244
|
+
* - **blur()** - Removes focus from the checkbox.
|
|
3245
|
+
* - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.
|
|
3246
|
+
* - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.
|
|
3247
|
+
* - **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.
|
|
3248
|
+
* - **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear
|
|
3249
|
+
* the custom validation message, call this method with an empty string.
|
|
3227
3250
|
*
|
|
3228
3251
|
* ### **Slots:**
|
|
3229
|
-
* -
|
|
3230
|
-
* - **help-text** - Text that describes how to use the
|
|
3231
|
-
* - **prefix** - Used to prepend a presentational icon or similar element to the combobox.
|
|
3232
|
-
* - **suffix** - Used to append a presentational icon or similar element to the combobox.
|
|
3233
|
-
* - **clear-icon** - An icon to use in lieu of the default clear icon.
|
|
3234
|
-
* - **expand-icon** - The icon to show when the control is expanded and collapsed.
|
|
3252
|
+
* - _default_ - The checkbox's label.
|
|
3253
|
+
* - **help-text** - Text that describes how to use the checkbox. Alternatively, you can use the `help-text` attribute.
|
|
3235
3254
|
*
|
|
3236
3255
|
* ### **CSS Parts:**
|
|
3237
|
-
* - **
|
|
3238
|
-
* - **
|
|
3239
|
-
* - **
|
|
3256
|
+
* - **base** - The component's base wrapper.
|
|
3257
|
+
* - **control** - The square container that wraps the checkbox's checked state.
|
|
3258
|
+
* - **control--checked** - Matches the control part when the checkbox is checked.
|
|
3259
|
+
* - **control--indeterminate** - Matches the control part when the checkbox is indeterminate.
|
|
3260
|
+
* - **checked-icon** - The checked icon, an `<sl-icon>` element.
|
|
3261
|
+
* - **indeterminate-icon** - The indeterminate icon, an `<sl-icon>` element.
|
|
3262
|
+
* - **label** - The container that wraps the checkbox's label.
|
|
3240
3263
|
* - **form-control-help-text** - The help text's wrapper.
|
|
3241
|
-
* - **combobox** - The container that wraps the prefix, suffix, combobox, clear icon, and expand button.
|
|
3242
|
-
* - **prefix** - The container that wraps the prefix slot.
|
|
3243
|
-
* - **suffix** - The container that wraps the suffix slot.
|
|
3244
|
-
* - **display-input** - The element that displays the selected option's label.
|
|
3245
|
-
* - **menu** - The cascader menu container.
|
|
3246
|
-
* - **menu-column** - Each column in the cascader menu.
|
|
3247
|
-
* - **menu-item** - Each item in the cascader menu.
|
|
3248
|
-
* - **tags** - The container that houses option tags when `multiple` is used.
|
|
3249
|
-
* - **tag** - The individual tags that represent each selected option.
|
|
3250
|
-
* - **clear-button** - The clear button.
|
|
3251
|
-
* - **expand-icon** - The container that wraps the expand icon.
|
|
3252
3264
|
*/
|
|
3253
|
-
"sl-
|
|
3265
|
+
"sl-checkbox": DefineComponent<SlCheckboxProps>;
|
|
3254
3266
|
|
|
3255
3267
|
/**
|
|
3256
3268
|
* Copies text data to the clipboard when the user clicks the trigger.
|
|
@@ -3283,80 +3295,46 @@ export type CustomElements = {
|
|
|
3283
3295
|
"sl-copy-button": DefineComponent<SlCopyButtonProps>;
|
|
3284
3296
|
|
|
3285
3297
|
/**
|
|
3286
|
-
*
|
|
3298
|
+
* Col component for grid layout system.
|
|
3287
3299
|
* ---
|
|
3288
3300
|
*
|
|
3289
3301
|
*
|
|
3290
|
-
* ### **Events:**
|
|
3291
|
-
* - **sl-show** - Emitted when the details opens.
|
|
3292
|
-
* - **sl-after-show** - Emitted after the details opens and all animations are complete.
|
|
3293
|
-
* - **sl-hide** - Emitted when the details closes.
|
|
3294
|
-
* - **sl-after-hide** - Emitted after the details closes and all animations are complete.
|
|
3295
|
-
*
|
|
3296
|
-
* ### **Methods:**
|
|
3297
|
-
* - **show()** - Shows the details.
|
|
3298
|
-
* - **hide()** - Hides the details
|
|
3299
|
-
*
|
|
3300
3302
|
* ### **Slots:**
|
|
3301
|
-
* - _default_ - The
|
|
3302
|
-
* - **summary** - The details' summary. Alternatively, you can use the `summary` attribute.
|
|
3303
|
-
* - **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sl-icon>`.
|
|
3304
|
-
* - **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sl-icon>`.
|
|
3303
|
+
* - _default_ - The default slot for content.
|
|
3305
3304
|
*
|
|
3306
3305
|
* ### **CSS Parts:**
|
|
3307
3306
|
* - **base** - The component's base wrapper.
|
|
3308
|
-
* - **header** - The header that wraps both the summary and the expand/collapse icon.
|
|
3309
|
-
* - **summary** - The container that wraps the summary.
|
|
3310
|
-
* - **summary-icon** - The container that wraps the expand/collapse icons.
|
|
3311
|
-
* - **content** - The details content.
|
|
3312
3307
|
*/
|
|
3313
|
-
"sl-
|
|
3308
|
+
"sl-col": DefineComponent<SlColProps>;
|
|
3314
3309
|
|
|
3315
3310
|
/**
|
|
3316
|
-
*
|
|
3311
|
+
* A carousel item represent a slide within a [carousel](/components/carousel).
|
|
3317
3312
|
* ---
|
|
3318
3313
|
*
|
|
3319
3314
|
*
|
|
3320
|
-
* ### **Events:**
|
|
3321
|
-
* - **sl-show** - Emitted when the dialog opens.
|
|
3322
|
-
* - **sl-after-show** - Emitted after the dialog opens and all animations are complete.
|
|
3323
|
-
* - **sl-hide** - Emitted when the dialog closes.
|
|
3324
|
-
* - **sl-after-hide** - Emitted after the dialog closes and all animations are complete.
|
|
3325
|
-
* - **sl-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.
|
|
3326
|
-
* - **sl-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.
|
|
3327
|
-
*
|
|
3328
|
-
* ### **Methods:**
|
|
3329
|
-
* - **show()** - Shows the dialog.
|
|
3330
|
-
* - **hide()** - Hides the dialog
|
|
3331
|
-
*
|
|
3332
3315
|
* ### **Slots:**
|
|
3333
|
-
* - _default_ - The
|
|
3334
|
-
* - **label** - The dialog's label. Alternatively, you can use the `label` attribute.
|
|
3335
|
-
* - **header-actions** - Optional actions to add to the header. Works best with `<sl-icon-button>`.
|
|
3336
|
-
* - **footer** - The dialog's footer, usually one or more buttons representing various options.
|
|
3316
|
+
* - _default_ - The carousel item's content..
|
|
3337
3317
|
*
|
|
3338
3318
|
* ### **CSS Properties:**
|
|
3339
|
-
* - **--
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3319
|
+
* - **--aspect-ratio** - The slide's aspect ratio. Inherited from the carousel by default. _(default: undefined)_
|
|
3320
|
+
*/
|
|
3321
|
+
"sl-carousel-item": DefineComponent<SlCarouselItemProps>;
|
|
3322
|
+
|
|
3323
|
+
/**
|
|
3343
3324
|
*
|
|
3344
|
-
*
|
|
3345
|
-
*
|
|
3346
|
-
*
|
|
3347
|
-
*
|
|
3348
|
-
*
|
|
3349
|
-
* - **
|
|
3350
|
-
* - **
|
|
3351
|
-
* - **
|
|
3352
|
-
* - **close-button__base** - The close button's exported `base` part.
|
|
3353
|
-
* - **body** - The dialog's body.
|
|
3354
|
-
* - **footer** - The dialog's footer.
|
|
3325
|
+
* ---
|
|
3326
|
+
*
|
|
3327
|
+
*
|
|
3328
|
+
* ### **Events:**
|
|
3329
|
+
* - **sl-cancel**
|
|
3330
|
+
* - **sl-clear**
|
|
3331
|
+
* - **sl-confirm**
|
|
3332
|
+
* - **sl-date-change**
|
|
3355
3333
|
*/
|
|
3356
|
-
"sl-
|
|
3334
|
+
"sl-date-panel": DefineComponent<SlDatePanelProps>;
|
|
3357
3335
|
|
|
3358
3336
|
/**
|
|
3359
|
-
*
|
|
3337
|
+
* Datepickers allow users to select a date using a calendar interface.
|
|
3360
3338
|
* ---
|
|
3361
3339
|
*
|
|
3362
3340
|
*
|
|
@@ -3367,49 +3345,81 @@ export type CustomElements = {
|
|
|
3367
3345
|
* - **sl-input** - Emitted when the control receives input.
|
|
3368
3346
|
* - **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
3369
3347
|
* - **sl-clear** - Emitted when the clear button is activated.
|
|
3348
|
+
*/
|
|
3349
|
+
"sl-datepicker": DefineComponent<SlDatepickerProps>;
|
|
3350
|
+
|
|
3351
|
+
/**
|
|
3352
|
+
* Details show a brief summary and expand to show additional content.
|
|
3353
|
+
* ---
|
|
3354
|
+
*
|
|
3355
|
+
*
|
|
3356
|
+
* ### **Events:**
|
|
3357
|
+
* - **sl-show** - Emitted when the details opens.
|
|
3358
|
+
* - **sl-after-show** - Emitted after the details opens and all animations are complete.
|
|
3359
|
+
* - **sl-hide** - Emitted when the details closes.
|
|
3360
|
+
* - **sl-after-hide** - Emitted after the details closes and all animations are complete.
|
|
3370
3361
|
*
|
|
3371
3362
|
* ### **Methods:**
|
|
3372
|
-
* - **
|
|
3373
|
-
* - **
|
|
3374
|
-
* - **reportValidity()** - 检查有效性并显示浏览器原生的有效性提示
|
|
3375
|
-
* - **setCustomValidity(message: _string_)** - 设置自定义有效性消息
|
|
3376
|
-
* - **focus(options: _FocusOptions_)** - 聚焦到开始日期输入框并打开面板
|
|
3377
|
-
* - **blur()** - 移除焦点并关闭面板
|
|
3363
|
+
* - **show()** - Shows the details.
|
|
3364
|
+
* - **hide()** - Hides the details
|
|
3378
3365
|
*
|
|
3379
3366
|
* ### **Slots:**
|
|
3380
|
-
* -
|
|
3381
|
-
* - **
|
|
3367
|
+
* - _default_ - The details' main content.
|
|
3368
|
+
* - **summary** - The details' summary. Alternatively, you can use the `summary` attribute.
|
|
3369
|
+
* - **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sl-icon>`.
|
|
3370
|
+
* - **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sl-icon>`.
|
|
3382
3371
|
*
|
|
3383
3372
|
* ### **CSS Parts:**
|
|
3384
|
-
* - **
|
|
3385
|
-
* - **
|
|
3386
|
-
* - **
|
|
3387
|
-
* - **
|
|
3388
|
-
* - **
|
|
3389
|
-
* - **start-input** - The internal `<input>` for the start date.
|
|
3390
|
-
* - **end-input** - The internal `<input>` for the end date.
|
|
3391
|
-
* - **separator** - The separator between the two inputs.
|
|
3392
|
-
* - **suffix** - The container that wraps the suffix icon.
|
|
3393
|
-
* - **clear-button** - The clear button.
|
|
3394
|
-
* - **popup** - The popup that contains the calendars.
|
|
3395
|
-
* - **calendars** - The container that wraps the calendars.
|
|
3373
|
+
* - **base** - The component's base wrapper.
|
|
3374
|
+
* - **header** - The header that wraps both the summary and the expand/collapse icon.
|
|
3375
|
+
* - **summary** - The container that wraps the summary.
|
|
3376
|
+
* - **summary-icon** - The container that wraps the expand/collapse icons.
|
|
3377
|
+
* - **content** - The details content.
|
|
3396
3378
|
*/
|
|
3397
|
-
"sl-
|
|
3379
|
+
"sl-details": DefineComponent<SlDetailsProps>;
|
|
3398
3380
|
|
|
3399
3381
|
/**
|
|
3400
|
-
*
|
|
3382
|
+
* Dialogs, sometimes called "modals", appear above the page and require the user's immediate attention.
|
|
3401
3383
|
* ---
|
|
3402
3384
|
*
|
|
3403
3385
|
*
|
|
3404
3386
|
* ### **Events:**
|
|
3405
|
-
* - **sl-
|
|
3406
|
-
* - **sl-
|
|
3407
|
-
* - **sl-
|
|
3408
|
-
* - **sl-
|
|
3409
|
-
* - **sl-
|
|
3410
|
-
* - **sl-
|
|
3387
|
+
* - **sl-show** - Emitted when the dialog opens.
|
|
3388
|
+
* - **sl-after-show** - Emitted after the dialog opens and all animations are complete.
|
|
3389
|
+
* - **sl-hide** - Emitted when the dialog closes.
|
|
3390
|
+
* - **sl-after-hide** - Emitted after the dialog closes and all animations are complete.
|
|
3391
|
+
* - **sl-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.
|
|
3392
|
+
* - **sl-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.
|
|
3393
|
+
*
|
|
3394
|
+
* ### **Methods:**
|
|
3395
|
+
* - **show()** - Shows the dialog.
|
|
3396
|
+
* - **hide()** - Hides the dialog
|
|
3397
|
+
*
|
|
3398
|
+
* ### **Slots:**
|
|
3399
|
+
* - _default_ - The dialog's main content.
|
|
3400
|
+
* - **label** - The dialog's label. Alternatively, you can use the `label` attribute.
|
|
3401
|
+
* - **header-actions** - Optional actions to add to the header. Works best with `<sl-icon-button>`.
|
|
3402
|
+
* - **footer** - The dialog's footer, usually one or more buttons representing various options.
|
|
3403
|
+
*
|
|
3404
|
+
* ### **CSS Properties:**
|
|
3405
|
+
* - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_
|
|
3406
|
+
* - **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_
|
|
3407
|
+
* - **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_
|
|
3408
|
+
* - **--footer-spacing** - The amount of padding to use for the footer. _(default: undefined)_
|
|
3409
|
+
*
|
|
3410
|
+
* ### **CSS Parts:**
|
|
3411
|
+
* - **base** - The component's base wrapper.
|
|
3412
|
+
* - **overlay** - The overlay that covers the screen behind the dialog.
|
|
3413
|
+
* - **panel** - The dialog's panel (where the dialog and its content are rendered).
|
|
3414
|
+
* - **header** - The dialog's header. This element wraps the title and header actions.
|
|
3415
|
+
* - **header-actions** - Optional actions to add to the header. Works best with `<sl-icon-button>`.
|
|
3416
|
+
* - **title** - The dialog's title.
|
|
3417
|
+
* - **close-button** - The close button, an `<sl-icon-button>`.
|
|
3418
|
+
* - **close-button__base** - The close button's exported `base` part.
|
|
3419
|
+
* - **body** - The dialog's body.
|
|
3420
|
+
* - **footer** - The dialog's footer.
|
|
3411
3421
|
*/
|
|
3412
|
-
"sl-
|
|
3422
|
+
"sl-dialog": DefineComponent<SlDialogProps>;
|
|
3413
3423
|
|
|
3414
3424
|
/**
|
|
3415
3425
|
* Dividers are used to visually separate or group elements.
|
|
@@ -3496,17 +3506,45 @@ export type CustomElements = {
|
|
|
3496
3506
|
"sl-dropdown": DefineComponent<SlDropdownProps>;
|
|
3497
3507
|
|
|
3498
3508
|
/**
|
|
3509
|
+
* Groups multiple float buttons together, with optional menu trigger.
|
|
3510
|
+
* ---
|
|
3511
|
+
*
|
|
3512
|
+
*
|
|
3513
|
+
* ### **Events:**
|
|
3514
|
+
* - **sl-show** - Emitted when the menu opens (menu mode only).
|
|
3515
|
+
* - **sl-hide** - Emitted when the menu closes (menu mode only).
|
|
3516
|
+
*
|
|
3517
|
+
* ### **Slots:**
|
|
3518
|
+
* - _default_ - The float buttons to display.
|
|
3519
|
+
* - **trigger-icon** - Custom icon for the trigger button.
|
|
3520
|
+
* - **close-icon** - Custom icon shown when the menu is open.
|
|
3499
3521
|
*
|
|
3522
|
+
* ### **CSS Parts:**
|
|
3523
|
+
* - **base** - The group's base wrapper.
|
|
3524
|
+
* - **list** - The container for the float button items.
|
|
3525
|
+
* - **trigger** - The trigger button (menu mode only).
|
|
3526
|
+
* - **trigger-icon** - The trigger button's icon.
|
|
3527
|
+
*/
|
|
3528
|
+
"sl-float-button-group": DefineComponent<SlFloatButtonGroupProps>;
|
|
3529
|
+
|
|
3530
|
+
/**
|
|
3531
|
+
* A floating action button that stays fixed on the page.
|
|
3500
3532
|
* ---
|
|
3501
3533
|
*
|
|
3502
3534
|
*
|
|
3503
3535
|
* ### **Events:**
|
|
3504
|
-
* - **sl-
|
|
3505
|
-
*
|
|
3506
|
-
*
|
|
3507
|
-
* -
|
|
3536
|
+
* - **sl-click** - Emitted when the button is clicked.
|
|
3537
|
+
*
|
|
3538
|
+
* ### **Slots:**
|
|
3539
|
+
* - _default_ - The button's icon content.
|
|
3540
|
+
* - **content** - Optional text content (only visible when shape is square).
|
|
3541
|
+
*
|
|
3542
|
+
* ### **CSS Parts:**
|
|
3543
|
+
* - **base** - The button's base wrapper.
|
|
3544
|
+
* - **icon** - The icon container.
|
|
3545
|
+
* - **content** - The text content container.
|
|
3508
3546
|
*/
|
|
3509
|
-
"sl-
|
|
3547
|
+
"sl-float-button": DefineComponent<SlFloatButtonProps>;
|
|
3510
3548
|
|
|
3511
3549
|
/**
|
|
3512
3550
|
* Formats a number as a human readable bytes value.
|
|
@@ -3515,6 +3553,47 @@ export type CustomElements = {
|
|
|
3515
3553
|
*/
|
|
3516
3554
|
"sl-format-bytes": DefineComponent<SlFormatBytesProps>;
|
|
3517
3555
|
|
|
3556
|
+
/**
|
|
3557
|
+
* Date range inputs allow users to select a range of dates.
|
|
3558
|
+
* ---
|
|
3559
|
+
*
|
|
3560
|
+
*
|
|
3561
|
+
* ### **Events:**
|
|
3562
|
+
* - **sl-blur** - Emitted when the control loses focus.
|
|
3563
|
+
* - **sl-change** - Emitted when an alteration to the control's value is committed by the user.
|
|
3564
|
+
* - **sl-focus** - Emitted when the control gains focus.
|
|
3565
|
+
* - **sl-input** - Emitted when the control receives input.
|
|
3566
|
+
* - **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
3567
|
+
* - **sl-clear** - Emitted when the clear button is activated.
|
|
3568
|
+
*
|
|
3569
|
+
* ### **Methods:**
|
|
3570
|
+
* - **checkValidity()** - 检查有效性并触发 sl-invalid 事件(如果无效)
|
|
3571
|
+
* - **getForm(): _HTMLFormElement | null_** - 获取表单引用
|
|
3572
|
+
* - **reportValidity()** - 检查有效性并显示浏览器原生的有效性提示
|
|
3573
|
+
* - **setCustomValidity(message: _string_)** - 设置自定义有效性消息
|
|
3574
|
+
* - **focus(options: _FocusOptions_)** - 聚焦到开始日期输入框并打开面板
|
|
3575
|
+
* - **blur()** - 移除焦点并关闭面板
|
|
3576
|
+
*
|
|
3577
|
+
* ### **Slots:**
|
|
3578
|
+
* - **label** - The input's label. Alternatively, you can use the `label` attribute.
|
|
3579
|
+
* - **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
|
|
3580
|
+
*
|
|
3581
|
+
* ### **CSS Parts:**
|
|
3582
|
+
* - **form-control** - The form control that wraps the label, input, and help text.
|
|
3583
|
+
* - **form-control-label** - The label's wrapper.
|
|
3584
|
+
* - **form-control-input** - The input's wrapper.
|
|
3585
|
+
* - **form-control-help-text** - The help text's wrapper.
|
|
3586
|
+
* - **base** - The component's base wrapper.
|
|
3587
|
+
* - **start-input** - The internal `<input>` for the start date.
|
|
3588
|
+
* - **end-input** - The internal `<input>` for the end date.
|
|
3589
|
+
* - **separator** - The separator between the two inputs.
|
|
3590
|
+
* - **suffix** - The container that wraps the suffix icon.
|
|
3591
|
+
* - **clear-button** - The clear button.
|
|
3592
|
+
* - **popup** - The popup that contains the calendars.
|
|
3593
|
+
* - **calendars** - The container that wraps the calendars.
|
|
3594
|
+
*/
|
|
3595
|
+
"sl-daterangepicker": DefineComponent<SlDaterangepickerProps>;
|
|
3596
|
+
|
|
3518
3597
|
/**
|
|
3519
3598
|
* Formats a date/time using the specified locale and options.
|
|
3520
3599
|
* ---
|
|
@@ -3549,97 +3628,96 @@ export type CustomElements = {
|
|
|
3549
3628
|
"sl-icon-button": DefineComponent<SlIconButtonProps>;
|
|
3550
3629
|
|
|
3551
3630
|
/**
|
|
3552
|
-
*
|
|
3631
|
+
* Compare visual differences between similar photos with a sliding panel.
|
|
3553
3632
|
* ---
|
|
3554
3633
|
*
|
|
3555
3634
|
*
|
|
3556
3635
|
* ### **Events:**
|
|
3557
|
-
* - **sl-
|
|
3636
|
+
* - **sl-change** - Emitted when the position changes.
|
|
3558
3637
|
*
|
|
3559
3638
|
* ### **Slots:**
|
|
3560
|
-
* -
|
|
3561
|
-
* - **
|
|
3639
|
+
* - **before** - The before image, an `<img>` or `<svg>` element.
|
|
3640
|
+
* - **after** - The after image, an `<img>` or `<svg>` element.
|
|
3641
|
+
* - **handle** - The icon used inside the handle.
|
|
3642
|
+
*
|
|
3643
|
+
* ### **CSS Properties:**
|
|
3644
|
+
* - **--divider-width** - The width of the dividing line. _(default: undefined)_
|
|
3645
|
+
* - **--handle-size** - The size of the compare handle. _(default: undefined)_
|
|
3562
3646
|
*
|
|
3563
3647
|
* ### **CSS Parts:**
|
|
3564
|
-
* - **base** - The
|
|
3565
|
-
* - **
|
|
3566
|
-
* - **
|
|
3648
|
+
* - **base** - The component's base wrapper.
|
|
3649
|
+
* - **before** - The container that wraps the before image.
|
|
3650
|
+
* - **after** - The container that wraps the after image.
|
|
3651
|
+
* - **divider** - The divider that separates the images.
|
|
3652
|
+
* - **handle** - The handle that the user drags to expose the after image.
|
|
3567
3653
|
*/
|
|
3568
|
-
"sl-
|
|
3654
|
+
"sl-image-comparer": DefineComponent<SlImageComparerProps>;
|
|
3569
3655
|
|
|
3570
3656
|
/**
|
|
3571
|
-
*
|
|
3657
|
+
* 图片预览组,支持多张图片切换预览。对齐 Ant Design Image.PreviewGroup API。
|
|
3572
3658
|
* ---
|
|
3573
3659
|
*
|
|
3574
3660
|
*
|
|
3575
3661
|
* ### **Events:**
|
|
3576
|
-
* - **sl-
|
|
3577
|
-
* - **sl-
|
|
3662
|
+
* - **sl-preview-open** - 预览打开时触发
|
|
3663
|
+
* - **sl-preview-close** - 预览关闭时触发
|
|
3664
|
+
* - **sl-preview-change** - 预览图片切换时触发,detail 包含 { current, prev }
|
|
3578
3665
|
*
|
|
3579
3666
|
* ### **Slots:**
|
|
3580
|
-
* - _default_ -
|
|
3581
|
-
* - **trigger-icon** - Custom icon for the trigger button.
|
|
3582
|
-
* - **close-icon** - Custom icon shown when the menu is open.
|
|
3583
|
-
*
|
|
3584
|
-
* ### **CSS Parts:**
|
|
3585
|
-
* - **base** - The group's base wrapper.
|
|
3586
|
-
* - **list** - The container for the float button items.
|
|
3587
|
-
* - **trigger** - The trigger button (menu mode only).
|
|
3588
|
-
* - **trigger-icon** - The trigger button's icon.
|
|
3589
|
-
*/
|
|
3590
|
-
"sl-float-button-group": DefineComponent<SlFloatButtonGroupProps>;
|
|
3591
|
-
|
|
3592
|
-
/**
|
|
3593
|
-
* Icons are symbols that can be used to represent various options within an application.
|
|
3594
|
-
* ---
|
|
3595
|
-
*
|
|
3596
|
-
*
|
|
3597
|
-
* ### **Events:**
|
|
3598
|
-
* - **sl-load** - Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit.
|
|
3599
|
-
* - **sl-error** - Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit.
|
|
3667
|
+
* - _default_ - 默认插槽,放置 sl-image 组件
|
|
3600
3668
|
*
|
|
3601
3669
|
* ### **CSS Parts:**
|
|
3602
|
-
* - **
|
|
3603
|
-
* - **
|
|
3670
|
+
* - **preview-mask** - 预览遮罩背景
|
|
3671
|
+
* - **preview-body** - 预览主体
|
|
3672
|
+
* - **preview-img** - 预览图片
|
|
3673
|
+
* - **preview-actions** - 预览工具栏
|
|
3674
|
+
* - **preview-close** - 预览关闭按钮
|
|
3675
|
+
* - **preview-counter** - 预览计数器
|
|
3604
3676
|
*/
|
|
3605
|
-
"sl-
|
|
3677
|
+
"sl-image-preview-group": DefineComponent<SlImagePreviewGroupProps>;
|
|
3606
3678
|
|
|
3607
3679
|
/**
|
|
3608
|
-
*
|
|
3680
|
+
* 图片组件,支持预览、缩放、旋转、翻转等功能。
|
|
3609
3681
|
* ---
|
|
3610
3682
|
*
|
|
3611
3683
|
*
|
|
3612
3684
|
* ### **Events:**
|
|
3613
|
-
* - **sl-
|
|
3685
|
+
* - **sl-image-click** - 在 group 模式下点击图片时触发
|
|
3686
|
+
* - **sl-preview-open** - 预览打开时触发
|
|
3687
|
+
* - **sl-preview-close** - 预览关闭时触发
|
|
3688
|
+
* - **sl-error** - 图片加载失败时触发
|
|
3689
|
+
* - **sl-load** - 图片加载成功时触发
|
|
3614
3690
|
*
|
|
3615
3691
|
* ### **Slots:**
|
|
3616
|
-
* - **
|
|
3617
|
-
* - **
|
|
3618
|
-
* - **handle** - The icon used inside the handle.
|
|
3619
|
-
*
|
|
3620
|
-
* ### **CSS Properties:**
|
|
3621
|
-
* - **--divider-width** - The width of the dividing line. _(default: undefined)_
|
|
3622
|
-
* - **--handle-size** - The size of the compare handle. _(default: undefined)_
|
|
3692
|
+
* - **cover** - 自定义遮罩层内容
|
|
3693
|
+
* - **placeholder** - 自定义加载占位内容
|
|
3623
3694
|
*
|
|
3624
3695
|
* ### **CSS Parts:**
|
|
3625
|
-
* - **base** -
|
|
3626
|
-
* - **
|
|
3627
|
-
* - **
|
|
3628
|
-
* - **
|
|
3629
|
-
* - **
|
|
3696
|
+
* - **base** - 组件根容器
|
|
3697
|
+
* - **img** - 图片元素
|
|
3698
|
+
* - **cover** - 遮罩层
|
|
3699
|
+
* - **preview-mask** - 预览遮罩背景
|
|
3700
|
+
* - **preview-body** - 预览主体
|
|
3701
|
+
* - **preview-img** - 预览图片
|
|
3702
|
+
* - **preview-actions** - 预览工具栏
|
|
3703
|
+
* - **preview-close** - 预览关闭按钮
|
|
3630
3704
|
*/
|
|
3631
|
-
"sl-image
|
|
3705
|
+
"sl-image": DefineComponent<SlImageProps>;
|
|
3632
3706
|
|
|
3633
3707
|
/**
|
|
3634
|
-
*
|
|
3708
|
+
* Icons are symbols that can be used to represent various options within an application.
|
|
3635
3709
|
* ---
|
|
3636
3710
|
*
|
|
3637
3711
|
*
|
|
3638
3712
|
* ### **Events:**
|
|
3639
|
-
* - **sl-load** - Emitted when the
|
|
3640
|
-
* - **sl-error** - Emitted when the
|
|
3713
|
+
* - **sl-load** - Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit.
|
|
3714
|
+
* - **sl-error** - Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit.
|
|
3715
|
+
*
|
|
3716
|
+
* ### **CSS Parts:**
|
|
3717
|
+
* - **svg** - The internal SVG element.
|
|
3718
|
+
* - **use** - The <use> element generated when using `spriteSheet: true`
|
|
3641
3719
|
*/
|
|
3642
|
-
"sl-
|
|
3720
|
+
"sl-icon": DefineComponent<SlIconProps>;
|
|
3643
3721
|
|
|
3644
3722
|
/**
|
|
3645
3723
|
* Inputs collect data from the user.
|
|
@@ -3692,27 +3770,28 @@ export type CustomElements = {
|
|
|
3692
3770
|
"sl-input": DefineComponent<SlInputProps>;
|
|
3693
3771
|
|
|
3694
3772
|
/**
|
|
3695
|
-
*
|
|
3773
|
+
* Menus provide a list of options for the user to choose from.
|
|
3696
3774
|
* ---
|
|
3697
3775
|
*
|
|
3698
3776
|
*
|
|
3699
3777
|
* ### **Events:**
|
|
3700
|
-
* - **sl-
|
|
3701
|
-
* - **sl-preview-close** - 预览关闭时触发
|
|
3702
|
-
* - **sl-preview-change** - 预览图片切换时触发,detail 包含 { current, prev }
|
|
3778
|
+
* - **sl-select** - Emitted when a menu item is selected.
|
|
3703
3779
|
*
|
|
3704
3780
|
* ### **Slots:**
|
|
3705
|
-
* - _default_ -
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
*
|
|
3711
|
-
*
|
|
3712
|
-
*
|
|
3713
|
-
*
|
|
3781
|
+
* - _default_ - The menu's content, including menu items, menu labels, and dividers.
|
|
3782
|
+
*/
|
|
3783
|
+
"sl-menu": DefineComponent<SlMenuProps>;
|
|
3784
|
+
|
|
3785
|
+
/**
|
|
3786
|
+
* Includes give you the power to embed external HTML files into the page.
|
|
3787
|
+
* ---
|
|
3788
|
+
*
|
|
3789
|
+
*
|
|
3790
|
+
* ### **Events:**
|
|
3791
|
+
* - **sl-load** - Emitted when the included file is loaded.
|
|
3792
|
+
* - **sl-error** - Emitted when the included file fails to load due to an error.
|
|
3714
3793
|
*/
|
|
3715
|
-
"sl-
|
|
3794
|
+
"sl-include": DefineComponent<SlIncludeProps>;
|
|
3716
3795
|
|
|
3717
3796
|
/**
|
|
3718
3797
|
* Menu items provide options for the user to pick from in a menu.
|
|
@@ -3744,71 +3823,48 @@ export type CustomElements = {
|
|
|
3744
3823
|
"sl-menu-item": DefineComponent<SlMenuItemProps>;
|
|
3745
3824
|
|
|
3746
3825
|
/**
|
|
3747
|
-
*
|
|
3826
|
+
* Menu labels are used to describe a group of menu items.
|
|
3748
3827
|
* ---
|
|
3749
3828
|
*
|
|
3750
3829
|
*
|
|
3751
|
-
* ### **Events:**
|
|
3752
|
-
* - **sl-image-click** - 在 group 模式下点击图片时触发
|
|
3753
|
-
* - **sl-preview-open** - 预览打开时触发
|
|
3754
|
-
* - **sl-preview-close** - 预览关闭时触发
|
|
3755
|
-
* - **sl-error** - 图片加载失败时触发
|
|
3756
|
-
* - **sl-load** - 图片加载成功时触发
|
|
3757
|
-
*
|
|
3758
3830
|
* ### **Slots:**
|
|
3759
|
-
* -
|
|
3760
|
-
* - **placeholder** - 自定义加载占位内容
|
|
3831
|
+
* - _default_ - The menu label's content.
|
|
3761
3832
|
*
|
|
3762
3833
|
* ### **CSS Parts:**
|
|
3763
|
-
* - **base** -
|
|
3764
|
-
* - **img** - 图片元素
|
|
3765
|
-
* - **cover** - 遮罩层
|
|
3766
|
-
* - **preview-mask** - 预览遮罩背景
|
|
3767
|
-
* - **preview-body** - 预览主体
|
|
3768
|
-
* - **preview-img** - 预览图片
|
|
3769
|
-
* - **preview-actions** - 预览工具栏
|
|
3770
|
-
* - **preview-close** - 预览关闭按钮
|
|
3834
|
+
* - **base** - The component's base wrapper.
|
|
3771
3835
|
*/
|
|
3772
|
-
"sl-
|
|
3836
|
+
"sl-menu-label": DefineComponent<SlMenuLabelProps>;
|
|
3773
3837
|
|
|
3774
3838
|
/**
|
|
3775
|
-
*
|
|
3839
|
+
* The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).
|
|
3776
3840
|
* ---
|
|
3777
3841
|
*
|
|
3778
3842
|
*
|
|
3779
3843
|
* ### **Events:**
|
|
3780
|
-
* - **sl-
|
|
3844
|
+
* - **sl-mutation** - Emitted when a mutation occurs.
|
|
3781
3845
|
*
|
|
3782
3846
|
* ### **Slots:**
|
|
3783
|
-
* - _default_ - The
|
|
3847
|
+
* - _default_ - The content to watch for mutations.
|
|
3784
3848
|
*/
|
|
3785
|
-
"sl-
|
|
3849
|
+
"sl-mutation-observer": DefineComponent<SlMutationObserverProps>;
|
|
3786
3850
|
|
|
3787
3851
|
/**
|
|
3788
|
-
*
|
|
3852
|
+
* Navs are used to create navigation menus, including top bars and sidebars.
|
|
3789
3853
|
* ---
|
|
3790
3854
|
*
|
|
3791
3855
|
*
|
|
3856
|
+
* ### **Events:**
|
|
3857
|
+
* - **sl-change** - Emitted when the selected nav item changes.
|
|
3858
|
+
* - **sl-nav-open-change** - Emitted when the open submenu keys change.
|
|
3859
|
+
* - **sl-nav-select** - Emitted when a nav item is selected.
|
|
3860
|
+
*
|
|
3792
3861
|
* ### **Slots:**
|
|
3793
|
-
* - _default_ - The
|
|
3862
|
+
* - _default_ - The nav items.
|
|
3794
3863
|
*
|
|
3795
3864
|
* ### **CSS Parts:**
|
|
3796
3865
|
* - **base** - The component's base wrapper.
|
|
3797
3866
|
*/
|
|
3798
|
-
"sl-
|
|
3799
|
-
|
|
3800
|
-
/**
|
|
3801
|
-
* The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).
|
|
3802
|
-
* ---
|
|
3803
|
-
*
|
|
3804
|
-
*
|
|
3805
|
-
* ### **Events:**
|
|
3806
|
-
* - **sl-mutation** - Emitted when a mutation occurs.
|
|
3807
|
-
*
|
|
3808
|
-
* ### **Slots:**
|
|
3809
|
-
* - _default_ - The content to watch for mutations.
|
|
3810
|
-
*/
|
|
3811
|
-
"sl-mutation-observer": DefineComponent<SlMutationObserverProps>;
|
|
3867
|
+
"sl-nav": DefineComponent<SlNavProps>;
|
|
3812
3868
|
|
|
3813
3869
|
/**
|
|
3814
3870
|
* Nav groups are used to group related nav items.
|
|
@@ -3882,56 +3938,6 @@ export type CustomElements = {
|
|
|
3882
3938
|
*/
|
|
3883
3939
|
"sl-nav-submenu": DefineComponent<SlNavSubmenuProps>;
|
|
3884
3940
|
|
|
3885
|
-
/**
|
|
3886
|
-
* Options define the selectable items within various form controls such as [select](/components/select).
|
|
3887
|
-
* ---
|
|
3888
|
-
*
|
|
3889
|
-
*
|
|
3890
|
-
* ### **Methods:**
|
|
3891
|
-
* - **getTextLabel()** - Returns a plain text label based on the option's content.
|
|
3892
|
-
*
|
|
3893
|
-
* ### **Slots:**
|
|
3894
|
-
* - _default_ - The option's label.
|
|
3895
|
-
* - **prefix** - Used to prepend an icon or similar element to the menu item.
|
|
3896
|
-
* - **suffix** - Used to append an icon or similar element to the menu item.
|
|
3897
|
-
*
|
|
3898
|
-
* ### **CSS Parts:**
|
|
3899
|
-
* - **checked-icon** - The checked icon, an `<sl-icon>` element.
|
|
3900
|
-
* - **base** - The component's base wrapper.
|
|
3901
|
-
* - **label** - The option's label.
|
|
3902
|
-
* - **prefix** - The container that wraps the prefix.
|
|
3903
|
-
* - **suffix** - The container that wraps the suffix.
|
|
3904
|
-
*/
|
|
3905
|
-
"sl-option": DefineComponent<SlOptionProps>;
|
|
3906
|
-
|
|
3907
|
-
/**
|
|
3908
|
-
* Popup is a utility that lets you declaratively anchor "popup" containers to another element.
|
|
3909
|
-
* ---
|
|
3910
|
-
*
|
|
3911
|
-
*
|
|
3912
|
-
* ### **Events:**
|
|
3913
|
-
* - **sl-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.
|
|
3914
|
-
*
|
|
3915
|
-
* ### **Methods:**
|
|
3916
|
-
* - **reposition()** - Forces the popup to recalculate and reposition itself.
|
|
3917
|
-
*
|
|
3918
|
-
* ### **Slots:**
|
|
3919
|
-
* - _default_ - The popup's content.
|
|
3920
|
-
* - **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.
|
|
3921
|
-
*
|
|
3922
|
-
* ### **CSS Properties:**
|
|
3923
|
-
* - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_
|
|
3924
|
-
* - **--arrow-color** - The color of the arrow. _(default: var(--sl-color-neutral-0))_
|
|
3925
|
-
* - **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_
|
|
3926
|
-
* - **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_
|
|
3927
|
-
*
|
|
3928
|
-
* ### **CSS Parts:**
|
|
3929
|
-
* - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.
|
|
3930
|
-
* - **popup** - The popup's container. Useful for setting a background color, box shadow, etc.
|
|
3931
|
-
* - **hover-bridge** - The hover bridge element. Only available when the `hover-bridge` option is enabled.
|
|
3932
|
-
*/
|
|
3933
|
-
"sl-popup": DefineComponent<SlPopupProps>;
|
|
3934
|
-
|
|
3935
3941
|
/**
|
|
3936
3942
|
* Notifications are used to display global messages as feedback in response to user actions.
|
|
3937
3943
|
* ---
|
|
@@ -3975,22 +3981,61 @@ export type CustomElements = {
|
|
|
3975
3981
|
"sl-notification": DefineComponent<SlNotificationProps>;
|
|
3976
3982
|
|
|
3977
3983
|
/**
|
|
3978
|
-
*
|
|
3984
|
+
* Options define the selectable items within various form controls such as [select](/components/select).
|
|
3985
|
+
* ---
|
|
3986
|
+
*
|
|
3987
|
+
*
|
|
3988
|
+
* ### **Methods:**
|
|
3989
|
+
* - **getTextLabel()** - Returns a plain text label based on the option's content.
|
|
3990
|
+
*
|
|
3991
|
+
* ### **Slots:**
|
|
3992
|
+
* - _default_ - The option's label.
|
|
3993
|
+
* - **prefix** - Used to prepend an icon or similar element to the menu item.
|
|
3994
|
+
* - **suffix** - Used to append an icon or similar element to the menu item.
|
|
3995
|
+
*
|
|
3996
|
+
* ### **CSS Parts:**
|
|
3997
|
+
* - **checked-icon** - The checked icon, an `<sl-icon>` element.
|
|
3998
|
+
* - **base** - The component's base wrapper.
|
|
3999
|
+
* - **label** - The option's label.
|
|
4000
|
+
* - **prefix** - The container that wraps the prefix.
|
|
4001
|
+
* - **suffix** - The container that wraps the suffix.
|
|
4002
|
+
*/
|
|
4003
|
+
"sl-option": DefineComponent<SlOptionProps>;
|
|
4004
|
+
|
|
4005
|
+
/**
|
|
4006
|
+
*
|
|
4007
|
+
* ---
|
|
4008
|
+
*
|
|
4009
|
+
*/
|
|
4010
|
+
"sl-pagination": DefineComponent<SlPaginationProps>;
|
|
4011
|
+
|
|
4012
|
+
/**
|
|
4013
|
+
* Popup is a utility that lets you declaratively anchor "popup" containers to another element.
|
|
3979
4014
|
* ---
|
|
3980
4015
|
*
|
|
3981
4016
|
*
|
|
3982
4017
|
* ### **Events:**
|
|
3983
|
-
* - **sl-
|
|
3984
|
-
*
|
|
3985
|
-
*
|
|
4018
|
+
* - **sl-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.
|
|
4019
|
+
*
|
|
4020
|
+
* ### **Methods:**
|
|
4021
|
+
* - **reposition()** - Forces the popup to recalculate and reposition itself.
|
|
3986
4022
|
*
|
|
3987
4023
|
* ### **Slots:**
|
|
3988
|
-
* - _default_ - The
|
|
4024
|
+
* - _default_ - The popup's content.
|
|
4025
|
+
* - **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.
|
|
4026
|
+
*
|
|
4027
|
+
* ### **CSS Properties:**
|
|
4028
|
+
* - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_
|
|
4029
|
+
* - **--arrow-color** - The color of the arrow. _(default: var(--sl-color-neutral-0))_
|
|
4030
|
+
* - **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_
|
|
4031
|
+
* - **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_
|
|
3989
4032
|
*
|
|
3990
4033
|
* ### **CSS Parts:**
|
|
3991
|
-
* - **
|
|
4034
|
+
* - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.
|
|
4035
|
+
* - **popup** - The popup's container. Useful for setting a background color, box shadow, etc.
|
|
4036
|
+
* - **hover-bridge** - The hover bridge element. Only available when the `hover-bridge` option is enabled.
|
|
3992
4037
|
*/
|
|
3993
|
-
"sl-
|
|
4038
|
+
"sl-popup": DefineComponent<SlPopupProps>;
|
|
3994
4039
|
|
|
3995
4040
|
/**
|
|
3996
4041
|
* Progress rings are used to show the progress of a determinate operation in a circular fashion.
|
|
@@ -4035,13 +4080,6 @@ export type CustomElements = {
|
|
|
4035
4080
|
*/
|
|
4036
4081
|
"sl-progress-bar": DefineComponent<SlProgressBarProps>;
|
|
4037
4082
|
|
|
4038
|
-
/**
|
|
4039
|
-
*
|
|
4040
|
-
* ---
|
|
4041
|
-
*
|
|
4042
|
-
*/
|
|
4043
|
-
"sl-pagination": DefineComponent<SlPaginationProps>;
|
|
4044
|
-
|
|
4045
4083
|
/**
|
|
4046
4084
|
* Generates a [QR code](https://www.qrcode.com/) and renders it using the [Canvas API](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API).
|
|
4047
4085
|
* ---
|
|
@@ -4106,6 +4144,75 @@ export type CustomElements = {
|
|
|
4106
4144
|
*/
|
|
4107
4145
|
"sl-radio-group": DefineComponent<SlRadioGroupProps>;
|
|
4108
4146
|
|
|
4147
|
+
/**
|
|
4148
|
+
* Ranges allow the user to select a single value within a given range using a slider.
|
|
4149
|
+
* ---
|
|
4150
|
+
*
|
|
4151
|
+
*
|
|
4152
|
+
* ### **Events:**
|
|
4153
|
+
* - **sl-blur** - Emitted when the control loses focus.
|
|
4154
|
+
* - **sl-change** - Emitted when an alteration to the control's value is committed by the user.
|
|
4155
|
+
* - **sl-focus** - Emitted when the control gains focus.
|
|
4156
|
+
* - **sl-input** - Emitted when the control receives input.
|
|
4157
|
+
* - **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
4158
|
+
*
|
|
4159
|
+
* ### **Methods:**
|
|
4160
|
+
* - **focus(options: _FocusOptions_)** - Sets focus on the range.
|
|
4161
|
+
* - **blur()** - Removes focus from the range.
|
|
4162
|
+
* - **stepUp()** - Increments the value of the range by the value of the step attribute.
|
|
4163
|
+
* - **stepDown()** - Decrements the value of the range by the value of the step attribute.
|
|
4164
|
+
* - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.
|
|
4165
|
+
* - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.
|
|
4166
|
+
* - **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.
|
|
4167
|
+
* - **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.
|
|
4168
|
+
*
|
|
4169
|
+
* ### **Slots:**
|
|
4170
|
+
* - **label** - The range's label. Alternatively, you can use the `label` attribute.
|
|
4171
|
+
* - **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
|
|
4172
|
+
*
|
|
4173
|
+
* ### **CSS Properties:**
|
|
4174
|
+
* - **--thumb-size** - The size of the thumb. _(default: undefined)_
|
|
4175
|
+
* - **--tooltip-offset** - The vertical distance the tooltip is offset from the track. _(default: undefined)_
|
|
4176
|
+
* - **--track-color-active** - The color of the portion of the track that represents the current value. _(default: undefined)_
|
|
4177
|
+
* - **--track-color-inactive** - The of the portion of the track that represents the remaining value. _(default: undefined)_
|
|
4178
|
+
* - **--track-height** - The height of the track. _(default: undefined)_
|
|
4179
|
+
* - **--track-active-offset** - The point of origin of the active track. _(default: undefined)_
|
|
4180
|
+
*
|
|
4181
|
+
* ### **CSS Parts:**
|
|
4182
|
+
* - **form-control** - The form control that wraps the label, input, and help text.
|
|
4183
|
+
* - **form-control-label** - The label's wrapper.
|
|
4184
|
+
* - **form-control-input** - The range's wrapper.
|
|
4185
|
+
* - **form-control-help-text** - The help text's wrapper.
|
|
4186
|
+
* - **base** - The component's base wrapper.
|
|
4187
|
+
* - **input** - The internal `<input>` element.
|
|
4188
|
+
* - **tooltip** - The range's tooltip.
|
|
4189
|
+
*/
|
|
4190
|
+
"sl-range": DefineComponent<SlRangeProps>;
|
|
4191
|
+
|
|
4192
|
+
/**
|
|
4193
|
+
* Ratings give users a way to quickly view and provide feedback.
|
|
4194
|
+
* ---
|
|
4195
|
+
*
|
|
4196
|
+
*
|
|
4197
|
+
* ### **Events:**
|
|
4198
|
+
* - **sl-change** - Emitted when the rating's value changes.
|
|
4199
|
+
* - **sl-hover** - Emitted when the user hovers over a value. The `phase` property indicates when hovering starts, moves to a new value, or ends. The `value` property tells what the rating's value would be if the user were to commit to the hovered value.
|
|
4200
|
+
*
|
|
4201
|
+
* ### **Methods:**
|
|
4202
|
+
* - **focus(options: _FocusOptions_)** - Sets focus on the rating.
|
|
4203
|
+
* - **blur()** - Removes focus from the rating.
|
|
4204
|
+
*
|
|
4205
|
+
* ### **CSS Properties:**
|
|
4206
|
+
* - **--symbol-color** - The inactive color for symbols. _(default: undefined)_
|
|
4207
|
+
* - **--symbol-color-active** - The active color for symbols. _(default: undefined)_
|
|
4208
|
+
* - **--symbol-size** - The size of symbols. _(default: undefined)_
|
|
4209
|
+
* - **--symbol-spacing** - The spacing to use around symbols. _(default: undefined)_
|
|
4210
|
+
*
|
|
4211
|
+
* ### **CSS Parts:**
|
|
4212
|
+
* - **base** - The component's base wrapper.
|
|
4213
|
+
*/
|
|
4214
|
+
"sl-rating": DefineComponent<SlRatingProps>;
|
|
4215
|
+
|
|
4109
4216
|
/**
|
|
4110
4217
|
* Radios buttons allow the user to select a single option from a group using a button-like control.
|
|
4111
4218
|
* ---
|
|
@@ -4135,28 +4242,17 @@ export type CustomElements = {
|
|
|
4135
4242
|
"sl-radio-button": DefineComponent<SlRadioButtonProps>;
|
|
4136
4243
|
|
|
4137
4244
|
/**
|
|
4138
|
-
*
|
|
4245
|
+
* The Resize Observer component offers a thin, declarative interface to the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
|
4139
4246
|
* ---
|
|
4140
4247
|
*
|
|
4141
4248
|
*
|
|
4142
4249
|
* ### **Events:**
|
|
4143
|
-
* - **sl-
|
|
4144
|
-
* - **sl-hover** - Emitted when the user hovers over a value. The `phase` property indicates when hovering starts, moves to a new value, or ends. The `value` property tells what the rating's value would be if the user were to commit to the hovered value.
|
|
4145
|
-
*
|
|
4146
|
-
* ### **Methods:**
|
|
4147
|
-
* - **focus(options: _FocusOptions_)** - Sets focus on the rating.
|
|
4148
|
-
* - **blur()** - Removes focus from the rating.
|
|
4149
|
-
*
|
|
4150
|
-
* ### **CSS Properties:**
|
|
4151
|
-
* - **--symbol-color** - The inactive color for symbols. _(default: undefined)_
|
|
4152
|
-
* - **--symbol-color-active** - The active color for symbols. _(default: undefined)_
|
|
4153
|
-
* - **--symbol-size** - The size of symbols. _(default: undefined)_
|
|
4154
|
-
* - **--symbol-spacing** - The spacing to use around symbols. _(default: undefined)_
|
|
4250
|
+
* - **sl-resize** - Emitted when the element is resized.
|
|
4155
4251
|
*
|
|
4156
|
-
* ### **
|
|
4157
|
-
* -
|
|
4252
|
+
* ### **Slots:**
|
|
4253
|
+
* - _default_ - One or more elements to watch for resizing.
|
|
4158
4254
|
*/
|
|
4159
|
-
"sl-
|
|
4255
|
+
"sl-resize-observer": DefineComponent<SlResizeObserverProps>;
|
|
4160
4256
|
|
|
4161
4257
|
/**
|
|
4162
4258
|
* Outputs a localized time phrase relative to the current date and time.
|
|
@@ -4166,62 +4262,38 @@ export type CustomElements = {
|
|
|
4166
4262
|
"sl-relative-time": DefineComponent<SlRelativeTimeProps>;
|
|
4167
4263
|
|
|
4168
4264
|
/**
|
|
4169
|
-
*
|
|
4265
|
+
* Row component for grid layout system.
|
|
4170
4266
|
* ---
|
|
4171
4267
|
*
|
|
4172
4268
|
*
|
|
4173
|
-
* ### **Events:**
|
|
4174
|
-
* - **sl-blur** - Emitted when the control loses focus.
|
|
4175
|
-
* - **sl-change** - Emitted when an alteration to the control's value is committed by the user.
|
|
4176
|
-
* - **sl-focus** - Emitted when the control gains focus.
|
|
4177
|
-
* - **sl-input** - Emitted when the control receives input.
|
|
4178
|
-
* - **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
4179
|
-
*
|
|
4180
|
-
* ### **Methods:**
|
|
4181
|
-
* - **focus(options: _FocusOptions_)** - Sets focus on the range.
|
|
4182
|
-
* - **blur()** - Removes focus from the range.
|
|
4183
|
-
* - **stepUp()** - Increments the value of the range by the value of the step attribute.
|
|
4184
|
-
* - **stepDown()** - Decrements the value of the range by the value of the step attribute.
|
|
4185
|
-
* - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.
|
|
4186
|
-
* - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.
|
|
4187
|
-
* - **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.
|
|
4188
|
-
* - **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.
|
|
4189
|
-
*
|
|
4190
4269
|
* ### **Slots:**
|
|
4191
|
-
* -
|
|
4192
|
-
* - **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
|
|
4193
|
-
*
|
|
4194
|
-
* ### **CSS Properties:**
|
|
4195
|
-
* - **--thumb-size** - The size of the thumb. _(default: undefined)_
|
|
4196
|
-
* - **--tooltip-offset** - The vertical distance the tooltip is offset from the track. _(default: undefined)_
|
|
4197
|
-
* - **--track-color-active** - The color of the portion of the track that represents the current value. _(default: undefined)_
|
|
4198
|
-
* - **--track-color-inactive** - The of the portion of the track that represents the remaining value. _(default: undefined)_
|
|
4199
|
-
* - **--track-height** - The height of the track. _(default: undefined)_
|
|
4200
|
-
* - **--track-active-offset** - The point of origin of the active track. _(default: undefined)_
|
|
4270
|
+
* - _default_ - The default slot for Col components.
|
|
4201
4271
|
*
|
|
4202
4272
|
* ### **CSS Parts:**
|
|
4203
|
-
* - **
|
|
4204
|
-
* - **form-control-label** - The label's wrapper.
|
|
4205
|
-
* - **form-control-input** - The range's wrapper.
|
|
4206
|
-
* - **form-control-help-text** - The help text's wrapper.
|
|
4207
|
-
* - **base** - The component's base wrapper.
|
|
4208
|
-
* - **input** - The internal `<input>` element.
|
|
4209
|
-
* - **tooltip** - The range's tooltip.
|
|
4273
|
+
* - **base** - The component's base wrapper.
|
|
4210
4274
|
*/
|
|
4211
|
-
"sl-
|
|
4275
|
+
"sl-row": DefineComponent<SlRowProps>;
|
|
4212
4276
|
|
|
4213
4277
|
/**
|
|
4214
|
-
*
|
|
4278
|
+
* Screen is a grid layout component based on gridstack.js and Shoelace.
|
|
4215
4279
|
* ---
|
|
4216
4280
|
*
|
|
4217
4281
|
*
|
|
4218
|
-
* ### **
|
|
4219
|
-
* - **
|
|
4282
|
+
* ### **Methods:**
|
|
4283
|
+
* - **getGridData(): __** - 获取 GridStack 实例的序列化数据
|
|
4284
|
+
* - **getInstance(): __** - 获取 GridStack 实例的序列化数据
|
|
4220
4285
|
*
|
|
4221
|
-
* ### **
|
|
4222
|
-
* -
|
|
4286
|
+
* ### **CSS Parts:**
|
|
4287
|
+
* - **base** - The grid layout content.
|
|
4223
4288
|
*/
|
|
4224
|
-
"sl-
|
|
4289
|
+
"sl-screen": DefineComponent<SlScreenProps>;
|
|
4290
|
+
|
|
4291
|
+
/**
|
|
4292
|
+
*
|
|
4293
|
+
* ---
|
|
4294
|
+
*
|
|
4295
|
+
*/
|
|
4296
|
+
"sl-segmented": DefineComponent<SlSegmentedProps>;
|
|
4225
4297
|
|
|
4226
4298
|
/**
|
|
4227
4299
|
* Selects allow you to choose items from a menu of predefined options.
|
|
@@ -4280,94 +4352,6 @@ export type CustomElements = {
|
|
|
4280
4352
|
*/
|
|
4281
4353
|
"sl-select": DefineComponent<SlSelectProps>;
|
|
4282
4354
|
|
|
4283
|
-
/**
|
|
4284
|
-
* Row component for grid layout system.
|
|
4285
|
-
* ---
|
|
4286
|
-
*
|
|
4287
|
-
*
|
|
4288
|
-
* ### **Slots:**
|
|
4289
|
-
* - _default_ - The default slot for Col components.
|
|
4290
|
-
*
|
|
4291
|
-
* ### **CSS Parts:**
|
|
4292
|
-
* - **base** - The component's base wrapper.
|
|
4293
|
-
*/
|
|
4294
|
-
"sl-row": DefineComponent<SlRowProps>;
|
|
4295
|
-
|
|
4296
|
-
/**
|
|
4297
|
-
* Screen is a grid layout component based on gridstack.js and Shoelace.
|
|
4298
|
-
* ---
|
|
4299
|
-
*
|
|
4300
|
-
*
|
|
4301
|
-
* ### **Methods:**
|
|
4302
|
-
* - **getGridData(): __** - 获取 GridStack 实例的序列化数据
|
|
4303
|
-
* - **getInstance(): __** - 获取 GridStack 实例的序列化数据
|
|
4304
|
-
*
|
|
4305
|
-
* ### **CSS Parts:**
|
|
4306
|
-
* - **base** - The grid layout content.
|
|
4307
|
-
*/
|
|
4308
|
-
"sl-screen": DefineComponent<SlScreenProps>;
|
|
4309
|
-
|
|
4310
|
-
/**
|
|
4311
|
-
*
|
|
4312
|
-
* ---
|
|
4313
|
-
*
|
|
4314
|
-
*/
|
|
4315
|
-
"sl-segmented": DefineComponent<SlSegmentedProps>;
|
|
4316
|
-
|
|
4317
|
-
/**
|
|
4318
|
-
* Skeletons are used to provide a visual representation of where content will eventually be drawn.
|
|
4319
|
-
* ---
|
|
4320
|
-
*
|
|
4321
|
-
*
|
|
4322
|
-
* ### **CSS Properties:**
|
|
4323
|
-
* - **--border-radius** - The skeleton's border radius. _(default: undefined)_
|
|
4324
|
-
* - **--color** - The color of the skeleton. _(default: undefined)_
|
|
4325
|
-
* - **--sheen-color** - The sheen color when the skeleton is in its loading state. _(default: undefined)_
|
|
4326
|
-
*
|
|
4327
|
-
* ### **CSS Parts:**
|
|
4328
|
-
* - **base** - The component's base wrapper.
|
|
4329
|
-
* - **indicator** - The skeleton's indicator which is responsible for its color and animation.
|
|
4330
|
-
*/
|
|
4331
|
-
"sl-skeleton": DefineComponent<SlSkeletonProps>;
|
|
4332
|
-
|
|
4333
|
-
/**
|
|
4334
|
-
* Space 组件用于设置组件之间的间距。
|
|
4335
|
-
* ---
|
|
4336
|
-
*
|
|
4337
|
-
*
|
|
4338
|
-
* ### **Slots:**
|
|
4339
|
-
* - _default_ - 需要添加间距的子元素。
|
|
4340
|
-
*
|
|
4341
|
-
* ### **CSS Properties:**
|
|
4342
|
-
* - **--gap** - 自定义间距大小。 _(default: undefined)_
|
|
4343
|
-
*
|
|
4344
|
-
* ### **CSS Parts:**
|
|
4345
|
-
* - **base** - 组件的基础容器。
|
|
4346
|
-
* - **item** - 每个子元素的包装容器。
|
|
4347
|
-
* - **separator** - 分隔符容器。
|
|
4348
|
-
*/
|
|
4349
|
-
"sl-space": DefineComponent<SlSpaceProps>;
|
|
4350
|
-
|
|
4351
|
-
/**
|
|
4352
|
-
* A toggle switch button for the Sender component, supporting checked/unchecked states
|
|
4353
|
-
* with optional distinct content for each state.
|
|
4354
|
-
* ---
|
|
4355
|
-
*
|
|
4356
|
-
*
|
|
4357
|
-
* ### **Events:**
|
|
4358
|
-
* - **sl-change** - Emitted when the switch's checked state changes. Read `el.checked` for the new state.
|
|
4359
|
-
*
|
|
4360
|
-
* ### **Slots:**
|
|
4361
|
-
* - _default_ - The switch's default content (always shown).
|
|
4362
|
-
* - **icon** - The switch's icon.
|
|
4363
|
-
* - **checked** - Content shown only when checked.
|
|
4364
|
-
* - **unchecked** - Content shown only when unchecked.
|
|
4365
|
-
*
|
|
4366
|
-
* ### **CSS Parts:**
|
|
4367
|
-
* - **base** - The component's base wrapper (the button element).
|
|
4368
|
-
*/
|
|
4369
|
-
"sl-sender-switch": DefineComponent<SlSenderSwitchProps>;
|
|
4370
|
-
|
|
4371
4355
|
/**
|
|
4372
4356
|
* Senders are used to send messages. They support plain text input, structured slot-based input, speech recognition, skill tagging, and customizable header/footer/prefix/suffix areas.
|
|
4373
4357
|
* ---
|
|
@@ -4465,50 +4449,58 @@ export type CustomElements = {
|
|
|
4465
4449
|
"sl-sender-header": DefineComponent<SlSenderHeaderProps>;
|
|
4466
4450
|
|
|
4467
4451
|
/**
|
|
4468
|
-
*
|
|
4452
|
+
* A toggle switch button for the Sender component, supporting checked/unchecked states
|
|
4453
|
+
* with optional distinct content for each state.
|
|
4469
4454
|
* ---
|
|
4470
4455
|
*
|
|
4456
|
+
*
|
|
4457
|
+
* ### **Events:**
|
|
4458
|
+
* - **sl-change** - Emitted when the switch's checked state changes. Read `el.checked` for the new state.
|
|
4459
|
+
*
|
|
4460
|
+
* ### **Slots:**
|
|
4461
|
+
* - _default_ - The switch's default content (always shown).
|
|
4462
|
+
* - **icon** - The switch's icon.
|
|
4463
|
+
* - **checked** - Content shown only when checked.
|
|
4464
|
+
* - **unchecked** - Content shown only when unchecked.
|
|
4465
|
+
*
|
|
4466
|
+
* ### **CSS Parts:**
|
|
4467
|
+
* - **base** - The component's base wrapper (the button element).
|
|
4471
4468
|
*/
|
|
4472
|
-
"sl-
|
|
4469
|
+
"sl-sender-switch": DefineComponent<SlSenderSwitchProps>;
|
|
4473
4470
|
|
|
4474
4471
|
/**
|
|
4475
|
-
*
|
|
4472
|
+
* Skeletons are used to provide a visual representation of where content will eventually be drawn.
|
|
4476
4473
|
* ---
|
|
4477
4474
|
*
|
|
4478
4475
|
*
|
|
4479
|
-
* ### **
|
|
4480
|
-
* -
|
|
4481
|
-
* - **
|
|
4482
|
-
* -
|
|
4483
|
-
*
|
|
4484
|
-
*
|
|
4476
|
+
* ### **CSS Properties:**
|
|
4477
|
+
* - **--border-radius** - The skeleton's border radius. _(default: undefined)_
|
|
4478
|
+
* - **--color** - The color of the skeleton. _(default: undefined)_
|
|
4479
|
+
* - **--sheen-color** - The sheen color when the skeleton is in its loading state. _(default: undefined)_
|
|
4480
|
+
*
|
|
4481
|
+
* ### **CSS Parts:**
|
|
4482
|
+
* - **base** - The component's base wrapper.
|
|
4483
|
+
* - **indicator** - The skeleton's indicator which is responsible for its color and animation.
|
|
4484
|
+
*/
|
|
4485
|
+
"sl-skeleton": DefineComponent<SlSkeletonProps>;
|
|
4486
|
+
|
|
4487
|
+
/**
|
|
4488
|
+
* Space 组件用于设置组件之间的间距。
|
|
4489
|
+
* ---
|
|
4485
4490
|
*
|
|
4486
|
-
* ### **Methods:**
|
|
4487
|
-
* - **click()** - Simulates a click on the switch.
|
|
4488
|
-
* - **focus(options: _FocusOptions_)** - Sets focus on the switch.
|
|
4489
|
-
* - **blur()** - Removes focus from the switch.
|
|
4490
|
-
* - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.
|
|
4491
|
-
* - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.
|
|
4492
|
-
* - **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.
|
|
4493
|
-
* - **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.
|
|
4494
4491
|
*
|
|
4495
4492
|
* ### **Slots:**
|
|
4496
|
-
* - _default_ -
|
|
4497
|
-
* - **help-text** - Text that describes how to use the switch. Alternatively, you can use the `help-text` attribute.
|
|
4493
|
+
* - _default_ - 需要添加间距的子元素。
|
|
4498
4494
|
*
|
|
4499
4495
|
* ### **CSS Properties:**
|
|
4500
|
-
* - **--
|
|
4501
|
-
* - **--height** - The height of the switch. _(default: undefined)_
|
|
4502
|
-
* - **--thumb-size** - The size of the thumb. _(default: undefined)_
|
|
4496
|
+
* - **--gap** - 自定义间距大小。 _(default: undefined)_
|
|
4503
4497
|
*
|
|
4504
4498
|
* ### **CSS Parts:**
|
|
4505
|
-
* - **base** -
|
|
4506
|
-
* - **
|
|
4507
|
-
* - **
|
|
4508
|
-
* - **label** - The switch's label.
|
|
4509
|
-
* - **form-control-help-text** - The help text's wrapper.
|
|
4499
|
+
* - **base** - 组件的基础容器。
|
|
4500
|
+
* - **item** - 每个子元素的包装容器。
|
|
4501
|
+
* - **separator** - 分隔符容器。
|
|
4510
4502
|
*/
|
|
4511
|
-
"sl-
|
|
4503
|
+
"sl-space": DefineComponent<SlSpaceProps>;
|
|
4512
4504
|
|
|
4513
4505
|
/**
|
|
4514
4506
|
* Spinners are used to show the progress of an indeterminate operation.
|
|
@@ -4531,43 +4523,91 @@ export type CustomElements = {
|
|
|
4531
4523
|
* ---
|
|
4532
4524
|
*
|
|
4533
4525
|
*
|
|
4534
|
-
* ### **Events:**
|
|
4535
|
-
* - **sl-reposition** - Emitted when the divider's position changes.
|
|
4526
|
+
* ### **Events:**
|
|
4527
|
+
* - **sl-reposition** - Emitted when the divider's position changes.
|
|
4528
|
+
*
|
|
4529
|
+
* ### **Slots:**
|
|
4530
|
+
* - **start** - Content to place in the start panel.
|
|
4531
|
+
* - **end** - Content to place in the end panel.
|
|
4532
|
+
* - **divider** - The divider. Useful for slotting in a custom icon that renders as a handle.
|
|
4533
|
+
*
|
|
4534
|
+
* ### **CSS Properties:**
|
|
4535
|
+
* - **--divider-width** - The width of the visible divider. _(default: 4px)_
|
|
4536
|
+
* - **--divider-hit-area** - The invisible region around the divider where dragging can occur. This is usually wider than the divider to facilitate easier dragging. _(default: 12px)_
|
|
4537
|
+
* - **--min** - The minimum allowed size of the primary panel. _(default: 0)_
|
|
4538
|
+
* - **--max** - The maximum allowed size of the primary panel. _(default: 100%)_
|
|
4539
|
+
*
|
|
4540
|
+
* ### **CSS Parts:**
|
|
4541
|
+
* - **start** - The start panel.
|
|
4542
|
+
* - **end** - The end panel.
|
|
4543
|
+
* - **panel** - Targets both the start and end panels.
|
|
4544
|
+
* - **divider** - The divider that separates the start and end panels.
|
|
4545
|
+
*/
|
|
4546
|
+
"sl-split-panel": DefineComponent<SlSplitPanelProps>;
|
|
4547
|
+
|
|
4548
|
+
/**
|
|
4549
|
+
*
|
|
4550
|
+
* ---
|
|
4551
|
+
*
|
|
4552
|
+
*/
|
|
4553
|
+
"sl-steps": DefineComponent<SlStepsProps>;
|
|
4554
|
+
|
|
4555
|
+
/**
|
|
4556
|
+
* Switches allow the user to toggle an option on or off.
|
|
4557
|
+
* ---
|
|
4558
|
+
*
|
|
4559
|
+
*
|
|
4560
|
+
* ### **Events:**
|
|
4561
|
+
* - **sl-blur** - Emitted when the control loses focus.
|
|
4562
|
+
* - **sl-change** - Emitted when the control's checked state changes.
|
|
4563
|
+
* - **sl-input** - Emitted when the control receives input.
|
|
4564
|
+
* - **sl-focus** - Emitted when the control gains focus.
|
|
4565
|
+
* - **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
4566
|
+
*
|
|
4567
|
+
* ### **Methods:**
|
|
4568
|
+
* - **click()** - Simulates a click on the switch.
|
|
4569
|
+
* - **focus(options: _FocusOptions_)** - Sets focus on the switch.
|
|
4570
|
+
* - **blur()** - Removes focus from the switch.
|
|
4571
|
+
* - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.
|
|
4572
|
+
* - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.
|
|
4573
|
+
* - **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.
|
|
4574
|
+
* - **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.
|
|
4536
4575
|
*
|
|
4537
4576
|
* ### **Slots:**
|
|
4538
|
-
* -
|
|
4539
|
-
* - **
|
|
4540
|
-
* - **divider** - The divider. Useful for slotting in a custom icon that renders as a handle.
|
|
4577
|
+
* - _default_ - The switch's label.
|
|
4578
|
+
* - **help-text** - Text that describes how to use the switch. Alternatively, you can use the `help-text` attribute.
|
|
4541
4579
|
*
|
|
4542
4580
|
* ### **CSS Properties:**
|
|
4543
|
-
* - **--
|
|
4544
|
-
* - **--
|
|
4545
|
-
* - **--
|
|
4546
|
-
* - **--max** - The maximum allowed size of the primary panel. _(default: 100%)_
|
|
4581
|
+
* - **--width** - The width of the switch. _(default: undefined)_
|
|
4582
|
+
* - **--height** - The height of the switch. _(default: undefined)_
|
|
4583
|
+
* - **--thumb-size** - The size of the thumb. _(default: undefined)_
|
|
4547
4584
|
*
|
|
4548
4585
|
* ### **CSS Parts:**
|
|
4549
|
-
* - **
|
|
4550
|
-
* - **
|
|
4551
|
-
* - **
|
|
4552
|
-
* - **
|
|
4586
|
+
* - **base** - The component's base wrapper.
|
|
4587
|
+
* - **control** - The control that houses the switch's thumb.
|
|
4588
|
+
* - **thumb** - The switch's thumb.
|
|
4589
|
+
* - **label** - The switch's label.
|
|
4590
|
+
* - **form-control-help-text** - The help text's wrapper.
|
|
4553
4591
|
*/
|
|
4554
|
-
"sl-
|
|
4592
|
+
"sl-switch": DefineComponent<SlSwitchProps>;
|
|
4555
4593
|
|
|
4556
4594
|
/**
|
|
4557
|
-
*
|
|
4595
|
+
* Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).
|
|
4558
4596
|
* ---
|
|
4559
4597
|
*
|
|
4560
4598
|
*
|
|
4561
|
-
* ### **
|
|
4562
|
-
* -
|
|
4599
|
+
* ### **Events:**
|
|
4600
|
+
* - **sl-close** - Emitted when the tab is closable and the close button is activated.
|
|
4563
4601
|
*
|
|
4564
|
-
* ### **
|
|
4565
|
-
* -
|
|
4602
|
+
* ### **Slots:**
|
|
4603
|
+
* - _default_ - The tab's label.
|
|
4566
4604
|
*
|
|
4567
4605
|
* ### **CSS Parts:**
|
|
4568
4606
|
* - **base** - The component's base wrapper.
|
|
4607
|
+
* - **close-button** - The close button, an `<sl-icon-button>`.
|
|
4608
|
+
* - **close-button__base** - The close button's exported `base` part.
|
|
4569
4609
|
*/
|
|
4570
|
-
"sl-tab
|
|
4610
|
+
"sl-tab": DefineComponent<SlTabProps>;
|
|
4571
4611
|
|
|
4572
4612
|
/**
|
|
4573
4613
|
* Tab groups organize content into a container that shows one section at a time.
|
|
@@ -4604,57 +4644,30 @@ export type CustomElements = {
|
|
|
4604
4644
|
"sl-tab-group": DefineComponent<SlTabGroupProps>;
|
|
4605
4645
|
|
|
4606
4646
|
/**
|
|
4607
|
-
*
|
|
4647
|
+
* Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.
|
|
4608
4648
|
* ---
|
|
4609
4649
|
*
|
|
4610
4650
|
*
|
|
4611
|
-
* ### **Events:**
|
|
4612
|
-
* - **sl-close** - Emitted when the tab is closable and the close button is activated.
|
|
4613
|
-
*
|
|
4614
4651
|
* ### **Slots:**
|
|
4615
|
-
* - _default_ - The tab's
|
|
4652
|
+
* - _default_ - The tab panel's content.
|
|
4653
|
+
*
|
|
4654
|
+
* ### **CSS Properties:**
|
|
4655
|
+
* - **--padding** - The tab panel's padding. _(default: undefined)_
|
|
4616
4656
|
*
|
|
4617
4657
|
* ### **CSS Parts:**
|
|
4618
4658
|
* - **base** - The component's base wrapper.
|
|
4619
|
-
* - **close-button** - The close button, an `<sl-icon-button>`.
|
|
4620
|
-
* - **close-button__base** - The close button's exported `base` part.
|
|
4621
4659
|
*/
|
|
4622
|
-
"sl-tab": DefineComponent<
|
|
4660
|
+
"sl-tab-panel": DefineComponent<SlTabPanelProps>;
|
|
4623
4661
|
|
|
4624
4662
|
/**
|
|
4625
|
-
*
|
|
4663
|
+
*
|
|
4626
4664
|
* ---
|
|
4627
4665
|
*
|
|
4628
4666
|
*
|
|
4629
4667
|
* ### **Events:**
|
|
4630
|
-
* - **
|
|
4631
|
-
* - **sl-collapse** - Emitted when the think block starts collapsing (before animation). Equivalent to React's `onExpand(false)`.
|
|
4632
|
-
*
|
|
4633
|
-
* ### **Methods:**
|
|
4634
|
-
* - **handleExpandedChange()** - Runs AFTER the first render whenever `expanded` changes.
|
|
4635
|
-
* Emits the appropriate event immediately (matching React's `onExpand` timing,
|
|
4636
|
-
* which fires before the animation), then plays the expand/collapse animation.
|
|
4637
|
-
*
|
|
4638
|
-
* ### **Slots:**
|
|
4639
|
-
* - _default_ - The thinking content body.
|
|
4640
|
-
* - **title** - Rich HTML content for the status bar title. Overrides the `title` attribute.
|
|
4641
|
-
* - **icon** - A custom icon displayed in the status bar when not loading. Defaults to the Think icon.
|
|
4642
|
-
* - **loading-icon** - A custom icon displayed when `loading` is true. Overrides the default spinner. This is the web-component equivalent of passing a ReactNode to the React `loading` prop.
|
|
4643
|
-
*
|
|
4644
|
-
* ### **CSS Properties:**
|
|
4645
|
-
* - **--sl-c-think-TitleTextBlink-color-default** - Base text color shown during the blink/shimmer animation. Equivalent to React's `colorTextBlinkDefault` (`colorTextDescription`) design token. Defaults to `var(--sl-color-neutral-600)`. _(default: undefined)_
|
|
4646
|
-
* - **--sl-c-think-TitleTextBlink-color** - Highlight (shine) color of the blink shimmer beam. Equivalent to React's `colorTextBlink` (`colorTextBase`) design token. Defaults to `var(--sl-color-neutral-900)`. _(default: undefined)_
|
|
4647
|
-
*
|
|
4648
|
-
* ### **CSS Parts:**
|
|
4649
|
-
* - **base** - The component's base wrapper (maps to React's `root` semantic DOM).
|
|
4650
|
-
* - **status** - The clickable status bar: icon + title + chevron (maps to React's `status` semantic DOM).
|
|
4651
|
-
* - **status-icon** - The icon container within the status bar.
|
|
4652
|
-
* - **status-text** - The title text area within the status bar.
|
|
4653
|
-
* - **chevron** - The expand/collapse chevron indicator.
|
|
4654
|
-
* - **body** - The collapsible body container.
|
|
4655
|
-
* - **content** - The content area inside the body (maps to React's `content` semantic DOM).
|
|
4668
|
+
* - **change**
|
|
4656
4669
|
*/
|
|
4657
|
-
"sl-
|
|
4670
|
+
"sl-table": DefineComponent<SlTableProps>;
|
|
4658
4671
|
|
|
4659
4672
|
/**
|
|
4660
4673
|
* Tags are used as labels to organize things or to indicate a selection.
|
|
@@ -4714,31 +4727,66 @@ export type CustomElements = {
|
|
|
4714
4727
|
"sl-textarea": DefineComponent<SlTextareaProps>;
|
|
4715
4728
|
|
|
4716
4729
|
/**
|
|
4717
|
-
*
|
|
4718
|
-
* Each node represents one step/action in the chain with an icon, title, description,
|
|
4719
|
-
* collapsible content, and footer.
|
|
4730
|
+
* Think is used to display an AI model's thinking process with expandable/collapsible content.
|
|
4720
4731
|
* ---
|
|
4721
4732
|
*
|
|
4722
4733
|
*
|
|
4734
|
+
* ### **Events:**
|
|
4735
|
+
* - **sl-expand** - Emitted when the think block starts expanding (before animation). Equivalent to React's `onExpand(true)`.
|
|
4736
|
+
* - **sl-collapse** - Emitted when the think block starts collapsing (before animation). Equivalent to React's `onExpand(false)`.
|
|
4737
|
+
*
|
|
4738
|
+
* ### **Methods:**
|
|
4739
|
+
* - **handleExpandedChange()** - Runs AFTER the first render whenever `expanded` changes.
|
|
4740
|
+
* Emits the appropriate event immediately (matching React's `onExpand` timing,
|
|
4741
|
+
* which fires before the animation), then plays the expand/collapse animation.
|
|
4742
|
+
*
|
|
4723
4743
|
* ### **Slots:**
|
|
4724
|
-
* - _default_ - The
|
|
4725
|
-
* - **
|
|
4726
|
-
* - **
|
|
4727
|
-
* - **
|
|
4728
|
-
*
|
|
4744
|
+
* - _default_ - The thinking content body.
|
|
4745
|
+
* - **title** - Rich HTML content for the status bar title. Overrides the `title` attribute.
|
|
4746
|
+
* - **icon** - A custom icon displayed in the status bar when not loading. Defaults to the Think icon.
|
|
4747
|
+
* - **loading-icon** - A custom icon displayed when `loading` is true. Overrides the default spinner. This is the web-component equivalent of passing a ReactNode to the React `loading` prop.
|
|
4748
|
+
*
|
|
4749
|
+
* ### **CSS Properties:**
|
|
4750
|
+
* - **--sl-c-think-TitleTextBlink-color-default** - Base text color shown during the blink/shimmer animation. Equivalent to React's `colorTextBlinkDefault` (`colorTextDescription`) design token. Defaults to `var(--sl-color-neutral-600)`. _(default: undefined)_
|
|
4751
|
+
* - **--sl-c-think-TitleTextBlink-color** - Highlight (shine) color of the blink shimmer beam. Equivalent to React's `colorTextBlink` (`colorTextBase`) design token. Defaults to `var(--sl-color-neutral-900)`. _(default: undefined)_
|
|
4729
4752
|
*
|
|
4730
4753
|
* ### **CSS Parts:**
|
|
4731
|
-
* - **base** - The
|
|
4732
|
-
* - **
|
|
4733
|
-
* - **
|
|
4734
|
-
* - **
|
|
4735
|
-
* - **
|
|
4736
|
-
* - **
|
|
4737
|
-
* - **content
|
|
4738
|
-
* - **footer** - The footer area.
|
|
4739
|
-
* - **collapse-icon** - The chevron expand/collapse indicator.
|
|
4754
|
+
* - **base** - The component's base wrapper (maps to React's `root` semantic DOM).
|
|
4755
|
+
* - **status** - The clickable status bar: icon + title + chevron (maps to React's `status` semantic DOM).
|
|
4756
|
+
* - **status-icon** - The icon container within the status bar.
|
|
4757
|
+
* - **status-text** - The title text area within the status bar.
|
|
4758
|
+
* - **chevron** - The expand/collapse chevron indicator.
|
|
4759
|
+
* - **body** - The collapsible body container.
|
|
4760
|
+
* - **content** - The content area inside the body (maps to React's `content` semantic DOM).
|
|
4740
4761
|
*/
|
|
4741
|
-
"sl-
|
|
4762
|
+
"sl-think": DefineComponent<SlThinkProps>;
|
|
4763
|
+
|
|
4764
|
+
/**
|
|
4765
|
+
* ThoughtChain visualizes and tracks an Agent's call chain of Actions and Tools.
|
|
4766
|
+
* It renders a vertical list of nodes, each optionally with an icon, title, description,
|
|
4767
|
+
* collapsible content, footer, and status indicator. Nodes are connected by a vertical line.
|
|
4768
|
+
* ---
|
|
4769
|
+
*
|
|
4770
|
+
*
|
|
4771
|
+
* ### **Events:**
|
|
4772
|
+
* - **sl-expand** - Emitted when a collapsible node is expanded or collapsed. `event.detail` contains `{ key: string, expandedKeys: string[] }`.
|
|
4773
|
+
*
|
|
4774
|
+
* ### **Methods:**
|
|
4775
|
+
* - **getExpandedKeys(): _string[]_** - Get the effective expanded keys
|
|
4776
|
+
* - **handleItemExpand(key: _string_)** - Handle expand/collapse toggle from child node
|
|
4777
|
+
*
|
|
4778
|
+
* ### **Slots:**
|
|
4779
|
+
* - _default_ - Default slot for `<sl-thought-chain-node>` elements (declarative usage).
|
|
4780
|
+
*
|
|
4781
|
+
* ### **CSS Properties:**
|
|
4782
|
+
* - **--sl-thought-chain-gap** - Gap between the icon and the node body. Defaults to `var(--sl-spacing-small)`. _(default: undefined)_
|
|
4783
|
+
* - **--sl-thought-chain-connector-color** - Color of the vertical connector line. Defaults to `var(--sl-color-neutral-300)`. _(default: undefined)_
|
|
4784
|
+
* - **--sl-thought-chain-icon-size** - Size of the node icon. Defaults to `var(--sl-font-size-medium)`. _(default: undefined)_
|
|
4785
|
+
*
|
|
4786
|
+
* ### **CSS Parts:**
|
|
4787
|
+
* - **base** - The component's base wrapper.
|
|
4788
|
+
*/
|
|
4789
|
+
"sl-thought-chain": DefineComponent<SlThoughtChainProps>;
|
|
4742
4790
|
|
|
4743
4791
|
/**
|
|
4744
4792
|
* A standalone thought chain item badge/tag. Used for displaying individual
|
|
@@ -4768,31 +4816,53 @@ export type CustomElements = {
|
|
|
4768
4816
|
"sl-thought-chain-item": DefineComponent<SlThoughtChainItemProps>;
|
|
4769
4817
|
|
|
4770
4818
|
/**
|
|
4771
|
-
*
|
|
4772
|
-
*
|
|
4773
|
-
* collapsible content,
|
|
4819
|
+
* A single node in a thought chain. Used as a child of `<sl-thought-chain>`.
|
|
4820
|
+
* Each node represents one step/action in the chain with an icon, title, description,
|
|
4821
|
+
* collapsible content, and footer.
|
|
4774
4822
|
* ---
|
|
4775
4823
|
*
|
|
4776
4824
|
*
|
|
4777
|
-
* ### **
|
|
4778
|
-
* -
|
|
4825
|
+
* ### **Slots:**
|
|
4826
|
+
* - _default_ - The node's main content (shown in the collapsible area).
|
|
4827
|
+
* - **icon** - Custom icon to display instead of the default numbered circle or status icon.
|
|
4828
|
+
* - **title** - The node's title. Alternatively, use the `title` attribute.
|
|
4829
|
+
* - **description** - The node's description text.
|
|
4830
|
+
* - **footer** - Footer content displayed below the content area.
|
|
4779
4831
|
*
|
|
4780
|
-
* ### **
|
|
4781
|
-
* - **
|
|
4782
|
-
* - **
|
|
4832
|
+
* ### **CSS Parts:**
|
|
4833
|
+
* - **base** - The node's base wrapper.
|
|
4834
|
+
* - **icon** - The icon container.
|
|
4835
|
+
* - **header** - The header section (title + description).
|
|
4836
|
+
* - **title** - The title area (clickable when collapsible).
|
|
4837
|
+
* - **description** - The description area.
|
|
4838
|
+
* - **content** - The collapsible content wrapper.
|
|
4839
|
+
* - **content-inner** - The inner content wrapper.
|
|
4840
|
+
* - **footer** - The footer area.
|
|
4841
|
+
* - **collapse-icon** - The chevron expand/collapse indicator.
|
|
4842
|
+
*/
|
|
4843
|
+
"sl-thought-chain-node": DefineComponent<SlThoughtChainNodeProps>;
|
|
4844
|
+
|
|
4845
|
+
/**
|
|
4846
|
+
* A time picker component that provides a time selection interface.
|
|
4847
|
+
* ---
|
|
4783
4848
|
*
|
|
4784
|
-
* ### **Slots:**
|
|
4785
|
-
* - _default_ - Default slot for `<sl-thought-chain-node>` elements (declarative usage).
|
|
4786
4849
|
*
|
|
4787
|
-
* ### **
|
|
4788
|
-
* -
|
|
4789
|
-
* -
|
|
4790
|
-
* -
|
|
4850
|
+
* ### **Events:**
|
|
4851
|
+
* - **sl-change** - Emitted when the control's value changes.
|
|
4852
|
+
* - **sl-input** - Emitted when the control's value changes.
|
|
4853
|
+
* - **sl-focus** - Emitted when the control gains focus.
|
|
4854
|
+
* - **sl-blur** - Emitted when the control loses focus.
|
|
4855
|
+
* - **sl-clear** - Emitted when the clear button is activated.
|
|
4856
|
+
* - **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
4791
4857
|
*
|
|
4792
|
-
* ### **
|
|
4793
|
-
* - **
|
|
4858
|
+
* ### **Slots:**
|
|
4859
|
+
* - **label** - The input's label. Alternatively, you can use the `label` attribute.
|
|
4860
|
+
* - **prefix** - The input's prefix, to prepend to the input.
|
|
4861
|
+
* - **suffix** - The input's suffix, to append to the input.
|
|
4862
|
+
* - **clear-icon** - An icon to use in lieu of the default clear icon.
|
|
4863
|
+
* - **help-text** - Help text that describes the input. Alternatively, you can use the `help-text` attribute.
|
|
4794
4864
|
*/
|
|
4795
|
-
"sl-
|
|
4865
|
+
"sl-timepicker": DefineComponent<SlTimepickerProps>;
|
|
4796
4866
|
|
|
4797
4867
|
/**
|
|
4798
4868
|
* Tooltips display additional information based on a specific action.
|
|
@@ -4827,14 +4897,43 @@ export type CustomElements = {
|
|
|
4827
4897
|
"sl-tooltip": DefineComponent<SlTooltipProps>;
|
|
4828
4898
|
|
|
4829
4899
|
/**
|
|
4830
|
-
*
|
|
4900
|
+
* Transfer 穿梭框组件,用于在两个列表之间移动数据。
|
|
4831
4901
|
* ---
|
|
4832
4902
|
*
|
|
4833
4903
|
*
|
|
4834
4904
|
* ### **Events:**
|
|
4835
|
-
* - **change**
|
|
4905
|
+
* - **sl-transfer-change** - 当数据穿梭完成时触发,返回目标键、方向和移动的键。
|
|
4906
|
+
* - **sl-transfer-select-change** - 当选中项变化时触发。
|
|
4907
|
+
* - **sl-transfer-search** - 当搜索时触发。
|
|
4908
|
+
* - **sl-transfer-scroll** - 当列表滚动时触发。
|
|
4909
|
+
*
|
|
4910
|
+
* ### **Methods:**
|
|
4911
|
+
* - **moveToTarget()** - 移动选中项到目标列表
|
|
4912
|
+
* - **moveToSource()** - 移动选中项到源列表
|
|
4913
|
+
*
|
|
4914
|
+
* ### **Slots:**
|
|
4915
|
+
* - **move-to-target** - 自定义"移动到目标列表"按钮内容。
|
|
4916
|
+
* - **move-to-source** - 自定义"移动到源列表"按钮内容。
|
|
4917
|
+
* - **operation** - 完全自定义操作区域内容,替换默认的穿梭按钮。
|
|
4918
|
+
* - **source-empty** - 自定义源列表空提示内容。
|
|
4919
|
+
* - **target-empty** - 自定义目标列表空提示内容。
|
|
4920
|
+
* - **source-footer** - 自定义源列表底部内容,位于分页上方。
|
|
4921
|
+
* - **target-footer** - 自定义目标列表底部内容,位于分页上方。
|
|
4922
|
+
*
|
|
4923
|
+
* ### **CSS Properties:**
|
|
4924
|
+
* - **--transfer-width** - 单个面板的宽度。 _(default: undefined)_
|
|
4925
|
+
* - **--transfer-height** - 单个面板的高度。 _(default: undefined)_
|
|
4926
|
+
*
|
|
4927
|
+
* ### **CSS Parts:**
|
|
4928
|
+
* - **base** - 组件的基础容器。
|
|
4929
|
+
* - **source-panel** - 源列表面板。
|
|
4930
|
+
* - **target-panel** - 目标列表面板。
|
|
4931
|
+
* - **panel-header** - 面板头部。
|
|
4932
|
+
* - **panel-list** - 面板列表。
|
|
4933
|
+
* - **operation** - 操作按钮区域。
|
|
4934
|
+
* - **search-input** - 搜索输入框。
|
|
4836
4935
|
*/
|
|
4837
|
-
"sl-
|
|
4936
|
+
"sl-transfer": DefineComponent<SlTransferProps>;
|
|
4838
4937
|
|
|
4839
4938
|
/**
|
|
4840
4939
|
* Trees allow you to display a hierarchical list of selectable [tree items](/components/tree-item). Items with children can be expanded and collapsed as desired by the user.
|
|
@@ -4950,28 +5049,6 @@ export type CustomElements = {
|
|
|
4950
5049
|
*/
|
|
4951
5050
|
"sl-upload": DefineComponent<SlUploadProps>;
|
|
4952
5051
|
|
|
4953
|
-
/**
|
|
4954
|
-
* A time picker component that provides a time selection interface.
|
|
4955
|
-
* ---
|
|
4956
|
-
*
|
|
4957
|
-
*
|
|
4958
|
-
* ### **Events:**
|
|
4959
|
-
* - **sl-change** - Emitted when the control's value changes.
|
|
4960
|
-
* - **sl-input** - Emitted when the control's value changes.
|
|
4961
|
-
* - **sl-focus** - Emitted when the control gains focus.
|
|
4962
|
-
* - **sl-blur** - Emitted when the control loses focus.
|
|
4963
|
-
* - **sl-clear** - Emitted when the clear button is activated.
|
|
4964
|
-
* - **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
4965
|
-
*
|
|
4966
|
-
* ### **Slots:**
|
|
4967
|
-
* - **label** - The input's label. Alternatively, you can use the `label` attribute.
|
|
4968
|
-
* - **prefix** - The input's prefix, to prepend to the input.
|
|
4969
|
-
* - **suffix** - The input's suffix, to append to the input.
|
|
4970
|
-
* - **clear-icon** - An icon to use in lieu of the default clear icon.
|
|
4971
|
-
* - **help-text** - Help text that describes the input. Alternatively, you can use the `help-text` attribute.
|
|
4972
|
-
*/
|
|
4973
|
-
"sl-timepicker": DefineComponent<SlTimepickerProps>;
|
|
4974
|
-
|
|
4975
5052
|
/**
|
|
4976
5053
|
* The visually hidden utility makes content accessible to assistive devices without displaying it on the screen.
|
|
4977
5054
|
* ---
|