@kdcloudjs/shoelace 1.0.6 → 1.0.7
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.2F6BH5VZ.js +48 -0
- package/cdn/chunks/chunk.2FVW6KTS.js +24 -0
- package/cdn/chunks/chunk.2GQXLKH2.js +11 -0
- package/cdn/chunks/chunk.2M63QR5H.js +137 -0
- package/cdn/chunks/chunk.2MTL3FGH.js +75 -0
- package/cdn/chunks/chunk.2YDZBONK.js +36 -0
- package/cdn/chunks/chunk.33GIVBCX.js +186 -0
- package/cdn/chunks/chunk.3AZELGZB.js +24 -0
- package/cdn/chunks/chunk.3BBWICYY.js +11 -0
- package/cdn/chunks/chunk.3F6V74NZ.js +302 -0
- package/cdn/chunks/chunk.3TGDZ5DJ.js +23 -0
- package/cdn/chunks/chunk.4DLZFMRP.js +28 -0
- package/cdn/chunks/chunk.4E6VVZLR.js +113 -0
- package/cdn/chunks/chunk.4EZCWDFF.js +282 -0
- package/cdn/chunks/chunk.4HEFI3TR.js +21 -0
- package/cdn/chunks/chunk.4ITOXMOC.js +50 -0
- package/cdn/chunks/chunk.4PCTXN2L.js +11 -0
- package/cdn/chunks/chunk.4UU2AHNM.js +11 -0
- package/cdn/chunks/chunk.4WYLYP2R.js +2654 -0
- package/cdn/chunks/chunk.535UQ7PU.js +11 -0
- package/cdn/chunks/chunk.55VMUAMC.js +219 -0
- package/cdn/chunks/chunk.5DULFYC5.js +11 -0
- package/cdn/chunks/chunk.5EVZQYMV.js +29 -0
- package/cdn/chunks/chunk.5LQPJK4T.js +25 -0
- package/cdn/chunks/chunk.5QBHYHI5.js +11 -0
- package/cdn/chunks/chunk.5TFURW2T.js +11 -0
- package/cdn/chunks/chunk.6BPAJGHW.js +37 -0
- package/cdn/chunks/chunk.6EIVSMAA.js +29 -0
- package/cdn/chunks/chunk.6F2FLYOW.js +21 -0
- package/cdn/chunks/chunk.6F6QUINY.js +21 -0
- package/cdn/chunks/chunk.6UM6FC4K.js +11 -0
- package/cdn/chunks/chunk.6US6F6S3.js +120 -0
- package/cdn/chunks/chunk.6ZIXSOPR.js +21 -0
- package/cdn/chunks/chunk.6ZKNFZGQ.js +63 -0
- package/cdn/chunks/chunk.74WFQGMH.js +7179 -0
- package/cdn/chunks/chunk.7LIKXAS7.js +11 -0
- package/cdn/chunks/chunk.7QQEWD4L.js +21 -0
- package/cdn/chunks/chunk.7R6STMVQ.js +24 -0
- package/cdn/chunks/chunk.A6JN67Y5.js +574 -0
- package/cdn/chunks/chunk.AGYFIM4Q.js +29 -0
- package/cdn/chunks/chunk.AJ2OYLPL.js +87 -0
- package/cdn/chunks/chunk.AQBMDC3E.js +11 -0
- package/cdn/chunks/chunk.AU2R525E.js +26 -0
- package/cdn/chunks/chunk.AVRLZDY5.js +21 -0
- package/cdn/chunks/chunk.B4DQB52P.js +24 -0
- package/cdn/chunks/chunk.B7G2OHZ4.js +28 -0
- package/cdn/chunks/chunk.BY6KFH73.js +11 -0
- package/cdn/chunks/chunk.C2YJADJR.js +27 -0
- package/cdn/chunks/chunk.C6IEKD4A.js +216 -0
- package/cdn/chunks/chunk.CBMCIPXG.js +97 -0
- package/cdn/chunks/chunk.CL5YXDWF.js +28 -0
- package/cdn/chunks/chunk.CMFW5LOK.js +367 -0
- package/cdn/chunks/chunk.CPLLGC7O.js +137 -0
- package/cdn/chunks/chunk.CREPJYOR.js +21 -0
- package/cdn/chunks/chunk.CV4KXOED.js +197 -0
- package/cdn/chunks/chunk.D2BCJUHY.js +11 -0
- package/cdn/chunks/chunk.D6F22637.js +291 -0
- package/cdn/chunks/chunk.DJGGJMPC.js +21 -0
- package/cdn/chunks/chunk.DLXIAJ2V.js +11 -0
- package/cdn/chunks/chunk.DMYOWHYC.js +11 -0
- package/cdn/chunks/chunk.DSLJYWB4.js +21 -0
- package/cdn/chunks/chunk.E25NP5SO.js +11 -0
- package/cdn/chunks/chunk.EAUOUIX4.js +67 -0
- package/cdn/chunks/chunk.ECAQDARE.js +24 -0
- package/cdn/chunks/chunk.ED2UP6WZ.js +11 -0
- package/cdn/chunks/chunk.EDBLN2VQ.js +25 -0
- package/cdn/chunks/chunk.EGHXUYMK.js +510 -0
- package/cdn/chunks/chunk.EMNG5BUV.js +342 -0
- package/cdn/chunks/chunk.ERKC472U.js +24 -0
- package/cdn/chunks/chunk.EZNWAXFF.js +11 -0
- package/cdn/chunks/chunk.FCH7L4DJ.js +21 -0
- package/cdn/chunks/chunk.FG7FIJ4A.js +255 -0
- package/cdn/chunks/chunk.FHQ6SOQJ.js +103 -0
- package/cdn/chunks/chunk.FKNGB7NW.js +27 -0
- package/cdn/chunks/chunk.FOUHO4EI.js +233 -0
- package/cdn/chunks/chunk.FR2NJBAW.js +29 -0
- package/cdn/chunks/chunk.G7UJGWHN.js +21 -0
- package/cdn/chunks/chunk.GDDL2ZQP.js +379 -0
- package/cdn/chunks/chunk.GI23BFSO.js +11 -0
- package/cdn/chunks/chunk.GJYIQ2J2.js +11 -0
- package/cdn/chunks/chunk.GL362K25.js +11 -0
- package/cdn/chunks/chunk.GPQH7V6M.js +26 -0
- package/cdn/chunks/chunk.GQX7LPK4.js +5845 -0
- package/cdn/chunks/chunk.GRUXSLFM.js +27 -0
- package/cdn/chunks/chunk.GRX55RH2.js +177 -0
- package/cdn/chunks/chunk.H2UW64J2.js +11 -0
- package/cdn/chunks/chunk.HDWRDDWI.js +73 -0
- package/cdn/chunks/chunk.HGQHIEUA.js +11 -0
- package/cdn/chunks/chunk.HHBZDFH4.js +236 -0
- package/cdn/chunks/chunk.HKBYSRKH.js +724 -0
- package/cdn/chunks/chunk.HL7H3M6B.js +24 -0
- package/cdn/chunks/chunk.HLG4GWMI.js +21 -0
- package/cdn/chunks/chunk.HMNFR2UP.js +42 -0
- package/cdn/chunks/chunk.HOOU7UNX.js +127 -0
- package/cdn/chunks/chunk.HZLF6TXJ.js +11 -0
- package/cdn/chunks/chunk.I2VIRKGU.js +257 -0
- package/cdn/chunks/chunk.I3CHFQIU.js +11 -0
- package/cdn/chunks/chunk.I56KGWR2.js +586 -0
- package/cdn/chunks/chunk.I7F4TU4S.js +11 -0
- package/cdn/chunks/chunk.ICXEJ5NW.js +142 -0
- package/cdn/chunks/chunk.ICYZ3ZRB.js +28 -0
- package/cdn/chunks/chunk.IIJPIX4C.js +1990 -0
- package/cdn/chunks/chunk.IIKXCPWN.js +11 -0
- package/cdn/chunks/chunk.IMYUHA7A.js +95 -0
- package/cdn/chunks/chunk.IVT5REKM.js +11 -0
- package/cdn/chunks/chunk.IX2EEYGP.js +24 -0
- package/cdn/chunks/chunk.JGAD2NAP.js +11 -0
- package/cdn/chunks/chunk.JM7BKSZG.js +11 -0
- package/cdn/chunks/chunk.JPJQNOE3.js +11 -0
- package/cdn/chunks/chunk.JT56MIJ4.js +279 -0
- package/cdn/chunks/chunk.K2F3BCM7.js +391 -0
- package/cdn/chunks/chunk.K35KM3AY.js +822 -0
- package/cdn/chunks/chunk.KA5JBMLK.js +130 -0
- package/cdn/chunks/chunk.KF4JUKBH.js +11 -0
- package/cdn/chunks/chunk.KGZ7SQSK.js +26 -0
- package/cdn/chunks/chunk.KKFPVTXK.js +122 -0
- package/cdn/chunks/chunk.KOQK2UQV.js +123 -0
- package/cdn/chunks/chunk.KRJ56QFY.js +11 -0
- package/cdn/chunks/chunk.KZ22B4H2.js +93 -0
- package/cdn/chunks/chunk.L23JWZXF.js +336 -0
- package/cdn/chunks/chunk.LAR5NV4G.js +27 -0
- package/cdn/chunks/chunk.LC3BU3MO.js +299 -0
- package/cdn/chunks/chunk.LH37CC6N.js +82 -0
- package/cdn/chunks/chunk.LODLV2NS.js +11 -0
- package/cdn/chunks/chunk.MARNMIR3.js +11 -0
- package/cdn/chunks/chunk.MR4WVQXP.js +135 -0
- package/cdn/chunks/chunk.MWWXGSIA.js +502 -0
- package/cdn/chunks/chunk.N2BWLT5M.js +79 -0
- package/cdn/chunks/chunk.N4TFCEDA.js +11 -0
- package/cdn/chunks/chunk.N6IGVEXW.js +54 -0
- package/cdn/chunks/chunk.NCE7XJQI.js +13 -0
- package/cdn/chunks/chunk.NJFCHXN5.js +11 -0
- package/cdn/chunks/chunk.NYJEK2IL.js +24 -0
- package/cdn/chunks/chunk.O4QAGFOM.js +25 -0
- package/cdn/chunks/chunk.O7A3KDKU.js +11 -0
- package/cdn/chunks/chunk.O7VOOY54.js +77 -0
- package/cdn/chunks/chunk.OB65AD3O.js +11 -0
- package/cdn/chunks/chunk.OE7W3DLA.js +28 -0
- package/cdn/chunks/chunk.OIJXPVJT.js +21 -0
- package/cdn/chunks/chunk.OJNHFZFI.js +11 -0
- package/cdn/chunks/chunk.OYPNUBXO.js +21 -0
- package/cdn/chunks/chunk.PCCSA6OV.js +11 -0
- package/cdn/chunks/chunk.PDSZA3NP.js +21 -0
- package/cdn/chunks/chunk.PEHKG2LH.js +11 -0
- package/cdn/chunks/chunk.PGAKPN6W.js +346 -0
- package/cdn/chunks/chunk.PJ4QDGB7.js +11 -0
- package/cdn/chunks/chunk.PJG46NM4.js +24 -0
- package/cdn/chunks/chunk.PKX6PMAZ.js +313 -0
- package/cdn/chunks/chunk.PPJJBFF4.js +11 -0
- package/cdn/chunks/chunk.PPMK7HQH.js +21 -0
- package/cdn/chunks/chunk.Q4LMKXFG.js +153 -0
- package/cdn/chunks/chunk.QA2FJSHX.js +266 -0
- package/cdn/chunks/chunk.QVGQMXSJ.js +11 -0
- package/cdn/chunks/chunk.QXNCQNDR.js +49 -0
- package/cdn/chunks/chunk.QYQHEP6I.js +292 -0
- package/cdn/chunks/chunk.RAJGP56K.js +11 -0
- package/cdn/chunks/chunk.RBQAAD2J.js +118 -0
- package/cdn/chunks/chunk.RBSOA6OJ.js +271 -0
- package/cdn/chunks/chunk.RHPZC6GF.js +27 -0
- package/cdn/chunks/chunk.RI75IJR5.js +11 -0
- package/cdn/chunks/chunk.RIKP3Z5U.js +25 -0
- package/cdn/chunks/chunk.RK2BVAV5.js +158 -0
- package/cdn/chunks/chunk.RMEE3P3T.js +11 -0
- package/cdn/chunks/chunk.RUCVRRD2.js +21 -0
- package/cdn/chunks/chunk.S7NFFKPD.js +11 -0
- package/cdn/chunks/chunk.SHVWPOHD.js +25 -0
- package/cdn/chunks/chunk.SJNTLIDF.js +21 -0
- package/cdn/chunks/chunk.SMQMGR25.js +25 -0
- package/cdn/chunks/chunk.SPEZ4SVZ.js +11 -0
- package/cdn/chunks/chunk.SQQ7ETBT.js +21 -0
- package/cdn/chunks/chunk.SRYTXUFA.js +24 -0
- package/cdn/chunks/chunk.TPCBDU3P.js +11 -0
- package/cdn/chunks/chunk.TPPDV5GY.js +21 -0
- package/cdn/chunks/chunk.TTE3RW6X.js +11 -0
- package/cdn/chunks/chunk.TV4BBYZZ.js +21 -0
- package/cdn/chunks/chunk.U3HJITZ6.js +1925 -0
- package/cdn/chunks/chunk.U4ET44SL.js +402 -0
- package/cdn/chunks/chunk.UBEFQ5SQ.js +55 -0
- package/cdn/chunks/chunk.UDV3OXUL.js +25 -0
- package/cdn/chunks/chunk.UKEYLVHN.js +21 -0
- package/cdn/chunks/chunk.UKS2GT4S.js +11 -0
- package/cdn/chunks/chunk.UW2F6UPY.js +334 -0
- package/cdn/chunks/chunk.V2IAOEIJ.js +21 -0
- package/cdn/chunks/chunk.V6QY3NB5.js +113 -0
- package/cdn/chunks/chunk.V6SSDIDU.js +11 -0
- package/cdn/chunks/chunk.VGEIUGHU.js +24 -0
- package/cdn/chunks/chunk.VKDJTD6U.js +11 -0
- package/cdn/chunks/chunk.VQ6A4KVQ.js +24 -0
- package/cdn/chunks/chunk.VQ7Q6EDW.js +21 -0
- package/cdn/chunks/chunk.VQZN3VF4.js +77 -0
- package/cdn/chunks/chunk.VYLWXLHM.js +11 -0
- package/cdn/chunks/chunk.W3R2LWJ2.js +49 -0
- package/cdn/chunks/chunk.W5TDEUTT.js +25 -0
- package/cdn/chunks/chunk.WB7R5MZO.js +11 -0
- package/cdn/chunks/chunk.WDV5PM2Q.js +25 -0
- package/cdn/chunks/chunk.WFOA4JCE.js +11 -0
- package/cdn/chunks/chunk.WKXHY77X.js +1058 -0
- package/cdn/chunks/chunk.WRQAWFOS.js +11 -0
- package/cdn/chunks/chunk.WTYJ6D3G.js +314 -0
- package/cdn/chunks/chunk.WUYRDSRQ.js +24 -0
- package/cdn/chunks/chunk.X4GBQOQN.js +11 -0
- package/cdn/chunks/chunk.XOO4HRZU.js +114 -0
- package/cdn/chunks/chunk.XPQFTFKI.js +11 -0
- package/cdn/chunks/chunk.YBUA67DG.js +24 -0
- package/cdn/chunks/chunk.YCIA2527.js +11 -0
- package/cdn/chunks/chunk.YDZ5OX4I.js +27 -0
- package/cdn/chunks/chunk.YKDBXRCU.js +455 -0
- package/cdn/chunks/chunk.YMCRK2WA.js +21 -0
- package/cdn/chunks/chunk.ZA77RJ5F.js +33 -0
- package/cdn/chunks/chunk.ZCZ26FJE.js +11 -0
- package/cdn/chunks/chunk.ZGIEOFJ3.js +25 -0
- package/cdn/chunks/chunk.ZGMXI5IW.js +27 -0
- package/cdn/chunks/chunk.ZJU3XDMM.js +11 -0
- package/cdn/chunks/chunk.ZN7RVCVV.js +28 -0
- package/cdn/components/alert/alert.component.js +8 -8
- package/cdn/components/alert/alert.js +9 -9
- package/cdn/components/animated-image/animated-image.component.js +4 -4
- package/cdn/components/animated-image/animated-image.js +5 -5
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +4 -4
- package/cdn/components/avatar/avatar.js +5 -5
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.js +5 -5
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +10 -10
- package/cdn/components/calendar/calendar.js +10 -10
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +7 -7
- package/cdn/components/carousel/carousel.js +8 -8
- 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 +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/color-picker/color-picker.component.js +17 -17
- package/cdn/components/color-picker/color-picker.js +18 -18
- package/cdn/components/copy-button/copy-button.component.js +8 -8
- package/cdn/components/copy-button/copy-button.js +9 -9
- package/cdn/components/date-panel/date-panel.component.js +14 -14
- package/cdn/components/date-panel/date-panel.js +14 -14
- package/cdn/components/datepicker/datepicker.component.js +18 -18
- package/cdn/components/datepicker/datepicker.js +18 -18
- package/cdn/components/details/details.component.js +6 -6
- package/cdn/components/details/details.js +7 -7
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +9 -9
- package/cdn/components/drawer/drawer.js +10 -10
- package/cdn/components/dropdown/dropdown.component.js +6 -6
- package/cdn/components/dropdown/dropdown.js +7 -7
- 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 +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/icon-button/icon-button.component.js +4 -4
- package/cdn/components/icon-button/icon-button.js +5 -5
- package/cdn/components/image-comparer/image-comparer.component.js +6 -6
- package/cdn/components/image-comparer/image-comparer.js +7 -7
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +7 -7
- package/cdn/components/input/input.js +8 -8
- 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 +9 -9
- package/cdn/components/menu-item/menu-item.js +10 -10
- 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 +2 -2
- package/cdn/components/nav/nav.js +3 -3
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +2 -2
- package/cdn/components/nav-item/nav-item.js +3 -3
- package/cdn/components/nav-submenu/nav-submenu.component.js +7 -7
- package/cdn/components/nav-submenu/nav-submenu.js +8 -8
- package/cdn/components/option/option.component.js +6 -6
- package/cdn/components/option/option.js +7 -7
- package/cdn/components/pagination/custom-select.js +23 -7
- package/cdn/components/pagination/pagination.component.js +20 -11
- package/cdn/components/pagination/pagination.js +20 -11
- package/cdn/components/pagination/pagination.styles.js +1 -1
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- package/cdn/components/progress-bar/progress-bar.component.js +5 -5
- package/cdn/components/progress-bar/progress-bar.js +6 -6
- 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 +4 -4
- package/cdn/components/radio/radio.js +5 -5
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +5 -5
- package/cdn/components/range/range.js +6 -6
- package/cdn/components/rating/rating.component.js +6 -6
- package/cdn/components/rating/rating.js +7 -7
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/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 +3 -3
- package/cdn/components/split-panel/split-panel.js +4 -4
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +6 -6
- package/cdn/components/table/col-group.js +3 -3
- package/cdn/components/table/const.js +3 -3
- package/cdn/components/table/features/col-pining.js +3 -3
- package/cdn/components/table/features/index.js +3 -3
- package/cdn/components/table/features/row-drag.js +4 -19
- package/cdn/components/table/head-table.js +29 -29
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +41 -35
- package/cdn/components/table/table.js +42 -36
- package/cdn/components/table/utils.js +2 -2
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- 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 +9 -9
- package/cdn/components/time-panel/time-panel.js +9 -9
- package/cdn/components/timepicker/timepicker.component.js +18 -18
- package/cdn/components/timepicker/timepicker.js +18 -18
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +12 -12
- package/cdn/components/tree/tree.js +13 -13
- package/cdn/components/tree-item/tree-item.component.js +10 -10
- package/cdn/components/tree-item/tree-item.js +11 -11
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +1977 -1943
- package/cdn/react/alert/index.js +9 -9
- package/cdn/react/animated-image/index.js +5 -5
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +5 -5
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +5 -5
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +8 -8
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/color-picker/index.js +18 -18
- package/cdn/react/copy-button/index.js +9 -9
- package/cdn/react/date-panel/index.js +15 -15
- package/cdn/react/datepicker/index.js +19 -19
- package/cdn/react/details/index.js +7 -7
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +10 -10
- package/cdn/react/dropdown/index.js +7 -7
- 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 +4 -4
- package/cdn/react/icon-button/index.js +5 -5
- package/cdn/react/image-comparer/index.js +7 -7
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.js +211 -210
- package/cdn/react/input/index.js +8 -8
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +10 -10
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +3 -3
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +3 -3
- package/cdn/react/nav-submenu/index.js +8 -8
- package/cdn/react/option/index.js +7 -7
- package/cdn/react/pagination/index.js +21 -12
- package/cdn/react/popup/index.js +5 -5
- package/cdn/react/progress-bar/index.js +6 -6
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +5 -5
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +6 -6
- package/cdn/react/rating/index.js +7 -7
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +4 -4
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +42 -36
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/timepicker/index.js +19 -19
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +13 -13
- package/cdn/react/tree-item/index.js +11 -11
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +205 -204
- package/cdn/themes/light.css +24 -1
- package/cdn/themes/light.styles.js +26 -1
- package/cdn/themes/nova.css +617 -0
- package/cdn/themes/nova.styles.d.ts +2 -0
- package/cdn/themes/nova.styles.js +634 -0
- package/cdn/types/vue/index.d.ts +348 -344
- package/cdn/vscode.html-custom-data.json +304 -294
- package/cdn/web-types.json +261 -239
- package/dist/chunks/chunk.27CAO2WY.js +28 -0
- package/dist/chunks/chunk.2ANYYJDB.js +22 -0
- package/dist/chunks/chunk.2BTEDRNT.js +11 -0
- package/dist/chunks/chunk.2I3UOM2Y.js +25 -0
- package/dist/chunks/chunk.2R5AP4PT.js +371 -0
- package/dist/chunks/chunk.2TO4Y66B.js +11 -0
- package/dist/chunks/chunk.32RC4SMF.js +27 -0
- package/dist/chunks/chunk.3EVQBFEF.js +417 -0
- package/dist/chunks/chunk.3GEIQ7YN.js +11 -0
- package/dist/chunks/chunk.3N5TNFZE.js +113 -0
- package/dist/chunks/chunk.3SQA2NPF.js +11 -0
- package/dist/chunks/chunk.3UQAMROW.js +1056 -0
- package/dist/chunks/chunk.3VZ7XFPS.js +27 -0
- package/dist/chunks/chunk.45F4OUGN.js +96 -0
- package/dist/chunks/chunk.46RNQAVZ.js +24 -0
- package/dist/chunks/chunk.4C5EWVQA.js +147 -0
- package/dist/chunks/chunk.4CT6MODQ.js +11 -0
- package/dist/chunks/chunk.4FG5MP7E.js +181 -0
- package/dist/chunks/chunk.4UTPMO5J.js +11 -0
- package/dist/chunks/chunk.566V5ODQ.js +24 -0
- package/dist/chunks/chunk.5AVBROC7.js +25 -0
- package/dist/chunks/chunk.5SWE2TKS.js +100 -0
- package/dist/chunks/chunk.5TKWYUQS.js +125 -0
- package/dist/chunks/chunk.5TQ5K66H.js +11 -0
- package/dist/chunks/chunk.5VEVKL5Z.js +93 -0
- package/dist/chunks/chunk.5VGVDAC3.js +80 -0
- package/dist/chunks/chunk.63AR3LCX.js +11 -0
- package/dist/chunks/chunk.63HBHPPT.js +814 -0
- package/dist/chunks/chunk.63VCQTIT.js +21 -0
- package/dist/chunks/chunk.67P7OKOD.js +11 -0
- package/dist/chunks/chunk.6B33ESGD.js +21 -0
- package/dist/chunks/chunk.6BPAJGHW.js +37 -0
- package/dist/chunks/chunk.6C4YL2CP.js +949 -0
- package/dist/chunks/chunk.6ETBKQ67.js +73 -0
- package/dist/chunks/chunk.6RHSUPZ4.js +135 -0
- package/dist/chunks/chunk.6SWYT4LZ.js +550 -0
- package/dist/chunks/chunk.6U7F7URL.js +33 -0
- package/dist/chunks/chunk.74UZI6MB.js +11 -0
- package/dist/chunks/chunk.7A5RDYHB.js +21 -0
- package/dist/chunks/chunk.7A6RUEOP.js +63 -0
- package/dist/chunks/chunk.7JOVR2EA.js +25 -0
- package/dist/chunks/chunk.7MRKDH2Y.js +29 -0
- package/dist/chunks/chunk.7PZSXHJK.js +231 -0
- package/dist/chunks/chunk.7UI4EO3S.js +116 -0
- package/dist/chunks/chunk.7ZIIY6WW.js +24 -0
- package/dist/chunks/chunk.A5QKINZS.js +111 -0
- package/dist/chunks/chunk.A5R6GFQO.js +568 -0
- package/dist/chunks/chunk.AFRCZNXR.js +286 -0
- package/dist/chunks/chunk.AGIKKQWV.js +24 -0
- package/dist/chunks/chunk.AKAMCQ35.js +132 -0
- package/dist/chunks/chunk.AX7A3TMU.js +21 -0
- package/dist/chunks/chunk.AXO7GIM3.js +337 -0
- package/dist/chunks/chunk.B3BZRK7H.js +11 -0
- package/dist/chunks/chunk.B4HPN34J.js +28 -0
- package/dist/chunks/chunk.B7BCUVF5.js +91 -0
- package/dist/chunks/chunk.BDOFPKDT.js +21 -0
- package/dist/chunks/chunk.BSY4RDX2.js +29 -0
- package/dist/chunks/chunk.BT3IVBNL.js +11 -0
- package/dist/chunks/chunk.BYYLDQAW.js +27 -0
- package/dist/chunks/chunk.C5L4ZKSW.js +21 -0
- package/dist/chunks/chunk.C6MVGHHV.js +21 -0
- package/dist/chunks/chunk.C6ZITJ7J.js +11 -0
- package/dist/chunks/chunk.CBS5R35Z.js +11 -0
- package/dist/chunks/chunk.CKWTFK3H.js +11 -0
- package/dist/chunks/chunk.CZ5CZSHJ.js +21 -0
- package/dist/chunks/chunk.D2ALMOVG.js +11 -0
- package/dist/chunks/chunk.D2B5TMBH.js +24 -0
- package/dist/chunks/chunk.D4DHWAPW.js +21 -0
- package/dist/chunks/chunk.DACAH5V4.js +67 -0
- package/dist/chunks/chunk.DAGWKTJ3.js +21 -0
- package/dist/chunks/chunk.DFHK6AXP.js +11 -0
- package/dist/chunks/chunk.DLVEHT6T.js +35 -0
- package/dist/chunks/chunk.DSRLY2FD.js +21 -0
- package/dist/chunks/chunk.DSTAA2LN.js +21 -0
- package/dist/chunks/chunk.DVJWPRKF.js +263 -0
- package/dist/chunks/chunk.DWZZOQAO.js +22 -0
- package/dist/chunks/chunk.E7FUKHCA.js +280 -0
- package/dist/chunks/chunk.EFANNIAX.js +501 -0
- package/dist/chunks/chunk.ENBWH4YM.js +328 -0
- package/dist/chunks/chunk.ESXW3HGE.js +119 -0
- package/dist/chunks/chunk.ETP3Z47A.js +21 -0
- package/dist/chunks/chunk.EYP7N2GI.js +21 -0
- package/dist/chunks/chunk.F2DTBEM6.js +25 -0
- package/dist/chunks/chunk.F37QAM3X.js +34 -0
- package/dist/chunks/chunk.F4FIAUYQ.js +11 -0
- package/dist/chunks/chunk.F526NNJ7.js +100 -0
- package/dist/chunks/chunk.F55EWCUL.js +52 -0
- package/dist/chunks/chunk.FAIR7ZLB.js +11 -0
- package/dist/chunks/chunk.FCK4DHC6.js +50 -0
- package/dist/chunks/chunk.FDXKOEYC.js +444 -0
- package/dist/chunks/chunk.FWTYDXC5.js +11 -0
- package/dist/chunks/chunk.FXPO4GRV.js +11 -0
- package/dist/chunks/chunk.G2JAPLRH.js +24 -0
- package/dist/chunks/chunk.GASEXX4D.js +11 -0
- package/dist/chunks/chunk.GCJ6K5EI.js +21 -0
- package/dist/chunks/chunk.GEKMBNLB.js +227 -0
- package/dist/chunks/chunk.GYMZFBKQ.js +21 -0
- package/dist/chunks/chunk.HNLTILQL.js +24 -0
- package/dist/chunks/chunk.HPOC4CDW.js +274 -0
- package/dist/chunks/chunk.HRISZKCY.js +11 -0
- package/dist/chunks/chunk.HS4WDML7.js +25 -0
- package/dist/chunks/chunk.HUWQZTJS.js +11 -0
- package/dist/chunks/chunk.I65ZJJUJ.js +11 -0
- package/dist/chunks/chunk.I6Q32ZWP.js +252 -0
- package/dist/chunks/chunk.IBPTWAHN.js +494 -0
- package/dist/chunks/chunk.IDUXZIWD.js +11 -0
- package/dist/chunks/chunk.INPXNEHC.js +11 -0
- package/dist/chunks/chunk.IVBA4STO.js +26 -0
- package/dist/chunks/chunk.J5Z3MMJA.js +11 -0
- package/dist/chunks/chunk.JKMZKEKQ.js +27 -0
- package/dist/chunks/chunk.JL2TZDEG.js +11 -0
- package/dist/chunks/chunk.JLB2MD35.js +21 -0
- package/dist/chunks/chunk.JO4UZZVN.js +29 -0
- package/dist/chunks/chunk.JQV37LH6.js +11 -0
- package/dist/chunks/chunk.JRAVB43A.js +27 -0
- package/dist/chunks/chunk.JTFYAKXQ.js +11 -0
- package/dist/chunks/chunk.JVEC6U7Q.js +21 -0
- package/dist/chunks/chunk.K7RC3PY7.js +214 -0
- package/dist/chunks/chunk.KD3GIHSB.js +11 -0
- package/dist/chunks/chunk.KQBYJ4UO.js +11 -0
- package/dist/chunks/chunk.L2OOPUMP.js +117 -0
- package/dist/chunks/chunk.L66OLHOJ.js +338 -0
- package/dist/chunks/chunk.LJ7XEI5K.js +24 -0
- package/dist/chunks/chunk.LV3SFAIR.js +134 -0
- package/dist/chunks/chunk.LWWASERC.js +247 -0
- package/dist/chunks/chunk.LX4OQWJE.js +85 -0
- package/dist/chunks/chunk.M3O3G7U7.js +46 -0
- package/dist/chunks/chunk.M6YXAFOU.js +21 -0
- package/dist/chunks/chunk.MN6YR3FC.js +174 -0
- package/dist/chunks/chunk.MP5S62BQ.js +24 -0
- package/dist/chunks/chunk.MVX4T6YW.js +11 -0
- package/dist/chunks/chunk.MZ3VGQTC.js +11 -0
- package/dist/chunks/chunk.NCE7XJQI.js +13 -0
- package/dist/chunks/chunk.NIET4WDR.js +21 -0
- package/dist/chunks/chunk.NJO2X5AJ.js +11 -0
- package/dist/chunks/chunk.NKRWRM75.js +11 -0
- package/dist/chunks/chunk.NLNGXVHU.js +11 -0
- package/dist/chunks/chunk.NQIFXCK4.js +11 -0
- package/dist/chunks/chunk.NWCCTEYD.js +21 -0
- package/dist/chunks/chunk.NXBCJFOG.js +119 -0
- package/dist/chunks/chunk.O6TH37K3.js +11 -0
- package/dist/chunks/chunk.O7Z5E3EE.js +21 -0
- package/dist/chunks/chunk.OFVB4KAZ.js +26 -0
- package/dist/chunks/chunk.OGBFUVUQ.js +11 -0
- package/dist/chunks/chunk.OHMIEXBK.js +59 -0
- package/dist/chunks/chunk.OJSCWHEP.js +11 -0
- package/dist/chunks/chunk.OZRMOJDP.js +24 -0
- package/dist/chunks/chunk.PKTQG65O.js +25 -0
- package/dist/chunks/chunk.PNTCG2IC.js +11 -0
- package/dist/chunks/chunk.PPZFBRTA.js +11 -0
- package/dist/chunks/chunk.PVO3A4II.js +11 -0
- package/dist/chunks/chunk.PZTB35EW.js +75 -0
- package/dist/chunks/chunk.QCWUDPZF.js +26 -0
- package/dist/chunks/chunk.QPIANCBU.js +126 -0
- package/dist/chunks/chunk.QQS47AAN.js +25 -0
- package/dist/chunks/chunk.RETGKMAB.js +11 -0
- package/dist/chunks/chunk.RL3SUI4A.js +11 -0
- package/dist/chunks/chunk.RSZTIROJ.js +28 -0
- package/dist/chunks/chunk.RU2OFHHK.js +448 -0
- package/dist/chunks/chunk.SF6FGUCP.js +11 -0
- package/dist/chunks/chunk.SFMM7FSW.js +11 -0
- package/dist/chunks/chunk.SHMJHIA3.js +11 -0
- package/dist/chunks/chunk.SHNX4K27.js +11 -0
- package/dist/chunks/chunk.SKCRDFMA.js +24 -0
- package/dist/chunks/chunk.STEKEZUP.js +293 -0
- package/dist/chunks/chunk.SYIFIRPM.js +24 -0
- package/dist/chunks/chunk.SZVFOJPZ.js +11 -0
- package/dist/chunks/chunk.T272OB6C.js +24 -0
- package/dist/chunks/chunk.TA3UWWM6.js +11 -0
- package/dist/chunks/chunk.TGDPJA5Z.js +315 -0
- package/dist/chunks/chunk.THEKMTXT.js +11 -0
- package/dist/chunks/chunk.TJA2C3UG.js +45 -0
- package/dist/chunks/chunk.TQPRO7MK.js +27 -0
- package/dist/chunks/chunk.TT3XJXDP.js +11 -0
- package/dist/chunks/chunk.TTGNTQ4Q.js +361 -0
- package/dist/chunks/chunk.U4A23QZQ.js +213 -0
- package/dist/chunks/chunk.U5B2XCTR.js +45 -0
- package/dist/chunks/chunk.UBEFQ5SQ.js +55 -0
- package/dist/chunks/chunk.UI7O6SO3.js +25 -0
- package/dist/chunks/chunk.UJ6PDFWZ.js +28 -0
- package/dist/chunks/chunk.UL7KBIXX.js +311 -0
- package/dist/chunks/chunk.UNBYHWGI.js +167 -0
- package/dist/chunks/chunk.UVASQIHI.js +28 -0
- package/dist/chunks/chunk.UVJY6KLK.js +21 -0
- package/dist/chunks/chunk.V2ZTEHDU.js +11 -0
- package/dist/chunks/chunk.V5IKJSIP.js +11 -0
- package/dist/chunks/chunk.V7W3I3NS.js +294 -0
- package/dist/chunks/chunk.VKCGMSAZ.js +90 -0
- package/dist/chunks/chunk.VMLX3RO3.js +74 -0
- package/dist/chunks/chunk.VRNGQRX4.js +384 -0
- package/dist/chunks/chunk.VUQZGD6T.js +192 -0
- package/dist/chunks/chunk.VVPVWY4N.js +75 -0
- package/dist/chunks/chunk.WK2QKP3A.js +42 -0
- package/dist/chunks/chunk.WLLMG6V4.js +25 -0
- package/dist/chunks/chunk.WMLA5253.js +29 -0
- package/dist/chunks/chunk.WNKSKO35.js +25 -0
- package/dist/chunks/chunk.WO6LGHBG.js +11 -0
- package/dist/chunks/chunk.X56YRKLT.js +21 -0
- package/dist/chunks/chunk.XA6LZ3CP.js +21 -0
- package/dist/chunks/chunk.XEFYOQ4T.js +277 -0
- package/dist/chunks/chunk.XEYCIKBS.js +306 -0
- package/dist/chunks/chunk.XFLYLBM7.js +11 -0
- package/dist/chunks/chunk.XGGTHF7X.js +11 -0
- package/dist/chunks/chunk.XND5Q7FK.js +25 -0
- package/dist/chunks/chunk.XRQEVVQK.js +397 -0
- package/dist/chunks/chunk.XXPEI6S4.js +737 -0
- package/dist/chunks/chunk.Y27GLNCV.js +21 -0
- package/dist/chunks/chunk.YD7RQMAR.js +11 -0
- package/dist/chunks/chunk.YUTQSXJK.js +151 -0
- package/dist/chunks/chunk.Z2OWT5NW.js +109 -0
- package/dist/chunks/chunk.Z3PZY7SX.js +11 -0
- package/dist/chunks/chunk.Z4IE5BCD.js +11 -0
- package/dist/chunks/chunk.ZDLGREW3.js +11 -0
- package/dist/chunks/chunk.ZWPCQY7U.js +28 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +4 -4
- package/dist/components/animated-image/animated-image.js +5 -5
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +4 -4
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +8 -8
- package/dist/components/calendar/calendar.js +8 -8
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +15 -15
- package/dist/components/color-picker/color-picker.js +16 -16
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/date-panel/date-panel.component.js +12 -12
- package/dist/components/date-panel/date-panel.js +12 -12
- package/dist/components/datepicker/datepicker.component.js +16 -16
- package/dist/components/datepicker/datepicker.js +16 -16
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon-button/icon-button.component.js +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/image-comparer/image-comparer.component.js +4 -4
- package/dist/components/image-comparer/image-comparer.js +5 -5
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +2 -2
- package/dist/components/nav/nav.js +3 -3
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +5 -5
- package/dist/components/nav-submenu/nav-submenu.js +6 -6
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/custom-select.js +18 -4
- package/dist/components/pagination/pagination.component.js +16 -8
- package/dist/components/pagination/pagination.js +16 -8
- package/dist/components/pagination/pagination.styles.js +1 -1
- 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 +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +4 -4
- package/dist/components/rating/rating.js +5 -5
- 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 +8 -8
- package/dist/components/select/select.js +9 -9
- 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 +5 -5
- package/dist/components/tab/tab.js +6 -6
- package/dist/components/tab-group/tab-group.component.js +6 -6
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +6 -6
- package/dist/components/table/col-group.js +3 -3
- package/dist/components/table/const.js +3 -3
- package/dist/components/table/features/col-pining.js +3 -3
- package/dist/components/table/features/index.js +3 -3
- package/dist/components/table/features/row-drag.js +3 -18
- package/dist/components/table/head-table.js +27 -27
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +39 -33
- package/dist/components/table/table.js +40 -34
- package/dist/components/table/utils.js +2 -2
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- 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 +7 -7
- package/dist/components/time-panel/time-panel.js +7 -7
- 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 +10 -10
- package/dist/components/tree/tree.js +11 -11
- package/dist/components/tree-item/tree-item.component.js +8 -8
- package/dist/components/tree-item/tree-item.js +9 -9
- 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 +1977 -1943
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +5 -5
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +5 -5
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +5 -5
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +16 -16
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/date-panel/index.js +13 -13
- package/dist/react/datepicker/index.js +17 -17
- package/dist/react/details/index.js +5 -5
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +8 -8
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +4 -4
- package/dist/react/icon-button/index.js +5 -5
- package/dist/react/image-comparer/index.js +5 -5
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.js +209 -208
- package/dist/react/input/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +3 -3
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +6 -6
- package/dist/react/option/index.js +5 -5
- package/dist/react/pagination/index.js +17 -9
- 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 +5 -5
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +5 -5
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +5 -5
- 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 +9 -9
- 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 +6 -6
- package/dist/react/tab-group/index.js +7 -7
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +40 -34
- package/dist/react/tag/index.js +6 -6
- 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 +11 -11
- package/dist/react/tree-item/index.js +9 -9
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +203 -202
- package/dist/themes/light.css +24 -1
- package/dist/themes/light.styles.js +26 -1
- package/dist/themes/nova.css +617 -0
- package/dist/themes/nova.styles.d.ts +2 -0
- package/dist/themes/nova.styles.js +634 -0
- package/dist/types/vue/index.d.ts +348 -344
- package/dist/vscode.html-custom-data.json +304 -294
- package/dist/web-types.json +261 -239
- package/package.json +3 -2
- package/cdn/chunks/chunk.24TO35RB.js +0 -25
- package/cdn/chunks/chunk.2D6HKRNC.js +0 -48
- package/cdn/chunks/chunk.2KVZQY7T.js +0 -391
- package/cdn/chunks/chunk.2Q4B6CQ4.js +0 -24
- package/cdn/chunks/chunk.2S2CHGJY.js +0 -11
- package/cdn/chunks/chunk.2SONZBL5.js +0 -120
- package/cdn/chunks/chunk.2TSVFFOB.js +0 -95
- package/cdn/chunks/chunk.2W3MMZOR.js +0 -21
- package/cdn/chunks/chunk.34ABVCNF.js +0 -25
- package/cdn/chunks/chunk.3AUITG5O.js +0 -25
- package/cdn/chunks/chunk.3EXJZJWF.js +0 -724
- package/cdn/chunks/chunk.3VHWMW23.js +0 -26
- package/cdn/chunks/chunk.3Z6OGUR5.js +0 -122
- package/cdn/chunks/chunk.422ZBUKL.js +0 -257
- package/cdn/chunks/chunk.443ZUJRC.js +0 -11
- package/cdn/chunks/chunk.4CKCDS6L.js +0 -24
- package/cdn/chunks/chunk.4GWEBSMH.js +0 -24
- package/cdn/chunks/chunk.4JCUXWRN.js +0 -21
- package/cdn/chunks/chunk.4OPT2TEZ.js +0 -113
- package/cdn/chunks/chunk.4PPZGXGI.js +0 -186
- package/cdn/chunks/chunk.4USKUBRP.js +0 -79
- package/cdn/chunks/chunk.4YY7KVKW.js +0 -29
- package/cdn/chunks/chunk.52JFLXYX.js +0 -24
- package/cdn/chunks/chunk.54YVY4KJ.js +0 -11
- package/cdn/chunks/chunk.5745VHEC.js +0 -314
- package/cdn/chunks/chunk.5BJGFS54.js +0 -11
- package/cdn/chunks/chunk.5BVWACYP.js +0 -33
- package/cdn/chunks/chunk.5E645LB6.js +0 -282
- package/cdn/chunks/chunk.5HOHEHFZ.js +0 -63
- package/cdn/chunks/chunk.5KDCEP57.js +0 -11
- package/cdn/chunks/chunk.5RTOJJWX.js +0 -27
- package/cdn/chunks/chunk.63IBZP4F.js +0 -82
- package/cdn/chunks/chunk.6MPNB4FC.js +0 -502
- package/cdn/chunks/chunk.6ZGB2EWI.js +0 -21
- package/cdn/chunks/chunk.7EWTUOWU.js +0 -11
- package/cdn/chunks/chunk.7O2K6PPX.js +0 -822
- package/cdn/chunks/chunk.7UZ5E243.js +0 -11
- package/cdn/chunks/chunk.7WFPBN26.js +0 -28
- package/cdn/chunks/chunk.7Z2XM3LW.js +0 -11
- package/cdn/chunks/chunk.AB74KHWT.js +0 -11
- package/cdn/chunks/chunk.ADX6C35W.js +0 -11
- package/cdn/chunks/chunk.AIBGFFXX.js +0 -21
- package/cdn/chunks/chunk.AJXD4PXP.js +0 -21
- package/cdn/chunks/chunk.ALFANBYZ.js +0 -299
- package/cdn/chunks/chunk.AQVUXXOF.js +0 -11
- package/cdn/chunks/chunk.AVETLWAO.js +0 -27
- package/cdn/chunks/chunk.B3OIUCE7.js +0 -11
- package/cdn/chunks/chunk.B7CXVWG6.js +0 -11
- package/cdn/chunks/chunk.BBCWJULO.js +0 -574
- package/cdn/chunks/chunk.BD5F6NL7.js +0 -6234
- package/cdn/chunks/chunk.BVEOCRUR.js +0 -11
- package/cdn/chunks/chunk.BZYQZY7H.js +0 -279
- package/cdn/chunks/chunk.C5VDREZK.js +0 -11
- package/cdn/chunks/chunk.CHQ22A3M.js +0 -11
- package/cdn/chunks/chunk.CP2Q2TQZ.js +0 -11
- package/cdn/chunks/chunk.CSRWJEDM.js +0 -92
- package/cdn/chunks/chunk.CVBEJRP7.js +0 -27
- package/cdn/chunks/chunk.D5HRUXPS.js +0 -113
- package/cdn/chunks/chunk.D77IB7LU.js +0 -336
- package/cdn/chunks/chunk.DCXMFYZZ.js +0 -255
- package/cdn/chunks/chunk.DIBEGWQP.js +0 -11
- package/cdn/chunks/chunk.ED3AU335.js +0 -11
- package/cdn/chunks/chunk.EH26GSPV.js +0 -24
- package/cdn/chunks/chunk.EVG7LDKT.js +0 -28
- package/cdn/chunks/chunk.EWATSZK4.js +0 -11
- package/cdn/chunks/chunk.F4QYFX7I.js +0 -11
- package/cdn/chunks/chunk.F6HYVXVP.js +0 -11
- package/cdn/chunks/chunk.FQ77PHQQ.js +0 -302
- package/cdn/chunks/chunk.FY7RQ2EN.js +0 -586
- package/cdn/chunks/chunk.FZR6BKU2.js +0 -55
- package/cdn/chunks/chunk.G2XHGZWA.js +0 -29
- package/cdn/chunks/chunk.G3F5KEH5.js +0 -334
- package/cdn/chunks/chunk.G4ZYPKDT.js +0 -123
- package/cdn/chunks/chunk.GBMOI43A.js +0 -367
- package/cdn/chunks/chunk.GEDUXU6K.js +0 -11
- package/cdn/chunks/chunk.GEHAXJAD.js +0 -28
- package/cdn/chunks/chunk.GFGDEQRG.js +0 -21
- package/cdn/chunks/chunk.GHOMSZ4P.js +0 -11
- package/cdn/chunks/chunk.GKVHM7II.js +0 -24
- package/cdn/chunks/chunk.GUIGYA3U.js +0 -11
- package/cdn/chunks/chunk.GWYUWHMZ.js +0 -21
- package/cdn/chunks/chunk.GXKPSSUK.js +0 -37
- package/cdn/chunks/chunk.GYACMIEW.js +0 -219
- package/cdn/chunks/chunk.H2OVB2FT.js +0 -11
- package/cdn/chunks/chunk.H2UUXXFH.js +0 -11
- package/cdn/chunks/chunk.H5MEYZGW.js +0 -11
- package/cdn/chunks/chunk.H5SKDL5B.js +0 -498
- package/cdn/chunks/chunk.HE4XNMQ6.js +0 -11
- package/cdn/chunks/chunk.HFDPA5IX.js +0 -21
- package/cdn/chunks/chunk.HKADQ6RI.js +0 -114
- package/cdn/chunks/chunk.HS5WM3VC.js +0 -313
- package/cdn/chunks/chunk.HUA3M65Y.js +0 -266
- package/cdn/chunks/chunk.HZLWIT3S.js +0 -21
- package/cdn/chunks/chunk.I4Q2CFPO.js +0 -21
- package/cdn/chunks/chunk.I5BKER64.js +0 -11
- package/cdn/chunks/chunk.I6P4HPHV.js +0 -21
- package/cdn/chunks/chunk.IRYMSFH4.js +0 -11
- package/cdn/chunks/chunk.IWMRZPIK.js +0 -402
- package/cdn/chunks/chunk.J46EOQRW.js +0 -24
- package/cdn/chunks/chunk.JBHFX2JV.js +0 -28
- package/cdn/chunks/chunk.JCFENQBO.js +0 -127
- package/cdn/chunks/chunk.JFIPKODS.js +0 -5845
- package/cdn/chunks/chunk.JHQRGUAN.js +0 -11
- package/cdn/chunks/chunk.JI2EGSO6.js +0 -21
- package/cdn/chunks/chunk.JIONFRHW.js +0 -75
- package/cdn/chunks/chunk.JLAJDFKN.js +0 -11
- package/cdn/chunks/chunk.JRODKDJ2.js +0 -42
- package/cdn/chunks/chunk.JTPXYE6K.js +0 -49
- package/cdn/chunks/chunk.JUDPWMX2.js +0 -11
- package/cdn/chunks/chunk.K26TU4DN.js +0 -1181
- package/cdn/chunks/chunk.K2IH4QB2.js +0 -11
- package/cdn/chunks/chunk.K2V24ZTR.js +0 -24
- package/cdn/chunks/chunk.K4IR47IM.js +0 -24
- package/cdn/chunks/chunk.KISAONYP.js +0 -291
- package/cdn/chunks/chunk.KKBX3MJ2.js +0 -11
- package/cdn/chunks/chunk.KMFBAAVR.js +0 -11
- package/cdn/chunks/chunk.KQW7ZQZW.js +0 -11
- package/cdn/chunks/chunk.KR4OOGD7.js +0 -216
- package/cdn/chunks/chunk.KUKLOXZJ.js +0 -137
- package/cdn/chunks/chunk.KZVNWVF7.js +0 -25
- package/cdn/chunks/chunk.L46U6UZM.js +0 -158
- package/cdn/chunks/chunk.L6HV4VRO.js +0 -26
- package/cdn/chunks/chunk.L7VLW2WQ.js +0 -1925
- package/cdn/chunks/chunk.LDG4FFOX.js +0 -11
- package/cdn/chunks/chunk.LKMEPCL2.js +0 -21
- package/cdn/chunks/chunk.LQIEXKGK.js +0 -11
- package/cdn/chunks/chunk.LRBFK4GR.js +0 -177
- package/cdn/chunks/chunk.M5R6FBCL.js +0 -271
- package/cdn/chunks/chunk.MJSZGK7T.js +0 -11
- package/cdn/chunks/chunk.MR2NWWCA.js +0 -11
- package/cdn/chunks/chunk.MT2KSBAH.js +0 -25
- package/cdn/chunks/chunk.N2RNVZD7.js +0 -25
- package/cdn/chunks/chunk.NFM7ZX77.js +0 -11
- package/cdn/chunks/chunk.NJLGMTW4.js +0 -24
- package/cdn/chunks/chunk.NRAVVBKX.js +0 -21
- package/cdn/chunks/chunk.NZAFZKU6.js +0 -24
- package/cdn/chunks/chunk.NZQX4UVC.js +0 -29
- package/cdn/chunks/chunk.OLVVKQWP.js +0 -24
- package/cdn/chunks/chunk.OOEF6C2K.js +0 -11
- package/cdn/chunks/chunk.ORVMZFZU.js +0 -11
- package/cdn/chunks/chunk.PCYCQW35.js +0 -21
- package/cdn/chunks/chunk.PICT22PW.js +0 -25
- package/cdn/chunks/chunk.PK4DHQKJ.js +0 -50
- package/cdn/chunks/chunk.PTZXUWKK.js +0 -11
- package/cdn/chunks/chunk.PWT5JJFI.js +0 -135
- package/cdn/chunks/chunk.PXQ34LBU.js +0 -292
- package/cdn/chunks/chunk.Q6V7CTYH.js +0 -11
- package/cdn/chunks/chunk.QHD25N4L.js +0 -11
- package/cdn/chunks/chunk.QOH72IUF.js +0 -11
- package/cdn/chunks/chunk.R7N6N4IK.js +0 -27
- package/cdn/chunks/chunk.RBVCLAQN.js +0 -236
- package/cdn/chunks/chunk.RKKDLDAI.js +0 -25
- package/cdn/chunks/chunk.RNKSIYBN.js +0 -11
- package/cdn/chunks/chunk.RNX2ADSU.js +0 -11
- package/cdn/chunks/chunk.RVL7QXYS.js +0 -11
- package/cdn/chunks/chunk.RWJZFB3L.js +0 -73
- package/cdn/chunks/chunk.RYIRLOE3.js +0 -137
- package/cdn/chunks/chunk.RZ53TTPQ.js +0 -342
- package/cdn/chunks/chunk.SFOHQTA4.js +0 -11
- package/cdn/chunks/chunk.SM7UENHY.js +0 -67
- package/cdn/chunks/chunk.SUSX5BLS.js +0 -24
- package/cdn/chunks/chunk.T6RV3AUR.js +0 -11
- package/cdn/chunks/chunk.T7Y6A2WP.js +0 -21
- package/cdn/chunks/chunk.TDCGQ2RC.js +0 -11
- package/cdn/chunks/chunk.TE6EREJW.js +0 -28
- package/cdn/chunks/chunk.TK5KQATK.js +0 -21
- package/cdn/chunks/chunk.TN6KGAGG.js +0 -26
- package/cdn/chunks/chunk.TNJW3BLX.js +0 -21
- package/cdn/chunks/chunk.TNSHBL7H.js +0 -93
- package/cdn/chunks/chunk.TSJTHAKY.js +0 -346
- package/cdn/chunks/chunk.TSR2EZLM.js +0 -54
- package/cdn/chunks/chunk.TT6BF5JB.js +0 -21
- package/cdn/chunks/chunk.UDILPTSV.js +0 -233
- package/cdn/chunks/chunk.UGLD2DPT.js +0 -120
- package/cdn/chunks/chunk.URRPMAF5.js +0 -379
- package/cdn/chunks/chunk.V4QRO32F.js +0 -11
- package/cdn/chunks/chunk.VAZMDYBN.js +0 -97
- package/cdn/chunks/chunk.VBRH7YUA.js +0 -21
- package/cdn/chunks/chunk.VNZTCGEY.js +0 -21
- package/cdn/chunks/chunk.VOA6THJP.js +0 -21
- package/cdn/chunks/chunk.VWK5PYEH.js +0 -455
- package/cdn/chunks/chunk.W2UMAW7J.js +0 -142
- package/cdn/chunks/chunk.W5RGGQCC.js +0 -103
- package/cdn/chunks/chunk.WBZGTQPS.js +0 -24
- package/cdn/chunks/chunk.WCONL5LF.js +0 -27
- package/cdn/chunks/chunk.WIAGL6S2.js +0 -1058
- package/cdn/chunks/chunk.WICJO7HC.js +0 -197
- package/cdn/chunks/chunk.WOWIXZNT.js +0 -11
- package/cdn/chunks/chunk.WQ45OMHJ.js +0 -29
- package/cdn/chunks/chunk.WS2W75PS.js +0 -27
- package/cdn/chunks/chunk.WYXYMNG4.js +0 -24
- package/cdn/chunks/chunk.X4OKVQND.js +0 -21
- package/cdn/chunks/chunk.X545B26D.js +0 -11
- package/cdn/chunks/chunk.XCUCDYSG.js +0 -118
- package/cdn/chunks/chunk.XGT3GC6I.js +0 -21
- package/cdn/chunks/chunk.XKAPNSQY.js +0 -87
- package/cdn/chunks/chunk.XP5XNLHY.js +0 -11
- package/cdn/chunks/chunk.XPH3HYDF.js +0 -77
- package/cdn/chunks/chunk.XQB53FDS.js +0 -153
- package/cdn/chunks/chunk.XZUQNSBB.js +0 -10
- package/cdn/chunks/chunk.Y6DZ4EYG.js +0 -28
- package/cdn/chunks/chunk.Y6JXDK7T.js +0 -27
- package/cdn/chunks/chunk.Y7ELGLU2.js +0 -25
- package/cdn/chunks/chunk.YDGWQWPS.js +0 -11
- package/cdn/chunks/chunk.YQWRPIZU.js +0 -11
- package/cdn/chunks/chunk.YVEHBK7B.js +0 -36
- package/cdn/chunks/chunk.YWSZ7S5T.js +0 -25
- package/cdn/chunks/chunk.Z7FEUFDR.js +0 -21
- package/cdn/chunks/chunk.ZCH2HSQU.js +0 -11
- package/cdn/chunks/chunk.ZEMO6IK7.js +0 -11
- package/cdn/chunks/chunk.ZFLAXOIS.js +0 -49
- package/cdn/chunks/chunk.ZG4UQTC6.js +0 -1990
- package/cdn/chunks/chunk.ZNFQ6T3K.js +0 -11
- package/dist/chunks/chunk.2BINLYOI.js +0 -147
- package/dist/chunks/chunk.2BSQP4QD.js +0 -306
- package/dist/chunks/chunk.2D4HHVSG.js +0 -21
- package/dist/chunks/chunk.2IA6C64M.js +0 -22
- package/dist/chunks/chunk.34H5UHTC.js +0 -134
- package/dist/chunks/chunk.3A4NOYJ2.js +0 -361
- package/dist/chunks/chunk.3DBTA74X.js +0 -231
- package/dist/chunks/chunk.3G3HTSYD.js +0 -119
- package/dist/chunks/chunk.3LQZGZQS.js +0 -11
- package/dist/chunks/chunk.3XT5JKV2.js +0 -25
- package/dist/chunks/chunk.43UZVBFV.js +0 -29
- package/dist/chunks/chunk.4D7ZTCVS.js +0 -11
- package/dist/chunks/chunk.4KKYO676.js +0 -11
- package/dist/chunks/chunk.4RU5AWLF.js +0 -328
- package/dist/chunks/chunk.4VL3QPZN.js +0 -85
- package/dist/chunks/chunk.4YRHUWQJ.js +0 -11
- package/dist/chunks/chunk.54PQUSBV.js +0 -27
- package/dist/chunks/chunk.55KAF4HI.js +0 -11
- package/dist/chunks/chunk.5DVDSPLW.js +0 -11
- package/dist/chunks/chunk.5HNXE6VO.js +0 -11
- package/dist/chunks/chunk.5PKJ5JGP.js +0 -11
- package/dist/chunks/chunk.5TIEVFPW.js +0 -24
- package/dist/chunks/chunk.5UU4O2OW.js +0 -11
- package/dist/chunks/chunk.5V5FOVYW.js +0 -11
- package/dist/chunks/chunk.65RPV74K.js +0 -11
- package/dist/chunks/chunk.65U5J5N4.js +0 -24
- package/dist/chunks/chunk.6BR7R47G.js +0 -25
- package/dist/chunks/chunk.6CJNXI7L.js +0 -11
- package/dist/chunks/chunk.6KKX6GGR.js +0 -11
- package/dist/chunks/chunk.7C3SBUFW.js +0 -24
- package/dist/chunks/chunk.7CCZCHEA.js +0 -315
- package/dist/chunks/chunk.7FUZB3FM.js +0 -89
- package/dist/chunks/chunk.7TBNG7QH.js +0 -11
- package/dist/chunks/chunk.7YTBFE3L.js +0 -25
- package/dist/chunks/chunk.AEEOFKEI.js +0 -75
- package/dist/chunks/chunk.AKDKEN4K.js +0 -91
- package/dist/chunks/chunk.AL3KKQ7S.js +0 -21
- package/dist/chunks/chunk.AWML2ORU.js +0 -277
- package/dist/chunks/chunk.B35YUIV6.js +0 -192
- package/dist/chunks/chunk.B625EXTV.js +0 -227
- package/dist/chunks/chunk.BHK3MAGD.js +0 -11
- package/dist/chunks/chunk.BHRMRWG6.js +0 -21
- package/dist/chunks/chunk.BI2DJN7V.js +0 -24
- package/dist/chunks/chunk.BK532O5J.js +0 -21
- package/dist/chunks/chunk.BNQGTWGN.js +0 -21
- package/dist/chunks/chunk.BO2X5ZMQ.js +0 -11
- package/dist/chunks/chunk.BOOB7ZDY.js +0 -11
- package/dist/chunks/chunk.BWWO2OA2.js +0 -21
- package/dist/chunks/chunk.C3LRRDYL.js +0 -213
- package/dist/chunks/chunk.C6MJ5GD5.js +0 -50
- package/dist/chunks/chunk.C7IZG4PY.js +0 -11
- package/dist/chunks/chunk.CEQ2E64D.js +0 -25
- package/dist/chunks/chunk.CJ7WPMEJ.js +0 -11
- package/dist/chunks/chunk.CKP6CCOM.js +0 -27
- package/dist/chunks/chunk.CQTEPHFU.js +0 -384
- package/dist/chunks/chunk.CRX75ZFD.js +0 -21
- package/dist/chunks/chunk.CSEENZAK.js +0 -132
- package/dist/chunks/chunk.CZUJXCYB.js +0 -11
- package/dist/chunks/chunk.D5KNVM2P.js +0 -90
- package/dist/chunks/chunk.D5N2ZW72.js +0 -274
- package/dist/chunks/chunk.D66RGQF2.js +0 -21
- package/dist/chunks/chunk.DAIEQFF6.js +0 -22
- package/dist/chunks/chunk.DEEBZOLB.js +0 -11
- package/dist/chunks/chunk.DG5SFWFF.js +0 -21
- package/dist/chunks/chunk.DGXPNZOK.js +0 -73
- package/dist/chunks/chunk.DNOGZINF.js +0 -29
- package/dist/chunks/chunk.DOQE3UEC.js +0 -11
- package/dist/chunks/chunk.DOZ4AECL.js +0 -11
- package/dist/chunks/chunk.DTQMOCM2.js +0 -338
- package/dist/chunks/chunk.E3V3XLVG.js +0 -25
- package/dist/chunks/chunk.E4OCSYIJ.js +0 -63
- package/dist/chunks/chunk.EBD5HDMG.js +0 -21
- package/dist/chunks/chunk.EEUI27HE.js +0 -21
- package/dist/chunks/chunk.ELUKQF6A.js +0 -11
- package/dist/chunks/chunk.EXKZU4YQ.js +0 -116
- package/dist/chunks/chunk.EZFQCTCO.js +0 -25
- package/dist/chunks/chunk.F2MJKLI5.js +0 -21
- package/dist/chunks/chunk.F76GTWU3.js +0 -119
- package/dist/chunks/chunk.FJNILBWN.js +0 -75
- package/dist/chunks/chunk.FPOTUEA5.js +0 -28
- package/dist/chunks/chunk.FQ2MZ5BN.js +0 -25
- package/dist/chunks/chunk.FS7NXERY.js +0 -21
- package/dist/chunks/chunk.FTS7TV2N.js +0 -11
- package/dist/chunks/chunk.FY2ZXS6F.js +0 -117
- package/dist/chunks/chunk.FZR6BKU2.js +0 -55
- package/dist/chunks/chunk.GMDUN5A6.js +0 -100
- package/dist/chunks/chunk.GQ2LYQDK.js +0 -27
- package/dist/chunks/chunk.GXKPSSUK.js +0 -37
- package/dist/chunks/chunk.GYN5WVOD.js +0 -21
- package/dist/chunks/chunk.HBNF6HHX.js +0 -21
- package/dist/chunks/chunk.HIA5D3XY.js +0 -25
- package/dist/chunks/chunk.HKDQ7CO3.js +0 -167
- package/dist/chunks/chunk.HPQAD2AR.js +0 -11
- package/dist/chunks/chunk.I3VGG5HI.js +0 -113
- package/dist/chunks/chunk.IA3ECTCP.js +0 -24
- package/dist/chunks/chunk.IDUGGGW7.js +0 -11
- package/dist/chunks/chunk.IEF3MZN4.js +0 -59
- package/dist/chunks/chunk.IFALPITF.js +0 -35
- package/dist/chunks/chunk.IL2H2WKX.js +0 -11
- package/dist/chunks/chunk.IM3Y7QWK.js +0 -109
- package/dist/chunks/chunk.IUR5UQCL.js +0 -27
- package/dist/chunks/chunk.IW6KMFJU.js +0 -11
- package/dist/chunks/chunk.JBW5KPLH.js +0 -21
- package/dist/chunks/chunk.JJSYXQXL.js +0 -494
- package/dist/chunks/chunk.JR55FCQJ.js +0 -1056
- package/dist/chunks/chunk.JU3LZZRE.js +0 -181
- package/dist/chunks/chunk.KGJZHEOK.js +0 -247
- package/dist/chunks/chunk.KIM6B76U.js +0 -24
- package/dist/chunks/chunk.KMYWGBOI.js +0 -11
- package/dist/chunks/chunk.KPWY6RL4.js +0 -11
- package/dist/chunks/chunk.KTSMVXKF.js +0 -417
- package/dist/chunks/chunk.KWTJWZZX.js +0 -28
- package/dist/chunks/chunk.L322A5HO.js +0 -45
- package/dist/chunks/chunk.LJKZZ4EI.js +0 -24
- package/dist/chunks/chunk.LJT5YHOY.js +0 -263
- package/dist/chunks/chunk.LLDZL4LE.js +0 -25
- package/dist/chunks/chunk.LNJK3H7R.js +0 -21
- package/dist/chunks/chunk.LSYZ4HY6.js +0 -949
- package/dist/chunks/chunk.M2AXCCZV.js +0 -11
- package/dist/chunks/chunk.M4RRGVRJ.js +0 -11
- package/dist/chunks/chunk.M5M4PQFV.js +0 -21
- package/dist/chunks/chunk.M7VPD7XO.js +0 -42
- package/dist/chunks/chunk.MAWF3EWY.js +0 -28
- package/dist/chunks/chunk.MF4CE63B.js +0 -11
- package/dist/chunks/chunk.MMA2ZWOJ.js +0 -174
- package/dist/chunks/chunk.MXW3E66R.js +0 -126
- package/dist/chunks/chunk.N7SFG5VQ.js +0 -28
- package/dist/chunks/chunk.NCUQD3BI.js +0 -11
- package/dist/chunks/chunk.NDZJBHSA.js +0 -100
- package/dist/chunks/chunk.NGHBU5JL.js +0 -11
- package/dist/chunks/chunk.NMS7WJWO.js +0 -11
- package/dist/chunks/chunk.NQ55XHZV.js +0 -45
- package/dist/chunks/chunk.O223QDOY.js +0 -80
- package/dist/chunks/chunk.O24TDVAE.js +0 -11
- package/dist/chunks/chunk.O6IQ3LNL.js +0 -214
- package/dist/chunks/chunk.OCJCZILP.js +0 -11
- package/dist/chunks/chunk.OGPMUZBE.js +0 -293
- package/dist/chunks/chunk.OJQM7QV3.js +0 -11
- package/dist/chunks/chunk.OKHZVDNY.js +0 -11
- package/dist/chunks/chunk.OKWPLGRV.js +0 -24
- package/dist/chunks/chunk.OZXB3DTP.js +0 -11
- package/dist/chunks/chunk.P5TRMZLR.js +0 -11
- package/dist/chunks/chunk.PDR7SFUQ.js +0 -112
- package/dist/chunks/chunk.PKJ27UKI.js +0 -33
- package/dist/chunks/chunk.Q2M3IRFY.js +0 -26
- package/dist/chunks/chunk.Q4KHVJ4C.js +0 -11
- package/dist/chunks/chunk.Q6OINTVG.js +0 -294
- package/dist/chunks/chunk.QCRRRZGP.js +0 -11
- package/dist/chunks/chunk.QINP5EUY.js +0 -11
- package/dist/chunks/chunk.QJGZUH2Y.js +0 -29
- package/dist/chunks/chunk.QMBOT4RV.js +0 -24
- package/dist/chunks/chunk.QPSRZE4H.js +0 -11
- package/dist/chunks/chunk.QQGKHCLI.js +0 -371
- package/dist/chunks/chunk.QRRAVGY3.js +0 -448
- package/dist/chunks/chunk.QTTCKVPV.js +0 -135
- package/dist/chunks/chunk.QZEMPFMU.js +0 -11
- package/dist/chunks/chunk.R2GZTDR3.js +0 -25
- package/dist/chunks/chunk.R7ZISX7X.js +0 -93
- package/dist/chunks/chunk.REUNBDYH.js +0 -550
- package/dist/chunks/chunk.RFBLCSGH.js +0 -11
- package/dist/chunks/chunk.RGECRYWH.js +0 -11
- package/dist/chunks/chunk.RLKFPUZP.js +0 -337
- package/dist/chunks/chunk.S2RYB3DV.js +0 -397
- package/dist/chunks/chunk.SAHV25ZU.js +0 -96
- package/dist/chunks/chunk.SBPQZUMZ.js +0 -21
- package/dist/chunks/chunk.SCRZEJRA.js +0 -28
- package/dist/chunks/chunk.SI7ZCWFM.js +0 -34
- package/dist/chunks/chunk.TF7SCCGT.js +0 -27
- package/dist/chunks/chunk.TFAUE26H.js +0 -27
- package/dist/chunks/chunk.TFCUOTRH.js +0 -11
- package/dist/chunks/chunk.TGM7PQOQ.js +0 -21
- package/dist/chunks/chunk.TJMXWVKV.js +0 -111
- package/dist/chunks/chunk.TK53DS33.js +0 -11
- package/dist/chunks/chunk.TN4AGWC5.js +0 -24
- package/dist/chunks/chunk.U4JAPFAI.js +0 -489
- package/dist/chunks/chunk.U6HKP5PM.js +0 -11
- package/dist/chunks/chunk.U7FQHFT6.js +0 -21
- package/dist/chunks/chunk.UC7HGZ7Y.js +0 -11
- package/dist/chunks/chunk.UEIGSM7G.js +0 -11
- package/dist/chunks/chunk.UGQ2ABGB.js +0 -11
- package/dist/chunks/chunk.URLMFGU3.js +0 -21
- package/dist/chunks/chunk.V3SYWNCE.js +0 -46
- package/dist/chunks/chunk.VCF7C3DO.js +0 -247
- package/dist/chunks/chunk.VEBSCDJA.js +0 -11
- package/dist/chunks/chunk.VGD6N4VS.js +0 -24
- package/dist/chunks/chunk.VRX5HA6F.js +0 -568
- package/dist/chunks/chunk.VRZZLQ3X.js +0 -21
- package/dist/chunks/chunk.VTS2WKNY.js +0 -21
- package/dist/chunks/chunk.VTVESY7M.js +0 -311
- package/dist/chunks/chunk.W7FBZDC5.js +0 -11
- package/dist/chunks/chunk.WABVKOTD.js +0 -67
- package/dist/chunks/chunk.WFBHGOPY.js +0 -286
- package/dist/chunks/chunk.WJ4UDJ5X.js +0 -11
- package/dist/chunks/chunk.WL3B7OPS.js +0 -29
- package/dist/chunks/chunk.WRYYOP5E.js +0 -151
- package/dist/chunks/chunk.X7UGOVCQ.js +0 -252
- package/dist/chunks/chunk.XCH2XJ4H.js +0 -11
- package/dist/chunks/chunk.XDNVRNJ4.js +0 -26
- package/dist/chunks/chunk.XLQZZINH.js +0 -280
- package/dist/chunks/chunk.XO4YOCCI.js +0 -26
- package/dist/chunks/chunk.XOB4NGOY.js +0 -711
- package/dist/chunks/chunk.XRLAMWSE.js +0 -25
- package/dist/chunks/chunk.XVAUGL7H.js +0 -28
- package/dist/chunks/chunk.XZUQNSBB.js +0 -10
- package/dist/chunks/chunk.YD2NIRZQ.js +0 -24
- package/dist/chunks/chunk.YGFKPU5O.js +0 -24
- package/dist/chunks/chunk.YIKIV6PG.js +0 -52
- package/dist/chunks/chunk.YMVBZDIC.js +0 -11
- package/dist/chunks/chunk.YT7MKC2G.js +0 -11
- package/dist/chunks/chunk.YWMB2DRG.js +0 -21
- package/dist/chunks/chunk.Z2MPXJPA.js +0 -814
- package/dist/chunks/chunk.ZGLGFZOO.js +0 -11
- package/dist/chunks/chunk.ZP3Y4K4L.js +0 -11
|
@@ -0,0 +1,737 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getDragRow
|
|
3
|
+
} from "./chunk.DSRLY2FD.js";
|
|
4
|
+
import {
|
|
5
|
+
getExpendRow
|
|
6
|
+
} from "./chunk.RJRDQHBH.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.GVDYPTE6.js";
|
|
21
|
+
import {
|
|
22
|
+
getDefaultPinning
|
|
23
|
+
} from "./chunk.6BPAJGHW.js";
|
|
24
|
+
import {
|
|
25
|
+
getClientHeight,
|
|
26
|
+
getScrollHeight
|
|
27
|
+
} from "./chunk.UBEFQ5SQ.js";
|
|
28
|
+
import {
|
|
29
|
+
CUSTOM_CELL,
|
|
30
|
+
CUSTOM_ROW,
|
|
31
|
+
VIRTUALIZED_DEFAULT
|
|
32
|
+
} from "./chunk.NCE7XJQI.js";
|
|
33
|
+
import {
|
|
34
|
+
SlRadio
|
|
35
|
+
} from "./chunk.3N5TNFZE.js";
|
|
36
|
+
import {
|
|
37
|
+
SlPagination
|
|
38
|
+
} from "./chunk.MN6YR3FC.js";
|
|
39
|
+
import {
|
|
40
|
+
SlCheckbox
|
|
41
|
+
} from "./chunk.DVJWPRKF.js";
|
|
42
|
+
import {
|
|
43
|
+
ShoelaceElement
|
|
44
|
+
} from "./chunk.45F4OUGN.js";
|
|
45
|
+
import {
|
|
46
|
+
__decorateClass,
|
|
47
|
+
__objRest,
|
|
48
|
+
__spreadProps,
|
|
49
|
+
__spreadValues
|
|
50
|
+
} from "./chunk.W5KB6T3Z.js";
|
|
51
|
+
|
|
52
|
+
// src/components/table/table.component.ts
|
|
53
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
54
|
+
import {
|
|
55
|
+
createColumnHelper,
|
|
56
|
+
getCoreRowModel,
|
|
57
|
+
getExpandedRowModel,
|
|
58
|
+
getFilteredRowModel,
|
|
59
|
+
getPaginationRowModel,
|
|
60
|
+
getSortedRowModel,
|
|
61
|
+
TableController
|
|
62
|
+
} from "@tanstack/lit-table";
|
|
63
|
+
import { VirtualizerController } from "@tanstack/lit-virtual";
|
|
64
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
65
|
+
import { debounce, get, some } from "lodash";
|
|
66
|
+
import { html } from "lit";
|
|
67
|
+
import { property } from "lit/decorators.js";
|
|
68
|
+
import { state } from "lit/decorators/state.js";
|
|
69
|
+
var SlTable = class extends ShoelaceElement {
|
|
70
|
+
constructor() {
|
|
71
|
+
super(...arguments);
|
|
72
|
+
this.tableController = new TableController(this);
|
|
73
|
+
this.rowKey = "key";
|
|
74
|
+
this.columns = [];
|
|
75
|
+
this.dataSource = [];
|
|
76
|
+
this.loading = false;
|
|
77
|
+
this.bordered = false;
|
|
78
|
+
this.direction = "ltr";
|
|
79
|
+
this.showHeader = true;
|
|
80
|
+
this.tableScroll = {};
|
|
81
|
+
this.enableColumnResizing = false;
|
|
82
|
+
this.rowDrag = false;
|
|
83
|
+
this.rowSelectedMap = {};
|
|
84
|
+
this.expandedMap = {};
|
|
85
|
+
this.sorting = [];
|
|
86
|
+
this.columnFilters = [];
|
|
87
|
+
this.tableWidth = 0;
|
|
88
|
+
this.columnSizing = {};
|
|
89
|
+
this.pageIndex = 0;
|
|
90
|
+
this.columnPinning = {
|
|
91
|
+
left: ["drag", "expend", "select"],
|
|
92
|
+
right: []
|
|
93
|
+
};
|
|
94
|
+
this.tableWrapRef = createRef();
|
|
95
|
+
this.headerWrapRef = createRef();
|
|
96
|
+
this.bodyWrapRef = createRef();
|
|
97
|
+
this.syncing = false;
|
|
98
|
+
/*
|
|
99
|
+
生命周期 end
|
|
100
|
+
**/
|
|
101
|
+
this.warnIfNoKey = () => {
|
|
102
|
+
if (some(this.dataSource, (record) => this.adapter.getRecordKey(record) === void 0)) {
|
|
103
|
+
console.error(
|
|
104
|
+
'You must specify a key for each element in the dataSource or use "rowKey" to specify an attribute name as the primary key!'
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
this.setColumnWidth = () => {
|
|
109
|
+
const head = this.headerWrapRef.value;
|
|
110
|
+
if (!head) return;
|
|
111
|
+
const ths = head == null ? void 0 : head.querySelectorAll("th");
|
|
112
|
+
if (ths) {
|
|
113
|
+
const widths = Array.from(ths).reduce(
|
|
114
|
+
(acc, th) => {
|
|
115
|
+
const { width } = th.getBoundingClientRect();
|
|
116
|
+
const colKey = th.dataset.colKey;
|
|
117
|
+
return __spreadProps(__spreadValues({}, acc), {
|
|
118
|
+
[colKey]: width
|
|
119
|
+
});
|
|
120
|
+
},
|
|
121
|
+
{}
|
|
122
|
+
);
|
|
123
|
+
this.columnSizing = widths;
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
this.handleBodyScroll = (e) => {
|
|
127
|
+
var _a;
|
|
128
|
+
this.handleBodyScrollLeft(e);
|
|
129
|
+
this.setScrollPositionClassName();
|
|
130
|
+
if ((_a = this.virtualized) == null ? void 0 : _a.onScroll) {
|
|
131
|
+
this.virtualized.onScroll(e);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
this.handleBodyScrollLeft = (e) => {
|
|
135
|
+
if (this.syncing) return;
|
|
136
|
+
const target = e.currentTarget;
|
|
137
|
+
const head = this.headerWrapRef.value;
|
|
138
|
+
const body = this.bodyWrapRef.value;
|
|
139
|
+
if (!head || !body) return;
|
|
140
|
+
this.syncing = true;
|
|
141
|
+
if (target === body) {
|
|
142
|
+
head.scrollLeft = body.scrollLeft;
|
|
143
|
+
} else if (target === head) {
|
|
144
|
+
body.scrollLeft = head.scrollLeft;
|
|
145
|
+
}
|
|
146
|
+
requestAnimationFrame(() => {
|
|
147
|
+
this.syncing = false;
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
this.handleWindowResize = () => {
|
|
151
|
+
this.syncTableWidth();
|
|
152
|
+
this.setScrollPositionClassName();
|
|
153
|
+
this.setScrollBarStyle();
|
|
154
|
+
};
|
|
155
|
+
this.syncTableWidth = () => {
|
|
156
|
+
var _a;
|
|
157
|
+
if ((_a = this.tableWrapRef) == null ? void 0 : _a.value) {
|
|
158
|
+
this.tableWidth = this.tableWrapRef.value.getBoundingClientRect().width;
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
this.setScrollBarStyle = () => {
|
|
162
|
+
setTimeout(() => {
|
|
163
|
+
const bodyWrapper = this.bodyWrapRef.value;
|
|
164
|
+
const headWrapper = this.headerWrapRef.value;
|
|
165
|
+
if (!bodyWrapper || !headWrapper) return;
|
|
166
|
+
const hasVerticalScroll = getScrollHeight(bodyWrapper) > getClientHeight(bodyWrapper);
|
|
167
|
+
if (hasVerticalScroll) {
|
|
168
|
+
headWrapper.style.overflowY = "scroll";
|
|
169
|
+
} else {
|
|
170
|
+
headWrapper.style.overflowY = "auto";
|
|
171
|
+
}
|
|
172
|
+
}, 0);
|
|
173
|
+
};
|
|
174
|
+
this.setScrollPositionClassName = () => {
|
|
175
|
+
const tableBody = this.bodyWrapRef.value;
|
|
176
|
+
const tableWrapper = this.tableWrapRef.value;
|
|
177
|
+
if (!tableBody || !tableWrapper) return;
|
|
178
|
+
const { scrollLeft, scrollWidth, clientWidth } = tableBody;
|
|
179
|
+
const scrollRange = scrollWidth - clientWidth;
|
|
180
|
+
const classList = tableWrapper.classList;
|
|
181
|
+
const startClass = "table-scroll-position-left";
|
|
182
|
+
const middleClass = "table-scroll-position-middle";
|
|
183
|
+
const endClass = "table-scroll-position-right";
|
|
184
|
+
if (scrollWidth <= clientWidth) {
|
|
185
|
+
classList.remove(startClass, endClass, middleClass);
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
const isRtl = this.direction === "rtl";
|
|
189
|
+
const scrollLeftAbs = Math.abs(scrollLeft);
|
|
190
|
+
let isStart = false;
|
|
191
|
+
let isEnd = false;
|
|
192
|
+
if (isRtl) {
|
|
193
|
+
isStart = scrollLeftAbs <= 1;
|
|
194
|
+
isEnd = scrollLeftAbs >= scrollRange - 1;
|
|
195
|
+
} else {
|
|
196
|
+
isStart = scrollLeft <= 0;
|
|
197
|
+
isEnd = scrollLeft >= scrollRange - 1;
|
|
198
|
+
}
|
|
199
|
+
if (isStart) {
|
|
200
|
+
classList.add(startClass);
|
|
201
|
+
classList.remove(middleClass, endClass);
|
|
202
|
+
} else if (isEnd) {
|
|
203
|
+
classList.remove(startClass, middleClass);
|
|
204
|
+
classList.add(endClass);
|
|
205
|
+
} else {
|
|
206
|
+
classList.remove(startClass, endClass);
|
|
207
|
+
classList.add(middleClass);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
this.handleColumnSizingChange = (updaterOrValue) => {
|
|
211
|
+
var _a;
|
|
212
|
+
const next = typeof updaterOrValue === "function" ? updaterOrValue(this.columnSizing) : updaterOrValue;
|
|
213
|
+
const clamped = {};
|
|
214
|
+
for (const key in next) {
|
|
215
|
+
const v = next[key];
|
|
216
|
+
clamped[key] = Math.min(500, Math.max(60, v));
|
|
217
|
+
}
|
|
218
|
+
this.columnSizing = clamped;
|
|
219
|
+
(_a = this.onColumnResize) == null ? void 0 : _a.call(this, __spreadValues({}, clamped));
|
|
220
|
+
};
|
|
221
|
+
this.generateCustomCellSlot = (filteredRows) => {
|
|
222
|
+
const hasSlotColumns = this.columns.filter((col) => col.slot);
|
|
223
|
+
if (!hasSlotColumns.length) return "";
|
|
224
|
+
return html`
|
|
225
|
+
${hasSlotColumns.map(
|
|
226
|
+
(col) => filteredRows.map((row) => {
|
|
227
|
+
const slotKey = `${CUSTOM_CELL}-${col.dataIndex}-${this.adapter.getRecordKey(row.original)}`;
|
|
228
|
+
return html`<slot slot="${slotKey}" name="${slotKey}">${row.original[col.dataIndex]}</slot>`;
|
|
229
|
+
})
|
|
230
|
+
)}
|
|
231
|
+
`;
|
|
232
|
+
};
|
|
233
|
+
this.generateCustomRowSlot = (rows) => {
|
|
234
|
+
if (!this.expandProps) return "";
|
|
235
|
+
return html`
|
|
236
|
+
${rows.map((row) => {
|
|
237
|
+
var _a, _b, _c;
|
|
238
|
+
const rowSlotKey = `${CUSTOM_ROW}-${this.adapter.getRecordKey(row.original)}`;
|
|
239
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expendableRowKeys)) return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
240
|
+
if ((_c = (_b = this.expandProps) == null ? void 0 : _b.expendableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey])) {
|
|
241
|
+
return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
242
|
+
} else {
|
|
243
|
+
return null;
|
|
244
|
+
}
|
|
245
|
+
})}
|
|
246
|
+
`;
|
|
247
|
+
};
|
|
248
|
+
this.handleRowSelectionChange = (updaterOrValue) => {
|
|
249
|
+
if (typeof updaterOrValue === "function") {
|
|
250
|
+
this.rowSelectedMap = updaterOrValue(this.rowSelectedMap);
|
|
251
|
+
} else {
|
|
252
|
+
this.rowSelectedMap = updaterOrValue;
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
this.handleSortingChange = (updaterOrValue) => {
|
|
256
|
+
if (typeof updaterOrValue === "function") {
|
|
257
|
+
this.sorting = updaterOrValue(this.sorting);
|
|
258
|
+
} else {
|
|
259
|
+
this.sorting = updaterOrValue;
|
|
260
|
+
}
|
|
261
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
262
|
+
this.handleChange({
|
|
263
|
+
changeType: "sorter"
|
|
264
|
+
});
|
|
265
|
+
});
|
|
266
|
+
};
|
|
267
|
+
this.handleColumnFiltersChange = (updaterOrValue) => {
|
|
268
|
+
if (typeof updaterOrValue === "function") {
|
|
269
|
+
this.columnFilters = updaterOrValue(this.columnFilters);
|
|
270
|
+
} else {
|
|
271
|
+
this.columnFilters = updaterOrValue;
|
|
272
|
+
}
|
|
273
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
274
|
+
this.handleChange({
|
|
275
|
+
changeType: "filters"
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
};
|
|
279
|
+
this.handleFilterDropdownChange = (e) => {
|
|
280
|
+
var _a;
|
|
281
|
+
const detail = e.detail;
|
|
282
|
+
const { key, visible } = detail || {};
|
|
283
|
+
const col = this.columns.find((c) => c.dataIndex === key);
|
|
284
|
+
(_a = col == null ? void 0 : col.onFilterDropdownVisibleChange) == null ? void 0 : _a.call(col, visible);
|
|
285
|
+
};
|
|
286
|
+
this.getRowCanExpand = (row) => {
|
|
287
|
+
var _a, _b, _c;
|
|
288
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expendableRowKeys)) return true;
|
|
289
|
+
return Boolean((_c = (_b = this.expandProps) == null ? void 0 : _b.expendableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey]));
|
|
290
|
+
};
|
|
291
|
+
this.expendedChange = (updater) => {
|
|
292
|
+
const newExpanded = typeof updater === "function" ? updater(this.expandedMap) : updater;
|
|
293
|
+
this.expandedMap = newExpanded;
|
|
294
|
+
this.requestUpdate();
|
|
295
|
+
};
|
|
296
|
+
this.handlePaginationChange = (event) => {
|
|
297
|
+
var _a, _b, _c;
|
|
298
|
+
const { pageNumber, pageSize } = event.detail;
|
|
299
|
+
(_b = (_a = this.pagination) == null ? void 0 : _a["sl-page-change"]) == null ? void 0 : _b.call(_a, event);
|
|
300
|
+
this.pagination = __spreadProps(__spreadValues({}, this.pagination), {
|
|
301
|
+
defaultCurrentPage: pageNumber,
|
|
302
|
+
pageSize: pageSize || 20
|
|
303
|
+
});
|
|
304
|
+
this.pageIndex = pageNumber - 1;
|
|
305
|
+
this.handleChange({
|
|
306
|
+
pagination: {
|
|
307
|
+
pageNumber: pageNumber || 1,
|
|
308
|
+
pageSize: pageSize || 20,
|
|
309
|
+
total: ((_c = this.pagination) == null ? void 0 : _c.total) || this.dataSource.length
|
|
310
|
+
},
|
|
311
|
+
type: "pagination"
|
|
312
|
+
});
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
get adapter() {
|
|
316
|
+
return {
|
|
317
|
+
getRecordKey: (record) => {
|
|
318
|
+
if (!record) {
|
|
319
|
+
return void 0;
|
|
320
|
+
}
|
|
321
|
+
return get(record, this.rowKey);
|
|
322
|
+
},
|
|
323
|
+
getSortIsControlled: () => {
|
|
324
|
+
return some(this.columns, (col) => !!col.sortOrder);
|
|
325
|
+
},
|
|
326
|
+
getTableWidth: () => this.tableWidth,
|
|
327
|
+
getFilterIsControlled: () => some(this.columns, (col) => !!col.filteredValue),
|
|
328
|
+
tableScrollToTop: () => {
|
|
329
|
+
var _a, _b;
|
|
330
|
+
return ((_a = this.tableScroll) == null ? void 0 : _a.y) ? (_b = this.bodyWrapRef.value) == null ? void 0 : _b.scrollTo({ top: 0 }) : void 0;
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
/*
|
|
335
|
+
生命周期 start
|
|
336
|
+
**/
|
|
337
|
+
connectedCallback() {
|
|
338
|
+
super.connectedCallback();
|
|
339
|
+
window.addEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
340
|
+
this.syncTableWidth();
|
|
341
|
+
this.setScrollBarStyle();
|
|
342
|
+
this.setScrollPositionClassName();
|
|
343
|
+
}
|
|
344
|
+
disconnectedCallback() {
|
|
345
|
+
window.removeEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
346
|
+
super.disconnectedCallback();
|
|
347
|
+
}
|
|
348
|
+
willUpdate(changedProperties) {
|
|
349
|
+
var _a;
|
|
350
|
+
this.warnIfNoKey();
|
|
351
|
+
if (changedProperties.has("rowSelection")) {
|
|
352
|
+
this.rowSelectedMap = convertRowSelectionState(((_a = this.rowSelection) == null ? void 0 : _a.defaultSelectedRowKeys) || []);
|
|
353
|
+
}
|
|
354
|
+
if (changedProperties.has("columns")) {
|
|
355
|
+
const defaultSorting = getDefaultSorting(this.columns);
|
|
356
|
+
if (defaultSorting.length > 0) {
|
|
357
|
+
this.sorting = defaultSorting;
|
|
358
|
+
}
|
|
359
|
+
const defaultFilters = getDefaultFilters(this.columns);
|
|
360
|
+
if (defaultFilters.length > 0) {
|
|
361
|
+
this.columnFilters = defaultFilters;
|
|
362
|
+
}
|
|
363
|
+
const defaultPinning = getDefaultPinning(this.columns);
|
|
364
|
+
if (defaultPinning.left.length > 0 || defaultPinning.right.length > 0) {
|
|
365
|
+
this.columnPinning = defaultPinning;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
if (changedProperties.has("dataSource") || changedProperties.has("expandProps")) {
|
|
369
|
+
this.dataSource.forEach((row) => {
|
|
370
|
+
var _a2, _b;
|
|
371
|
+
if (!((_a2 = this.expandProps) == null ? void 0 : _a2.rowExpandable)) return;
|
|
372
|
+
const rowKey = row[this.rowKey];
|
|
373
|
+
const expandAllMatch = this.expandProps.defaultExpandAllRows && (!this.expandProps.expendableRowKeys || this.expandProps.expendableRowKeys.includes(rowKey));
|
|
374
|
+
const expandByKeys = (_b = this.expandProps.defaultExpandedRowKeys) == null ? void 0 : _b.includes(rowKey);
|
|
375
|
+
if (expandAllMatch || expandByKeys) {
|
|
376
|
+
this.expandedMap[rowKey] = true;
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
updated(changedProperties) {
|
|
382
|
+
super.updated(changedProperties);
|
|
383
|
+
window.requestAnimationFrame(() => {
|
|
384
|
+
this.setScrollPositionClassName();
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
async firstUpdated() {
|
|
388
|
+
var _a, _b;
|
|
389
|
+
const bodyTable = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("sl-table-body-table");
|
|
390
|
+
if (bodyTable) {
|
|
391
|
+
await bodyTable.updateComplete;
|
|
392
|
+
}
|
|
393
|
+
const headTable = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sl-table-head-table");
|
|
394
|
+
if (headTable) {
|
|
395
|
+
await headTable.updateComplete;
|
|
396
|
+
}
|
|
397
|
+
if (this.virtualized) {
|
|
398
|
+
const scrollElement = this.bodyWrapRef.value;
|
|
399
|
+
const _c = this.virtualized, { itemHeight, overscan } = _c, rest = __objRest(_c, ["itemHeight", "overscan"]);
|
|
400
|
+
this.rowVirtualizerController = new VirtualizerController(this, __spreadValues({
|
|
401
|
+
count: this.dataSource.length,
|
|
402
|
+
getScrollElement: () => scrollElement,
|
|
403
|
+
estimateSize: () => itemHeight || VIRTUALIZED_DEFAULT.itemHeight,
|
|
404
|
+
overscan: overscan || VIRTUALIZED_DEFAULT.overscan
|
|
405
|
+
}, rest));
|
|
406
|
+
this.requestUpdate();
|
|
407
|
+
}
|
|
408
|
+
this.setColumnWidth();
|
|
409
|
+
}
|
|
410
|
+
renderTable(tableInstance) {
|
|
411
|
+
var _a, _b;
|
|
412
|
+
const currentPageRows = tableInstance.getPaginationRowModel().rows;
|
|
413
|
+
const filteredRows = tableInstance.getFilteredRowModel().rows;
|
|
414
|
+
const commonProps = {
|
|
415
|
+
direction: this.direction,
|
|
416
|
+
bordered: !!this.bordered,
|
|
417
|
+
rowSelectedMap: this.rowSelectedMap,
|
|
418
|
+
tableScroll: this.tableScroll,
|
|
419
|
+
handleBodyScroll: this.handleBodyScroll,
|
|
420
|
+
sorting: this.sorting,
|
|
421
|
+
dataSource: this.dataSource,
|
|
422
|
+
columns: this.columns,
|
|
423
|
+
adapter: this.adapter,
|
|
424
|
+
tableInstance,
|
|
425
|
+
onHeaderRow: this.onHeaderRow,
|
|
426
|
+
onRow: this.onRow,
|
|
427
|
+
virtualized: this.virtualized,
|
|
428
|
+
rowDrag: this.rowDrag,
|
|
429
|
+
onRowReorder: (detail) => {
|
|
430
|
+
var _a2;
|
|
431
|
+
if (this.onRowReorder) this.onRowReorder(detail);
|
|
432
|
+
if ((_a2 = detail.newRows) == null ? void 0 : _a2.length) {
|
|
433
|
+
this.dataSource = detail.newRows;
|
|
434
|
+
this.requestUpdate();
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
};
|
|
438
|
+
const emptyTemplate = this.dataSource.length === 0 || currentPageRows.length === 0 || filteredRows.length === 0 ? this.renderEmpty() : "";
|
|
439
|
+
const headTable = this.showHeader ? html`<sl-table-head-table
|
|
440
|
+
exportparts="table-head, table-head-row, table-head-cell"
|
|
441
|
+
.commonProps=${commonProps}
|
|
442
|
+
.headerRef=${this.headerWrapRef}
|
|
443
|
+
@sl-filter-dropdown-change=${this.handleFilterDropdownChange}
|
|
444
|
+
></sl-table-head-table>` : "";
|
|
445
|
+
const bodyTable = html`<sl-table-body-table
|
|
446
|
+
.bodyRef=${this.bodyWrapRef}
|
|
447
|
+
.emptyTemplate=${emptyTemplate}
|
|
448
|
+
.commonProps=${commonProps}
|
|
449
|
+
.rowVirtualizerController=${this.rowVirtualizerController}
|
|
450
|
+
.expandRowByClick=${((_a = this.expandProps) == null ? void 0 : _a.rowExpandable) && ((_b = this.expandProps) == null ? void 0 : _b.expandRowByClick)}
|
|
451
|
+
>
|
|
452
|
+
<slot name="table-empty" slot="table-empty">暂无数据</slot>
|
|
453
|
+
${this.generateCustomRowSlot(filteredRows)} ${this.generateCustomCellSlot(filteredRows)}
|
|
454
|
+
</sl-table-body-table>`;
|
|
455
|
+
return html`${headTable} ${bodyTable}`;
|
|
456
|
+
}
|
|
457
|
+
renderEmpty() {
|
|
458
|
+
return html` <div class="table-placeholder"><slot name="table-empty"></slot></div>`;
|
|
459
|
+
}
|
|
460
|
+
renderMainTable(tableInstance) {
|
|
461
|
+
const table = html`${this.renderTable(tableInstance)}`;
|
|
462
|
+
return table;
|
|
463
|
+
}
|
|
464
|
+
renderPagination(place) {
|
|
465
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
466
|
+
if (!this.pagination) return "";
|
|
467
|
+
const pos = ((_a = this.pagination) == null ? void 0 : _a.position) || "bottomEnd";
|
|
468
|
+
const isTop = pos.startsWith("top");
|
|
469
|
+
if (place === "top" && !isTop || place === "bottom" && isTop) return "";
|
|
470
|
+
const justify = pos.endsWith("Start") ? "flex-start" : pos.endsWith("Center") ? "center" : "flex-end";
|
|
471
|
+
const margin = place === "top" ? "0 0 8px 0" : "8px 0 0 0";
|
|
472
|
+
const style = `display:flex; justify-content:${justify}; margin:${margin};`;
|
|
473
|
+
return html`
|
|
474
|
+
<div class="pagination-container" style="${style}">
|
|
475
|
+
<sl-pagination
|
|
476
|
+
class="pagination"
|
|
477
|
+
@sl-page-change=${this.handlePaginationChange}
|
|
478
|
+
.total=${((_b = this.pagination) == null ? void 0 : _b.total) || this.dataSource.length}
|
|
479
|
+
.currentPage=${(_c = this.pagination) == null ? void 0 : _c.currentPage}
|
|
480
|
+
.defaultCurrentPage=${((_d = this.pagination) == null ? void 0 : _d.defaultCurrentPage) || 1}
|
|
481
|
+
.pageSize=${((_e = this.pagination) == null ? void 0 : _e.pageSize) || 20}
|
|
482
|
+
.disabled=${((_f = this.pagination) == null ? void 0 : _f.disabled) || false}
|
|
483
|
+
.className=${(_g = this.pagination) == null ? void 0 : _g.className}
|
|
484
|
+
.pageSizeOpts=${((_h = this.pagination) == null ? void 0 : _h.pageSizeOpts) || [10, 20, 50, 100]}
|
|
485
|
+
.simpleMode=${((_i = this.pagination) == null ? void 0 : _i.simpleMode) || false}
|
|
486
|
+
>
|
|
487
|
+
</sl-pagination>
|
|
488
|
+
</div>
|
|
489
|
+
`;
|
|
490
|
+
}
|
|
491
|
+
// 生成lit-table所需要的columns数组
|
|
492
|
+
buildColumns() {
|
|
493
|
+
var _a, _b, _c;
|
|
494
|
+
const _columns = [];
|
|
495
|
+
const columnHelper = createColumnHelper();
|
|
496
|
+
for (const col of this.columns) {
|
|
497
|
+
const {
|
|
498
|
+
dataIndex,
|
|
499
|
+
width,
|
|
500
|
+
align,
|
|
501
|
+
className,
|
|
502
|
+
ellipsis,
|
|
503
|
+
sorter,
|
|
504
|
+
filters,
|
|
505
|
+
filterMultiple,
|
|
506
|
+
defaultFilters,
|
|
507
|
+
onFilter,
|
|
508
|
+
filterDropdownProps,
|
|
509
|
+
onFilterDropdownVisibleChange
|
|
510
|
+
} = col;
|
|
511
|
+
const canSort = sorter && typeof sorter === "function";
|
|
512
|
+
const canFilter = filters && filters.length > 0;
|
|
513
|
+
const newCol = columnHelper.accessor((row) => row[dataIndex], {
|
|
514
|
+
id: dataIndex,
|
|
515
|
+
meta: {
|
|
516
|
+
align,
|
|
517
|
+
className,
|
|
518
|
+
ellipsis,
|
|
519
|
+
filters,
|
|
520
|
+
filterMultiple,
|
|
521
|
+
defaultFilters,
|
|
522
|
+
filterDropdownProps,
|
|
523
|
+
onFilterDropdownVisibleChange,
|
|
524
|
+
onCell: col.onCell,
|
|
525
|
+
onHeaderCell: col.onHeaderCell
|
|
526
|
+
},
|
|
527
|
+
cell: (info) => {
|
|
528
|
+
if (col.slot) {
|
|
529
|
+
const slotKey = `${CUSTOM_CELL}-${dataIndex}-${this.adapter.getRecordKey(info.row.original)}`;
|
|
530
|
+
return html`<slot name="${slotKey}" slot="${slotKey}">${info.getValue()}</slot>`;
|
|
531
|
+
}
|
|
532
|
+
return info.getValue();
|
|
533
|
+
},
|
|
534
|
+
header: () => col.title || dataIndex,
|
|
535
|
+
size: width
|
|
536
|
+
});
|
|
537
|
+
newCol.enableResizing = (_a = col.enableResizing) != null ? _a : this.enableColumnResizing;
|
|
538
|
+
if (newCol.enableResizing) {
|
|
539
|
+
newCol.minSize = 60;
|
|
540
|
+
newCol.maxSize = 500;
|
|
541
|
+
}
|
|
542
|
+
if (canSort) {
|
|
543
|
+
newCol.sortingFn = (rowA, rowB) => sorter(rowA.original, rowB.original);
|
|
544
|
+
}
|
|
545
|
+
if (canFilter && onFilter) {
|
|
546
|
+
newCol.filterFn = (row, _columnId, filterValue) => {
|
|
547
|
+
if (Array.isArray(filterValue)) {
|
|
548
|
+
return filterValue.some((val) => !!onFilter(val, row.original));
|
|
549
|
+
}
|
|
550
|
+
return !!onFilter(filterValue, row.original);
|
|
551
|
+
};
|
|
552
|
+
}
|
|
553
|
+
newCol.enableSorting = !!canSort;
|
|
554
|
+
newCol.enableColumnFilter = !!canFilter;
|
|
555
|
+
_columns.push(newCol);
|
|
556
|
+
}
|
|
557
|
+
if (this.rowSelection && !this.rowSelection.hidden) {
|
|
558
|
+
_columns.unshift(getSelectionColumn(this.rowSelection, this.rowKey));
|
|
559
|
+
}
|
|
560
|
+
if ((_b = this == null ? void 0 : this.expandProps) == null ? void 0 : _b.rowExpandable) _columns.unshift(getExpendRow((_c = this.expandProps) == null ? void 0 : _c.expandRowByClick));
|
|
561
|
+
if (this == null ? void 0 : this.rowDrag) _columns.unshift(getDragRow());
|
|
562
|
+
return _columns;
|
|
563
|
+
}
|
|
564
|
+
// 构建 tableState
|
|
565
|
+
buildTableState() {
|
|
566
|
+
var _a;
|
|
567
|
+
const rowSelectionOptions = getRowSelectionOptions({
|
|
568
|
+
rowSelection: this.rowSelection
|
|
569
|
+
});
|
|
570
|
+
const cols = this.buildColumns();
|
|
571
|
+
const instance = this.tableController.table(__spreadProps(__spreadValues({
|
|
572
|
+
columns: cols,
|
|
573
|
+
data: this.dataSource,
|
|
574
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
575
|
+
columnResizeMode: "onChange",
|
|
576
|
+
columnResizeDirection: this.direction,
|
|
577
|
+
manualPagination: !this.pagination,
|
|
578
|
+
getRowId: (row) => row[this.rowKey],
|
|
579
|
+
getCoreRowModel: getCoreRowModel(),
|
|
580
|
+
getSortedRowModel: getSortedRowModel(),
|
|
581
|
+
getPaginationRowModel: getPaginationRowModel(),
|
|
582
|
+
getFilteredRowModel: getFilteredRowModel(),
|
|
583
|
+
getExpandedRowModel: getExpandedRowModel(),
|
|
584
|
+
state: {
|
|
585
|
+
rowSelection: this.rowSelectedMap,
|
|
586
|
+
sorting: this.sorting,
|
|
587
|
+
columnFilters: this.columnFilters,
|
|
588
|
+
columnSizing: this.columnSizing,
|
|
589
|
+
pagination: {
|
|
590
|
+
pageIndex: this.pageIndex,
|
|
591
|
+
pageSize: ((_a = this.pagination) == null ? void 0 : _a.pageSize) || 20
|
|
592
|
+
},
|
|
593
|
+
expanded: this.expandedMap,
|
|
594
|
+
columnPinning: this.columnPinning
|
|
595
|
+
},
|
|
596
|
+
onColumnSizingChange: this.handleColumnSizingChange,
|
|
597
|
+
onSortingChange: this.handleSortingChange,
|
|
598
|
+
onColumnFiltersChange: this.handleColumnFiltersChange
|
|
599
|
+
}, rowSelectionOptions), {
|
|
600
|
+
onRowSelectionChange: this.handleRowSelectionChange,
|
|
601
|
+
// 受控排序
|
|
602
|
+
manualSorting: this.adapter.getSortIsControlled(),
|
|
603
|
+
manualFiltering: this.adapter.getFilterIsControlled(),
|
|
604
|
+
getRowCanExpand: this.getRowCanExpand,
|
|
605
|
+
onExpandedChange: this.expendedChange
|
|
606
|
+
}));
|
|
607
|
+
return instance;
|
|
608
|
+
}
|
|
609
|
+
handleChange(extra) {
|
|
610
|
+
var _a;
|
|
611
|
+
this.dispatchEvent(
|
|
612
|
+
new CustomEvent("change", {
|
|
613
|
+
detail: __spreadValues({
|
|
614
|
+
sorting: this.sorting,
|
|
615
|
+
columnFilters: this.columnFilters
|
|
616
|
+
}, extra)
|
|
617
|
+
})
|
|
618
|
+
);
|
|
619
|
+
if (["sorting", "filters", "pagination"].includes(extra == null ? void 0 : extra.type) && ((_a = this.tableScroll) == null ? void 0 : _a.scrollToFirstRowOnChange)) {
|
|
620
|
+
this.adapter.tableScrollToTop();
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
render() {
|
|
624
|
+
const tableInstance = this.buildTableState();
|
|
625
|
+
return html`
|
|
626
|
+
<div
|
|
627
|
+
part="table-wrapper"
|
|
628
|
+
${ref(this.tableWrapRef)}
|
|
629
|
+
class=${classMap({
|
|
630
|
+
"table-wrapper": true,
|
|
631
|
+
[`table-direction-${this.direction}`]: true
|
|
632
|
+
})}
|
|
633
|
+
>
|
|
634
|
+
${this.renderPagination("top")}
|
|
635
|
+
<sl-table-spinner-container .loading=${this.loading} exportparts="table-container">
|
|
636
|
+
<div
|
|
637
|
+
class=${classMap({
|
|
638
|
+
"table-bordered": Boolean(this.bordered),
|
|
639
|
+
"table-nodata": this.dataSource.length === 0
|
|
640
|
+
})}
|
|
641
|
+
>
|
|
642
|
+
<div part="table-container" class="table-container">${this.renderMainTable(tableInstance)}</div>
|
|
643
|
+
</div>
|
|
644
|
+
</sl-table-spinner-container>
|
|
645
|
+
${this.renderPagination("bottom")}
|
|
646
|
+
</div>
|
|
647
|
+
`;
|
|
648
|
+
}
|
|
649
|
+
};
|
|
650
|
+
SlTable.dependencies = {
|
|
651
|
+
"sl-checkbox": SlCheckbox,
|
|
652
|
+
"sl-radio": SlRadio,
|
|
653
|
+
"sl-pagination": SlPagination
|
|
654
|
+
};
|
|
655
|
+
SlTable.styles = [table_style_default];
|
|
656
|
+
__decorateClass([
|
|
657
|
+
property({ type: Array })
|
|
658
|
+
], SlTable.prototype, "rowKey", 2);
|
|
659
|
+
__decorateClass([
|
|
660
|
+
property({ type: Array })
|
|
661
|
+
], SlTable.prototype, "columns", 2);
|
|
662
|
+
__decorateClass([
|
|
663
|
+
property({ type: Array })
|
|
664
|
+
], SlTable.prototype, "dataSource", 2);
|
|
665
|
+
__decorateClass([
|
|
666
|
+
property({ type: Boolean })
|
|
667
|
+
], SlTable.prototype, "loading", 2);
|
|
668
|
+
__decorateClass([
|
|
669
|
+
property({ type: Boolean })
|
|
670
|
+
], SlTable.prototype, "bordered", 2);
|
|
671
|
+
__decorateClass([
|
|
672
|
+
property({ type: String })
|
|
673
|
+
], SlTable.prototype, "direction", 2);
|
|
674
|
+
__decorateClass([
|
|
675
|
+
property({ type: Boolean })
|
|
676
|
+
], SlTable.prototype, "showHeader", 2);
|
|
677
|
+
__decorateClass([
|
|
678
|
+
property({ type: Object })
|
|
679
|
+
], SlTable.prototype, "rowSelection", 2);
|
|
680
|
+
__decorateClass([
|
|
681
|
+
property({ type: Object })
|
|
682
|
+
], SlTable.prototype, "tableScroll", 2);
|
|
683
|
+
__decorateClass([
|
|
684
|
+
property({ type: Object })
|
|
685
|
+
], SlTable.prototype, "pagination", 2);
|
|
686
|
+
__decorateClass([
|
|
687
|
+
property({ type: Object })
|
|
688
|
+
], SlTable.prototype, "expandProps", 2);
|
|
689
|
+
__decorateClass([
|
|
690
|
+
property({ type: Boolean })
|
|
691
|
+
], SlTable.prototype, "enableColumnResizing", 2);
|
|
692
|
+
__decorateClass([
|
|
693
|
+
property({ type: Function })
|
|
694
|
+
], SlTable.prototype, "onHeaderRow", 2);
|
|
695
|
+
__decorateClass([
|
|
696
|
+
property({ type: Function })
|
|
697
|
+
], SlTable.prototype, "onRow", 2);
|
|
698
|
+
__decorateClass([
|
|
699
|
+
property({ type: Function })
|
|
700
|
+
], SlTable.prototype, "onColumnResize", 2);
|
|
701
|
+
__decorateClass([
|
|
702
|
+
property({ type: Object || Boolean })
|
|
703
|
+
], SlTable.prototype, "virtualized", 2);
|
|
704
|
+
__decorateClass([
|
|
705
|
+
property({ type: Boolean })
|
|
706
|
+
], SlTable.prototype, "rowDrag", 2);
|
|
707
|
+
__decorateClass([
|
|
708
|
+
property({ type: Function })
|
|
709
|
+
], SlTable.prototype, "onRowReorder", 2);
|
|
710
|
+
__decorateClass([
|
|
711
|
+
state()
|
|
712
|
+
], SlTable.prototype, "rowSelectedMap", 2);
|
|
713
|
+
__decorateClass([
|
|
714
|
+
state()
|
|
715
|
+
], SlTable.prototype, "expandedMap", 2);
|
|
716
|
+
__decorateClass([
|
|
717
|
+
state()
|
|
718
|
+
], SlTable.prototype, "sorting", 2);
|
|
719
|
+
__decorateClass([
|
|
720
|
+
state()
|
|
721
|
+
], SlTable.prototype, "columnFilters", 2);
|
|
722
|
+
__decorateClass([
|
|
723
|
+
state()
|
|
724
|
+
], SlTable.prototype, "tableWidth", 2);
|
|
725
|
+
__decorateClass([
|
|
726
|
+
state()
|
|
727
|
+
], SlTable.prototype, "columnSizing", 2);
|
|
728
|
+
__decorateClass([
|
|
729
|
+
state()
|
|
730
|
+
], SlTable.prototype, "pageIndex", 2);
|
|
731
|
+
__decorateClass([
|
|
732
|
+
state()
|
|
733
|
+
], SlTable.prototype, "columnPinning", 2);
|
|
734
|
+
|
|
735
|
+
export {
|
|
736
|
+
SlTable
|
|
737
|
+
};
|