@kdcloudjs/shoelace 1.0.42 → 1.0.43
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.25AY3T2C.js +299 -0
- package/cdn/chunks/chunk.265M7RD6.js +11 -0
- package/cdn/chunks/chunk.2F3DNEKP.js +11 -0
- package/cdn/chunks/chunk.2FFGJYE4.js +161 -0
- package/cdn/chunks/chunk.2JHFH7H3.js +11 -0
- package/cdn/chunks/chunk.2KDU5JOH.js +28 -0
- package/cdn/chunks/chunk.2LFRN2KP.js +11 -0
- package/cdn/chunks/chunk.2LWOVENK.js +60 -0
- package/cdn/chunks/chunk.2PF72G2C.js +410 -0
- package/cdn/chunks/chunk.37PCVZCA.js +281 -0
- package/cdn/chunks/chunk.37VGW6ZS.js +27 -0
- package/cdn/chunks/chunk.3CMSB6GX.js +7428 -0
- package/cdn/chunks/chunk.3DDRSNCQ.js +500 -0
- package/cdn/chunks/chunk.3GLFN4NF.js +133 -0
- package/cdn/chunks/chunk.3IZ5JZ5A.js +11 -0
- package/cdn/chunks/chunk.3JHZWFDO.js +11 -0
- package/cdn/chunks/chunk.3OL5YY5F.js +11 -0
- package/cdn/chunks/chunk.3WD6EVO5.js +331 -0
- package/cdn/chunks/chunk.3XFVJ6X3.js +77 -0
- package/cdn/chunks/chunk.44KOGF7S.js +11 -0
- package/cdn/chunks/chunk.45ZYGVK2.js +21 -0
- package/cdn/chunks/chunk.472X3EWB.js +24 -0
- package/cdn/chunks/chunk.4AL7XNLX.js +21 -0
- package/cdn/chunks/chunk.4BVO3I5L.js +25 -0
- package/cdn/chunks/chunk.4CHZU4WU.js +320 -0
- package/cdn/chunks/chunk.4JHNVBF4.js +137 -0
- package/cdn/chunks/chunk.4KT5C4KV.js +142 -0
- package/cdn/chunks/chunk.4LCXIKBB.js +25 -0
- package/cdn/chunks/chunk.52JJGPQD.js +26 -0
- package/cdn/chunks/chunk.52M5GTBR.js +158 -0
- package/cdn/chunks/chunk.5FSTFYXG.js +11 -0
- package/cdn/chunks/chunk.5FZ7JTLR.js +24 -0
- package/cdn/chunks/chunk.5HCUOPK3.js +341 -0
- package/cdn/chunks/chunk.5HM35IRJ.js +279 -0
- package/cdn/chunks/chunk.5I6JYWG4.js +302 -0
- package/cdn/chunks/chunk.5LGZBGLI.js +724 -0
- package/cdn/chunks/chunk.624RARJB.js +11 -0
- package/cdn/chunks/chunk.64UFNX4Q.js +215 -0
- package/cdn/chunks/chunk.6AQDO5CH.js +113 -0
- package/cdn/chunks/chunk.6OBRAARC.js +11 -0
- package/cdn/chunks/chunk.6OELK3RE.js +11 -0
- package/cdn/chunks/chunk.6PKXUEKS.js +692 -0
- package/cdn/chunks/chunk.6UKHXTZL.js +197 -0
- package/cdn/chunks/chunk.6WLJR42P.js +292 -0
- package/cdn/chunks/chunk.6Y4SSMVU.js +11 -0
- package/cdn/chunks/chunk.6ZOS7242.js +25 -0
- package/cdn/chunks/chunk.6ZU67Q5J.js +11 -0
- package/cdn/chunks/chunk.7F23U2JY.js +24 -0
- package/cdn/chunks/chunk.7HQZQ4F4.js +95 -0
- package/cdn/chunks/chunk.7IXI5RZE.js +24 -0
- package/cdn/chunks/chunk.7MMN6ANK.js +11 -0
- package/cdn/chunks/chunk.7O5MOE6L.js +11 -0
- package/cdn/chunks/chunk.7XEDYLQA.js +455 -0
- package/cdn/chunks/chunk.A6TRJPV5.js +91 -0
- package/cdn/chunks/chunk.AM6GLHAU.js +177 -0
- package/cdn/chunks/chunk.AOGZLBRZ.js +21 -0
- package/cdn/chunks/chunk.AZQKD73H.js +54 -0
- package/cdn/chunks/chunk.B73MLPYV.js +782 -0
- package/cdn/chunks/chunk.BB6OOWQ7.js +24 -0
- package/cdn/chunks/chunk.BDXLMCUW.js +29 -0
- package/cdn/chunks/chunk.BEQFW6XZ.js +21 -0
- package/cdn/chunks/chunk.BHHVFCWR.js +11 -0
- package/cdn/chunks/chunk.BKISHGRP.js +11 -0
- package/cdn/chunks/chunk.BTHYGHG3.js +375 -0
- package/cdn/chunks/chunk.BYGIO244.js +11 -0
- package/cdn/chunks/chunk.CE6RR5QZ.js +27 -0
- package/cdn/chunks/chunk.CHX7LPDG.js +25 -0
- package/cdn/chunks/chunk.CJ7OBW4Q.js +36 -0
- package/cdn/chunks/chunk.CKBO3FSO.js +11 -0
- package/cdn/chunks/chunk.CLGPTQGB.js +11 -0
- package/cdn/chunks/chunk.CMEU74KK.js +21 -0
- package/cdn/chunks/chunk.CPNW2NXB.js +33 -0
- package/cdn/chunks/chunk.CRLF2VHG.js +605 -0
- package/cdn/chunks/chunk.CWQEP3R2.js +11 -0
- package/cdn/chunks/chunk.D6PVIA6N.js +11 -0
- package/cdn/chunks/chunk.DBQPTJWT.js +11 -0
- package/cdn/chunks/chunk.DD37CCX2.js +1071 -0
- package/cdn/chunks/chunk.DEOXIMQA.js +28 -0
- package/cdn/chunks/chunk.DJO6X2QE.js +215 -0
- package/cdn/chunks/chunk.DQ6LSVIW.js +24 -0
- package/cdn/chunks/chunk.DTVMFOWE.js +11 -0
- package/cdn/chunks/chunk.DUKR6NL3.js +219 -0
- package/cdn/chunks/chunk.DXGZ3YJV.js +11 -0
- package/cdn/chunks/chunk.DZWQ7OMJ.js +27 -0
- package/cdn/chunks/chunk.E72DE4VW.js +35 -0
- package/cdn/chunks/chunk.EFGYIBVL.js +31 -0
- package/cdn/chunks/chunk.ENKOPHXO.js +25 -0
- package/cdn/chunks/chunk.EODAHJXO.js +11 -0
- package/cdn/chunks/chunk.ERMGPFRR.js +271 -0
- package/cdn/chunks/chunk.ES4WSDHR.js +11 -0
- package/cdn/chunks/chunk.F6MZ26Z2.js +21 -0
- package/cdn/chunks/chunk.FA6PXI7S.js +543 -0
- package/cdn/chunks/chunk.FHGBZARF.js +11 -0
- package/cdn/chunks/chunk.FHVAFNLY.js +26 -0
- package/cdn/chunks/chunk.FSI5NBGW.js +25 -0
- package/cdn/chunks/chunk.FUTZM4XU.js +371 -0
- package/cdn/chunks/chunk.G4NIC2TN.js +114 -0
- package/cdn/chunks/chunk.G6ITOR5J.js +346 -0
- package/cdn/chunks/chunk.G6XHPXJQ.js +11 -0
- package/cdn/chunks/chunk.G755UHYQ.js +27 -0
- package/cdn/chunks/chunk.GDNO6ZBV.js +236 -0
- package/cdn/chunks/chunk.GEEADNIO.js +179 -0
- package/cdn/chunks/chunk.GIUIT5DJ.js +29 -0
- package/cdn/chunks/chunk.GQ3VDOTX.js +79 -0
- package/cdn/chunks/chunk.H2NDWKA6.js +25 -0
- package/cdn/chunks/chunk.H34HKNLL.js +120 -0
- package/cdn/chunks/chunk.HCBQV33H.js +11 -0
- package/cdn/chunks/chunk.HIHSRAIQ.js +11 -0
- package/cdn/chunks/chunk.HJVWY25J.js +25 -0
- package/cdn/chunks/chunk.HMXVRVXU.js +24 -0
- package/cdn/chunks/chunk.HOCIL3VQ.js +11 -0
- package/cdn/chunks/chunk.HTSD2EAM.js +21 -0
- package/cdn/chunks/chunk.HUVQEDXH.js +21 -0
- package/cdn/chunks/chunk.HXIV7JAE.js +539 -0
- package/cdn/chunks/chunk.HYNB4LFB.js +21 -0
- package/cdn/chunks/chunk.HYZ5J3NL.js +24 -0
- package/cdn/chunks/chunk.HZFD2UYT.js +25 -0
- package/cdn/chunks/chunk.I2E5KVNW.js +11 -0
- package/cdn/chunks/chunk.I6PH2OAC.js +29 -0
- package/cdn/chunks/chunk.ICJCFWK5.js +21 -0
- package/cdn/chunks/chunk.IFQFL2CU.js +27 -0
- package/cdn/chunks/chunk.IIPHZWRE.js +42 -0
- package/cdn/chunks/chunk.IQVG6XSD.js +87 -0
- package/cdn/chunks/chunk.ITVEHX7R.js +1897 -0
- package/cdn/chunks/chunk.IU7E2HVH.js +32 -0
- package/cdn/chunks/chunk.IWOSGJAQ.js +11 -0
- package/cdn/chunks/chunk.IZ432ENS.js +11 -0
- package/cdn/chunks/chunk.JAXENOK4.js +11 -0
- package/cdn/chunks/chunk.JDBAE4YV.js +11 -0
- package/cdn/chunks/chunk.JDQ56ZBI.js +383 -0
- package/cdn/chunks/chunk.JF4EZ276.js +197 -0
- package/cdn/chunks/chunk.JFMRS7X2.js +11 -0
- package/cdn/chunks/chunk.JHJWUYTF.js +11 -0
- package/cdn/chunks/chunk.JJA5AGWV.js +1213 -0
- package/cdn/chunks/chunk.JJM6FQFW.js +11 -0
- package/cdn/chunks/chunk.JSYTACNX.js +11 -0
- package/cdn/chunks/chunk.JVCMYNSN.js +11 -0
- package/cdn/chunks/chunk.JY5J7BFJ.js +11 -0
- package/cdn/chunks/chunk.KBLB5RTD.js +255 -0
- package/cdn/chunks/chunk.KEEPHZV5.js +24 -0
- package/cdn/chunks/chunk.KMPOJCZC.js +11 -0
- package/cdn/chunks/chunk.KOSFX565.js +21 -0
- package/cdn/chunks/chunk.KRNH3YFE.js +11 -0
- package/cdn/chunks/chunk.KW4OXJS2.js +186 -0
- package/cdn/chunks/chunk.LBOESSWS.js +11 -0
- package/cdn/chunks/chunk.LKVOPUSF.js +11 -0
- package/cdn/chunks/chunk.LOTJKEBL.js +167 -0
- package/cdn/chunks/chunk.LWYXOLAH.js +510 -0
- package/cdn/chunks/chunk.LY3ETGIX.js +93 -0
- package/cdn/chunks/chunk.M3TC4AUB.js +82 -0
- package/cdn/chunks/chunk.M5MB4NET.js +11 -0
- package/cdn/chunks/chunk.MF3C73FK.js +24 -0
- package/cdn/chunks/chunk.MF4C6ZAA.js +588 -0
- package/cdn/chunks/chunk.MMHWSWQ3.js +11 -0
- package/cdn/chunks/chunk.MPBFXV5E.js +28 -0
- package/cdn/chunks/chunk.MPHOAZUB.js +21 -0
- package/cdn/chunks/chunk.MRPR2FFQ.js +27 -0
- package/cdn/chunks/chunk.NB6ISQMI.js +29 -0
- package/cdn/chunks/chunk.NBM6GQMY.js +11 -0
- package/cdn/chunks/chunk.NETTHUES.js +28 -0
- package/cdn/chunks/chunk.NFIIJ7LU.js +11 -0
- package/cdn/chunks/chunk.NG43MJW4.js +26 -0
- package/cdn/chunks/chunk.NW4I36ZW.js +26 -0
- package/cdn/chunks/chunk.NX5YWYHI.js +21 -0
- package/cdn/chunks/chunk.NYWEOG7K.js +11 -0
- package/cdn/chunks/chunk.O5XQLZ3V.js +915 -0
- package/cdn/chunks/chunk.OBNBF2PH.js +26 -0
- package/cdn/chunks/chunk.ODFGIDL4.js +11 -0
- package/cdn/chunks/chunk.OEVNWOJN.js +21 -0
- package/cdn/chunks/chunk.OH42NCBM.js +11 -0
- package/cdn/chunks/chunk.OJNVKD3J.js +11 -0
- package/cdn/chunks/chunk.OJVEGSQB.js +130 -0
- package/cdn/chunks/chunk.OM33QOGI.js +11 -0
- package/cdn/chunks/chunk.OSVITGCP.js +122 -0
- package/cdn/chunks/chunk.OXMSTT6I.js +29 -0
- package/cdn/chunks/chunk.OYS5KBYZ.js +291 -0
- package/cdn/chunks/chunk.OZYHPVHE.js +21 -0
- package/cdn/chunks/chunk.P4NRTQFL.js +586 -0
- package/cdn/chunks/chunk.PAAPNCMD.js +329 -0
- package/cdn/chunks/chunk.PKDJCEN7.js +233 -0
- package/cdn/chunks/chunk.PNUIZLCW.js +201 -0
- package/cdn/chunks/chunk.PUIPZEVN.js +11 -0
- package/cdn/chunks/chunk.PUUN4HZ3.js +216 -0
- package/cdn/chunks/chunk.PYMSBUJH.js +135 -0
- package/cdn/chunks/chunk.PYTQD75H.js +11 -0
- package/cdn/chunks/chunk.Q4OTMR2D.js +11 -0
- package/cdn/chunks/chunk.Q5YEDZNZ.js +1932 -0
- package/cdn/chunks/chunk.Q6ULC3L3.js +26 -0
- package/cdn/chunks/chunk.Q7WJKKT5.js +27 -0
- package/cdn/chunks/chunk.QAXOLKEN.js +118 -0
- package/cdn/chunks/chunk.QDT3Y2RE.js +11 -0
- package/cdn/chunks/chunk.QIAULMOU.js +24 -0
- package/cdn/chunks/chunk.QRDAA6U6.js +28 -0
- package/cdn/chunks/chunk.QSIXBXW5.js +21 -0
- package/cdn/chunks/chunk.QUNTG6JU.js +29 -0
- package/cdn/chunks/chunk.QUQH2EBA.js +276 -0
- package/cdn/chunks/chunk.QVM57OUL.js +11 -0
- package/cdn/chunks/chunk.QXKKFNIJ.js +24 -0
- package/cdn/chunks/chunk.QYFPUOJ3.js +154 -0
- package/cdn/chunks/chunk.R5ZZUKPC.js +21 -0
- package/cdn/chunks/chunk.RB724R7V.js +11 -0
- package/cdn/chunks/chunk.REULNBL3.js +11 -0
- package/cdn/chunks/chunk.RG7M7S3P.js +199 -0
- package/cdn/chunks/chunk.RIWKAZZP.js +11 -0
- package/cdn/chunks/chunk.RJGKQO6N.js +21 -0
- package/cdn/chunks/chunk.ROVSWKCO.js +11 -0
- package/cdn/chunks/chunk.RR6EY35V.js +21 -0
- package/cdn/chunks/chunk.RS2LG3LL.js +11 -0
- package/cdn/chunks/chunk.RTYYF4WV.js +21 -0
- package/cdn/chunks/chunk.S2ZJRNBE.js +193 -0
- package/cdn/chunks/chunk.S63JY4X7.js +21 -0
- package/cdn/chunks/chunk.SJDZI7U6.js +127 -0
- package/cdn/chunks/chunk.SLBLM524.js +330 -0
- package/cdn/chunks/chunk.SODSQCS3.js +21 -0
- package/cdn/chunks/chunk.TGEJGNDY.js +25 -0
- package/cdn/chunks/chunk.TJ2BDO2Q.js +49 -0
- package/cdn/chunks/chunk.TMAWJW3P.js +73 -0
- package/cdn/chunks/chunk.TMYBVWCY.js +67 -0
- package/cdn/chunks/chunk.TQ2YRWLY.js +11 -0
- package/cdn/chunks/chunk.TQLGBGFP.js +21 -0
- package/cdn/chunks/chunk.TWXOSBDH.js +11 -0
- package/cdn/chunks/chunk.TX4WLLZZ.js +29 -0
- package/cdn/chunks/chunk.TXZNJQ4S.js +11 -0
- package/cdn/chunks/chunk.UFLAA3UW.js +97 -0
- package/cdn/chunks/chunk.UGH4ZCOQ.js +835 -0
- package/cdn/chunks/chunk.UKJ7YOTL.js +103 -0
- package/cdn/chunks/chunk.UQ7PT5PF.js +11 -0
- package/cdn/chunks/chunk.V6EQZKEI.js +128 -0
- package/cdn/chunks/chunk.V7AQHWXZ.js +153 -0
- package/cdn/chunks/chunk.VB6AE6JI.js +163 -0
- package/cdn/chunks/chunk.VBUS5JEO.js +21 -0
- package/cdn/chunks/chunk.VFCVXKKH.js +24 -0
- package/cdn/chunks/chunk.VG4YSKGP.js +11 -0
- package/cdn/chunks/chunk.VG6DANQQ.js +25 -0
- package/cdn/chunks/chunk.VVCIINQW.js +5845 -0
- package/cdn/chunks/chunk.W7SM2YVJ.js +472 -0
- package/cdn/chunks/chunk.WB6TOBWU.js +50 -0
- package/cdn/chunks/chunk.WEGQ4YPF.js +11 -0
- package/cdn/chunks/chunk.WF7NDNWN.js +11 -0
- package/cdn/chunks/chunk.WMO7OIUB.js +11 -0
- package/cdn/chunks/chunk.WOHHOS7H.js +11 -0
- package/cdn/chunks/chunk.WSH5IXQ4.js +24 -0
- package/cdn/chunks/chunk.WT3WQIEX.js +92 -0
- package/cdn/chunks/chunk.WTEJCXVF.js +354 -0
- package/cdn/chunks/chunk.WUNVJOEQ.js +21 -0
- package/cdn/chunks/chunk.WW47EPJM.js +454 -0
- package/cdn/chunks/chunk.WWAA2O3A.js +75 -0
- package/cdn/chunks/chunk.WXSRK6OP.js +24 -0
- package/cdn/chunks/chunk.WYSOHSVO.js +24 -0
- package/cdn/chunks/chunk.X5OLJDO2.js +11 -0
- package/cdn/chunks/chunk.X6GFITEB.js +27 -0
- package/cdn/chunks/chunk.XAAVDD7B.js +24 -0
- package/cdn/chunks/chunk.XANFVXGC.js +49 -0
- package/cdn/chunks/chunk.XCK4ALJ3.js +21 -0
- package/cdn/chunks/chunk.XF5ZKEBA.js +391 -0
- package/cdn/chunks/chunk.XI6QXTO7.js +21 -0
- package/cdn/chunks/chunk.XNIY44WP.js +236 -0
- package/cdn/chunks/chunk.XWGAHC4O.js +1990 -0
- package/cdn/chunks/chunk.XYJF3HCI.js +402 -0
- package/cdn/chunks/chunk.XZHILGEM.js +63 -0
- package/cdn/chunks/chunk.Y53FAIP6.js +21 -0
- package/cdn/chunks/chunk.Y66TIMUL.js +333 -0
- package/cdn/chunks/chunk.YDQYFGZI.js +28 -0
- package/cdn/chunks/chunk.YOTB4AJP.js +336 -0
- package/cdn/chunks/chunk.YQ5NYQSK.js +923 -0
- package/cdn/chunks/chunk.YVYRG655.js +634 -0
- package/cdn/chunks/chunk.YZBBMET2.js +24 -0
- package/cdn/chunks/chunk.Z3DKGVF5.js +11 -0
- package/cdn/chunks/chunk.Z7AIQ7XI.js +11 -0
- package/cdn/chunks/chunk.ZAHJPRHJ.js +11 -0
- package/cdn/chunks/chunk.ZEWXQOZG.js +186 -0
- package/cdn/chunks/chunk.ZFIZQ2RD.js +21 -0
- package/cdn/chunks/chunk.ZLIEWHRM.js +29 -0
- package/cdn/chunks/chunk.ZOLAPKRJ.js +24 -0
- package/cdn/chunks/chunk.ZPYE7SLF.js +24 -0
- package/cdn/chunks/chunk.ZQFDCI5Q.js +11 -0
- package/cdn/chunks/chunk.ZQIAG45S.js +11 -0
- package/cdn/chunks/chunk.ZTS44GZL.js +21 -0
- package/cdn/chunks/chunk.ZUCL5PCP.js +11 -0
- package/cdn/chunks/chunk.ZVHDNXH5.js +92 -0
- package/cdn/chunks/chunk.ZVVJUYRQ.js +11 -0
- package/cdn/chunks/chunk.ZZ3WG2NZ.js +21 -0
- package/cdn/components/alert/alert.component.js +6 -6
- package/cdn/components/alert/alert.js +7 -7
- package/cdn/components/animated-image/animated-image.component.js +4 -4
- package/cdn/components/animated-image/animated-image.js +5 -5
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- 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 +4 -4
- package/cdn/components/button/button.js +5 -5
- 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 +14 -14
- package/cdn/components/calendar/calendar.js +15 -15
- package/cdn/components/calendar-picker/calendar-picker.component.js +6 -6
- package/cdn/components/calendar-picker/calendar-picker.js +6 -6
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- 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 +36 -0
- package/cdn/components/cascader/cascader.js +37 -0
- package/cdn/components/cascader/cascader.styles.js +9 -0
- package/cdn/components/checkbox/checkbox.component.js +4 -4
- package/cdn/components/checkbox/checkbox.js +5 -5
- 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 +11 -11
- package/cdn/components/color-picker/color-picker.js +12 -12
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +11 -11
- package/cdn/components/date-panel/date-panel.js +11 -11
- package/cdn/components/datepicker/datepicker.component.js +17 -17
- package/cdn/components/datepicker/datepicker.js +17 -17
- package/cdn/components/daterangepicker/daterangepicker.component.js +13 -13
- package/cdn/components/daterangepicker/daterangepicker.js +14 -14
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +5 -5
- package/cdn/components/dialog/dialog.js +6 -6
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +6 -6
- package/cdn/components/drawer/drawer.js +7 -7
- 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 +5 -5
- package/cdn/components/float-button/float-button.js +6 -6
- package/cdn/components/float-button-group/float-button-group.component.js +3 -3
- package/cdn/components/float-button-group/float-button-group.js +4 -4
- 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 +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image/image.component.js +2 -2
- package/cdn/components/image/image.js +2 -2
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/image-preview-group/image-preview-group.component.js +2 -2
- package/cdn/components/image-preview-group/image-preview-group.js +2 -2
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- 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 +6 -6
- package/cdn/components/menu-item/menu-item.js +7 -7
- 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 +10 -10
- package/cdn/components/nav/nav.js +11 -11
- 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 +4 -4
- package/cdn/components/nav-submenu/nav-submenu.js +5 -5
- package/cdn/components/notification/notification.component.js +6 -6
- package/cdn/components/notification/notification.js +7 -7
- package/cdn/components/notification/notification.styles.js +1 -1
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +9 -9
- package/cdn/components/pagination/pagination.component.js +10 -10
- package/cdn/components/pagination/pagination.js +10 -10
- 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 +3 -3
- package/cdn/components/radio/radio.js +4 -4
- 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 +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- 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 +6 -6
- package/cdn/components/segmented/segmented.js +7 -7
- package/cdn/components/segmented/segmented.styles.js +1 -1
- package/cdn/components/select/select.component.js +9 -9
- package/cdn/components/select/select.js +10 -10
- package/cdn/components/sender/sender.component.js +16 -16
- package/cdn/components/sender/sender.js +17 -17
- package/cdn/components/sender/sender.styles.js +1 -1
- package/cdn/components/sender-header/sender-header.component.js +5 -5
- package/cdn/components/sender-header/sender-header.js +6 -6
- package/cdn/components/sender-switch/sender-switch.component.js +5 -5
- package/cdn/components/sender-switch/sender-switch.js +6 -6
- 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 +3 -3
- package/cdn/components/steps/steps.js +4 -4
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- 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 +2 -2
- package/cdn/components/table/features/index.js +3 -3
- package/cdn/components/table/footer-table.js +2 -2
- package/cdn/components/table/head-table.js +19 -19
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +30 -30
- package/cdn/components/table/table.js +31 -31
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/think/think.component.js +4 -4
- package/cdn/components/think/think.js +5 -5
- 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 +4 -4
- package/cdn/components/thought-chain-item/thought-chain-item.js +5 -5
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +4 -4
- package/cdn/components/thought-chain-node/thought-chain-node.js +5 -5
- package/cdn/components/time-panel/time-panel.component.js +5 -5
- package/cdn/components/time-panel/time-panel.js +5 -5
- package/cdn/components/timepicker/timepicker.component.js +17 -17
- package/cdn/components/timepicker/timepicker.js +17 -17
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +9 -9
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.component.js +7 -7
- package/cdn/components/tree-item/tree-item.js +8 -8
- package/cdn/components/tree-item/tree-item.styles.js +1 -1
- package/cdn/components/tree-select/tree-select.component.js +16 -16
- package/cdn/components/tree-select/tree-select.js +17 -17
- package/cdn/components/tree-select/tree-select.styles.js +1 -1
- package/cdn/components/upload/upload.component.js +45 -0
- package/cdn/components/upload/upload.js +49 -0
- package/cdn/components/upload/upload.styles.js +9 -0
- 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/x-markdown.component.js +2 -2
- package/cdn/components/x-markdown/x-markdown.js +3 -3
- package/cdn/custom-elements.json +11968 -9864
- package/cdn/react/alert/index.js +7 -7
- package/cdn/react/animated-image/index.js +5 -5
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/calendar/index.js +15 -15
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/cascader/index.js +37 -0
- package/cdn/react/checkbox/index.js +5 -5
- package/cdn/react/col/index.js +3 -3
- package/cdn/react/color-picker/index.js +12 -12
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +12 -12
- package/cdn/react/datepicker/index.js +18 -18
- package/cdn/react/daterangepicker/index.js +14 -14
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +6 -6
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +7 -7
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/float-button/index.js +6 -6
- package/cdn/react/float-button-group/index.js +4 -4
- 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 +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image/index.js +3 -3
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/image-preview-group/index.js +3 -3
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.js +302 -290
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +7 -7
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +11 -11
- 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 +5 -5
- package/cdn/react/notification/index.js +7 -7
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +11 -11
- 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 +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +4 -4
- 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 +7 -7
- package/cdn/react/select/index.js +10 -10
- package/cdn/react/sender/index.js +17 -17
- package/cdn/react/sender-header/index.js +6 -6
- package/cdn/react/sender-switch/index.js +6 -6
- 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 +4 -4
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-group/index.js +6 -6
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +31 -31
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/think/index.js +5 -5
- package/cdn/react/thought-chain/index.js +3 -3
- package/cdn/react/thought-chain-item/index.js +5 -5
- package/cdn/react/thought-chain-node/index.js +5 -5
- package/cdn/react/timepicker/index.js +18 -18
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +10 -10
- package/cdn/react/tree-item/index.js +8 -8
- package/cdn/react/tree-select/index.js +17 -17
- package/cdn/react/upload/index.js +46 -0
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/react/x-markdown/index.js +3 -3
- package/cdn/shoelace.js +292 -286
- package/cdn/types/vue/index.d.ts +1520 -1279
- package/cdn/vscode.html-custom-data.json +1217 -998
- package/cdn/web-types.json +3865 -3245
- package/dist/chunks/chunk.2CKXLIXH.js +127 -0
- package/dist/chunks/chunk.2GAZP5KP.js +11 -0
- package/dist/chunks/chunk.2Q6HZL2Z.js +11 -0
- package/dist/chunks/chunk.2QDIR57T.js +21 -0
- package/dist/chunks/chunk.2SI2QW2W.js +194 -0
- package/dist/chunks/chunk.2UBBMBBU.js +29 -0
- package/dist/chunks/chunk.2VC3HBI6.js +11 -0
- package/dist/chunks/chunk.334PPUJQ.js +384 -0
- package/dist/chunks/chunk.35L62SNE.js +29 -0
- package/dist/chunks/chunk.3AIZYEQC.js +11 -0
- package/dist/chunks/chunk.3CYSP5K3.js +25 -0
- package/dist/chunks/chunk.3EBKO36U.js +158 -0
- package/dist/chunks/chunk.3G5ZPCUB.js +11 -0
- package/dist/chunks/chunk.3IDDHB5B.js +247 -0
- package/dist/chunks/chunk.3ILJWH7R.js +11 -0
- package/dist/chunks/chunk.3UHFRUAQ.js +25 -0
- package/dist/chunks/chunk.437ISJ4L.js +11 -0
- package/dist/chunks/chunk.46EW25FY.js +11 -0
- package/dist/chunks/chunk.4CTHCAWY.js +330 -0
- package/dist/chunks/chunk.4JDPLWPX.js +397 -0
- package/dist/chunks/chunk.4K3UTAEI.js +11 -0
- package/dist/chunks/chunk.4P2FR7WE.js +11 -0
- package/dist/chunks/chunk.4QQS5DGK.js +598 -0
- package/dist/chunks/chunk.4TRLQ34T.js +25 -0
- package/dist/chunks/chunk.4VFT5OMS.js +11 -0
- package/dist/chunks/chunk.4YYNGCRM.js +286 -0
- package/dist/chunks/chunk.4ZE2UPAR.js +11 -0
- package/dist/chunks/chunk.53AEAVKY.js +11 -0
- package/dist/chunks/chunk.54EVESBH.js +28 -0
- package/dist/chunks/chunk.5DZEOIQY.js +24 -0
- package/dist/chunks/chunk.5IVQ5CEZ.js +11 -0
- package/dist/chunks/chunk.5OI4URCM.js +29 -0
- package/dist/chunks/chunk.5XBBQQG4.js +27 -0
- package/dist/chunks/chunk.5ZMDR36D.js +213 -0
- package/dist/chunks/chunk.5ZRQVTWK.js +11 -0
- package/dist/chunks/chunk.6BYZDRLW.js +11 -0
- package/dist/chunks/chunk.6RBHE2AW.js +21 -0
- package/dist/chunks/chunk.6RC6ZJG3.js +494 -0
- package/dist/chunks/chunk.6U22OLLM.js +11 -0
- package/dist/chunks/chunk.6VUMVZZ4.js +190 -0
- package/dist/chunks/chunk.6WEIFOIQ.js +27 -0
- package/dist/chunks/chunk.6XTPYDU2.js +31 -0
- package/dist/chunks/chunk.6Z7LNA3V.js +26 -0
- package/dist/chunks/chunk.7BKTCZAZ.js +280 -0
- package/dist/chunks/chunk.7CXMIU6O.js +24 -0
- package/dist/chunks/chunk.7DBDNICG.js +21 -0
- package/dist/chunks/chunk.7ZQ7GLIE.js +24 -0
- package/dist/chunks/chunk.A24SHL7G.js +67 -0
- package/dist/chunks/chunk.A4WB5GBP.js +937 -0
- package/dist/chunks/chunk.AARIRO6O.js +34 -0
- package/dist/chunks/chunk.AC5ZKQY6.js +25 -0
- package/dist/chunks/chunk.AEX5RJ7N.js +24 -0
- package/dist/chunks/chunk.AFOERDSL.js +29 -0
- package/dist/chunks/chunk.AH5HT644.js +681 -0
- package/dist/chunks/chunk.AJOY3TUX.js +21 -0
- package/dist/chunks/chunk.AVUBSLIP.js +11 -0
- package/dist/chunks/chunk.AYAQGAH6.js +11 -0
- package/dist/chunks/chunk.AYIPBI4B.js +11 -0
- package/dist/chunks/chunk.BAEDAOG5.js +11 -0
- package/dist/chunks/chunk.BDR3NAFC.js +21 -0
- package/dist/chunks/chunk.BHAIU5HV.js +21 -0
- package/dist/chunks/chunk.BO5SPQIE.js +11 -0
- package/dist/chunks/chunk.BOOKRJGY.js +214 -0
- package/dist/chunks/chunk.BOW3DWBX.js +11 -0
- package/dist/chunks/chunk.BQGQ74ZN.js +21 -0
- package/dist/chunks/chunk.BSK4ZAW6.js +27 -0
- package/dist/chunks/chunk.C2JMDFEK.js +32 -0
- package/dist/chunks/chunk.C46PSYHF.js +164 -0
- package/dist/chunks/chunk.CBCDB6BH.js +28 -0
- package/dist/chunks/chunk.CFJMI256.js +11 -0
- package/dist/chunks/chunk.CLJNWZX3.js +28 -0
- package/dist/chunks/chunk.CNG5K5LW.js +320 -0
- package/dist/chunks/chunk.CPGWPZAM.js +21 -0
- package/dist/chunks/chunk.CRKIYX6C.js +24 -0
- package/dist/chunks/chunk.CVETOS2K.js +52 -0
- package/dist/chunks/chunk.CYF2RRUR.js +21 -0
- package/dist/chunks/chunk.CZ4RP2EL.js +25 -0
- package/dist/chunks/chunk.D3QFMJJT.js +11 -0
- package/dist/chunks/chunk.DBRSLVQ2.js +11 -0
- package/dist/chunks/chunk.DDWHVBTT.js +21 -0
- package/dist/chunks/chunk.DEIJOSJ2.js +11 -0
- package/dist/chunks/chunk.DL7IFAZQ.js +24 -0
- package/dist/chunks/chunk.DLQWDAZ3.js +11 -0
- package/dist/chunks/chunk.DQJ2S62Y.js +11 -0
- package/dist/chunks/chunk.DR5HBP4O.js +11 -0
- package/dist/chunks/chunk.DS4HLV5B.js +21 -0
- package/dist/chunks/chunk.DS5AZX3S.js +59 -0
- package/dist/chunks/chunk.DUUQX5JW.js +24 -0
- package/dist/chunks/chunk.DVNE6C2G.js +26 -0
- package/dist/chunks/chunk.E2ODCB45.js +11 -0
- package/dist/chunks/chunk.E3VOKZAR.js +57 -0
- package/dist/chunks/chunk.E5TWXKDW.js +11 -0
- package/dist/chunks/chunk.EBINZTQT.js +73 -0
- package/dist/chunks/chunk.ECZFW26Q.js +315 -0
- package/dist/chunks/chunk.ED4B67XM.js +21 -0
- package/dist/chunks/chunk.ET57SYXK.js +21 -0
- package/dist/chunks/chunk.EUUG4BBT.js +11 -0
- package/dist/chunks/chunk.EWE25QW2.js +85 -0
- package/dist/chunks/chunk.EWKBC64A.js +50 -0
- package/dist/chunks/chunk.EYKRFAAL.js +231 -0
- package/dist/chunks/chunk.EZK54FDP.js +28 -0
- package/dist/chunks/chunk.F23DQP27.js +27 -0
- package/dist/chunks/chunk.F2RQXAMN.js +24 -0
- package/dist/chunks/chunk.FFFAWAJV.js +191 -0
- package/dist/chunks/chunk.FIESAO6T.js +113 -0
- package/dist/chunks/chunk.FJWL5NNN.js +148 -0
- package/dist/chunks/chunk.FNIWTLXY.js +11 -0
- package/dist/chunks/chunk.FNLNVBYV.js +365 -0
- package/dist/chunks/chunk.FO2G6WZC.js +28 -0
- package/dist/chunks/chunk.FOPADEUW.js +11 -0
- package/dist/chunks/chunk.FREX2DZG.js +11 -0
- package/dist/chunks/chunk.FTLS6JEB.js +322 -0
- package/dist/chunks/chunk.GDKVZBGY.js +293 -0
- package/dist/chunks/chunk.GHQ7LZI4.js +22 -0
- package/dist/chunks/chunk.GLC2GOJP.js +86 -0
- package/dist/chunks/chunk.GMBANYFR.js +21 -0
- package/dist/chunks/chunk.GMISRBBN.js +125 -0
- package/dist/chunks/chunk.GMWYNHCZ.js +424 -0
- package/dist/chunks/chunk.GNQIXGDK.js +11 -0
- package/dist/chunks/chunk.GOM5RE4F.js +21 -0
- package/dist/chunks/chunk.GQ3I2DRF.js +914 -0
- package/dist/chunks/chunk.GUYKEBV5.js +21 -0
- package/dist/chunks/chunk.GZ6J2SK4.js +11 -0
- package/dist/chunks/chunk.H25ILIB5.js +448 -0
- package/dist/chunks/chunk.H3X4HIMC.js +25 -0
- package/dist/chunks/chunk.HBVRX56U.js +375 -0
- package/dist/chunks/chunk.HDY2LT5B.js +324 -0
- package/dist/chunks/chunk.HF2V2AAV.js +29 -0
- package/dist/chunks/chunk.HFZJUPCF.js +22 -0
- package/dist/chunks/chunk.HG3Q5MLW.js +25 -0
- package/dist/chunks/chunk.HHJC7SBM.js +1888 -0
- package/dist/chunks/chunk.HJUHTLGM.js +11 -0
- package/dist/chunks/chunk.HOFHUTVL.js +147 -0
- package/dist/chunks/chunk.HQ6G6NU4.js +25 -0
- package/dist/chunks/chunk.HT4ZRDDY.js +26 -0
- package/dist/chunks/chunk.HURXD5JM.js +536 -0
- package/dist/chunks/chunk.HY7VLZOR.js +11 -0
- package/dist/chunks/chunk.HYBGUDRE.js +231 -0
- package/dist/chunks/chunk.I3J6H5SR.js +26 -0
- package/dist/chunks/chunk.I4IN26AL.js +11 -0
- package/dist/chunks/chunk.I4P3YPVU.js +11 -0
- package/dist/chunks/chunk.I6BRBYE6.js +11 -0
- package/dist/chunks/chunk.I72QB2R3.js +11 -0
- package/dist/chunks/chunk.IAVBALDB.js +11 -0
- package/dist/chunks/chunk.IEYWJQ7M.js +90 -0
- package/dist/chunks/chunk.IKGQ6IPX.js +93 -0
- package/dist/chunks/chunk.IRRJPQTP.js +11 -0
- package/dist/chunks/chunk.J5RICP5L.js +771 -0
- package/dist/chunks/chunk.J7GWXIDW.js +11 -0
- package/dist/chunks/chunk.JAEJZMYD.js +11 -0
- package/dist/chunks/chunk.JCEDRZDT.js +11 -0
- package/dist/chunks/chunk.JIMC2FLV.js +27 -0
- package/dist/chunks/chunk.JKW5QUF4.js +11 -0
- package/dist/chunks/chunk.JMRLZJX4.js +448 -0
- package/dist/chunks/chunk.JROVVA7L.js +96 -0
- package/dist/chunks/chunk.JU7TGZE2.js +25 -0
- package/dist/chunks/chunk.JUYRWQEM.js +21 -0
- package/dist/chunks/chunk.JXPJCRRS.js +24 -0
- package/dist/chunks/chunk.K3A4R42A.js +466 -0
- package/dist/chunks/chunk.K3PY3QWU.js +337 -0
- package/dist/chunks/chunk.K4J5ZR3H.js +21 -0
- package/dist/chunks/chunk.K62ATABB.js +212 -0
- package/dist/chunks/chunk.KB4AKVKP.js +911 -0
- package/dist/chunks/chunk.KCQFS4IW.js +407 -0
- package/dist/chunks/chunk.KHTGTDR7.js +11 -0
- package/dist/chunks/chunk.KK3I35PH.js +11 -0
- package/dist/chunks/chunk.KN4FV4CN.js +294 -0
- package/dist/chunks/chunk.KQASDB5S.js +26 -0
- package/dist/chunks/chunk.KTL26VQF.js +45 -0
- package/dist/chunks/chunk.KUPLQTCI.js +126 -0
- package/dist/chunks/chunk.KUPRLXKF.js +24 -0
- package/dist/chunks/chunk.KVCUZESG.js +11 -0
- package/dist/chunks/chunk.KVLA6MJP.js +24 -0
- package/dist/chunks/chunk.KX3AWJGD.js +75 -0
- package/dist/chunks/chunk.L2UMF4LX.js +521 -0
- package/dist/chunks/chunk.L3P6XDZR.js +11 -0
- package/dist/chunks/chunk.LCJJS33B.js +109 -0
- package/dist/chunks/chunk.LKE45CFU.js +11 -0
- package/dist/chunks/chunk.LLBREKZJ.js +42 -0
- package/dist/chunks/chunk.LMRNVRTA.js +11 -0
- package/dist/chunks/chunk.LPC7BEEV.js +24 -0
- package/dist/chunks/chunk.LQAYM5UF.js +11 -0
- package/dist/chunks/chunk.MKVYLJFQ.js +91 -0
- package/dist/chunks/chunk.MP3W2RRC.js +11 -0
- package/dist/chunks/chunk.MZ5NIS2C.js +24 -0
- package/dist/chunks/chunk.NFX7JLPC.js +11 -0
- package/dist/chunks/chunk.NFYQ6VKM.js +27 -0
- package/dist/chunks/chunk.NPGVJ6M4.js +335 -0
- package/dist/chunks/chunk.NTOE62GR.js +21 -0
- package/dist/chunks/chunk.NUGH5SM7.js +1207 -0
- package/dist/chunks/chunk.NUZWUSIN.js +174 -0
- package/dist/chunks/chunk.NXRHXGRX.js +274 -0
- package/dist/chunks/chunk.OACU5Y45.js +11 -0
- package/dist/chunks/chunk.OAUD5IJS.js +28 -0
- package/dist/chunks/chunk.OBA3HCZM.js +135 -0
- package/dist/chunks/chunk.ODW6NXZY.js +116 -0
- package/dist/chunks/chunk.OI7UIFBG.js +827 -0
- package/dist/chunks/chunk.OQUI3WJM.js +11 -0
- package/dist/chunks/chunk.OSDDNAEY.js +582 -0
- package/dist/chunks/chunk.OUQAJYXD.js +1062 -0
- package/dist/chunks/chunk.OZ7SJI5K.js +181 -0
- package/dist/chunks/chunk.PAHLAYIL.js +11 -0
- package/dist/chunks/chunk.PCXK4CJ6.js +117 -0
- package/dist/chunks/chunk.PFWFLEUH.js +87 -0
- package/dist/chunks/chunk.PFYJ2AUW.js +11 -0
- package/dist/chunks/chunk.PGZZ5DYN.js +126 -0
- package/dist/chunks/chunk.PNKR4LPV.js +11 -0
- package/dist/chunks/chunk.PQ4PH4OY.js +167 -0
- package/dist/chunks/chunk.PRTC5BSH.js +21 -0
- package/dist/chunks/chunk.PTLH5SSG.js +11 -0
- package/dist/chunks/chunk.PUBXHU4C.js +29 -0
- package/dist/chunks/chunk.PYF5CRIQ.js +21 -0
- package/dist/chunks/chunk.PZU7JLOP.js +21 -0
- package/dist/chunks/chunk.Q7GSXZQC.js +154 -0
- package/dist/chunks/chunk.QI5WBECN.js +24 -0
- package/dist/chunks/chunk.QIC3NUZU.js +11 -0
- package/dist/chunks/chunk.QNMNO6HU.js +180 -0
- package/dist/chunks/chunk.QSRDKZOY.js +317 -0
- package/dist/chunks/chunk.QU4KUNBZ.js +63 -0
- package/dist/chunks/chunk.QWVXQ7BC.js +11 -0
- package/dist/chunks/chunk.QXFYMGOI.js +29 -0
- package/dist/chunks/chunk.R2CQIIT7.js +11 -0
- package/dist/chunks/chunk.R4UJU4AR.js +21 -0
- package/dist/chunks/chunk.R5CWYDWE.js +21 -0
- package/dist/chunks/chunk.R7H4HRTR.js +11 -0
- package/dist/chunks/chunk.RK72Q2OF.js +24 -0
- package/dist/chunks/chunk.ROEIPQSG.js +171 -0
- package/dist/chunks/chunk.RQQSQWPD.js +21 -0
- package/dist/chunks/chunk.RQVW2XYM.js +119 -0
- package/dist/chunks/chunk.RS3OOEPP.js +209 -0
- package/dist/chunks/chunk.S4DRT76L.js +75 -0
- package/dist/chunks/chunk.S7TCWWHZ.js +100 -0
- package/dist/chunks/chunk.SC2NREHQ.js +21 -0
- package/dist/chunks/chunk.SDLATFGJ.js +11 -0
- package/dist/chunks/chunk.SFGFB2PZ.js +100 -0
- package/dist/chunks/chunk.SPCAMCEX.js +33 -0
- package/dist/chunks/chunk.SUUEL4JA.js +80 -0
- package/dist/chunks/chunk.SX22NE4O.js +11 -0
- package/dist/chunks/chunk.SYWKMWL2.js +11 -0
- package/dist/chunks/chunk.SZ3FV7M6.js +11 -0
- package/dist/chunks/chunk.T3IPXK6B.js +35 -0
- package/dist/chunks/chunk.T47NZ5K2.js +24 -0
- package/dist/chunks/chunk.T4ZRNFG5.js +86 -0
- package/dist/chunks/chunk.T6KYR7RO.js +111 -0
- package/dist/chunks/chunk.TLZKVAO2.js +11 -0
- package/dist/chunks/chunk.U2YA4FVN.js +11 -0
- package/dist/chunks/chunk.U3GVBGML.js +11 -0
- package/dist/chunks/chunk.UIAGUD4N.js +26 -0
- package/dist/chunks/chunk.UMHU7PFL.js +24 -0
- package/dist/chunks/chunk.UN2CUHFC.js +192 -0
- package/dist/chunks/chunk.UQEWKLVV.js +198 -0
- package/dist/chunks/chunk.UZF3DKGJ.js +21 -0
- package/dist/chunks/chunk.VE43IXIY.js +25 -0
- package/dist/chunks/chunk.VHA3VE4H.js +27 -0
- package/dist/chunks/chunk.VQONJSPR.js +11 -0
- package/dist/chunks/chunk.WABS3QLI.js +627 -0
- package/dist/chunks/chunk.WB7WTHG2.js +11 -0
- package/dist/chunks/chunk.WMEX6POO.js +21 -0
- package/dist/chunks/chunk.WMPB3CCT.js +134 -0
- package/dist/chunks/chunk.WODKU2XW.js +21 -0
- package/dist/chunks/chunk.WRP7L7IZ.js +11 -0
- package/dist/chunks/chunk.XAND5TQC.js +550 -0
- package/dist/chunks/chunk.XDJKW3K3.js +11 -0
- package/dist/chunks/chunk.XEKXHZSY.js +21 -0
- package/dist/chunks/chunk.XG7FP4JX.js +29 -0
- package/dist/chunks/chunk.XHK2ZVW3.js +11 -0
- package/dist/chunks/chunk.XI5SHNMS.js +11 -0
- package/dist/chunks/chunk.XPRRTNPY.js +502 -0
- package/dist/chunks/chunk.XWRZN2AX.js +348 -0
- package/dist/chunks/chunk.XZMD3IYZ.js +25 -0
- package/dist/chunks/chunk.YDB7E2CZ.js +278 -0
- package/dist/chunks/chunk.YDQI3CCD.js +949 -0
- package/dist/chunks/chunk.YGHUX2VO.js +151 -0
- package/dist/chunks/chunk.YQB6FNAQ.js +263 -0
- package/dist/chunks/chunk.YT6TJKCG.js +45 -0
- package/dist/chunks/chunk.YTJFI5QB.js +21 -0
- package/dist/chunks/chunk.YWSBDVJJ.js +11 -0
- package/dist/chunks/chunk.Z3NJRMOT.js +11 -0
- package/dist/chunks/chunk.Z4T4ACAK.js +25 -0
- package/dist/chunks/chunk.ZTUHTPZY.js +372 -0
- package/dist/chunks/chunk.ZVCDTHKY.js +24 -0
- package/dist/chunks/chunk.ZWG4BHQI.js +227 -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 +4 -4
- package/dist/components/animated-image/animated-image.js +5 -5
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- 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 +4 -4
- package/dist/components/button/button.js +5 -5
- 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 +6 -6
- package/dist/components/calendar-picker/calendar-picker.js +6 -6
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- 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 +28 -0
- package/dist/components/cascader/cascader.js +29 -0
- package/dist/components/cascader/cascader.styles.js +7 -0
- 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 +11 -11
- package/dist/components/color-picker/color-picker.js +12 -12
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/date-panel/date-panel.component.js +11 -11
- package/dist/components/date-panel/date-panel.js +11 -11
- package/dist/components/datepicker/datepicker.component.js +17 -17
- package/dist/components/datepicker/datepicker.js +17 -17
- package/dist/components/daterangepicker/daterangepicker.component.js +13 -13
- package/dist/components/daterangepicker/daterangepicker.js +14 -14
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- 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 +5 -5
- package/dist/components/float-button/float-button.js +6 -6
- package/dist/components/float-button-group/float-button-group.component.js +3 -3
- package/dist/components/float-button-group/float-button-group.js +4 -4
- 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 +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image/image.component.js +2 -2
- package/dist/components/image/image.js +2 -2
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/image-preview-group/image-preview-group.component.js +2 -2
- package/dist/components/image-preview-group/image-preview-group.js +2 -2
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +3 -3
- package/dist/components/input/input.js +4 -4
- 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 +6 -6
- package/dist/components/menu-item/menu-item.js +7 -7
- 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 +4 -4
- package/dist/components/nav-submenu/nav-submenu.js +5 -5
- package/dist/components/notification/notification.component.js +6 -6
- package/dist/components/notification/notification.js +7 -7
- package/dist/components/notification/notification.styles.js +1 -1
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +9 -9
- package/dist/components/pagination/pagination.component.js +10 -10
- package/dist/components/pagination/pagination.js +10 -10
- 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 +3 -3
- package/dist/components/radio/radio.js +4 -4
- 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 +3 -3
- package/dist/components/rating/rating.js +4 -4
- 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/segmented/segmented.styles.js +1 -1
- package/dist/components/select/select.component.js +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/sender/sender.component.js +16 -16
- package/dist/components/sender/sender.js +17 -17
- package/dist/components/sender/sender.styles.js +1 -1
- package/dist/components/sender-header/sender-header.component.js +5 -5
- package/dist/components/sender-header/sender-header.js +6 -6
- package/dist/components/sender-switch/sender-switch.component.js +5 -5
- package/dist/components/sender-switch/sender-switch.js +6 -6
- 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 +3 -3
- package/dist/components/steps/steps.js +4 -4
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- 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/features/index.js +3 -3
- package/dist/components/table/footer-table.js +2 -2
- package/dist/components/table/head-table.js +19 -19
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +30 -30
- package/dist/components/table/table.js +31 -31
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/think/think.component.js +4 -4
- package/dist/components/think/think.js +5 -5
- 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 +4 -4
- package/dist/components/thought-chain-item/thought-chain-item.js +5 -5
- package/dist/components/thought-chain-node/thought-chain-node.component.js +4 -4
- package/dist/components/thought-chain-node/thought-chain-node.js +5 -5
- package/dist/components/time-panel/time-panel.component.js +5 -5
- package/dist/components/time-panel/time-panel.js +5 -5
- 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/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-item/tree-item.styles.js +1 -1
- package/dist/components/tree-select/tree-select.component.js +15 -15
- package/dist/components/tree-select/tree-select.js +16 -16
- package/dist/components/tree-select/tree-select.styles.js +1 -1
- package/dist/components/upload/upload.component.js +36 -0
- package/dist/components/upload/upload.js +40 -0
- package/dist/components/upload/upload.styles.js +7 -0
- 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 +2 -2
- package/dist/components/x-markdown/x-markdown.js +3 -3
- package/dist/custom-elements.json +11968 -9864
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +5 -5
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +5 -5
- 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 +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/cascader/index.js +29 -0
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/col/index.js +3 -3
- package/dist/react/color-picker/index.js +12 -12
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +12 -12
- package/dist/react/datepicker/index.js +18 -18
- package/dist/react/daterangepicker/index.js +14 -14
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +6 -6
- 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 +6 -6
- package/dist/react/float-button-group/index.js +4 -4
- 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 +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image/index.js +3 -3
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/image-preview-group/index.js +3 -3
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.js +301 -289
- package/dist/react/input/index.js +4 -4
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +7 -7
- 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 +5 -5
- package/dist/react/notification/index.js +7 -7
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +11 -11
- 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 +4 -4
- 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 +4 -4
- 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 +10 -10
- package/dist/react/sender/index.js +17 -17
- package/dist/react/sender-header/index.js +6 -6
- package/dist/react/sender-switch/index.js +6 -6
- 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 +4 -4
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +31 -31
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/think/index.js +5 -5
- package/dist/react/thought-chain/index.js +3 -3
- package/dist/react/thought-chain-item/index.js +5 -5
- package/dist/react/thought-chain-node/index.js +5 -5
- package/dist/react/timepicker/index.js +18 -18
- package/dist/react/tooltip/index.js +4 -4
- 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 +37 -0
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/react/x-markdown/index.js +3 -3
- package/dist/shoelace.js +291 -285
- package/dist/types/vue/index.d.ts +1520 -1279
- package/dist/vscode.html-custom-data.json +1217 -998
- package/dist/web-types.json +3865 -3245
- package/package.json +1 -1
- package/cdn/chunks/chunk.23QHLX7Y.js +0 -24
- package/cdn/chunks/chunk.25CEYC2P.js +0 -402
- package/cdn/chunks/chunk.2DJI4SQN.js +0 -63
- package/cdn/chunks/chunk.2UL5MJZR.js +0 -11
- package/cdn/chunks/chunk.2YKUA75C.js +0 -25
- package/cdn/chunks/chunk.3GSXIQJL.js +0 -24
- package/cdn/chunks/chunk.3HDOMGSY.js +0 -24
- package/cdn/chunks/chunk.3LRCCRPL.js +0 -1071
- package/cdn/chunks/chunk.3MLPKE5Z.js +0 -11
- package/cdn/chunks/chunk.3OOTYMHY.js +0 -11
- package/cdn/chunks/chunk.3WGMA5NB.js +0 -341
- package/cdn/chunks/chunk.3XUPPQFL.js +0 -11
- package/cdn/chunks/chunk.3ZIKZ6CH.js +0 -7428
- package/cdn/chunks/chunk.44ZU24AV.js +0 -391
- package/cdn/chunks/chunk.45PLY3R4.js +0 -27
- package/cdn/chunks/chunk.4DXHZXZ3.js +0 -586
- package/cdn/chunks/chunk.4IZUNHS2.js +0 -82
- package/cdn/chunks/chunk.4K7TQAWD.js +0 -42
- package/cdn/chunks/chunk.4KQL2A2W.js +0 -291
- package/cdn/chunks/chunk.4V5UYW5L.js +0 -21
- package/cdn/chunks/chunk.4VCP753H.js +0 -27
- package/cdn/chunks/chunk.57BRTC6R.js +0 -734
- package/cdn/chunks/chunk.5AHWBAQI.js +0 -28
- package/cdn/chunks/chunk.5AIHKQGP.js +0 -279
- package/cdn/chunks/chunk.5CWRNVCH.js +0 -281
- package/cdn/chunks/chunk.5EFAXWGH.js +0 -26
- package/cdn/chunks/chunk.65HJAS62.js +0 -11
- package/cdn/chunks/chunk.65KGY6HG.js +0 -24
- package/cdn/chunks/chunk.67GDE55M.js +0 -11
- package/cdn/chunks/chunk.6FNVUQX3.js +0 -24
- package/cdn/chunks/chunk.6GKKEG4W.js +0 -11
- package/cdn/chunks/chunk.6YBNMO6H.js +0 -11
- package/cdn/chunks/chunk.72RU32W5.js +0 -54
- package/cdn/chunks/chunk.77WDIXHH.js +0 -67
- package/cdn/chunks/chunk.7DJSP52Q.js +0 -216
- package/cdn/chunks/chunk.7IGAO4XQ.js +0 -93
- package/cdn/chunks/chunk.7JTMDATQ.js +0 -28
- package/cdn/chunks/chunk.7KIFZXND.js +0 -299
- package/cdn/chunks/chunk.7MMSL5CB.js +0 -1884
- package/cdn/chunks/chunk.7ORRYLJZ.js +0 -25
- package/cdn/chunks/chunk.A34BK7KP.js +0 -11
- package/cdn/chunks/chunk.A77HOFQ2.js +0 -588
- package/cdn/chunks/chunk.A7DNLP5C.js +0 -27
- package/cdn/chunks/chunk.ABMDO365.js +0 -11
- package/cdn/chunks/chunk.AE3LM7P7.js +0 -11
- package/cdn/chunks/chunk.AFBNH3QD.js +0 -29
- package/cdn/chunks/chunk.AGUU2MAQ.js +0 -219
- package/cdn/chunks/chunk.AIR3TPGS.js +0 -11
- package/cdn/chunks/chunk.AITVS2H6.js +0 -140
- package/cdn/chunks/chunk.AMCKDUMQ.js +0 -1213
- package/cdn/chunks/chunk.ANHNOQVC.js +0 -11
- package/cdn/chunks/chunk.ANP2FALH.js +0 -346
- package/cdn/chunks/chunk.AO7TO4GV.js +0 -103
- package/cdn/chunks/chunk.AR3V2CCM.js +0 -79
- package/cdn/chunks/chunk.AWWOMIUG.js +0 -24
- package/cdn/chunks/chunk.AX54XWQL.js +0 -114
- package/cdn/chunks/chunk.AXNUJIA7.js +0 -11
- package/cdn/chunks/chunk.B3WUCT6M.js +0 -11
- package/cdn/chunks/chunk.B7JPO47W.js +0 -179
- package/cdn/chunks/chunk.BEYY4ZSX.js +0 -24
- package/cdn/chunks/chunk.BOI6VSEB.js +0 -271
- package/cdn/chunks/chunk.BRRJUBFJ.js +0 -27
- package/cdn/chunks/chunk.BTCGHJQ5.js +0 -118
- package/cdn/chunks/chunk.C443BB46.js +0 -36
- package/cdn/chunks/chunk.C45KC3CB.js +0 -27
- package/cdn/chunks/chunk.C4LYL4ZJ.js +0 -24
- package/cdn/chunks/chunk.C74NW3U6.js +0 -127
- package/cdn/chunks/chunk.CC6FKMIF.js +0 -29
- package/cdn/chunks/chunk.CD4BRB5S.js +0 -177
- package/cdn/chunks/chunk.CLPGB636.js +0 -11
- package/cdn/chunks/chunk.CP7CBBTM.js +0 -11
- package/cdn/chunks/chunk.CR4C3C4I.js +0 -11
- package/cdn/chunks/chunk.CRSORN74.js +0 -11
- package/cdn/chunks/chunk.CVJNNXWI.js +0 -137
- package/cdn/chunks/chunk.CWNGJFLY.js +0 -11
- package/cdn/chunks/chunk.D42MRYX6.js +0 -11
- package/cdn/chunks/chunk.DRGH4C7W.js +0 -292
- package/cdn/chunks/chunk.DTZU4OSP.js +0 -11
- package/cdn/chunks/chunk.DXB2KK7N.js +0 -26
- package/cdn/chunks/chunk.DXIZYCV4.js +0 -1990
- package/cdn/chunks/chunk.DXY4M3P4.js +0 -163
- package/cdn/chunks/chunk.DYVJZW2G.js +0 -11
- package/cdn/chunks/chunk.DZGQEVAP.js +0 -724
- package/cdn/chunks/chunk.EGBVY2LO.js +0 -11
- package/cdn/chunks/chunk.EHEQOCE5.js +0 -21
- package/cdn/chunks/chunk.EPINEDNV.js +0 -24
- package/cdn/chunks/chunk.EQMJJEIC.js +0 -835
- package/cdn/chunks/chunk.ESPJE4YF.js +0 -11
- package/cdn/chunks/chunk.EVHGUWDU.js +0 -21
- package/cdn/chunks/chunk.EZVIGBAG.js +0 -11
- package/cdn/chunks/chunk.F23YCXEU.js +0 -11
- package/cdn/chunks/chunk.F2WJ3FHE.js +0 -120
- package/cdn/chunks/chunk.F5QEJGT4.js +0 -11
- package/cdn/chunks/chunk.FJBAA46W.js +0 -11
- package/cdn/chunks/chunk.FLZUIT6G.js +0 -50
- package/cdn/chunks/chunk.FMDWOS42.js +0 -128
- package/cdn/chunks/chunk.G3F35NBL.js +0 -11
- package/cdn/chunks/chunk.G3MDQA7D.js +0 -379
- package/cdn/chunks/chunk.G4IQ7MFA.js +0 -21
- package/cdn/chunks/chunk.GALL7CV7.js +0 -11
- package/cdn/chunks/chunk.GHIEHTWN.js +0 -368
- package/cdn/chunks/chunk.GMUA3X5W.js +0 -28
- package/cdn/chunks/chunk.GNMLR3DK.js +0 -11
- package/cdn/chunks/chunk.GPQNURRO.js +0 -21
- package/cdn/chunks/chunk.GQ7SPWQG.js +0 -27
- package/cdn/chunks/chunk.GTPO2VYT.js +0 -26
- package/cdn/chunks/chunk.GV6Z5XVS.js +0 -11
- package/cdn/chunks/chunk.H24X73HY.js +0 -21
- package/cdn/chunks/chunk.H74WRSL7.js +0 -5845
- package/cdn/chunks/chunk.HMHIVNIH.js +0 -35
- package/cdn/chunks/chunk.HXXP2OLW.js +0 -21
- package/cdn/chunks/chunk.IBQ7WLDM.js +0 -130
- package/cdn/chunks/chunk.ICL3CILI.js +0 -142
- package/cdn/chunks/chunk.ICTBN4BL.js +0 -24
- package/cdn/chunks/chunk.IDR7ZL4Y.js +0 -28
- package/cdn/chunks/chunk.IFPPKR7Z.js +0 -11
- package/cdn/chunks/chunk.IHXXQER7.js +0 -75
- package/cdn/chunks/chunk.IMAUP6QR.js +0 -1932
- package/cdn/chunks/chunk.IMR3SSNN.js +0 -113
- package/cdn/chunks/chunk.IP5RDWCD.js +0 -605
- package/cdn/chunks/chunk.IREWHV4F.js +0 -11
- package/cdn/chunks/chunk.IRZB6KG2.js +0 -26
- package/cdn/chunks/chunk.ITZWGDMR.js +0 -11
- package/cdn/chunks/chunk.IVBT7VJW.js +0 -77
- package/cdn/chunks/chunk.J6FE2TPT.js +0 -11
- package/cdn/chunks/chunk.J7NRTKP4.js +0 -25
- package/cdn/chunks/chunk.JDPBVOL2.js +0 -276
- package/cdn/chunks/chunk.JI7AFUU7.js +0 -26
- package/cdn/chunks/chunk.JJ6JAL34.js +0 -199
- package/cdn/chunks/chunk.JS54CBID.js +0 -60
- package/cdn/chunks/chunk.JWCFMMGH.js +0 -11
- package/cdn/chunks/chunk.K26QLIIX.js +0 -29
- package/cdn/chunks/chunk.K55TK2TS.js +0 -11
- package/cdn/chunks/chunk.KAK542DR.js +0 -73
- package/cdn/chunks/chunk.KCTFZ4US.js +0 -11
- package/cdn/chunks/chunk.KETGOT5B.js +0 -11
- package/cdn/chunks/chunk.KFJA6LLS.js +0 -25
- package/cdn/chunks/chunk.KILXZ5T3.js +0 -11
- package/cdn/chunks/chunk.KNZQ3B55.js +0 -11
- package/cdn/chunks/chunk.KQTAUQKX.js +0 -21
- package/cdn/chunks/chunk.KRULBWZQ.js +0 -11
- package/cdn/chunks/chunk.KSUXQGWE.js +0 -25
- package/cdn/chunks/chunk.KTGACKIW.js +0 -215
- package/cdn/chunks/chunk.KWPIK6IV.js +0 -11
- package/cdn/chunks/chunk.L3QO2LZ3.js +0 -24
- package/cdn/chunks/chunk.LCZJQNPD.js +0 -330
- package/cdn/chunks/chunk.LG5ZB5MS.js +0 -11
- package/cdn/chunks/chunk.LMA3ONRQ.js +0 -21
- package/cdn/chunks/chunk.LNG35EAO.js +0 -11
- package/cdn/chunks/chunk.LP5SPOM7.js +0 -11
- package/cdn/chunks/chunk.LPIKQCCQ.js +0 -24
- package/cdn/chunks/chunk.LWEVIQEN.js +0 -11
- package/cdn/chunks/chunk.M3LG7QWZ.js +0 -255
- package/cdn/chunks/chunk.M6WJ447E.js +0 -11
- package/cdn/chunks/chunk.M77NF2B6.js +0 -25
- package/cdn/chunks/chunk.MEH7RL2X.js +0 -236
- package/cdn/chunks/chunk.MF46L7NQ.js +0 -21
- package/cdn/chunks/chunk.MIDZUIYE.js +0 -29
- package/cdn/chunks/chunk.MLOBXFOS.js +0 -25
- package/cdn/chunks/chunk.MUVUHN43.js +0 -24
- package/cdn/chunks/chunk.MVI7FTDP.js +0 -133
- package/cdn/chunks/chunk.MZWRXVJE.js +0 -233
- package/cdn/chunks/chunk.N5OEOD33.js +0 -95
- package/cdn/chunks/chunk.N6OOHDSF.js +0 -122
- package/cdn/chunks/chunk.NEBIQB7W.js +0 -21
- package/cdn/chunks/chunk.NGMZJ7SP.js +0 -21
- package/cdn/chunks/chunk.NJ2NYEQF.js +0 -21
- package/cdn/chunks/chunk.NMZYLYO7.js +0 -186
- package/cdn/chunks/chunk.NOWRJNDO.js +0 -11
- package/cdn/chunks/chunk.NSGCJHNE.js +0 -11
- package/cdn/chunks/chunk.O257MKAI.js +0 -454
- package/cdn/chunks/chunk.O3KJB2B6.js +0 -92
- package/cdn/chunks/chunk.O5WA4ZVB.js +0 -647
- package/cdn/chunks/chunk.OFMNHTER.js +0 -21
- package/cdn/chunks/chunk.OIQPPAI7.js +0 -11
- package/cdn/chunks/chunk.OOF4C73V.js +0 -11
- package/cdn/chunks/chunk.OOWKWDAW.js +0 -354
- package/cdn/chunks/chunk.OS37Q7VF.js +0 -11
- package/cdn/chunks/chunk.OW3RSXNT.js +0 -11
- package/cdn/chunks/chunk.OWEOVIJL.js +0 -11
- package/cdn/chunks/chunk.OZ4UMO32.js +0 -28
- package/cdn/chunks/chunk.OZL2GUYW.js +0 -11
- package/cdn/chunks/chunk.P5VAN2EI.js +0 -510
- package/cdn/chunks/chunk.PBWJJYIF.js +0 -11
- package/cdn/chunks/chunk.PJUBBP2G.js +0 -26
- package/cdn/chunks/chunk.PNJ3KWID.js +0 -302
- package/cdn/chunks/chunk.PO644HRU.js +0 -97
- package/cdn/chunks/chunk.PRLVJDWQ.js +0 -21
- package/cdn/chunks/chunk.Q4RWPARF.js +0 -29
- package/cdn/chunks/chunk.Q4SDVEUI.js +0 -33
- package/cdn/chunks/chunk.Q7QXAWEO.js +0 -21
- package/cdn/chunks/chunk.QJIXWKTC.js +0 -21
- package/cdn/chunks/chunk.QMJOZMUC.js +0 -455
- package/cdn/chunks/chunk.QQ2I63JA.js +0 -11
- package/cdn/chunks/chunk.QT2FJXEB.js +0 -21
- package/cdn/chunks/chunk.QT4TTZEJ.js +0 -11
- package/cdn/chunks/chunk.QYWEWZG2.js +0 -29
- package/cdn/chunks/chunk.QZWOTNMZ.js +0 -25
- package/cdn/chunks/chunk.RBGCQY5T.js +0 -331
- package/cdn/chunks/chunk.RBZ4NS4A.js +0 -21
- package/cdn/chunks/chunk.RCVYX3ZN.js +0 -500
- package/cdn/chunks/chunk.RGSK67BL.js +0 -154
- package/cdn/chunks/chunk.RRZLPFFJ.js +0 -21
- package/cdn/chunks/chunk.RSXBIA2M.js +0 -410
- package/cdn/chunks/chunk.RYCBQSOX.js +0 -158
- package/cdn/chunks/chunk.SFMLMPTX.js +0 -543
- package/cdn/chunks/chunk.SFND4CGR.js +0 -11
- package/cdn/chunks/chunk.SHI3LD5A.js +0 -24
- package/cdn/chunks/chunk.SI5KYZS4.js +0 -27
- package/cdn/chunks/chunk.SJTCGOKK.js +0 -201
- package/cdn/chunks/chunk.SRY6FMNZ.js +0 -21
- package/cdn/chunks/chunk.ST3VMWGP.js +0 -186
- package/cdn/chunks/chunk.SXDFTZO2.js +0 -156
- package/cdn/chunks/chunk.T3JRJQZ2.js +0 -915
- package/cdn/chunks/chunk.T4CLR64J.js +0 -21
- package/cdn/chunks/chunk.T5TAZGGZ.js +0 -25
- package/cdn/chunks/chunk.T6GDJRWU.js +0 -21
- package/cdn/chunks/chunk.TCIRF4BE.js +0 -24
- package/cdn/chunks/chunk.TGTTU3KW.js +0 -11
- package/cdn/chunks/chunk.TIFQGLOW.js +0 -21
- package/cdn/chunks/chunk.TMW6ISKF.js +0 -11
- package/cdn/chunks/chunk.TQJCNHPM.js +0 -21
- package/cdn/chunks/chunk.TUXI7QVG.js +0 -371
- package/cdn/chunks/chunk.U3CFPTGH.js +0 -27
- package/cdn/chunks/chunk.UAVB46WN.js +0 -91
- package/cdn/chunks/chunk.UGIT4N3W.js +0 -21
- package/cdn/chunks/chunk.US6ZKYNK.js +0 -472
- package/cdn/chunks/chunk.UX2LTUQK.js +0 -11
- package/cdn/chunks/chunk.V35TCSO4.js +0 -28
- package/cdn/chunks/chunk.V4RZLJGF.js +0 -11
- package/cdn/chunks/chunk.VBYHPZ4Q.js +0 -25
- package/cdn/chunks/chunk.VCUGQRT3.js +0 -49
- package/cdn/chunks/chunk.VLAHE3TN.js +0 -25
- package/cdn/chunks/chunk.VLI6IUVU.js +0 -135
- package/cdn/chunks/chunk.VUIZR33J.js +0 -24
- package/cdn/chunks/chunk.W2CB57X7.js +0 -236
- package/cdn/chunks/chunk.W3A3GX7G.js +0 -11
- package/cdn/chunks/chunk.WBDQS2UJ.js +0 -24
- package/cdn/chunks/chunk.WBIOWWDZ.js +0 -11
- package/cdn/chunks/chunk.WCMATBVI.js +0 -215
- package/cdn/chunks/chunk.WFQWAECE.js +0 -11
- package/cdn/chunks/chunk.WLFCVICG.js +0 -87
- package/cdn/chunks/chunk.WSJTKBDO.js +0 -329
- package/cdn/chunks/chunk.WU56JBCN.js +0 -193
- package/cdn/chunks/chunk.WVJEWOZ4.js +0 -11
- package/cdn/chunks/chunk.WZALITJN.js +0 -11
- package/cdn/chunks/chunk.WZI7YTQF.js +0 -153
- package/cdn/chunks/chunk.X2FRGSNF.js +0 -92
- package/cdn/chunks/chunk.X3HMGLLN.js +0 -49
- package/cdn/chunks/chunk.XDRJZEJJ.js +0 -24
- package/cdn/chunks/chunk.XHUVAOFS.js +0 -11
- package/cdn/chunks/chunk.XNEZAO47.js +0 -11
- package/cdn/chunks/chunk.XPALY2OV.js +0 -21
- package/cdn/chunks/chunk.XRDT5GME.js +0 -11
- package/cdn/chunks/chunk.XS2546ZR.js +0 -11
- package/cdn/chunks/chunk.XSXDKKV6.js +0 -29
- package/cdn/chunks/chunk.XUUOTTHF.js +0 -161
- package/cdn/chunks/chunk.XVM6KEGR.js +0 -11
- package/cdn/chunks/chunk.XW65IP2K.js +0 -11
- package/cdn/chunks/chunk.Y6DX6LOW.js +0 -11
- package/cdn/chunks/chunk.YAKUK2MU.js +0 -11
- package/cdn/chunks/chunk.YD6ADISP.js +0 -11
- package/cdn/chunks/chunk.YDRP4ZO2.js +0 -24
- package/cdn/chunks/chunk.YEP47ZRM.js +0 -197
- package/cdn/chunks/chunk.YHOUTFIS.js +0 -31
- package/cdn/chunks/chunk.YPN5HAGL.js +0 -336
- package/cdn/chunks/chunk.YWXRVTHX.js +0 -21
- package/cdn/chunks/chunk.Z7D4KMST.js +0 -21
- package/cdn/chunks/chunk.Z7MG6R3V.js +0 -11
- package/cdn/chunks/chunk.ZCFVO2BJ.js +0 -11
- package/cdn/chunks/chunk.ZD2HVBRN.js +0 -11
- package/cdn/chunks/chunk.ZJFASXYJ.js +0 -320
- package/cdn/chunks/chunk.ZNKY5PUA.js +0 -21
- package/cdn/chunks/chunk.ZV6NLSYN.js +0 -24
- package/cdn/chunks/chunk.ZWTURMK5.js +0 -21
- package/dist/chunks/chunk.23QVVNY5.js +0 -11
- package/dist/chunks/chunk.2D67MJAJ.js +0 -31
- package/dist/chunks/chunk.2I4Y2VV2.js +0 -52
- package/dist/chunks/chunk.2PZJ2RBK.js +0 -11
- package/dist/chunks/chunk.2WGMZUC4.js +0 -25
- package/dist/chunks/chunk.2XCTVWKR.js +0 -24
- package/dist/chunks/chunk.2XIHUXAO.js +0 -11
- package/dist/chunks/chunk.2Y4BR4YM.js +0 -11
- package/dist/chunks/chunk.376NTJKJ.js +0 -34
- package/dist/chunks/chunk.37OK4ECH.js +0 -227
- package/dist/chunks/chunk.3ALQFOCE.js +0 -198
- package/dist/chunks/chunk.3EEFKOXQ.js +0 -937
- package/dist/chunks/chunk.3EUHR5SZ.js +0 -148
- package/dist/chunks/chunk.3Q5ZZNHH.js +0 -119
- package/dist/chunks/chunk.3VLVKQ6E.js +0 -21
- package/dist/chunks/chunk.3YAFBBHU.js +0 -194
- package/dist/chunks/chunk.42LI5NDP.js +0 -337
- package/dist/chunks/chunk.435MCRQZ.js +0 -11
- package/dist/chunks/chunk.43EYBAY7.js +0 -25
- package/dist/chunks/chunk.45PBKCNU.js +0 -322
- package/dist/chunks/chunk.4A3XVWV7.js +0 -190
- package/dist/chunks/chunk.4BGCXS27.js +0 -24
- package/dist/chunks/chunk.4D3UWWAO.js +0 -424
- package/dist/chunks/chunk.4GFTP7L6.js +0 -11
- package/dist/chunks/chunk.4L3LUJBG.js +0 -25
- package/dist/chunks/chunk.4MT5HY3W.js +0 -28
- package/dist/chunks/chunk.4O6HDAN5.js +0 -11
- package/dist/chunks/chunk.4SWVKJBA.js +0 -21
- package/dist/chunks/chunk.53USOTO4.js +0 -11
- package/dist/chunks/chunk.5HEMGKJA.js +0 -29
- package/dist/chunks/chunk.5K3WQDPP.js +0 -25
- package/dist/chunks/chunk.5OLUB5HL.js +0 -11
- package/dist/chunks/chunk.5PWPGYLP.js +0 -550
- package/dist/chunks/chunk.5S7LBQ2B.js +0 -11
- package/dist/chunks/chunk.5SN3J3BY.js +0 -135
- package/dist/chunks/chunk.5XJCVQGW.js +0 -25
- package/dist/chunks/chunk.64FK4YRH.js +0 -29
- package/dist/chunks/chunk.64SJOSTU.js +0 -11
- package/dist/chunks/chunk.64VAP7GB.js +0 -29
- package/dist/chunks/chunk.65L7JITW.js +0 -126
- package/dist/chunks/chunk.6BYUXBBJ.js +0 -117
- package/dist/chunks/chunk.6IYPP3B7.js +0 -11
- package/dist/chunks/chunk.6K6WTWGB.js +0 -25
- package/dist/chunks/chunk.6NHJRAXW.js +0 -24
- package/dist/chunks/chunk.6OUPLCGZ.js +0 -11
- package/dist/chunks/chunk.6PT7PR44.js +0 -11
- package/dist/chunks/chunk.6U3SJUX2.js +0 -192
- package/dist/chunks/chunk.6VEHYHKA.js +0 -24
- package/dist/chunks/chunk.6VQ3RZ2W.js +0 -21
- package/dist/chunks/chunk.6W4KHGMW.js +0 -11
- package/dist/chunks/chunk.6XIE7VBV.js +0 -33
- package/dist/chunks/chunk.6YEDMWJZ.js +0 -27
- package/dist/chunks/chunk.722TUWWM.js +0 -59
- package/dist/chunks/chunk.7567OT3S.js +0 -27
- package/dist/chunks/chunk.76ECXYZQ.js +0 -11
- package/dist/chunks/chunk.76VVG6G3.js +0 -22
- package/dist/chunks/chunk.7NURYHAE.js +0 -28
- package/dist/chunks/chunk.7SHUNXNH.js +0 -11
- package/dist/chunks/chunk.7WBUQSTH.js +0 -35
- package/dist/chunks/chunk.A2U4PN4M.js +0 -11
- package/dist/chunks/chunk.A44WC6VE.js +0 -21
- package/dist/chunks/chunk.AAPWOVSS.js +0 -24
- package/dist/chunks/chunk.ABKONYSU.js +0 -724
- package/dist/chunks/chunk.AIAC7VIZ.js +0 -11
- package/dist/chunks/chunk.APUDEVWD.js +0 -26
- package/dist/chunks/chunk.AT72NH34.js +0 -42
- package/dist/chunks/chunk.AWE55MFU.js +0 -214
- package/dist/chunks/chunk.B27TMGMC.js +0 -11
- package/dist/chunks/chunk.B2S6ABJT.js +0 -11
- package/dist/chunks/chunk.BRT2X6UY.js +0 -11
- package/dist/chunks/chunk.BSFPSL3Q.js +0 -209
- package/dist/chunks/chunk.BYYZZMGG.js +0 -181
- package/dist/chunks/chunk.C5O4C4PD.js +0 -151
- package/dist/chunks/chunk.CDB5EHNJ.js +0 -24
- package/dist/chunks/chunk.CFGAJCRI.js +0 -29
- package/dist/chunks/chunk.CKFHTDUI.js +0 -24
- package/dist/chunks/chunk.CMZHTGPE.js +0 -11
- package/dist/chunks/chunk.CPYAL7PB.js +0 -21
- package/dist/chunks/chunk.CRIPT3JL.js +0 -86
- package/dist/chunks/chunk.CRPCZG2L.js +0 -21
- package/dist/chunks/chunk.CSDE6AAP.js +0 -11
- package/dist/chunks/chunk.CWM4VCU7.js +0 -171
- package/dist/chunks/chunk.D5N23SRB.js +0 -494
- package/dist/chunks/chunk.DJ53OLWL.js +0 -137
- package/dist/chunks/chunk.DKI25Y7A.js +0 -397
- package/dist/chunks/chunk.DKXRQE4R.js +0 -11
- package/dist/chunks/chunk.DOOR5QZX.js +0 -384
- package/dist/chunks/chunk.DRR6CNOL.js +0 -11
- package/dist/chunks/chunk.DVBQUG3C.js +0 -11
- package/dist/chunks/chunk.DXTOFFDS.js +0 -11
- package/dist/chunks/chunk.DYELBEDM.js +0 -86
- package/dist/chunks/chunk.E33CUW6M.js +0 -25
- package/dist/chunks/chunk.E6P76LKK.js +0 -11
- package/dist/chunks/chunk.EC4XYGUN.js +0 -11
- package/dist/chunks/chunk.EG5RVFOR.js +0 -247
- package/dist/chunks/chunk.EGACN2O7.js +0 -11
- package/dist/chunks/chunk.EO6NNAW7.js +0 -21
- package/dist/chunks/chunk.EX7AIWM3.js +0 -827
- package/dist/chunks/chunk.FBEXPB2E.js +0 -21
- package/dist/chunks/chunk.FGRJGNL3.js +0 -90
- package/dist/chunks/chunk.FN5R7ZH4.js +0 -11
- package/dist/chunks/chunk.FQJRRUJI.js +0 -11
- package/dist/chunks/chunk.FY5MMQWD.js +0 -11
- package/dist/chunks/chunk.G2DGLGJU.js +0 -11
- package/dist/chunks/chunk.G3SBOPRT.js +0 -25
- package/dist/chunks/chunk.G4JBXOZZ.js +0 -63
- package/dist/chunks/chunk.G5UEZ63Y.js +0 -949
- package/dist/chunks/chunk.GA743LKC.js +0 -21
- package/dist/chunks/chunk.GAF5T2A7.js +0 -11
- package/dist/chunks/chunk.GCUSBAAT.js +0 -278
- package/dist/chunks/chunk.GCZIGZF5.js +0 -87
- package/dist/chunks/chunk.GJK3MXAT.js +0 -29
- package/dist/chunks/chunk.GRLIBBSG.js +0 -21
- package/dist/chunks/chunk.GUP5SCP6.js +0 -231
- package/dist/chunks/chunk.GXUTO6JZ.js +0 -150
- package/dist/chunks/chunk.H26EEPEZ.js +0 -11
- package/dist/chunks/chunk.H4CUBMHM.js +0 -29
- package/dist/chunks/chunk.H4OMOKSV.js +0 -93
- package/dist/chunks/chunk.HD76Z6X5.js +0 -28
- package/dist/chunks/chunk.HDL3N2D6.js +0 -96
- package/dist/chunks/chunk.HEKKQ52P.js +0 -158
- package/dist/chunks/chunk.HG2LBASI.js +0 -21
- package/dist/chunks/chunk.HGOZ52YE.js +0 -80
- package/dist/chunks/chunk.HGXUO62V.js +0 -11
- package/dist/chunks/chunk.HHAR6GHD.js +0 -11
- package/dist/chunks/chunk.HHXFF7OA.js +0 -21
- package/dist/chunks/chunk.HLC22PO5.js +0 -11
- package/dist/chunks/chunk.HQORCCR2.js +0 -11
- package/dist/chunks/chunk.HT2JNSMT.js +0 -21
- package/dist/chunks/chunk.HVTXRG34.js +0 -21
- package/dist/chunks/chunk.HYGSUURL.js +0 -21
- package/dist/chunks/chunk.I6RLWODN.js +0 -521
- package/dist/chunks/chunk.ICM7Y4L3.js +0 -448
- package/dist/chunks/chunk.ICRBVINV.js +0 -24
- package/dist/chunks/chunk.IE4QSEDX.js +0 -11
- package/dist/chunks/chunk.IVUJLEIH.js +0 -11
- package/dist/chunks/chunk.IX54OEHK.js +0 -21
- package/dist/chunks/chunk.JAATJADL.js +0 -21
- package/dist/chunks/chunk.JADAVZJZ.js +0 -100
- package/dist/chunks/chunk.JHLAS7PY.js +0 -365
- package/dist/chunks/chunk.JHRPVWQ7.js +0 -11
- package/dist/chunks/chunk.JIR5EFPL.js +0 -24
- package/dist/chunks/chunk.JM5BQC4W.js +0 -24
- package/dist/chunks/chunk.JYWL7TFB.js +0 -25
- package/dist/chunks/chunk.K5CR3W5K.js +0 -11
- package/dist/chunks/chunk.K64VD5VX.js +0 -24
- package/dist/chunks/chunk.K7TTYTGP.js +0 -11
- package/dist/chunks/chunk.KCTBAZOP.js +0 -125
- package/dist/chunks/chunk.KHM6ZQTX.js +0 -466
- package/dist/chunks/chunk.KM3TO6P2.js +0 -67
- package/dist/chunks/chunk.KNKFPL5O.js +0 -11
- package/dist/chunks/chunk.KOO7LV7Y.js +0 -11
- package/dist/chunks/chunk.KQTI43KM.js +0 -11
- package/dist/chunks/chunk.KVDLSN36.js +0 -1062
- package/dist/chunks/chunk.KYOHQND6.js +0 -21
- package/dist/chunks/chunk.L2DKDHP4.js +0 -11
- package/dist/chunks/chunk.L4CBCQF5.js +0 -73
- package/dist/chunks/chunk.LA5RDZI3.js +0 -11
- package/dist/chunks/chunk.LA7467D4.js +0 -21
- package/dist/chunks/chunk.LDXPMZPJ.js +0 -21
- package/dist/chunks/chunk.LIB3BKFI.js +0 -317
- package/dist/chunks/chunk.LU6CY4L3.js +0 -1875
- package/dist/chunks/chunk.LW4UBDTX.js +0 -21
- package/dist/chunks/chunk.M36S3F53.js +0 -24
- package/dist/chunks/chunk.M3QORU3N.js +0 -26
- package/dist/chunks/chunk.M74IPDS7.js +0 -263
- package/dist/chunks/chunk.MIBLWLCO.js +0 -320
- package/dist/chunks/chunk.MJIRIWT7.js +0 -448
- package/dist/chunks/chunk.MJKJWCJ2.js +0 -11
- package/dist/chunks/chunk.MZWHC2FQ.js +0 -147
- package/dist/chunks/chunk.NA5O7M76.js +0 -24
- package/dist/chunks/chunk.NBLDECVU.js +0 -11
- package/dist/chunks/chunk.NDB2PURH.js +0 -126
- package/dist/chunks/chunk.NJC4NREC.js +0 -582
- package/dist/chunks/chunk.NMHNVTUG.js +0 -911
- package/dist/chunks/chunk.NSS5QJ7X.js +0 -21
- package/dist/chunks/chunk.NSYJIIAT.js +0 -26
- package/dist/chunks/chunk.NYBXA7XL.js +0 -75
- package/dist/chunks/chunk.O7WPFMPE.js +0 -29
- package/dist/chunks/chunk.OC37E34I.js +0 -50
- package/dist/chunks/chunk.OG47FCVL.js +0 -25
- package/dist/chunks/chunk.OIQ66L7P.js +0 -154
- package/dist/chunks/chunk.OJSQN5MT.js +0 -28
- package/dist/chunks/chunk.OLJMUDEI.js +0 -335
- package/dist/chunks/chunk.OQVJOILL.js +0 -11
- package/dist/chunks/chunk.OXZAK47N.js +0 -11
- package/dist/chunks/chunk.PDBIPAHN.js +0 -75
- package/dist/chunks/chunk.PH3FDII3.js +0 -27
- package/dist/chunks/chunk.PRCZEBYJ.js +0 -45
- package/dist/chunks/chunk.PUDOG2HJ.js +0 -109
- package/dist/chunks/chunk.PVTIIBVW.js +0 -11
- package/dist/chunks/chunk.PXGDEV53.js +0 -11
- package/dist/chunks/chunk.PXQIMKMZ.js +0 -24
- package/dist/chunks/chunk.PYUDNKJH.js +0 -11
- package/dist/chunks/chunk.Q7Q3N2MW.js +0 -11
- package/dist/chunks/chunk.QFBZ5PH5.js +0 -134
- package/dist/chunks/chunk.QIZZDCEJ.js +0 -11
- package/dist/chunks/chunk.QMJF4ZFW.js +0 -11
- package/dist/chunks/chunk.QQDHYEJE.js +0 -27
- package/dist/chunks/chunk.QZDS2D62.js +0 -11
- package/dist/chunks/chunk.RAKSDJM6.js +0 -27
- package/dist/chunks/chunk.RESU3N5B.js +0 -91
- package/dist/chunks/chunk.RKKBPKVL.js +0 -371
- package/dist/chunks/chunk.RMAG5XGO.js +0 -21
- package/dist/chunks/chunk.RQJXK56S.js +0 -365
- package/dist/chunks/chunk.RZ34GE2X.js +0 -407
- package/dist/chunks/chunk.SDX6M65R.js +0 -294
- package/dist/chunks/chunk.SFGRSHKM.js +0 -502
- package/dist/chunks/chunk.SGVII4SS.js +0 -348
- package/dist/chunks/chunk.SJPTKBQI.js +0 -286
- package/dist/chunks/chunk.SPZDVICF.js +0 -315
- package/dist/chunks/chunk.SRYA45ZX.js +0 -637
- package/dist/chunks/chunk.SS6KZQKE.js +0 -113
- package/dist/chunks/chunk.SV2IXYJ2.js +0 -85
- package/dist/chunks/chunk.T3SYLV27.js +0 -28
- package/dist/chunks/chunk.T7RGXM43.js +0 -11
- package/dist/chunks/chunk.TESTXMZA.js +0 -21
- package/dist/chunks/chunk.TFL52ZPQ.js +0 -11
- package/dist/chunks/chunk.TI2CKUF7.js +0 -598
- package/dist/chunks/chunk.TM75MCZS.js +0 -11
- package/dist/chunks/chunk.TRKQZFSR.js +0 -11
- package/dist/chunks/chunk.TURZ55HW.js +0 -24
- package/dist/chunks/chunk.UHDASFWR.js +0 -21
- package/dist/chunks/chunk.UOAZ7VTJ.js +0 -21
- package/dist/chunks/chunk.URILDBB3.js +0 -25
- package/dist/chunks/chunk.VCTLKW7S.js +0 -26
- package/dist/chunks/chunk.VDEE4ATN.js +0 -22
- package/dist/chunks/chunk.VK45KXCI.js +0 -174
- package/dist/chunks/chunk.VPCPBXLB.js +0 -274
- package/dist/chunks/chunk.VSHDZ744.js +0 -127
- package/dist/chunks/chunk.VSYZSWC4.js +0 -11
- package/dist/chunks/chunk.VUUUZIRL.js +0 -21
- package/dist/chunks/chunk.VZ5N7BEV.js +0 -100
- package/dist/chunks/chunk.W6SPXJMJ.js +0 -26
- package/dist/chunks/chunk.WBPDNIDC.js +0 -1207
- package/dist/chunks/chunk.WF5ULSHG.js +0 -11
- package/dist/chunks/chunk.WLL4TI6E.js +0 -11
- package/dist/chunks/chunk.WMGZ4VT7.js +0 -21
- package/dist/chunks/chunk.WQF5AUGI.js +0 -26
- package/dist/chunks/chunk.WS4C6M2T.js +0 -11
- package/dist/chunks/chunk.WT7XTWCV.js +0 -24
- package/dist/chunks/chunk.WTEHM27Z.js +0 -27
- package/dist/chunks/chunk.WUEQXTJA.js +0 -11
- package/dist/chunks/chunk.XAZTFMI7.js +0 -25
- package/dist/chunks/chunk.XF53E2EV.js +0 -11
- package/dist/chunks/chunk.XO3ASHCI.js +0 -11
- package/dist/chunks/chunk.XQXUXM2G.js +0 -116
- package/dist/chunks/chunk.XRBLPMTD.js +0 -11
- package/dist/chunks/chunk.XT365ECW.js +0 -11
- package/dist/chunks/chunk.XVJ4GYMY.js +0 -11
- package/dist/chunks/chunk.XVW74MWW.js +0 -213
- package/dist/chunks/chunk.YHVJRWF2.js +0 -27
- package/dist/chunks/chunk.YJM4SBIL.js +0 -180
- package/dist/chunks/chunk.YKIFWZNQ.js +0 -111
- package/dist/chunks/chunk.YL4SLAYC.js +0 -21
- package/dist/chunks/chunk.YMDSIHGV.js +0 -11
- package/dist/chunks/chunk.YNQQALCT.js +0 -57
- package/dist/chunks/chunk.YR7LKWFQ.js +0 -324
- package/dist/chunks/chunk.YSML5P34.js +0 -11
- package/dist/chunks/chunk.YSYQKV6A.js +0 -280
- package/dist/chunks/chunk.YT4WJ5ZV.js +0 -11
- package/dist/chunks/chunk.YW33A3Z2.js +0 -21
- package/dist/chunks/chunk.YXW3MCSF.js +0 -28
- package/dist/chunks/chunk.Z4AKIAK3.js +0 -212
- package/dist/chunks/chunk.ZEIGDMZY.js +0 -11
- package/dist/chunks/chunk.ZEVFDIKC.js +0 -231
- package/dist/chunks/chunk.ZN333G4I.js +0 -45
- package/dist/chunks/chunk.ZN63BJSE.js +0 -24
- package/dist/chunks/chunk.ZNOXLXL2.js +0 -11
- package/dist/chunks/chunk.ZOMIS4CM.js +0 -167
- package/dist/chunks/chunk.ZOXZ324S.js +0 -293
- package/dist/chunks/chunk.ZRGPCJR7.js +0 -24
- package/dist/chunks/chunk.ZVQVKB5M.js +0 -21
- package/dist/chunks/chunk.ZWMHJNPE.js +0 -11
- package/dist/chunks/chunk.ZZT5TYM7.js +0 -11
|
@@ -1,1213 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SlTextarea
|
|
3
|
-
} from "./chunk.G3MDQA7D.js";
|
|
4
|
-
import {
|
|
5
|
-
sender_styles_default
|
|
6
|
-
} from "./chunk.GHIEHTWN.js";
|
|
7
|
-
import {
|
|
8
|
-
SlInput
|
|
9
|
-
} from "./chunk.P5VAN2EI.js";
|
|
10
|
-
import {
|
|
11
|
-
SlButton
|
|
12
|
-
} from "./chunk.PNJ3KWID.js";
|
|
13
|
-
import {
|
|
14
|
-
SlSpinner
|
|
15
|
-
} from "./chunk.C443BB46.js";
|
|
16
|
-
import {
|
|
17
|
-
SlSelect
|
|
18
|
-
} from "./chunk.EQMJJEIC.js";
|
|
19
|
-
import {
|
|
20
|
-
SlTag
|
|
21
|
-
} from "./chunk.PO644HRU.js";
|
|
22
|
-
import {
|
|
23
|
-
SlOption
|
|
24
|
-
} from "./chunk.WZI7YTQF.js";
|
|
25
|
-
import {
|
|
26
|
-
SlIconButton
|
|
27
|
-
} from "./chunk.VLI6IUVU.js";
|
|
28
|
-
import {
|
|
29
|
-
e
|
|
30
|
-
} from "./chunk.ZLKEMKLZ.js";
|
|
31
|
-
import {
|
|
32
|
-
SlIcon
|
|
33
|
-
} from "./chunk.ST3VMWGP.js";
|
|
34
|
-
import {
|
|
35
|
-
component_styles_default
|
|
36
|
-
} from "./chunk.WT5BNBAS.js";
|
|
37
|
-
import {
|
|
38
|
-
ShoelaceElement,
|
|
39
|
-
e as e2,
|
|
40
|
-
n,
|
|
41
|
-
r
|
|
42
|
-
} from "./chunk.JDPBVOL2.js";
|
|
43
|
-
import {
|
|
44
|
-
b
|
|
45
|
-
} from "./chunk.7Z2GKZ7U.js";
|
|
46
|
-
import {
|
|
47
|
-
__decorateClass,
|
|
48
|
-
__spreadProps,
|
|
49
|
-
__spreadValues
|
|
50
|
-
} from "./chunk.CZCSAYQZ.js";
|
|
51
|
-
|
|
52
|
-
// src/components/sender/sender.component.ts
|
|
53
|
-
var SlSender = class extends ShoelaceElement {
|
|
54
|
-
constructor() {
|
|
55
|
-
super(...arguments);
|
|
56
|
-
/** slot-area 失焦前保存的光标位置 */
|
|
57
|
-
this._savedRange = null;
|
|
58
|
-
this.value = "";
|
|
59
|
-
this.placeholder = "";
|
|
60
|
-
this.loading = false;
|
|
61
|
-
this.disabled = false;
|
|
62
|
-
this.readOnly = false;
|
|
63
|
-
this.rows = 1;
|
|
64
|
-
this.submitType = "enter";
|
|
65
|
-
this.allowSpeech = false;
|
|
66
|
-
this.speechRecording = false;
|
|
67
|
-
// SpeechRecognition 实例,用于浏览器内置语音输入
|
|
68
|
-
this.recognition = null;
|
|
69
|
-
// 麦克风权限状态缓存
|
|
70
|
-
this.permissionState = null;
|
|
71
|
-
// PermissionStatus 引用,用于移除 onchange 监听
|
|
72
|
-
this.permissionStatus = null;
|
|
73
|
-
// 强制停止时忽略下一次转写结果
|
|
74
|
-
this.forceBreak = false;
|
|
75
|
-
// 动态插入元素的事件监听器引用,用于显式清理
|
|
76
|
-
this.dynamicListeners = [];
|
|
77
|
-
this.slotValues = /* @__PURE__ */ new Map();
|
|
78
|
-
this.hasHeaderContent = false;
|
|
79
|
-
this.hasFooterContent = false;
|
|
80
|
-
this.handleInput = (event) => {
|
|
81
|
-
this.value = event.target.value;
|
|
82
|
-
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
83
|
-
detail: { value: this.value, slotConfig: [], skill: this.skill },
|
|
84
|
-
bubbles: true,
|
|
85
|
-
composed: true
|
|
86
|
-
}));
|
|
87
|
-
};
|
|
88
|
-
this.handleFocus = () => {
|
|
89
|
-
this.emit("sl-focus");
|
|
90
|
-
};
|
|
91
|
-
this.handleBlur = () => {
|
|
92
|
-
var _a, _b, _c;
|
|
93
|
-
if (this.isSlotMode) {
|
|
94
|
-
const selection = (_c = (_b = (_a = this.shadowRoot) == null ? void 0 : _a.getSelection) == null ? void 0 : _b.call(_a)) != null ? _c : document.getSelection();
|
|
95
|
-
if (selection && selection.rangeCount > 0) {
|
|
96
|
-
const range = selection.getRangeAt(0);
|
|
97
|
-
const slotArea = this.slotArea;
|
|
98
|
-
if (slotArea && slotArea.contains(range.commonAncestorContainer)) {
|
|
99
|
-
this._savedRange = range.cloneRange();
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
this.emit("sl-blur");
|
|
104
|
-
};
|
|
105
|
-
/** 处理 slot 区域的自由文本输入 */
|
|
106
|
-
this.handleSlotAreaInput = () => {
|
|
107
|
-
const snapshot = this.getEditorSnapshot();
|
|
108
|
-
this.value = snapshot.value;
|
|
109
|
-
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
110
|
-
detail: snapshot,
|
|
111
|
-
bubbles: true,
|
|
112
|
-
composed: true
|
|
113
|
-
}));
|
|
114
|
-
};
|
|
115
|
-
this.handlePaste = (event) => {
|
|
116
|
-
var _a;
|
|
117
|
-
this.dispatchEvent(new CustomEvent("sl-paste", {
|
|
118
|
-
detail: { event },
|
|
119
|
-
bubbles: true,
|
|
120
|
-
composed: true
|
|
121
|
-
}));
|
|
122
|
-
const files = (_a = event.clipboardData) == null ? void 0 : _a.files;
|
|
123
|
-
if (files == null ? void 0 : files.length) {
|
|
124
|
-
this.dispatchEvent(new CustomEvent("sl-paste-file", {
|
|
125
|
-
detail: { files },
|
|
126
|
-
bubbles: true,
|
|
127
|
-
composed: true
|
|
128
|
-
}));
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
this.handleSlotValueChange = (key, value) => {
|
|
132
|
-
this.slotValues.set(key, value);
|
|
133
|
-
this.requestUpdate();
|
|
134
|
-
this.updateComplete.then(() => {
|
|
135
|
-
const snapshot = this.getEditorSnapshot();
|
|
136
|
-
this.value = snapshot.value;
|
|
137
|
-
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
138
|
-
detail: snapshot,
|
|
139
|
-
bubbles: true,
|
|
140
|
-
composed: true
|
|
141
|
-
}));
|
|
142
|
-
});
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* 聚焦输入区域,支持 cursor 选项控制光标位置。
|
|
147
|
-
* - 'end'(默认):光标移到内容末尾
|
|
148
|
-
* - 'start':光标移到内容开头
|
|
149
|
-
* - 'all':全选内容
|
|
150
|
-
* - 'slot':聚焦第一个 slot input,若不存在则等同 'end'
|
|
151
|
-
*/
|
|
152
|
-
focus(options) {
|
|
153
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
154
|
-
const preventScroll = (_a = options == null ? void 0 : options.preventScroll) != null ? _a : false;
|
|
155
|
-
const cursor = (_b = options == null ? void 0 : options.cursor) != null ? _b : "end";
|
|
156
|
-
if (this.isSlotMode) {
|
|
157
|
-
const slotArea = this.slotArea;
|
|
158
|
-
if (!slotArea) return;
|
|
159
|
-
if (cursor === "slot") {
|
|
160
|
-
const firstSlotInput = (_c = this.shadowRoot) == null ? void 0 : _c.querySelector(
|
|
161
|
-
".sender__slot-area sl-input, .sender__slot-area sl-select, .sender__slot-area .sender__slot-content"
|
|
162
|
-
);
|
|
163
|
-
if (firstSlotInput) {
|
|
164
|
-
firstSlotInput.focus({ preventScroll });
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
|
-
this.focusSlotAreaAt(slotArea, "end", preventScroll);
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
if (cursor === "all") {
|
|
171
|
-
slotArea.focus({ preventScroll });
|
|
172
|
-
const selection = document.getSelection();
|
|
173
|
-
if (selection) {
|
|
174
|
-
const range = document.createRange();
|
|
175
|
-
range.selectNodeContents(slotArea);
|
|
176
|
-
const skillEl = slotArea.querySelector(".sender__skill");
|
|
177
|
-
if (skillEl) {
|
|
178
|
-
const idx = Array.from(slotArea.childNodes).indexOf(skillEl);
|
|
179
|
-
if (idx >= 0) range.setStart(slotArea, idx + 1);
|
|
180
|
-
}
|
|
181
|
-
selection.removeAllRanges();
|
|
182
|
-
selection.addRange(range);
|
|
183
|
-
}
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
this.focusSlotAreaAt(slotArea, cursor, preventScroll);
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
const textareaEl = (_e = (_d = this.textarea) == null ? void 0 : _d.shadowRoot) == null ? void 0 : _e.querySelector("textarea");
|
|
190
|
-
if (!textareaEl) {
|
|
191
|
-
(_f = this.textarea) == null ? void 0 : _f.focus({ preventScroll });
|
|
192
|
-
return;
|
|
193
|
-
}
|
|
194
|
-
(_g = this.textarea) == null ? void 0 : _g.focus({ preventScroll });
|
|
195
|
-
if (cursor === "start") {
|
|
196
|
-
textareaEl.setSelectionRange(0, 0);
|
|
197
|
-
} else if (cursor === "all") {
|
|
198
|
-
textareaEl.setSelectionRange(0, textareaEl.value.length);
|
|
199
|
-
} else {
|
|
200
|
-
const len = textareaEl.value.length;
|
|
201
|
-
textareaEl.setSelectionRange(len, len);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
/** slot 模式下将光标定位到 slotArea 的 start 或 end */
|
|
205
|
-
focusSlotAreaAt(slotArea, position, preventScroll) {
|
|
206
|
-
slotArea.focus({ preventScroll });
|
|
207
|
-
const selection = document.getSelection();
|
|
208
|
-
if (!selection) return;
|
|
209
|
-
const range = document.createRange();
|
|
210
|
-
range.selectNodeContents(slotArea);
|
|
211
|
-
if (position === "start") {
|
|
212
|
-
const skillEl = slotArea.querySelector(".sender__skill");
|
|
213
|
-
if (skillEl) {
|
|
214
|
-
const idx = Array.from(slotArea.childNodes).indexOf(skillEl);
|
|
215
|
-
if (idx >= 0) range.setStart(slotArea, idx + 1);
|
|
216
|
-
}
|
|
217
|
-
range.collapse(true);
|
|
218
|
-
} else {
|
|
219
|
-
range.collapse(false);
|
|
220
|
-
}
|
|
221
|
-
selection.removeAllRanges();
|
|
222
|
-
selection.addRange(range);
|
|
223
|
-
}
|
|
224
|
-
/** 移除输入区域焦点 */
|
|
225
|
-
blur() {
|
|
226
|
-
var _a, _b;
|
|
227
|
-
if (this.isSlotMode) {
|
|
228
|
-
(_a = this.slotArea) == null ? void 0 : _a.blur();
|
|
229
|
-
} else {
|
|
230
|
-
(_b = this.textarea) == null ? void 0 : _b.blur();
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
/** 清空输入内容,slot 模式下同时重置 slotValues */
|
|
234
|
-
clear() {
|
|
235
|
-
this.handleClear();
|
|
236
|
-
}
|
|
237
|
-
/** 获取当前输入值,slot 模式下返回完整的 { value, slotConfig, skill } */
|
|
238
|
-
getValue() {
|
|
239
|
-
if (this.isSlotMode) {
|
|
240
|
-
return this.getEditorSnapshot();
|
|
241
|
-
}
|
|
242
|
-
return { value: this.value, slotConfig: [], skill: void 0 };
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* 插入文本或 slot 配置项到输入区域
|
|
246
|
-
* slot 模式下将 slotConfig 项渲染为 DOM 节点插入到 slot-area
|
|
247
|
-
* 普通模式下将各项文本拼接后插入到 textarea
|
|
248
|
-
*/
|
|
249
|
-
insert(slotConfig, position = "end", _replaceCharacters, preventScroll) {
|
|
250
|
-
if (!slotConfig || slotConfig.length === 0) return;
|
|
251
|
-
if (this.isSlotMode) {
|
|
252
|
-
this.insertSlotNodes(slotConfig, position, preventScroll);
|
|
253
|
-
} else {
|
|
254
|
-
const text = slotConfig.filter((item) => item.type === "text").map((item) => {
|
|
255
|
-
var _a;
|
|
256
|
-
return (_a = item.value) != null ? _a : "";
|
|
257
|
-
}).join("");
|
|
258
|
-
if (!text) return;
|
|
259
|
-
this.insertTextToTextarea(text, position);
|
|
260
|
-
}
|
|
261
|
-
const snapshot = this.isSlotMode ? this.getEditorSnapshot() : { value: this.value, slotConfig: [], skill: void 0 };
|
|
262
|
-
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
263
|
-
detail: snapshot,
|
|
264
|
-
bubbles: true,
|
|
265
|
-
composed: true
|
|
266
|
-
}));
|
|
267
|
-
}
|
|
268
|
-
/** 普通模式下插入文本到 textarea */
|
|
269
|
-
insertTextToTextarea(text, position) {
|
|
270
|
-
var _a, _b;
|
|
271
|
-
if (position === "start") {
|
|
272
|
-
this.value = text + this.value;
|
|
273
|
-
} else if (position === "end") {
|
|
274
|
-
this.value = this.value + text;
|
|
275
|
-
} else {
|
|
276
|
-
const textareaEl = (_b = (_a = this.textarea) == null ? void 0 : _a.shadowRoot) == null ? void 0 : _b.querySelector("textarea");
|
|
277
|
-
if (textareaEl && typeof textareaEl.selectionStart === "number") {
|
|
278
|
-
const start = textareaEl.selectionStart;
|
|
279
|
-
const end = textareaEl.selectionEnd;
|
|
280
|
-
this.value = this.value.slice(0, start) + text + this.value.slice(end);
|
|
281
|
-
this.updateComplete.then(() => {
|
|
282
|
-
const newPos = start + text.length;
|
|
283
|
-
textareaEl.setSelectionRange(newPos, newPos);
|
|
284
|
-
});
|
|
285
|
-
} else {
|
|
286
|
-
this.value = this.value + text;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
/** slot 模式下将 slotConfig 项创建为 DOM 节点并插入到 slot-area */
|
|
291
|
-
insertSlotNodes(configs, position, preventScroll) {
|
|
292
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
293
|
-
const slotArea = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".sender__slot-area");
|
|
294
|
-
if (!slotArea) return;
|
|
295
|
-
const fragment = document.createDocumentFragment();
|
|
296
|
-
configs.forEach((config, i) => {
|
|
297
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
298
|
-
if (config.type === "text") {
|
|
299
|
-
fragment.appendChild(document.createTextNode(String((_a2 = config.value) != null ? _a2 : "")));
|
|
300
|
-
return;
|
|
301
|
-
}
|
|
302
|
-
const key = (_b2 = config.key) != null ? _b2 : `insert-${Date.now()}-${i}`;
|
|
303
|
-
const defaultValue = this.getSlotDefaultValue(config);
|
|
304
|
-
if (defaultValue !== void 0) {
|
|
305
|
-
this.slotValues.set(key, defaultValue);
|
|
306
|
-
}
|
|
307
|
-
if (config.type === "tag") {
|
|
308
|
-
const tag = document.createElement("sl-tag");
|
|
309
|
-
tag.setAttribute("size", "small");
|
|
310
|
-
tag.setAttribute("data-slot-key", key);
|
|
311
|
-
tag.className = "sender__slot-tag";
|
|
312
|
-
tag.textContent = String((_f2 = (_e2 = (_c2 = config.props) == null ? void 0 : _c2.label) != null ? _e2 : (_d2 = config.props) == null ? void 0 : _d2.value) != null ? _f2 : "");
|
|
313
|
-
fragment.appendChild(tag);
|
|
314
|
-
} else if (config.type === "input") {
|
|
315
|
-
const input = document.createElement("sl-input");
|
|
316
|
-
input.setAttribute("size", "small");
|
|
317
|
-
input.setAttribute("data-slot-key", key);
|
|
318
|
-
input.className = "sender__slot-input";
|
|
319
|
-
if ((_g2 = config.props) == null ? void 0 : _g2.placeholder) input.setAttribute("placeholder", config.props.placeholder);
|
|
320
|
-
if ((_h = config.props) == null ? void 0 : _h.defaultValue) input.value = String(config.props.defaultValue);
|
|
321
|
-
const inputHandler = () => {
|
|
322
|
-
this.handleSlotValueChange(key, input.value);
|
|
323
|
-
};
|
|
324
|
-
input.addEventListener("sl-input", inputHandler);
|
|
325
|
-
this.dynamicListeners.push({ el: input, event: "sl-input", handler: inputHandler });
|
|
326
|
-
fragment.appendChild(input);
|
|
327
|
-
} else if (config.type === "select") {
|
|
328
|
-
const select = document.createElement("sl-select");
|
|
329
|
-
select.setAttribute("size", "small");
|
|
330
|
-
select.setAttribute("data-slot-key", key);
|
|
331
|
-
select.className = "sender__slot-select";
|
|
332
|
-
if ((_i = config.props) == null ? void 0 : _i.placeholder) select.setAttribute("placeholder", config.props.placeholder);
|
|
333
|
-
((_k = (_j = config.props) == null ? void 0 : _j.options) != null ? _k : []).forEach((opt) => {
|
|
334
|
-
const option = document.createElement("sl-option");
|
|
335
|
-
option.setAttribute("value", opt.value);
|
|
336
|
-
option.textContent = String(opt.label);
|
|
337
|
-
select.appendChild(option);
|
|
338
|
-
});
|
|
339
|
-
if ((_l = config.props) == null ? void 0 : _l.defaultValue) select.value = String(config.props.defaultValue);
|
|
340
|
-
const selectHandler = () => {
|
|
341
|
-
this.handleSlotValueChange(key, select.value);
|
|
342
|
-
};
|
|
343
|
-
select.addEventListener("sl-change", selectHandler);
|
|
344
|
-
this.dynamicListeners.push({ el: select, event: "sl-change", handler: selectHandler });
|
|
345
|
-
fragment.appendChild(select);
|
|
346
|
-
} else if (config.type === "content") {
|
|
347
|
-
const span = document.createElement("span");
|
|
348
|
-
span.className = "sender__slot-content";
|
|
349
|
-
span.setAttribute("contenteditable", this.readOnly || this.disabled ? "false" : "true");
|
|
350
|
-
span.setAttribute("data-slot-key", key);
|
|
351
|
-
if ((_m = config.props) == null ? void 0 : _m.placeholder) span.setAttribute("data-placeholder", config.props.placeholder);
|
|
352
|
-
span.setAttribute("spellcheck", "false");
|
|
353
|
-
span.textContent = String((_o = (_n = config.props) == null ? void 0 : _n.defaultValue) != null ? _o : "");
|
|
354
|
-
const spanHandler = () => {
|
|
355
|
-
var _a3;
|
|
356
|
-
this.handleSlotValueChange(key, (_a3 = span.textContent) != null ? _a3 : "");
|
|
357
|
-
};
|
|
358
|
-
span.addEventListener("input", spanHandler);
|
|
359
|
-
this.dynamicListeners.push({ el: span, event: "input", handler: spanHandler });
|
|
360
|
-
fragment.appendChild(span);
|
|
361
|
-
}
|
|
362
|
-
});
|
|
363
|
-
if (position === "start") {
|
|
364
|
-
const skillEl = slotArea.querySelector(".sender__skill");
|
|
365
|
-
if (skillEl) {
|
|
366
|
-
skillEl.after(fragment);
|
|
367
|
-
} else {
|
|
368
|
-
slotArea.prepend(fragment);
|
|
369
|
-
}
|
|
370
|
-
} else if (position === "end") {
|
|
371
|
-
slotArea.appendChild(fragment);
|
|
372
|
-
} else {
|
|
373
|
-
let targetRange = null;
|
|
374
|
-
const selection = (_d = (_c = (_b = this.shadowRoot) == null ? void 0 : _b.getSelection) == null ? void 0 : _c.call(_b)) != null ? _d : document.getSelection();
|
|
375
|
-
if (selection && selection.rangeCount > 0) {
|
|
376
|
-
const range = selection.getRangeAt(0);
|
|
377
|
-
if (slotArea.contains(range.commonAncestorContainer)) {
|
|
378
|
-
targetRange = range;
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
if (!targetRange && this._savedRange && slotArea.contains(this._savedRange.commonAncestorContainer)) {
|
|
382
|
-
targetRange = this._savedRange;
|
|
383
|
-
const sel = (_g = (_f = (_e = this.shadowRoot) == null ? void 0 : _e.getSelection) == null ? void 0 : _f.call(_e)) != null ? _g : document.getSelection();
|
|
384
|
-
if (sel) {
|
|
385
|
-
sel.removeAllRanges();
|
|
386
|
-
sel.addRange(targetRange);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
this._savedRange = null;
|
|
390
|
-
if (targetRange) {
|
|
391
|
-
targetRange.deleteContents();
|
|
392
|
-
targetRange.insertNode(fragment);
|
|
393
|
-
targetRange.collapse(false);
|
|
394
|
-
} else {
|
|
395
|
-
slotArea.appendChild(fragment);
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
if (!preventScroll) {
|
|
399
|
-
slotArea.focus({ preventScroll: false });
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
handleKeyDown(event) {
|
|
403
|
-
if (event.key === "Enter") {
|
|
404
|
-
const isShift = event.shiftKey;
|
|
405
|
-
if (this.submitType === "enter" && !isShift || this.submitType === "shift-enter" && isShift) {
|
|
406
|
-
event.preventDefault();
|
|
407
|
-
this.handleSubmit();
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
handleSubmit() {
|
|
412
|
-
const value = this.currentValue.trim();
|
|
413
|
-
if (this.loading || this.disabled || !value) return;
|
|
414
|
-
if (this.isSlotMode) {
|
|
415
|
-
const snapshot = this.getEditorSnapshot();
|
|
416
|
-
this.dispatchEvent(new CustomEvent("sl-submit", {
|
|
417
|
-
detail: { value: snapshot.value, slotConfig: snapshot.slotConfig, skill: snapshot.skill },
|
|
418
|
-
bubbles: true,
|
|
419
|
-
composed: true
|
|
420
|
-
}));
|
|
421
|
-
return;
|
|
422
|
-
}
|
|
423
|
-
this.dispatchEvent(new CustomEvent("sl-submit", {
|
|
424
|
-
detail: { value },
|
|
425
|
-
bubbles: true,
|
|
426
|
-
composed: true
|
|
427
|
-
}));
|
|
428
|
-
}
|
|
429
|
-
handleClear() {
|
|
430
|
-
var _a, _b;
|
|
431
|
-
if (this.isSlotMode) {
|
|
432
|
-
this.cleanupDynamicListeners();
|
|
433
|
-
const slotArea = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".sender__slot-area");
|
|
434
|
-
if (slotArea) {
|
|
435
|
-
slotArea.innerHTML = "";
|
|
436
|
-
}
|
|
437
|
-
this.slotValues = /* @__PURE__ */ new Map();
|
|
438
|
-
this.value = "";
|
|
439
|
-
this.requestUpdate();
|
|
440
|
-
} else {
|
|
441
|
-
this.value = "";
|
|
442
|
-
}
|
|
443
|
-
this.emit("sl-clear");
|
|
444
|
-
if (this.isSlotMode) {
|
|
445
|
-
this.updateComplete.then(() => this.focusSlotInput());
|
|
446
|
-
return;
|
|
447
|
-
}
|
|
448
|
-
(_b = this.textarea) == null ? void 0 : _b.focus();
|
|
449
|
-
}
|
|
450
|
-
handleSkillRemove() {
|
|
451
|
-
if (!this.skill) return;
|
|
452
|
-
const closable = this.skill.closable;
|
|
453
|
-
if (typeof closable === "object" && closable.disabled) return;
|
|
454
|
-
if (typeof closable === "object" && closable.onClose) {
|
|
455
|
-
closable.onClose();
|
|
456
|
-
}
|
|
457
|
-
this.skill = void 0;
|
|
458
|
-
this.requestUpdate();
|
|
459
|
-
this.updateComplete.then(() => {
|
|
460
|
-
const snapshot = this.getEditorSnapshot();
|
|
461
|
-
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
462
|
-
detail: __spreadProps(__spreadValues({}, snapshot), { skill: void 0 }),
|
|
463
|
-
bubbles: true,
|
|
464
|
-
composed: true
|
|
465
|
-
}));
|
|
466
|
-
});
|
|
467
|
-
}
|
|
468
|
-
// 触发语音按钮点击逻辑
|
|
469
|
-
handleSpeechClick() {
|
|
470
|
-
if (this.disabled || this.readOnly || !this.allowSpeech) return;
|
|
471
|
-
if (!this.speechPermission) return;
|
|
472
|
-
this.triggerSpeech(false);
|
|
473
|
-
this.emit("sl-speech-toggle");
|
|
474
|
-
}
|
|
475
|
-
connectedCallback() {
|
|
476
|
-
super.connectedCallback();
|
|
477
|
-
this.updatePermissionState();
|
|
478
|
-
}
|
|
479
|
-
disconnectedCallback() {
|
|
480
|
-
super.disconnectedCallback();
|
|
481
|
-
this.cleanupPermissionStatus();
|
|
482
|
-
this.stopRecognition();
|
|
483
|
-
this.cleanupDynamicListeners();
|
|
484
|
-
}
|
|
485
|
-
updated(changedProperties) {
|
|
486
|
-
var _a;
|
|
487
|
-
super.updated(changedProperties);
|
|
488
|
-
if (changedProperties.has("allowSpeech")) {
|
|
489
|
-
if (!this.allowSpeech) {
|
|
490
|
-
this.stopRecognition();
|
|
491
|
-
this.cleanupPermissionStatus();
|
|
492
|
-
this.permissionState = null;
|
|
493
|
-
if (this.speechRecording) this.speechRecording = false;
|
|
494
|
-
} else {
|
|
495
|
-
this.updatePermissionState();
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
if (changedProperties.has("slotConfig")) {
|
|
499
|
-
this.syncSlotValues((_a = this.slotConfig) != null ? _a : []);
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
// 规范化 allowSpeech 配置,区分受控与非受控
|
|
503
|
-
get speechConfig() {
|
|
504
|
-
if (typeof this.allowSpeech === "object" && this.allowSpeech) {
|
|
505
|
-
const controlledRecording = this.allowSpeech.recording;
|
|
506
|
-
const onControlledRecordingChange = this.allowSpeech.onRecordingChange;
|
|
507
|
-
const speechInControlled = typeof controlledRecording === "boolean";
|
|
508
|
-
return { controlledRecording, onControlledRecordingChange, speechInControlled };
|
|
509
|
-
}
|
|
510
|
-
return { controlledRecording: void 0, onControlledRecordingChange: void 0, speechInControlled: false };
|
|
511
|
-
}
|
|
512
|
-
// 当前录音状态(受控配置或内部状态)
|
|
513
|
-
get currentRecording() {
|
|
514
|
-
const { controlledRecording, speechInControlled } = this.speechConfig;
|
|
515
|
-
if (speechInControlled) return !!controlledRecording;
|
|
516
|
-
return this.speechRecording;
|
|
517
|
-
}
|
|
518
|
-
// 当前环境是否允许语音输入
|
|
519
|
-
get speechPermission() {
|
|
520
|
-
if (!this.allowSpeech) return false;
|
|
521
|
-
const { speechInControlled } = this.speechConfig;
|
|
522
|
-
if (speechInControlled) return true;
|
|
523
|
-
const SpeechRecognition = this.getSpeechRecognitionConstructor();
|
|
524
|
-
return !!SpeechRecognition && this.permissionState !== "denied";
|
|
525
|
-
}
|
|
526
|
-
get isSlotMode() {
|
|
527
|
-
var _a;
|
|
528
|
-
return Array.isArray(this.slotConfig) && this.slotConfig.length > 0 || !!((_a = this.skill) == null ? void 0 : _a.value);
|
|
529
|
-
}
|
|
530
|
-
get currentValue() {
|
|
531
|
-
return this.isSlotMode ? this.getSlotValueString() : this.value;
|
|
532
|
-
}
|
|
533
|
-
getSlotKey(item, index) {
|
|
534
|
-
var _a;
|
|
535
|
-
return (_a = item.key) != null ? _a : `slot-${index}`;
|
|
536
|
-
}
|
|
537
|
-
syncSlotValues(config) {
|
|
538
|
-
const nextValues = /* @__PURE__ */ new Map();
|
|
539
|
-
config.forEach((item, index) => {
|
|
540
|
-
const key = this.getSlotKey(item, index);
|
|
541
|
-
const existing = this.slotValues.get(key);
|
|
542
|
-
if (existing !== void 0) {
|
|
543
|
-
nextValues.set(key, existing);
|
|
544
|
-
return;
|
|
545
|
-
}
|
|
546
|
-
const defaultValue = this.getSlotDefaultValue(item);
|
|
547
|
-
if (defaultValue !== void 0) {
|
|
548
|
-
nextValues.set(key, defaultValue);
|
|
549
|
-
}
|
|
550
|
-
});
|
|
551
|
-
this.slotValues = nextValues;
|
|
552
|
-
this.requestUpdate();
|
|
553
|
-
}
|
|
554
|
-
focusSlotInput() {
|
|
555
|
-
var _a;
|
|
556
|
-
const slotInput = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(
|
|
557
|
-
".sender__slot-area sl-input, .sender__slot-area sl-select"
|
|
558
|
-
);
|
|
559
|
-
slotInput == null ? void 0 : slotInput.focus();
|
|
560
|
-
}
|
|
561
|
-
getSlotDefaultValue(item) {
|
|
562
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
563
|
-
if (item.type === "input") return (_a = item.props) == null ? void 0 : _a.defaultValue;
|
|
564
|
-
if (item.type === "select") return (_b = item.props) == null ? void 0 : _b.defaultValue;
|
|
565
|
-
if (item.type === "content") return (_c = item.props) == null ? void 0 : _c.defaultValue;
|
|
566
|
-
if (item.type === "custom") return (_d = item.props) == null ? void 0 : _d.defaultValue;
|
|
567
|
-
if (item.type === "tag") return (_g = (_e = item.props) == null ? void 0 : _e.value) != null ? _g : (_f = item.props) == null ? void 0 : _f.label;
|
|
568
|
-
if (item.type === "text") return (_h = item.value) != null ? _h : "";
|
|
569
|
-
return void 0;
|
|
570
|
-
}
|
|
571
|
-
getSlotItemValue(item, index) {
|
|
572
|
-
var _a;
|
|
573
|
-
if (item.type === "text") return (_a = item.value) != null ? _a : "";
|
|
574
|
-
const key = this.getSlotKey(item, index);
|
|
575
|
-
if (this.slotValues.has(key)) return this.slotValues.get(key);
|
|
576
|
-
return this.getSlotDefaultValue(item);
|
|
577
|
-
}
|
|
578
|
-
getSlotValueString() {
|
|
579
|
-
var _a;
|
|
580
|
-
if (!this.isSlotMode) return "";
|
|
581
|
-
const slotArea = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".sender__slot-area");
|
|
582
|
-
if (!slotArea) return "";
|
|
583
|
-
return this.getEditorValue(slotArea).value;
|
|
584
|
-
}
|
|
585
|
-
/**
|
|
586
|
-
* 遍历 slot 区域的 DOM 子节点,提取完整的 { value, slotConfig, skill }。
|
|
587
|
-
* 参考 ant-design-x getEditorValue 实现:
|
|
588
|
-
* - 文本节点:计入 value,并作为 { type: 'text', value } 加入 slotConfig
|
|
589
|
-
* - skill 节点:跳过文本值,记录 skill
|
|
590
|
-
* - slot 组件节点:从 slotValues / DOM 读取最新值,计入 value 和 slotConfig
|
|
591
|
-
* - 其他元素:取 textContent
|
|
592
|
-
*/
|
|
593
|
-
getEditorValue(container) {
|
|
594
|
-
const parts = [];
|
|
595
|
-
const currentSlotConfig = [];
|
|
596
|
-
let currentSkill;
|
|
597
|
-
container.childNodes.forEach((node) => {
|
|
598
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
599
|
-
if (node.nodeType === Node.TEXT_NODE) {
|
|
600
|
-
const text = (_a = node.textContent) != null ? _a : "";
|
|
601
|
-
if (!text || /^\s+$/.test(text)) {
|
|
602
|
-
return;
|
|
603
|
-
}
|
|
604
|
-
parts.push(text);
|
|
605
|
-
currentSlotConfig.push({ type: "text", value: text });
|
|
606
|
-
return;
|
|
607
|
-
}
|
|
608
|
-
if (node.nodeType !== Node.ELEMENT_NODE) return;
|
|
609
|
-
const el = node;
|
|
610
|
-
if (el.classList.contains("sender__skill")) {
|
|
611
|
-
if (this.skill) {
|
|
612
|
-
currentSkill = this.skill;
|
|
613
|
-
}
|
|
614
|
-
return;
|
|
615
|
-
}
|
|
616
|
-
if (el.classList.contains("sender__slot-content")) {
|
|
617
|
-
const text = (_b = el.textContent) != null ? _b : "";
|
|
618
|
-
const key = (_c = el.dataset) == null ? void 0 : _c.slotKey;
|
|
619
|
-
parts.push(text);
|
|
620
|
-
const config = key ? this.getSlotConfigByKey(key) : void 0;
|
|
621
|
-
if (config) {
|
|
622
|
-
currentSlotConfig.push(__spreadProps(__spreadValues({}, config), { value: text }));
|
|
623
|
-
}
|
|
624
|
-
return;
|
|
625
|
-
}
|
|
626
|
-
if (el.tagName === "SL-INPUT") {
|
|
627
|
-
const key = this.getSlotKeyFromElement(el);
|
|
628
|
-
const rawValue = key && this.slotValues.has(key) ? this.slotValues.get(key) : el.value;
|
|
629
|
-
const config = key ? this.getSlotConfigByKey(key) : void 0;
|
|
630
|
-
const text = (config == null ? void 0 : config.formatResult) ? config.formatResult(rawValue) : String(rawValue != null ? rawValue : "");
|
|
631
|
-
parts.push(text);
|
|
632
|
-
if (config) {
|
|
633
|
-
currentSlotConfig.push(__spreadProps(__spreadValues({}, config), { value: rawValue }));
|
|
634
|
-
}
|
|
635
|
-
return;
|
|
636
|
-
}
|
|
637
|
-
if (el.tagName === "SL-SELECT") {
|
|
638
|
-
const key = this.getSlotKeyFromElement(el);
|
|
639
|
-
const rawValue = key && this.slotValues.has(key) ? this.slotValues.get(key) : el.value;
|
|
640
|
-
const config = key ? this.getSlotConfigByKey(key) : void 0;
|
|
641
|
-
const text = (config == null ? void 0 : config.formatResult) ? config.formatResult(rawValue) : String(rawValue != null ? rawValue : "");
|
|
642
|
-
parts.push(text);
|
|
643
|
-
if (config) {
|
|
644
|
-
currentSlotConfig.push(__spreadProps(__spreadValues({}, config), { value: rawValue }));
|
|
645
|
-
}
|
|
646
|
-
return;
|
|
647
|
-
}
|
|
648
|
-
if (el.tagName === "SL-TAG") {
|
|
649
|
-
const text = (_e = (_d = el.textContent) == null ? void 0 : _d.trim()) != null ? _e : "";
|
|
650
|
-
const key = this.getSlotKeyFromElement(el);
|
|
651
|
-
parts.push(text);
|
|
652
|
-
const config = key ? this.getSlotConfigByKey(key) : void 0;
|
|
653
|
-
if (config) {
|
|
654
|
-
currentSlotConfig.push(__spreadProps(__spreadValues({}, config), { value: text }));
|
|
655
|
-
}
|
|
656
|
-
return;
|
|
657
|
-
}
|
|
658
|
-
if (el.tagName === "BR") {
|
|
659
|
-
parts.push("\n");
|
|
660
|
-
currentSlotConfig.push({ type: "text", value: "\n" });
|
|
661
|
-
return;
|
|
662
|
-
}
|
|
663
|
-
if (el.tagName === "DIV") {
|
|
664
|
-
const text = (_f = el.innerText) != null ? _f : "";
|
|
665
|
-
if (text) {
|
|
666
|
-
parts.push("\n" + text);
|
|
667
|
-
currentSlotConfig.push({ type: "text", value: "\n" + text });
|
|
668
|
-
}
|
|
669
|
-
return;
|
|
670
|
-
}
|
|
671
|
-
parts.push((_g = el.textContent) != null ? _g : "");
|
|
672
|
-
});
|
|
673
|
-
return {
|
|
674
|
-
value: parts.join(""),
|
|
675
|
-
slotConfig: currentSlotConfig,
|
|
676
|
-
skill: currentSkill
|
|
677
|
-
};
|
|
678
|
-
}
|
|
679
|
-
/** 获取 slot 区域的完整快照(value + slotConfig + skill),从 DOM 遍历得到最新状态 */
|
|
680
|
-
getEditorSnapshot() {
|
|
681
|
-
var _a;
|
|
682
|
-
const slotArea = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".sender__slot-area");
|
|
683
|
-
if (!slotArea) return { value: "", slotConfig: [], skill: this.skill };
|
|
684
|
-
return this.getEditorValue(slotArea);
|
|
685
|
-
}
|
|
686
|
-
/** 根据 slot 区域中的 DOM 元素,反查对应的 slotConfig key */
|
|
687
|
-
getSlotKeyFromElement(el) {
|
|
688
|
-
var _a;
|
|
689
|
-
return (_a = el.dataset) == null ? void 0 : _a.slotKey;
|
|
690
|
-
}
|
|
691
|
-
/** 根据 key 查找对应的 slotConfig 项 */
|
|
692
|
-
getSlotConfigByKey(key) {
|
|
693
|
-
if (!this.slotConfig) return void 0;
|
|
694
|
-
return this.slotConfig.find((item, index) => this.getSlotKey(item, index) === key);
|
|
695
|
-
}
|
|
696
|
-
// 获取厂商前缀的 SpeechRecognition 构造函数
|
|
697
|
-
getSpeechRecognitionConstructor() {
|
|
698
|
-
if (typeof window === "undefined") return null;
|
|
699
|
-
const speechWindow = window;
|
|
700
|
-
return speechWindow.SpeechRecognition || speechWindow.webkitSpeechRecognition || null;
|
|
701
|
-
}
|
|
702
|
-
// 非受控模式下查询麦克风权限
|
|
703
|
-
updatePermissionState() {
|
|
704
|
-
const { speechInControlled } = this.speechConfig;
|
|
705
|
-
if (!this.allowSpeech || speechInControlled) return;
|
|
706
|
-
this.cleanupPermissionStatus();
|
|
707
|
-
if (!navigator.permissions) return;
|
|
708
|
-
navigator.permissions.query({ name: "microphone" }).then((permissionStatus) => {
|
|
709
|
-
this.permissionState = permissionStatus.state;
|
|
710
|
-
permissionStatus.onchange = () => {
|
|
711
|
-
this.permissionState = permissionStatus.state;
|
|
712
|
-
};
|
|
713
|
-
this.permissionStatus = permissionStatus;
|
|
714
|
-
}).catch(() => {
|
|
715
|
-
this.permissionState = null;
|
|
716
|
-
});
|
|
717
|
-
}
|
|
718
|
-
// 移除权限监听,避免泄漏
|
|
719
|
-
cleanupPermissionStatus() {
|
|
720
|
-
if (this.permissionStatus) {
|
|
721
|
-
this.permissionStatus.onchange = null;
|
|
722
|
-
this.permissionStatus = null;
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
// 移除动态插入元素上的事件监听器,避免内存泄漏
|
|
726
|
-
cleanupDynamicListeners() {
|
|
727
|
-
for (const { el, event, handler } of this.dynamicListeners) {
|
|
728
|
-
el.removeEventListener(event, handler);
|
|
729
|
-
}
|
|
730
|
-
this.dynamicListeners = [];
|
|
731
|
-
}
|
|
732
|
-
// 按需创建识别实例并绑定事件
|
|
733
|
-
ensureRecognition() {
|
|
734
|
-
if (!this.allowSpeech || this.speechConfig.speechInControlled) return;
|
|
735
|
-
const SpeechRecognition = this.getSpeechRecognitionConstructor();
|
|
736
|
-
if (!SpeechRecognition || this.recognition) return;
|
|
737
|
-
const recognition = new SpeechRecognition();
|
|
738
|
-
recognition.onstart = () => {
|
|
739
|
-
this.speechRecording = true;
|
|
740
|
-
};
|
|
741
|
-
recognition.onend = () => {
|
|
742
|
-
this.speechRecording = false;
|
|
743
|
-
};
|
|
744
|
-
recognition.onerror = (event) => {
|
|
745
|
-
console.error("SpeechRecognition error:", event.error, event.message);
|
|
746
|
-
};
|
|
747
|
-
recognition.onresult = (event) => {
|
|
748
|
-
var _a, _b, _c;
|
|
749
|
-
if (!this.forceBreak) {
|
|
750
|
-
const transcript = (_c = (_b = (_a = event.results) == null ? void 0 : _a[0]) == null ? void 0 : _b[0]) == null ? void 0 : _c.transcript;
|
|
751
|
-
if (transcript) this.applyTranscript(transcript);
|
|
752
|
-
}
|
|
753
|
-
this.forceBreak = false;
|
|
754
|
-
};
|
|
755
|
-
this.recognition = recognition;
|
|
756
|
-
}
|
|
757
|
-
// 停止识别并释放实例
|
|
758
|
-
stopRecognition() {
|
|
759
|
-
if (this.recognition && this.currentRecording) {
|
|
760
|
-
this.recognition.stop();
|
|
761
|
-
}
|
|
762
|
-
this.recognition = null;
|
|
763
|
-
}
|
|
764
|
-
// 切换录音;forceBreak 为 true 时停止且不消费转写结果
|
|
765
|
-
triggerSpeech(forceBreak) {
|
|
766
|
-
if (!this.speechPermission) return;
|
|
767
|
-
if (forceBreak && !this.currentRecording) return;
|
|
768
|
-
this.forceBreak = forceBreak;
|
|
769
|
-
const { speechInControlled, onControlledRecordingChange } = this.speechConfig;
|
|
770
|
-
if (speechInControlled) {
|
|
771
|
-
onControlledRecordingChange == null ? void 0 : onControlledRecordingChange(!this.currentRecording);
|
|
772
|
-
return;
|
|
773
|
-
}
|
|
774
|
-
this.ensureRecognition();
|
|
775
|
-
if (!this.recognition) return;
|
|
776
|
-
if (this.currentRecording) {
|
|
777
|
-
this.recognition.stop();
|
|
778
|
-
} else {
|
|
779
|
-
this.recognition.start();
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
// 将语音转写内容追加到输入框
|
|
783
|
-
applyTranscript(transcript) {
|
|
784
|
-
var _a, _b;
|
|
785
|
-
if (this.disabled || this.readOnly) return;
|
|
786
|
-
if (this.isSlotMode) {
|
|
787
|
-
this.insert([{ type: "text", value: transcript }], "cursor");
|
|
788
|
-
return;
|
|
789
|
-
}
|
|
790
|
-
const textareaEl = (_b = (_a = this.textarea) == null ? void 0 : _a.shadowRoot) == null ? void 0 : _b.querySelector("textarea");
|
|
791
|
-
if (textareaEl && typeof textareaEl.selectionStart === "number") {
|
|
792
|
-
const start = textareaEl.selectionStart;
|
|
793
|
-
const end = textareaEl.selectionEnd;
|
|
794
|
-
this.value = this.value.slice(0, start) + transcript + this.value.slice(end);
|
|
795
|
-
this.updateComplete.then(() => {
|
|
796
|
-
const newPos = start + transcript.length;
|
|
797
|
-
textareaEl.setSelectionRange(newPos, newPos);
|
|
798
|
-
});
|
|
799
|
-
} else {
|
|
800
|
-
this.value = this.value ? `${this.value} ${transcript}` : transcript;
|
|
801
|
-
}
|
|
802
|
-
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
803
|
-
detail: { value: this.value, slotConfig: [], skill: this.skill },
|
|
804
|
-
bubbles: true,
|
|
805
|
-
composed: true
|
|
806
|
-
}));
|
|
807
|
-
}
|
|
808
|
-
renderSendButton(props) {
|
|
809
|
-
var _a, _b;
|
|
810
|
-
const loading = (_a = props == null ? void 0 : props.loading) != null ? _a : this.loading;
|
|
811
|
-
const hasValue = this.currentValue.length > 0;
|
|
812
|
-
if (!loading && !hasValue) {
|
|
813
|
-
return null;
|
|
814
|
-
}
|
|
815
|
-
const disabled = (_b = props == null ? void 0 : props.disabled) != null ? _b : this.disabled;
|
|
816
|
-
const name = loading ? "app" : "arrow-up-short";
|
|
817
|
-
return b`
|
|
818
|
-
<sl-icon-button
|
|
819
|
-
class="send-button"
|
|
820
|
-
name=${name}
|
|
821
|
-
?disabled=${disabled}
|
|
822
|
-
@click=${this.handleSubmit}
|
|
823
|
-
>
|
|
824
|
-
</sl-icon-button>
|
|
825
|
-
`;
|
|
826
|
-
}
|
|
827
|
-
renderClearButton(props) {
|
|
828
|
-
var _a;
|
|
829
|
-
const disabled = (_a = props == null ? void 0 : props.disabled) != null ? _a : this.disabled || !this.currentValue;
|
|
830
|
-
return b`
|
|
831
|
-
<sl-icon-button
|
|
832
|
-
name="trash"
|
|
833
|
-
?disabled=${disabled}
|
|
834
|
-
@click=${this.handleClear}
|
|
835
|
-
>
|
|
836
|
-
</sl-icon-button>
|
|
837
|
-
`;
|
|
838
|
-
}
|
|
839
|
-
renderRecordingIcon() {
|
|
840
|
-
return b`
|
|
841
|
-
<span class="sender__recording-icon" aria-label="Recording">
|
|
842
|
-
<span class="sender__recording-bar"></span>
|
|
843
|
-
<span class="sender__recording-bar"></span>
|
|
844
|
-
<span class="sender__recording-bar"></span>
|
|
845
|
-
<span class="sender__recording-bar"></span>
|
|
846
|
-
</span>
|
|
847
|
-
`;
|
|
848
|
-
}
|
|
849
|
-
renderSpeechButton(props) {
|
|
850
|
-
var _a, _b;
|
|
851
|
-
if (!this.allowSpeech) return null;
|
|
852
|
-
const disabled = (_a = props == null ? void 0 : props.disabled) != null ? _a : this.disabled || this.readOnly || !this.speechPermission;
|
|
853
|
-
const onClick = (_b = props == null ? void 0 : props.onClick) != null ? _b : this.handleSpeechClick.bind(this);
|
|
854
|
-
if (this.currentRecording) {
|
|
855
|
-
return b`
|
|
856
|
-
<button
|
|
857
|
-
class="sender__speech-btn sender__speech-btn--recording"
|
|
858
|
-
@click=${onClick}
|
|
859
|
-
?disabled=${disabled}
|
|
860
|
-
aria-label="Stop recording"
|
|
861
|
-
>
|
|
862
|
-
${this.renderRecordingIcon()}
|
|
863
|
-
</button>
|
|
864
|
-
`;
|
|
865
|
-
}
|
|
866
|
-
return b`
|
|
867
|
-
<sl-icon-button
|
|
868
|
-
name="mic"
|
|
869
|
-
class="sender__speech-btn"
|
|
870
|
-
@click=${onClick}
|
|
871
|
-
?disabled=${disabled}
|
|
872
|
-
>
|
|
873
|
-
</sl-icon-button>
|
|
874
|
-
`;
|
|
875
|
-
}
|
|
876
|
-
renderLoadingButton(props) {
|
|
877
|
-
var _a, _b;
|
|
878
|
-
const disabled = (_a = props == null ? void 0 : props.disabled) != null ? _a : this.disabled;
|
|
879
|
-
const onClick = (_b = props == null ? void 0 : props.onClick) != null ? _b : this.handleSubmit.bind(this);
|
|
880
|
-
return b`
|
|
881
|
-
<sl-icon-button
|
|
882
|
-
name="send"
|
|
883
|
-
?loading=${true}
|
|
884
|
-
?disabled=${disabled}
|
|
885
|
-
@click=${this.handleSubmit}
|
|
886
|
-
>
|
|
887
|
-
</sl-icon-button>
|
|
888
|
-
`;
|
|
889
|
-
}
|
|
890
|
-
get actionComponents() {
|
|
891
|
-
return {
|
|
892
|
-
SendButton: (props) => this.renderSendButton(props),
|
|
893
|
-
ClearButton: (props) => this.renderClearButton(props),
|
|
894
|
-
LoadingButton: (props) => this.renderLoadingButton(props),
|
|
895
|
-
SpeechButton: (props) => this.renderSpeechButton(props)
|
|
896
|
-
};
|
|
897
|
-
}
|
|
898
|
-
renderFooter() {
|
|
899
|
-
const defaultFooter = b`
|
|
900
|
-
<div
|
|
901
|
-
class=${e({
|
|
902
|
-
sender__footer: true,
|
|
903
|
-
sender__footer_content: this.hasFooterContent
|
|
904
|
-
})}
|
|
905
|
-
part="footer"
|
|
906
|
-
>
|
|
907
|
-
<slot name="footer" @slotchange=${this.handleFooterSlotChange}></slot>
|
|
908
|
-
</div>
|
|
909
|
-
`;
|
|
910
|
-
if (this.footer === false) return null;
|
|
911
|
-
if (typeof this.footer === "function") {
|
|
912
|
-
return this.footer(defaultFooter, { components: this.actionComponents });
|
|
913
|
-
}
|
|
914
|
-
if (this.footer !== void 0) return this.footer;
|
|
915
|
-
return defaultFooter;
|
|
916
|
-
}
|
|
917
|
-
handleFooterSlotChange() {
|
|
918
|
-
var _a;
|
|
919
|
-
const slot = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector('slot[name="footer"]');
|
|
920
|
-
this.hasFooterContent = !!slot && slot.assignedNodes({ flatten: true }).length > 0;
|
|
921
|
-
}
|
|
922
|
-
handleHeaderSlotChange() {
|
|
923
|
-
var _a;
|
|
924
|
-
const slot = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector('slot[name="header"]');
|
|
925
|
-
this.hasHeaderContent = !!slot && slot.assignedNodes({ flatten: true }).length > 0;
|
|
926
|
-
}
|
|
927
|
-
renderHeader() {
|
|
928
|
-
const defaultHeader = b`
|
|
929
|
-
<div
|
|
930
|
-
class=${e({
|
|
931
|
-
sender__header: true,
|
|
932
|
-
sender__header_content: this.hasHeaderContent
|
|
933
|
-
})}
|
|
934
|
-
part="header"
|
|
935
|
-
>
|
|
936
|
-
<slot name="header" @slotchange=${this.handleHeaderSlotChange}></slot>
|
|
937
|
-
</div>
|
|
938
|
-
`;
|
|
939
|
-
if (this.header === false) return null;
|
|
940
|
-
if (typeof this.header === "function") {
|
|
941
|
-
return this.header(defaultHeader, { components: this.actionComponents });
|
|
942
|
-
}
|
|
943
|
-
if (this.header !== void 0) return this.header;
|
|
944
|
-
return defaultHeader;
|
|
945
|
-
}
|
|
946
|
-
renderPrefix() {
|
|
947
|
-
const defaultPrefix = b`<slot name="prefix"></slot>`;
|
|
948
|
-
if (this.prefixContent === false) return null;
|
|
949
|
-
if (typeof this.prefixContent === "function") {
|
|
950
|
-
return this.prefixContent(defaultPrefix, { components: this.actionComponents });
|
|
951
|
-
}
|
|
952
|
-
if (this.prefixContent !== void 0) return this.prefixContent;
|
|
953
|
-
return defaultPrefix;
|
|
954
|
-
}
|
|
955
|
-
renderSuffix() {
|
|
956
|
-
const defaultActions = b`
|
|
957
|
-
<div class="sender__actions" part="actions">
|
|
958
|
-
<slot name="suffix">
|
|
959
|
-
${this.renderSpeechButton()}
|
|
960
|
-
${this.renderSendButton()}
|
|
961
|
-
</slot>
|
|
962
|
-
</div>
|
|
963
|
-
`;
|
|
964
|
-
if (this.suffixContent === false) return null;
|
|
965
|
-
if (typeof this.suffixContent === "function") {
|
|
966
|
-
return this.suffixContent(defaultActions, { components: this.actionComponents });
|
|
967
|
-
}
|
|
968
|
-
if (this.suffixContent !== void 0) return this.suffixContent;
|
|
969
|
-
return defaultActions;
|
|
970
|
-
}
|
|
971
|
-
renderSlotItem(item, index) {
|
|
972
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
973
|
-
const key = this.getSlotKey(item, index);
|
|
974
|
-
if (item.type === "text") {
|
|
975
|
-
return b`${(_a = item.value) != null ? _a : ""}`;
|
|
976
|
-
}
|
|
977
|
-
if (item.type === "content") {
|
|
978
|
-
const value = (_b = this.getSlotItemValue(item, index)) != null ? _b : "";
|
|
979
|
-
return b`
|
|
980
|
-
<span
|
|
981
|
-
class="sender__slot-content"
|
|
982
|
-
contenteditable=${this.readOnly || this.disabled ? "false" : "true"}
|
|
983
|
-
data-slot-key=${key}
|
|
984
|
-
data-placeholder=${(_d = (_c = item.props) == null ? void 0 : _c.placeholder) != null ? _d : ""}
|
|
985
|
-
spellcheck="false"
|
|
986
|
-
@input=${(event) => {
|
|
987
|
-
var _a2;
|
|
988
|
-
const target = event.target;
|
|
989
|
-
this.handleSlotValueChange(key, (_a2 = target.textContent) != null ? _a2 : "");
|
|
990
|
-
}}
|
|
991
|
-
@keydown=${(event) => this.handleKeyDown(event)}
|
|
992
|
-
@paste=${(event) => {
|
|
993
|
-
var _a2, _b2;
|
|
994
|
-
event.preventDefault();
|
|
995
|
-
const text = (_b2 = (_a2 = event.clipboardData) == null ? void 0 : _a2.getData("text/plain")) != null ? _b2 : "";
|
|
996
|
-
document.execCommand("insertText", false, text);
|
|
997
|
-
}}
|
|
998
|
-
>${String(value)}</span>
|
|
999
|
-
`;
|
|
1000
|
-
}
|
|
1001
|
-
if (item.type === "input") {
|
|
1002
|
-
const value = (_e = this.getSlotItemValue(item, index)) != null ? _e : "";
|
|
1003
|
-
return b`
|
|
1004
|
-
<sl-input
|
|
1005
|
-
class="sender__slot-input"
|
|
1006
|
-
data-slot-key=${key}
|
|
1007
|
-
.value=${String(value != null ? value : "")}
|
|
1008
|
-
placeholder=${(_g = (_f = item.props) == null ? void 0 : _f.placeholder) != null ? _g : ""}
|
|
1009
|
-
?disabled=${this.disabled}
|
|
1010
|
-
?readonly=${this.readOnly}
|
|
1011
|
-
@sl-input=${(event) => {
|
|
1012
|
-
const target = event.target;
|
|
1013
|
-
this.handleSlotValueChange(key, target.value);
|
|
1014
|
-
}}
|
|
1015
|
-
></sl-input>
|
|
1016
|
-
`;
|
|
1017
|
-
}
|
|
1018
|
-
if (item.type === "select") {
|
|
1019
|
-
const value = this.getSlotItemValue(item, index);
|
|
1020
|
-
return b`
|
|
1021
|
-
<sl-select
|
|
1022
|
-
class="sender__slot-select"
|
|
1023
|
-
data-slot-key=${key}
|
|
1024
|
-
.value=${String(value != null ? value : "")}
|
|
1025
|
-
placeholder=${(_i = (_h = item.props) == null ? void 0 : _h.placeholder) != null ? _i : ""}
|
|
1026
|
-
?disabled=${this.disabled}
|
|
1027
|
-
@sl-change=${(event) => {
|
|
1028
|
-
const target = event.target;
|
|
1029
|
-
this.handleSlotValueChange(key, target.value);
|
|
1030
|
-
}}
|
|
1031
|
-
>
|
|
1032
|
-
${((_k = (_j = item.props) == null ? void 0 : _j.options) != null ? _k : []).map((option) => b`<sl-option value=${option.value}>${option.label}</sl-option>`)}
|
|
1033
|
-
</sl-select>
|
|
1034
|
-
`;
|
|
1035
|
-
}
|
|
1036
|
-
if (item.type === "tag") {
|
|
1037
|
-
return b`
|
|
1038
|
-
<sl-tag class="sender__slot-tag" variant="primary" data-slot-key=${key}>
|
|
1039
|
-
${(_o = (_n = (_l = item.props) == null ? void 0 : _l.label) != null ? _n : (_m = item.props) == null ? void 0 : _m.value) != null ? _o : ""}
|
|
1040
|
-
</sl-tag>
|
|
1041
|
-
`;
|
|
1042
|
-
}
|
|
1043
|
-
if (item.type === "custom") {
|
|
1044
|
-
const value = this.getSlotItemValue(item, index);
|
|
1045
|
-
const onChange = (nextValue) => this.handleSlotValueChange(key, nextValue);
|
|
1046
|
-
return (_q = (_p = item.customRender) == null ? void 0 : _p.call(item, value, onChange, { disabled: this.disabled, readOnly: this.readOnly }, item)) != null ? _q : null;
|
|
1047
|
-
}
|
|
1048
|
-
return null;
|
|
1049
|
-
}
|
|
1050
|
-
renderSlotConfig() {
|
|
1051
|
-
var _a;
|
|
1052
|
-
if (!this.isSlotMode) return null;
|
|
1053
|
-
return b`
|
|
1054
|
-
<div
|
|
1055
|
-
class="sender__slot-area"
|
|
1056
|
-
part="slot-area"
|
|
1057
|
-
contenteditable=${this.readOnly || this.disabled ? "false" : "true"}
|
|
1058
|
-
@keydown=${this.handleKeyDown}
|
|
1059
|
-
@paste=${this.handlePaste}
|
|
1060
|
-
@focus=${this.handleFocus}
|
|
1061
|
-
@blur=${this.handleBlur}
|
|
1062
|
-
@input=${this.handleSlotAreaInput}
|
|
1063
|
-
>
|
|
1064
|
-
${this.renderSkill()}
|
|
1065
|
-
${(_a = this.slotConfig) == null ? void 0 : _a.map((item, index) => this.renderSlotItem(item, index))}
|
|
1066
|
-
</div>
|
|
1067
|
-
`;
|
|
1068
|
-
}
|
|
1069
|
-
renderSkill() {
|
|
1070
|
-
var _a;
|
|
1071
|
-
if (!this.skill) return null;
|
|
1072
|
-
const displayTitle = (_a = this.skill.title) != null ? _a : this.skill.value;
|
|
1073
|
-
const closable = this.skill.closable;
|
|
1074
|
-
const showClose = !!closable;
|
|
1075
|
-
const closeDisabled = typeof closable === "object" && closable.disabled;
|
|
1076
|
-
const closeIcon = typeof closable === "object" && closable.closeIcon ? closable.closeIcon : "x-lg";
|
|
1077
|
-
return b`
|
|
1078
|
-
<span class="sender__skill" part="skill" contenteditable="true">
|
|
1079
|
-
<span class="sender__skill-tag" contenteditable="false">
|
|
1080
|
-
<span class="sender__skill-text">${displayTitle}</span>
|
|
1081
|
-
${showClose ? b`
|
|
1082
|
-
<span
|
|
1083
|
-
class="sender__skill-close ${closeDisabled ? "sender__skill-close--disabled" : ""}"
|
|
1084
|
-
role="button"
|
|
1085
|
-
aria-label="Remove skill"
|
|
1086
|
-
tabindex=${closeDisabled ? -1 : 0}
|
|
1087
|
-
@click=${() => !closeDisabled && this.handleSkillRemove()}
|
|
1088
|
-
@keydown=${(e3) => {
|
|
1089
|
-
if (!closeDisabled && (e3.key === "Enter" || e3.key === " ")) {
|
|
1090
|
-
e3.preventDefault();
|
|
1091
|
-
this.handleSkillRemove();
|
|
1092
|
-
}
|
|
1093
|
-
}}
|
|
1094
|
-
>
|
|
1095
|
-
<sl-icon name=${closeIcon}></sl-icon>
|
|
1096
|
-
</span>
|
|
1097
|
-
` : null}
|
|
1098
|
-
</span>
|
|
1099
|
-
</span>
|
|
1100
|
-
`;
|
|
1101
|
-
}
|
|
1102
|
-
render() {
|
|
1103
|
-
return b`
|
|
1104
|
-
<div
|
|
1105
|
-
class=${e({
|
|
1106
|
-
sender: true,
|
|
1107
|
-
"sender--disabled": this.disabled
|
|
1108
|
-
})}
|
|
1109
|
-
part="base"
|
|
1110
|
-
>
|
|
1111
|
-
${this.renderHeader()}
|
|
1112
|
-
|
|
1113
|
-
<div class="sender__content">
|
|
1114
|
-
<div class="sender__input-area">
|
|
1115
|
-
${this.renderPrefix()}
|
|
1116
|
-
${this.isSlotMode ? this.renderSlotConfig() : b`
|
|
1117
|
-
<sl-textarea
|
|
1118
|
-
part="input"
|
|
1119
|
-
.value=${this.value}
|
|
1120
|
-
placeholder=${this.placeholder}
|
|
1121
|
-
?disabled=${this.disabled}
|
|
1122
|
-
?readonly=${this.readOnly}
|
|
1123
|
-
resize="none"
|
|
1124
|
-
rows=${this.rows}
|
|
1125
|
-
@sl-input=${this.handleInput}
|
|
1126
|
-
@keydown=${this.handleKeyDown}
|
|
1127
|
-
@paste=${this.handlePaste}
|
|
1128
|
-
@sl-focus=${this.handleFocus}
|
|
1129
|
-
@sl-blur=${this.handleBlur}
|
|
1130
|
-
></sl-textarea>
|
|
1131
|
-
`}
|
|
1132
|
-
${this.renderSuffix()}
|
|
1133
|
-
</div>
|
|
1134
|
-
</div>
|
|
1135
|
-
|
|
1136
|
-
${this.renderFooter()}
|
|
1137
|
-
</div>
|
|
1138
|
-
`;
|
|
1139
|
-
}
|
|
1140
|
-
};
|
|
1141
|
-
SlSender.styles = [component_styles_default, sender_styles_default];
|
|
1142
|
-
SlSender.dependencies = {
|
|
1143
|
-
"sl-textarea": SlTextarea,
|
|
1144
|
-
"sl-input": SlInput,
|
|
1145
|
-
"sl-select": SlSelect,
|
|
1146
|
-
"sl-option": SlOption,
|
|
1147
|
-
"sl-tag": SlTag,
|
|
1148
|
-
"sl-button": SlButton,
|
|
1149
|
-
"sl-icon-button": SlIconButton,
|
|
1150
|
-
"sl-icon": SlIcon,
|
|
1151
|
-
"sl-spinner": SlSpinner
|
|
1152
|
-
};
|
|
1153
|
-
__decorateClass([
|
|
1154
|
-
e2("sl-textarea")
|
|
1155
|
-
], SlSender.prototype, "textarea", 2);
|
|
1156
|
-
__decorateClass([
|
|
1157
|
-
e2(".sender__slot-area")
|
|
1158
|
-
], SlSender.prototype, "slotArea", 2);
|
|
1159
|
-
__decorateClass([
|
|
1160
|
-
n({ type: String })
|
|
1161
|
-
], SlSender.prototype, "value", 2);
|
|
1162
|
-
__decorateClass([
|
|
1163
|
-
n({ type: String })
|
|
1164
|
-
], SlSender.prototype, "placeholder", 2);
|
|
1165
|
-
__decorateClass([
|
|
1166
|
-
n({ type: Boolean })
|
|
1167
|
-
], SlSender.prototype, "loading", 2);
|
|
1168
|
-
__decorateClass([
|
|
1169
|
-
n({ type: Boolean })
|
|
1170
|
-
], SlSender.prototype, "disabled", 2);
|
|
1171
|
-
__decorateClass([
|
|
1172
|
-
n({ type: Boolean, attribute: "read-only" })
|
|
1173
|
-
], SlSender.prototype, "readOnly", 2);
|
|
1174
|
-
__decorateClass([
|
|
1175
|
-
n({ type: Number })
|
|
1176
|
-
], SlSender.prototype, "rows", 2);
|
|
1177
|
-
__decorateClass([
|
|
1178
|
-
n({ type: String, attribute: "submit-type" })
|
|
1179
|
-
], SlSender.prototype, "submitType", 2);
|
|
1180
|
-
__decorateClass([
|
|
1181
|
-
n({ type: Array })
|
|
1182
|
-
], SlSender.prototype, "slotConfig", 2);
|
|
1183
|
-
__decorateClass([
|
|
1184
|
-
n({ type: Object })
|
|
1185
|
-
], SlSender.prototype, "skill", 2);
|
|
1186
|
-
__decorateClass([
|
|
1187
|
-
n({ type: Object })
|
|
1188
|
-
], SlSender.prototype, "footer", 2);
|
|
1189
|
-
__decorateClass([
|
|
1190
|
-
n({ type: Object })
|
|
1191
|
-
], SlSender.prototype, "header", 2);
|
|
1192
|
-
__decorateClass([
|
|
1193
|
-
n({ type: Object })
|
|
1194
|
-
], SlSender.prototype, "prefixContent", 2);
|
|
1195
|
-
__decorateClass([
|
|
1196
|
-
n({ type: Object })
|
|
1197
|
-
], SlSender.prototype, "suffixContent", 2);
|
|
1198
|
-
__decorateClass([
|
|
1199
|
-
n({ type: Boolean, attribute: "allow-speech" })
|
|
1200
|
-
], SlSender.prototype, "allowSpeech", 2);
|
|
1201
|
-
__decorateClass([
|
|
1202
|
-
n({ type: Boolean, attribute: "speech-recording" })
|
|
1203
|
-
], SlSender.prototype, "speechRecording", 2);
|
|
1204
|
-
__decorateClass([
|
|
1205
|
-
r()
|
|
1206
|
-
], SlSender.prototype, "hasHeaderContent", 2);
|
|
1207
|
-
__decorateClass([
|
|
1208
|
-
r()
|
|
1209
|
-
], SlSender.prototype, "hasFooterContent", 2);
|
|
1210
|
-
|
|
1211
|
-
export {
|
|
1212
|
-
SlSender
|
|
1213
|
-
};
|