@kdcloudjs/shoelace 1.0.29 → 1.0.31
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.IXK74NKY.js → chunk.24WW36SE.js} +1 -1
- package/{dist/chunks/chunk.ZYEU5MVF.js → cdn/chunks/chunk.2I3QE4LS.js} +1 -1
- package/cdn/chunks/{chunk.6UZXCK6P.js → chunk.2RHE6UUM.js} +1 -1
- package/cdn/chunks/{chunk.OXQMELDN.js → chunk.2TWXBBYA.js} +1 -1
- package/cdn/chunks/{chunk.64FMXGBD.js → chunk.2UGFGPFO.js} +1 -1
- package/cdn/chunks/{chunk.OKEGJW6Y.js → chunk.2VXAPR3U.js} +1 -1
- package/cdn/chunks/{chunk.L74RGBMJ.js → chunk.2XZTJH3J.js} +1 -1
- package/cdn/chunks/{chunk.XWGQQ6NF.js → chunk.32QJTA5O.js} +1 -1
- package/cdn/chunks/{chunk.YWZB7GE3.js → chunk.3DRIHIOU.js} +1 -1
- package/cdn/chunks/chunk.3JHXVHMD.js +152 -0
- package/cdn/chunks/{chunk.ZPQFNTKC.js → chunk.3LJIDT6C.js} +1 -1
- package/cdn/chunks/chunk.3Q6AWNUW.js +154 -0
- package/cdn/chunks/chunk.43HIWDJN.js +11 -0
- package/cdn/chunks/{chunk.YOWALB6A.js → chunk.4EK6KNBC.js} +3 -3
- package/cdn/chunks/{chunk.SDRTJBSH.js → chunk.4QIMAJZU.js} +27 -9
- package/cdn/chunks/{chunk.VXY6IJM2.js → chunk.4ROHG6YW.js} +1 -1
- package/cdn/chunks/chunk.5DSHVTBU.js +338 -0
- package/cdn/chunks/{chunk.BN5EFUPY.js → chunk.5RGUSMA7.js} +1 -1
- package/cdn/chunks/{chunk.VU4ZS5DE.js → chunk.6MAGFWEV.js} +1 -1
- package/cdn/chunks/{chunk.P7TUEL7V.js → chunk.6XAK4BE3.js} +1 -1
- package/cdn/chunks/{chunk.24RHFOSL.js → chunk.74D4HZDZ.js} +2 -2
- package/cdn/chunks/{chunk.6VJJVWDV.js → chunk.77NGAFFB.js} +1 -1
- package/cdn/chunks/chunk.7FDLKXHH.js +45 -0
- package/cdn/chunks/{chunk.S2ZNUNYX.js → chunk.AIWRCLGO.js} +1 -1
- package/cdn/chunks/{chunk.L27ZP5M3.js → chunk.AQCX7OCI.js} +1 -1
- package/cdn/chunks/chunk.B5NTZCHJ.js +29 -0
- package/cdn/chunks/{chunk.W5B22CS4.js → chunk.BXCHFN5R.js} +1 -1
- package/cdn/chunks/{chunk.FEYPR3WK.js → chunk.C4N3GUEY.js} +1 -1
- package/cdn/chunks/chunk.CNMRVXFY.js +158 -0
- package/cdn/chunks/{chunk.AK3CJEZE.js → chunk.D2DVKNXX.js} +1 -1
- package/cdn/chunks/{chunk.K72KXZIJ.js → chunk.DAIAFYJT.js} +1 -1
- package/{dist/chunks/chunk.RS5RBPPC.js → cdn/chunks/chunk.DMM3PKQP.js} +1 -1
- package/{dist/chunks/chunk.SJFD3WIY.js → cdn/chunks/chunk.DPTOAIBI.js} +1 -1
- package/cdn/chunks/{chunk.IU5X6EHL.js → chunk.DR56AOD6.js} +1 -1
- package/{dist/chunks/chunk.FZHUM3HC.js → cdn/chunks/chunk.E7KUGXMS.js} +1 -1
- package/cdn/chunks/{chunk.JVTUZMLX.js → chunk.EAXP3GJF.js} +1 -1
- package/{dist/chunks/chunk.RCQO3ENT.js → cdn/chunks/chunk.EQ6GHEUX.js} +1 -1
- package/cdn/chunks/{chunk.7MQOX762.js → chunk.EQM3ROLB.js} +1 -1
- package/cdn/chunks/{chunk.K5W33AST.js → chunk.EVHE3P3B.js} +1 -1
- package/cdn/chunks/{chunk.FAOO3Q67.js → chunk.F22SPZB3.js} +4 -3
- package/cdn/chunks/{chunk.BQ5RKZFW.js → chunk.F4WJ35X3.js} +1 -1
- package/cdn/chunks/{chunk.ORT5WHZ4.js → chunk.FFVI2IXF.js} +1 -1
- package/cdn/chunks/{chunk.VJXJ24OK.js → chunk.FKC5SAC5.js} +1 -1
- package/cdn/chunks/{chunk.A5ILMN26.js → chunk.G62U2BDB.js} +1 -1
- package/cdn/chunks/{chunk.CUQWZ7IO.js → chunk.GAP3NMP6.js} +1 -1
- package/cdn/chunks/{chunk.UKLPQIYL.js → chunk.GZXB5Q7I.js} +8 -7
- package/cdn/chunks/chunk.H5ZKOE44.js +11 -0
- package/cdn/chunks/{chunk.AAHHK24C.js → chunk.HAFCRWWF.js} +7 -7
- package/cdn/chunks/{chunk.JC7NCTV3.js → chunk.HFPCERTR.js} +4 -4
- package/cdn/chunks/{chunk.ODCA53YM.js → chunk.HFX36NAZ.js} +1 -1
- package/cdn/chunks/{chunk.HDUGD4BT.js → chunk.HH4KTEOX.js} +7 -7
- package/cdn/chunks/{chunk.EGWQFRSJ.js → chunk.HZNHRGUW.js} +1 -1
- package/cdn/chunks/{chunk.NVO6AEKX.js → chunk.IAH6V4O6.js} +1 -1
- package/cdn/chunks/{chunk.D623GSPR.js → chunk.IBFQ4MLS.js} +1 -1
- package/cdn/chunks/{chunk.DJAGMFXZ.js → chunk.IFUMP3SM.js} +1 -1
- package/cdn/chunks/{chunk.YHGPKOXY.js → chunk.ILBB5HJK.js} +1 -1
- package/cdn/chunks/{chunk.FWXONNTU.js → chunk.IXTHDSH2.js} +1 -1
- package/{dist/chunks/chunk.4H7NUAAN.js → cdn/chunks/chunk.JGM5QSDL.js} +10 -2
- package/cdn/chunks/chunk.K3MR62NZ.js +181 -0
- package/{dist/chunks/chunk.QN5KURZ4.js → cdn/chunks/chunk.KF2IXR6F.js} +1 -1
- package/cdn/chunks/{chunk.Z3Z4ETP5.js → chunk.KFKG6VML.js} +1 -1
- package/{dist/chunks/chunk.RRE67WPJ.js → cdn/chunks/chunk.KHAA7DOA.js} +1 -1
- package/cdn/chunks/{chunk.M4S2IRFM.js → chunk.L3XGNBZC.js} +1 -1
- package/cdn/chunks/{chunk.PLPY7MLS.js → chunk.L54BOFZZ.js} +1 -1
- package/{dist/chunks/chunk.U3TBBNK7.js → cdn/chunks/chunk.LEWH7YKP.js} +1 -1
- package/{dist/chunks/chunk.QBOVLXXP.js → cdn/chunks/chunk.LRDC5FNM.js} +1 -1
- package/cdn/chunks/{chunk.3K5NTKB5.js → chunk.LRHB4GGU.js} +1 -1
- package/cdn/chunks/chunk.M22RVKD5.js +1156 -0
- package/cdn/chunks/{chunk.OHEL4NP5.js → chunk.MNIYL75K.js} +4 -4
- package/cdn/chunks/{chunk.WP3ZMSVT.js → chunk.MOGUH7GN.js} +1 -1
- package/{dist/chunks/chunk.UT7IPPSO.js → cdn/chunks/chunk.MOXXBMVH.js} +1 -1
- package/cdn/chunks/{chunk.FMPFP5OE.js → chunk.MRLC3567.js} +1 -1
- package/{dist/chunks/chunk.IJ3VMW2R.js → cdn/chunks/chunk.MW477ANT.js} +1 -1
- package/cdn/chunks/{chunk.OCJROKVC.js → chunk.MYLFX5LX.js} +1 -1
- package/cdn/chunks/{chunk.AIOAAHPL.js → chunk.NBCWBDT4.js} +1 -1
- package/cdn/chunks/{chunk.DN35DSU5.js → chunk.NBWMMBCI.js} +1 -1
- package/cdn/chunks/{chunk.MOV5RV53.js → chunk.NKXBOUPT.js} +1 -1
- package/cdn/chunks/{chunk.S23U5OGR.js → chunk.NPB5H3GH.js} +1 -1
- package/cdn/chunks/{chunk.H7LVX6WK.js → chunk.NSCQ5BDB.js} +1 -1
- package/cdn/chunks/chunk.NYQXSK4K.js +11 -0
- package/cdn/chunks/{chunk.N7W7BBNU.js → chunk.NZU6BSSA.js} +227 -0
- package/{dist/chunks/chunk.F5KDDEGG.js → cdn/chunks/chunk.NZXWOPL3.js} +1 -1
- package/cdn/chunks/{chunk.3FO6PJTD.js → chunk.O7BMIARB.js} +1 -1
- package/cdn/chunks/{chunk.WFGZ25EF.js → chunk.OBQXUZUT.js} +4 -4
- package/cdn/chunks/{chunk.22L6GGEN.js → chunk.OPUWOUN3.js} +1 -1
- package/cdn/chunks/{chunk.XPSRGG4H.js → chunk.OTYDDGYD.js} +1 -1
- package/cdn/chunks/{chunk.TBG5G4ET.js → chunk.PBB7322Y.js} +1 -1
- package/cdn/chunks/{chunk.2CWFRKQO.js → chunk.PG6GVAA4.js} +3 -3
- package/cdn/chunks/{chunk.ENXY5MW5.js → chunk.PLJLGB2U.js} +1 -1
- package/{dist/chunks/chunk.QZ6SOV43.js → cdn/chunks/chunk.POIE2XDG.js} +1 -1
- package/cdn/chunks/{chunk.4KPHRQ7L.js → chunk.PTU5C4HV.js} +1 -1
- package/{dist/chunks/chunk.I7A23GA6.js → cdn/chunks/chunk.QFZJJX6A.js} +1 -1
- package/cdn/chunks/chunk.QMAX5HQE.js +11 -0
- package/cdn/chunks/{chunk.XCZ57DS7.js → chunk.QPXE274O.js} +1 -1
- package/{dist/chunks/chunk.CSVWI6Y4.js → cdn/chunks/chunk.QROBXPC7.js} +1 -1
- package/{dist/chunks/chunk.ID3OSK4H.js → cdn/chunks/chunk.RJ3FTBIG.js} +1 -1
- package/cdn/chunks/{chunk.DKLBJEHD.js → chunk.RNK6BFDN.js} +11 -11
- package/{dist/chunks/chunk.MEBOP6MN.js → cdn/chunks/chunk.RSOAZPCO.js} +1 -1
- package/cdn/chunks/{chunk.77A7ZSJQ.js → chunk.RSREJ5ZX.js} +1 -1
- package/cdn/chunks/{chunk.ARH726IJ.js → chunk.S35STP65.js} +1 -1
- package/{dist/chunks/chunk.EBJFB5ED.js → cdn/chunks/chunk.S5S2NY35.js} +1 -1
- package/cdn/chunks/chunk.SFJXFFYI.js +24 -0
- package/cdn/chunks/chunk.SGCGLCRE.js +24 -0
- package/cdn/chunks/{chunk.2IJ4DOTI.js → chunk.SRPRGHBX.js} +1 -1
- package/cdn/chunks/chunk.SSB6QUTO.js +24 -0
- package/{dist/chunks/chunk.FJILDL42.js → cdn/chunks/chunk.STU2GAK3.js} +1 -1
- package/cdn/chunks/{chunk.IF3S5BNR.js → chunk.STYVQ3GY.js} +1 -1
- package/cdn/chunks/{chunk.ZNIGUQLJ.js → chunk.SXN43BZH.js} +1 -1
- package/cdn/chunks/{chunk.HIHQQRTZ.js → chunk.SZDK7V5H.js} +2 -2
- package/cdn/chunks/{chunk.AXVQ6SZ6.js → chunk.T4N2FGGL.js} +1 -1
- package/cdn/chunks/{chunk.KP4WXHNO.js → chunk.T5VRBH5J.js} +4 -4
- package/{dist/chunks/chunk.VDIOOKK3.js → cdn/chunks/chunk.T7OBFEH3.js} +1 -1
- package/{dist/chunks/chunk.566J3G5O.js → cdn/chunks/chunk.TKYOUUS4.js} +1 -1
- package/cdn/chunks/{chunk.UK67OQX4.js → chunk.TNUMW7A7.js} +1 -1
- package/cdn/chunks/chunk.UCVTBQUH.js +89 -0
- package/{dist/chunks/chunk.7ENY6KCX.js → cdn/chunks/chunk.UNHUSGU4.js} +1 -1
- package/cdn/chunks/chunk.UUVTBD2A.js +34 -0
- package/{dist/chunks/chunk.TJEPUVRV.js → cdn/chunks/chunk.V4N7IJQQ.js} +1 -1
- package/cdn/chunks/{chunk.J5NOE5GV.js → chunk.VAUFSUSB.js} +1 -1
- package/cdn/chunks/{chunk.CEKIG6XK.js → chunk.VBKSHZG6.js} +1 -1
- package/cdn/chunks/chunk.VKB6LKH4.js +91 -0
- package/{dist/chunks/chunk.77DZUVS6.js → cdn/chunks/chunk.VPGMGU5T.js} +1 -1
- package/cdn/chunks/{chunk.JNFUW4AH.js → chunk.VQ4QS2IG.js} +4 -4
- package/cdn/chunks/{chunk.EY32EKVK.js → chunk.VQZYCZBT.js} +4 -4
- package/cdn/chunks/{chunk.IGSMYZPJ.js → chunk.VVNUUKOU.js} +1 -1
- package/cdn/chunks/{chunk.QT6GUJBT.js → chunk.VYSCBDFH.js} +1 -1
- package/cdn/chunks/chunk.WBCR74E3.js +25 -0
- package/cdn/chunks/chunk.WEXM5ZNH.js +11 -0
- package/cdn/chunks/{chunk.W2JTEAS7.js → chunk.WPESYCFW.js} +1 -1
- package/cdn/chunks/{chunk.GFQ55FWN.js → chunk.WTJDLUX5.js} +7 -7
- package/cdn/chunks/{chunk.3T64H6HE.js → chunk.X3YUXAYG.js} +1 -1
- package/cdn/chunks/{chunk.JYH4JK7N.js → chunk.XNGBMHEJ.js} +2 -2
- package/cdn/chunks/{chunk.5ETPM5Y2.js → chunk.XRHTDMWI.js} +16 -12
- package/cdn/chunks/{chunk.VCCYYUGH.js → chunk.XTB2EMPO.js} +4 -4
- package/cdn/chunks/{chunk.E3KU5ZUQ.js → chunk.XTZD43PS.js} +1 -1
- package/cdn/chunks/{chunk.N2OQN5XQ.js → chunk.XY7Q4XXB.js} +1 -1
- package/{dist/chunks/chunk.LI6FEX4U.js → cdn/chunks/chunk.XZLP3R7F.js} +1 -1
- package/cdn/chunks/{chunk.I7QQDK7H.js → chunk.YATAWBAE.js} +1 -1
- package/cdn/chunks/{chunk.UXGLUGIV.js → chunk.YCNZNFG7.js} +2 -3
- package/{dist/chunks/chunk.2AGMSWQ3.js → cdn/chunks/chunk.YLTSE26T.js} +1 -1
- package/cdn/chunks/{chunk.BUTJ2U7V.js → chunk.YNIOT4PI.js} +8 -8
- package/cdn/chunks/{chunk.HNN73HJU.js → chunk.YNJYQXVB.js} +480 -8
- package/cdn/chunks/{chunk.N5NZNXBO.js → chunk.Z5YUILXA.js} +5 -5
- package/cdn/chunks/{chunk.MVBM42IW.js → chunk.ZFCRZORN.js} +1 -1
- package/cdn/chunks/{chunk.64S2MHOQ.js → chunk.ZIDTQCIT.js} +1 -1
- package/cdn/chunks/{chunk.BRSGTB5E.js → chunk.ZTVV5FSP.js} +1 -1
- package/cdn/chunks/{chunk.6WQO4RV4.js → chunk.ZUG342V6.js} +1 -1
- package/cdn/chunks/{chunk.G2AWY2X3.js → chunk.ZVNL2EA7.js} +1 -1
- package/cdn/chunks/{chunk.EQDPX25E.js → chunk.ZX24V6F5.js} +4 -4
- package/cdn/components/alert/alert.component.js +7 -7
- package/cdn/components/alert/alert.js +8 -8
- package/cdn/components/animated-image/animated-image.component.js +4 -4
- package/cdn/components/animated-image/animated-image.js +5 -5
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/button/button.component.js +5 -5
- package/cdn/components/button/button.js +6 -6
- package/cdn/components/calendar/calendar.component.js +8 -8
- package/cdn/components/calendar/calendar.js +8 -8
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- package/cdn/components/checkbox/checkbox.component.js +4 -4
- package/cdn/components/checkbox/checkbox.js +5 -5
- package/cdn/components/color-picker/color-picker.component.js +12 -12
- package/cdn/components/color-picker/color-picker.js +13 -13
- package/cdn/components/copy-button/copy-button.component.js +4 -4
- package/cdn/components/copy-button/copy-button.js +5 -5
- package/cdn/components/date-panel/date-panel.component.js +11 -11
- package/cdn/components/date-panel/date-panel.js +11 -11
- package/cdn/components/datepicker/datepicker.component.js +16 -16
- package/cdn/components/datepicker/datepicker.js +16 -16
- package/cdn/components/daterangepicker/daterangepicker.component.js +21 -10
- package/cdn/components/daterangepicker/daterangepicker.js +22 -11
- package/cdn/components/daterangepicker/daterangepicker.styles.js +1 -1
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +6 -6
- package/cdn/components/dialog/dialog.js +7 -7
- package/cdn/components/drawer/drawer.component.js +6 -6
- package/cdn/components/drawer/drawer.js +7 -7
- package/cdn/components/dropdown/dropdown.component.js +2 -2
- package/cdn/components/dropdown/dropdown.js +3 -3
- package/cdn/components/float-button/float-button.component.js +34 -0
- package/cdn/components/float-button/float-button.js +35 -0
- package/cdn/components/float-button/float-button.styles.js +9 -0
- package/cdn/components/float-button-group/float-button-group.component.js +22 -0
- package/cdn/components/float-button-group/float-button-group.js +23 -0
- package/cdn/components/float-button-group/float-button-group.styles.js +9 -0
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- package/cdn/components/menu-item/menu-item.component.js +4 -4
- package/cdn/components/menu-item/menu-item.js +5 -5
- package/cdn/components/nav/nav.component.js +9 -9
- package/cdn/components/nav/nav.js +10 -10
- package/cdn/components/nav-submenu/nav-submenu.component.js +4 -4
- package/cdn/components/nav-submenu/nav-submenu.js +5 -5
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +9 -9
- package/cdn/components/pagination/pagination.component.js +10 -10
- package/cdn/components/pagination/pagination.js +10 -10
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +2 -2
- package/cdn/components/radio-group/radio-group.js +3 -3
- package/cdn/components/range/range.component.js +3 -3
- package/cdn/components/range/range.js +4 -4
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/select/select.component.js +8 -8
- package/cdn/components/select/select.js +9 -9
- package/cdn/components/sender/sender.component.js +54 -0
- package/cdn/components/sender/sender.js +55 -0
- package/cdn/components/sender/sender.styles.js +9 -0
- package/cdn/components/sender-header/sender-header.component.js +33 -0
- package/cdn/components/sender-header/sender-header.js +34 -0
- package/cdn/components/sender-header/sender-header.styles.js +9 -0
- package/cdn/components/sender-switch/sender-switch.component.js +33 -0
- package/cdn/components/sender-switch/sender-switch.js +34 -0
- package/cdn/components/sender-switch/sender-switch.styles.js +9 -0
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/tab/tab.component.js +5 -5
- package/cdn/components/tab/tab.js +6 -6
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- package/cdn/components/table/body-table.js +2 -2
- package/cdn/components/table/features/index.js +3 -3
- package/cdn/components/table/features/row-drag-controller.js +1 -1
- package/cdn/components/table/head-table.js +19 -19
- package/cdn/components/table/table.component.js +28 -28
- package/cdn/components/table/table.js +30 -30
- package/cdn/components/tag/tag.component.js +5 -5
- package/cdn/components/tag/tag.js +6 -6
- package/cdn/components/think/think.component.js +4 -4
- package/cdn/components/think/think.js +5 -5
- package/cdn/components/think/think.styles.js +1 -1
- package/cdn/components/thought-chain-item/thought-chain-item.component.js +3 -3
- package/cdn/components/thought-chain-item/thought-chain-item.js +4 -4
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +3 -3
- package/cdn/components/thought-chain-node/thought-chain-node.js +4 -4
- package/cdn/components/time-panel/time-panel.component.js +7 -7
- package/cdn/components/time-panel/time-panel.js +7 -7
- package/cdn/components/time-panel/time-panel.styles.js +1 -1
- package/cdn/components/timepicker/timepicker.component.js +16 -16
- package/cdn/components/timepicker/timepicker.js +16 -16
- package/cdn/components/tree/tree.component.js +9 -9
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.component.js +7 -7
- package/cdn/components/tree-item/tree-item.js +8 -8
- package/cdn/components/x-markdown/markdown/render.js +2 -2
- package/cdn/components/x-markdown/x-markdown.component.js +3 -3
- package/cdn/components/x-markdown/x-markdown.js +4 -4
- package/cdn/custom-elements.json +5099 -3012
- package/cdn/react/alert/index.js +8 -8
- package/cdn/react/animated-image/index.js +5 -5
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/button/index.js +6 -6
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/checkbox/index.js +5 -5
- package/cdn/react/color-picker/index.js +13 -13
- package/cdn/react/copy-button/index.js +5 -5
- package/cdn/react/date-panel/index.js +12 -12
- package/cdn/react/datepicker/index.js +17 -17
- package/cdn/react/daterangepicker/index.js +22 -11
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +7 -7
- package/cdn/react/drawer/index.js +7 -7
- package/cdn/react/dropdown/index.js +3 -3
- package/cdn/react/float-button/index.js +35 -0
- package/cdn/react/float-button-group/index.js +23 -0
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +255 -225
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/menu-item/index.js +5 -5
- package/cdn/react/nav/index.js +10 -10
- package/cdn/react/nav-submenu/index.js +5 -5
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +11 -11
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-group/index.js +3 -3
- package/cdn/react/range/index.js +4 -4
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/select/index.js +9 -9
- package/cdn/react/sender/index.js +55 -0
- package/cdn/react/sender-header/index.js +34 -0
- package/cdn/react/sender-switch/index.js +34 -0
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/tab/index.js +6 -6
- package/cdn/react/tab-group/index.js +6 -6
- package/cdn/react/table/index.js +29 -29
- package/cdn/react/tag/index.js +6 -6
- package/cdn/react/think/index.js +5 -5
- package/cdn/react/thought-chain-item/index.js +4 -4
- package/cdn/react/thought-chain-node/index.js +4 -4
- package/cdn/react/timepicker/index.js +17 -17
- package/cdn/react/tree/index.js +10 -10
- package/cdn/react/tree-item/index.js +8 -8
- package/cdn/react/x-markdown/index.js +4 -4
- package/cdn/shoelace.js +272 -242
- package/cdn/themes/dark.css +14 -16
- package/cdn/themes/dark.styles.js +14 -16
- package/cdn/themes/light.css +47 -4
- package/cdn/themes/light.styles.js +47 -4
- package/cdn/themes/nova.css +20 -52
- package/cdn/themes/nova.styles.js +20 -52
- package/cdn/types/vue/index.d.ts +615 -340
- package/cdn/vscode.html-custom-data.json +468 -277
- package/cdn/web-types.json +1622 -1075
- package/{cdn/chunks/chunk.VVM2WFCF.js → dist/chunks/chunk.2222Y2UK.js} +1 -1
- package/dist/chunks/{chunk.TN7PWYQP.js → chunk.24YRDJWM.js} +2 -2
- package/dist/chunks/chunk.255ED3AX.js +29 -0
- package/dist/chunks/{chunk.4B3M6B7S.js → chunk.277V6KES.js} +1 -1
- package/dist/chunks/{chunk.F3B2VXIE.js → chunk.2T32M5MK.js} +7 -7
- package/dist/chunks/{chunk.RSLDQNZV.js → chunk.2ZZFGPJB.js} +1 -1
- package/{cdn/chunks/chunk.PRUWH44M.js → dist/chunks/chunk.3BI3ZBWV.js} +1 -1
- package/dist/chunks/{chunk.LHB2IX4Q.js → chunk.3ONOB433.js} +1 -1
- package/dist/chunks/{chunk.JGOR72YW.js → chunk.4QJCVJBF.js} +1 -1
- package/dist/chunks/{chunk.HUZFXLTR.js → chunk.4UNNJGN7.js} +3 -3
- package/dist/chunks/{chunk.RZEI373K.js → chunk.4UZHYDUY.js} +1 -1
- package/dist/chunks/{chunk.SJQBLTVX.js → chunk.4V3MCNCG.js} +4 -4
- package/dist/chunks/{chunk.UH4QRZF2.js → chunk.4X653G5O.js} +4 -4
- package/dist/chunks/{chunk.BU33S5IX.js → chunk.4XRAGUIQ.js} +1 -1
- package/dist/chunks/{chunk.K6WZPHYX.js → chunk.56LFKZBN.js} +1 -1
- package/{cdn/chunks/chunk.6YC7EQ35.js → dist/chunks/chunk.576UYCIO.js} +1 -1
- package/dist/chunks/{chunk.UUFFPP2C.js → chunk.5XQT43Z6.js} +4 -4
- package/dist/chunks/{chunk.LGPVZ5VZ.js → chunk.5YOOCYJR.js} +1 -1
- package/dist/chunks/{chunk.VFO6XX4A.js → chunk.6B322ONF.js} +1 -1
- package/dist/chunks/{chunk.OX3TLBRT.js → chunk.6JMQ2TIB.js} +1 -1
- package/{cdn/chunks/chunk.6WFV6NC7.js → dist/chunks/chunk.73BK3LQW.js} +1 -1
- package/dist/chunks/{chunk.KIRCNHCN.js → chunk.75YPNEVH.js} +1 -1
- package/dist/chunks/{chunk.3MI6FFND.js → chunk.7FBPST7K.js} +1 -1
- package/dist/chunks/{chunk.WYYIVPNV.js → chunk.7HG6ANKZ.js} +1 -1
- package/dist/chunks/{chunk.VZFYIASQ.js → chunk.7UIHF6BL.js} +1 -1
- package/dist/chunks/chunk.7UUWTJQR.js +178 -0
- package/{cdn/chunks/chunk.DTQ34BNA.js → dist/chunks/chunk.A4I7TNK6.js} +1 -1
- package/dist/chunks/{chunk.GMC3L4HB.js → chunk.A5FVRZ2V.js} +1 -1
- package/dist/chunks/{chunk.3OVZFWLQ.js → chunk.ACYS3462.js} +1 -1
- package/dist/chunks/{chunk.MU5AZVCP.js → chunk.AMPAX7MW.js} +1 -1
- package/dist/chunks/{chunk.BN4VTNVI.js → chunk.AR55FJTM.js} +1 -1
- package/{cdn/chunks/chunk.4H4WSGCJ.js → dist/chunks/chunk.AT6Q3CT3.js} +1 -1
- package/{cdn/chunks/chunk.4VDEW5WY.js → dist/chunks/chunk.ATWVDQCS.js} +1 -1
- package/dist/chunks/{chunk.FACUDL3Y.js → chunk.AV6HVIYO.js} +1 -1
- package/dist/chunks/{chunk.JEIRYLA7.js → chunk.AZ2WMYLE.js} +1 -1
- package/dist/chunks/chunk.AZTRAFIF.js +86 -0
- package/dist/chunks/{chunk.D3Y3WW77.js → chunk.BDR6VFV5.js} +1 -1
- package/dist/chunks/chunk.BW24FEPY.js +42 -0
- package/dist/chunks/{chunk.XLVA5ZEI.js → chunk.CBSZF36H.js} +1 -1
- package/dist/chunks/{chunk.QEB3AMG2.js → chunk.CJJNKIGS.js} +1 -1
- package/dist/chunks/{chunk.LDYNEEPR.js → chunk.CMHVCSO3.js} +1 -1
- package/dist/chunks/chunk.CMQDL7CN.js +25 -0
- package/dist/chunks/{chunk.VOXZIPYZ.js → chunk.COGPFCGH.js} +1 -1
- package/dist/chunks/{chunk.7Q6JJ7KV.js → chunk.CPYCCN74.js} +1 -1
- package/{cdn/chunks/chunk.OSXVD4NI.js → dist/chunks/chunk.CS3KGM3I.js} +1 -1
- package/dist/chunks/{chunk.2AQN4JQJ.js → chunk.CSJDM3I6.js} +8 -7
- package/dist/chunks/chunk.CVSDG6FV.js +24 -0
- package/dist/chunks/chunk.D23WFKHD.js +31 -0
- package/{cdn/chunks/chunk.72QKDL6S.js → dist/chunks/chunk.D46NZRNK.js} +1 -1
- package/dist/chunks/{chunk.MDNVBBZH.js → chunk.D7XNHHL2.js} +4 -3
- package/{cdn/chunks/chunk.QRPICAKD.js → dist/chunks/chunk.DEITFGBS.js} +1 -1
- package/{cdn/chunks/chunk.62S3UIKH.js → dist/chunks/chunk.DKX5VTND.js} +1 -1
- package/dist/chunks/chunk.DNWRKWYS.js +11 -0
- package/dist/chunks/{chunk.ADTP5OV5.js → chunk.DQABKHDM.js} +9 -9
- package/dist/chunks/{chunk.PLFXQQK7.js → chunk.DTKQCP3B.js} +1 -1
- package/dist/chunks/{chunk.WYGWB63T.js → chunk.DVZSBAMK.js} +1 -1
- package/dist/chunks/{chunk.IDAAUGHM.js → chunk.F3YAUNWY.js} +1 -1
- package/dist/chunks/{chunk.7DCG5NJM.js → chunk.FJR4PM7P.js} +1 -1
- package/dist/chunks/{chunk.QYRMBDMM.js → chunk.FZW6GDBE.js} +1 -1
- package/dist/chunks/chunk.GGRJO2OJ.js +335 -0
- package/dist/chunks/{chunk.ZB5UNZGF.js → chunk.GJTIA2ID.js} +1 -1
- package/dist/chunks/{chunk.FHEE6NC4.js → chunk.GT3XTQOL.js} +1 -1
- package/dist/chunks/chunk.GURJBGDH.js +24 -0
- package/dist/chunks/{chunk.GFT5UP3U.js → chunk.H6E5FUQA.js} +2 -3
- package/dist/chunks/{chunk.7RHFV3RB.js → chunk.HEIDKY6A.js} +1 -1
- package/dist/chunks/{chunk.PRNRZ46M.js → chunk.HUEJ6FJI.js} +1 -1
- package/dist/chunks/chunk.HXJCURBU.js +84 -0
- package/dist/chunks/{chunk.PKSNYBHX.js → chunk.I3E7XRJD.js} +1 -1
- package/dist/chunks/{chunk.6VOY3F7S.js → chunk.IBO3W47J.js} +4 -4
- package/dist/chunks/{chunk.3JH4YGTR.js → chunk.IFLJEMM4.js} +1 -1
- package/dist/chunks/{chunk.F5QCDAZD.js → chunk.IIITTBKF.js} +1 -1
- package/dist/chunks/{chunk.Q5QQPLBB.js → chunk.IL42CGIL.js} +1 -1
- package/dist/chunks/{chunk.7N2XFSOU.js → chunk.INWQRWZW.js} +1 -1
- package/dist/chunks/chunk.IPRT4PW2.js +148 -0
- package/dist/chunks/{chunk.ZDWVDDKH.js → chunk.IWLHXROM.js} +2 -2
- package/dist/chunks/{chunk.QIBAK7JU.js → chunk.J273PGYD.js} +1 -1
- package/dist/chunks/{chunk.RB2I5S6R.js → chunk.KFSHKNTI.js} +1 -1
- package/dist/chunks/{chunk.4TUTWGUS.js → chunk.KFT7NHGH.js} +227 -0
- package/dist/chunks/{chunk.ODVC7KHR.js → chunk.KWBC22UR.js} +28 -10
- package/dist/chunks/{chunk.DK37NZTT.js → chunk.KXLNRRER.js} +1 -1
- package/dist/chunks/{chunk.CKXVVDDK.js → chunk.LJUGR5OF.js} +4 -4
- package/dist/chunks/{chunk.LDKADK5S.js → chunk.LVUUWAFL.js} +480 -8
- package/{cdn/chunks/chunk.RN2Q4HOE.js → dist/chunks/chunk.M4PMEYE2.js} +1 -1
- package/{cdn/chunks/chunk.HH7XVAMC.js → dist/chunks/chunk.MAWNPWPF.js} +10 -2
- package/dist/chunks/{chunk.6D337CRO.js → chunk.MHCVVLCT.js} +1 -1
- package/dist/chunks/{chunk.QJTW7WJF.js → chunk.MHMUDAVA.js} +1 -1
- package/{cdn/chunks/chunk.7X5AEKPB.js → dist/chunks/chunk.MZLRGXPI.js} +1 -1
- package/{cdn/chunks/chunk.4N2I2AUC.js → dist/chunks/chunk.N46JKT2J.js} +1 -1
- package/dist/chunks/chunk.N5D2F64K.js +11 -0
- package/dist/chunks/{chunk.2HWAAINE.js → chunk.N7JHDJGM.js} +1 -1
- package/dist/chunks/{chunk.4GEQTMEV.js → chunk.NJCLPQUU.js} +6 -6
- package/{cdn/chunks/chunk.IS65YVZ6.js → dist/chunks/chunk.NKOQAWVZ.js} +1 -1
- package/dist/chunks/{chunk.7IZ4S4JF.js → chunk.NOJSANXR.js} +4 -4
- package/dist/chunks/{chunk.AR2OP4VW.js → chunk.NYQ75SBP.js} +1 -1
- package/dist/chunks/{chunk.6QHPFU7W.js → chunk.ON4ZSL6J.js} +1 -1
- package/dist/chunks/{chunk.5WEDPOQM.js → chunk.OSALHQGA.js} +1 -1
- package/{cdn/chunks/chunk.JS5UK2QZ.js → dist/chunks/chunk.P43PK6RL.js} +1 -1
- package/dist/chunks/{chunk.PJ5F7CV7.js → chunk.PGTN7J4V.js} +4 -4
- package/{cdn/chunks/chunk.4KRZJIAJ.js → dist/chunks/chunk.PMI7GCY2.js} +1 -1
- package/dist/chunks/{chunk.56HIWCX6.js → chunk.POUWYLGI.js} +1 -1
- package/{cdn/chunks/chunk.RD4VINFB.js → dist/chunks/chunk.PW7XZMYT.js} +1 -1
- package/{cdn/chunks/chunk.FPMCB7RB.js → dist/chunks/chunk.Q73UA4YW.js} +1 -1
- package/dist/chunks/chunk.QAYUT4BX.js +24 -0
- package/{cdn/chunks/chunk.WSNHPA4G.js → dist/chunks/chunk.QP5DAVFM.js} +1 -1
- package/dist/chunks/{chunk.NPS3ESCM.js → chunk.QQVS2P2C.js} +1 -1
- package/{cdn/chunks/chunk.QM45FXEX.js → dist/chunks/chunk.R5WPNMCQ.js} +1 -1
- package/dist/chunks/chunk.RS2GWDLW.js +153 -0
- package/{cdn/chunks/chunk.TCDIALPO.js → dist/chunks/chunk.RY2V2DAG.js} +1 -1
- package/dist/chunks/{chunk.6PXKSSWB.js → chunk.RZAJZ3DQ.js} +1 -1
- package/dist/chunks/{chunk.CD3W4OKL.js → chunk.S3JB2UHY.js} +1 -1
- package/dist/chunks/{chunk.NNXYAEOE.js → chunk.S4YBE4U3.js} +3 -3
- package/dist/chunks/{chunk.5RQBRMVA.js → chunk.S6OTSVTK.js} +1 -1
- package/dist/chunks/chunk.SI5MIM74.js +11 -0
- package/dist/chunks/{chunk.WNE6EGZT.js → chunk.SL5TVNJJ.js} +7 -7
- package/{cdn/chunks/chunk.533QXPAJ.js → dist/chunks/chunk.T2MF4VUY.js} +1 -1
- package/dist/chunks/{chunk.Q4TZCBZJ.js → chunk.TDWRSVI2.js} +1 -1
- package/dist/chunks/chunk.TFVPZDQP.js +1150 -0
- package/dist/chunks/{chunk.4TR2RXVB.js → chunk.TOIQDGSN.js} +1 -1
- package/dist/chunks/chunk.TTNMH7HL.js +11 -0
- package/dist/chunks/{chunk.5VMZZO5N.js → chunk.U546SMOX.js} +1 -1
- package/dist/chunks/{chunk.VR5RMHED.js → chunk.U7ELM3KR.js} +1 -1
- package/dist/chunks/{chunk.CLWK62MG.js → chunk.UQBEXQPA.js} +1 -1
- package/dist/chunks/{chunk.5KR42J46.js → chunk.VGZSH2J3.js} +1 -1
- package/{cdn/chunks/chunk.K7FKD6TO.js → dist/chunks/chunk.VOBHSZHJ.js} +1 -1
- package/dist/chunks/{chunk.LQCPIDQK.js → chunk.VTDIICXK.js} +1 -1
- package/dist/chunks/{chunk.4L4G75M3.js → chunk.VW4UAUYL.js} +1 -1
- package/dist/chunks/chunk.VX2XAZP7.js +149 -0
- package/dist/chunks/{chunk.G2POJAIO.js → chunk.W2MX7XQG.js} +1 -1
- package/{cdn/chunks/chunk.3ER5B33F.js → dist/chunks/chunk.W2XAF2TT.js} +1 -1
- package/dist/chunks/{chunk.QHAMOKMK.js → chunk.W6RAVHWZ.js} +2 -2
- package/dist/chunks/{chunk.NGEK5MSS.js → chunk.WDHQTWCE.js} +1 -1
- package/dist/chunks/{chunk.LNEYI7LV.js → chunk.WGWXYQAT.js} +4 -4
- package/dist/chunks/chunk.WTQNDLPG.js +11 -0
- package/dist/chunks/{chunk.LX5NM5NQ.js → chunk.X3FWAJEG.js} +1 -1
- package/dist/chunks/{chunk.PAHARZQS.js → chunk.XGK7HEDC.js} +1 -1
- package/{cdn/chunks/chunk.27S4WN5H.js → dist/chunks/chunk.XQMCPLLN.js} +1 -1
- package/dist/chunks/{chunk.FFNLDJFZ.js → chunk.XZNGEUYB.js} +1 -1
- package/dist/chunks/{chunk.KOMHPUGR.js → chunk.YO7DMVSG.js} +8 -8
- package/dist/chunks/{chunk.5AT3BVD5.js → chunk.YT7X6G4Q.js} +11 -7
- package/dist/chunks/{chunk.2XKG643M.js → chunk.ZE3LRPQR.js} +1 -1
- package/dist/chunks/{chunk.67C5V6BY.js → chunk.ZIK6UFCB.js} +4 -4
- package/dist/chunks/{chunk.X5WLR642.js → chunk.ZPSIFGI7.js} +1 -1
- package/dist/chunks/{chunk.CC7B3VFN.js → chunk.ZXDRF2AZ.js} +1 -1
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +4 -4
- package/dist/components/animated-image/animated-image.js +5 -5
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/button/button.component.js +4 -4
- package/dist/components/button/button.js +5 -5
- package/dist/components/calendar/calendar.component.js +7 -7
- package/dist/components/calendar/calendar.js +7 -7
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/color-picker/color-picker.component.js +10 -10
- package/dist/components/color-picker/color-picker.js +11 -11
- package/dist/components/copy-button/copy-button.component.js +4 -4
- package/dist/components/copy-button/copy-button.js +5 -5
- package/dist/components/date-panel/date-panel.component.js +10 -10
- package/dist/components/date-panel/date-panel.js +10 -10
- package/dist/components/datepicker/datepicker.component.js +15 -15
- package/dist/components/datepicker/datepicker.js +15 -15
- package/dist/components/daterangepicker/daterangepicker.component.js +20 -9
- package/dist/components/daterangepicker/daterangepicker.js +21 -10
- package/dist/components/daterangepicker/daterangepicker.styles.js +1 -1
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/drawer/drawer.component.js +5 -5
- package/dist/components/drawer/drawer.js +6 -6
- package/dist/components/float-button/float-button.component.js +27 -0
- package/dist/components/float-button/float-button.js +28 -0
- package/dist/components/float-button/float-button.styles.js +7 -0
- package/dist/components/float-button-group/float-button-group.component.js +17 -0
- package/dist/components/float-button-group/float-button-group.js +18 -0
- package/dist/components/float-button-group/float-button-group.styles.js +7 -0
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- package/dist/components/menu-item/menu-item.component.js +4 -4
- package/dist/components/menu-item/menu-item.js +5 -5
- package/dist/components/nav/nav.component.js +9 -9
- package/dist/components/nav/nav.js +10 -10
- package/dist/components/nav-submenu/nav-submenu.component.js +4 -4
- package/dist/components/nav-submenu/nav-submenu.js +5 -5
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +7 -7
- package/dist/components/pagination/pagination.component.js +8 -8
- package/dist/components/pagination/pagination.js +8 -8
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-group/radio-group.component.js +2 -2
- package/dist/components/radio-group/radio-group.js +3 -3
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/select/select.component.js +7 -7
- package/dist/components/select/select.js +8 -8
- package/dist/components/sender/sender.component.js +45 -0
- package/dist/components/sender/sender.js +46 -0
- package/dist/components/sender/sender.styles.js +7 -0
- package/dist/components/sender-header/sender-header.component.js +25 -0
- package/dist/components/sender-header/sender-header.js +26 -0
- package/dist/components/sender-header/sender-header.styles.js +7 -0
- package/dist/components/sender-switch/sender-switch.component.js +25 -0
- package/dist/components/sender-switch/sender-switch.js +26 -0
- package/dist/components/sender-switch/sender-switch.styles.js +7 -0
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +4 -4
- package/dist/components/tab-group/tab-group.js +5 -5
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/features/index.js +3 -3
- package/dist/components/table/features/row-drag-controller.js +1 -1
- package/dist/components/table/head-table.js +17 -17
- package/dist/components/table/table.component.js +25 -25
- package/dist/components/table/table.js +27 -27
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/think/think.component.js +4 -4
- package/dist/components/think/think.js +5 -5
- package/dist/components/think/think.styles.js +1 -1
- package/dist/components/thought-chain-item/thought-chain-item.component.js +3 -3
- package/dist/components/thought-chain-item/thought-chain-item.js +4 -4
- package/dist/components/thought-chain-node/thought-chain-node.component.js +3 -3
- package/dist/components/thought-chain-node/thought-chain-node.js +4 -4
- package/dist/components/time-panel/time-panel.component.js +6 -6
- package/dist/components/time-panel/time-panel.js +6 -6
- package/dist/components/time-panel/time-panel.styles.js +1 -1
- package/dist/components/timepicker/timepicker.component.js +15 -15
- package/dist/components/timepicker/timepicker.js +15 -15
- 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 +6 -6
- package/dist/components/tree-item/tree-item.js +7 -7
- package/dist/components/x-markdown/markdown/render.js +2 -2
- package/dist/components/x-markdown/x-markdown.component.js +3 -3
- package/dist/components/x-markdown/x-markdown.js +4 -4
- package/dist/custom-elements.json +5099 -3012
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +5 -5
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/button/index.js +5 -5
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/color-picker/index.js +11 -11
- package/dist/react/copy-button/index.js +5 -5
- package/dist/react/date-panel/index.js +11 -11
- package/dist/react/datepicker/index.js +16 -16
- package/dist/react/daterangepicker/index.js +21 -10
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +6 -6
- package/dist/react/drawer/index.js +6 -6
- package/dist/react/float-button/index.js +28 -0
- package/dist/react/float-button-group/index.js +18 -0
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +248 -218
- package/dist/react/input/index.js +5 -5
- package/dist/react/menu-item/index.js +5 -5
- package/dist/react/nav/index.js +10 -10
- package/dist/react/nav-submenu/index.js +5 -5
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +9 -9
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-group/index.js +3 -3
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +4 -4
- package/dist/react/select/index.js +8 -8
- package/dist/react/sender/index.js +46 -0
- package/dist/react/sender-header/index.js +26 -0
- package/dist/react/sender-switch/index.js +26 -0
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +5 -5
- package/dist/react/table/index.js +26 -26
- package/dist/react/tag/index.js +5 -5
- package/dist/react/think/index.js +5 -5
- package/dist/react/thought-chain-item/index.js +4 -4
- package/dist/react/thought-chain-node/index.js +4 -4
- package/dist/react/timepicker/index.js +16 -16
- package/dist/react/tree/index.js +9 -9
- package/dist/react/tree-item/index.js +7 -7
- package/dist/react/x-markdown/index.js +4 -4
- package/dist/shoelace.js +266 -236
- package/dist/themes/dark.css +14 -16
- package/dist/themes/dark.styles.js +14 -16
- package/dist/themes/light.css +47 -4
- package/dist/themes/light.styles.js +47 -4
- package/dist/themes/nova.css +20 -52
- package/dist/themes/nova.styles.js +20 -52
- package/dist/types/vue/index.d.ts +615 -340
- package/dist/vscode.html-custom-data.json +468 -277
- package/dist/web-types.json +1622 -1075
- package/package.json +2 -2
- package/cdn/chunks/{chunk.ZNCN2NE6.js → chunk.2AP733KC.js} +3 -3
- package/cdn/chunks/{chunk.QHLGXENI.js → chunk.6WEMAOXM.js} +3 -3
- package/cdn/chunks/{chunk.3GW6TCA3.js → chunk.7P4TKLSC.js} +3 -3
- package/cdn/chunks/{chunk.HIUGXXPV.js → chunk.D2GTY7PE.js} +3 -3
- package/cdn/chunks/{chunk.ULJSHWM3.js → chunk.EG5DXJSS.js} +3 -3
- package/cdn/chunks/{chunk.TGZRAX7P.js → chunk.JUHP7VBG.js} +3 -3
- package/cdn/chunks/{chunk.CFBUJD3D.js → chunk.RQQ7FUGE.js} +3 -3
- package/cdn/chunks/{chunk.XLNV2YNC.js → chunk.WUFUS2OW.js} +3 -3
- package/dist/chunks/{chunk.4UGGBC4S.js → chunk.GPSGJKTW.js} +3 -3
- package/dist/chunks/{chunk.MBBHJ5GO.js → chunk.P6QATVJO.js} +3 -3
- package/dist/chunks/{chunk.2XVFEHSO.js → chunk.PHBT3MJN.js} +3 -3
- package/dist/chunks/{chunk.3EOJVTR3.js → chunk.UNJJA52B.js} +3 -3
- package/dist/chunks/{chunk.TJTYBIR7.js → chunk.XRCLRCVM.js} +3 -3
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
daterangepicker_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.NZU6BSSA.js";
|
|
4
4
|
import {
|
|
5
5
|
SlPopup
|
|
6
6
|
} from "./chunk.HSTYCTCO.js";
|
|
7
|
+
import {
|
|
8
|
+
SlDrawer
|
|
9
|
+
} from "./chunk.VQ4QS2IG.js";
|
|
7
10
|
import {
|
|
8
11
|
defaultValue,
|
|
9
12
|
l
|
|
@@ -12,28 +15,32 @@ import {
|
|
|
12
15
|
form_control_styles_default
|
|
13
16
|
} from "./chunk.PZIGA4BO.js";
|
|
14
17
|
import {
|
|
18
|
+
LOCALE,
|
|
15
19
|
SlCalendar,
|
|
16
20
|
formatDatetime,
|
|
17
21
|
parseDatetime
|
|
18
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.F22SPZB3.js";
|
|
23
|
+
import {
|
|
24
|
+
SlButton
|
|
25
|
+
} from "./chunk.OBQXUZUT.js";
|
|
19
26
|
import {
|
|
20
27
|
FormControlController
|
|
21
28
|
} from "./chunk.SY37VGFH.js";
|
|
22
|
-
import {
|
|
23
|
-
LocalizeController
|
|
24
|
-
} from "./chunk.2SU6QBUU.js";
|
|
25
29
|
import {
|
|
26
30
|
o
|
|
27
31
|
} from "./chunk.OJXBTTLD.js";
|
|
28
32
|
import {
|
|
29
33
|
HasSlotController
|
|
30
34
|
} from "./chunk.NYIIDP5N.js";
|
|
35
|
+
import {
|
|
36
|
+
LocalizeController
|
|
37
|
+
} from "./chunk.2SU6QBUU.js";
|
|
31
38
|
import {
|
|
32
39
|
e
|
|
33
40
|
} from "./chunk.ZLKEMKLZ.js";
|
|
34
41
|
import {
|
|
35
42
|
SlIcon
|
|
36
|
-
} from "./chunk.
|
|
43
|
+
} from "./chunk.2AP733KC.js";
|
|
37
44
|
import {
|
|
38
45
|
watch
|
|
39
46
|
} from "./chunk.WID3TCT6.js";
|
|
@@ -85,6 +92,12 @@ var SlDaterangepicker = class extends ShoelaceElement {
|
|
|
85
92
|
this.rangeEditExpectedSide = null;
|
|
86
93
|
this.hasFocusSwitched = false;
|
|
87
94
|
this.lastValidValue = [null, null];
|
|
95
|
+
this.isMobile = false;
|
|
96
|
+
this.mobilePickerView = "calendar";
|
|
97
|
+
this.wheelDate = /* @__PURE__ */ new Date();
|
|
98
|
+
this.yearScrollTop = 0;
|
|
99
|
+
this.mobileOpenSnapshot = [null, null];
|
|
100
|
+
this.mobileInteracted = false;
|
|
88
101
|
this.name = "";
|
|
89
102
|
this.value = [null, null];
|
|
90
103
|
this.defaultValue = [null, null];
|
|
@@ -113,22 +126,35 @@ var SlDaterangepicker = class extends ShoelaceElement {
|
|
|
113
126
|
}
|
|
114
127
|
/** Gets the validity state object */
|
|
115
128
|
get validity() {
|
|
129
|
+
var _a, _b;
|
|
130
|
+
if (!((_a = this.startInput) == null ? void 0 : _a.validity) || !((_b = this.endInput) == null ? void 0 : _b.validity)) {
|
|
131
|
+
return { valid: true };
|
|
132
|
+
}
|
|
116
133
|
return this.startInput.validity.valid && this.endInput.validity.valid ? this.startInput.validity : this.startInput.validity.valid ? this.endInput.validity : this.startInput.validity;
|
|
117
134
|
}
|
|
118
135
|
/** Gets the validation message */
|
|
119
136
|
get validationMessage() {
|
|
137
|
+
if (!this.startInput || !this.endInput) return "";
|
|
120
138
|
return this.startInput.validationMessage || this.endInput.validationMessage;
|
|
121
139
|
}
|
|
122
140
|
connectedCallback() {
|
|
123
141
|
super.connectedCallback();
|
|
124
142
|
this.handleDocumentMouseDown = this.handleDocumentMouseDown.bind(this);
|
|
125
143
|
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
144
|
+
this.handleResize = this.handleResize.bind(this);
|
|
145
|
+
window.addEventListener("resize", this.handleResize);
|
|
146
|
+
this.handleResize();
|
|
126
147
|
}
|
|
127
148
|
disconnectedCallback() {
|
|
128
149
|
super.disconnectedCallback();
|
|
129
150
|
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
151
|
+
window.removeEventListener("resize", this.handleResize);
|
|
152
|
+
}
|
|
153
|
+
handleResize() {
|
|
154
|
+
this.isMobile = window.matchMedia("(max-width: 500px)").matches;
|
|
130
155
|
}
|
|
131
156
|
handleDocumentMouseDown(event) {
|
|
157
|
+
if (this.isMobile) return;
|
|
132
158
|
const path = event.composedPath();
|
|
133
159
|
if (!this.open) return;
|
|
134
160
|
const isInsideInput = this.inputContainer ? path.includes(this.inputContainer) : false;
|
|
@@ -138,6 +164,7 @@ var SlDaterangepicker = class extends ShoelaceElement {
|
|
|
138
164
|
}
|
|
139
165
|
/** 检查有效性并触发 sl-invalid 事件(如果无效) */
|
|
140
166
|
checkValidity() {
|
|
167
|
+
if (!this.startInput || !this.endInput) return true;
|
|
141
168
|
return this.startInput.checkValidity() && this.endInput.checkValidity();
|
|
142
169
|
}
|
|
143
170
|
/** 获取表单引用 */
|
|
@@ -146,21 +173,29 @@ var SlDaterangepicker = class extends ShoelaceElement {
|
|
|
146
173
|
}
|
|
147
174
|
/** 检查有效性并显示浏览器原生的有效性提示 */
|
|
148
175
|
reportValidity() {
|
|
176
|
+
if (!this.startInput || !this.endInput) return true;
|
|
149
177
|
return this.startInput.reportValidity() && this.endInput.reportValidity();
|
|
150
178
|
}
|
|
151
179
|
/** 设置自定义有效性消息 */
|
|
152
180
|
setCustomValidity(message) {
|
|
181
|
+
if (!this.startInput || !this.endInput) return;
|
|
153
182
|
this.startInput.setCustomValidity(message);
|
|
154
183
|
this.endInput.setCustomValidity(message);
|
|
155
184
|
this.formControlController.updateValidity();
|
|
156
185
|
}
|
|
157
186
|
/** 聚焦到开始日期输入框并打开面板 */
|
|
158
187
|
focus(options) {
|
|
188
|
+
if (this.isMobile) {
|
|
189
|
+
this.activeInput = "start";
|
|
190
|
+
this.open = true;
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
159
193
|
this.startInput.focus(options);
|
|
160
194
|
}
|
|
161
195
|
/** 移除焦点并关闭面板 */
|
|
162
196
|
blur() {
|
|
163
197
|
var _a;
|
|
198
|
+
if (this.isMobile && this.open) return;
|
|
164
199
|
const active = (_a = this.shadowRoot) == null ? void 0 : _a.activeElement;
|
|
165
200
|
if (active && typeof active.blur === "function") {
|
|
166
201
|
active.blur();
|
|
@@ -302,6 +337,11 @@ var SlDaterangepicker = class extends ShoelaceElement {
|
|
|
302
337
|
async handleOpenChange() {
|
|
303
338
|
this.hasFocusSwitched = false;
|
|
304
339
|
if (this.open) {
|
|
340
|
+
if (this.isMobile) {
|
|
341
|
+
this.mobileOpenSnapshot = [this.startDate, this.endDate];
|
|
342
|
+
this.mobilePickerView = "calendar";
|
|
343
|
+
this.mobileInteracted = false;
|
|
344
|
+
}
|
|
305
345
|
this.enableHoverRange = this.type === "datetime" && !!(this.startDate && this.endDate);
|
|
306
346
|
this.rangeEditTwoStep = !!(this.startDate && this.endDate);
|
|
307
347
|
this.rangeEditFirstSide = null;
|
|
@@ -337,7 +377,9 @@ var SlDaterangepicker = class extends ShoelaceElement {
|
|
|
337
377
|
this.rangeEditExpectedSide = null;
|
|
338
378
|
this.calendarView = "days";
|
|
339
379
|
this.enableHoverRange = false;
|
|
340
|
-
this.
|
|
380
|
+
if (!this.isMobile) {
|
|
381
|
+
this.commitOrRevertInputValue();
|
|
382
|
+
}
|
|
341
383
|
}
|
|
342
384
|
}
|
|
343
385
|
handleValueUpdate() {
|
|
@@ -772,7 +814,417 @@ var SlDaterangepicker = class extends ShoelaceElement {
|
|
|
772
814
|
normalized.setHours(0, 0, 0, 0);
|
|
773
815
|
return normalized;
|
|
774
816
|
}
|
|
817
|
+
// ─── Mobile-specific methods ───
|
|
818
|
+
isMobileDateDisabled(date) {
|
|
819
|
+
const minDate = this.min ? parseDatetime(this.min, this.type) : null;
|
|
820
|
+
const maxDate = this.max ? parseDatetime(this.max, this.type) : null;
|
|
821
|
+
if (minDate && date < minDate || maxDate && date > maxDate) return true;
|
|
822
|
+
if (!this.mobileInteracted) return false;
|
|
823
|
+
if (this.activeInput === "start" && this.endDate) {
|
|
824
|
+
return date > this.endDate;
|
|
825
|
+
}
|
|
826
|
+
if (this.activeInput === "end" && this.startDate) {
|
|
827
|
+
return date < this.startDate;
|
|
828
|
+
}
|
|
829
|
+
return false;
|
|
830
|
+
}
|
|
831
|
+
handleMobileCancel() {
|
|
832
|
+
this.open = false;
|
|
833
|
+
this.applyRange(this.mobileOpenSnapshot[0], this.mobileOpenSnapshot[1]);
|
|
834
|
+
this.lastValidValue = [this.mobileOpenSnapshot[0], this.mobileOpenSnapshot[1]];
|
|
835
|
+
}
|
|
836
|
+
handleMobileClear() {
|
|
837
|
+
this.applyRange(null, null);
|
|
838
|
+
this.lastValidValue = [null, null];
|
|
839
|
+
this.open = false;
|
|
840
|
+
this.emit("sl-clear");
|
|
841
|
+
this.emit("sl-input");
|
|
842
|
+
this.emit("sl-change");
|
|
843
|
+
}
|
|
844
|
+
handleMobileConfirm() {
|
|
845
|
+
this.open = false;
|
|
846
|
+
this.lastValidValue = [this.startDate, this.endDate];
|
|
847
|
+
this.emit("sl-input");
|
|
848
|
+
this.emit("sl-change");
|
|
849
|
+
}
|
|
850
|
+
handleMobileDateSelect(event) {
|
|
851
|
+
if (this.disabled || this.readonly) return;
|
|
852
|
+
this.mobileInteracted = true;
|
|
853
|
+
const selectedDate = event.detail.date;
|
|
854
|
+
if (this.activeInput === "start") {
|
|
855
|
+
if (this.endDate && selectedDate > this.endDate) {
|
|
856
|
+
this.applyRange(selectedDate, null);
|
|
857
|
+
this.activeInput = "end";
|
|
858
|
+
} else if (!this.endDate) {
|
|
859
|
+
this.applyRange(selectedDate, null);
|
|
860
|
+
this.activeInput = "end";
|
|
861
|
+
} else {
|
|
862
|
+
this.applyRange(selectedDate, this.endDate);
|
|
863
|
+
}
|
|
864
|
+
} else {
|
|
865
|
+
if (this.startDate && selectedDate < this.startDate) {
|
|
866
|
+
this.applyRange(null, selectedDate);
|
|
867
|
+
this.activeInput = "start";
|
|
868
|
+
} else if (!this.startDate) {
|
|
869
|
+
this.applyRange(null, selectedDate);
|
|
870
|
+
this.activeInput = "start";
|
|
871
|
+
} else {
|
|
872
|
+
this.applyRange(this.startDate, selectedDate);
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
this.emit("sl-input");
|
|
876
|
+
}
|
|
877
|
+
syncMobileCalendarToActive() {
|
|
878
|
+
const targetDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
879
|
+
if (targetDate) {
|
|
880
|
+
this.leftDate = new Date(targetDate);
|
|
881
|
+
this.updateComplete.then(() => {
|
|
882
|
+
var _a;
|
|
883
|
+
const cal = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(
|
|
884
|
+
".daterangepicker-mobile__calendar sl-calendar"
|
|
885
|
+
);
|
|
886
|
+
if (cal) cal.setCurrentDate(this.leftDate);
|
|
887
|
+
});
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
handleMobileFooterClick(side) {
|
|
891
|
+
if (this.activeInput === side) return;
|
|
892
|
+
this.mobileInteracted = true;
|
|
893
|
+
this.activeInput = side;
|
|
894
|
+
this.syncMobileCalendarToActive();
|
|
895
|
+
}
|
|
896
|
+
handleMobileViewChange(event) {
|
|
897
|
+
const view = event.detail.view;
|
|
898
|
+
if (view === "years" || view === "months") {
|
|
899
|
+
event.preventDefault();
|
|
900
|
+
this.mobilePickerView = "wheel";
|
|
901
|
+
let currentDate = this.activeInput === "end" ? this.endDate : this.startDate;
|
|
902
|
+
if (!currentDate) currentDate = /* @__PURE__ */ new Date();
|
|
903
|
+
this.wheelDate = new Date(currentDate);
|
|
904
|
+
this.wheelDate.setDate(1);
|
|
905
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
906
|
+
const minYear = minDate.getFullYear();
|
|
907
|
+
const yearIndex = this.wheelDate.getFullYear() - minYear;
|
|
908
|
+
if (yearIndex >= 0) {
|
|
909
|
+
this.yearScrollTop = yearIndex * 40;
|
|
910
|
+
}
|
|
911
|
+
this.updateComplete.then(() => this.scrollToWheelDate());
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
scrollToWheelDate() {
|
|
915
|
+
if (this.yearColumn) {
|
|
916
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
917
|
+
const minYear = minDate.getFullYear();
|
|
918
|
+
const yearIndex = this.wheelDate.getFullYear() - minYear;
|
|
919
|
+
if (yearIndex >= 0) {
|
|
920
|
+
const scrollTop = yearIndex * 40;
|
|
921
|
+
this.yearColumn.scrollTop = scrollTop;
|
|
922
|
+
this.yearScrollTop = scrollTop;
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
if (this.monthColumn) {
|
|
926
|
+
const monthIndex = this.wheelDate.getMonth();
|
|
927
|
+
this.monthColumn.scrollTop = (108 + monthIndex) * 40;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
handleWheelScroll(event, type) {
|
|
931
|
+
const target = event.target;
|
|
932
|
+
const itemHeight = 40;
|
|
933
|
+
const scrollTop = target.scrollTop;
|
|
934
|
+
const index = Math.round(scrollTop / itemHeight);
|
|
935
|
+
if (type === "year") {
|
|
936
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
937
|
+
const minYear = minDate.getFullYear();
|
|
938
|
+
const maxDate = parseDatetime(String(this.max)) || new Date(9999, 11, 31);
|
|
939
|
+
const maxYear = maxDate.getFullYear();
|
|
940
|
+
const year = Math.max(minYear, Math.min(maxYear, minYear + index));
|
|
941
|
+
if (year !== this.wheelDate.getFullYear()) {
|
|
942
|
+
this.wheelDate = new Date(this.wheelDate.setFullYear(year));
|
|
943
|
+
}
|
|
944
|
+
if (Math.abs(scrollTop - this.yearScrollTop) > 80) {
|
|
945
|
+
this.yearScrollTop = scrollTop;
|
|
946
|
+
}
|
|
947
|
+
} else {
|
|
948
|
+
const currentSet = Math.floor(index / 12);
|
|
949
|
+
const centerSet = 9;
|
|
950
|
+
if (Math.abs(currentSet - centerSet) > 5) {
|
|
951
|
+
const relativeMonthIndex = index % 12;
|
|
952
|
+
target.scrollTop = (centerSet * 12 + relativeMonthIndex) * itemHeight;
|
|
953
|
+
}
|
|
954
|
+
const newIndex = Math.round(target.scrollTop / itemHeight);
|
|
955
|
+
const monthIndex = newIndex % 12;
|
|
956
|
+
if (monthIndex !== this.wheelDate.getMonth()) {
|
|
957
|
+
this.wheelDate = new Date(this.wheelDate.setMonth(monthIndex));
|
|
958
|
+
this.requestUpdate();
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
async handleWheelConfirm() {
|
|
963
|
+
var _a;
|
|
964
|
+
const newDate = new Date(this.wheelDate);
|
|
965
|
+
this.mobilePickerView = "calendar";
|
|
966
|
+
await this.updateComplete;
|
|
967
|
+
this.leftDate = newDate;
|
|
968
|
+
const cal = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".daterangepicker-mobile__calendar sl-calendar");
|
|
969
|
+
if (cal) cal.setCurrentDate(newDate);
|
|
970
|
+
}
|
|
971
|
+
handleWheelCancel() {
|
|
972
|
+
this.mobilePickerView = "calendar";
|
|
973
|
+
}
|
|
974
|
+
renderMobileHeader() {
|
|
975
|
+
const hasAnyValue = !!(this.startDate || this.endDate);
|
|
976
|
+
const isConfirmDisabled = !(this.startDate && this.endDate);
|
|
977
|
+
return b`
|
|
978
|
+
<div class="daterangepicker-mobile__header">
|
|
979
|
+
<div class="daterangepicker-mobile__header-left">
|
|
980
|
+
<sl-button variant="text" @click=${this.handleMobileCancel}>${LOCALE.cancelText}</sl-button>
|
|
981
|
+
<sl-button variant="text" @click=${this.handleMobileClear} ?disabled=${!hasAnyValue}
|
|
982
|
+
>${LOCALE.clearText}</sl-button
|
|
983
|
+
>
|
|
984
|
+
</div>
|
|
985
|
+
<sl-button
|
|
986
|
+
class="daterangepicker-mobile__confirm-btn"
|
|
987
|
+
variant="text"
|
|
988
|
+
@click=${this.handleMobileConfirm}
|
|
989
|
+
?disabled=${isConfirmDisabled}
|
|
990
|
+
>${LOCALE.confirmText}</sl-button
|
|
991
|
+
>
|
|
992
|
+
</div>
|
|
993
|
+
`;
|
|
994
|
+
}
|
|
995
|
+
renderMobileFooter() {
|
|
996
|
+
const startText = this.startDate ? formatDatetime(this.startDate, "date") : this.startPlaceholder;
|
|
997
|
+
const endText = this.endDate ? formatDatetime(this.endDate, "date") : this.endPlaceholder;
|
|
998
|
+
return b`
|
|
999
|
+
<div class="daterangepicker-mobile__footer">
|
|
1000
|
+
<div
|
|
1001
|
+
class=${e({
|
|
1002
|
+
"daterangepicker-mobile__footer-item": true,
|
|
1003
|
+
"daterangepicker-mobile__footer-item--active": this.activeInput === "start",
|
|
1004
|
+
"daterangepicker-mobile__footer-item--empty": !this.startDate
|
|
1005
|
+
})}
|
|
1006
|
+
@click=${() => this.handleMobileFooterClick("start")}
|
|
1007
|
+
>
|
|
1008
|
+
${startText}
|
|
1009
|
+
</div>
|
|
1010
|
+
<span class="daterangepicker-mobile__footer-separator">~</span>
|
|
1011
|
+
<div
|
|
1012
|
+
class=${e({
|
|
1013
|
+
"daterangepicker-mobile__footer-item": true,
|
|
1014
|
+
"daterangepicker-mobile__footer-item--active": this.activeInput === "end",
|
|
1015
|
+
"daterangepicker-mobile__footer-item--empty": !this.endDate
|
|
1016
|
+
})}
|
|
1017
|
+
@click=${() => this.handleMobileFooterClick("end")}
|
|
1018
|
+
>
|
|
1019
|
+
${endText}
|
|
1020
|
+
</div>
|
|
1021
|
+
</div>
|
|
1022
|
+
`;
|
|
1023
|
+
}
|
|
1024
|
+
renderMobileWheelPicker() {
|
|
1025
|
+
const minDate = parseDatetime(String(this.min)) || new Date(1, 0, 1);
|
|
1026
|
+
const maxDate = parseDatetime(String(this.max)) || new Date(9999, 11, 31);
|
|
1027
|
+
const minYear = minDate.getFullYear();
|
|
1028
|
+
const maxYear = maxDate.getFullYear();
|
|
1029
|
+
const totalYears = maxYear - minYear + 1;
|
|
1030
|
+
const itemHeight = 40;
|
|
1031
|
+
const buffer = 50;
|
|
1032
|
+
const scrollTop = this.yearScrollTop;
|
|
1033
|
+
const startIndex = Math.max(0, Math.floor(scrollTop / itemHeight) - buffer);
|
|
1034
|
+
const endIndex = Math.min(totalYears, Math.ceil((scrollTop + 500) / itemHeight) + buffer);
|
|
1035
|
+
const visibleYears = [];
|
|
1036
|
+
for (let i = startIndex; i < endIndex; i++) {
|
|
1037
|
+
visibleYears.push({ year: minYear + i });
|
|
1038
|
+
}
|
|
1039
|
+
const months = Array.from({ length: 12 }, (_, i) => i + 1);
|
|
1040
|
+
const displayMonths = Array(19).fill(months).flat();
|
|
1041
|
+
const currentYear = this.wheelDate.getFullYear();
|
|
1042
|
+
const currentMonth = this.wheelDate.getMonth() + 1;
|
|
1043
|
+
return b`
|
|
1044
|
+
<div class="daterangepicker-mobile__wheel-picker">
|
|
1045
|
+
<div class="daterangepicker-mobile__wheel-header">
|
|
1046
|
+
<sl-button variant="text" @click=${this.handleWheelCancel}>${LOCALE.cancelText}</sl-button>
|
|
1047
|
+
<sl-button variant="text" @click=${this.handleWheelConfirm}>${LOCALE.confirmText}</sl-button>
|
|
1048
|
+
</div>
|
|
1049
|
+
<div class="daterangepicker-mobile__wheel-current">
|
|
1050
|
+
${currentYear}${LOCALE.year} ${currentMonth}${LOCALE.month}
|
|
1051
|
+
</div>
|
|
1052
|
+
<div class="daterangepicker-mobile__wheel-labels">
|
|
1053
|
+
<div>${LOCALE.year}</div>
|
|
1054
|
+
<div>${LOCALE.month}</div>
|
|
1055
|
+
</div>
|
|
1056
|
+
<div class="daterangepicker-mobile__wheel-body">
|
|
1057
|
+
<div class="daterangepicker-mobile__wheel-translate-top"></div>
|
|
1058
|
+
<div class="daterangepicker-mobile__wheel-highlight"></div>
|
|
1059
|
+
<div class="daterangepicker-mobile__wheel-translate-bottom"></div>
|
|
1060
|
+
<div
|
|
1061
|
+
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--year"
|
|
1062
|
+
@scroll=${(e3) => this.handleWheelScroll(e3, "year")}
|
|
1063
|
+
>
|
|
1064
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1065
|
+
<div style="height: ${startIndex * itemHeight}px; flex-shrink: 0;"></div>
|
|
1066
|
+
${visibleYears.map(
|
|
1067
|
+
(item) => b`
|
|
1068
|
+
<div
|
|
1069
|
+
class="daterangepicker-mobile__wheel-item ${e({
|
|
1070
|
+
"daterangepicker-mobile__wheel-item--selected": item.year === currentYear
|
|
1071
|
+
})}"
|
|
1072
|
+
>
|
|
1073
|
+
${item.year}
|
|
1074
|
+
</div>
|
|
1075
|
+
`
|
|
1076
|
+
)}
|
|
1077
|
+
<div style="height: ${(totalYears - endIndex) * itemHeight}px; flex-shrink: 0;"></div>
|
|
1078
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1079
|
+
</div>
|
|
1080
|
+
<div
|
|
1081
|
+
class="daterangepicker-mobile__wheel-column daterangepicker-mobile__wheel-column--month"
|
|
1082
|
+
@scroll=${(e3) => this.handleWheelScroll(e3, "month")}
|
|
1083
|
+
>
|
|
1084
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1085
|
+
${displayMonths.map(
|
|
1086
|
+
(month, index) => b`
|
|
1087
|
+
<div
|
|
1088
|
+
class="daterangepicker-mobile__wheel-item ${e({
|
|
1089
|
+
"daterangepicker-mobile__wheel-item--selected": index % 12 + 1 === currentMonth
|
|
1090
|
+
})}"
|
|
1091
|
+
>
|
|
1092
|
+
${month}
|
|
1093
|
+
</div>
|
|
1094
|
+
`
|
|
1095
|
+
)}
|
|
1096
|
+
<div class="daterangepicker-mobile__wheel-spacer"></div>
|
|
1097
|
+
</div>
|
|
1098
|
+
</div>
|
|
1099
|
+
</div>
|
|
1100
|
+
`;
|
|
1101
|
+
}
|
|
1102
|
+
renderMobile() {
|
|
1103
|
+
const hasLabel = this.label ? true : !!this.hasSlotController.test("label");
|
|
1104
|
+
const hasHelpText = this.helpText ? true : !!this.hasSlotController.test("help-text");
|
|
1105
|
+
const [calendarStartDate, calendarEndDate] = this.getCalendarRange();
|
|
1106
|
+
const displayStartDate = this.normalizeCalendarDate(calendarStartDate);
|
|
1107
|
+
const displayEndDate = this.normalizeCalendarDate(calendarEndDate);
|
|
1108
|
+
return b`
|
|
1109
|
+
<div
|
|
1110
|
+
part="form-control"
|
|
1111
|
+
class=${e({
|
|
1112
|
+
"form-control": true,
|
|
1113
|
+
"form-control--small": this.size === "small",
|
|
1114
|
+
"form-control--medium": this.size === "medium",
|
|
1115
|
+
"form-control--large": this.size === "large",
|
|
1116
|
+
"form-control--has-label": hasLabel,
|
|
1117
|
+
"form-control--has-help-text": hasHelpText
|
|
1118
|
+
})}
|
|
1119
|
+
>
|
|
1120
|
+
<label
|
|
1121
|
+
part="form-control-label"
|
|
1122
|
+
class="form-control__label"
|
|
1123
|
+
for="start-input"
|
|
1124
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
1125
|
+
>
|
|
1126
|
+
<slot name="label">${this.label}</slot>
|
|
1127
|
+
</label>
|
|
1128
|
+
|
|
1129
|
+
<div part="form-control-input" class="form-control__input">
|
|
1130
|
+
<div
|
|
1131
|
+
slot="anchor"
|
|
1132
|
+
part="base"
|
|
1133
|
+
class=${e({
|
|
1134
|
+
daterangepicker: true,
|
|
1135
|
+
"daterangepicker--standard": !this.filled,
|
|
1136
|
+
"daterangepicker--filled": this.filled,
|
|
1137
|
+
"daterangepicker--pill": this.pill,
|
|
1138
|
+
"daterangepicker--disabled": this.disabled,
|
|
1139
|
+
"daterangepicker--focused": this.open,
|
|
1140
|
+
"daterangepicker--empty": !this.startValue && !this.endValue,
|
|
1141
|
+
"daterangepicker--small": this.size === "small",
|
|
1142
|
+
"daterangepicker--medium": this.size === "medium",
|
|
1143
|
+
"daterangepicker--large": this.size === "large"
|
|
1144
|
+
})}
|
|
1145
|
+
@click=${() => {
|
|
1146
|
+
if (!this.disabled && !this.readonly) {
|
|
1147
|
+
this.activeInput = "start";
|
|
1148
|
+
this.open = true;
|
|
1149
|
+
}
|
|
1150
|
+
}}
|
|
1151
|
+
>
|
|
1152
|
+
<span class="daterangepicker__control-wrapper">
|
|
1153
|
+
<span
|
|
1154
|
+
class="daterangepicker__control daterangepicker__control--start"
|
|
1155
|
+
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)"}"
|
|
1156
|
+
>${this.startValue || this.startPlaceholder}</span
|
|
1157
|
+
>
|
|
1158
|
+
</span>
|
|
1159
|
+
|
|
1160
|
+
<span part="separator" class="daterangepicker__separator">~</span>
|
|
1161
|
+
|
|
1162
|
+
<span class="daterangepicker__control-wrapper">
|
|
1163
|
+
<span
|
|
1164
|
+
class="daterangepicker__control daterangepicker__control--end"
|
|
1165
|
+
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)"}"
|
|
1166
|
+
>${this.endValue || this.endPlaceholder}</span
|
|
1167
|
+
>
|
|
1168
|
+
</span>
|
|
1169
|
+
|
|
1170
|
+
<div part="suffix" class="daterangepicker__suffix">
|
|
1171
|
+
<slot name="suffix">
|
|
1172
|
+
<sl-icon name="calendar4"></sl-icon>
|
|
1173
|
+
</slot>
|
|
1174
|
+
</div>
|
|
1175
|
+
</div>
|
|
1176
|
+
|
|
1177
|
+
<sl-drawer
|
|
1178
|
+
class="daterangepicker-mobile__drawer"
|
|
1179
|
+
placement="bottom"
|
|
1180
|
+
?open=${this.open}
|
|
1181
|
+
no-header
|
|
1182
|
+
@sl-request-close=${(event) => {
|
|
1183
|
+
if (event.detail.source === "overlay" || event.detail.source === "keyboard") {
|
|
1184
|
+
event.preventDefault();
|
|
1185
|
+
this.handleMobileCancel();
|
|
1186
|
+
}
|
|
1187
|
+
}}
|
|
1188
|
+
>
|
|
1189
|
+
${this.mobilePickerView === "wheel" ? this.renderMobileWheelPicker() : b`
|
|
1190
|
+
${this.renderMobileHeader()}
|
|
1191
|
+
<div class="daterangepicker-mobile__calendar">
|
|
1192
|
+
<sl-calendar
|
|
1193
|
+
.value=${""}
|
|
1194
|
+
type="date"
|
|
1195
|
+
mode="range"
|
|
1196
|
+
.startDate=${displayStartDate}
|
|
1197
|
+
.endDate=${displayEndDate}
|
|
1198
|
+
.activeInput=${this.activeInput}
|
|
1199
|
+
.min=${o(this.min)}
|
|
1200
|
+
.max=${o(this.max)}
|
|
1201
|
+
.currentDate=${this.leftDate}
|
|
1202
|
+
.syncViewWithValue=${false}
|
|
1203
|
+
.disabledDate=${(date) => this.isMobileDateDisabled(date)}
|
|
1204
|
+
@sl-date-select=${this.handleMobileDateSelect}
|
|
1205
|
+
@sl-view-change=${this.handleMobileViewChange}
|
|
1206
|
+
@click=${(event) => event.stopPropagation()}
|
|
1207
|
+
></sl-calendar>
|
|
1208
|
+
</div>
|
|
1209
|
+
${this.renderMobileFooter()}
|
|
1210
|
+
`}
|
|
1211
|
+
</sl-drawer>
|
|
1212
|
+
</div>
|
|
1213
|
+
|
|
1214
|
+
<div
|
|
1215
|
+
part="form-control-help-text"
|
|
1216
|
+
class="form-control__help-text"
|
|
1217
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
1218
|
+
>
|
|
1219
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
1220
|
+
</div>
|
|
1221
|
+
</div>
|
|
1222
|
+
`;
|
|
1223
|
+
}
|
|
775
1224
|
render() {
|
|
1225
|
+
if (this.isMobile) {
|
|
1226
|
+
return this.renderMobile();
|
|
1227
|
+
}
|
|
776
1228
|
const hasLabel = this.label ? true : !!this.hasSlotController.test("label");
|
|
777
1229
|
const hasHelpText = this.helpText ? true : !!this.hasSlotController.test("help-text");
|
|
778
1230
|
const isClearable = this.clearable && (this.startValue || this.endValue) && !this.disabled && !this.readonly && (this.hasFocus || this.isHovered);
|
|
@@ -1031,7 +1483,9 @@ SlDaterangepicker.styles = [component_styles_default, form_control_styles_defaul
|
|
|
1031
1483
|
SlDaterangepicker.dependencies = {
|
|
1032
1484
|
"sl-icon": SlIcon,
|
|
1033
1485
|
"sl-popup": SlPopup,
|
|
1034
|
-
"sl-calendar": SlCalendar
|
|
1486
|
+
"sl-calendar": SlCalendar,
|
|
1487
|
+
"sl-drawer": SlDrawer,
|
|
1488
|
+
"sl-button": SlButton
|
|
1035
1489
|
};
|
|
1036
1490
|
__decorateClass([
|
|
1037
1491
|
e2(".daterangepicker__control--start")
|
|
@@ -1099,6 +1553,24 @@ __decorateClass([
|
|
|
1099
1553
|
__decorateClass([
|
|
1100
1554
|
r()
|
|
1101
1555
|
], SlDaterangepicker.prototype, "hasFocusSwitched", 2);
|
|
1556
|
+
__decorateClass([
|
|
1557
|
+
r()
|
|
1558
|
+
], SlDaterangepicker.prototype, "isMobile", 2);
|
|
1559
|
+
__decorateClass([
|
|
1560
|
+
r()
|
|
1561
|
+
], SlDaterangepicker.prototype, "mobilePickerView", 2);
|
|
1562
|
+
__decorateClass([
|
|
1563
|
+
r()
|
|
1564
|
+
], SlDaterangepicker.prototype, "wheelDate", 2);
|
|
1565
|
+
__decorateClass([
|
|
1566
|
+
r()
|
|
1567
|
+
], SlDaterangepicker.prototype, "yearScrollTop", 2);
|
|
1568
|
+
__decorateClass([
|
|
1569
|
+
e2(".daterangepicker-mobile__wheel-column--year")
|
|
1570
|
+
], SlDaterangepicker.prototype, "yearColumn", 2);
|
|
1571
|
+
__decorateClass([
|
|
1572
|
+
e2(".daterangepicker-mobile__wheel-column--month")
|
|
1573
|
+
], SlDaterangepicker.prototype, "monthColumn", 2);
|
|
1102
1574
|
__decorateClass([
|
|
1103
1575
|
n()
|
|
1104
1576
|
], SlDaterangepicker.prototype, "name", 2);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SlMenuItem
|
|
3
|
-
} from "./chunk.EY32EKVK.js";
|
|
4
1
|
import {
|
|
5
2
|
SlMenu
|
|
6
3
|
} from "./chunk.YHRSHDUN.js";
|
|
4
|
+
import {
|
|
5
|
+
SlMenuItem
|
|
6
|
+
} from "./chunk.VQZYCZBT.js";
|
|
7
7
|
import {
|
|
8
8
|
SlDropdown
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.WUFUS2OW.js";
|
|
10
10
|
import {
|
|
11
11
|
SlIcon
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.2AP733KC.js";
|
|
13
13
|
import {
|
|
14
14
|
ShoelaceElement,
|
|
15
15
|
n,
|