@kdcloudjs/shoelace 1.0.41 → 1.0.42
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.23QHLX7Y.js +24 -0
- package/cdn/chunks/chunk.25CEYC2P.js +402 -0
- package/cdn/chunks/chunk.2DJI4SQN.js +63 -0
- package/cdn/chunks/chunk.2UL5MJZR.js +11 -0
- package/cdn/chunks/chunk.2YKUA75C.js +25 -0
- package/cdn/chunks/chunk.3GSXIQJL.js +24 -0
- package/cdn/chunks/chunk.3HDOMGSY.js +24 -0
- package/cdn/chunks/chunk.3LRCCRPL.js +1071 -0
- package/cdn/chunks/chunk.3MLPKE5Z.js +11 -0
- package/cdn/chunks/chunk.3OOTYMHY.js +11 -0
- package/cdn/chunks/chunk.3WGMA5NB.js +341 -0
- package/cdn/chunks/chunk.3XUPPQFL.js +11 -0
- package/cdn/chunks/chunk.3ZIKZ6CH.js +7428 -0
- package/cdn/chunks/chunk.44ZU24AV.js +391 -0
- package/cdn/chunks/chunk.45PLY3R4.js +27 -0
- package/cdn/chunks/chunk.4DXHZXZ3.js +586 -0
- package/cdn/chunks/chunk.4IZUNHS2.js +82 -0
- package/cdn/chunks/chunk.4K7TQAWD.js +42 -0
- package/cdn/chunks/chunk.4KQL2A2W.js +291 -0
- package/cdn/chunks/chunk.4V5UYW5L.js +21 -0
- package/cdn/chunks/chunk.4VCP753H.js +27 -0
- package/cdn/chunks/chunk.57BRTC6R.js +734 -0
- package/cdn/chunks/chunk.5AHWBAQI.js +28 -0
- package/cdn/chunks/chunk.5AIHKQGP.js +279 -0
- package/cdn/chunks/chunk.5CWRNVCH.js +281 -0
- package/cdn/chunks/chunk.5EFAXWGH.js +26 -0
- package/cdn/chunks/chunk.65HJAS62.js +11 -0
- package/cdn/chunks/chunk.65KGY6HG.js +24 -0
- package/cdn/chunks/chunk.67GDE55M.js +11 -0
- package/cdn/chunks/chunk.6FNVUQX3.js +24 -0
- package/cdn/chunks/chunk.6GKKEG4W.js +11 -0
- package/cdn/chunks/chunk.6YBNMO6H.js +11 -0
- package/cdn/chunks/chunk.72RU32W5.js +54 -0
- package/cdn/chunks/chunk.77WDIXHH.js +67 -0
- package/cdn/chunks/chunk.7DJSP52Q.js +216 -0
- package/cdn/chunks/chunk.7IGAO4XQ.js +93 -0
- package/cdn/chunks/chunk.7JTMDATQ.js +28 -0
- package/cdn/chunks/chunk.7KIFZXND.js +299 -0
- package/cdn/chunks/chunk.7MMSL5CB.js +1884 -0
- package/cdn/chunks/chunk.7ORRYLJZ.js +25 -0
- package/cdn/chunks/chunk.7P2TASQR.js +238 -0
- package/cdn/chunks/chunk.A34BK7KP.js +11 -0
- package/cdn/chunks/chunk.A77HOFQ2.js +588 -0
- package/cdn/chunks/chunk.A7DNLP5C.js +27 -0
- package/cdn/chunks/chunk.ABMDO365.js +11 -0
- package/cdn/chunks/chunk.AE3LM7P7.js +11 -0
- package/cdn/chunks/chunk.AFBNH3QD.js +29 -0
- package/cdn/chunks/chunk.AGUU2MAQ.js +219 -0
- package/cdn/chunks/chunk.AIR3TPGS.js +11 -0
- package/cdn/chunks/chunk.AMCKDUMQ.js +1213 -0
- package/cdn/chunks/chunk.ANHNOQVC.js +11 -0
- package/cdn/chunks/chunk.ANP2FALH.js +346 -0
- package/cdn/chunks/chunk.AO7TO4GV.js +103 -0
- package/cdn/chunks/chunk.AR3V2CCM.js +79 -0
- package/cdn/chunks/chunk.AWWOMIUG.js +24 -0
- package/cdn/chunks/chunk.AX54XWQL.js +114 -0
- package/cdn/chunks/chunk.AXNUJIA7.js +11 -0
- package/cdn/chunks/chunk.B3WUCT6M.js +11 -0
- package/cdn/chunks/chunk.B7JPO47W.js +179 -0
- package/cdn/chunks/chunk.BEYY4ZSX.js +24 -0
- package/cdn/chunks/chunk.BOI6VSEB.js +271 -0
- package/cdn/chunks/chunk.BRRJUBFJ.js +27 -0
- package/cdn/chunks/chunk.BTCGHJQ5.js +118 -0
- package/cdn/chunks/chunk.C443BB46.js +36 -0
- package/cdn/chunks/chunk.C45KC3CB.js +27 -0
- package/cdn/chunks/chunk.C4LYL4ZJ.js +24 -0
- package/cdn/chunks/chunk.C74NW3U6.js +127 -0
- package/cdn/chunks/chunk.CC6FKMIF.js +29 -0
- package/cdn/chunks/chunk.CD4BRB5S.js +177 -0
- package/cdn/chunks/chunk.CJEFTJ2D.js +433 -0
- package/cdn/chunks/chunk.CLPGB636.js +11 -0
- package/cdn/chunks/chunk.CP7CBBTM.js +11 -0
- package/cdn/chunks/chunk.CR4C3C4I.js +11 -0
- package/cdn/chunks/chunk.CRSORN74.js +11 -0
- package/cdn/chunks/chunk.CSTCJ2ZA.js +540 -0
- package/cdn/chunks/chunk.CVJNNXWI.js +137 -0
- package/cdn/chunks/chunk.CWNGJFLY.js +11 -0
- package/cdn/chunks/chunk.D42MRYX6.js +11 -0
- package/cdn/chunks/chunk.DRGH4C7W.js +292 -0
- package/cdn/chunks/chunk.DTZU4OSP.js +11 -0
- package/cdn/chunks/chunk.DXB2KK7N.js +26 -0
- package/cdn/chunks/chunk.DXIZYCV4.js +1990 -0
- package/cdn/chunks/chunk.DXY4M3P4.js +163 -0
- package/cdn/chunks/chunk.DYVJZW2G.js +11 -0
- package/cdn/chunks/chunk.DZGQEVAP.js +724 -0
- package/cdn/chunks/chunk.EGBVY2LO.js +11 -0
- package/cdn/chunks/chunk.EHEQOCE5.js +21 -0
- package/cdn/chunks/chunk.EPINEDNV.js +24 -0
- package/cdn/chunks/chunk.EQMJJEIC.js +835 -0
- package/cdn/chunks/chunk.ESPJE4YF.js +11 -0
- package/cdn/chunks/chunk.EVHGUWDU.js +21 -0
- package/cdn/chunks/chunk.EZVIGBAG.js +11 -0
- package/cdn/chunks/chunk.F23YCXEU.js +11 -0
- package/cdn/chunks/chunk.F2WJ3FHE.js +120 -0
- package/cdn/chunks/chunk.F5QEJGT4.js +11 -0
- package/cdn/chunks/chunk.FJBAA46W.js +11 -0
- package/cdn/chunks/chunk.FLZUIT6G.js +50 -0
- package/cdn/chunks/chunk.FMDWOS42.js +128 -0
- package/cdn/chunks/chunk.G3F35NBL.js +11 -0
- package/cdn/chunks/chunk.G3MDQA7D.js +379 -0
- package/cdn/chunks/chunk.G4IQ7MFA.js +21 -0
- package/cdn/chunks/chunk.GALL7CV7.js +11 -0
- package/cdn/chunks/chunk.GMUA3X5W.js +28 -0
- package/cdn/chunks/chunk.GNMLR3DK.js +11 -0
- package/cdn/chunks/chunk.GPQNURRO.js +21 -0
- package/cdn/chunks/chunk.GQ7SPWQG.js +27 -0
- package/cdn/chunks/chunk.GTPO2VYT.js +26 -0
- package/cdn/chunks/chunk.GV6Z5XVS.js +11 -0
- package/cdn/chunks/chunk.H24X73HY.js +21 -0
- package/cdn/chunks/chunk.H74WRSL7.js +5845 -0
- package/cdn/chunks/chunk.HMHIVNIH.js +35 -0
- package/cdn/chunks/chunk.HXXP2OLW.js +21 -0
- package/cdn/chunks/chunk.ICL3CILI.js +142 -0
- package/cdn/chunks/chunk.ICTBN4BL.js +24 -0
- package/cdn/chunks/chunk.IDR7ZL4Y.js +28 -0
- package/cdn/chunks/chunk.IFPPKR7Z.js +11 -0
- package/cdn/chunks/chunk.IHXXQER7.js +75 -0
- package/cdn/chunks/chunk.IMAUP6QR.js +1932 -0
- package/cdn/chunks/chunk.IMR3SSNN.js +113 -0
- package/cdn/chunks/chunk.IP5RDWCD.js +605 -0
- package/cdn/chunks/chunk.IREWHV4F.js +11 -0
- package/cdn/chunks/chunk.IRZB6KG2.js +26 -0
- package/cdn/chunks/chunk.ITZWGDMR.js +11 -0
- package/cdn/chunks/chunk.IVBT7VJW.js +77 -0
- package/cdn/chunks/chunk.J6FE2TPT.js +11 -0
- package/cdn/chunks/chunk.J7NRTKP4.js +25 -0
- package/cdn/chunks/chunk.JDPBVOL2.js +276 -0
- package/cdn/chunks/chunk.JI7AFUU7.js +26 -0
- package/cdn/chunks/chunk.JJ6JAL34.js +199 -0
- package/cdn/chunks/chunk.JS54CBID.js +60 -0
- package/cdn/chunks/chunk.JWCFMMGH.js +11 -0
- package/cdn/chunks/chunk.K26QLIIX.js +29 -0
- package/cdn/chunks/chunk.K55TK2TS.js +11 -0
- package/cdn/chunks/chunk.KAK542DR.js +73 -0
- package/cdn/chunks/chunk.KCTFZ4US.js +11 -0
- package/cdn/chunks/chunk.KETGOT5B.js +11 -0
- package/cdn/chunks/chunk.KFJA6LLS.js +25 -0
- package/cdn/chunks/chunk.KILXZ5T3.js +11 -0
- package/cdn/chunks/chunk.KNZQ3B55.js +11 -0
- package/cdn/chunks/chunk.KQTAUQKX.js +21 -0
- package/cdn/chunks/chunk.KRULBWZQ.js +11 -0
- package/cdn/chunks/chunk.KSUXQGWE.js +25 -0
- package/cdn/chunks/chunk.KTGACKIW.js +215 -0
- package/cdn/chunks/chunk.KWPIK6IV.js +11 -0
- package/cdn/chunks/chunk.L3QO2LZ3.js +24 -0
- package/cdn/chunks/chunk.LCZJQNPD.js +330 -0
- package/cdn/chunks/chunk.LG5ZB5MS.js +11 -0
- package/cdn/chunks/chunk.LMA3ONRQ.js +21 -0
- package/cdn/chunks/chunk.LNG35EAO.js +11 -0
- package/cdn/chunks/chunk.LP5SPOM7.js +11 -0
- package/cdn/chunks/chunk.LPIKQCCQ.js +24 -0
- package/cdn/chunks/chunk.LWEVIQEN.js +11 -0
- package/cdn/chunks/chunk.M3LG7QWZ.js +255 -0
- package/cdn/chunks/chunk.M6WJ447E.js +11 -0
- package/cdn/chunks/chunk.M77NF2B6.js +25 -0
- package/cdn/chunks/chunk.MEH7RL2X.js +236 -0
- package/cdn/chunks/chunk.MF46L7NQ.js +21 -0
- package/cdn/chunks/chunk.MIDZUIYE.js +29 -0
- package/cdn/chunks/chunk.MLOBXFOS.js +25 -0
- package/cdn/chunks/chunk.MUVUHN43.js +24 -0
- package/cdn/chunks/chunk.MVI7FTDP.js +133 -0
- package/cdn/chunks/chunk.MZWRXVJE.js +233 -0
- package/cdn/chunks/chunk.N5OEOD33.js +95 -0
- package/cdn/chunks/chunk.N6OOHDSF.js +122 -0
- package/cdn/chunks/chunk.NEBIQB7W.js +21 -0
- package/cdn/chunks/chunk.NGMZJ7SP.js +21 -0
- package/cdn/chunks/chunk.NJ2NYEQF.js +21 -0
- package/cdn/chunks/chunk.NMZYLYO7.js +186 -0
- package/cdn/chunks/chunk.NOWRJNDO.js +11 -0
- package/cdn/chunks/chunk.NSGCJHNE.js +11 -0
- package/cdn/chunks/chunk.O257MKAI.js +454 -0
- package/cdn/chunks/chunk.O3KJB2B6.js +92 -0
- package/cdn/chunks/chunk.O5WA4ZVB.js +647 -0
- package/cdn/chunks/chunk.OFMNHTER.js +21 -0
- package/cdn/chunks/chunk.OIQPPAI7.js +11 -0
- package/cdn/chunks/chunk.OOF4C73V.js +11 -0
- package/cdn/chunks/chunk.OOWKWDAW.js +354 -0
- package/cdn/chunks/chunk.OS37Q7VF.js +11 -0
- package/cdn/chunks/chunk.OW3RSXNT.js +11 -0
- package/cdn/chunks/chunk.OWEOVIJL.js +11 -0
- package/cdn/chunks/chunk.OZ4UMO32.js +28 -0
- package/cdn/chunks/chunk.OZL2GUYW.js +11 -0
- package/cdn/chunks/chunk.P5VAN2EI.js +510 -0
- package/cdn/chunks/chunk.PBWJJYIF.js +11 -0
- package/cdn/chunks/chunk.PJUBBP2G.js +26 -0
- package/cdn/chunks/chunk.PNJ3KWID.js +302 -0
- package/cdn/chunks/chunk.PO644HRU.js +97 -0
- package/cdn/chunks/chunk.PRLVJDWQ.js +21 -0
- package/cdn/chunks/chunk.Q4RWPARF.js +29 -0
- package/cdn/chunks/chunk.Q4SDVEUI.js +33 -0
- package/cdn/chunks/chunk.Q7QXAWEO.js +21 -0
- package/cdn/chunks/chunk.QJIXWKTC.js +21 -0
- package/cdn/chunks/chunk.QMJOZMUC.js +455 -0
- package/cdn/chunks/chunk.QQ2I63JA.js +11 -0
- package/cdn/chunks/chunk.QT2FJXEB.js +21 -0
- package/cdn/chunks/chunk.QT4TTZEJ.js +11 -0
- package/cdn/chunks/chunk.QYWEWZG2.js +29 -0
- package/cdn/chunks/chunk.QZWOTNMZ.js +25 -0
- package/cdn/chunks/chunk.RBGCQY5T.js +331 -0
- package/cdn/chunks/chunk.RBZ4NS4A.js +21 -0
- package/cdn/chunks/chunk.RCVYX3ZN.js +500 -0
- package/cdn/chunks/chunk.RGSK67BL.js +154 -0
- package/cdn/chunks/chunk.RRZLPFFJ.js +21 -0
- package/cdn/chunks/chunk.RYCBQSOX.js +158 -0
- package/cdn/chunks/chunk.SFMLMPTX.js +543 -0
- package/cdn/chunks/chunk.SFND4CGR.js +11 -0
- package/cdn/chunks/chunk.SHI3LD5A.js +24 -0
- package/cdn/chunks/chunk.SI5KYZS4.js +27 -0
- package/cdn/chunks/chunk.SRY6FMNZ.js +21 -0
- package/cdn/chunks/chunk.ST3VMWGP.js +186 -0
- package/cdn/chunks/chunk.SXDFTZO2.js +156 -0
- package/cdn/chunks/chunk.T3JRJQZ2.js +915 -0
- package/cdn/chunks/chunk.T4CLR64J.js +21 -0
- package/cdn/chunks/chunk.T5TAZGGZ.js +25 -0
- package/cdn/chunks/chunk.T6GDJRWU.js +21 -0
- package/cdn/chunks/chunk.TCIRF4BE.js +24 -0
- package/cdn/chunks/chunk.TGTTU3KW.js +11 -0
- package/cdn/chunks/chunk.TIFQGLOW.js +21 -0
- package/cdn/chunks/chunk.TMW6ISKF.js +11 -0
- package/cdn/chunks/chunk.TQJCNHPM.js +21 -0
- package/cdn/chunks/chunk.TUXI7QVG.js +371 -0
- package/cdn/chunks/chunk.U3CFPTGH.js +27 -0
- package/cdn/chunks/chunk.UAVB46WN.js +91 -0
- package/cdn/chunks/chunk.UGIT4N3W.js +21 -0
- package/cdn/chunks/chunk.US6ZKYNK.js +472 -0
- package/cdn/chunks/chunk.UX2LTUQK.js +11 -0
- package/cdn/chunks/chunk.V35TCSO4.js +28 -0
- package/cdn/chunks/chunk.V4RZLJGF.js +11 -0
- package/cdn/chunks/chunk.VBYHPZ4Q.js +25 -0
- package/cdn/chunks/chunk.VCUGQRT3.js +49 -0
- package/cdn/chunks/chunk.VLAHE3TN.js +25 -0
- package/cdn/chunks/chunk.VLI6IUVU.js +135 -0
- package/cdn/chunks/chunk.VUIZR33J.js +24 -0
- package/cdn/chunks/chunk.W2CB57X7.js +236 -0
- package/cdn/chunks/chunk.W3A3GX7G.js +11 -0
- package/cdn/chunks/chunk.WBDQS2UJ.js +24 -0
- package/cdn/chunks/chunk.WBIOWWDZ.js +11 -0
- package/cdn/chunks/chunk.WCMATBVI.js +215 -0
- package/cdn/chunks/chunk.WFQWAECE.js +11 -0
- package/cdn/chunks/chunk.WLFCVICG.js +87 -0
- package/cdn/chunks/chunk.WSJTKBDO.js +329 -0
- package/cdn/chunks/chunk.WU56JBCN.js +193 -0
- package/cdn/chunks/chunk.WVJEWOZ4.js +11 -0
- package/cdn/chunks/chunk.WZALITJN.js +11 -0
- package/cdn/chunks/chunk.WZI7YTQF.js +153 -0
- package/cdn/chunks/chunk.X2FRGSNF.js +92 -0
- package/cdn/chunks/chunk.X3HMGLLN.js +49 -0
- package/cdn/chunks/chunk.XDRJZEJJ.js +24 -0
- package/cdn/chunks/chunk.XHUVAOFS.js +11 -0
- package/cdn/chunks/chunk.XNEZAO47.js +11 -0
- package/cdn/chunks/chunk.XPALY2OV.js +21 -0
- package/cdn/chunks/chunk.XRDT5GME.js +11 -0
- package/cdn/chunks/chunk.XS2546ZR.js +11 -0
- package/cdn/chunks/chunk.XSXDKKV6.js +29 -0
- package/cdn/chunks/chunk.XUUOTTHF.js +161 -0
- package/cdn/chunks/chunk.XVM6KEGR.js +11 -0
- package/cdn/chunks/chunk.XW65IP2K.js +11 -0
- package/cdn/chunks/chunk.Y6DX6LOW.js +11 -0
- package/cdn/chunks/chunk.YAKUK2MU.js +11 -0
- package/cdn/chunks/chunk.YD6ADISP.js +11 -0
- package/cdn/chunks/chunk.YDRP4ZO2.js +24 -0
- package/cdn/chunks/chunk.YEP47ZRM.js +197 -0
- package/cdn/chunks/chunk.YHOUTFIS.js +31 -0
- package/cdn/chunks/chunk.YPN5HAGL.js +336 -0
- package/cdn/chunks/chunk.YWXRVTHX.js +21 -0
- package/cdn/chunks/chunk.Z7D4KMST.js +21 -0
- package/cdn/chunks/chunk.Z7MG6R3V.js +11 -0
- package/cdn/chunks/chunk.ZCFVO2BJ.js +11 -0
- package/cdn/chunks/chunk.ZD2HVBRN.js +11 -0
- package/cdn/chunks/chunk.ZJFASXYJ.js +320 -0
- package/cdn/chunks/chunk.ZNKY5PUA.js +21 -0
- package/cdn/chunks/chunk.ZV6NLSYN.js +24 -0
- package/cdn/chunks/chunk.ZWTURMK5.js +21 -0
- package/cdn/components/alert/alert.component.js +7 -7
- package/cdn/components/alert/alert.js +8 -8
- 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 +7 -7
- package/cdn/components/button/button.js +8 -8
- 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 +49 -0
- package/cdn/components/calendar/calendar.js +50 -0
- package/cdn/components/calendar/calendar.styles.js +9 -0
- package/cdn/components/calendar-picker/calendar-picker.component.js +9 -9
- package/cdn/components/calendar-picker/calendar-picker.js +9 -9
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +6 -6
- package/cdn/components/carousel/carousel.js +7 -7
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/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 +18 -18
- package/cdn/components/color-picker/color-picker.js +19 -19
- package/cdn/components/copy-button/copy-button.component.js +8 -8
- package/cdn/components/copy-button/copy-button.js +9 -9
- package/cdn/components/date-panel/date-panel.component.js +15 -15
- package/cdn/components/date-panel/date-panel.js +15 -15
- package/cdn/components/date-panel/date-panel.styles.js +1 -1
- package/cdn/components/datepicker/datepicker.component.js +22 -22
- package/cdn/components/datepicker/datepicker.js +22 -22
- package/cdn/components/daterangepicker/daterangepicker.component.js +18 -18
- package/cdn/components/daterangepicker/daterangepicker.js +19 -19
- package/cdn/components/daterangepicker/daterangepicker.styles.js +1 -1
- package/cdn/components/details/details.component.js +5 -5
- package/cdn/components/details/details.js +6 -6
- package/cdn/components/dialog/dialog.component.js +7 -7
- package/cdn/components/dialog/dialog.js +8 -8
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +8 -8
- package/cdn/components/drawer/drawer.js +9 -9
- package/cdn/components/dropdown/dropdown.component.js +5 -5
- package/cdn/components/dropdown/dropdown.js +6 -6
- package/cdn/components/float-button/float-button.component.js +7 -7
- package/cdn/components/float-button/float-button.js +8 -8
- 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 +5 -5
- package/cdn/components/image-comparer/image-comparer.js +6 -6
- package/cdn/components/image-preview-group/image-preview-group.component.js +2 -2
- package/cdn/components/image-preview-group/image-preview-group.js +2 -2
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- 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 +8 -8
- package/cdn/components/menu-item/menu-item.js +9 -9
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +11 -11
- package/cdn/components/nav/nav.js +12 -12
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +2 -2
- package/cdn/components/nav-item/nav-item.js +3 -3
- package/cdn/components/nav-submenu/nav-submenu.component.js +6 -6
- package/cdn/components/nav-submenu/nav-submenu.js +7 -7
- package/cdn/components/notification/notification.component.js +6 -6
- package/cdn/components/notification/notification.js +7 -7
- package/cdn/components/option/option.component.js +5 -5
- package/cdn/components/option/option.js +6 -6
- package/cdn/components/pagination/custom-select.js +12 -12
- package/cdn/components/pagination/pagination.component.js +13 -13
- package/cdn/components/pagination/pagination.js +13 -13
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- package/cdn/components/progress-bar/progress-bar.component.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +5 -5
- 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 +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +6 -6
- package/cdn/components/rating/rating.js +7 -7
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/row/row.component.js +2 -2
- package/cdn/components/row/row.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/segmented/segmented.component.js +7 -7
- package/cdn/components/segmented/segmented.js +8 -8
- package/cdn/components/select/select.component.js +9 -9
- package/cdn/components/select/select.js +10 -10
- package/cdn/components/sender/sender.component.js +20 -20
- package/cdn/components/sender/sender.js +21 -21
- package/cdn/components/sender-header/sender-header.component.js +8 -8
- package/cdn/components/sender-header/sender-header.js +9 -9
- package/cdn/components/sender-switch/sender-switch.component.js +8 -8
- package/cdn/components/sender-switch/sender-switch.js +9 -9
- 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 +6 -6
- package/cdn/components/tab/tab.js +7 -7
- package/cdn/components/tab-group/tab-group.component.js +8 -8
- package/cdn/components/tab-group/tab-group.js +9 -9
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +3 -3
- package/cdn/components/table/features/index.js +5 -5
- package/cdn/components/table/footer-table.js +2 -2
- package/cdn/components/table/head-table.js +26 -26
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +38 -38
- package/cdn/components/table/table.js +39 -39
- package/cdn/components/tag/tag.component.js +6 -6
- package/cdn/components/tag/tag.js +7 -7
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/think/think.component.js +6 -6
- package/cdn/components/think/think.js +7 -7
- 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 +6 -6
- package/cdn/components/thought-chain-item/thought-chain-item.js +7 -7
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +6 -6
- package/cdn/components/thought-chain-node/thought-chain-node.js +7 -7
- package/cdn/components/time-panel/time-panel.component.js +8 -8
- package/cdn/components/time-panel/time-panel.js +8 -8
- package/cdn/components/timepicker/timepicker.component.js +22 -22
- package/cdn/components/timepicker/timepicker.js +22 -22
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +11 -11
- package/cdn/components/tree/tree.js +12 -12
- package/cdn/components/tree-item/tree-item.component.js +9 -9
- package/cdn/components/tree-item/tree-item.js +10 -10
- package/cdn/components/tree-select/tree-select.component.js +17 -17
- package/cdn/components/tree-select/tree-select.js +18 -18
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/components/x-markdown/markdown/render.js +1 -1
- package/cdn/components/x-markdown/x-markdown.component.js +3 -3
- package/cdn/components/x-markdown/x-markdown.js +4 -4
- package/cdn/custom-elements.json +16217 -15633
- package/cdn/react/alert/index.js +8 -8
- 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 +8 -8
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/calendar/index.js +50 -0
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +7 -7
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +5 -5
- package/cdn/react/col/index.js +3 -3
- package/cdn/react/color-picker/index.js +19 -19
- package/cdn/react/copy-button/index.js +9 -9
- package/cdn/react/date-panel/index.js +16 -16
- package/cdn/react/datepicker/index.js +23 -23
- package/cdn/react/daterangepicker/index.js +19 -19
- package/cdn/react/details/index.js +6 -6
- package/cdn/react/dialog/index.js +8 -8
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- package/cdn/react/dropdown/index.js +6 -6
- package/cdn/react/float-button/index.js +8 -8
- 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 +6 -6
- package/cdn/react/image-preview-group/index.js +3 -3
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +317 -311
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +9 -9
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +12 -12
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +3 -3
- package/cdn/react/nav-submenu/index.js +7 -7
- package/cdn/react/notification/index.js +7 -7
- package/cdn/react/option/index.js +6 -6
- package/cdn/react/pagination/index.js +14 -14
- package/cdn/react/popup/index.js +5 -5
- package/cdn/react/progress-bar/index.js +5 -5
- 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 +5 -5
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +7 -7
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/row/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/segmented/index.js +8 -8
- package/cdn/react/select/index.js +10 -10
- package/cdn/react/sender/index.js +21 -21
- package/cdn/react/sender-header/index.js +9 -9
- package/cdn/react/sender-switch/index.js +9 -9
- 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 +7 -7
- package/cdn/react/tab-group/index.js +9 -9
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +39 -39
- package/cdn/react/tag/index.js +7 -7
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/think/index.js +7 -7
- package/cdn/react/thought-chain/index.js +3 -3
- package/cdn/react/thought-chain-item/index.js +7 -7
- package/cdn/react/thought-chain-node/index.js +7 -7
- package/cdn/react/timepicker/index.js +23 -23
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +12 -12
- package/cdn/react/tree-item/index.js +10 -10
- package/cdn/react/tree-select/index.js +18 -18
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/react/x-markdown/index.js +4 -4
- package/cdn/shoelace.js +304 -298
- package/cdn/types/vue/index.d.ts +1064 -1000
- package/cdn/vscode.html-custom-data.json +991 -969
- package/cdn/web-types.json +2461 -2346
- package/dist/chunks/chunk.23QVVNY5.js +11 -0
- package/dist/chunks/chunk.2D67MJAJ.js +31 -0
- package/dist/chunks/chunk.2I4Y2VV2.js +52 -0
- package/dist/chunks/chunk.2PZJ2RBK.js +11 -0
- package/dist/chunks/chunk.2WGMZUC4.js +25 -0
- package/dist/chunks/chunk.2XCTVWKR.js +24 -0
- package/dist/chunks/chunk.2XIHUXAO.js +11 -0
- package/dist/chunks/chunk.2Y4BR4YM.js +11 -0
- package/dist/chunks/chunk.376NTJKJ.js +34 -0
- package/dist/chunks/chunk.37OK4ECH.js +227 -0
- package/dist/chunks/chunk.3EEFKOXQ.js +937 -0
- package/dist/chunks/chunk.3EUHR5SZ.js +148 -0
- package/dist/chunks/chunk.3Q5ZZNHH.js +119 -0
- package/dist/chunks/chunk.3VLVKQ6E.js +21 -0
- package/dist/chunks/chunk.3YAFBBHU.js +194 -0
- package/dist/chunks/chunk.42LI5NDP.js +337 -0
- package/dist/chunks/chunk.435MCRQZ.js +11 -0
- package/dist/chunks/chunk.43EYBAY7.js +25 -0
- package/dist/chunks/chunk.45PBKCNU.js +322 -0
- package/dist/chunks/chunk.4A3XVWV7.js +190 -0
- package/dist/chunks/chunk.4BGCXS27.js +24 -0
- package/dist/chunks/chunk.4D3UWWAO.js +424 -0
- package/dist/chunks/chunk.4FPXHTP4.js +537 -0
- package/dist/chunks/chunk.4GFTP7L6.js +11 -0
- package/dist/chunks/chunk.4L3LUJBG.js +25 -0
- package/dist/chunks/chunk.4MT5HY3W.js +28 -0
- package/dist/chunks/chunk.4O6HDAN5.js +11 -0
- package/dist/chunks/chunk.4SWVKJBA.js +21 -0
- package/dist/chunks/chunk.53USOTO4.js +11 -0
- package/dist/chunks/chunk.5HEMGKJA.js +29 -0
- package/dist/chunks/chunk.5K3WQDPP.js +25 -0
- package/dist/chunks/chunk.5OLUB5HL.js +11 -0
- package/dist/chunks/chunk.5PWPGYLP.js +550 -0
- package/dist/chunks/chunk.5S7LBQ2B.js +11 -0
- package/dist/chunks/chunk.5SN3J3BY.js +135 -0
- package/dist/chunks/chunk.5XJCVQGW.js +25 -0
- package/dist/chunks/chunk.64FK4YRH.js +29 -0
- package/dist/chunks/chunk.64SJOSTU.js +11 -0
- package/dist/chunks/chunk.64VAP7GB.js +29 -0
- package/dist/chunks/chunk.65L7JITW.js +126 -0
- package/dist/chunks/chunk.6BYUXBBJ.js +117 -0
- package/dist/chunks/chunk.6IYPP3B7.js +11 -0
- package/dist/chunks/chunk.6K6WTWGB.js +25 -0
- package/dist/chunks/chunk.6NHJRAXW.js +24 -0
- package/dist/chunks/chunk.6OUPLCGZ.js +11 -0
- package/dist/chunks/chunk.6PT7PR44.js +11 -0
- package/dist/chunks/chunk.6U3SJUX2.js +192 -0
- package/dist/chunks/chunk.6VEHYHKA.js +24 -0
- package/dist/chunks/chunk.6VQ3RZ2W.js +21 -0
- package/dist/chunks/chunk.6W4KHGMW.js +11 -0
- package/dist/chunks/chunk.6XIE7VBV.js +33 -0
- package/dist/chunks/chunk.6YEDMWJZ.js +27 -0
- package/dist/chunks/chunk.722TUWWM.js +59 -0
- package/dist/chunks/chunk.7567OT3S.js +27 -0
- package/dist/chunks/chunk.76ECXYZQ.js +11 -0
- package/dist/chunks/chunk.76VVG6G3.js +22 -0
- package/dist/chunks/chunk.7NURYHAE.js +28 -0
- package/dist/chunks/chunk.7SHUNXNH.js +11 -0
- package/dist/chunks/chunk.7WBUQSTH.js +35 -0
- package/dist/chunks/chunk.A2U4PN4M.js +11 -0
- package/dist/chunks/chunk.A44WC6VE.js +21 -0
- package/dist/chunks/chunk.AAPWOVSS.js +24 -0
- package/dist/chunks/chunk.ABKONYSU.js +724 -0
- package/dist/chunks/chunk.AIAC7VIZ.js +11 -0
- package/dist/chunks/chunk.APUDEVWD.js +26 -0
- package/dist/chunks/chunk.AT72NH34.js +42 -0
- package/dist/chunks/chunk.AWE55MFU.js +214 -0
- package/dist/chunks/chunk.B27TMGMC.js +11 -0
- package/dist/chunks/chunk.B2S6ABJT.js +11 -0
- package/dist/chunks/chunk.BRT2X6UY.js +11 -0
- package/dist/chunks/chunk.BSFPSL3Q.js +209 -0
- package/dist/chunks/chunk.BYYZZMGG.js +181 -0
- package/dist/chunks/chunk.C5O4C4PD.js +151 -0
- package/dist/chunks/chunk.CDB5EHNJ.js +24 -0
- package/dist/chunks/chunk.CFGAJCRI.js +29 -0
- package/dist/chunks/chunk.CKFHTDUI.js +24 -0
- package/dist/chunks/chunk.CMZHTGPE.js +11 -0
- package/dist/chunks/chunk.CPYAL7PB.js +21 -0
- package/dist/chunks/chunk.CRIPT3JL.js +86 -0
- package/dist/chunks/chunk.CRPCZG2L.js +21 -0
- package/dist/chunks/chunk.CSDE6AAP.js +11 -0
- package/dist/chunks/chunk.CWM4VCU7.js +171 -0
- package/dist/chunks/chunk.D5N23SRB.js +494 -0
- package/dist/chunks/chunk.DKI25Y7A.js +397 -0
- package/dist/chunks/chunk.DKXRQE4R.js +11 -0
- package/dist/chunks/chunk.DOOR5QZX.js +384 -0
- package/dist/chunks/chunk.DRR6CNOL.js +11 -0
- package/dist/chunks/chunk.DVBQUG3C.js +11 -0
- package/dist/chunks/chunk.DXTOFFDS.js +11 -0
- package/dist/chunks/chunk.DYELBEDM.js +86 -0
- package/dist/chunks/chunk.E33CUW6M.js +25 -0
- package/dist/chunks/chunk.E6P76LKK.js +11 -0
- package/dist/chunks/chunk.EC4XYGUN.js +11 -0
- package/dist/chunks/chunk.EG5RVFOR.js +247 -0
- package/dist/chunks/chunk.EGACN2O7.js +11 -0
- package/dist/chunks/chunk.ENEORS6S.js +430 -0
- package/dist/chunks/chunk.EO6NNAW7.js +21 -0
- package/dist/chunks/chunk.EX7AIWM3.js +827 -0
- package/dist/chunks/chunk.FBEXPB2E.js +21 -0
- package/dist/chunks/chunk.FGRJGNL3.js +90 -0
- package/dist/chunks/chunk.FN5R7ZH4.js +11 -0
- package/dist/chunks/chunk.FQJRRUJI.js +11 -0
- package/dist/chunks/chunk.FY5MMQWD.js +11 -0
- package/dist/chunks/chunk.G2DGLGJU.js +11 -0
- package/dist/chunks/chunk.G3SBOPRT.js +25 -0
- package/dist/chunks/chunk.G4JBXOZZ.js +63 -0
- package/dist/chunks/chunk.G5UEZ63Y.js +949 -0
- package/dist/chunks/chunk.GA743LKC.js +21 -0
- package/dist/chunks/chunk.GAF5T2A7.js +11 -0
- package/dist/chunks/chunk.GCUSBAAT.js +278 -0
- package/dist/chunks/chunk.GCZIGZF5.js +87 -0
- package/dist/chunks/chunk.GJK3MXAT.js +29 -0
- package/dist/chunks/chunk.GRLIBBSG.js +21 -0
- package/dist/chunks/chunk.GUP5SCP6.js +231 -0
- package/dist/chunks/chunk.GXUTO6JZ.js +150 -0
- package/dist/chunks/chunk.H26EEPEZ.js +11 -0
- package/dist/chunks/chunk.H4CUBMHM.js +29 -0
- package/dist/chunks/chunk.H4OMOKSV.js +93 -0
- package/dist/chunks/chunk.HD76Z6X5.js +28 -0
- package/dist/chunks/chunk.HDL3N2D6.js +96 -0
- package/dist/chunks/chunk.HEKKQ52P.js +158 -0
- package/dist/chunks/chunk.HG2LBASI.js +21 -0
- package/dist/chunks/chunk.HGOZ52YE.js +80 -0
- package/dist/chunks/chunk.HGXUO62V.js +11 -0
- package/dist/chunks/chunk.HHAR6GHD.js +11 -0
- package/dist/chunks/chunk.HHXFF7OA.js +21 -0
- package/dist/chunks/chunk.HLC22PO5.js +11 -0
- package/dist/chunks/chunk.HQORCCR2.js +11 -0
- package/dist/chunks/chunk.HT2JNSMT.js +21 -0
- package/dist/chunks/chunk.HVTXRG34.js +21 -0
- package/dist/chunks/chunk.HYGSUURL.js +21 -0
- package/dist/chunks/chunk.I6RLWODN.js +521 -0
- package/dist/chunks/chunk.ICM7Y4L3.js +448 -0
- package/dist/chunks/chunk.ICRBVINV.js +24 -0
- package/dist/chunks/chunk.IE4QSEDX.js +11 -0
- package/dist/chunks/chunk.IGGGCNLH.js +235 -0
- package/dist/chunks/chunk.IVUJLEIH.js +11 -0
- package/dist/chunks/chunk.IX54OEHK.js +21 -0
- package/dist/chunks/chunk.JAATJADL.js +21 -0
- package/dist/chunks/chunk.JADAVZJZ.js +100 -0
- package/dist/chunks/chunk.JHLAS7PY.js +365 -0
- package/dist/chunks/chunk.JHRPVWQ7.js +11 -0
- package/dist/chunks/chunk.JIR5EFPL.js +24 -0
- package/dist/chunks/chunk.JM5BQC4W.js +24 -0
- package/dist/chunks/chunk.JYWL7TFB.js +25 -0
- package/dist/chunks/chunk.K5CR3W5K.js +11 -0
- package/dist/chunks/chunk.K64VD5VX.js +24 -0
- package/dist/chunks/chunk.K7TTYTGP.js +11 -0
- package/dist/chunks/chunk.KCTBAZOP.js +125 -0
- package/dist/chunks/chunk.KHM6ZQTX.js +466 -0
- package/dist/chunks/chunk.KM3TO6P2.js +67 -0
- package/dist/chunks/chunk.KNKFPL5O.js +11 -0
- package/dist/chunks/chunk.KOO7LV7Y.js +11 -0
- package/dist/chunks/chunk.KQTI43KM.js +11 -0
- package/dist/chunks/chunk.KVDLSN36.js +1062 -0
- package/dist/chunks/chunk.KYOHQND6.js +21 -0
- package/dist/chunks/chunk.L2DKDHP4.js +11 -0
- package/dist/chunks/chunk.L4CBCQF5.js +73 -0
- package/dist/chunks/chunk.LA5RDZI3.js +11 -0
- package/dist/chunks/chunk.LA7467D4.js +21 -0
- package/dist/chunks/chunk.LDXPMZPJ.js +21 -0
- package/dist/chunks/chunk.LIB3BKFI.js +317 -0
- package/dist/chunks/chunk.LU6CY4L3.js +1875 -0
- package/dist/chunks/chunk.LW4UBDTX.js +21 -0
- package/dist/chunks/chunk.M36S3F53.js +24 -0
- package/dist/chunks/chunk.M3QORU3N.js +26 -0
- package/dist/chunks/chunk.M74IPDS7.js +263 -0
- package/dist/chunks/chunk.MIBLWLCO.js +320 -0
- package/dist/chunks/chunk.MJIRIWT7.js +448 -0
- package/dist/chunks/chunk.MJKJWCJ2.js +11 -0
- package/dist/chunks/chunk.MZWHC2FQ.js +147 -0
- package/dist/chunks/chunk.NA5O7M76.js +24 -0
- package/dist/chunks/chunk.NBLDECVU.js +11 -0
- package/dist/chunks/chunk.NDB2PURH.js +126 -0
- package/dist/chunks/chunk.NJC4NREC.js +582 -0
- package/dist/chunks/chunk.NMHNVTUG.js +911 -0
- package/dist/chunks/chunk.NSS5QJ7X.js +21 -0
- package/dist/chunks/chunk.NSYJIIAT.js +26 -0
- package/dist/chunks/chunk.NYBXA7XL.js +75 -0
- package/dist/chunks/chunk.O7WPFMPE.js +29 -0
- package/dist/chunks/chunk.OC37E34I.js +50 -0
- package/dist/chunks/chunk.OG47FCVL.js +25 -0
- package/dist/chunks/chunk.OIQ66L7P.js +154 -0
- package/dist/chunks/chunk.OJSQN5MT.js +28 -0
- package/dist/chunks/chunk.OLJMUDEI.js +335 -0
- package/dist/chunks/chunk.OQVJOILL.js +11 -0
- package/dist/chunks/chunk.OXZAK47N.js +11 -0
- package/dist/chunks/chunk.PDBIPAHN.js +75 -0
- package/dist/chunks/chunk.PH3FDII3.js +27 -0
- package/dist/chunks/chunk.PRCZEBYJ.js +45 -0
- package/dist/chunks/chunk.PUDOG2HJ.js +109 -0
- package/dist/chunks/chunk.PVTIIBVW.js +11 -0
- package/dist/chunks/chunk.PXGDEV53.js +11 -0
- package/dist/chunks/chunk.PXQIMKMZ.js +24 -0
- package/dist/chunks/chunk.PYUDNKJH.js +11 -0
- package/dist/chunks/chunk.Q7Q3N2MW.js +11 -0
- package/dist/chunks/chunk.QFBZ5PH5.js +134 -0
- package/dist/chunks/chunk.QIZZDCEJ.js +11 -0
- package/dist/chunks/chunk.QMJF4ZFW.js +11 -0
- package/dist/chunks/chunk.QQDHYEJE.js +27 -0
- package/dist/chunks/chunk.QZDS2D62.js +11 -0
- package/dist/chunks/chunk.RAKSDJM6.js +27 -0
- package/dist/chunks/chunk.RESU3N5B.js +91 -0
- package/dist/chunks/chunk.RKKBPKVL.js +371 -0
- package/dist/chunks/chunk.RMAG5XGO.js +21 -0
- package/dist/chunks/chunk.SDX6M65R.js +294 -0
- package/dist/chunks/chunk.SFGRSHKM.js +502 -0
- package/dist/chunks/chunk.SGVII4SS.js +348 -0
- package/dist/chunks/chunk.SJPTKBQI.js +286 -0
- package/dist/chunks/chunk.SPZDVICF.js +315 -0
- package/dist/chunks/chunk.SRYA45ZX.js +637 -0
- package/dist/chunks/chunk.SS6KZQKE.js +113 -0
- package/dist/chunks/chunk.SV2IXYJ2.js +85 -0
- package/dist/chunks/chunk.T3SYLV27.js +28 -0
- package/dist/chunks/chunk.T7RGXM43.js +11 -0
- package/dist/chunks/chunk.TESTXMZA.js +21 -0
- package/dist/chunks/chunk.TFL52ZPQ.js +11 -0
- package/dist/chunks/chunk.TI2CKUF7.js +598 -0
- package/dist/chunks/chunk.TM75MCZS.js +11 -0
- package/dist/chunks/chunk.TRKQZFSR.js +11 -0
- package/dist/chunks/chunk.TURZ55HW.js +24 -0
- package/dist/chunks/chunk.UHDASFWR.js +21 -0
- package/dist/chunks/chunk.UOAZ7VTJ.js +21 -0
- package/dist/chunks/chunk.URILDBB3.js +25 -0
- package/dist/chunks/chunk.VCTLKW7S.js +26 -0
- package/dist/chunks/chunk.VDEE4ATN.js +22 -0
- package/dist/chunks/chunk.VK45KXCI.js +174 -0
- package/dist/chunks/chunk.VPCPBXLB.js +274 -0
- package/dist/chunks/chunk.VSYZSWC4.js +11 -0
- package/dist/chunks/chunk.VUUUZIRL.js +21 -0
- package/dist/chunks/chunk.VZ5N7BEV.js +100 -0
- package/dist/chunks/chunk.W6SPXJMJ.js +26 -0
- package/dist/chunks/chunk.WBPDNIDC.js +1207 -0
- package/dist/chunks/chunk.WF5ULSHG.js +11 -0
- package/dist/chunks/chunk.WLL4TI6E.js +11 -0
- package/dist/chunks/chunk.WMGZ4VT7.js +21 -0
- package/dist/chunks/chunk.WQF5AUGI.js +26 -0
- package/dist/chunks/chunk.WS4C6M2T.js +11 -0
- package/dist/chunks/chunk.WT7XTWCV.js +24 -0
- package/dist/chunks/chunk.WTEHM27Z.js +27 -0
- package/dist/chunks/chunk.WUEQXTJA.js +11 -0
- package/dist/chunks/chunk.XAZTFMI7.js +25 -0
- package/dist/chunks/chunk.XF53E2EV.js +11 -0
- package/dist/chunks/chunk.XO3ASHCI.js +11 -0
- package/dist/chunks/chunk.XQXUXM2G.js +116 -0
- package/dist/chunks/chunk.XRBLPMTD.js +11 -0
- package/dist/chunks/chunk.XT365ECW.js +11 -0
- package/dist/chunks/chunk.XVJ4GYMY.js +11 -0
- package/dist/chunks/chunk.XVW74MWW.js +213 -0
- package/dist/chunks/chunk.YHVJRWF2.js +27 -0
- package/dist/chunks/chunk.YJM4SBIL.js +180 -0
- package/dist/chunks/chunk.YKIFWZNQ.js +111 -0
- package/dist/chunks/chunk.YL4SLAYC.js +21 -0
- package/dist/chunks/chunk.YMDSIHGV.js +11 -0
- package/dist/chunks/chunk.YNQQALCT.js +57 -0
- package/dist/chunks/chunk.YR7LKWFQ.js +324 -0
- package/dist/chunks/chunk.YSML5P34.js +11 -0
- package/dist/chunks/chunk.YSYQKV6A.js +280 -0
- package/dist/chunks/chunk.YT4WJ5ZV.js +11 -0
- package/dist/chunks/chunk.YW33A3Z2.js +21 -0
- package/dist/chunks/chunk.YXW3MCSF.js +28 -0
- package/dist/chunks/chunk.Z4AKIAK3.js +212 -0
- package/dist/chunks/chunk.ZEIGDMZY.js +11 -0
- package/dist/chunks/chunk.ZEVFDIKC.js +231 -0
- package/dist/chunks/chunk.ZN333G4I.js +45 -0
- package/dist/chunks/chunk.ZN63BJSE.js +24 -0
- package/dist/chunks/chunk.ZNOXLXL2.js +11 -0
- package/dist/chunks/chunk.ZOMIS4CM.js +167 -0
- package/dist/chunks/chunk.ZOXZ324S.js +293 -0
- package/dist/chunks/chunk.ZRGPCJR7.js +24 -0
- package/dist/chunks/chunk.ZVQVKB5M.js +21 -0
- package/dist/chunks/chunk.ZWMHJNPE.js +11 -0
- package/dist/chunks/chunk.ZZT5TYM7.js +11 -0
- package/dist/components/alert/alert.component.js +5 -5
- package/dist/components/alert/alert.js +6 -6
- 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 +5 -5
- package/dist/components/button/button.js +6 -6
- 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 +40 -0
- package/dist/components/calendar/calendar.js +41 -0
- package/dist/components/calendar/calendar.styles.js +7 -0
- package/dist/components/calendar-picker/calendar-picker.component.js +7 -7
- package/dist/components/calendar-picker/calendar-picker.js +7 -7
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +4 -4
- package/dist/components/carousel/carousel.js +5 -5
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/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 +16 -16
- package/dist/components/color-picker/color-picker.js +17 -17
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/date-panel/date-panel.component.js +13 -13
- package/dist/components/date-panel/date-panel.js +13 -13
- package/dist/components/date-panel/date-panel.styles.js +1 -1
- package/dist/components/datepicker/datepicker.component.js +20 -20
- package/dist/components/datepicker/datepicker.js +20 -20
- package/dist/components/daterangepicker/daterangepicker.component.js +16 -16
- package/dist/components/daterangepicker/daterangepicker.js +17 -17
- package/dist/components/daterangepicker/daterangepicker.styles.js +1 -1
- 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 +2 -2
- package/dist/components/include/include.js +3 -3
- 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 +9 -9
- package/dist/components/nav/nav.js +10 -10
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +4 -4
- package/dist/components/nav-submenu/nav-submenu.js +5 -5
- package/dist/components/notification/notification.component.js +4 -4
- package/dist/components/notification/notification.js +5 -5
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +10 -10
- package/dist/components/pagination/pagination.component.js +11 -11
- package/dist/components/pagination/pagination.js +11 -11
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +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 +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +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 +5 -5
- package/dist/components/segmented/segmented.js +6 -6
- package/dist/components/select/select.component.js +7 -7
- package/dist/components/select/select.js +8 -8
- package/dist/components/sender/sender.component.js +18 -18
- package/dist/components/sender/sender.js +19 -19
- package/dist/components/sender-header/sender-header.component.js +6 -6
- package/dist/components/sender-header/sender-header.js +7 -7
- package/dist/components/sender-switch/sender-switch.component.js +6 -6
- package/dist/components/sender-switch/sender-switch.js +7 -7
- 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 +6 -6
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +3 -3
- package/dist/components/table/features/index.js +5 -5
- package/dist/components/table/footer-table.js +2 -2
- package/dist/components/table/head-table.js +24 -24
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +36 -36
- package/dist/components/table/table.js +37 -37
- 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 +6 -6
- package/dist/components/time-panel/time-panel.js +6 -6
- package/dist/components/timepicker/timepicker.component.js +20 -20
- package/dist/components/timepicker/timepicker.js +20 -20
- 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-select/tree-select.component.js +15 -15
- package/dist/components/tree-select/tree-select.js +16 -16
- 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 +16217 -15633
- package/dist/react/alert/index.js +6 -6
- 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 +6 -6
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/calendar/index.js +41 -0
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/col/index.js +3 -3
- package/dist/react/color-picker/index.js +17 -17
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/date-panel/index.js +14 -14
- package/dist/react/datepicker/index.js +21 -21
- package/dist/react/daterangepicker/index.js +17 -17
- 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 +3 -3
- package/dist/react/index.js +314 -308
- 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 +10 -10
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +5 -5
- package/dist/react/notification/index.js +5 -5
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +12 -12
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +5 -5
- 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 +6 -6
- package/dist/react/select/index.js +8 -8
- package/dist/react/sender/index.js +19 -19
- package/dist/react/sender-header/index.js +7 -7
- package/dist/react/sender-switch/index.js +7 -7
- 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 +7 -7
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +37 -37
- 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 +21 -21
- 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/visually-hidden/index.js +3 -3
- package/dist/react/x-markdown/index.js +3 -3
- package/dist/shoelace.js +300 -294
- package/dist/types/vue/index.d.ts +1064 -1000
- package/dist/vscode.html-custom-data.json +991 -969
- package/dist/web-types.json +2461 -2346
- package/package.json +2 -2
- package/cdn/chunks/chunk.23475MNQ.js +0 -11
- package/cdn/chunks/chunk.24EOAB4W.js +0 -11
- package/cdn/chunks/chunk.27AT4ABL.js +0 -24
- package/cdn/chunks/chunk.2ACCLCGJ.js +0 -197
- package/cdn/chunks/chunk.2GBGTLX6.js +0 -31
- package/cdn/chunks/chunk.2KFCXPOD.js +0 -24
- package/cdn/chunks/chunk.2S2NWUPN.js +0 -179
- package/cdn/chunks/chunk.2UCPI2QZ.js +0 -11
- package/cdn/chunks/chunk.35VYJY74.js +0 -118
- package/cdn/chunks/chunk.3KF6RTUG.js +0 -21
- package/cdn/chunks/chunk.3LLBHU76.js +0 -199
- package/cdn/chunks/chunk.3QGRM26U.js +0 -341
- package/cdn/chunks/chunk.3T2QPEFZ.js +0 -279
- package/cdn/chunks/chunk.3UVGCIBL.js +0 -92
- package/cdn/chunks/chunk.3X4ZGXJF.js +0 -11
- package/cdn/chunks/chunk.3X6DMWLH.js +0 -11
- package/cdn/chunks/chunk.3ZVKBR5U.js +0 -11
- package/cdn/chunks/chunk.43OG4JHA.js +0 -11
- package/cdn/chunks/chunk.4DMGSTFA.js +0 -82
- package/cdn/chunks/chunk.4P2WI5HL.js +0 -11
- package/cdn/chunks/chunk.4V2DIS6Q.js +0 -26
- package/cdn/chunks/chunk.4VBAE7CP.js +0 -128
- package/cdn/chunks/chunk.4Y2XZCG5.js +0 -605
- package/cdn/chunks/chunk.4ZFWCC4S.js +0 -193
- package/cdn/chunks/chunk.53GNN5VU.js +0 -11
- package/cdn/chunks/chunk.53LLHAEK.js +0 -11
- package/cdn/chunks/chunk.55TXVQ5B.js +0 -11
- package/cdn/chunks/chunk.5EVB3RUC.js +0 -216
- package/cdn/chunks/chunk.5GYJPABJ.js +0 -25
- package/cdn/chunks/chunk.5LQ2PX4K.js +0 -25
- package/cdn/chunks/chunk.5NX3JCUE.js +0 -11
- package/cdn/chunks/chunk.5O2LZYZ3.js +0 -11
- package/cdn/chunks/chunk.5SF442HX.js +0 -27
- package/cdn/chunks/chunk.5TAAUC3I.js +0 -21
- package/cdn/chunks/chunk.5XEJUY2V.js +0 -26
- package/cdn/chunks/chunk.5XSM3HGJ.js +0 -77
- package/cdn/chunks/chunk.5ZGEL7QG.js +0 -114
- package/cdn/chunks/chunk.5ZOUHBTT.js +0 -537
- package/cdn/chunks/chunk.63VUDZ6L.js +0 -21
- package/cdn/chunks/chunk.6CIRREB5.js +0 -11
- package/cdn/chunks/chunk.6GW5WUZN.js +0 -215
- package/cdn/chunks/chunk.6HPVZEYI.js +0 -510
- package/cdn/chunks/chunk.6JTNYW7U.js +0 -276
- package/cdn/chunks/chunk.6LQ4AYJU.js +0 -24
- package/cdn/chunks/chunk.6XDQVPI2.js +0 -11
- package/cdn/chunks/chunk.6Y5ANEVQ.js +0 -27
- package/cdn/chunks/chunk.7AAVXLMP.js +0 -11
- package/cdn/chunks/chunk.7CIGKRKZ.js +0 -11
- package/cdn/chunks/chunk.7HOE4ZJW.js +0 -21
- package/cdn/chunks/chunk.7MFSOX3Y.js +0 -11
- package/cdn/chunks/chunk.7O6YDBVN.js +0 -11
- package/cdn/chunks/chunk.7R57GED6.js +0 -11
- package/cdn/chunks/chunk.7RFV2X2W.js +0 -11
- package/cdn/chunks/chunk.7YLWIVST.js +0 -11
- package/cdn/chunks/chunk.A4S5XLL3.js +0 -21
- package/cdn/chunks/chunk.AD7OOH2D.js +0 -330
- package/cdn/chunks/chunk.AOMBSUDK.js +0 -11
- package/cdn/chunks/chunk.AV4W6ZKN.js +0 -11
- package/cdn/chunks/chunk.AX6AXFSR.js +0 -11
- package/cdn/chunks/chunk.B22C7KMW.js +0 -11
- package/cdn/chunks/chunk.B7UHYQ4A.js +0 -28
- package/cdn/chunks/chunk.BA22WN6E.js +0 -329
- package/cdn/chunks/chunk.BFBPCTU4.js +0 -233
- package/cdn/chunks/chunk.BFCHQMK4.js +0 -11
- package/cdn/chunks/chunk.BOEGIAI3.js +0 -25
- package/cdn/chunks/chunk.BOOYAFGC.js +0 -25
- package/cdn/chunks/chunk.C225YST5.js +0 -156
- package/cdn/chunks/chunk.C3L76LQF.js +0 -402
- package/cdn/chunks/chunk.C4NO27YS.js +0 -63
- package/cdn/chunks/chunk.C5DV2LKL.js +0 -113
- package/cdn/chunks/chunk.CBAMBAVZ.js +0 -11
- package/cdn/chunks/chunk.CCM7RTO5.js +0 -24
- package/cdn/chunks/chunk.CJLF2RUI.js +0 -28
- package/cdn/chunks/chunk.CNPSDV6L.js +0 -21
- package/cdn/chunks/chunk.CRM2PVNX.js +0 -21
- package/cdn/chunks/chunk.CSP4K7TF.js +0 -336
- package/cdn/chunks/chunk.CT5JFGGM.js +0 -153
- package/cdn/chunks/chunk.CZ3B7OZ6.js +0 -21
- package/cdn/chunks/chunk.D2HHY576.js +0 -236
- package/cdn/chunks/chunk.D4FICM7S.js +0 -49
- package/cdn/chunks/chunk.D6DONALC.js +0 -11
- package/cdn/chunks/chunk.DAGMVG4L.js +0 -154
- package/cdn/chunks/chunk.DJJGHWNL.js +0 -36
- package/cdn/chunks/chunk.DMUK7KZJ.js +0 -133
- package/cdn/chunks/chunk.DMW22DUE.js +0 -21
- package/cdn/chunks/chunk.DO6CTVHU.js +0 -331
- package/cdn/chunks/chunk.DQH4QMNL.js +0 -103
- package/cdn/chunks/chunk.DRA6YNRH.js +0 -11
- package/cdn/chunks/chunk.DWUHTDOB.js +0 -21
- package/cdn/chunks/chunk.E3TKQE7S.js +0 -11
- package/cdn/chunks/chunk.E5PHFERM.js +0 -1071
- package/cdn/chunks/chunk.E5VR2B66.js +0 -215
- package/cdn/chunks/chunk.EA2DKVZQ.js +0 -29
- package/cdn/chunks/chunk.EEJE7GNC.js +0 -371
- package/cdn/chunks/chunk.EFO72DXA.js +0 -26
- package/cdn/chunks/chunk.EFOJPQCJ.js +0 -734
- package/cdn/chunks/chunk.ENEXCK5B.js +0 -186
- package/cdn/chunks/chunk.EPXH6266.js +0 -11
- package/cdn/chunks/chunk.ESCB6J6R.js +0 -21
- package/cdn/chunks/chunk.ETGPX4DM.js +0 -29
- package/cdn/chunks/chunk.EVWO2Y4G.js +0 -835
- package/cdn/chunks/chunk.EYZ2BI7I.js +0 -24
- package/cdn/chunks/chunk.EZNHRNO2.js +0 -29
- package/cdn/chunks/chunk.FKEZC4J5.js +0 -24
- package/cdn/chunks/chunk.FNGTEE7Y.js +0 -158
- package/cdn/chunks/chunk.FX3W5XJT.js +0 -21
- package/cdn/chunks/chunk.G6NY3B3S.js +0 -27
- package/cdn/chunks/chunk.G6WL7IO5.js +0 -255
- package/cdn/chunks/chunk.GARMBODP.js +0 -21
- package/cdn/chunks/chunk.GHIOY4TU.js +0 -26
- package/cdn/chunks/chunk.GJBCDALT.js +0 -11
- package/cdn/chunks/chunk.GQ4ZBDF7.js +0 -21
- package/cdn/chunks/chunk.GT2KTN4K.js +0 -391
- package/cdn/chunks/chunk.GU5N2VJS.js +0 -142
- package/cdn/chunks/chunk.GULUEIC4.js +0 -24
- package/cdn/chunks/chunk.GWQOKOO5.js +0 -454
- package/cdn/chunks/chunk.GYD55D3L.js +0 -11
- package/cdn/chunks/chunk.H3VLGRO3.js +0 -11
- package/cdn/chunks/chunk.HMCWFIML.js +0 -11
- package/cdn/chunks/chunk.HSOG773L.js +0 -11
- package/cdn/chunks/chunk.HT5OWJWS.js +0 -11
- package/cdn/chunks/chunk.I4PA6E3A.js +0 -11
- package/cdn/chunks/chunk.I5ZZTEFP.js +0 -29
- package/cdn/chunks/chunk.I6S5252S.js +0 -1213
- package/cdn/chunks/chunk.IC7KULEJ.js +0 -21
- package/cdn/chunks/chunk.INEHROAZ.js +0 -21
- package/cdn/chunks/chunk.IV6S4ITY.js +0 -21
- package/cdn/chunks/chunk.J27RFIJF.js +0 -135
- package/cdn/chunks/chunk.J5G3CPEM.js +0 -24
- package/cdn/chunks/chunk.J6DAW3FN.js +0 -27
- package/cdn/chunks/chunk.JIH3FBXF.js +0 -11
- package/cdn/chunks/chunk.JJ23AQ3Y.js +0 -11
- package/cdn/chunks/chunk.JV7SCQP3.js +0 -11
- package/cdn/chunks/chunk.JXQ6YJ2I.js +0 -49
- package/cdn/chunks/chunk.JYXFVRQ5.js +0 -28
- package/cdn/chunks/chunk.K725SRRN.js +0 -97
- package/cdn/chunks/chunk.KAB67KB4.js +0 -379
- package/cdn/chunks/chunk.KDL4HUIR.js +0 -21
- package/cdn/chunks/chunk.KEPRYU3H.js +0 -11
- package/cdn/chunks/chunk.KHI2GLCE.js +0 -42
- package/cdn/chunks/chunk.KHQXSLBO.js +0 -24
- package/cdn/chunks/chunk.KJEBNKLD.js +0 -186
- package/cdn/chunks/chunk.KND2VAPM.js +0 -11
- package/cdn/chunks/chunk.KWI3U6ZR.js +0 -27
- package/cdn/chunks/chunk.L4HCT35J.js +0 -60
- package/cdn/chunks/chunk.L5MAXMZ6.js +0 -11
- package/cdn/chunks/chunk.LIWQYUGT.js +0 -500
- package/cdn/chunks/chunk.LPCXOYRE.js +0 -11
- package/cdn/chunks/chunk.LW6F5XTL.js +0 -25
- package/cdn/chunks/chunk.M23PXJ2V.js +0 -24
- package/cdn/chunks/chunk.M55XK2CP.js +0 -93
- package/cdn/chunks/chunk.M7ZNJ6XQ.js +0 -24
- package/cdn/chunks/chunk.MHLA2UWC.js +0 -75
- package/cdn/chunks/chunk.MQCHYRKE.js +0 -21
- package/cdn/chunks/chunk.MW5LLUSD.js +0 -11
- package/cdn/chunks/chunk.MYJUJBBF.js +0 -50
- package/cdn/chunks/chunk.MYZIHZSR.js +0 -24
- package/cdn/chunks/chunk.MZC6I5SC.js +0 -226
- package/cdn/chunks/chunk.N5HYMXVW.js +0 -11
- package/cdn/chunks/chunk.N74P7OTT.js +0 -11
- package/cdn/chunks/chunk.NBRHER7T.js +0 -35
- package/cdn/chunks/chunk.NHBGVJJI.js +0 -24
- package/cdn/chunks/chunk.NIGWGOO2.js +0 -11
- package/cdn/chunks/chunk.NIWQPVEP.js +0 -122
- package/cdn/chunks/chunk.NJCCEZO6.js +0 -25
- package/cdn/chunks/chunk.NL4GZFYK.js +0 -28
- package/cdn/chunks/chunk.NLCCZ7K2.js +0 -915
- package/cdn/chunks/chunk.NQFL4UGF.js +0 -11
- package/cdn/chunks/chunk.NUGLCZ6K.js +0 -219
- package/cdn/chunks/chunk.OCGV2WA5.js +0 -299
- package/cdn/chunks/chunk.ODSHAUAX.js +0 -11
- package/cdn/chunks/chunk.OFGD3CU7.js +0 -29
- package/cdn/chunks/chunk.OINKLNK5.js +0 -21
- package/cdn/chunks/chunk.OINVYVT2.js +0 -455
- package/cdn/chunks/chunk.OJVBB4XV.js +0 -24
- package/cdn/chunks/chunk.OLM5UZIZ.js +0 -1990
- package/cdn/chunks/chunk.OUQCHRKU.js +0 -73
- package/cdn/chunks/chunk.OWATRZAN.js +0 -11
- package/cdn/chunks/chunk.P2LS5KQB.js +0 -27
- package/cdn/chunks/chunk.P6MU6TMS.js +0 -79
- package/cdn/chunks/chunk.PAWM7FEC.js +0 -91
- package/cdn/chunks/chunk.PBMALYPX.js +0 -127
- package/cdn/chunks/chunk.PFFU4Z7Z.js +0 -177
- package/cdn/chunks/chunk.PHGTSCZN.js +0 -11
- package/cdn/chunks/chunk.POJC77JU.js +0 -11
- package/cdn/chunks/chunk.POW5ZIMB.js +0 -320
- package/cdn/chunks/chunk.PQ7KMFTD.js +0 -24
- package/cdn/chunks/chunk.PZ6U4Q53.js +0 -87
- package/cdn/chunks/chunk.Q32NWZNM.js +0 -163
- package/cdn/chunks/chunk.QBSCE4HR.js +0 -647
- package/cdn/chunks/chunk.QDTJK7R7.js +0 -346
- package/cdn/chunks/chunk.QGM7LYAA.js +0 -95
- package/cdn/chunks/chunk.QHFESMQN.js +0 -25
- package/cdn/chunks/chunk.QJACWYKL.js +0 -11
- package/cdn/chunks/chunk.QKI7RBLV.js +0 -21
- package/cdn/chunks/chunk.QLPJH7OQ.js +0 -25
- package/cdn/chunks/chunk.QOWLECA7.js +0 -27
- package/cdn/chunks/chunk.QPKWEI6S.js +0 -236
- package/cdn/chunks/chunk.QVQHNQZC.js +0 -11
- package/cdn/chunks/chunk.RDGWX75J.js +0 -92
- package/cdn/chunks/chunk.RH3SRMX3.js +0 -24
- package/cdn/chunks/chunk.RVCK75KA.js +0 -21
- package/cdn/chunks/chunk.S32HHAQP.js +0 -21
- package/cdn/chunks/chunk.S5VFZEPJ.js +0 -24
- package/cdn/chunks/chunk.SAZY2C2Y.js +0 -1884
- package/cdn/chunks/chunk.SNBXNEV5.js +0 -11
- package/cdn/chunks/chunk.SOC34DAV.js +0 -11
- package/cdn/chunks/chunk.SQYZR2ZW.js +0 -11
- package/cdn/chunks/chunk.SSHWBV7S.js +0 -21
- package/cdn/chunks/chunk.SSLELMAI.js +0 -11
- package/cdn/chunks/chunk.ST7E5GN4.js +0 -67
- package/cdn/chunks/chunk.T3TXGZVJ.js +0 -11
- package/cdn/chunks/chunk.T6SICTQS.js +0 -24
- package/cdn/chunks/chunk.TCVPXNRE.js +0 -271
- package/cdn/chunks/chunk.TG4C4XSJ.js +0 -11
- package/cdn/chunks/chunk.TQS3FYHI.js +0 -7428
- package/cdn/chunks/chunk.TRPO2OJI.js +0 -724
- package/cdn/chunks/chunk.TSE3VR56.js +0 -24
- package/cdn/chunks/chunk.TUMKPZQ3.js +0 -27
- package/cdn/chunks/chunk.U3OZNFIF.js +0 -11
- package/cdn/chunks/chunk.U4QWAW74.js +0 -137
- package/cdn/chunks/chunk.U7QYV3DI.js +0 -11
- package/cdn/chunks/chunk.UC4E4DPG.js +0 -543
- package/cdn/chunks/chunk.UCU5OQ7O.js +0 -21
- package/cdn/chunks/chunk.UGNQTEQ7.js +0 -25
- package/cdn/chunks/chunk.UQYVVA5P.js +0 -11
- package/cdn/chunks/chunk.V5DJZ4EH.js +0 -21
- package/cdn/chunks/chunk.VAEFFCK4.js +0 -120
- package/cdn/chunks/chunk.VBMEKT7S.js +0 -11
- package/cdn/chunks/chunk.VC2WVER3.js +0 -302
- package/cdn/chunks/chunk.VCSJJ6ZG.js +0 -291
- package/cdn/chunks/chunk.VHJXJNDZ.js +0 -24
- package/cdn/chunks/chunk.VIZM6WLQ.js +0 -29
- package/cdn/chunks/chunk.VMMKK2CV.js +0 -54
- package/cdn/chunks/chunk.VOFLPZYE.js +0 -1932
- package/cdn/chunks/chunk.VR72HU7T.js +0 -292
- package/cdn/chunks/chunk.VXB4QQ6L.js +0 -28
- package/cdn/chunks/chunk.VXNROMNO.js +0 -586
- package/cdn/chunks/chunk.VYRLXAQ5.js +0 -5845
- package/cdn/chunks/chunk.W7CNLS4U.js +0 -11
- package/cdn/chunks/chunk.W7Y66VFS.js +0 -29
- package/cdn/chunks/chunk.WBADQZ57.js +0 -21
- package/cdn/chunks/chunk.WBK7PA34.js +0 -21
- package/cdn/chunks/chunk.WCFSJES6.js +0 -11
- package/cdn/chunks/chunk.WOBRZTFA.js +0 -11
- package/cdn/chunks/chunk.WOIVLQPW.js +0 -161
- package/cdn/chunks/chunk.WRUCGQWK.js +0 -26
- package/cdn/chunks/chunk.WSOQLNN4.js +0 -21
- package/cdn/chunks/chunk.XA4FKPKY.js +0 -33
- package/cdn/chunks/chunk.XINRVDCK.js +0 -11
- package/cdn/chunks/chunk.XLN7NWHF.js +0 -11
- package/cdn/chunks/chunk.XSZPI4LV.js +0 -11
- package/cdn/chunks/chunk.XTJQIDWA.js +0 -11
- package/cdn/chunks/chunk.XV7EKRQ5.js +0 -11
- package/cdn/chunks/chunk.XZWYPGQ6.js +0 -11
- package/cdn/chunks/chunk.YCABMEXP.js +0 -11
- package/cdn/chunks/chunk.YG2LTHYA.js +0 -25
- package/cdn/chunks/chunk.YHXZGOIV.js +0 -11
- package/cdn/chunks/chunk.YKDRE5NC.js +0 -11
- package/cdn/chunks/chunk.YKVYDCLY.js +0 -25
- package/cdn/chunks/chunk.YPDRS2BW.js +0 -588
- package/cdn/chunks/chunk.YQPO3FB2.js +0 -354
- package/cdn/chunks/chunk.Z4AUT2GG.js +0 -11
- package/cdn/chunks/chunk.Z5SOE6GH.js +0 -28
- package/cdn/chunks/chunk.Z7A2PM5M.js +0 -281
- package/cdn/chunks/chunk.ZDSTGHFJ.js +0 -21
- package/cdn/chunks/chunk.ZFNM6NSO.js +0 -21
- package/cdn/chunks/chunk.ZJ4NJFMH.js +0 -11
- package/cdn/chunks/chunk.ZRRNJ2VT.js +0 -11
- package/dist/chunks/chunk.2CVYY4JR.js +0 -424
- package/dist/chunks/chunk.2KBO7JKH.js +0 -598
- package/dist/chunks/chunk.2MZX2FPJ.js +0 -11
- package/dist/chunks/chunk.2SAFTBZS.js +0 -448
- package/dist/chunks/chunk.2TO56YJN.js +0 -109
- package/dist/chunks/chunk.3BNPDRMW.js +0 -11
- package/dist/chunks/chunk.3FNW23NI.js +0 -96
- package/dist/chunks/chunk.3RHJPBH2.js +0 -11
- package/dist/chunks/chunk.3ZD4IRME.js +0 -11
- package/dist/chunks/chunk.4235L22Z.js +0 -11
- package/dist/chunks/chunk.44YZBA5B.js +0 -11
- package/dist/chunks/chunk.4DTFN4U3.js +0 -28
- package/dist/chunks/chunk.4EQ7FITV.js +0 -11
- package/dist/chunks/chunk.4H34MTAJ.js +0 -26
- package/dist/chunks/chunk.4ILJ3PCK.js +0 -11
- package/dist/chunks/chunk.4KMXUWTC.js +0 -52
- package/dist/chunks/chunk.4ZPYTIMV.js +0 -28
- package/dist/chunks/chunk.542MDSBB.js +0 -25
- package/dist/chunks/chunk.56ECQRKE.js +0 -1062
- package/dist/chunks/chunk.56XF6AYD.js +0 -29
- package/dist/chunks/chunk.5HZYMKC6.js +0 -21
- package/dist/chunks/chunk.5JXE5XC3.js +0 -21
- package/dist/chunks/chunk.5MEYS3AE.js +0 -384
- package/dist/chunks/chunk.5O77POT2.js +0 -21
- package/dist/chunks/chunk.5OYIC67Q.js +0 -21
- package/dist/chunks/chunk.5OZ6UIUV.js +0 -11
- package/dist/chunks/chunk.5T66LGAF.js +0 -322
- package/dist/chunks/chunk.5U4GDW36.js +0 -24
- package/dist/chunks/chunk.5YFTBAH3.js +0 -24
- package/dist/chunks/chunk.6A3QK4D7.js +0 -11
- package/dist/chunks/chunk.6DCVWIRS.js +0 -21
- package/dist/chunks/chunk.6EHBDGJL.js +0 -11
- package/dist/chunks/chunk.6FJRE5TA.js +0 -827
- package/dist/chunks/chunk.6GSCZ5DK.js +0 -724
- package/dist/chunks/chunk.6ST7SYRY.js +0 -1207
- package/dist/chunks/chunk.6VQVY4SO.js +0 -59
- package/dist/chunks/chunk.743YQDHG.js +0 -11
- package/dist/chunks/chunk.74LSZDCW.js +0 -11
- package/dist/chunks/chunk.7CUNZMTA.js +0 -192
- package/dist/chunks/chunk.7DY5RW6T.js +0 -21
- package/dist/chunks/chunk.7G2IA5A2.js +0 -582
- package/dist/chunks/chunk.7KJN3T6Q.js +0 -11
- package/dist/chunks/chunk.7KOWBQ4C.js +0 -11
- package/dist/chunks/chunk.7LXN2LVM.js +0 -11
- package/dist/chunks/chunk.7OOCBEFZ.js +0 -227
- package/dist/chunks/chunk.7T5EUN3I.js +0 -11
- package/dist/chunks/chunk.A2D76HKX.js +0 -26
- package/dist/chunks/chunk.A7GTQ7OJ.js +0 -11
- package/dist/chunks/chunk.ADKK3YVT.js +0 -11
- package/dist/chunks/chunk.AJIJFULA.js +0 -937
- package/dist/chunks/chunk.AO4GSYEA.js +0 -174
- package/dist/chunks/chunk.B2QY6VWB.js +0 -11
- package/dist/chunks/chunk.B5E6ZBSR.js +0 -28
- package/dist/chunks/chunk.B5L5SFWI.js +0 -75
- package/dist/chunks/chunk.B7YAI2GN.js +0 -100
- package/dist/chunks/chunk.BEHN7V6V.js +0 -911
- package/dist/chunks/chunk.BM6NIOSI.js +0 -21
- package/dist/chunks/chunk.BMHIIEWB.js +0 -294
- package/dist/chunks/chunk.BMKVO54W.js +0 -90
- package/dist/chunks/chunk.BT2HNFT5.js +0 -80
- package/dist/chunks/chunk.BWVELDPJ.js +0 -119
- package/dist/chunks/chunk.BZ6KTOWM.js +0 -27
- package/dist/chunks/chunk.BZGSEE4J.js +0 -21
- package/dist/chunks/chunk.CCKNMW2V.js +0 -158
- package/dist/chunks/chunk.CD4LWTX5.js +0 -24
- package/dist/chunks/chunk.CF6M7P2L.js +0 -194
- package/dist/chunks/chunk.CJVOWNUE.js +0 -181
- package/dist/chunks/chunk.CL2JYNNO.js +0 -167
- package/dist/chunks/chunk.CMSYERQ6.js +0 -231
- package/dist/chunks/chunk.CTD6DEHR.js +0 -21
- package/dist/chunks/chunk.CWBMGXUF.js +0 -29
- package/dist/chunks/chunk.CY3PYT6N.js +0 -11
- package/dist/chunks/chunk.CYNMXIIL.js +0 -25
- package/dist/chunks/chunk.D223HQL5.js +0 -24
- package/dist/chunks/chunk.D6B2XIID.js +0 -11
- package/dist/chunks/chunk.D7BSCZBM.js +0 -21
- package/dist/chunks/chunk.DDKJ2FAQ.js +0 -87
- package/dist/chunks/chunk.DH3SRPD7.js +0 -247
- package/dist/chunks/chunk.DL6BCQ3S.js +0 -25
- package/dist/chunks/chunk.DNK2VDDJ.js +0 -11
- package/dist/chunks/chunk.DP7CXEPV.js +0 -21
- package/dist/chunks/chunk.DUHDLAMA.js +0 -223
- package/dist/chunks/chunk.DVDZEE4E.js +0 -34
- package/dist/chunks/chunk.DZ3NJY74.js +0 -11
- package/dist/chunks/chunk.E6CNOK3R.js +0 -11
- package/dist/chunks/chunk.EFB7QJM7.js +0 -320
- package/dist/chunks/chunk.EFZMNZ22.js +0 -11
- package/dist/chunks/chunk.EG7GXNPE.js +0 -494
- package/dist/chunks/chunk.ELDNNESK.js +0 -21
- package/dist/chunks/chunk.ENQAXVT3.js +0 -286
- package/dist/chunks/chunk.ENQXQSQ4.js +0 -521
- package/dist/chunks/chunk.EO5HNAED.js +0 -24
- package/dist/chunks/chunk.ETDLMUFE.js +0 -11
- package/dist/chunks/chunk.EUTJUJNS.js +0 -148
- package/dist/chunks/chunk.EVJNWGUY.js +0 -11
- package/dist/chunks/chunk.F2BAZOY3.js +0 -125
- package/dist/chunks/chunk.F3TQMPBC.js +0 -11
- package/dist/chunks/chunk.FFPJRHO5.js +0 -21
- package/dist/chunks/chunk.FHX7MX3J.js +0 -11
- package/dist/chunks/chunk.FM2XAB6B.js +0 -11
- package/dist/chunks/chunk.FNFWPSJ7.js +0 -21
- package/dist/chunks/chunk.FXTGZNY7.js +0 -11
- package/dist/chunks/chunk.FYIJPHGP.js +0 -502
- package/dist/chunks/chunk.G27GMDND.js +0 -21
- package/dist/chunks/chunk.G3A4N4NT.js +0 -11
- package/dist/chunks/chunk.G4RNWOUF.js +0 -21
- package/dist/chunks/chunk.G5AH5W3Q.js +0 -151
- package/dist/chunks/chunk.G5HWA5QR.js +0 -11
- package/dist/chunks/chunk.GC6PBOVT.js +0 -29
- package/dist/chunks/chunk.GFJ6H72C.js +0 -550
- package/dist/chunks/chunk.GIN73733.js +0 -11
- package/dist/chunks/chunk.GJ5QGJZB.js +0 -27
- package/dist/chunks/chunk.GS25JWNS.js +0 -371
- package/dist/chunks/chunk.GULNG7B4.js +0 -11
- package/dist/chunks/chunk.GXLKQ4F4.js +0 -21
- package/dist/chunks/chunk.H4D345F4.js +0 -11
- package/dist/chunks/chunk.H5Y7VPFE.js +0 -11
- package/dist/chunks/chunk.H6DV5GXM.js +0 -22
- package/dist/chunks/chunk.HAIVRSQI.js +0 -365
- package/dist/chunks/chunk.HDWRKX3D.js +0 -278
- package/dist/chunks/chunk.HHMRFG6Q.js +0 -25
- package/dist/chunks/chunk.HK433QQB.js +0 -85
- package/dist/chunks/chunk.HMGJUVFP.js +0 -11
- package/dist/chunks/chunk.HNGXLQRM.js +0 -11
- package/dist/chunks/chunk.HNIWPWBS.js +0 -315
- package/dist/chunks/chunk.HNQ5Q3DP.js +0 -24
- package/dist/chunks/chunk.HQAPRH4Y.js +0 -28
- package/dist/chunks/chunk.HW2ZGK4Z.js +0 -25
- package/dist/chunks/chunk.HXO4BTAZ.js +0 -25
- package/dist/chunks/chunk.I56XCTOC.js +0 -21
- package/dist/chunks/chunk.I7P5K4HF.js +0 -29
- package/dist/chunks/chunk.IALIK45J.js +0 -86
- package/dist/chunks/chunk.IDMERQEZ.js +0 -26
- package/dist/chunks/chunk.IDTJBE5O.js +0 -21
- package/dist/chunks/chunk.IMSOIEML.js +0 -27
- package/dist/chunks/chunk.IOYFSZDY.js +0 -24
- package/dist/chunks/chunk.IPHUO5SK.js +0 -25
- package/dist/chunks/chunk.JIH3N6Z7.js +0 -25
- package/dist/chunks/chunk.JKHK2PJA.js +0 -134
- package/dist/chunks/chunk.JSYQKRNI.js +0 -11
- package/dist/chunks/chunk.K4B6ZF3E.js +0 -24
- package/dist/chunks/chunk.KB5YQ3WB.js +0 -21
- package/dist/chunks/chunk.KHGPY2Z3.js +0 -29
- package/dist/chunks/chunk.KIUX4C43.js +0 -27
- package/dist/chunks/chunk.KLEMUJEO.js +0 -113
- package/dist/chunks/chunk.KPXZDXMM.js +0 -11
- package/dist/chunks/chunk.KZTROUDB.js +0 -274
- package/dist/chunks/chunk.L4TQ6M5G.js +0 -448
- package/dist/chunks/chunk.LAQN22A7.js +0 -24
- package/dist/chunks/chunk.LDFJQALX.js +0 -324
- package/dist/chunks/chunk.LECY5UEI.js +0 -11
- package/dist/chunks/chunk.LLBYG3UQ.js +0 -11
- package/dist/chunks/chunk.M2DBMVQI.js +0 -11
- package/dist/chunks/chunk.M7LBNAWV.js +0 -949
- package/dist/chunks/chunk.MA254WSC.js +0 -231
- package/dist/chunks/chunk.MDURT4D2.js +0 -190
- package/dist/chunks/chunk.MJ3SQOYT.js +0 -335
- package/dist/chunks/chunk.MLLYMW72.js +0 -86
- package/dist/chunks/chunk.MM57YQEF.js +0 -21
- package/dist/chunks/chunk.MPYTMR6R.js +0 -21
- package/dist/chunks/chunk.MRV723CU.js +0 -11
- package/dist/chunks/chunk.MTMTQ6E5.js +0 -29
- package/dist/chunks/chunk.MXBZB463.js +0 -637
- package/dist/chunks/chunk.N3QQNGQL.js +0 -11
- package/dist/chunks/chunk.NC6COQLW.js +0 -57
- package/dist/chunks/chunk.NCQSCKSW.js +0 -24
- package/dist/chunks/chunk.NJ4QFLMC.js +0 -11
- package/dist/chunks/chunk.NM7PSE25.js +0 -214
- package/dist/chunks/chunk.O44WZXPO.js +0 -11
- package/dist/chunks/chunk.ODCSU5RB.js +0 -11
- package/dist/chunks/chunk.OIYGCNNX.js +0 -11
- package/dist/chunks/chunk.OK5D4NWP.js +0 -11
- package/dist/chunks/chunk.ONUGOHSL.js +0 -24
- package/dist/chunks/chunk.OWPZUHZ4.js +0 -73
- package/dist/chunks/chunk.OZECKUD7.js +0 -25
- package/dist/chunks/chunk.P7II62E5.js +0 -11
- package/dist/chunks/chunk.PPJEPTQG.js +0 -11
- package/dist/chunks/chunk.PY64JKOE.js +0 -45
- package/dist/chunks/chunk.Q35E6DGG.js +0 -150
- package/dist/chunks/chunk.Q3KGDGCM.js +0 -24
- package/dist/chunks/chunk.Q4UULCTT.js +0 -135
- package/dist/chunks/chunk.QBE2XFZR.js +0 -25
- package/dist/chunks/chunk.QI2G7QFE.js +0 -11
- package/dist/chunks/chunk.QJ7TX7WW.js +0 -24
- package/dist/chunks/chunk.QJQ76VK5.js +0 -11
- package/dist/chunks/chunk.QLJ2ELYV.js +0 -126
- package/dist/chunks/chunk.QMGWNB2C.js +0 -21
- package/dist/chunks/chunk.QS2J5KUI.js +0 -24
- package/dist/chunks/chunk.QSRMJEVO.js +0 -11
- package/dist/chunks/chunk.QV23DWDX.js +0 -21
- package/dist/chunks/chunk.QWCKKZ3R.js +0 -28
- package/dist/chunks/chunk.QZP3GK3A.js +0 -11
- package/dist/chunks/chunk.RDTFKDYD.js +0 -11
- package/dist/chunks/chunk.RHPBH2AI.js +0 -25
- package/dist/chunks/chunk.RKWTUCBV.js +0 -21
- package/dist/chunks/chunk.RLZNQIHL.js +0 -93
- package/dist/chunks/chunk.RO7KKGQP.js +0 -25
- package/dist/chunks/chunk.RRAIMXH4.js +0 -11
- package/dist/chunks/chunk.RSN3CRBH.js +0 -117
- package/dist/chunks/chunk.RUFGJJFB.js +0 -33
- package/dist/chunks/chunk.RWA3UDZV.js +0 -293
- package/dist/chunks/chunk.SCSG7SSA.js +0 -27
- package/dist/chunks/chunk.SFIOJLLB.js +0 -21
- package/dist/chunks/chunk.SJ25PMI4.js +0 -11
- package/dist/chunks/chunk.SLLGEFQ3.js +0 -31
- package/dist/chunks/chunk.SLZHEUPU.js +0 -24
- package/dist/chunks/chunk.SNZJPGDT.js +0 -21
- package/dist/chunks/chunk.TBBKZDPK.js +0 -11
- package/dist/chunks/chunk.TO2OIH7B.js +0 -50
- package/dist/chunks/chunk.TUOA4JZ5.js +0 -11
- package/dist/chunks/chunk.TYGLCBZD.js +0 -100
- package/dist/chunks/chunk.U2HBAN4R.js +0 -24
- package/dist/chunks/chunk.U5WRV5SK.js +0 -348
- package/dist/chunks/chunk.UBZ4SMC2.js +0 -11
- package/dist/chunks/chunk.UFCHVQTQ.js +0 -11
- package/dist/chunks/chunk.UIUV2JTZ.js +0 -337
- package/dist/chunks/chunk.ULP5U4XO.js +0 -11
- package/dist/chunks/chunk.UM4R7J24.js +0 -35
- package/dist/chunks/chunk.UTSS4V2D.js +0 -213
- package/dist/chunks/chunk.V4HOH3M4.js +0 -27
- package/dist/chunks/chunk.VCIILHZF.js +0 -154
- package/dist/chunks/chunk.VICCOH4Z.js +0 -11
- package/dist/chunks/chunk.VIXGW4ZJ.js +0 -280
- package/dist/chunks/chunk.VJHUOPXO.js +0 -11
- package/dist/chunks/chunk.VL4JRQ5S.js +0 -11
- package/dist/chunks/chunk.VM5OECNK.js +0 -21
- package/dist/chunks/chunk.VMPPVMGS.js +0 -534
- package/dist/chunks/chunk.VSZB3AEB.js +0 -11
- package/dist/chunks/chunk.VTYBSPNH.js +0 -27
- package/dist/chunks/chunk.VUNBSCEJ.js +0 -171
- package/dist/chunks/chunk.VUPGQMXB.js +0 -126
- package/dist/chunks/chunk.VVB6LMFV.js +0 -263
- package/dist/chunks/chunk.VXHOS3IY.js +0 -22
- package/dist/chunks/chunk.VZRM5J7M.js +0 -11
- package/dist/chunks/chunk.W77XQ27G.js +0 -317
- package/dist/chunks/chunk.WC4AOE4Z.js +0 -11
- package/dist/chunks/chunk.WGA7YK4Y.js +0 -397
- package/dist/chunks/chunk.WM2C6CJG.js +0 -11
- package/dist/chunks/chunk.WNGTYJFQ.js +0 -11
- package/dist/chunks/chunk.WPPSPENB.js +0 -91
- package/dist/chunks/chunk.WQLW3W3D.js +0 -212
- package/dist/chunks/chunk.X3BG5OZX.js +0 -11
- package/dist/chunks/chunk.X7M5O7O2.js +0 -29
- package/dist/chunks/chunk.XCWGNOKQ.js +0 -11
- package/dist/chunks/chunk.XED4UKZZ.js +0 -11
- package/dist/chunks/chunk.XG6TNAIX.js +0 -21
- package/dist/chunks/chunk.XLURZZKA.js +0 -45
- package/dist/chunks/chunk.XMJPI2BN.js +0 -1875
- package/dist/chunks/chunk.XP3M3OGV.js +0 -11
- package/dist/chunks/chunk.XRMF3NC4.js +0 -21
- package/dist/chunks/chunk.XTGZJK36.js +0 -11
- package/dist/chunks/chunk.XYB2JCIR.js +0 -21
- package/dist/chunks/chunk.Y2DSTGGP.js +0 -209
- package/dist/chunks/chunk.YCENPNCO.js +0 -63
- package/dist/chunks/chunk.YECAX34E.js +0 -180
- package/dist/chunks/chunk.YFUU4KVX.js +0 -11
- package/dist/chunks/chunk.YJNJAK6X.js +0 -11
- package/dist/chunks/chunk.YJZZ56VQ.js +0 -75
- package/dist/chunks/chunk.YMTFW2OJ.js +0 -111
- package/dist/chunks/chunk.YSVSXK7B.js +0 -42
- package/dist/chunks/chunk.YT2DJV47.js +0 -26
- package/dist/chunks/chunk.Z2PLRZ5Q.js +0 -24
- package/dist/chunks/chunk.ZBXEUJXV.js +0 -11
- package/dist/chunks/chunk.ZGURCDA7.js +0 -28
- package/dist/chunks/chunk.ZPD2Q3JQ.js +0 -24
- package/dist/chunks/chunk.ZR6RMIB2.js +0 -147
- package/dist/chunks/chunk.ZROZHLD6.js +0 -67
- package/dist/chunks/chunk.ZU5HNZ5B.js +0 -26
- package/dist/chunks/chunk.ZWH5DIVL.js +0 -116
|
@@ -0,0 +1,1875 @@
|
|
|
1
|
+
import {
|
|
2
|
+
daterangepicker_styles_default
|
|
3
|
+
} from "./chunk.4FPXHTP4.js";
|
|
4
|
+
import {
|
|
5
|
+
SlDrawer
|
|
6
|
+
} from "./chunk.DKI25Y7A.js";
|
|
7
|
+
import {
|
|
8
|
+
defaultValue
|
|
9
|
+
} from "./chunk.GI7VDIWX.js";
|
|
10
|
+
import {
|
|
11
|
+
LOCALE,
|
|
12
|
+
SlCalendarPicker,
|
|
13
|
+
formatDatetime,
|
|
14
|
+
parseDatetime
|
|
15
|
+
} from "./chunk.NMHNVTUG.js";
|
|
16
|
+
import {
|
|
17
|
+
SlButton
|
|
18
|
+
} from "./chunk.ZOXZ324S.js";
|
|
19
|
+
import {
|
|
20
|
+
SlPopup
|
|
21
|
+
} from "./chunk.4D3UWWAO.js";
|
|
22
|
+
import {
|
|
23
|
+
form_control_styles_default
|
|
24
|
+
} from "./chunk.ITANYM25.js";
|
|
25
|
+
import {
|
|
26
|
+
FormControlController
|
|
27
|
+
} from "./chunk.WBWPWG4N.js";
|
|
28
|
+
import {
|
|
29
|
+
HasSlotController
|
|
30
|
+
} from "./chunk.NYIIDP5N.js";
|
|
31
|
+
import {
|
|
32
|
+
LocalizeController
|
|
33
|
+
} from "./chunk.6CTB5ZDJ.js";
|
|
34
|
+
import {
|
|
35
|
+
SlIcon
|
|
36
|
+
} from "./chunk.BYYZZMGG.js";
|
|
37
|
+
import {
|
|
38
|
+
watch
|
|
39
|
+
} from "./chunk.55S3OOTM.js";
|
|
40
|
+
import {
|
|
41
|
+
component_styles_default
|
|
42
|
+
} from "./chunk.TUVJKY7S.js";
|
|
43
|
+
import {
|
|
44
|
+
ShoelaceElement
|
|
45
|
+
} from "./chunk.HDL3N2D6.js";
|
|
46
|
+
import {
|
|
47
|
+
__decorateClass
|
|
48
|
+
} from "./chunk.W5KB6T3Z.js";
|
|
49
|
+
|
|
50
|
+
// src/components/daterangepicker/daterangepicker.component.ts
|
|
51
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
52
|
+
import { html } from "lit";
|
|
53
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
54
|
+
import { live } from "lit/directives/live.js";
|
|
55
|
+
import { property, query, queryAll, state } from "lit/decorators.js";
|
|
56
|
+
var formatRangeValue = (date) => {
|
|
57
|
+
const hasTime = date.getHours() !== 0 || date.getMinutes() !== 0 || date.getSeconds() !== 0;
|
|
58
|
+
return formatDatetime(date, hasTime ? "datetime" : "date");
|
|
59
|
+
};
|
|
60
|
+
var WHEEL_ITEM_HEIGHT = 50;
|
|
61
|
+
var SlDaterangepicker = class extends ShoelaceElement {
|
|
62
|
+
constructor() {
|
|
63
|
+
super(...arguments);
|
|
64
|
+
this.formControlController = new FormControlController(this, {
|
|
65
|
+
assumeInteractionOn: ["sl-blur", "sl-input"]
|
|
66
|
+
});
|
|
67
|
+
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
68
|
+
this.localize = new LocalizeController(this);
|
|
69
|
+
this.hasFocus = false;
|
|
70
|
+
this.isHovered = false;
|
|
71
|
+
this.open = false;
|
|
72
|
+
this.activeInput = "start";
|
|
73
|
+
this.leftDate = /* @__PURE__ */ new Date();
|
|
74
|
+
this.rightDate = new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() + 1, 1);
|
|
75
|
+
this.startValue = "";
|
|
76
|
+
this.endValue = "";
|
|
77
|
+
this.calendarView = "days";
|
|
78
|
+
this.calendarViewAnchor = "left";
|
|
79
|
+
this.syncingValue = false;
|
|
80
|
+
this.hoverDate = null;
|
|
81
|
+
this.enableHoverRange = false;
|
|
82
|
+
this.rangeEditTwoStep = false;
|
|
83
|
+
this.rangeEditFirstSide = null;
|
|
84
|
+
this.rangeEditExpectedSide = null;
|
|
85
|
+
this.hasFocusSwitched = false;
|
|
86
|
+
this.lastValidValue = [null, null];
|
|
87
|
+
this.isMobile = false;
|
|
88
|
+
this.mobilePickerView = "calendar";
|
|
89
|
+
this.wheelDate = /* @__PURE__ */ new Date();
|
|
90
|
+
this.yearScrollTop = 0;
|
|
91
|
+
this.mobileOpenSnapshot = [null, null];
|
|
92
|
+
this.mobileInteracted = false;
|
|
93
|
+
this.pendingDate = null;
|
|
94
|
+
this.pendingSide = null;
|
|
95
|
+
this.name = "";
|
|
96
|
+
this.value = [null, null];
|
|
97
|
+
this.defaultValue = [null, null];
|
|
98
|
+
this.size = "medium";
|
|
99
|
+
this.filled = false;
|
|
100
|
+
this.pill = false;
|
|
101
|
+
this.label = "";
|
|
102
|
+
this.helpText = "";
|
|
103
|
+
this.clearable = true;
|
|
104
|
+
this.disabled = false;
|
|
105
|
+
this.placeholder = ["\u5F00\u59CB\u65E5\u671F", "\u7ED3\u675F\u65E5\u671F"];
|
|
106
|
+
this.readonly = false;
|
|
107
|
+
this.required = false;
|
|
108
|
+
this.startDate = null;
|
|
109
|
+
this.endDate = null;
|
|
110
|
+
this.type = "date";
|
|
111
|
+
this.min = "0001-01-01";
|
|
112
|
+
this.max = "9999-12-31";
|
|
113
|
+
this.format = "YYYY-MM-DD";
|
|
114
|
+
}
|
|
115
|
+
get startPlaceholder() {
|
|
116
|
+
return this.placeholder[0];
|
|
117
|
+
}
|
|
118
|
+
get endPlaceholder() {
|
|
119
|
+
return this.placeholder[1];
|
|
120
|
+
}
|
|
121
|
+
/** Gets the validity state object */
|
|
122
|
+
get validity() {
|
|
123
|
+
var _a, _b;
|
|
124
|
+
if (!((_a = this.startInput) == null ? void 0 : _a.validity) || !((_b = this.endInput) == null ? void 0 : _b.validity)) {
|
|
125
|
+
return { valid: true };
|
|
126
|
+
}
|
|
127
|
+
return this.startInput.validity.valid && this.endInput.validity.valid ? this.startInput.validity : this.startInput.validity.valid ? this.endInput.validity : this.startInput.validity;
|
|
128
|
+
}
|
|
129
|
+
/** Gets the validation message */
|
|
130
|
+
get validationMessage() {
|
|
131
|
+
if (!this.startInput || !this.endInput) return "";
|
|
132
|
+
return this.startInput.validationMessage || this.endInput.validationMessage;
|
|
133
|
+
}
|
|
134
|
+
connectedCallback() {
|
|
135
|
+
super.connectedCallback();
|
|
136
|
+
this.handleDocumentMouseDown = this.handleDocumentMouseDown.bind(this);
|
|
137
|
+
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
138
|
+
this.handleResize = this.handleResize.bind(this);
|
|
139
|
+
window.addEventListener("resize", this.handleResize);
|
|
140
|
+
this.handleResize();
|
|
141
|
+
}
|
|
142
|
+
disconnectedCallback() {
|
|
143
|
+
super.disconnectedCallback();
|
|
144
|
+
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
145
|
+
window.removeEventListener("resize", this.handleResize);
|
|
146
|
+
}
|
|
147
|
+
handleResize() {
|
|
148
|
+
this.isMobile = window.matchMedia("(max-width: 500px)").matches;
|
|
149
|
+
}
|
|
150
|
+
handleDocumentMouseDown(event) {
|
|
151
|
+
if (this.isMobile) return;
|
|
152
|
+
const path = event.composedPath();
|
|
153
|
+
if (!this.open) return;
|
|
154
|
+
const isInsideInput = this.inputContainer ? path.includes(this.inputContainer) : false;
|
|
155
|
+
if (!isInsideInput) {
|
|
156
|
+
this.open = false;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
/** 检查有效性并触发 sl-invalid 事件(如果无效) */
|
|
160
|
+
checkValidity() {
|
|
161
|
+
if (!this.startInput || !this.endInput) return true;
|
|
162
|
+
return this.startInput.checkValidity() && this.endInput.checkValidity();
|
|
163
|
+
}
|
|
164
|
+
/** 获取表单引用 */
|
|
165
|
+
getForm() {
|
|
166
|
+
return this.formControlController.getForm();
|
|
167
|
+
}
|
|
168
|
+
/** 检查有效性并显示浏览器原生的有效性提示 */
|
|
169
|
+
reportValidity() {
|
|
170
|
+
if (!this.startInput || !this.endInput) return true;
|
|
171
|
+
return this.startInput.reportValidity() && this.endInput.reportValidity();
|
|
172
|
+
}
|
|
173
|
+
/** 设置自定义有效性消息 */
|
|
174
|
+
setCustomValidity(message) {
|
|
175
|
+
if (!this.startInput || !this.endInput) return;
|
|
176
|
+
this.startInput.setCustomValidity(message);
|
|
177
|
+
this.endInput.setCustomValidity(message);
|
|
178
|
+
this.formControlController.updateValidity();
|
|
179
|
+
}
|
|
180
|
+
/** 聚焦到开始日期输入框并打开面板 */
|
|
181
|
+
focus(options) {
|
|
182
|
+
if (this.isMobile) {
|
|
183
|
+
this.activeInput = "start";
|
|
184
|
+
this.open = true;
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
this.startInput.focus(options);
|
|
188
|
+
}
|
|
189
|
+
/** 移除焦点并关闭面板 */
|
|
190
|
+
blur() {
|
|
191
|
+
var _a;
|
|
192
|
+
if (this.isMobile && this.open) return;
|
|
193
|
+
const active = (_a = this.shadowRoot) == null ? void 0 : _a.activeElement;
|
|
194
|
+
if (active && typeof active.blur === "function") {
|
|
195
|
+
active.blur();
|
|
196
|
+
}
|
|
197
|
+
this.open = false;
|
|
198
|
+
}
|
|
199
|
+
updateValueTuple() {
|
|
200
|
+
this.syncingValue = true;
|
|
201
|
+
this.value = [this.startDate, this.endDate];
|
|
202
|
+
}
|
|
203
|
+
parseDateInput(value) {
|
|
204
|
+
const raw = value.trim();
|
|
205
|
+
if (!raw) return null;
|
|
206
|
+
if (this.type === "datetime") {
|
|
207
|
+
if (!/^(\d{4})([-./])(\d{2})\2(\d{2})\s+(\d{2}):(\d{2}):(\d{2})$/.test(raw)) {
|
|
208
|
+
return null;
|
|
209
|
+
}
|
|
210
|
+
} else if (!/^(\d{4})([-./])(\d{2})\2(\d{2})$/.test(raw)) {
|
|
211
|
+
return null;
|
|
212
|
+
}
|
|
213
|
+
const parsed = parseDatetime(raw, this.type);
|
|
214
|
+
if (!parsed) return null;
|
|
215
|
+
if (this.type === "date") {
|
|
216
|
+
parsed.setHours(0, 0, 0, 0);
|
|
217
|
+
}
|
|
218
|
+
return parsed;
|
|
219
|
+
}
|
|
220
|
+
parseLimit(value) {
|
|
221
|
+
const parsed = parseDatetime(String(value), this.type);
|
|
222
|
+
if (!parsed) return null;
|
|
223
|
+
if (this.type === "date") {
|
|
224
|
+
parsed.setHours(0, 0, 0, 0);
|
|
225
|
+
}
|
|
226
|
+
return parsed;
|
|
227
|
+
}
|
|
228
|
+
isWithinMinMax(date) {
|
|
229
|
+
const minDate = this.parseLimit(this.min);
|
|
230
|
+
const maxDate = this.parseLimit(this.max);
|
|
231
|
+
if (minDate && date < minDate) return false;
|
|
232
|
+
if (maxDate && date > maxDate) return false;
|
|
233
|
+
return true;
|
|
234
|
+
}
|
|
235
|
+
isValidCommittedRange(start, end) {
|
|
236
|
+
if (!start && !end) return true;
|
|
237
|
+
if (!start || !end) return false;
|
|
238
|
+
const s = new Date(start);
|
|
239
|
+
const e = new Date(end);
|
|
240
|
+
if (this.type === "date") {
|
|
241
|
+
s.setHours(0, 0, 0, 0);
|
|
242
|
+
e.setHours(0, 0, 0, 0);
|
|
243
|
+
}
|
|
244
|
+
if (!this.isWithinMinMax(s) || !this.isWithinMinMax(e)) return false;
|
|
245
|
+
return s.getTime() <= e.getTime();
|
|
246
|
+
}
|
|
247
|
+
isSameValue(a, b) {
|
|
248
|
+
const [as, ae] = a;
|
|
249
|
+
const [bs, be] = b;
|
|
250
|
+
const asT = as ? as.getTime() : null;
|
|
251
|
+
const aeT = ae ? ae.getTime() : null;
|
|
252
|
+
const bsT = bs ? bs.getTime() : null;
|
|
253
|
+
const beT = be ? be.getTime() : null;
|
|
254
|
+
return asT === bsT && aeT === beT;
|
|
255
|
+
}
|
|
256
|
+
revertToLastValid() {
|
|
257
|
+
const current = [this.startDate, this.endDate];
|
|
258
|
+
if (this.isSameValue(current, this.lastValidValue)) {
|
|
259
|
+
this.applyRange(this.lastValidValue[0], this.lastValidValue[1], true);
|
|
260
|
+
return;
|
|
261
|
+
}
|
|
262
|
+
this.applyRange(this.lastValidValue[0], this.lastValidValue[1], true);
|
|
263
|
+
this.emit("sl-input");
|
|
264
|
+
this.emit("sl-change");
|
|
265
|
+
}
|
|
266
|
+
commitOrRevertInputValue() {
|
|
267
|
+
const startRaw = this.startValue.trim();
|
|
268
|
+
const endRaw = this.endValue.trim();
|
|
269
|
+
const start = startRaw ? this.parseDateInput(startRaw) : null;
|
|
270
|
+
const end = endRaw ? this.parseDateInput(endRaw) : null;
|
|
271
|
+
if (startRaw && !start || endRaw && !end) {
|
|
272
|
+
this.revertToLastValid();
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
if (!this.isValidCommittedRange(start, end)) {
|
|
276
|
+
this.revertToLastValid();
|
|
277
|
+
return;
|
|
278
|
+
}
|
|
279
|
+
this.applyRange(start, end, true);
|
|
280
|
+
this.lastValidValue = [this.startDate, this.endDate];
|
|
281
|
+
}
|
|
282
|
+
applyRange(start, end, updateValue = true) {
|
|
283
|
+
const nextStart = start;
|
|
284
|
+
let nextEnd = end;
|
|
285
|
+
if (nextStart && nextEnd && nextStart > nextEnd) {
|
|
286
|
+
nextEnd = null;
|
|
287
|
+
}
|
|
288
|
+
this.startDate = nextStart;
|
|
289
|
+
this.endDate = nextEnd;
|
|
290
|
+
this.startValue = nextStart ? formatDatetime(nextStart, this.type) : "";
|
|
291
|
+
this.endValue = nextEnd ? formatDatetime(nextEnd, this.type) : "";
|
|
292
|
+
const isVisible = (date) => {
|
|
293
|
+
const month = date.getFullYear() * 12 + date.getMonth();
|
|
294
|
+
const leftMonth = this.leftDate.getFullYear() * 12 + this.leftDate.getMonth();
|
|
295
|
+
const rightMonth = this.rightDate.getFullYear() * 12 + this.rightDate.getMonth();
|
|
296
|
+
return month === leftMonth || month === rightMonth;
|
|
297
|
+
};
|
|
298
|
+
if (nextStart && nextEnd) {
|
|
299
|
+
if (!isVisible(nextStart) || !isVisible(nextEnd)) {
|
|
300
|
+
this.syncCalendarsToValue();
|
|
301
|
+
}
|
|
302
|
+
} else if (nextStart && !isVisible(nextStart)) {
|
|
303
|
+
this.syncCalendarsToValue();
|
|
304
|
+
} else if (nextEnd && !isVisible(nextEnd)) {
|
|
305
|
+
this.syncCalendarsToValue();
|
|
306
|
+
}
|
|
307
|
+
if (updateValue) {
|
|
308
|
+
this.updateValueTuple();
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
syncCalendarsToValue() {
|
|
312
|
+
const nextStart = this.startDate;
|
|
313
|
+
const nextEnd = this.endDate;
|
|
314
|
+
if (nextStart && nextEnd) {
|
|
315
|
+
this.leftDate = new Date(nextStart);
|
|
316
|
+
const startMonth = nextStart.getFullYear() * 12 + nextStart.getMonth();
|
|
317
|
+
const endMonth = nextEnd.getFullYear() * 12 + nextEnd.getMonth();
|
|
318
|
+
if (startMonth === endMonth) {
|
|
319
|
+
this.rightDate = this.addMonths(nextStart, 1, 1);
|
|
320
|
+
} else {
|
|
321
|
+
this.rightDate = new Date(nextEnd);
|
|
322
|
+
}
|
|
323
|
+
} else if (nextStart) {
|
|
324
|
+
this.leftDate = new Date(nextStart);
|
|
325
|
+
this.rightDate = this.addMonths(nextStart, 1, 1);
|
|
326
|
+
} else if (nextEnd) {
|
|
327
|
+
this.rightDate = new Date(nextEnd);
|
|
328
|
+
this.leftDate = this.addMonths(nextEnd, -1, 1);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
async handleOpenChange() {
|
|
332
|
+
this.hasFocusSwitched = false;
|
|
333
|
+
if (this.open) {
|
|
334
|
+
if (this.isMobile) {
|
|
335
|
+
this.mobileOpenSnapshot = [this.startDate, this.endDate];
|
|
336
|
+
this.mobilePickerView = "calendar";
|
|
337
|
+
this.mobileInteracted = false;
|
|
338
|
+
this.pendingDate = null;
|
|
339
|
+
this.pendingSide = null;
|
|
340
|
+
}
|
|
341
|
+
this.enableHoverRange = this.type === "datetime" && !!(this.startDate && this.endDate);
|
|
342
|
+
this.rangeEditTwoStep = !!(this.startDate && this.endDate);
|
|
343
|
+
this.rangeEditFirstSide = null;
|
|
344
|
+
this.rangeEditExpectedSide = null;
|
|
345
|
+
if (this.startDate || this.endDate) {
|
|
346
|
+
this.syncCalendarsToValue();
|
|
347
|
+
if (this.type === "datetime") {
|
|
348
|
+
const targetDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
349
|
+
if (targetDate) {
|
|
350
|
+
this.leftDate = new Date(targetDate);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
} else {
|
|
354
|
+
const today = /* @__PURE__ */ new Date();
|
|
355
|
+
this.leftDate = today;
|
|
356
|
+
this.rightDate = new Date(today.getFullYear(), today.getMonth() + 1, 1);
|
|
357
|
+
}
|
|
358
|
+
await this.updateComplete;
|
|
359
|
+
const calendars = Array.from(this.calendars);
|
|
360
|
+
if (calendars.length === 2) {
|
|
361
|
+
calendars[0].setCurrentDate(this.leftDate);
|
|
362
|
+
calendars[1].setCurrentDate(this.rightDate);
|
|
363
|
+
} else if (calendars.length === 1) {
|
|
364
|
+
const currentDate = this.type === "datetime" ? this.leftDate : this.activeInput === "end" ? this.rightDate : this.leftDate;
|
|
365
|
+
calendars[0].setCurrentDate(currentDate);
|
|
366
|
+
}
|
|
367
|
+
if (this.type === "datetime") {
|
|
368
|
+
calendars.forEach((calendar) => calendar.resetTimeScroll("instant"));
|
|
369
|
+
}
|
|
370
|
+
} else {
|
|
371
|
+
this.rangeEditTwoStep = false;
|
|
372
|
+
this.rangeEditFirstSide = null;
|
|
373
|
+
this.rangeEditExpectedSide = null;
|
|
374
|
+
this.calendarView = "days";
|
|
375
|
+
this.enableHoverRange = false;
|
|
376
|
+
if (!this.isMobile) {
|
|
377
|
+
this.commitOrRevertInputValue();
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
handleValueUpdate() {
|
|
382
|
+
if (this.syncingValue) {
|
|
383
|
+
this.syncingValue = false;
|
|
384
|
+
return;
|
|
385
|
+
}
|
|
386
|
+
const [start, end] = this.value || [null, null];
|
|
387
|
+
if (!this.isValidCommittedRange(start, end)) {
|
|
388
|
+
this.applyRange(null, null, false);
|
|
389
|
+
this.lastValidValue = [null, null];
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
392
|
+
this.applyRange(start != null ? start : null, end != null ? end : null, false);
|
|
393
|
+
this.lastValidValue = [this.startDate, this.endDate];
|
|
394
|
+
}
|
|
395
|
+
handleBlur(event) {
|
|
396
|
+
this.hasFocus = false;
|
|
397
|
+
this.emit("sl-blur");
|
|
398
|
+
if (!this.open) return;
|
|
399
|
+
setTimeout(() => {
|
|
400
|
+
var _a;
|
|
401
|
+
const active = (_a = this.shadowRoot) == null ? void 0 : _a.activeElement;
|
|
402
|
+
const isOnInput = active === this.startInput || active === this.endInput;
|
|
403
|
+
if (!isOnInput) {
|
|
404
|
+
this.open = false;
|
|
405
|
+
}
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
handleFocus(event) {
|
|
409
|
+
if (!this.hasFocusSwitched) {
|
|
410
|
+
this.hasFocusSwitched = true;
|
|
411
|
+
}
|
|
412
|
+
this.hasFocus = true;
|
|
413
|
+
const target = event.target;
|
|
414
|
+
const newActiveInput = target.classList.contains("daterangepicker__control--start") ? "start" : "end";
|
|
415
|
+
const switched = this.activeInput !== newActiveInput;
|
|
416
|
+
this.activeInput = newActiveInput;
|
|
417
|
+
if (this.type === "datetime" && this.startDate && this.endDate) {
|
|
418
|
+
this.enableHoverRange = true;
|
|
419
|
+
}
|
|
420
|
+
if (!this.disabled && !this.readonly) {
|
|
421
|
+
this.open = true;
|
|
422
|
+
}
|
|
423
|
+
if (switched && this.type === "datetime" && this.open) {
|
|
424
|
+
const targetDate = newActiveInput === "end" ? this.endDate : this.startDate;
|
|
425
|
+
if (targetDate) {
|
|
426
|
+
this.leftDate = new Date(targetDate);
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
this.emit("sl-focus");
|
|
430
|
+
}
|
|
431
|
+
isValidFormat(value) {
|
|
432
|
+
if (this.type === "date") {
|
|
433
|
+
return /^\d{4}[-./]\d{2}[-./]\d{2}$/.test(value);
|
|
434
|
+
}
|
|
435
|
+
if (this.type === "datetime") {
|
|
436
|
+
return /^\d{4}[-./]\d{2}[-./]\d{2}\s+\d{2}:\d{2}:\d{2}$/.test(value);
|
|
437
|
+
}
|
|
438
|
+
return true;
|
|
439
|
+
}
|
|
440
|
+
handleInput(event) {
|
|
441
|
+
const target = event.target;
|
|
442
|
+
const selectionSide = target.classList.contains("daterangepicker__control--start") ? "start" : "end";
|
|
443
|
+
if (!this.open) {
|
|
444
|
+
this.open = !this.open;
|
|
445
|
+
}
|
|
446
|
+
if (selectionSide === "start") {
|
|
447
|
+
this.startValue = target.value;
|
|
448
|
+
} else {
|
|
449
|
+
this.endValue = target.value;
|
|
450
|
+
}
|
|
451
|
+
const inputValue = target.value.trim();
|
|
452
|
+
if (inputValue === "" || this.isValidFormat(inputValue)) {
|
|
453
|
+
const parsed = this.parseDateInput(target.value);
|
|
454
|
+
if (selectionSide === "start") {
|
|
455
|
+
this.startDate = parsed;
|
|
456
|
+
} else {
|
|
457
|
+
this.endDate = parsed;
|
|
458
|
+
}
|
|
459
|
+
if (parsed) {
|
|
460
|
+
const isInvalidRange = selectionSide === "start" && this.endDate && parsed > this.endDate || selectionSide === "end" && this.startDate && parsed < this.startDate;
|
|
461
|
+
if (isInvalidRange) {
|
|
462
|
+
this.syncCalendarsToInputDate(parsed, selectionSide);
|
|
463
|
+
} else {
|
|
464
|
+
this.syncCalendarsToValue();
|
|
465
|
+
if (this.type === "datetime") {
|
|
466
|
+
this.leftDate = new Date(parsed);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
this.updateValueTuple();
|
|
471
|
+
}
|
|
472
|
+
this.formControlController.updateValidity();
|
|
473
|
+
this.emit("sl-input");
|
|
474
|
+
}
|
|
475
|
+
handleChange() {
|
|
476
|
+
this.emit("sl-change");
|
|
477
|
+
}
|
|
478
|
+
handleInputKeyDown(event) {
|
|
479
|
+
if (event.key === "Escape" && this.open) {
|
|
480
|
+
event.stopPropagation();
|
|
481
|
+
this.revertToLastValid();
|
|
482
|
+
this.open = false;
|
|
483
|
+
return;
|
|
484
|
+
}
|
|
485
|
+
if (event.key === "Enter") {
|
|
486
|
+
if (event.isComposing) return;
|
|
487
|
+
const target = event.target;
|
|
488
|
+
const selectionSide = target === this.startInput ? "start" : target === this.endInput ? "end" : null;
|
|
489
|
+
if (!selectionSide) return;
|
|
490
|
+
const parsedDate = this.parseDateInput(target.value);
|
|
491
|
+
if (!parsedDate) return;
|
|
492
|
+
this.activeInput = selectionSide;
|
|
493
|
+
event.preventDefault();
|
|
494
|
+
event.stopPropagation();
|
|
495
|
+
const isReverseRange = selectionSide === "start" && this.endDate && parsedDate > this.endDate || selectionSide === "end" && this.startDate && parsedDate < this.startDate;
|
|
496
|
+
if (isReverseRange) {
|
|
497
|
+
if (selectionSide === "start") {
|
|
498
|
+
this.applyRange(parsedDate, null);
|
|
499
|
+
this.activeInput = "end";
|
|
500
|
+
this.endInput.focus();
|
|
501
|
+
} else {
|
|
502
|
+
this.applyRange(null, parsedDate);
|
|
503
|
+
this.activeInput = "start";
|
|
504
|
+
this.startInput.focus();
|
|
505
|
+
}
|
|
506
|
+
this.syncCalendarsToInputDate(parsedDate, selectionSide);
|
|
507
|
+
if (this.type === "datetime") {
|
|
508
|
+
this.enableHoverRange = true;
|
|
509
|
+
}
|
|
510
|
+
this.emit("sl-input");
|
|
511
|
+
return;
|
|
512
|
+
}
|
|
513
|
+
if (this.isDateDisabled(parsedDate)) return;
|
|
514
|
+
this.applySelectedDate(parsedDate);
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
handleInvalid(event) {
|
|
518
|
+
this.formControlController.setValidity(false);
|
|
519
|
+
this.formControlController.emitInvalidEvent(event);
|
|
520
|
+
}
|
|
521
|
+
handleClearClick(event) {
|
|
522
|
+
event.preventDefault();
|
|
523
|
+
event.stopPropagation();
|
|
524
|
+
this.applyRange(null, null);
|
|
525
|
+
this.lastValidValue = [null, null];
|
|
526
|
+
this.open = false;
|
|
527
|
+
this.enableHoverRange = false;
|
|
528
|
+
this.emit("sl-clear");
|
|
529
|
+
this.emit("sl-input");
|
|
530
|
+
this.emit("sl-change");
|
|
531
|
+
}
|
|
532
|
+
handleBaseClick(event) {
|
|
533
|
+
if (this.disabled || this.readonly) return;
|
|
534
|
+
const path = event.composedPath();
|
|
535
|
+
const isInput = path.some((el) => el instanceof HTMLInputElement);
|
|
536
|
+
const isClear = path.some((el) => {
|
|
537
|
+
var _a;
|
|
538
|
+
return (_a = el.classList) == null ? void 0 : _a.contains("daterangepicker__clear");
|
|
539
|
+
});
|
|
540
|
+
if (isClear) return;
|
|
541
|
+
this.open = true;
|
|
542
|
+
if (!isInput) {
|
|
543
|
+
this.startInput.focus();
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* 更新日期范围的通用逻辑
|
|
548
|
+
* @param date 新选中的日期
|
|
549
|
+
* @param side 当前操作的是起点还是终点
|
|
550
|
+
*/
|
|
551
|
+
updateDateRange(date, side) {
|
|
552
|
+
let nextStart = this.startDate;
|
|
553
|
+
let nextEnd = this.endDate;
|
|
554
|
+
let nextActiveInput = side === "start" ? "end" : "start";
|
|
555
|
+
let shouldClose = false;
|
|
556
|
+
if (side === "start") {
|
|
557
|
+
if (nextEnd && date > nextEnd) {
|
|
558
|
+
nextStart = date;
|
|
559
|
+
nextEnd = null;
|
|
560
|
+
nextActiveInput = "end";
|
|
561
|
+
} else {
|
|
562
|
+
nextStart = date;
|
|
563
|
+
if (nextEnd) {
|
|
564
|
+
shouldClose = true;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
} else {
|
|
568
|
+
if (nextStart && date < nextStart) {
|
|
569
|
+
nextStart = null;
|
|
570
|
+
nextEnd = date;
|
|
571
|
+
nextActiveInput = "start";
|
|
572
|
+
} else {
|
|
573
|
+
nextEnd = date;
|
|
574
|
+
if (nextStart) {
|
|
575
|
+
shouldClose = true;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
this.applyRange(nextStart, nextEnd);
|
|
580
|
+
return { nextActiveInput, shouldClose };
|
|
581
|
+
}
|
|
582
|
+
applySelectedDate(selectedDate) {
|
|
583
|
+
const selectionSide = this.activeInput;
|
|
584
|
+
if (this.rangeEditTwoStep) {
|
|
585
|
+
if (!this.rangeEditFirstSide) {
|
|
586
|
+
this.rangeEditFirstSide = selectionSide;
|
|
587
|
+
this.rangeEditExpectedSide = selectionSide === "start" ? "end" : "start";
|
|
588
|
+
const { shouldClose: shouldClose3 } = this.updateDateRange(selectedDate, selectionSide);
|
|
589
|
+
if (shouldClose3 && this.hasFocusSwitched) {
|
|
590
|
+
this.open = false;
|
|
591
|
+
this.enableHoverRange = false;
|
|
592
|
+
this.emit("sl-change");
|
|
593
|
+
this.emit("sl-input");
|
|
594
|
+
return;
|
|
595
|
+
}
|
|
596
|
+
const otherSide = selectionSide === "start" ? "end" : "start";
|
|
597
|
+
this.activeInput = otherSide;
|
|
598
|
+
if (otherSide === "start") {
|
|
599
|
+
this.startInput.focus();
|
|
600
|
+
} else {
|
|
601
|
+
this.endInput.focus();
|
|
602
|
+
}
|
|
603
|
+
if (this.type === "datetime") {
|
|
604
|
+
this.enableHoverRange = true;
|
|
605
|
+
const targetDate = otherSide === "end" ? this.endDate : this.startDate;
|
|
606
|
+
if (targetDate) {
|
|
607
|
+
this.leftDate = new Date(targetDate);
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
this.emit("sl-input");
|
|
611
|
+
return;
|
|
612
|
+
}
|
|
613
|
+
const { shouldClose: shouldClose2 } = this.updateDateRange(selectedDate, selectionSide);
|
|
614
|
+
if (shouldClose2) {
|
|
615
|
+
const isExpectedSide = this.rangeEditExpectedSide && selectionSide === this.rangeEditExpectedSide;
|
|
616
|
+
if (isExpectedSide || this.hasFocusSwitched) {
|
|
617
|
+
this.open = false;
|
|
618
|
+
this.enableHoverRange = false;
|
|
619
|
+
this.emit("sl-change");
|
|
620
|
+
this.emit("sl-input");
|
|
621
|
+
return;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
const nextSide = selectionSide === "start" ? "end" : "start";
|
|
625
|
+
this.activeInput = nextSide;
|
|
626
|
+
if (nextSide === "start") {
|
|
627
|
+
this.startInput.focus();
|
|
628
|
+
} else {
|
|
629
|
+
this.endInput.focus();
|
|
630
|
+
}
|
|
631
|
+
if (this.type === "datetime") {
|
|
632
|
+
const targetDate = nextSide === "end" ? this.endDate : this.startDate;
|
|
633
|
+
if (targetDate) {
|
|
634
|
+
this.leftDate = new Date(targetDate);
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
this.emit("sl-input");
|
|
638
|
+
return;
|
|
639
|
+
}
|
|
640
|
+
if (!this.startDate && !this.endDate) {
|
|
641
|
+
if (selectionSide === "start") {
|
|
642
|
+
this.applyRange(selectedDate, null);
|
|
643
|
+
this.activeInput = "end";
|
|
644
|
+
this.endInput.focus();
|
|
645
|
+
} else {
|
|
646
|
+
this.applyRange(null, selectedDate);
|
|
647
|
+
this.activeInput = "start";
|
|
648
|
+
this.startInput.focus();
|
|
649
|
+
}
|
|
650
|
+
if (this.type === "datetime") {
|
|
651
|
+
this.enableHoverRange = true;
|
|
652
|
+
}
|
|
653
|
+
this.emit("sl-input");
|
|
654
|
+
return;
|
|
655
|
+
}
|
|
656
|
+
const { nextActiveInput, shouldClose } = this.updateDateRange(selectedDate, selectionSide);
|
|
657
|
+
if (shouldClose) {
|
|
658
|
+
this.open = false;
|
|
659
|
+
this.enableHoverRange = false;
|
|
660
|
+
this.emit("sl-change");
|
|
661
|
+
} else {
|
|
662
|
+
this.activeInput = nextActiveInput;
|
|
663
|
+
if (nextActiveInput === "start") {
|
|
664
|
+
this.startInput.focus();
|
|
665
|
+
} else {
|
|
666
|
+
this.endInput.focus();
|
|
667
|
+
}
|
|
668
|
+
if (this.type === "datetime") {
|
|
669
|
+
this.enableHoverRange = true;
|
|
670
|
+
const targetDate = nextActiveInput === "end" ? this.endDate : this.startDate;
|
|
671
|
+
if (targetDate) {
|
|
672
|
+
this.leftDate = new Date(targetDate);
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
this.emit("sl-input");
|
|
677
|
+
}
|
|
678
|
+
handleDateSelect(event) {
|
|
679
|
+
if (this.disabled || this.readonly) return;
|
|
680
|
+
this.applySelectedDate(event.detail.date);
|
|
681
|
+
}
|
|
682
|
+
handleDateChange(event) {
|
|
683
|
+
if (this.disabled || this.readonly) return;
|
|
684
|
+
if (this.type !== "datetime") return;
|
|
685
|
+
const selectedDate = event.detail.date;
|
|
686
|
+
this.updateDateRange(selectedDate, this.activeInput);
|
|
687
|
+
this.leftDate = new Date(selectedDate);
|
|
688
|
+
this.emit("sl-input");
|
|
689
|
+
}
|
|
690
|
+
handleReadonlyChange() {
|
|
691
|
+
if (this.readonly) {
|
|
692
|
+
this.open = false;
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
addMonths(date, delta, day = 1) {
|
|
696
|
+
const d = new Date(date);
|
|
697
|
+
d.setMonth(d.getMonth() + delta, day);
|
|
698
|
+
d.setHours(0, 0, 0, 0);
|
|
699
|
+
return d;
|
|
700
|
+
}
|
|
701
|
+
syncCalendarsToInputDate(date, side = "start") {
|
|
702
|
+
if (this.type === "datetime") {
|
|
703
|
+
this.leftDate = new Date(date);
|
|
704
|
+
this.rightDate = new Date(date);
|
|
705
|
+
return;
|
|
706
|
+
}
|
|
707
|
+
if (side === "end") {
|
|
708
|
+
this.rightDate = new Date(date);
|
|
709
|
+
this.leftDate = this.addMonths(date, -1, 1);
|
|
710
|
+
} else {
|
|
711
|
+
this.leftDate = new Date(date);
|
|
712
|
+
this.rightDate = this.addMonths(date, 1, 1);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
async handleCalendarViewChange(event) {
|
|
716
|
+
const view = event.detail.view;
|
|
717
|
+
const initialCalendars = Array.from(this.calendars);
|
|
718
|
+
const target = event.currentTarget;
|
|
719
|
+
let isLeftTarget = false;
|
|
720
|
+
let isRightTarget = false;
|
|
721
|
+
if (this.type === "datetime") {
|
|
722
|
+
isLeftTarget = true;
|
|
723
|
+
} else if (this.calendarView !== "days") {
|
|
724
|
+
if (this.calendarViewAnchor === "right") {
|
|
725
|
+
isRightTarget = true;
|
|
726
|
+
} else {
|
|
727
|
+
isLeftTarget = true;
|
|
728
|
+
}
|
|
729
|
+
} else {
|
|
730
|
+
const rightCalendar = initialCalendars[1];
|
|
731
|
+
if (rightCalendar && target === rightCalendar) {
|
|
732
|
+
isRightTarget = true;
|
|
733
|
+
} else {
|
|
734
|
+
isLeftTarget = true;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
if (view === "days" || view === "months" || view === "years") {
|
|
738
|
+
this.calendarView = view;
|
|
739
|
+
}
|
|
740
|
+
if (view === "months" || view === "years") {
|
|
741
|
+
this.calendarViewAnchor = isRightTarget ? "right" : "left";
|
|
742
|
+
}
|
|
743
|
+
const newDate = event.detail.date;
|
|
744
|
+
if (!newDate) {
|
|
745
|
+
await this.updateComplete;
|
|
746
|
+
const calendars = Array.from(this.calendars);
|
|
747
|
+
if (view === "months" || view === "years") {
|
|
748
|
+
if (calendars.length > 0) {
|
|
749
|
+
calendars[0].setView(view);
|
|
750
|
+
}
|
|
751
|
+
} else if (view === "days") {
|
|
752
|
+
if (calendars.length > 0) calendars[0].setView("days");
|
|
753
|
+
if (calendars.length > 1) calendars[1].setView("days");
|
|
754
|
+
}
|
|
755
|
+
return;
|
|
756
|
+
}
|
|
757
|
+
if (isLeftTarget) {
|
|
758
|
+
this.leftDate = new Date(newDate);
|
|
759
|
+
const leftMonth = this.leftDate.getFullYear() * 12 + this.leftDate.getMonth();
|
|
760
|
+
const rightMonth = this.rightDate.getFullYear() * 12 + this.rightDate.getMonth();
|
|
761
|
+
if (leftMonth >= rightMonth) {
|
|
762
|
+
this.rightDate = this.addMonths(this.leftDate, 1, 1);
|
|
763
|
+
}
|
|
764
|
+
} else {
|
|
765
|
+
this.rightDate = new Date(newDate);
|
|
766
|
+
const rightMonth = this.rightDate.getFullYear() * 12 + this.rightDate.getMonth();
|
|
767
|
+
const leftDate = this.leftDate;
|
|
768
|
+
const leftMonth = leftDate.getFullYear() * 12 + leftDate.getMonth();
|
|
769
|
+
if (rightMonth <= leftMonth) {
|
|
770
|
+
this.leftDate = this.addMonths(this.rightDate, -1, 1);
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
isDateDisabled(date) {
|
|
775
|
+
const minDate = this.min ? parseDatetime(this.min, this.type) : null;
|
|
776
|
+
const maxDate = this.max ? parseDatetime(this.max, this.type) : null;
|
|
777
|
+
if (minDate && date < minDate || maxDate && date > maxDate) {
|
|
778
|
+
return true;
|
|
779
|
+
}
|
|
780
|
+
if (this.startDate && this.endDate && !this.hasFocusSwitched) {
|
|
781
|
+
return false;
|
|
782
|
+
}
|
|
783
|
+
const normalizeToDay = (d) => {
|
|
784
|
+
const n = new Date(d);
|
|
785
|
+
n.setHours(0, 0, 0, 0);
|
|
786
|
+
return n;
|
|
787
|
+
};
|
|
788
|
+
if (this.activeInput === "start" && this.endDate) {
|
|
789
|
+
return date > normalizeToDay(this.endDate);
|
|
790
|
+
}
|
|
791
|
+
if (this.activeInput === "end" && this.startDate) {
|
|
792
|
+
return date < normalizeToDay(this.startDate);
|
|
793
|
+
}
|
|
794
|
+
return false;
|
|
795
|
+
}
|
|
796
|
+
getCalendarRange() {
|
|
797
|
+
const start = this.startDate;
|
|
798
|
+
const end = this.endDate;
|
|
799
|
+
if (start && end && start.getTime() > end.getTime()) {
|
|
800
|
+
if (this.activeInput === "end") {
|
|
801
|
+
return [null, end];
|
|
802
|
+
}
|
|
803
|
+
return [start, null];
|
|
804
|
+
}
|
|
805
|
+
return [start, end];
|
|
806
|
+
}
|
|
807
|
+
normalizeCalendarDate(date) {
|
|
808
|
+
if (!date) return null;
|
|
809
|
+
const normalized = new Date(date);
|
|
810
|
+
normalized.setHours(0, 0, 0, 0);
|
|
811
|
+
return normalized;
|
|
812
|
+
}
|
|
813
|
+
// ─── Mobile-specific methods ───
|
|
814
|
+
isMobileDateDisabled(date) {
|
|
815
|
+
const minDate = this.min ? parseDatetime(this.min, this.type) : null;
|
|
816
|
+
const maxDate = this.max ? parseDatetime(this.max, this.type) : null;
|
|
817
|
+
if (minDate && date < minDate || maxDate && date > maxDate) return true;
|
|
818
|
+
if (!this.mobileInteracted) return false;
|
|
819
|
+
const normalizeToDay = (d) => {
|
|
820
|
+
const n = new Date(d);
|
|
821
|
+
n.setHours(0, 0, 0, 0);
|
|
822
|
+
return n;
|
|
823
|
+
};
|
|
824
|
+
if (this.activeInput === "start" && this.endDate) {
|
|
825
|
+
return date > normalizeToDay(this.endDate);
|
|
826
|
+
}
|
|
827
|
+
if (this.activeInput === "end" && this.startDate) {
|
|
828
|
+
return date < normalizeToDay(this.startDate);
|
|
829
|
+
}
|
|
830
|
+
return false;
|
|
831
|
+
}
|
|
832
|
+
handleMobileCancel() {
|
|
833
|
+
this.open = false;
|
|
834
|
+
this.pendingDate = null;
|
|
835
|
+
this.pendingSide = null;
|
|
836
|
+
this.applyRange(this.mobileOpenSnapshot[0], this.mobileOpenSnapshot[1]);
|
|
837
|
+
this.lastValidValue = [this.mobileOpenSnapshot[0], this.mobileOpenSnapshot[1]];
|
|
838
|
+
}
|
|
839
|
+
handleMobileClear() {
|
|
840
|
+
this.applyRange(null, null);
|
|
841
|
+
this.lastValidValue = [null, null];
|
|
842
|
+
this.open = false;
|
|
843
|
+
this.emit("sl-clear");
|
|
844
|
+
this.emit("sl-input");
|
|
845
|
+
this.emit("sl-change");
|
|
846
|
+
}
|
|
847
|
+
handleMobileConfirm() {
|
|
848
|
+
this.open = false;
|
|
849
|
+
this.lastValidValue = [this.startDate, this.endDate];
|
|
850
|
+
this.emit("sl-input");
|
|
851
|
+
this.emit("sl-change");
|
|
852
|
+
}
|
|
853
|
+
handleMobileDateSelect(event) {
|
|
854
|
+
if (this.disabled || this.readonly) return;
|
|
855
|
+
this.mobileInteracted = true;
|
|
856
|
+
const selectedDate = event.detail.date;
|
|
857
|
+
if (this.type === "datetime") {
|
|
858
|
+
this.pendingDate = selectedDate;
|
|
859
|
+
this.pendingSide = this.activeInput;
|
|
860
|
+
const existingDate = this.activeInput === "start" ? this.startDate : this.endDate;
|
|
861
|
+
const timeDate = new Date(selectedDate);
|
|
862
|
+
if (existingDate) {
|
|
863
|
+
timeDate.setHours(existingDate.getHours(), existingDate.getMinutes(), existingDate.getSeconds());
|
|
864
|
+
} else {
|
|
865
|
+
timeDate.setHours(0, 0, 0, 0);
|
|
866
|
+
}
|
|
867
|
+
this.wheelDate = timeDate;
|
|
868
|
+
this.mobilePickerView = "time";
|
|
869
|
+
this.updateComplete.then(() => this.scrollToTimeWheelDate());
|
|
870
|
+
return;
|
|
871
|
+
}
|
|
872
|
+
if (this.activeInput === "start") {
|
|
873
|
+
if (this.endDate && selectedDate > this.endDate) {
|
|
874
|
+
this.applyRange(selectedDate, null);
|
|
875
|
+
this.activeInput = "end";
|
|
876
|
+
} else if (!this.endDate) {
|
|
877
|
+
this.applyRange(selectedDate, null);
|
|
878
|
+
this.activeInput = "end";
|
|
879
|
+
} else {
|
|
880
|
+
this.applyRange(selectedDate, this.endDate);
|
|
881
|
+
}
|
|
882
|
+
} else {
|
|
883
|
+
if (this.startDate && selectedDate < this.startDate) {
|
|
884
|
+
this.applyRange(null, selectedDate);
|
|
885
|
+
this.activeInput = "start";
|
|
886
|
+
} else if (!this.startDate) {
|
|
887
|
+
this.applyRange(null, selectedDate);
|
|
888
|
+
this.activeInput = "start";
|
|
889
|
+
} else {
|
|
890
|
+
this.applyRange(this.startDate, selectedDate);
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
this.leftDate = new Date(selectedDate);
|
|
894
|
+
this.emit("sl-input");
|
|
895
|
+
}
|
|
896
|
+
syncMobileCalendarToActive() {
|
|
897
|
+
const targetDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
898
|
+
if (targetDate) {
|
|
899
|
+
this.leftDate = new Date(targetDate);
|
|
900
|
+
this.updateComplete.then(() => {
|
|
901
|
+
var _a;
|
|
902
|
+
const cal = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(
|
|
903
|
+
".daterangepicker-mobile__calendar sl-calendar-picker"
|
|
904
|
+
);
|
|
905
|
+
if (cal) cal.setCurrentDate(this.leftDate);
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
handleMobileFooterClick(side) {
|
|
910
|
+
if (this.activeInput === side) return;
|
|
911
|
+
this.mobileInteracted = true;
|
|
912
|
+
this.activeInput = side;
|
|
913
|
+
this.syncMobileCalendarToActive();
|
|
914
|
+
}
|
|
915
|
+
handleMobileViewChange(event) {
|
|
916
|
+
const view = event.detail.view;
|
|
917
|
+
if (view === "years" || view === "months") {
|
|
918
|
+
event.preventDefault();
|
|
919
|
+
this.mobilePickerView = "wheel";
|
|
920
|
+
let currentDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
921
|
+
if (!currentDate) currentDate = /* @__PURE__ */ new Date();
|
|
922
|
+
this.wheelDate = new Date(currentDate);
|
|
923
|
+
this.wheelDate.setDate(1);
|
|
924
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
925
|
+
const minYear = minDate.getFullYear();
|
|
926
|
+
const yearIndex = this.wheelDate.getFullYear() - minYear;
|
|
927
|
+
if (yearIndex >= 0) {
|
|
928
|
+
this.yearScrollTop = yearIndex * WHEEL_ITEM_HEIGHT;
|
|
929
|
+
}
|
|
930
|
+
this.updateComplete.then(() => this.scrollToWheelDate());
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
scrollToWheelDate() {
|
|
934
|
+
if (this.yearColumn) {
|
|
935
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
936
|
+
const minYear = minDate.getFullYear();
|
|
937
|
+
const yearIndex = this.wheelDate.getFullYear() - minYear;
|
|
938
|
+
if (yearIndex >= 0) {
|
|
939
|
+
const scrollTop = yearIndex * WHEEL_ITEM_HEIGHT;
|
|
940
|
+
this.yearColumn.scrollTop = scrollTop;
|
|
941
|
+
this.yearScrollTop = scrollTop;
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
if (this.monthColumn) {
|
|
945
|
+
const monthIndex = this.wheelDate.getMonth();
|
|
946
|
+
this.monthColumn.scrollTop = (108 + monthIndex) * WHEEL_ITEM_HEIGHT;
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
handleWheelScroll(event, type) {
|
|
950
|
+
const target = event.target;
|
|
951
|
+
const itemHeight = WHEEL_ITEM_HEIGHT;
|
|
952
|
+
const scrollTop = target.scrollTop;
|
|
953
|
+
const index = Math.round(scrollTop / itemHeight);
|
|
954
|
+
if (type === "year") {
|
|
955
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
956
|
+
const minYear = minDate.getFullYear();
|
|
957
|
+
const maxDate = parseDatetime(String(this.max)) || new Date(9999, 11, 31);
|
|
958
|
+
const maxYear = maxDate.getFullYear();
|
|
959
|
+
const year = Math.max(minYear, Math.min(maxYear, minYear + index));
|
|
960
|
+
if (year !== this.wheelDate.getFullYear()) {
|
|
961
|
+
this.wheelDate = new Date(this.wheelDate.setFullYear(year));
|
|
962
|
+
}
|
|
963
|
+
if (Math.abs(scrollTop - this.yearScrollTop) > WHEEL_ITEM_HEIGHT * 2) {
|
|
964
|
+
this.yearScrollTop = scrollTop;
|
|
965
|
+
}
|
|
966
|
+
} else {
|
|
967
|
+
const currentSet = Math.floor(index / 12);
|
|
968
|
+
const centerSet = 9;
|
|
969
|
+
if (Math.abs(currentSet - centerSet) > 5) {
|
|
970
|
+
const relativeMonthIndex = index % 12;
|
|
971
|
+
target.scrollTop = (centerSet * 12 + relativeMonthIndex) * itemHeight;
|
|
972
|
+
}
|
|
973
|
+
const newIndex = Math.round(target.scrollTop / itemHeight);
|
|
974
|
+
const monthIndex = newIndex % 12;
|
|
975
|
+
if (monthIndex !== this.wheelDate.getMonth()) {
|
|
976
|
+
this.wheelDate = new Date(this.wheelDate.setMonth(monthIndex));
|
|
977
|
+
this.requestUpdate();
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
async handleWheelConfirm() {
|
|
982
|
+
var _a;
|
|
983
|
+
const newDate = new Date(this.wheelDate);
|
|
984
|
+
this.mobilePickerView = "calendar";
|
|
985
|
+
await this.updateComplete;
|
|
986
|
+
this.leftDate = newDate;
|
|
987
|
+
const cal = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(
|
|
988
|
+
".daterangepicker-mobile__calendar sl-calendar-picker"
|
|
989
|
+
);
|
|
990
|
+
if (cal) cal.setCurrentDate(newDate);
|
|
991
|
+
}
|
|
992
|
+
handleWheelCancel() {
|
|
993
|
+
this.mobilePickerView = "calendar";
|
|
994
|
+
}
|
|
995
|
+
// ─── Mobile Time Wheel Picker (for type='datetime') ───
|
|
996
|
+
scrollToTimeWheelDate() {
|
|
997
|
+
const itemHeight = WHEEL_ITEM_HEIGHT;
|
|
998
|
+
const centerSet = 9;
|
|
999
|
+
if (this.hourColumn) {
|
|
1000
|
+
this.hourColumn.scrollTop = (centerSet * 24 + this.wheelDate.getHours()) * itemHeight;
|
|
1001
|
+
}
|
|
1002
|
+
if (this.minuteColumn) {
|
|
1003
|
+
this.minuteColumn.scrollTop = (centerSet * 60 + this.wheelDate.getMinutes()) * itemHeight;
|
|
1004
|
+
}
|
|
1005
|
+
if (this.secondColumn) {
|
|
1006
|
+
this.secondColumn.scrollTop = (centerSet * 60 + this.wheelDate.getSeconds()) * itemHeight;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
handleTimeWheelScroll(event, type) {
|
|
1010
|
+
const target = event.target;
|
|
1011
|
+
const itemHeight = WHEEL_ITEM_HEIGHT;
|
|
1012
|
+
const scrollTop = target.scrollTop;
|
|
1013
|
+
const index = Math.round(scrollTop / itemHeight);
|
|
1014
|
+
const range = type === "hour" ? 24 : 60;
|
|
1015
|
+
const centerSet = 9;
|
|
1016
|
+
if (Math.abs(Math.floor(index / range) - centerSet) > 5) {
|
|
1017
|
+
const relativeIndex = index % range;
|
|
1018
|
+
target.scrollTop = (centerSet * range + relativeIndex) * itemHeight;
|
|
1019
|
+
}
|
|
1020
|
+
const newIndex = Math.round(target.scrollTop / itemHeight);
|
|
1021
|
+
const val = newIndex % range;
|
|
1022
|
+
if (type === "hour" && val !== this.wheelDate.getHours()) {
|
|
1023
|
+
this.wheelDate = new Date(this.wheelDate.setHours(val));
|
|
1024
|
+
} else if (type === "minute" && val !== this.wheelDate.getMinutes()) {
|
|
1025
|
+
this.wheelDate = new Date(this.wheelDate.setMinutes(val));
|
|
1026
|
+
} else if (type === "second" && val !== this.wheelDate.getSeconds()) {
|
|
1027
|
+
this.wheelDate = new Date(this.wheelDate.setSeconds(val));
|
|
1028
|
+
}
|
|
1029
|
+
this.requestUpdate();
|
|
1030
|
+
}
|
|
1031
|
+
handleTimeWheelConfirm() {
|
|
1032
|
+
if (!this.pendingDate || !this.pendingSide) return;
|
|
1033
|
+
const finalDate = new Date(this.pendingDate);
|
|
1034
|
+
finalDate.setHours(this.wheelDate.getHours(), this.wheelDate.getMinutes(), this.wheelDate.getSeconds());
|
|
1035
|
+
const side = this.pendingSide;
|
|
1036
|
+
this.pendingDate = null;
|
|
1037
|
+
this.pendingSide = null;
|
|
1038
|
+
this.mobilePickerView = "calendar";
|
|
1039
|
+
if (side === "start") {
|
|
1040
|
+
if (this.endDate && finalDate > this.endDate) {
|
|
1041
|
+
this.applyRange(finalDate, null);
|
|
1042
|
+
this.activeInput = "end";
|
|
1043
|
+
} else if (!this.endDate) {
|
|
1044
|
+
this.applyRange(finalDate, null);
|
|
1045
|
+
this.activeInput = "end";
|
|
1046
|
+
} else {
|
|
1047
|
+
this.applyRange(finalDate, this.endDate);
|
|
1048
|
+
}
|
|
1049
|
+
} else {
|
|
1050
|
+
if (this.startDate && finalDate < this.startDate) {
|
|
1051
|
+
this.applyRange(null, finalDate);
|
|
1052
|
+
this.activeInput = "start";
|
|
1053
|
+
} else if (!this.startDate) {
|
|
1054
|
+
this.applyRange(null, finalDate);
|
|
1055
|
+
this.activeInput = "start";
|
|
1056
|
+
} else {
|
|
1057
|
+
this.applyRange(this.startDate, finalDate);
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
this.emit("sl-input");
|
|
1061
|
+
this.updateComplete.then(() => {
|
|
1062
|
+
this.syncMobileCalendarToActive();
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
padStart(num, length = 2) {
|
|
1066
|
+
return String(num).padStart(length, "0");
|
|
1067
|
+
}
|
|
1068
|
+
renderMobileTimeWheelPicker() {
|
|
1069
|
+
const hours = Array.from({ length: 24 }, (_, i) => i);
|
|
1070
|
+
const minutes = Array.from({ length: 60 }, (_, i) => i);
|
|
1071
|
+
const seconds = Array.from({ length: 60 }, (_, i) => i);
|
|
1072
|
+
const displayHours = Array.from({ length: 19 }, () => hours).flat();
|
|
1073
|
+
const displayMinutes = Array.from({ length: 19 }, () => minutes).flat();
|
|
1074
|
+
const displaySeconds = Array.from({ length: 19 }, () => seconds).flat();
|
|
1075
|
+
const currentHour = this.wheelDate.getHours();
|
|
1076
|
+
const currentMinute = this.wheelDate.getMinutes();
|
|
1077
|
+
const currentSecond = this.wheelDate.getSeconds();
|
|
1078
|
+
return html`
|
|
1079
|
+
<div class="daterangepicker-mobile__wheel-picker">
|
|
1080
|
+
<div class="daterangepicker-mobile__wheel-header flex-justify-end">
|
|
1081
|
+
<sl-button variant="text" @click=${this.handleTimeWheelConfirm}>${LOCALE.confirmText}</sl-button>
|
|
1082
|
+
</div>
|
|
1083
|
+
<div class="daterangepicker-mobile__wheel-labels">
|
|
1084
|
+
<div>${LOCALE.hour}</div>
|
|
1085
|
+
<div>${LOCALE.minute}</div>
|
|
1086
|
+
<div>${LOCALE.second}</div>
|
|
1087
|
+
</div>
|
|
1088
|
+
<div class="daterangepicker-mobile__wheel-body">
|
|
1089
|
+
<div class="daterangepicker-mobile__wheel-translate-top"></div>
|
|
1090
|
+
<div class="daterangepicker-mobile__wheel-highlight"></div>
|
|
1091
|
+
<div class="daterangepicker-mobile__wheel-translate-bottom"></div>
|
|
1092
|
+
|
|
1093
|
+
<div
|
|
1094
|
+
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--hour"
|
|
1095
|
+
@scroll=${(e) => this.handleTimeWheelScroll(e, "hour")}
|
|
1096
|
+
>
|
|
1097
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1098
|
+
${displayHours.map(
|
|
1099
|
+
(h, index) => html`
|
|
1100
|
+
<div
|
|
1101
|
+
class="daterangepicker-mobile__wheel-item ${classMap({
|
|
1102
|
+
"daterangepicker-mobile__wheel-item--selected": index % 24 === currentHour
|
|
1103
|
+
})}"
|
|
1104
|
+
>
|
|
1105
|
+
${this.padStart(h)}
|
|
1106
|
+
</div>
|
|
1107
|
+
`
|
|
1108
|
+
)}
|
|
1109
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1110
|
+
</div>
|
|
1111
|
+
|
|
1112
|
+
<div
|
|
1113
|
+
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--minute"
|
|
1114
|
+
@scroll=${(e) => this.handleTimeWheelScroll(e, "minute")}
|
|
1115
|
+
>
|
|
1116
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1117
|
+
${displayMinutes.map(
|
|
1118
|
+
(m, index) => html`
|
|
1119
|
+
<div
|
|
1120
|
+
class="daterangepicker-mobile__wheel-item ${classMap({
|
|
1121
|
+
"daterangepicker-mobile__wheel-item--selected": index % 60 === currentMinute
|
|
1122
|
+
})}"
|
|
1123
|
+
>
|
|
1124
|
+
${this.padStart(m)}
|
|
1125
|
+
</div>
|
|
1126
|
+
`
|
|
1127
|
+
)}
|
|
1128
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1129
|
+
</div>
|
|
1130
|
+
|
|
1131
|
+
<div
|
|
1132
|
+
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--second"
|
|
1133
|
+
@scroll=${(e) => this.handleTimeWheelScroll(e, "second")}
|
|
1134
|
+
>
|
|
1135
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1136
|
+
${displaySeconds.map(
|
|
1137
|
+
(s, index) => html`
|
|
1138
|
+
<div
|
|
1139
|
+
class="daterangepicker-mobile__wheel-item ${classMap({
|
|
1140
|
+
"daterangepicker-mobile__wheel-item--selected": index % 60 === currentSecond
|
|
1141
|
+
})}"
|
|
1142
|
+
>
|
|
1143
|
+
${this.padStart(s)}
|
|
1144
|
+
</div>
|
|
1145
|
+
`
|
|
1146
|
+
)}
|
|
1147
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1148
|
+
</div>
|
|
1149
|
+
</div>
|
|
1150
|
+
</div>
|
|
1151
|
+
`;
|
|
1152
|
+
}
|
|
1153
|
+
renderMobileCalendarContent(displayStartDate, displayEndDate) {
|
|
1154
|
+
return html`
|
|
1155
|
+
${this.renderMobileHeader()}
|
|
1156
|
+
<div class="daterangepicker-mobile__calendar">
|
|
1157
|
+
<sl-calendar-picker
|
|
1158
|
+
.value=${""}
|
|
1159
|
+
type="date"
|
|
1160
|
+
mode="range"
|
|
1161
|
+
.startDate=${displayStartDate}
|
|
1162
|
+
.endDate=${displayEndDate}
|
|
1163
|
+
.activeInput=${this.activeInput}
|
|
1164
|
+
.min=${ifDefined(this.min)}
|
|
1165
|
+
.max=${ifDefined(this.max)}
|
|
1166
|
+
.currentDate=${this.leftDate}
|
|
1167
|
+
.syncViewWithValue=${false}
|
|
1168
|
+
.disabledDate=${(date) => this.isMobileDateDisabled(date)}
|
|
1169
|
+
@sl-date-select=${this.handleMobileDateSelect}
|
|
1170
|
+
@sl-view-change=${this.handleMobileViewChange}
|
|
1171
|
+
@click=${(event) => event.stopPropagation()}
|
|
1172
|
+
></sl-calendar-picker>
|
|
1173
|
+
</div>
|
|
1174
|
+
${this.renderMobileFooter()}
|
|
1175
|
+
`;
|
|
1176
|
+
}
|
|
1177
|
+
renderMobileHeader() {
|
|
1178
|
+
const hasAnyValue = !!(this.startDate || this.endDate);
|
|
1179
|
+
const isConfirmDisabled = !(this.startDate && this.endDate);
|
|
1180
|
+
return html`
|
|
1181
|
+
<div class="daterangepicker-mobile__header">
|
|
1182
|
+
<div class="daterangepicker-mobile__header-left">
|
|
1183
|
+
<sl-button variant="text" @click=${this.handleMobileCancel}>${LOCALE.cancelText}</sl-button>
|
|
1184
|
+
<sl-button variant="text" @click=${this.handleMobileClear} ?disabled=${!hasAnyValue}
|
|
1185
|
+
>${LOCALE.clearText}</sl-button
|
|
1186
|
+
>
|
|
1187
|
+
</div>
|
|
1188
|
+
<sl-button
|
|
1189
|
+
class="daterangepicker-mobile__confirm-btn"
|
|
1190
|
+
variant="text"
|
|
1191
|
+
@click=${this.handleMobileConfirm}
|
|
1192
|
+
?disabled=${isConfirmDisabled}
|
|
1193
|
+
>${LOCALE.confirmText}</sl-button
|
|
1194
|
+
>
|
|
1195
|
+
</div>
|
|
1196
|
+
`;
|
|
1197
|
+
}
|
|
1198
|
+
renderMobileFooter() {
|
|
1199
|
+
const displayType = this.type === "datetime" ? "datetime" : "date";
|
|
1200
|
+
const startText = this.startDate ? formatDatetime(this.startDate, displayType) : this.startPlaceholder;
|
|
1201
|
+
const endText = this.endDate ? formatDatetime(this.endDate, displayType) : this.endPlaceholder;
|
|
1202
|
+
return html`
|
|
1203
|
+
<div class="daterangepicker-mobile__footer">
|
|
1204
|
+
<div
|
|
1205
|
+
class=${classMap({
|
|
1206
|
+
"daterangepicker-mobile__footer-item": true,
|
|
1207
|
+
"daterangepicker-mobile__footer-item--active": this.activeInput === "start",
|
|
1208
|
+
"daterangepicker-mobile__footer-item--empty": !this.startDate
|
|
1209
|
+
})}
|
|
1210
|
+
@click=${() => this.handleMobileFooterClick("start")}
|
|
1211
|
+
>
|
|
1212
|
+
${startText}
|
|
1213
|
+
</div>
|
|
1214
|
+
<span class="daterangepicker-mobile__footer-separator">~</span>
|
|
1215
|
+
<div
|
|
1216
|
+
class=${classMap({
|
|
1217
|
+
"daterangepicker-mobile__footer-item": true,
|
|
1218
|
+
"daterangepicker-mobile__footer-item--active": this.activeInput === "end",
|
|
1219
|
+
"daterangepicker-mobile__footer-item--empty": !this.endDate
|
|
1220
|
+
})}
|
|
1221
|
+
@click=${() => this.handleMobileFooterClick("end")}
|
|
1222
|
+
>
|
|
1223
|
+
${endText}
|
|
1224
|
+
</div>
|
|
1225
|
+
</div>
|
|
1226
|
+
`;
|
|
1227
|
+
}
|
|
1228
|
+
renderMobileWheelPicker() {
|
|
1229
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
1230
|
+
const maxDate = parseDatetime(String(this.max)) || new Date(9999, 11, 31);
|
|
1231
|
+
const minYear = minDate.getFullYear();
|
|
1232
|
+
const maxYear = maxDate.getFullYear();
|
|
1233
|
+
const totalYears = maxYear - minYear + 1;
|
|
1234
|
+
const itemHeight = WHEEL_ITEM_HEIGHT;
|
|
1235
|
+
const buffer = 50;
|
|
1236
|
+
const scrollTop = this.yearScrollTop;
|
|
1237
|
+
const startIndex = Math.max(0, Math.floor(scrollTop / itemHeight) - buffer);
|
|
1238
|
+
const endIndex = Math.min(totalYears, Math.ceil((scrollTop + 500) / itemHeight) + buffer);
|
|
1239
|
+
const visibleYears = [];
|
|
1240
|
+
for (let i = startIndex; i < endIndex; i++) {
|
|
1241
|
+
visibleYears.push({ year: minYear + i });
|
|
1242
|
+
}
|
|
1243
|
+
const months = Array.from({ length: 12 }, (_, i) => i + 1);
|
|
1244
|
+
const displayMonths = Array(19).fill(months).flat();
|
|
1245
|
+
const currentYear = this.wheelDate.getFullYear();
|
|
1246
|
+
const currentMonth = this.wheelDate.getMonth() + 1;
|
|
1247
|
+
return html`
|
|
1248
|
+
<div class="daterangepicker-mobile__wheel-picker">
|
|
1249
|
+
<div class="daterangepicker-mobile__wheel-header">
|
|
1250
|
+
<sl-button variant="text" @click=${this.handleWheelCancel}>${LOCALE.cancelText}</sl-button>
|
|
1251
|
+
<sl-button variant="text" @click=${this.handleWheelConfirm}>${LOCALE.confirmText}</sl-button>
|
|
1252
|
+
</div>
|
|
1253
|
+
<div class="daterangepicker-mobile__wheel-current">
|
|
1254
|
+
${currentYear}${LOCALE.year} ${currentMonth}${LOCALE.month}
|
|
1255
|
+
</div>
|
|
1256
|
+
<div class="daterangepicker-mobile__wheel-labels">
|
|
1257
|
+
<div>${LOCALE.year}</div>
|
|
1258
|
+
<div>${LOCALE.month}</div>
|
|
1259
|
+
</div>
|
|
1260
|
+
<div class="daterangepicker-mobile__wheel-body">
|
|
1261
|
+
<div class="daterangepicker-mobile__wheel-translate-top"></div>
|
|
1262
|
+
<div class="daterangepicker-mobile__wheel-highlight"></div>
|
|
1263
|
+
<div class="daterangepicker-mobile__wheel-translate-bottom"></div>
|
|
1264
|
+
<div
|
|
1265
|
+
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--year"
|
|
1266
|
+
@scroll=${(e) => this.handleWheelScroll(e, "year")}
|
|
1267
|
+
>
|
|
1268
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1269
|
+
<div style="height: ${startIndex * itemHeight}px; flex-shrink: 0;"></div>
|
|
1270
|
+
${visibleYears.map(
|
|
1271
|
+
(item) => html`
|
|
1272
|
+
<div
|
|
1273
|
+
class="daterangepicker-mobile__wheel-item ${classMap({
|
|
1274
|
+
"daterangepicker-mobile__wheel-item--selected": item.year === currentYear
|
|
1275
|
+
})}"
|
|
1276
|
+
>
|
|
1277
|
+
${item.year}
|
|
1278
|
+
</div>
|
|
1279
|
+
`
|
|
1280
|
+
)}
|
|
1281
|
+
<div style="height: ${(totalYears - endIndex) * itemHeight}px; flex-shrink: 0;"></div>
|
|
1282
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1283
|
+
</div>
|
|
1284
|
+
<div
|
|
1285
|
+
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--month"
|
|
1286
|
+
@scroll=${(e) => this.handleWheelScroll(e, "month")}
|
|
1287
|
+
>
|
|
1288
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1289
|
+
${displayMonths.map(
|
|
1290
|
+
(month, index) => html`
|
|
1291
|
+
<div
|
|
1292
|
+
class="daterangepicker-mobile__wheel-item ${classMap({
|
|
1293
|
+
"daterangepicker-mobile__wheel-item--selected": index % 12 + 1 === currentMonth
|
|
1294
|
+
})}"
|
|
1295
|
+
>
|
|
1296
|
+
${month}
|
|
1297
|
+
</div>
|
|
1298
|
+
`
|
|
1299
|
+
)}
|
|
1300
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1301
|
+
</div>
|
|
1302
|
+
</div>
|
|
1303
|
+
</div>
|
|
1304
|
+
`;
|
|
1305
|
+
}
|
|
1306
|
+
renderMobile() {
|
|
1307
|
+
const hasLabel = this.label ? true : !!this.hasSlotController.test("label");
|
|
1308
|
+
const hasHelpText = this.helpText ? true : !!this.hasSlotController.test("help-text");
|
|
1309
|
+
const [calendarStartDate, calendarEndDate] = this.getCalendarRange();
|
|
1310
|
+
const displayStartDate = this.normalizeCalendarDate(calendarStartDate);
|
|
1311
|
+
const displayEndDate = this.normalizeCalendarDate(calendarEndDate);
|
|
1312
|
+
return html`
|
|
1313
|
+
<div
|
|
1314
|
+
part="form-control"
|
|
1315
|
+
class=${classMap({
|
|
1316
|
+
"form-control": true,
|
|
1317
|
+
"form-control--small": this.size === "small",
|
|
1318
|
+
"form-control--medium": this.size === "medium",
|
|
1319
|
+
"form-control--large": this.size === "large",
|
|
1320
|
+
"form-control--has-label": hasLabel,
|
|
1321
|
+
"form-control--has-help-text": hasHelpText
|
|
1322
|
+
})}
|
|
1323
|
+
>
|
|
1324
|
+
<label
|
|
1325
|
+
part="form-control-label"
|
|
1326
|
+
class="form-control__label"
|
|
1327
|
+
for="start-input"
|
|
1328
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
1329
|
+
>
|
|
1330
|
+
<slot name="label">${this.label}</slot>
|
|
1331
|
+
</label>
|
|
1332
|
+
|
|
1333
|
+
<div part="form-control-input" class="form-control__input">
|
|
1334
|
+
<div
|
|
1335
|
+
slot="anchor"
|
|
1336
|
+
part="base"
|
|
1337
|
+
class=${classMap({
|
|
1338
|
+
daterangepicker: true,
|
|
1339
|
+
"daterangepicker--standard": !this.filled,
|
|
1340
|
+
"daterangepicker--filled": this.filled,
|
|
1341
|
+
"daterangepicker--pill": this.pill,
|
|
1342
|
+
"daterangepicker--disabled": this.disabled,
|
|
1343
|
+
"daterangepicker--focused": this.open,
|
|
1344
|
+
"daterangepicker--empty": !this.startValue && !this.endValue,
|
|
1345
|
+
"daterangepicker--small": this.size === "small",
|
|
1346
|
+
"daterangepicker--medium": this.size === "medium",
|
|
1347
|
+
"daterangepicker--large": this.size === "large"
|
|
1348
|
+
})}
|
|
1349
|
+
@click=${() => {
|
|
1350
|
+
if (!this.disabled && !this.readonly) {
|
|
1351
|
+
this.activeInput = "start";
|
|
1352
|
+
this.open = true;
|
|
1353
|
+
}
|
|
1354
|
+
}}
|
|
1355
|
+
>
|
|
1356
|
+
<span class="daterangepicker__control-wrapper">
|
|
1357
|
+
<span
|
|
1358
|
+
class="daterangepicker__control daterangepicker__control--start"
|
|
1359
|
+
style="color: ${this.startValue ? "var(--sl-input-color)" : "var(--sl-input-placeholder-color)"}"
|
|
1360
|
+
>${this.startValue || this.startPlaceholder}</span
|
|
1361
|
+
>
|
|
1362
|
+
</span>
|
|
1363
|
+
|
|
1364
|
+
<span part="separator" class="daterangepicker__separator">~</span>
|
|
1365
|
+
|
|
1366
|
+
<span class="daterangepicker__control-wrapper">
|
|
1367
|
+
<span
|
|
1368
|
+
class="daterangepicker__control daterangepicker__control--end"
|
|
1369
|
+
style="color: ${this.endValue ? "var(--sl-input-color)" : "var(--sl-input-placeholder-color)"}"
|
|
1370
|
+
>${this.endValue || this.endPlaceholder}</span
|
|
1371
|
+
>
|
|
1372
|
+
</span>
|
|
1373
|
+
|
|
1374
|
+
<div part="suffix" class="daterangepicker__suffix">
|
|
1375
|
+
<slot name="suffix">
|
|
1376
|
+
<sl-icon name="calendar4"></sl-icon>
|
|
1377
|
+
</slot>
|
|
1378
|
+
</div>
|
|
1379
|
+
</div>
|
|
1380
|
+
|
|
1381
|
+
<sl-drawer
|
|
1382
|
+
class="daterangepicker-mobile__drawer"
|
|
1383
|
+
placement="bottom"
|
|
1384
|
+
?open=${this.open}
|
|
1385
|
+
no-header
|
|
1386
|
+
@sl-request-close=${(event) => {
|
|
1387
|
+
if (event.detail.source === "overlay" || event.detail.source === "keyboard") {
|
|
1388
|
+
event.preventDefault();
|
|
1389
|
+
this.handleMobileCancel();
|
|
1390
|
+
}
|
|
1391
|
+
}}
|
|
1392
|
+
>
|
|
1393
|
+
${this.renderMobileCalendarContent(displayStartDate, displayEndDate)}
|
|
1394
|
+
${this.mobilePickerView === "wheel" ? this.renderMobileWheelPicker() : this.mobilePickerView === "time" ? this.renderMobileTimeWheelPicker() : null}
|
|
1395
|
+
</sl-drawer>
|
|
1396
|
+
</div>
|
|
1397
|
+
|
|
1398
|
+
<div
|
|
1399
|
+
part="form-control-help-text"
|
|
1400
|
+
class="form-control__help-text"
|
|
1401
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
1402
|
+
>
|
|
1403
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
1404
|
+
</div>
|
|
1405
|
+
</div>
|
|
1406
|
+
`;
|
|
1407
|
+
}
|
|
1408
|
+
render() {
|
|
1409
|
+
if (this.isMobile) {
|
|
1410
|
+
return this.renderMobile();
|
|
1411
|
+
}
|
|
1412
|
+
const hasLabel = this.label ? true : !!this.hasSlotController.test("label");
|
|
1413
|
+
const hasHelpText = this.helpText ? true : !!this.hasSlotController.test("help-text");
|
|
1414
|
+
const isClearable = this.clearable && (this.startValue || this.endValue) && !this.disabled && !this.readonly && (this.hasFocus || this.isHovered);
|
|
1415
|
+
const showDualCalendars = this.calendarView === "days" && this.type !== "datetime";
|
|
1416
|
+
const singleCalendarIsRight = !showDualCalendars && this.calendarViewAnchor === "right";
|
|
1417
|
+
const [calendarStartDate, calendarEndDate] = this.getCalendarRange();
|
|
1418
|
+
const displayStartDate = this.type === "datetime" ? this.normalizeCalendarDate(calendarStartDate) : calendarStartDate;
|
|
1419
|
+
const displayEndDate = this.type === "datetime" ? this.normalizeCalendarDate(calendarEndDate) : calendarEndDate;
|
|
1420
|
+
const effectiveHoverDate = this.type === "datetime" ? this.enableHoverRange ? this.normalizeCalendarDate(this.hoverDate) : null : this.hoverDate;
|
|
1421
|
+
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;
|
|
1422
|
+
return html`
|
|
1423
|
+
<div
|
|
1424
|
+
part="form-control"
|
|
1425
|
+
class=${classMap({
|
|
1426
|
+
"form-control": true,
|
|
1427
|
+
"form-control--small": this.size === "small",
|
|
1428
|
+
"form-control--medium": this.size === "medium",
|
|
1429
|
+
"form-control--large": this.size === "large",
|
|
1430
|
+
"form-control--has-label": hasLabel,
|
|
1431
|
+
"form-control--has-help-text": hasHelpText
|
|
1432
|
+
})}
|
|
1433
|
+
>
|
|
1434
|
+
<label
|
|
1435
|
+
part="form-control-label"
|
|
1436
|
+
class="form-control__label"
|
|
1437
|
+
for="start-input"
|
|
1438
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
1439
|
+
>
|
|
1440
|
+
<slot name="label">${this.label}</slot>
|
|
1441
|
+
</label>
|
|
1442
|
+
|
|
1443
|
+
<div part="form-control-input" class="form-control__input">
|
|
1444
|
+
<sl-popup
|
|
1445
|
+
part="popup"
|
|
1446
|
+
class="daterangepicker__popup"
|
|
1447
|
+
exportparts="popup"
|
|
1448
|
+
?active=${this.open}
|
|
1449
|
+
placement="bottom-start"
|
|
1450
|
+
strategy="fixed"
|
|
1451
|
+
flip
|
|
1452
|
+
shift
|
|
1453
|
+
auto-size="vertical"
|
|
1454
|
+
auto-size-padding="10"
|
|
1455
|
+
>
|
|
1456
|
+
<div
|
|
1457
|
+
slot="anchor"
|
|
1458
|
+
part="base"
|
|
1459
|
+
class=${classMap({
|
|
1460
|
+
daterangepicker: true,
|
|
1461
|
+
"daterangepicker--standard": !this.filled,
|
|
1462
|
+
"daterangepicker--filled": this.filled,
|
|
1463
|
+
"daterangepicker--pill": this.pill,
|
|
1464
|
+
"daterangepicker--disabled": this.disabled,
|
|
1465
|
+
"daterangepicker--focused": this.hasFocus,
|
|
1466
|
+
"daterangepicker--empty": !this.startValue && !this.endValue,
|
|
1467
|
+
"daterangepicker--small": this.size === "small",
|
|
1468
|
+
"daterangepicker--medium": this.size === "medium",
|
|
1469
|
+
"daterangepicker--large": this.size === "large"
|
|
1470
|
+
})}
|
|
1471
|
+
@click=${this.handleBaseClick}
|
|
1472
|
+
@mouseenter=${() => this.isHovered = true}
|
|
1473
|
+
@mouseleave=${() => this.isHovered = false}
|
|
1474
|
+
>
|
|
1475
|
+
<span
|
|
1476
|
+
class=${classMap({
|
|
1477
|
+
"daterangepicker__control-wrapper": true,
|
|
1478
|
+
"daterangepicker__control-wrapper--active": this.activeInput === "start" && this.open
|
|
1479
|
+
})}
|
|
1480
|
+
>
|
|
1481
|
+
<input
|
|
1482
|
+
id="start-input"
|
|
1483
|
+
part="start-input"
|
|
1484
|
+
class=${classMap({
|
|
1485
|
+
daterangepicker__control: true,
|
|
1486
|
+
"daterangepicker__control--start": true
|
|
1487
|
+
})}
|
|
1488
|
+
type="text"
|
|
1489
|
+
title=${this.startValue}
|
|
1490
|
+
name=${ifDefined(this.name ? `${this.name}-start` : void 0)}
|
|
1491
|
+
.value=${live(this.startValue)}
|
|
1492
|
+
placeholder=${this.startPlaceholder}
|
|
1493
|
+
?disabled=${this.disabled}
|
|
1494
|
+
?readonly=${this.readonly}
|
|
1495
|
+
?required=${this.required}
|
|
1496
|
+
autocomplete="off"
|
|
1497
|
+
@input=${this.handleInput}
|
|
1498
|
+
@change=${this.handleChange}
|
|
1499
|
+
@keydown=${this.handleInputKeyDown}
|
|
1500
|
+
@focus=${this.handleFocus}
|
|
1501
|
+
@blur=${this.handleBlur}
|
|
1502
|
+
@invalid=${this.handleInvalid}
|
|
1503
|
+
/>
|
|
1504
|
+
</span>
|
|
1505
|
+
|
|
1506
|
+
<span part="separator" class="daterangepicker__separator">~</span>
|
|
1507
|
+
|
|
1508
|
+
<span
|
|
1509
|
+
class=${classMap({
|
|
1510
|
+
"daterangepicker__control-wrapper": true,
|
|
1511
|
+
"daterangepicker__control-wrapper--active": this.activeInput === "end" && this.open
|
|
1512
|
+
})}
|
|
1513
|
+
>
|
|
1514
|
+
<input
|
|
1515
|
+
id="end-input"
|
|
1516
|
+
part="end-input"
|
|
1517
|
+
class=${classMap({
|
|
1518
|
+
daterangepicker__control: true,
|
|
1519
|
+
"daterangepicker__control--end": true
|
|
1520
|
+
})}
|
|
1521
|
+
type="text"
|
|
1522
|
+
title=${this.endValue}
|
|
1523
|
+
name=${ifDefined(this.name ? `${this.name}-end` : void 0)}
|
|
1524
|
+
.value=${live(this.endValue)}
|
|
1525
|
+
placeholder=${this.endPlaceholder}
|
|
1526
|
+
?disabled=${this.disabled}
|
|
1527
|
+
?readonly=${this.readonly}
|
|
1528
|
+
?required=${this.required}
|
|
1529
|
+
autocomplete="off"
|
|
1530
|
+
@input=${this.handleInput}
|
|
1531
|
+
@change=${this.handleChange}
|
|
1532
|
+
@keydown=${this.handleInputKeyDown}
|
|
1533
|
+
@focus=${this.handleFocus}
|
|
1534
|
+
@blur=${this.handleBlur}
|
|
1535
|
+
@invalid=${this.handleInvalid}
|
|
1536
|
+
/>
|
|
1537
|
+
</span>
|
|
1538
|
+
|
|
1539
|
+
<span
|
|
1540
|
+
part="clear-button"
|
|
1541
|
+
class=${classMap({
|
|
1542
|
+
daterangepicker__clear: true,
|
|
1543
|
+
"daterangepicker__clear--hidden": !isClearable
|
|
1544
|
+
})}
|
|
1545
|
+
@click=${this.handleClearClick}
|
|
1546
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
1547
|
+
>
|
|
1548
|
+
<sl-icon name="x-lg" library="system"></sl-icon>
|
|
1549
|
+
</span>
|
|
1550
|
+
|
|
1551
|
+
<div part="suffix" class="daterangepicker__suffix" ?hidden=${isClearable}>
|
|
1552
|
+
<slot name="suffix">
|
|
1553
|
+
<sl-icon name="calendar4"></sl-icon>
|
|
1554
|
+
</slot>
|
|
1555
|
+
</div>
|
|
1556
|
+
</div>
|
|
1557
|
+
|
|
1558
|
+
<div
|
|
1559
|
+
part="calendars"
|
|
1560
|
+
class=${classMap({
|
|
1561
|
+
daterangepicker__calendars: true,
|
|
1562
|
+
"daterangepicker__calendars--single": !showDualCalendars
|
|
1563
|
+
})}
|
|
1564
|
+
@mousedown=${(e) => e.preventDefault()}
|
|
1565
|
+
@mouseleave=${() => this.hoverDate = null}
|
|
1566
|
+
>
|
|
1567
|
+
<sl-calendar-picker
|
|
1568
|
+
exportparts="
|
|
1569
|
+
base:calendar-base,
|
|
1570
|
+
header:calendar-header,
|
|
1571
|
+
nav-button:calendar-nav-button,
|
|
1572
|
+
title:calendar-title,
|
|
1573
|
+
title-year:calendar-title-year,
|
|
1574
|
+
title-month:calendar-title-month,
|
|
1575
|
+
body:calendar-body,
|
|
1576
|
+
date-panel:calendar-date-panel,
|
|
1577
|
+
day-header:calendar-day-header,
|
|
1578
|
+
day:calendar-day,
|
|
1579
|
+
day-footer:calendar-day-footer,
|
|
1580
|
+
month-grid:calendar-month-grid,
|
|
1581
|
+
month-item:calendar-month-item,
|
|
1582
|
+
year-grid:calendar-year-grid,
|
|
1583
|
+
year-item:calendar-year-item,
|
|
1584
|
+
time-footer:calendar-time-footer,
|
|
1585
|
+
time-panel-base:calendar-time-base,
|
|
1586
|
+
time-panel-header:calendar-time-header,
|
|
1587
|
+
time-panel-columns:calendar-time-columns,
|
|
1588
|
+
time-panel-column:calendar-time-column,
|
|
1589
|
+
time-panel-item:calendar-time-item
|
|
1590
|
+
"
|
|
1591
|
+
.value=${calendarValue}
|
|
1592
|
+
type=${this.type}
|
|
1593
|
+
mode="range"
|
|
1594
|
+
.startDate=${displayStartDate}
|
|
1595
|
+
.endDate=${displayEndDate}
|
|
1596
|
+
.hoverDate=${effectiveHoverDate}
|
|
1597
|
+
.activeInput=${this.activeInput}
|
|
1598
|
+
.min=${ifDefined(this.min)}
|
|
1599
|
+
.max=${ifDefined(this.max)}
|
|
1600
|
+
.currentDate=${this.type === "datetime" ? this.leftDate : singleCalendarIsRight ? this.rightDate : this.leftDate}
|
|
1601
|
+
.syncViewWithValue=${false}
|
|
1602
|
+
.disabledDate=${(date) => this.isDateDisabled(date)}
|
|
1603
|
+
@sl-date-select=${this.handleDateSelect}
|
|
1604
|
+
@sl-date-change=${this.handleDateChange}
|
|
1605
|
+
@sl-view-change=${this.handleCalendarViewChange}
|
|
1606
|
+
@sl-date-hover=${(e) => this.hoverDate = e.detail.date}
|
|
1607
|
+
></sl-calendar-picker>
|
|
1608
|
+
${showDualCalendars ? html`
|
|
1609
|
+
<sl-calendar-picker
|
|
1610
|
+
exportparts="
|
|
1611
|
+
base:calendar-base,
|
|
1612
|
+
header:calendar-header,
|
|
1613
|
+
nav-button:calendar-nav-button,
|
|
1614
|
+
title:calendar-title,
|
|
1615
|
+
title-year:calendar-title-year,
|
|
1616
|
+
title-month:calendar-title-month,
|
|
1617
|
+
body:calendar-body,
|
|
1618
|
+
date-panel:calendar-date-panel,
|
|
1619
|
+
day-header:calendar-day-header,
|
|
1620
|
+
day:calendar-day,
|
|
1621
|
+
day-footer:calendar-day-footer,
|
|
1622
|
+
month-grid:calendar-month-grid,
|
|
1623
|
+
month-item:calendar-month-item,
|
|
1624
|
+
year-grid:calendar-year-grid,
|
|
1625
|
+
year-item:calendar-year-item,
|
|
1626
|
+
time-footer:calendar-time-footer,
|
|
1627
|
+
time-panel-base:calendar-time-base,
|
|
1628
|
+
time-panel-header:calendar-time-header,
|
|
1629
|
+
time-panel-columns:calendar-time-columns,
|
|
1630
|
+
time-panel-column:calendar-time-column,
|
|
1631
|
+
time-panel-item:calendar-time-item
|
|
1632
|
+
"
|
|
1633
|
+
.value=${this.endValue}
|
|
1634
|
+
type=${this.type}
|
|
1635
|
+
mode="range"
|
|
1636
|
+
.startDate=${displayStartDate}
|
|
1637
|
+
.endDate=${displayEndDate}
|
|
1638
|
+
.hoverDate=${effectiveHoverDate}
|
|
1639
|
+
.activeInput=${this.activeInput}
|
|
1640
|
+
.min=${ifDefined(this.min)}
|
|
1641
|
+
.max=${ifDefined(this.max)}
|
|
1642
|
+
.currentDate=${this.rightDate}
|
|
1643
|
+
.syncViewWithValue=${false}
|
|
1644
|
+
.disabledDate=${(date) => this.isDateDisabled(date)}
|
|
1645
|
+
@sl-date-select=${this.handleDateSelect}
|
|
1646
|
+
@sl-date-change=${this.handleDateChange}
|
|
1647
|
+
@sl-view-change=${this.handleCalendarViewChange}
|
|
1648
|
+
@sl-date-hover=${(e) => this.hoverDate = e.detail.date}
|
|
1649
|
+
></sl-calendar-picker>
|
|
1650
|
+
` : null}
|
|
1651
|
+
</div>
|
|
1652
|
+
</sl-popup>
|
|
1653
|
+
</div>
|
|
1654
|
+
|
|
1655
|
+
<div
|
|
1656
|
+
part="form-control-help-text"
|
|
1657
|
+
class="form-control__help-text"
|
|
1658
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
1659
|
+
>
|
|
1660
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
1661
|
+
</div>
|
|
1662
|
+
</div>
|
|
1663
|
+
`;
|
|
1664
|
+
}
|
|
1665
|
+
};
|
|
1666
|
+
SlDaterangepicker.styles = [component_styles_default, form_control_styles_default, daterangepicker_styles_default];
|
|
1667
|
+
SlDaterangepicker.dependencies = {
|
|
1668
|
+
"sl-icon": SlIcon,
|
|
1669
|
+
"sl-popup": SlPopup,
|
|
1670
|
+
"sl-calendar-picker": SlCalendarPicker,
|
|
1671
|
+
"sl-drawer": SlDrawer,
|
|
1672
|
+
"sl-button": SlButton
|
|
1673
|
+
};
|
|
1674
|
+
__decorateClass([
|
|
1675
|
+
query(".daterangepicker__control--start")
|
|
1676
|
+
], SlDaterangepicker.prototype, "startInput", 2);
|
|
1677
|
+
__decorateClass([
|
|
1678
|
+
query(".daterangepicker__control--end")
|
|
1679
|
+
], SlDaterangepicker.prototype, "endInput", 2);
|
|
1680
|
+
__decorateClass([
|
|
1681
|
+
query("sl-popup")
|
|
1682
|
+
], SlDaterangepicker.prototype, "popup", 2);
|
|
1683
|
+
__decorateClass([
|
|
1684
|
+
query(".form-control__input")
|
|
1685
|
+
], SlDaterangepicker.prototype, "inputContainer", 2);
|
|
1686
|
+
__decorateClass([
|
|
1687
|
+
queryAll("sl-calendar-picker")
|
|
1688
|
+
], SlDaterangepicker.prototype, "calendars", 2);
|
|
1689
|
+
__decorateClass([
|
|
1690
|
+
state()
|
|
1691
|
+
], SlDaterangepicker.prototype, "hasFocus", 2);
|
|
1692
|
+
__decorateClass([
|
|
1693
|
+
state()
|
|
1694
|
+
], SlDaterangepicker.prototype, "isHovered", 2);
|
|
1695
|
+
__decorateClass([
|
|
1696
|
+
state()
|
|
1697
|
+
], SlDaterangepicker.prototype, "open", 2);
|
|
1698
|
+
__decorateClass([
|
|
1699
|
+
state()
|
|
1700
|
+
], SlDaterangepicker.prototype, "activeInput", 2);
|
|
1701
|
+
__decorateClass([
|
|
1702
|
+
state()
|
|
1703
|
+
], SlDaterangepicker.prototype, "leftDate", 2);
|
|
1704
|
+
__decorateClass([
|
|
1705
|
+
state()
|
|
1706
|
+
], SlDaterangepicker.prototype, "rightDate", 2);
|
|
1707
|
+
__decorateClass([
|
|
1708
|
+
state()
|
|
1709
|
+
], SlDaterangepicker.prototype, "startValue", 2);
|
|
1710
|
+
__decorateClass([
|
|
1711
|
+
state()
|
|
1712
|
+
], SlDaterangepicker.prototype, "endValue", 2);
|
|
1713
|
+
__decorateClass([
|
|
1714
|
+
state()
|
|
1715
|
+
], SlDaterangepicker.prototype, "calendarView", 2);
|
|
1716
|
+
__decorateClass([
|
|
1717
|
+
state()
|
|
1718
|
+
], SlDaterangepicker.prototype, "calendarViewAnchor", 2);
|
|
1719
|
+
__decorateClass([
|
|
1720
|
+
state()
|
|
1721
|
+
], SlDaterangepicker.prototype, "syncingValue", 2);
|
|
1722
|
+
__decorateClass([
|
|
1723
|
+
state()
|
|
1724
|
+
], SlDaterangepicker.prototype, "hoverDate", 2);
|
|
1725
|
+
__decorateClass([
|
|
1726
|
+
state()
|
|
1727
|
+
], SlDaterangepicker.prototype, "enableHoverRange", 2);
|
|
1728
|
+
__decorateClass([
|
|
1729
|
+
state()
|
|
1730
|
+
], SlDaterangepicker.prototype, "rangeEditTwoStep", 2);
|
|
1731
|
+
__decorateClass([
|
|
1732
|
+
state()
|
|
1733
|
+
], SlDaterangepicker.prototype, "rangeEditFirstSide", 2);
|
|
1734
|
+
__decorateClass([
|
|
1735
|
+
state()
|
|
1736
|
+
], SlDaterangepicker.prototype, "rangeEditExpectedSide", 2);
|
|
1737
|
+
__decorateClass([
|
|
1738
|
+
state()
|
|
1739
|
+
], SlDaterangepicker.prototype, "hasFocusSwitched", 2);
|
|
1740
|
+
__decorateClass([
|
|
1741
|
+
state()
|
|
1742
|
+
], SlDaterangepicker.prototype, "isMobile", 2);
|
|
1743
|
+
__decorateClass([
|
|
1744
|
+
state()
|
|
1745
|
+
], SlDaterangepicker.prototype, "mobilePickerView", 2);
|
|
1746
|
+
__decorateClass([
|
|
1747
|
+
state()
|
|
1748
|
+
], SlDaterangepicker.prototype, "wheelDate", 2);
|
|
1749
|
+
__decorateClass([
|
|
1750
|
+
state()
|
|
1751
|
+
], SlDaterangepicker.prototype, "yearScrollTop", 2);
|
|
1752
|
+
__decorateClass([
|
|
1753
|
+
state()
|
|
1754
|
+
], SlDaterangepicker.prototype, "pendingDate", 2);
|
|
1755
|
+
__decorateClass([
|
|
1756
|
+
state()
|
|
1757
|
+
], SlDaterangepicker.prototype, "pendingSide", 2);
|
|
1758
|
+
__decorateClass([
|
|
1759
|
+
query(".daterangepicker-mobile__wheel-column--year")
|
|
1760
|
+
], SlDaterangepicker.prototype, "yearColumn", 2);
|
|
1761
|
+
__decorateClass([
|
|
1762
|
+
query(".daterangepicker-mobile__wheel-column--month")
|
|
1763
|
+
], SlDaterangepicker.prototype, "monthColumn", 2);
|
|
1764
|
+
__decorateClass([
|
|
1765
|
+
query(".daterangepicker-mobile__wheel-column--hour")
|
|
1766
|
+
], SlDaterangepicker.prototype, "hourColumn", 2);
|
|
1767
|
+
__decorateClass([
|
|
1768
|
+
query(".daterangepicker-mobile__wheel-column--minute")
|
|
1769
|
+
], SlDaterangepicker.prototype, "minuteColumn", 2);
|
|
1770
|
+
__decorateClass([
|
|
1771
|
+
query(".daterangepicker-mobile__wheel-column--second")
|
|
1772
|
+
], SlDaterangepicker.prototype, "secondColumn", 2);
|
|
1773
|
+
__decorateClass([
|
|
1774
|
+
property()
|
|
1775
|
+
], SlDaterangepicker.prototype, "name", 2);
|
|
1776
|
+
__decorateClass([
|
|
1777
|
+
property({
|
|
1778
|
+
reflect: true,
|
|
1779
|
+
converter: {
|
|
1780
|
+
fromAttribute: (raw) => {
|
|
1781
|
+
const str = (raw || "").trim();
|
|
1782
|
+
if (!str) return [null, null];
|
|
1783
|
+
const parts = str.split("~").map((p) => p.trim());
|
|
1784
|
+
const startStr = parts[0] || "";
|
|
1785
|
+
const endStr = parts[1] || "";
|
|
1786
|
+
const start = startStr ? parseDatetime(startStr) : null;
|
|
1787
|
+
const end = endStr ? parseDatetime(endStr) : null;
|
|
1788
|
+
return [start, end];
|
|
1789
|
+
},
|
|
1790
|
+
toAttribute: (val) => {
|
|
1791
|
+
const [start, end] = val || [null, null];
|
|
1792
|
+
if (start && end) {
|
|
1793
|
+
return `${formatRangeValue(start)} ~ ${formatRangeValue(end)}`;
|
|
1794
|
+
}
|
|
1795
|
+
return "";
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
})
|
|
1799
|
+
], SlDaterangepicker.prototype, "value", 2);
|
|
1800
|
+
__decorateClass([
|
|
1801
|
+
defaultValue()
|
|
1802
|
+
], SlDaterangepicker.prototype, "defaultValue", 2);
|
|
1803
|
+
__decorateClass([
|
|
1804
|
+
property({ reflect: true })
|
|
1805
|
+
], SlDaterangepicker.prototype, "size", 2);
|
|
1806
|
+
__decorateClass([
|
|
1807
|
+
property({ type: Boolean, reflect: true })
|
|
1808
|
+
], SlDaterangepicker.prototype, "filled", 2);
|
|
1809
|
+
__decorateClass([
|
|
1810
|
+
property({ type: Boolean, reflect: true })
|
|
1811
|
+
], SlDaterangepicker.prototype, "pill", 2);
|
|
1812
|
+
__decorateClass([
|
|
1813
|
+
property()
|
|
1814
|
+
], SlDaterangepicker.prototype, "label", 2);
|
|
1815
|
+
__decorateClass([
|
|
1816
|
+
property({ attribute: "help-text" })
|
|
1817
|
+
], SlDaterangepicker.prototype, "helpText", 2);
|
|
1818
|
+
__decorateClass([
|
|
1819
|
+
property({ type: Boolean })
|
|
1820
|
+
], SlDaterangepicker.prototype, "clearable", 2);
|
|
1821
|
+
__decorateClass([
|
|
1822
|
+
property({ type: Boolean, reflect: true })
|
|
1823
|
+
], SlDaterangepicker.prototype, "disabled", 2);
|
|
1824
|
+
__decorateClass([
|
|
1825
|
+
property({
|
|
1826
|
+
converter: {
|
|
1827
|
+
fromAttribute: (raw) => {
|
|
1828
|
+
var _a, _b, _c, _d;
|
|
1829
|
+
if (!raw) return ["\u5F00\u59CB\u65E5\u671F", "\u7ED3\u675F\u65E5\u671F"];
|
|
1830
|
+
const parts = raw.split(",");
|
|
1831
|
+
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"];
|
|
1832
|
+
},
|
|
1833
|
+
toAttribute: (val) => {
|
|
1834
|
+
return `${val[0]},${val[1]}`;
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
})
|
|
1838
|
+
], SlDaterangepicker.prototype, "placeholder", 2);
|
|
1839
|
+
__decorateClass([
|
|
1840
|
+
property({ type: Boolean, reflect: true })
|
|
1841
|
+
], SlDaterangepicker.prototype, "readonly", 2);
|
|
1842
|
+
__decorateClass([
|
|
1843
|
+
property({ type: Boolean, reflect: true })
|
|
1844
|
+
], SlDaterangepicker.prototype, "required", 2);
|
|
1845
|
+
__decorateClass([
|
|
1846
|
+
property({ attribute: false })
|
|
1847
|
+
], SlDaterangepicker.prototype, "startDate", 2);
|
|
1848
|
+
__decorateClass([
|
|
1849
|
+
property({ attribute: false })
|
|
1850
|
+
], SlDaterangepicker.prototype, "endDate", 2);
|
|
1851
|
+
__decorateClass([
|
|
1852
|
+
property({ reflect: true })
|
|
1853
|
+
], SlDaterangepicker.prototype, "type", 2);
|
|
1854
|
+
__decorateClass([
|
|
1855
|
+
property()
|
|
1856
|
+
], SlDaterangepicker.prototype, "min", 2);
|
|
1857
|
+
__decorateClass([
|
|
1858
|
+
property()
|
|
1859
|
+
], SlDaterangepicker.prototype, "max", 2);
|
|
1860
|
+
__decorateClass([
|
|
1861
|
+
property()
|
|
1862
|
+
], SlDaterangepicker.prototype, "format", 2);
|
|
1863
|
+
__decorateClass([
|
|
1864
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
1865
|
+
], SlDaterangepicker.prototype, "handleOpenChange", 1);
|
|
1866
|
+
__decorateClass([
|
|
1867
|
+
watch("value")
|
|
1868
|
+
], SlDaterangepicker.prototype, "handleValueUpdate", 1);
|
|
1869
|
+
__decorateClass([
|
|
1870
|
+
watch("readonly", { waitUntilFirstUpdate: true })
|
|
1871
|
+
], SlDaterangepicker.prototype, "handleReadonlyChange", 1);
|
|
1872
|
+
|
|
1873
|
+
export {
|
|
1874
|
+
SlDaterangepicker
|
|
1875
|
+
};
|