@kdcloudjs/shoelace 1.0.32 → 1.0.33
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.22KG5G7F.js +25 -0
- package/cdn/chunks/chunk.26HQHZX3.js +49 -0
- package/cdn/chunks/chunk.27DB5UTC.js +11 -0
- package/cdn/chunks/chunk.27PCYRLY.js +25 -0
- package/cdn/chunks/chunk.2IPDSWCS.js +21 -0
- package/cdn/chunks/chunk.2JCOY3UH.js +11 -0
- package/cdn/chunks/chunk.2N6KVZPR.js +191 -0
- package/cdn/chunks/chunk.2NNREQEI.js +118 -0
- package/cdn/chunks/chunk.2RAGVZ3Y.js +233 -0
- package/cdn/chunks/chunk.2VG3PIKE.js +11 -0
- package/cdn/chunks/chunk.33JQCAGK.js +21 -0
- package/cdn/chunks/chunk.3CF2DOQX.js +11 -0
- package/cdn/chunks/chunk.3L4RSE2N.js +11 -0
- package/cdn/chunks/chunk.3MEGJYSD.js +21 -0
- package/cdn/chunks/chunk.3PTBYMIT.js +11 -0
- package/cdn/chunks/chunk.42WI34DF.js +177 -0
- package/cdn/chunks/chunk.462STL6C.js +11 -0
- package/cdn/chunks/chunk.4AFXRZTU.js +28 -0
- package/cdn/chunks/chunk.4WIZ5Z6M.js +27 -0
- package/cdn/chunks/chunk.4WZH7TQR.js +11 -0
- package/cdn/chunks/chunk.4YYE7I7A.js +21 -0
- package/cdn/chunks/chunk.5342A7LT.js +95 -0
- package/cdn/chunks/chunk.5KWQC4U5.js +60 -0
- package/cdn/chunks/chunk.5LIKOJ2I.js +21 -0
- package/cdn/chunks/chunk.5PGGYLDB.js +11 -0
- package/cdn/chunks/chunk.5T2ASTKI.js +11 -0
- package/cdn/chunks/chunk.5UOP4ZUU.js +11 -0
- package/cdn/chunks/chunk.5WQ37ROK.js +24 -0
- package/cdn/chunks/chunk.66SZSF5N.js +29 -0
- package/cdn/chunks/chunk.6EQK5Q7V.js +11 -0
- package/cdn/chunks/chunk.6IGWXYWY.js +21 -0
- package/cdn/chunks/chunk.6KRA3HN2.js +724 -0
- package/cdn/chunks/chunk.6L5FUGSO.js +11 -0
- package/cdn/chunks/chunk.6Q6SD4GJ.js +67 -0
- package/cdn/chunks/chunk.6R6DTYXE.js +215 -0
- package/cdn/chunks/chunk.6RVVD74K.js +24 -0
- package/cdn/chunks/chunk.72ADMTZR.js +93 -0
- package/cdn/chunks/chunk.75PZUAJC.js +26 -0
- package/cdn/chunks/chunk.76NFK7SY.js +291 -0
- package/cdn/chunks/chunk.76R5NT2M.js +11 -0
- package/cdn/chunks/chunk.7AO4YXBV.js +510 -0
- package/cdn/chunks/chunk.7EFQJKVV.js +11 -0
- package/cdn/chunks/chunk.7MJNSYIL.js +127 -0
- package/cdn/chunks/chunk.7MZIHBIK.js +26 -0
- package/cdn/chunks/chunk.7N73IX6K.js +11 -0
- package/cdn/chunks/chunk.7NDHWX2H.js +186 -0
- package/cdn/chunks/chunk.7UOJ775Q.js +82 -0
- package/cdn/chunks/chunk.7YU4QCOL.js +49 -0
- package/cdn/chunks/chunk.A33DWYTZ.js +28 -0
- package/cdn/chunks/chunk.A6PU3AYG.js +126 -0
- package/cdn/chunks/chunk.AAFP2WIY.js +87 -0
- package/cdn/chunks/chunk.ABDVSZC6.js +21 -0
- package/cdn/chunks/chunk.ACPGVWVS.js +25 -0
- package/cdn/chunks/chunk.AO6M3HAA.js +27 -0
- package/cdn/chunks/chunk.ARANZ27E.js +11 -0
- package/cdn/chunks/chunk.ARKKA6AW.js +455 -0
- package/cdn/chunks/chunk.AX4DHJCZ.js +219 -0
- package/cdn/chunks/chunk.AXLIN347.js +24 -0
- package/cdn/chunks/chunk.B5FKX76R.js +114 -0
- package/cdn/chunks/chunk.BDGEHWKA.js +255 -0
- package/cdn/chunks/chunk.BDP33JTY.js +341 -0
- package/cdn/chunks/chunk.BJTV64DV.js +11 -0
- package/cdn/chunks/chunk.BMBUL5EH.js +11 -0
- package/cdn/chunks/chunk.BQ7IYIFL.js +11 -0
- package/cdn/chunks/chunk.BRNEJO7A.js +11 -0
- package/cdn/chunks/chunk.BRRWMXZ3.js +54 -0
- package/cdn/chunks/chunk.BWS63DRB.js +197 -0
- package/cdn/chunks/chunk.BZZJE6AN.js +122 -0
- package/cdn/chunks/chunk.C2JQPNIO.js +1255 -0
- package/cdn/chunks/chunk.C6M44XE2.js +11 -0
- package/cdn/chunks/chunk.CHYAY6ZU.js +27 -0
- package/cdn/chunks/chunk.CL5R2FL3.js +330 -0
- package/cdn/chunks/chunk.CR37L5BL.js +75 -0
- package/cdn/chunks/chunk.CRPA5HL6.js +367 -0
- package/cdn/chunks/chunk.DDUQREOY.js +161 -0
- package/cdn/chunks/chunk.DKCNMYPN.js +279 -0
- package/cdn/chunks/chunk.E5JSE5EV.js +158 -0
- package/cdn/chunks/chunk.E7OMJCKE.js +271 -0
- package/cdn/chunks/chunk.EAWK4QBZ.js +352 -0
- package/cdn/chunks/chunk.EBI5QFJZ.js +236 -0
- package/cdn/chunks/chunk.ECLRUA7P.js +379 -0
- package/cdn/chunks/chunk.EGG6PXN7.js +21 -0
- package/cdn/chunks/chunk.EHEYN67W.js +21 -0
- package/cdn/chunks/chunk.EJL3QJI2.js +24 -0
- package/cdn/chunks/chunk.ELEX4LGQ.js +11 -0
- package/cdn/chunks/chunk.ELG4KXE3.js +11 -0
- package/cdn/chunks/chunk.EM7OGXVM.js +11 -0
- package/cdn/chunks/chunk.EV2YIXAA.js +21 -0
- package/cdn/chunks/chunk.EWFFZFSX.js +11 -0
- package/cdn/chunks/chunk.EXWUHZ75.js +48 -0
- package/cdn/chunks/chunk.FB3YLASA.js +29 -0
- package/cdn/chunks/chunk.FGD46NHV.js +11 -0
- package/cdn/chunks/chunk.FNTGQNEY.js +71 -0
- package/cdn/chunks/chunk.FOWKALFX.js +77 -0
- package/cdn/chunks/chunk.FRZC6XTO.js +24 -0
- package/cdn/chunks/chunk.FT3O5MJA.js +336 -0
- package/cdn/chunks/chunk.FUJPHP7L.js +11 -0
- package/cdn/chunks/chunk.FVIKYSLE.js +11 -0
- package/cdn/chunks/chunk.FXHJSX6I.js +33 -0
- package/cdn/chunks/chunk.G7KLPGGG.js +154 -0
- package/cdn/chunks/chunk.GADGZHSR.js +299 -0
- package/cdn/chunks/chunk.GCW2KQXL.js +586 -0
- package/cdn/chunks/chunk.GLJLURW6.js +21 -0
- package/cdn/chunks/chunk.GNVZ4WAS.js +24 -0
- package/cdn/chunks/chunk.GO4OA3LN.js +21 -0
- package/cdn/chunks/chunk.GPBOXCHN.js +313 -0
- package/cdn/chunks/chunk.GSS7XT7G.js +24 -0
- package/cdn/chunks/chunk.GT5IU5UR.js +11 -0
- package/cdn/chunks/chunk.HDYIVWK4.js +21 -0
- package/cdn/chunks/chunk.HEE54DHX.js +1152 -0
- package/cdn/chunks/chunk.HILNJMRB.js +21 -0
- package/cdn/chunks/chunk.HIYJ36MY.js +25 -0
- package/cdn/chunks/chunk.HMLJ6KTH.js +11 -0
- package/cdn/chunks/chunk.HN2OZ4QV.js +11 -0
- package/cdn/chunks/chunk.HUV4KVZ6.js +11 -0
- package/cdn/chunks/chunk.I6DYACAF.js +25 -0
- package/cdn/chunks/chunk.IDA367RW.js +36 -0
- package/cdn/chunks/chunk.IGGSKRQD.js +11 -0
- package/cdn/chunks/chunk.IH2SNQPL.js +11 -0
- package/cdn/chunks/chunk.ILJF4JDI.js +450 -0
- package/cdn/chunks/chunk.IT5HRKSZ.js +11 -0
- package/cdn/chunks/chunk.IVCVVJRD.js +302 -0
- package/cdn/chunks/chunk.IXW33HOL.js +11 -0
- package/cdn/chunks/chunk.IYUYBHD7.js +21 -0
- package/cdn/chunks/chunk.J34DXD2S.js +11 -0
- package/cdn/chunks/chunk.J3GRKNHS.js +25 -0
- package/cdn/chunks/chunk.JA2PR442.js +11 -0
- package/cdn/chunks/chunk.JD572DFT.js +120 -0
- package/cdn/chunks/chunk.JE5JDQQU.js +21 -0
- package/cdn/chunks/chunk.JE5UUZ3E.js +29 -0
- package/cdn/chunks/chunk.JKWGZSA7.js +21 -0
- package/cdn/chunks/chunk.JQU6ZUBI.js +236 -0
- package/cdn/chunks/chunk.K3EPJWYR.js +11 -0
- package/cdn/chunks/chunk.K42WXA3F.js +11 -0
- package/cdn/chunks/chunk.KMSOL4F4.js +21 -0
- package/cdn/chunks/chunk.KSKOZVMI.js +587 -0
- package/cdn/chunks/chunk.KT5YWNTL.js +11 -0
- package/cdn/chunks/chunk.KYERHBUO.js +11 -0
- package/cdn/chunks/chunk.LBSFAPU5.js +134 -0
- package/cdn/chunks/chunk.LCUG75O6.js +29 -0
- package/cdn/chunks/chunk.LDAVYI7H.js +24 -0
- package/cdn/chunks/chunk.LDHXECM2.js +11 -0
- package/cdn/chunks/chunk.LH2LHCGU.js +11 -0
- package/cdn/chunks/chunk.LIHDMTPH.js +526 -0
- package/cdn/chunks/chunk.LIOIGBL7.js +25 -0
- package/cdn/chunks/chunk.LL6VPH7B.js +11 -0
- package/cdn/chunks/chunk.LPL3RB4M.js +21 -0
- package/cdn/chunks/chunk.LQOZKFMU.js +63 -0
- package/cdn/chunks/chunk.M4GFSFNJ.js +11 -0
- package/cdn/chunks/chunk.MDYNMRM5.js +21 -0
- package/cdn/chunks/chunk.MGNWFLYU.js +27 -0
- package/cdn/chunks/chunk.MHCBWZV5.js +24 -0
- package/cdn/chunks/chunk.MKC3SMNJ.js +21 -0
- package/cdn/chunks/chunk.MKJSPQO6.js +21 -0
- package/cdn/chunks/chunk.MSW74D6M.js +21 -0
- package/cdn/chunks/chunk.MTWLQWLA.js +391 -0
- package/cdn/chunks/chunk.MVEF2H5W.js +110 -0
- package/cdn/chunks/chunk.N6CD3ACN.js +135 -0
- package/cdn/chunks/chunk.N6JGBT3O.js +11 -0
- package/cdn/chunks/chunk.N7G6UA3W.js +26 -0
- package/cdn/chunks/chunk.NFM2W57U.js +11 -0
- package/cdn/chunks/chunk.NKCE3L4L.js +11 -0
- package/cdn/chunks/chunk.NM3XEYD7.js +73 -0
- package/cdn/chunks/chunk.NOC5H2JX.js +21 -0
- package/cdn/chunks/chunk.NT6UIYQK.js +28 -0
- package/cdn/chunks/chunk.NTQ2X5OY.js +26 -0
- package/cdn/chunks/chunk.NUZBGJ5Q.js +24 -0
- package/cdn/chunks/chunk.OBS4VXY4.js +11 -0
- package/cdn/chunks/chunk.OCXW5XRP.js +822 -0
- package/cdn/chunks/chunk.OHI7VSIZ.js +331 -0
- package/cdn/chunks/chunk.OO4ID6GF.js +11 -0
- package/cdn/chunks/chunk.OVP4HPNM.js +246 -0
- package/cdn/chunks/chunk.OZOMGJTW.js +27 -0
- package/cdn/chunks/chunk.P6MNJLAP.js +21 -0
- package/cdn/chunks/chunk.PAFLVM4Z.js +28 -0
- package/cdn/chunks/chunk.PESLHSO4.js +11 -0
- package/cdn/chunks/chunk.PFOHMQMB.js +25 -0
- package/cdn/chunks/chunk.PODD37PM.js +11 -0
- package/cdn/chunks/chunk.PQAYNRGB.js +24 -0
- package/cdn/chunks/chunk.PR6NUNB6.js +25 -0
- package/cdn/chunks/chunk.PS4GC3FU.js +21 -0
- package/cdn/chunks/chunk.PUOSC5DX.js +24 -0
- package/cdn/chunks/chunk.PYQJTRWD.js +153 -0
- package/cdn/chunks/chunk.Q3NV2FWP.js +11 -0
- package/cdn/chunks/chunk.Q6DFLKQU.js +11 -0
- package/cdn/chunks/chunk.Q7JT2PLO.js +7407 -0
- package/cdn/chunks/chunk.Q7OLF4II.js +27 -0
- package/cdn/chunks/chunk.QLAFK3BN.js +70 -0
- package/cdn/chunks/chunk.QNDJ3SEC.js +314 -0
- package/cdn/chunks/chunk.QP5WLLXK.js +11 -0
- package/cdn/chunks/chunk.QQ5VW3SR.js +29 -0
- package/cdn/chunks/chunk.QUGKTMDN.js +42 -0
- package/cdn/chunks/chunk.R4JU5Z6I.js +24 -0
- package/cdn/chunks/chunk.R55VTRWN.js +11 -0
- package/cdn/chunks/chunk.RGR3SHLO.js +305 -0
- package/cdn/chunks/chunk.RGYAJBNE.js +89 -0
- package/cdn/chunks/chunk.RNKQCRRE.js +175 -0
- package/cdn/chunks/chunk.RTBMLVJF.js +199 -0
- package/cdn/chunks/chunk.RTFMKRWG.js +11 -0
- package/cdn/chunks/chunk.RU7PGKB2.js +91 -0
- package/cdn/chunks/chunk.RV7DGHDO.js +137 -0
- package/cdn/chunks/chunk.RXTYO4YI.js +354 -0
- package/cdn/chunks/chunk.S7MFOANY.js +79 -0
- package/cdn/chunks/chunk.SBLBLEH7.js +25 -0
- package/cdn/chunks/chunk.SGNNE45D.js +21 -0
- package/cdn/chunks/chunk.SIR6AOLQ.js +11 -0
- package/cdn/chunks/chunk.SK27UC3I.js +5845 -0
- package/cdn/chunks/chunk.STQZJJDU.js +11 -0
- package/cdn/chunks/chunk.T5S27FEA.js +11 -0
- package/cdn/chunks/chunk.TFNPH7CS.js +103 -0
- package/cdn/chunks/chunk.TOPP2RY5.js +158 -0
- package/cdn/chunks/chunk.TORXWAJP.js +24 -0
- package/cdn/chunks/chunk.TV226OGS.js +11 -0
- package/cdn/chunks/chunk.U2GNSQEH.js +11 -0
- package/cdn/chunks/chunk.U3BLSIEX.js +24 -0
- package/cdn/chunks/chunk.UIQS2NAK.js +11 -0
- package/cdn/chunks/chunk.UOS3AKQE.js +113 -0
- package/cdn/chunks/chunk.UVWJEGE4.js +29 -0
- package/cdn/chunks/chunk.V372BF3K.js +11 -0
- package/cdn/chunks/chunk.V3LN7VML.js +11 -0
- package/cdn/chunks/chunk.V4RHLGE2.js +142 -0
- package/cdn/chunks/chunk.V552VJHI.js +133 -0
- package/cdn/chunks/chunk.V6YUCC7H.js +1990 -0
- package/cdn/chunks/chunk.VAVM73TX.js +216 -0
- package/cdn/chunks/chunk.VH6QT22H.js +92 -0
- package/cdn/chunks/chunk.VMXN5GXH.js +11 -0
- package/cdn/chunks/chunk.VSKLAI7G.js +605 -0
- package/cdn/chunks/chunk.VWHVYIKV.js +29 -0
- package/cdn/chunks/chunk.VZZYYAJH.js +11 -0
- package/cdn/chunks/chunk.W34EYV6Y.js +11 -0
- package/cdn/chunks/chunk.WMLPGK3F.js +1676 -0
- package/cdn/chunks/chunk.WO75WPNG.js +25 -0
- package/cdn/chunks/chunk.WQJG6TZV.js +346 -0
- package/cdn/chunks/chunk.WQNWQ6LI.js +24 -0
- package/cdn/chunks/chunk.WUIHZTVR.js +11 -0
- package/cdn/chunks/chunk.WW522PMS.js +50 -0
- package/cdn/chunks/chunk.X26YUACY.js +11 -0
- package/cdn/chunks/chunk.X4ZSIAUF.js +11 -0
- package/cdn/chunks/chunk.XEAYQCDS.js +24 -0
- package/cdn/chunks/chunk.XF3DBR74.js +1925 -0
- package/cdn/chunks/chunk.XLUFL3XO.js +97 -0
- package/cdn/chunks/chunk.XSGJVSSN.js +24 -0
- package/cdn/chunks/chunk.XTISUEYW.js +11 -0
- package/cdn/chunks/chunk.XVSMO44U.js +24 -0
- package/cdn/chunks/chunk.Y53BVAHS.js +2631 -0
- package/cdn/chunks/chunk.YGSGDXH2.js +11 -0
- package/cdn/chunks/chunk.YIQRNGYL.js +128 -0
- package/cdn/chunks/chunk.YJLEQ7BZ.js +21 -0
- package/cdn/chunks/chunk.YK37S32F.js +11 -0
- package/cdn/chunks/chunk.YQB2FY4V.js +11 -0
- package/cdn/chunks/chunk.YQTN3WRI.js +24 -0
- package/cdn/chunks/chunk.YVSEP6QN.js +276 -0
- package/cdn/chunks/chunk.ZDFWLA56.js +21 -0
- package/cdn/chunks/chunk.ZEO5N7DZ.js +402 -0
- package/cdn/chunks/chunk.ZNEOVTOA.js +292 -0
- package/cdn/chunks/chunk.ZQLJE7BF.js +29 -0
- package/cdn/chunks/chunk.ZRNCLJWY.js +27 -0
- package/cdn/chunks/chunk.ZUJ2HHL3.js +215 -0
- package/cdn/chunks/chunk.ZWVXPX4F.js +11 -0
- package/cdn/chunks/chunk.ZZS2M4TK.js +28 -0
- package/cdn/components/alert/alert.component.js +9 -9
- package/cdn/components/alert/alert.js +10 -10
- package/cdn/components/animated-image/animated-image.component.js +6 -6
- package/cdn/components/animated-image/animated-image.js +7 -7
- package/cdn/components/animation/animation.component.js +3 -3
- package/cdn/components/animation/animation.js +4 -4
- package/cdn/components/avatar/avatar.component.js +7 -7
- package/cdn/components/avatar/avatar.js +8 -8
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
- package/cdn/components/breadcrumb/breadcrumb.js +6 -6
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +10 -10
- package/cdn/components/calendar/calendar.js +10 -10
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +8 -8
- package/cdn/components/carousel/carousel.js +9 -9
- 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 +8 -8
- package/cdn/components/checkbox/checkbox.js +9 -9
- 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 +16 -16
- package/cdn/components/color-picker/color-picker.js +17 -17
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/date-panel/date-panel.component.js +13 -13
- package/cdn/components/date-panel/date-panel.js +13 -13
- package/cdn/components/datepicker/datepicker.component.js +18 -18
- package/cdn/components/datepicker/datepicker.js +18 -18
- package/cdn/components/daterangepicker/daterangepicker.component.js +15 -15
- package/cdn/components/daterangepicker/daterangepicker.js +16 -16
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +8 -8
- package/cdn/components/drawer/drawer.js +9 -9
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/float-button/float-button.component.js +9 -9
- package/cdn/components/float-button/float-button.js +10 -10
- package/cdn/components/float-button-group/float-button-group.component.js +7 -7
- package/cdn/components/float-button-group/float-button-group.js +8 -8
- 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 +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon-button/icon-button.component.js +7 -7
- package/cdn/components/icon-button/icon-button.js +8 -8
- package/cdn/components/image-comparer/image-comparer.component.js +7 -7
- package/cdn/components/image-comparer/image-comparer.js +8 -8
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +8 -8
- package/cdn/components/input/input.js +9 -9
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +11 -11
- package/cdn/components/menu-item/menu-item.js +12 -12
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +14 -14
- package/cdn/components/nav/nav.js +15 -15
- 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 +8 -8
- package/cdn/components/nav-submenu/nav-submenu.js +9 -9
- package/cdn/components/option/option.component.js +7 -7
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/pagination/custom-select.js +15 -15
- package/cdn/components/pagination/pagination.component.js +16 -16
- package/cdn/components/pagination/pagination.js +16 -16
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +7 -7
- package/cdn/components/radio/radio.js +8 -8
- 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 +7 -7
- package/cdn/components/rating/rating.js +8 -8
- 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/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/sender/sender.component.js +18 -18
- package/cdn/components/sender/sender.js +19 -19
- package/cdn/components/sender/sender.styles.js +1 -1
- package/cdn/components/sender-header/sender-header.component.js +9 -9
- package/cdn/components/sender-header/sender-header.js +10 -10
- package/cdn/components/sender-switch/sender-switch.component.js +9 -9
- package/cdn/components/sender-switch/sender-switch.js +10 -10
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/space/space.component.js +15 -0
- package/cdn/components/space/space.js +16 -0
- package/cdn/components/space/space.styles.js +9 -0
- 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/switch/switch.component.js +4 -4
- package/cdn/components/switch/switch.js +5 -5
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +6 -6
- package/cdn/components/table/col-group.js +2 -2
- package/cdn/components/table/features/index.js +6 -6
- package/cdn/components/table/features/row-drag-controller.js +3 -3
- package/cdn/components/table/footer-table.js +5 -5
- package/cdn/components/table/head-table.js +27 -27
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +40 -40
- package/cdn/components/table/table.js +42 -42
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +4 -4
- package/cdn/components/textarea/textarea.js +5 -5
- package/cdn/components/think/think.component.js +8 -8
- package/cdn/components/think/think.js +9 -9
- 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 +8 -8
- package/cdn/components/thought-chain-item/thought-chain-item.js +9 -9
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +8 -8
- package/cdn/components/thought-chain-node/thought-chain-node.js +9 -9
- package/cdn/components/time-panel/time-panel.component.js +9 -9
- package/cdn/components/time-panel/time-panel.js +9 -9
- package/cdn/components/timepicker/timepicker.component.js +18 -18
- package/cdn/components/timepicker/timepicker.js +18 -18
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- 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 +10 -10
- package/cdn/components/tree-item/tree-item.js +11 -11
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/components/x-markdown/markdown/components.js +3 -3
- package/cdn/components/x-markdown/markdown/render.js +4 -4
- package/cdn/components/x-markdown/x-markdown.component.js +6 -6
- package/cdn/components/x-markdown/x-markdown.js +7 -7
- package/cdn/custom-elements.json +7170 -6944
- package/cdn/react/alert/index.js +10 -10
- package/cdn/react/animated-image/index.js +7 -7
- package/cdn/react/animation/index.js +4 -4
- package/cdn/react/avatar/index.js +8 -8
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +6 -6
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +9 -9
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +9 -9
- package/cdn/react/col/index.js +3 -3
- package/cdn/react/color-picker/index.js +17 -17
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/date-panel/index.js +14 -14
- package/cdn/react/datepicker/index.js +19 -19
- package/cdn/react/daterangepicker/index.js +16 -16
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/float-button/index.js +10 -10
- package/cdn/react/float-button-group/index.js +8 -8
- 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 +5 -5
- package/cdn/react/icon-button/index.js +8 -8
- package/cdn/react/image-comparer/index.js +8 -8
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.js +284 -278
- package/cdn/react/input/index.js +9 -9
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +12 -12
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +15 -15
- 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 +9 -9
- package/cdn/react/option/index.js +8 -8
- package/cdn/react/pagination/index.js +17 -17
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +8 -8
- 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 +8 -8
- 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/select/index.js +11 -11
- package/cdn/react/sender/index.js +19 -19
- package/cdn/react/sender-header/index.js +10 -10
- package/cdn/react/sender-switch/index.js +10 -10
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/space/index.js +16 -0
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +5 -5
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +41 -41
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +5 -5
- package/cdn/react/think/index.js +9 -9
- package/cdn/react/thought-chain/index.js +3 -3
- package/cdn/react/thought-chain-item/index.js +9 -9
- package/cdn/react/thought-chain-node/index.js +9 -9
- package/cdn/react/timepicker/index.js +19 -19
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +12 -12
- package/cdn/react/tree-item/index.js +11 -11
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/react/x-markdown/index.js +7 -7
- package/cdn/shoelace.js +277 -271
- package/cdn/themes/dark.css +156 -39
- package/cdn/themes/dark.styles.js +164 -39
- package/cdn/themes/light.css +1 -1
- package/cdn/themes/light.styles.js +1 -1
- package/cdn/themes/nova_dark.css +729 -0
- package/cdn/themes/nova_dark.styles.js +748 -0
- package/cdn/themes/nova_light.css +742 -0
- package/cdn/themes/nova_light.styles.js +761 -0
- package/cdn/types/vue/index.d.ts +588 -556
- package/cdn/vscode.html-custom-data.json +468 -409
- package/cdn/web-types.json +1313 -1220
- package/dist/chunks/chunk.2AM27ZOG.js +24 -0
- package/dist/chunks/chunk.2APJULAZ.js +125 -0
- package/dist/chunks/chunk.2CN3R7JP.js +11 -0
- package/dist/chunks/chunk.2EELWYNZ.js +21 -0
- package/dist/chunks/chunk.2EM42JMJ.js +170 -0
- package/dist/chunks/chunk.2KN2LPDO.js +306 -0
- package/dist/chunks/chunk.356OEQSR.js +29 -0
- package/dist/chunks/chunk.36DHO4KT.js +11 -0
- package/dist/chunks/chunk.36Z2FTTA.js +11 -0
- package/dist/chunks/chunk.3HKAHP6T.js +11 -0
- package/dist/chunks/chunk.3HMTRXBK.js +11 -0
- package/dist/chunks/chunk.3MCVXBSR.js +11 -0
- package/dist/chunks/chunk.3RTAA4KY.js +21 -0
- package/dist/chunks/chunk.43OINLAL.js +194 -0
- package/dist/chunks/chunk.445BOZCK.js +27 -0
- package/dist/chunks/chunk.4GS64NFK.js +11 -0
- package/dist/chunks/chunk.4JIKQXCG.js +25 -0
- package/dist/chunks/chunk.4PUM7VBD.js +227 -0
- package/dist/chunks/chunk.4SW2LAZB.js +11 -0
- package/dist/chunks/chunk.4T6HKFWD.js +11 -0
- package/dist/chunks/chunk.4VYJVKQ7.js +11 -0
- package/dist/chunks/chunk.4WT5LAXP.js +24 -0
- package/dist/chunks/chunk.4WWBIVIM.js +24 -0
- package/dist/chunks/chunk.5577NXML.js +286 -0
- package/dist/chunks/chunk.5C2XZ3FN.js +315 -0
- package/dist/chunks/chunk.5CVUPL6N.js +11 -0
- package/dist/chunks/chunk.5E7YMP6L.js +11 -0
- package/dist/chunks/chunk.5HON3BST.js +148 -0
- package/dist/chunks/chunk.5LMZVCM5.js +134 -0
- package/dist/chunks/chunk.5RPK2XLN.js +109 -0
- package/dist/chunks/chunk.5TMBAYEV.js +26 -0
- package/dist/chunks/chunk.5ULFZXE2.js +11 -0
- package/dist/chunks/chunk.5Z37ZZKR.js +11 -0
- package/dist/chunks/chunk.67SVIR4V.js +11 -0
- package/dist/chunks/chunk.6BV6YGKJ.js +21 -0
- package/dist/chunks/chunk.6HO74XL7.js +24 -0
- package/dist/chunks/chunk.6O22C5VV.js +21 -0
- package/dist/chunks/chunk.7EGJXUEV.js +11 -0
- package/dist/chunks/chunk.7KRJ6P74.js +100 -0
- package/dist/chunks/chunk.7M6UKZEZ.js +598 -0
- package/dist/chunks/chunk.7PEGOVEG.js +21 -0
- package/dist/chunks/chunk.7RR3CX2R.js +25 -0
- package/dist/chunks/chunk.7SICOCUA.js +11 -0
- package/dist/chunks/chunk.7YBZJXIK.js +135 -0
- package/dist/chunks/chunk.7ZCWFAJP.js +502 -0
- package/dist/chunks/chunk.ABKA3WOO.js +25 -0
- package/dist/chunks/chunk.ABYGK2YA.js +24 -0
- package/dist/chunks/chunk.AETA4APG.js +21 -0
- package/dist/chunks/chunk.AOTOJRVI.js +21 -0
- package/dist/chunks/chunk.ASD3RDCF.js +24 -0
- package/dist/chunks/chunk.AUCWH57X.js +24 -0
- package/dist/chunks/chunk.AWA57DYY.js +1667 -0
- package/dist/chunks/chunk.AXDQS6YO.js +348 -0
- package/dist/chunks/chunk.AZKU5NR6.js +29 -0
- package/dist/chunks/chunk.B5VZ6KPF.js +11 -0
- package/dist/chunks/chunk.BGCMN2WH.js +11 -0
- package/dist/chunks/chunk.BIUAMVZM.js +11 -0
- package/dist/chunks/chunk.BVL5OOKI.js +448 -0
- package/dist/chunks/chunk.C4E2RHBP.js +1251 -0
- package/dist/chunks/chunk.CAW5BATC.js +80 -0
- package/dist/chunks/chunk.CBGIQZYS.js +11 -0
- package/dist/chunks/chunk.CDBZ6BUS.js +11 -0
- package/dist/chunks/chunk.CHAA7MBS.js +21 -0
- package/dist/chunks/chunk.CNJVEX5W.js +212 -0
- package/dist/chunks/chunk.CQNT5G3X.js +21 -0
- package/dist/chunks/chunk.D3E4LIPI.js +11 -0
- package/dist/chunks/chunk.DBIJ2JVG.js +11 -0
- package/dist/chunks/chunk.DDYL5VS2.js +85 -0
- package/dist/chunks/chunk.DE3JMNHK.js +93 -0
- package/dist/chunks/chunk.DGZHAEQK.js +11 -0
- package/dist/chunks/chunk.DHFV32CX.js +11 -0
- package/dist/chunks/chunk.DLSZ7U5V.js +349 -0
- package/dist/chunks/chunk.DMQZQ6JG.js +21 -0
- package/dist/chunks/chunk.DP5QZOBI.js +274 -0
- package/dist/chunks/chunk.DPLN6NLC.js +45 -0
- package/dist/chunks/chunk.DPXURMPX.js +397 -0
- package/dist/chunks/chunk.DT3COU6J.js +11 -0
- package/dist/chunks/chunk.EA2UZ5NO.js +21 -0
- package/dist/chunks/chunk.EBCGYXZI.js +231 -0
- package/dist/chunks/chunk.EBEYQ2AK.js +11 -0
- package/dist/chunks/chunk.EHCVGXG3.js +21 -0
- package/dist/chunks/chunk.EILVTVRS.js +11 -0
- package/dist/chunks/chunk.EK7QWUDS.js +21 -0
- package/dist/chunks/chunk.ESXTKV6E.js +11 -0
- package/dist/chunks/chunk.EUCV74CZ.js +27 -0
- package/dist/chunks/chunk.F34JM56Q.js +28 -0
- package/dist/chunks/chunk.F7XBIMQR.js +11 -0
- package/dist/chunks/chunk.FBCEDI3J.js +247 -0
- package/dist/chunks/chunk.FC7SXNOH.js +949 -0
- package/dist/chunks/chunk.FNF2S7IY.js +24 -0
- package/dist/chunks/chunk.FPMADLK5.js +21 -0
- package/dist/chunks/chunk.FT5HN6OF.js +28 -0
- package/dist/chunks/chunk.FZ4BBK2C.js +75 -0
- package/dist/chunks/chunk.G27HOYMG.js +27 -0
- package/dist/chunks/chunk.G3LOOZ4Y.js +11 -0
- package/dist/chunks/chunk.GDVBTTNH.js +151 -0
- package/dist/chunks/chunk.GGBZRZDG.js +192 -0
- package/dist/chunks/chunk.GHOW63HQ.js +11 -0
- package/dist/chunks/chunk.GHUPM7AK.js +21 -0
- package/dist/chunks/chunk.GQQ47AGO.js +11 -0
- package/dist/chunks/chunk.GWNHVMWW.js +11 -0
- package/dist/chunks/chunk.GZOLHNBK.js +24 -0
- package/dist/chunks/chunk.H2444BFK.js +11 -0
- package/dist/chunks/chunk.H6UUHL2L.js +24 -0
- package/dist/chunks/chunk.HB7CPVT7.js +21 -0
- package/dist/chunks/chunk.HFWBVHPC.js +26 -0
- package/dist/chunks/chunk.HGOG4GBX.js +22 -0
- package/dist/chunks/chunk.HL2NIEWK.js +11 -0
- package/dist/chunks/chunk.HLR32LF7.js +11 -0
- package/dist/chunks/chunk.HNFG633R.js +814 -0
- package/dist/chunks/chunk.HSZMG4VR.js +117 -0
- package/dist/chunks/chunk.HW3OY4D4.js +11 -0
- package/dist/chunks/chunk.HWFJCLNR.js +21 -0
- package/dist/chunks/chunk.HYUZVSKH.js +24 -0
- package/dist/chunks/chunk.I2URYOWI.js +100 -0
- package/dist/chunks/chunk.IGGQ3UNU.js +75 -0
- package/dist/chunks/chunk.IMYABPXY.js +263 -0
- package/dist/chunks/chunk.IREURXBM.js +11 -0
- package/dist/chunks/chunk.IRUK5OTP.js +214 -0
- package/dist/chunks/chunk.IWPV4MXI.js +25 -0
- package/dist/chunks/chunk.JCDPBWPK.js +28 -0
- package/dist/chunks/chunk.JEJSGCRM.js +24 -0
- package/dist/chunks/chunk.JHJ43L7Y.js +361 -0
- package/dist/chunks/chunk.JJHV4OLF.js +34 -0
- package/dist/chunks/chunk.JKKHUK2X.js +67 -0
- package/dist/chunks/chunk.JRLO7GZN.js +27 -0
- package/dist/chunks/chunk.K3257HIU.js +24 -0
- package/dist/chunks/chunk.K55GAPKP.js +116 -0
- package/dist/chunks/chunk.K5JPKY7Z.js +11 -0
- package/dist/chunks/chunk.K7H3OUBM.js +25 -0
- package/dist/chunks/chunk.KG52DM2R.js +45 -0
- package/dist/chunks/chunk.KKPS2ICT.js +11 -0
- package/dist/chunks/chunk.KOWG5PID.js +126 -0
- package/dist/chunks/chunk.KXTAZ7NB.js +213 -0
- package/dist/chunks/chunk.KYDKPLRL.js +21 -0
- package/dist/chunks/chunk.L4Q6QFDT.js +26 -0
- package/dist/chunks/chunk.L5LEHQUU.js +11 -0
- package/dist/chunks/chunk.LJAHJUD6.js +29 -0
- package/dist/chunks/chunk.LPIZ3GOK.js +154 -0
- package/dist/chunks/chunk.M64TGDFB.js +11 -0
- package/dist/chunks/chunk.M6KAK6VS.js +63 -0
- package/dist/chunks/chunk.MCW4DDXK.js +84 -0
- package/dist/chunks/chunk.MF4XFHQW.js +147 -0
- package/dist/chunks/chunk.MGDNQWDH.js +335 -0
- package/dist/chunks/chunk.MGOREBQU.js +11 -0
- package/dist/chunks/chunk.MREKUUE4.js +11 -0
- package/dist/chunks/chunk.MUMAE6JW.js +111 -0
- package/dist/chunks/chunk.NDXDVM65.js +25 -0
- package/dist/chunks/chunk.NPCIVC76.js +11 -0
- package/dist/chunks/chunk.O2NZ7RFW.js +29 -0
- package/dist/chunks/chunk.O4K6QE27.js +52 -0
- package/dist/chunks/chunk.OE476IH3.js +11 -0
- package/dist/chunks/chunk.OEDMD56P.js +90 -0
- package/dist/chunks/chunk.OGXOJDDK.js +11 -0
- package/dist/chunks/chunk.OIQP4JIC.js +24 -0
- package/dist/chunks/chunk.OLGXGBJH.js +11 -0
- package/dist/chunks/chunk.OLMSCKSK.js +417 -0
- package/dist/chunks/chunk.OMYR4PUQ.js +311 -0
- package/dist/chunks/chunk.OVSNB3TR.js +21 -0
- package/dist/chunks/chunk.OZETIGNQ.js +86 -0
- package/dist/chunks/chunk.P3K7MZZ6.js +128 -0
- package/dist/chunks/chunk.P4UBTITC.js +371 -0
- package/dist/chunks/chunk.P6P2LUOO.js +21 -0
- package/dist/chunks/chunk.P6VSBAA2.js +209 -0
- package/dist/chunks/chunk.PEJGRDZQ.js +21 -0
- package/dist/chunks/chunk.PH2CRUOJ.js +25 -0
- package/dist/chunks/chunk.PIZDFMZD.js +231 -0
- package/dist/chunks/chunk.PNOOGCP2.js +11 -0
- package/dist/chunks/chunk.PRQYGGW4.js +280 -0
- package/dist/chunks/chunk.PS72DAEP.js +11 -0
- package/dist/chunks/chunk.PTQFBIXP.js +337 -0
- package/dist/chunks/chunk.Q435Z6VD.js +11 -0
- package/dist/chunks/chunk.QA7TSJGH.js +11 -0
- package/dist/chunks/chunk.QJS7AIZG.js +57 -0
- package/dist/chunks/chunk.QLTF6JTB.js +29 -0
- package/dist/chunks/chunk.QPO3GVQO.js +11 -0
- package/dist/chunks/chunk.QQB77KNU.js +11 -0
- package/dist/chunks/chunk.QU4NUHUO.js +42 -0
- package/dist/chunks/chunk.QXY6677S.js +21 -0
- package/dist/chunks/chunk.R2U22UZK.js +25 -0
- package/dist/chunks/chunk.R634BWP6.js +21 -0
- package/dist/chunks/chunk.R7UOC6JW.js +21 -0
- package/dist/chunks/chunk.RF3MHUYS.js +25 -0
- package/dist/chunks/chunk.RHEYEJM2.js +21 -0
- package/dist/chunks/chunk.RJ5RHJFE.js +11 -0
- package/dist/chunks/chunk.RKFDAZCC.js +11 -0
- package/dist/chunks/chunk.RPNAHDI3.js +73 -0
- package/dist/chunks/chunk.RZLNOIOX.js +11 -0
- package/dist/chunks/chunk.S5AOA37L.js +29 -0
- package/dist/chunks/chunk.S5N45DIH.js +581 -0
- package/dist/chunks/chunk.SIYKG733.js +25 -0
- package/dist/chunks/chunk.SLHNTBZL.js +11 -0
- package/dist/chunks/chunk.SLI3QC72.js +11 -0
- package/dist/chunks/chunk.SUXW3XNU.js +324 -0
- package/dist/chunks/chunk.TF6I6MWB.js +21 -0
- package/dist/chunks/chunk.TFHHM4HQ.js +33 -0
- package/dist/chunks/chunk.TG5KBBYC.js +25 -0
- package/dist/chunks/chunk.TQLNQKSB.js +22 -0
- package/dist/chunks/chunk.TX3OMRK2.js +26 -0
- package/dist/chunks/chunk.TYXFWZQE.js +50 -0
- package/dist/chunks/chunk.U242VBPR.js +24 -0
- package/dist/chunks/chunk.U4C5UV63.js +24 -0
- package/dist/chunks/chunk.U55A33AN.js +21 -0
- package/dist/chunks/chunk.U5RRXBD4.js +444 -0
- package/dist/chunks/chunk.U6VVMW5Q.js +21 -0
- package/dist/chunks/chunk.UBJ4DKTO.js +29 -0
- package/dist/chunks/chunk.UBRRAOAG.js +1146 -0
- package/dist/chunks/chunk.UDM7YONN.js +113 -0
- package/dist/chunks/chunk.UFCQLCJX.js +11 -0
- package/dist/chunks/chunk.UHOJXF43.js +29 -0
- package/dist/chunks/chunk.UNJJA52B.js +299 -0
- package/dist/chunks/chunk.URXSML4D.js +91 -0
- package/dist/chunks/chunk.UUACYHRP.js +504 -0
- package/dist/chunks/chunk.UUNSAJ75.js +45 -0
- package/dist/chunks/chunk.UURDBCDF.js +916 -0
- package/dist/chunks/chunk.UZ2ZCE2N.js +11 -0
- package/dist/chunks/chunk.UZZHI2IJ.js +21 -0
- package/dist/chunks/chunk.V2PMZJXN.js +11 -0
- package/dist/chunks/chunk.VCKH4WGU.js +27 -0
- package/dist/chunks/chunk.VF7I5ZBX.js +11 -0
- package/dist/chunks/chunk.VGJJA7QD.js +550 -0
- package/dist/chunks/chunk.VL34PJAU.js +11 -0
- package/dist/chunks/chunk.VL7PJFIQ.js +96 -0
- package/dist/chunks/chunk.VLNFBNZ6.js +11 -0
- package/dist/chunks/chunk.VPPSVVWI.js +181 -0
- package/dist/chunks/chunk.VXHQOTGM.js +11 -0
- package/dist/chunks/chunk.WBGXASH2.js +86 -0
- package/dist/chunks/chunk.WEL7HLZM.js +24 -0
- package/dist/chunks/chunk.WYVHP5TS.js +28 -0
- package/dist/chunks/chunk.X77BCIAS.js +294 -0
- package/dist/chunks/chunk.XABIX2DC.js +153 -0
- package/dist/chunks/chunk.XDOMHV3O.js +384 -0
- package/dist/chunks/chunk.XG7I6YVL.js +11 -0
- package/dist/chunks/chunk.XJZM2YCR.js +11 -0
- package/dist/chunks/chunk.XLOXBVZ7.js +28 -0
- package/dist/chunks/chunk.XOY3QH3V.js +11 -0
- package/dist/chunks/chunk.XQ6EAFI3.js +27 -0
- package/dist/chunks/chunk.XWWM4VXO.js +11 -0
- package/dist/chunks/chunk.XXJZ2QAO.js +11 -0
- package/dist/chunks/chunk.XY6TFGNU.js +11 -0
- package/dist/chunks/chunk.Y7BQPODN.js +59 -0
- package/dist/chunks/chunk.YA3OT7XV.js +171 -0
- package/dist/chunks/chunk.YCPA6SMB.js +119 -0
- package/dist/chunks/chunk.YFPBORCI.js +167 -0
- package/dist/chunks/chunk.YHPRJQV3.js +25 -0
- package/dist/chunks/chunk.YYM6BVYW.js +11 -0
- package/dist/chunks/chunk.Z5TWJEX4.js +320 -0
- package/dist/chunks/chunk.Z5WEN476.js +126 -0
- package/dist/chunks/chunk.Z6ZZLGYX.js +293 -0
- package/dist/chunks/chunk.ZAXLKJ7P.js +188 -0
- package/dist/chunks/chunk.ZC53HKY6.js +11 -0
- package/dist/chunks/chunk.ZDN35ZOI.js +11 -0
- package/dist/chunks/chunk.ZNJ62K52.js +24 -0
- package/dist/chunks/chunk.ZTUTPYCJ.js +11 -0
- package/dist/components/alert/alert.component.js +7 -7
- package/dist/components/alert/alert.js +8 -8
- package/dist/components/animated-image/animated-image.component.js +6 -6
- package/dist/components/animated-image/animated-image.js +7 -7
- package/dist/components/animation/animation.component.js +3 -3
- package/dist/components/animation/animation.js +4 -4
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.js +6 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +8 -8
- package/dist/components/calendar/calendar.js +8 -8
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +6 -6
- package/dist/components/carousel/carousel.js +7 -7
- 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 +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- 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 +13 -13
- package/dist/components/color-picker/color-picker.js +14 -14
- package/dist/components/copy-button/copy-button.component.js +7 -7
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/date-panel/date-panel.component.js +11 -11
- package/dist/components/date-panel/date-panel.js +11 -11
- package/dist/components/datepicker/datepicker.component.js +15 -15
- package/dist/components/datepicker/datepicker.js +15 -15
- package/dist/components/daterangepicker/daterangepicker.component.js +12 -12
- package/dist/components/daterangepicker/daterangepicker.js +13 -13
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/float-button/float-button.component.js +7 -7
- package/dist/components/float-button/float-button.js +8 -8
- package/dist/components/float-button-group/float-button-group.component.js +5 -5
- package/dist/components/float-button-group/float-button-group.js +6 -6
- 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 +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/image-comparer/image-comparer.component.js +5 -5
- package/dist/components/image-comparer/image-comparer.js +6 -6
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +12 -12
- package/dist/components/nav/nav.js +13 -13
- 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 +6 -6
- package/dist/components/nav-submenu/nav-submenu.js +7 -7
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/pagination/custom-select.js +11 -11
- package/dist/components/pagination/pagination.component.js +12 -12
- package/dist/components/pagination/pagination.js +12 -12
- 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 +5 -5
- package/dist/components/radio/radio.js +6 -6
- 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 +5 -5
- package/dist/components/rating/rating.js +6 -6
- 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/select/select.component.js +8 -8
- package/dist/components/select/select.js +9 -9
- package/dist/components/sender/sender.component.js +15 -15
- package/dist/components/sender/sender.js +16 -16
- package/dist/components/sender/sender.styles.js +1 -1
- package/dist/components/sender-header/sender-header.component.js +7 -7
- package/dist/components/sender-header/sender-header.js +8 -8
- package/dist/components/sender-switch/sender-switch.component.js +7 -7
- package/dist/components/sender-switch/sender-switch.js +8 -8
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/space/space.component.js +10 -0
- package/dist/components/space/space.js +11 -0
- package/dist/components/space/space.styles.js +7 -0
- 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/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/features/index.js +3 -3
- package/dist/components/table/footer-table.js +2 -2
- package/dist/components/table/head-table.js +22 -22
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +33 -33
- package/dist/components/table/table.js +35 -35
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/think/think.component.js +6 -6
- package/dist/components/think/think.js +7 -7
- 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 +6 -6
- package/dist/components/thought-chain-item/thought-chain-item.js +7 -7
- package/dist/components/thought-chain-node/thought-chain-node.component.js +6 -6
- package/dist/components/thought-chain-node/thought-chain-node.js +7 -7
- package/dist/components/time-panel/time-panel.component.js +7 -7
- package/dist/components/time-panel/time-panel.js +7 -7
- package/dist/components/timepicker/timepicker.component.js +15 -15
- package/dist/components/timepicker/timepicker.js +15 -15
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +8 -8
- package/dist/components/tree/tree.js +9 -9
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/components/x-markdown/markdown/render.js +2 -2
- package/dist/components/x-markdown/x-markdown.component.js +4 -4
- package/dist/components/x-markdown/x-markdown.js +5 -5
- package/dist/custom-elements.json +7170 -6944
- package/dist/react/alert/index.js +8 -8
- package/dist/react/animated-image/index.js +7 -7
- package/dist/react/animation/index.js +4 -4
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +6 -6
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +7 -7
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/col/index.js +3 -3
- package/dist/react/color-picker/index.js +14 -14
- package/dist/react/copy-button/index.js +8 -8
- package/dist/react/date-panel/index.js +12 -12
- package/dist/react/datepicker/index.js +16 -16
- package/dist/react/daterangepicker/index.js +13 -13
- package/dist/react/details/index.js +6 -6
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/float-button/index.js +8 -8
- package/dist/react/float-button-group/index.js +6 -6
- 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 +5 -5
- package/dist/react/icon-button/index.js +6 -6
- package/dist/react/image-comparer/index.js +6 -6
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.js +277 -271
- package/dist/react/input/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +13 -13
- 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 +7 -7
- package/dist/react/option/index.js +6 -6
- package/dist/react/pagination/index.js +13 -13
- 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 +6 -6
- 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 +6 -6
- 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/select/index.js +9 -9
- package/dist/react/sender/index.js +16 -16
- package/dist/react/sender-header/index.js +8 -8
- package/dist/react/sender-switch/index.js +8 -8
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/space/index.js +11 -0
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +7 -7
- package/dist/react/tab-group/index.js +8 -8
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +34 -34
- package/dist/react/tag/index.js +7 -7
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/think/index.js +7 -7
- package/dist/react/thought-chain/index.js +3 -3
- package/dist/react/thought-chain-item/index.js +7 -7
- package/dist/react/thought-chain-node/index.js +7 -7
- package/dist/react/timepicker/index.js +16 -16
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +9 -9
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/react/x-markdown/index.js +5 -5
- package/dist/shoelace.js +271 -265
- package/dist/themes/dark.css +156 -39
- package/dist/themes/dark.styles.js +164 -39
- package/dist/themes/light.css +1 -1
- package/dist/themes/light.styles.js +1 -1
- package/dist/themes/nova_dark.css +729 -0
- package/dist/themes/nova_dark.styles.d.ts +2 -0
- package/dist/themes/nova_dark.styles.js +748 -0
- package/dist/themes/nova_light.css +742 -0
- package/dist/themes/nova_light.styles.d.ts +2 -0
- package/dist/themes/nova_light.styles.js +761 -0
- package/dist/types/vue/index.d.ts +588 -556
- package/dist/vscode.html-custom-data.json +468 -409
- package/dist/web-types.json +1313 -1220
- package/package.json +2 -2
- package/cdn/chunks/chunk.22GJIWXX.js +0 -97
- package/cdn/chunks/chunk.2BHLJNNN.js +0 -11
- package/cdn/chunks/chunk.2C4ZQYGU.js +0 -21
- package/cdn/chunks/chunk.2FUYB335.js +0 -215
- package/cdn/chunks/chunk.2IHBQTP5.js +0 -21
- package/cdn/chunks/chunk.2KCKLOXC.js +0 -77
- package/cdn/chunks/chunk.2LBQRO3Q.js +0 -11
- package/cdn/chunks/chunk.2PV5VRDY.js +0 -73
- package/cdn/chunks/chunk.2ZSANMKJ.js +0 -11
- package/cdn/chunks/chunk.32JIUZ2E.js +0 -21
- package/cdn/chunks/chunk.35Y6VPRT.js +0 -28
- package/cdn/chunks/chunk.36VMCZTW.js +0 -127
- package/cdn/chunks/chunk.375UEKIG.js +0 -21
- package/cdn/chunks/chunk.37USSGQA.js +0 -21
- package/cdn/chunks/chunk.3CYEJIVZ.js +0 -587
- package/cdn/chunks/chunk.3FMRATHK.js +0 -11
- package/cdn/chunks/chunk.3PQFIVQJ.js +0 -25
- package/cdn/chunks/chunk.3R2ZYFZP.js +0 -24
- package/cdn/chunks/chunk.3VJQ2BSO.js +0 -586
- package/cdn/chunks/chunk.3Y7KVZXA.js +0 -49
- package/cdn/chunks/chunk.42UIFGIX.js +0 -11
- package/cdn/chunks/chunk.45FBYZ7R.js +0 -27
- package/cdn/chunks/chunk.47CWJN2H.js +0 -11
- package/cdn/chunks/chunk.4DZHFVDU.js +0 -24
- package/cdn/chunks/chunk.4IO3KIPI.js +0 -526
- package/cdn/chunks/chunk.4JSIJVYS.js +0 -91
- package/cdn/chunks/chunk.4MZ2UHIL.js +0 -233
- package/cdn/chunks/chunk.4NLYJZXK.js +0 -29
- package/cdn/chunks/chunk.4OLNCS4I.js +0 -24
- package/cdn/chunks/chunk.4PLTUYLD.js +0 -11
- package/cdn/chunks/chunk.52E7U2XC.js +0 -11
- package/cdn/chunks/chunk.5C2KGGKA.js +0 -7407
- package/cdn/chunks/chunk.5DSHVTBU.js +0 -338
- package/cdn/chunks/chunk.5ISRJXBG.js +0 -199
- package/cdn/chunks/chunk.5IXRH63Y.js +0 -158
- package/cdn/chunks/chunk.5OAZITCT.js +0 -27
- package/cdn/chunks/chunk.5V35VQ4Y.js +0 -113
- package/cdn/chunks/chunk.5VN4EHJ7.js +0 -1156
- package/cdn/chunks/chunk.62JYGEDK.js +0 -822
- package/cdn/chunks/chunk.67WPLUKE.js +0 -11
- package/cdn/chunks/chunk.6DYZD3HR.js +0 -21
- package/cdn/chunks/chunk.6DZGYUMD.js +0 -11
- package/cdn/chunks/chunk.6MTLG6GW.js +0 -128
- package/cdn/chunks/chunk.6SLRZ5CC.js +0 -11
- package/cdn/chunks/chunk.6TE6Y3SU.js +0 -11
- package/cdn/chunks/chunk.6UMQHEH4.js +0 -153
- package/cdn/chunks/chunk.6ZY6H774.js +0 -11
- package/cdn/chunks/chunk.72XAODK4.js +0 -11
- package/cdn/chunks/chunk.73FESCBP.js +0 -11
- package/cdn/chunks/chunk.7AYCGL6E.js +0 -24
- package/cdn/chunks/chunk.7IZGCLI2.js +0 -11
- package/cdn/chunks/chunk.7VLFZCDI.js +0 -21
- package/cdn/chunks/chunk.7WEOJDWJ.js +0 -21
- package/cdn/chunks/chunk.ADHGYD6K.js +0 -11
- package/cdn/chunks/chunk.AEFBLX65.js +0 -161
- package/cdn/chunks/chunk.AIQAKGFF.js +0 -27
- package/cdn/chunks/chunk.APTZUBVG.js +0 -26
- package/cdn/chunks/chunk.ATFJ7BDG.js +0 -103
- package/cdn/chunks/chunk.ATK753QY.js +0 -25
- package/cdn/chunks/chunk.B2ZDBLPQ.js +0 -11
- package/cdn/chunks/chunk.BAAHF3FZ.js +0 -21
- package/cdn/chunks/chunk.BHHJTPY3.js +0 -21
- package/cdn/chunks/chunk.BO4CQOED.js +0 -5845
- package/cdn/chunks/chunk.BZQKIYXC.js +0 -29
- package/cdn/chunks/chunk.C3G6HXW6.js +0 -11
- package/cdn/chunks/chunk.C63DUUAH.js +0 -11
- package/cdn/chunks/chunk.CGX4MX36.js +0 -27
- package/cdn/chunks/chunk.CLJP7P53.js +0 -25
- package/cdn/chunks/chunk.CMQFWU26.js +0 -11
- package/cdn/chunks/chunk.CQH4R6Q6.js +0 -24
- package/cdn/chunks/chunk.CQJGUP47.js +0 -11
- package/cdn/chunks/chunk.CRRVAYFX.js +0 -24
- package/cdn/chunks/chunk.CSVCD2EF.js +0 -135
- package/cdn/chunks/chunk.D2VAWCYS.js +0 -11
- package/cdn/chunks/chunk.D2WYPMZJ.js +0 -114
- package/cdn/chunks/chunk.DAPDH7BP.js +0 -29
- package/cdn/chunks/chunk.DDAODWE3.js +0 -79
- package/cdn/chunks/chunk.DFUOAFTW.js +0 -21
- package/cdn/chunks/chunk.DMYD3Q6J.js +0 -24
- package/cdn/chunks/chunk.DOPCXLID.js +0 -314
- package/cdn/chunks/chunk.DTJKNA7H.js +0 -11
- package/cdn/chunks/chunk.DX4YDMKP.js +0 -292
- package/cdn/chunks/chunk.DYCVWB6O.js +0 -134
- package/cdn/chunks/chunk.E364D63H.js +0 -215
- package/cdn/chunks/chunk.EA2NVLY4.js +0 -75
- package/cdn/chunks/chunk.F62SV5GR.js +0 -1676
- package/cdn/chunks/chunk.F6EMM6N7.js +0 -1990
- package/cdn/chunks/chunk.F6WTWYX7.js +0 -341
- package/cdn/chunks/chunk.F7Q4KCSJ.js +0 -11
- package/cdn/chunks/chunk.FD4BWOTV.js +0 -21
- package/cdn/chunks/chunk.FI2UJABU.js +0 -11
- package/cdn/chunks/chunk.FM45HMMC.js +0 -346
- package/cdn/chunks/chunk.FQRNXQ4C.js +0 -271
- package/cdn/chunks/chunk.FW3XXKDA.js +0 -2631
- package/cdn/chunks/chunk.FX25LJSJ.js +0 -11
- package/cdn/chunks/chunk.FXWXIOL2.js +0 -11
- package/cdn/chunks/chunk.FYDHGROB.js +0 -26
- package/cdn/chunks/chunk.FYNAMMNA.js +0 -29
- package/cdn/chunks/chunk.GBABMMXE.js +0 -354
- package/cdn/chunks/chunk.GF6BDN6A.js +0 -11
- package/cdn/chunks/chunk.GFZKSTR4.js +0 -11
- package/cdn/chunks/chunk.GIJCGKSV.js +0 -11
- package/cdn/chunks/chunk.GJIAUDGM.js +0 -50
- package/cdn/chunks/chunk.GRZFS7OB.js +0 -87
- package/cdn/chunks/chunk.GVJPX4FB.js +0 -24
- package/cdn/chunks/chunk.GYIYROU4.js +0 -137
- package/cdn/chunks/chunk.H6W6LOAJ.js +0 -63
- package/cdn/chunks/chunk.H7AJIGT2.js +0 -11
- package/cdn/chunks/chunk.HDWZ3ZDL.js +0 -60
- package/cdn/chunks/chunk.HHQRVAAM.js +0 -291
- package/cdn/chunks/chunk.HIDCMMCK.js +0 -89
- package/cdn/chunks/chunk.HJWMNGL2.js +0 -11
- package/cdn/chunks/chunk.HY2DU6HS.js +0 -197
- package/cdn/chunks/chunk.HZSLHLHF.js +0 -21
- package/cdn/chunks/chunk.I6RABVSB.js +0 -11
- package/cdn/chunks/chunk.IAJV3N4Q.js +0 -95
- package/cdn/chunks/chunk.INXWYVVI.js +0 -28
- package/cdn/chunks/chunk.IVPOE6W7.js +0 -27
- package/cdn/chunks/chunk.IXEGKEOK.js +0 -24
- package/cdn/chunks/chunk.IZEGURSJ.js +0 -11
- package/cdn/chunks/chunk.J3ISPOVI.js +0 -24
- package/cdn/chunks/chunk.J56KXZXB.js +0 -120
- package/cdn/chunks/chunk.JAWTHXWQ.js +0 -1255
- package/cdn/chunks/chunk.JF7HSU5I.js +0 -25
- package/cdn/chunks/chunk.JKXFCUFN.js +0 -336
- package/cdn/chunks/chunk.JQD5MJPF.js +0 -11
- package/cdn/chunks/chunk.JSBEUCZ6.js +0 -455
- package/cdn/chunks/chunk.JWQD27XP.js +0 -25
- package/cdn/chunks/chunk.KERD64T5.js +0 -11
- package/cdn/chunks/chunk.KF3II6F5.js +0 -11
- package/cdn/chunks/chunk.KG53RXN4.js +0 -313
- package/cdn/chunks/chunk.KQ32NOBP.js +0 -11
- package/cdn/chunks/chunk.KRKLE66Q.js +0 -33
- package/cdn/chunks/chunk.KYQ4P7VT.js +0 -24
- package/cdn/chunks/chunk.KZONJ6SM.js +0 -24
- package/cdn/chunks/chunk.L2XJJ4ZB.js +0 -11
- package/cdn/chunks/chunk.L56USDF4.js +0 -158
- package/cdn/chunks/chunk.LGIM6JC6.js +0 -21
- package/cdn/chunks/chunk.LHTAA75I.js +0 -246
- package/cdn/chunks/chunk.LSSCDJTD.js +0 -11
- package/cdn/chunks/chunk.LVTA2GU3.js +0 -133
- package/cdn/chunks/chunk.M33X74G3.js +0 -191
- package/cdn/chunks/chunk.M6KQWEUJ.js +0 -391
- package/cdn/chunks/chunk.MIWROZDV.js +0 -82
- package/cdn/chunks/chunk.MMZXWP6E.js +0 -118
- package/cdn/chunks/chunk.MXX4OLRN.js +0 -331
- package/cdn/chunks/chunk.NCEQSEUX.js +0 -70
- package/cdn/chunks/chunk.NFO24LCM.js +0 -25
- package/cdn/chunks/chunk.NLZDPQHO.js +0 -11
- package/cdn/chunks/chunk.NO3TLBS6.js +0 -42
- package/cdn/chunks/chunk.NOKRLB3M.js +0 -11
- package/cdn/chunks/chunk.NQMHY36X.js +0 -11
- package/cdn/chunks/chunk.NTAJ72YR.js +0 -25
- package/cdn/chunks/chunk.NTX2PSNR.js +0 -25
- package/cdn/chunks/chunk.NYYRPLSZ.js +0 -49
- package/cdn/chunks/chunk.O3L3BELI.js +0 -11
- package/cdn/chunks/chunk.O67ZIY66.js +0 -11
- package/cdn/chunks/chunk.OBRHBPDC.js +0 -11
- package/cdn/chunks/chunk.OH7NMQG4.js +0 -11
- package/cdn/chunks/chunk.OJ2HZFEV.js +0 -11
- package/cdn/chunks/chunk.OKXMJTGY.js +0 -11
- package/cdn/chunks/chunk.OMX7IOOR.js +0 -11
- package/cdn/chunks/chunk.OQYOZDNV.js +0 -367
- package/cdn/chunks/chunk.ORMXZSFQ.js +0 -11
- package/cdn/chunks/chunk.OSWXVLHF.js +0 -279
- package/cdn/chunks/chunk.OUHIJZZR.js +0 -154
- package/cdn/chunks/chunk.OVNPI46I.js +0 -126
- package/cdn/chunks/chunk.OXVLM2PO.js +0 -24
- package/cdn/chunks/chunk.P4FMR5NR.js +0 -11
- package/cdn/chunks/chunk.P5KUOKG6.js +0 -21
- package/cdn/chunks/chunk.P6JZ5DU7.js +0 -21
- package/cdn/chunks/chunk.PDDOT6LJ.js +0 -21
- package/cdn/chunks/chunk.PEYJO3OY.js +0 -11
- package/cdn/chunks/chunk.PI5RZMOI.js +0 -21
- package/cdn/chunks/chunk.PK6MIU6Z.js +0 -330
- package/cdn/chunks/chunk.PLHADOQ2.js +0 -110
- package/cdn/chunks/chunk.PRMTG7YQ.js +0 -21
- package/cdn/chunks/chunk.PTUPCJMB.js +0 -24
- package/cdn/chunks/chunk.Q2TRA26O.js +0 -24
- package/cdn/chunks/chunk.QBRK2HGN.js +0 -11
- package/cdn/chunks/chunk.QL2HZJUJ.js +0 -21
- package/cdn/chunks/chunk.QMWCJ4S7.js +0 -11
- package/cdn/chunks/chunk.QNATTURP.js +0 -11
- package/cdn/chunks/chunk.QPA3S64U.js +0 -11
- package/cdn/chunks/chunk.QSJIOSQG.js +0 -28
- package/cdn/chunks/chunk.QZNEXD7L.js +0 -236
- package/cdn/chunks/chunk.R2GUNDC5.js +0 -11
- package/cdn/chunks/chunk.RYS3HA7N.js +0 -67
- package/cdn/chunks/chunk.SZFAGLK5.js +0 -54
- package/cdn/chunks/chunk.T5FW3CT4.js +0 -605
- package/cdn/chunks/chunk.T5H3S4HI.js +0 -27
- package/cdn/chunks/chunk.T7KOZRIJ.js +0 -24
- package/cdn/chunks/chunk.TCSFI34V.js +0 -25
- package/cdn/chunks/chunk.TE7GEDY6.js +0 -379
- package/cdn/chunks/chunk.TF7CFS3U.js +0 -21
- package/cdn/chunks/chunk.TMN3TQWK.js +0 -11
- package/cdn/chunks/chunk.TTGJKAMC.js +0 -26
- package/cdn/chunks/chunk.TWOCTPT4.js +0 -71
- package/cdn/chunks/chunk.TXJ4VH5I.js +0 -25
- package/cdn/chunks/chunk.U3TQU7XC.js +0 -175
- package/cdn/chunks/chunk.UBXVJ5DT.js +0 -276
- package/cdn/chunks/chunk.UCJLAY7A.js +0 -11
- package/cdn/chunks/chunk.UEFZUGQR.js +0 -36
- package/cdn/chunks/chunk.UHD2SVBA.js +0 -24
- package/cdn/chunks/chunk.UJBP3X3W.js +0 -11
- package/cdn/chunks/chunk.ULJSHWM3.js +0 -305
- package/cdn/chunks/chunk.UT5DFWZF.js +0 -28
- package/cdn/chunks/chunk.UY5WX6C3.js +0 -122
- package/cdn/chunks/chunk.VLKFFKR6.js +0 -510
- package/cdn/chunks/chunk.VM2BWT5C.js +0 -11
- package/cdn/chunks/chunk.VV72BKRR.js +0 -11
- package/cdn/chunks/chunk.VVAESIBH.js +0 -11
- package/cdn/chunks/chunk.VVO44MUZ.js +0 -11
- package/cdn/chunks/chunk.VXJ36URO.js +0 -216
- package/cdn/chunks/chunk.VXT2YYFS.js +0 -219
- package/cdn/chunks/chunk.VZ4IO2SU.js +0 -29
- package/cdn/chunks/chunk.W4M65UPR.js +0 -302
- package/cdn/chunks/chunk.W7B25I3M.js +0 -28
- package/cdn/chunks/chunk.WJ426UE7.js +0 -21
- package/cdn/chunks/chunk.WK4ZKVY6.js +0 -29
- package/cdn/chunks/chunk.WLIQ3JLU.js +0 -21
- package/cdn/chunks/chunk.WMP7CG46.js +0 -26
- package/cdn/chunks/chunk.WQYDRV2O.js +0 -24
- package/cdn/chunks/chunk.WSLGL7HA.js +0 -11
- package/cdn/chunks/chunk.X2RYRLT2.js +0 -236
- package/cdn/chunks/chunk.X4AOTUOW.js +0 -21
- package/cdn/chunks/chunk.X52S4RF5.js +0 -11
- package/cdn/chunks/chunk.XFZ6AKF6.js +0 -177
- package/cdn/chunks/chunk.XGGECA6G.js +0 -11
- package/cdn/chunks/chunk.XGV2E6U3.js +0 -450
- package/cdn/chunks/chunk.XJCXTN72.js +0 -11
- package/cdn/chunks/chunk.XKNVE7RD.js +0 -93
- package/cdn/chunks/chunk.XLTWU6Q5.js +0 -186
- package/cdn/chunks/chunk.XSG33SHB.js +0 -11
- package/cdn/chunks/chunk.XUVFO7PK.js +0 -255
- package/cdn/chunks/chunk.Y2LZ2SKX.js +0 -724
- package/cdn/chunks/chunk.Y7DVP7N5.js +0 -11
- package/cdn/chunks/chunk.YAEHNW4N.js +0 -1925
- package/cdn/chunks/chunk.YC6KAMKV.js +0 -142
- package/cdn/chunks/chunk.YDNJNSWE.js +0 -11
- package/cdn/chunks/chunk.YGUOKOOI.js +0 -21
- package/cdn/chunks/chunk.YIZAIJFY.js +0 -21
- package/cdn/chunks/chunk.YOISCY5H.js +0 -29
- package/cdn/chunks/chunk.YSCMMPDC.js +0 -11
- package/cdn/chunks/chunk.YSK4YS7S.js +0 -24
- package/cdn/chunks/chunk.YSO77235.js +0 -11
- package/cdn/chunks/chunk.YV5VHLPA.js +0 -11
- package/cdn/chunks/chunk.Z26DCWV6.js +0 -29
- package/cdn/chunks/chunk.Z27Q3ZRU.js +0 -21
- package/cdn/chunks/chunk.Z3P4WEN5.js +0 -299
- package/cdn/chunks/chunk.ZBUVYKJW.js +0 -21
- package/cdn/chunks/chunk.ZHDLX7AM.js +0 -11
- package/cdn/chunks/chunk.ZKLS4QPQ.js +0 -25
- package/cdn/chunks/chunk.ZMHSRMKN.js +0 -27
- package/cdn/chunks/chunk.ZT6PXVLC.js +0 -402
- package/cdn/chunks/chunk.ZXNCNFZF.js +0 -24
- package/cdn/themes/nova.css +0 -674
- package/cdn/themes/nova.styles.js +0 -691
- package/dist/chunks/chunk.23TLPZVT.js +0 -171
- package/dist/chunks/chunk.26SCCLYY.js +0 -96
- package/dist/chunks/chunk.2EA23QDM.js +0 -21
- package/dist/chunks/chunk.2LNFLOLP.js +0 -24
- package/dist/chunks/chunk.2NDBF2XR.js +0 -247
- package/dist/chunks/chunk.323MRUTD.js +0 -91
- package/dist/chunks/chunk.325RUAEG.js +0 -29
- package/dist/chunks/chunk.37ODMRKG.js +0 -25
- package/dist/chunks/chunk.3AINOOTS.js +0 -25
- package/dist/chunks/chunk.3EOJVTR3.js +0 -299
- package/dist/chunks/chunk.3ILQMNTZ.js +0 -11
- package/dist/chunks/chunk.3P4V4P3H.js +0 -153
- package/dist/chunks/chunk.3STPB52K.js +0 -27
- package/dist/chunks/chunk.3SZVHDKE.js +0 -29
- package/dist/chunks/chunk.3YHNIVVX.js +0 -109
- package/dist/chunks/chunk.453W67RW.js +0 -11
- package/dist/chunks/chunk.456SA7OE.js +0 -11
- package/dist/chunks/chunk.4CHFBCQT.js +0 -167
- package/dist/chunks/chunk.4DK5CSJZ.js +0 -11
- package/dist/chunks/chunk.4GUHVZ2G.js +0 -21
- package/dist/chunks/chunk.4H67K62S.js +0 -29
- package/dist/chunks/chunk.4NB33WQT.js +0 -21
- package/dist/chunks/chunk.4REBK5EZ.js +0 -100
- package/dist/chunks/chunk.532ZYU3S.js +0 -90
- package/dist/chunks/chunk.5E2BAEVT.js +0 -75
- package/dist/chunks/chunk.5FVPEAVC.js +0 -25
- package/dist/chunks/chunk.5PLSGYKT.js +0 -113
- package/dist/chunks/chunk.5SMBLG5P.js +0 -28
- package/dist/chunks/chunk.5YU6NMJE.js +0 -11
- package/dist/chunks/chunk.5ZA7EUGU.js +0 -11
- package/dist/chunks/chunk.646YVPQG.js +0 -11
- package/dist/chunks/chunk.64BOJ6TO.js +0 -85
- package/dist/chunks/chunk.6B4WDWBX.js +0 -11
- package/dist/chunks/chunk.6GO6GKHL.js +0 -21
- package/dist/chunks/chunk.6I5L5JDP.js +0 -11
- package/dist/chunks/chunk.6JHJGMXS.js +0 -11
- package/dist/chunks/chunk.6JQ6N5CR.js +0 -24
- package/dist/chunks/chunk.6MI4FM5D.js +0 -11
- package/dist/chunks/chunk.6RUAZUNA.js +0 -11
- package/dist/chunks/chunk.6V7W7HEY.js +0 -11
- package/dist/chunks/chunk.6WQZBDEA.js +0 -29
- package/dist/chunks/chunk.6YPXVX7E.js +0 -11
- package/dist/chunks/chunk.73PS3CM4.js +0 -24
- package/dist/chunks/chunk.75NQDSZQ.js +0 -24
- package/dist/chunks/chunk.7F2MGDBD.js +0 -11
- package/dist/chunks/chunk.7I33CNXG.js +0 -52
- package/dist/chunks/chunk.7NO6S5TS.js +0 -11
- package/dist/chunks/chunk.7QFIQXKG.js +0 -25
- package/dist/chunks/chunk.7XP2M4KA.js +0 -125
- package/dist/chunks/chunk.ABAEZKYD.js +0 -11
- package/dist/chunks/chunk.ABZK4LBO.js +0 -21
- package/dist/chunks/chunk.ACTYIS5W.js +0 -11
- package/dist/chunks/chunk.AG7G6U34.js +0 -67
- package/dist/chunks/chunk.AGGYGFG5.js +0 -11
- package/dist/chunks/chunk.AO2IIC6O.js +0 -11
- package/dist/chunks/chunk.ARQFSMGI.js +0 -361
- package/dist/chunks/chunk.AS7VVSTY.js +0 -11
- package/dist/chunks/chunk.AXJBWCRQ.js +0 -25
- package/dist/chunks/chunk.B23MMOIT.js +0 -34
- package/dist/chunks/chunk.B7O4DTOY.js +0 -448
- package/dist/chunks/chunk.BEDWXX2A.js +0 -11
- package/dist/chunks/chunk.BH47LXR7.js +0 -598
- package/dist/chunks/chunk.BQSFWPON.js +0 -21
- package/dist/chunks/chunk.BSNBFFIW.js +0 -11
- package/dist/chunks/chunk.BVDZVI5X.js +0 -11
- package/dist/chunks/chunk.BXFHLMUH.js +0 -25
- package/dist/chunks/chunk.BZAOMJ56.js +0 -11
- package/dist/chunks/chunk.C52VXVWX.js +0 -11
- package/dist/chunks/chunk.CDIKJAZZ.js +0 -119
- package/dist/chunks/chunk.CGECDXY2.js +0 -444
- package/dist/chunks/chunk.CL4JBCOI.js +0 -227
- package/dist/chunks/chunk.CY5NI24N.js +0 -11
- package/dist/chunks/chunk.CYVW6FVL.js +0 -21
- package/dist/chunks/chunk.D3MSRBRO.js +0 -11
- package/dist/chunks/chunk.DEPWFOWK.js +0 -128
- package/dist/chunks/chunk.DFAQ7TUF.js +0 -21
- package/dist/chunks/chunk.DFZDVAFL.js +0 -134
- package/dist/chunks/chunk.DGTYZKT2.js +0 -11
- package/dist/chunks/chunk.DJTL2HRI.js +0 -93
- package/dist/chunks/chunk.DOGHHACB.js +0 -11
- package/dist/chunks/chunk.DONDEDJQ.js +0 -26
- package/dist/chunks/chunk.DPWFMAUN.js +0 -21
- package/dist/chunks/chunk.DWD32LZP.js +0 -24
- package/dist/chunks/chunk.DY23GKRX.js +0 -148
- package/dist/chunks/chunk.DZ4N7ZUR.js +0 -28
- package/dist/chunks/chunk.DZVK5OFR.js +0 -231
- package/dist/chunks/chunk.EBLTGTNV.js +0 -25
- package/dist/chunks/chunk.EF6OJRK7.js +0 -24
- package/dist/chunks/chunk.ER53E47R.js +0 -11
- package/dist/chunks/chunk.EVONWXTA.js +0 -21
- package/dist/chunks/chunk.EVT2P7I5.js +0 -25
- package/dist/chunks/chunk.EYF7OHPR.js +0 -24
- package/dist/chunks/chunk.F74KIZ6G.js +0 -27
- package/dist/chunks/chunk.FFD2PFBA.js +0 -21
- package/dist/chunks/chunk.FJIKUUX5.js +0 -21
- package/dist/chunks/chunk.FMFZM3VE.js +0 -212
- package/dist/chunks/chunk.FTI73S6W.js +0 -11
- package/dist/chunks/chunk.FUWVGY24.js +0 -11
- package/dist/chunks/chunk.FYRXV7WP.js +0 -26
- package/dist/chunks/chunk.GB2MPWHR.js +0 -11
- package/dist/chunks/chunk.GC5UNJYA.js +0 -11
- package/dist/chunks/chunk.GGRJO2OJ.js +0 -335
- package/dist/chunks/chunk.GHAZ2NSU.js +0 -11
- package/dist/chunks/chunk.GPTSGD2A.js +0 -25
- package/dist/chunks/chunk.GRXPM4O4.js +0 -21
- package/dist/chunks/chunk.GVRYANRJ.js +0 -111
- package/dist/chunks/chunk.GWXCNG4Z.js +0 -293
- package/dist/chunks/chunk.H7KRVU4U.js +0 -335
- package/dist/chunks/chunk.HJPZCMUJ.js +0 -24
- package/dist/chunks/chunk.HMYHOYG6.js +0 -11
- package/dist/chunks/chunk.HTHPVAF6.js +0 -24
- package/dist/chunks/chunk.HV6DWGV6.js +0 -170
- package/dist/chunks/chunk.HVGGXTUY.js +0 -814
- package/dist/chunks/chunk.HWJ5GHEF.js +0 -29
- package/dist/chunks/chunk.I55RYRHJ.js +0 -11
- package/dist/chunks/chunk.ICLMKLSM.js +0 -27
- package/dist/chunks/chunk.IEUYJI2V.js +0 -11
- package/dist/chunks/chunk.IM2EER45.js +0 -11
- package/dist/chunks/chunk.IMD7EKYB.js +0 -306
- package/dist/chunks/chunk.JHG5PGQB.js +0 -28
- package/dist/chunks/chunk.JL4IEF5S.js +0 -42
- package/dist/chunks/chunk.JLDLFEY2.js +0 -25
- package/dist/chunks/chunk.JTIWCWEI.js +0 -24
- package/dist/chunks/chunk.K246SNWP.js +0 -11
- package/dist/chunks/chunk.K3R5PQIU.js +0 -126
- package/dist/chunks/chunk.K4IPS2TK.js +0 -11
- package/dist/chunks/chunk.K4TJJ7EM.js +0 -916
- package/dist/chunks/chunk.KFHXR2BC.js +0 -11
- package/dist/chunks/chunk.KLVXNU4L.js +0 -24
- package/dist/chunks/chunk.KONR2CKB.js +0 -27
- package/dist/chunks/chunk.KVVOE4N5.js +0 -59
- package/dist/chunks/chunk.KXCO3UVW.js +0 -25
- package/dist/chunks/chunk.L7IWPTUL.js +0 -1150
- package/dist/chunks/chunk.LFCXATA2.js +0 -949
- package/dist/chunks/chunk.LGRQXGOU.js +0 -73
- package/dist/chunks/chunk.LJTMHMMV.js +0 -315
- package/dist/chunks/chunk.LNCVA2LC.js +0 -21
- package/dist/chunks/chunk.LOIJEG4W.js +0 -11
- package/dist/chunks/chunk.LV5NZ2X4.js +0 -26
- package/dist/chunks/chunk.LVL2F2UK.js +0 -50
- package/dist/chunks/chunk.M5M6A7A4.js +0 -63
- package/dist/chunks/chunk.M7WPGNKJ.js +0 -21
- package/dist/chunks/chunk.MBBGYDPJ.js +0 -21
- package/dist/chunks/chunk.MD5CNJYY.js +0 -21
- package/dist/chunks/chunk.MMX2MNK3.js +0 -294
- package/dist/chunks/chunk.MORRVJDQ.js +0 -21
- package/dist/chunks/chunk.MOUSVVQT.js +0 -11
- package/dist/chunks/chunk.MQWHTJPK.js +0 -371
- package/dist/chunks/chunk.MVII53TU.js +0 -502
- package/dist/chunks/chunk.MVUU32XP.js +0 -11
- package/dist/chunks/chunk.MWXTMR76.js +0 -11
- package/dist/chunks/chunk.N6I33EAC.js +0 -397
- package/dist/chunks/chunk.NB5YIW7Z.js +0 -11
- package/dist/chunks/chunk.NBSEUJKB.js +0 -194
- package/dist/chunks/chunk.NEKEYVJO.js +0 -11
- package/dist/chunks/chunk.NGR354TT.js +0 -11
- package/dist/chunks/chunk.NNAGCOFI.js +0 -11
- package/dist/chunks/chunk.NRN6Q3XG.js +0 -24
- package/dist/chunks/chunk.NV4UTSI6.js +0 -117
- package/dist/chunks/chunk.NYROL4ZE.js +0 -21
- package/dist/chunks/chunk.NZWXUQ3H.js +0 -384
- package/dist/chunks/chunk.O6OUZP3U.js +0 -11
- package/dist/chunks/chunk.OBJGSS6E.js +0 -280
- package/dist/chunks/chunk.OBK2YPSN.js +0 -151
- package/dist/chunks/chunk.OCHTUUOS.js +0 -504
- package/dist/chunks/chunk.OIPWYUIP.js +0 -29
- package/dist/chunks/chunk.OJ2M4ES7.js +0 -320
- package/dist/chunks/chunk.OJUO7QTD.js +0 -11
- package/dist/chunks/chunk.OMAX4MNF.js +0 -192
- package/dist/chunks/chunk.OOZXG5GD.js +0 -86
- package/dist/chunks/chunk.OPFBZE7B.js +0 -11
- package/dist/chunks/chunk.OWEZV62N.js +0 -28
- package/dist/chunks/chunk.OYALUVRG.js +0 -24
- package/dist/chunks/chunk.P2VEKBPG.js +0 -21
- package/dist/chunks/chunk.PAFCWRAG.js +0 -11
- package/dist/chunks/chunk.PAY755AQ.js +0 -11
- package/dist/chunks/chunk.PCNSVIK4.js +0 -11
- package/dist/chunks/chunk.PEPNOA73.js +0 -263
- package/dist/chunks/chunk.PILQUS46.js +0 -581
- package/dist/chunks/chunk.PL3LGAXY.js +0 -21
- package/dist/chunks/chunk.PTSGOSPM.js +0 -21
- package/dist/chunks/chunk.Q42GQQ47.js +0 -11
- package/dist/chunks/chunk.Q4LAKBXF.js +0 -11
- package/dist/chunks/chunk.QC7RFFLZ.js +0 -11
- package/dist/chunks/chunk.QGYYJHJM.js +0 -22
- package/dist/chunks/chunk.QOGZTB3J.js +0 -24
- package/dist/chunks/chunk.QPMRCS3F.js +0 -154
- package/dist/chunks/chunk.QYK33DTB.js +0 -27
- package/dist/chunks/chunk.QZEXE67U.js +0 -11
- package/dist/chunks/chunk.R3KSEODV.js +0 -348
- package/dist/chunks/chunk.R56GO5NN.js +0 -11
- package/dist/chunks/chunk.R5TQOQAQ.js +0 -11
- package/dist/chunks/chunk.RHF6I4CP.js +0 -209
- package/dist/chunks/chunk.RJWPMX7W.js +0 -231
- package/dist/chunks/chunk.RK2XXSIB.js +0 -57
- package/dist/chunks/chunk.RK7FET3Z.js +0 -24
- package/dist/chunks/chunk.ROBU4SHI.js +0 -11
- package/dist/chunks/chunk.RSXX3WRW.js +0 -11
- package/dist/chunks/chunk.RVQ76RAB.js +0 -26
- package/dist/chunks/chunk.S4TGXT7T.js +0 -214
- package/dist/chunks/chunk.SKOPZQNS.js +0 -24
- package/dist/chunks/chunk.SKYYMGPL.js +0 -11
- package/dist/chunks/chunk.SRS6IIO3.js +0 -33
- package/dist/chunks/chunk.SUCFVDWF.js +0 -11
- package/dist/chunks/chunk.SZOAHQRH.js +0 -21
- package/dist/chunks/chunk.TBD4QJ5D.js +0 -11
- package/dist/chunks/chunk.TJ66D5ZW.js +0 -324
- package/dist/chunks/chunk.TN732AHC.js +0 -337
- package/dist/chunks/chunk.TO2O2WKT.js +0 -45
- package/dist/chunks/chunk.TPT7QM36.js +0 -24
- package/dist/chunks/chunk.TQPBT2QK.js +0 -147
- package/dist/chunks/chunk.TSKGGTC7.js +0 -116
- package/dist/chunks/chunk.U3A2RLLY.js +0 -11
- package/dist/chunks/chunk.UBHV3NFZ.js +0 -80
- package/dist/chunks/chunk.UCUCDSMT.js +0 -1251
- package/dist/chunks/chunk.UE73HLDG.js +0 -27
- package/dist/chunks/chunk.UL2HFXCX.js +0 -126
- package/dist/chunks/chunk.UQE6MYX7.js +0 -11
- package/dist/chunks/chunk.V2U6HBGK.js +0 -417
- package/dist/chunks/chunk.V4ER4EQ2.js +0 -28
- package/dist/chunks/chunk.VC23ETJP.js +0 -21
- package/dist/chunks/chunk.VFDED5ZN.js +0 -21
- package/dist/chunks/chunk.VLEKCONO.js +0 -29
- package/dist/chunks/chunk.VW6M434O.js +0 -100
- package/dist/chunks/chunk.VYZSSTRO.js +0 -550
- package/dist/chunks/chunk.WAA4F577.js +0 -11
- package/dist/chunks/chunk.WAZPRCFA.js +0 -45
- package/dist/chunks/chunk.WCUK6RJF.js +0 -1667
- package/dist/chunks/chunk.WDWT3KE2.js +0 -84
- package/dist/chunks/chunk.WFYIGAWC.js +0 -274
- package/dist/chunks/chunk.WOYG75OC.js +0 -21
- package/dist/chunks/chunk.WQUVNVEL.js +0 -188
- package/dist/chunks/chunk.WZH4NZ3O.js +0 -11
- package/dist/chunks/chunk.X2MMC7UR.js +0 -11
- package/dist/chunks/chunk.XALXTZUR.js +0 -11
- package/dist/chunks/chunk.XEVZMU4Q.js +0 -135
- package/dist/chunks/chunk.XHRX6POL.js +0 -24
- package/dist/chunks/chunk.XMBINA7J.js +0 -181
- package/dist/chunks/chunk.XRYXQPWG.js +0 -21
- package/dist/chunks/chunk.XZZXZXWT.js +0 -21
- package/dist/chunks/chunk.Y3OTTFHX.js +0 -22
- package/dist/chunks/chunk.Y5RCCSVD.js +0 -11
- package/dist/chunks/chunk.Y6S7ABQU.js +0 -25
- package/dist/chunks/chunk.YZYAQMW2.js +0 -311
- package/dist/chunks/chunk.Z7FHCPDJ.js +0 -11
- package/dist/chunks/chunk.ZDVSEURQ.js +0 -213
- package/dist/chunks/chunk.ZF7PHNPH.js +0 -11
- package/dist/chunks/chunk.ZGTQYFRC.js +0 -286
- package/dist/chunks/chunk.ZRM2FJ74.js +0 -75
- package/dist/chunks/chunk.ZSNTKQDJ.js +0 -29
- package/dist/themes/nova.css +0 -674
- package/dist/themes/nova.styles.js +0 -691
- /package/cdn/themes/{nova.styles.d.ts → nova_dark.styles.d.ts} +0 -0
- /package/{dist/themes/nova.styles.d.ts → cdn/themes/nova_light.styles.d.ts} +0 -0
|
@@ -0,0 +1,1667 @@
|
|
|
1
|
+
import {
|
|
2
|
+
daterangepicker_styles_default
|
|
3
|
+
} from "./chunk.KFT7NHGH.js";
|
|
4
|
+
import {
|
|
5
|
+
SlDrawer
|
|
6
|
+
} from "./chunk.DPXURMPX.js";
|
|
7
|
+
import {
|
|
8
|
+
SlPopup
|
|
9
|
+
} from "./chunk.OLMSCKSK.js";
|
|
10
|
+
import {
|
|
11
|
+
defaultValue
|
|
12
|
+
} from "./chunk.GI7VDIWX.js";
|
|
13
|
+
import {
|
|
14
|
+
form_control_styles_default
|
|
15
|
+
} from "./chunk.SI4ACBFK.js";
|
|
16
|
+
import {
|
|
17
|
+
LOCALE,
|
|
18
|
+
SlCalendar,
|
|
19
|
+
formatDatetime,
|
|
20
|
+
parseDatetime
|
|
21
|
+
} from "./chunk.C4E2RHBP.js";
|
|
22
|
+
import {
|
|
23
|
+
SlButton
|
|
24
|
+
} from "./chunk.Z6ZZLGYX.js";
|
|
25
|
+
import {
|
|
26
|
+
FormControlController
|
|
27
|
+
} from "./chunk.WBWPWG4N.js";
|
|
28
|
+
import {
|
|
29
|
+
LocalizeController
|
|
30
|
+
} from "./chunk.6CTB5ZDJ.js";
|
|
31
|
+
import {
|
|
32
|
+
HasSlotController
|
|
33
|
+
} from "./chunk.NYIIDP5N.js";
|
|
34
|
+
import {
|
|
35
|
+
SlIcon
|
|
36
|
+
} from "./chunk.VPPSVVWI.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.VL7PJFIQ.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 SlDaterangepicker = class extends ShoelaceElement {
|
|
61
|
+
constructor() {
|
|
62
|
+
super(...arguments);
|
|
63
|
+
this.formControlController = new FormControlController(this, {
|
|
64
|
+
assumeInteractionOn: ["sl-blur", "sl-input"]
|
|
65
|
+
});
|
|
66
|
+
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
67
|
+
this.localize = new LocalizeController(this);
|
|
68
|
+
this.hasFocus = false;
|
|
69
|
+
this.isHovered = false;
|
|
70
|
+
this.open = false;
|
|
71
|
+
this.activeInput = "start";
|
|
72
|
+
this.leftDate = /* @__PURE__ */ new Date();
|
|
73
|
+
this.rightDate = new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() + 1, 1);
|
|
74
|
+
this.startValue = "";
|
|
75
|
+
this.endValue = "";
|
|
76
|
+
this.calendarView = "days";
|
|
77
|
+
this.calendarViewAnchor = "left";
|
|
78
|
+
this.syncingValue = false;
|
|
79
|
+
this.hoverDate = null;
|
|
80
|
+
this.enableHoverRange = false;
|
|
81
|
+
this.rangeEditTwoStep = false;
|
|
82
|
+
this.rangeEditFirstSide = null;
|
|
83
|
+
this.rangeEditExpectedSide = null;
|
|
84
|
+
this.hasFocusSwitched = false;
|
|
85
|
+
this.lastValidValue = [null, null];
|
|
86
|
+
this.isMobile = false;
|
|
87
|
+
this.mobilePickerView = "calendar";
|
|
88
|
+
this.wheelDate = /* @__PURE__ */ new Date();
|
|
89
|
+
this.yearScrollTop = 0;
|
|
90
|
+
this.mobileOpenSnapshot = [null, null];
|
|
91
|
+
this.mobileInteracted = false;
|
|
92
|
+
this.name = "";
|
|
93
|
+
this.value = [null, null];
|
|
94
|
+
this.defaultValue = [null, null];
|
|
95
|
+
this.size = "medium";
|
|
96
|
+
this.filled = false;
|
|
97
|
+
this.pill = false;
|
|
98
|
+
this.label = "";
|
|
99
|
+
this.helpText = "";
|
|
100
|
+
this.clearable = true;
|
|
101
|
+
this.disabled = false;
|
|
102
|
+
this.placeholder = ["\u5F00\u59CB\u65E5\u671F", "\u7ED3\u675F\u65E5\u671F"];
|
|
103
|
+
this.readonly = false;
|
|
104
|
+
this.required = false;
|
|
105
|
+
this.startDate = null;
|
|
106
|
+
this.endDate = null;
|
|
107
|
+
this.type = "date";
|
|
108
|
+
this.min = "0001-01-01";
|
|
109
|
+
this.max = "9999-12-31";
|
|
110
|
+
this.format = "YYYY-MM-DD";
|
|
111
|
+
}
|
|
112
|
+
get startPlaceholder() {
|
|
113
|
+
return this.placeholder[0];
|
|
114
|
+
}
|
|
115
|
+
get endPlaceholder() {
|
|
116
|
+
return this.placeholder[1];
|
|
117
|
+
}
|
|
118
|
+
/** Gets the validity state object */
|
|
119
|
+
get validity() {
|
|
120
|
+
var _a, _b;
|
|
121
|
+
if (!((_a = this.startInput) == null ? void 0 : _a.validity) || !((_b = this.endInput) == null ? void 0 : _b.validity)) {
|
|
122
|
+
return { valid: true };
|
|
123
|
+
}
|
|
124
|
+
return this.startInput.validity.valid && this.endInput.validity.valid ? this.startInput.validity : this.startInput.validity.valid ? this.endInput.validity : this.startInput.validity;
|
|
125
|
+
}
|
|
126
|
+
/** Gets the validation message */
|
|
127
|
+
get validationMessage() {
|
|
128
|
+
if (!this.startInput || !this.endInput) return "";
|
|
129
|
+
return this.startInput.validationMessage || this.endInput.validationMessage;
|
|
130
|
+
}
|
|
131
|
+
connectedCallback() {
|
|
132
|
+
super.connectedCallback();
|
|
133
|
+
this.handleDocumentMouseDown = this.handleDocumentMouseDown.bind(this);
|
|
134
|
+
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
135
|
+
this.handleResize = this.handleResize.bind(this);
|
|
136
|
+
window.addEventListener("resize", this.handleResize);
|
|
137
|
+
this.handleResize();
|
|
138
|
+
}
|
|
139
|
+
disconnectedCallback() {
|
|
140
|
+
super.disconnectedCallback();
|
|
141
|
+
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
142
|
+
window.removeEventListener("resize", this.handleResize);
|
|
143
|
+
}
|
|
144
|
+
handleResize() {
|
|
145
|
+
this.isMobile = window.matchMedia("(max-width: 500px)").matches;
|
|
146
|
+
}
|
|
147
|
+
handleDocumentMouseDown(event) {
|
|
148
|
+
if (this.isMobile) return;
|
|
149
|
+
const path = event.composedPath();
|
|
150
|
+
if (!this.open) return;
|
|
151
|
+
const isInsideInput = this.inputContainer ? path.includes(this.inputContainer) : false;
|
|
152
|
+
if (!isInsideInput) {
|
|
153
|
+
this.open = false;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
/** 检查有效性并触发 sl-invalid 事件(如果无效) */
|
|
157
|
+
checkValidity() {
|
|
158
|
+
if (!this.startInput || !this.endInput) return true;
|
|
159
|
+
return this.startInput.checkValidity() && this.endInput.checkValidity();
|
|
160
|
+
}
|
|
161
|
+
/** 获取表单引用 */
|
|
162
|
+
getForm() {
|
|
163
|
+
return this.formControlController.getForm();
|
|
164
|
+
}
|
|
165
|
+
/** 检查有效性并显示浏览器原生的有效性提示 */
|
|
166
|
+
reportValidity() {
|
|
167
|
+
if (!this.startInput || !this.endInput) return true;
|
|
168
|
+
return this.startInput.reportValidity() && this.endInput.reportValidity();
|
|
169
|
+
}
|
|
170
|
+
/** 设置自定义有效性消息 */
|
|
171
|
+
setCustomValidity(message) {
|
|
172
|
+
if (!this.startInput || !this.endInput) return;
|
|
173
|
+
this.startInput.setCustomValidity(message);
|
|
174
|
+
this.endInput.setCustomValidity(message);
|
|
175
|
+
this.formControlController.updateValidity();
|
|
176
|
+
}
|
|
177
|
+
/** 聚焦到开始日期输入框并打开面板 */
|
|
178
|
+
focus(options) {
|
|
179
|
+
if (this.isMobile) {
|
|
180
|
+
this.activeInput = "start";
|
|
181
|
+
this.open = true;
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
this.startInput.focus(options);
|
|
185
|
+
}
|
|
186
|
+
/** 移除焦点并关闭面板 */
|
|
187
|
+
blur() {
|
|
188
|
+
var _a;
|
|
189
|
+
if (this.isMobile && this.open) return;
|
|
190
|
+
const active = (_a = this.shadowRoot) == null ? void 0 : _a.activeElement;
|
|
191
|
+
if (active && typeof active.blur === "function") {
|
|
192
|
+
active.blur();
|
|
193
|
+
}
|
|
194
|
+
this.open = false;
|
|
195
|
+
}
|
|
196
|
+
updateValueTuple() {
|
|
197
|
+
this.syncingValue = true;
|
|
198
|
+
this.value = [this.startDate, this.endDate];
|
|
199
|
+
}
|
|
200
|
+
parseDateInput(value) {
|
|
201
|
+
const raw = value.trim();
|
|
202
|
+
if (!raw) return null;
|
|
203
|
+
if (this.type === "datetime") {
|
|
204
|
+
if (!/^(\d{4})([-./])(\d{2})\2(\d{2})\s+(\d{2}):(\d{2}):(\d{2})$/.test(raw)) {
|
|
205
|
+
return null;
|
|
206
|
+
}
|
|
207
|
+
} else if (!/^(\d{4})([-./])(\d{2})\2(\d{2})$/.test(raw)) {
|
|
208
|
+
return null;
|
|
209
|
+
}
|
|
210
|
+
const parsed = parseDatetime(raw, this.type);
|
|
211
|
+
if (!parsed) return null;
|
|
212
|
+
if (this.type === "date") {
|
|
213
|
+
parsed.setHours(0, 0, 0, 0);
|
|
214
|
+
}
|
|
215
|
+
return parsed;
|
|
216
|
+
}
|
|
217
|
+
parseLimit(value) {
|
|
218
|
+
const parsed = parseDatetime(String(value), this.type);
|
|
219
|
+
if (!parsed) return null;
|
|
220
|
+
if (this.type === "date") {
|
|
221
|
+
parsed.setHours(0, 0, 0, 0);
|
|
222
|
+
}
|
|
223
|
+
return parsed;
|
|
224
|
+
}
|
|
225
|
+
isWithinMinMax(date) {
|
|
226
|
+
const minDate = this.parseLimit(this.min);
|
|
227
|
+
const maxDate = this.parseLimit(this.max);
|
|
228
|
+
if (minDate && date < minDate) return false;
|
|
229
|
+
if (maxDate && date > maxDate) return false;
|
|
230
|
+
return true;
|
|
231
|
+
}
|
|
232
|
+
isValidCommittedRange(start, end) {
|
|
233
|
+
if (!start && !end) return true;
|
|
234
|
+
if (!start || !end) return false;
|
|
235
|
+
const s = new Date(start);
|
|
236
|
+
const e = new Date(end);
|
|
237
|
+
if (this.type === "date") {
|
|
238
|
+
s.setHours(0, 0, 0, 0);
|
|
239
|
+
e.setHours(0, 0, 0, 0);
|
|
240
|
+
}
|
|
241
|
+
if (!this.isWithinMinMax(s) || !this.isWithinMinMax(e)) return false;
|
|
242
|
+
return s.getTime() <= e.getTime();
|
|
243
|
+
}
|
|
244
|
+
isSameValue(a, b) {
|
|
245
|
+
const [as, ae] = a;
|
|
246
|
+
const [bs, be] = b;
|
|
247
|
+
const asT = as ? as.getTime() : null;
|
|
248
|
+
const aeT = ae ? ae.getTime() : null;
|
|
249
|
+
const bsT = bs ? bs.getTime() : null;
|
|
250
|
+
const beT = be ? be.getTime() : null;
|
|
251
|
+
return asT === bsT && aeT === beT;
|
|
252
|
+
}
|
|
253
|
+
revertToLastValid() {
|
|
254
|
+
const current = [this.startDate, this.endDate];
|
|
255
|
+
if (this.isSameValue(current, this.lastValidValue)) {
|
|
256
|
+
this.applyRange(this.lastValidValue[0], this.lastValidValue[1], true);
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
this.applyRange(this.lastValidValue[0], this.lastValidValue[1], true);
|
|
260
|
+
this.emit("sl-input");
|
|
261
|
+
this.emit("sl-change");
|
|
262
|
+
}
|
|
263
|
+
commitOrRevertInputValue() {
|
|
264
|
+
const startRaw = this.startValue.trim();
|
|
265
|
+
const endRaw = this.endValue.trim();
|
|
266
|
+
const start = startRaw ? this.parseDateInput(startRaw) : null;
|
|
267
|
+
const end = endRaw ? this.parseDateInput(endRaw) : null;
|
|
268
|
+
if (startRaw && !start || endRaw && !end) {
|
|
269
|
+
this.revertToLastValid();
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
if (!this.isValidCommittedRange(start, end)) {
|
|
273
|
+
this.revertToLastValid();
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
this.applyRange(start, end, true);
|
|
277
|
+
this.lastValidValue = [this.startDate, this.endDate];
|
|
278
|
+
}
|
|
279
|
+
applyRange(start, end, updateValue = true) {
|
|
280
|
+
const nextStart = start;
|
|
281
|
+
let nextEnd = end;
|
|
282
|
+
if (nextStart && nextEnd && nextStart > nextEnd) {
|
|
283
|
+
nextEnd = null;
|
|
284
|
+
}
|
|
285
|
+
this.startDate = nextStart;
|
|
286
|
+
this.endDate = nextEnd;
|
|
287
|
+
this.startValue = nextStart ? formatDatetime(nextStart, this.type) : "";
|
|
288
|
+
this.endValue = nextEnd ? formatDatetime(nextEnd, this.type) : "";
|
|
289
|
+
const isVisible = (date) => {
|
|
290
|
+
const month = date.getFullYear() * 12 + date.getMonth();
|
|
291
|
+
const leftMonth = this.leftDate.getFullYear() * 12 + this.leftDate.getMonth();
|
|
292
|
+
const rightMonth = this.rightDate.getFullYear() * 12 + this.rightDate.getMonth();
|
|
293
|
+
return month === leftMonth || month === rightMonth;
|
|
294
|
+
};
|
|
295
|
+
if (nextStart && nextEnd) {
|
|
296
|
+
if (!isVisible(nextStart) || !isVisible(nextEnd)) {
|
|
297
|
+
this.syncCalendarsToValue();
|
|
298
|
+
}
|
|
299
|
+
} else if (nextStart && !isVisible(nextStart)) {
|
|
300
|
+
this.syncCalendarsToValue();
|
|
301
|
+
} else if (nextEnd && !isVisible(nextEnd)) {
|
|
302
|
+
this.syncCalendarsToValue();
|
|
303
|
+
}
|
|
304
|
+
if (updateValue) {
|
|
305
|
+
this.updateValueTuple();
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
syncCalendarsToValue() {
|
|
309
|
+
const nextStart = this.startDate;
|
|
310
|
+
const nextEnd = this.endDate;
|
|
311
|
+
if (nextStart && nextEnd) {
|
|
312
|
+
this.leftDate = new Date(nextStart);
|
|
313
|
+
const startMonth = nextStart.getFullYear() * 12 + nextStart.getMonth();
|
|
314
|
+
const endMonth = nextEnd.getFullYear() * 12 + nextEnd.getMonth();
|
|
315
|
+
if (startMonth === endMonth) {
|
|
316
|
+
this.rightDate = this.addMonths(nextStart, 1, 1);
|
|
317
|
+
} else {
|
|
318
|
+
this.rightDate = new Date(nextEnd);
|
|
319
|
+
}
|
|
320
|
+
} else if (nextStart) {
|
|
321
|
+
this.leftDate = new Date(nextStart);
|
|
322
|
+
this.rightDate = this.addMonths(nextStart, 1, 1);
|
|
323
|
+
} else if (nextEnd) {
|
|
324
|
+
this.rightDate = new Date(nextEnd);
|
|
325
|
+
this.leftDate = this.addMonths(nextEnd, -1, 1);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
async handleOpenChange() {
|
|
329
|
+
this.hasFocusSwitched = false;
|
|
330
|
+
if (this.open) {
|
|
331
|
+
if (this.isMobile) {
|
|
332
|
+
this.mobileOpenSnapshot = [this.startDate, this.endDate];
|
|
333
|
+
this.mobilePickerView = "calendar";
|
|
334
|
+
this.mobileInteracted = false;
|
|
335
|
+
}
|
|
336
|
+
this.enableHoverRange = this.type === "datetime" && !!(this.startDate && this.endDate);
|
|
337
|
+
this.rangeEditTwoStep = !!(this.startDate && this.endDate);
|
|
338
|
+
this.rangeEditFirstSide = null;
|
|
339
|
+
this.rangeEditExpectedSide = null;
|
|
340
|
+
if (this.startDate || this.endDate) {
|
|
341
|
+
this.syncCalendarsToValue();
|
|
342
|
+
if (this.type === "datetime") {
|
|
343
|
+
const targetDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
344
|
+
if (targetDate) {
|
|
345
|
+
this.leftDate = new Date(targetDate);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
} else {
|
|
349
|
+
const today = /* @__PURE__ */ new Date();
|
|
350
|
+
this.leftDate = today;
|
|
351
|
+
this.rightDate = new Date(today.getFullYear(), today.getMonth() + 1, 1);
|
|
352
|
+
}
|
|
353
|
+
await this.updateComplete;
|
|
354
|
+
const calendars = Array.from(this.calendars);
|
|
355
|
+
if (calendars.length === 2) {
|
|
356
|
+
calendars[0].setCurrentDate(this.leftDate);
|
|
357
|
+
calendars[1].setCurrentDate(this.rightDate);
|
|
358
|
+
} else if (calendars.length === 1) {
|
|
359
|
+
const currentDate = this.type === "datetime" ? this.leftDate : this.activeInput === "end" ? this.rightDate : this.leftDate;
|
|
360
|
+
calendars[0].setCurrentDate(currentDate);
|
|
361
|
+
}
|
|
362
|
+
if (this.type === "datetime") {
|
|
363
|
+
calendars.forEach((calendar) => calendar.resetTimeScroll("instant"));
|
|
364
|
+
}
|
|
365
|
+
} else {
|
|
366
|
+
this.rangeEditTwoStep = false;
|
|
367
|
+
this.rangeEditFirstSide = null;
|
|
368
|
+
this.rangeEditExpectedSide = null;
|
|
369
|
+
this.calendarView = "days";
|
|
370
|
+
this.enableHoverRange = false;
|
|
371
|
+
if (!this.isMobile) {
|
|
372
|
+
this.commitOrRevertInputValue();
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
handleValueUpdate() {
|
|
377
|
+
if (this.syncingValue) {
|
|
378
|
+
this.syncingValue = false;
|
|
379
|
+
return;
|
|
380
|
+
}
|
|
381
|
+
const [start, end] = this.value || [null, null];
|
|
382
|
+
if (!this.isValidCommittedRange(start, end)) {
|
|
383
|
+
this.applyRange(null, null, false);
|
|
384
|
+
this.lastValidValue = [null, null];
|
|
385
|
+
return;
|
|
386
|
+
}
|
|
387
|
+
this.applyRange(start != null ? start : null, end != null ? end : null, false);
|
|
388
|
+
this.lastValidValue = [this.startDate, this.endDate];
|
|
389
|
+
}
|
|
390
|
+
handleBlur(event) {
|
|
391
|
+
this.hasFocus = false;
|
|
392
|
+
this.emit("sl-blur");
|
|
393
|
+
if (!this.open) return;
|
|
394
|
+
setTimeout(() => {
|
|
395
|
+
var _a;
|
|
396
|
+
const active = (_a = this.shadowRoot) == null ? void 0 : _a.activeElement;
|
|
397
|
+
const isOnInput = active === this.startInput || active === this.endInput;
|
|
398
|
+
if (!isOnInput) {
|
|
399
|
+
this.open = false;
|
|
400
|
+
}
|
|
401
|
+
});
|
|
402
|
+
}
|
|
403
|
+
handleFocus(event) {
|
|
404
|
+
if (!this.hasFocusSwitched) {
|
|
405
|
+
this.hasFocusSwitched = true;
|
|
406
|
+
}
|
|
407
|
+
this.hasFocus = true;
|
|
408
|
+
const target = event.target;
|
|
409
|
+
const newActiveInput = target.classList.contains("daterangepicker__control--start") ? "start" : "end";
|
|
410
|
+
const switched = this.activeInput !== newActiveInput;
|
|
411
|
+
this.activeInput = newActiveInput;
|
|
412
|
+
if (this.type === "datetime" && this.startDate && this.endDate) {
|
|
413
|
+
this.enableHoverRange = true;
|
|
414
|
+
}
|
|
415
|
+
if (!this.disabled && !this.readonly) {
|
|
416
|
+
this.open = true;
|
|
417
|
+
}
|
|
418
|
+
if (switched && this.type === "datetime" && this.open) {
|
|
419
|
+
const targetDate = newActiveInput === "end" ? this.endDate : this.startDate;
|
|
420
|
+
if (targetDate) {
|
|
421
|
+
this.leftDate = new Date(targetDate);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
this.emit("sl-focus");
|
|
425
|
+
}
|
|
426
|
+
isValidFormat(value) {
|
|
427
|
+
if (this.type === "date") {
|
|
428
|
+
return /^\d{4}[-./]\d{2}[-./]\d{2}$/.test(value);
|
|
429
|
+
}
|
|
430
|
+
if (this.type === "datetime") {
|
|
431
|
+
return /^\d{4}[-./]\d{2}[-./]\d{2}\s+\d{2}:\d{2}:\d{2}$/.test(value);
|
|
432
|
+
}
|
|
433
|
+
return true;
|
|
434
|
+
}
|
|
435
|
+
handleInput(event) {
|
|
436
|
+
const target = event.target;
|
|
437
|
+
const selectionSide = target.classList.contains("daterangepicker__control--start") ? "start" : "end";
|
|
438
|
+
if (!this.open) {
|
|
439
|
+
this.open = !this.open;
|
|
440
|
+
}
|
|
441
|
+
if (selectionSide === "start") {
|
|
442
|
+
this.startValue = target.value;
|
|
443
|
+
} else {
|
|
444
|
+
this.endValue = target.value;
|
|
445
|
+
}
|
|
446
|
+
const inputValue = target.value.trim();
|
|
447
|
+
if (inputValue === "" || this.isValidFormat(inputValue)) {
|
|
448
|
+
const parsed = this.parseDateInput(target.value);
|
|
449
|
+
if (selectionSide === "start") {
|
|
450
|
+
this.startDate = parsed;
|
|
451
|
+
} else {
|
|
452
|
+
this.endDate = parsed;
|
|
453
|
+
}
|
|
454
|
+
if (parsed) {
|
|
455
|
+
const isInvalidRange = selectionSide === "start" && this.endDate && parsed > this.endDate || selectionSide === "end" && this.startDate && parsed < this.startDate;
|
|
456
|
+
if (isInvalidRange) {
|
|
457
|
+
this.syncCalendarsToInputDate(parsed, selectionSide);
|
|
458
|
+
} else {
|
|
459
|
+
this.syncCalendarsToValue();
|
|
460
|
+
if (this.type === "datetime") {
|
|
461
|
+
this.leftDate = new Date(parsed);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
this.updateValueTuple();
|
|
466
|
+
}
|
|
467
|
+
this.formControlController.updateValidity();
|
|
468
|
+
this.emit("sl-input");
|
|
469
|
+
}
|
|
470
|
+
handleChange() {
|
|
471
|
+
this.emit("sl-change");
|
|
472
|
+
}
|
|
473
|
+
handleInputKeyDown(event) {
|
|
474
|
+
if (event.key === "Escape" && this.open) {
|
|
475
|
+
event.stopPropagation();
|
|
476
|
+
this.revertToLastValid();
|
|
477
|
+
this.open = false;
|
|
478
|
+
return;
|
|
479
|
+
}
|
|
480
|
+
if (event.key === "Enter") {
|
|
481
|
+
if (event.isComposing) return;
|
|
482
|
+
const target = event.target;
|
|
483
|
+
const selectionSide = target === this.startInput ? "start" : target === this.endInput ? "end" : null;
|
|
484
|
+
if (!selectionSide) return;
|
|
485
|
+
const parsedDate = this.parseDateInput(target.value);
|
|
486
|
+
if (!parsedDate) return;
|
|
487
|
+
this.activeInput = selectionSide;
|
|
488
|
+
event.preventDefault();
|
|
489
|
+
event.stopPropagation();
|
|
490
|
+
const isReverseRange = selectionSide === "start" && this.endDate && parsedDate > this.endDate || selectionSide === "end" && this.startDate && parsedDate < this.startDate;
|
|
491
|
+
if (isReverseRange) {
|
|
492
|
+
if (selectionSide === "start") {
|
|
493
|
+
this.applyRange(parsedDate, null);
|
|
494
|
+
this.activeInput = "end";
|
|
495
|
+
this.endInput.focus();
|
|
496
|
+
} else {
|
|
497
|
+
this.applyRange(null, parsedDate);
|
|
498
|
+
this.activeInput = "start";
|
|
499
|
+
this.startInput.focus();
|
|
500
|
+
}
|
|
501
|
+
this.syncCalendarsToInputDate(parsedDate, selectionSide);
|
|
502
|
+
if (this.type === "datetime") {
|
|
503
|
+
this.enableHoverRange = true;
|
|
504
|
+
}
|
|
505
|
+
this.emit("sl-input");
|
|
506
|
+
return;
|
|
507
|
+
}
|
|
508
|
+
if (this.isDateDisabled(parsedDate)) return;
|
|
509
|
+
this.applySelectedDate(parsedDate);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
handleInvalid(event) {
|
|
513
|
+
this.formControlController.setValidity(false);
|
|
514
|
+
this.formControlController.emitInvalidEvent(event);
|
|
515
|
+
}
|
|
516
|
+
handleClearClick(event) {
|
|
517
|
+
event.preventDefault();
|
|
518
|
+
event.stopPropagation();
|
|
519
|
+
this.applyRange(null, null);
|
|
520
|
+
this.lastValidValue = [null, null];
|
|
521
|
+
this.open = false;
|
|
522
|
+
this.enableHoverRange = false;
|
|
523
|
+
this.emit("sl-clear");
|
|
524
|
+
this.emit("sl-input");
|
|
525
|
+
this.emit("sl-change");
|
|
526
|
+
}
|
|
527
|
+
handleBaseClick(event) {
|
|
528
|
+
if (this.disabled || this.readonly) return;
|
|
529
|
+
const path = event.composedPath();
|
|
530
|
+
const isInput = path.some((el) => el instanceof HTMLInputElement);
|
|
531
|
+
const isClear = path.some((el) => {
|
|
532
|
+
var _a;
|
|
533
|
+
return (_a = el.classList) == null ? void 0 : _a.contains("daterangepicker__clear");
|
|
534
|
+
});
|
|
535
|
+
if (isClear) return;
|
|
536
|
+
this.open = true;
|
|
537
|
+
if (!isInput) {
|
|
538
|
+
this.startInput.focus();
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* 更新日期范围的通用逻辑
|
|
543
|
+
* @param date 新选中的日期
|
|
544
|
+
* @param side 当前操作的是起点还是终点
|
|
545
|
+
*/
|
|
546
|
+
updateDateRange(date, side) {
|
|
547
|
+
let nextStart = this.startDate;
|
|
548
|
+
let nextEnd = this.endDate;
|
|
549
|
+
let nextActiveInput = side === "start" ? "end" : "start";
|
|
550
|
+
let shouldClose = false;
|
|
551
|
+
if (side === "start") {
|
|
552
|
+
if (nextEnd && date > nextEnd) {
|
|
553
|
+
nextStart = date;
|
|
554
|
+
nextEnd = null;
|
|
555
|
+
nextActiveInput = "end";
|
|
556
|
+
} else {
|
|
557
|
+
nextStart = date;
|
|
558
|
+
if (nextEnd) {
|
|
559
|
+
shouldClose = true;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
} else {
|
|
563
|
+
if (nextStart && date < nextStart) {
|
|
564
|
+
nextStart = null;
|
|
565
|
+
nextEnd = date;
|
|
566
|
+
nextActiveInput = "start";
|
|
567
|
+
} else {
|
|
568
|
+
nextEnd = date;
|
|
569
|
+
if (nextStart) {
|
|
570
|
+
shouldClose = true;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
this.applyRange(nextStart, nextEnd);
|
|
575
|
+
return { nextActiveInput, shouldClose };
|
|
576
|
+
}
|
|
577
|
+
applySelectedDate(selectedDate) {
|
|
578
|
+
const selectionSide = this.activeInput;
|
|
579
|
+
if (this.rangeEditTwoStep) {
|
|
580
|
+
if (!this.rangeEditFirstSide) {
|
|
581
|
+
this.rangeEditFirstSide = selectionSide;
|
|
582
|
+
this.rangeEditExpectedSide = selectionSide === "start" ? "end" : "start";
|
|
583
|
+
const { shouldClose: shouldClose3 } = this.updateDateRange(selectedDate, selectionSide);
|
|
584
|
+
if (shouldClose3 && this.hasFocusSwitched) {
|
|
585
|
+
this.open = false;
|
|
586
|
+
this.enableHoverRange = false;
|
|
587
|
+
this.emit("sl-change");
|
|
588
|
+
this.emit("sl-input");
|
|
589
|
+
return;
|
|
590
|
+
}
|
|
591
|
+
const otherSide = selectionSide === "start" ? "end" : "start";
|
|
592
|
+
this.activeInput = otherSide;
|
|
593
|
+
if (otherSide === "start") {
|
|
594
|
+
this.startInput.focus();
|
|
595
|
+
} else {
|
|
596
|
+
this.endInput.focus();
|
|
597
|
+
}
|
|
598
|
+
if (this.type === "datetime") {
|
|
599
|
+
this.enableHoverRange = true;
|
|
600
|
+
const targetDate = otherSide === "end" ? this.endDate : this.startDate;
|
|
601
|
+
if (targetDate) {
|
|
602
|
+
this.leftDate = new Date(targetDate);
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
this.emit("sl-input");
|
|
606
|
+
return;
|
|
607
|
+
}
|
|
608
|
+
const { shouldClose: shouldClose2 } = this.updateDateRange(selectedDate, selectionSide);
|
|
609
|
+
if (shouldClose2) {
|
|
610
|
+
const isExpectedSide = this.rangeEditExpectedSide && selectionSide === this.rangeEditExpectedSide;
|
|
611
|
+
if (isExpectedSide || this.hasFocusSwitched) {
|
|
612
|
+
this.open = false;
|
|
613
|
+
this.enableHoverRange = false;
|
|
614
|
+
this.emit("sl-change");
|
|
615
|
+
this.emit("sl-input");
|
|
616
|
+
return;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
const nextSide = selectionSide === "start" ? "end" : "start";
|
|
620
|
+
this.activeInput = nextSide;
|
|
621
|
+
if (nextSide === "start") {
|
|
622
|
+
this.startInput.focus();
|
|
623
|
+
} else {
|
|
624
|
+
this.endInput.focus();
|
|
625
|
+
}
|
|
626
|
+
if (this.type === "datetime") {
|
|
627
|
+
const targetDate = nextSide === "end" ? this.endDate : this.startDate;
|
|
628
|
+
if (targetDate) {
|
|
629
|
+
this.leftDate = new Date(targetDate);
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
this.emit("sl-input");
|
|
633
|
+
return;
|
|
634
|
+
}
|
|
635
|
+
if (!this.startDate && !this.endDate) {
|
|
636
|
+
if (selectionSide === "start") {
|
|
637
|
+
this.applyRange(selectedDate, null);
|
|
638
|
+
this.activeInput = "end";
|
|
639
|
+
this.endInput.focus();
|
|
640
|
+
} else {
|
|
641
|
+
this.applyRange(null, selectedDate);
|
|
642
|
+
this.activeInput = "start";
|
|
643
|
+
this.startInput.focus();
|
|
644
|
+
}
|
|
645
|
+
if (this.type === "datetime") {
|
|
646
|
+
this.enableHoverRange = true;
|
|
647
|
+
}
|
|
648
|
+
this.emit("sl-input");
|
|
649
|
+
return;
|
|
650
|
+
}
|
|
651
|
+
const { nextActiveInput, shouldClose } = this.updateDateRange(selectedDate, selectionSide);
|
|
652
|
+
if (shouldClose) {
|
|
653
|
+
this.open = false;
|
|
654
|
+
this.enableHoverRange = false;
|
|
655
|
+
this.emit("sl-change");
|
|
656
|
+
} else {
|
|
657
|
+
this.activeInput = nextActiveInput;
|
|
658
|
+
if (nextActiveInput === "start") {
|
|
659
|
+
this.startInput.focus();
|
|
660
|
+
} else {
|
|
661
|
+
this.endInput.focus();
|
|
662
|
+
}
|
|
663
|
+
if (this.type === "datetime") {
|
|
664
|
+
this.enableHoverRange = true;
|
|
665
|
+
const targetDate = nextActiveInput === "end" ? this.endDate : this.startDate;
|
|
666
|
+
if (targetDate) {
|
|
667
|
+
this.leftDate = new Date(targetDate);
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
this.emit("sl-input");
|
|
672
|
+
}
|
|
673
|
+
handleDateSelect(event) {
|
|
674
|
+
if (this.disabled || this.readonly) return;
|
|
675
|
+
this.applySelectedDate(event.detail.date);
|
|
676
|
+
}
|
|
677
|
+
handleDateChange(event) {
|
|
678
|
+
if (this.disabled || this.readonly) return;
|
|
679
|
+
if (this.type !== "datetime") return;
|
|
680
|
+
const selectedDate = event.detail.date;
|
|
681
|
+
this.updateDateRange(selectedDate, this.activeInput);
|
|
682
|
+
this.leftDate = new Date(selectedDate);
|
|
683
|
+
this.emit("sl-input");
|
|
684
|
+
}
|
|
685
|
+
handleReadonlyChange() {
|
|
686
|
+
if (this.readonly) {
|
|
687
|
+
this.open = false;
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
addMonths(date, delta, day = 1) {
|
|
691
|
+
const d = new Date(date);
|
|
692
|
+
d.setMonth(d.getMonth() + delta, day);
|
|
693
|
+
d.setHours(0, 0, 0, 0);
|
|
694
|
+
return d;
|
|
695
|
+
}
|
|
696
|
+
syncCalendarsToInputDate(date, side = "start") {
|
|
697
|
+
if (this.type === "datetime") {
|
|
698
|
+
this.leftDate = new Date(date);
|
|
699
|
+
this.rightDate = new Date(date);
|
|
700
|
+
return;
|
|
701
|
+
}
|
|
702
|
+
if (side === "end") {
|
|
703
|
+
this.rightDate = new Date(date);
|
|
704
|
+
this.leftDate = this.addMonths(date, -1, 1);
|
|
705
|
+
} else {
|
|
706
|
+
this.leftDate = new Date(date);
|
|
707
|
+
this.rightDate = this.addMonths(date, 1, 1);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
async handleCalendarViewChange(event) {
|
|
711
|
+
const view = event.detail.view;
|
|
712
|
+
const initialCalendars = Array.from(this.calendars);
|
|
713
|
+
const target = event.currentTarget;
|
|
714
|
+
let isLeftTarget = false;
|
|
715
|
+
let isRightTarget = false;
|
|
716
|
+
if (this.type === "datetime") {
|
|
717
|
+
isLeftTarget = true;
|
|
718
|
+
} else if (this.calendarView !== "days") {
|
|
719
|
+
if (this.calendarViewAnchor === "right") {
|
|
720
|
+
isRightTarget = true;
|
|
721
|
+
} else {
|
|
722
|
+
isLeftTarget = true;
|
|
723
|
+
}
|
|
724
|
+
} else {
|
|
725
|
+
const rightCalendar = initialCalendars[1];
|
|
726
|
+
if (rightCalendar && target === rightCalendar) {
|
|
727
|
+
isRightTarget = true;
|
|
728
|
+
} else {
|
|
729
|
+
isLeftTarget = true;
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
if (view === "days" || view === "months" || view === "years") {
|
|
733
|
+
this.calendarView = view;
|
|
734
|
+
}
|
|
735
|
+
if (view === "months" || view === "years") {
|
|
736
|
+
this.calendarViewAnchor = isRightTarget ? "right" : "left";
|
|
737
|
+
}
|
|
738
|
+
const newDate = event.detail.date;
|
|
739
|
+
if (!newDate) {
|
|
740
|
+
await this.updateComplete;
|
|
741
|
+
const calendars = Array.from(this.calendars);
|
|
742
|
+
if (view === "months" || view === "years") {
|
|
743
|
+
if (calendars.length > 0) {
|
|
744
|
+
calendars[0].setView(view);
|
|
745
|
+
}
|
|
746
|
+
} else if (view === "days") {
|
|
747
|
+
if (calendars.length > 0) calendars[0].setView("days");
|
|
748
|
+
if (calendars.length > 1) calendars[1].setView("days");
|
|
749
|
+
}
|
|
750
|
+
return;
|
|
751
|
+
}
|
|
752
|
+
if (isLeftTarget) {
|
|
753
|
+
this.leftDate = new Date(newDate);
|
|
754
|
+
const leftMonth = this.leftDate.getFullYear() * 12 + this.leftDate.getMonth();
|
|
755
|
+
const rightMonth = this.rightDate.getFullYear() * 12 + this.rightDate.getMonth();
|
|
756
|
+
if (leftMonth >= rightMonth) {
|
|
757
|
+
this.rightDate = this.addMonths(this.leftDate, 1, 1);
|
|
758
|
+
}
|
|
759
|
+
} else {
|
|
760
|
+
this.rightDate = new Date(newDate);
|
|
761
|
+
const rightMonth = this.rightDate.getFullYear() * 12 + this.rightDate.getMonth();
|
|
762
|
+
const leftDate = this.leftDate;
|
|
763
|
+
const leftMonth = leftDate.getFullYear() * 12 + leftDate.getMonth();
|
|
764
|
+
if (rightMonth <= leftMonth) {
|
|
765
|
+
this.leftDate = this.addMonths(this.rightDate, -1, 1);
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
isDateDisabled(date) {
|
|
770
|
+
const minDate = this.min ? parseDatetime(this.min, this.type) : null;
|
|
771
|
+
const maxDate = this.max ? parseDatetime(this.max, this.type) : null;
|
|
772
|
+
if (minDate && date < minDate || maxDate && date > maxDate) {
|
|
773
|
+
return true;
|
|
774
|
+
}
|
|
775
|
+
if (this.startDate && this.endDate && !this.hasFocusSwitched) {
|
|
776
|
+
return false;
|
|
777
|
+
}
|
|
778
|
+
const normalizeToDay = (d) => {
|
|
779
|
+
const n = new Date(d);
|
|
780
|
+
n.setHours(0, 0, 0, 0);
|
|
781
|
+
return n;
|
|
782
|
+
};
|
|
783
|
+
if (this.activeInput === "start" && this.endDate) {
|
|
784
|
+
return date > normalizeToDay(this.endDate);
|
|
785
|
+
}
|
|
786
|
+
if (this.activeInput === "end" && this.startDate) {
|
|
787
|
+
return date < normalizeToDay(this.startDate);
|
|
788
|
+
}
|
|
789
|
+
return false;
|
|
790
|
+
}
|
|
791
|
+
getCalendarRange() {
|
|
792
|
+
const start = this.startDate;
|
|
793
|
+
const end = this.endDate;
|
|
794
|
+
if (start && end && start.getTime() > end.getTime()) {
|
|
795
|
+
if (this.activeInput === "end") {
|
|
796
|
+
return [null, end];
|
|
797
|
+
}
|
|
798
|
+
return [start, null];
|
|
799
|
+
}
|
|
800
|
+
return [start, end];
|
|
801
|
+
}
|
|
802
|
+
normalizeCalendarDate(date) {
|
|
803
|
+
if (!date) return null;
|
|
804
|
+
const normalized = new Date(date);
|
|
805
|
+
normalized.setHours(0, 0, 0, 0);
|
|
806
|
+
return normalized;
|
|
807
|
+
}
|
|
808
|
+
// ─── Mobile-specific methods ───
|
|
809
|
+
isMobileDateDisabled(date) {
|
|
810
|
+
const minDate = this.min ? parseDatetime(this.min, this.type) : null;
|
|
811
|
+
const maxDate = this.max ? parseDatetime(this.max, this.type) : null;
|
|
812
|
+
if (minDate && date < minDate || maxDate && date > maxDate) return true;
|
|
813
|
+
if (!this.mobileInteracted) return false;
|
|
814
|
+
if (this.activeInput === "start" && this.endDate) {
|
|
815
|
+
return date > this.endDate;
|
|
816
|
+
}
|
|
817
|
+
if (this.activeInput === "end" && this.startDate) {
|
|
818
|
+
return date < this.startDate;
|
|
819
|
+
}
|
|
820
|
+
return false;
|
|
821
|
+
}
|
|
822
|
+
handleMobileCancel() {
|
|
823
|
+
this.open = false;
|
|
824
|
+
this.applyRange(this.mobileOpenSnapshot[0], this.mobileOpenSnapshot[1]);
|
|
825
|
+
this.lastValidValue = [this.mobileOpenSnapshot[0], this.mobileOpenSnapshot[1]];
|
|
826
|
+
}
|
|
827
|
+
handleMobileClear() {
|
|
828
|
+
this.applyRange(null, null);
|
|
829
|
+
this.lastValidValue = [null, null];
|
|
830
|
+
this.open = false;
|
|
831
|
+
this.emit("sl-clear");
|
|
832
|
+
this.emit("sl-input");
|
|
833
|
+
this.emit("sl-change");
|
|
834
|
+
}
|
|
835
|
+
handleMobileConfirm() {
|
|
836
|
+
this.open = false;
|
|
837
|
+
this.lastValidValue = [this.startDate, this.endDate];
|
|
838
|
+
this.emit("sl-input");
|
|
839
|
+
this.emit("sl-change");
|
|
840
|
+
}
|
|
841
|
+
handleMobileDateSelect(event) {
|
|
842
|
+
if (this.disabled || this.readonly) return;
|
|
843
|
+
this.mobileInteracted = true;
|
|
844
|
+
const selectedDate = event.detail.date;
|
|
845
|
+
if (this.activeInput === "start") {
|
|
846
|
+
if (this.endDate && selectedDate > this.endDate) {
|
|
847
|
+
this.applyRange(selectedDate, null);
|
|
848
|
+
this.activeInput = "end";
|
|
849
|
+
} else if (!this.endDate) {
|
|
850
|
+
this.applyRange(selectedDate, null);
|
|
851
|
+
this.activeInput = "end";
|
|
852
|
+
} else {
|
|
853
|
+
this.applyRange(selectedDate, this.endDate);
|
|
854
|
+
}
|
|
855
|
+
} else {
|
|
856
|
+
if (this.startDate && selectedDate < this.startDate) {
|
|
857
|
+
this.applyRange(null, selectedDate);
|
|
858
|
+
this.activeInput = "start";
|
|
859
|
+
} else if (!this.startDate) {
|
|
860
|
+
this.applyRange(null, selectedDate);
|
|
861
|
+
this.activeInput = "start";
|
|
862
|
+
} else {
|
|
863
|
+
this.applyRange(this.startDate, selectedDate);
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
this.emit("sl-input");
|
|
867
|
+
}
|
|
868
|
+
syncMobileCalendarToActive() {
|
|
869
|
+
const targetDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
870
|
+
if (targetDate) {
|
|
871
|
+
this.leftDate = new Date(targetDate);
|
|
872
|
+
this.updateComplete.then(() => {
|
|
873
|
+
var _a;
|
|
874
|
+
const cal = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(
|
|
875
|
+
".daterangepicker-mobile__calendar sl-calendar"
|
|
876
|
+
);
|
|
877
|
+
if (cal) cal.setCurrentDate(this.leftDate);
|
|
878
|
+
});
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
handleMobileFooterClick(side) {
|
|
882
|
+
if (this.activeInput === side) return;
|
|
883
|
+
this.mobileInteracted = true;
|
|
884
|
+
this.activeInput = side;
|
|
885
|
+
this.syncMobileCalendarToActive();
|
|
886
|
+
}
|
|
887
|
+
handleMobileViewChange(event) {
|
|
888
|
+
const view = event.detail.view;
|
|
889
|
+
if (view === "years" || view === "months") {
|
|
890
|
+
event.preventDefault();
|
|
891
|
+
this.mobilePickerView = "wheel";
|
|
892
|
+
let currentDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
893
|
+
if (!currentDate) currentDate = /* @__PURE__ */ new Date();
|
|
894
|
+
this.wheelDate = new Date(currentDate);
|
|
895
|
+
this.wheelDate.setDate(1);
|
|
896
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
897
|
+
const minYear = minDate.getFullYear();
|
|
898
|
+
const yearIndex = this.wheelDate.getFullYear() - minYear;
|
|
899
|
+
if (yearIndex >= 0) {
|
|
900
|
+
this.yearScrollTop = yearIndex * 40;
|
|
901
|
+
}
|
|
902
|
+
this.updateComplete.then(() => this.scrollToWheelDate());
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
scrollToWheelDate() {
|
|
906
|
+
if (this.yearColumn) {
|
|
907
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
908
|
+
const minYear = minDate.getFullYear();
|
|
909
|
+
const yearIndex = this.wheelDate.getFullYear() - minYear;
|
|
910
|
+
if (yearIndex >= 0) {
|
|
911
|
+
const scrollTop = yearIndex * 40;
|
|
912
|
+
this.yearColumn.scrollTop = scrollTop;
|
|
913
|
+
this.yearScrollTop = scrollTop;
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
if (this.monthColumn) {
|
|
917
|
+
const monthIndex = this.wheelDate.getMonth();
|
|
918
|
+
this.monthColumn.scrollTop = (108 + monthIndex) * 40;
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
handleWheelScroll(event, type) {
|
|
922
|
+
const target = event.target;
|
|
923
|
+
const itemHeight = 40;
|
|
924
|
+
const scrollTop = target.scrollTop;
|
|
925
|
+
const index = Math.round(scrollTop / itemHeight);
|
|
926
|
+
if (type === "year") {
|
|
927
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
928
|
+
const minYear = minDate.getFullYear();
|
|
929
|
+
const maxDate = parseDatetime(String(this.max)) || new Date(9999, 11, 31);
|
|
930
|
+
const maxYear = maxDate.getFullYear();
|
|
931
|
+
const year = Math.max(minYear, Math.min(maxYear, minYear + index));
|
|
932
|
+
if (year !== this.wheelDate.getFullYear()) {
|
|
933
|
+
this.wheelDate = new Date(this.wheelDate.setFullYear(year));
|
|
934
|
+
}
|
|
935
|
+
if (Math.abs(scrollTop - this.yearScrollTop) > 80) {
|
|
936
|
+
this.yearScrollTop = scrollTop;
|
|
937
|
+
}
|
|
938
|
+
} else {
|
|
939
|
+
const currentSet = Math.floor(index / 12);
|
|
940
|
+
const centerSet = 9;
|
|
941
|
+
if (Math.abs(currentSet - centerSet) > 5) {
|
|
942
|
+
const relativeMonthIndex = index % 12;
|
|
943
|
+
target.scrollTop = (centerSet * 12 + relativeMonthIndex) * itemHeight;
|
|
944
|
+
}
|
|
945
|
+
const newIndex = Math.round(target.scrollTop / itemHeight);
|
|
946
|
+
const monthIndex = newIndex % 12;
|
|
947
|
+
if (monthIndex !== this.wheelDate.getMonth()) {
|
|
948
|
+
this.wheelDate = new Date(this.wheelDate.setMonth(monthIndex));
|
|
949
|
+
this.requestUpdate();
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
async handleWheelConfirm() {
|
|
954
|
+
var _a;
|
|
955
|
+
const newDate = new Date(this.wheelDate);
|
|
956
|
+
this.mobilePickerView = "calendar";
|
|
957
|
+
await this.updateComplete;
|
|
958
|
+
this.leftDate = newDate;
|
|
959
|
+
const cal = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".daterangepicker-mobile__calendar sl-calendar");
|
|
960
|
+
if (cal) cal.setCurrentDate(newDate);
|
|
961
|
+
}
|
|
962
|
+
handleWheelCancel() {
|
|
963
|
+
this.mobilePickerView = "calendar";
|
|
964
|
+
}
|
|
965
|
+
renderMobileHeader() {
|
|
966
|
+
const hasAnyValue = !!(this.startDate || this.endDate);
|
|
967
|
+
const isConfirmDisabled = !(this.startDate && this.endDate);
|
|
968
|
+
return html`
|
|
969
|
+
<div class="daterangepicker-mobile__header">
|
|
970
|
+
<div class="daterangepicker-mobile__header-left">
|
|
971
|
+
<sl-button variant="text" @click=${this.handleMobileCancel}>${LOCALE.cancelText}</sl-button>
|
|
972
|
+
<sl-button variant="text" @click=${this.handleMobileClear} ?disabled=${!hasAnyValue}
|
|
973
|
+
>${LOCALE.clearText}</sl-button
|
|
974
|
+
>
|
|
975
|
+
</div>
|
|
976
|
+
<sl-button
|
|
977
|
+
class="daterangepicker-mobile__confirm-btn"
|
|
978
|
+
variant="text"
|
|
979
|
+
@click=${this.handleMobileConfirm}
|
|
980
|
+
?disabled=${isConfirmDisabled}
|
|
981
|
+
>${LOCALE.confirmText}</sl-button
|
|
982
|
+
>
|
|
983
|
+
</div>
|
|
984
|
+
`;
|
|
985
|
+
}
|
|
986
|
+
renderMobileFooter() {
|
|
987
|
+
const startText = this.startDate ? formatDatetime(this.startDate, "date") : this.startPlaceholder;
|
|
988
|
+
const endText = this.endDate ? formatDatetime(this.endDate, "date") : this.endPlaceholder;
|
|
989
|
+
return html`
|
|
990
|
+
<div class="daterangepicker-mobile__footer">
|
|
991
|
+
<div
|
|
992
|
+
class=${classMap({
|
|
993
|
+
"daterangepicker-mobile__footer-item": true,
|
|
994
|
+
"daterangepicker-mobile__footer-item--active": this.activeInput === "start",
|
|
995
|
+
"daterangepicker-mobile__footer-item--empty": !this.startDate
|
|
996
|
+
})}
|
|
997
|
+
@click=${() => this.handleMobileFooterClick("start")}
|
|
998
|
+
>
|
|
999
|
+
${startText}
|
|
1000
|
+
</div>
|
|
1001
|
+
<span class="daterangepicker-mobile__footer-separator">~</span>
|
|
1002
|
+
<div
|
|
1003
|
+
class=${classMap({
|
|
1004
|
+
"daterangepicker-mobile__footer-item": true,
|
|
1005
|
+
"daterangepicker-mobile__footer-item--active": this.activeInput === "end",
|
|
1006
|
+
"daterangepicker-mobile__footer-item--empty": !this.endDate
|
|
1007
|
+
})}
|
|
1008
|
+
@click=${() => this.handleMobileFooterClick("end")}
|
|
1009
|
+
>
|
|
1010
|
+
${endText}
|
|
1011
|
+
</div>
|
|
1012
|
+
</div>
|
|
1013
|
+
`;
|
|
1014
|
+
}
|
|
1015
|
+
renderMobileWheelPicker() {
|
|
1016
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
1017
|
+
const maxDate = parseDatetime(String(this.max)) || new Date(9999, 11, 31);
|
|
1018
|
+
const minYear = minDate.getFullYear();
|
|
1019
|
+
const maxYear = maxDate.getFullYear();
|
|
1020
|
+
const totalYears = maxYear - minYear + 1;
|
|
1021
|
+
const itemHeight = 40;
|
|
1022
|
+
const buffer = 50;
|
|
1023
|
+
const scrollTop = this.yearScrollTop;
|
|
1024
|
+
const startIndex = Math.max(0, Math.floor(scrollTop / itemHeight) - buffer);
|
|
1025
|
+
const endIndex = Math.min(totalYears, Math.ceil((scrollTop + 500) / itemHeight) + buffer);
|
|
1026
|
+
const visibleYears = [];
|
|
1027
|
+
for (let i = startIndex; i < endIndex; i++) {
|
|
1028
|
+
visibleYears.push({ year: minYear + i });
|
|
1029
|
+
}
|
|
1030
|
+
const months = Array.from({ length: 12 }, (_, i) => i + 1);
|
|
1031
|
+
const displayMonths = Array(19).fill(months).flat();
|
|
1032
|
+
const currentYear = this.wheelDate.getFullYear();
|
|
1033
|
+
const currentMonth = this.wheelDate.getMonth() + 1;
|
|
1034
|
+
return html`
|
|
1035
|
+
<div class="daterangepicker-mobile__wheel-picker">
|
|
1036
|
+
<div class="daterangepicker-mobile__wheel-header">
|
|
1037
|
+
<sl-button variant="text" @click=${this.handleWheelCancel}>${LOCALE.cancelText}</sl-button>
|
|
1038
|
+
<sl-button variant="text" @click=${this.handleWheelConfirm}>${LOCALE.confirmText}</sl-button>
|
|
1039
|
+
</div>
|
|
1040
|
+
<div class="daterangepicker-mobile__wheel-current">
|
|
1041
|
+
${currentYear}${LOCALE.year} ${currentMonth}${LOCALE.month}
|
|
1042
|
+
</div>
|
|
1043
|
+
<div class="daterangepicker-mobile__wheel-labels">
|
|
1044
|
+
<div>${LOCALE.year}</div>
|
|
1045
|
+
<div>${LOCALE.month}</div>
|
|
1046
|
+
</div>
|
|
1047
|
+
<div class="daterangepicker-mobile__wheel-body">
|
|
1048
|
+
<div class="daterangepicker-mobile__wheel-translate-top"></div>
|
|
1049
|
+
<div class="daterangepicker-mobile__wheel-highlight"></div>
|
|
1050
|
+
<div class="daterangepicker-mobile__wheel-translate-bottom"></div>
|
|
1051
|
+
<div
|
|
1052
|
+
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--year"
|
|
1053
|
+
@scroll=${(e) => this.handleWheelScroll(e, "year")}
|
|
1054
|
+
>
|
|
1055
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1056
|
+
<div style="height: ${startIndex * itemHeight}px; flex-shrink: 0;"></div>
|
|
1057
|
+
${visibleYears.map(
|
|
1058
|
+
(item) => html`
|
|
1059
|
+
<div
|
|
1060
|
+
class="daterangepicker-mobile__wheel-item ${classMap({
|
|
1061
|
+
"daterangepicker-mobile__wheel-item--selected": item.year === currentYear
|
|
1062
|
+
})}"
|
|
1063
|
+
>
|
|
1064
|
+
${item.year}
|
|
1065
|
+
</div>
|
|
1066
|
+
`
|
|
1067
|
+
)}
|
|
1068
|
+
<div style="height: ${(totalYears - endIndex) * itemHeight}px; flex-shrink: 0;"></div>
|
|
1069
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1070
|
+
</div>
|
|
1071
|
+
<div
|
|
1072
|
+
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--month"
|
|
1073
|
+
@scroll=${(e) => this.handleWheelScroll(e, "month")}
|
|
1074
|
+
>
|
|
1075
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1076
|
+
${displayMonths.map(
|
|
1077
|
+
(month, index) => html`
|
|
1078
|
+
<div
|
|
1079
|
+
class="daterangepicker-mobile__wheel-item ${classMap({
|
|
1080
|
+
"daterangepicker-mobile__wheel-item--selected": index % 12 + 1 === currentMonth
|
|
1081
|
+
})}"
|
|
1082
|
+
>
|
|
1083
|
+
${month}
|
|
1084
|
+
</div>
|
|
1085
|
+
`
|
|
1086
|
+
)}
|
|
1087
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1088
|
+
</div>
|
|
1089
|
+
</div>
|
|
1090
|
+
</div>
|
|
1091
|
+
`;
|
|
1092
|
+
}
|
|
1093
|
+
renderMobile() {
|
|
1094
|
+
const hasLabel = this.label ? true : !!this.hasSlotController.test("label");
|
|
1095
|
+
const hasHelpText = this.helpText ? true : !!this.hasSlotController.test("help-text");
|
|
1096
|
+
const [calendarStartDate, calendarEndDate] = this.getCalendarRange();
|
|
1097
|
+
const displayStartDate = this.normalizeCalendarDate(calendarStartDate);
|
|
1098
|
+
const displayEndDate = this.normalizeCalendarDate(calendarEndDate);
|
|
1099
|
+
return html`
|
|
1100
|
+
<div
|
|
1101
|
+
part="form-control"
|
|
1102
|
+
class=${classMap({
|
|
1103
|
+
"form-control": true,
|
|
1104
|
+
"form-control--small": this.size === "small",
|
|
1105
|
+
"form-control--medium": this.size === "medium",
|
|
1106
|
+
"form-control--large": this.size === "large",
|
|
1107
|
+
"form-control--has-label": hasLabel,
|
|
1108
|
+
"form-control--has-help-text": hasHelpText
|
|
1109
|
+
})}
|
|
1110
|
+
>
|
|
1111
|
+
<label
|
|
1112
|
+
part="form-control-label"
|
|
1113
|
+
class="form-control__label"
|
|
1114
|
+
for="start-input"
|
|
1115
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
1116
|
+
>
|
|
1117
|
+
<slot name="label">${this.label}</slot>
|
|
1118
|
+
</label>
|
|
1119
|
+
|
|
1120
|
+
<div part="form-control-input" class="form-control__input">
|
|
1121
|
+
<div
|
|
1122
|
+
slot="anchor"
|
|
1123
|
+
part="base"
|
|
1124
|
+
class=${classMap({
|
|
1125
|
+
daterangepicker: true,
|
|
1126
|
+
"daterangepicker--standard": !this.filled,
|
|
1127
|
+
"daterangepicker--filled": this.filled,
|
|
1128
|
+
"daterangepicker--pill": this.pill,
|
|
1129
|
+
"daterangepicker--disabled": this.disabled,
|
|
1130
|
+
"daterangepicker--focused": this.open,
|
|
1131
|
+
"daterangepicker--empty": !this.startValue && !this.endValue,
|
|
1132
|
+
"daterangepicker--small": this.size === "small",
|
|
1133
|
+
"daterangepicker--medium": this.size === "medium",
|
|
1134
|
+
"daterangepicker--large": this.size === "large"
|
|
1135
|
+
})}
|
|
1136
|
+
@click=${() => {
|
|
1137
|
+
if (!this.disabled && !this.readonly) {
|
|
1138
|
+
this.activeInput = "start";
|
|
1139
|
+
this.open = true;
|
|
1140
|
+
}
|
|
1141
|
+
}}
|
|
1142
|
+
>
|
|
1143
|
+
<span class="daterangepicker__control-wrapper">
|
|
1144
|
+
<span
|
|
1145
|
+
class="daterangepicker__control daterangepicker__control--start"
|
|
1146
|
+
style="padding: 0 var(--sl-spacing-x-small); display: flex; align-items: center; color: ${this.startValue ? "var(--sl-input-color)" : "var(--sl-input-placeholder-color)"}"
|
|
1147
|
+
>${this.startValue || this.startPlaceholder}</span
|
|
1148
|
+
>
|
|
1149
|
+
</span>
|
|
1150
|
+
|
|
1151
|
+
<span part="separator" class="daterangepicker__separator">~</span>
|
|
1152
|
+
|
|
1153
|
+
<span class="daterangepicker__control-wrapper">
|
|
1154
|
+
<span
|
|
1155
|
+
class="daterangepicker__control daterangepicker__control--end"
|
|
1156
|
+
style="padding: 0 var(--sl-spacing-x-small); display: flex; align-items: center; color: ${this.endValue ? "var(--sl-input-color)" : "var(--sl-input-placeholder-color)"}"
|
|
1157
|
+
>${this.endValue || this.endPlaceholder}</span
|
|
1158
|
+
>
|
|
1159
|
+
</span>
|
|
1160
|
+
|
|
1161
|
+
<div part="suffix" class="daterangepicker__suffix">
|
|
1162
|
+
<slot name="suffix">
|
|
1163
|
+
<sl-icon name="calendar4"></sl-icon>
|
|
1164
|
+
</slot>
|
|
1165
|
+
</div>
|
|
1166
|
+
</div>
|
|
1167
|
+
|
|
1168
|
+
<sl-drawer
|
|
1169
|
+
class="daterangepicker-mobile__drawer"
|
|
1170
|
+
placement="bottom"
|
|
1171
|
+
?open=${this.open}
|
|
1172
|
+
no-header
|
|
1173
|
+
@sl-request-close=${(event) => {
|
|
1174
|
+
if (event.detail.source === "overlay" || event.detail.source === "keyboard") {
|
|
1175
|
+
event.preventDefault();
|
|
1176
|
+
this.handleMobileCancel();
|
|
1177
|
+
}
|
|
1178
|
+
}}
|
|
1179
|
+
>
|
|
1180
|
+
${this.mobilePickerView === "wheel" ? this.renderMobileWheelPicker() : html`
|
|
1181
|
+
${this.renderMobileHeader()}
|
|
1182
|
+
<div class="daterangepicker-mobile__calendar">
|
|
1183
|
+
<sl-calendar
|
|
1184
|
+
.value=${""}
|
|
1185
|
+
type="date"
|
|
1186
|
+
mode="range"
|
|
1187
|
+
.startDate=${displayStartDate}
|
|
1188
|
+
.endDate=${displayEndDate}
|
|
1189
|
+
.activeInput=${this.activeInput}
|
|
1190
|
+
.min=${ifDefined(this.min)}
|
|
1191
|
+
.max=${ifDefined(this.max)}
|
|
1192
|
+
.currentDate=${this.leftDate}
|
|
1193
|
+
.syncViewWithValue=${false}
|
|
1194
|
+
.disabledDate=${(date) => this.isMobileDateDisabled(date)}
|
|
1195
|
+
@sl-date-select=${this.handleMobileDateSelect}
|
|
1196
|
+
@sl-view-change=${this.handleMobileViewChange}
|
|
1197
|
+
@click=${(event) => event.stopPropagation()}
|
|
1198
|
+
></sl-calendar>
|
|
1199
|
+
</div>
|
|
1200
|
+
${this.renderMobileFooter()}
|
|
1201
|
+
`}
|
|
1202
|
+
</sl-drawer>
|
|
1203
|
+
</div>
|
|
1204
|
+
|
|
1205
|
+
<div
|
|
1206
|
+
part="form-control-help-text"
|
|
1207
|
+
class="form-control__help-text"
|
|
1208
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
1209
|
+
>
|
|
1210
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
1211
|
+
</div>
|
|
1212
|
+
</div>
|
|
1213
|
+
`;
|
|
1214
|
+
}
|
|
1215
|
+
render() {
|
|
1216
|
+
if (this.isMobile) {
|
|
1217
|
+
return this.renderMobile();
|
|
1218
|
+
}
|
|
1219
|
+
const hasLabel = this.label ? true : !!this.hasSlotController.test("label");
|
|
1220
|
+
const hasHelpText = this.helpText ? true : !!this.hasSlotController.test("help-text");
|
|
1221
|
+
const isClearable = this.clearable && (this.startValue || this.endValue) && !this.disabled && !this.readonly && (this.hasFocus || this.isHovered);
|
|
1222
|
+
const showDualCalendars = this.calendarView === "days" && this.type !== "datetime";
|
|
1223
|
+
const singleCalendarIsRight = !showDualCalendars && this.calendarViewAnchor === "right";
|
|
1224
|
+
const [calendarStartDate, calendarEndDate] = this.getCalendarRange();
|
|
1225
|
+
const displayStartDate = this.type === "datetime" ? this.normalizeCalendarDate(calendarStartDate) : calendarStartDate;
|
|
1226
|
+
const displayEndDate = this.type === "datetime" ? this.normalizeCalendarDate(calendarEndDate) : calendarEndDate;
|
|
1227
|
+
const effectiveHoverDate = this.type === "datetime" ? this.enableHoverRange ? this.normalizeCalendarDate(this.hoverDate) : null : this.hoverDate;
|
|
1228
|
+
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;
|
|
1229
|
+
return html`
|
|
1230
|
+
<div
|
|
1231
|
+
part="form-control"
|
|
1232
|
+
class=${classMap({
|
|
1233
|
+
"form-control": true,
|
|
1234
|
+
"form-control--small": this.size === "small",
|
|
1235
|
+
"form-control--medium": this.size === "medium",
|
|
1236
|
+
"form-control--large": this.size === "large",
|
|
1237
|
+
"form-control--has-label": hasLabel,
|
|
1238
|
+
"form-control--has-help-text": hasHelpText
|
|
1239
|
+
})}
|
|
1240
|
+
>
|
|
1241
|
+
<label
|
|
1242
|
+
part="form-control-label"
|
|
1243
|
+
class="form-control__label"
|
|
1244
|
+
for="start-input"
|
|
1245
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
1246
|
+
>
|
|
1247
|
+
<slot name="label">${this.label}</slot>
|
|
1248
|
+
</label>
|
|
1249
|
+
|
|
1250
|
+
<div part="form-control-input" class="form-control__input">
|
|
1251
|
+
<sl-popup
|
|
1252
|
+
part="popup"
|
|
1253
|
+
class="daterangepicker__popup"
|
|
1254
|
+
exportparts="popup"
|
|
1255
|
+
?active=${this.open}
|
|
1256
|
+
placement="bottom-start"
|
|
1257
|
+
strategy="fixed"
|
|
1258
|
+
flip
|
|
1259
|
+
shift
|
|
1260
|
+
auto-size="vertical"
|
|
1261
|
+
auto-size-padding="10"
|
|
1262
|
+
>
|
|
1263
|
+
<div
|
|
1264
|
+
slot="anchor"
|
|
1265
|
+
part="base"
|
|
1266
|
+
class=${classMap({
|
|
1267
|
+
daterangepicker: true,
|
|
1268
|
+
"daterangepicker--standard": !this.filled,
|
|
1269
|
+
"daterangepicker--filled": this.filled,
|
|
1270
|
+
"daterangepicker--pill": this.pill,
|
|
1271
|
+
"daterangepicker--disabled": this.disabled,
|
|
1272
|
+
"daterangepicker--focused": this.hasFocus,
|
|
1273
|
+
"daterangepicker--empty": !this.startValue && !this.endValue,
|
|
1274
|
+
"daterangepicker--small": this.size === "small",
|
|
1275
|
+
"daterangepicker--medium": this.size === "medium",
|
|
1276
|
+
"daterangepicker--large": this.size === "large"
|
|
1277
|
+
})}
|
|
1278
|
+
@click=${this.handleBaseClick}
|
|
1279
|
+
@mouseenter=${() => this.isHovered = true}
|
|
1280
|
+
@mouseleave=${() => this.isHovered = false}
|
|
1281
|
+
>
|
|
1282
|
+
<span
|
|
1283
|
+
class=${classMap({
|
|
1284
|
+
"daterangepicker__control-wrapper": true,
|
|
1285
|
+
"daterangepicker__control-wrapper--active": this.activeInput === "start" && this.open
|
|
1286
|
+
})}
|
|
1287
|
+
>
|
|
1288
|
+
<input
|
|
1289
|
+
id="start-input"
|
|
1290
|
+
part="start-input"
|
|
1291
|
+
class=${classMap({
|
|
1292
|
+
daterangepicker__control: true,
|
|
1293
|
+
"daterangepicker__control--start": true
|
|
1294
|
+
})}
|
|
1295
|
+
type="text"
|
|
1296
|
+
title=${this.startValue}
|
|
1297
|
+
name=${ifDefined(this.name ? `${this.name}-start` : void 0)}
|
|
1298
|
+
.value=${live(this.startValue)}
|
|
1299
|
+
placeholder=${this.startPlaceholder}
|
|
1300
|
+
?disabled=${this.disabled}
|
|
1301
|
+
?readonly=${this.readonly}
|
|
1302
|
+
?required=${this.required}
|
|
1303
|
+
autocomplete="off"
|
|
1304
|
+
@input=${this.handleInput}
|
|
1305
|
+
@change=${this.handleChange}
|
|
1306
|
+
@keydown=${this.handleInputKeyDown}
|
|
1307
|
+
@focus=${this.handleFocus}
|
|
1308
|
+
@blur=${this.handleBlur}
|
|
1309
|
+
@invalid=${this.handleInvalid}
|
|
1310
|
+
/>
|
|
1311
|
+
</span>
|
|
1312
|
+
|
|
1313
|
+
<span part="separator" class="daterangepicker__separator">~</span>
|
|
1314
|
+
|
|
1315
|
+
<span
|
|
1316
|
+
class=${classMap({
|
|
1317
|
+
"daterangepicker__control-wrapper": true,
|
|
1318
|
+
"daterangepicker__control-wrapper--active": this.activeInput === "end" && this.open
|
|
1319
|
+
})}
|
|
1320
|
+
>
|
|
1321
|
+
<input
|
|
1322
|
+
id="end-input"
|
|
1323
|
+
part="end-input"
|
|
1324
|
+
class=${classMap({
|
|
1325
|
+
daterangepicker__control: true,
|
|
1326
|
+
"daterangepicker__control--end": true
|
|
1327
|
+
})}
|
|
1328
|
+
type="text"
|
|
1329
|
+
title=${this.endValue}
|
|
1330
|
+
name=${ifDefined(this.name ? `${this.name}-end` : void 0)}
|
|
1331
|
+
.value=${live(this.endValue)}
|
|
1332
|
+
placeholder=${this.endPlaceholder}
|
|
1333
|
+
?disabled=${this.disabled}
|
|
1334
|
+
?readonly=${this.readonly}
|
|
1335
|
+
?required=${this.required}
|
|
1336
|
+
autocomplete="off"
|
|
1337
|
+
@input=${this.handleInput}
|
|
1338
|
+
@change=${this.handleChange}
|
|
1339
|
+
@keydown=${this.handleInputKeyDown}
|
|
1340
|
+
@focus=${this.handleFocus}
|
|
1341
|
+
@blur=${this.handleBlur}
|
|
1342
|
+
@invalid=${this.handleInvalid}
|
|
1343
|
+
/>
|
|
1344
|
+
</span>
|
|
1345
|
+
|
|
1346
|
+
<span
|
|
1347
|
+
part="clear-button"
|
|
1348
|
+
class=${classMap({
|
|
1349
|
+
daterangepicker__clear: true,
|
|
1350
|
+
"daterangepicker__clear--hidden": !isClearable
|
|
1351
|
+
})}
|
|
1352
|
+
@click=${this.handleClearClick}
|
|
1353
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
1354
|
+
>
|
|
1355
|
+
<sl-icon name="x-lg" library="system"></sl-icon>
|
|
1356
|
+
</span>
|
|
1357
|
+
|
|
1358
|
+
<div part="suffix" class="daterangepicker__suffix" ?hidden=${isClearable}>
|
|
1359
|
+
<slot name="suffix">
|
|
1360
|
+
<sl-icon name="calendar4"></sl-icon>
|
|
1361
|
+
</slot>
|
|
1362
|
+
</div>
|
|
1363
|
+
</div>
|
|
1364
|
+
|
|
1365
|
+
<div
|
|
1366
|
+
part="calendars"
|
|
1367
|
+
class=${classMap({
|
|
1368
|
+
daterangepicker__calendars: true,
|
|
1369
|
+
"daterangepicker__calendars--single": !showDualCalendars
|
|
1370
|
+
})}
|
|
1371
|
+
@mousedown=${(e) => e.preventDefault()}
|
|
1372
|
+
@mouseleave=${() => this.hoverDate = null}
|
|
1373
|
+
>
|
|
1374
|
+
<sl-calendar
|
|
1375
|
+
exportparts="
|
|
1376
|
+
base:calendar-base,
|
|
1377
|
+
header:calendar-header,
|
|
1378
|
+
nav-button:calendar-nav-button,
|
|
1379
|
+
title:calendar-title,
|
|
1380
|
+
title-year:calendar-title-year,
|
|
1381
|
+
title-month:calendar-title-month,
|
|
1382
|
+
body:calendar-body,
|
|
1383
|
+
date-panel:calendar-date-panel,
|
|
1384
|
+
day-header:calendar-day-header,
|
|
1385
|
+
day:calendar-day,
|
|
1386
|
+
day-footer:calendar-day-footer,
|
|
1387
|
+
month-grid:calendar-month-grid,
|
|
1388
|
+
month-item:calendar-month-item,
|
|
1389
|
+
year-grid:calendar-year-grid,
|
|
1390
|
+
year-item:calendar-year-item,
|
|
1391
|
+
time-footer:calendar-time-footer,
|
|
1392
|
+
time-panel-base:calendar-time-base,
|
|
1393
|
+
time-panel-header:calendar-time-header,
|
|
1394
|
+
time-panel-columns:calendar-time-columns,
|
|
1395
|
+
time-panel-column:calendar-time-column,
|
|
1396
|
+
time-panel-item:calendar-time-item
|
|
1397
|
+
"
|
|
1398
|
+
.value=${calendarValue}
|
|
1399
|
+
type=${this.type}
|
|
1400
|
+
mode="range"
|
|
1401
|
+
.startDate=${displayStartDate}
|
|
1402
|
+
.endDate=${displayEndDate}
|
|
1403
|
+
.hoverDate=${effectiveHoverDate}
|
|
1404
|
+
.activeInput=${this.activeInput}
|
|
1405
|
+
.min=${ifDefined(this.min)}
|
|
1406
|
+
.max=${ifDefined(this.max)}
|
|
1407
|
+
.currentDate=${this.type === "datetime" ? this.leftDate : singleCalendarIsRight ? this.rightDate : this.leftDate}
|
|
1408
|
+
.syncViewWithValue=${false}
|
|
1409
|
+
.disabledDate=${(date) => this.isDateDisabled(date)}
|
|
1410
|
+
@sl-date-select=${this.handleDateSelect}
|
|
1411
|
+
@sl-date-change=${this.handleDateChange}
|
|
1412
|
+
@sl-view-change=${this.handleCalendarViewChange}
|
|
1413
|
+
@sl-date-hover=${(e) => this.hoverDate = e.detail.date}
|
|
1414
|
+
></sl-calendar>
|
|
1415
|
+
${showDualCalendars ? html`
|
|
1416
|
+
<sl-calendar
|
|
1417
|
+
exportparts="
|
|
1418
|
+
base:calendar-base,
|
|
1419
|
+
header:calendar-header,
|
|
1420
|
+
nav-button:calendar-nav-button,
|
|
1421
|
+
title:calendar-title,
|
|
1422
|
+
title-year:calendar-title-year,
|
|
1423
|
+
title-month:calendar-title-month,
|
|
1424
|
+
body:calendar-body,
|
|
1425
|
+
date-panel:calendar-date-panel,
|
|
1426
|
+
day-header:calendar-day-header,
|
|
1427
|
+
day:calendar-day,
|
|
1428
|
+
day-footer:calendar-day-footer,
|
|
1429
|
+
month-grid:calendar-month-grid,
|
|
1430
|
+
month-item:calendar-month-item,
|
|
1431
|
+
year-grid:calendar-year-grid,
|
|
1432
|
+
year-item:calendar-year-item,
|
|
1433
|
+
time-footer:calendar-time-footer,
|
|
1434
|
+
time-panel-base:calendar-time-base,
|
|
1435
|
+
time-panel-header:calendar-time-header,
|
|
1436
|
+
time-panel-columns:calendar-time-columns,
|
|
1437
|
+
time-panel-column:calendar-time-column,
|
|
1438
|
+
time-panel-item:calendar-time-item
|
|
1439
|
+
"
|
|
1440
|
+
.value=${this.endValue}
|
|
1441
|
+
type=${this.type}
|
|
1442
|
+
mode="range"
|
|
1443
|
+
.startDate=${displayStartDate}
|
|
1444
|
+
.endDate=${displayEndDate}
|
|
1445
|
+
.hoverDate=${effectiveHoverDate}
|
|
1446
|
+
.activeInput=${this.activeInput}
|
|
1447
|
+
.min=${ifDefined(this.min)}
|
|
1448
|
+
.max=${ifDefined(this.max)}
|
|
1449
|
+
.currentDate=${this.rightDate}
|
|
1450
|
+
.syncViewWithValue=${false}
|
|
1451
|
+
.disabledDate=${(date) => this.isDateDisabled(date)}
|
|
1452
|
+
@sl-date-select=${this.handleDateSelect}
|
|
1453
|
+
@sl-date-change=${this.handleDateChange}
|
|
1454
|
+
@sl-view-change=${this.handleCalendarViewChange}
|
|
1455
|
+
@sl-date-hover=${(e) => this.hoverDate = e.detail.date}
|
|
1456
|
+
></sl-calendar>
|
|
1457
|
+
` : null}
|
|
1458
|
+
</div>
|
|
1459
|
+
</sl-popup>
|
|
1460
|
+
</div>
|
|
1461
|
+
|
|
1462
|
+
<div
|
|
1463
|
+
part="form-control-help-text"
|
|
1464
|
+
class="form-control__help-text"
|
|
1465
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
1466
|
+
>
|
|
1467
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
1468
|
+
</div>
|
|
1469
|
+
</div>
|
|
1470
|
+
`;
|
|
1471
|
+
}
|
|
1472
|
+
};
|
|
1473
|
+
SlDaterangepicker.styles = [component_styles_default, form_control_styles_default, daterangepicker_styles_default];
|
|
1474
|
+
SlDaterangepicker.dependencies = {
|
|
1475
|
+
"sl-icon": SlIcon,
|
|
1476
|
+
"sl-popup": SlPopup,
|
|
1477
|
+
"sl-calendar": SlCalendar,
|
|
1478
|
+
"sl-drawer": SlDrawer,
|
|
1479
|
+
"sl-button": SlButton
|
|
1480
|
+
};
|
|
1481
|
+
__decorateClass([
|
|
1482
|
+
query(".daterangepicker__control--start")
|
|
1483
|
+
], SlDaterangepicker.prototype, "startInput", 2);
|
|
1484
|
+
__decorateClass([
|
|
1485
|
+
query(".daterangepicker__control--end")
|
|
1486
|
+
], SlDaterangepicker.prototype, "endInput", 2);
|
|
1487
|
+
__decorateClass([
|
|
1488
|
+
query("sl-popup")
|
|
1489
|
+
], SlDaterangepicker.prototype, "popup", 2);
|
|
1490
|
+
__decorateClass([
|
|
1491
|
+
query(".form-control__input")
|
|
1492
|
+
], SlDaterangepicker.prototype, "inputContainer", 2);
|
|
1493
|
+
__decorateClass([
|
|
1494
|
+
queryAll("sl-calendar")
|
|
1495
|
+
], SlDaterangepicker.prototype, "calendars", 2);
|
|
1496
|
+
__decorateClass([
|
|
1497
|
+
state()
|
|
1498
|
+
], SlDaterangepicker.prototype, "hasFocus", 2);
|
|
1499
|
+
__decorateClass([
|
|
1500
|
+
state()
|
|
1501
|
+
], SlDaterangepicker.prototype, "isHovered", 2);
|
|
1502
|
+
__decorateClass([
|
|
1503
|
+
state()
|
|
1504
|
+
], SlDaterangepicker.prototype, "open", 2);
|
|
1505
|
+
__decorateClass([
|
|
1506
|
+
state()
|
|
1507
|
+
], SlDaterangepicker.prototype, "activeInput", 2);
|
|
1508
|
+
__decorateClass([
|
|
1509
|
+
state()
|
|
1510
|
+
], SlDaterangepicker.prototype, "leftDate", 2);
|
|
1511
|
+
__decorateClass([
|
|
1512
|
+
state()
|
|
1513
|
+
], SlDaterangepicker.prototype, "rightDate", 2);
|
|
1514
|
+
__decorateClass([
|
|
1515
|
+
state()
|
|
1516
|
+
], SlDaterangepicker.prototype, "startValue", 2);
|
|
1517
|
+
__decorateClass([
|
|
1518
|
+
state()
|
|
1519
|
+
], SlDaterangepicker.prototype, "endValue", 2);
|
|
1520
|
+
__decorateClass([
|
|
1521
|
+
state()
|
|
1522
|
+
], SlDaterangepicker.prototype, "calendarView", 2);
|
|
1523
|
+
__decorateClass([
|
|
1524
|
+
state()
|
|
1525
|
+
], SlDaterangepicker.prototype, "calendarViewAnchor", 2);
|
|
1526
|
+
__decorateClass([
|
|
1527
|
+
state()
|
|
1528
|
+
], SlDaterangepicker.prototype, "syncingValue", 2);
|
|
1529
|
+
__decorateClass([
|
|
1530
|
+
state()
|
|
1531
|
+
], SlDaterangepicker.prototype, "hoverDate", 2);
|
|
1532
|
+
__decorateClass([
|
|
1533
|
+
state()
|
|
1534
|
+
], SlDaterangepicker.prototype, "enableHoverRange", 2);
|
|
1535
|
+
__decorateClass([
|
|
1536
|
+
state()
|
|
1537
|
+
], SlDaterangepicker.prototype, "rangeEditTwoStep", 2);
|
|
1538
|
+
__decorateClass([
|
|
1539
|
+
state()
|
|
1540
|
+
], SlDaterangepicker.prototype, "rangeEditFirstSide", 2);
|
|
1541
|
+
__decorateClass([
|
|
1542
|
+
state()
|
|
1543
|
+
], SlDaterangepicker.prototype, "rangeEditExpectedSide", 2);
|
|
1544
|
+
__decorateClass([
|
|
1545
|
+
state()
|
|
1546
|
+
], SlDaterangepicker.prototype, "hasFocusSwitched", 2);
|
|
1547
|
+
__decorateClass([
|
|
1548
|
+
state()
|
|
1549
|
+
], SlDaterangepicker.prototype, "isMobile", 2);
|
|
1550
|
+
__decorateClass([
|
|
1551
|
+
state()
|
|
1552
|
+
], SlDaterangepicker.prototype, "mobilePickerView", 2);
|
|
1553
|
+
__decorateClass([
|
|
1554
|
+
state()
|
|
1555
|
+
], SlDaterangepicker.prototype, "wheelDate", 2);
|
|
1556
|
+
__decorateClass([
|
|
1557
|
+
state()
|
|
1558
|
+
], SlDaterangepicker.prototype, "yearScrollTop", 2);
|
|
1559
|
+
__decorateClass([
|
|
1560
|
+
query(".daterangepicker-mobile__wheel-column--year")
|
|
1561
|
+
], SlDaterangepicker.prototype, "yearColumn", 2);
|
|
1562
|
+
__decorateClass([
|
|
1563
|
+
query(".daterangepicker-mobile__wheel-column--month")
|
|
1564
|
+
], SlDaterangepicker.prototype, "monthColumn", 2);
|
|
1565
|
+
__decorateClass([
|
|
1566
|
+
property()
|
|
1567
|
+
], SlDaterangepicker.prototype, "name", 2);
|
|
1568
|
+
__decorateClass([
|
|
1569
|
+
property({
|
|
1570
|
+
reflect: true,
|
|
1571
|
+
converter: {
|
|
1572
|
+
fromAttribute: (raw) => {
|
|
1573
|
+
const str = (raw || "").trim();
|
|
1574
|
+
if (!str) return [null, null];
|
|
1575
|
+
const parts = str.split("~").map((p) => p.trim());
|
|
1576
|
+
const startStr = parts[0] || "";
|
|
1577
|
+
const endStr = parts[1] || "";
|
|
1578
|
+
const start = startStr ? parseDatetime(startStr) : null;
|
|
1579
|
+
const end = endStr ? parseDatetime(endStr) : null;
|
|
1580
|
+
return [start, end];
|
|
1581
|
+
},
|
|
1582
|
+
toAttribute: (val) => {
|
|
1583
|
+
const [start, end] = val || [null, null];
|
|
1584
|
+
if (start && end) {
|
|
1585
|
+
return `${formatRangeValue(start)} ~ ${formatRangeValue(end)}`;
|
|
1586
|
+
}
|
|
1587
|
+
return "";
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
})
|
|
1591
|
+
], SlDaterangepicker.prototype, "value", 2);
|
|
1592
|
+
__decorateClass([
|
|
1593
|
+
defaultValue()
|
|
1594
|
+
], SlDaterangepicker.prototype, "defaultValue", 2);
|
|
1595
|
+
__decorateClass([
|
|
1596
|
+
property({ reflect: true })
|
|
1597
|
+
], SlDaterangepicker.prototype, "size", 2);
|
|
1598
|
+
__decorateClass([
|
|
1599
|
+
property({ type: Boolean, reflect: true })
|
|
1600
|
+
], SlDaterangepicker.prototype, "filled", 2);
|
|
1601
|
+
__decorateClass([
|
|
1602
|
+
property({ type: Boolean, reflect: true })
|
|
1603
|
+
], SlDaterangepicker.prototype, "pill", 2);
|
|
1604
|
+
__decorateClass([
|
|
1605
|
+
property()
|
|
1606
|
+
], SlDaterangepicker.prototype, "label", 2);
|
|
1607
|
+
__decorateClass([
|
|
1608
|
+
property({ attribute: "help-text" })
|
|
1609
|
+
], SlDaterangepicker.prototype, "helpText", 2);
|
|
1610
|
+
__decorateClass([
|
|
1611
|
+
property({ type: Boolean })
|
|
1612
|
+
], SlDaterangepicker.prototype, "clearable", 2);
|
|
1613
|
+
__decorateClass([
|
|
1614
|
+
property({ type: Boolean, reflect: true })
|
|
1615
|
+
], SlDaterangepicker.prototype, "disabled", 2);
|
|
1616
|
+
__decorateClass([
|
|
1617
|
+
property({
|
|
1618
|
+
converter: {
|
|
1619
|
+
fromAttribute: (raw) => {
|
|
1620
|
+
var _a, _b, _c, _d;
|
|
1621
|
+
if (!raw) return ["\u5F00\u59CB\u65E5\u671F", "\u7ED3\u675F\u65E5\u671F"];
|
|
1622
|
+
const parts = raw.split(",");
|
|
1623
|
+
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"];
|
|
1624
|
+
},
|
|
1625
|
+
toAttribute: (val) => {
|
|
1626
|
+
return `${val[0]},${val[1]}`;
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
})
|
|
1630
|
+
], SlDaterangepicker.prototype, "placeholder", 2);
|
|
1631
|
+
__decorateClass([
|
|
1632
|
+
property({ type: Boolean, reflect: true })
|
|
1633
|
+
], SlDaterangepicker.prototype, "readonly", 2);
|
|
1634
|
+
__decorateClass([
|
|
1635
|
+
property({ type: Boolean, reflect: true })
|
|
1636
|
+
], SlDaterangepicker.prototype, "required", 2);
|
|
1637
|
+
__decorateClass([
|
|
1638
|
+
property({ attribute: false })
|
|
1639
|
+
], SlDaterangepicker.prototype, "startDate", 2);
|
|
1640
|
+
__decorateClass([
|
|
1641
|
+
property({ attribute: false })
|
|
1642
|
+
], SlDaterangepicker.prototype, "endDate", 2);
|
|
1643
|
+
__decorateClass([
|
|
1644
|
+
property({ reflect: true })
|
|
1645
|
+
], SlDaterangepicker.prototype, "type", 2);
|
|
1646
|
+
__decorateClass([
|
|
1647
|
+
property()
|
|
1648
|
+
], SlDaterangepicker.prototype, "min", 2);
|
|
1649
|
+
__decorateClass([
|
|
1650
|
+
property()
|
|
1651
|
+
], SlDaterangepicker.prototype, "max", 2);
|
|
1652
|
+
__decorateClass([
|
|
1653
|
+
property()
|
|
1654
|
+
], SlDaterangepicker.prototype, "format", 2);
|
|
1655
|
+
__decorateClass([
|
|
1656
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
1657
|
+
], SlDaterangepicker.prototype, "handleOpenChange", 1);
|
|
1658
|
+
__decorateClass([
|
|
1659
|
+
watch("value")
|
|
1660
|
+
], SlDaterangepicker.prototype, "handleValueUpdate", 1);
|
|
1661
|
+
__decorateClass([
|
|
1662
|
+
watch("readonly", { waitUntilFirstUpdate: true })
|
|
1663
|
+
], SlDaterangepicker.prototype, "handleReadonlyChange", 1);
|
|
1664
|
+
|
|
1665
|
+
export {
|
|
1666
|
+
SlDaterangepicker
|
|
1667
|
+
};
|