@kdcloudjs/shoelace 1.0.20 → 1.0.22
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.2CM45OPI.js +11 -0
- package/cdn/chunks/chunk.2M2IEZMJ.js +11 -0
- package/cdn/chunks/chunk.2YWTCW7W.js +11 -0
- package/cdn/chunks/chunk.2ZQOLEDC.js +11 -0
- package/cdn/chunks/chunk.3YYDPUTT.js +11 -0
- package/cdn/chunks/chunk.3ZDUMADR.js +358 -0
- package/cdn/chunks/chunk.3ZKKS3GH.js +21 -0
- package/cdn/chunks/chunk.42RSWJ72.js +21 -0
- package/cdn/chunks/chunk.4D35RY2E.js +21 -0
- package/cdn/chunks/chunk.4EVM3UF2.js +314 -0
- package/cdn/chunks/chunk.4STNX3YX.js +2953 -0
- package/cdn/chunks/chunk.5A2TQWJT.js +21 -0
- package/cdn/chunks/chunk.5DMVBFON.js +11 -0
- package/cdn/chunks/chunk.5E6J5ERA.js +113 -0
- package/cdn/chunks/chunk.5YMVI36Y.js +25 -0
- package/cdn/chunks/chunk.6APO5EBS.js +21 -0
- package/cdn/chunks/chunk.6BATQ6LY.js +11 -0
- package/cdn/chunks/chunk.6LEXUZ6W.js +118 -0
- package/cdn/chunks/chunk.6Z2NBGGA.js +346 -0
- package/cdn/chunks/chunk.7JIELPQI.js +29 -0
- package/cdn/chunks/chunk.7L6FJHOX.js +49 -0
- package/cdn/chunks/chunk.7M36RZAW.js +21 -0
- package/cdn/chunks/chunk.7NSBGUZO.js +216 -0
- package/cdn/chunks/chunk.7NTP4M3K.js +11 -0
- package/cdn/chunks/chunk.7WVYHJ3U.js +24 -0
- package/cdn/chunks/chunk.AJ6JKIU6.js +313 -0
- package/cdn/chunks/chunk.AJTTR72H.js +11 -0
- package/cdn/chunks/chunk.ALOIJIYN.js +29 -0
- package/cdn/chunks/chunk.ASTKIYOQ.js +5845 -0
- package/cdn/chunks/chunk.AUCKEGQD.js +53 -0
- package/cdn/chunks/chunk.AVIQ7AOD.js +336 -0
- package/cdn/chunks/chunk.B32KJU7E.js +58 -0
- package/cdn/chunks/chunk.B4VA5KO3.js +26 -0
- package/cdn/chunks/chunk.B5CEMB6B.js +114 -0
- package/cdn/chunks/chunk.BDLEZ22C.js +24 -0
- package/cdn/chunks/chunk.BEJDHOLO.js +11 -0
- package/cdn/chunks/chunk.BMTOC3GS.js +135 -0
- package/cdn/chunks/chunk.BMX6WZ5W.js +21 -0
- package/cdn/chunks/chunk.BOZ5C257.js +27 -0
- package/cdn/chunks/chunk.BQMHXX5Y.js +11 -0
- package/cdn/chunks/chunk.BWJJLA4R.js +11 -0
- package/cdn/chunks/chunk.BXULK73O.js +11 -0
- package/cdn/chunks/chunk.BYCZOE7M.js +11 -0
- package/cdn/chunks/chunk.BYNG7O4M.js +21 -0
- package/cdn/chunks/chunk.C2XSG2BT.js +82 -0
- package/cdn/chunks/chunk.CD3NR5KZ.js +21 -0
- package/cdn/chunks/chunk.CFQDN24E.js +11 -0
- package/cdn/chunks/chunk.CIBKWBQG.js +11 -0
- package/cdn/chunks/chunk.CIVWJFPJ.js +21 -0
- package/cdn/chunks/chunk.CTDWKH5S.js +11 -0
- package/cdn/chunks/chunk.CZXR5GQR.js +302 -0
- package/cdn/chunks/chunk.D4HH4ARG.js +1925 -0
- package/cdn/chunks/chunk.D6ASVSND.js +21 -0
- package/cdn/chunks/chunk.D6ZBEJWY.js +271 -0
- package/cdn/chunks/chunk.D7RBRGHN.js +11 -0
- package/cdn/chunks/chunk.DIIT24M3.js +11 -0
- package/cdn/chunks/chunk.DN6ULTYY.js +11 -0
- package/cdn/chunks/chunk.DNKBCPZM.js +24 -0
- package/cdn/chunks/chunk.DVVJN2I4.js +402 -0
- package/cdn/chunks/chunk.DW2A25GC.js +21 -0
- package/cdn/chunks/chunk.DWTWP5TK.js +510 -0
- package/cdn/chunks/chunk.E3NXW5FC.js +54 -0
- package/cdn/chunks/chunk.E6E5QBVB.js +11 -0
- package/cdn/chunks/chunk.E6HYHMAO.js +67 -0
- package/cdn/chunks/chunk.EPRQOZJV.js +120 -0
- package/cdn/chunks/chunk.EQRUE6HF.js +29 -0
- package/cdn/chunks/chunk.ESPY75AW.js +11 -0
- package/cdn/chunks/chunk.ET5B4S6F.js +455 -0
- package/cdn/chunks/chunk.EU2ML75I.js +158 -0
- package/cdn/chunks/chunk.EYJ6YHOV.js +28 -0
- package/cdn/chunks/chunk.F6SRH2TM.js +11 -0
- package/cdn/chunks/chunk.FJUDJGJY.js +11 -0
- package/cdn/chunks/chunk.FN5PB4Q3.js +11 -0
- package/cdn/chunks/chunk.FSL5GL6F.js +21 -0
- package/cdn/chunks/chunk.G25QQBJO.js +343 -0
- package/cdn/chunks/chunk.GDCM5KES.js +11 -0
- package/cdn/chunks/chunk.GDMHZY7D.js +299 -0
- package/cdn/chunks/chunk.GFGMIJRX.js +11 -0
- package/cdn/chunks/chunk.GJIWNWGD.js +235 -0
- package/cdn/chunks/chunk.GPV5OAV7.js +137 -0
- package/cdn/chunks/chunk.GQ6AEHMV.js +28 -0
- package/cdn/chunks/chunk.GVTEYK4N.js +7313 -0
- package/cdn/chunks/chunk.GWNNWDEA.js +11 -0
- package/cdn/chunks/chunk.H325IBML.js +11 -0
- package/cdn/chunks/chunk.H5D7466W.js +27 -0
- package/cdn/chunks/chunk.H5IFYSMF.js +11 -0
- package/cdn/chunks/chunk.HA4FKTFE.js +21 -0
- package/cdn/chunks/chunk.HJVCK55J.js +93 -0
- package/cdn/chunks/chunk.HJVLOY5X.js +335 -0
- package/cdn/chunks/chunk.HLFDOO43.js +24 -0
- package/cdn/chunks/chunk.HO2XTUD6.js +11 -0
- package/cdn/chunks/chunk.HRWFS3OO.js +233 -0
- package/cdn/chunks/chunk.HSMD375X.js +75 -0
- package/cdn/chunks/chunk.HU2TM4BN.js +11 -0
- package/cdn/chunks/chunk.I3DBIRF3.js +21 -0
- package/cdn/chunks/chunk.ICOEO3FS.js +49 -0
- package/cdn/chunks/chunk.IIPVWFCF.js +24 -0
- package/cdn/chunks/chunk.IQBUHVAQ.js +28 -0
- package/cdn/chunks/chunk.JE3G4PFV.js +11 -0
- package/cdn/chunks/chunk.JPNFGHFI.js +24 -0
- package/cdn/chunks/chunk.JTVJZDDS.js +335 -0
- package/cdn/chunks/chunk.JXQ2W4PK.js +1129 -0
- package/cdn/chunks/chunk.K2HS577V.js +25 -0
- package/cdn/chunks/chunk.KA2SALVR.js +25 -0
- package/cdn/chunks/chunk.KG7UNBFJ.js +24 -0
- package/cdn/chunks/chunk.KGDNX54L.js +11 -0
- package/cdn/chunks/chunk.KI4WN4VI.js +26 -0
- package/cdn/chunks/chunk.KIZNTB2O.js +219 -0
- package/cdn/chunks/chunk.KLZF7VBM.js +11 -0
- package/cdn/chunks/chunk.KNX5YZUV.js +11 -0
- package/cdn/chunks/chunk.KSNF2ZEA.js +11 -0
- package/cdn/chunks/chunk.KVE5R2BD.js +29 -0
- package/cdn/chunks/chunk.KVPYGLL3.js +27 -0
- package/cdn/chunks/chunk.KWRLMHDC.js +153 -0
- package/cdn/chunks/chunk.L4KUQW46.js +122 -0
- package/cdn/chunks/chunk.L7OMP3VD.js +236 -0
- package/cdn/chunks/chunk.LA3NAGA5.js +142 -0
- package/cdn/chunks/chunk.LBPBKZBP.js +21 -0
- package/cdn/chunks/chunk.LCY7JOBC.js +11 -0
- package/cdn/chunks/chunk.LEF7GSQ3.js +11 -0
- package/cdn/chunks/chunk.LFNFCZYE.js +276 -0
- package/cdn/chunks/chunk.LO7W7GOI.js +11 -0
- package/cdn/chunks/chunk.LPL4SGGY.js +11 -0
- package/cdn/chunks/chunk.LQI6ARO6.js +25 -0
- package/cdn/chunks/chunk.LTGCMLCD.js +11 -0
- package/cdn/chunks/chunk.LXDBQVSO.js +24 -0
- package/cdn/chunks/chunk.M4CWWPE2.js +21 -0
- package/cdn/chunks/chunk.MIY74YCU.js +1990 -0
- package/cdn/chunks/chunk.MVYBNIJZ.js +167 -0
- package/cdn/chunks/chunk.MWGLVFPI.js +28 -0
- package/cdn/chunks/chunk.N7RAIOQ7.js +11 -0
- package/cdn/chunks/chunk.NO2C7C24.js +103 -0
- package/cdn/chunks/chunk.NROU7XSM.js +11 -0
- package/cdn/chunks/chunk.NXAMED34.js +11 -0
- package/cdn/chunks/chunk.O6X46HH6.js +25 -0
- package/cdn/chunks/chunk.OASEKQXW.js +515 -0
- package/cdn/chunks/chunk.OOQAR74T.js +21 -0
- package/cdn/chunks/chunk.OPFUW64T.js +431 -0
- package/cdn/chunks/chunk.OZ26VFTF.js +11 -0
- package/cdn/chunks/chunk.OZVW34JQ.js +283 -0
- package/cdn/chunks/chunk.OZYOLL5P.js +11 -0
- package/cdn/chunks/chunk.P7CBHBNG.js +127 -0
- package/cdn/chunks/chunk.PGEDAEWE.js +24 -0
- package/cdn/chunks/chunk.PIEEG6RN.js +25 -0
- package/cdn/chunks/chunk.PKFDBOJJ.js +24 -0
- package/cdn/chunks/chunk.PZWKMKW6.js +11 -0
- package/cdn/chunks/chunk.QGKC2OCD.js +27 -0
- package/cdn/chunks/chunk.QHIT35AP.js +11 -0
- package/cdn/chunks/chunk.QIVMITAD.js +191 -0
- package/cdn/chunks/chunk.QLUS4PGD.js +26 -0
- package/cdn/chunks/chunk.QMTD3TWA.js +79 -0
- package/cdn/chunks/chunk.QUH25DPS.js +28 -0
- package/cdn/chunks/chunk.R3Z6N7GM.js +556 -0
- package/cdn/chunks/chunk.R6KYWG73.js +27 -0
- package/cdn/chunks/chunk.RET6RZGD.js +197 -0
- package/cdn/chunks/chunk.RG266O2T.js +724 -0
- package/cdn/chunks/chunk.RGDTGPSS.js +27 -0
- package/cdn/chunks/chunk.RGZJVHRH.js +25 -0
- package/cdn/chunks/chunk.RJP2ALSI.js +21 -0
- package/cdn/chunks/chunk.RLAYFIJD.js +11 -0
- package/cdn/chunks/chunk.RLIYLQLZ.js +50 -0
- package/cdn/chunks/chunk.RSMEU224.js +21 -0
- package/cdn/chunks/chunk.RSSCVLWU.js +26 -0
- package/cdn/chunks/chunk.RTUWPT6S.js +25 -0
- package/cdn/chunks/chunk.RV5GNJLC.js +586 -0
- package/cdn/chunks/chunk.RWCMUWT4.js +183 -0
- package/cdn/chunks/chunk.RXMX25Y3.js +11 -0
- package/cdn/chunks/chunk.S6CAFGAM.js +77 -0
- package/cdn/chunks/chunk.SDREWGD2.js +822 -0
- package/cdn/chunks/chunk.SGK6G2DX.js +216 -0
- package/cdn/chunks/chunk.SI3ULW5R.js +33 -0
- package/cdn/chunks/chunk.SPES5DKU.js +255 -0
- package/cdn/chunks/chunk.T2ZK3YNV.js +11 -0
- package/cdn/chunks/chunk.T7LPNB6G.js +186 -0
- package/cdn/chunks/chunk.THV7LDP3.js +11 -0
- package/cdn/chunks/chunk.TMXZV6I4.js +95 -0
- package/cdn/chunks/chunk.TNV7E3UH.js +292 -0
- package/cdn/chunks/chunk.TQXRAKUV.js +11 -0
- package/cdn/chunks/chunk.TV44OHUA.js +11 -0
- package/cdn/chunks/chunk.U2GLC7D6.js +21 -0
- package/cdn/chunks/chunk.U3EW3XKK.js +21 -0
- package/cdn/chunks/chunk.U7KQXLQK.js +367 -0
- package/cdn/chunks/chunk.UA3YBJZB.js +21 -0
- package/cdn/chunks/chunk.UDMNF7NJ.js +24 -0
- package/cdn/chunks/chunk.UGCLQAJF.js +1244 -0
- package/cdn/chunks/chunk.UQ5GY3VQ.js +42 -0
- package/cdn/chunks/chunk.UV45CWCU.js +21 -0
- package/cdn/chunks/chunk.V3YBAXL2.js +25 -0
- package/cdn/chunks/chunk.V7SFPY3Z.js +79 -0
- package/cdn/chunks/chunk.VA5SKNTX.js +97 -0
- package/cdn/chunks/chunk.VCD2CINA.js +24 -0
- package/cdn/chunks/chunk.VFRIFLHP.js +11 -0
- package/cdn/chunks/chunk.VJQNQR2N.js +36 -0
- package/cdn/chunks/chunk.VPWKT654.js +21 -0
- package/cdn/chunks/chunk.VQNHHWLA.js +24 -0
- package/cdn/chunks/chunk.VVQNTHGV.js +11 -0
- package/cdn/chunks/chunk.VZL4OYDP.js +28 -0
- package/cdn/chunks/chunk.W5P4WCWF.js +63 -0
- package/cdn/chunks/chunk.WID27ZVI.js +87 -0
- package/cdn/chunks/chunk.WY4T66P4.js +379 -0
- package/cdn/chunks/chunk.X47JS3TQ.js +11 -0
- package/cdn/chunks/chunk.X4AF572Z.js +11 -0
- package/cdn/chunks/chunk.X5L42NVW.js +11 -0
- package/cdn/chunks/chunk.X75W4SZN.js +279 -0
- package/cdn/chunks/chunk.XFF7N2RV.js +21 -0
- package/cdn/chunks/chunk.XKN7ML6G.js +11 -0
- package/cdn/chunks/chunk.XO74QCLQ.js +391 -0
- package/cdn/chunks/chunk.Y2P6YYQA.js +131 -0
- package/cdn/chunks/chunk.YDXTT57X.js +11 -0
- package/cdn/chunks/chunk.YK4VHZQU.js +24 -0
- package/cdn/chunks/chunk.YKZYUDV3.js +11 -0
- package/cdn/chunks/chunk.Z7Z5D2TF.js +11 -0
- package/cdn/chunks/chunk.ZA2GDZ2E.js +291 -0
- package/cdn/chunks/chunk.ZMQACYT2.js +24 -0
- package/cdn/chunks/chunk.ZMQEXK2B.js +583 -0
- package/cdn/chunks/chunk.ZNZBBCRH.js +27 -0
- package/cdn/chunks/chunk.ZSLM3NGU.js +73 -0
- package/cdn/chunks/chunk.ZVOFPK6X.js +11 -0
- package/cdn/components/alert/alert.component.js +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +6 -6
- package/cdn/components/calendar/calendar.js +6 -6
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +10 -10
- package/cdn/components/date-panel/date-panel.js +10 -10
- package/cdn/components/date-panel/date-panel.styles.js +1 -1
- package/cdn/components/datepicker/datepicker.component.js +16 -16
- package/cdn/components/datepicker/datepicker.js +16 -16
- package/cdn/components/daterange/daterange.component.js +9 -9
- package/cdn/components/daterange/daterange.js +10 -10
- package/cdn/components/daterange/daterange.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 +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +4 -4
- package/cdn/components/drawer/drawer.js +5 -5
- package/cdn/components/dropdown/dropdown.component.js +4 -4
- package/cdn/components/dropdown/dropdown.js +5 -5
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-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 +4 -4
- package/cdn/components/input/input.js +5 -5
- package/cdn/components/input/input.styles.js +1 -1
- 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 +5 -5
- package/cdn/components/menu-item/menu-item.js +6 -6
- 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 +28 -3
- package/cdn/components/nav/nav.js +29 -4
- package/cdn/components/nav/nav.styles.js +1 -1
- package/cdn/components/nav-group/nav-group.component.js +3 -3
- package/cdn/components/nav-group/nav-group.js +4 -4
- package/cdn/components/nav-group/nav-group.styles.js +1 -1
- package/cdn/components/nav-item/nav-item.component.js +3 -3
- package/cdn/components/nav-item/nav-item.js +4 -4
- package/cdn/components/nav-item/nav-item.styles.js +1 -1
- package/cdn/components/nav-submenu/nav-submenu.component.js +5 -5
- package/cdn/components/nav-submenu/nav-submenu.js +6 -6
- package/cdn/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +9 -9
- package/cdn/components/pagination/pagination.component.js +10 -10
- package/cdn/components/pagination/pagination.js +10 -10
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +6 -6
- package/cdn/components/select/select.js +7 -7
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +2 -2
- package/cdn/components/table/head-table.js +20 -20
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +27 -27
- package/cdn/components/table/table.js +29 -29
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-panel/time-panel.component.js +5 -5
- package/cdn/components/time-panel/time-panel.js +5 -5
- package/cdn/components/timepicker/timepicker.component.js +16 -16
- package/cdn/components/timepicker/timepicker.js +16 -16
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +7 -7
- package/cdn/components/tree/tree.js +8 -8
- package/cdn/components/tree-item/tree-item.component.js +5 -5
- package/cdn/components/tree-item/tree-item.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +5437 -4484
- package/cdn/react/alert/index.js +5 -5
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +11 -11
- package/cdn/react/datepicker/index.js +17 -17
- package/cdn/react/daterange/index.js +10 -10
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +5 -5
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +5 -5
- package/cdn/react/dropdown/index.js +5 -5
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +211 -211
- package/cdn/react/input/index.js +5 -5
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +6 -6
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +29 -4
- package/cdn/react/nav-group/index.js +4 -4
- package/cdn/react/nav-item/index.js +4 -4
- package/cdn/react/nav-submenu/index.js +6 -6
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +11 -11
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +7 -7
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-group/index.js +6 -6
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +28 -28
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/timepicker/index.js +17 -17
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +8 -8
- package/cdn/react/tree-item/index.js +6 -6
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +184 -184
- package/cdn/themes/dark.css +0 -1
- package/cdn/themes/dark.styles.js +0 -1
- package/cdn/themes/light.css +11 -11
- package/cdn/themes/light.styles.js +11 -11
- package/cdn/themes/nova.css +37 -26
- package/cdn/themes/nova.styles.js +37 -26
- package/cdn/types/vue/index.d.ts +285 -210
- package/cdn/vscode.html-custom-data.json +289 -222
- package/cdn/web-types.json +1100 -840
- package/dist/chunks/chunk.23OG2WCM.js +11 -0
- package/dist/chunks/chunk.26ZD3S7Y.js +21 -0
- package/dist/chunks/chunk.2DKS2HFH.js +28 -0
- package/dist/chunks/chunk.2FUVLRCV.js +24 -0
- package/dist/chunks/chunk.2GHXZAQI.js +293 -0
- package/dist/chunks/chunk.2HCBSW4B.js +11 -0
- package/dist/chunks/chunk.2JIH63GY.js +11 -0
- package/dist/chunks/chunk.2XLL7YNQ.js +11 -0
- package/dist/chunks/chunk.2YYHPEVO.js +11 -0
- package/dist/chunks/chunk.36TVT6YF.js +11 -0
- package/dist/chunks/chunk.3EBM4TXW.js +80 -0
- package/dist/chunks/chunk.3OB3LWMM.js +577 -0
- package/dist/chunks/chunk.3RHW3QZ2.js +315 -0
- package/dist/chunks/chunk.3UHHEDUQ.js +93 -0
- package/dist/chunks/chunk.3WMLGMZN.js +21 -0
- package/dist/chunks/chunk.3YNKWXRR.js +329 -0
- package/dist/chunks/chunk.4B4DPFHD.js +162 -0
- package/dist/chunks/chunk.4HA245FV.js +247 -0
- package/dist/chunks/chunk.4VVYVRBW.js +28 -0
- package/dist/chunks/chunk.4YSIIAV6.js +306 -0
- package/dist/chunks/chunk.5B57XRR7.js +11 -0
- package/dist/chunks/chunk.5JCM4ACS.js +21 -0
- package/dist/chunks/chunk.5VOVJ6U4.js +25 -0
- package/dist/chunks/chunk.5Y6EKMRE.js +24 -0
- package/dist/chunks/chunk.5YXRUJZA.js +11 -0
- package/dist/chunks/chunk.6DZWGDY4.js +21 -0
- package/dist/chunks/chunk.6FSZMBBK.js +550 -0
- package/dist/chunks/chunk.6IPMTFGI.js +11 -0
- package/dist/chunks/chunk.6LRK2OAA.js +417 -0
- package/dist/chunks/chunk.6M3KDB3W.js +502 -0
- package/dist/chunks/chunk.6SJ5NM3F.js +11 -0
- package/dist/chunks/chunk.6UOTLC2Q.js +11 -0
- package/dist/chunks/chunk.72XEGOEU.js +21 -0
- package/dist/chunks/chunk.74HBIRSW.js +117 -0
- package/dist/chunks/chunk.7HXAGTDG.js +24 -0
- package/dist/chunks/chunk.7JKNUYMB.js +181 -0
- package/dist/chunks/chunk.7KAEBXNM.js +11 -0
- package/dist/chunks/chunk.7MUJSLZU.js +21 -0
- package/dist/chunks/chunk.7OQTBZII.js +949 -0
- package/dist/chunks/chunk.7OTWENCM.js +189 -0
- package/dist/chunks/chunk.7OYIAAPX.js +21 -0
- package/dist/chunks/chunk.7X755TGA.js +21 -0
- package/dist/chunks/chunk.7YOONU2V.js +25 -0
- package/dist/chunks/chunk.7Z2W6OXK.js +24 -0
- package/dist/chunks/chunk.A2RI6OCN.js +11 -0
- package/dist/chunks/chunk.A6R57GPQ.js +11 -0
- package/dist/chunks/chunk.ABHA54FT.js +67 -0
- package/dist/chunks/chunk.ACGBDTAV.js +21 -0
- package/dist/chunks/chunk.AFQ4W3IV.js +11 -0
- package/dist/chunks/chunk.AG6MRYHQ.js +96 -0
- package/dist/chunks/chunk.APHAPL3G.js +340 -0
- package/dist/chunks/chunk.B2AGCDAH.js +21 -0
- package/dist/chunks/chunk.BA22GN6J.js +24 -0
- package/dist/chunks/chunk.BBOVVW7N.js +45 -0
- package/dist/chunks/chunk.BBXOBKDA.js +119 -0
- package/dist/chunks/chunk.BFJVGUYU.js +25 -0
- package/dist/chunks/chunk.BLQ7F33C.js +11 -0
- package/dist/chunks/chunk.BOEZC6OD.js +85 -0
- package/dist/chunks/chunk.BPVPEL4F.js +77 -0
- package/dist/chunks/chunk.BR2I5NWY.js +24 -0
- package/dist/chunks/chunk.BVM3YF66.js +11 -0
- package/dist/chunks/chunk.C6CWTTCA.js +11 -0
- package/dist/chunks/chunk.CIRCW7LI.js +549 -0
- package/dist/chunks/chunk.CIWWDGZ6.js +11 -0
- package/dist/chunks/chunk.CQ7TQFXE.js +11 -0
- package/dist/chunks/chunk.CQBMYKTR.js +280 -0
- package/dist/chunks/chunk.CSHENRJ2.js +180 -0
- package/dist/chunks/chunk.CWCTMRXY.js +11 -0
- package/dist/chunks/chunk.CYJ53JTI.js +52 -0
- package/dist/chunks/chunk.CYOKNO44.js +27 -0
- package/dist/chunks/chunk.D5JJ3UOZ.js +227 -0
- package/dist/chunks/chunk.DN3NOFVF.js +25 -0
- package/dist/chunks/chunk.DPSVF6BX.js +286 -0
- package/dist/chunks/chunk.DS3544QD.js +25 -0
- package/dist/chunks/chunk.DT2PTDEQ.js +50 -0
- package/dist/chunks/chunk.DUHLBTTY.js +371 -0
- package/dist/chunks/chunk.E4WYPAWP.js +11 -0
- package/dist/chunks/chunk.EJ5HY6XL.js +21 -0
- package/dist/chunks/chunk.EKKKPYGJ.js +21 -0
- package/dist/chunks/chunk.EU53B7ZQ.js +100 -0
- package/dist/chunks/chunk.EVYFKMLF.js +26 -0
- package/dist/chunks/chunk.EW6EWFXR.js +294 -0
- package/dist/chunks/chunk.EWPZGOK4.js +11 -0
- package/dist/chunks/chunk.F62Y2DON.js +21 -0
- package/dist/chunks/chunk.F63YX4ZG.js +11 -0
- package/dist/chunks/chunk.FOXYEZ3Z.js +11 -0
- package/dist/chunks/chunk.FRW6GAJC.js +11 -0
- package/dist/chunks/chunk.FZHPOSO6.js +24 -0
- package/dist/chunks/chunk.GBZ5KOZE.js +11 -0
- package/dist/chunks/chunk.GFYRZ2OC.js +11 -0
- package/dist/chunks/chunk.GRRWZ3JO.js +21 -0
- package/dist/chunks/chunk.GU57KGKX.js +11 -0
- package/dist/chunks/chunk.GWOLQ5MV.js +73 -0
- package/dist/chunks/chunk.GWQNSIDU.js +28 -0
- package/dist/chunks/chunk.GX6DAIPL.js +21 -0
- package/dist/chunks/chunk.H2OLAKPY.js +45 -0
- package/dist/chunks/chunk.H37XJ4MV.js +214 -0
- package/dist/chunks/chunk.H7SU653X.js +25 -0
- package/dist/chunks/chunk.HEBIBOCB.js +24 -0
- package/dist/chunks/chunk.HGFPJLK5.js +21 -0
- package/dist/chunks/chunk.HLW7BCLC.js +11 -0
- package/dist/chunks/chunk.HOXJOYML.js +425 -0
- package/dist/chunks/chunk.HRHKJKRT.js +506 -0
- package/dist/chunks/chunk.HUWKYOVK.js +231 -0
- package/dist/chunks/chunk.HVVMQOVU.js +29 -0
- package/dist/chunks/chunk.HYWWRLSF.js +28 -0
- package/dist/chunks/chunk.I37BPTDO.js +25 -0
- package/dist/chunks/chunk.I64MN2ZT.js +11 -0
- package/dist/chunks/chunk.I7ZZEDZ4.js +27 -0
- package/dist/chunks/chunk.IFUP5NAQ.js +21 -0
- package/dist/chunks/chunk.IKD2GUTZ.js +11 -0
- package/dist/chunks/chunk.IMBE6NS7.js +21 -0
- package/dist/chunks/chunk.IQJAUZU7.js +192 -0
- package/dist/chunks/chunk.IVV46OK7.js +213 -0
- package/dist/chunks/chunk.IZLCWRVM.js +21 -0
- package/dist/chunks/chunk.JCU4QJQL.js +63 -0
- package/dist/chunks/chunk.JMLS7UTV.js +126 -0
- package/dist/chunks/chunk.JXW24NNM.js +384 -0
- package/dist/chunks/chunk.K63B5BDV.js +27 -0
- package/dist/chunks/chunk.KCX6OUXF.js +11 -0
- package/dist/chunks/chunk.KP5Y3VFD.js +24 -0
- package/dist/chunks/chunk.KSZZPJAE.js +27 -0
- package/dist/chunks/chunk.KW735VDQ.js +25 -0
- package/dist/chunks/chunk.KXDVL3I7.js +274 -0
- package/dist/chunks/chunk.LEGNL7H4.js +21 -0
- package/dist/chunks/chunk.LI3JWXGV.js +331 -0
- package/dist/chunks/chunk.LR53B5ZU.js +11 -0
- package/dist/chunks/chunk.LSRZA42R.js +11 -0
- package/dist/chunks/chunk.LVWF2BRI.js +11 -0
- package/dist/chunks/chunk.LY2OVPYP.js +11 -0
- package/dist/chunks/chunk.LZQ53CGA.js +134 -0
- package/dist/chunks/chunk.M23AFFIU.js +11 -0
- package/dist/chunks/chunk.M2TNPACZ.js +26 -0
- package/dist/chunks/chunk.MAQMQ4K7.js +26 -0
- package/dist/chunks/chunk.MHQRS66W.js +280 -0
- package/dist/chunks/chunk.MJ2I45FD.js +11 -0
- package/dist/chunks/chunk.MJUGRPNY.js +56 -0
- package/dist/chunks/chunk.MMONTZH6.js +126 -0
- package/dist/chunks/chunk.MUP3ORYH.js +21 -0
- package/dist/chunks/chunk.MYOEG5AG.js +116 -0
- package/dist/chunks/chunk.N3PO6ZCY.js +11 -0
- package/dist/chunks/chunk.N76DQWXN.js +113 -0
- package/dist/chunks/chunk.NBO2XEQX.js +11 -0
- package/dist/chunks/chunk.NJPWEDYB.js +135 -0
- package/dist/chunks/chunk.NPXKCPZI.js +24 -0
- package/dist/chunks/chunk.NXODKHKS.js +24 -0
- package/dist/chunks/chunk.O56EWGVI.js +11 -0
- package/dist/chunks/chunk.OF4T7ZN4.js +11 -0
- package/dist/chunks/chunk.OHP6N4NT.js +75 -0
- package/dist/chunks/chunk.OM2X6TYA.js +11 -0
- package/dist/chunks/chunk.P5LVTOVJ.js +25 -0
- package/dist/chunks/chunk.PJ2RI2XR.js +29 -0
- package/dist/chunks/chunk.PKDD7LC7.js +743 -0
- package/dist/chunks/chunk.PLXNL73R.js +11 -0
- package/dist/chunks/chunk.PLY4KNJ7.js +356 -0
- package/dist/chunks/chunk.PP45VZKM.js +21 -0
- package/dist/chunks/chunk.PPLGLVUK.js +167 -0
- package/dist/chunks/chunk.PRNO5MOD.js +11 -0
- package/dist/chunks/chunk.PYMHBZUR.js +50 -0
- package/dist/chunks/chunk.Q6MXK32G.js +11 -0
- package/dist/chunks/chunk.QI5DMS6S.js +151 -0
- package/dist/chunks/chunk.QRI3RO2Y.js +311 -0
- package/dist/chunks/chunk.QWBTYNHI.js +59 -0
- package/dist/chunks/chunk.R2FXVXDZ.js +11 -0
- package/dist/chunks/chunk.R4KRHIP5.js +11 -0
- package/dist/chunks/chunk.R5Z27L3J.js +230 -0
- package/dist/chunks/chunk.R7XUMWJC.js +34 -0
- package/dist/chunks/chunk.RI45COE3.js +28 -0
- package/dist/chunks/chunk.RI4HC5WM.js +22 -0
- package/dist/chunks/chunk.RKZC52MX.js +24 -0
- package/dist/chunks/chunk.RQREQ4HM.js +11 -0
- package/dist/chunks/chunk.RRWKU4GM.js +22 -0
- package/dist/chunks/chunk.SAMVARF5.js +24 -0
- package/dist/chunks/chunk.SMVQ7KLD.js +111 -0
- package/dist/chunks/chunk.T6YYQVKA.js +90 -0
- package/dist/chunks/chunk.TCK5LG2Y.js +213 -0
- package/dist/chunks/chunk.TJJ44BIO.js +26 -0
- package/dist/chunks/chunk.TSFTCJO7.js +21 -0
- package/dist/chunks/chunk.TTTFCOSZ.js +11 -0
- package/dist/chunks/chunk.TW6VYD4G.js +100 -0
- package/dist/chunks/chunk.U5TX7TIN.js +25 -0
- package/dist/chunks/chunk.UBJMNDLX.js +448 -0
- package/dist/chunks/chunk.UMFLL4JA.js +28 -0
- package/dist/chunks/chunk.UOHXQWDA.js +11 -0
- package/dist/chunks/chunk.UTSBALSC.js +27 -0
- package/dist/chunks/chunk.UVREUPWC.js +21 -0
- package/dist/chunks/chunk.V4MNQQDO.js +21 -0
- package/dist/chunks/chunk.V5U4BI4B.js +1242 -0
- package/dist/chunks/chunk.VA74CFPG.js +814 -0
- package/dist/chunks/chunk.VPZTKXAT.js +11 -0
- package/dist/chunks/chunk.VWKB2GF3.js +42 -0
- package/dist/chunks/chunk.VZGKZ4YC.js +11 -0
- package/dist/chunks/chunk.W2KFQRBC.js +11 -0
- package/dist/chunks/chunk.W3SNACYG.js +11 -0
- package/dist/chunks/chunk.WFFMFVBE.js +11 -0
- package/dist/chunks/chunk.WGQYVXZW.js +263 -0
- package/dist/chunks/chunk.WLYECG27.js +11 -0
- package/dist/chunks/chunk.WMQAVRXC.js +147 -0
- package/dist/chunks/chunk.WR2AHX7I.js +11 -0
- package/dist/chunks/chunk.WVCX76FP.js +27 -0
- package/dist/chunks/chunk.WXFDHT4J.js +91 -0
- package/dist/chunks/chunk.X276QAMP.js +21 -0
- package/dist/chunks/chunk.X4UO6LTB.js +11 -0
- package/dist/chunks/chunk.XB64HOBB.js +11 -0
- package/dist/chunks/chunk.XBCFSL2E.js +29 -0
- package/dist/chunks/chunk.XIWSHOAU.js +820 -0
- package/dist/chunks/chunk.XOLD26HY.js +397 -0
- package/dist/chunks/chunk.XRWHJU3T.js +75 -0
- package/dist/chunks/chunk.YACIYXNN.js +11 -0
- package/dist/chunks/chunk.YF3N67E7.js +109 -0
- package/dist/chunks/chunk.YI7VLVIB.js +11 -0
- package/dist/chunks/chunk.YONJNVK4.js +1120 -0
- package/dist/chunks/chunk.YWHYPIDP.js +361 -0
- package/dist/chunks/chunk.YZLKFDE5.js +29 -0
- package/dist/chunks/chunk.ZAM65RLS.js +11 -0
- package/dist/chunks/chunk.ZG6HRQWM.js +337 -0
- package/dist/chunks/chunk.ZIE7ZIS3.js +33 -0
- package/dist/chunks/chunk.ZNSIJFAS.js +11 -0
- package/dist/components/alert/alert.component.js +4 -4
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +4 -4
- package/dist/components/button/button.js +5 -5
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +6 -6
- package/dist/components/calendar/calendar.js +6 -6
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/date-panel/date-panel.component.js +10 -10
- package/dist/components/date-panel/date-panel.js +10 -10
- package/dist/components/date-panel/date-panel.styles.js +1 -1
- package/dist/components/datepicker/datepicker.component.js +16 -16
- package/dist/components/datepicker/datepicker.js +16 -16
- package/dist/components/daterange/daterange.component.js +9 -9
- package/dist/components/daterange/daterange.js +10 -10
- package/dist/components/daterange/daterange.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 +4 -4
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +4 -4
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +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/input/input.styles.js +1 -1
- 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 +5 -5
- package/dist/components/menu-item/menu-item.js +6 -6
- 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 +26 -3
- package/dist/components/nav/nav.js +27 -4
- package/dist/components/nav/nav.styles.js +1 -1
- package/dist/components/nav-group/nav-group.component.js +3 -3
- package/dist/components/nav-group/nav-group.js +4 -4
- package/dist/components/nav-group/nav-group.styles.js +1 -1
- package/dist/components/nav-item/nav-item.component.js +3 -3
- package/dist/components/nav-item/nav-item.js +4 -4
- package/dist/components/nav-item/nav-item.styles.js +1 -1
- package/dist/components/nav-submenu/nav-submenu.component.js +5 -5
- package/dist/components/nav-submenu/nav-submenu.js +6 -6
- package/dist/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +9 -9
- package/dist/components/pagination/pagination.component.js +10 -10
- package/dist/components/pagination/pagination.js +10 -10
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/select/select.component.js +6 -6
- package/dist/components/select/select.js +7 -7
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/head-table.js +20 -20
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +27 -27
- package/dist/components/table/table.js +29 -29
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +5 -5
- package/dist/components/time-panel/time-panel.js +5 -5
- package/dist/components/timepicker/timepicker.component.js +16 -16
- package/dist/components/timepicker/timepicker.js +16 -16
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +7 -7
- package/dist/components/tree/tree.js +8 -8
- package/dist/components/tree-item/tree-item.component.js +5 -5
- package/dist/components/tree-item/tree-item.js +6 -6
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +5437 -4484
- package/dist/react/alert/index.js +5 -5
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +5 -5
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +11 -11
- package/dist/react/datepicker/index.js +17 -17
- package/dist/react/daterange/index.js +10 -10
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +5 -5
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +5 -5
- package/dist/react/dropdown/index.js +5 -5
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +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 +211 -211
- package/dist/react/input/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +6 -6
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +27 -4
- package/dist/react/nav-group/index.js +4 -4
- package/dist/react/nav-item/index.js +4 -4
- package/dist/react/nav-submenu/index.js +6 -6
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +11 -11
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +7 -7
- package/dist/react/skeleton/index.js +3 -3
- 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 +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +28 -28
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +17 -17
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +8 -8
- package/dist/react/tree-item/index.js +6 -6
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +184 -184
- package/dist/themes/dark.css +0 -1
- package/dist/themes/dark.styles.js +0 -1
- package/dist/themes/light.css +11 -11
- package/dist/themes/light.styles.js +11 -11
- package/dist/themes/nova.css +37 -26
- package/dist/themes/nova.styles.js +37 -26
- package/dist/types/vue/index.d.ts +285 -210
- package/dist/vscode.html-custom-data.json +289 -222
- package/dist/web-types.json +1100 -840
- package/package.json +1 -1
- package/cdn/chunks/chunk.2D23USCW.js +0 -140
- package/cdn/chunks/chunk.2RCCYUF5.js +0 -24
- package/cdn/chunks/chunk.2TKU3L4J.js +0 -24
- package/cdn/chunks/chunk.2U22GIRT.js +0 -25
- package/cdn/chunks/chunk.2Y3R65EN.js +0 -27
- package/cdn/chunks/chunk.2ZZL46WA.js +0 -26
- package/cdn/chunks/chunk.35PB6CZG.js +0 -25
- package/cdn/chunks/chunk.3EZHMWBD.js +0 -11
- package/cdn/chunks/chunk.3XAVCE7Z.js +0 -11
- package/cdn/chunks/chunk.3XFPVYL4.js +0 -347
- package/cdn/chunks/chunk.3XNKBI5S.js +0 -49
- package/cdn/chunks/chunk.3YQ4HMQM.js +0 -11
- package/cdn/chunks/chunk.3ZFUODKR.js +0 -25
- package/cdn/chunks/chunk.47PFA3VX.js +0 -33
- package/cdn/chunks/chunk.4A2CCC4V.js +0 -24
- package/cdn/chunks/chunk.4CPE4DNZ.js +0 -21
- package/cdn/chunks/chunk.4G67LFGE.js +0 -11
- package/cdn/chunks/chunk.4J6F7YHL.js +0 -1990
- package/cdn/chunks/chunk.4W5K5NIR.js +0 -11
- package/cdn/chunks/chunk.53YZYDXI.js +0 -21
- package/cdn/chunks/chunk.5ABJINYG.js +0 -28
- package/cdn/chunks/chunk.5BOJGKUG.js +0 -292
- package/cdn/chunks/chunk.5E22AYAA.js +0 -331
- package/cdn/chunks/chunk.5F4BMJ3X.js +0 -11
- package/cdn/chunks/chunk.5XSCZESR.js +0 -271
- package/cdn/chunks/chunk.65DBNMCE.js +0 -724
- package/cdn/chunks/chunk.6JAOORDG.js +0 -11
- package/cdn/chunks/chunk.6KIIUI7S.js +0 -219
- package/cdn/chunks/chunk.6R5PXXWV.js +0 -11
- package/cdn/chunks/chunk.6XIELA7H.js +0 -28
- package/cdn/chunks/chunk.77DX5FFD.js +0 -21
- package/cdn/chunks/chunk.7I2P3EI3.js +0 -11
- package/cdn/chunks/chunk.7R6LQJQN.js +0 -21
- package/cdn/chunks/chunk.7S352MG5.js +0 -24
- package/cdn/chunks/chunk.A2BPVVQ6.js +0 -11
- package/cdn/chunks/chunk.A4326IL2.js +0 -42
- package/cdn/chunks/chunk.AHVT6SMK.js +0 -153
- package/cdn/chunks/chunk.AK653YGY.js +0 -583
- package/cdn/chunks/chunk.AKWA6BDR.js +0 -49
- package/cdn/chunks/chunk.AUF4U6FY.js +0 -118
- package/cdn/chunks/chunk.AUGS5OJG.js +0 -27
- package/cdn/chunks/chunk.B5QQCSOG.js +0 -24
- package/cdn/chunks/chunk.BCFIC5EH.js +0 -142
- package/cdn/chunks/chunk.BCIKFAHC.js +0 -11
- package/cdn/chunks/chunk.BED5S3XG.js +0 -402
- package/cdn/chunks/chunk.BHX6VUIT.js +0 -1073
- package/cdn/chunks/chunk.BJ6EABUT.js +0 -75
- package/cdn/chunks/chunk.BLU6UMY3.js +0 -58
- package/cdn/chunks/chunk.BQZC5DHU.js +0 -11
- package/cdn/chunks/chunk.BVQQEMVU.js +0 -11
- package/cdn/chunks/chunk.BX352G3W.js +0 -122
- package/cdn/chunks/chunk.BX4GDJW7.js +0 -63
- package/cdn/chunks/chunk.C32UDDJX.js +0 -276
- package/cdn/chunks/chunk.C5PWT6RW.js +0 -48
- package/cdn/chunks/chunk.CFQ2B6VR.js +0 -216
- package/cdn/chunks/chunk.CJDJNRPA.js +0 -21
- package/cdn/chunks/chunk.D75D72TI.js +0 -21
- package/cdn/chunks/chunk.DHGPGIO7.js +0 -73
- package/cdn/chunks/chunk.DHSARJNO.js +0 -24
- package/cdn/chunks/chunk.DJVVEJS2.js +0 -11
- package/cdn/chunks/chunk.DYLTSCJ2.js +0 -11
- package/cdn/chunks/chunk.E5WS3VLQ.js +0 -137
- package/cdn/chunks/chunk.E7OFOOCY.js +0 -131
- package/cdn/chunks/chunk.EB6SZ2ME.js +0 -25
- package/cdn/chunks/chunk.EDWOOCJS.js +0 -21
- package/cdn/chunks/chunk.EGCFKZRA.js +0 -11
- package/cdn/chunks/chunk.EMNCBZZF.js +0 -21
- package/cdn/chunks/chunk.ETTUKEX2.js +0 -21
- package/cdn/chunks/chunk.EZBTJYKW.js +0 -11
- package/cdn/chunks/chunk.FLO4YQKA.js +0 -24
- package/cdn/chunks/chunk.FTE3BHQA.js +0 -28
- package/cdn/chunks/chunk.G5SN4ATN.js +0 -29
- package/cdn/chunks/chunk.GC2Q57ME.js +0 -11
- package/cdn/chunks/chunk.GJLSJRGM.js +0 -235
- package/cdn/chunks/chunk.GZBPWBFQ.js +0 -11
- package/cdn/chunks/chunk.H2HIFHL4.js +0 -515
- package/cdn/chunks/chunk.H3QBL45P.js +0 -21
- package/cdn/chunks/chunk.H5U6ZDNP.js +0 -54
- package/cdn/chunks/chunk.HHETPBMQ.js +0 -291
- package/cdn/chunks/chunk.HHN3CABS.js +0 -95
- package/cdn/chunks/chunk.HQUJGA42.js +0 -25
- package/cdn/chunks/chunk.HYS7OSVZ.js +0 -28
- package/cdn/chunks/chunk.I6RV2R33.js +0 -455
- package/cdn/chunks/chunk.IM5V5CZX.js +0 -586
- package/cdn/chunks/chunk.IWAMU5T3.js +0 -24
- package/cdn/chunks/chunk.J3SBHDCS.js +0 -11
- package/cdn/chunks/chunk.J6DWSXVL.js +0 -27
- package/cdn/chunks/chunk.J6LZ3NHX.js +0 -11
- package/cdn/chunks/chunk.JFJVTIF7.js +0 -11
- package/cdn/chunks/chunk.JIFO673L.js +0 -21
- package/cdn/chunks/chunk.JJEXKS3G.js +0 -25
- package/cdn/chunks/chunk.JJPZQTBS.js +0 -279
- package/cdn/chunks/chunk.JUN4MTEQ.js +0 -313
- package/cdn/chunks/chunk.JWFO2VSY.js +0 -24
- package/cdn/chunks/chunk.JZKLFF3X.js +0 -11
- package/cdn/chunks/chunk.KC5TMHKO.js +0 -21
- package/cdn/chunks/chunk.KGUHKJHO.js +0 -336
- package/cdn/chunks/chunk.KIX5SSVB.js +0 -233
- package/cdn/chunks/chunk.KKMGVTZE.js +0 -79
- package/cdn/chunks/chunk.KLAHC6ES.js +0 -11
- package/cdn/chunks/chunk.LALK3Z7C.js +0 -11
- package/cdn/chunks/chunk.LIJO3XYE.js +0 -27
- package/cdn/chunks/chunk.LJW5NGJP.js +0 -11
- package/cdn/chunks/chunk.LM5DJPXX.js +0 -28
- package/cdn/chunks/chunk.LX2L2CLA.js +0 -28
- package/cdn/chunks/chunk.LXUPIU2G.js +0 -197
- package/cdn/chunks/chunk.LZACVHGL.js +0 -255
- package/cdn/chunks/chunk.LZOQGUC3.js +0 -29
- package/cdn/chunks/chunk.M6WQKQTZ.js +0 -334
- package/cdn/chunks/chunk.MA5WO3E3.js +0 -11
- package/cdn/chunks/chunk.MACB645Y.js +0 -11
- package/cdn/chunks/chunk.MCBYLKTJ.js +0 -236
- package/cdn/chunks/chunk.MRBMQJP3.js +0 -29
- package/cdn/chunks/chunk.MRGEWIRP.js +0 -11
- package/cdn/chunks/chunk.MRQ4RPBS.js +0 -11
- package/cdn/chunks/chunk.MSFCD7OR.js +0 -26
- package/cdn/chunks/chunk.MTXB66VF.js +0 -21
- package/cdn/chunks/chunk.MVFSDFDH.js +0 -11
- package/cdn/chunks/chunk.N4543YFZ.js +0 -21
- package/cdn/chunks/chunk.NDJ2FQS5.js +0 -21
- package/cdn/chunks/chunk.NLKB4SMT.js +0 -11
- package/cdn/chunks/chunk.NLKQ7WRY.js +0 -367
- package/cdn/chunks/chunk.NNFEEDGI.js +0 -114
- package/cdn/chunks/chunk.NNLPTNMJ.js +0 -27
- package/cdn/chunks/chunk.NPH4KMNE.js +0 -93
- package/cdn/chunks/chunk.NX3T6NE6.js +0 -314
- package/cdn/chunks/chunk.OFT7CWKV.js +0 -11
- package/cdn/chunks/chunk.OHCAKBFE.js +0 -11
- package/cdn/chunks/chunk.OJXP3KEW.js +0 -81
- package/cdn/chunks/chunk.OXPAWWYQ.js +0 -29
- package/cdn/chunks/chunk.OZQFUUCA.js +0 -26
- package/cdn/chunks/chunk.PBAQRUIC.js +0 -11
- package/cdn/chunks/chunk.PD3R4OIX.js +0 -183
- package/cdn/chunks/chunk.PDYJEA7O.js +0 -11
- package/cdn/chunks/chunk.PFD3CFYX.js +0 -27
- package/cdn/chunks/chunk.PFYEI3HJ.js +0 -11
- package/cdn/chunks/chunk.PL3ASQPN.js +0 -67
- package/cdn/chunks/chunk.PSFNWY5K.js +0 -208
- package/cdn/chunks/chunk.PWAY36H6.js +0 -21
- package/cdn/chunks/chunk.PXJXQBM2.js +0 -822
- package/cdn/chunks/chunk.Q2Q6JJY5.js +0 -11
- package/cdn/chunks/chunk.QEVEBBQC.js +0 -11
- package/cdn/chunks/chunk.QK3XYD26.js +0 -25
- package/cdn/chunks/chunk.QKQUFEKO.js +0 -11
- package/cdn/chunks/chunk.QOUCXP2H.js +0 -11
- package/cdn/chunks/chunk.QSG6NEIL.js +0 -25
- package/cdn/chunks/chunk.QTDWVHJJ.js +0 -24
- package/cdn/chunks/chunk.QXOHHRYA.js +0 -127
- package/cdn/chunks/chunk.RMKURFLN.js +0 -11
- package/cdn/chunks/chunk.RPS4DGWP.js +0 -11
- package/cdn/chunks/chunk.RPXRRMJP.js +0 -24
- package/cdn/chunks/chunk.RRNEYPFW.js +0 -11
- package/cdn/chunks/chunk.RRSWQAUL.js +0 -11
- package/cdn/chunks/chunk.RSCYDI2D.js +0 -21
- package/cdn/chunks/chunk.RXRVBR3Z.js +0 -50
- package/cdn/chunks/chunk.S4DY7KMR.js +0 -11
- package/cdn/chunks/chunk.S5EU5CBU.js +0 -11
- package/cdn/chunks/chunk.SHDEMQUZ.js +0 -21
- package/cdn/chunks/chunk.SP7WSCM6.js +0 -21
- package/cdn/chunks/chunk.SS5MTRHG.js +0 -24
- package/cdn/chunks/chunk.STJANZDP.js +0 -11
- package/cdn/chunks/chunk.SXAUBZ56.js +0 -24
- package/cdn/chunks/chunk.SZ2K6XKK.js +0 -153
- package/cdn/chunks/chunk.T754DV56.js +0 -11
- package/cdn/chunks/chunk.TEMXSAZW.js +0 -21
- package/cdn/chunks/chunk.TIPQV3FE.js +0 -11
- package/cdn/chunks/chunk.TLLBVDXL.js +0 -11
- package/cdn/chunks/chunk.TQHPDS6M.js +0 -11
- package/cdn/chunks/chunk.TRQAZYFW.js +0 -158
- package/cdn/chunks/chunk.TRUH7BW4.js +0 -113
- package/cdn/chunks/chunk.U4PX3B7C.js +0 -21
- package/cdn/chunks/chunk.U6SLENYO.js +0 -87
- package/cdn/chunks/chunk.UBUG7BOC.js +0 -11
- package/cdn/chunks/chunk.ULRISOA4.js +0 -391
- package/cdn/chunks/chunk.UVP3V5Z2.js +0 -135
- package/cdn/chunks/chunk.V4P7MA7M.js +0 -77
- package/cdn/chunks/chunk.VDGTKOSL.js +0 -25
- package/cdn/chunks/chunk.VDR3LRG6.js +0 -11
- package/cdn/chunks/chunk.VEYJKKIO.js +0 -36
- package/cdn/chunks/chunk.VHNYSBJX.js +0 -335
- package/cdn/chunks/chunk.VJUIUYMI.js +0 -21
- package/cdn/chunks/chunk.VLZ7MP4C.js +0 -21
- package/cdn/chunks/chunk.VRLOBCSH.js +0 -302
- package/cdn/chunks/chunk.VW5TH327.js +0 -11
- package/cdn/chunks/chunk.W5QBUFQN.js +0 -11
- package/cdn/chunks/chunk.W6QAVMGN.js +0 -1925
- package/cdn/chunks/chunk.WHZTGM5R.js +0 -5845
- package/cdn/chunks/chunk.WIIUT3V7.js +0 -502
- package/cdn/chunks/chunk.WL4ACLEQ.js +0 -21
- package/cdn/chunks/chunk.WN6J5ARU.js +0 -21
- package/cdn/chunks/chunk.WOT6FDXA.js +0 -2664
- package/cdn/chunks/chunk.WREBCP5B.js +0 -11
- package/cdn/chunks/chunk.X55JHD5V.js +0 -299
- package/cdn/chunks/chunk.XCHSZLPK.js +0 -11
- package/cdn/chunks/chunk.XEOHKAS2.js +0 -11
- package/cdn/chunks/chunk.XESRDP62.js +0 -346
- package/cdn/chunks/chunk.XHFA75ZT.js +0 -1223
- package/cdn/chunks/chunk.XQBGYT3A.js +0 -120
- package/cdn/chunks/chunk.XQSNIN63.js +0 -11
- package/cdn/chunks/chunk.XQYQHUM2.js +0 -11
- package/cdn/chunks/chunk.XUEJ2TUM.js +0 -186
- package/cdn/chunks/chunk.XXFXYJ4E.js +0 -379
- package/cdn/chunks/chunk.Y75WHQLP.js +0 -97
- package/cdn/chunks/chunk.YA3XGNQU.js +0 -27
- package/cdn/chunks/chunk.YEDIBZND.js +0 -24
- package/cdn/chunks/chunk.YP4HAHSB.js +0 -290
- package/cdn/chunks/chunk.YX4KNYJ5.js +0 -21
- package/cdn/chunks/chunk.YYDXR7K4.js +0 -328
- package/cdn/chunks/chunk.Z2PIKGJI.js +0 -25
- package/cdn/chunks/chunk.Z6M6VTWR.js +0 -11
- package/cdn/chunks/chunk.ZB46MZZQ.js +0 -82
- package/cdn/chunks/chunk.ZEV3XC4F.js +0 -103
- package/cdn/chunks/chunk.ZHYOC7HD.js +0 -190
- package/cdn/chunks/chunk.ZN6DLIAX.js +0 -11
- package/cdn/chunks/chunk.ZS47WVJ2.js +0 -11
- package/cdn/chunks/chunk.ZSIRTHBW.js +0 -7252
- package/cdn/chunks/chunk.ZSMLDO5K.js +0 -11
- package/cdn/chunks/chunk.ZZVPSAXA.js +0 -24
- package/dist/chunks/chunk.223VZVEM.js +0 -21
- package/dist/chunks/chunk.2GGBLR2P.js +0 -274
- package/dist/chunks/chunk.2LEINLRX.js +0 -11
- package/dist/chunks/chunk.2LUHK26V.js +0 -11
- package/dist/chunks/chunk.2OGIQIU4.js +0 -188
- package/dist/chunks/chunk.2WG3ZBA3.js +0 -11
- package/dist/chunks/chunk.37RKHEOR.js +0 -27
- package/dist/chunks/chunk.3A6GQCKU.js +0 -11
- package/dist/chunks/chunk.3EHQPXML.js +0 -25
- package/dist/chunks/chunk.3PIY7LYJ.js +0 -25
- package/dist/chunks/chunk.3VQGCENE.js +0 -11
- package/dist/chunks/chunk.4ESJ4FUZ.js +0 -247
- package/dist/chunks/chunk.4HVTL6LK.js +0 -109
- package/dist/chunks/chunk.4HYWKEVU.js +0 -325
- package/dist/chunks/chunk.4J264PD6.js +0 -11
- package/dist/chunks/chunk.4OEEEKJH.js +0 -11
- package/dist/chunks/chunk.4PEAPK2D.js +0 -11
- package/dist/chunks/chunk.4VODEWDA.js +0 -21
- package/dist/chunks/chunk.57KYN7K2.js +0 -11
- package/dist/chunks/chunk.5BMMIJIB.js +0 -11
- package/dist/chunks/chunk.5DNTIITZ.js +0 -28
- package/dist/chunks/chunk.5IQMUKIF.js +0 -21
- package/dist/chunks/chunk.5J5O6YEX.js +0 -27
- package/dist/chunks/chunk.5MPRF7P3.js +0 -11
- package/dist/chunks/chunk.5NIDMQTO.js +0 -27
- package/dist/chunks/chunk.5RTMJSYA.js +0 -11
- package/dist/chunks/chunk.5RV7OSEK.js +0 -21
- package/dist/chunks/chunk.5V6KLE7G.js +0 -28
- package/dist/chunks/chunk.67E5MTNW.js +0 -949
- package/dist/chunks/chunk.6BQ7UA7Y.js +0 -192
- package/dist/chunks/chunk.6CWM2K6O.js +0 -56
- package/dist/chunks/chunk.6JQMMJAW.js +0 -28
- package/dist/chunks/chunk.6JSXJJX2.js +0 -11
- package/dist/chunks/chunk.6PFU2JMW.js +0 -21
- package/dist/chunks/chunk.6TCX3JAN.js +0 -25
- package/dist/chunks/chunk.6YL4MWZK.js +0 -11
- package/dist/chunks/chunk.72W3VB3G.js +0 -24
- package/dist/chunks/chunk.7FAGA6SS.js +0 -11
- package/dist/chunks/chunk.7L4XHE5K.js +0 -116
- package/dist/chunks/chunk.7OTIP7QP.js +0 -85
- package/dist/chunks/chunk.7QTU26ZK.js +0 -33
- package/dist/chunks/chunk.7SSV4L7W.js +0 -11
- package/dist/chunks/chunk.7XXGN4YQ.js +0 -11
- package/dist/chunks/chunk.7ZNVN4YX.js +0 -26
- package/dist/chunks/chunk.A3BE34EQ.js +0 -11
- package/dist/chunks/chunk.ACBQACJS.js +0 -34
- package/dist/chunks/chunk.AEUNCNGZ.js +0 -29
- package/dist/chunks/chunk.AEXVFRIV.js +0 -326
- package/dist/chunks/chunk.AJ7UG7Z3.js +0 -361
- package/dist/chunks/chunk.AJLLICMK.js +0 -75
- package/dist/chunks/chunk.AMG3ARFC.js +0 -11
- package/dist/chunks/chunk.APPWE47X.js +0 -26
- package/dist/chunks/chunk.APWLI7DN.js +0 -759
- package/dist/chunks/chunk.AVQHKBAV.js +0 -11
- package/dist/chunks/chunk.BCHNMKET.js +0 -24
- package/dist/chunks/chunk.BJQSTSQV.js +0 -11
- package/dist/chunks/chunk.BOR3BYCE.js +0 -24
- package/dist/chunks/chunk.BR7DDTQ4.js +0 -11
- package/dist/chunks/chunk.BXO7MLLQ.js +0 -28
- package/dist/chunks/chunk.C6CVPPSA.js +0 -21
- package/dist/chunks/chunk.CLT3CYNE.js +0 -100
- package/dist/chunks/chunk.CMTJUJID.js +0 -814
- package/dist/chunks/chunk.CMU3IVNR.js +0 -28
- package/dist/chunks/chunk.CUHSLNAG.js +0 -75
- package/dist/chunks/chunk.CUIQXIDW.js +0 -59
- package/dist/chunks/chunk.CW7YV6TL.js +0 -21
- package/dist/chunks/chunk.CXHTHCYU.js +0 -25
- package/dist/chunks/chunk.D6ALX2IN.js +0 -21
- package/dist/chunks/chunk.D7AHFBFH.js +0 -213
- package/dist/chunks/chunk.DAFTXLXT.js +0 -11
- package/dist/chunks/chunk.DFJAXRYO.js +0 -100
- package/dist/chunks/chunk.DFZEGCJI.js +0 -91
- package/dist/chunks/chunk.DKKAWVRO.js +0 -11
- package/dist/chunks/chunk.DLGJJYME.js +0 -29
- package/dist/chunks/chunk.DONMNHMV.js +0 -577
- package/dist/chunks/chunk.DY3Y4NFJ.js +0 -24
- package/dist/chunks/chunk.EGU4HMTD.js +0 -11
- package/dist/chunks/chunk.ELXHO4S3.js +0 -11
- package/dist/chunks/chunk.FMM44VN6.js +0 -11
- package/dist/chunks/chunk.FWWIFAUG.js +0 -280
- package/dist/chunks/chunk.FXGINRVH.js +0 -27
- package/dist/chunks/chunk.G2FIRR46.js +0 -306
- package/dist/chunks/chunk.G5ISK3BU.js +0 -11
- package/dist/chunks/chunk.GCD47KBA.js +0 -21
- package/dist/chunks/chunk.GDF3VXVB.js +0 -25
- package/dist/chunks/chunk.GDFWEXLR.js +0 -397
- package/dist/chunks/chunk.HMFJXCMV.js +0 -147
- package/dist/chunks/chunk.HOZPSOMB.js +0 -11
- package/dist/chunks/chunk.HS3DSPZO.js +0 -11
- package/dist/chunks/chunk.HUPKM5UW.js +0 -11
- package/dist/chunks/chunk.HW7GTGF2.js +0 -126
- package/dist/chunks/chunk.I5ESCHS2.js +0 -134
- package/dist/chunks/chunk.I5YU6K4U.js +0 -96
- package/dist/chunks/chunk.IB2MEOXY.js +0 -21
- package/dist/chunks/chunk.IB3VZJRB.js +0 -126
- package/dist/chunks/chunk.ICU7CJQU.js +0 -11
- package/dist/chunks/chunk.IKQS4SBZ.js +0 -180
- package/dist/chunks/chunk.IOM5T7ZI.js +0 -286
- package/dist/chunks/chunk.IUXIO43F.js +0 -80
- package/dist/chunks/chunk.IWQYMGCA.js +0 -29
- package/dist/chunks/chunk.J3AY77KD.js +0 -63
- package/dist/chunks/chunk.JBYUF4RE.js +0 -214
- package/dist/chunks/chunk.JDF3ZXO4.js +0 -90
- package/dist/chunks/chunk.JIRNDAXQ.js +0 -148
- package/dist/chunks/chunk.JOG3GP3Y.js +0 -11
- package/dist/chunks/chunk.JP3HAWDR.js +0 -45
- package/dist/chunks/chunk.JPVJEVFM.js +0 -231
- package/dist/chunks/chunk.JQPPMZPT.js +0 -73
- package/dist/chunks/chunk.JVLZ66DT.js +0 -22
- package/dist/chunks/chunk.JYPOA6M2.js +0 -205
- package/dist/chunks/chunk.K57VSYNP.js +0 -24
- package/dist/chunks/chunk.K6B5IHVG.js +0 -21
- package/dist/chunks/chunk.K6ZMGFJZ.js +0 -454
- package/dist/chunks/chunk.KDQGUY6W.js +0 -21
- package/dist/chunks/chunk.KGBSQCIN.js +0 -11
- package/dist/chunks/chunk.KJRYOAIQ.js +0 -181
- package/dist/chunks/chunk.KLZC627P.js +0 -11
- package/dist/chunks/chunk.KSWSWCPU.js +0 -494
- package/dist/chunks/chunk.KUOOK7D6.js +0 -11
- package/dist/chunks/chunk.L3SREJXK.js +0 -230
- package/dist/chunks/chunk.LDLTERCF.js +0 -21
- package/dist/chunks/chunk.LIS6RTOX.js +0 -27
- package/dist/chunks/chunk.LOIDO45I.js +0 -227
- package/dist/chunks/chunk.LUB6NSTR.js +0 -93
- package/dist/chunks/chunk.MEFAPVHC.js +0 -21
- package/dist/chunks/chunk.MFBDKZCQ.js +0 -11
- package/dist/chunks/chunk.ML2HEWDO.js +0 -294
- package/dist/chunks/chunk.MMKXREC6.js +0 -24
- package/dist/chunks/chunk.MOSE42CI.js +0 -550
- package/dist/chunks/chunk.MRNE5SQK.js +0 -79
- package/dist/chunks/chunk.MY5LC322.js +0 -67
- package/dist/chunks/chunk.N3QVGDPP.js +0 -26
- package/dist/chunks/chunk.N53XDQYW.js +0 -45
- package/dist/chunks/chunk.NFVKFHLP.js +0 -135
- package/dist/chunks/chunk.NGYRYM6N.js +0 -11
- package/dist/chunks/chunk.NI3YHVXQ.js +0 -11
- package/dist/chunks/chunk.NLNIFQB7.js +0 -417
- package/dist/chunks/chunk.NRKXDEZN.js +0 -167
- package/dist/chunks/chunk.NVTROG33.js +0 -24
- package/dist/chunks/chunk.O4JUVR2Z.js +0 -21
- package/dist/chunks/chunk.OCMMXSGM.js +0 -21
- package/dist/chunks/chunk.OJ5KQ2N6.js +0 -371
- package/dist/chunks/chunk.OVRP7SCW.js +0 -11
- package/dist/chunks/chunk.OWGHUKJT.js +0 -11
- package/dist/chunks/chunk.OXCEIP4D.js +0 -21
- package/dist/chunks/chunk.P6H6LFK6.js +0 -11
- package/dist/chunks/chunk.P7NJ766H.js +0 -21
- package/dist/chunks/chunk.PJ5YDOOR.js +0 -21
- package/dist/chunks/chunk.PNBNNXAE.js +0 -11
- package/dist/chunks/chunk.POIFPHSW.js +0 -11
- package/dist/chunks/chunk.PZXGZKZX.js +0 -287
- package/dist/chunks/chunk.Q6XBKIKU.js +0 -345
- package/dist/chunks/chunk.QCP6XLVO.js +0 -117
- package/dist/chunks/chunk.QDYFAE4C.js +0 -24
- package/dist/chunks/chunk.QEDGF3Q6.js +0 -25
- package/dist/chunks/chunk.QFBVFH3H.js +0 -11
- package/dist/chunks/chunk.QGACMWH5.js +0 -11
- package/dist/chunks/chunk.QLP3FUXD.js +0 -331
- package/dist/chunks/chunk.R3TJXBBX.js +0 -11
- package/dist/chunks/chunk.RHIGMPRD.js +0 -384
- package/dist/chunks/chunk.RQKP666V.js +0 -448
- package/dist/chunks/chunk.RSFSIT42.js +0 -46
- package/dist/chunks/chunk.SAVIMCUW.js +0 -11
- package/dist/chunks/chunk.SQBURCNA.js +0 -111
- package/dist/chunks/chunk.SVB3JJF6.js +0 -21
- package/dist/chunks/chunk.T2V3TM34.js +0 -11
- package/dist/chunks/chunk.T6GNVPBE.js +0 -11
- package/dist/chunks/chunk.TK3QCEQE.js +0 -11
- package/dist/chunks/chunk.TMDHKQYC.js +0 -25
- package/dist/chunks/chunk.TMW55T5C.js +0 -1221
- package/dist/chunks/chunk.TUF2UAQ6.js +0 -50
- package/dist/chunks/chunk.U6XBQJAS.js +0 -28
- package/dist/chunks/chunk.U7NL5I3V.js +0 -315
- package/dist/chunks/chunk.UF6OTKUN.js +0 -136
- package/dist/chunks/chunk.UKG4SK62.js +0 -52
- package/dist/chunks/chunk.UKM7FUXP.js +0 -1064
- package/dist/chunks/chunk.UNESK4ZR.js +0 -25
- package/dist/chunks/chunk.URDGW7Q4.js +0 -263
- package/dist/chunks/chunk.UYNBFPYP.js +0 -506
- package/dist/chunks/chunk.VFA4IRBZ.js +0 -29
- package/dist/chunks/chunk.VFBSZZ6A.js +0 -328
- package/dist/chunks/chunk.VI64RMZE.js +0 -21
- package/dist/chunks/chunk.VIDDUYKN.js +0 -24
- package/dist/chunks/chunk.VIPJU4IR.js +0 -11
- package/dist/chunks/chunk.WDIFRG2W.js +0 -21
- package/dist/chunks/chunk.WDJMAWPD.js +0 -22
- package/dist/chunks/chunk.WIG3P76X.js +0 -21
- package/dist/chunks/chunk.WMRA22XF.js +0 -11
- package/dist/chunks/chunk.WNKXT66E.js +0 -11
- package/dist/chunks/chunk.WQBXNYRY.js +0 -311
- package/dist/chunks/chunk.WRDEVFBZ.js +0 -11
- package/dist/chunks/chunk.WRXJWKY4.js +0 -337
- package/dist/chunks/chunk.WXBMB2HA.js +0 -25
- package/dist/chunks/chunk.X2XIRKUV.js +0 -27
- package/dist/chunks/chunk.X3AGI6YL.js +0 -21
- package/dist/chunks/chunk.X3UKKW7K.js +0 -11
- package/dist/chunks/chunk.X5RCL3YC.js +0 -113
- package/dist/chunks/chunk.XLCI5RL7.js +0 -11
- package/dist/chunks/chunk.XLEG6INU.js +0 -21
- package/dist/chunks/chunk.XRYA5SYA.js +0 -11
- package/dist/chunks/chunk.XVJ6QERN.js +0 -11
- package/dist/chunks/chunk.XX6NFIBF.js +0 -11
- package/dist/chunks/chunk.Y4RQDZBR.js +0 -151
- package/dist/chunks/chunk.YB2RED7N.js +0 -21
- package/dist/chunks/chunk.YC7RT22D.js +0 -293
- package/dist/chunks/chunk.YCSABC7B.js +0 -11
- package/dist/chunks/chunk.YDZHIY2T.js +0 -11
- package/dist/chunks/chunk.YFYBJDLP.js +0 -11
- package/dist/chunks/chunk.YLXNBX2W.js +0 -24
- package/dist/chunks/chunk.YTSZAEYM.js +0 -11
- package/dist/chunks/chunk.YZ63LOCS.js +0 -25
- package/dist/chunks/chunk.ZGZ3UL6N.js +0 -24
- package/dist/chunks/chunk.ZLVTBNS2.js +0 -25
- package/dist/chunks/chunk.ZNX2BE6C.js +0 -119
- package/dist/chunks/chunk.ZSJLW4OH.js +0 -42
- package/dist/chunks/chunk.ZSKCVEBV.js +0 -11
- package/dist/chunks/chunk.ZXAR2FG7.js +0 -24
- package/dist/chunks/chunk.ZZ7RG7GR.js +0 -24
|
@@ -0,0 +1,820 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getDragRow
|
|
3
|
+
} from "./chunk.DSRLY2FD.js";
|
|
4
|
+
import {
|
|
5
|
+
getExpendRow
|
|
6
|
+
} from "./chunk.IUVORREB.js";
|
|
7
|
+
import {
|
|
8
|
+
getDefaultFilters
|
|
9
|
+
} from "./chunk.TF3IWFSX.js";
|
|
10
|
+
import {
|
|
11
|
+
convertRowSelectionState,
|
|
12
|
+
getRowSelectionOptions,
|
|
13
|
+
getSelectionColumn
|
|
14
|
+
} from "./chunk.IKG7GFWI.js";
|
|
15
|
+
import {
|
|
16
|
+
getDefaultSorting
|
|
17
|
+
} from "./chunk.WQTJ57OT.js";
|
|
18
|
+
import {
|
|
19
|
+
table_style_default
|
|
20
|
+
} from "./chunk.YETPLLCY.js";
|
|
21
|
+
import {
|
|
22
|
+
getDefaultPinning
|
|
23
|
+
} from "./chunk.REAQMJXE.js";
|
|
24
|
+
import {
|
|
25
|
+
getClientHeight,
|
|
26
|
+
getClientWidth,
|
|
27
|
+
getOffsetWidth,
|
|
28
|
+
getScrollHeight
|
|
29
|
+
} from "./chunk.YWEYEF5K.js";
|
|
30
|
+
import {
|
|
31
|
+
CUSTOM_CELL,
|
|
32
|
+
CUSTOM_ROW,
|
|
33
|
+
VIRTUALIZED_DEFAULT
|
|
34
|
+
} from "./chunk.UP5K765N.js";
|
|
35
|
+
import {
|
|
36
|
+
SlRadio
|
|
37
|
+
} from "./chunk.N76DQWXN.js";
|
|
38
|
+
import {
|
|
39
|
+
SlPagination
|
|
40
|
+
} from "./chunk.CSHENRJ2.js";
|
|
41
|
+
import {
|
|
42
|
+
SlCheckbox
|
|
43
|
+
} from "./chunk.WGQYVXZW.js";
|
|
44
|
+
import {
|
|
45
|
+
SlIcon
|
|
46
|
+
} from "./chunk.7JKNUYMB.js";
|
|
47
|
+
import {
|
|
48
|
+
ShoelaceElement
|
|
49
|
+
} from "./chunk.AG6MRYHQ.js";
|
|
50
|
+
import {
|
|
51
|
+
__decorateClass,
|
|
52
|
+
__objRest,
|
|
53
|
+
__spreadProps,
|
|
54
|
+
__spreadValues
|
|
55
|
+
} from "./chunk.W5KB6T3Z.js";
|
|
56
|
+
|
|
57
|
+
// src/components/table/table.component.ts
|
|
58
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
59
|
+
import {
|
|
60
|
+
createColumnHelper,
|
|
61
|
+
getCoreRowModel,
|
|
62
|
+
getExpandedRowModel,
|
|
63
|
+
getFilteredRowModel,
|
|
64
|
+
getPaginationRowModel,
|
|
65
|
+
getSortedRowModel,
|
|
66
|
+
TableController
|
|
67
|
+
} from "@tanstack/lit-table";
|
|
68
|
+
import { VirtualizerController } from "@tanstack/lit-virtual";
|
|
69
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
70
|
+
import { debounce, get, some } from "lodash";
|
|
71
|
+
import { html } from "lit";
|
|
72
|
+
import { property } from "lit/decorators.js";
|
|
73
|
+
import { state } from "lit/decorators/state.js";
|
|
74
|
+
var SlTable = class extends ShoelaceElement {
|
|
75
|
+
constructor() {
|
|
76
|
+
super(...arguments);
|
|
77
|
+
this.tableController = new TableController(this);
|
|
78
|
+
this.rowKey = "key";
|
|
79
|
+
this.columns = [];
|
|
80
|
+
this.dataSource = [];
|
|
81
|
+
this.loading = false;
|
|
82
|
+
this.bordered = false;
|
|
83
|
+
this.direction = "ltr";
|
|
84
|
+
this.showHeader = true;
|
|
85
|
+
this.tableScroll = {};
|
|
86
|
+
this.enableColumnResizing = false;
|
|
87
|
+
this.rowDrag = false;
|
|
88
|
+
this.rowSelectedMap = {};
|
|
89
|
+
this.expandedMap = {};
|
|
90
|
+
this.sorting = [];
|
|
91
|
+
this.columnFilters = [];
|
|
92
|
+
this.tableWidth = 0;
|
|
93
|
+
this.columnSizing = {};
|
|
94
|
+
this.pageIndex = 0;
|
|
95
|
+
this.columnPinning = {
|
|
96
|
+
left: ["drag", "expend", "select"],
|
|
97
|
+
right: []
|
|
98
|
+
};
|
|
99
|
+
this.tableWrapRef = createRef();
|
|
100
|
+
this.headerWrapRef = createRef();
|
|
101
|
+
this.bodyWrapRef = createRef();
|
|
102
|
+
this.syncing = false;
|
|
103
|
+
/*
|
|
104
|
+
生命周期 end
|
|
105
|
+
**/
|
|
106
|
+
this.warnIfNoKey = () => {
|
|
107
|
+
if (some(this.dataSource, (record) => this.adapter.getRecordKey(record) === void 0)) {
|
|
108
|
+
console.error(
|
|
109
|
+
'You must specify a key for each element in the dataSource or use "rowKey" to specify an attribute name as the primary key!'
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
this.setColumnWidth = () => {
|
|
114
|
+
const head = this.headerWrapRef.value;
|
|
115
|
+
if (!head) return;
|
|
116
|
+
const ths = head == null ? void 0 : head.querySelectorAll("th");
|
|
117
|
+
if (ths) {
|
|
118
|
+
const widths = Array.from(ths).reduce(
|
|
119
|
+
(acc, th) => {
|
|
120
|
+
const { width } = th.getBoundingClientRect();
|
|
121
|
+
const colKey = th.dataset.colKey;
|
|
122
|
+
return __spreadProps(__spreadValues({}, acc), {
|
|
123
|
+
[colKey]: width
|
|
124
|
+
});
|
|
125
|
+
},
|
|
126
|
+
{}
|
|
127
|
+
);
|
|
128
|
+
this.columnSizing = widths;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
this.handleBodyScroll = (e) => {
|
|
132
|
+
var _a;
|
|
133
|
+
this.handleBodyScrollLeft(e);
|
|
134
|
+
this.setScrollPositionClassName();
|
|
135
|
+
if ((_a = this.virtualized) == null ? void 0 : _a.onScroll) {
|
|
136
|
+
this.virtualized.onScroll(e);
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
this.handleBodyScrollLeft = (e) => {
|
|
140
|
+
if (this.syncing) return;
|
|
141
|
+
const target = e.currentTarget;
|
|
142
|
+
const head = this.headerWrapRef.value;
|
|
143
|
+
const body = this.bodyWrapRef.value;
|
|
144
|
+
if (!head || !body) return;
|
|
145
|
+
this.syncing = true;
|
|
146
|
+
if (target === body) {
|
|
147
|
+
head.scrollLeft = body.scrollLeft;
|
|
148
|
+
} else if (target === head) {
|
|
149
|
+
body.scrollLeft = head.scrollLeft;
|
|
150
|
+
}
|
|
151
|
+
requestAnimationFrame(() => {
|
|
152
|
+
this.syncing = false;
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
this.handleWindowResize = () => {
|
|
156
|
+
this.syncTableWidth();
|
|
157
|
+
this.setScrollPositionClassName();
|
|
158
|
+
this.setScrollBarStyle();
|
|
159
|
+
};
|
|
160
|
+
this.syncTableWidth = () => {
|
|
161
|
+
var _a;
|
|
162
|
+
if ((_a = this.tableWrapRef) == null ? void 0 : _a.value) {
|
|
163
|
+
this.tableWidth = this.tableWrapRef.value.getBoundingClientRect().width;
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
this.setScrollBarStyle = () => {
|
|
167
|
+
setTimeout(() => {
|
|
168
|
+
const bodyWrapper = this.bodyWrapRef.value;
|
|
169
|
+
const headWrapper = this.headerWrapRef.value;
|
|
170
|
+
if (!bodyWrapper || !headWrapper) return;
|
|
171
|
+
const hasVerticalScroll = getScrollHeight(bodyWrapper) > getClientHeight(bodyWrapper);
|
|
172
|
+
const bodyHasScrollBar = getClientWidth(bodyWrapper) < getOffsetWidth(bodyWrapper);
|
|
173
|
+
if (hasVerticalScroll && bodyHasScrollBar) {
|
|
174
|
+
headWrapper.style.overflowY = "scroll";
|
|
175
|
+
} else {
|
|
176
|
+
headWrapper.style.overflowY = "auto";
|
|
177
|
+
}
|
|
178
|
+
}, 0);
|
|
179
|
+
};
|
|
180
|
+
this.setScrollPositionClassName = () => {
|
|
181
|
+
const tableBody = this.bodyWrapRef.value;
|
|
182
|
+
const tableWrapper = this.tableWrapRef.value;
|
|
183
|
+
if (!tableBody || !tableWrapper) return;
|
|
184
|
+
const { scrollLeft, scrollWidth, clientWidth } = tableBody;
|
|
185
|
+
const scrollRange = scrollWidth - clientWidth;
|
|
186
|
+
const classList = tableWrapper.classList;
|
|
187
|
+
const startClass = "table-scroll-position-left";
|
|
188
|
+
const middleClass = "table-scroll-position-middle";
|
|
189
|
+
const endClass = "table-scroll-position-right";
|
|
190
|
+
if (scrollWidth <= clientWidth) {
|
|
191
|
+
classList.remove(startClass, endClass, middleClass);
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
const isRtl = this.direction === "rtl";
|
|
195
|
+
const scrollLeftAbs = Math.abs(scrollLeft);
|
|
196
|
+
let isStart = false;
|
|
197
|
+
let isEnd = false;
|
|
198
|
+
if (isRtl) {
|
|
199
|
+
isStart = scrollLeftAbs <= 1;
|
|
200
|
+
isEnd = scrollLeftAbs >= scrollRange - 1;
|
|
201
|
+
} else {
|
|
202
|
+
isStart = scrollLeft <= 0;
|
|
203
|
+
isEnd = scrollLeft >= scrollRange - 1;
|
|
204
|
+
}
|
|
205
|
+
if (isStart) {
|
|
206
|
+
classList.add(startClass);
|
|
207
|
+
classList.remove(middleClass, endClass);
|
|
208
|
+
} else if (isEnd) {
|
|
209
|
+
classList.remove(startClass, middleClass);
|
|
210
|
+
classList.add(endClass);
|
|
211
|
+
} else {
|
|
212
|
+
classList.remove(startClass, endClass);
|
|
213
|
+
classList.add(middleClass);
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
this.handleColumnSizingChange = (updaterOrValue) => {
|
|
217
|
+
var _a;
|
|
218
|
+
const next = typeof updaterOrValue === "function" ? updaterOrValue(this.columnSizing) : updaterOrValue;
|
|
219
|
+
const clamped = {};
|
|
220
|
+
for (const key in next) {
|
|
221
|
+
const v = next[key];
|
|
222
|
+
clamped[key] = Math.min(500, Math.max(60, v));
|
|
223
|
+
}
|
|
224
|
+
this.columnSizing = clamped;
|
|
225
|
+
(_a = this.slColumnResize) == null ? void 0 : _a.call(this, __spreadValues({}, clamped));
|
|
226
|
+
};
|
|
227
|
+
this.generateCustomCellSlot = (filteredRows) => {
|
|
228
|
+
const hasSlotColumns = this.columns.filter((col) => col.slot);
|
|
229
|
+
if (!hasSlotColumns.length) return "";
|
|
230
|
+
return html`
|
|
231
|
+
${hasSlotColumns.map(
|
|
232
|
+
(col) => filteredRows.map((row) => {
|
|
233
|
+
const slotKey = `${CUSTOM_CELL}-${col.dataIndex}-${this.adapter.getRecordKey(row.original)}`;
|
|
234
|
+
return html`<slot slot="${slotKey}" name="${slotKey}">${row.original[col.dataIndex]}</slot>`;
|
|
235
|
+
})
|
|
236
|
+
)}
|
|
237
|
+
`;
|
|
238
|
+
};
|
|
239
|
+
this.generateCustomRowSlot = (rows) => {
|
|
240
|
+
if (!this.expandProps) return "";
|
|
241
|
+
return html`
|
|
242
|
+
${rows.map((row) => {
|
|
243
|
+
var _a, _b, _c;
|
|
244
|
+
const rowSlotKey = `${CUSTOM_ROW}-${this.adapter.getRecordKey(row.original)}`;
|
|
245
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expandableRowKeys)) return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
246
|
+
if ((_c = (_b = this.expandProps) == null ? void 0 : _b.expandableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey])) {
|
|
247
|
+
return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
248
|
+
} else {
|
|
249
|
+
return null;
|
|
250
|
+
}
|
|
251
|
+
})}
|
|
252
|
+
`;
|
|
253
|
+
};
|
|
254
|
+
this.handleRowSelectionChange = (updaterOrValue) => {
|
|
255
|
+
if (typeof updaterOrValue === "function") {
|
|
256
|
+
this.rowSelectedMap = updaterOrValue(this.rowSelectedMap);
|
|
257
|
+
} else {
|
|
258
|
+
this.rowSelectedMap = updaterOrValue;
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
this.handleSortingChange = (updaterOrValue) => {
|
|
262
|
+
if (typeof updaterOrValue === "function") {
|
|
263
|
+
this.sorting = updaterOrValue(this.sorting);
|
|
264
|
+
} else {
|
|
265
|
+
this.sorting = updaterOrValue;
|
|
266
|
+
}
|
|
267
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
268
|
+
this.handleChange({
|
|
269
|
+
changeType: "sorter"
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
};
|
|
273
|
+
this.handleColumnFiltersChange = (updaterOrValue) => {
|
|
274
|
+
if (typeof updaterOrValue === "function") {
|
|
275
|
+
this.columnFilters = updaterOrValue(this.columnFilters);
|
|
276
|
+
} else {
|
|
277
|
+
this.columnFilters = updaterOrValue;
|
|
278
|
+
}
|
|
279
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
280
|
+
this.handleChange({
|
|
281
|
+
changeType: "filters"
|
|
282
|
+
});
|
|
283
|
+
});
|
|
284
|
+
};
|
|
285
|
+
this.handleFilterDropdownChange = (e) => {
|
|
286
|
+
var _a;
|
|
287
|
+
const detail = e.detail;
|
|
288
|
+
const { key, visible } = detail || {};
|
|
289
|
+
const col = this.columns.find((c) => c.dataIndex === key);
|
|
290
|
+
(_a = col == null ? void 0 : col.onFilterDropdownVisibleChange) == null ? void 0 : _a.call(col, visible);
|
|
291
|
+
};
|
|
292
|
+
this.getRowCanExpand = (row) => {
|
|
293
|
+
var _a, _b, _c;
|
|
294
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expandableRowKeys)) return true;
|
|
295
|
+
return Boolean((_c = (_b = this.expandProps) == null ? void 0 : _b.expandableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey]));
|
|
296
|
+
};
|
|
297
|
+
this.expendedChange = (updater) => {
|
|
298
|
+
const newExpanded = typeof updater === "function" ? updater(this.expandedMap) : updater;
|
|
299
|
+
this.expandedMap = newExpanded;
|
|
300
|
+
this.requestUpdate();
|
|
301
|
+
};
|
|
302
|
+
this.getSubRows = (row) => {
|
|
303
|
+
const { treeConfig } = this.getTreeInfo();
|
|
304
|
+
if (treeConfig === false) return [];
|
|
305
|
+
const v = row[treeConfig.childrenRecordName];
|
|
306
|
+
return Array.isArray(v) ? v : [];
|
|
307
|
+
};
|
|
308
|
+
this.handlePaginationChange = (event) => {
|
|
309
|
+
var _a, _b, _c, _d;
|
|
310
|
+
const { pageNumber, pageSize } = event.detail;
|
|
311
|
+
(_b = (_a = this.pagination) == null ? void 0 : _a["sl-page-change"]) == null ? void 0 : _b.call(_a, event);
|
|
312
|
+
this.pagination = __spreadProps(__spreadValues({}, this.pagination), {
|
|
313
|
+
defaultCurrentPage: pageNumber,
|
|
314
|
+
pageSize: pageSize || 20
|
|
315
|
+
});
|
|
316
|
+
if (!((_c = this.pagination) == null ? void 0 : _c.currentPage)) this.pageIndex = pageNumber - 1;
|
|
317
|
+
this.handleChange({
|
|
318
|
+
pagination: {
|
|
319
|
+
pageNumber: pageNumber || 1,
|
|
320
|
+
pageSize: pageSize || 20,
|
|
321
|
+
total: ((_d = this.pagination) == null ? void 0 : _d.total) || this.dataSource.length
|
|
322
|
+
},
|
|
323
|
+
type: "pagination"
|
|
324
|
+
});
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
normalizeTree() {
|
|
328
|
+
var _a, _b;
|
|
329
|
+
const defaultTree = { childrenRecordName: "children", indentSize: 16 };
|
|
330
|
+
const hasChildren = Array.isArray(this.dataSource) && this.dataSource.some((row) => Array.isArray(row.children));
|
|
331
|
+
if (!this.tree) return hasChildren ? defaultTree : false;
|
|
332
|
+
if (typeof this.tree === "object") {
|
|
333
|
+
return {
|
|
334
|
+
childrenRecordName: (_a = this.tree.childrenRecordName) != null ? _a : defaultTree.childrenRecordName,
|
|
335
|
+
indentSize: (_b = this.tree.indentSize) != null ? _b : defaultTree.indentSize
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
return this.tree ? defaultTree : false;
|
|
339
|
+
}
|
|
340
|
+
getTreeInfo() {
|
|
341
|
+
const treeConfig = this.normalizeTree();
|
|
342
|
+
return { treeConfig, treeEnabled: treeConfig !== false };
|
|
343
|
+
}
|
|
344
|
+
get adapter() {
|
|
345
|
+
return {
|
|
346
|
+
getRecordKey: (record) => {
|
|
347
|
+
if (!record) {
|
|
348
|
+
return void 0;
|
|
349
|
+
}
|
|
350
|
+
return get(record, this.rowKey);
|
|
351
|
+
},
|
|
352
|
+
getSortIsControlled: () => {
|
|
353
|
+
return some(this.columns, (col) => !!col.sortOrder);
|
|
354
|
+
},
|
|
355
|
+
getTableWidth: () => this.tableWidth,
|
|
356
|
+
getFilterIsControlled: () => some(this.columns, (col) => !!col.filteredValue),
|
|
357
|
+
tableScrollToTop: () => {
|
|
358
|
+
var _a, _b;
|
|
359
|
+
return ((_a = this.tableScroll) == null ? void 0 : _a.y) ? (_b = this.bodyWrapRef.value) == null ? void 0 : _b.scrollTo({ top: 0 }) : void 0;
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
/*
|
|
364
|
+
生命周期 start
|
|
365
|
+
**/
|
|
366
|
+
connectedCallback() {
|
|
367
|
+
super.connectedCallback();
|
|
368
|
+
window.addEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
369
|
+
this.syncTableWidth();
|
|
370
|
+
this.setScrollBarStyle();
|
|
371
|
+
this.setScrollPositionClassName();
|
|
372
|
+
}
|
|
373
|
+
disconnectedCallback() {
|
|
374
|
+
window.removeEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
375
|
+
super.disconnectedCallback();
|
|
376
|
+
}
|
|
377
|
+
willUpdate(changedProperties) {
|
|
378
|
+
var _a;
|
|
379
|
+
this.warnIfNoKey();
|
|
380
|
+
if (changedProperties.has("rowSelection")) {
|
|
381
|
+
this.rowSelectedMap = convertRowSelectionState(((_a = this.rowSelection) == null ? void 0 : _a.defaultSelectedRowKeys) || []);
|
|
382
|
+
}
|
|
383
|
+
if (changedProperties.has("columns")) {
|
|
384
|
+
const defaultSorting = getDefaultSorting(this.columns);
|
|
385
|
+
if (defaultSorting.length > 0) {
|
|
386
|
+
this.sorting = defaultSorting;
|
|
387
|
+
}
|
|
388
|
+
const defaultFilters = getDefaultFilters(this.columns);
|
|
389
|
+
if (defaultFilters.length > 0) {
|
|
390
|
+
this.columnFilters = defaultFilters;
|
|
391
|
+
}
|
|
392
|
+
const defaultPinning = getDefaultPinning(this.columns);
|
|
393
|
+
if (defaultPinning.left.length > 0 || defaultPinning.right.length > 0) {
|
|
394
|
+
this.columnPinning = defaultPinning;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
if (changedProperties.has("dataSource") || changedProperties.has("expandProps")) {
|
|
398
|
+
this.dataSource.forEach((row) => {
|
|
399
|
+
var _a2, _b;
|
|
400
|
+
if (!((_a2 = this.expandProps) == null ? void 0 : _a2.rowExpandable)) return;
|
|
401
|
+
const rowKey = row[this.rowKey];
|
|
402
|
+
const expandAllMatch = this.expandProps.defaultExpandAllRows && (!this.expandProps.expandableRowKeys || this.expandProps.expandableRowKeys.includes(rowKey));
|
|
403
|
+
const expandByKeys = (_b = this.expandProps.defaultExpandedRowKeys) == null ? void 0 : _b.includes(rowKey);
|
|
404
|
+
if (expandAllMatch || expandByKeys) {
|
|
405
|
+
this.expandedMap[rowKey] = true;
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
updated(changedProperties) {
|
|
411
|
+
super.updated(changedProperties);
|
|
412
|
+
window.requestAnimationFrame(() => {
|
|
413
|
+
this.setScrollPositionClassName();
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
async firstUpdated() {
|
|
417
|
+
var _a, _b, _d, _e;
|
|
418
|
+
const bodyTable = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("sl-table-body-table");
|
|
419
|
+
if (bodyTable) {
|
|
420
|
+
await bodyTable.updateComplete;
|
|
421
|
+
}
|
|
422
|
+
const headTable = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sl-table-head-table");
|
|
423
|
+
if (headTable) {
|
|
424
|
+
await headTable.updateComplete;
|
|
425
|
+
}
|
|
426
|
+
if (this.virtualized) {
|
|
427
|
+
const scrollElement = this.bodyWrapRef.value;
|
|
428
|
+
const _c = this.virtualized, { itemHeight, overscan } = _c, rest = __objRest(_c, ["itemHeight", "overscan"]);
|
|
429
|
+
this.rowVirtualizerController = new VirtualizerController(this, __spreadValues({
|
|
430
|
+
count: this.dataSource.length,
|
|
431
|
+
getScrollElement: () => scrollElement,
|
|
432
|
+
estimateSize: () => itemHeight || VIRTUALIZED_DEFAULT.itemHeight,
|
|
433
|
+
overscan: overscan || VIRTUALIZED_DEFAULT.overscan
|
|
434
|
+
}, rest));
|
|
435
|
+
this.requestUpdate();
|
|
436
|
+
}
|
|
437
|
+
this.setColumnWidth();
|
|
438
|
+
if ((_d = this.pagination) == null ? void 0 : _d.currentPage) {
|
|
439
|
+
this.pageIndex = this.pagination.currentPage - 1;
|
|
440
|
+
} else if ((_e = this.pagination) == null ? void 0 : _e.defaultCurrentPage) {
|
|
441
|
+
this.pageIndex = this.pagination.defaultCurrentPage - 1;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
renderTable(tableInstance) {
|
|
445
|
+
var _a, _b;
|
|
446
|
+
const currentPageRows = tableInstance.getPaginationRowModel().rows;
|
|
447
|
+
const filteredRows = tableInstance.getFilteredRowModel().rows;
|
|
448
|
+
const { treeConfig, treeEnabled } = this.getTreeInfo();
|
|
449
|
+
const commonProps = {
|
|
450
|
+
direction: this.direction,
|
|
451
|
+
bordered: !!this.bordered,
|
|
452
|
+
rowSelectedMap: this.rowSelectedMap,
|
|
453
|
+
tableScroll: this.tableScroll,
|
|
454
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
455
|
+
handleBodyScroll: this.handleBodyScroll,
|
|
456
|
+
sorting: this.sorting,
|
|
457
|
+
dataSource: this.dataSource,
|
|
458
|
+
columns: this.columns,
|
|
459
|
+
adapter: this.adapter,
|
|
460
|
+
tableInstance,
|
|
461
|
+
slHeaderRow: this.slHeaderRow,
|
|
462
|
+
slRow: this.slRow,
|
|
463
|
+
virtualized: this.virtualized,
|
|
464
|
+
rowDrag: this.rowDrag,
|
|
465
|
+
expandProps: this.expandProps,
|
|
466
|
+
tree: treeConfig,
|
|
467
|
+
slRowReorder: (detail) => {
|
|
468
|
+
var _a2;
|
|
469
|
+
if (this.slRowReorder) this.slRowReorder(detail);
|
|
470
|
+
if ((_a2 = detail.newRows) == null ? void 0 : _a2.length) {
|
|
471
|
+
this.dataSource = detail.newRows;
|
|
472
|
+
this.requestUpdate();
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
};
|
|
476
|
+
const emptyTemplate = this.dataSource.length === 0 || currentPageRows.length === 0 || filteredRows.length === 0 ? this.renderEmpty() : "";
|
|
477
|
+
const headTable = this.showHeader ? html`<sl-table-head-table
|
|
478
|
+
exportparts="table-head, table-head-row, table-head-cell"
|
|
479
|
+
.commonProps=${commonProps}
|
|
480
|
+
.headerRef=${this.headerWrapRef}
|
|
481
|
+
@sl-filter-dropdown-change=${this.handleFilterDropdownChange}
|
|
482
|
+
></sl-table-head-table>` : "";
|
|
483
|
+
const bodyTable = html`<sl-table-body-table
|
|
484
|
+
exportparts="table-body, table-body-row, table-body-cell"
|
|
485
|
+
.bodyRef=${this.bodyWrapRef}
|
|
486
|
+
.emptyTemplate=${emptyTemplate}
|
|
487
|
+
.commonProps=${commonProps}
|
|
488
|
+
.rowVirtualizerController=${this.rowVirtualizerController}
|
|
489
|
+
.expandRowByClick=${((_a = this.expandProps) == null ? void 0 : _a.rowExpandable) && ((_b = this.expandProps) == null ? void 0 : _b.expandRowByClick)}
|
|
490
|
+
>
|
|
491
|
+
<slot name="table-empty" slot="table-empty">暂无数据</slot>
|
|
492
|
+
${!treeEnabled ? this.generateCustomRowSlot(filteredRows) : ""} ${this.generateCustomCellSlot(filteredRows)}
|
|
493
|
+
</sl-table-body-table>`;
|
|
494
|
+
return html`${headTable} ${bodyTable}`;
|
|
495
|
+
}
|
|
496
|
+
renderEmpty() {
|
|
497
|
+
return html` <div class="table-placeholder"><slot name="table-empty"></slot></div>`;
|
|
498
|
+
}
|
|
499
|
+
renderMainTable(tableInstance) {
|
|
500
|
+
const table = html`${this.renderTable(tableInstance)}`;
|
|
501
|
+
return table;
|
|
502
|
+
}
|
|
503
|
+
renderPagination(place) {
|
|
504
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
505
|
+
if (!this.pagination) return "";
|
|
506
|
+
const pos = ((_a = this.pagination) == null ? void 0 : _a.position) || "bottomEnd";
|
|
507
|
+
const isTop = pos.startsWith("top");
|
|
508
|
+
if (place === "top" && !isTop || place === "bottom" && isTop) return "";
|
|
509
|
+
const justify = pos.endsWith("Start") ? "flex-start" : pos.endsWith("Center") ? "center" : "flex-end";
|
|
510
|
+
const margin = place === "top" ? "0 0 8px 0" : "8px 0 0 0";
|
|
511
|
+
const style = `display:flex; justify-content:${justify}; margin:${margin};`;
|
|
512
|
+
return html`
|
|
513
|
+
<div class="pagination-container" style="${style}">
|
|
514
|
+
<sl-pagination
|
|
515
|
+
class="pagination"
|
|
516
|
+
@sl-page-change=${this.handlePaginationChange}
|
|
517
|
+
.total=${((_b = this.pagination) == null ? void 0 : _b.total) || this.dataSource.length}
|
|
518
|
+
.currentPage=${(_c = this.pagination) == null ? void 0 : _c.currentPage}
|
|
519
|
+
.defaultCurrentPage=${((_d = this.pagination) == null ? void 0 : _d.defaultCurrentPage) || 1}
|
|
520
|
+
.pageSize=${((_e = this.pagination) == null ? void 0 : _e.pageSize) || 20}
|
|
521
|
+
.disabled=${((_f = this.pagination) == null ? void 0 : _f.disabled) || false}
|
|
522
|
+
.className=${(_g = this.pagination) == null ? void 0 : _g.className}
|
|
523
|
+
.pageSizeOpts=${((_h = this.pagination) == null ? void 0 : _h.pageSizeOpts) || [10, 20, 50, 100]}
|
|
524
|
+
.simpleMode=${((_i = this.pagination) == null ? void 0 : _i.simpleMode) || false}
|
|
525
|
+
>
|
|
526
|
+
</sl-pagination>
|
|
527
|
+
</div>
|
|
528
|
+
`;
|
|
529
|
+
}
|
|
530
|
+
// 生成lit-table所需要的columns数组
|
|
531
|
+
buildColumns() {
|
|
532
|
+
var _a, _b, _c, _d;
|
|
533
|
+
const _columns = [];
|
|
534
|
+
const columnHelper = createColumnHelper();
|
|
535
|
+
const { treeConfig, treeEnabled } = this.getTreeInfo();
|
|
536
|
+
const treeIndentSize = treeConfig === false ? 0 : treeConfig.indentSize;
|
|
537
|
+
const firstDataIndex = (_a = this.columns[0]) == null ? void 0 : _a.dataIndex;
|
|
538
|
+
for (const col of this.columns) {
|
|
539
|
+
const {
|
|
540
|
+
dataIndex,
|
|
541
|
+
width,
|
|
542
|
+
align,
|
|
543
|
+
className,
|
|
544
|
+
ellipsis,
|
|
545
|
+
sorter,
|
|
546
|
+
filters,
|
|
547
|
+
filterMultiple,
|
|
548
|
+
defaultFilters,
|
|
549
|
+
onFilter,
|
|
550
|
+
filterDropdownProps,
|
|
551
|
+
onFilterDropdownVisibleChange
|
|
552
|
+
} = col;
|
|
553
|
+
const canSort = sorter && typeof sorter === "function";
|
|
554
|
+
const canFilter = filters && filters.length > 0;
|
|
555
|
+
const newCol = columnHelper.accessor((row) => row[dataIndex], {
|
|
556
|
+
id: dataIndex,
|
|
557
|
+
meta: {
|
|
558
|
+
align,
|
|
559
|
+
className,
|
|
560
|
+
ellipsis,
|
|
561
|
+
filters,
|
|
562
|
+
filterMultiple,
|
|
563
|
+
defaultFilters,
|
|
564
|
+
filterDropdownProps,
|
|
565
|
+
onFilterDropdownVisibleChange,
|
|
566
|
+
slCell: col.slCell,
|
|
567
|
+
slHeaderCell: col.slHeaderCell
|
|
568
|
+
},
|
|
569
|
+
cell: (info) => {
|
|
570
|
+
if (treeEnabled && firstDataIndex && dataIndex === firstDataIndex) {
|
|
571
|
+
const depth = typeof info.row.depth === "number" ? info.row.depth : 0;
|
|
572
|
+
const indent = Math.max(0, depth * (treeIndentSize || 16));
|
|
573
|
+
const canExpand = info.row.getCanExpand();
|
|
574
|
+
const expanded = info.row.getIsExpanded();
|
|
575
|
+
const toggleNode = canExpand ? html`
|
|
576
|
+
<sl-icon
|
|
577
|
+
class="row-expand-icon"
|
|
578
|
+
name="${expanded ? "dash-square" : "plus-square"}"
|
|
579
|
+
style="cursor:pointer;"
|
|
580
|
+
@click=${(e) => {
|
|
581
|
+
e.stopPropagation();
|
|
582
|
+
info.row.toggleExpanded();
|
|
583
|
+
}}
|
|
584
|
+
></sl-icon>
|
|
585
|
+
` : html`<span style="display:inline-block; width: 1em;"></span>`;
|
|
586
|
+
const valueNode = col.slot ? (() => {
|
|
587
|
+
const slotKey = `${CUSTOM_CELL}-${dataIndex}-${this.adapter.getRecordKey(info.row.original)}`;
|
|
588
|
+
return html`<slot name="${slotKey}" slot="${slotKey}">${info.getValue()}</slot>`;
|
|
589
|
+
})() : info.getValue();
|
|
590
|
+
return html`
|
|
591
|
+
<div class="tree-cell-content" style="display:flex; align-items:center; gap: 6px; padding-inline-start: ${indent}px;">
|
|
592
|
+
${toggleNode} <span class="tree-cell-text">${valueNode}</span>
|
|
593
|
+
</div>
|
|
594
|
+
`;
|
|
595
|
+
}
|
|
596
|
+
if (col.slot) {
|
|
597
|
+
const slotKey = `${CUSTOM_CELL}-${dataIndex}-${this.adapter.getRecordKey(info.row.original)}`;
|
|
598
|
+
return html`<slot name="${slotKey}" slot="${slotKey}">${info.getValue()}</slot>`;
|
|
599
|
+
}
|
|
600
|
+
return info.getValue();
|
|
601
|
+
},
|
|
602
|
+
header: () => col.title || dataIndex,
|
|
603
|
+
size: width
|
|
604
|
+
});
|
|
605
|
+
newCol.enableResizing = (_b = col.enableResizing) != null ? _b : this.enableColumnResizing;
|
|
606
|
+
if (newCol.enableResizing) {
|
|
607
|
+
newCol.minSize = 60;
|
|
608
|
+
newCol.maxSize = 500;
|
|
609
|
+
}
|
|
610
|
+
if (canSort) {
|
|
611
|
+
newCol.sortingFn = (rowA, rowB) => sorter(rowA.original, rowB.original);
|
|
612
|
+
}
|
|
613
|
+
if (canFilter && onFilter) {
|
|
614
|
+
newCol.filterFn = (row, _columnId, filterValue) => {
|
|
615
|
+
if (Array.isArray(filterValue)) {
|
|
616
|
+
return filterValue.some((val) => !!onFilter(val, row.original));
|
|
617
|
+
}
|
|
618
|
+
return !!onFilter(filterValue, row.original);
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
newCol.enableSorting = !!canSort;
|
|
622
|
+
newCol.enableColumnFilter = !!canFilter;
|
|
623
|
+
_columns.push(newCol);
|
|
624
|
+
}
|
|
625
|
+
if (this.rowSelection && !this.rowSelection.hidden) {
|
|
626
|
+
_columns.unshift(getSelectionColumn(this.rowSelection, this.rowKey));
|
|
627
|
+
}
|
|
628
|
+
const showExpandColumn = !treeEnabled && !!((_c = this == null ? void 0 : this.expandProps) == null ? void 0 : _c.rowExpandable);
|
|
629
|
+
if (showExpandColumn) _columns.unshift(getExpendRow(!!((_d = this.expandProps) == null ? void 0 : _d.expandRowByClick)));
|
|
630
|
+
if (this == null ? void 0 : this.rowDrag) _columns.unshift(getDragRow());
|
|
631
|
+
return _columns;
|
|
632
|
+
}
|
|
633
|
+
// 构建 tableState
|
|
634
|
+
buildTableState() {
|
|
635
|
+
var _a;
|
|
636
|
+
const rowSelectionOptions = getRowSelectionOptions({
|
|
637
|
+
rowSelection: this.rowSelection
|
|
638
|
+
});
|
|
639
|
+
const { treeEnabled } = this.getTreeInfo();
|
|
640
|
+
const cols = this.buildColumns();
|
|
641
|
+
const instance = this.tableController.table(__spreadProps(__spreadValues({
|
|
642
|
+
columns: cols,
|
|
643
|
+
data: this.dataSource,
|
|
644
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
645
|
+
columnResizeMode: "onChange",
|
|
646
|
+
columnResizeDirection: this.direction,
|
|
647
|
+
manualPagination: !this.pagination,
|
|
648
|
+
getRowId: (row) => row[this.rowKey],
|
|
649
|
+
getSubRows: this.getSubRows,
|
|
650
|
+
getCoreRowModel: getCoreRowModel(),
|
|
651
|
+
getSortedRowModel: getSortedRowModel(),
|
|
652
|
+
getPaginationRowModel: getPaginationRowModel(),
|
|
653
|
+
getFilteredRowModel: getFilteredRowModel(),
|
|
654
|
+
getExpandedRowModel: getExpandedRowModel(),
|
|
655
|
+
state: {
|
|
656
|
+
rowSelection: this.rowSelectedMap,
|
|
657
|
+
sorting: this.sorting,
|
|
658
|
+
columnFilters: this.columnFilters,
|
|
659
|
+
columnSizing: this.columnSizing,
|
|
660
|
+
pagination: {
|
|
661
|
+
pageIndex: this.pageIndex,
|
|
662
|
+
pageSize: ((_a = this.pagination) == null ? void 0 : _a.pageSize) || 20
|
|
663
|
+
},
|
|
664
|
+
expanded: this.expandedMap,
|
|
665
|
+
columnPinning: this.columnPinning
|
|
666
|
+
},
|
|
667
|
+
onColumnSizingChange: this.handleColumnSizingChange,
|
|
668
|
+
onSortingChange: this.handleSortingChange,
|
|
669
|
+
onColumnFiltersChange: this.handleColumnFiltersChange
|
|
670
|
+
}, rowSelectionOptions), {
|
|
671
|
+
onRowSelectionChange: this.handleRowSelectionChange,
|
|
672
|
+
// 受控排序
|
|
673
|
+
manualSorting: this.adapter.getSortIsControlled(),
|
|
674
|
+
manualFiltering: this.adapter.getFilterIsControlled(),
|
|
675
|
+
getRowCanExpand: treeEnabled ? (row) => this.getSubRows(row.original).length > 0 : this.getRowCanExpand,
|
|
676
|
+
onExpandedChange: this.expendedChange
|
|
677
|
+
}));
|
|
678
|
+
return instance;
|
|
679
|
+
}
|
|
680
|
+
handleChange(extra) {
|
|
681
|
+
var _a;
|
|
682
|
+
this.dispatchEvent(
|
|
683
|
+
new CustomEvent("change", {
|
|
684
|
+
detail: __spreadValues({
|
|
685
|
+
sorting: this.sorting,
|
|
686
|
+
columnFilters: this.columnFilters
|
|
687
|
+
}, extra)
|
|
688
|
+
})
|
|
689
|
+
);
|
|
690
|
+
if (["sorting", "filters", "pagination"].includes(extra == null ? void 0 : extra.type) && ((_a = this.tableScroll) == null ? void 0 : _a.scrollToFirstRowOnChange)) {
|
|
691
|
+
this.adapter.tableScrollToTop();
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
render() {
|
|
695
|
+
const tableInstance = this.buildTableState();
|
|
696
|
+
return html`
|
|
697
|
+
<div
|
|
698
|
+
part="table-wrapper"
|
|
699
|
+
${ref(this.tableWrapRef)}
|
|
700
|
+
class=${classMap({
|
|
701
|
+
"table-wrapper": true,
|
|
702
|
+
[`table-direction-${this.direction}`]: true
|
|
703
|
+
})}
|
|
704
|
+
>
|
|
705
|
+
${this.renderPagination("top")}
|
|
706
|
+
<sl-table-spinner-container .loading=${this.loading} exportparts="table-container">
|
|
707
|
+
<div
|
|
708
|
+
class=${classMap({
|
|
709
|
+
"table-bordered": Boolean(this.bordered),
|
|
710
|
+
"table-nodata": this.dataSource.length === 0
|
|
711
|
+
})}
|
|
712
|
+
>
|
|
713
|
+
<div
|
|
714
|
+
part="table-container"
|
|
715
|
+
class=${classMap({
|
|
716
|
+
"table-container": !this.enableColumnResizing,
|
|
717
|
+
"table-columnresizing": this.enableColumnResizing || false
|
|
718
|
+
})}
|
|
719
|
+
>
|
|
720
|
+
${this.renderMainTable(tableInstance)}
|
|
721
|
+
</div>
|
|
722
|
+
</div>
|
|
723
|
+
</sl-table-spinner-container>
|
|
724
|
+
${this.renderPagination("bottom")}
|
|
725
|
+
</div>
|
|
726
|
+
`;
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
SlTable.dependencies = {
|
|
730
|
+
"sl-icon": SlIcon,
|
|
731
|
+
"sl-checkbox": SlCheckbox,
|
|
732
|
+
"sl-radio": SlRadio,
|
|
733
|
+
"sl-pagination": SlPagination
|
|
734
|
+
};
|
|
735
|
+
SlTable.styles = [table_style_default];
|
|
736
|
+
__decorateClass([
|
|
737
|
+
property({ type: Array })
|
|
738
|
+
], SlTable.prototype, "rowKey", 2);
|
|
739
|
+
__decorateClass([
|
|
740
|
+
property({ type: Array })
|
|
741
|
+
], SlTable.prototype, "columns", 2);
|
|
742
|
+
__decorateClass([
|
|
743
|
+
property({ type: Array })
|
|
744
|
+
], SlTable.prototype, "dataSource", 2);
|
|
745
|
+
__decorateClass([
|
|
746
|
+
property({ type: Boolean })
|
|
747
|
+
], SlTable.prototype, "loading", 2);
|
|
748
|
+
__decorateClass([
|
|
749
|
+
property({ type: Boolean })
|
|
750
|
+
], SlTable.prototype, "bordered", 2);
|
|
751
|
+
__decorateClass([
|
|
752
|
+
property({ type: String })
|
|
753
|
+
], SlTable.prototype, "direction", 2);
|
|
754
|
+
__decorateClass([
|
|
755
|
+
property({ type: Boolean })
|
|
756
|
+
], SlTable.prototype, "showHeader", 2);
|
|
757
|
+
__decorateClass([
|
|
758
|
+
property({ type: Object })
|
|
759
|
+
], SlTable.prototype, "rowSelection", 2);
|
|
760
|
+
__decorateClass([
|
|
761
|
+
property({ type: Object })
|
|
762
|
+
], SlTable.prototype, "tableScroll", 2);
|
|
763
|
+
__decorateClass([
|
|
764
|
+
property({ type: Object })
|
|
765
|
+
], SlTable.prototype, "pagination", 2);
|
|
766
|
+
__decorateClass([
|
|
767
|
+
property({ type: Object })
|
|
768
|
+
], SlTable.prototype, "expandProps", 2);
|
|
769
|
+
__decorateClass([
|
|
770
|
+
property({ type: Object })
|
|
771
|
+
], SlTable.prototype, "tree", 2);
|
|
772
|
+
__decorateClass([
|
|
773
|
+
property({ type: Boolean })
|
|
774
|
+
], SlTable.prototype, "enableColumnResizing", 2);
|
|
775
|
+
__decorateClass([
|
|
776
|
+
property({ type: Function })
|
|
777
|
+
], SlTable.prototype, "slHeaderRow", 2);
|
|
778
|
+
__decorateClass([
|
|
779
|
+
property({ type: Function })
|
|
780
|
+
], SlTable.prototype, "slRow", 2);
|
|
781
|
+
__decorateClass([
|
|
782
|
+
property({ type: Function })
|
|
783
|
+
], SlTable.prototype, "slColumnResize", 2);
|
|
784
|
+
__decorateClass([
|
|
785
|
+
property({ type: Object || Boolean })
|
|
786
|
+
], SlTable.prototype, "virtualized", 2);
|
|
787
|
+
__decorateClass([
|
|
788
|
+
property({ type: Boolean })
|
|
789
|
+
], SlTable.prototype, "rowDrag", 2);
|
|
790
|
+
__decorateClass([
|
|
791
|
+
property({ type: Function })
|
|
792
|
+
], SlTable.prototype, "slRowReorder", 2);
|
|
793
|
+
__decorateClass([
|
|
794
|
+
state()
|
|
795
|
+
], SlTable.prototype, "rowSelectedMap", 2);
|
|
796
|
+
__decorateClass([
|
|
797
|
+
state()
|
|
798
|
+
], SlTable.prototype, "expandedMap", 2);
|
|
799
|
+
__decorateClass([
|
|
800
|
+
state()
|
|
801
|
+
], SlTable.prototype, "sorting", 2);
|
|
802
|
+
__decorateClass([
|
|
803
|
+
state()
|
|
804
|
+
], SlTable.prototype, "columnFilters", 2);
|
|
805
|
+
__decorateClass([
|
|
806
|
+
state()
|
|
807
|
+
], SlTable.prototype, "tableWidth", 2);
|
|
808
|
+
__decorateClass([
|
|
809
|
+
state()
|
|
810
|
+
], SlTable.prototype, "columnSizing", 2);
|
|
811
|
+
__decorateClass([
|
|
812
|
+
state()
|
|
813
|
+
], SlTable.prototype, "pageIndex", 2);
|
|
814
|
+
__decorateClass([
|
|
815
|
+
state()
|
|
816
|
+
], SlTable.prototype, "columnPinning", 2);
|
|
817
|
+
|
|
818
|
+
export {
|
|
819
|
+
SlTable
|
|
820
|
+
};
|