@kdcloudjs/shoelace 1.0.38 → 1.0.40
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.2G3QLHVK.js +11 -0
- package/cdn/chunks/chunk.2MREI3CZ.js +133 -0
- package/cdn/chunks/chunk.2PBCKDU2.js +26 -0
- package/cdn/chunks/chunk.2RXZYY7G.js +1932 -0
- package/cdn/chunks/chunk.2S7VLNLM.js +11 -0
- package/cdn/chunks/chunk.2TVA2NKL.js +79 -0
- package/cdn/chunks/chunk.2VSRQIEH.js +543 -0
- package/cdn/chunks/chunk.33EK3RLW.js +11 -0
- package/cdn/chunks/chunk.34AKSO3W.js +292 -0
- package/cdn/chunks/chunk.3646WSEP.js +11 -0
- package/cdn/chunks/chunk.37JJZIRB.js +11 -0
- package/cdn/chunks/chunk.3B2MDDH5.js +11 -0
- package/cdn/chunks/chunk.3CG5RKLF.js +25 -0
- package/cdn/chunks/chunk.3DEKPHRI.js +21 -0
- package/cdn/chunks/chunk.3JSFLTIZ.js +24 -0
- package/cdn/chunks/chunk.3LJEUUDN.js +153 -0
- package/cdn/chunks/chunk.3OEV47S6.js +26 -0
- package/cdn/chunks/chunk.3TFOLZMG.js +24 -0
- package/cdn/chunks/chunk.3U5GEO54.js +75 -0
- package/cdn/chunks/chunk.3XAUYIYS.js +24 -0
- package/cdn/chunks/chunk.3YAI674E.js +11 -0
- package/cdn/chunks/chunk.427CTUH2.js +26 -0
- package/cdn/chunks/chunk.4HORVB3Y.js +11 -0
- package/cdn/chunks/chunk.4N5W6WJD.js +11 -0
- package/cdn/chunks/chunk.4Q6SLUEG.js +11 -0
- package/cdn/chunks/chunk.56TOMLTC.js +21 -0
- package/cdn/chunks/chunk.5B4VECZ4.js +21 -0
- package/cdn/chunks/chunk.5K42K4BG.js +302 -0
- package/cdn/chunks/chunk.5LO6OHY7.js +379 -0
- package/cdn/chunks/chunk.5O7XUXXL.js +11 -0
- package/cdn/chunks/chunk.5PWNOO4X.js +450 -0
- package/cdn/chunks/chunk.5SHFQ7KD.js +350 -0
- package/cdn/chunks/chunk.5SVQHNNK.js +236 -0
- package/cdn/chunks/chunk.62JVL5YC.js +24 -0
- package/cdn/chunks/chunk.6BATEPIR.js +21 -0
- package/cdn/chunks/chunk.6BTCQHF4.js +236 -0
- package/cdn/chunks/chunk.6FQ6YUQI.js +193 -0
- package/cdn/chunks/chunk.6G7QQWLL.js +219 -0
- package/cdn/chunks/chunk.6HKW74EC.js +11 -0
- package/cdn/chunks/chunk.6IH3CN5E.js +50 -0
- package/cdn/chunks/chunk.6LATLETS.js +120 -0
- package/cdn/chunks/chunk.6SX4BUUP.js +24 -0
- package/cdn/chunks/chunk.6TLQE5DC.js +28 -0
- package/cdn/chunks/chunk.6XNHO32A.js +21 -0
- package/cdn/chunks/chunk.7B4JF57A.js +11 -0
- package/cdn/chunks/chunk.7B7LCBOR.js +186 -0
- package/cdn/chunks/chunk.7EXNLX24.js +21 -0
- package/cdn/chunks/chunk.7FHS7VON.js +24 -0
- package/cdn/chunks/chunk.7FJ65G6Z.js +11 -0
- package/cdn/chunks/chunk.7FYWXI4A.js +216 -0
- package/cdn/chunks/chunk.7GROMFYM.js +455 -0
- package/cdn/chunks/chunk.7P7KSSQJ.js +11 -0
- package/cdn/chunks/chunk.7PPCB5PG.js +161 -0
- package/cdn/chunks/chunk.7S5NO7WN.js +320 -0
- package/cdn/chunks/chunk.A6PU3AYG.js +126 -0
- package/cdn/chunks/chunk.AGSPS5MJ.js +35 -0
- package/cdn/chunks/chunk.AITVS2H6.js +140 -0
- package/cdn/chunks/chunk.ALFGTHX7.js +359 -0
- package/cdn/chunks/chunk.AQA3HG5Q.js +11 -0
- package/cdn/chunks/chunk.ARRN6IZK.js +11 -0
- package/cdn/chunks/chunk.ASAF3TGY.js +11 -0
- package/cdn/chunks/chunk.ATA6UO3Q.js +734 -0
- package/cdn/chunks/chunk.AVLBDJ76.js +11 -0
- package/cdn/chunks/chunk.B3ISY5UC.js +29 -0
- package/cdn/chunks/chunk.B43MN2K5.js +21 -0
- package/cdn/chunks/chunk.BC4KYF5O.js +11 -0
- package/cdn/chunks/chunk.BEBWSL7K.js +21 -0
- package/cdn/chunks/chunk.BJT2P6ET.js +95 -0
- package/cdn/chunks/chunk.BP3W3CI6.js +49 -0
- package/cdn/chunks/chunk.BU436LCY.js +93 -0
- package/cdn/chunks/chunk.BVCG2T6S.js +1321 -0
- package/cdn/chunks/chunk.BY6UR3DE.js +24 -0
- package/cdn/chunks/chunk.C5HRV4QT.js +11 -0
- package/cdn/chunks/chunk.C72MCNLB.js +113 -0
- package/cdn/chunks/chunk.CFDBEN4C.js +24 -0
- package/cdn/chunks/chunk.CMHLYU5E.js +11 -0
- package/cdn/chunks/chunk.CQLRL7C2.js +25 -0
- package/cdn/chunks/chunk.CUAQYKO4.js +28 -0
- package/cdn/chunks/chunk.D5UOQ33W.js +28 -0
- package/cdn/chunks/chunk.D6J7CKSL.js +11 -0
- package/cdn/chunks/chunk.DACYT3KT.js +11 -0
- package/cdn/chunks/chunk.DN65OEDA.js +11 -0
- package/cdn/chunks/chunk.DNXDKNBL.js +36 -0
- package/cdn/chunks/chunk.DQNLHWG6.js +27 -0
- package/cdn/chunks/chunk.DRNYX3KS.js +27 -0
- package/cdn/chunks/chunk.DUM7JP7D.js +11 -0
- package/cdn/chunks/chunk.E7RML74B.js +500 -0
- package/cdn/chunks/chunk.EBJ5NBU6.js +1877 -0
- package/cdn/chunks/chunk.EC3SD4ZB.js +11 -0
- package/cdn/chunks/chunk.EFH7EOLE.js +410 -0
- package/cdn/chunks/chunk.EGQJ2XZJ.js +11 -0
- package/cdn/chunks/chunk.EHDYDQLR.js +11 -0
- package/cdn/chunks/chunk.EIBWWFZX.js +21 -0
- package/cdn/chunks/chunk.EKQNUFHU.js +29 -0
- package/cdn/chunks/chunk.EKSPBXO7.js +31 -0
- package/cdn/chunks/chunk.EL57AKSL.js +11 -0
- package/cdn/chunks/chunk.ENDO72GH.js +24 -0
- package/cdn/chunks/chunk.EUHVF5QQ.js +21 -0
- package/cdn/chunks/chunk.EW6KM3DF.js +233 -0
- package/cdn/chunks/chunk.EWPDSNAX.js +199 -0
- package/cdn/chunks/chunk.F2E6HBC7.js +137 -0
- package/cdn/chunks/chunk.F3R5VGPM.js +11 -0
- package/cdn/chunks/chunk.F5TJZOBW.js +11 -0
- package/cdn/chunks/chunk.F6YRTEOH.js +11 -0
- package/cdn/chunks/chunk.FMJVHTMM.js +11 -0
- package/cdn/chunks/chunk.FNTGQNEY.js +71 -0
- package/cdn/chunks/chunk.FOX4TTUC.js +346 -0
- package/cdn/chunks/chunk.FRPRU7DR.js +26 -0
- package/cdn/chunks/chunk.FTCFIGRO.js +24 -0
- package/cdn/chunks/chunk.FXSQEBQT.js +11 -0
- package/cdn/chunks/chunk.G2S65UBT.js +281 -0
- package/cdn/chunks/chunk.G35HS6FF.js +11 -0
- package/cdn/chunks/chunk.GGFYKK5J.js +11 -0
- package/cdn/chunks/chunk.GHZEUHFY.js +276 -0
- package/cdn/chunks/chunk.GJCGC425.js +21 -0
- package/cdn/chunks/chunk.GL7AU6AH.js +11 -0
- package/cdn/chunks/chunk.GLJAYHOG.js +27 -0
- package/cdn/chunks/chunk.GM3FTEHE.js +175 -0
- package/cdn/chunks/chunk.GMRPXG62.js +11 -0
- package/cdn/chunks/chunk.GQZSOF6N.js +11 -0
- package/cdn/chunks/chunk.H4OSG6VX.js +21 -0
- package/cdn/chunks/chunk.H52WALPP.js +110 -0
- package/cdn/chunks/chunk.H5QKUF4R.js +21 -0
- package/cdn/chunks/chunk.HA4UE2YH.js +647 -0
- package/cdn/chunks/chunk.HQ25VMTF.js +11 -0
- package/cdn/chunks/chunk.HSVDB2RG.js +11 -0
- package/cdn/chunks/chunk.HUSHCVNB.js +11 -0
- package/cdn/chunks/chunk.I2MNMWV2.js +21 -0
- package/cdn/chunks/chunk.I3FYRP2G.js +331 -0
- package/cdn/chunks/chunk.I56CX4VL.js +11 -0
- package/cdn/chunks/chunk.I5W3MDSJ.js +24 -0
- package/cdn/chunks/chunk.I6Z6VUTM.js +25 -0
- package/cdn/chunks/chunk.I7IGMA4V.js +27 -0
- package/cdn/chunks/chunk.ID73RYXW.js +186 -0
- package/cdn/chunks/chunk.IK3PBVIW.js +21 -0
- package/cdn/chunks/chunk.IREEW2B2.js +11 -0
- package/cdn/chunks/chunk.ISZHSBBZ.js +63 -0
- package/cdn/chunks/chunk.IWRLK7RE.js +587 -0
- package/cdn/chunks/chunk.IXN2CC6J.js +29 -0
- package/cdn/chunks/chunk.IY43A67F.js +279 -0
- package/cdn/chunks/chunk.IZZGTXHT.js +391 -0
- package/cdn/chunks/chunk.J3BXJGER.js +25 -0
- package/cdn/chunks/chunk.J5A7WGU7.js +177 -0
- package/cdn/chunks/chunk.JGEN54QV.js +291 -0
- package/cdn/chunks/chunk.JRH36KT3.js +73 -0
- package/cdn/chunks/chunk.JRWBHO2Z.js +110 -0
- package/cdn/chunks/chunk.JTEVGLL6.js +76 -0
- package/cdn/chunks/chunk.JTJGZMWB.js +21 -0
- package/cdn/chunks/chunk.JVSJ7TKP.js +11 -0
- package/cdn/chunks/chunk.JWDJTWZA.js +11 -0
- package/cdn/chunks/chunk.JXSB2TR7.js +11 -0
- package/cdn/chunks/chunk.K6DQUIYC.js +11 -0
- package/cdn/chunks/chunk.K7OJF5E3.js +835 -0
- package/cdn/chunks/chunk.KBBJHERW.js +57 -0
- package/cdn/chunks/chunk.KBYEFMFG.js +29 -0
- package/cdn/chunks/chunk.KF5E7TFY.js +11 -0
- package/cdn/chunks/chunk.KH2SWTMT.js +27 -0
- package/cdn/chunks/chunk.KHLWBVNI.js +21 -0
- package/cdn/chunks/chunk.KNWEEKLI.js +28 -0
- package/cdn/chunks/chunk.KQCZSTC6.js +24 -0
- package/cdn/chunks/chunk.L4GMI3HA.js +21 -0
- package/cdn/chunks/chunk.LE53KLCX.js +28 -0
- package/cdn/chunks/chunk.LEQ2MXMN.js +77 -0
- package/cdn/chunks/chunk.LGGS52RH.js +299 -0
- package/cdn/chunks/chunk.LLOPH6SA.js +7423 -0
- package/cdn/chunks/chunk.LQKHRTHU.js +154 -0
- package/cdn/chunks/chunk.LRTMJ2IF.js +29 -0
- package/cdn/chunks/chunk.LVONDDEO.js +2632 -0
- package/cdn/chunks/chunk.LWGN72ML.js +271 -0
- package/cdn/chunks/chunk.M4XMEX65.js +11 -0
- package/cdn/chunks/chunk.MEEP7AXW.js +91 -0
- package/cdn/chunks/chunk.MI37NL75.js +135 -0
- package/cdn/chunks/chunk.MJOHNL4U.js +11 -0
- package/cdn/chunks/chunk.MJQOCSFQ.js +54 -0
- package/cdn/chunks/chunk.MMEFEL5M.js +28 -0
- package/cdn/chunks/chunk.MRAX4KRV.js +21 -0
- package/cdn/chunks/chunk.MWTS3QX5.js +11 -0
- package/cdn/chunks/chunk.MY3M4HAR.js +127 -0
- package/cdn/chunks/chunk.N6FWOZSE.js +11 -0
- package/cdn/chunks/chunk.NA7HY7MY.js +21 -0
- package/cdn/chunks/chunk.NWHY2XO7.js +1990 -0
- package/cdn/chunks/chunk.NZENMEU3.js +402 -0
- package/cdn/chunks/chunk.O2Q672KH.js +24 -0
- package/cdn/chunks/chunk.O37BOB55.js +11 -0
- package/cdn/chunks/chunk.O6QRXWGE.js +60 -0
- package/cdn/chunks/chunk.O6X6DS5U.js +11 -0
- package/cdn/chunks/chunk.OD7TLF3J.js +21 -0
- package/cdn/chunks/chunk.ODPA3KMA.js +11 -0
- package/cdn/chunks/chunk.OEDV4LVS.js +11 -0
- package/cdn/chunks/chunk.OJIFDWAN.js +11 -0
- package/cdn/chunks/chunk.OLIYLEYW.js +215 -0
- package/cdn/chunks/chunk.ONP7DJKV.js +87 -0
- package/cdn/chunks/chunk.ORFY26CF.js +26 -0
- package/cdn/chunks/chunk.OTEDGJYA.js +21 -0
- package/cdn/chunks/chunk.OVP4HPNM.js +246 -0
- package/cdn/chunks/chunk.OYAMTHD2.js +11 -0
- package/cdn/chunks/chunk.OYZGMLML.js +329 -0
- package/cdn/chunks/chunk.PA6MRMCA.js +11 -0
- package/cdn/chunks/chunk.PHXVMY24.js +21 -0
- package/cdn/chunks/chunk.PKXZ7NPU.js +11 -0
- package/cdn/chunks/chunk.PRB5BI5I.js +11 -0
- package/cdn/chunks/chunk.PZDE7N2A.js +27 -0
- package/cdn/chunks/chunk.PZIHW7VD.js +11 -0
- package/cdn/chunks/chunk.Q4GTCC4I.js +142 -0
- package/cdn/chunks/chunk.QAC3CQCO.js +11 -0
- package/cdn/chunks/chunk.QAU56A6M.js +11 -0
- package/cdn/chunks/chunk.QEQEK3DQ.js +21 -0
- package/cdn/chunks/chunk.QLAFK3BN.js +70 -0
- package/cdn/chunks/chunk.QQE4I43A.js +29 -0
- package/cdn/chunks/chunk.QSCFZ64I.js +25 -0
- package/cdn/chunks/chunk.QTSHZR6Y.js +255 -0
- package/cdn/chunks/chunk.QVGXNKWV.js +25 -0
- package/cdn/chunks/chunk.RAI4AVWP.js +77 -0
- package/cdn/chunks/chunk.RAUEJGGC.js +21 -0
- package/cdn/chunks/chunk.RJOUML5I.js +25 -0
- package/cdn/chunks/chunk.RNCVD7VX.js +11 -0
- package/cdn/chunks/chunk.RNFWKQUR.js +691 -0
- package/cdn/chunks/chunk.RQEFMEEG.js +24 -0
- package/cdn/chunks/chunk.RQQPX4SF.js +305 -0
- package/cdn/chunks/chunk.RR4L56XU.js +103 -0
- package/cdn/chunks/chunk.RXU4FKKZ.js +11 -0
- package/cdn/chunks/chunk.RZANYYGP.js +24 -0
- package/cdn/chunks/chunk.S2AFJO55.js +11 -0
- package/cdn/chunks/chunk.S5PSLRGZ.js +215 -0
- package/cdn/chunks/chunk.SGWUQJDH.js +11 -0
- package/cdn/chunks/chunk.SP5JHH3X.js +92 -0
- package/cdn/chunks/chunk.SQBPJNFU.js +11 -0
- package/cdn/chunks/chunk.SRBUUWVR.js +5845 -0
- package/cdn/chunks/chunk.SSRSVBL7.js +724 -0
- package/cdn/chunks/chunk.SUCC3I66.js +21 -0
- package/cdn/chunks/chunk.SYVLRK67.js +118 -0
- package/cdn/chunks/chunk.T47I4KAA.js +330 -0
- package/cdn/chunks/chunk.T4GJPDDH.js +11 -0
- package/cdn/chunks/chunk.TLDYS33S.js +11 -0
- package/cdn/chunks/chunk.TMGKI7UD.js +49 -0
- package/cdn/chunks/chunk.TP3P7OAZ.js +1213 -0
- package/cdn/chunks/chunk.TSMERRLV.js +11 -0
- package/cdn/chunks/chunk.TSUDWCBV.js +193 -0
- package/cdn/chunks/chunk.TWXDS6SS.js +29 -0
- package/cdn/chunks/chunk.U42FH3L4.js +21 -0
- package/cdn/chunks/chunk.U42GQMGZ.js +1058 -0
- package/cdn/chunks/chunk.U5NW7RKF.js +92 -0
- package/cdn/chunks/chunk.U6HFP3GH.js +42 -0
- package/cdn/chunks/chunk.UCFVPSLD.js +82 -0
- package/cdn/chunks/chunk.UIIP6GM4.js +24 -0
- package/cdn/chunks/chunk.UJ37II7J.js +122 -0
- package/cdn/chunks/chunk.UQAE4LIU.js +341 -0
- package/cdn/chunks/chunk.UTYDGTR2.js +11 -0
- package/cdn/chunks/chunk.VMRCCZS3.js +24 -0
- package/cdn/chunks/chunk.VSQW7AKE.js +21 -0
- package/cdn/chunks/chunk.VTBUE6VN.js +586 -0
- package/cdn/chunks/chunk.W3ZC5VLU.js +114 -0
- package/cdn/chunks/chunk.W6PPOAOF.js +21 -0
- package/cdn/chunks/chunk.WO3I2J6X.js +21 -0
- package/cdn/chunks/chunk.WQF7GRYP.js +21 -0
- package/cdn/chunks/chunk.WRXTMEBI.js +197 -0
- package/cdn/chunks/chunk.WT3R6OSH.js +33 -0
- package/cdn/chunks/chunk.WVN4ZOSR.js +67 -0
- package/cdn/chunks/chunk.WXXUTNKZ.js +11 -0
- package/cdn/chunks/chunk.WYCWWJ5O.js +128 -0
- package/cdn/chunks/chunk.X3O73QER.js +158 -0
- package/cdn/chunks/chunk.X4IKOBTD.js +336 -0
- package/cdn/chunks/chunk.XHEOLTOF.js +371 -0
- package/cdn/chunks/chunk.XX4XCMI2.js +11 -0
- package/cdn/chunks/chunk.Y5PXDQNX.js +11 -0
- package/cdn/chunks/chunk.YIONZYPD.js +11 -0
- package/cdn/chunks/chunk.YITTEOMF.js +354 -0
- package/cdn/chunks/chunk.YJOEOGSN.js +27 -0
- package/cdn/chunks/chunk.YLQK4LQB.js +163 -0
- package/cdn/chunks/chunk.YM36DYV4.js +25 -0
- package/cdn/chunks/chunk.YRSNTYIW.js +605 -0
- package/cdn/chunks/chunk.YTHX2ZL6.js +25 -0
- package/cdn/chunks/chunk.YTWZJCUL.js +24 -0
- package/cdn/chunks/chunk.YWNSCING.js +510 -0
- package/cdn/chunks/chunk.Z47AQQBQ.js +37 -0
- package/cdn/chunks/chunk.ZD76ITGE.js +11 -0
- package/cdn/chunks/chunk.ZGEZN4OG.js +25 -0
- package/cdn/chunks/chunk.ZJL5JEDQ.js +97 -0
- package/cdn/chunks/chunk.ZMNJROS3.js +11 -0
- package/cdn/chunks/chunk.ZNQCXSO2.js +27 -0
- package/cdn/chunks/chunk.ZNW4KHO2.js +25 -0
- package/cdn/chunks/chunk.ZOWSFBZ6.js +11 -0
- package/cdn/chunks/chunk.ZRDGX2NI.js +156 -0
- package/cdn/chunks/chunk.ZSF7UX3K.js +24 -0
- package/cdn/chunks/chunk.ZXPBOKTK.js +24 -0
- package/cdn/components/alert/alert.component.js +9 -9
- package/cdn/components/alert/alert.js +10 -10
- package/cdn/components/alert/alert.styles.js +1 -1
- 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 +3 -3
- package/cdn/components/animation/animation.js +4 -4
- package/cdn/components/avatar/avatar.component.js +7 -7
- package/cdn/components/avatar/avatar.js +8 -8
- package/cdn/components/avatar/avatar.styles.js +1 -1
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.js +5 -5
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button/button.styles.js +1 -1
- 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 +10 -10
- package/cdn/components/calendar/calendar.js +10 -10
- package/cdn/components/card/card.component.js +3 -3
- package/cdn/components/card/card.js +4 -4
- package/cdn/components/card/card.styles.js +1 -1
- package/cdn/components/carousel/carousel.component.js +6 -6
- package/cdn/components/carousel/carousel.js +7 -7
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +7 -7
- package/cdn/components/checkbox/checkbox.js +8 -8
- package/cdn/components/col/col.component.js +2 -2
- package/cdn/components/col/col.js +3 -3
- package/cdn/components/color-picker/color-picker.component.js +18 -18
- package/cdn/components/color-picker/color-picker.js +19 -19
- package/cdn/components/color-picker/color-picker.styles.js +1 -1
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/date-panel/date-panel.component.js +14 -14
- package/cdn/components/date-panel/date-panel.js +14 -14
- package/cdn/components/datepicker/datepicker.component.js +20 -20
- package/cdn/components/datepicker/datepicker.js +20 -20
- package/cdn/components/daterangepicker/daterangepicker.component.js +18 -18
- package/cdn/components/daterangepicker/daterangepicker.js +19 -19
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/details/details.styles.js +1 -1
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +8 -8
- package/cdn/components/drawer/drawer.js +9 -9
- package/cdn/components/dropdown/dropdown.component.js +4 -4
- package/cdn/components/dropdown/dropdown.js +5 -5
- package/cdn/components/float-button/float-button.component.js +8 -8
- package/cdn/components/float-button/float-button.js +9 -9
- package/cdn/components/float-button-group/float-button-group.component.js +6 -6
- package/cdn/components/float-button-group/float-button-group.js +7 -7
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/icon-button/icon-button.component.js +7 -7
- package/cdn/components/icon-button/icon-button.js +8 -8
- package/cdn/components/icon-button/icon-button.styles.js +1 -1
- 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 +6 -6
- package/cdn/components/image-comparer/image-comparer.js +7 -7
- 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 +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +7 -7
- package/cdn/components/input/input.js +8 -8
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +10 -10
- package/cdn/components/menu-item/menu-item.js +11 -11
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +11 -11
- package/cdn/components/nav/nav.js +12 -12
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +2 -2
- package/cdn/components/nav-item/nav-item.js +3 -3
- package/cdn/components/nav-submenu/nav-submenu.component.js +7 -7
- package/cdn/components/nav-submenu/nav-submenu.js +8 -8
- package/cdn/components/notification/notification.component.js +8 -8
- package/cdn/components/notification/notification.js +9 -9
- package/cdn/components/option/option.component.js +6 -6
- package/cdn/components/option/option.js +7 -7
- package/cdn/components/pagination/custom-select.js +14 -14
- package/cdn/components/pagination/pagination.component.js +15 -15
- package/cdn/components/pagination/pagination.js +15 -15
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +6 -6
- package/cdn/components/radio/radio.js +7 -7
- package/cdn/components/radio-button/radio-button.component.js +4 -4
- package/cdn/components/radio-button/radio-button.js +5 -5
- package/cdn/components/radio-button/radio-button.styles.js +2 -2
- package/cdn/components/radio-group/radio-group.component.js +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +6 -6
- package/cdn/components/rating/rating.js +7 -7
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/row/row.component.js +2 -2
- package/cdn/components/row/row.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/segmented/segmented.component.js +32 -0
- package/cdn/components/segmented/segmented.js +33 -0
- package/cdn/components/segmented/segmented.styles.js +9 -0
- package/cdn/components/select/select.component.js +12 -12
- package/cdn/components/select/select.js +13 -13
- package/cdn/components/select/select.styles.js +1 -1
- package/cdn/components/sender/sender.component.js +21 -21
- package/cdn/components/sender/sender.js +22 -22
- package/cdn/components/sender-header/sender-header.component.js +9 -9
- package/cdn/components/sender-header/sender-header.js +10 -10
- package/cdn/components/sender-switch/sender-switch.component.js +9 -9
- package/cdn/components/sender-switch/sender-switch.js +10 -10
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/space/space.component.js +2 -2
- package/cdn/components/space/space.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/steps/steps.component.js +4 -4
- package/cdn/components/steps/steps.js +5 -5
- package/cdn/components/switch/switch.component.js +4 -4
- package/cdn/components/switch/switch.js +5 -5
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +6 -6
- package/cdn/components/table/col-group.js +2 -2
- package/cdn/components/table/features/index.js +5 -5
- package/cdn/components/table/features/row-drag-controller.js +3 -3
- package/cdn/components/table/footer-table.js +5 -5
- package/cdn/components/table/head-table.js +28 -28
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +40 -40
- package/cdn/components/table/table.js +42 -42
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +4 -4
- package/cdn/components/textarea/textarea.js +5 -5
- package/cdn/components/think/think.component.js +7 -7
- package/cdn/components/think/think.js +8 -8
- package/cdn/components/thought-chain/thought-chain.component.js +2 -2
- package/cdn/components/thought-chain/thought-chain.js +3 -3
- package/cdn/components/thought-chain-item/thought-chain-item.component.js +7 -7
- package/cdn/components/thought-chain-item/thought-chain-item.js +8 -8
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +7 -7
- package/cdn/components/thought-chain-node/thought-chain-node.js +8 -8
- package/cdn/components/time-panel/time-panel.component.js +9 -9
- package/cdn/components/time-panel/time-panel.js +9 -9
- package/cdn/components/timepicker/timepicker.component.js +20 -20
- package/cdn/components/timepicker/timepicker.js +20 -20
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +10 -10
- package/cdn/components/tree/tree.js +11 -11
- package/cdn/components/tree-item/tree-item.component.js +9 -9
- package/cdn/components/tree-item/tree-item.js +10 -10
- 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/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/components/x-markdown/markdown/components.js +3 -3
- package/cdn/components/x-markdown/markdown/render.js +4 -4
- package/cdn/components/x-markdown/x-markdown.component.js +7 -7
- package/cdn/components/x-markdown/x-markdown.js +8 -8
- package/cdn/custom-elements.json +10134 -9838
- package/cdn/react/alert/index.js +10 -10
- package/cdn/react/animated-image/index.js +5 -5
- package/cdn/react/animation/index.js +4 -4
- package/cdn/react/avatar/index.js +8 -8
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +5 -5
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +4 -4
- package/cdn/react/carousel/index.js +7 -7
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +8 -8
- package/cdn/react/col/index.js +3 -3
- package/cdn/react/color-picker/index.js +19 -19
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/date-panel/index.js +15 -15
- package/cdn/react/datepicker/index.js +21 -21
- package/cdn/react/daterangepicker/index.js +19 -19
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- package/cdn/react/dropdown/index.js +5 -5
- package/cdn/react/float-button/index.js +9 -9
- package/cdn/react/float-button-group/index.js +7 -7
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/icon-button/index.js +8 -8
- package/cdn/react/image/index.js +3 -3
- package/cdn/react/image-comparer/index.js +7 -7
- package/cdn/react/image-preview-group/index.js +3 -3
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +310 -304
- package/cdn/react/input/index.js +8 -8
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +11 -11
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +12 -12
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +3 -3
- package/cdn/react/nav-submenu/index.js +8 -8
- package/cdn/react/notification/index.js +9 -9
- package/cdn/react/option/index.js +7 -7
- package/cdn/react/pagination/index.js +16 -16
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +7 -7
- package/cdn/react/radio-button/index.js +5 -5
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +7 -7
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/row/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/segmented/index.js +33 -0
- package/cdn/react/select/index.js +13 -13
- package/cdn/react/sender/index.js +22 -22
- package/cdn/react/sender-header/index.js +10 -10
- package/cdn/react/sender-switch/index.js +10 -10
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/space/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/steps/index.js +5 -5
- package/cdn/react/switch/index.js +5 -5
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +41 -41
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +5 -5
- package/cdn/react/think/index.js +8 -8
- package/cdn/react/thought-chain/index.js +3 -3
- package/cdn/react/thought-chain-item/index.js +8 -8
- package/cdn/react/thought-chain-node/index.js +8 -8
- package/cdn/react/timepicker/index.js +21 -21
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +11 -11
- package/cdn/react/tree-item/index.js +10 -10
- package/cdn/react/tree-select/index.js +17 -17
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/react/x-markdown/index.js +8 -8
- package/cdn/shoelace.js +270 -264
- package/cdn/types/vue/index.d.ts +1188 -1158
- package/cdn/vscode.html-custom-data.json +1051 -998
- package/cdn/web-types.json +2621 -2514
- package/dist/chunks/chunk.24JYOU3P.js +280 -0
- package/dist/chunks/chunk.26HDTXCR.js +45 -0
- package/dist/chunks/chunk.2CAX5Y6S.js +11 -0
- package/dist/chunks/chunk.2ENLEK63.js +11 -0
- package/dist/chunks/chunk.2FYP4ED7.js +11 -0
- package/dist/chunks/chunk.2LKRBTJB.js +21 -0
- package/dist/chunks/chunk.2LSVC7G4.js +21 -0
- package/dist/chunks/chunk.2SB472HL.js +11 -0
- package/dist/chunks/chunk.2VVC3M5U.js +26 -0
- package/dist/chunks/chunk.2WYNR77N.js +11 -0
- package/dist/chunks/chunk.2Y54QTUV.js +24 -0
- package/dist/chunks/chunk.35UM2YBF.js +11 -0
- package/dist/chunks/chunk.35YPAU26.js +22 -0
- package/dist/chunks/chunk.373RNL6E.js +21 -0
- package/dist/chunks/chunk.3EOJVTR3.js +299 -0
- package/dist/chunks/chunk.3FUKXIOC.js +25 -0
- package/dist/chunks/chunk.3OFVVWPZ.js +550 -0
- package/dist/chunks/chunk.3ON57MIZ.js +87 -0
- package/dist/chunks/chunk.3RKOOYSG.js +135 -0
- package/dist/chunks/chunk.3U5YRL7T.js +181 -0
- package/dist/chunks/chunk.3WYAJKFG.js +27 -0
- package/dist/chunks/chunk.3XW7W3RW.js +231 -0
- package/dist/chunks/chunk.4547BAWJ.js +494 -0
- package/dist/chunks/chunk.45AKTDRK.js +365 -0
- package/dist/chunks/chunk.46ARTRPO.js +11 -0
- package/dist/chunks/chunk.46TQFKWG.js +11 -0
- package/dist/chunks/chunk.47ZSLJUN.js +827 -0
- package/dist/chunks/chunk.4FSW7DJ4.js +26 -0
- package/dist/chunks/chunk.4GZIJ5QL.js +11 -0
- package/dist/chunks/chunk.4I75KIMU.js +11 -0
- package/dist/chunks/chunk.4JGM2MPR.js +11 -0
- package/dist/chunks/chunk.4KB646TP.js +21 -0
- package/dist/chunks/chunk.4NGOLV3G.js +21 -0
- package/dist/chunks/chunk.4P7LRD6J.js +57 -0
- package/dist/chunks/chunk.4T357GTZ.js +21 -0
- package/dist/chunks/chunk.4ZB5TDLP.js +93 -0
- package/dist/chunks/chunk.5BO2I2RQ.js +11 -0
- package/dist/chunks/chunk.5FFEC34D.js +502 -0
- package/dist/chunks/chunk.5FWRKUCE.js +11 -0
- package/dist/chunks/chunk.5KIQCYNK.js +11 -0
- package/dist/chunks/chunk.5NQWXONT.js +11 -0
- package/dist/chunks/chunk.62AUYZDU.js +11 -0
- package/dist/chunks/chunk.63V4JNP5.js +444 -0
- package/dist/chunks/chunk.64BYZJBX.js +116 -0
- package/dist/chunks/chunk.673S7ILD.js +11 -0
- package/dist/chunks/chunk.6KBQZGIE.js +63 -0
- package/dist/chunks/chunk.6KYMZIGN.js +294 -0
- package/dist/chunks/chunk.6L7TW32Z.js +21 -0
- package/dist/chunks/chunk.6LNDAIR7.js +24 -0
- package/dist/chunks/chunk.6MVVM7Q7.js +21 -0
- package/dist/chunks/chunk.6OB5RPCS.js +26 -0
- package/dist/chunks/chunk.6SGZLHIF.js +35 -0
- package/dist/chunks/chunk.6UE6YMGL.js +67 -0
- package/dist/chunks/chunk.6XOU4ZEY.js +25 -0
- package/dist/chunks/chunk.6YRDUG3R.js +22 -0
- package/dist/chunks/chunk.7C7EHMWG.js +11 -0
- package/dist/chunks/chunk.7DY4XQWA.js +21 -0
- package/dist/chunks/chunk.7GQ4F2Q3.js +117 -0
- package/dist/chunks/chunk.7LMRX3UY.js +424 -0
- package/dist/chunks/chunk.7YIJFKZI.js +11 -0
- package/dist/chunks/chunk.A4ZTEMVI.js +25 -0
- package/dist/chunks/chunk.ACWNVB5O.js +21 -0
- package/dist/chunks/chunk.AF2DMVJS.js +11 -0
- package/dist/chunks/chunk.AHTLSLL4.js +54 -0
- package/dist/chunks/chunk.ALJNVRC2.js +21 -0
- package/dist/chunks/chunk.ARFSUAW6.js +29 -0
- package/dist/chunks/chunk.ARV7TBVG.js +107 -0
- package/dist/chunks/chunk.AU4LTSQI.js +581 -0
- package/dist/chunks/chunk.AYSMSHYD.js +52 -0
- package/dist/chunks/chunk.AZA35YX4.js +27 -0
- package/dist/chunks/chunk.B2IG6N2M.js +21 -0
- package/dist/chunks/chunk.B4ZIRY6C.js +24 -0
- package/dist/chunks/chunk.B7P5TRZS.js +26 -0
- package/dist/chunks/chunk.BAV4EOAV.js +11 -0
- package/dist/chunks/chunk.BDB2STWJ.js +25 -0
- package/dist/chunks/chunk.BOB6Z5A2.js +27 -0
- package/dist/chunks/chunk.BOTGVBBC.js +11 -0
- package/dist/chunks/chunk.BUEAYRYP.js +73 -0
- package/dist/chunks/chunk.BUOI4WWR.js +11 -0
- package/dist/chunks/chunk.BW4DI2UV.js +11 -0
- package/dist/chunks/chunk.BWD6XGSX.js +11 -0
- package/dist/chunks/chunk.C4XPYZGD.js +320 -0
- package/dist/chunks/chunk.C5ZIPUQ2.js +134 -0
- package/dist/chunks/chunk.C7KFTDLZ.js +11 -0
- package/dist/chunks/chunk.CAVEYZGS.js +213 -0
- package/dist/chunks/chunk.CBXQFVPS.js +317 -0
- package/dist/chunks/chunk.CKPVFFUN.js +29 -0
- package/dist/chunks/chunk.CLWTWGZV.js +11 -0
- package/dist/chunks/chunk.CTRSK42E.js +75 -0
- package/dist/chunks/chunk.CVT2NZMV.js +21 -0
- package/dist/chunks/chunk.CWMMB27V.js +111 -0
- package/dist/chunks/chunk.CXN7BMZQ.js +33 -0
- package/dist/chunks/chunk.D5GCB66I.js +21 -0
- package/dist/chunks/chunk.DDFV3T2W.js +11 -0
- package/dist/chunks/chunk.DFRAZQOV.js +90 -0
- package/dist/chunks/chunk.DJ53OLWL.js +137 -0
- package/dist/chunks/chunk.DLLGUILX.js +28 -0
- package/dist/chunks/chunk.DQMIZ34H.js +21 -0
- package/dist/chunks/chunk.DQNCRTFD.js +75 -0
- package/dist/chunks/chunk.E6H2YRFM.js +11 -0
- package/dist/chunks/chunk.ECVQVMNF.js +11 -0
- package/dist/chunks/chunk.EE6EZKDY.js +11 -0
- package/dist/chunks/chunk.EFLPZAGB.js +150 -0
- package/dist/chunks/chunk.EFVLWAC3.js +11 -0
- package/dist/chunks/chunk.EH4RIPVY.js +151 -0
- package/dist/chunks/chunk.EJKZ4GZW.js +21 -0
- package/dist/chunks/chunk.EQ4BUCXA.js +25 -0
- package/dist/chunks/chunk.ETHUOXBB.js +521 -0
- package/dist/chunks/chunk.ETIJKW6L.js +113 -0
- package/dist/chunks/chunk.EWE3UFJS.js +448 -0
- package/dist/chunks/chunk.F3LHIEAC.js +11 -0
- package/dist/chunks/chunk.FEHQNXFZ.js +11 -0
- package/dist/chunks/chunk.FG3UPRPH.js +397 -0
- package/dist/chunks/chunk.FSOPUKZL.js +1207 -0
- package/dist/chunks/chunk.FULOZQSJ.js +11 -0
- package/dist/chunks/chunk.FVH2EBS4.js +100 -0
- package/dist/chunks/chunk.G4DIBXC2.js +42 -0
- package/dist/chunks/chunk.G5CZU2W4.js +11 -0
- package/dist/chunks/chunk.G6G3OH2K.js +109 -0
- package/dist/chunks/chunk.GAHREQIQ.js +11 -0
- package/dist/chunks/chunk.GBNDA7OE.js +21 -0
- package/dist/chunks/chunk.GFF6LQN6.js +11 -0
- package/dist/chunks/chunk.GMIB6GMR.js +45 -0
- package/dist/chunks/chunk.GWIQG5AS.js +28 -0
- package/dist/chunks/chunk.H2HZO2NJ.js +11 -0
- package/dist/chunks/chunk.H32FFHTJ.js +21 -0
- package/dist/chunks/chunk.HEGNIWTZ.js +11 -0
- package/dist/chunks/chunk.HF7AJMCN.js +29 -0
- package/dist/chunks/chunk.HJAADG2P.js +27 -0
- package/dist/chunks/chunk.HO7HVAW5.js +293 -0
- package/dist/chunks/chunk.HRTV4NO3.js +190 -0
- package/dist/chunks/chunk.HW4K7O2J.js +21 -0
- package/dist/chunks/chunk.HWRMNA5X.js +407 -0
- package/dist/chunks/chunk.I3SSA2VB.js +24 -0
- package/dist/chunks/chunk.I6AFHYVE.js +25 -0
- package/dist/chunks/chunk.IB2Q52ZG.js +949 -0
- package/dist/chunks/chunk.IGQPQ62U.js +371 -0
- package/dist/chunks/chunk.IIUV4GM7.js +24 -0
- package/dist/chunks/chunk.IMDYRMYZ.js +194 -0
- package/dist/chunks/chunk.IVDQJV7J.js +27 -0
- package/dist/chunks/chunk.JAG77B7Q.js +25 -0
- package/dist/chunks/chunk.JGDJWVXK.js +315 -0
- package/dist/chunks/chunk.JHL6ZZSY.js +11 -0
- package/dist/chunks/chunk.JJIS2OND.js +322 -0
- package/dist/chunks/chunk.JNBM4PGA.js +11 -0
- package/dist/chunks/chunk.JRQ5YTVS.js +25 -0
- package/dist/chunks/chunk.JUR2BPGI.js +11 -0
- package/dist/chunks/chunk.K2Y7UGLG.js +11 -0
- package/dist/chunks/chunk.K4BBEQC6.js +28 -0
- package/dist/chunks/chunk.K4IF4SQ6.js +324 -0
- package/dist/chunks/chunk.K57V57ZJ.js +24 -0
- package/dist/chunks/chunk.KBIGHA2H.js +21 -0
- package/dist/chunks/chunk.KEODE4OW.js +24 -0
- package/dist/chunks/chunk.KI7Y2LA3.js +25 -0
- package/dist/chunks/chunk.KR7NQXTO.js +190 -0
- package/dist/chunks/chunk.KV7VK5BO.js +11 -0
- package/dist/chunks/chunk.L6T4ZZ5D.js +96 -0
- package/dist/chunks/chunk.L7J526BJ.js +348 -0
- package/dist/chunks/chunk.LAYVRTKW.js +11 -0
- package/dist/chunks/chunk.LFC2DLOU.js +11 -0
- package/dist/chunks/chunk.LFEKDYJ2.js +25 -0
- package/dist/chunks/chunk.LKPIMXM4.js +11 -0
- package/dist/chunks/chunk.LL4F3HFQ.js +158 -0
- package/dist/chunks/chunk.LN33NMNP.js +337 -0
- package/dist/chunks/chunk.LRG7MNUL.js +11 -0
- package/dist/chunks/chunk.LV2B2NQV.js +21 -0
- package/dist/chunks/chunk.LYA5SWP6.js +11 -0
- package/dist/chunks/chunk.LYKVO5MT.js +50 -0
- package/dist/chunks/chunk.M5MLEARV.js +26 -0
- package/dist/chunks/chunk.MAKGJUHO.js +1868 -0
- package/dist/chunks/chunk.MD6RC7NU.js +21 -0
- package/dist/chunks/chunk.MG2Q5CXR.js +637 -0
- package/dist/chunks/chunk.MHXVL6HU.js +126 -0
- package/dist/chunks/chunk.MJRSR2CC.js +11 -0
- package/dist/chunks/chunk.MKUN5PWQ.js +11 -0
- package/dist/chunks/chunk.ML33KKHP.js +11 -0
- package/dist/chunks/chunk.MYFEULGQ.js +11 -0
- package/dist/chunks/chunk.N3JL2IW4.js +11 -0
- package/dist/chunks/chunk.N5WPM44B.js +24 -0
- package/dist/chunks/chunk.NHLJVMNA.js +24 -0
- package/dist/chunks/chunk.NIHP7CC3.js +29 -0
- package/dist/chunks/chunk.NIZNTMSY.js +263 -0
- package/dist/chunks/chunk.NOMLPHJT.js +21 -0
- package/dist/chunks/chunk.NU2H4ZQZ.js +24 -0
- package/dist/chunks/chunk.NVNRIR5U.js +11 -0
- package/dist/chunks/chunk.OHRULK2E.js +59 -0
- package/dist/chunks/chunk.OI72WVQW.js +11 -0
- package/dist/chunks/chunk.ONFMME7S.js +180 -0
- package/dist/chunks/chunk.OPPENIZE.js +11 -0
- package/dist/chunks/chunk.OXALTKWX.js +126 -0
- package/dist/chunks/chunk.PBPCXLOU.js +11 -0
- package/dist/chunks/chunk.PLECKRNR.js +35 -0
- package/dist/chunks/chunk.POCKBULF.js +167 -0
- package/dist/chunks/chunk.PSRZLPAD.js +24 -0
- package/dist/chunks/chunk.PUFIDMSS.js +24 -0
- package/dist/chunks/chunk.PWB7AB2E.js +286 -0
- package/dist/chunks/chunk.Q6DJQRNL.js +154 -0
- package/dist/chunks/chunk.QARK4L6A.js +932 -0
- package/dist/chunks/chunk.QDSXNL2Y.js +11 -0
- package/dist/chunks/chunk.QGX7ADUL.js +11 -0
- package/dist/chunks/chunk.QPKVWAKY.js +25 -0
- package/dist/chunks/chunk.QQXYYYKD.js +91 -0
- package/dist/chunks/chunk.QXR264LK.js +85 -0
- package/dist/chunks/chunk.QZC6V4MF.js +11 -0
- package/dist/chunks/chunk.R2KJOJHP.js +11 -0
- package/dist/chunks/chunk.R4U63QHC.js +80 -0
- package/dist/chunks/chunk.R6EEUIRS.js +11 -0
- package/dist/chunks/chunk.R73GI6XM.js +125 -0
- package/dist/chunks/chunk.R7WGFQN4.js +21 -0
- package/dist/chunks/chunk.RFKNKLBI.js +148 -0
- package/dist/chunks/chunk.RL34MGFM.js +11 -0
- package/dist/chunks/chunk.RTFTB5B6.js +147 -0
- package/dist/chunks/chunk.RZPTGOKI.js +212 -0
- package/dist/chunks/chunk.S6HAF74L.js +1049 -0
- package/dist/chunks/chunk.S7DRZ6QC.js +74 -0
- package/dist/chunks/chunk.SDT5JDDX.js +11 -0
- package/dist/chunks/chunk.SEHYYM35.js +231 -0
- package/dist/chunks/chunk.SLFCMZTO.js +86 -0
- package/dist/chunks/chunk.SP5EQJFL.js +21 -0
- package/dist/chunks/chunk.SSPNBJXP.js +170 -0
- package/dist/chunks/chunk.SYQ6VSLD.js +278 -0
- package/dist/chunks/chunk.T3ENV26W.js +209 -0
- package/dist/chunks/chunk.T3HQPQLM.js +100 -0
- package/dist/chunks/chunk.T4HZTYNX.js +11 -0
- package/dist/chunks/chunk.T7B3QT7X.js +34 -0
- package/dist/chunks/chunk.TD6N76NA.js +86 -0
- package/dist/chunks/chunk.TJ7GZNEP.js +21 -0
- package/dist/chunks/chunk.TM64AMIV.js +28 -0
- package/dist/chunks/chunk.TNGII46Q.js +73 -0
- package/dist/chunks/chunk.TP65KCII.js +27 -0
- package/dist/chunks/chunk.TZLFYOHG.js +11 -0
- package/dist/chunks/chunk.U3MBZ6KP.js +11 -0
- package/dist/chunks/chunk.U4DUO7NL.js +28 -0
- package/dist/chunks/chunk.UKW3LP2D.js +1317 -0
- package/dist/chunks/chunk.UQPHVR5T.js +335 -0
- package/dist/chunks/chunk.UT4I7I4K.js +11 -0
- package/dist/chunks/chunk.UU35KOIC.js +356 -0
- package/dist/chunks/chunk.UUQNQVJZ.js +11 -0
- package/dist/chunks/chunk.UVT23IDR.js +724 -0
- package/dist/chunks/chunk.UYROPS3E.js +24 -0
- package/dist/chunks/chunk.V3JFW5P2.js +21 -0
- package/dist/chunks/chunk.V43UERV6.js +24 -0
- package/dist/chunks/chunk.V5U3H64I.js +11 -0
- package/dist/chunks/chunk.V7LNHITV.js +171 -0
- package/dist/chunks/chunk.VDFQDYAK.js +247 -0
- package/dist/chunks/chunk.VF6IDUGF.js +25 -0
- package/dist/chunks/chunk.VFVHA2C2.js +119 -0
- package/dist/chunks/chunk.VH45IY7H.js +347 -0
- package/dist/chunks/chunk.VK6CFHYY.js +29 -0
- package/dist/chunks/chunk.VMNWRQDR.js +274 -0
- package/dist/chunks/chunk.VOMHQZKC.js +11 -0
- package/dist/chunks/chunk.VPPVDCIF.js +11 -0
- package/dist/chunks/chunk.VVZLZFWK.js +227 -0
- package/dist/chunks/chunk.VX63WMXP.js +21 -0
- package/dist/chunks/chunk.VXKNZN3G.js +11 -0
- package/dist/chunks/chunk.WC5JPCNB.js +11 -0
- package/dist/chunks/chunk.WLA36IL2.js +11 -0
- package/dist/chunks/chunk.WM7JEZRX.js +688 -0
- package/dist/chunks/chunk.WR3KM372.js +29 -0
- package/dist/chunks/chunk.WT6PTT6F.js +214 -0
- package/dist/chunks/chunk.WTCTXIJM.js +27 -0
- package/dist/chunks/chunk.X6EMVVW6.js +11 -0
- package/dist/chunks/chunk.XIOTQMZE.js +24 -0
- package/dist/chunks/chunk.XYIG2LNJ.js +384 -0
- package/dist/chunks/chunk.Y4RZS6XV.js +24 -0
- package/dist/chunks/chunk.YJ2VDJ7L.js +31 -0
- package/dist/chunks/chunk.YPS7JXWD.js +11 -0
- package/dist/chunks/chunk.YSLR3T4T.js +11 -0
- package/dist/chunks/chunk.Z2WX6AD5.js +21 -0
- package/dist/chunks/chunk.Z6S46RCY.js +29 -0
- package/dist/chunks/chunk.ZCCWYUCO.js +192 -0
- package/dist/chunks/chunk.ZD5J5X27.js +24 -0
- package/dist/chunks/chunk.ZF44QLM2.js +24 -0
- package/dist/chunks/chunk.ZFTWFBCI.js +21 -0
- package/dist/chunks/chunk.ZHXECN2F.js +28 -0
- package/dist/chunks/chunk.ZLTQ6NIC.js +21 -0
- package/dist/chunks/chunk.ZR2GV4TA.js +11 -0
- package/dist/chunks/chunk.ZVHDBF6V.js +11 -0
- package/dist/chunks/chunk.ZZHGYKM7.js +598 -0
- package/dist/components/alert/alert.component.js +7 -7
- package/dist/components/alert/alert.js +8 -8
- package/dist/components/alert/alert.styles.js +1 -1
- 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 +3 -3
- package/dist/components/animation/animation.js +4 -4
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/avatar/avatar.styles.js +1 -1
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button/button.styles.js +1 -1
- 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 +8 -8
- package/dist/components/calendar/calendar.js +8 -8
- package/dist/components/card/card.component.js +3 -3
- package/dist/components/card/card.js +4 -4
- package/dist/components/card/card.styles.js +1 -1
- package/dist/components/carousel/carousel.component.js +4 -4
- package/dist/components/carousel/carousel.js +5 -5
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/col/col.component.js +2 -2
- package/dist/components/col/col.js +3 -3
- package/dist/components/color-picker/color-picker.component.js +15 -15
- package/dist/components/color-picker/color-picker.js +16 -16
- package/dist/components/color-picker/color-picker.styles.js +1 -1
- package/dist/components/copy-button/copy-button.component.js +7 -7
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/date-panel/date-panel.component.js +12 -12
- package/dist/components/date-panel/date-panel.js +12 -12
- package/dist/components/datepicker/datepicker.component.js +17 -17
- package/dist/components/datepicker/datepicker.js +17 -17
- package/dist/components/daterangepicker/daterangepicker.component.js +15 -15
- package/dist/components/daterangepicker/daterangepicker.js +16 -16
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/details/details.styles.js +1 -1
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/float-button/float-button.component.js +6 -6
- package/dist/components/float-button/float-button.js +7 -7
- package/dist/components/float-button-group/float-button-group.component.js +4 -4
- package/dist/components/float-button-group/float-button-group.js +5 -5
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- 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 +4 -4
- package/dist/components/image-comparer/image-comparer.js +5 -5
- 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 +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +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 +9 -9
- package/dist/components/nav/nav.js +10 -10
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +5 -5
- package/dist/components/nav-submenu/nav-submenu.js +6 -6
- package/dist/components/notification/notification.component.js +6 -6
- package/dist/components/notification/notification.js +7 -7
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/custom-select.js +10 -10
- package/dist/components/pagination/pagination.component.js +11 -11
- package/dist/components/pagination/pagination.js +11 -11
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.js +4 -4
- package/dist/components/radio-button/radio-button.js +5 -5
- package/dist/components/radio-button/radio-button.styles.js +2 -2
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +4 -4
- package/dist/components/rating/rating.js +5 -5
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/row/row.component.js +2 -2
- package/dist/components/row/row.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/segmented/segmented.component.js +26 -0
- package/dist/components/segmented/segmented.js +27 -0
- package/dist/components/segmented/segmented.styles.js +7 -0
- package/dist/components/select/select.component.js +10 -10
- package/dist/components/select/select.js +11 -11
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/sender/sender.component.js +18 -18
- package/dist/components/sender/sender.js +19 -19
- package/dist/components/sender-header/sender-header.component.js +7 -7
- package/dist/components/sender-header/sender-header.js +8 -8
- package/dist/components/sender-switch/sender-switch.component.js +7 -7
- package/dist/components/sender-switch/sender-switch.js +8 -8
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/space/space.component.js +2 -2
- package/dist/components/space/space.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/steps/steps.component.js +4 -4
- package/dist/components/steps/steps.js +5 -5
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- 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 +3 -3
- 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 +23 -23
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +34 -34
- package/dist/components/table/table.js +36 -36
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/think/think.component.js +5 -5
- package/dist/components/think/think.js +6 -6
- package/dist/components/thought-chain/thought-chain.component.js +2 -2
- package/dist/components/thought-chain/thought-chain.js +3 -3
- package/dist/components/thought-chain-item/thought-chain-item.component.js +5 -5
- package/dist/components/thought-chain-item/thought-chain-item.js +6 -6
- package/dist/components/thought-chain-node/thought-chain-node.component.js +5 -5
- package/dist/components/thought-chain-node/thought-chain-node.js +6 -6
- package/dist/components/time-panel/time-panel.component.js +7 -7
- package/dist/components/time-panel/time-panel.js +7 -7
- package/dist/components/timepicker/timepicker.component.js +17 -17
- package/dist/components/timepicker/timepicker.js +17 -17
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +7 -7
- package/dist/components/tree/tree.js +8 -8
- package/dist/components/tree-item/tree-item.component.js +6 -6
- package/dist/components/tree-item/tree-item.js +7 -7
- package/dist/components/tree-select/tree-select.component.js +13 -13
- package/dist/components/tree-select/tree-select.js +14 -14
- package/dist/components/tree-select/tree-select.styles.js +1 -1
- 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/markdown/render.js +2 -2
- package/dist/components/x-markdown/x-markdown.component.js +5 -5
- package/dist/components/x-markdown/x-markdown.js +6 -6
- package/dist/custom-elements.json +10134 -9838
- package/dist/react/alert/index.js +8 -8
- package/dist/react/animated-image/index.js +5 -5
- package/dist/react/animation/index.js +4 -4
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +5 -5
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +4 -4
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/col/index.js +3 -3
- package/dist/react/color-picker/index.js +16 -16
- package/dist/react/copy-button/index.js +8 -8
- package/dist/react/date-panel/index.js +13 -13
- package/dist/react/datepicker/index.js +18 -18
- package/dist/react/daterangepicker/index.js +16 -16
- package/dist/react/details/index.js +6 -6
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- package/dist/react/dropdown/index.js +5 -5
- package/dist/react/float-button/index.js +7 -7
- package/dist/react/float-button-group/index.js +5 -5
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +4 -4
- package/dist/react/icon-button/index.js +6 -6
- package/dist/react/image/index.js +3 -3
- package/dist/react/image-comparer/index.js +5 -5
- package/dist/react/image-preview-group/index.js +3 -3
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +304 -298
- package/dist/react/input/index.js +5 -5
- 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 +10 -10
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +6 -6
- package/dist/react/notification/index.js +7 -7
- package/dist/react/option/index.js +5 -5
- package/dist/react/pagination/index.js +12 -12
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +5 -5
- package/dist/react/radio-button/index.js +5 -5
- package/dist/react/radio-group/index.js +5 -5
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +5 -5
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/row/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/segmented/index.js +27 -0
- package/dist/react/select/index.js +11 -11
- package/dist/react/sender/index.js +19 -19
- package/dist/react/sender-header/index.js +8 -8
- package/dist/react/sender-switch/index.js +8 -8
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/space/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/steps/index.js +5 -5
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +7 -7
- package/dist/react/tab-group/index.js +8 -8
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +35 -35
- package/dist/react/tag/index.js +7 -7
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/think/index.js +6 -6
- package/dist/react/thought-chain/index.js +3 -3
- package/dist/react/thought-chain-item/index.js +6 -6
- package/dist/react/thought-chain-node/index.js +6 -6
- package/dist/react/timepicker/index.js +18 -18
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +8 -8
- package/dist/react/tree-item/index.js +7 -7
- package/dist/react/tree-select/index.js +14 -14
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/react/x-markdown/index.js +6 -6
- package/dist/shoelace.js +264 -258
- package/dist/types/vue/index.d.ts +1188 -1158
- package/dist/vscode.html-custom-data.json +1051 -998
- package/dist/web-types.json +2621 -2514
- package/package.json +3 -18
- package/cdn/chunks/chunk.2ACM7QAN.js +0 -27
- package/cdn/chunks/chunk.2AGSH6IM.js +0 -21
- package/cdn/chunks/chunk.2JJSHCYO.js +0 -27
- package/cdn/chunks/chunk.2NTZRTXE.js +0 -28
- package/cdn/chunks/chunk.33LHPRVS.js +0 -11
- package/cdn/chunks/chunk.3472DQDJ.js +0 -110
- package/cdn/chunks/chunk.34YKJ276.js +0 -21
- package/cdn/chunks/chunk.3DREPGEA.js +0 -36
- package/cdn/chunks/chunk.3KEUECIF.js +0 -543
- package/cdn/chunks/chunk.3KWYRCTI.js +0 -24
- package/cdn/chunks/chunk.3LD3VKFT.js +0 -24
- package/cdn/chunks/chunk.3MZ7OZSA.js +0 -189
- package/cdn/chunks/chunk.3P2HPNKA.js +0 -21
- package/cdn/chunks/chunk.3PQ74J2K.js +0 -216
- package/cdn/chunks/chunk.3SNXY2OP.js +0 -11
- package/cdn/chunks/chunk.3SOWPQOO.js +0 -219
- package/cdn/chunks/chunk.3TZELG3E.js +0 -21
- package/cdn/chunks/chunk.3ZYI5PVZ.js +0 -21
- package/cdn/chunks/chunk.4E2UI6CN.js +0 -313
- package/cdn/chunks/chunk.4GSOSTXN.js +0 -110
- package/cdn/chunks/chunk.4KKFIHGN.js +0 -25
- package/cdn/chunks/chunk.4N36QI23.js +0 -587
- package/cdn/chunks/chunk.4NCRDDST.js +0 -24
- package/cdn/chunks/chunk.4QRBVJ3K.js +0 -684
- package/cdn/chunks/chunk.4W4ATDBS.js +0 -11
- package/cdn/chunks/chunk.4Z4ROCZ7.js +0 -25
- package/cdn/chunks/chunk.5DVSFWHO.js +0 -49
- package/cdn/chunks/chunk.5GI7HLID.js +0 -281
- package/cdn/chunks/chunk.5HGZKQ5T.js +0 -822
- package/cdn/chunks/chunk.5NRH5AHS.js +0 -236
- package/cdn/chunks/chunk.5SEXWORY.js +0 -11
- package/cdn/chunks/chunk.5TJSDXML.js +0 -133
- package/cdn/chunks/chunk.5UBT5QQ6.js +0 -455
- package/cdn/chunks/chunk.5VMNSGV4.js +0 -29
- package/cdn/chunks/chunk.5W4YY2BC.js +0 -11
- package/cdn/chunks/chunk.5XZ4HPO7.js +0 -153
- package/cdn/chunks/chunk.64SF42L3.js +0 -302
- package/cdn/chunks/chunk.64V3CSF2.js +0 -11
- package/cdn/chunks/chunk.65LXSKQR.js +0 -11
- package/cdn/chunks/chunk.66I5IOEN.js +0 -11
- package/cdn/chunks/chunk.6DRAOIDV.js +0 -402
- package/cdn/chunks/chunk.6J6T6H5I.js +0 -24
- package/cdn/chunks/chunk.6MXMTMSX.js +0 -11
- package/cdn/chunks/chunk.6UX5B5GV.js +0 -11
- package/cdn/chunks/chunk.6W3U4H3S.js +0 -11
- package/cdn/chunks/chunk.72I2RXUX.js +0 -29
- package/cdn/chunks/chunk.735F66UZ.js +0 -11
- package/cdn/chunks/chunk.74Y6UYJI.js +0 -11
- package/cdn/chunks/chunk.7RZIT3QY.js +0 -25
- package/cdn/chunks/chunk.7WIQYDH3.js +0 -27
- package/cdn/chunks/chunk.7ZU2V7TY.js +0 -73
- package/cdn/chunks/chunk.A4B7JR74.js +0 -11
- package/cdn/chunks/chunk.A6NJQDDY.js +0 -7423
- package/cdn/chunks/chunk.AEKAZVLZ.js +0 -28
- package/cdn/chunks/chunk.ALGFT6GN.js +0 -24
- package/cdn/chunks/chunk.AMXW3ADW.js +0 -24
- package/cdn/chunks/chunk.ANDJNIVD.js +0 -24
- package/cdn/chunks/chunk.AU4NZVNE.js +0 -21
- package/cdn/chunks/chunk.AURW32DB.js +0 -11
- package/cdn/chunks/chunk.B4DXJNH2.js +0 -2632
- package/cdn/chunks/chunk.B5MU2VA4.js +0 -21
- package/cdn/chunks/chunk.BCN7PNL2.js +0 -54
- package/cdn/chunks/chunk.BF7DIOIS.js +0 -11
- package/cdn/chunks/chunk.BH3FNO7U.js +0 -49
- package/cdn/chunks/chunk.BJL4CKNO.js +0 -21
- package/cdn/chunks/chunk.BOFVXZXT.js +0 -120
- package/cdn/chunks/chunk.BQS6PU2W.js +0 -11
- package/cdn/chunks/chunk.BUBHJXCN.js +0 -11
- package/cdn/chunks/chunk.BVO2M3LI.js +0 -21
- package/cdn/chunks/chunk.BVTGGJST.js +0 -331
- package/cdn/chunks/chunk.CHLAO5QM.js +0 -365
- package/cdn/chunks/chunk.CKOGJO3J.js +0 -450
- package/cdn/chunks/chunk.CLJWBZLK.js +0 -127
- package/cdn/chunks/chunk.CVAVRSDG.js +0 -24
- package/cdn/chunks/chunk.D6BUUNYH.js +0 -91
- package/cdn/chunks/chunk.DCIXOSBY.js +0 -21
- package/cdn/chunks/chunk.DIWOOU3W.js +0 -11
- package/cdn/chunks/chunk.DKNNAX52.js +0 -11
- package/cdn/chunks/chunk.DLZTJQMQ.js +0 -11
- package/cdn/chunks/chunk.DMU7Z5C4.js +0 -11
- package/cdn/chunks/chunk.DQUPXST2.js +0 -77
- package/cdn/chunks/chunk.DSVJKQL6.js +0 -21
- package/cdn/chunks/chunk.DUPQFQ5X.js +0 -11
- package/cdn/chunks/chunk.DVVYOSU7.js +0 -11
- package/cdn/chunks/chunk.DYK7FSTU.js +0 -37
- package/cdn/chunks/chunk.E46AT2Q4.js +0 -161
- package/cdn/chunks/chunk.E4GLRHS7.js +0 -137
- package/cdn/chunks/chunk.E6P25JWT.js +0 -215
- package/cdn/chunks/chunk.E77JONWP.js +0 -75
- package/cdn/chunks/chunk.EADLLTDM.js +0 -25
- package/cdn/chunks/chunk.ECAMZTBD.js +0 -11
- package/cdn/chunks/chunk.EELPF4DY.js +0 -11
- package/cdn/chunks/chunk.EG5DXJSS.js +0 -305
- package/cdn/chunks/chunk.EGPZH3DY.js +0 -24
- package/cdn/chunks/chunk.EGXSF644.js +0 -24
- package/cdn/chunks/chunk.EIC77OUY.js +0 -354
- package/cdn/chunks/chunk.ELMU2K63.js +0 -114
- package/cdn/chunks/chunk.EQQDCTCE.js +0 -35
- package/cdn/chunks/chunk.ERRORSFT.js +0 -11
- package/cdn/chunks/chunk.ETBECRY7.js +0 -27
- package/cdn/chunks/chunk.ETO2EGLV.js +0 -11
- package/cdn/chunks/chunk.EXMN55OL.js +0 -11
- package/cdn/chunks/chunk.F33B3RMO.js +0 -25
- package/cdn/chunks/chunk.F53E6VVF.js +0 -11
- package/cdn/chunks/chunk.FHHNWRWM.js +0 -103
- package/cdn/chunks/chunk.FO23IU3W.js +0 -11
- package/cdn/chunks/chunk.FP7AFDBB.js +0 -11
- package/cdn/chunks/chunk.FWGGZESE.js +0 -186
- package/cdn/chunks/chunk.G53CUIQZ.js +0 -28
- package/cdn/chunks/chunk.GCVXBHSZ.js +0 -11
- package/cdn/chunks/chunk.GD5RQJSX.js +0 -26
- package/cdn/chunks/chunk.GMTNDDLZ.js +0 -330
- package/cdn/chunks/chunk.GVUBT5HZ.js +0 -11
- package/cdn/chunks/chunk.GYZPEDXG.js +0 -1213
- package/cdn/chunks/chunk.GZBL352Y.js +0 -734
- package/cdn/chunks/chunk.H3V5MYSG.js +0 -500
- package/cdn/chunks/chunk.H5XBPOYZ.js +0 -24
- package/cdn/chunks/chunk.HBYVNP2T.js +0 -26
- package/cdn/chunks/chunk.HILCH2H6.js +0 -11
- package/cdn/chunks/chunk.HQL5ICXN.js +0 -11
- package/cdn/chunks/chunk.HU4ZBZXQ.js +0 -21
- package/cdn/chunks/chunk.HVJTYHR5.js +0 -21
- package/cdn/chunks/chunk.HXOTZQHN.js +0 -122
- package/cdn/chunks/chunk.I3W3LC7S.js +0 -1877
- package/cdn/chunks/chunk.IG5SNRJ3.js +0 -24
- package/cdn/chunks/chunk.ILNNFROB.js +0 -118
- package/cdn/chunks/chunk.IMFO2YMT.js +0 -142
- package/cdn/chunks/chunk.IRAELV5T.js +0 -11
- package/cdn/chunks/chunk.ITZVHGJW.js +0 -197
- package/cdn/chunks/chunk.IW6KDBPL.js +0 -318
- package/cdn/chunks/chunk.IWMOU3KE.js +0 -29
- package/cdn/chunks/chunk.IZAGSG4V.js +0 -11
- package/cdn/chunks/chunk.IZFA75HC.js +0 -11
- package/cdn/chunks/chunk.J654THXC.js +0 -11
- package/cdn/chunks/chunk.J6OYMEFS.js +0 -21
- package/cdn/chunks/chunk.JBLJ4OCV.js +0 -97
- package/cdn/chunks/chunk.JF2BAW33.js +0 -21
- package/cdn/chunks/chunk.JK3G3EBC.js +0 -647
- package/cdn/chunks/chunk.JKJA4WQX.js +0 -11
- package/cdn/chunks/chunk.JLVOFIKP.js +0 -11
- package/cdn/chunks/chunk.JQ4PA5RC.js +0 -57
- package/cdn/chunks/chunk.JRFCR2K2.js +0 -29
- package/cdn/chunks/chunk.JTS3EJLS.js +0 -21
- package/cdn/chunks/chunk.KFIPJDEY.js +0 -11
- package/cdn/chunks/chunk.KIULROAH.js +0 -154
- package/cdn/chunks/chunk.KVSJTDTZ.js +0 -11
- package/cdn/chunks/chunk.KWSEUG4I.js +0 -276
- package/cdn/chunks/chunk.KXF2KZNK.js +0 -279
- package/cdn/chunks/chunk.KXOHLS5D.js +0 -26
- package/cdn/chunks/chunk.L7JNPBZB.js +0 -24
- package/cdn/chunks/chunk.LFB6F5ML.js +0 -25
- package/cdn/chunks/chunk.LHTAA75I.js +0 -246
- package/cdn/chunks/chunk.LHUFC5AE.js +0 -26
- package/cdn/chunks/chunk.LJHE57OU.js +0 -82
- package/cdn/chunks/chunk.LMIOFAII.js +0 -11
- package/cdn/chunks/chunk.LS34QCUL.js +0 -605
- package/cdn/chunks/chunk.LWSUVTOE.js +0 -11
- package/cdn/chunks/chunk.LYGXZISS.js +0 -175
- package/cdn/chunks/chunk.M6ORVKWW.js +0 -271
- package/cdn/chunks/chunk.M7O6IGRR.js +0 -92
- package/cdn/chunks/chunk.MAHBJFAH.js +0 -24
- package/cdn/chunks/chunk.MGP4Q663.js +0 -11
- package/cdn/chunks/chunk.MHHQSNUL.js +0 -346
- package/cdn/chunks/chunk.MNILCP46.js +0 -128
- package/cdn/chunks/chunk.MUG6TS4Q.js +0 -11
- package/cdn/chunks/chunk.MVKHFPKB.js +0 -199
- package/cdn/chunks/chunk.MXIBCNJN.js +0 -21
- package/cdn/chunks/chunk.MYYWW63Q.js +0 -11
- package/cdn/chunks/chunk.N3EQEC6E.js +0 -28
- package/cdn/chunks/chunk.NBXKPCKN.js +0 -27
- package/cdn/chunks/chunk.NCEQSEUX.js +0 -70
- package/cdn/chunks/chunk.NKMZGI36.js +0 -21
- package/cdn/chunks/chunk.NMBLA3O3.js +0 -21
- package/cdn/chunks/chunk.NNSNJX34.js +0 -27
- package/cdn/chunks/chunk.NPYJXDJD.js +0 -11
- package/cdn/chunks/chunk.NUMMDRQR.js +0 -11
- package/cdn/chunks/chunk.O42HT5OS.js +0 -21
- package/cdn/chunks/chunk.O4CFWOYT.js +0 -299
- package/cdn/chunks/chunk.OBTH2N2H.js +0 -21
- package/cdn/chunks/chunk.OG54LW2W.js +0 -341
- package/cdn/chunks/chunk.OHC6TV46.js +0 -27
- package/cdn/chunks/chunk.OSN3J2E2.js +0 -21
- package/cdn/chunks/chunk.OV3UZ7V6.js +0 -21
- package/cdn/chunks/chunk.OVNPI46I.js +0 -126
- package/cdn/chunks/chunk.OVQMGW5H.js +0 -33
- package/cdn/chunks/chunk.OWM4RWLB.js +0 -60
- package/cdn/chunks/chunk.OZB5HN6L.js +0 -11
- package/cdn/chunks/chunk.P7GJ5L5D.js +0 -11
- package/cdn/chunks/chunk.PBZUTF7W.js +0 -11
- package/cdn/chunks/chunk.PCJPXDWW.js +0 -236
- package/cdn/chunks/chunk.PDYW2FUQ.js +0 -113
- package/cdn/chunks/chunk.PGUAPNH2.js +0 -5845
- package/cdn/chunks/chunk.PKGDAXQW.js +0 -391
- package/cdn/chunks/chunk.PMUQNMRI.js +0 -25
- package/cdn/chunks/chunk.PQB62JKK.js +0 -1990
- package/cdn/chunks/chunk.PQBJJVTL.js +0 -76
- package/cdn/chunks/chunk.PR2RQJQ3.js +0 -233
- package/cdn/chunks/chunk.PSVFGFKM.js +0 -11
- package/cdn/chunks/chunk.PT6MCBYI.js +0 -11
- package/cdn/chunks/chunk.PUBZR4EK.js +0 -24
- package/cdn/chunks/chunk.Q4FTLWPF.js +0 -24
- package/cdn/chunks/chunk.Q4J5QT7F.js +0 -11
- package/cdn/chunks/chunk.Q7JVQW5S.js +0 -21
- package/cdn/chunks/chunk.QAT6LNQU.js +0 -67
- package/cdn/chunks/chunk.QEHFA5EH.js +0 -21
- package/cdn/chunks/chunk.QFI4MZN4.js +0 -11
- package/cdn/chunks/chunk.QJZIOSKV.js +0 -21
- package/cdn/chunks/chunk.QLBBKEDP.js +0 -11
- package/cdn/chunks/chunk.QMMGWIHO.js +0 -158
- package/cdn/chunks/chunk.QSKDBHRJ.js +0 -163
- package/cdn/chunks/chunk.QTA55AJM.js +0 -11
- package/cdn/chunks/chunk.QZ4J62A5.js +0 -11
- package/cdn/chunks/chunk.R2CZEKU6.js +0 -135
- package/cdn/chunks/chunk.R76HF3BO.js +0 -25
- package/cdn/chunks/chunk.RDT4OU2X.js +0 -1925
- package/cdn/chunks/chunk.RHH7MAUD.js +0 -25
- package/cdn/chunks/chunk.RJSZYW3X.js +0 -21
- package/cdn/chunks/chunk.ROKIYOH2.js +0 -215
- package/cdn/chunks/chunk.RSKWFHVO.js +0 -29
- package/cdn/chunks/chunk.RUVTJIBJ.js +0 -11
- package/cdn/chunks/chunk.S7XYWCCM.js +0 -11
- package/cdn/chunks/chunk.SASTTB72.js +0 -50
- package/cdn/chunks/chunk.SDK3DJQT.js +0 -292
- package/cdn/chunks/chunk.SF4ZNB3E.js +0 -31
- package/cdn/chunks/chunk.SLOYP57T.js +0 -408
- package/cdn/chunks/chunk.SPVO34AT.js +0 -29
- package/cdn/chunks/chunk.SXAYCCGJ.js +0 -724
- package/cdn/chunks/chunk.SZCR6L6N.js +0 -346
- package/cdn/chunks/chunk.T26CEJYI.js +0 -11
- package/cdn/chunks/chunk.T7QJTLTS.js +0 -79
- package/cdn/chunks/chunk.TH63XKCI.js +0 -1058
- package/cdn/chunks/chunk.THV7AXZP.js +0 -21
- package/cdn/chunks/chunk.TSLDWQVN.js +0 -27
- package/cdn/chunks/chunk.TU6VX7D4.js +0 -11
- package/cdn/chunks/chunk.TWOCTPT4.js +0 -71
- package/cdn/chunks/chunk.TZ7H73AX.js +0 -11
- package/cdn/chunks/chunk.UFEZRBZL.js +0 -255
- package/cdn/chunks/chunk.UGGPSWOD.js +0 -92
- package/cdn/chunks/chunk.UNS6LUET.js +0 -186
- package/cdn/chunks/chunk.UPQCVS4P.js +0 -11
- package/cdn/chunks/chunk.URI6VUMZ.js +0 -28
- package/cdn/chunks/chunk.UZOV3FS5.js +0 -11
- package/cdn/chunks/chunk.VD6ZEDDU.js +0 -510
- package/cdn/chunks/chunk.VGH5GETS.js +0 -24
- package/cdn/chunks/chunk.VHGPGULT.js +0 -21
- package/cdn/chunks/chunk.VK7M2Q2M.js +0 -11
- package/cdn/chunks/chunk.VMX4J3XK.js +0 -24
- package/cdn/chunks/chunk.VOMWJ6EZ.js +0 -93
- package/cdn/chunks/chunk.VXYZE5CR.js +0 -11
- package/cdn/chunks/chunk.W7OLUR7J.js +0 -11
- package/cdn/chunks/chunk.WE7KGXEQ.js +0 -177
- package/cdn/chunks/chunk.WGWHLZAW.js +0 -63
- package/cdn/chunks/chunk.WHRAGXGX.js +0 -11
- package/cdn/chunks/chunk.WKKR24G7.js +0 -1321
- package/cdn/chunks/chunk.WMYRJISA.js +0 -291
- package/cdn/chunks/chunk.WOZDECB2.js +0 -25
- package/cdn/chunks/chunk.WPLAX2GS.js +0 -95
- package/cdn/chunks/chunk.WT6FZNHH.js +0 -11
- package/cdn/chunks/chunk.X5YXOJ6Q.js +0 -21
- package/cdn/chunks/chunk.XFTUY2U4.js +0 -371
- package/cdn/chunks/chunk.XISWIM7G.js +0 -379
- package/cdn/chunks/chunk.XKSH7O2X.js +0 -11
- package/cdn/chunks/chunk.XL3CVQKM.js +0 -42
- package/cdn/chunks/chunk.XNZS74AQ.js +0 -11
- package/cdn/chunks/chunk.XON5FA4E.js +0 -26
- package/cdn/chunks/chunk.Y3NL7LXX.js +0 -11
- package/cdn/chunks/chunk.Y3ZOWJZP.js +0 -11
- package/cdn/chunks/chunk.YBNVIZNQ.js +0 -24
- package/cdn/chunks/chunk.YIDPHYQP.js +0 -11
- package/cdn/chunks/chunk.YLFY2IV6.js +0 -73
- package/cdn/chunks/chunk.YMVHMFYJ.js +0 -11
- package/cdn/chunks/chunk.YTXI4SVU.js +0 -191
- package/cdn/chunks/chunk.YUX2UCEV.js +0 -87
- package/cdn/chunks/chunk.Z5DKXSWV.js +0 -25
- package/cdn/chunks/chunk.Z7KOBMUI.js +0 -586
- package/cdn/chunks/chunk.ZG4QZ34K.js +0 -29
- package/cdn/chunks/chunk.ZP4NZWEE.js +0 -28
- package/cdn/chunks/chunk.ZREOQ6ZP.js +0 -336
- package/cdn/chunks/chunk.ZTQYTBVC.js +0 -24
- package/cdn/chunks/chunk.ZVPGXPSQ.js +0 -11
- package/cdn/chunks/chunk.ZZGCOFZA.js +0 -11
- package/dist/chunks/chunk.2B3V4YWG.js +0 -11
- package/dist/chunks/chunk.2BCOYW6X.js +0 -598
- package/dist/chunks/chunk.2HQQKE4T.js +0 -28
- package/dist/chunks/chunk.2IIU6JAN.js +0 -932
- package/dist/chunks/chunk.2KVBCBXK.js +0 -86
- package/dist/chunks/chunk.2MYW6SIZ.js +0 -274
- package/dist/chunks/chunk.2WL76WWY.js +0 -306
- package/dist/chunks/chunk.356UDQXP.js +0 -405
- package/dist/chunks/chunk.3ERGRSUF.js +0 -315
- package/dist/chunks/chunk.3EXTRZ7X.js +0 -21
- package/dist/chunks/chunk.3GTST4YH.js +0 -21
- package/dist/chunks/chunk.3I4GGSYA.js +0 -25
- package/dist/chunks/chunk.3KFEQXMH.js +0 -397
- package/dist/chunks/chunk.3M4HHH42.js +0 -11
- package/dist/chunks/chunk.3PW4HIS3.js +0 -116
- package/dist/chunks/chunk.42JMJ5OQ.js +0 -125
- package/dist/chunks/chunk.434CHZKG.js +0 -24
- package/dist/chunks/chunk.43LWOCQ5.js +0 -73
- package/dist/chunks/chunk.45T7UJH6.js +0 -11
- package/dist/chunks/chunk.4A6V4OMT.js +0 -107
- package/dist/chunks/chunk.4QUOCIE7.js +0 -247
- package/dist/chunks/chunk.4RZAYBKY.js +0 -27
- package/dist/chunks/chunk.4SCO73KE.js +0 -231
- package/dist/chunks/chunk.4X27MK52.js +0 -33
- package/dist/chunks/chunk.563ZRURL.js +0 -27
- package/dist/chunks/chunk.56IRTPCV.js +0 -949
- package/dist/chunks/chunk.572C5KH3.js +0 -11
- package/dist/chunks/chunk.5BU5YY7T.js +0 -11
- package/dist/chunks/chunk.5CFV7ATE.js +0 -11
- package/dist/chunks/chunk.5CNMH4FR.js +0 -637
- package/dist/chunks/chunk.5FJOUEVK.js +0 -11
- package/dist/chunks/chunk.5JIKYATU.js +0 -90
- package/dist/chunks/chunk.5LOFRO5L.js +0 -21
- package/dist/chunks/chunk.5N5UG7ZC.js +0 -25
- package/dist/chunks/chunk.5NAY7GUO.js +0 -11
- package/dist/chunks/chunk.5P2LHDGT.js +0 -11
- package/dist/chunks/chunk.5XD4ZJBS.js +0 -24
- package/dist/chunks/chunk.5ZKRP23P.js +0 -11
- package/dist/chunks/chunk.65XQ2LCI.js +0 -24
- package/dist/chunks/chunk.6B44IJHO.js +0 -24
- package/dist/chunks/chunk.6B4LLA6T.js +0 -11
- package/dist/chunks/chunk.6I2T3DLI.js +0 -54
- package/dist/chunks/chunk.6O6PDU7R.js +0 -34
- package/dist/chunks/chunk.6Q3IHA4S.js +0 -109
- package/dist/chunks/chunk.6SX42GBN.js +0 -170
- package/dist/chunks/chunk.6XHVGEJF.js +0 -348
- package/dist/chunks/chunk.6XW3VMGZ.js +0 -11
- package/dist/chunks/chunk.6YAPKGCO.js +0 -362
- package/dist/chunks/chunk.733SNYIT.js +0 -293
- package/dist/chunks/chunk.7536WO2Y.js +0 -11
- package/dist/chunks/chunk.75TVCK67.js +0 -80
- package/dist/chunks/chunk.75YD3BBN.js +0 -11
- package/dist/chunks/chunk.76G6MYFA.js +0 -11
- package/dist/chunks/chunk.776Y6KK6.js +0 -11
- package/dist/chunks/chunk.7EX2BMQR.js +0 -25
- package/dist/chunks/chunk.7JYK4YX2.js +0 -11
- package/dist/chunks/chunk.7S4QLXD5.js +0 -25
- package/dist/chunks/chunk.7WKA4SJX.js +0 -25
- package/dist/chunks/chunk.A37EXYD3.js +0 -11
- package/dist/chunks/chunk.ABAWNR6O.js +0 -42
- package/dist/chunks/chunk.AGRZZ7XT.js +0 -91
- package/dist/chunks/chunk.AIEKRZT6.js +0 -21
- package/dist/chunks/chunk.AW5JH3M3.js +0 -21
- package/dist/chunks/chunk.AWB3XW7T.js +0 -11
- package/dist/chunks/chunk.B3PFOZ45.js +0 -11
- package/dist/chunks/chunk.B6JIUJRL.js +0 -214
- package/dist/chunks/chunk.B6MRY7NC.js +0 -444
- package/dist/chunks/chunk.BAA27QCA.js +0 -448
- package/dist/chunks/chunk.BBASTM2O.js +0 -1868
- package/dist/chunks/chunk.BBFFDMWB.js +0 -286
- package/dist/chunks/chunk.BCOGT6OW.js +0 -343
- package/dist/chunks/chunk.BKQVKMX7.js +0 -294
- package/dist/chunks/chunk.BQVKSDZM.js +0 -25
- package/dist/chunks/chunk.BUQ2K73W.js +0 -320
- package/dist/chunks/chunk.BVBW6U3J.js +0 -1049
- package/dist/chunks/chunk.BWVIYWPG.js +0 -11
- package/dist/chunks/chunk.BZNASJ56.js +0 -11
- package/dist/chunks/chunk.CAKOAZGN.js +0 -73
- package/dist/chunks/chunk.CMQWH4YD.js +0 -11
- package/dist/chunks/chunk.CT7UV6DU.js +0 -11
- package/dist/chunks/chunk.CXCKWAKQ.js +0 -29
- package/dist/chunks/chunk.D54OL7HI.js +0 -11
- package/dist/chunks/chunk.DASYFVTM.js +0 -280
- package/dist/chunks/chunk.DCXHI7BU.js +0 -29
- package/dist/chunks/chunk.DG54OG2X.js +0 -11
- package/dist/chunks/chunk.DLWTJCEV.js +0 -50
- package/dist/chunks/chunk.DO32NLWW.js +0 -1207
- package/dist/chunks/chunk.DRA4BAWK.js +0 -35
- package/dist/chunks/chunk.DWUXAJ7L.js +0 -25
- package/dist/chunks/chunk.DZPPTCVO.js +0 -324
- package/dist/chunks/chunk.EFWEMGOF.js +0 -21
- package/dist/chunks/chunk.EJREIG6B.js +0 -11
- package/dist/chunks/chunk.EOJS3VD2.js +0 -21
- package/dist/chunks/chunk.EOMQPCKB.js +0 -21
- package/dist/chunks/chunk.EOPHVE4H.js +0 -186
- package/dist/chunks/chunk.EQ2C4FRB.js +0 -87
- package/dist/chunks/chunk.EQNDMQNQ.js +0 -22
- package/dist/chunks/chunk.ERCF3KCN.js +0 -147
- package/dist/chunks/chunk.EYTKQ3L5.js +0 -59
- package/dist/chunks/chunk.F6H6L4C3.js +0 -494
- package/dist/chunks/chunk.FAPDSMSX.js +0 -11
- package/dist/chunks/chunk.FE6NSXVZ.js +0 -278
- package/dist/chunks/chunk.FMY723ME.js +0 -681
- package/dist/chunks/chunk.GB3H7QGR.js +0 -27
- package/dist/chunks/chunk.GCTW2UYJ.js +0 -384
- package/dist/chunks/chunk.GGX4RUM3.js +0 -93
- package/dist/chunks/chunk.GHL32NC3.js +0 -21
- package/dist/chunks/chunk.GIMJ7NVY.js +0 -28
- package/dist/chunks/chunk.GKNKGH6I.js +0 -26
- package/dist/chunks/chunk.GUVK2WGH.js +0 -126
- package/dist/chunks/chunk.GVGAYCHT.js +0 -11
- package/dist/chunks/chunk.H4LEL4KI.js +0 -27
- package/dist/chunks/chunk.H5XOGPOD.js +0 -22
- package/dist/chunks/chunk.HAQJS3Z6.js +0 -11
- package/dist/chunks/chunk.HBVRHR7U.js +0 -96
- package/dist/chunks/chunk.HDIE3AID.js +0 -11
- package/dist/chunks/chunk.HGIGOC7Y.js +0 -11
- package/dist/chunks/chunk.HPSADYHI.js +0 -21
- package/dist/chunks/chunk.HVG45LAQ.js +0 -167
- package/dist/chunks/chunk.HVGL4I3R.js +0 -24
- package/dist/chunks/chunk.HZS5GKHC.js +0 -21
- package/dist/chunks/chunk.I6JD4GWS.js +0 -192
- package/dist/chunks/chunk.I7BV2I2U.js +0 -11
- package/dist/chunks/chunk.IFSEF5C5.js +0 -21
- package/dist/chunks/chunk.IIJAQTMS.js +0 -11
- package/dist/chunks/chunk.IJWNLCC5.js +0 -521
- package/dist/chunks/chunk.IL636437.js +0 -67
- package/dist/chunks/chunk.IMBLMF7T.js +0 -21
- package/dist/chunks/chunk.ISYC7QYP.js +0 -26
- package/dist/chunks/chunk.IYAPOQDR.js +0 -581
- package/dist/chunks/chunk.J3KIW24M.js +0 -28
- package/dist/chunks/chunk.J5VD7PW2.js +0 -335
- package/dist/chunks/chunk.JARDVU3X.js +0 -371
- package/dist/chunks/chunk.JMCISLJ7.js +0 -11
- package/dist/chunks/chunk.JP7EWCOR.js +0 -25
- package/dist/chunks/chunk.JSLDW3QZ.js +0 -180
- package/dist/chunks/chunk.JXXK52NV.js +0 -11
- package/dist/chunks/chunk.JZ2RC3QE.js +0 -11
- package/dist/chunks/chunk.K2SHXXCA.js +0 -231
- package/dist/chunks/chunk.K35GSB4N.js +0 -70
- package/dist/chunks/chunk.KBO6JOXQ.js +0 -24
- package/dist/chunks/chunk.KBPQHOCV.js +0 -148
- package/dist/chunks/chunk.KJJACQRG.js +0 -24
- package/dist/chunks/chunk.KMMJTTCR.js +0 -24
- package/dist/chunks/chunk.KNJNGSCQ.js +0 -24
- package/dist/chunks/chunk.KQ3BSOLS.js +0 -11
- package/dist/chunks/chunk.KSLYGL2D.js +0 -365
- package/dist/chunks/chunk.KWHXWK5H.js +0 -814
- package/dist/chunks/chunk.KXVPA2PF.js +0 -21
- package/dist/chunks/chunk.L2TVREJX.js +0 -21
- package/dist/chunks/chunk.L2YVIKIR.js +0 -75
- package/dist/chunks/chunk.L3JSYCSQ.js +0 -263
- package/dist/chunks/chunk.L462S6YL.js +0 -11
- package/dist/chunks/chunk.L5INZEHW.js +0 -29
- package/dist/chunks/chunk.L6IVMIFL.js +0 -11
- package/dist/chunks/chunk.LBRKW3P3.js +0 -28
- package/dist/chunks/chunk.LFYAVXPK.js +0 -11
- package/dist/chunks/chunk.LLEWGBWK.js +0 -11
- package/dist/chunks/chunk.LNHVSCI4.js +0 -1317
- package/dist/chunks/chunk.M45CBRSK.js +0 -45
- package/dist/chunks/chunk.M4WRAWMW.js +0 -171
- package/dist/chunks/chunk.M5DDMJIN.js +0 -11
- package/dist/chunks/chunk.M6IDALFK.js +0 -11
- package/dist/chunks/chunk.M77C6FTB.js +0 -113
- package/dist/chunks/chunk.MBYSJKNO.js +0 -11
- package/dist/chunks/chunk.MIMBBEXX.js +0 -11
- package/dist/chunks/chunk.MJQX3PKP.js +0 -11
- package/dist/chunks/chunk.MMFQF7HO.js +0 -11
- package/dist/chunks/chunk.MZHK57OH.js +0 -21
- package/dist/chunks/chunk.MZWHZXEF.js +0 -11
- package/dist/chunks/chunk.N7BNYWN6.js +0 -11
- package/dist/chunks/chunk.NESP4X5B.js +0 -11
- package/dist/chunks/chunk.NFN5N3AV.js +0 -25
- package/dist/chunks/chunk.NFY552RH.js +0 -11
- package/dist/chunks/chunk.NGLSOL3Z.js +0 -24
- package/dist/chunks/chunk.NHTEAP7T.js +0 -11
- package/dist/chunks/chunk.NKXOVYDD.js +0 -126
- package/dist/chunks/chunk.NMKFUJFR.js +0 -11
- package/dist/chunks/chunk.NQA6WSF4.js +0 -154
- package/dist/chunks/chunk.NUPWYDRR.js +0 -29
- package/dist/chunks/chunk.NVGF2Y56.js +0 -151
- package/dist/chunks/chunk.NYG6PJUC.js +0 -11
- package/dist/chunks/chunk.O5INHBZ3.js +0 -29
- package/dist/chunks/chunk.O6NH727B.js +0 -11
- package/dist/chunks/chunk.OE7QPBCM.js +0 -21
- package/dist/chunks/chunk.OI7K3CL7.js +0 -502
- package/dist/chunks/chunk.OIYCTZMF.js +0 -57
- package/dist/chunks/chunk.OOYYNFCI.js +0 -25
- package/dist/chunks/chunk.OQ6DYGPX.js +0 -550
- package/dist/chunks/chunk.OS4LEY5L.js +0 -100
- package/dist/chunks/chunk.PNAVPFK4.js +0 -11
- package/dist/chunks/chunk.PTF3USP4.js +0 -227
- package/dist/chunks/chunk.PUOT5NMJ.js +0 -28
- package/dist/chunks/chunk.PYTEZVO4.js +0 -337
- package/dist/chunks/chunk.QD3YWMPU.js +0 -75
- package/dist/chunks/chunk.QHVKU3WV.js +0 -85
- package/dist/chunks/chunk.QJK63WQH.js +0 -135
- package/dist/chunks/chunk.QJZNHPMV.js +0 -26
- package/dist/chunks/chunk.QMAYZCGS.js +0 -11
- package/dist/chunks/chunk.QPQJNPKK.js +0 -11
- package/dist/chunks/chunk.QRGAQ7TC.js +0 -21
- package/dist/chunks/chunk.QZNZFZRS.js +0 -24
- package/dist/chunks/chunk.R2SIMYYX.js +0 -11
- package/dist/chunks/chunk.RENPKMPV.js +0 -117
- package/dist/chunks/chunk.RKAANXJG.js +0 -21
- package/dist/chunks/chunk.RMLBYC2B.js +0 -21
- package/dist/chunks/chunk.RNB6O76F.js +0 -24
- package/dist/chunks/chunk.ROZLHYCC.js +0 -21
- package/dist/chunks/chunk.RSJKLQUP.js +0 -11
- package/dist/chunks/chunk.RZPDLDEH.js +0 -24
- package/dist/chunks/chunk.SBXGLYRD.js +0 -21
- package/dist/chunks/chunk.SDQHSOWT.js +0 -11
- package/dist/chunks/chunk.SMK3262U.js +0 -11
- package/dist/chunks/chunk.SNBWFH4B.js +0 -119
- package/dist/chunks/chunk.SOW4VGR4.js +0 -11
- package/dist/chunks/chunk.SPMJTSLA.js +0 -11
- package/dist/chunks/chunk.SQ3FTIG5.js +0 -134
- package/dist/chunks/chunk.SQZFCGQK.js +0 -21
- package/dist/chunks/chunk.SREWEDIX.js +0 -100
- package/dist/chunks/chunk.SXE7OCCJ.js +0 -21
- package/dist/chunks/chunk.SXJNQM3T.js +0 -29
- package/dist/chunks/chunk.T2J2MZC4.js +0 -11
- package/dist/chunks/chunk.T2XXR55P.js +0 -11
- package/dist/chunks/chunk.T4JM3L7K.js +0 -11
- package/dist/chunks/chunk.T5MQLRZ3.js +0 -63
- package/dist/chunks/chunk.T64IHDRN.js +0 -21
- package/dist/chunks/chunk.TBZ2RJKO.js +0 -194
- package/dist/chunks/chunk.TGZEE6OX.js +0 -28
- package/dist/chunks/chunk.TIRLCG2L.js +0 -26
- package/dist/chunks/chunk.TN25CJQN.js +0 -27
- package/dist/chunks/chunk.TOP55LHM.js +0 -11
- package/dist/chunks/chunk.U3QMJGUM.js +0 -31
- package/dist/chunks/chunk.UC7V2WDI.js +0 -11
- package/dist/chunks/chunk.UNJJA52B.js +0 -299
- package/dist/chunks/chunk.UNWJF37L.js +0 -24
- package/dist/chunks/chunk.URTB4M4Z.js +0 -213
- package/dist/chunks/chunk.UW4CZ3NN.js +0 -27
- package/dist/chunks/chunk.VGM3V43W.js +0 -188
- package/dist/chunks/chunk.VIRDHHHW.js +0 -11
- package/dist/chunks/chunk.VIWROZOK.js +0 -25
- package/dist/chunks/chunk.VNJ2SHJS.js +0 -26
- package/dist/chunks/chunk.VRAI3UEV.js +0 -52
- package/dist/chunks/chunk.W2GRKAXN.js +0 -11
- package/dist/chunks/chunk.WFOBNQIR.js +0 -24
- package/dist/chunks/chunk.WGSD33C6.js +0 -24
- package/dist/chunks/chunk.WHJOA66X.js +0 -86
- package/dist/chunks/chunk.WHTYLKWR.js +0 -417
- package/dist/chunks/chunk.WL4JMM5O.js +0 -21
- package/dist/chunks/chunk.WMVJUCTY.js +0 -111
- package/dist/chunks/chunk.WNSWIYEH.js +0 -209
- package/dist/chunks/chunk.WPBQELIW.js +0 -11
- package/dist/chunks/chunk.WZU25GYU.js +0 -724
- package/dist/chunks/chunk.X25IPHV5.js +0 -21
- package/dist/chunks/chunk.X5PDIW66.js +0 -24
- package/dist/chunks/chunk.XD56KMT4.js +0 -21
- package/dist/chunks/chunk.XKRVVQKN.js +0 -11
- package/dist/chunks/chunk.XO222RQH.js +0 -29
- package/dist/chunks/chunk.XPSUIDRY.js +0 -11
- package/dist/chunks/chunk.XVFQELXI.js +0 -21
- package/dist/chunks/chunk.Y3B7JENU.js +0 -11
- package/dist/chunks/chunk.Y3R2CTQG.js +0 -11
- package/dist/chunks/chunk.Y7HLRQNO.js +0 -158
- package/dist/chunks/chunk.YABE5BY3.js +0 -315
- package/dist/chunks/chunk.YIEP7QLH.js +0 -212
- package/dist/chunks/chunk.YPURBB6H.js +0 -24
- package/dist/chunks/chunk.YROC2RYI.js +0 -45
- package/dist/chunks/chunk.YULRTSVP.js +0 -11
- package/dist/chunks/chunk.YWSMRHQV.js +0 -11
- package/dist/chunks/chunk.Z4ZVAR2O.js +0 -11
- package/dist/chunks/chunk.ZAPH2TOM.js +0 -181
- package/dist/chunks/chunk.ZEVB2BLP.js +0 -27
- package/dist/chunks/chunk.ZH5PBLP6.js +0 -11
- package/dist/chunks/chunk.ZI2CNNUN.js +0 -25
- package/dist/chunks/chunk.ZO2XVCWP.js +0 -35
- package/dist/chunks/chunk.ZUSLCGUR.js +0 -21
|
@@ -0,0 +1,1207 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SlTextarea
|
|
3
|
+
} from "./chunk.IGQPQ62U.js";
|
|
4
|
+
import {
|
|
5
|
+
SlSelect
|
|
6
|
+
} from "./chunk.47ZSLJUN.js";
|
|
7
|
+
import {
|
|
8
|
+
SlTag
|
|
9
|
+
} from "./chunk.4ZB5TDLP.js";
|
|
10
|
+
import {
|
|
11
|
+
sender_styles_default
|
|
12
|
+
} from "./chunk.RQJXK56S.js";
|
|
13
|
+
import {
|
|
14
|
+
SlOption
|
|
15
|
+
} from "./chunk.RTFTB5B6.js";
|
|
16
|
+
import {
|
|
17
|
+
SlInput
|
|
18
|
+
} from "./chunk.5FFEC34D.js";
|
|
19
|
+
import {
|
|
20
|
+
SlButton
|
|
21
|
+
} from "./chunk.HO7HVAW5.js";
|
|
22
|
+
import {
|
|
23
|
+
SlSpinner
|
|
24
|
+
} from "./chunk.T7B3QT7X.js";
|
|
25
|
+
import {
|
|
26
|
+
SlIconButton
|
|
27
|
+
} from "./chunk.MHXVL6HU.js";
|
|
28
|
+
import {
|
|
29
|
+
SlIcon
|
|
30
|
+
} from "./chunk.3U5YRL7T.js";
|
|
31
|
+
import {
|
|
32
|
+
component_styles_default
|
|
33
|
+
} from "./chunk.TUVJKY7S.js";
|
|
34
|
+
import {
|
|
35
|
+
ShoelaceElement
|
|
36
|
+
} from "./chunk.L6T4ZZ5D.js";
|
|
37
|
+
import {
|
|
38
|
+
__decorateClass,
|
|
39
|
+
__spreadProps,
|
|
40
|
+
__spreadValues
|
|
41
|
+
} from "./chunk.W5KB6T3Z.js";
|
|
42
|
+
|
|
43
|
+
// src/components/sender/sender.component.ts
|
|
44
|
+
import { html } from "lit";
|
|
45
|
+
import { property, query, state } from "lit/decorators.js";
|
|
46
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
47
|
+
var SlSender = class extends ShoelaceElement {
|
|
48
|
+
constructor() {
|
|
49
|
+
super(...arguments);
|
|
50
|
+
/** slot-area 失焦前保存的光标位置 */
|
|
51
|
+
this._savedRange = null;
|
|
52
|
+
this.value = "";
|
|
53
|
+
this.placeholder = "";
|
|
54
|
+
this.loading = false;
|
|
55
|
+
this.disabled = false;
|
|
56
|
+
this.readOnly = false;
|
|
57
|
+
this.rows = 1;
|
|
58
|
+
this.submitType = "enter";
|
|
59
|
+
this.allowSpeech = false;
|
|
60
|
+
this.speechRecording = false;
|
|
61
|
+
// SpeechRecognition 实例,用于浏览器内置语音输入
|
|
62
|
+
this.recognition = null;
|
|
63
|
+
// 麦克风权限状态缓存
|
|
64
|
+
this.permissionState = null;
|
|
65
|
+
// PermissionStatus 引用,用于移除 onchange 监听
|
|
66
|
+
this.permissionStatus = null;
|
|
67
|
+
// 强制停止时忽略下一次转写结果
|
|
68
|
+
this.forceBreak = false;
|
|
69
|
+
// 动态插入元素的事件监听器引用,用于显式清理
|
|
70
|
+
this.dynamicListeners = [];
|
|
71
|
+
this.slotValues = /* @__PURE__ */ new Map();
|
|
72
|
+
this.hasHeaderContent = false;
|
|
73
|
+
this.hasFooterContent = false;
|
|
74
|
+
this.handleInput = (event) => {
|
|
75
|
+
this.value = event.target.value;
|
|
76
|
+
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
77
|
+
detail: { value: this.value, slotConfig: [], skill: this.skill },
|
|
78
|
+
bubbles: true,
|
|
79
|
+
composed: true
|
|
80
|
+
}));
|
|
81
|
+
};
|
|
82
|
+
this.handleFocus = () => {
|
|
83
|
+
this.emit("sl-focus");
|
|
84
|
+
};
|
|
85
|
+
this.handleBlur = () => {
|
|
86
|
+
var _a, _b, _c;
|
|
87
|
+
if (this.isSlotMode) {
|
|
88
|
+
const selection = (_c = (_b = (_a = this.shadowRoot) == null ? void 0 : _a.getSelection) == null ? void 0 : _b.call(_a)) != null ? _c : document.getSelection();
|
|
89
|
+
if (selection && selection.rangeCount > 0) {
|
|
90
|
+
const range = selection.getRangeAt(0);
|
|
91
|
+
const slotArea = this.slotArea;
|
|
92
|
+
if (slotArea && slotArea.contains(range.commonAncestorContainer)) {
|
|
93
|
+
this._savedRange = range.cloneRange();
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
this.emit("sl-blur");
|
|
98
|
+
};
|
|
99
|
+
/** 处理 slot 区域的自由文本输入 */
|
|
100
|
+
this.handleSlotAreaInput = () => {
|
|
101
|
+
const snapshot = this.getEditorSnapshot();
|
|
102
|
+
this.value = snapshot.value;
|
|
103
|
+
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
104
|
+
detail: snapshot,
|
|
105
|
+
bubbles: true,
|
|
106
|
+
composed: true
|
|
107
|
+
}));
|
|
108
|
+
};
|
|
109
|
+
this.handlePaste = (event) => {
|
|
110
|
+
var _a;
|
|
111
|
+
this.dispatchEvent(new CustomEvent("sl-paste", {
|
|
112
|
+
detail: { event },
|
|
113
|
+
bubbles: true,
|
|
114
|
+
composed: true
|
|
115
|
+
}));
|
|
116
|
+
const files = (_a = event.clipboardData) == null ? void 0 : _a.files;
|
|
117
|
+
if (files == null ? void 0 : files.length) {
|
|
118
|
+
this.dispatchEvent(new CustomEvent("sl-paste-file", {
|
|
119
|
+
detail: { files },
|
|
120
|
+
bubbles: true,
|
|
121
|
+
composed: true
|
|
122
|
+
}));
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
this.handleSlotValueChange = (key, value) => {
|
|
126
|
+
this.slotValues.set(key, value);
|
|
127
|
+
this.requestUpdate();
|
|
128
|
+
this.updateComplete.then(() => {
|
|
129
|
+
const snapshot = this.getEditorSnapshot();
|
|
130
|
+
this.value = snapshot.value;
|
|
131
|
+
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
132
|
+
detail: snapshot,
|
|
133
|
+
bubbles: true,
|
|
134
|
+
composed: true
|
|
135
|
+
}));
|
|
136
|
+
});
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* 聚焦输入区域,支持 cursor 选项控制光标位置。
|
|
141
|
+
* - 'end'(默认):光标移到内容末尾
|
|
142
|
+
* - 'start':光标移到内容开头
|
|
143
|
+
* - 'all':全选内容
|
|
144
|
+
* - 'slot':聚焦第一个 slot input,若不存在则等同 'end'
|
|
145
|
+
*/
|
|
146
|
+
focus(options) {
|
|
147
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
148
|
+
const preventScroll = (_a = options == null ? void 0 : options.preventScroll) != null ? _a : false;
|
|
149
|
+
const cursor = (_b = options == null ? void 0 : options.cursor) != null ? _b : "end";
|
|
150
|
+
if (this.isSlotMode) {
|
|
151
|
+
const slotArea = this.slotArea;
|
|
152
|
+
if (!slotArea) return;
|
|
153
|
+
if (cursor === "slot") {
|
|
154
|
+
const firstSlotInput = (_c = this.shadowRoot) == null ? void 0 : _c.querySelector(
|
|
155
|
+
".sender__slot-area sl-input, .sender__slot-area sl-select, .sender__slot-area .sender__slot-content"
|
|
156
|
+
);
|
|
157
|
+
if (firstSlotInput) {
|
|
158
|
+
firstSlotInput.focus({ preventScroll });
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
this.focusSlotAreaAt(slotArea, "end", preventScroll);
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
if (cursor === "all") {
|
|
165
|
+
slotArea.focus({ preventScroll });
|
|
166
|
+
const selection = document.getSelection();
|
|
167
|
+
if (selection) {
|
|
168
|
+
const range = document.createRange();
|
|
169
|
+
range.selectNodeContents(slotArea);
|
|
170
|
+
const skillEl = slotArea.querySelector(".sender__skill");
|
|
171
|
+
if (skillEl) {
|
|
172
|
+
const idx = Array.from(slotArea.childNodes).indexOf(skillEl);
|
|
173
|
+
if (idx >= 0) range.setStart(slotArea, idx + 1);
|
|
174
|
+
}
|
|
175
|
+
selection.removeAllRanges();
|
|
176
|
+
selection.addRange(range);
|
|
177
|
+
}
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
this.focusSlotAreaAt(slotArea, cursor, preventScroll);
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
const textareaEl = (_e = (_d = this.textarea) == null ? void 0 : _d.shadowRoot) == null ? void 0 : _e.querySelector("textarea");
|
|
184
|
+
if (!textareaEl) {
|
|
185
|
+
(_f = this.textarea) == null ? void 0 : _f.focus({ preventScroll });
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
(_g = this.textarea) == null ? void 0 : _g.focus({ preventScroll });
|
|
189
|
+
if (cursor === "start") {
|
|
190
|
+
textareaEl.setSelectionRange(0, 0);
|
|
191
|
+
} else if (cursor === "all") {
|
|
192
|
+
textareaEl.setSelectionRange(0, textareaEl.value.length);
|
|
193
|
+
} else {
|
|
194
|
+
const len = textareaEl.value.length;
|
|
195
|
+
textareaEl.setSelectionRange(len, len);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
/** slot 模式下将光标定位到 slotArea 的 start 或 end */
|
|
199
|
+
focusSlotAreaAt(slotArea, position, preventScroll) {
|
|
200
|
+
slotArea.focus({ preventScroll });
|
|
201
|
+
const selection = document.getSelection();
|
|
202
|
+
if (!selection) return;
|
|
203
|
+
const range = document.createRange();
|
|
204
|
+
range.selectNodeContents(slotArea);
|
|
205
|
+
if (position === "start") {
|
|
206
|
+
const skillEl = slotArea.querySelector(".sender__skill");
|
|
207
|
+
if (skillEl) {
|
|
208
|
+
const idx = Array.from(slotArea.childNodes).indexOf(skillEl);
|
|
209
|
+
if (idx >= 0) range.setStart(slotArea, idx + 1);
|
|
210
|
+
}
|
|
211
|
+
range.collapse(true);
|
|
212
|
+
} else {
|
|
213
|
+
range.collapse(false);
|
|
214
|
+
}
|
|
215
|
+
selection.removeAllRanges();
|
|
216
|
+
selection.addRange(range);
|
|
217
|
+
}
|
|
218
|
+
/** 移除输入区域焦点 */
|
|
219
|
+
blur() {
|
|
220
|
+
var _a, _b;
|
|
221
|
+
if (this.isSlotMode) {
|
|
222
|
+
(_a = this.slotArea) == null ? void 0 : _a.blur();
|
|
223
|
+
} else {
|
|
224
|
+
(_b = this.textarea) == null ? void 0 : _b.blur();
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
/** 清空输入内容,slot 模式下同时重置 slotValues */
|
|
228
|
+
clear() {
|
|
229
|
+
this.handleClear();
|
|
230
|
+
}
|
|
231
|
+
/** 获取当前输入值,slot 模式下返回完整的 { value, slotConfig, skill } */
|
|
232
|
+
getValue() {
|
|
233
|
+
if (this.isSlotMode) {
|
|
234
|
+
return this.getEditorSnapshot();
|
|
235
|
+
}
|
|
236
|
+
return { value: this.value, slotConfig: [], skill: void 0 };
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* 插入文本或 slot 配置项到输入区域
|
|
240
|
+
* slot 模式下将 slotConfig 项渲染为 DOM 节点插入到 slot-area
|
|
241
|
+
* 普通模式下将各项文本拼接后插入到 textarea
|
|
242
|
+
*/
|
|
243
|
+
insert(slotConfig, position = "end", _replaceCharacters, preventScroll) {
|
|
244
|
+
if (!slotConfig || slotConfig.length === 0) return;
|
|
245
|
+
if (this.isSlotMode) {
|
|
246
|
+
this.insertSlotNodes(slotConfig, position, preventScroll);
|
|
247
|
+
} else {
|
|
248
|
+
const text = slotConfig.filter((item) => item.type === "text").map((item) => {
|
|
249
|
+
var _a;
|
|
250
|
+
return (_a = item.value) != null ? _a : "";
|
|
251
|
+
}).join("");
|
|
252
|
+
if (!text) return;
|
|
253
|
+
this.insertTextToTextarea(text, position);
|
|
254
|
+
}
|
|
255
|
+
const snapshot = this.isSlotMode ? this.getEditorSnapshot() : { value: this.value, slotConfig: [], skill: void 0 };
|
|
256
|
+
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
257
|
+
detail: snapshot,
|
|
258
|
+
bubbles: true,
|
|
259
|
+
composed: true
|
|
260
|
+
}));
|
|
261
|
+
}
|
|
262
|
+
/** 普通模式下插入文本到 textarea */
|
|
263
|
+
insertTextToTextarea(text, position) {
|
|
264
|
+
var _a, _b;
|
|
265
|
+
if (position === "start") {
|
|
266
|
+
this.value = text + this.value;
|
|
267
|
+
} else if (position === "end") {
|
|
268
|
+
this.value = this.value + text;
|
|
269
|
+
} else {
|
|
270
|
+
const textareaEl = (_b = (_a = this.textarea) == null ? void 0 : _a.shadowRoot) == null ? void 0 : _b.querySelector("textarea");
|
|
271
|
+
if (textareaEl && typeof textareaEl.selectionStart === "number") {
|
|
272
|
+
const start = textareaEl.selectionStart;
|
|
273
|
+
const end = textareaEl.selectionEnd;
|
|
274
|
+
this.value = this.value.slice(0, start) + text + this.value.slice(end);
|
|
275
|
+
this.updateComplete.then(() => {
|
|
276
|
+
const newPos = start + text.length;
|
|
277
|
+
textareaEl.setSelectionRange(newPos, newPos);
|
|
278
|
+
});
|
|
279
|
+
} else {
|
|
280
|
+
this.value = this.value + text;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
/** slot 模式下将 slotConfig 项创建为 DOM 节点并插入到 slot-area */
|
|
285
|
+
insertSlotNodes(configs, position, preventScroll) {
|
|
286
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
287
|
+
const slotArea = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".sender__slot-area");
|
|
288
|
+
if (!slotArea) return;
|
|
289
|
+
const fragment = document.createDocumentFragment();
|
|
290
|
+
configs.forEach((config, i) => {
|
|
291
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
292
|
+
if (config.type === "text") {
|
|
293
|
+
fragment.appendChild(document.createTextNode(String((_a2 = config.value) != null ? _a2 : "")));
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
const key = (_b2 = config.key) != null ? _b2 : `insert-${Date.now()}-${i}`;
|
|
297
|
+
const defaultValue = this.getSlotDefaultValue(config);
|
|
298
|
+
if (defaultValue !== void 0) {
|
|
299
|
+
this.slotValues.set(key, defaultValue);
|
|
300
|
+
}
|
|
301
|
+
if (config.type === "tag") {
|
|
302
|
+
const tag = document.createElement("sl-tag");
|
|
303
|
+
tag.setAttribute("size", "small");
|
|
304
|
+
tag.setAttribute("data-slot-key", key);
|
|
305
|
+
tag.className = "sender__slot-tag";
|
|
306
|
+
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 : "");
|
|
307
|
+
fragment.appendChild(tag);
|
|
308
|
+
} else if (config.type === "input") {
|
|
309
|
+
const input = document.createElement("sl-input");
|
|
310
|
+
input.setAttribute("size", "small");
|
|
311
|
+
input.setAttribute("data-slot-key", key);
|
|
312
|
+
input.className = "sender__slot-input";
|
|
313
|
+
if ((_g2 = config.props) == null ? void 0 : _g2.placeholder) input.setAttribute("placeholder", config.props.placeholder);
|
|
314
|
+
if ((_h = config.props) == null ? void 0 : _h.defaultValue) input.value = String(config.props.defaultValue);
|
|
315
|
+
const inputHandler = () => {
|
|
316
|
+
this.handleSlotValueChange(key, input.value);
|
|
317
|
+
};
|
|
318
|
+
input.addEventListener("sl-input", inputHandler);
|
|
319
|
+
this.dynamicListeners.push({ el: input, event: "sl-input", handler: inputHandler });
|
|
320
|
+
fragment.appendChild(input);
|
|
321
|
+
} else if (config.type === "select") {
|
|
322
|
+
const select = document.createElement("sl-select");
|
|
323
|
+
select.setAttribute("size", "small");
|
|
324
|
+
select.setAttribute("data-slot-key", key);
|
|
325
|
+
select.className = "sender__slot-select";
|
|
326
|
+
if ((_i = config.props) == null ? void 0 : _i.placeholder) select.setAttribute("placeholder", config.props.placeholder);
|
|
327
|
+
((_k = (_j = config.props) == null ? void 0 : _j.options) != null ? _k : []).forEach((opt) => {
|
|
328
|
+
const option = document.createElement("sl-option");
|
|
329
|
+
option.setAttribute("value", opt.value);
|
|
330
|
+
option.textContent = String(opt.label);
|
|
331
|
+
select.appendChild(option);
|
|
332
|
+
});
|
|
333
|
+
if ((_l = config.props) == null ? void 0 : _l.defaultValue) select.value = String(config.props.defaultValue);
|
|
334
|
+
const selectHandler = () => {
|
|
335
|
+
this.handleSlotValueChange(key, select.value);
|
|
336
|
+
};
|
|
337
|
+
select.addEventListener("sl-change", selectHandler);
|
|
338
|
+
this.dynamicListeners.push({ el: select, event: "sl-change", handler: selectHandler });
|
|
339
|
+
fragment.appendChild(select);
|
|
340
|
+
} else if (config.type === "content") {
|
|
341
|
+
const span = document.createElement("span");
|
|
342
|
+
span.className = "sender__slot-content";
|
|
343
|
+
span.setAttribute("contenteditable", this.readOnly || this.disabled ? "false" : "true");
|
|
344
|
+
span.setAttribute("data-slot-key", key);
|
|
345
|
+
if ((_m = config.props) == null ? void 0 : _m.placeholder) span.setAttribute("data-placeholder", config.props.placeholder);
|
|
346
|
+
span.setAttribute("spellcheck", "false");
|
|
347
|
+
span.textContent = String((_o = (_n = config.props) == null ? void 0 : _n.defaultValue) != null ? _o : "");
|
|
348
|
+
const spanHandler = () => {
|
|
349
|
+
var _a3;
|
|
350
|
+
this.handleSlotValueChange(key, (_a3 = span.textContent) != null ? _a3 : "");
|
|
351
|
+
};
|
|
352
|
+
span.addEventListener("input", spanHandler);
|
|
353
|
+
this.dynamicListeners.push({ el: span, event: "input", handler: spanHandler });
|
|
354
|
+
fragment.appendChild(span);
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
if (position === "start") {
|
|
358
|
+
const skillEl = slotArea.querySelector(".sender__skill");
|
|
359
|
+
if (skillEl) {
|
|
360
|
+
skillEl.after(fragment);
|
|
361
|
+
} else {
|
|
362
|
+
slotArea.prepend(fragment);
|
|
363
|
+
}
|
|
364
|
+
} else if (position === "end") {
|
|
365
|
+
slotArea.appendChild(fragment);
|
|
366
|
+
} else {
|
|
367
|
+
let targetRange = null;
|
|
368
|
+
const selection = (_d = (_c = (_b = this.shadowRoot) == null ? void 0 : _b.getSelection) == null ? void 0 : _c.call(_b)) != null ? _d : document.getSelection();
|
|
369
|
+
if (selection && selection.rangeCount > 0) {
|
|
370
|
+
const range = selection.getRangeAt(0);
|
|
371
|
+
if (slotArea.contains(range.commonAncestorContainer)) {
|
|
372
|
+
targetRange = range;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
if (!targetRange && this._savedRange && slotArea.contains(this._savedRange.commonAncestorContainer)) {
|
|
376
|
+
targetRange = this._savedRange;
|
|
377
|
+
const sel = (_g = (_f = (_e = this.shadowRoot) == null ? void 0 : _e.getSelection) == null ? void 0 : _f.call(_e)) != null ? _g : document.getSelection();
|
|
378
|
+
if (sel) {
|
|
379
|
+
sel.removeAllRanges();
|
|
380
|
+
sel.addRange(targetRange);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
this._savedRange = null;
|
|
384
|
+
if (targetRange) {
|
|
385
|
+
targetRange.deleteContents();
|
|
386
|
+
targetRange.insertNode(fragment);
|
|
387
|
+
targetRange.collapse(false);
|
|
388
|
+
} else {
|
|
389
|
+
slotArea.appendChild(fragment);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
if (!preventScroll) {
|
|
393
|
+
slotArea.focus({ preventScroll: false });
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
handleKeyDown(event) {
|
|
397
|
+
if (event.key === "Enter") {
|
|
398
|
+
const isShift = event.shiftKey;
|
|
399
|
+
if (this.submitType === "enter" && !isShift || this.submitType === "shift-enter" && isShift) {
|
|
400
|
+
event.preventDefault();
|
|
401
|
+
this.handleSubmit();
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
handleSubmit() {
|
|
406
|
+
const value = this.currentValue.trim();
|
|
407
|
+
if (this.loading || this.disabled || !value) return;
|
|
408
|
+
if (this.isSlotMode) {
|
|
409
|
+
const snapshot = this.getEditorSnapshot();
|
|
410
|
+
this.dispatchEvent(new CustomEvent("sl-submit", {
|
|
411
|
+
detail: { value: snapshot.value, slotConfig: snapshot.slotConfig, skill: snapshot.skill },
|
|
412
|
+
bubbles: true,
|
|
413
|
+
composed: true
|
|
414
|
+
}));
|
|
415
|
+
return;
|
|
416
|
+
}
|
|
417
|
+
this.dispatchEvent(new CustomEvent("sl-submit", {
|
|
418
|
+
detail: { value },
|
|
419
|
+
bubbles: true,
|
|
420
|
+
composed: true
|
|
421
|
+
}));
|
|
422
|
+
}
|
|
423
|
+
handleClear() {
|
|
424
|
+
var _a, _b;
|
|
425
|
+
if (this.isSlotMode) {
|
|
426
|
+
this.cleanupDynamicListeners();
|
|
427
|
+
const slotArea = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".sender__slot-area");
|
|
428
|
+
if (slotArea) {
|
|
429
|
+
slotArea.innerHTML = "";
|
|
430
|
+
}
|
|
431
|
+
this.slotValues = /* @__PURE__ */ new Map();
|
|
432
|
+
this.value = "";
|
|
433
|
+
this.requestUpdate();
|
|
434
|
+
} else {
|
|
435
|
+
this.value = "";
|
|
436
|
+
}
|
|
437
|
+
this.emit("sl-clear");
|
|
438
|
+
if (this.isSlotMode) {
|
|
439
|
+
this.updateComplete.then(() => this.focusSlotInput());
|
|
440
|
+
return;
|
|
441
|
+
}
|
|
442
|
+
(_b = this.textarea) == null ? void 0 : _b.focus();
|
|
443
|
+
}
|
|
444
|
+
handleSkillRemove() {
|
|
445
|
+
if (!this.skill) return;
|
|
446
|
+
const closable = this.skill.closable;
|
|
447
|
+
if (typeof closable === "object" && closable.disabled) return;
|
|
448
|
+
if (typeof closable === "object" && closable.onClose) {
|
|
449
|
+
closable.onClose();
|
|
450
|
+
}
|
|
451
|
+
this.skill = void 0;
|
|
452
|
+
this.requestUpdate();
|
|
453
|
+
this.updateComplete.then(() => {
|
|
454
|
+
const snapshot = this.getEditorSnapshot();
|
|
455
|
+
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
456
|
+
detail: __spreadProps(__spreadValues({}, snapshot), { skill: void 0 }),
|
|
457
|
+
bubbles: true,
|
|
458
|
+
composed: true
|
|
459
|
+
}));
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
// 触发语音按钮点击逻辑
|
|
463
|
+
handleSpeechClick() {
|
|
464
|
+
if (this.disabled || this.readOnly || !this.allowSpeech) return;
|
|
465
|
+
if (!this.speechPermission) return;
|
|
466
|
+
this.triggerSpeech(false);
|
|
467
|
+
this.emit("sl-speech-toggle");
|
|
468
|
+
}
|
|
469
|
+
connectedCallback() {
|
|
470
|
+
super.connectedCallback();
|
|
471
|
+
this.updatePermissionState();
|
|
472
|
+
}
|
|
473
|
+
disconnectedCallback() {
|
|
474
|
+
super.disconnectedCallback();
|
|
475
|
+
this.cleanupPermissionStatus();
|
|
476
|
+
this.stopRecognition();
|
|
477
|
+
this.cleanupDynamicListeners();
|
|
478
|
+
}
|
|
479
|
+
updated(changedProperties) {
|
|
480
|
+
var _a;
|
|
481
|
+
super.updated(changedProperties);
|
|
482
|
+
if (changedProperties.has("allowSpeech")) {
|
|
483
|
+
if (!this.allowSpeech) {
|
|
484
|
+
this.stopRecognition();
|
|
485
|
+
this.cleanupPermissionStatus();
|
|
486
|
+
this.permissionState = null;
|
|
487
|
+
if (this.speechRecording) this.speechRecording = false;
|
|
488
|
+
} else {
|
|
489
|
+
this.updatePermissionState();
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
if (changedProperties.has("slotConfig")) {
|
|
493
|
+
this.syncSlotValues((_a = this.slotConfig) != null ? _a : []);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
// 规范化 allowSpeech 配置,区分受控与非受控
|
|
497
|
+
get speechConfig() {
|
|
498
|
+
if (typeof this.allowSpeech === "object" && this.allowSpeech) {
|
|
499
|
+
const controlledRecording = this.allowSpeech.recording;
|
|
500
|
+
const onControlledRecordingChange = this.allowSpeech.onRecordingChange;
|
|
501
|
+
const speechInControlled = typeof controlledRecording === "boolean";
|
|
502
|
+
return { controlledRecording, onControlledRecordingChange, speechInControlled };
|
|
503
|
+
}
|
|
504
|
+
return { controlledRecording: void 0, onControlledRecordingChange: void 0, speechInControlled: false };
|
|
505
|
+
}
|
|
506
|
+
// 当前录音状态(受控配置或内部状态)
|
|
507
|
+
get currentRecording() {
|
|
508
|
+
const { controlledRecording, speechInControlled } = this.speechConfig;
|
|
509
|
+
if (speechInControlled) return !!controlledRecording;
|
|
510
|
+
return this.speechRecording;
|
|
511
|
+
}
|
|
512
|
+
// 当前环境是否允许语音输入
|
|
513
|
+
get speechPermission() {
|
|
514
|
+
if (!this.allowSpeech) return false;
|
|
515
|
+
const { speechInControlled } = this.speechConfig;
|
|
516
|
+
if (speechInControlled) return true;
|
|
517
|
+
const SpeechRecognition = this.getSpeechRecognitionConstructor();
|
|
518
|
+
return !!SpeechRecognition && this.permissionState !== "denied";
|
|
519
|
+
}
|
|
520
|
+
get isSlotMode() {
|
|
521
|
+
var _a;
|
|
522
|
+
return Array.isArray(this.slotConfig) && this.slotConfig.length > 0 || !!((_a = this.skill) == null ? void 0 : _a.value);
|
|
523
|
+
}
|
|
524
|
+
get currentValue() {
|
|
525
|
+
return this.isSlotMode ? this.getSlotValueString() : this.value;
|
|
526
|
+
}
|
|
527
|
+
getSlotKey(item, index) {
|
|
528
|
+
var _a;
|
|
529
|
+
return (_a = item.key) != null ? _a : `slot-${index}`;
|
|
530
|
+
}
|
|
531
|
+
syncSlotValues(config) {
|
|
532
|
+
const nextValues = /* @__PURE__ */ new Map();
|
|
533
|
+
config.forEach((item, index) => {
|
|
534
|
+
const key = this.getSlotKey(item, index);
|
|
535
|
+
const existing = this.slotValues.get(key);
|
|
536
|
+
if (existing !== void 0) {
|
|
537
|
+
nextValues.set(key, existing);
|
|
538
|
+
return;
|
|
539
|
+
}
|
|
540
|
+
const defaultValue = this.getSlotDefaultValue(item);
|
|
541
|
+
if (defaultValue !== void 0) {
|
|
542
|
+
nextValues.set(key, defaultValue);
|
|
543
|
+
}
|
|
544
|
+
});
|
|
545
|
+
this.slotValues = nextValues;
|
|
546
|
+
this.requestUpdate();
|
|
547
|
+
}
|
|
548
|
+
focusSlotInput() {
|
|
549
|
+
var _a;
|
|
550
|
+
const slotInput = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(
|
|
551
|
+
".sender__slot-area sl-input, .sender__slot-area sl-select"
|
|
552
|
+
);
|
|
553
|
+
slotInput == null ? void 0 : slotInput.focus();
|
|
554
|
+
}
|
|
555
|
+
getSlotDefaultValue(item) {
|
|
556
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
557
|
+
if (item.type === "input") return (_a = item.props) == null ? void 0 : _a.defaultValue;
|
|
558
|
+
if (item.type === "select") return (_b = item.props) == null ? void 0 : _b.defaultValue;
|
|
559
|
+
if (item.type === "content") return (_c = item.props) == null ? void 0 : _c.defaultValue;
|
|
560
|
+
if (item.type === "custom") return (_d = item.props) == null ? void 0 : _d.defaultValue;
|
|
561
|
+
if (item.type === "tag") return (_g = (_e = item.props) == null ? void 0 : _e.value) != null ? _g : (_f = item.props) == null ? void 0 : _f.label;
|
|
562
|
+
if (item.type === "text") return (_h = item.value) != null ? _h : "";
|
|
563
|
+
return void 0;
|
|
564
|
+
}
|
|
565
|
+
getSlotItemValue(item, index) {
|
|
566
|
+
var _a;
|
|
567
|
+
if (item.type === "text") return (_a = item.value) != null ? _a : "";
|
|
568
|
+
const key = this.getSlotKey(item, index);
|
|
569
|
+
if (this.slotValues.has(key)) return this.slotValues.get(key);
|
|
570
|
+
return this.getSlotDefaultValue(item);
|
|
571
|
+
}
|
|
572
|
+
getSlotValueString() {
|
|
573
|
+
var _a;
|
|
574
|
+
if (!this.isSlotMode) return "";
|
|
575
|
+
const slotArea = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".sender__slot-area");
|
|
576
|
+
if (!slotArea) return "";
|
|
577
|
+
return this.getEditorValue(slotArea).value;
|
|
578
|
+
}
|
|
579
|
+
/**
|
|
580
|
+
* 遍历 slot 区域的 DOM 子节点,提取完整的 { value, slotConfig, skill }。
|
|
581
|
+
* 参考 ant-design-x getEditorValue 实现:
|
|
582
|
+
* - 文本节点:计入 value,并作为 { type: 'text', value } 加入 slotConfig
|
|
583
|
+
* - skill 节点:跳过文本值,记录 skill
|
|
584
|
+
* - slot 组件节点:从 slotValues / DOM 读取最新值,计入 value 和 slotConfig
|
|
585
|
+
* - 其他元素:取 textContent
|
|
586
|
+
*/
|
|
587
|
+
getEditorValue(container) {
|
|
588
|
+
const parts = [];
|
|
589
|
+
const currentSlotConfig = [];
|
|
590
|
+
let currentSkill;
|
|
591
|
+
container.childNodes.forEach((node) => {
|
|
592
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
593
|
+
if (node.nodeType === Node.TEXT_NODE) {
|
|
594
|
+
const text = (_a = node.textContent) != null ? _a : "";
|
|
595
|
+
if (!text || /^\s+$/.test(text)) {
|
|
596
|
+
return;
|
|
597
|
+
}
|
|
598
|
+
parts.push(text);
|
|
599
|
+
currentSlotConfig.push({ type: "text", value: text });
|
|
600
|
+
return;
|
|
601
|
+
}
|
|
602
|
+
if (node.nodeType !== Node.ELEMENT_NODE) return;
|
|
603
|
+
const el = node;
|
|
604
|
+
if (el.classList.contains("sender__skill")) {
|
|
605
|
+
if (this.skill) {
|
|
606
|
+
currentSkill = this.skill;
|
|
607
|
+
}
|
|
608
|
+
return;
|
|
609
|
+
}
|
|
610
|
+
if (el.classList.contains("sender__slot-content")) {
|
|
611
|
+
const text = (_b = el.textContent) != null ? _b : "";
|
|
612
|
+
const key = (_c = el.dataset) == null ? void 0 : _c.slotKey;
|
|
613
|
+
parts.push(text);
|
|
614
|
+
const config = key ? this.getSlotConfigByKey(key) : void 0;
|
|
615
|
+
if (config) {
|
|
616
|
+
currentSlotConfig.push(__spreadProps(__spreadValues({}, config), { value: text }));
|
|
617
|
+
}
|
|
618
|
+
return;
|
|
619
|
+
}
|
|
620
|
+
if (el.tagName === "SL-INPUT") {
|
|
621
|
+
const key = this.getSlotKeyFromElement(el);
|
|
622
|
+
const rawValue = key && this.slotValues.has(key) ? this.slotValues.get(key) : el.value;
|
|
623
|
+
const config = key ? this.getSlotConfigByKey(key) : void 0;
|
|
624
|
+
const text = (config == null ? void 0 : config.formatResult) ? config.formatResult(rawValue) : String(rawValue != null ? rawValue : "");
|
|
625
|
+
parts.push(text);
|
|
626
|
+
if (config) {
|
|
627
|
+
currentSlotConfig.push(__spreadProps(__spreadValues({}, config), { value: rawValue }));
|
|
628
|
+
}
|
|
629
|
+
return;
|
|
630
|
+
}
|
|
631
|
+
if (el.tagName === "SL-SELECT") {
|
|
632
|
+
const key = this.getSlotKeyFromElement(el);
|
|
633
|
+
const rawValue = key && this.slotValues.has(key) ? this.slotValues.get(key) : el.value;
|
|
634
|
+
const config = key ? this.getSlotConfigByKey(key) : void 0;
|
|
635
|
+
const text = (config == null ? void 0 : config.formatResult) ? config.formatResult(rawValue) : String(rawValue != null ? rawValue : "");
|
|
636
|
+
parts.push(text);
|
|
637
|
+
if (config) {
|
|
638
|
+
currentSlotConfig.push(__spreadProps(__spreadValues({}, config), { value: rawValue }));
|
|
639
|
+
}
|
|
640
|
+
return;
|
|
641
|
+
}
|
|
642
|
+
if (el.tagName === "SL-TAG") {
|
|
643
|
+
const text = (_e = (_d = el.textContent) == null ? void 0 : _d.trim()) != null ? _e : "";
|
|
644
|
+
const key = this.getSlotKeyFromElement(el);
|
|
645
|
+
parts.push(text);
|
|
646
|
+
const config = key ? this.getSlotConfigByKey(key) : void 0;
|
|
647
|
+
if (config) {
|
|
648
|
+
currentSlotConfig.push(__spreadProps(__spreadValues({}, config), { value: text }));
|
|
649
|
+
}
|
|
650
|
+
return;
|
|
651
|
+
}
|
|
652
|
+
if (el.tagName === "BR") {
|
|
653
|
+
parts.push("\n");
|
|
654
|
+
currentSlotConfig.push({ type: "text", value: "\n" });
|
|
655
|
+
return;
|
|
656
|
+
}
|
|
657
|
+
if (el.tagName === "DIV") {
|
|
658
|
+
const text = (_f = el.innerText) != null ? _f : "";
|
|
659
|
+
if (text) {
|
|
660
|
+
parts.push("\n" + text);
|
|
661
|
+
currentSlotConfig.push({ type: "text", value: "\n" + text });
|
|
662
|
+
}
|
|
663
|
+
return;
|
|
664
|
+
}
|
|
665
|
+
parts.push((_g = el.textContent) != null ? _g : "");
|
|
666
|
+
});
|
|
667
|
+
return {
|
|
668
|
+
value: parts.join(""),
|
|
669
|
+
slotConfig: currentSlotConfig,
|
|
670
|
+
skill: currentSkill
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
/** 获取 slot 区域的完整快照(value + slotConfig + skill),从 DOM 遍历得到最新状态 */
|
|
674
|
+
getEditorSnapshot() {
|
|
675
|
+
var _a;
|
|
676
|
+
const slotArea = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".sender__slot-area");
|
|
677
|
+
if (!slotArea) return { value: "", slotConfig: [], skill: this.skill };
|
|
678
|
+
return this.getEditorValue(slotArea);
|
|
679
|
+
}
|
|
680
|
+
/** 根据 slot 区域中的 DOM 元素,反查对应的 slotConfig key */
|
|
681
|
+
getSlotKeyFromElement(el) {
|
|
682
|
+
var _a;
|
|
683
|
+
return (_a = el.dataset) == null ? void 0 : _a.slotKey;
|
|
684
|
+
}
|
|
685
|
+
/** 根据 key 查找对应的 slotConfig 项 */
|
|
686
|
+
getSlotConfigByKey(key) {
|
|
687
|
+
if (!this.slotConfig) return void 0;
|
|
688
|
+
return this.slotConfig.find((item, index) => this.getSlotKey(item, index) === key);
|
|
689
|
+
}
|
|
690
|
+
// 获取厂商前缀的 SpeechRecognition 构造函数
|
|
691
|
+
getSpeechRecognitionConstructor() {
|
|
692
|
+
if (typeof window === "undefined") return null;
|
|
693
|
+
const speechWindow = window;
|
|
694
|
+
return speechWindow.SpeechRecognition || speechWindow.webkitSpeechRecognition || null;
|
|
695
|
+
}
|
|
696
|
+
// 非受控模式下查询麦克风权限
|
|
697
|
+
updatePermissionState() {
|
|
698
|
+
const { speechInControlled } = this.speechConfig;
|
|
699
|
+
if (!this.allowSpeech || speechInControlled) return;
|
|
700
|
+
this.cleanupPermissionStatus();
|
|
701
|
+
if (!navigator.permissions) return;
|
|
702
|
+
navigator.permissions.query({ name: "microphone" }).then((permissionStatus) => {
|
|
703
|
+
this.permissionState = permissionStatus.state;
|
|
704
|
+
permissionStatus.onchange = () => {
|
|
705
|
+
this.permissionState = permissionStatus.state;
|
|
706
|
+
};
|
|
707
|
+
this.permissionStatus = permissionStatus;
|
|
708
|
+
}).catch(() => {
|
|
709
|
+
this.permissionState = null;
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
// 移除权限监听,避免泄漏
|
|
713
|
+
cleanupPermissionStatus() {
|
|
714
|
+
if (this.permissionStatus) {
|
|
715
|
+
this.permissionStatus.onchange = null;
|
|
716
|
+
this.permissionStatus = null;
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
// 移除动态插入元素上的事件监听器,避免内存泄漏
|
|
720
|
+
cleanupDynamicListeners() {
|
|
721
|
+
for (const { el, event, handler } of this.dynamicListeners) {
|
|
722
|
+
el.removeEventListener(event, handler);
|
|
723
|
+
}
|
|
724
|
+
this.dynamicListeners = [];
|
|
725
|
+
}
|
|
726
|
+
// 按需创建识别实例并绑定事件
|
|
727
|
+
ensureRecognition() {
|
|
728
|
+
if (!this.allowSpeech || this.speechConfig.speechInControlled) return;
|
|
729
|
+
const SpeechRecognition = this.getSpeechRecognitionConstructor();
|
|
730
|
+
if (!SpeechRecognition || this.recognition) return;
|
|
731
|
+
const recognition = new SpeechRecognition();
|
|
732
|
+
recognition.onstart = () => {
|
|
733
|
+
this.speechRecording = true;
|
|
734
|
+
};
|
|
735
|
+
recognition.onend = () => {
|
|
736
|
+
this.speechRecording = false;
|
|
737
|
+
};
|
|
738
|
+
recognition.onerror = (event) => {
|
|
739
|
+
console.error("SpeechRecognition error:", event.error, event.message);
|
|
740
|
+
};
|
|
741
|
+
recognition.onresult = (event) => {
|
|
742
|
+
var _a, _b, _c;
|
|
743
|
+
if (!this.forceBreak) {
|
|
744
|
+
const transcript = (_c = (_b = (_a = event.results) == null ? void 0 : _a[0]) == null ? void 0 : _b[0]) == null ? void 0 : _c.transcript;
|
|
745
|
+
if (transcript) this.applyTranscript(transcript);
|
|
746
|
+
}
|
|
747
|
+
this.forceBreak = false;
|
|
748
|
+
};
|
|
749
|
+
this.recognition = recognition;
|
|
750
|
+
}
|
|
751
|
+
// 停止识别并释放实例
|
|
752
|
+
stopRecognition() {
|
|
753
|
+
if (this.recognition && this.currentRecording) {
|
|
754
|
+
this.recognition.stop();
|
|
755
|
+
}
|
|
756
|
+
this.recognition = null;
|
|
757
|
+
}
|
|
758
|
+
// 切换录音;forceBreak 为 true 时停止且不消费转写结果
|
|
759
|
+
triggerSpeech(forceBreak) {
|
|
760
|
+
if (!this.speechPermission) return;
|
|
761
|
+
if (forceBreak && !this.currentRecording) return;
|
|
762
|
+
this.forceBreak = forceBreak;
|
|
763
|
+
const { speechInControlled, onControlledRecordingChange } = this.speechConfig;
|
|
764
|
+
if (speechInControlled) {
|
|
765
|
+
onControlledRecordingChange == null ? void 0 : onControlledRecordingChange(!this.currentRecording);
|
|
766
|
+
return;
|
|
767
|
+
}
|
|
768
|
+
this.ensureRecognition();
|
|
769
|
+
if (!this.recognition) return;
|
|
770
|
+
if (this.currentRecording) {
|
|
771
|
+
this.recognition.stop();
|
|
772
|
+
} else {
|
|
773
|
+
this.recognition.start();
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
// 将语音转写内容追加到输入框
|
|
777
|
+
applyTranscript(transcript) {
|
|
778
|
+
var _a, _b;
|
|
779
|
+
if (this.disabled || this.readOnly) return;
|
|
780
|
+
if (this.isSlotMode) {
|
|
781
|
+
this.insert([{ type: "text", value: transcript }], "cursor");
|
|
782
|
+
return;
|
|
783
|
+
}
|
|
784
|
+
const textareaEl = (_b = (_a = this.textarea) == null ? void 0 : _a.shadowRoot) == null ? void 0 : _b.querySelector("textarea");
|
|
785
|
+
if (textareaEl && typeof textareaEl.selectionStart === "number") {
|
|
786
|
+
const start = textareaEl.selectionStart;
|
|
787
|
+
const end = textareaEl.selectionEnd;
|
|
788
|
+
this.value = this.value.slice(0, start) + transcript + this.value.slice(end);
|
|
789
|
+
this.updateComplete.then(() => {
|
|
790
|
+
const newPos = start + transcript.length;
|
|
791
|
+
textareaEl.setSelectionRange(newPos, newPos);
|
|
792
|
+
});
|
|
793
|
+
} else {
|
|
794
|
+
this.value = this.value ? `${this.value} ${transcript}` : transcript;
|
|
795
|
+
}
|
|
796
|
+
this.dispatchEvent(new CustomEvent("sl-change", {
|
|
797
|
+
detail: { value: this.value, slotConfig: [], skill: this.skill },
|
|
798
|
+
bubbles: true,
|
|
799
|
+
composed: true
|
|
800
|
+
}));
|
|
801
|
+
}
|
|
802
|
+
renderSendButton(props) {
|
|
803
|
+
var _a, _b;
|
|
804
|
+
const loading = (_a = props == null ? void 0 : props.loading) != null ? _a : this.loading;
|
|
805
|
+
const hasValue = this.currentValue.length > 0;
|
|
806
|
+
if (!loading && !hasValue) {
|
|
807
|
+
return null;
|
|
808
|
+
}
|
|
809
|
+
const disabled = (_b = props == null ? void 0 : props.disabled) != null ? _b : this.disabled;
|
|
810
|
+
const name = loading ? "app" : "arrow-up-short";
|
|
811
|
+
return html`
|
|
812
|
+
<sl-icon-button
|
|
813
|
+
class="send-button"
|
|
814
|
+
name=${name}
|
|
815
|
+
?disabled=${disabled}
|
|
816
|
+
@click=${this.handleSubmit}
|
|
817
|
+
>
|
|
818
|
+
</sl-icon-button>
|
|
819
|
+
`;
|
|
820
|
+
}
|
|
821
|
+
renderClearButton(props) {
|
|
822
|
+
var _a;
|
|
823
|
+
const disabled = (_a = props == null ? void 0 : props.disabled) != null ? _a : this.disabled || !this.currentValue;
|
|
824
|
+
return html`
|
|
825
|
+
<sl-icon-button
|
|
826
|
+
name="trash"
|
|
827
|
+
?disabled=${disabled}
|
|
828
|
+
@click=${this.handleClear}
|
|
829
|
+
>
|
|
830
|
+
</sl-icon-button>
|
|
831
|
+
`;
|
|
832
|
+
}
|
|
833
|
+
renderRecordingIcon() {
|
|
834
|
+
return html`
|
|
835
|
+
<span class="sender__recording-icon" aria-label="Recording">
|
|
836
|
+
<span class="sender__recording-bar"></span>
|
|
837
|
+
<span class="sender__recording-bar"></span>
|
|
838
|
+
<span class="sender__recording-bar"></span>
|
|
839
|
+
<span class="sender__recording-bar"></span>
|
|
840
|
+
</span>
|
|
841
|
+
`;
|
|
842
|
+
}
|
|
843
|
+
renderSpeechButton(props) {
|
|
844
|
+
var _a, _b;
|
|
845
|
+
if (!this.allowSpeech) return null;
|
|
846
|
+
const disabled = (_a = props == null ? void 0 : props.disabled) != null ? _a : this.disabled || this.readOnly || !this.speechPermission;
|
|
847
|
+
const onClick = (_b = props == null ? void 0 : props.onClick) != null ? _b : this.handleSpeechClick.bind(this);
|
|
848
|
+
if (this.currentRecording) {
|
|
849
|
+
return html`
|
|
850
|
+
<button
|
|
851
|
+
class="sender__speech-btn sender__speech-btn--recording"
|
|
852
|
+
@click=${onClick}
|
|
853
|
+
?disabled=${disabled}
|
|
854
|
+
aria-label="Stop recording"
|
|
855
|
+
>
|
|
856
|
+
${this.renderRecordingIcon()}
|
|
857
|
+
</button>
|
|
858
|
+
`;
|
|
859
|
+
}
|
|
860
|
+
return html`
|
|
861
|
+
<sl-icon-button
|
|
862
|
+
name="mic"
|
|
863
|
+
class="sender__speech-btn"
|
|
864
|
+
@click=${onClick}
|
|
865
|
+
?disabled=${disabled}
|
|
866
|
+
>
|
|
867
|
+
</sl-icon-button>
|
|
868
|
+
`;
|
|
869
|
+
}
|
|
870
|
+
renderLoadingButton(props) {
|
|
871
|
+
var _a, _b;
|
|
872
|
+
const disabled = (_a = props == null ? void 0 : props.disabled) != null ? _a : this.disabled;
|
|
873
|
+
const onClick = (_b = props == null ? void 0 : props.onClick) != null ? _b : this.handleSubmit.bind(this);
|
|
874
|
+
return html`
|
|
875
|
+
<sl-icon-button
|
|
876
|
+
name="send"
|
|
877
|
+
?loading=${true}
|
|
878
|
+
?disabled=${disabled}
|
|
879
|
+
@click=${this.handleSubmit}
|
|
880
|
+
>
|
|
881
|
+
</sl-icon-button>
|
|
882
|
+
`;
|
|
883
|
+
}
|
|
884
|
+
get actionComponents() {
|
|
885
|
+
return {
|
|
886
|
+
SendButton: (props) => this.renderSendButton(props),
|
|
887
|
+
ClearButton: (props) => this.renderClearButton(props),
|
|
888
|
+
LoadingButton: (props) => this.renderLoadingButton(props),
|
|
889
|
+
SpeechButton: (props) => this.renderSpeechButton(props)
|
|
890
|
+
};
|
|
891
|
+
}
|
|
892
|
+
renderFooter() {
|
|
893
|
+
const defaultFooter = html`
|
|
894
|
+
<div
|
|
895
|
+
class=${classMap({
|
|
896
|
+
sender__footer: true,
|
|
897
|
+
sender__footer_content: this.hasFooterContent
|
|
898
|
+
})}
|
|
899
|
+
part="footer"
|
|
900
|
+
>
|
|
901
|
+
<slot name="footer" @slotchange=${this.handleFooterSlotChange}></slot>
|
|
902
|
+
</div>
|
|
903
|
+
`;
|
|
904
|
+
if (this.footer === false) return null;
|
|
905
|
+
if (typeof this.footer === "function") {
|
|
906
|
+
return this.footer(defaultFooter, { components: this.actionComponents });
|
|
907
|
+
}
|
|
908
|
+
if (this.footer !== void 0) return this.footer;
|
|
909
|
+
return defaultFooter;
|
|
910
|
+
}
|
|
911
|
+
handleFooterSlotChange() {
|
|
912
|
+
var _a;
|
|
913
|
+
const slot = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector('slot[name="footer"]');
|
|
914
|
+
this.hasFooterContent = !!slot && slot.assignedNodes({ flatten: true }).length > 0;
|
|
915
|
+
}
|
|
916
|
+
handleHeaderSlotChange() {
|
|
917
|
+
var _a;
|
|
918
|
+
const slot = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector('slot[name="header"]');
|
|
919
|
+
this.hasHeaderContent = !!slot && slot.assignedNodes({ flatten: true }).length > 0;
|
|
920
|
+
}
|
|
921
|
+
renderHeader() {
|
|
922
|
+
const defaultHeader = html`
|
|
923
|
+
<div
|
|
924
|
+
class=${classMap({
|
|
925
|
+
sender__header: true,
|
|
926
|
+
sender__header_content: this.hasHeaderContent
|
|
927
|
+
})}
|
|
928
|
+
part="header"
|
|
929
|
+
>
|
|
930
|
+
<slot name="header" @slotchange=${this.handleHeaderSlotChange}></slot>
|
|
931
|
+
</div>
|
|
932
|
+
`;
|
|
933
|
+
if (this.header === false) return null;
|
|
934
|
+
if (typeof this.header === "function") {
|
|
935
|
+
return this.header(defaultHeader, { components: this.actionComponents });
|
|
936
|
+
}
|
|
937
|
+
if (this.header !== void 0) return this.header;
|
|
938
|
+
return defaultHeader;
|
|
939
|
+
}
|
|
940
|
+
renderPrefix() {
|
|
941
|
+
const defaultPrefix = html`<slot name="prefix"></slot>`;
|
|
942
|
+
if (this.prefixContent === false) return null;
|
|
943
|
+
if (typeof this.prefixContent === "function") {
|
|
944
|
+
return this.prefixContent(defaultPrefix, { components: this.actionComponents });
|
|
945
|
+
}
|
|
946
|
+
if (this.prefixContent !== void 0) return this.prefixContent;
|
|
947
|
+
return defaultPrefix;
|
|
948
|
+
}
|
|
949
|
+
renderSuffix() {
|
|
950
|
+
const defaultActions = html`
|
|
951
|
+
<div class="sender__actions" part="actions">
|
|
952
|
+
<slot name="suffix">
|
|
953
|
+
${this.renderSpeechButton()}
|
|
954
|
+
${this.renderSendButton()}
|
|
955
|
+
</slot>
|
|
956
|
+
</div>
|
|
957
|
+
`;
|
|
958
|
+
if (this.suffixContent === false) return null;
|
|
959
|
+
if (typeof this.suffixContent === "function") {
|
|
960
|
+
return this.suffixContent(defaultActions, { components: this.actionComponents });
|
|
961
|
+
}
|
|
962
|
+
if (this.suffixContent !== void 0) return this.suffixContent;
|
|
963
|
+
return defaultActions;
|
|
964
|
+
}
|
|
965
|
+
renderSlotItem(item, index) {
|
|
966
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
967
|
+
const key = this.getSlotKey(item, index);
|
|
968
|
+
if (item.type === "text") {
|
|
969
|
+
return html`${(_a = item.value) != null ? _a : ""}`;
|
|
970
|
+
}
|
|
971
|
+
if (item.type === "content") {
|
|
972
|
+
const value = (_b = this.getSlotItemValue(item, index)) != null ? _b : "";
|
|
973
|
+
return html`
|
|
974
|
+
<span
|
|
975
|
+
class="sender__slot-content"
|
|
976
|
+
contenteditable=${this.readOnly || this.disabled ? "false" : "true"}
|
|
977
|
+
data-slot-key=${key}
|
|
978
|
+
data-placeholder=${(_d = (_c = item.props) == null ? void 0 : _c.placeholder) != null ? _d : ""}
|
|
979
|
+
spellcheck="false"
|
|
980
|
+
@input=${(event) => {
|
|
981
|
+
var _a2;
|
|
982
|
+
const target = event.target;
|
|
983
|
+
this.handleSlotValueChange(key, (_a2 = target.textContent) != null ? _a2 : "");
|
|
984
|
+
}}
|
|
985
|
+
@keydown=${(event) => this.handleKeyDown(event)}
|
|
986
|
+
@paste=${(event) => {
|
|
987
|
+
var _a2, _b2;
|
|
988
|
+
event.preventDefault();
|
|
989
|
+
const text = (_b2 = (_a2 = event.clipboardData) == null ? void 0 : _a2.getData("text/plain")) != null ? _b2 : "";
|
|
990
|
+
document.execCommand("insertText", false, text);
|
|
991
|
+
}}
|
|
992
|
+
>${String(value)}</span>
|
|
993
|
+
`;
|
|
994
|
+
}
|
|
995
|
+
if (item.type === "input") {
|
|
996
|
+
const value = (_e = this.getSlotItemValue(item, index)) != null ? _e : "";
|
|
997
|
+
return html`
|
|
998
|
+
<sl-input
|
|
999
|
+
class="sender__slot-input"
|
|
1000
|
+
data-slot-key=${key}
|
|
1001
|
+
.value=${String(value != null ? value : "")}
|
|
1002
|
+
placeholder=${(_g = (_f = item.props) == null ? void 0 : _f.placeholder) != null ? _g : ""}
|
|
1003
|
+
?disabled=${this.disabled}
|
|
1004
|
+
?readonly=${this.readOnly}
|
|
1005
|
+
@sl-input=${(event) => {
|
|
1006
|
+
const target = event.target;
|
|
1007
|
+
this.handleSlotValueChange(key, target.value);
|
|
1008
|
+
}}
|
|
1009
|
+
></sl-input>
|
|
1010
|
+
`;
|
|
1011
|
+
}
|
|
1012
|
+
if (item.type === "select") {
|
|
1013
|
+
const value = this.getSlotItemValue(item, index);
|
|
1014
|
+
return html`
|
|
1015
|
+
<sl-select
|
|
1016
|
+
class="sender__slot-select"
|
|
1017
|
+
data-slot-key=${key}
|
|
1018
|
+
.value=${String(value != null ? value : "")}
|
|
1019
|
+
placeholder=${(_i = (_h = item.props) == null ? void 0 : _h.placeholder) != null ? _i : ""}
|
|
1020
|
+
?disabled=${this.disabled}
|
|
1021
|
+
@sl-change=${(event) => {
|
|
1022
|
+
const target = event.target;
|
|
1023
|
+
this.handleSlotValueChange(key, target.value);
|
|
1024
|
+
}}
|
|
1025
|
+
>
|
|
1026
|
+
${((_k = (_j = item.props) == null ? void 0 : _j.options) != null ? _k : []).map((option) => html`<sl-option value=${option.value}>${option.label}</sl-option>`)}
|
|
1027
|
+
</sl-select>
|
|
1028
|
+
`;
|
|
1029
|
+
}
|
|
1030
|
+
if (item.type === "tag") {
|
|
1031
|
+
return html`
|
|
1032
|
+
<sl-tag class="sender__slot-tag" variant="primary" data-slot-key=${key}>
|
|
1033
|
+
${(_o = (_n = (_l = item.props) == null ? void 0 : _l.label) != null ? _n : (_m = item.props) == null ? void 0 : _m.value) != null ? _o : ""}
|
|
1034
|
+
</sl-tag>
|
|
1035
|
+
`;
|
|
1036
|
+
}
|
|
1037
|
+
if (item.type === "custom") {
|
|
1038
|
+
const value = this.getSlotItemValue(item, index);
|
|
1039
|
+
const onChange = (nextValue) => this.handleSlotValueChange(key, nextValue);
|
|
1040
|
+
return (_q = (_p = item.customRender) == null ? void 0 : _p.call(item, value, onChange, { disabled: this.disabled, readOnly: this.readOnly }, item)) != null ? _q : null;
|
|
1041
|
+
}
|
|
1042
|
+
return null;
|
|
1043
|
+
}
|
|
1044
|
+
renderSlotConfig() {
|
|
1045
|
+
var _a;
|
|
1046
|
+
if (!this.isSlotMode) return null;
|
|
1047
|
+
return html`
|
|
1048
|
+
<div
|
|
1049
|
+
class="sender__slot-area"
|
|
1050
|
+
part="slot-area"
|
|
1051
|
+
contenteditable=${this.readOnly || this.disabled ? "false" : "true"}
|
|
1052
|
+
@keydown=${this.handleKeyDown}
|
|
1053
|
+
@paste=${this.handlePaste}
|
|
1054
|
+
@focus=${this.handleFocus}
|
|
1055
|
+
@blur=${this.handleBlur}
|
|
1056
|
+
@input=${this.handleSlotAreaInput}
|
|
1057
|
+
>
|
|
1058
|
+
${this.renderSkill()}
|
|
1059
|
+
${(_a = this.slotConfig) == null ? void 0 : _a.map((item, index) => this.renderSlotItem(item, index))}
|
|
1060
|
+
</div>
|
|
1061
|
+
`;
|
|
1062
|
+
}
|
|
1063
|
+
renderSkill() {
|
|
1064
|
+
var _a;
|
|
1065
|
+
if (!this.skill) return null;
|
|
1066
|
+
const displayTitle = (_a = this.skill.title) != null ? _a : this.skill.value;
|
|
1067
|
+
const closable = this.skill.closable;
|
|
1068
|
+
const showClose = !!closable;
|
|
1069
|
+
const closeDisabled = typeof closable === "object" && closable.disabled;
|
|
1070
|
+
const closeIcon = typeof closable === "object" && closable.closeIcon ? closable.closeIcon : "x-lg";
|
|
1071
|
+
return html`
|
|
1072
|
+
<span class="sender__skill" part="skill" contenteditable="true">
|
|
1073
|
+
<span class="sender__skill-tag" contenteditable="false">
|
|
1074
|
+
<span class="sender__skill-text">${displayTitle}</span>
|
|
1075
|
+
${showClose ? html`
|
|
1076
|
+
<span
|
|
1077
|
+
class="sender__skill-close ${closeDisabled ? "sender__skill-close--disabled" : ""}"
|
|
1078
|
+
role="button"
|
|
1079
|
+
aria-label="Remove skill"
|
|
1080
|
+
tabindex=${closeDisabled ? -1 : 0}
|
|
1081
|
+
@click=${() => !closeDisabled && this.handleSkillRemove()}
|
|
1082
|
+
@keydown=${(e) => {
|
|
1083
|
+
if (!closeDisabled && (e.key === "Enter" || e.key === " ")) {
|
|
1084
|
+
e.preventDefault();
|
|
1085
|
+
this.handleSkillRemove();
|
|
1086
|
+
}
|
|
1087
|
+
}}
|
|
1088
|
+
>
|
|
1089
|
+
<sl-icon name=${closeIcon}></sl-icon>
|
|
1090
|
+
</span>
|
|
1091
|
+
` : null}
|
|
1092
|
+
</span>
|
|
1093
|
+
</span>
|
|
1094
|
+
`;
|
|
1095
|
+
}
|
|
1096
|
+
render() {
|
|
1097
|
+
return html`
|
|
1098
|
+
<div
|
|
1099
|
+
class=${classMap({
|
|
1100
|
+
sender: true,
|
|
1101
|
+
"sender--disabled": this.disabled
|
|
1102
|
+
})}
|
|
1103
|
+
part="base"
|
|
1104
|
+
>
|
|
1105
|
+
${this.renderHeader()}
|
|
1106
|
+
|
|
1107
|
+
<div class="sender__content">
|
|
1108
|
+
<div class="sender__input-area">
|
|
1109
|
+
${this.renderPrefix()}
|
|
1110
|
+
${this.isSlotMode ? this.renderSlotConfig() : html`
|
|
1111
|
+
<sl-textarea
|
|
1112
|
+
part="input"
|
|
1113
|
+
.value=${this.value}
|
|
1114
|
+
placeholder=${this.placeholder}
|
|
1115
|
+
?disabled=${this.disabled}
|
|
1116
|
+
?readonly=${this.readOnly}
|
|
1117
|
+
resize="none"
|
|
1118
|
+
rows=${this.rows}
|
|
1119
|
+
@sl-input=${this.handleInput}
|
|
1120
|
+
@keydown=${this.handleKeyDown}
|
|
1121
|
+
@paste=${this.handlePaste}
|
|
1122
|
+
@sl-focus=${this.handleFocus}
|
|
1123
|
+
@sl-blur=${this.handleBlur}
|
|
1124
|
+
></sl-textarea>
|
|
1125
|
+
`}
|
|
1126
|
+
${this.renderSuffix()}
|
|
1127
|
+
</div>
|
|
1128
|
+
</div>
|
|
1129
|
+
|
|
1130
|
+
${this.renderFooter()}
|
|
1131
|
+
</div>
|
|
1132
|
+
`;
|
|
1133
|
+
}
|
|
1134
|
+
};
|
|
1135
|
+
SlSender.styles = [component_styles_default, sender_styles_default];
|
|
1136
|
+
SlSender.dependencies = {
|
|
1137
|
+
"sl-textarea": SlTextarea,
|
|
1138
|
+
"sl-input": SlInput,
|
|
1139
|
+
"sl-select": SlSelect,
|
|
1140
|
+
"sl-option": SlOption,
|
|
1141
|
+
"sl-tag": SlTag,
|
|
1142
|
+
"sl-button": SlButton,
|
|
1143
|
+
"sl-icon-button": SlIconButton,
|
|
1144
|
+
"sl-icon": SlIcon,
|
|
1145
|
+
"sl-spinner": SlSpinner
|
|
1146
|
+
};
|
|
1147
|
+
__decorateClass([
|
|
1148
|
+
query("sl-textarea")
|
|
1149
|
+
], SlSender.prototype, "textarea", 2);
|
|
1150
|
+
__decorateClass([
|
|
1151
|
+
query(".sender__slot-area")
|
|
1152
|
+
], SlSender.prototype, "slotArea", 2);
|
|
1153
|
+
__decorateClass([
|
|
1154
|
+
property({ type: String })
|
|
1155
|
+
], SlSender.prototype, "value", 2);
|
|
1156
|
+
__decorateClass([
|
|
1157
|
+
property({ type: String })
|
|
1158
|
+
], SlSender.prototype, "placeholder", 2);
|
|
1159
|
+
__decorateClass([
|
|
1160
|
+
property({ type: Boolean })
|
|
1161
|
+
], SlSender.prototype, "loading", 2);
|
|
1162
|
+
__decorateClass([
|
|
1163
|
+
property({ type: Boolean })
|
|
1164
|
+
], SlSender.prototype, "disabled", 2);
|
|
1165
|
+
__decorateClass([
|
|
1166
|
+
property({ type: Boolean, attribute: "read-only" })
|
|
1167
|
+
], SlSender.prototype, "readOnly", 2);
|
|
1168
|
+
__decorateClass([
|
|
1169
|
+
property({ type: Number })
|
|
1170
|
+
], SlSender.prototype, "rows", 2);
|
|
1171
|
+
__decorateClass([
|
|
1172
|
+
property({ type: String, attribute: "submit-type" })
|
|
1173
|
+
], SlSender.prototype, "submitType", 2);
|
|
1174
|
+
__decorateClass([
|
|
1175
|
+
property({ type: Array })
|
|
1176
|
+
], SlSender.prototype, "slotConfig", 2);
|
|
1177
|
+
__decorateClass([
|
|
1178
|
+
property({ type: Object })
|
|
1179
|
+
], SlSender.prototype, "skill", 2);
|
|
1180
|
+
__decorateClass([
|
|
1181
|
+
property({ type: Object })
|
|
1182
|
+
], SlSender.prototype, "footer", 2);
|
|
1183
|
+
__decorateClass([
|
|
1184
|
+
property({ type: Object })
|
|
1185
|
+
], SlSender.prototype, "header", 2);
|
|
1186
|
+
__decorateClass([
|
|
1187
|
+
property({ type: Object })
|
|
1188
|
+
], SlSender.prototype, "prefixContent", 2);
|
|
1189
|
+
__decorateClass([
|
|
1190
|
+
property({ type: Object })
|
|
1191
|
+
], SlSender.prototype, "suffixContent", 2);
|
|
1192
|
+
__decorateClass([
|
|
1193
|
+
property({ type: Boolean, attribute: "allow-speech" })
|
|
1194
|
+
], SlSender.prototype, "allowSpeech", 2);
|
|
1195
|
+
__decorateClass([
|
|
1196
|
+
property({ type: Boolean, attribute: "speech-recording" })
|
|
1197
|
+
], SlSender.prototype, "speechRecording", 2);
|
|
1198
|
+
__decorateClass([
|
|
1199
|
+
state()
|
|
1200
|
+
], SlSender.prototype, "hasHeaderContent", 2);
|
|
1201
|
+
__decorateClass([
|
|
1202
|
+
state()
|
|
1203
|
+
], SlSender.prototype, "hasFooterContent", 2);
|
|
1204
|
+
|
|
1205
|
+
export {
|
|
1206
|
+
SlSender
|
|
1207
|
+
};
|