@kdcloudjs/shoelace 1.0.42 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.25AY3T2C.js +299 -0
- package/cdn/chunks/chunk.265M7RD6.js +11 -0
- package/cdn/chunks/chunk.2F3DNEKP.js +11 -0
- package/cdn/chunks/chunk.2FFGJYE4.js +161 -0
- package/cdn/chunks/chunk.2JHFH7H3.js +11 -0
- package/cdn/chunks/chunk.2KDU5JOH.js +28 -0
- package/cdn/chunks/chunk.2LFRN2KP.js +11 -0
- package/cdn/chunks/chunk.2LWOVENK.js +60 -0
- package/cdn/chunks/chunk.2PF72G2C.js +410 -0
- package/cdn/chunks/chunk.37PCVZCA.js +281 -0
- package/cdn/chunks/chunk.37VGW6ZS.js +27 -0
- package/cdn/chunks/chunk.3CMSB6GX.js +7428 -0
- package/cdn/chunks/chunk.3DDRSNCQ.js +500 -0
- package/cdn/chunks/chunk.3GLFN4NF.js +133 -0
- package/cdn/chunks/chunk.3IZ5JZ5A.js +11 -0
- package/cdn/chunks/chunk.3JHZWFDO.js +11 -0
- package/cdn/chunks/chunk.3OL5YY5F.js +11 -0
- package/cdn/chunks/chunk.3WD6EVO5.js +331 -0
- package/cdn/chunks/chunk.3XFVJ6X3.js +77 -0
- package/cdn/chunks/chunk.44KOGF7S.js +11 -0
- package/cdn/chunks/chunk.45ZYGVK2.js +21 -0
- package/cdn/chunks/chunk.472X3EWB.js +24 -0
- package/cdn/chunks/chunk.4AL7XNLX.js +21 -0
- package/cdn/chunks/chunk.4BVO3I5L.js +25 -0
- package/cdn/chunks/chunk.4CHZU4WU.js +320 -0
- package/cdn/chunks/chunk.4JHNVBF4.js +137 -0
- package/cdn/chunks/chunk.4KT5C4KV.js +142 -0
- package/cdn/chunks/chunk.4LCXIKBB.js +25 -0
- package/cdn/chunks/chunk.52JJGPQD.js +26 -0
- package/cdn/chunks/chunk.52M5GTBR.js +158 -0
- package/cdn/chunks/chunk.5FSTFYXG.js +11 -0
- package/cdn/chunks/chunk.5FZ7JTLR.js +24 -0
- package/cdn/chunks/chunk.5HCUOPK3.js +341 -0
- package/cdn/chunks/chunk.5HM35IRJ.js +279 -0
- package/cdn/chunks/chunk.5I6JYWG4.js +302 -0
- package/cdn/chunks/chunk.5LGZBGLI.js +724 -0
- package/cdn/chunks/chunk.624RARJB.js +11 -0
- package/cdn/chunks/chunk.64UFNX4Q.js +215 -0
- package/cdn/chunks/chunk.6AQDO5CH.js +113 -0
- package/cdn/chunks/chunk.6OBRAARC.js +11 -0
- package/cdn/chunks/chunk.6OELK3RE.js +11 -0
- package/cdn/chunks/chunk.6PKXUEKS.js +692 -0
- package/cdn/chunks/chunk.6UKHXTZL.js +197 -0
- package/cdn/chunks/chunk.6WLJR42P.js +292 -0
- package/cdn/chunks/chunk.6Y4SSMVU.js +11 -0
- package/cdn/chunks/chunk.6ZOS7242.js +25 -0
- package/cdn/chunks/chunk.6ZU67Q5J.js +11 -0
- package/cdn/chunks/chunk.7F23U2JY.js +24 -0
- package/cdn/chunks/chunk.7HQZQ4F4.js +95 -0
- package/cdn/chunks/chunk.7IXI5RZE.js +24 -0
- package/cdn/chunks/chunk.7MMN6ANK.js +11 -0
- package/cdn/chunks/chunk.7O5MOE6L.js +11 -0
- package/cdn/chunks/chunk.7XEDYLQA.js +455 -0
- package/cdn/chunks/chunk.A6TRJPV5.js +91 -0
- package/cdn/chunks/chunk.AM6GLHAU.js +177 -0
- package/cdn/chunks/chunk.AOGZLBRZ.js +21 -0
- package/cdn/chunks/chunk.AZQKD73H.js +54 -0
- package/cdn/chunks/chunk.B73MLPYV.js +782 -0
- package/cdn/chunks/chunk.BB6OOWQ7.js +24 -0
- package/cdn/chunks/chunk.BDXLMCUW.js +29 -0
- package/cdn/chunks/chunk.BEQFW6XZ.js +21 -0
- package/cdn/chunks/chunk.BHHVFCWR.js +11 -0
- package/cdn/chunks/chunk.BKISHGRP.js +11 -0
- package/cdn/chunks/chunk.BTHYGHG3.js +375 -0
- package/cdn/chunks/chunk.BYGIO244.js +11 -0
- package/cdn/chunks/chunk.CE6RR5QZ.js +27 -0
- package/cdn/chunks/chunk.CHX7LPDG.js +25 -0
- package/cdn/chunks/chunk.CJ7OBW4Q.js +36 -0
- package/cdn/chunks/chunk.CKBO3FSO.js +11 -0
- package/cdn/chunks/chunk.CLGPTQGB.js +11 -0
- package/cdn/chunks/chunk.CMEU74KK.js +21 -0
- package/cdn/chunks/chunk.CPNW2NXB.js +33 -0
- package/cdn/chunks/chunk.CRLF2VHG.js +605 -0
- package/cdn/chunks/chunk.CWQEP3R2.js +11 -0
- package/cdn/chunks/chunk.D6PVIA6N.js +11 -0
- package/cdn/chunks/chunk.DBQPTJWT.js +11 -0
- package/cdn/chunks/chunk.DD37CCX2.js +1071 -0
- package/cdn/chunks/chunk.DEOXIMQA.js +28 -0
- package/cdn/chunks/chunk.DJO6X2QE.js +215 -0
- package/cdn/chunks/chunk.DQ6LSVIW.js +24 -0
- package/cdn/chunks/chunk.DTVMFOWE.js +11 -0
- package/cdn/chunks/chunk.DUKR6NL3.js +219 -0
- package/cdn/chunks/chunk.DXGZ3YJV.js +11 -0
- package/cdn/chunks/chunk.DZWQ7OMJ.js +27 -0
- package/cdn/chunks/chunk.E72DE4VW.js +35 -0
- package/cdn/chunks/chunk.EFGYIBVL.js +31 -0
- package/cdn/chunks/chunk.ENKOPHXO.js +25 -0
- package/cdn/chunks/chunk.EODAHJXO.js +11 -0
- package/cdn/chunks/chunk.ERMGPFRR.js +271 -0
- package/cdn/chunks/chunk.ES4WSDHR.js +11 -0
- package/cdn/chunks/chunk.F6MZ26Z2.js +21 -0
- package/cdn/chunks/chunk.FA6PXI7S.js +543 -0
- package/cdn/chunks/chunk.FHGBZARF.js +11 -0
- package/cdn/chunks/chunk.FHVAFNLY.js +26 -0
- package/cdn/chunks/chunk.FSI5NBGW.js +25 -0
- package/cdn/chunks/chunk.FUTZM4XU.js +371 -0
- package/cdn/chunks/chunk.G4NIC2TN.js +114 -0
- package/cdn/chunks/chunk.G6ITOR5J.js +346 -0
- package/cdn/chunks/chunk.G6XHPXJQ.js +11 -0
- package/cdn/chunks/chunk.G755UHYQ.js +27 -0
- package/cdn/chunks/chunk.GDNO6ZBV.js +236 -0
- package/cdn/chunks/chunk.GEEADNIO.js +179 -0
- package/cdn/chunks/chunk.GIUIT5DJ.js +29 -0
- package/cdn/chunks/chunk.GQ3VDOTX.js +79 -0
- package/cdn/chunks/chunk.H2NDWKA6.js +25 -0
- package/cdn/chunks/chunk.H34HKNLL.js +120 -0
- package/cdn/chunks/chunk.HCBQV33H.js +11 -0
- package/cdn/chunks/chunk.HIHSRAIQ.js +11 -0
- package/cdn/chunks/chunk.HJVWY25J.js +25 -0
- package/cdn/chunks/chunk.HMXVRVXU.js +24 -0
- package/cdn/chunks/chunk.HOCIL3VQ.js +11 -0
- package/cdn/chunks/chunk.HTSD2EAM.js +21 -0
- package/cdn/chunks/chunk.HUVQEDXH.js +21 -0
- package/cdn/chunks/chunk.HXIV7JAE.js +539 -0
- package/cdn/chunks/chunk.HYNB4LFB.js +21 -0
- package/cdn/chunks/chunk.HYZ5J3NL.js +24 -0
- package/cdn/chunks/chunk.HZFD2UYT.js +25 -0
- package/cdn/chunks/chunk.I2E5KVNW.js +11 -0
- package/cdn/chunks/chunk.I6PH2OAC.js +29 -0
- package/cdn/chunks/chunk.ICJCFWK5.js +21 -0
- package/cdn/chunks/chunk.IFQFL2CU.js +27 -0
- package/cdn/chunks/chunk.IIPHZWRE.js +42 -0
- package/cdn/chunks/chunk.IQVG6XSD.js +87 -0
- package/cdn/chunks/chunk.ITVEHX7R.js +1897 -0
- package/cdn/chunks/chunk.IU7E2HVH.js +32 -0
- package/cdn/chunks/chunk.IWOSGJAQ.js +11 -0
- package/cdn/chunks/chunk.IZ432ENS.js +11 -0
- package/cdn/chunks/chunk.JAXENOK4.js +11 -0
- package/cdn/chunks/chunk.JDBAE4YV.js +11 -0
- package/cdn/chunks/chunk.JDQ56ZBI.js +383 -0
- package/cdn/chunks/chunk.JF4EZ276.js +197 -0
- package/cdn/chunks/chunk.JFMRS7X2.js +11 -0
- package/cdn/chunks/chunk.JHJWUYTF.js +11 -0
- package/cdn/chunks/chunk.JJA5AGWV.js +1213 -0
- package/cdn/chunks/chunk.JJM6FQFW.js +11 -0
- package/cdn/chunks/chunk.JSYTACNX.js +11 -0
- package/cdn/chunks/chunk.JVCMYNSN.js +11 -0
- package/cdn/chunks/chunk.JY5J7BFJ.js +11 -0
- package/cdn/chunks/chunk.KBLB5RTD.js +255 -0
- package/cdn/chunks/chunk.KEEPHZV5.js +24 -0
- package/cdn/chunks/chunk.KMPOJCZC.js +11 -0
- package/cdn/chunks/chunk.KOSFX565.js +21 -0
- package/cdn/chunks/chunk.KRNH3YFE.js +11 -0
- package/cdn/chunks/chunk.KW4OXJS2.js +186 -0
- package/cdn/chunks/chunk.LBOESSWS.js +11 -0
- package/cdn/chunks/chunk.LKVOPUSF.js +11 -0
- package/cdn/chunks/chunk.LOTJKEBL.js +167 -0
- package/cdn/chunks/chunk.LWYXOLAH.js +510 -0
- package/cdn/chunks/chunk.LY3ETGIX.js +93 -0
- package/cdn/chunks/chunk.M3TC4AUB.js +82 -0
- package/cdn/chunks/chunk.M5MB4NET.js +11 -0
- package/cdn/chunks/chunk.MF3C73FK.js +24 -0
- package/cdn/chunks/chunk.MF4C6ZAA.js +588 -0
- package/cdn/chunks/chunk.MMHWSWQ3.js +11 -0
- package/cdn/chunks/chunk.MPBFXV5E.js +28 -0
- package/cdn/chunks/chunk.MPHOAZUB.js +21 -0
- package/cdn/chunks/chunk.MRPR2FFQ.js +27 -0
- package/cdn/chunks/chunk.NB6ISQMI.js +29 -0
- package/cdn/chunks/chunk.NBM6GQMY.js +11 -0
- package/cdn/chunks/chunk.NETTHUES.js +28 -0
- package/cdn/chunks/chunk.NFIIJ7LU.js +11 -0
- package/cdn/chunks/chunk.NG43MJW4.js +26 -0
- package/cdn/chunks/chunk.NW4I36ZW.js +26 -0
- package/cdn/chunks/chunk.NX5YWYHI.js +21 -0
- package/cdn/chunks/chunk.NYWEOG7K.js +11 -0
- package/cdn/chunks/chunk.O5XQLZ3V.js +915 -0
- package/cdn/chunks/chunk.OBNBF2PH.js +26 -0
- package/cdn/chunks/chunk.ODFGIDL4.js +11 -0
- package/cdn/chunks/chunk.OEVNWOJN.js +21 -0
- package/cdn/chunks/chunk.OH42NCBM.js +11 -0
- package/cdn/chunks/chunk.OJNVKD3J.js +11 -0
- package/cdn/chunks/chunk.OJVEGSQB.js +130 -0
- package/cdn/chunks/chunk.OM33QOGI.js +11 -0
- package/cdn/chunks/chunk.OSVITGCP.js +122 -0
- package/cdn/chunks/chunk.OXMSTT6I.js +29 -0
- package/cdn/chunks/chunk.OYS5KBYZ.js +291 -0
- package/cdn/chunks/chunk.OZYHPVHE.js +21 -0
- package/cdn/chunks/chunk.P4NRTQFL.js +586 -0
- package/cdn/chunks/chunk.PAAPNCMD.js +329 -0
- package/cdn/chunks/chunk.PKDJCEN7.js +233 -0
- package/cdn/chunks/chunk.PNUIZLCW.js +201 -0
- package/cdn/chunks/chunk.PUIPZEVN.js +11 -0
- package/cdn/chunks/chunk.PUUN4HZ3.js +216 -0
- package/cdn/chunks/chunk.PYMSBUJH.js +135 -0
- package/cdn/chunks/chunk.PYTQD75H.js +11 -0
- package/cdn/chunks/chunk.Q4OTMR2D.js +11 -0
- package/cdn/chunks/chunk.Q5YEDZNZ.js +1932 -0
- package/cdn/chunks/chunk.Q6ULC3L3.js +26 -0
- package/cdn/chunks/chunk.Q7WJKKT5.js +27 -0
- package/cdn/chunks/chunk.QAXOLKEN.js +118 -0
- package/cdn/chunks/chunk.QDT3Y2RE.js +11 -0
- package/cdn/chunks/chunk.QIAULMOU.js +24 -0
- package/cdn/chunks/chunk.QRDAA6U6.js +28 -0
- package/cdn/chunks/chunk.QSIXBXW5.js +21 -0
- package/cdn/chunks/chunk.QUNTG6JU.js +29 -0
- package/cdn/chunks/chunk.QUQH2EBA.js +276 -0
- package/cdn/chunks/chunk.QVM57OUL.js +11 -0
- package/cdn/chunks/chunk.QXKKFNIJ.js +24 -0
- package/cdn/chunks/chunk.QYFPUOJ3.js +154 -0
- package/cdn/chunks/chunk.R5ZZUKPC.js +21 -0
- package/cdn/chunks/chunk.RB724R7V.js +11 -0
- package/cdn/chunks/chunk.REULNBL3.js +11 -0
- package/cdn/chunks/chunk.RG7M7S3P.js +199 -0
- package/cdn/chunks/chunk.RIWKAZZP.js +11 -0
- package/cdn/chunks/chunk.RJGKQO6N.js +21 -0
- package/cdn/chunks/chunk.ROVSWKCO.js +11 -0
- package/cdn/chunks/chunk.RR6EY35V.js +21 -0
- package/cdn/chunks/chunk.RS2LG3LL.js +11 -0
- package/cdn/chunks/chunk.RTYYF4WV.js +21 -0
- package/cdn/chunks/chunk.S2ZJRNBE.js +193 -0
- package/cdn/chunks/chunk.S63JY4X7.js +21 -0
- package/cdn/chunks/chunk.SJDZI7U6.js +127 -0
- package/cdn/chunks/chunk.SLBLM524.js +330 -0
- package/cdn/chunks/chunk.SODSQCS3.js +21 -0
- package/cdn/chunks/chunk.TGEJGNDY.js +25 -0
- package/cdn/chunks/chunk.TJ2BDO2Q.js +49 -0
- package/cdn/chunks/chunk.TMAWJW3P.js +73 -0
- package/cdn/chunks/chunk.TMYBVWCY.js +67 -0
- package/cdn/chunks/chunk.TQ2YRWLY.js +11 -0
- package/cdn/chunks/chunk.TQLGBGFP.js +21 -0
- package/cdn/chunks/chunk.TWXOSBDH.js +11 -0
- package/cdn/chunks/chunk.TX4WLLZZ.js +29 -0
- package/cdn/chunks/chunk.TXZNJQ4S.js +11 -0
- package/cdn/chunks/chunk.UFLAA3UW.js +97 -0
- package/cdn/chunks/chunk.UGH4ZCOQ.js +835 -0
- package/cdn/chunks/chunk.UKJ7YOTL.js +103 -0
- package/cdn/chunks/chunk.UQ7PT5PF.js +11 -0
- package/cdn/chunks/chunk.V6EQZKEI.js +128 -0
- package/cdn/chunks/chunk.V7AQHWXZ.js +153 -0
- package/cdn/chunks/chunk.VB6AE6JI.js +163 -0
- package/cdn/chunks/chunk.VBUS5JEO.js +21 -0
- package/cdn/chunks/chunk.VFCVXKKH.js +24 -0
- package/cdn/chunks/chunk.VG4YSKGP.js +11 -0
- package/cdn/chunks/chunk.VG6DANQQ.js +25 -0
- package/cdn/chunks/chunk.VVCIINQW.js +5845 -0
- package/cdn/chunks/chunk.W7SM2YVJ.js +472 -0
- package/cdn/chunks/chunk.WB6TOBWU.js +50 -0
- package/cdn/chunks/chunk.WEGQ4YPF.js +11 -0
- package/cdn/chunks/chunk.WF7NDNWN.js +11 -0
- package/cdn/chunks/chunk.WMO7OIUB.js +11 -0
- package/cdn/chunks/chunk.WOHHOS7H.js +11 -0
- package/cdn/chunks/chunk.WSH5IXQ4.js +24 -0
- package/cdn/chunks/chunk.WT3WQIEX.js +92 -0
- package/cdn/chunks/chunk.WTEJCXVF.js +354 -0
- package/cdn/chunks/chunk.WUNVJOEQ.js +21 -0
- package/cdn/chunks/chunk.WW47EPJM.js +454 -0
- package/cdn/chunks/chunk.WWAA2O3A.js +75 -0
- package/cdn/chunks/chunk.WXSRK6OP.js +24 -0
- package/cdn/chunks/chunk.WYSOHSVO.js +24 -0
- package/cdn/chunks/chunk.X5OLJDO2.js +11 -0
- package/cdn/chunks/chunk.X6GFITEB.js +27 -0
- package/cdn/chunks/chunk.XAAVDD7B.js +24 -0
- package/cdn/chunks/chunk.XANFVXGC.js +49 -0
- package/cdn/chunks/chunk.XCK4ALJ3.js +21 -0
- package/cdn/chunks/chunk.XF5ZKEBA.js +391 -0
- package/cdn/chunks/chunk.XI6QXTO7.js +21 -0
- package/cdn/chunks/chunk.XNIY44WP.js +236 -0
- package/cdn/chunks/chunk.XWGAHC4O.js +1990 -0
- package/cdn/chunks/chunk.XYJF3HCI.js +402 -0
- package/cdn/chunks/chunk.XZHILGEM.js +63 -0
- package/cdn/chunks/chunk.Y53FAIP6.js +21 -0
- package/cdn/chunks/chunk.Y66TIMUL.js +333 -0
- package/cdn/chunks/chunk.YDQYFGZI.js +28 -0
- package/cdn/chunks/chunk.YOTB4AJP.js +336 -0
- package/cdn/chunks/chunk.YQ5NYQSK.js +923 -0
- package/cdn/chunks/chunk.YVYRG655.js +634 -0
- package/cdn/chunks/chunk.YZBBMET2.js +24 -0
- package/cdn/chunks/chunk.Z3DKGVF5.js +11 -0
- package/cdn/chunks/chunk.Z7AIQ7XI.js +11 -0
- package/cdn/chunks/chunk.ZAHJPRHJ.js +11 -0
- package/cdn/chunks/chunk.ZEWXQOZG.js +186 -0
- package/cdn/chunks/chunk.ZFIZQ2RD.js +21 -0
- package/cdn/chunks/chunk.ZLIEWHRM.js +29 -0
- package/cdn/chunks/chunk.ZOLAPKRJ.js +24 -0
- package/cdn/chunks/chunk.ZPYE7SLF.js +24 -0
- package/cdn/chunks/chunk.ZQFDCI5Q.js +11 -0
- package/cdn/chunks/chunk.ZQIAG45S.js +11 -0
- package/cdn/chunks/chunk.ZTS44GZL.js +21 -0
- package/cdn/chunks/chunk.ZUCL5PCP.js +11 -0
- package/cdn/chunks/chunk.ZVHDNXH5.js +92 -0
- package/cdn/chunks/chunk.ZVVJUYRQ.js +11 -0
- package/cdn/chunks/chunk.ZZ3WG2NZ.js +21 -0
- package/cdn/components/alert/alert.component.js +6 -6
- package/cdn/components/alert/alert.js +7 -7
- package/cdn/components/animated-image/animated-image.component.js +4 -4
- package/cdn/components/animated-image/animated-image.js +5 -5
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +14 -14
- package/cdn/components/calendar/calendar.js +15 -15
- package/cdn/components/calendar-picker/calendar-picker.component.js +6 -6
- package/cdn/components/calendar-picker/calendar-picker.js +6 -6
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/cascader/cascader.component.js +36 -0
- package/cdn/components/cascader/cascader.js +37 -0
- package/cdn/components/cascader/cascader.styles.js +9 -0
- package/cdn/components/checkbox/checkbox.component.js +4 -4
- package/cdn/components/checkbox/checkbox.js +5 -5
- package/cdn/components/col/col.component.js +2 -2
- package/cdn/components/col/col.js +3 -3
- package/cdn/components/color-picker/color-picker.component.js +11 -11
- package/cdn/components/color-picker/color-picker.js +12 -12
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +11 -11
- package/cdn/components/date-panel/date-panel.js +11 -11
- package/cdn/components/datepicker/datepicker.component.js +17 -17
- package/cdn/components/datepicker/datepicker.js +17 -17
- package/cdn/components/daterangepicker/daterangepicker.component.js +13 -13
- package/cdn/components/daterangepicker/daterangepicker.js +14 -14
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +5 -5
- package/cdn/components/dialog/dialog.js +6 -6
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +6 -6
- package/cdn/components/drawer/drawer.js +7 -7
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/float-button/float-button.component.js +5 -5
- package/cdn/components/float-button/float-button.js +6 -6
- package/cdn/components/float-button-group/float-button-group.component.js +3 -3
- package/cdn/components/float-button-group/float-button-group.js +4 -4
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image/image.component.js +2 -2
- package/cdn/components/image/image.js +2 -2
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/image-preview-group/image-preview-group.component.js +2 -2
- package/cdn/components/image-preview-group/image-preview-group.js +2 -2
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +6 -6
- package/cdn/components/menu-item/menu-item.js +7 -7
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +10 -10
- package/cdn/components/nav/nav.js +11 -11
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +2 -2
- package/cdn/components/nav-item/nav-item.js +3 -3
- package/cdn/components/nav-submenu/nav-submenu.component.js +4 -4
- package/cdn/components/nav-submenu/nav-submenu.js +5 -5
- package/cdn/components/notification/notification.component.js +6 -6
- package/cdn/components/notification/notification.js +7 -7
- package/cdn/components/notification/notification.styles.js +1 -1
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +9 -9
- package/cdn/components/pagination/pagination.component.js +10 -10
- package/cdn/components/pagination/pagination.js +10 -10
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/row/row.component.js +2 -2
- package/cdn/components/row/row.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/segmented/segmented.component.js +6 -6
- package/cdn/components/segmented/segmented.js +7 -7
- package/cdn/components/segmented/segmented.styles.js +1 -1
- package/cdn/components/select/select.component.js +9 -9
- package/cdn/components/select/select.js +10 -10
- package/cdn/components/sender/sender.component.js +16 -16
- package/cdn/components/sender/sender.js +17 -17
- package/cdn/components/sender/sender.styles.js +1 -1
- package/cdn/components/sender-header/sender-header.component.js +5 -5
- package/cdn/components/sender-header/sender-header.js +6 -6
- package/cdn/components/sender-switch/sender-switch.component.js +5 -5
- package/cdn/components/sender-switch/sender-switch.js +6 -6
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/space/space.component.js +2 -2
- package/cdn/components/space/space.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/steps/steps.component.js +3 -3
- package/cdn/components/steps/steps.js +4 -4
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +2 -2
- package/cdn/components/table/features/index.js +3 -3
- package/cdn/components/table/footer-table.js +2 -2
- package/cdn/components/table/head-table.js +19 -19
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +30 -30
- package/cdn/components/table/table.js +31 -31
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/think/think.component.js +4 -4
- package/cdn/components/think/think.js +5 -5
- package/cdn/components/thought-chain/thought-chain.component.js +2 -2
- package/cdn/components/thought-chain/thought-chain.js +3 -3
- package/cdn/components/thought-chain-item/thought-chain-item.component.js +4 -4
- package/cdn/components/thought-chain-item/thought-chain-item.js +5 -5
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +4 -4
- package/cdn/components/thought-chain-node/thought-chain-node.js +5 -5
- package/cdn/components/time-panel/time-panel.component.js +5 -5
- package/cdn/components/time-panel/time-panel.js +5 -5
- package/cdn/components/timepicker/timepicker.component.js +17 -17
- package/cdn/components/timepicker/timepicker.js +17 -17
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +9 -9
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.component.js +7 -7
- package/cdn/components/tree-item/tree-item.js +8 -8
- package/cdn/components/tree-item/tree-item.styles.js +1 -1
- package/cdn/components/tree-select/tree-select.component.js +16 -16
- package/cdn/components/tree-select/tree-select.js +17 -17
- package/cdn/components/tree-select/tree-select.styles.js +1 -1
- package/cdn/components/upload/upload.component.js +45 -0
- package/cdn/components/upload/upload.js +49 -0
- package/cdn/components/upload/upload.styles.js +9 -0
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/components/x-markdown/x-markdown.component.js +2 -2
- package/cdn/components/x-markdown/x-markdown.js +3 -3
- package/cdn/custom-elements.json +11968 -9864
- package/cdn/react/alert/index.js +7 -7
- package/cdn/react/animated-image/index.js +5 -5
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/calendar/index.js +15 -15
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/cascader/index.js +37 -0
- package/cdn/react/checkbox/index.js +5 -5
- package/cdn/react/col/index.js +3 -3
- package/cdn/react/color-picker/index.js +12 -12
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +12 -12
- package/cdn/react/datepicker/index.js +18 -18
- package/cdn/react/daterangepicker/index.js +14 -14
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +6 -6
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +7 -7
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/float-button/index.js +6 -6
- package/cdn/react/float-button-group/index.js +4 -4
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image/index.js +3 -3
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/image-preview-group/index.js +3 -3
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.js +302 -290
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +7 -7
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +11 -11
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +3 -3
- package/cdn/react/nav-submenu/index.js +5 -5
- package/cdn/react/notification/index.js +7 -7
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +11 -11
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/row/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/segmented/index.js +7 -7
- package/cdn/react/select/index.js +10 -10
- package/cdn/react/sender/index.js +17 -17
- package/cdn/react/sender-header/index.js +6 -6
- package/cdn/react/sender-switch/index.js +6 -6
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/space/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/steps/index.js +4 -4
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-group/index.js +6 -6
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +31 -31
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/think/index.js +5 -5
- package/cdn/react/thought-chain/index.js +3 -3
- package/cdn/react/thought-chain-item/index.js +5 -5
- package/cdn/react/thought-chain-node/index.js +5 -5
- package/cdn/react/timepicker/index.js +18 -18
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +10 -10
- package/cdn/react/tree-item/index.js +8 -8
- package/cdn/react/tree-select/index.js +17 -17
- package/cdn/react/upload/index.js +46 -0
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/react/x-markdown/index.js +3 -3
- package/cdn/shoelace.js +292 -286
- package/cdn/types/vue/index.d.ts +1520 -1279
- package/cdn/vscode.html-custom-data.json +1217 -998
- package/cdn/web-types.json +3865 -3245
- package/dist/chunks/chunk.2CKXLIXH.js +127 -0
- package/dist/chunks/chunk.2GAZP5KP.js +11 -0
- package/dist/chunks/chunk.2Q6HZL2Z.js +11 -0
- package/dist/chunks/chunk.2QDIR57T.js +21 -0
- package/dist/chunks/chunk.2SI2QW2W.js +194 -0
- package/dist/chunks/chunk.2UBBMBBU.js +29 -0
- package/dist/chunks/chunk.2VC3HBI6.js +11 -0
- package/dist/chunks/chunk.334PPUJQ.js +384 -0
- package/dist/chunks/chunk.35L62SNE.js +29 -0
- package/dist/chunks/chunk.3AIZYEQC.js +11 -0
- package/dist/chunks/chunk.3CYSP5K3.js +25 -0
- package/dist/chunks/chunk.3EBKO36U.js +158 -0
- package/dist/chunks/chunk.3G5ZPCUB.js +11 -0
- package/dist/chunks/chunk.3IDDHB5B.js +247 -0
- package/dist/chunks/chunk.3ILJWH7R.js +11 -0
- package/dist/chunks/chunk.3UHFRUAQ.js +25 -0
- package/dist/chunks/chunk.437ISJ4L.js +11 -0
- package/dist/chunks/chunk.46EW25FY.js +11 -0
- package/dist/chunks/chunk.4CTHCAWY.js +330 -0
- package/dist/chunks/chunk.4JDPLWPX.js +397 -0
- package/dist/chunks/chunk.4K3UTAEI.js +11 -0
- package/dist/chunks/chunk.4P2FR7WE.js +11 -0
- package/dist/chunks/chunk.4QQS5DGK.js +598 -0
- package/dist/chunks/chunk.4TRLQ34T.js +25 -0
- package/dist/chunks/chunk.4VFT5OMS.js +11 -0
- package/dist/chunks/chunk.4YYNGCRM.js +286 -0
- package/dist/chunks/chunk.4ZE2UPAR.js +11 -0
- package/dist/chunks/chunk.53AEAVKY.js +11 -0
- package/dist/chunks/chunk.54EVESBH.js +28 -0
- package/dist/chunks/chunk.5DZEOIQY.js +24 -0
- package/dist/chunks/chunk.5IVQ5CEZ.js +11 -0
- package/dist/chunks/chunk.5OI4URCM.js +29 -0
- package/dist/chunks/chunk.5XBBQQG4.js +27 -0
- package/dist/chunks/chunk.5ZMDR36D.js +213 -0
- package/dist/chunks/chunk.5ZRQVTWK.js +11 -0
- package/dist/chunks/chunk.6BYZDRLW.js +11 -0
- package/dist/chunks/chunk.6RBHE2AW.js +21 -0
- package/dist/chunks/chunk.6RC6ZJG3.js +494 -0
- package/dist/chunks/chunk.6U22OLLM.js +11 -0
- package/dist/chunks/chunk.6VUMVZZ4.js +190 -0
- package/dist/chunks/chunk.6WEIFOIQ.js +27 -0
- package/dist/chunks/chunk.6XTPYDU2.js +31 -0
- package/dist/chunks/chunk.6Z7LNA3V.js +26 -0
- package/dist/chunks/chunk.7BKTCZAZ.js +280 -0
- package/dist/chunks/chunk.7CXMIU6O.js +24 -0
- package/dist/chunks/chunk.7DBDNICG.js +21 -0
- package/dist/chunks/chunk.7ZQ7GLIE.js +24 -0
- package/dist/chunks/chunk.A24SHL7G.js +67 -0
- package/dist/chunks/chunk.A4WB5GBP.js +937 -0
- package/dist/chunks/chunk.AARIRO6O.js +34 -0
- package/dist/chunks/chunk.AC5ZKQY6.js +25 -0
- package/dist/chunks/chunk.AEX5RJ7N.js +24 -0
- package/dist/chunks/chunk.AFOERDSL.js +29 -0
- package/dist/chunks/chunk.AH5HT644.js +681 -0
- package/dist/chunks/chunk.AJOY3TUX.js +21 -0
- package/dist/chunks/chunk.AVUBSLIP.js +11 -0
- package/dist/chunks/chunk.AYAQGAH6.js +11 -0
- package/dist/chunks/chunk.AYIPBI4B.js +11 -0
- package/dist/chunks/chunk.BAEDAOG5.js +11 -0
- package/dist/chunks/chunk.BDR3NAFC.js +21 -0
- package/dist/chunks/chunk.BHAIU5HV.js +21 -0
- package/dist/chunks/chunk.BO5SPQIE.js +11 -0
- package/dist/chunks/chunk.BOOKRJGY.js +214 -0
- package/dist/chunks/chunk.BOW3DWBX.js +11 -0
- package/dist/chunks/chunk.BQGQ74ZN.js +21 -0
- package/dist/chunks/chunk.BSK4ZAW6.js +27 -0
- package/dist/chunks/chunk.C2JMDFEK.js +32 -0
- package/dist/chunks/chunk.C46PSYHF.js +164 -0
- package/dist/chunks/chunk.CBCDB6BH.js +28 -0
- package/dist/chunks/chunk.CFJMI256.js +11 -0
- package/dist/chunks/chunk.CLJNWZX3.js +28 -0
- package/dist/chunks/chunk.CNG5K5LW.js +320 -0
- package/dist/chunks/chunk.CPGWPZAM.js +21 -0
- package/dist/chunks/chunk.CRKIYX6C.js +24 -0
- package/dist/chunks/chunk.CVETOS2K.js +52 -0
- package/dist/chunks/chunk.CYF2RRUR.js +21 -0
- package/dist/chunks/chunk.CZ4RP2EL.js +25 -0
- package/dist/chunks/chunk.D3QFMJJT.js +11 -0
- package/dist/chunks/chunk.DBRSLVQ2.js +11 -0
- package/dist/chunks/chunk.DDWHVBTT.js +21 -0
- package/dist/chunks/chunk.DEIJOSJ2.js +11 -0
- package/dist/chunks/chunk.DL7IFAZQ.js +24 -0
- package/dist/chunks/chunk.DLQWDAZ3.js +11 -0
- package/dist/chunks/chunk.DQJ2S62Y.js +11 -0
- package/dist/chunks/chunk.DR5HBP4O.js +11 -0
- package/dist/chunks/chunk.DS4HLV5B.js +21 -0
- package/dist/chunks/chunk.DS5AZX3S.js +59 -0
- package/dist/chunks/chunk.DUUQX5JW.js +24 -0
- package/dist/chunks/chunk.DVNE6C2G.js +26 -0
- package/dist/chunks/chunk.E2ODCB45.js +11 -0
- package/dist/chunks/chunk.E3VOKZAR.js +57 -0
- package/dist/chunks/chunk.E5TWXKDW.js +11 -0
- package/dist/chunks/chunk.EBINZTQT.js +73 -0
- package/dist/chunks/chunk.ECZFW26Q.js +315 -0
- package/dist/chunks/chunk.ED4B67XM.js +21 -0
- package/dist/chunks/chunk.ET57SYXK.js +21 -0
- package/dist/chunks/chunk.EUUG4BBT.js +11 -0
- package/dist/chunks/chunk.EWE25QW2.js +85 -0
- package/dist/chunks/chunk.EWKBC64A.js +50 -0
- package/dist/chunks/chunk.EYKRFAAL.js +231 -0
- package/dist/chunks/chunk.EZK54FDP.js +28 -0
- package/dist/chunks/chunk.F23DQP27.js +27 -0
- package/dist/chunks/chunk.F2RQXAMN.js +24 -0
- package/dist/chunks/chunk.FFFAWAJV.js +191 -0
- package/dist/chunks/chunk.FIESAO6T.js +113 -0
- package/dist/chunks/chunk.FJWL5NNN.js +148 -0
- package/dist/chunks/chunk.FNIWTLXY.js +11 -0
- package/dist/chunks/chunk.FNLNVBYV.js +365 -0
- package/dist/chunks/chunk.FO2G6WZC.js +28 -0
- package/dist/chunks/chunk.FOPADEUW.js +11 -0
- package/dist/chunks/chunk.FREX2DZG.js +11 -0
- package/dist/chunks/chunk.FTLS6JEB.js +322 -0
- package/dist/chunks/chunk.GDKVZBGY.js +293 -0
- package/dist/chunks/chunk.GHQ7LZI4.js +22 -0
- package/dist/chunks/chunk.GLC2GOJP.js +86 -0
- package/dist/chunks/chunk.GMBANYFR.js +21 -0
- package/dist/chunks/chunk.GMISRBBN.js +125 -0
- package/dist/chunks/chunk.GMWYNHCZ.js +424 -0
- package/dist/chunks/chunk.GNQIXGDK.js +11 -0
- package/dist/chunks/chunk.GOM5RE4F.js +21 -0
- package/dist/chunks/chunk.GQ3I2DRF.js +914 -0
- package/dist/chunks/chunk.GUYKEBV5.js +21 -0
- package/dist/chunks/chunk.GZ6J2SK4.js +11 -0
- package/dist/chunks/chunk.H25ILIB5.js +448 -0
- package/dist/chunks/chunk.H3X4HIMC.js +25 -0
- package/dist/chunks/chunk.HBVRX56U.js +375 -0
- package/dist/chunks/chunk.HDY2LT5B.js +324 -0
- package/dist/chunks/chunk.HF2V2AAV.js +29 -0
- package/dist/chunks/chunk.HFZJUPCF.js +22 -0
- package/dist/chunks/chunk.HG3Q5MLW.js +25 -0
- package/dist/chunks/chunk.HHJC7SBM.js +1888 -0
- package/dist/chunks/chunk.HJUHTLGM.js +11 -0
- package/dist/chunks/chunk.HOFHUTVL.js +147 -0
- package/dist/chunks/chunk.HQ6G6NU4.js +25 -0
- package/dist/chunks/chunk.HT4ZRDDY.js +26 -0
- package/dist/chunks/chunk.HURXD5JM.js +536 -0
- package/dist/chunks/chunk.HY7VLZOR.js +11 -0
- package/dist/chunks/chunk.HYBGUDRE.js +231 -0
- package/dist/chunks/chunk.I3J6H5SR.js +26 -0
- package/dist/chunks/chunk.I4IN26AL.js +11 -0
- package/dist/chunks/chunk.I4P3YPVU.js +11 -0
- package/dist/chunks/chunk.I6BRBYE6.js +11 -0
- package/dist/chunks/chunk.I72QB2R3.js +11 -0
- package/dist/chunks/chunk.IAVBALDB.js +11 -0
- package/dist/chunks/chunk.IEYWJQ7M.js +90 -0
- package/dist/chunks/chunk.IKGQ6IPX.js +93 -0
- package/dist/chunks/chunk.IRRJPQTP.js +11 -0
- package/dist/chunks/chunk.J5RICP5L.js +771 -0
- package/dist/chunks/chunk.J7GWXIDW.js +11 -0
- package/dist/chunks/chunk.JAEJZMYD.js +11 -0
- package/dist/chunks/chunk.JCEDRZDT.js +11 -0
- package/dist/chunks/chunk.JIMC2FLV.js +27 -0
- package/dist/chunks/chunk.JKW5QUF4.js +11 -0
- package/dist/chunks/chunk.JMRLZJX4.js +448 -0
- package/dist/chunks/chunk.JROVVA7L.js +96 -0
- package/dist/chunks/chunk.JU7TGZE2.js +25 -0
- package/dist/chunks/chunk.JUYRWQEM.js +21 -0
- package/dist/chunks/chunk.JXPJCRRS.js +24 -0
- package/dist/chunks/chunk.K3A4R42A.js +466 -0
- package/dist/chunks/chunk.K3PY3QWU.js +337 -0
- package/dist/chunks/chunk.K4J5ZR3H.js +21 -0
- package/dist/chunks/chunk.K62ATABB.js +212 -0
- package/dist/chunks/chunk.KB4AKVKP.js +911 -0
- package/dist/chunks/chunk.KCQFS4IW.js +407 -0
- package/dist/chunks/chunk.KHTGTDR7.js +11 -0
- package/dist/chunks/chunk.KK3I35PH.js +11 -0
- package/dist/chunks/chunk.KN4FV4CN.js +294 -0
- package/dist/chunks/chunk.KQASDB5S.js +26 -0
- package/dist/chunks/chunk.KTL26VQF.js +45 -0
- package/dist/chunks/chunk.KUPLQTCI.js +126 -0
- package/dist/chunks/chunk.KUPRLXKF.js +24 -0
- package/dist/chunks/chunk.KVCUZESG.js +11 -0
- package/dist/chunks/chunk.KVLA6MJP.js +24 -0
- package/dist/chunks/chunk.KX3AWJGD.js +75 -0
- package/dist/chunks/chunk.L2UMF4LX.js +521 -0
- package/dist/chunks/chunk.L3P6XDZR.js +11 -0
- package/dist/chunks/chunk.LCJJS33B.js +109 -0
- package/dist/chunks/chunk.LKE45CFU.js +11 -0
- package/dist/chunks/chunk.LLBREKZJ.js +42 -0
- package/dist/chunks/chunk.LMRNVRTA.js +11 -0
- package/dist/chunks/chunk.LPC7BEEV.js +24 -0
- package/dist/chunks/chunk.LQAYM5UF.js +11 -0
- package/dist/chunks/chunk.MKVYLJFQ.js +91 -0
- package/dist/chunks/chunk.MP3W2RRC.js +11 -0
- package/dist/chunks/chunk.MZ5NIS2C.js +24 -0
- package/dist/chunks/chunk.NFX7JLPC.js +11 -0
- package/dist/chunks/chunk.NFYQ6VKM.js +27 -0
- package/dist/chunks/chunk.NPGVJ6M4.js +335 -0
- package/dist/chunks/chunk.NTOE62GR.js +21 -0
- package/dist/chunks/chunk.NUGH5SM7.js +1207 -0
- package/dist/chunks/chunk.NUZWUSIN.js +174 -0
- package/dist/chunks/chunk.NXRHXGRX.js +274 -0
- package/dist/chunks/chunk.OACU5Y45.js +11 -0
- package/dist/chunks/chunk.OAUD5IJS.js +28 -0
- package/dist/chunks/chunk.OBA3HCZM.js +135 -0
- package/dist/chunks/chunk.ODW6NXZY.js +116 -0
- package/dist/chunks/chunk.OI7UIFBG.js +827 -0
- package/dist/chunks/chunk.OQUI3WJM.js +11 -0
- package/dist/chunks/chunk.OSDDNAEY.js +582 -0
- package/dist/chunks/chunk.OUQAJYXD.js +1062 -0
- package/dist/chunks/chunk.OZ7SJI5K.js +181 -0
- package/dist/chunks/chunk.PAHLAYIL.js +11 -0
- package/dist/chunks/chunk.PCXK4CJ6.js +117 -0
- package/dist/chunks/chunk.PFWFLEUH.js +87 -0
- package/dist/chunks/chunk.PFYJ2AUW.js +11 -0
- package/dist/chunks/chunk.PGZZ5DYN.js +126 -0
- package/dist/chunks/chunk.PNKR4LPV.js +11 -0
- package/dist/chunks/chunk.PQ4PH4OY.js +167 -0
- package/dist/chunks/chunk.PRTC5BSH.js +21 -0
- package/dist/chunks/chunk.PTLH5SSG.js +11 -0
- package/dist/chunks/chunk.PUBXHU4C.js +29 -0
- package/dist/chunks/chunk.PYF5CRIQ.js +21 -0
- package/dist/chunks/chunk.PZU7JLOP.js +21 -0
- package/dist/chunks/chunk.Q7GSXZQC.js +154 -0
- package/dist/chunks/chunk.QI5WBECN.js +24 -0
- package/dist/chunks/chunk.QIC3NUZU.js +11 -0
- package/dist/chunks/chunk.QNMNO6HU.js +180 -0
- package/dist/chunks/chunk.QSRDKZOY.js +317 -0
- package/dist/chunks/chunk.QU4KUNBZ.js +63 -0
- package/dist/chunks/chunk.QWVXQ7BC.js +11 -0
- package/dist/chunks/chunk.QXFYMGOI.js +29 -0
- package/dist/chunks/chunk.R2CQIIT7.js +11 -0
- package/dist/chunks/chunk.R4UJU4AR.js +21 -0
- package/dist/chunks/chunk.R5CWYDWE.js +21 -0
- package/dist/chunks/chunk.R7H4HRTR.js +11 -0
- package/dist/chunks/chunk.RK72Q2OF.js +24 -0
- package/dist/chunks/chunk.ROEIPQSG.js +171 -0
- package/dist/chunks/chunk.RQQSQWPD.js +21 -0
- package/dist/chunks/chunk.RQVW2XYM.js +119 -0
- package/dist/chunks/chunk.RS3OOEPP.js +209 -0
- package/dist/chunks/chunk.S4DRT76L.js +75 -0
- package/dist/chunks/chunk.S7TCWWHZ.js +100 -0
- package/dist/chunks/chunk.SC2NREHQ.js +21 -0
- package/dist/chunks/chunk.SDLATFGJ.js +11 -0
- package/dist/chunks/chunk.SFGFB2PZ.js +100 -0
- package/dist/chunks/chunk.SPCAMCEX.js +33 -0
- package/dist/chunks/chunk.SUUEL4JA.js +80 -0
- package/dist/chunks/chunk.SX22NE4O.js +11 -0
- package/dist/chunks/chunk.SYWKMWL2.js +11 -0
- package/dist/chunks/chunk.SZ3FV7M6.js +11 -0
- package/dist/chunks/chunk.T3IPXK6B.js +35 -0
- package/dist/chunks/chunk.T47NZ5K2.js +24 -0
- package/dist/chunks/chunk.T4ZRNFG5.js +86 -0
- package/dist/chunks/chunk.T6KYR7RO.js +111 -0
- package/dist/chunks/chunk.TLZKVAO2.js +11 -0
- package/dist/chunks/chunk.U2YA4FVN.js +11 -0
- package/dist/chunks/chunk.U3GVBGML.js +11 -0
- package/dist/chunks/chunk.UIAGUD4N.js +26 -0
- package/dist/chunks/chunk.UMHU7PFL.js +24 -0
- package/dist/chunks/chunk.UN2CUHFC.js +192 -0
- package/dist/chunks/chunk.UQEWKLVV.js +198 -0
- package/dist/chunks/chunk.UZF3DKGJ.js +21 -0
- package/dist/chunks/chunk.VE43IXIY.js +25 -0
- package/dist/chunks/chunk.VHA3VE4H.js +27 -0
- package/dist/chunks/chunk.VQONJSPR.js +11 -0
- package/dist/chunks/chunk.WABS3QLI.js +627 -0
- package/dist/chunks/chunk.WB7WTHG2.js +11 -0
- package/dist/chunks/chunk.WMEX6POO.js +21 -0
- package/dist/chunks/chunk.WMPB3CCT.js +134 -0
- package/dist/chunks/chunk.WODKU2XW.js +21 -0
- package/dist/chunks/chunk.WRP7L7IZ.js +11 -0
- package/dist/chunks/chunk.XAND5TQC.js +550 -0
- package/dist/chunks/chunk.XDJKW3K3.js +11 -0
- package/dist/chunks/chunk.XEKXHZSY.js +21 -0
- package/dist/chunks/chunk.XG7FP4JX.js +29 -0
- package/dist/chunks/chunk.XHK2ZVW3.js +11 -0
- package/dist/chunks/chunk.XI5SHNMS.js +11 -0
- package/dist/chunks/chunk.XPRRTNPY.js +502 -0
- package/dist/chunks/chunk.XWRZN2AX.js +348 -0
- package/dist/chunks/chunk.XZMD3IYZ.js +25 -0
- package/dist/chunks/chunk.YDB7E2CZ.js +278 -0
- package/dist/chunks/chunk.YDQI3CCD.js +949 -0
- package/dist/chunks/chunk.YGHUX2VO.js +151 -0
- package/dist/chunks/chunk.YQB6FNAQ.js +263 -0
- package/dist/chunks/chunk.YT6TJKCG.js +45 -0
- package/dist/chunks/chunk.YTJFI5QB.js +21 -0
- package/dist/chunks/chunk.YWSBDVJJ.js +11 -0
- package/dist/chunks/chunk.Z3NJRMOT.js +11 -0
- package/dist/chunks/chunk.Z4T4ACAK.js +25 -0
- package/dist/chunks/chunk.ZTUHTPZY.js +372 -0
- package/dist/chunks/chunk.ZVCDTHKY.js +24 -0
- package/dist/chunks/chunk.ZWG4BHQI.js +227 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +4 -4
- package/dist/components/animated-image/animated-image.js +5 -5
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +4 -4
- package/dist/components/button/button.js +5 -5
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +14 -14
- package/dist/components/calendar/calendar.js +15 -15
- package/dist/components/calendar-picker/calendar-picker.component.js +6 -6
- package/dist/components/calendar-picker/calendar-picker.js +6 -6
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/cascader/cascader.component.js +28 -0
- package/dist/components/cascader/cascader.js +29 -0
- package/dist/components/cascader/cascader.styles.js +7 -0
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/col/col.component.js +2 -2
- package/dist/components/col/col.js +3 -3
- package/dist/components/color-picker/color-picker.component.js +11 -11
- package/dist/components/color-picker/color-picker.js +12 -12
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/date-panel/date-panel.component.js +11 -11
- package/dist/components/date-panel/date-panel.js +11 -11
- package/dist/components/datepicker/datepicker.component.js +17 -17
- package/dist/components/datepicker/datepicker.js +17 -17
- package/dist/components/daterangepicker/daterangepicker.component.js +13 -13
- package/dist/components/daterangepicker/daterangepicker.js +14 -14
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/float-button/float-button.component.js +5 -5
- package/dist/components/float-button/float-button.js +6 -6
- package/dist/components/float-button-group/float-button-group.component.js +3 -3
- package/dist/components/float-button-group/float-button-group.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image/image.component.js +2 -2
- package/dist/components/image/image.js +2 -2
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/image-preview-group/image-preview-group.component.js +2 -2
- package/dist/components/image-preview-group/image-preview-group.js +2 -2
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +3 -3
- package/dist/components/input/input.js +4 -4
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +6 -6
- package/dist/components/menu-item/menu-item.js +7 -7
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +10 -10
- package/dist/components/nav/nav.js +11 -11
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +4 -4
- package/dist/components/nav-submenu/nav-submenu.js +5 -5
- package/dist/components/notification/notification.component.js +6 -6
- package/dist/components/notification/notification.js +7 -7
- package/dist/components/notification/notification.styles.js +1 -1
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +9 -9
- package/dist/components/pagination/pagination.component.js +10 -10
- package/dist/components/pagination/pagination.js +10 -10
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/row/row.component.js +2 -2
- package/dist/components/row/row.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/segmented/segmented.component.js +6 -6
- package/dist/components/segmented/segmented.js +7 -7
- package/dist/components/segmented/segmented.styles.js +1 -1
- package/dist/components/select/select.component.js +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/sender/sender.component.js +16 -16
- package/dist/components/sender/sender.js +17 -17
- package/dist/components/sender/sender.styles.js +1 -1
- package/dist/components/sender-header/sender-header.component.js +5 -5
- package/dist/components/sender-header/sender-header.js +6 -6
- package/dist/components/sender-switch/sender-switch.component.js +5 -5
- package/dist/components/sender-switch/sender-switch.js +6 -6
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/space/space.component.js +2 -2
- package/dist/components/space/space.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/steps/steps.component.js +3 -3
- package/dist/components/steps/steps.js +4 -4
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/features/index.js +3 -3
- package/dist/components/table/footer-table.js +2 -2
- package/dist/components/table/head-table.js +19 -19
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +30 -30
- package/dist/components/table/table.js +31 -31
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/think/think.component.js +4 -4
- package/dist/components/think/think.js +5 -5
- package/dist/components/thought-chain/thought-chain.component.js +2 -2
- package/dist/components/thought-chain/thought-chain.js +3 -3
- package/dist/components/thought-chain-item/thought-chain-item.component.js +4 -4
- package/dist/components/thought-chain-item/thought-chain-item.js +5 -5
- package/dist/components/thought-chain-node/thought-chain-node.component.js +4 -4
- package/dist/components/thought-chain-node/thought-chain-node.js +5 -5
- package/dist/components/time-panel/time-panel.component.js +5 -5
- package/dist/components/time-panel/time-panel.js +5 -5
- package/dist/components/timepicker/timepicker.component.js +17 -17
- package/dist/components/timepicker/timepicker.js +17 -17
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/components/tree-select/tree-select.component.js +15 -15
- package/dist/components/tree-select/tree-select.js +16 -16
- package/dist/components/tree-select/tree-select.styles.js +1 -1
- package/dist/components/upload/upload.component.js +36 -0
- package/dist/components/upload/upload.js +40 -0
- package/dist/components/upload/upload.styles.js +7 -0
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/components/x-markdown/x-markdown.component.js +2 -2
- package/dist/components/x-markdown/x-markdown.js +3 -3
- package/dist/custom-elements.json +11968 -9864
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +5 -5
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +5 -5
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/calendar/index.js +15 -15
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/cascader/index.js +29 -0
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/col/index.js +3 -3
- package/dist/react/color-picker/index.js +12 -12
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +12 -12
- package/dist/react/datepicker/index.js +18 -18
- package/dist/react/daterangepicker/index.js +14 -14
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +6 -6
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/float-button/index.js +6 -6
- package/dist/react/float-button-group/index.js +4 -4
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image/index.js +3 -3
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/image-preview-group/index.js +3 -3
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.js +301 -289
- package/dist/react/input/index.js +4 -4
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +7 -7
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +11 -11
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +5 -5
- package/dist/react/notification/index.js +7 -7
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +11 -11
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/row/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/segmented/index.js +7 -7
- package/dist/react/select/index.js +10 -10
- package/dist/react/sender/index.js +17 -17
- package/dist/react/sender-header/index.js +6 -6
- package/dist/react/sender-switch/index.js +6 -6
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/space/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/steps/index.js +4 -4
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +31 -31
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/think/index.js +5 -5
- package/dist/react/thought-chain/index.js +3 -3
- package/dist/react/thought-chain-item/index.js +5 -5
- package/dist/react/thought-chain-node/index.js +5 -5
- package/dist/react/timepicker/index.js +18 -18
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/tree-select/index.js +16 -16
- package/dist/react/upload/index.js +37 -0
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/react/x-markdown/index.js +3 -3
- package/dist/shoelace.js +291 -285
- package/dist/types/vue/index.d.ts +1520 -1279
- package/dist/vscode.html-custom-data.json +1217 -998
- package/dist/web-types.json +3865 -3245
- package/package.json +1 -1
- package/cdn/chunks/chunk.23QHLX7Y.js +0 -24
- package/cdn/chunks/chunk.25CEYC2P.js +0 -402
- package/cdn/chunks/chunk.2DJI4SQN.js +0 -63
- package/cdn/chunks/chunk.2UL5MJZR.js +0 -11
- package/cdn/chunks/chunk.2YKUA75C.js +0 -25
- package/cdn/chunks/chunk.3GSXIQJL.js +0 -24
- package/cdn/chunks/chunk.3HDOMGSY.js +0 -24
- package/cdn/chunks/chunk.3LRCCRPL.js +0 -1071
- package/cdn/chunks/chunk.3MLPKE5Z.js +0 -11
- package/cdn/chunks/chunk.3OOTYMHY.js +0 -11
- package/cdn/chunks/chunk.3WGMA5NB.js +0 -341
- package/cdn/chunks/chunk.3XUPPQFL.js +0 -11
- package/cdn/chunks/chunk.3ZIKZ6CH.js +0 -7428
- package/cdn/chunks/chunk.44ZU24AV.js +0 -391
- package/cdn/chunks/chunk.45PLY3R4.js +0 -27
- package/cdn/chunks/chunk.4DXHZXZ3.js +0 -586
- package/cdn/chunks/chunk.4IZUNHS2.js +0 -82
- package/cdn/chunks/chunk.4K7TQAWD.js +0 -42
- package/cdn/chunks/chunk.4KQL2A2W.js +0 -291
- package/cdn/chunks/chunk.4V5UYW5L.js +0 -21
- package/cdn/chunks/chunk.4VCP753H.js +0 -27
- package/cdn/chunks/chunk.57BRTC6R.js +0 -734
- package/cdn/chunks/chunk.5AHWBAQI.js +0 -28
- package/cdn/chunks/chunk.5AIHKQGP.js +0 -279
- package/cdn/chunks/chunk.5CWRNVCH.js +0 -281
- package/cdn/chunks/chunk.5EFAXWGH.js +0 -26
- package/cdn/chunks/chunk.65HJAS62.js +0 -11
- package/cdn/chunks/chunk.65KGY6HG.js +0 -24
- package/cdn/chunks/chunk.67GDE55M.js +0 -11
- package/cdn/chunks/chunk.6FNVUQX3.js +0 -24
- package/cdn/chunks/chunk.6GKKEG4W.js +0 -11
- package/cdn/chunks/chunk.6YBNMO6H.js +0 -11
- package/cdn/chunks/chunk.72RU32W5.js +0 -54
- package/cdn/chunks/chunk.77WDIXHH.js +0 -67
- package/cdn/chunks/chunk.7DJSP52Q.js +0 -216
- package/cdn/chunks/chunk.7IGAO4XQ.js +0 -93
- package/cdn/chunks/chunk.7JTMDATQ.js +0 -28
- package/cdn/chunks/chunk.7KIFZXND.js +0 -299
- package/cdn/chunks/chunk.7MMSL5CB.js +0 -1884
- package/cdn/chunks/chunk.7ORRYLJZ.js +0 -25
- package/cdn/chunks/chunk.A34BK7KP.js +0 -11
- package/cdn/chunks/chunk.A77HOFQ2.js +0 -588
- package/cdn/chunks/chunk.A7DNLP5C.js +0 -27
- package/cdn/chunks/chunk.ABMDO365.js +0 -11
- package/cdn/chunks/chunk.AE3LM7P7.js +0 -11
- package/cdn/chunks/chunk.AFBNH3QD.js +0 -29
- package/cdn/chunks/chunk.AGUU2MAQ.js +0 -219
- package/cdn/chunks/chunk.AIR3TPGS.js +0 -11
- package/cdn/chunks/chunk.AITVS2H6.js +0 -140
- package/cdn/chunks/chunk.AMCKDUMQ.js +0 -1213
- package/cdn/chunks/chunk.ANHNOQVC.js +0 -11
- package/cdn/chunks/chunk.ANP2FALH.js +0 -346
- package/cdn/chunks/chunk.AO7TO4GV.js +0 -103
- package/cdn/chunks/chunk.AR3V2CCM.js +0 -79
- package/cdn/chunks/chunk.AWWOMIUG.js +0 -24
- package/cdn/chunks/chunk.AX54XWQL.js +0 -114
- package/cdn/chunks/chunk.AXNUJIA7.js +0 -11
- package/cdn/chunks/chunk.B3WUCT6M.js +0 -11
- package/cdn/chunks/chunk.B7JPO47W.js +0 -179
- package/cdn/chunks/chunk.BEYY4ZSX.js +0 -24
- package/cdn/chunks/chunk.BOI6VSEB.js +0 -271
- package/cdn/chunks/chunk.BRRJUBFJ.js +0 -27
- package/cdn/chunks/chunk.BTCGHJQ5.js +0 -118
- package/cdn/chunks/chunk.C443BB46.js +0 -36
- package/cdn/chunks/chunk.C45KC3CB.js +0 -27
- package/cdn/chunks/chunk.C4LYL4ZJ.js +0 -24
- package/cdn/chunks/chunk.C74NW3U6.js +0 -127
- package/cdn/chunks/chunk.CC6FKMIF.js +0 -29
- package/cdn/chunks/chunk.CD4BRB5S.js +0 -177
- package/cdn/chunks/chunk.CLPGB636.js +0 -11
- package/cdn/chunks/chunk.CP7CBBTM.js +0 -11
- package/cdn/chunks/chunk.CR4C3C4I.js +0 -11
- package/cdn/chunks/chunk.CRSORN74.js +0 -11
- package/cdn/chunks/chunk.CVJNNXWI.js +0 -137
- package/cdn/chunks/chunk.CWNGJFLY.js +0 -11
- package/cdn/chunks/chunk.D42MRYX6.js +0 -11
- package/cdn/chunks/chunk.DRGH4C7W.js +0 -292
- package/cdn/chunks/chunk.DTZU4OSP.js +0 -11
- package/cdn/chunks/chunk.DXB2KK7N.js +0 -26
- package/cdn/chunks/chunk.DXIZYCV4.js +0 -1990
- package/cdn/chunks/chunk.DXY4M3P4.js +0 -163
- package/cdn/chunks/chunk.DYVJZW2G.js +0 -11
- package/cdn/chunks/chunk.DZGQEVAP.js +0 -724
- package/cdn/chunks/chunk.EGBVY2LO.js +0 -11
- package/cdn/chunks/chunk.EHEQOCE5.js +0 -21
- package/cdn/chunks/chunk.EPINEDNV.js +0 -24
- package/cdn/chunks/chunk.EQMJJEIC.js +0 -835
- package/cdn/chunks/chunk.ESPJE4YF.js +0 -11
- package/cdn/chunks/chunk.EVHGUWDU.js +0 -21
- package/cdn/chunks/chunk.EZVIGBAG.js +0 -11
- package/cdn/chunks/chunk.F23YCXEU.js +0 -11
- package/cdn/chunks/chunk.F2WJ3FHE.js +0 -120
- package/cdn/chunks/chunk.F5QEJGT4.js +0 -11
- package/cdn/chunks/chunk.FJBAA46W.js +0 -11
- package/cdn/chunks/chunk.FLZUIT6G.js +0 -50
- package/cdn/chunks/chunk.FMDWOS42.js +0 -128
- package/cdn/chunks/chunk.G3F35NBL.js +0 -11
- package/cdn/chunks/chunk.G3MDQA7D.js +0 -379
- package/cdn/chunks/chunk.G4IQ7MFA.js +0 -21
- package/cdn/chunks/chunk.GALL7CV7.js +0 -11
- package/cdn/chunks/chunk.GHIEHTWN.js +0 -368
- package/cdn/chunks/chunk.GMUA3X5W.js +0 -28
- package/cdn/chunks/chunk.GNMLR3DK.js +0 -11
- package/cdn/chunks/chunk.GPQNURRO.js +0 -21
- package/cdn/chunks/chunk.GQ7SPWQG.js +0 -27
- package/cdn/chunks/chunk.GTPO2VYT.js +0 -26
- package/cdn/chunks/chunk.GV6Z5XVS.js +0 -11
- package/cdn/chunks/chunk.H24X73HY.js +0 -21
- package/cdn/chunks/chunk.H74WRSL7.js +0 -5845
- package/cdn/chunks/chunk.HMHIVNIH.js +0 -35
- package/cdn/chunks/chunk.HXXP2OLW.js +0 -21
- package/cdn/chunks/chunk.IBQ7WLDM.js +0 -130
- package/cdn/chunks/chunk.ICL3CILI.js +0 -142
- package/cdn/chunks/chunk.ICTBN4BL.js +0 -24
- package/cdn/chunks/chunk.IDR7ZL4Y.js +0 -28
- package/cdn/chunks/chunk.IFPPKR7Z.js +0 -11
- package/cdn/chunks/chunk.IHXXQER7.js +0 -75
- package/cdn/chunks/chunk.IMAUP6QR.js +0 -1932
- package/cdn/chunks/chunk.IMR3SSNN.js +0 -113
- package/cdn/chunks/chunk.IP5RDWCD.js +0 -605
- package/cdn/chunks/chunk.IREWHV4F.js +0 -11
- package/cdn/chunks/chunk.IRZB6KG2.js +0 -26
- package/cdn/chunks/chunk.ITZWGDMR.js +0 -11
- package/cdn/chunks/chunk.IVBT7VJW.js +0 -77
- package/cdn/chunks/chunk.J6FE2TPT.js +0 -11
- package/cdn/chunks/chunk.J7NRTKP4.js +0 -25
- package/cdn/chunks/chunk.JDPBVOL2.js +0 -276
- package/cdn/chunks/chunk.JI7AFUU7.js +0 -26
- package/cdn/chunks/chunk.JJ6JAL34.js +0 -199
- package/cdn/chunks/chunk.JS54CBID.js +0 -60
- package/cdn/chunks/chunk.JWCFMMGH.js +0 -11
- package/cdn/chunks/chunk.K26QLIIX.js +0 -29
- package/cdn/chunks/chunk.K55TK2TS.js +0 -11
- package/cdn/chunks/chunk.KAK542DR.js +0 -73
- package/cdn/chunks/chunk.KCTFZ4US.js +0 -11
- package/cdn/chunks/chunk.KETGOT5B.js +0 -11
- package/cdn/chunks/chunk.KFJA6LLS.js +0 -25
- package/cdn/chunks/chunk.KILXZ5T3.js +0 -11
- package/cdn/chunks/chunk.KNZQ3B55.js +0 -11
- package/cdn/chunks/chunk.KQTAUQKX.js +0 -21
- package/cdn/chunks/chunk.KRULBWZQ.js +0 -11
- package/cdn/chunks/chunk.KSUXQGWE.js +0 -25
- package/cdn/chunks/chunk.KTGACKIW.js +0 -215
- package/cdn/chunks/chunk.KWPIK6IV.js +0 -11
- package/cdn/chunks/chunk.L3QO2LZ3.js +0 -24
- package/cdn/chunks/chunk.LCZJQNPD.js +0 -330
- package/cdn/chunks/chunk.LG5ZB5MS.js +0 -11
- package/cdn/chunks/chunk.LMA3ONRQ.js +0 -21
- package/cdn/chunks/chunk.LNG35EAO.js +0 -11
- package/cdn/chunks/chunk.LP5SPOM7.js +0 -11
- package/cdn/chunks/chunk.LPIKQCCQ.js +0 -24
- package/cdn/chunks/chunk.LWEVIQEN.js +0 -11
- package/cdn/chunks/chunk.M3LG7QWZ.js +0 -255
- package/cdn/chunks/chunk.M6WJ447E.js +0 -11
- package/cdn/chunks/chunk.M77NF2B6.js +0 -25
- package/cdn/chunks/chunk.MEH7RL2X.js +0 -236
- package/cdn/chunks/chunk.MF46L7NQ.js +0 -21
- package/cdn/chunks/chunk.MIDZUIYE.js +0 -29
- package/cdn/chunks/chunk.MLOBXFOS.js +0 -25
- package/cdn/chunks/chunk.MUVUHN43.js +0 -24
- package/cdn/chunks/chunk.MVI7FTDP.js +0 -133
- package/cdn/chunks/chunk.MZWRXVJE.js +0 -233
- package/cdn/chunks/chunk.N5OEOD33.js +0 -95
- package/cdn/chunks/chunk.N6OOHDSF.js +0 -122
- package/cdn/chunks/chunk.NEBIQB7W.js +0 -21
- package/cdn/chunks/chunk.NGMZJ7SP.js +0 -21
- package/cdn/chunks/chunk.NJ2NYEQF.js +0 -21
- package/cdn/chunks/chunk.NMZYLYO7.js +0 -186
- package/cdn/chunks/chunk.NOWRJNDO.js +0 -11
- package/cdn/chunks/chunk.NSGCJHNE.js +0 -11
- package/cdn/chunks/chunk.O257MKAI.js +0 -454
- package/cdn/chunks/chunk.O3KJB2B6.js +0 -92
- package/cdn/chunks/chunk.O5WA4ZVB.js +0 -647
- package/cdn/chunks/chunk.OFMNHTER.js +0 -21
- package/cdn/chunks/chunk.OIQPPAI7.js +0 -11
- package/cdn/chunks/chunk.OOF4C73V.js +0 -11
- package/cdn/chunks/chunk.OOWKWDAW.js +0 -354
- package/cdn/chunks/chunk.OS37Q7VF.js +0 -11
- package/cdn/chunks/chunk.OW3RSXNT.js +0 -11
- package/cdn/chunks/chunk.OWEOVIJL.js +0 -11
- package/cdn/chunks/chunk.OZ4UMO32.js +0 -28
- package/cdn/chunks/chunk.OZL2GUYW.js +0 -11
- package/cdn/chunks/chunk.P5VAN2EI.js +0 -510
- package/cdn/chunks/chunk.PBWJJYIF.js +0 -11
- package/cdn/chunks/chunk.PJUBBP2G.js +0 -26
- package/cdn/chunks/chunk.PNJ3KWID.js +0 -302
- package/cdn/chunks/chunk.PO644HRU.js +0 -97
- package/cdn/chunks/chunk.PRLVJDWQ.js +0 -21
- package/cdn/chunks/chunk.Q4RWPARF.js +0 -29
- package/cdn/chunks/chunk.Q4SDVEUI.js +0 -33
- package/cdn/chunks/chunk.Q7QXAWEO.js +0 -21
- package/cdn/chunks/chunk.QJIXWKTC.js +0 -21
- package/cdn/chunks/chunk.QMJOZMUC.js +0 -455
- package/cdn/chunks/chunk.QQ2I63JA.js +0 -11
- package/cdn/chunks/chunk.QT2FJXEB.js +0 -21
- package/cdn/chunks/chunk.QT4TTZEJ.js +0 -11
- package/cdn/chunks/chunk.QYWEWZG2.js +0 -29
- package/cdn/chunks/chunk.QZWOTNMZ.js +0 -25
- package/cdn/chunks/chunk.RBGCQY5T.js +0 -331
- package/cdn/chunks/chunk.RBZ4NS4A.js +0 -21
- package/cdn/chunks/chunk.RCVYX3ZN.js +0 -500
- package/cdn/chunks/chunk.RGSK67BL.js +0 -154
- package/cdn/chunks/chunk.RRZLPFFJ.js +0 -21
- package/cdn/chunks/chunk.RSXBIA2M.js +0 -410
- package/cdn/chunks/chunk.RYCBQSOX.js +0 -158
- package/cdn/chunks/chunk.SFMLMPTX.js +0 -543
- package/cdn/chunks/chunk.SFND4CGR.js +0 -11
- package/cdn/chunks/chunk.SHI3LD5A.js +0 -24
- package/cdn/chunks/chunk.SI5KYZS4.js +0 -27
- package/cdn/chunks/chunk.SJTCGOKK.js +0 -201
- package/cdn/chunks/chunk.SRY6FMNZ.js +0 -21
- package/cdn/chunks/chunk.ST3VMWGP.js +0 -186
- package/cdn/chunks/chunk.SXDFTZO2.js +0 -156
- package/cdn/chunks/chunk.T3JRJQZ2.js +0 -915
- package/cdn/chunks/chunk.T4CLR64J.js +0 -21
- package/cdn/chunks/chunk.T5TAZGGZ.js +0 -25
- package/cdn/chunks/chunk.T6GDJRWU.js +0 -21
- package/cdn/chunks/chunk.TCIRF4BE.js +0 -24
- package/cdn/chunks/chunk.TGTTU3KW.js +0 -11
- package/cdn/chunks/chunk.TIFQGLOW.js +0 -21
- package/cdn/chunks/chunk.TMW6ISKF.js +0 -11
- package/cdn/chunks/chunk.TQJCNHPM.js +0 -21
- package/cdn/chunks/chunk.TUXI7QVG.js +0 -371
- package/cdn/chunks/chunk.U3CFPTGH.js +0 -27
- package/cdn/chunks/chunk.UAVB46WN.js +0 -91
- package/cdn/chunks/chunk.UGIT4N3W.js +0 -21
- package/cdn/chunks/chunk.US6ZKYNK.js +0 -472
- package/cdn/chunks/chunk.UX2LTUQK.js +0 -11
- package/cdn/chunks/chunk.V35TCSO4.js +0 -28
- package/cdn/chunks/chunk.V4RZLJGF.js +0 -11
- package/cdn/chunks/chunk.VBYHPZ4Q.js +0 -25
- package/cdn/chunks/chunk.VCUGQRT3.js +0 -49
- package/cdn/chunks/chunk.VLAHE3TN.js +0 -25
- package/cdn/chunks/chunk.VLI6IUVU.js +0 -135
- package/cdn/chunks/chunk.VUIZR33J.js +0 -24
- package/cdn/chunks/chunk.W2CB57X7.js +0 -236
- package/cdn/chunks/chunk.W3A3GX7G.js +0 -11
- package/cdn/chunks/chunk.WBDQS2UJ.js +0 -24
- package/cdn/chunks/chunk.WBIOWWDZ.js +0 -11
- package/cdn/chunks/chunk.WCMATBVI.js +0 -215
- package/cdn/chunks/chunk.WFQWAECE.js +0 -11
- package/cdn/chunks/chunk.WLFCVICG.js +0 -87
- package/cdn/chunks/chunk.WSJTKBDO.js +0 -329
- package/cdn/chunks/chunk.WU56JBCN.js +0 -193
- package/cdn/chunks/chunk.WVJEWOZ4.js +0 -11
- package/cdn/chunks/chunk.WZALITJN.js +0 -11
- package/cdn/chunks/chunk.WZI7YTQF.js +0 -153
- package/cdn/chunks/chunk.X2FRGSNF.js +0 -92
- package/cdn/chunks/chunk.X3HMGLLN.js +0 -49
- package/cdn/chunks/chunk.XDRJZEJJ.js +0 -24
- package/cdn/chunks/chunk.XHUVAOFS.js +0 -11
- package/cdn/chunks/chunk.XNEZAO47.js +0 -11
- package/cdn/chunks/chunk.XPALY2OV.js +0 -21
- package/cdn/chunks/chunk.XRDT5GME.js +0 -11
- package/cdn/chunks/chunk.XS2546ZR.js +0 -11
- package/cdn/chunks/chunk.XSXDKKV6.js +0 -29
- package/cdn/chunks/chunk.XUUOTTHF.js +0 -161
- package/cdn/chunks/chunk.XVM6KEGR.js +0 -11
- package/cdn/chunks/chunk.XW65IP2K.js +0 -11
- package/cdn/chunks/chunk.Y6DX6LOW.js +0 -11
- package/cdn/chunks/chunk.YAKUK2MU.js +0 -11
- package/cdn/chunks/chunk.YD6ADISP.js +0 -11
- package/cdn/chunks/chunk.YDRP4ZO2.js +0 -24
- package/cdn/chunks/chunk.YEP47ZRM.js +0 -197
- package/cdn/chunks/chunk.YHOUTFIS.js +0 -31
- package/cdn/chunks/chunk.YPN5HAGL.js +0 -336
- package/cdn/chunks/chunk.YWXRVTHX.js +0 -21
- package/cdn/chunks/chunk.Z7D4KMST.js +0 -21
- package/cdn/chunks/chunk.Z7MG6R3V.js +0 -11
- package/cdn/chunks/chunk.ZCFVO2BJ.js +0 -11
- package/cdn/chunks/chunk.ZD2HVBRN.js +0 -11
- package/cdn/chunks/chunk.ZJFASXYJ.js +0 -320
- package/cdn/chunks/chunk.ZNKY5PUA.js +0 -21
- package/cdn/chunks/chunk.ZV6NLSYN.js +0 -24
- package/cdn/chunks/chunk.ZWTURMK5.js +0 -21
- package/dist/chunks/chunk.23QVVNY5.js +0 -11
- package/dist/chunks/chunk.2D67MJAJ.js +0 -31
- package/dist/chunks/chunk.2I4Y2VV2.js +0 -52
- package/dist/chunks/chunk.2PZJ2RBK.js +0 -11
- package/dist/chunks/chunk.2WGMZUC4.js +0 -25
- package/dist/chunks/chunk.2XCTVWKR.js +0 -24
- package/dist/chunks/chunk.2XIHUXAO.js +0 -11
- package/dist/chunks/chunk.2Y4BR4YM.js +0 -11
- package/dist/chunks/chunk.376NTJKJ.js +0 -34
- package/dist/chunks/chunk.37OK4ECH.js +0 -227
- package/dist/chunks/chunk.3ALQFOCE.js +0 -198
- package/dist/chunks/chunk.3EEFKOXQ.js +0 -937
- package/dist/chunks/chunk.3EUHR5SZ.js +0 -148
- package/dist/chunks/chunk.3Q5ZZNHH.js +0 -119
- package/dist/chunks/chunk.3VLVKQ6E.js +0 -21
- package/dist/chunks/chunk.3YAFBBHU.js +0 -194
- package/dist/chunks/chunk.42LI5NDP.js +0 -337
- package/dist/chunks/chunk.435MCRQZ.js +0 -11
- package/dist/chunks/chunk.43EYBAY7.js +0 -25
- package/dist/chunks/chunk.45PBKCNU.js +0 -322
- package/dist/chunks/chunk.4A3XVWV7.js +0 -190
- package/dist/chunks/chunk.4BGCXS27.js +0 -24
- package/dist/chunks/chunk.4D3UWWAO.js +0 -424
- package/dist/chunks/chunk.4GFTP7L6.js +0 -11
- package/dist/chunks/chunk.4L3LUJBG.js +0 -25
- package/dist/chunks/chunk.4MT5HY3W.js +0 -28
- package/dist/chunks/chunk.4O6HDAN5.js +0 -11
- package/dist/chunks/chunk.4SWVKJBA.js +0 -21
- package/dist/chunks/chunk.53USOTO4.js +0 -11
- package/dist/chunks/chunk.5HEMGKJA.js +0 -29
- package/dist/chunks/chunk.5K3WQDPP.js +0 -25
- package/dist/chunks/chunk.5OLUB5HL.js +0 -11
- package/dist/chunks/chunk.5PWPGYLP.js +0 -550
- package/dist/chunks/chunk.5S7LBQ2B.js +0 -11
- package/dist/chunks/chunk.5SN3J3BY.js +0 -135
- package/dist/chunks/chunk.5XJCVQGW.js +0 -25
- package/dist/chunks/chunk.64FK4YRH.js +0 -29
- package/dist/chunks/chunk.64SJOSTU.js +0 -11
- package/dist/chunks/chunk.64VAP7GB.js +0 -29
- package/dist/chunks/chunk.65L7JITW.js +0 -126
- package/dist/chunks/chunk.6BYUXBBJ.js +0 -117
- package/dist/chunks/chunk.6IYPP3B7.js +0 -11
- package/dist/chunks/chunk.6K6WTWGB.js +0 -25
- package/dist/chunks/chunk.6NHJRAXW.js +0 -24
- package/dist/chunks/chunk.6OUPLCGZ.js +0 -11
- package/dist/chunks/chunk.6PT7PR44.js +0 -11
- package/dist/chunks/chunk.6U3SJUX2.js +0 -192
- package/dist/chunks/chunk.6VEHYHKA.js +0 -24
- package/dist/chunks/chunk.6VQ3RZ2W.js +0 -21
- package/dist/chunks/chunk.6W4KHGMW.js +0 -11
- package/dist/chunks/chunk.6XIE7VBV.js +0 -33
- package/dist/chunks/chunk.6YEDMWJZ.js +0 -27
- package/dist/chunks/chunk.722TUWWM.js +0 -59
- package/dist/chunks/chunk.7567OT3S.js +0 -27
- package/dist/chunks/chunk.76ECXYZQ.js +0 -11
- package/dist/chunks/chunk.76VVG6G3.js +0 -22
- package/dist/chunks/chunk.7NURYHAE.js +0 -28
- package/dist/chunks/chunk.7SHUNXNH.js +0 -11
- package/dist/chunks/chunk.7WBUQSTH.js +0 -35
- package/dist/chunks/chunk.A2U4PN4M.js +0 -11
- package/dist/chunks/chunk.A44WC6VE.js +0 -21
- package/dist/chunks/chunk.AAPWOVSS.js +0 -24
- package/dist/chunks/chunk.ABKONYSU.js +0 -724
- package/dist/chunks/chunk.AIAC7VIZ.js +0 -11
- package/dist/chunks/chunk.APUDEVWD.js +0 -26
- package/dist/chunks/chunk.AT72NH34.js +0 -42
- package/dist/chunks/chunk.AWE55MFU.js +0 -214
- package/dist/chunks/chunk.B27TMGMC.js +0 -11
- package/dist/chunks/chunk.B2S6ABJT.js +0 -11
- package/dist/chunks/chunk.BRT2X6UY.js +0 -11
- package/dist/chunks/chunk.BSFPSL3Q.js +0 -209
- package/dist/chunks/chunk.BYYZZMGG.js +0 -181
- package/dist/chunks/chunk.C5O4C4PD.js +0 -151
- package/dist/chunks/chunk.CDB5EHNJ.js +0 -24
- package/dist/chunks/chunk.CFGAJCRI.js +0 -29
- package/dist/chunks/chunk.CKFHTDUI.js +0 -24
- package/dist/chunks/chunk.CMZHTGPE.js +0 -11
- package/dist/chunks/chunk.CPYAL7PB.js +0 -21
- package/dist/chunks/chunk.CRIPT3JL.js +0 -86
- package/dist/chunks/chunk.CRPCZG2L.js +0 -21
- package/dist/chunks/chunk.CSDE6AAP.js +0 -11
- package/dist/chunks/chunk.CWM4VCU7.js +0 -171
- package/dist/chunks/chunk.D5N23SRB.js +0 -494
- package/dist/chunks/chunk.DJ53OLWL.js +0 -137
- package/dist/chunks/chunk.DKI25Y7A.js +0 -397
- package/dist/chunks/chunk.DKXRQE4R.js +0 -11
- package/dist/chunks/chunk.DOOR5QZX.js +0 -384
- package/dist/chunks/chunk.DRR6CNOL.js +0 -11
- package/dist/chunks/chunk.DVBQUG3C.js +0 -11
- package/dist/chunks/chunk.DXTOFFDS.js +0 -11
- package/dist/chunks/chunk.DYELBEDM.js +0 -86
- package/dist/chunks/chunk.E33CUW6M.js +0 -25
- package/dist/chunks/chunk.E6P76LKK.js +0 -11
- package/dist/chunks/chunk.EC4XYGUN.js +0 -11
- package/dist/chunks/chunk.EG5RVFOR.js +0 -247
- package/dist/chunks/chunk.EGACN2O7.js +0 -11
- package/dist/chunks/chunk.EO6NNAW7.js +0 -21
- package/dist/chunks/chunk.EX7AIWM3.js +0 -827
- package/dist/chunks/chunk.FBEXPB2E.js +0 -21
- package/dist/chunks/chunk.FGRJGNL3.js +0 -90
- package/dist/chunks/chunk.FN5R7ZH4.js +0 -11
- package/dist/chunks/chunk.FQJRRUJI.js +0 -11
- package/dist/chunks/chunk.FY5MMQWD.js +0 -11
- package/dist/chunks/chunk.G2DGLGJU.js +0 -11
- package/dist/chunks/chunk.G3SBOPRT.js +0 -25
- package/dist/chunks/chunk.G4JBXOZZ.js +0 -63
- package/dist/chunks/chunk.G5UEZ63Y.js +0 -949
- package/dist/chunks/chunk.GA743LKC.js +0 -21
- package/dist/chunks/chunk.GAF5T2A7.js +0 -11
- package/dist/chunks/chunk.GCUSBAAT.js +0 -278
- package/dist/chunks/chunk.GCZIGZF5.js +0 -87
- package/dist/chunks/chunk.GJK3MXAT.js +0 -29
- package/dist/chunks/chunk.GRLIBBSG.js +0 -21
- package/dist/chunks/chunk.GUP5SCP6.js +0 -231
- package/dist/chunks/chunk.GXUTO6JZ.js +0 -150
- package/dist/chunks/chunk.H26EEPEZ.js +0 -11
- package/dist/chunks/chunk.H4CUBMHM.js +0 -29
- package/dist/chunks/chunk.H4OMOKSV.js +0 -93
- package/dist/chunks/chunk.HD76Z6X5.js +0 -28
- package/dist/chunks/chunk.HDL3N2D6.js +0 -96
- package/dist/chunks/chunk.HEKKQ52P.js +0 -158
- package/dist/chunks/chunk.HG2LBASI.js +0 -21
- package/dist/chunks/chunk.HGOZ52YE.js +0 -80
- package/dist/chunks/chunk.HGXUO62V.js +0 -11
- package/dist/chunks/chunk.HHAR6GHD.js +0 -11
- package/dist/chunks/chunk.HHXFF7OA.js +0 -21
- package/dist/chunks/chunk.HLC22PO5.js +0 -11
- package/dist/chunks/chunk.HQORCCR2.js +0 -11
- package/dist/chunks/chunk.HT2JNSMT.js +0 -21
- package/dist/chunks/chunk.HVTXRG34.js +0 -21
- package/dist/chunks/chunk.HYGSUURL.js +0 -21
- package/dist/chunks/chunk.I6RLWODN.js +0 -521
- package/dist/chunks/chunk.ICM7Y4L3.js +0 -448
- package/dist/chunks/chunk.ICRBVINV.js +0 -24
- package/dist/chunks/chunk.IE4QSEDX.js +0 -11
- package/dist/chunks/chunk.IVUJLEIH.js +0 -11
- package/dist/chunks/chunk.IX54OEHK.js +0 -21
- package/dist/chunks/chunk.JAATJADL.js +0 -21
- package/dist/chunks/chunk.JADAVZJZ.js +0 -100
- package/dist/chunks/chunk.JHLAS7PY.js +0 -365
- package/dist/chunks/chunk.JHRPVWQ7.js +0 -11
- package/dist/chunks/chunk.JIR5EFPL.js +0 -24
- package/dist/chunks/chunk.JM5BQC4W.js +0 -24
- package/dist/chunks/chunk.JYWL7TFB.js +0 -25
- package/dist/chunks/chunk.K5CR3W5K.js +0 -11
- package/dist/chunks/chunk.K64VD5VX.js +0 -24
- package/dist/chunks/chunk.K7TTYTGP.js +0 -11
- package/dist/chunks/chunk.KCTBAZOP.js +0 -125
- package/dist/chunks/chunk.KHM6ZQTX.js +0 -466
- package/dist/chunks/chunk.KM3TO6P2.js +0 -67
- package/dist/chunks/chunk.KNKFPL5O.js +0 -11
- package/dist/chunks/chunk.KOO7LV7Y.js +0 -11
- package/dist/chunks/chunk.KQTI43KM.js +0 -11
- package/dist/chunks/chunk.KVDLSN36.js +0 -1062
- package/dist/chunks/chunk.KYOHQND6.js +0 -21
- package/dist/chunks/chunk.L2DKDHP4.js +0 -11
- package/dist/chunks/chunk.L4CBCQF5.js +0 -73
- package/dist/chunks/chunk.LA5RDZI3.js +0 -11
- package/dist/chunks/chunk.LA7467D4.js +0 -21
- package/dist/chunks/chunk.LDXPMZPJ.js +0 -21
- package/dist/chunks/chunk.LIB3BKFI.js +0 -317
- package/dist/chunks/chunk.LU6CY4L3.js +0 -1875
- package/dist/chunks/chunk.LW4UBDTX.js +0 -21
- package/dist/chunks/chunk.M36S3F53.js +0 -24
- package/dist/chunks/chunk.M3QORU3N.js +0 -26
- package/dist/chunks/chunk.M74IPDS7.js +0 -263
- package/dist/chunks/chunk.MIBLWLCO.js +0 -320
- package/dist/chunks/chunk.MJIRIWT7.js +0 -448
- package/dist/chunks/chunk.MJKJWCJ2.js +0 -11
- package/dist/chunks/chunk.MZWHC2FQ.js +0 -147
- package/dist/chunks/chunk.NA5O7M76.js +0 -24
- package/dist/chunks/chunk.NBLDECVU.js +0 -11
- package/dist/chunks/chunk.NDB2PURH.js +0 -126
- package/dist/chunks/chunk.NJC4NREC.js +0 -582
- package/dist/chunks/chunk.NMHNVTUG.js +0 -911
- package/dist/chunks/chunk.NSS5QJ7X.js +0 -21
- package/dist/chunks/chunk.NSYJIIAT.js +0 -26
- package/dist/chunks/chunk.NYBXA7XL.js +0 -75
- package/dist/chunks/chunk.O7WPFMPE.js +0 -29
- package/dist/chunks/chunk.OC37E34I.js +0 -50
- package/dist/chunks/chunk.OG47FCVL.js +0 -25
- package/dist/chunks/chunk.OIQ66L7P.js +0 -154
- package/dist/chunks/chunk.OJSQN5MT.js +0 -28
- package/dist/chunks/chunk.OLJMUDEI.js +0 -335
- package/dist/chunks/chunk.OQVJOILL.js +0 -11
- package/dist/chunks/chunk.OXZAK47N.js +0 -11
- package/dist/chunks/chunk.PDBIPAHN.js +0 -75
- package/dist/chunks/chunk.PH3FDII3.js +0 -27
- package/dist/chunks/chunk.PRCZEBYJ.js +0 -45
- package/dist/chunks/chunk.PUDOG2HJ.js +0 -109
- package/dist/chunks/chunk.PVTIIBVW.js +0 -11
- package/dist/chunks/chunk.PXGDEV53.js +0 -11
- package/dist/chunks/chunk.PXQIMKMZ.js +0 -24
- package/dist/chunks/chunk.PYUDNKJH.js +0 -11
- package/dist/chunks/chunk.Q7Q3N2MW.js +0 -11
- package/dist/chunks/chunk.QFBZ5PH5.js +0 -134
- package/dist/chunks/chunk.QIZZDCEJ.js +0 -11
- package/dist/chunks/chunk.QMJF4ZFW.js +0 -11
- package/dist/chunks/chunk.QQDHYEJE.js +0 -27
- package/dist/chunks/chunk.QZDS2D62.js +0 -11
- package/dist/chunks/chunk.RAKSDJM6.js +0 -27
- package/dist/chunks/chunk.RESU3N5B.js +0 -91
- package/dist/chunks/chunk.RKKBPKVL.js +0 -371
- package/dist/chunks/chunk.RMAG5XGO.js +0 -21
- package/dist/chunks/chunk.RQJXK56S.js +0 -365
- package/dist/chunks/chunk.RZ34GE2X.js +0 -407
- package/dist/chunks/chunk.SDX6M65R.js +0 -294
- package/dist/chunks/chunk.SFGRSHKM.js +0 -502
- package/dist/chunks/chunk.SGVII4SS.js +0 -348
- package/dist/chunks/chunk.SJPTKBQI.js +0 -286
- package/dist/chunks/chunk.SPZDVICF.js +0 -315
- package/dist/chunks/chunk.SRYA45ZX.js +0 -637
- package/dist/chunks/chunk.SS6KZQKE.js +0 -113
- package/dist/chunks/chunk.SV2IXYJ2.js +0 -85
- package/dist/chunks/chunk.T3SYLV27.js +0 -28
- package/dist/chunks/chunk.T7RGXM43.js +0 -11
- package/dist/chunks/chunk.TESTXMZA.js +0 -21
- package/dist/chunks/chunk.TFL52ZPQ.js +0 -11
- package/dist/chunks/chunk.TI2CKUF7.js +0 -598
- package/dist/chunks/chunk.TM75MCZS.js +0 -11
- package/dist/chunks/chunk.TRKQZFSR.js +0 -11
- package/dist/chunks/chunk.TURZ55HW.js +0 -24
- package/dist/chunks/chunk.UHDASFWR.js +0 -21
- package/dist/chunks/chunk.UOAZ7VTJ.js +0 -21
- package/dist/chunks/chunk.URILDBB3.js +0 -25
- package/dist/chunks/chunk.VCTLKW7S.js +0 -26
- package/dist/chunks/chunk.VDEE4ATN.js +0 -22
- package/dist/chunks/chunk.VK45KXCI.js +0 -174
- package/dist/chunks/chunk.VPCPBXLB.js +0 -274
- package/dist/chunks/chunk.VSHDZ744.js +0 -127
- package/dist/chunks/chunk.VSYZSWC4.js +0 -11
- package/dist/chunks/chunk.VUUUZIRL.js +0 -21
- package/dist/chunks/chunk.VZ5N7BEV.js +0 -100
- package/dist/chunks/chunk.W6SPXJMJ.js +0 -26
- package/dist/chunks/chunk.WBPDNIDC.js +0 -1207
- package/dist/chunks/chunk.WF5ULSHG.js +0 -11
- package/dist/chunks/chunk.WLL4TI6E.js +0 -11
- package/dist/chunks/chunk.WMGZ4VT7.js +0 -21
- package/dist/chunks/chunk.WQF5AUGI.js +0 -26
- package/dist/chunks/chunk.WS4C6M2T.js +0 -11
- package/dist/chunks/chunk.WT7XTWCV.js +0 -24
- package/dist/chunks/chunk.WTEHM27Z.js +0 -27
- package/dist/chunks/chunk.WUEQXTJA.js +0 -11
- package/dist/chunks/chunk.XAZTFMI7.js +0 -25
- package/dist/chunks/chunk.XF53E2EV.js +0 -11
- package/dist/chunks/chunk.XO3ASHCI.js +0 -11
- package/dist/chunks/chunk.XQXUXM2G.js +0 -116
- package/dist/chunks/chunk.XRBLPMTD.js +0 -11
- package/dist/chunks/chunk.XT365ECW.js +0 -11
- package/dist/chunks/chunk.XVJ4GYMY.js +0 -11
- package/dist/chunks/chunk.XVW74MWW.js +0 -213
- package/dist/chunks/chunk.YHVJRWF2.js +0 -27
- package/dist/chunks/chunk.YJM4SBIL.js +0 -180
- package/dist/chunks/chunk.YKIFWZNQ.js +0 -111
- package/dist/chunks/chunk.YL4SLAYC.js +0 -21
- package/dist/chunks/chunk.YMDSIHGV.js +0 -11
- package/dist/chunks/chunk.YNQQALCT.js +0 -57
- package/dist/chunks/chunk.YR7LKWFQ.js +0 -324
- package/dist/chunks/chunk.YSML5P34.js +0 -11
- package/dist/chunks/chunk.YSYQKV6A.js +0 -280
- package/dist/chunks/chunk.YT4WJ5ZV.js +0 -11
- package/dist/chunks/chunk.YW33A3Z2.js +0 -21
- package/dist/chunks/chunk.YXW3MCSF.js +0 -28
- package/dist/chunks/chunk.Z4AKIAK3.js +0 -212
- package/dist/chunks/chunk.ZEIGDMZY.js +0 -11
- package/dist/chunks/chunk.ZEVFDIKC.js +0 -231
- package/dist/chunks/chunk.ZN333G4I.js +0 -45
- package/dist/chunks/chunk.ZN63BJSE.js +0 -24
- package/dist/chunks/chunk.ZNOXLXL2.js +0 -11
- package/dist/chunks/chunk.ZOMIS4CM.js +0 -167
- package/dist/chunks/chunk.ZOXZ324S.js +0 -293
- package/dist/chunks/chunk.ZRGPCJR7.js +0 -24
- package/dist/chunks/chunk.ZVQVKB5M.js +0 -21
- package/dist/chunks/chunk.ZWMHJNPE.js +0 -11
- package/dist/chunks/chunk.ZZT5TYM7.js +0 -11
|
@@ -1,1884 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
daterangepicker_styles_default
|
|
3
|
-
} from "./chunk.CSTCJ2ZA.js";
|
|
4
|
-
import {
|
|
5
|
-
SlDrawer
|
|
6
|
-
} from "./chunk.25CEYC2P.js";
|
|
7
|
-
import {
|
|
8
|
-
defaultValue,
|
|
9
|
-
l
|
|
10
|
-
} from "./chunk.TWOCTPT4.js";
|
|
11
|
-
import {
|
|
12
|
-
LOCALE,
|
|
13
|
-
SlCalendarPicker,
|
|
14
|
-
formatDatetime,
|
|
15
|
-
parseDatetime
|
|
16
|
-
} from "./chunk.T3JRJQZ2.js";
|
|
17
|
-
import {
|
|
18
|
-
SlButton
|
|
19
|
-
} from "./chunk.PNJ3KWID.js";
|
|
20
|
-
import {
|
|
21
|
-
SlPopup
|
|
22
|
-
} from "./chunk.IMAUP6QR.js";
|
|
23
|
-
import {
|
|
24
|
-
form_control_styles_default
|
|
25
|
-
} from "./chunk.KEGSYXHM.js";
|
|
26
|
-
import {
|
|
27
|
-
FormControlController
|
|
28
|
-
} from "./chunk.SY37VGFH.js";
|
|
29
|
-
import {
|
|
30
|
-
o
|
|
31
|
-
} from "./chunk.OJXBTTLD.js";
|
|
32
|
-
import {
|
|
33
|
-
HasSlotController
|
|
34
|
-
} from "./chunk.NYIIDP5N.js";
|
|
35
|
-
import {
|
|
36
|
-
e
|
|
37
|
-
} from "./chunk.ZLKEMKLZ.js";
|
|
38
|
-
import {
|
|
39
|
-
LocalizeController
|
|
40
|
-
} from "./chunk.2SU6QBUU.js";
|
|
41
|
-
import {
|
|
42
|
-
SlIcon
|
|
43
|
-
} from "./chunk.ST3VMWGP.js";
|
|
44
|
-
import {
|
|
45
|
-
watch
|
|
46
|
-
} from "./chunk.WID3TCT6.js";
|
|
47
|
-
import {
|
|
48
|
-
component_styles_default
|
|
49
|
-
} from "./chunk.WT5BNBAS.js";
|
|
50
|
-
import {
|
|
51
|
-
ShoelaceElement,
|
|
52
|
-
e as e2,
|
|
53
|
-
n,
|
|
54
|
-
r,
|
|
55
|
-
r2
|
|
56
|
-
} from "./chunk.JDPBVOL2.js";
|
|
57
|
-
import {
|
|
58
|
-
b
|
|
59
|
-
} from "./chunk.7Z2GKZ7U.js";
|
|
60
|
-
import {
|
|
61
|
-
__decorateClass
|
|
62
|
-
} from "./chunk.CZCSAYQZ.js";
|
|
63
|
-
|
|
64
|
-
// src/components/daterangepicker/daterangepicker.component.ts
|
|
65
|
-
var formatRangeValue = (date) => {
|
|
66
|
-
const hasTime = date.getHours() !== 0 || date.getMinutes() !== 0 || date.getSeconds() !== 0;
|
|
67
|
-
return formatDatetime(date, hasTime ? "datetime" : "date");
|
|
68
|
-
};
|
|
69
|
-
var WHEEL_ITEM_HEIGHT = 50;
|
|
70
|
-
var SlDaterangepicker = class extends ShoelaceElement {
|
|
71
|
-
constructor() {
|
|
72
|
-
super(...arguments);
|
|
73
|
-
this.formControlController = new FormControlController(this, {
|
|
74
|
-
assumeInteractionOn: ["sl-blur", "sl-input"]
|
|
75
|
-
});
|
|
76
|
-
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
77
|
-
this.localize = new LocalizeController(this);
|
|
78
|
-
this.hasFocus = false;
|
|
79
|
-
this.isHovered = false;
|
|
80
|
-
this.open = false;
|
|
81
|
-
this.activeInput = "start";
|
|
82
|
-
this.leftDate = /* @__PURE__ */ new Date();
|
|
83
|
-
this.rightDate = new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() + 1, 1);
|
|
84
|
-
this.startValue = "";
|
|
85
|
-
this.endValue = "";
|
|
86
|
-
this.calendarView = "days";
|
|
87
|
-
this.calendarViewAnchor = "left";
|
|
88
|
-
this.syncingValue = false;
|
|
89
|
-
this.hoverDate = null;
|
|
90
|
-
this.enableHoverRange = false;
|
|
91
|
-
this.rangeEditTwoStep = false;
|
|
92
|
-
this.rangeEditFirstSide = null;
|
|
93
|
-
this.rangeEditExpectedSide = null;
|
|
94
|
-
this.hasFocusSwitched = false;
|
|
95
|
-
this.lastValidValue = [null, null];
|
|
96
|
-
this.isMobile = false;
|
|
97
|
-
this.mobilePickerView = "calendar";
|
|
98
|
-
this.wheelDate = /* @__PURE__ */ new Date();
|
|
99
|
-
this.yearScrollTop = 0;
|
|
100
|
-
this.mobileOpenSnapshot = [null, null];
|
|
101
|
-
this.mobileInteracted = false;
|
|
102
|
-
this.pendingDate = null;
|
|
103
|
-
this.pendingSide = null;
|
|
104
|
-
this.name = "";
|
|
105
|
-
this.value = [null, null];
|
|
106
|
-
this.defaultValue = [null, null];
|
|
107
|
-
this.size = "medium";
|
|
108
|
-
this.filled = false;
|
|
109
|
-
this.pill = false;
|
|
110
|
-
this.label = "";
|
|
111
|
-
this.helpText = "";
|
|
112
|
-
this.clearable = true;
|
|
113
|
-
this.disabled = false;
|
|
114
|
-
this.placeholder = ["\u5F00\u59CB\u65E5\u671F", "\u7ED3\u675F\u65E5\u671F"];
|
|
115
|
-
this.readonly = false;
|
|
116
|
-
this.required = false;
|
|
117
|
-
this.startDate = null;
|
|
118
|
-
this.endDate = null;
|
|
119
|
-
this.type = "date";
|
|
120
|
-
this.min = "0001-01-01";
|
|
121
|
-
this.max = "9999-12-31";
|
|
122
|
-
this.format = "YYYY-MM-DD";
|
|
123
|
-
}
|
|
124
|
-
get startPlaceholder() {
|
|
125
|
-
return this.placeholder[0];
|
|
126
|
-
}
|
|
127
|
-
get endPlaceholder() {
|
|
128
|
-
return this.placeholder[1];
|
|
129
|
-
}
|
|
130
|
-
/** Gets the validity state object */
|
|
131
|
-
get validity() {
|
|
132
|
-
var _a, _b;
|
|
133
|
-
if (!((_a = this.startInput) == null ? void 0 : _a.validity) || !((_b = this.endInput) == null ? void 0 : _b.validity)) {
|
|
134
|
-
return { valid: true };
|
|
135
|
-
}
|
|
136
|
-
return this.startInput.validity.valid && this.endInput.validity.valid ? this.startInput.validity : this.startInput.validity.valid ? this.endInput.validity : this.startInput.validity;
|
|
137
|
-
}
|
|
138
|
-
/** Gets the validation message */
|
|
139
|
-
get validationMessage() {
|
|
140
|
-
if (!this.startInput || !this.endInput) return "";
|
|
141
|
-
return this.startInput.validationMessage || this.endInput.validationMessage;
|
|
142
|
-
}
|
|
143
|
-
connectedCallback() {
|
|
144
|
-
super.connectedCallback();
|
|
145
|
-
this.handleDocumentMouseDown = this.handleDocumentMouseDown.bind(this);
|
|
146
|
-
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
147
|
-
this.handleResize = this.handleResize.bind(this);
|
|
148
|
-
window.addEventListener("resize", this.handleResize);
|
|
149
|
-
this.handleResize();
|
|
150
|
-
}
|
|
151
|
-
disconnectedCallback() {
|
|
152
|
-
super.disconnectedCallback();
|
|
153
|
-
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
154
|
-
window.removeEventListener("resize", this.handleResize);
|
|
155
|
-
}
|
|
156
|
-
handleResize() {
|
|
157
|
-
this.isMobile = window.matchMedia("(max-width: 500px)").matches;
|
|
158
|
-
}
|
|
159
|
-
handleDocumentMouseDown(event) {
|
|
160
|
-
if (this.isMobile) return;
|
|
161
|
-
const path = event.composedPath();
|
|
162
|
-
if (!this.open) return;
|
|
163
|
-
const isInsideInput = this.inputContainer ? path.includes(this.inputContainer) : false;
|
|
164
|
-
if (!isInsideInput) {
|
|
165
|
-
this.open = false;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
/** 检查有效性并触发 sl-invalid 事件(如果无效) */
|
|
169
|
-
checkValidity() {
|
|
170
|
-
if (!this.startInput || !this.endInput) return true;
|
|
171
|
-
return this.startInput.checkValidity() && this.endInput.checkValidity();
|
|
172
|
-
}
|
|
173
|
-
/** 获取表单引用 */
|
|
174
|
-
getForm() {
|
|
175
|
-
return this.formControlController.getForm();
|
|
176
|
-
}
|
|
177
|
-
/** 检查有效性并显示浏览器原生的有效性提示 */
|
|
178
|
-
reportValidity() {
|
|
179
|
-
if (!this.startInput || !this.endInput) return true;
|
|
180
|
-
return this.startInput.reportValidity() && this.endInput.reportValidity();
|
|
181
|
-
}
|
|
182
|
-
/** 设置自定义有效性消息 */
|
|
183
|
-
setCustomValidity(message) {
|
|
184
|
-
if (!this.startInput || !this.endInput) return;
|
|
185
|
-
this.startInput.setCustomValidity(message);
|
|
186
|
-
this.endInput.setCustomValidity(message);
|
|
187
|
-
this.formControlController.updateValidity();
|
|
188
|
-
}
|
|
189
|
-
/** 聚焦到开始日期输入框并打开面板 */
|
|
190
|
-
focus(options) {
|
|
191
|
-
if (this.isMobile) {
|
|
192
|
-
this.activeInput = "start";
|
|
193
|
-
this.open = true;
|
|
194
|
-
return;
|
|
195
|
-
}
|
|
196
|
-
this.startInput.focus(options);
|
|
197
|
-
}
|
|
198
|
-
/** 移除焦点并关闭面板 */
|
|
199
|
-
blur() {
|
|
200
|
-
var _a;
|
|
201
|
-
if (this.isMobile && this.open) return;
|
|
202
|
-
const active = (_a = this.shadowRoot) == null ? void 0 : _a.activeElement;
|
|
203
|
-
if (active && typeof active.blur === "function") {
|
|
204
|
-
active.blur();
|
|
205
|
-
}
|
|
206
|
-
this.open = false;
|
|
207
|
-
}
|
|
208
|
-
updateValueTuple() {
|
|
209
|
-
this.syncingValue = true;
|
|
210
|
-
this.value = [this.startDate, this.endDate];
|
|
211
|
-
}
|
|
212
|
-
parseDateInput(value) {
|
|
213
|
-
const raw = value.trim();
|
|
214
|
-
if (!raw) return null;
|
|
215
|
-
if (this.type === "datetime") {
|
|
216
|
-
if (!/^(\d{4})([-./])(\d{2})\2(\d{2})\s+(\d{2}):(\d{2}):(\d{2})$/.test(raw)) {
|
|
217
|
-
return null;
|
|
218
|
-
}
|
|
219
|
-
} else if (!/^(\d{4})([-./])(\d{2})\2(\d{2})$/.test(raw)) {
|
|
220
|
-
return null;
|
|
221
|
-
}
|
|
222
|
-
const parsed = parseDatetime(raw, this.type);
|
|
223
|
-
if (!parsed) return null;
|
|
224
|
-
if (this.type === "date") {
|
|
225
|
-
parsed.setHours(0, 0, 0, 0);
|
|
226
|
-
}
|
|
227
|
-
return parsed;
|
|
228
|
-
}
|
|
229
|
-
parseLimit(value) {
|
|
230
|
-
const parsed = parseDatetime(String(value), this.type);
|
|
231
|
-
if (!parsed) return null;
|
|
232
|
-
if (this.type === "date") {
|
|
233
|
-
parsed.setHours(0, 0, 0, 0);
|
|
234
|
-
}
|
|
235
|
-
return parsed;
|
|
236
|
-
}
|
|
237
|
-
isWithinMinMax(date) {
|
|
238
|
-
const minDate = this.parseLimit(this.min);
|
|
239
|
-
const maxDate = this.parseLimit(this.max);
|
|
240
|
-
if (minDate && date < minDate) return false;
|
|
241
|
-
if (maxDate && date > maxDate) return false;
|
|
242
|
-
return true;
|
|
243
|
-
}
|
|
244
|
-
isValidCommittedRange(start, end) {
|
|
245
|
-
if (!start && !end) return true;
|
|
246
|
-
if (!start || !end) return false;
|
|
247
|
-
const s = new Date(start);
|
|
248
|
-
const e3 = new Date(end);
|
|
249
|
-
if (this.type === "date") {
|
|
250
|
-
s.setHours(0, 0, 0, 0);
|
|
251
|
-
e3.setHours(0, 0, 0, 0);
|
|
252
|
-
}
|
|
253
|
-
if (!this.isWithinMinMax(s) || !this.isWithinMinMax(e3)) return false;
|
|
254
|
-
return s.getTime() <= e3.getTime();
|
|
255
|
-
}
|
|
256
|
-
isSameValue(a, b2) {
|
|
257
|
-
const [as, ae] = a;
|
|
258
|
-
const [bs, be] = b2;
|
|
259
|
-
const asT = as ? as.getTime() : null;
|
|
260
|
-
const aeT = ae ? ae.getTime() : null;
|
|
261
|
-
const bsT = bs ? bs.getTime() : null;
|
|
262
|
-
const beT = be ? be.getTime() : null;
|
|
263
|
-
return asT === bsT && aeT === beT;
|
|
264
|
-
}
|
|
265
|
-
revertToLastValid() {
|
|
266
|
-
const current = [this.startDate, this.endDate];
|
|
267
|
-
if (this.isSameValue(current, this.lastValidValue)) {
|
|
268
|
-
this.applyRange(this.lastValidValue[0], this.lastValidValue[1], true);
|
|
269
|
-
return;
|
|
270
|
-
}
|
|
271
|
-
this.applyRange(this.lastValidValue[0], this.lastValidValue[1], true);
|
|
272
|
-
this.emit("sl-input");
|
|
273
|
-
this.emit("sl-change");
|
|
274
|
-
}
|
|
275
|
-
commitOrRevertInputValue() {
|
|
276
|
-
const startRaw = this.startValue.trim();
|
|
277
|
-
const endRaw = this.endValue.trim();
|
|
278
|
-
const start = startRaw ? this.parseDateInput(startRaw) : null;
|
|
279
|
-
const end = endRaw ? this.parseDateInput(endRaw) : null;
|
|
280
|
-
if (startRaw && !start || endRaw && !end) {
|
|
281
|
-
this.revertToLastValid();
|
|
282
|
-
return;
|
|
283
|
-
}
|
|
284
|
-
if (!this.isValidCommittedRange(start, end)) {
|
|
285
|
-
this.revertToLastValid();
|
|
286
|
-
return;
|
|
287
|
-
}
|
|
288
|
-
this.applyRange(start, end, true);
|
|
289
|
-
this.lastValidValue = [this.startDate, this.endDate];
|
|
290
|
-
}
|
|
291
|
-
applyRange(start, end, updateValue = true) {
|
|
292
|
-
const nextStart = start;
|
|
293
|
-
let nextEnd = end;
|
|
294
|
-
if (nextStart && nextEnd && nextStart > nextEnd) {
|
|
295
|
-
nextEnd = null;
|
|
296
|
-
}
|
|
297
|
-
this.startDate = nextStart;
|
|
298
|
-
this.endDate = nextEnd;
|
|
299
|
-
this.startValue = nextStart ? formatDatetime(nextStart, this.type) : "";
|
|
300
|
-
this.endValue = nextEnd ? formatDatetime(nextEnd, this.type) : "";
|
|
301
|
-
const isVisible = (date) => {
|
|
302
|
-
const month = date.getFullYear() * 12 + date.getMonth();
|
|
303
|
-
const leftMonth = this.leftDate.getFullYear() * 12 + this.leftDate.getMonth();
|
|
304
|
-
const rightMonth = this.rightDate.getFullYear() * 12 + this.rightDate.getMonth();
|
|
305
|
-
return month === leftMonth || month === rightMonth;
|
|
306
|
-
};
|
|
307
|
-
if (nextStart && nextEnd) {
|
|
308
|
-
if (!isVisible(nextStart) || !isVisible(nextEnd)) {
|
|
309
|
-
this.syncCalendarsToValue();
|
|
310
|
-
}
|
|
311
|
-
} else if (nextStart && !isVisible(nextStart)) {
|
|
312
|
-
this.syncCalendarsToValue();
|
|
313
|
-
} else if (nextEnd && !isVisible(nextEnd)) {
|
|
314
|
-
this.syncCalendarsToValue();
|
|
315
|
-
}
|
|
316
|
-
if (updateValue) {
|
|
317
|
-
this.updateValueTuple();
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
syncCalendarsToValue() {
|
|
321
|
-
const nextStart = this.startDate;
|
|
322
|
-
const nextEnd = this.endDate;
|
|
323
|
-
if (nextStart && nextEnd) {
|
|
324
|
-
this.leftDate = new Date(nextStart);
|
|
325
|
-
const startMonth = nextStart.getFullYear() * 12 + nextStart.getMonth();
|
|
326
|
-
const endMonth = nextEnd.getFullYear() * 12 + nextEnd.getMonth();
|
|
327
|
-
if (startMonth === endMonth) {
|
|
328
|
-
this.rightDate = this.addMonths(nextStart, 1, 1);
|
|
329
|
-
} else {
|
|
330
|
-
this.rightDate = new Date(nextEnd);
|
|
331
|
-
}
|
|
332
|
-
} else if (nextStart) {
|
|
333
|
-
this.leftDate = new Date(nextStart);
|
|
334
|
-
this.rightDate = this.addMonths(nextStart, 1, 1);
|
|
335
|
-
} else if (nextEnd) {
|
|
336
|
-
this.rightDate = new Date(nextEnd);
|
|
337
|
-
this.leftDate = this.addMonths(nextEnd, -1, 1);
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
async handleOpenChange() {
|
|
341
|
-
this.hasFocusSwitched = false;
|
|
342
|
-
if (this.open) {
|
|
343
|
-
if (this.isMobile) {
|
|
344
|
-
this.mobileOpenSnapshot = [this.startDate, this.endDate];
|
|
345
|
-
this.mobilePickerView = "calendar";
|
|
346
|
-
this.mobileInteracted = false;
|
|
347
|
-
this.pendingDate = null;
|
|
348
|
-
this.pendingSide = null;
|
|
349
|
-
}
|
|
350
|
-
this.enableHoverRange = this.type === "datetime" && !!(this.startDate && this.endDate);
|
|
351
|
-
this.rangeEditTwoStep = !!(this.startDate && this.endDate);
|
|
352
|
-
this.rangeEditFirstSide = null;
|
|
353
|
-
this.rangeEditExpectedSide = null;
|
|
354
|
-
if (this.startDate || this.endDate) {
|
|
355
|
-
this.syncCalendarsToValue();
|
|
356
|
-
if (this.type === "datetime") {
|
|
357
|
-
const targetDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
358
|
-
if (targetDate) {
|
|
359
|
-
this.leftDate = new Date(targetDate);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
} else {
|
|
363
|
-
const today = /* @__PURE__ */ new Date();
|
|
364
|
-
this.leftDate = today;
|
|
365
|
-
this.rightDate = new Date(today.getFullYear(), today.getMonth() + 1, 1);
|
|
366
|
-
}
|
|
367
|
-
await this.updateComplete;
|
|
368
|
-
const calendars = Array.from(this.calendars);
|
|
369
|
-
if (calendars.length === 2) {
|
|
370
|
-
calendars[0].setCurrentDate(this.leftDate);
|
|
371
|
-
calendars[1].setCurrentDate(this.rightDate);
|
|
372
|
-
} else if (calendars.length === 1) {
|
|
373
|
-
const currentDate = this.type === "datetime" ? this.leftDate : this.activeInput === "end" ? this.rightDate : this.leftDate;
|
|
374
|
-
calendars[0].setCurrentDate(currentDate);
|
|
375
|
-
}
|
|
376
|
-
if (this.type === "datetime") {
|
|
377
|
-
calendars.forEach((calendar) => calendar.resetTimeScroll("instant"));
|
|
378
|
-
}
|
|
379
|
-
} else {
|
|
380
|
-
this.rangeEditTwoStep = false;
|
|
381
|
-
this.rangeEditFirstSide = null;
|
|
382
|
-
this.rangeEditExpectedSide = null;
|
|
383
|
-
this.calendarView = "days";
|
|
384
|
-
this.enableHoverRange = false;
|
|
385
|
-
if (!this.isMobile) {
|
|
386
|
-
this.commitOrRevertInputValue();
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
handleValueUpdate() {
|
|
391
|
-
if (this.syncingValue) {
|
|
392
|
-
this.syncingValue = false;
|
|
393
|
-
return;
|
|
394
|
-
}
|
|
395
|
-
const [start, end] = this.value || [null, null];
|
|
396
|
-
if (!this.isValidCommittedRange(start, end)) {
|
|
397
|
-
this.applyRange(null, null, false);
|
|
398
|
-
this.lastValidValue = [null, null];
|
|
399
|
-
return;
|
|
400
|
-
}
|
|
401
|
-
this.applyRange(start != null ? start : null, end != null ? end : null, false);
|
|
402
|
-
this.lastValidValue = [this.startDate, this.endDate];
|
|
403
|
-
}
|
|
404
|
-
handleBlur(event) {
|
|
405
|
-
this.hasFocus = false;
|
|
406
|
-
this.emit("sl-blur");
|
|
407
|
-
if (!this.open) return;
|
|
408
|
-
setTimeout(() => {
|
|
409
|
-
var _a;
|
|
410
|
-
const active = (_a = this.shadowRoot) == null ? void 0 : _a.activeElement;
|
|
411
|
-
const isOnInput = active === this.startInput || active === this.endInput;
|
|
412
|
-
if (!isOnInput) {
|
|
413
|
-
this.open = false;
|
|
414
|
-
}
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
handleFocus(event) {
|
|
418
|
-
if (!this.hasFocusSwitched) {
|
|
419
|
-
this.hasFocusSwitched = true;
|
|
420
|
-
}
|
|
421
|
-
this.hasFocus = true;
|
|
422
|
-
const target = event.target;
|
|
423
|
-
const newActiveInput = target.classList.contains("daterangepicker__control--start") ? "start" : "end";
|
|
424
|
-
const switched = this.activeInput !== newActiveInput;
|
|
425
|
-
this.activeInput = newActiveInput;
|
|
426
|
-
if (this.type === "datetime" && this.startDate && this.endDate) {
|
|
427
|
-
this.enableHoverRange = true;
|
|
428
|
-
}
|
|
429
|
-
if (!this.disabled && !this.readonly) {
|
|
430
|
-
this.open = true;
|
|
431
|
-
}
|
|
432
|
-
if (switched && this.type === "datetime" && this.open) {
|
|
433
|
-
const targetDate = newActiveInput === "end" ? this.endDate : this.startDate;
|
|
434
|
-
if (targetDate) {
|
|
435
|
-
this.leftDate = new Date(targetDate);
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
this.emit("sl-focus");
|
|
439
|
-
}
|
|
440
|
-
isValidFormat(value) {
|
|
441
|
-
if (this.type === "date") {
|
|
442
|
-
return /^\d{4}[-./]\d{2}[-./]\d{2}$/.test(value);
|
|
443
|
-
}
|
|
444
|
-
if (this.type === "datetime") {
|
|
445
|
-
return /^\d{4}[-./]\d{2}[-./]\d{2}\s+\d{2}:\d{2}:\d{2}$/.test(value);
|
|
446
|
-
}
|
|
447
|
-
return true;
|
|
448
|
-
}
|
|
449
|
-
handleInput(event) {
|
|
450
|
-
const target = event.target;
|
|
451
|
-
const selectionSide = target.classList.contains("daterangepicker__control--start") ? "start" : "end";
|
|
452
|
-
if (!this.open) {
|
|
453
|
-
this.open = !this.open;
|
|
454
|
-
}
|
|
455
|
-
if (selectionSide === "start") {
|
|
456
|
-
this.startValue = target.value;
|
|
457
|
-
} else {
|
|
458
|
-
this.endValue = target.value;
|
|
459
|
-
}
|
|
460
|
-
const inputValue = target.value.trim();
|
|
461
|
-
if (inputValue === "" || this.isValidFormat(inputValue)) {
|
|
462
|
-
const parsed = this.parseDateInput(target.value);
|
|
463
|
-
if (selectionSide === "start") {
|
|
464
|
-
this.startDate = parsed;
|
|
465
|
-
} else {
|
|
466
|
-
this.endDate = parsed;
|
|
467
|
-
}
|
|
468
|
-
if (parsed) {
|
|
469
|
-
const isInvalidRange = selectionSide === "start" && this.endDate && parsed > this.endDate || selectionSide === "end" && this.startDate && parsed < this.startDate;
|
|
470
|
-
if (isInvalidRange) {
|
|
471
|
-
this.syncCalendarsToInputDate(parsed, selectionSide);
|
|
472
|
-
} else {
|
|
473
|
-
this.syncCalendarsToValue();
|
|
474
|
-
if (this.type === "datetime") {
|
|
475
|
-
this.leftDate = new Date(parsed);
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
this.updateValueTuple();
|
|
480
|
-
}
|
|
481
|
-
this.formControlController.updateValidity();
|
|
482
|
-
this.emit("sl-input");
|
|
483
|
-
}
|
|
484
|
-
handleChange() {
|
|
485
|
-
this.emit("sl-change");
|
|
486
|
-
}
|
|
487
|
-
handleInputKeyDown(event) {
|
|
488
|
-
if (event.key === "Escape" && this.open) {
|
|
489
|
-
event.stopPropagation();
|
|
490
|
-
this.revertToLastValid();
|
|
491
|
-
this.open = false;
|
|
492
|
-
return;
|
|
493
|
-
}
|
|
494
|
-
if (event.key === "Enter") {
|
|
495
|
-
if (event.isComposing) return;
|
|
496
|
-
const target = event.target;
|
|
497
|
-
const selectionSide = target === this.startInput ? "start" : target === this.endInput ? "end" : null;
|
|
498
|
-
if (!selectionSide) return;
|
|
499
|
-
const parsedDate = this.parseDateInput(target.value);
|
|
500
|
-
if (!parsedDate) return;
|
|
501
|
-
this.activeInput = selectionSide;
|
|
502
|
-
event.preventDefault();
|
|
503
|
-
event.stopPropagation();
|
|
504
|
-
const isReverseRange = selectionSide === "start" && this.endDate && parsedDate > this.endDate || selectionSide === "end" && this.startDate && parsedDate < this.startDate;
|
|
505
|
-
if (isReverseRange) {
|
|
506
|
-
if (selectionSide === "start") {
|
|
507
|
-
this.applyRange(parsedDate, null);
|
|
508
|
-
this.activeInput = "end";
|
|
509
|
-
this.endInput.focus();
|
|
510
|
-
} else {
|
|
511
|
-
this.applyRange(null, parsedDate);
|
|
512
|
-
this.activeInput = "start";
|
|
513
|
-
this.startInput.focus();
|
|
514
|
-
}
|
|
515
|
-
this.syncCalendarsToInputDate(parsedDate, selectionSide);
|
|
516
|
-
if (this.type === "datetime") {
|
|
517
|
-
this.enableHoverRange = true;
|
|
518
|
-
}
|
|
519
|
-
this.emit("sl-input");
|
|
520
|
-
return;
|
|
521
|
-
}
|
|
522
|
-
if (this.isDateDisabled(parsedDate)) return;
|
|
523
|
-
this.applySelectedDate(parsedDate);
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
handleInvalid(event) {
|
|
527
|
-
this.formControlController.setValidity(false);
|
|
528
|
-
this.formControlController.emitInvalidEvent(event);
|
|
529
|
-
}
|
|
530
|
-
handleClearClick(event) {
|
|
531
|
-
event.preventDefault();
|
|
532
|
-
event.stopPropagation();
|
|
533
|
-
this.applyRange(null, null);
|
|
534
|
-
this.lastValidValue = [null, null];
|
|
535
|
-
this.open = false;
|
|
536
|
-
this.enableHoverRange = false;
|
|
537
|
-
this.emit("sl-clear");
|
|
538
|
-
this.emit("sl-input");
|
|
539
|
-
this.emit("sl-change");
|
|
540
|
-
}
|
|
541
|
-
handleBaseClick(event) {
|
|
542
|
-
if (this.disabled || this.readonly) return;
|
|
543
|
-
const path = event.composedPath();
|
|
544
|
-
const isInput = path.some((el) => el instanceof HTMLInputElement);
|
|
545
|
-
const isClear = path.some((el) => {
|
|
546
|
-
var _a;
|
|
547
|
-
return (_a = el.classList) == null ? void 0 : _a.contains("daterangepicker__clear");
|
|
548
|
-
});
|
|
549
|
-
if (isClear) return;
|
|
550
|
-
this.open = true;
|
|
551
|
-
if (!isInput) {
|
|
552
|
-
this.startInput.focus();
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
/**
|
|
556
|
-
* 更新日期范围的通用逻辑
|
|
557
|
-
* @param date 新选中的日期
|
|
558
|
-
* @param side 当前操作的是起点还是终点
|
|
559
|
-
*/
|
|
560
|
-
updateDateRange(date, side) {
|
|
561
|
-
let nextStart = this.startDate;
|
|
562
|
-
let nextEnd = this.endDate;
|
|
563
|
-
let nextActiveInput = side === "start" ? "end" : "start";
|
|
564
|
-
let shouldClose = false;
|
|
565
|
-
if (side === "start") {
|
|
566
|
-
if (nextEnd && date > nextEnd) {
|
|
567
|
-
nextStart = date;
|
|
568
|
-
nextEnd = null;
|
|
569
|
-
nextActiveInput = "end";
|
|
570
|
-
} else {
|
|
571
|
-
nextStart = date;
|
|
572
|
-
if (nextEnd) {
|
|
573
|
-
shouldClose = true;
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
} else {
|
|
577
|
-
if (nextStart && date < nextStart) {
|
|
578
|
-
nextStart = null;
|
|
579
|
-
nextEnd = date;
|
|
580
|
-
nextActiveInput = "start";
|
|
581
|
-
} else {
|
|
582
|
-
nextEnd = date;
|
|
583
|
-
if (nextStart) {
|
|
584
|
-
shouldClose = true;
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
this.applyRange(nextStart, nextEnd);
|
|
589
|
-
return { nextActiveInput, shouldClose };
|
|
590
|
-
}
|
|
591
|
-
applySelectedDate(selectedDate) {
|
|
592
|
-
const selectionSide = this.activeInput;
|
|
593
|
-
if (this.rangeEditTwoStep) {
|
|
594
|
-
if (!this.rangeEditFirstSide) {
|
|
595
|
-
this.rangeEditFirstSide = selectionSide;
|
|
596
|
-
this.rangeEditExpectedSide = selectionSide === "start" ? "end" : "start";
|
|
597
|
-
const { shouldClose: shouldClose3 } = this.updateDateRange(selectedDate, selectionSide);
|
|
598
|
-
if (shouldClose3 && this.hasFocusSwitched) {
|
|
599
|
-
this.open = false;
|
|
600
|
-
this.enableHoverRange = false;
|
|
601
|
-
this.emit("sl-change");
|
|
602
|
-
this.emit("sl-input");
|
|
603
|
-
return;
|
|
604
|
-
}
|
|
605
|
-
const otherSide = selectionSide === "start" ? "end" : "start";
|
|
606
|
-
this.activeInput = otherSide;
|
|
607
|
-
if (otherSide === "start") {
|
|
608
|
-
this.startInput.focus();
|
|
609
|
-
} else {
|
|
610
|
-
this.endInput.focus();
|
|
611
|
-
}
|
|
612
|
-
if (this.type === "datetime") {
|
|
613
|
-
this.enableHoverRange = true;
|
|
614
|
-
const targetDate = otherSide === "end" ? this.endDate : this.startDate;
|
|
615
|
-
if (targetDate) {
|
|
616
|
-
this.leftDate = new Date(targetDate);
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
this.emit("sl-input");
|
|
620
|
-
return;
|
|
621
|
-
}
|
|
622
|
-
const { shouldClose: shouldClose2 } = this.updateDateRange(selectedDate, selectionSide);
|
|
623
|
-
if (shouldClose2) {
|
|
624
|
-
const isExpectedSide = this.rangeEditExpectedSide && selectionSide === this.rangeEditExpectedSide;
|
|
625
|
-
if (isExpectedSide || this.hasFocusSwitched) {
|
|
626
|
-
this.open = false;
|
|
627
|
-
this.enableHoverRange = false;
|
|
628
|
-
this.emit("sl-change");
|
|
629
|
-
this.emit("sl-input");
|
|
630
|
-
return;
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
const nextSide = selectionSide === "start" ? "end" : "start";
|
|
634
|
-
this.activeInput = nextSide;
|
|
635
|
-
if (nextSide === "start") {
|
|
636
|
-
this.startInput.focus();
|
|
637
|
-
} else {
|
|
638
|
-
this.endInput.focus();
|
|
639
|
-
}
|
|
640
|
-
if (this.type === "datetime") {
|
|
641
|
-
const targetDate = nextSide === "end" ? this.endDate : this.startDate;
|
|
642
|
-
if (targetDate) {
|
|
643
|
-
this.leftDate = new Date(targetDate);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
this.emit("sl-input");
|
|
647
|
-
return;
|
|
648
|
-
}
|
|
649
|
-
if (!this.startDate && !this.endDate) {
|
|
650
|
-
if (selectionSide === "start") {
|
|
651
|
-
this.applyRange(selectedDate, null);
|
|
652
|
-
this.activeInput = "end";
|
|
653
|
-
this.endInput.focus();
|
|
654
|
-
} else {
|
|
655
|
-
this.applyRange(null, selectedDate);
|
|
656
|
-
this.activeInput = "start";
|
|
657
|
-
this.startInput.focus();
|
|
658
|
-
}
|
|
659
|
-
if (this.type === "datetime") {
|
|
660
|
-
this.enableHoverRange = true;
|
|
661
|
-
}
|
|
662
|
-
this.emit("sl-input");
|
|
663
|
-
return;
|
|
664
|
-
}
|
|
665
|
-
const { nextActiveInput, shouldClose } = this.updateDateRange(selectedDate, selectionSide);
|
|
666
|
-
if (shouldClose) {
|
|
667
|
-
this.open = false;
|
|
668
|
-
this.enableHoverRange = false;
|
|
669
|
-
this.emit("sl-change");
|
|
670
|
-
} else {
|
|
671
|
-
this.activeInput = nextActiveInput;
|
|
672
|
-
if (nextActiveInput === "start") {
|
|
673
|
-
this.startInput.focus();
|
|
674
|
-
} else {
|
|
675
|
-
this.endInput.focus();
|
|
676
|
-
}
|
|
677
|
-
if (this.type === "datetime") {
|
|
678
|
-
this.enableHoverRange = true;
|
|
679
|
-
const targetDate = nextActiveInput === "end" ? this.endDate : this.startDate;
|
|
680
|
-
if (targetDate) {
|
|
681
|
-
this.leftDate = new Date(targetDate);
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
this.emit("sl-input");
|
|
686
|
-
}
|
|
687
|
-
handleDateSelect(event) {
|
|
688
|
-
if (this.disabled || this.readonly) return;
|
|
689
|
-
this.applySelectedDate(event.detail.date);
|
|
690
|
-
}
|
|
691
|
-
handleDateChange(event) {
|
|
692
|
-
if (this.disabled || this.readonly) return;
|
|
693
|
-
if (this.type !== "datetime") return;
|
|
694
|
-
const selectedDate = event.detail.date;
|
|
695
|
-
this.updateDateRange(selectedDate, this.activeInput);
|
|
696
|
-
this.leftDate = new Date(selectedDate);
|
|
697
|
-
this.emit("sl-input");
|
|
698
|
-
}
|
|
699
|
-
handleReadonlyChange() {
|
|
700
|
-
if (this.readonly) {
|
|
701
|
-
this.open = false;
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
addMonths(date, delta, day = 1) {
|
|
705
|
-
const d = new Date(date);
|
|
706
|
-
d.setMonth(d.getMonth() + delta, day);
|
|
707
|
-
d.setHours(0, 0, 0, 0);
|
|
708
|
-
return d;
|
|
709
|
-
}
|
|
710
|
-
syncCalendarsToInputDate(date, side = "start") {
|
|
711
|
-
if (this.type === "datetime") {
|
|
712
|
-
this.leftDate = new Date(date);
|
|
713
|
-
this.rightDate = new Date(date);
|
|
714
|
-
return;
|
|
715
|
-
}
|
|
716
|
-
if (side === "end") {
|
|
717
|
-
this.rightDate = new Date(date);
|
|
718
|
-
this.leftDate = this.addMonths(date, -1, 1);
|
|
719
|
-
} else {
|
|
720
|
-
this.leftDate = new Date(date);
|
|
721
|
-
this.rightDate = this.addMonths(date, 1, 1);
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
async handleCalendarViewChange(event) {
|
|
725
|
-
const view = event.detail.view;
|
|
726
|
-
const initialCalendars = Array.from(this.calendars);
|
|
727
|
-
const target = event.currentTarget;
|
|
728
|
-
let isLeftTarget = false;
|
|
729
|
-
let isRightTarget = false;
|
|
730
|
-
if (this.type === "datetime") {
|
|
731
|
-
isLeftTarget = true;
|
|
732
|
-
} else if (this.calendarView !== "days") {
|
|
733
|
-
if (this.calendarViewAnchor === "right") {
|
|
734
|
-
isRightTarget = true;
|
|
735
|
-
} else {
|
|
736
|
-
isLeftTarget = true;
|
|
737
|
-
}
|
|
738
|
-
} else {
|
|
739
|
-
const rightCalendar = initialCalendars[1];
|
|
740
|
-
if (rightCalendar && target === rightCalendar) {
|
|
741
|
-
isRightTarget = true;
|
|
742
|
-
} else {
|
|
743
|
-
isLeftTarget = true;
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
if (view === "days" || view === "months" || view === "years") {
|
|
747
|
-
this.calendarView = view;
|
|
748
|
-
}
|
|
749
|
-
if (view === "months" || view === "years") {
|
|
750
|
-
this.calendarViewAnchor = isRightTarget ? "right" : "left";
|
|
751
|
-
}
|
|
752
|
-
const newDate = event.detail.date;
|
|
753
|
-
if (!newDate) {
|
|
754
|
-
await this.updateComplete;
|
|
755
|
-
const calendars = Array.from(this.calendars);
|
|
756
|
-
if (view === "months" || view === "years") {
|
|
757
|
-
if (calendars.length > 0) {
|
|
758
|
-
calendars[0].setView(view);
|
|
759
|
-
}
|
|
760
|
-
} else if (view === "days") {
|
|
761
|
-
if (calendars.length > 0) calendars[0].setView("days");
|
|
762
|
-
if (calendars.length > 1) calendars[1].setView("days");
|
|
763
|
-
}
|
|
764
|
-
return;
|
|
765
|
-
}
|
|
766
|
-
if (isLeftTarget) {
|
|
767
|
-
this.leftDate = new Date(newDate);
|
|
768
|
-
const leftMonth = this.leftDate.getFullYear() * 12 + this.leftDate.getMonth();
|
|
769
|
-
const rightMonth = this.rightDate.getFullYear() * 12 + this.rightDate.getMonth();
|
|
770
|
-
if (leftMonth >= rightMonth) {
|
|
771
|
-
this.rightDate = this.addMonths(this.leftDate, 1, 1);
|
|
772
|
-
}
|
|
773
|
-
} else {
|
|
774
|
-
this.rightDate = new Date(newDate);
|
|
775
|
-
const rightMonth = this.rightDate.getFullYear() * 12 + this.rightDate.getMonth();
|
|
776
|
-
const leftDate = this.leftDate;
|
|
777
|
-
const leftMonth = leftDate.getFullYear() * 12 + leftDate.getMonth();
|
|
778
|
-
if (rightMonth <= leftMonth) {
|
|
779
|
-
this.leftDate = this.addMonths(this.rightDate, -1, 1);
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
isDateDisabled(date) {
|
|
784
|
-
const minDate = this.min ? parseDatetime(this.min, this.type) : null;
|
|
785
|
-
const maxDate = this.max ? parseDatetime(this.max, this.type) : null;
|
|
786
|
-
if (minDate && date < minDate || maxDate && date > maxDate) {
|
|
787
|
-
return true;
|
|
788
|
-
}
|
|
789
|
-
if (this.startDate && this.endDate && !this.hasFocusSwitched) {
|
|
790
|
-
return false;
|
|
791
|
-
}
|
|
792
|
-
const normalizeToDay = (d) => {
|
|
793
|
-
const n2 = new Date(d);
|
|
794
|
-
n2.setHours(0, 0, 0, 0);
|
|
795
|
-
return n2;
|
|
796
|
-
};
|
|
797
|
-
if (this.activeInput === "start" && this.endDate) {
|
|
798
|
-
return date > normalizeToDay(this.endDate);
|
|
799
|
-
}
|
|
800
|
-
if (this.activeInput === "end" && this.startDate) {
|
|
801
|
-
return date < normalizeToDay(this.startDate);
|
|
802
|
-
}
|
|
803
|
-
return false;
|
|
804
|
-
}
|
|
805
|
-
getCalendarRange() {
|
|
806
|
-
const start = this.startDate;
|
|
807
|
-
const end = this.endDate;
|
|
808
|
-
if (start && end && start.getTime() > end.getTime()) {
|
|
809
|
-
if (this.activeInput === "end") {
|
|
810
|
-
return [null, end];
|
|
811
|
-
}
|
|
812
|
-
return [start, null];
|
|
813
|
-
}
|
|
814
|
-
return [start, end];
|
|
815
|
-
}
|
|
816
|
-
normalizeCalendarDate(date) {
|
|
817
|
-
if (!date) return null;
|
|
818
|
-
const normalized = new Date(date);
|
|
819
|
-
normalized.setHours(0, 0, 0, 0);
|
|
820
|
-
return normalized;
|
|
821
|
-
}
|
|
822
|
-
// ─── Mobile-specific methods ───
|
|
823
|
-
isMobileDateDisabled(date) {
|
|
824
|
-
const minDate = this.min ? parseDatetime(this.min, this.type) : null;
|
|
825
|
-
const maxDate = this.max ? parseDatetime(this.max, this.type) : null;
|
|
826
|
-
if (minDate && date < minDate || maxDate && date > maxDate) return true;
|
|
827
|
-
if (!this.mobileInteracted) return false;
|
|
828
|
-
const normalizeToDay = (d) => {
|
|
829
|
-
const n2 = new Date(d);
|
|
830
|
-
n2.setHours(0, 0, 0, 0);
|
|
831
|
-
return n2;
|
|
832
|
-
};
|
|
833
|
-
if (this.activeInput === "start" && this.endDate) {
|
|
834
|
-
return date > normalizeToDay(this.endDate);
|
|
835
|
-
}
|
|
836
|
-
if (this.activeInput === "end" && this.startDate) {
|
|
837
|
-
return date < normalizeToDay(this.startDate);
|
|
838
|
-
}
|
|
839
|
-
return false;
|
|
840
|
-
}
|
|
841
|
-
handleMobileCancel() {
|
|
842
|
-
this.open = false;
|
|
843
|
-
this.pendingDate = null;
|
|
844
|
-
this.pendingSide = null;
|
|
845
|
-
this.applyRange(this.mobileOpenSnapshot[0], this.mobileOpenSnapshot[1]);
|
|
846
|
-
this.lastValidValue = [this.mobileOpenSnapshot[0], this.mobileOpenSnapshot[1]];
|
|
847
|
-
}
|
|
848
|
-
handleMobileClear() {
|
|
849
|
-
this.applyRange(null, null);
|
|
850
|
-
this.lastValidValue = [null, null];
|
|
851
|
-
this.open = false;
|
|
852
|
-
this.emit("sl-clear");
|
|
853
|
-
this.emit("sl-input");
|
|
854
|
-
this.emit("sl-change");
|
|
855
|
-
}
|
|
856
|
-
handleMobileConfirm() {
|
|
857
|
-
this.open = false;
|
|
858
|
-
this.lastValidValue = [this.startDate, this.endDate];
|
|
859
|
-
this.emit("sl-input");
|
|
860
|
-
this.emit("sl-change");
|
|
861
|
-
}
|
|
862
|
-
handleMobileDateSelect(event) {
|
|
863
|
-
if (this.disabled || this.readonly) return;
|
|
864
|
-
this.mobileInteracted = true;
|
|
865
|
-
const selectedDate = event.detail.date;
|
|
866
|
-
if (this.type === "datetime") {
|
|
867
|
-
this.pendingDate = selectedDate;
|
|
868
|
-
this.pendingSide = this.activeInput;
|
|
869
|
-
const existingDate = this.activeInput === "start" ? this.startDate : this.endDate;
|
|
870
|
-
const timeDate = new Date(selectedDate);
|
|
871
|
-
if (existingDate) {
|
|
872
|
-
timeDate.setHours(existingDate.getHours(), existingDate.getMinutes(), existingDate.getSeconds());
|
|
873
|
-
} else {
|
|
874
|
-
timeDate.setHours(0, 0, 0, 0);
|
|
875
|
-
}
|
|
876
|
-
this.wheelDate = timeDate;
|
|
877
|
-
this.mobilePickerView = "time";
|
|
878
|
-
this.updateComplete.then(() => this.scrollToTimeWheelDate());
|
|
879
|
-
return;
|
|
880
|
-
}
|
|
881
|
-
if (this.activeInput === "start") {
|
|
882
|
-
if (this.endDate && selectedDate > this.endDate) {
|
|
883
|
-
this.applyRange(selectedDate, null);
|
|
884
|
-
this.activeInput = "end";
|
|
885
|
-
} else if (!this.endDate) {
|
|
886
|
-
this.applyRange(selectedDate, null);
|
|
887
|
-
this.activeInput = "end";
|
|
888
|
-
} else {
|
|
889
|
-
this.applyRange(selectedDate, this.endDate);
|
|
890
|
-
}
|
|
891
|
-
} else {
|
|
892
|
-
if (this.startDate && selectedDate < this.startDate) {
|
|
893
|
-
this.applyRange(null, selectedDate);
|
|
894
|
-
this.activeInput = "start";
|
|
895
|
-
} else if (!this.startDate) {
|
|
896
|
-
this.applyRange(null, selectedDate);
|
|
897
|
-
this.activeInput = "start";
|
|
898
|
-
} else {
|
|
899
|
-
this.applyRange(this.startDate, selectedDate);
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
this.leftDate = new Date(selectedDate);
|
|
903
|
-
this.emit("sl-input");
|
|
904
|
-
}
|
|
905
|
-
syncMobileCalendarToActive() {
|
|
906
|
-
const targetDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
907
|
-
if (targetDate) {
|
|
908
|
-
this.leftDate = new Date(targetDate);
|
|
909
|
-
this.updateComplete.then(() => {
|
|
910
|
-
var _a;
|
|
911
|
-
const cal = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(
|
|
912
|
-
".daterangepicker-mobile__calendar sl-calendar-picker"
|
|
913
|
-
);
|
|
914
|
-
if (cal) cal.setCurrentDate(this.leftDate);
|
|
915
|
-
});
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
handleMobileFooterClick(side) {
|
|
919
|
-
if (this.activeInput === side) return;
|
|
920
|
-
this.mobileInteracted = true;
|
|
921
|
-
this.activeInput = side;
|
|
922
|
-
this.syncMobileCalendarToActive();
|
|
923
|
-
}
|
|
924
|
-
handleMobileViewChange(event) {
|
|
925
|
-
const view = event.detail.view;
|
|
926
|
-
if (view === "years" || view === "months") {
|
|
927
|
-
event.preventDefault();
|
|
928
|
-
this.mobilePickerView = "wheel";
|
|
929
|
-
let currentDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
930
|
-
if (!currentDate) currentDate = /* @__PURE__ */ new Date();
|
|
931
|
-
this.wheelDate = new Date(currentDate);
|
|
932
|
-
this.wheelDate.setDate(1);
|
|
933
|
-
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
934
|
-
const minYear = minDate.getFullYear();
|
|
935
|
-
const yearIndex = this.wheelDate.getFullYear() - minYear;
|
|
936
|
-
if (yearIndex >= 0) {
|
|
937
|
-
this.yearScrollTop = yearIndex * WHEEL_ITEM_HEIGHT;
|
|
938
|
-
}
|
|
939
|
-
this.updateComplete.then(() => this.scrollToWheelDate());
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
scrollToWheelDate() {
|
|
943
|
-
if (this.yearColumn) {
|
|
944
|
-
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
945
|
-
const minYear = minDate.getFullYear();
|
|
946
|
-
const yearIndex = this.wheelDate.getFullYear() - minYear;
|
|
947
|
-
if (yearIndex >= 0) {
|
|
948
|
-
const scrollTop = yearIndex * WHEEL_ITEM_HEIGHT;
|
|
949
|
-
this.yearColumn.scrollTop = scrollTop;
|
|
950
|
-
this.yearScrollTop = scrollTop;
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
if (this.monthColumn) {
|
|
954
|
-
const monthIndex = this.wheelDate.getMonth();
|
|
955
|
-
this.monthColumn.scrollTop = (108 + monthIndex) * WHEEL_ITEM_HEIGHT;
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
handleWheelScroll(event, type) {
|
|
959
|
-
const target = event.target;
|
|
960
|
-
const itemHeight = WHEEL_ITEM_HEIGHT;
|
|
961
|
-
const scrollTop = target.scrollTop;
|
|
962
|
-
const index = Math.round(scrollTop / itemHeight);
|
|
963
|
-
if (type === "year") {
|
|
964
|
-
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
965
|
-
const minYear = minDate.getFullYear();
|
|
966
|
-
const maxDate = parseDatetime(String(this.max)) || new Date(9999, 11, 31);
|
|
967
|
-
const maxYear = maxDate.getFullYear();
|
|
968
|
-
const year = Math.max(minYear, Math.min(maxYear, minYear + index));
|
|
969
|
-
if (year !== this.wheelDate.getFullYear()) {
|
|
970
|
-
this.wheelDate = new Date(this.wheelDate.setFullYear(year));
|
|
971
|
-
}
|
|
972
|
-
if (Math.abs(scrollTop - this.yearScrollTop) > WHEEL_ITEM_HEIGHT * 2) {
|
|
973
|
-
this.yearScrollTop = scrollTop;
|
|
974
|
-
}
|
|
975
|
-
} else {
|
|
976
|
-
const currentSet = Math.floor(index / 12);
|
|
977
|
-
const centerSet = 9;
|
|
978
|
-
if (Math.abs(currentSet - centerSet) > 5) {
|
|
979
|
-
const relativeMonthIndex = index % 12;
|
|
980
|
-
target.scrollTop = (centerSet * 12 + relativeMonthIndex) * itemHeight;
|
|
981
|
-
}
|
|
982
|
-
const newIndex = Math.round(target.scrollTop / itemHeight);
|
|
983
|
-
const monthIndex = newIndex % 12;
|
|
984
|
-
if (monthIndex !== this.wheelDate.getMonth()) {
|
|
985
|
-
this.wheelDate = new Date(this.wheelDate.setMonth(monthIndex));
|
|
986
|
-
this.requestUpdate();
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
async handleWheelConfirm() {
|
|
991
|
-
var _a;
|
|
992
|
-
const newDate = new Date(this.wheelDate);
|
|
993
|
-
this.mobilePickerView = "calendar";
|
|
994
|
-
await this.updateComplete;
|
|
995
|
-
this.leftDate = newDate;
|
|
996
|
-
const cal = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(
|
|
997
|
-
".daterangepicker-mobile__calendar sl-calendar-picker"
|
|
998
|
-
);
|
|
999
|
-
if (cal) cal.setCurrentDate(newDate);
|
|
1000
|
-
}
|
|
1001
|
-
handleWheelCancel() {
|
|
1002
|
-
this.mobilePickerView = "calendar";
|
|
1003
|
-
}
|
|
1004
|
-
// ─── Mobile Time Wheel Picker (for type='datetime') ───
|
|
1005
|
-
scrollToTimeWheelDate() {
|
|
1006
|
-
const itemHeight = WHEEL_ITEM_HEIGHT;
|
|
1007
|
-
const centerSet = 9;
|
|
1008
|
-
if (this.hourColumn) {
|
|
1009
|
-
this.hourColumn.scrollTop = (centerSet * 24 + this.wheelDate.getHours()) * itemHeight;
|
|
1010
|
-
}
|
|
1011
|
-
if (this.minuteColumn) {
|
|
1012
|
-
this.minuteColumn.scrollTop = (centerSet * 60 + this.wheelDate.getMinutes()) * itemHeight;
|
|
1013
|
-
}
|
|
1014
|
-
if (this.secondColumn) {
|
|
1015
|
-
this.secondColumn.scrollTop = (centerSet * 60 + this.wheelDate.getSeconds()) * itemHeight;
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
handleTimeWheelScroll(event, type) {
|
|
1019
|
-
const target = event.target;
|
|
1020
|
-
const itemHeight = WHEEL_ITEM_HEIGHT;
|
|
1021
|
-
const scrollTop = target.scrollTop;
|
|
1022
|
-
const index = Math.round(scrollTop / itemHeight);
|
|
1023
|
-
const range = type === "hour" ? 24 : 60;
|
|
1024
|
-
const centerSet = 9;
|
|
1025
|
-
if (Math.abs(Math.floor(index / range) - centerSet) > 5) {
|
|
1026
|
-
const relativeIndex = index % range;
|
|
1027
|
-
target.scrollTop = (centerSet * range + relativeIndex) * itemHeight;
|
|
1028
|
-
}
|
|
1029
|
-
const newIndex = Math.round(target.scrollTop / itemHeight);
|
|
1030
|
-
const val = newIndex % range;
|
|
1031
|
-
if (type === "hour" && val !== this.wheelDate.getHours()) {
|
|
1032
|
-
this.wheelDate = new Date(this.wheelDate.setHours(val));
|
|
1033
|
-
} else if (type === "minute" && val !== this.wheelDate.getMinutes()) {
|
|
1034
|
-
this.wheelDate = new Date(this.wheelDate.setMinutes(val));
|
|
1035
|
-
} else if (type === "second" && val !== this.wheelDate.getSeconds()) {
|
|
1036
|
-
this.wheelDate = new Date(this.wheelDate.setSeconds(val));
|
|
1037
|
-
}
|
|
1038
|
-
this.requestUpdate();
|
|
1039
|
-
}
|
|
1040
|
-
handleTimeWheelConfirm() {
|
|
1041
|
-
if (!this.pendingDate || !this.pendingSide) return;
|
|
1042
|
-
const finalDate = new Date(this.pendingDate);
|
|
1043
|
-
finalDate.setHours(this.wheelDate.getHours(), this.wheelDate.getMinutes(), this.wheelDate.getSeconds());
|
|
1044
|
-
const side = this.pendingSide;
|
|
1045
|
-
this.pendingDate = null;
|
|
1046
|
-
this.pendingSide = null;
|
|
1047
|
-
this.mobilePickerView = "calendar";
|
|
1048
|
-
if (side === "start") {
|
|
1049
|
-
if (this.endDate && finalDate > this.endDate) {
|
|
1050
|
-
this.applyRange(finalDate, null);
|
|
1051
|
-
this.activeInput = "end";
|
|
1052
|
-
} else if (!this.endDate) {
|
|
1053
|
-
this.applyRange(finalDate, null);
|
|
1054
|
-
this.activeInput = "end";
|
|
1055
|
-
} else {
|
|
1056
|
-
this.applyRange(finalDate, this.endDate);
|
|
1057
|
-
}
|
|
1058
|
-
} else {
|
|
1059
|
-
if (this.startDate && finalDate < this.startDate) {
|
|
1060
|
-
this.applyRange(null, finalDate);
|
|
1061
|
-
this.activeInput = "start";
|
|
1062
|
-
} else if (!this.startDate) {
|
|
1063
|
-
this.applyRange(null, finalDate);
|
|
1064
|
-
this.activeInput = "start";
|
|
1065
|
-
} else {
|
|
1066
|
-
this.applyRange(this.startDate, finalDate);
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
this.emit("sl-input");
|
|
1070
|
-
this.updateComplete.then(() => {
|
|
1071
|
-
this.syncMobileCalendarToActive();
|
|
1072
|
-
});
|
|
1073
|
-
}
|
|
1074
|
-
padStart(num, length = 2) {
|
|
1075
|
-
return String(num).padStart(length, "0");
|
|
1076
|
-
}
|
|
1077
|
-
renderMobileTimeWheelPicker() {
|
|
1078
|
-
const hours = Array.from({ length: 24 }, (_, i) => i);
|
|
1079
|
-
const minutes = Array.from({ length: 60 }, (_, i) => i);
|
|
1080
|
-
const seconds = Array.from({ length: 60 }, (_, i) => i);
|
|
1081
|
-
const displayHours = Array.from({ length: 19 }, () => hours).flat();
|
|
1082
|
-
const displayMinutes = Array.from({ length: 19 }, () => minutes).flat();
|
|
1083
|
-
const displaySeconds = Array.from({ length: 19 }, () => seconds).flat();
|
|
1084
|
-
const currentHour = this.wheelDate.getHours();
|
|
1085
|
-
const currentMinute = this.wheelDate.getMinutes();
|
|
1086
|
-
const currentSecond = this.wheelDate.getSeconds();
|
|
1087
|
-
return b`
|
|
1088
|
-
<div class="daterangepicker-mobile__wheel-picker">
|
|
1089
|
-
<div class="daterangepicker-mobile__wheel-header flex-justify-end">
|
|
1090
|
-
<sl-button variant="text" @click=${this.handleTimeWheelConfirm}>${LOCALE.confirmText}</sl-button>
|
|
1091
|
-
</div>
|
|
1092
|
-
<div class="daterangepicker-mobile__wheel-labels">
|
|
1093
|
-
<div>${LOCALE.hour}</div>
|
|
1094
|
-
<div>${LOCALE.minute}</div>
|
|
1095
|
-
<div>${LOCALE.second}</div>
|
|
1096
|
-
</div>
|
|
1097
|
-
<div class="daterangepicker-mobile__wheel-body">
|
|
1098
|
-
<div class="daterangepicker-mobile__wheel-translate-top"></div>
|
|
1099
|
-
<div class="daterangepicker-mobile__wheel-highlight"></div>
|
|
1100
|
-
<div class="daterangepicker-mobile__wheel-translate-bottom"></div>
|
|
1101
|
-
|
|
1102
|
-
<div
|
|
1103
|
-
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--hour"
|
|
1104
|
-
@scroll=${(e3) => this.handleTimeWheelScroll(e3, "hour")}
|
|
1105
|
-
>
|
|
1106
|
-
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1107
|
-
${displayHours.map(
|
|
1108
|
-
(h, index) => b`
|
|
1109
|
-
<div
|
|
1110
|
-
class="daterangepicker-mobile__wheel-item ${e({
|
|
1111
|
-
"daterangepicker-mobile__wheel-item--selected": index % 24 === currentHour
|
|
1112
|
-
})}"
|
|
1113
|
-
>
|
|
1114
|
-
${this.padStart(h)}
|
|
1115
|
-
</div>
|
|
1116
|
-
`
|
|
1117
|
-
)}
|
|
1118
|
-
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1119
|
-
</div>
|
|
1120
|
-
|
|
1121
|
-
<div
|
|
1122
|
-
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--minute"
|
|
1123
|
-
@scroll=${(e3) => this.handleTimeWheelScroll(e3, "minute")}
|
|
1124
|
-
>
|
|
1125
|
-
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1126
|
-
${displayMinutes.map(
|
|
1127
|
-
(m, index) => b`
|
|
1128
|
-
<div
|
|
1129
|
-
class="daterangepicker-mobile__wheel-item ${e({
|
|
1130
|
-
"daterangepicker-mobile__wheel-item--selected": index % 60 === currentMinute
|
|
1131
|
-
})}"
|
|
1132
|
-
>
|
|
1133
|
-
${this.padStart(m)}
|
|
1134
|
-
</div>
|
|
1135
|
-
`
|
|
1136
|
-
)}
|
|
1137
|
-
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1138
|
-
</div>
|
|
1139
|
-
|
|
1140
|
-
<div
|
|
1141
|
-
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--second"
|
|
1142
|
-
@scroll=${(e3) => this.handleTimeWheelScroll(e3, "second")}
|
|
1143
|
-
>
|
|
1144
|
-
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1145
|
-
${displaySeconds.map(
|
|
1146
|
-
(s, index) => b`
|
|
1147
|
-
<div
|
|
1148
|
-
class="daterangepicker-mobile__wheel-item ${e({
|
|
1149
|
-
"daterangepicker-mobile__wheel-item--selected": index % 60 === currentSecond
|
|
1150
|
-
})}"
|
|
1151
|
-
>
|
|
1152
|
-
${this.padStart(s)}
|
|
1153
|
-
</div>
|
|
1154
|
-
`
|
|
1155
|
-
)}
|
|
1156
|
-
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1157
|
-
</div>
|
|
1158
|
-
</div>
|
|
1159
|
-
</div>
|
|
1160
|
-
`;
|
|
1161
|
-
}
|
|
1162
|
-
renderMobileCalendarContent(displayStartDate, displayEndDate) {
|
|
1163
|
-
return b`
|
|
1164
|
-
${this.renderMobileHeader()}
|
|
1165
|
-
<div class="daterangepicker-mobile__calendar">
|
|
1166
|
-
<sl-calendar-picker
|
|
1167
|
-
.value=${""}
|
|
1168
|
-
type="date"
|
|
1169
|
-
mode="range"
|
|
1170
|
-
.startDate=${displayStartDate}
|
|
1171
|
-
.endDate=${displayEndDate}
|
|
1172
|
-
.activeInput=${this.activeInput}
|
|
1173
|
-
.min=${o(this.min)}
|
|
1174
|
-
.max=${o(this.max)}
|
|
1175
|
-
.currentDate=${this.leftDate}
|
|
1176
|
-
.syncViewWithValue=${false}
|
|
1177
|
-
.disabledDate=${(date) => this.isMobileDateDisabled(date)}
|
|
1178
|
-
@sl-date-select=${this.handleMobileDateSelect}
|
|
1179
|
-
@sl-view-change=${this.handleMobileViewChange}
|
|
1180
|
-
@click=${(event) => event.stopPropagation()}
|
|
1181
|
-
></sl-calendar-picker>
|
|
1182
|
-
</div>
|
|
1183
|
-
${this.renderMobileFooter()}
|
|
1184
|
-
`;
|
|
1185
|
-
}
|
|
1186
|
-
renderMobileHeader() {
|
|
1187
|
-
const hasAnyValue = !!(this.startDate || this.endDate);
|
|
1188
|
-
const isConfirmDisabled = !(this.startDate && this.endDate);
|
|
1189
|
-
return b`
|
|
1190
|
-
<div class="daterangepicker-mobile__header">
|
|
1191
|
-
<div class="daterangepicker-mobile__header-left">
|
|
1192
|
-
<sl-button variant="text" @click=${this.handleMobileCancel}>${LOCALE.cancelText}</sl-button>
|
|
1193
|
-
<sl-button variant="text" @click=${this.handleMobileClear} ?disabled=${!hasAnyValue}
|
|
1194
|
-
>${LOCALE.clearText}</sl-button
|
|
1195
|
-
>
|
|
1196
|
-
</div>
|
|
1197
|
-
<sl-button
|
|
1198
|
-
class="daterangepicker-mobile__confirm-btn"
|
|
1199
|
-
variant="text"
|
|
1200
|
-
@click=${this.handleMobileConfirm}
|
|
1201
|
-
?disabled=${isConfirmDisabled}
|
|
1202
|
-
>${LOCALE.confirmText}</sl-button
|
|
1203
|
-
>
|
|
1204
|
-
</div>
|
|
1205
|
-
`;
|
|
1206
|
-
}
|
|
1207
|
-
renderMobileFooter() {
|
|
1208
|
-
const displayType = this.type === "datetime" ? "datetime" : "date";
|
|
1209
|
-
const startText = this.startDate ? formatDatetime(this.startDate, displayType) : this.startPlaceholder;
|
|
1210
|
-
const endText = this.endDate ? formatDatetime(this.endDate, displayType) : this.endPlaceholder;
|
|
1211
|
-
return b`
|
|
1212
|
-
<div class="daterangepicker-mobile__footer">
|
|
1213
|
-
<div
|
|
1214
|
-
class=${e({
|
|
1215
|
-
"daterangepicker-mobile__footer-item": true,
|
|
1216
|
-
"daterangepicker-mobile__footer-item--active": this.activeInput === "start",
|
|
1217
|
-
"daterangepicker-mobile__footer-item--empty": !this.startDate
|
|
1218
|
-
})}
|
|
1219
|
-
@click=${() => this.handleMobileFooterClick("start")}
|
|
1220
|
-
>
|
|
1221
|
-
${startText}
|
|
1222
|
-
</div>
|
|
1223
|
-
<span class="daterangepicker-mobile__footer-separator">~</span>
|
|
1224
|
-
<div
|
|
1225
|
-
class=${e({
|
|
1226
|
-
"daterangepicker-mobile__footer-item": true,
|
|
1227
|
-
"daterangepicker-mobile__footer-item--active": this.activeInput === "end",
|
|
1228
|
-
"daterangepicker-mobile__footer-item--empty": !this.endDate
|
|
1229
|
-
})}
|
|
1230
|
-
@click=${() => this.handleMobileFooterClick("end")}
|
|
1231
|
-
>
|
|
1232
|
-
${endText}
|
|
1233
|
-
</div>
|
|
1234
|
-
</div>
|
|
1235
|
-
`;
|
|
1236
|
-
}
|
|
1237
|
-
renderMobileWheelPicker() {
|
|
1238
|
-
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
1239
|
-
const maxDate = parseDatetime(String(this.max)) || new Date(9999, 11, 31);
|
|
1240
|
-
const minYear = minDate.getFullYear();
|
|
1241
|
-
const maxYear = maxDate.getFullYear();
|
|
1242
|
-
const totalYears = maxYear - minYear + 1;
|
|
1243
|
-
const itemHeight = WHEEL_ITEM_HEIGHT;
|
|
1244
|
-
const buffer = 50;
|
|
1245
|
-
const scrollTop = this.yearScrollTop;
|
|
1246
|
-
const startIndex = Math.max(0, Math.floor(scrollTop / itemHeight) - buffer);
|
|
1247
|
-
const endIndex = Math.min(totalYears, Math.ceil((scrollTop + 500) / itemHeight) + buffer);
|
|
1248
|
-
const visibleYears = [];
|
|
1249
|
-
for (let i = startIndex; i < endIndex; i++) {
|
|
1250
|
-
visibleYears.push({ year: minYear + i });
|
|
1251
|
-
}
|
|
1252
|
-
const months = Array.from({ length: 12 }, (_, i) => i + 1);
|
|
1253
|
-
const displayMonths = Array(19).fill(months).flat();
|
|
1254
|
-
const currentYear = this.wheelDate.getFullYear();
|
|
1255
|
-
const currentMonth = this.wheelDate.getMonth() + 1;
|
|
1256
|
-
return b`
|
|
1257
|
-
<div class="daterangepicker-mobile__wheel-picker">
|
|
1258
|
-
<div class="daterangepicker-mobile__wheel-header">
|
|
1259
|
-
<sl-button variant="text" @click=${this.handleWheelCancel}>${LOCALE.cancelText}</sl-button>
|
|
1260
|
-
<sl-button variant="text" @click=${this.handleWheelConfirm}>${LOCALE.confirmText}</sl-button>
|
|
1261
|
-
</div>
|
|
1262
|
-
<div class="daterangepicker-mobile__wheel-current">
|
|
1263
|
-
${currentYear}${LOCALE.year} ${currentMonth}${LOCALE.month}
|
|
1264
|
-
</div>
|
|
1265
|
-
<div class="daterangepicker-mobile__wheel-labels">
|
|
1266
|
-
<div>${LOCALE.year}</div>
|
|
1267
|
-
<div>${LOCALE.month}</div>
|
|
1268
|
-
</div>
|
|
1269
|
-
<div class="daterangepicker-mobile__wheel-body">
|
|
1270
|
-
<div class="daterangepicker-mobile__wheel-translate-top"></div>
|
|
1271
|
-
<div class="daterangepicker-mobile__wheel-highlight"></div>
|
|
1272
|
-
<div class="daterangepicker-mobile__wheel-translate-bottom"></div>
|
|
1273
|
-
<div
|
|
1274
|
-
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--year"
|
|
1275
|
-
@scroll=${(e3) => this.handleWheelScroll(e3, "year")}
|
|
1276
|
-
>
|
|
1277
|
-
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1278
|
-
<div style="height: ${startIndex * itemHeight}px; flex-shrink: 0;"></div>
|
|
1279
|
-
${visibleYears.map(
|
|
1280
|
-
(item) => b`
|
|
1281
|
-
<div
|
|
1282
|
-
class="daterangepicker-mobile__wheel-item ${e({
|
|
1283
|
-
"daterangepicker-mobile__wheel-item--selected": item.year === currentYear
|
|
1284
|
-
})}"
|
|
1285
|
-
>
|
|
1286
|
-
${item.year}
|
|
1287
|
-
</div>
|
|
1288
|
-
`
|
|
1289
|
-
)}
|
|
1290
|
-
<div style="height: ${(totalYears - endIndex) * itemHeight}px; flex-shrink: 0;"></div>
|
|
1291
|
-
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1292
|
-
</div>
|
|
1293
|
-
<div
|
|
1294
|
-
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--month"
|
|
1295
|
-
@scroll=${(e3) => this.handleWheelScroll(e3, "month")}
|
|
1296
|
-
>
|
|
1297
|
-
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1298
|
-
${displayMonths.map(
|
|
1299
|
-
(month, index) => b`
|
|
1300
|
-
<div
|
|
1301
|
-
class="daterangepicker-mobile__wheel-item ${e({
|
|
1302
|
-
"daterangepicker-mobile__wheel-item--selected": index % 12 + 1 === currentMonth
|
|
1303
|
-
})}"
|
|
1304
|
-
>
|
|
1305
|
-
${month}
|
|
1306
|
-
</div>
|
|
1307
|
-
`
|
|
1308
|
-
)}
|
|
1309
|
-
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1310
|
-
</div>
|
|
1311
|
-
</div>
|
|
1312
|
-
</div>
|
|
1313
|
-
`;
|
|
1314
|
-
}
|
|
1315
|
-
renderMobile() {
|
|
1316
|
-
const hasLabel = this.label ? true : !!this.hasSlotController.test("label");
|
|
1317
|
-
const hasHelpText = this.helpText ? true : !!this.hasSlotController.test("help-text");
|
|
1318
|
-
const [calendarStartDate, calendarEndDate] = this.getCalendarRange();
|
|
1319
|
-
const displayStartDate = this.normalizeCalendarDate(calendarStartDate);
|
|
1320
|
-
const displayEndDate = this.normalizeCalendarDate(calendarEndDate);
|
|
1321
|
-
return b`
|
|
1322
|
-
<div
|
|
1323
|
-
part="form-control"
|
|
1324
|
-
class=${e({
|
|
1325
|
-
"form-control": true,
|
|
1326
|
-
"form-control--small": this.size === "small",
|
|
1327
|
-
"form-control--medium": this.size === "medium",
|
|
1328
|
-
"form-control--large": this.size === "large",
|
|
1329
|
-
"form-control--has-label": hasLabel,
|
|
1330
|
-
"form-control--has-help-text": hasHelpText
|
|
1331
|
-
})}
|
|
1332
|
-
>
|
|
1333
|
-
<label
|
|
1334
|
-
part="form-control-label"
|
|
1335
|
-
class="form-control__label"
|
|
1336
|
-
for="start-input"
|
|
1337
|
-
aria-hidden=${hasLabel ? "false" : "true"}
|
|
1338
|
-
>
|
|
1339
|
-
<slot name="label">${this.label}</slot>
|
|
1340
|
-
</label>
|
|
1341
|
-
|
|
1342
|
-
<div part="form-control-input" class="form-control__input">
|
|
1343
|
-
<div
|
|
1344
|
-
slot="anchor"
|
|
1345
|
-
part="base"
|
|
1346
|
-
class=${e({
|
|
1347
|
-
daterangepicker: true,
|
|
1348
|
-
"daterangepicker--standard": !this.filled,
|
|
1349
|
-
"daterangepicker--filled": this.filled,
|
|
1350
|
-
"daterangepicker--pill": this.pill,
|
|
1351
|
-
"daterangepicker--disabled": this.disabled,
|
|
1352
|
-
"daterangepicker--focused": this.open,
|
|
1353
|
-
"daterangepicker--empty": !this.startValue && !this.endValue,
|
|
1354
|
-
"daterangepicker--small": this.size === "small",
|
|
1355
|
-
"daterangepicker--medium": this.size === "medium",
|
|
1356
|
-
"daterangepicker--large": this.size === "large"
|
|
1357
|
-
})}
|
|
1358
|
-
@click=${() => {
|
|
1359
|
-
if (!this.disabled && !this.readonly) {
|
|
1360
|
-
this.activeInput = "start";
|
|
1361
|
-
this.open = true;
|
|
1362
|
-
}
|
|
1363
|
-
}}
|
|
1364
|
-
>
|
|
1365
|
-
<span class="daterangepicker__control-wrapper">
|
|
1366
|
-
<span
|
|
1367
|
-
class="daterangepicker__control daterangepicker__control--start"
|
|
1368
|
-
style="color: ${this.startValue ? "var(--sl-input-color)" : "var(--sl-input-placeholder-color)"}"
|
|
1369
|
-
>${this.startValue || this.startPlaceholder}</span
|
|
1370
|
-
>
|
|
1371
|
-
</span>
|
|
1372
|
-
|
|
1373
|
-
<span part="separator" class="daterangepicker__separator">~</span>
|
|
1374
|
-
|
|
1375
|
-
<span class="daterangepicker__control-wrapper">
|
|
1376
|
-
<span
|
|
1377
|
-
class="daterangepicker__control daterangepicker__control--end"
|
|
1378
|
-
style="color: ${this.endValue ? "var(--sl-input-color)" : "var(--sl-input-placeholder-color)"}"
|
|
1379
|
-
>${this.endValue || this.endPlaceholder}</span
|
|
1380
|
-
>
|
|
1381
|
-
</span>
|
|
1382
|
-
|
|
1383
|
-
<div part="suffix" class="daterangepicker__suffix">
|
|
1384
|
-
<slot name="suffix">
|
|
1385
|
-
<sl-icon name="calendar4"></sl-icon>
|
|
1386
|
-
</slot>
|
|
1387
|
-
</div>
|
|
1388
|
-
</div>
|
|
1389
|
-
|
|
1390
|
-
<sl-drawer
|
|
1391
|
-
class="daterangepicker-mobile__drawer"
|
|
1392
|
-
placement="bottom"
|
|
1393
|
-
?open=${this.open}
|
|
1394
|
-
no-header
|
|
1395
|
-
@sl-request-close=${(event) => {
|
|
1396
|
-
if (event.detail.source === "overlay" || event.detail.source === "keyboard") {
|
|
1397
|
-
event.preventDefault();
|
|
1398
|
-
this.handleMobileCancel();
|
|
1399
|
-
}
|
|
1400
|
-
}}
|
|
1401
|
-
>
|
|
1402
|
-
${this.renderMobileCalendarContent(displayStartDate, displayEndDate)}
|
|
1403
|
-
${this.mobilePickerView === "wheel" ? this.renderMobileWheelPicker() : this.mobilePickerView === "time" ? this.renderMobileTimeWheelPicker() : null}
|
|
1404
|
-
</sl-drawer>
|
|
1405
|
-
</div>
|
|
1406
|
-
|
|
1407
|
-
<div
|
|
1408
|
-
part="form-control-help-text"
|
|
1409
|
-
class="form-control__help-text"
|
|
1410
|
-
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
1411
|
-
>
|
|
1412
|
-
<slot name="help-text">${this.helpText}</slot>
|
|
1413
|
-
</div>
|
|
1414
|
-
</div>
|
|
1415
|
-
`;
|
|
1416
|
-
}
|
|
1417
|
-
render() {
|
|
1418
|
-
if (this.isMobile) {
|
|
1419
|
-
return this.renderMobile();
|
|
1420
|
-
}
|
|
1421
|
-
const hasLabel = this.label ? true : !!this.hasSlotController.test("label");
|
|
1422
|
-
const hasHelpText = this.helpText ? true : !!this.hasSlotController.test("help-text");
|
|
1423
|
-
const isClearable = this.clearable && (this.startValue || this.endValue) && !this.disabled && !this.readonly && (this.hasFocus || this.isHovered);
|
|
1424
|
-
const showDualCalendars = this.calendarView === "days" && this.type !== "datetime";
|
|
1425
|
-
const singleCalendarIsRight = !showDualCalendars && this.calendarViewAnchor === "right";
|
|
1426
|
-
const [calendarStartDate, calendarEndDate] = this.getCalendarRange();
|
|
1427
|
-
const displayStartDate = this.type === "datetime" ? this.normalizeCalendarDate(calendarStartDate) : calendarStartDate;
|
|
1428
|
-
const displayEndDate = this.type === "datetime" ? this.normalizeCalendarDate(calendarEndDate) : calendarEndDate;
|
|
1429
|
-
const effectiveHoverDate = this.type === "datetime" ? this.enableHoverRange ? this.normalizeCalendarDate(this.hoverDate) : null : this.hoverDate;
|
|
1430
|
-
const calendarValue = this.type === "datetime" ? this.activeInput === "end" ? this.endDate ? formatDatetime(this.endDate, this.type) : "" : this.startDate ? formatDatetime(this.startDate, this.type) : "" : singleCalendarIsRight ? this.endValue : this.startValue;
|
|
1431
|
-
return b`
|
|
1432
|
-
<div
|
|
1433
|
-
part="form-control"
|
|
1434
|
-
class=${e({
|
|
1435
|
-
"form-control": true,
|
|
1436
|
-
"form-control--small": this.size === "small",
|
|
1437
|
-
"form-control--medium": this.size === "medium",
|
|
1438
|
-
"form-control--large": this.size === "large",
|
|
1439
|
-
"form-control--has-label": hasLabel,
|
|
1440
|
-
"form-control--has-help-text": hasHelpText
|
|
1441
|
-
})}
|
|
1442
|
-
>
|
|
1443
|
-
<label
|
|
1444
|
-
part="form-control-label"
|
|
1445
|
-
class="form-control__label"
|
|
1446
|
-
for="start-input"
|
|
1447
|
-
aria-hidden=${hasLabel ? "false" : "true"}
|
|
1448
|
-
>
|
|
1449
|
-
<slot name="label">${this.label}</slot>
|
|
1450
|
-
</label>
|
|
1451
|
-
|
|
1452
|
-
<div part="form-control-input" class="form-control__input">
|
|
1453
|
-
<sl-popup
|
|
1454
|
-
part="popup"
|
|
1455
|
-
class="daterangepicker__popup"
|
|
1456
|
-
exportparts="popup"
|
|
1457
|
-
?active=${this.open}
|
|
1458
|
-
placement="bottom-start"
|
|
1459
|
-
strategy="fixed"
|
|
1460
|
-
flip
|
|
1461
|
-
shift
|
|
1462
|
-
auto-size="vertical"
|
|
1463
|
-
auto-size-padding="10"
|
|
1464
|
-
>
|
|
1465
|
-
<div
|
|
1466
|
-
slot="anchor"
|
|
1467
|
-
part="base"
|
|
1468
|
-
class=${e({
|
|
1469
|
-
daterangepicker: true,
|
|
1470
|
-
"daterangepicker--standard": !this.filled,
|
|
1471
|
-
"daterangepicker--filled": this.filled,
|
|
1472
|
-
"daterangepicker--pill": this.pill,
|
|
1473
|
-
"daterangepicker--disabled": this.disabled,
|
|
1474
|
-
"daterangepicker--focused": this.hasFocus,
|
|
1475
|
-
"daterangepicker--empty": !this.startValue && !this.endValue,
|
|
1476
|
-
"daterangepicker--small": this.size === "small",
|
|
1477
|
-
"daterangepicker--medium": this.size === "medium",
|
|
1478
|
-
"daterangepicker--large": this.size === "large"
|
|
1479
|
-
})}
|
|
1480
|
-
@click=${this.handleBaseClick}
|
|
1481
|
-
@mouseenter=${() => this.isHovered = true}
|
|
1482
|
-
@mouseleave=${() => this.isHovered = false}
|
|
1483
|
-
>
|
|
1484
|
-
<span
|
|
1485
|
-
class=${e({
|
|
1486
|
-
"daterangepicker__control-wrapper": true,
|
|
1487
|
-
"daterangepicker__control-wrapper--active": this.activeInput === "start" && this.open
|
|
1488
|
-
})}
|
|
1489
|
-
>
|
|
1490
|
-
<input
|
|
1491
|
-
id="start-input"
|
|
1492
|
-
part="start-input"
|
|
1493
|
-
class=${e({
|
|
1494
|
-
daterangepicker__control: true,
|
|
1495
|
-
"daterangepicker__control--start": true
|
|
1496
|
-
})}
|
|
1497
|
-
type="text"
|
|
1498
|
-
title=${this.startValue}
|
|
1499
|
-
name=${o(this.name ? `${this.name}-start` : void 0)}
|
|
1500
|
-
.value=${l(this.startValue)}
|
|
1501
|
-
placeholder=${this.startPlaceholder}
|
|
1502
|
-
?disabled=${this.disabled}
|
|
1503
|
-
?readonly=${this.readonly}
|
|
1504
|
-
?required=${this.required}
|
|
1505
|
-
autocomplete="off"
|
|
1506
|
-
@input=${this.handleInput}
|
|
1507
|
-
@change=${this.handleChange}
|
|
1508
|
-
@keydown=${this.handleInputKeyDown}
|
|
1509
|
-
@focus=${this.handleFocus}
|
|
1510
|
-
@blur=${this.handleBlur}
|
|
1511
|
-
@invalid=${this.handleInvalid}
|
|
1512
|
-
/>
|
|
1513
|
-
</span>
|
|
1514
|
-
|
|
1515
|
-
<span part="separator" class="daterangepicker__separator">~</span>
|
|
1516
|
-
|
|
1517
|
-
<span
|
|
1518
|
-
class=${e({
|
|
1519
|
-
"daterangepicker__control-wrapper": true,
|
|
1520
|
-
"daterangepicker__control-wrapper--active": this.activeInput === "end" && this.open
|
|
1521
|
-
})}
|
|
1522
|
-
>
|
|
1523
|
-
<input
|
|
1524
|
-
id="end-input"
|
|
1525
|
-
part="end-input"
|
|
1526
|
-
class=${e({
|
|
1527
|
-
daterangepicker__control: true,
|
|
1528
|
-
"daterangepicker__control--end": true
|
|
1529
|
-
})}
|
|
1530
|
-
type="text"
|
|
1531
|
-
title=${this.endValue}
|
|
1532
|
-
name=${o(this.name ? `${this.name}-end` : void 0)}
|
|
1533
|
-
.value=${l(this.endValue)}
|
|
1534
|
-
placeholder=${this.endPlaceholder}
|
|
1535
|
-
?disabled=${this.disabled}
|
|
1536
|
-
?readonly=${this.readonly}
|
|
1537
|
-
?required=${this.required}
|
|
1538
|
-
autocomplete="off"
|
|
1539
|
-
@input=${this.handleInput}
|
|
1540
|
-
@change=${this.handleChange}
|
|
1541
|
-
@keydown=${this.handleInputKeyDown}
|
|
1542
|
-
@focus=${this.handleFocus}
|
|
1543
|
-
@blur=${this.handleBlur}
|
|
1544
|
-
@invalid=${this.handleInvalid}
|
|
1545
|
-
/>
|
|
1546
|
-
</span>
|
|
1547
|
-
|
|
1548
|
-
<span
|
|
1549
|
-
part="clear-button"
|
|
1550
|
-
class=${e({
|
|
1551
|
-
daterangepicker__clear: true,
|
|
1552
|
-
"daterangepicker__clear--hidden": !isClearable
|
|
1553
|
-
})}
|
|
1554
|
-
@click=${this.handleClearClick}
|
|
1555
|
-
aria-label=${this.localize.term("clearEntry")}
|
|
1556
|
-
>
|
|
1557
|
-
<sl-icon name="x-lg" library="system"></sl-icon>
|
|
1558
|
-
</span>
|
|
1559
|
-
|
|
1560
|
-
<div part="suffix" class="daterangepicker__suffix" ?hidden=${isClearable}>
|
|
1561
|
-
<slot name="suffix">
|
|
1562
|
-
<sl-icon name="calendar4"></sl-icon>
|
|
1563
|
-
</slot>
|
|
1564
|
-
</div>
|
|
1565
|
-
</div>
|
|
1566
|
-
|
|
1567
|
-
<div
|
|
1568
|
-
part="calendars"
|
|
1569
|
-
class=${e({
|
|
1570
|
-
daterangepicker__calendars: true,
|
|
1571
|
-
"daterangepicker__calendars--single": !showDualCalendars
|
|
1572
|
-
})}
|
|
1573
|
-
@mousedown=${(e3) => e3.preventDefault()}
|
|
1574
|
-
@mouseleave=${() => this.hoverDate = null}
|
|
1575
|
-
>
|
|
1576
|
-
<sl-calendar-picker
|
|
1577
|
-
exportparts="
|
|
1578
|
-
base:calendar-base,
|
|
1579
|
-
header:calendar-header,
|
|
1580
|
-
nav-button:calendar-nav-button,
|
|
1581
|
-
title:calendar-title,
|
|
1582
|
-
title-year:calendar-title-year,
|
|
1583
|
-
title-month:calendar-title-month,
|
|
1584
|
-
body:calendar-body,
|
|
1585
|
-
date-panel:calendar-date-panel,
|
|
1586
|
-
day-header:calendar-day-header,
|
|
1587
|
-
day:calendar-day,
|
|
1588
|
-
day-footer:calendar-day-footer,
|
|
1589
|
-
month-grid:calendar-month-grid,
|
|
1590
|
-
month-item:calendar-month-item,
|
|
1591
|
-
year-grid:calendar-year-grid,
|
|
1592
|
-
year-item:calendar-year-item,
|
|
1593
|
-
time-footer:calendar-time-footer,
|
|
1594
|
-
time-panel-base:calendar-time-base,
|
|
1595
|
-
time-panel-header:calendar-time-header,
|
|
1596
|
-
time-panel-columns:calendar-time-columns,
|
|
1597
|
-
time-panel-column:calendar-time-column,
|
|
1598
|
-
time-panel-item:calendar-time-item
|
|
1599
|
-
"
|
|
1600
|
-
.value=${calendarValue}
|
|
1601
|
-
type=${this.type}
|
|
1602
|
-
mode="range"
|
|
1603
|
-
.startDate=${displayStartDate}
|
|
1604
|
-
.endDate=${displayEndDate}
|
|
1605
|
-
.hoverDate=${effectiveHoverDate}
|
|
1606
|
-
.activeInput=${this.activeInput}
|
|
1607
|
-
.min=${o(this.min)}
|
|
1608
|
-
.max=${o(this.max)}
|
|
1609
|
-
.currentDate=${this.type === "datetime" ? this.leftDate : singleCalendarIsRight ? this.rightDate : this.leftDate}
|
|
1610
|
-
.syncViewWithValue=${false}
|
|
1611
|
-
.disabledDate=${(date) => this.isDateDisabled(date)}
|
|
1612
|
-
@sl-date-select=${this.handleDateSelect}
|
|
1613
|
-
@sl-date-change=${this.handleDateChange}
|
|
1614
|
-
@sl-view-change=${this.handleCalendarViewChange}
|
|
1615
|
-
@sl-date-hover=${(e3) => this.hoverDate = e3.detail.date}
|
|
1616
|
-
></sl-calendar-picker>
|
|
1617
|
-
${showDualCalendars ? b`
|
|
1618
|
-
<sl-calendar-picker
|
|
1619
|
-
exportparts="
|
|
1620
|
-
base:calendar-base,
|
|
1621
|
-
header:calendar-header,
|
|
1622
|
-
nav-button:calendar-nav-button,
|
|
1623
|
-
title:calendar-title,
|
|
1624
|
-
title-year:calendar-title-year,
|
|
1625
|
-
title-month:calendar-title-month,
|
|
1626
|
-
body:calendar-body,
|
|
1627
|
-
date-panel:calendar-date-panel,
|
|
1628
|
-
day-header:calendar-day-header,
|
|
1629
|
-
day:calendar-day,
|
|
1630
|
-
day-footer:calendar-day-footer,
|
|
1631
|
-
month-grid:calendar-month-grid,
|
|
1632
|
-
month-item:calendar-month-item,
|
|
1633
|
-
year-grid:calendar-year-grid,
|
|
1634
|
-
year-item:calendar-year-item,
|
|
1635
|
-
time-footer:calendar-time-footer,
|
|
1636
|
-
time-panel-base:calendar-time-base,
|
|
1637
|
-
time-panel-header:calendar-time-header,
|
|
1638
|
-
time-panel-columns:calendar-time-columns,
|
|
1639
|
-
time-panel-column:calendar-time-column,
|
|
1640
|
-
time-panel-item:calendar-time-item
|
|
1641
|
-
"
|
|
1642
|
-
.value=${this.endValue}
|
|
1643
|
-
type=${this.type}
|
|
1644
|
-
mode="range"
|
|
1645
|
-
.startDate=${displayStartDate}
|
|
1646
|
-
.endDate=${displayEndDate}
|
|
1647
|
-
.hoverDate=${effectiveHoverDate}
|
|
1648
|
-
.activeInput=${this.activeInput}
|
|
1649
|
-
.min=${o(this.min)}
|
|
1650
|
-
.max=${o(this.max)}
|
|
1651
|
-
.currentDate=${this.rightDate}
|
|
1652
|
-
.syncViewWithValue=${false}
|
|
1653
|
-
.disabledDate=${(date) => this.isDateDisabled(date)}
|
|
1654
|
-
@sl-date-select=${this.handleDateSelect}
|
|
1655
|
-
@sl-date-change=${this.handleDateChange}
|
|
1656
|
-
@sl-view-change=${this.handleCalendarViewChange}
|
|
1657
|
-
@sl-date-hover=${(e3) => this.hoverDate = e3.detail.date}
|
|
1658
|
-
></sl-calendar-picker>
|
|
1659
|
-
` : null}
|
|
1660
|
-
</div>
|
|
1661
|
-
</sl-popup>
|
|
1662
|
-
</div>
|
|
1663
|
-
|
|
1664
|
-
<div
|
|
1665
|
-
part="form-control-help-text"
|
|
1666
|
-
class="form-control__help-text"
|
|
1667
|
-
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
1668
|
-
>
|
|
1669
|
-
<slot name="help-text">${this.helpText}</slot>
|
|
1670
|
-
</div>
|
|
1671
|
-
</div>
|
|
1672
|
-
`;
|
|
1673
|
-
}
|
|
1674
|
-
};
|
|
1675
|
-
SlDaterangepicker.styles = [component_styles_default, form_control_styles_default, daterangepicker_styles_default];
|
|
1676
|
-
SlDaterangepicker.dependencies = {
|
|
1677
|
-
"sl-icon": SlIcon,
|
|
1678
|
-
"sl-popup": SlPopup,
|
|
1679
|
-
"sl-calendar-picker": SlCalendarPicker,
|
|
1680
|
-
"sl-drawer": SlDrawer,
|
|
1681
|
-
"sl-button": SlButton
|
|
1682
|
-
};
|
|
1683
|
-
__decorateClass([
|
|
1684
|
-
e2(".daterangepicker__control--start")
|
|
1685
|
-
], SlDaterangepicker.prototype, "startInput", 2);
|
|
1686
|
-
__decorateClass([
|
|
1687
|
-
e2(".daterangepicker__control--end")
|
|
1688
|
-
], SlDaterangepicker.prototype, "endInput", 2);
|
|
1689
|
-
__decorateClass([
|
|
1690
|
-
e2("sl-popup")
|
|
1691
|
-
], SlDaterangepicker.prototype, "popup", 2);
|
|
1692
|
-
__decorateClass([
|
|
1693
|
-
e2(".form-control__input")
|
|
1694
|
-
], SlDaterangepicker.prototype, "inputContainer", 2);
|
|
1695
|
-
__decorateClass([
|
|
1696
|
-
r2("sl-calendar-picker")
|
|
1697
|
-
], SlDaterangepicker.prototype, "calendars", 2);
|
|
1698
|
-
__decorateClass([
|
|
1699
|
-
r()
|
|
1700
|
-
], SlDaterangepicker.prototype, "hasFocus", 2);
|
|
1701
|
-
__decorateClass([
|
|
1702
|
-
r()
|
|
1703
|
-
], SlDaterangepicker.prototype, "isHovered", 2);
|
|
1704
|
-
__decorateClass([
|
|
1705
|
-
r()
|
|
1706
|
-
], SlDaterangepicker.prototype, "open", 2);
|
|
1707
|
-
__decorateClass([
|
|
1708
|
-
r()
|
|
1709
|
-
], SlDaterangepicker.prototype, "activeInput", 2);
|
|
1710
|
-
__decorateClass([
|
|
1711
|
-
r()
|
|
1712
|
-
], SlDaterangepicker.prototype, "leftDate", 2);
|
|
1713
|
-
__decorateClass([
|
|
1714
|
-
r()
|
|
1715
|
-
], SlDaterangepicker.prototype, "rightDate", 2);
|
|
1716
|
-
__decorateClass([
|
|
1717
|
-
r()
|
|
1718
|
-
], SlDaterangepicker.prototype, "startValue", 2);
|
|
1719
|
-
__decorateClass([
|
|
1720
|
-
r()
|
|
1721
|
-
], SlDaterangepicker.prototype, "endValue", 2);
|
|
1722
|
-
__decorateClass([
|
|
1723
|
-
r()
|
|
1724
|
-
], SlDaterangepicker.prototype, "calendarView", 2);
|
|
1725
|
-
__decorateClass([
|
|
1726
|
-
r()
|
|
1727
|
-
], SlDaterangepicker.prototype, "calendarViewAnchor", 2);
|
|
1728
|
-
__decorateClass([
|
|
1729
|
-
r()
|
|
1730
|
-
], SlDaterangepicker.prototype, "syncingValue", 2);
|
|
1731
|
-
__decorateClass([
|
|
1732
|
-
r()
|
|
1733
|
-
], SlDaterangepicker.prototype, "hoverDate", 2);
|
|
1734
|
-
__decorateClass([
|
|
1735
|
-
r()
|
|
1736
|
-
], SlDaterangepicker.prototype, "enableHoverRange", 2);
|
|
1737
|
-
__decorateClass([
|
|
1738
|
-
r()
|
|
1739
|
-
], SlDaterangepicker.prototype, "rangeEditTwoStep", 2);
|
|
1740
|
-
__decorateClass([
|
|
1741
|
-
r()
|
|
1742
|
-
], SlDaterangepicker.prototype, "rangeEditFirstSide", 2);
|
|
1743
|
-
__decorateClass([
|
|
1744
|
-
r()
|
|
1745
|
-
], SlDaterangepicker.prototype, "rangeEditExpectedSide", 2);
|
|
1746
|
-
__decorateClass([
|
|
1747
|
-
r()
|
|
1748
|
-
], SlDaterangepicker.prototype, "hasFocusSwitched", 2);
|
|
1749
|
-
__decorateClass([
|
|
1750
|
-
r()
|
|
1751
|
-
], SlDaterangepicker.prototype, "isMobile", 2);
|
|
1752
|
-
__decorateClass([
|
|
1753
|
-
r()
|
|
1754
|
-
], SlDaterangepicker.prototype, "mobilePickerView", 2);
|
|
1755
|
-
__decorateClass([
|
|
1756
|
-
r()
|
|
1757
|
-
], SlDaterangepicker.prototype, "wheelDate", 2);
|
|
1758
|
-
__decorateClass([
|
|
1759
|
-
r()
|
|
1760
|
-
], SlDaterangepicker.prototype, "yearScrollTop", 2);
|
|
1761
|
-
__decorateClass([
|
|
1762
|
-
r()
|
|
1763
|
-
], SlDaterangepicker.prototype, "pendingDate", 2);
|
|
1764
|
-
__decorateClass([
|
|
1765
|
-
r()
|
|
1766
|
-
], SlDaterangepicker.prototype, "pendingSide", 2);
|
|
1767
|
-
__decorateClass([
|
|
1768
|
-
e2(".daterangepicker-mobile__wheel-column--year")
|
|
1769
|
-
], SlDaterangepicker.prototype, "yearColumn", 2);
|
|
1770
|
-
__decorateClass([
|
|
1771
|
-
e2(".daterangepicker-mobile__wheel-column--month")
|
|
1772
|
-
], SlDaterangepicker.prototype, "monthColumn", 2);
|
|
1773
|
-
__decorateClass([
|
|
1774
|
-
e2(".daterangepicker-mobile__wheel-column--hour")
|
|
1775
|
-
], SlDaterangepicker.prototype, "hourColumn", 2);
|
|
1776
|
-
__decorateClass([
|
|
1777
|
-
e2(".daterangepicker-mobile__wheel-column--minute")
|
|
1778
|
-
], SlDaterangepicker.prototype, "minuteColumn", 2);
|
|
1779
|
-
__decorateClass([
|
|
1780
|
-
e2(".daterangepicker-mobile__wheel-column--second")
|
|
1781
|
-
], SlDaterangepicker.prototype, "secondColumn", 2);
|
|
1782
|
-
__decorateClass([
|
|
1783
|
-
n()
|
|
1784
|
-
], SlDaterangepicker.prototype, "name", 2);
|
|
1785
|
-
__decorateClass([
|
|
1786
|
-
n({
|
|
1787
|
-
reflect: true,
|
|
1788
|
-
converter: {
|
|
1789
|
-
fromAttribute: (raw) => {
|
|
1790
|
-
const str = (raw || "").trim();
|
|
1791
|
-
if (!str) return [null, null];
|
|
1792
|
-
const parts = str.split("~").map((p) => p.trim());
|
|
1793
|
-
const startStr = parts[0] || "";
|
|
1794
|
-
const endStr = parts[1] || "";
|
|
1795
|
-
const start = startStr ? parseDatetime(startStr) : null;
|
|
1796
|
-
const end = endStr ? parseDatetime(endStr) : null;
|
|
1797
|
-
return [start, end];
|
|
1798
|
-
},
|
|
1799
|
-
toAttribute: (val) => {
|
|
1800
|
-
const [start, end] = val || [null, null];
|
|
1801
|
-
if (start && end) {
|
|
1802
|
-
return `${formatRangeValue(start)} ~ ${formatRangeValue(end)}`;
|
|
1803
|
-
}
|
|
1804
|
-
return "";
|
|
1805
|
-
}
|
|
1806
|
-
}
|
|
1807
|
-
})
|
|
1808
|
-
], SlDaterangepicker.prototype, "value", 2);
|
|
1809
|
-
__decorateClass([
|
|
1810
|
-
defaultValue()
|
|
1811
|
-
], SlDaterangepicker.prototype, "defaultValue", 2);
|
|
1812
|
-
__decorateClass([
|
|
1813
|
-
n({ reflect: true })
|
|
1814
|
-
], SlDaterangepicker.prototype, "size", 2);
|
|
1815
|
-
__decorateClass([
|
|
1816
|
-
n({ type: Boolean, reflect: true })
|
|
1817
|
-
], SlDaterangepicker.prototype, "filled", 2);
|
|
1818
|
-
__decorateClass([
|
|
1819
|
-
n({ type: Boolean, reflect: true })
|
|
1820
|
-
], SlDaterangepicker.prototype, "pill", 2);
|
|
1821
|
-
__decorateClass([
|
|
1822
|
-
n()
|
|
1823
|
-
], SlDaterangepicker.prototype, "label", 2);
|
|
1824
|
-
__decorateClass([
|
|
1825
|
-
n({ attribute: "help-text" })
|
|
1826
|
-
], SlDaterangepicker.prototype, "helpText", 2);
|
|
1827
|
-
__decorateClass([
|
|
1828
|
-
n({ type: Boolean })
|
|
1829
|
-
], SlDaterangepicker.prototype, "clearable", 2);
|
|
1830
|
-
__decorateClass([
|
|
1831
|
-
n({ type: Boolean, reflect: true })
|
|
1832
|
-
], SlDaterangepicker.prototype, "disabled", 2);
|
|
1833
|
-
__decorateClass([
|
|
1834
|
-
n({
|
|
1835
|
-
converter: {
|
|
1836
|
-
fromAttribute: (raw) => {
|
|
1837
|
-
var _a, _b, _c, _d;
|
|
1838
|
-
if (!raw) return ["\u5F00\u59CB\u65E5\u671F", "\u7ED3\u675F\u65E5\u671F"];
|
|
1839
|
-
const parts = raw.split(",");
|
|
1840
|
-
return [(_b = (_a = parts[0]) == null ? void 0 : _a.trim()) != null ? _b : "\u5F00\u59CB\u65E5\u671F", (_d = (_c = parts[1]) == null ? void 0 : _c.trim()) != null ? _d : "\u7ED3\u675F\u65E5\u671F"];
|
|
1841
|
-
},
|
|
1842
|
-
toAttribute: (val) => {
|
|
1843
|
-
return `${val[0]},${val[1]}`;
|
|
1844
|
-
}
|
|
1845
|
-
}
|
|
1846
|
-
})
|
|
1847
|
-
], SlDaterangepicker.prototype, "placeholder", 2);
|
|
1848
|
-
__decorateClass([
|
|
1849
|
-
n({ type: Boolean, reflect: true })
|
|
1850
|
-
], SlDaterangepicker.prototype, "readonly", 2);
|
|
1851
|
-
__decorateClass([
|
|
1852
|
-
n({ type: Boolean, reflect: true })
|
|
1853
|
-
], SlDaterangepicker.prototype, "required", 2);
|
|
1854
|
-
__decorateClass([
|
|
1855
|
-
n({ attribute: false })
|
|
1856
|
-
], SlDaterangepicker.prototype, "startDate", 2);
|
|
1857
|
-
__decorateClass([
|
|
1858
|
-
n({ attribute: false })
|
|
1859
|
-
], SlDaterangepicker.prototype, "endDate", 2);
|
|
1860
|
-
__decorateClass([
|
|
1861
|
-
n({ reflect: true })
|
|
1862
|
-
], SlDaterangepicker.prototype, "type", 2);
|
|
1863
|
-
__decorateClass([
|
|
1864
|
-
n()
|
|
1865
|
-
], SlDaterangepicker.prototype, "min", 2);
|
|
1866
|
-
__decorateClass([
|
|
1867
|
-
n()
|
|
1868
|
-
], SlDaterangepicker.prototype, "max", 2);
|
|
1869
|
-
__decorateClass([
|
|
1870
|
-
n()
|
|
1871
|
-
], SlDaterangepicker.prototype, "format", 2);
|
|
1872
|
-
__decorateClass([
|
|
1873
|
-
watch("open", { waitUntilFirstUpdate: true })
|
|
1874
|
-
], SlDaterangepicker.prototype, "handleOpenChange", 1);
|
|
1875
|
-
__decorateClass([
|
|
1876
|
-
watch("value")
|
|
1877
|
-
], SlDaterangepicker.prototype, "handleValueUpdate", 1);
|
|
1878
|
-
__decorateClass([
|
|
1879
|
-
watch("readonly", { waitUntilFirstUpdate: true })
|
|
1880
|
-
], SlDaterangepicker.prototype, "handleReadonlyChange", 1);
|
|
1881
|
-
|
|
1882
|
-
export {
|
|
1883
|
-
SlDaterangepicker
|
|
1884
|
-
};
|