@kdcloudjs/shoelace 1.0.18 → 1.0.20
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.2D23USCW.js +140 -0
- package/cdn/chunks/chunk.2RCCYUF5.js +24 -0
- package/cdn/chunks/chunk.2TKU3L4J.js +24 -0
- package/cdn/chunks/chunk.2U22GIRT.js +25 -0
- package/cdn/chunks/chunk.2Y3R65EN.js +27 -0
- package/cdn/chunks/chunk.2ZZL46WA.js +26 -0
- package/cdn/chunks/chunk.35PB6CZG.js +25 -0
- package/cdn/chunks/chunk.3EZHMWBD.js +11 -0
- package/cdn/chunks/chunk.3XAVCE7Z.js +11 -0
- package/cdn/chunks/chunk.3XFPVYL4.js +347 -0
- package/cdn/chunks/chunk.3XNKBI5S.js +49 -0
- package/cdn/chunks/chunk.3YQ4HMQM.js +11 -0
- package/cdn/chunks/chunk.3ZFUODKR.js +25 -0
- package/cdn/chunks/chunk.47PFA3VX.js +33 -0
- package/cdn/chunks/chunk.4A2CCC4V.js +24 -0
- package/cdn/chunks/chunk.4CPE4DNZ.js +21 -0
- package/cdn/chunks/chunk.4G67LFGE.js +11 -0
- package/cdn/chunks/chunk.4J6F7YHL.js +1990 -0
- package/cdn/chunks/chunk.4W5K5NIR.js +11 -0
- package/cdn/chunks/chunk.53YZYDXI.js +21 -0
- package/cdn/chunks/chunk.5ABJINYG.js +28 -0
- package/cdn/chunks/chunk.5BOJGKUG.js +292 -0
- package/cdn/chunks/chunk.5E22AYAA.js +331 -0
- package/cdn/chunks/chunk.5F4BMJ3X.js +11 -0
- package/cdn/chunks/chunk.5XSCZESR.js +271 -0
- package/cdn/chunks/chunk.65DBNMCE.js +724 -0
- package/cdn/chunks/chunk.6JAOORDG.js +11 -0
- package/cdn/chunks/chunk.6KIIUI7S.js +219 -0
- package/cdn/chunks/chunk.6R5PXXWV.js +11 -0
- package/cdn/chunks/chunk.6XIELA7H.js +28 -0
- package/cdn/chunks/chunk.77DX5FFD.js +21 -0
- package/cdn/chunks/chunk.7I2P3EI3.js +11 -0
- package/cdn/chunks/chunk.7R6LQJQN.js +21 -0
- package/cdn/chunks/chunk.7S352MG5.js +24 -0
- package/cdn/chunks/chunk.A2BPVVQ6.js +11 -0
- package/cdn/chunks/chunk.A4326IL2.js +42 -0
- package/cdn/chunks/chunk.AHVT6SMK.js +153 -0
- package/cdn/chunks/chunk.AK653YGY.js +583 -0
- package/cdn/chunks/chunk.AKWA6BDR.js +49 -0
- package/cdn/chunks/chunk.AUF4U6FY.js +118 -0
- package/cdn/chunks/chunk.AUGS5OJG.js +27 -0
- package/cdn/chunks/chunk.B5QQCSOG.js +24 -0
- package/cdn/chunks/chunk.BCFIC5EH.js +142 -0
- package/cdn/chunks/chunk.BCIKFAHC.js +11 -0
- package/cdn/chunks/chunk.BED5S3XG.js +402 -0
- package/cdn/chunks/chunk.BHX6VUIT.js +1073 -0
- package/cdn/chunks/chunk.BJ6EABUT.js +75 -0
- package/cdn/chunks/chunk.BQZC5DHU.js +11 -0
- package/cdn/chunks/chunk.BVQQEMVU.js +11 -0
- package/cdn/chunks/chunk.BX352G3W.js +122 -0
- package/cdn/chunks/chunk.BX4GDJW7.js +63 -0
- package/cdn/chunks/chunk.C32UDDJX.js +276 -0
- package/cdn/chunks/chunk.C5PWT6RW.js +48 -0
- package/cdn/chunks/chunk.CFQ2B6VR.js +216 -0
- package/cdn/chunks/chunk.CJDJNRPA.js +21 -0
- package/cdn/chunks/chunk.D75D72TI.js +21 -0
- package/cdn/chunks/chunk.DHGPGIO7.js +73 -0
- package/cdn/chunks/chunk.DHSARJNO.js +24 -0
- package/cdn/chunks/chunk.DJVVEJS2.js +11 -0
- package/cdn/chunks/chunk.DYLTSCJ2.js +11 -0
- package/cdn/chunks/chunk.E5WS3VLQ.js +137 -0
- package/cdn/chunks/chunk.E7OFOOCY.js +131 -0
- package/cdn/chunks/chunk.EB6SZ2ME.js +25 -0
- package/cdn/chunks/chunk.EDWOOCJS.js +21 -0
- package/cdn/chunks/chunk.EGCFKZRA.js +11 -0
- package/cdn/chunks/chunk.EMNCBZZF.js +21 -0
- package/cdn/chunks/chunk.ETTUKEX2.js +21 -0
- package/cdn/chunks/chunk.EZBTJYKW.js +11 -0
- package/cdn/chunks/chunk.FLO4YQKA.js +24 -0
- package/cdn/chunks/chunk.FTE3BHQA.js +28 -0
- package/cdn/chunks/chunk.G5SN4ATN.js +29 -0
- package/cdn/chunks/chunk.GC2Q57ME.js +11 -0
- package/cdn/chunks/chunk.GJLSJRGM.js +235 -0
- package/cdn/chunks/chunk.GZBPWBFQ.js +11 -0
- package/cdn/chunks/chunk.H2HIFHL4.js +515 -0
- package/cdn/chunks/chunk.H3QBL45P.js +21 -0
- package/cdn/chunks/chunk.H5U6ZDNP.js +54 -0
- package/cdn/chunks/chunk.HHETPBMQ.js +291 -0
- package/cdn/chunks/chunk.HHN3CABS.js +95 -0
- package/cdn/chunks/chunk.HQUJGA42.js +25 -0
- package/cdn/chunks/chunk.HYS7OSVZ.js +28 -0
- package/cdn/chunks/chunk.I6RV2R33.js +455 -0
- package/cdn/chunks/chunk.IM5V5CZX.js +586 -0
- package/cdn/chunks/chunk.IWAMU5T3.js +24 -0
- package/cdn/chunks/chunk.J3SBHDCS.js +11 -0
- package/cdn/chunks/chunk.J6DWSXVL.js +27 -0
- package/cdn/chunks/chunk.J6LZ3NHX.js +11 -0
- package/cdn/chunks/chunk.JFJVTIF7.js +11 -0
- package/cdn/chunks/chunk.JIFO673L.js +21 -0
- package/cdn/chunks/chunk.JJEXKS3G.js +25 -0
- package/cdn/chunks/chunk.JJPZQTBS.js +279 -0
- package/cdn/chunks/chunk.JUN4MTEQ.js +313 -0
- package/cdn/chunks/chunk.JWFO2VSY.js +24 -0
- package/cdn/chunks/chunk.JZKLFF3X.js +11 -0
- package/cdn/chunks/chunk.KC5TMHKO.js +21 -0
- package/cdn/chunks/chunk.KGUHKJHO.js +336 -0
- package/cdn/chunks/chunk.KIX5SSVB.js +233 -0
- package/cdn/chunks/chunk.KKMGVTZE.js +79 -0
- package/cdn/chunks/chunk.KLAHC6ES.js +11 -0
- package/cdn/chunks/chunk.LALK3Z7C.js +11 -0
- package/cdn/chunks/chunk.LIJO3XYE.js +27 -0
- package/cdn/chunks/chunk.LJW5NGJP.js +11 -0
- package/cdn/chunks/chunk.LM5DJPXX.js +28 -0
- package/cdn/chunks/chunk.LX2L2CLA.js +28 -0
- package/cdn/chunks/chunk.LXUPIU2G.js +197 -0
- package/cdn/chunks/chunk.LZACVHGL.js +255 -0
- package/cdn/chunks/chunk.LZOQGUC3.js +29 -0
- package/cdn/chunks/chunk.M6WQKQTZ.js +334 -0
- package/cdn/chunks/chunk.MA5WO3E3.js +11 -0
- package/cdn/chunks/chunk.MACB645Y.js +11 -0
- package/cdn/chunks/chunk.MCBYLKTJ.js +236 -0
- package/cdn/chunks/chunk.MMJQPEXM.js +155 -0
- package/cdn/chunks/chunk.MRBMQJP3.js +29 -0
- package/cdn/chunks/chunk.MRGEWIRP.js +11 -0
- package/cdn/chunks/chunk.MRQ4RPBS.js +11 -0
- package/cdn/chunks/chunk.MSFCD7OR.js +26 -0
- package/cdn/chunks/chunk.MTXB66VF.js +21 -0
- package/cdn/chunks/chunk.MVFSDFDH.js +11 -0
- package/cdn/chunks/chunk.N4543YFZ.js +21 -0
- package/cdn/chunks/chunk.NDJ2FQS5.js +21 -0
- package/cdn/chunks/chunk.NLKB4SMT.js +11 -0
- package/cdn/chunks/chunk.NLKQ7WRY.js +367 -0
- package/cdn/chunks/chunk.NNFEEDGI.js +114 -0
- package/cdn/chunks/chunk.NNLPTNMJ.js +27 -0
- package/cdn/chunks/chunk.NPH4KMNE.js +93 -0
- package/cdn/chunks/chunk.NX3T6NE6.js +314 -0
- package/cdn/chunks/chunk.OFT7CWKV.js +11 -0
- package/cdn/chunks/chunk.OHCAKBFE.js +11 -0
- package/cdn/chunks/chunk.OXPAWWYQ.js +29 -0
- package/cdn/chunks/chunk.OZQFUUCA.js +26 -0
- package/cdn/chunks/chunk.PBAQRUIC.js +11 -0
- package/cdn/chunks/chunk.PD3R4OIX.js +183 -0
- package/cdn/chunks/chunk.PDYJEA7O.js +11 -0
- package/cdn/chunks/chunk.PFD3CFYX.js +27 -0
- package/cdn/chunks/chunk.PFYEI3HJ.js +11 -0
- package/cdn/chunks/chunk.PL3ASQPN.js +67 -0
- package/cdn/chunks/chunk.PWAY36H6.js +21 -0
- package/cdn/chunks/chunk.PXJXQBM2.js +822 -0
- package/cdn/chunks/chunk.Q2Q6JJY5.js +11 -0
- package/cdn/chunks/chunk.QEVEBBQC.js +11 -0
- package/cdn/chunks/chunk.QK3XYD26.js +25 -0
- package/cdn/chunks/chunk.QKQUFEKO.js +11 -0
- package/cdn/chunks/chunk.QOUCXP2H.js +11 -0
- package/cdn/chunks/chunk.QSG6NEIL.js +25 -0
- package/cdn/chunks/chunk.QTDWVHJJ.js +24 -0
- package/cdn/chunks/chunk.QXOHHRYA.js +127 -0
- package/cdn/chunks/chunk.RMKURFLN.js +11 -0
- package/cdn/chunks/chunk.RPS4DGWP.js +11 -0
- package/cdn/chunks/chunk.RPXRRMJP.js +24 -0
- package/cdn/chunks/chunk.RRNEYPFW.js +11 -0
- package/cdn/chunks/chunk.RRSWQAUL.js +11 -0
- package/cdn/chunks/chunk.RSCYDI2D.js +21 -0
- package/cdn/chunks/chunk.RXRVBR3Z.js +50 -0
- package/cdn/chunks/chunk.S4DY7KMR.js +11 -0
- package/cdn/chunks/chunk.S5EU5CBU.js +11 -0
- package/cdn/chunks/chunk.SHDEMQUZ.js +21 -0
- package/cdn/chunks/chunk.SP7WSCM6.js +21 -0
- package/cdn/chunks/chunk.SS5MTRHG.js +24 -0
- package/cdn/chunks/chunk.STJANZDP.js +11 -0
- package/cdn/chunks/chunk.SXAUBZ56.js +24 -0
- package/cdn/chunks/chunk.SZ2K6XKK.js +153 -0
- package/cdn/chunks/chunk.T754DV56.js +11 -0
- package/cdn/chunks/chunk.TEMXSAZW.js +21 -0
- package/cdn/chunks/chunk.TIPQV3FE.js +11 -0
- package/cdn/chunks/chunk.TLLBVDXL.js +11 -0
- package/cdn/chunks/chunk.TQHPDS6M.js +11 -0
- package/cdn/chunks/chunk.TRQAZYFW.js +158 -0
- package/cdn/chunks/chunk.TRUH7BW4.js +113 -0
- package/cdn/chunks/chunk.U4PX3B7C.js +21 -0
- package/cdn/chunks/chunk.U6SLENYO.js +87 -0
- package/cdn/chunks/chunk.UBUG7BOC.js +11 -0
- package/cdn/chunks/chunk.ULRISOA4.js +391 -0
- package/cdn/chunks/chunk.UVP3V5Z2.js +135 -0
- package/cdn/chunks/chunk.V4P7MA7M.js +77 -0
- package/cdn/chunks/chunk.VDGTKOSL.js +25 -0
- package/cdn/chunks/chunk.VDR3LRG6.js +11 -0
- package/cdn/chunks/chunk.VEYJKKIO.js +36 -0
- package/cdn/chunks/chunk.VHNYSBJX.js +335 -0
- package/cdn/chunks/chunk.VJUIUYMI.js +21 -0
- package/cdn/chunks/chunk.VLZ7MP4C.js +21 -0
- package/cdn/chunks/chunk.VRLOBCSH.js +302 -0
- package/cdn/chunks/chunk.VW5TH327.js +11 -0
- package/cdn/chunks/chunk.W5QBUFQN.js +11 -0
- package/cdn/chunks/chunk.W6QAVMGN.js +1925 -0
- package/cdn/chunks/chunk.WHZTGM5R.js +5845 -0
- package/cdn/chunks/chunk.WIIUT3V7.js +502 -0
- package/cdn/chunks/chunk.WL4ACLEQ.js +21 -0
- package/cdn/chunks/chunk.WN6J5ARU.js +21 -0
- package/cdn/chunks/chunk.WOT6FDXA.js +2664 -0
- package/cdn/chunks/chunk.WREBCP5B.js +11 -0
- package/cdn/chunks/chunk.X55JHD5V.js +299 -0
- package/cdn/chunks/chunk.XCHSZLPK.js +11 -0
- package/cdn/chunks/chunk.XEOHKAS2.js +11 -0
- package/cdn/chunks/chunk.XESRDP62.js +346 -0
- package/cdn/chunks/chunk.XHFA75ZT.js +1223 -0
- package/cdn/chunks/chunk.XQBGYT3A.js +120 -0
- package/cdn/chunks/chunk.XQSNIN63.js +11 -0
- package/cdn/chunks/chunk.XQYQHUM2.js +11 -0
- package/cdn/chunks/chunk.XUEJ2TUM.js +186 -0
- package/cdn/chunks/chunk.XXFXYJ4E.js +379 -0
- package/cdn/chunks/chunk.Y75WHQLP.js +97 -0
- package/cdn/chunks/chunk.YA3XGNQU.js +27 -0
- package/cdn/chunks/chunk.YEDIBZND.js +24 -0
- package/cdn/chunks/chunk.YX4KNYJ5.js +21 -0
- package/cdn/chunks/chunk.Z2PIKGJI.js +25 -0
- package/cdn/chunks/chunk.Z6M6VTWR.js +11 -0
- package/cdn/chunks/chunk.ZB46MZZQ.js +82 -0
- package/cdn/chunks/chunk.ZEV3XC4F.js +103 -0
- package/cdn/chunks/chunk.ZHYOC7HD.js +190 -0
- package/cdn/chunks/chunk.ZN6DLIAX.js +11 -0
- package/cdn/chunks/chunk.ZS47WVJ2.js +11 -0
- package/cdn/chunks/chunk.ZSIRTHBW.js +7252 -0
- package/cdn/chunks/chunk.ZSMLDO5K.js +11 -0
- package/cdn/chunks/chunk.ZZVPSAXA.js +24 -0
- package/cdn/components/alert/alert.component.js +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +6 -6
- package/cdn/components/calendar/calendar.js +6 -6
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +12 -12
- package/cdn/components/color-picker/color-picker.js +13 -13
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +9 -9
- package/cdn/components/date-panel/date-panel.js +9 -9
- package/cdn/components/datepicker/datepicker.component.js +13 -13
- package/cdn/components/datepicker/datepicker.js +13 -13
- package/cdn/components/daterange/daterange.component.js +8 -8
- package/cdn/components/daterange/daterange.js +9 -9
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +5 -5
- package/cdn/components/dialog/dialog.js +6 -6
- package/cdn/components/dialog/dialog.styles.js +1 -1
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +4 -4
- package/cdn/components/drawer/drawer.js +5 -5
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +5 -5
- package/cdn/components/menu-item/menu-item.js +6 -6
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +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 +3 -3
- package/cdn/components/nav-item/nav-item.js +4 -4
- package/cdn/components/nav-item/nav-item.styles.js +1 -1
- package/cdn/components/nav-submenu/nav-submenu.component.js +5 -5
- package/cdn/components/nav-submenu/nav-submenu.js +6 -6
- package/cdn/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +8 -8
- package/cdn/components/pagination/pagination.component.js +9 -9
- package/cdn/components/pagination/pagination.js +9 -9
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +6 -6
- package/cdn/components/select/select.js +7 -7
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +2 -2
- package/cdn/components/table/head-table.js +19 -19
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +26 -26
- package/cdn/components/table/table.js +27 -27
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-panel/time-panel.component.js +5 -5
- package/cdn/components/time-panel/time-panel.js +5 -5
- package/cdn/components/timepicker/timepicker.component.js +13 -13
- package/cdn/components/timepicker/timepicker.js +13 -13
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +7 -7
- package/cdn/components/tree/tree.js +8 -8
- package/cdn/components/tree-item/tree-item.component.js +5 -5
- package/cdn/components/tree-item/tree-item.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +9140 -9140
- package/cdn/react/alert/index.js +5 -5
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +13 -13
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +10 -10
- package/cdn/react/datepicker/index.js +14 -14
- package/cdn/react/daterange/index.js +9 -9
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +6 -6
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +5 -5
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +195 -195
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +6 -6
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +3 -3
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +4 -4
- package/cdn/react/nav-submenu/index.js +6 -6
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +10 -10
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +7 -7
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-group/index.js +6 -6
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +27 -27
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/timepicker/index.js +14 -14
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +8 -8
- package/cdn/react/tree-item/index.js +6 -6
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +167 -167
- package/cdn/themes/dark.css +42 -0
- package/cdn/themes/dark.styles.js +42 -0
- package/cdn/themes/light.css +2 -2
- package/cdn/themes/light.styles.js +2 -2
- package/cdn/themes/nova.css +41 -0
- package/cdn/themes/nova.styles.js +41 -0
- package/cdn/types/vue/index.d.ts +754 -754
- package/cdn/vscode.html-custom-data.json +617 -617
- package/cdn/web-types.json +1583 -1583
- package/dist/chunks/chunk.223VZVEM.js +21 -0
- package/dist/chunks/chunk.2GGBLR2P.js +274 -0
- package/dist/chunks/chunk.2LEINLRX.js +11 -0
- package/dist/chunks/chunk.2LUHK26V.js +11 -0
- package/dist/chunks/chunk.2OGIQIU4.js +188 -0
- package/dist/chunks/chunk.2WG3ZBA3.js +11 -0
- package/dist/chunks/chunk.37RKHEOR.js +27 -0
- package/dist/chunks/chunk.3A6GQCKU.js +11 -0
- package/dist/chunks/chunk.3EHQPXML.js +25 -0
- package/dist/chunks/chunk.3PIY7LYJ.js +25 -0
- package/dist/chunks/chunk.3VQGCENE.js +11 -0
- package/dist/chunks/chunk.4ESJ4FUZ.js +247 -0
- package/dist/chunks/chunk.4HVTL6LK.js +109 -0
- package/dist/chunks/chunk.4J264PD6.js +11 -0
- package/dist/chunks/chunk.4OEEEKJH.js +11 -0
- package/dist/chunks/chunk.4PEAPK2D.js +11 -0
- package/dist/chunks/chunk.4VODEWDA.js +21 -0
- package/dist/chunks/chunk.57KYN7K2.js +11 -0
- package/dist/chunks/chunk.5BMMIJIB.js +11 -0
- package/dist/chunks/chunk.5DNTIITZ.js +28 -0
- package/dist/chunks/chunk.5IQMUKIF.js +21 -0
- package/dist/chunks/chunk.5J5O6YEX.js +27 -0
- package/dist/chunks/chunk.5MPRF7P3.js +11 -0
- package/dist/chunks/chunk.5NIDMQTO.js +27 -0
- package/dist/chunks/chunk.5RTMJSYA.js +11 -0
- package/dist/chunks/chunk.5RV7OSEK.js +21 -0
- package/dist/chunks/chunk.5V6KLE7G.js +28 -0
- package/dist/chunks/chunk.67E5MTNW.js +949 -0
- package/dist/chunks/chunk.6BQ7UA7Y.js +192 -0
- package/dist/chunks/chunk.6JQMMJAW.js +28 -0
- package/dist/chunks/chunk.6JSXJJX2.js +11 -0
- package/dist/chunks/chunk.6PFU2JMW.js +21 -0
- package/dist/chunks/chunk.6TCX3JAN.js +25 -0
- package/dist/chunks/chunk.6YL4MWZK.js +11 -0
- package/dist/chunks/chunk.72W3VB3G.js +24 -0
- package/dist/chunks/chunk.7FAGA6SS.js +11 -0
- package/dist/chunks/chunk.7L4XHE5K.js +116 -0
- package/dist/chunks/chunk.7OTIP7QP.js +85 -0
- package/dist/chunks/chunk.7QTU26ZK.js +33 -0
- package/dist/chunks/chunk.7SSV4L7W.js +11 -0
- package/dist/chunks/chunk.7XXGN4YQ.js +11 -0
- package/dist/chunks/chunk.7ZNVN4YX.js +26 -0
- package/dist/chunks/chunk.A3BE34EQ.js +11 -0
- package/dist/chunks/chunk.ACBQACJS.js +34 -0
- package/dist/chunks/chunk.AEUNCNGZ.js +29 -0
- package/dist/chunks/chunk.AEXVFRIV.js +326 -0
- package/dist/chunks/chunk.AJ7UG7Z3.js +361 -0
- package/dist/chunks/chunk.AJLLICMK.js +75 -0
- package/dist/chunks/chunk.AMG3ARFC.js +11 -0
- package/dist/chunks/chunk.APPWE47X.js +26 -0
- package/dist/chunks/chunk.APWLI7DN.js +759 -0
- package/dist/chunks/chunk.AVQHKBAV.js +11 -0
- package/dist/chunks/chunk.BCHNMKET.js +24 -0
- package/dist/chunks/chunk.BJQSTSQV.js +11 -0
- package/dist/chunks/chunk.BOR3BYCE.js +24 -0
- package/dist/chunks/chunk.BR7DDTQ4.js +11 -0
- package/dist/chunks/chunk.BXO7MLLQ.js +28 -0
- package/dist/chunks/chunk.C6CVPPSA.js +21 -0
- package/dist/chunks/chunk.CLT3CYNE.js +100 -0
- package/dist/chunks/chunk.CMTJUJID.js +814 -0
- package/dist/chunks/chunk.CMU3IVNR.js +28 -0
- package/dist/chunks/chunk.CUHSLNAG.js +75 -0
- package/dist/chunks/chunk.CUIQXIDW.js +59 -0
- package/dist/chunks/chunk.CW7YV6TL.js +21 -0
- package/dist/chunks/chunk.CXHTHCYU.js +25 -0
- package/dist/chunks/chunk.D6ALX2IN.js +21 -0
- package/dist/chunks/chunk.D7AHFBFH.js +213 -0
- package/dist/chunks/chunk.DAFTXLXT.js +11 -0
- package/dist/chunks/chunk.DFJAXRYO.js +100 -0
- package/dist/chunks/chunk.DFZEGCJI.js +91 -0
- package/dist/chunks/chunk.DKKAWVRO.js +11 -0
- package/dist/chunks/chunk.DLGJJYME.js +29 -0
- package/dist/chunks/chunk.DONMNHMV.js +577 -0
- package/dist/chunks/chunk.DY3Y4NFJ.js +24 -0
- package/dist/chunks/chunk.EGU4HMTD.js +11 -0
- package/dist/chunks/chunk.ELXHO4S3.js +11 -0
- package/dist/chunks/chunk.FMM44VN6.js +11 -0
- package/dist/chunks/chunk.FWWIFAUG.js +280 -0
- package/dist/chunks/chunk.FXGINRVH.js +27 -0
- package/dist/chunks/chunk.G2FIRR46.js +306 -0
- package/dist/chunks/chunk.G5ISK3BU.js +11 -0
- package/dist/chunks/chunk.GCD47KBA.js +21 -0
- package/dist/chunks/chunk.GDF3VXVB.js +25 -0
- package/dist/chunks/chunk.GDFWEXLR.js +397 -0
- package/dist/chunks/chunk.HMFJXCMV.js +147 -0
- package/dist/chunks/chunk.HOZPSOMB.js +11 -0
- package/dist/chunks/chunk.HS3DSPZO.js +11 -0
- package/dist/chunks/chunk.HUPKM5UW.js +11 -0
- package/dist/chunks/chunk.HW7GTGF2.js +126 -0
- package/dist/chunks/chunk.I5ESCHS2.js +134 -0
- package/dist/chunks/chunk.I5YU6K4U.js +96 -0
- package/dist/chunks/chunk.IB2MEOXY.js +21 -0
- package/dist/chunks/chunk.IB3VZJRB.js +126 -0
- package/dist/chunks/chunk.ICU7CJQU.js +11 -0
- package/dist/chunks/chunk.IKQS4SBZ.js +180 -0
- package/dist/chunks/chunk.IOM5T7ZI.js +286 -0
- package/dist/chunks/chunk.IUXIO43F.js +80 -0
- package/dist/chunks/chunk.IWQYMGCA.js +29 -0
- package/dist/chunks/chunk.J3AY77KD.js +63 -0
- package/dist/chunks/chunk.JBYUF4RE.js +214 -0
- package/dist/chunks/chunk.JDF3ZXO4.js +90 -0
- package/dist/chunks/chunk.JIRNDAXQ.js +148 -0
- package/dist/chunks/chunk.JOG3GP3Y.js +11 -0
- package/dist/chunks/chunk.JP3HAWDR.js +45 -0
- package/dist/chunks/chunk.JPVJEVFM.js +231 -0
- package/dist/chunks/chunk.JQPPMZPT.js +73 -0
- package/dist/chunks/chunk.JVLZ66DT.js +22 -0
- package/dist/chunks/chunk.K57VSYNP.js +24 -0
- package/dist/chunks/chunk.K6B5IHVG.js +21 -0
- package/dist/chunks/chunk.K6ZMGFJZ.js +454 -0
- package/dist/chunks/chunk.KDQGUY6W.js +21 -0
- package/dist/chunks/chunk.KGBSQCIN.js +11 -0
- package/dist/chunks/chunk.KJRYOAIQ.js +181 -0
- package/dist/chunks/chunk.KLZC627P.js +11 -0
- package/dist/chunks/chunk.KSWSWCPU.js +494 -0
- package/dist/chunks/chunk.KUOOK7D6.js +11 -0
- package/dist/chunks/chunk.L3SREJXK.js +230 -0
- package/dist/chunks/chunk.LDLTERCF.js +21 -0
- package/dist/chunks/chunk.LIS6RTOX.js +27 -0
- package/dist/chunks/chunk.LOIDO45I.js +227 -0
- package/dist/chunks/chunk.LUB6NSTR.js +93 -0
- package/dist/chunks/chunk.MEFAPVHC.js +21 -0
- package/dist/chunks/chunk.MFBDKZCQ.js +11 -0
- package/dist/chunks/chunk.ML2HEWDO.js +294 -0
- package/dist/chunks/chunk.MMKXREC6.js +24 -0
- package/dist/chunks/chunk.MOSE42CI.js +550 -0
- package/dist/chunks/chunk.MY5LC322.js +67 -0
- package/dist/chunks/chunk.N3QVGDPP.js +26 -0
- package/dist/chunks/chunk.N53XDQYW.js +45 -0
- package/dist/chunks/chunk.NFVKFHLP.js +135 -0
- package/dist/chunks/chunk.NGYRYM6N.js +11 -0
- package/dist/chunks/chunk.NI3YHVXQ.js +11 -0
- package/dist/chunks/chunk.NLNIFQB7.js +417 -0
- package/dist/chunks/chunk.NRKXDEZN.js +167 -0
- package/dist/chunks/chunk.NVTROG33.js +24 -0
- package/dist/chunks/chunk.O4JUVR2Z.js +21 -0
- package/dist/chunks/chunk.OCMMXSGM.js +21 -0
- package/dist/chunks/chunk.OJ5KQ2N6.js +371 -0
- package/dist/chunks/chunk.OUEOR24B.js +152 -0
- package/dist/chunks/chunk.OVRP7SCW.js +11 -0
- package/dist/chunks/chunk.OWGHUKJT.js +11 -0
- package/dist/chunks/chunk.OXCEIP4D.js +21 -0
- package/dist/chunks/chunk.P6H6LFK6.js +11 -0
- package/dist/chunks/chunk.P7NJ766H.js +21 -0
- package/dist/chunks/chunk.PJ5YDOOR.js +21 -0
- package/dist/chunks/chunk.PNBNNXAE.js +11 -0
- package/dist/chunks/chunk.POIFPHSW.js +11 -0
- package/dist/chunks/chunk.Q6XBKIKU.js +345 -0
- package/dist/chunks/chunk.QCP6XLVO.js +117 -0
- package/dist/chunks/chunk.QDYFAE4C.js +24 -0
- package/dist/chunks/chunk.QEDGF3Q6.js +25 -0
- package/dist/chunks/chunk.QFBVFH3H.js +11 -0
- package/dist/chunks/chunk.QGACMWH5.js +11 -0
- package/dist/chunks/chunk.QLP3FUXD.js +331 -0
- package/dist/chunks/chunk.R3TJXBBX.js +11 -0
- package/dist/chunks/chunk.RHIGMPRD.js +384 -0
- package/dist/chunks/chunk.RQKP666V.js +448 -0
- package/dist/chunks/chunk.RSFSIT42.js +46 -0
- package/dist/chunks/chunk.SAVIMCUW.js +11 -0
- package/dist/chunks/chunk.SQBURCNA.js +111 -0
- package/dist/chunks/chunk.SVB3JJF6.js +21 -0
- package/dist/chunks/chunk.T2V3TM34.js +11 -0
- package/dist/chunks/chunk.T6GNVPBE.js +11 -0
- package/dist/chunks/chunk.TK3QCEQE.js +11 -0
- package/dist/chunks/chunk.TMDHKQYC.js +25 -0
- package/dist/chunks/chunk.TMW55T5C.js +1221 -0
- package/dist/chunks/chunk.TUF2UAQ6.js +50 -0
- package/dist/chunks/chunk.U6XBQJAS.js +28 -0
- package/dist/chunks/chunk.U7NL5I3V.js +315 -0
- package/dist/chunks/chunk.UF6OTKUN.js +136 -0
- package/dist/chunks/chunk.UKG4SK62.js +52 -0
- package/dist/chunks/chunk.UKM7FUXP.js +1064 -0
- package/dist/chunks/chunk.UNESK4ZR.js +25 -0
- package/dist/chunks/chunk.URDGW7Q4.js +263 -0
- package/dist/chunks/chunk.UYNBFPYP.js +506 -0
- package/dist/chunks/chunk.VFA4IRBZ.js +29 -0
- package/dist/chunks/chunk.VFBSZZ6A.js +328 -0
- package/dist/chunks/chunk.VI64RMZE.js +21 -0
- package/dist/chunks/chunk.VIDDUYKN.js +24 -0
- package/dist/chunks/chunk.VIPJU4IR.js +11 -0
- package/dist/chunks/chunk.WDIFRG2W.js +21 -0
- package/dist/chunks/chunk.WDJMAWPD.js +22 -0
- package/dist/chunks/chunk.WIG3P76X.js +21 -0
- package/dist/chunks/chunk.WMRA22XF.js +11 -0
- package/dist/chunks/chunk.WNKXT66E.js +11 -0
- package/dist/chunks/chunk.WQBXNYRY.js +311 -0
- package/dist/chunks/chunk.WRDEVFBZ.js +11 -0
- package/dist/chunks/chunk.WRXJWKY4.js +337 -0
- package/dist/chunks/chunk.WXBMB2HA.js +25 -0
- package/dist/chunks/chunk.X2XIRKUV.js +27 -0
- package/dist/chunks/chunk.X3AGI6YL.js +21 -0
- package/dist/chunks/chunk.X3UKKW7K.js +11 -0
- package/dist/chunks/chunk.X5RCL3YC.js +113 -0
- package/dist/chunks/chunk.XLCI5RL7.js +11 -0
- package/dist/chunks/chunk.XLEG6INU.js +21 -0
- package/dist/chunks/chunk.XRYA5SYA.js +11 -0
- package/dist/chunks/chunk.XVJ6QERN.js +11 -0
- package/dist/chunks/chunk.XX6NFIBF.js +11 -0
- package/dist/chunks/chunk.Y4RQDZBR.js +151 -0
- package/dist/chunks/chunk.YB2RED7N.js +21 -0
- package/dist/chunks/chunk.YC7RT22D.js +293 -0
- package/dist/chunks/chunk.YCSABC7B.js +11 -0
- package/dist/chunks/chunk.YDZHIY2T.js +11 -0
- package/dist/chunks/chunk.YFYBJDLP.js +11 -0
- package/dist/chunks/chunk.YLXNBX2W.js +24 -0
- package/dist/chunks/chunk.YTSZAEYM.js +11 -0
- package/dist/chunks/chunk.YZ63LOCS.js +25 -0
- package/dist/chunks/chunk.ZGZ3UL6N.js +24 -0
- package/dist/chunks/chunk.ZLVTBNS2.js +25 -0
- package/dist/chunks/chunk.ZNX2BE6C.js +119 -0
- package/dist/chunks/chunk.ZSJLW4OH.js +42 -0
- package/dist/chunks/chunk.ZSKCVEBV.js +11 -0
- package/dist/chunks/chunk.ZXAR2FG7.js +24 -0
- package/dist/chunks/chunk.ZZ7RG7GR.js +24 -0
- package/dist/components/alert/alert.component.js +4 -4
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +4 -4
- package/dist/components/button/button.js +5 -5
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +6 -6
- package/dist/components/calendar/calendar.js +6 -6
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +12 -12
- package/dist/components/color-picker/color-picker.js +13 -13
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/date-panel/date-panel.component.js +9 -9
- package/dist/components/date-panel/date-panel.js +9 -9
- package/dist/components/datepicker/datepicker.component.js +13 -13
- package/dist/components/datepicker/datepicker.js +13 -13
- package/dist/components/daterange/daterange.component.js +8 -8
- package/dist/components/daterange/daterange.js +9 -9
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +4 -4
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.component.js +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 +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +3 -3
- package/dist/components/input/input.js +4 -4
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +5 -5
- package/dist/components/menu-item/menu-item.js +6 -6
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +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 +3 -3
- package/dist/components/nav-item/nav-item.js +4 -4
- package/dist/components/nav-item/nav-item.styles.js +1 -1
- package/dist/components/nav-submenu/nav-submenu.component.js +5 -5
- package/dist/components/nav-submenu/nav-submenu.js +6 -6
- package/dist/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +8 -8
- package/dist/components/pagination/pagination.component.js +9 -9
- package/dist/components/pagination/pagination.js +9 -9
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/select/select.component.js +6 -6
- package/dist/components/select/select.js +7 -7
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/head-table.js +19 -19
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +26 -26
- package/dist/components/table/table.js +27 -27
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +5 -5
- package/dist/components/time-panel/time-panel.js +5 -5
- package/dist/components/timepicker/timepicker.component.js +13 -13
- package/dist/components/timepicker/timepicker.js +13 -13
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +7 -7
- package/dist/components/tree/tree.js +8 -8
- package/dist/components/tree-item/tree-item.component.js +5 -5
- package/dist/components/tree-item/tree-item.js +6 -6
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +9140 -9140
- package/dist/react/alert/index.js +5 -5
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +5 -5
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +13 -13
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +10 -10
- package/dist/react/datepicker/index.js +14 -14
- package/dist/react/daterange/index.js +9 -9
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +6 -6
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +5 -5
- 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 +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +195 -195
- package/dist/react/input/index.js +4 -4
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +6 -6
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +3 -3
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +4 -4
- package/dist/react/nav-submenu/index.js +6 -6
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +10 -10
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +7 -7
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +27 -27
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +14 -14
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +8 -8
- package/dist/react/tree-item/index.js +6 -6
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +167 -167
- package/dist/themes/dark.css +42 -0
- package/dist/themes/dark.styles.js +42 -0
- package/dist/themes/light.css +2 -2
- package/dist/themes/light.styles.js +2 -2
- package/dist/themes/nova.css +41 -0
- package/dist/themes/nova.styles.js +41 -0
- package/dist/types/vue/index.d.ts +754 -754
- package/dist/vscode.html-custom-data.json +617 -617
- package/dist/web-types.json +1583 -1583
- package/package.json +1 -1
- package/cdn/chunks/chunk.2ANFHNZR.js +0 -11
- package/cdn/chunks/chunk.2AURE7DN.js +0 -25
- package/cdn/chunks/chunk.2C6WXR6B.js +0 -75
- package/cdn/chunks/chunk.2ELTO72Y.js +0 -11
- package/cdn/chunks/chunk.2JVHEDYD.js +0 -197
- package/cdn/chunks/chunk.2LSS7622.js +0 -313
- package/cdn/chunks/chunk.2MRFFZRD.js +0 -11
- package/cdn/chunks/chunk.2RAA444R.js +0 -21
- package/cdn/chunks/chunk.2Y7AQDMG.js +0 -127
- package/cdn/chunks/chunk.2ZR3IGGY.js +0 -24
- package/cdn/chunks/chunk.32D4BBKZ.js +0 -29
- package/cdn/chunks/chunk.3BQEW5IO.js +0 -153
- package/cdn/chunks/chunk.3IY2CJXD.js +0 -49
- package/cdn/chunks/chunk.3NTL6CZN.js +0 -11
- package/cdn/chunks/chunk.43MD64U4.js +0 -21
- package/cdn/chunks/chunk.44BSCWWH.js +0 -279
- package/cdn/chunks/chunk.45BSHBRW.js +0 -24
- package/cdn/chunks/chunk.4KNSRI6Z.js +0 -140
- package/cdn/chunks/chunk.4M2GOQEC.js +0 -29
- package/cdn/chunks/chunk.4OHKW737.js +0 -11
- package/cdn/chunks/chunk.4W5SO2J5.js +0 -93
- package/cdn/chunks/chunk.535B6QZL.js +0 -271
- package/cdn/chunks/chunk.5I4CFKTM.js +0 -24
- package/cdn/chunks/chunk.5NFRVRC4.js +0 -11
- package/cdn/chunks/chunk.5PJQLYR6.js +0 -21
- package/cdn/chunks/chunk.5RS25KPK.js +0 -49
- package/cdn/chunks/chunk.65XFW2LP.js +0 -514
- package/cdn/chunks/chunk.6LYL6II2.js +0 -113
- package/cdn/chunks/chunk.6NPE3G2O.js +0 -11
- package/cdn/chunks/chunk.6T7RFQLK.js +0 -21
- package/cdn/chunks/chunk.74ZU2RIZ.js +0 -11
- package/cdn/chunks/chunk.7BWICHAC.js +0 -11
- package/cdn/chunks/chunk.7HSQ5QMC.js +0 -21
- package/cdn/chunks/chunk.7NYV3MGF.js +0 -219
- package/cdn/chunks/chunk.7TE3GWQW.js +0 -122
- package/cdn/chunks/chunk.7Y3PFUA6.js +0 -27
- package/cdn/chunks/chunk.7YN27UVO.js +0 -25
- package/cdn/chunks/chunk.A2D4SPKL.js +0 -25
- package/cdn/chunks/chunk.A6QBB2TR.js +0 -25
- package/cdn/chunks/chunk.A7MXUT3K.js +0 -29
- package/cdn/chunks/chunk.AAZ2DBN5.js +0 -11
- package/cdn/chunks/chunk.AOUGBCTO.js +0 -11
- package/cdn/chunks/chunk.AP6OTGUK.js +0 -11
- package/cdn/chunks/chunk.APVXSMAK.js +0 -24
- package/cdn/chunks/chunk.AQEUT6JX.js +0 -21
- package/cdn/chunks/chunk.ASONYWLA.js +0 -24
- package/cdn/chunks/chunk.AT2IQW7B.js +0 -21
- package/cdn/chunks/chunk.AUT3BAF3.js +0 -21
- package/cdn/chunks/chunk.B2M43KAI.js +0 -21
- package/cdn/chunks/chunk.B3A3UEWM.js +0 -21
- package/cdn/chunks/chunk.B5EKAEJG.js +0 -25
- package/cdn/chunks/chunk.B7A6V6JL.js +0 -11
- package/cdn/chunks/chunk.BAMTZRKX.js +0 -118
- package/cdn/chunks/chunk.BGEZNBXG.js +0 -50
- package/cdn/chunks/chunk.BIH7DO2W.js +0 -11
- package/cdn/chunks/chunk.BL3YMW2U.js +0 -21
- package/cdn/chunks/chunk.BL7FVQ7J.js +0 -114
- package/cdn/chunks/chunk.BLFTZ4DM.js +0 -5845
- package/cdn/chunks/chunk.BY2N3WW5.js +0 -24
- package/cdn/chunks/chunk.BZY7KZR5.js +0 -11
- package/cdn/chunks/chunk.CDDEHTPU.js +0 -21
- package/cdn/chunks/chunk.CGIFPKYD.js +0 -63
- package/cdn/chunks/chunk.CGL6NGHL.js +0 -73
- package/cdn/chunks/chunk.CN2O3HVN.js +0 -1925
- package/cdn/chunks/chunk.CQXU7Y6O.js +0 -21
- package/cdn/chunks/chunk.CQYMCDCI.js +0 -331
- package/cdn/chunks/chunk.CX3VFTX4.js +0 -135
- package/cdn/chunks/chunk.CY3LHSKR.js +0 -11
- package/cdn/chunks/chunk.CYZROCDR.js +0 -586
- package/cdn/chunks/chunk.D6KG5D73.js +0 -27
- package/cdn/chunks/chunk.DMLGCGKA.js +0 -24
- package/cdn/chunks/chunk.DVIU53ZR.js +0 -299
- package/cdn/chunks/chunk.DZ6JUKTG.js +0 -21
- package/cdn/chunks/chunk.E2DV6NOT.js +0 -42
- package/cdn/chunks/chunk.E62NOIUA.js +0 -11
- package/cdn/chunks/chunk.EF5XLBIU.js +0 -54
- package/cdn/chunks/chunk.EZGVNLEY.js +0 -28
- package/cdn/chunks/chunk.FHWYOD3C.js +0 -21
- package/cdn/chunks/chunk.FPV4Z2JF.js +0 -28
- package/cdn/chunks/chunk.G27B2RNY.js +0 -11
- package/cdn/chunks/chunk.GEEFRIG7.js +0 -11
- package/cdn/chunks/chunk.GXQ64LLR.js +0 -26
- package/cdn/chunks/chunk.H34HAPJ5.js +0 -11
- package/cdn/chunks/chunk.HAI2R6OF.js +0 -235
- package/cdn/chunks/chunk.HNMSSBQ4.js +0 -24
- package/cdn/chunks/chunk.HU6DWDEW.js +0 -11
- package/cdn/chunks/chunk.HXONEO7X.js +0 -27
- package/cdn/chunks/chunk.HZN6IFQR.js +0 -25
- package/cdn/chunks/chunk.IESFX4D3.js +0 -27
- package/cdn/chunks/chunk.IJLVKP54.js +0 -28
- package/cdn/chunks/chunk.IM6QY7U6.js +0 -25
- package/cdn/chunks/chunk.IOGJF7WI.js +0 -158
- package/cdn/chunks/chunk.IRC5ZYIE.js +0 -11
- package/cdn/chunks/chunk.J3N43RTH.js +0 -11
- package/cdn/chunks/chunk.J5GKPZ7W.js +0 -11
- package/cdn/chunks/chunk.J6I2CDX7.js +0 -27
- package/cdn/chunks/chunk.JMAC5YQQ.js +0 -11
- package/cdn/chunks/chunk.JMDQXRPF.js +0 -11
- package/cdn/chunks/chunk.JOM5QWHH.js +0 -11
- package/cdn/chunks/chunk.JPZG34IF.js +0 -11
- package/cdn/chunks/chunk.JQNVPJML.js +0 -11
- package/cdn/chunks/chunk.K7YZHZPD.js +0 -236
- package/cdn/chunks/chunk.KQGVYI5C.js +0 -21
- package/cdn/chunks/chunk.KU4UU26F.js +0 -11
- package/cdn/chunks/chunk.KWYMWYV2.js +0 -724
- package/cdn/chunks/chunk.LERS3OLO.js +0 -11
- package/cdn/chunks/chunk.LHIB3Z3N.js +0 -97
- package/cdn/chunks/chunk.LJEWVZ77.js +0 -186
- package/cdn/chunks/chunk.LLVPOFO2.js +0 -379
- package/cdn/chunks/chunk.LSATLAWV.js +0 -28
- package/cdn/chunks/chunk.LX2IWFEF.js +0 -155
- package/cdn/chunks/chunk.LYMXFK3P.js +0 -11
- package/cdn/chunks/chunk.M3Y63WL4.js +0 -402
- package/cdn/chunks/chunk.MDQDZSXF.js +0 -153
- package/cdn/chunks/chunk.MIUYHMNC.js +0 -11
- package/cdn/chunks/chunk.MOIF3Z3E.js +0 -2664
- package/cdn/chunks/chunk.MSCUABU5.js +0 -24
- package/cdn/chunks/chunk.MTYFP2UM.js +0 -11
- package/cdn/chunks/chunk.MU5NBMHU.js +0 -233
- package/cdn/chunks/chunk.MUJRJ6GC.js +0 -184
- package/cdn/chunks/chunk.N34ZSDV3.js +0 -11
- package/cdn/chunks/chunk.N5LB3TT2.js +0 -11
- package/cdn/chunks/chunk.N7Q72NUE.js +0 -28
- package/cdn/chunks/chunk.NBI577AT.js +0 -255
- package/cdn/chunks/chunk.NFSIBOTO.js +0 -11
- package/cdn/chunks/chunk.NN255IZD.js +0 -11
- package/cdn/chunks/chunk.NQJLEOES.js +0 -11
- package/cdn/chunks/chunk.NR7MEI4H.js +0 -131
- package/cdn/chunks/chunk.NWY46JQ5.js +0 -24
- package/cdn/chunks/chunk.NX4IAW2P.js +0 -24
- package/cdn/chunks/chunk.NYDFIK5N.js +0 -21
- package/cdn/chunks/chunk.O2HOC24X.js +0 -21
- package/cdn/chunks/chunk.O6EWXRP4.js +0 -67
- package/cdn/chunks/chunk.OA3B6M2Q.js +0 -11
- package/cdn/chunks/chunk.OA5HLVP5.js +0 -335
- package/cdn/chunks/chunk.OG62LYEF.js +0 -11
- package/cdn/chunks/chunk.OOQT2TBX.js +0 -11
- package/cdn/chunks/chunk.OOUW2ORP.js +0 -183
- package/cdn/chunks/chunk.OUG4IWNU.js +0 -583
- package/cdn/chunks/chunk.P4C7XM5V.js +0 -11
- package/cdn/chunks/chunk.PDW4ITD3.js +0 -391
- package/cdn/chunks/chunk.PJCIOBO6.js +0 -11
- package/cdn/chunks/chunk.PJPJOUZ5.js +0 -21
- package/cdn/chunks/chunk.PM7BEGTA.js +0 -26
- package/cdn/chunks/chunk.PNU4EGFD.js +0 -11
- package/cdn/chunks/chunk.Q5JRIPVS.js +0 -11
- package/cdn/chunks/chunk.QASVS77S.js +0 -24
- package/cdn/chunks/chunk.QBGZQYWU.js +0 -11
- package/cdn/chunks/chunk.QCNTIZSE.js +0 -822
- package/cdn/chunks/chunk.R3WA6QUO.js +0 -25
- package/cdn/chunks/chunk.R6HMX2L6.js +0 -26
- package/cdn/chunks/chunk.R7H6BXLA.js +0 -87
- package/cdn/chunks/chunk.RAVGH6MM.js +0 -11
- package/cdn/chunks/chunk.RCGXVMGO.js +0 -302
- package/cdn/chunks/chunk.RFRGPNT7.js +0 -103
- package/cdn/chunks/chunk.RMRLMJU4.js +0 -314
- package/cdn/chunks/chunk.RXREROOW.js +0 -120
- package/cdn/chunks/chunk.S2AVKNKF.js +0 -1990
- package/cdn/chunks/chunk.S6D6UD7Y.js +0 -29
- package/cdn/chunks/chunk.SFD7WQEX.js +0 -11
- package/cdn/chunks/chunk.SSJHYUS4.js +0 -347
- package/cdn/chunks/chunk.SUCNJ254.js +0 -24
- package/cdn/chunks/chunk.SZKBA4JQ.js +0 -25
- package/cdn/chunks/chunk.T4ZMCQYC.js +0 -11
- package/cdn/chunks/chunk.T5VD2RLO.js +0 -11
- package/cdn/chunks/chunk.TA7HPBMD.js +0 -1073
- package/cdn/chunks/chunk.TAFVA4F4.js +0 -21
- package/cdn/chunks/chunk.TI3J5ZIM.js +0 -336
- package/cdn/chunks/chunk.TIG6YRSY.js +0 -25
- package/cdn/chunks/chunk.TIOJHG3F.js +0 -21
- package/cdn/chunks/chunk.TO35TZHJ.js +0 -11
- package/cdn/chunks/chunk.TPPFJ4LN.js +0 -82
- package/cdn/chunks/chunk.TSF7OHVL.js +0 -11
- package/cdn/chunks/chunk.TWXT6YEQ.js +0 -11
- package/cdn/chunks/chunk.TXBCLBCL.js +0 -21
- package/cdn/chunks/chunk.TXX37JUT.js +0 -292
- package/cdn/chunks/chunk.U5PVJZU7.js +0 -142
- package/cdn/chunks/chunk.UJSSNNSI.js +0 -291
- package/cdn/chunks/chunk.UU6CWQL5.js +0 -77
- package/cdn/chunks/chunk.UVHXDKL6.js +0 -216
- package/cdn/chunks/chunk.UZ5OQMCS.js +0 -11
- package/cdn/chunks/chunk.V3LV5WHZ.js +0 -11
- package/cdn/chunks/chunk.VEZJ4ORU.js +0 -11
- package/cdn/chunks/chunk.VH2SZE2G.js +0 -36
- package/cdn/chunks/chunk.VHRF66AX.js +0 -455
- package/cdn/chunks/chunk.VRLSHUD4.js +0 -28
- package/cdn/chunks/chunk.VUJKTYVO.js +0 -11
- package/cdn/chunks/chunk.VVEBAZOQ.js +0 -24
- package/cdn/chunks/chunk.W66B5SLP.js +0 -7252
- package/cdn/chunks/chunk.W776AP3A.js +0 -27
- package/cdn/chunks/chunk.WSYL5MGY.js +0 -11
- package/cdn/chunks/chunk.X4TGYVLV.js +0 -11
- package/cdn/chunks/chunk.XCXXSZ7B.js +0 -137
- package/cdn/chunks/chunk.XGPOG3Q5.js +0 -334
- package/cdn/chunks/chunk.XLFHV7XJ.js +0 -21
- package/cdn/chunks/chunk.XNH5D5HS.js +0 -33
- package/cdn/chunks/chunk.XQSS2WIO.js +0 -1223
- package/cdn/chunks/chunk.XR62TNFR.js +0 -21
- package/cdn/chunks/chunk.XT24WCLH.js +0 -502
- package/cdn/chunks/chunk.XU345WQ7.js +0 -11
- package/cdn/chunks/chunk.Y3H727GQ.js +0 -24
- package/cdn/chunks/chunk.Y5IKTKQO.js +0 -11
- package/cdn/chunks/chunk.Y7DMPISY.js +0 -21
- package/cdn/chunks/chunk.YD2KL7UA.js +0 -95
- package/cdn/chunks/chunk.YLHMDTDR.js +0 -79
- package/cdn/chunks/chunk.YPSV5WBM.js +0 -11
- package/cdn/chunks/chunk.YZ65DU77.js +0 -367
- package/cdn/chunks/chunk.Z7IGUWKX.js +0 -11
- package/cdn/chunks/chunk.ZA4FUCXI.js +0 -48
- package/cdn/chunks/chunk.ZEOTY4T5.js +0 -276
- package/cdn/chunks/chunk.ZHCGTSQ3.js +0 -346
- package/cdn/chunks/chunk.ZUZEUQVX.js +0 -21
- package/cdn/chunks/chunk.ZW7HID73.js +0 -11
- package/cdn/chunks/chunk.ZZ6UAL6Z.js +0 -27
- package/dist/chunks/chunk.22KTYGXZ.js +0 -550
- package/dist/chunks/chunk.25H2DZUD.js +0 -91
- package/dist/chunks/chunk.2A57AUWH.js +0 -21
- package/dist/chunks/chunk.2CDGBHSY.js +0 -11
- package/dist/chunks/chunk.2FZVSPYP.js +0 -311
- package/dist/chunks/chunk.2YPB46MI.js +0 -11
- package/dist/chunks/chunk.36DPUUIK.js +0 -949
- package/dist/chunks/chunk.3ACESSXA.js +0 -11
- package/dist/chunks/chunk.3GASPFAI.js +0 -181
- package/dist/chunks/chunk.3JZG7STV.js +0 -11
- package/dist/chunks/chunk.3OHH5CWN.js +0 -117
- package/dist/chunks/chunk.3QNSHONM.js +0 -25
- package/dist/chunks/chunk.3RADAMBJ.js +0 -151
- package/dist/chunks/chunk.3RG4PJ6U.js +0 -11
- package/dist/chunks/chunk.3WEEIKOU.js +0 -29
- package/dist/chunks/chunk.4AQKRH46.js +0 -759
- package/dist/chunks/chunk.4K3UO55T.js +0 -21
- package/dist/chunks/chunk.4TGHNAQJ.js +0 -11
- package/dist/chunks/chunk.4TTDKYCD.js +0 -11
- package/dist/chunks/chunk.4X6C5HF5.js +0 -11
- package/dist/chunks/chunk.4YAUBV43.js +0 -11
- package/dist/chunks/chunk.5AD5XVYQ.js +0 -21
- package/dist/chunks/chunk.5EC5OV7H.js +0 -22
- package/dist/chunks/chunk.5GDFDL4H.js +0 -11
- package/dist/chunks/chunk.5J7GFPEK.js +0 -328
- package/dist/chunks/chunk.5MCUW6TP.js +0 -397
- package/dist/chunks/chunk.5NCBWC32.js +0 -11
- package/dist/chunks/chunk.5TIG6TTL.js +0 -148
- package/dist/chunks/chunk.5U77RHUJ.js +0 -247
- package/dist/chunks/chunk.63SHV6HO.js +0 -116
- package/dist/chunks/chunk.6AWZA5NZ.js +0 -45
- package/dist/chunks/chunk.6CXHASIO.js +0 -93
- package/dist/chunks/chunk.6D3HU6TE.js +0 -100
- package/dist/chunks/chunk.6NVMKPVA.js +0 -25
- package/dist/chunks/chunk.6PWWASJZ.js +0 -814
- package/dist/chunks/chunk.6WWQH3OT.js +0 -24
- package/dist/chunks/chunk.7664DVRI.js +0 -11
- package/dist/chunks/chunk.7H4CJHPC.js +0 -11
- package/dist/chunks/chunk.7KRAXOHM.js +0 -21
- package/dist/chunks/chunk.7KWWESTA.js +0 -213
- package/dist/chunks/chunk.7NZYYRC4.js +0 -21
- package/dist/chunks/chunk.7PZ4HH4J.js +0 -21
- package/dist/chunks/chunk.7RO7OYPQ.js +0 -25
- package/dist/chunks/chunk.7RWIJ24M.js +0 -21
- package/dist/chunks/chunk.A2NRFT2S.js +0 -75
- package/dist/chunks/chunk.A5DC3DHY.js +0 -29
- package/dist/chunks/chunk.A5M7NGGF.js +0 -11
- package/dist/chunks/chunk.ABCAOB5C.js +0 -11
- package/dist/chunks/chunk.ACR3AG5H.js +0 -25
- package/dist/chunks/chunk.AEDVWRCW.js +0 -11
- package/dist/chunks/chunk.AEKEILDA.js +0 -119
- package/dist/chunks/chunk.AJKA6QBN.js +0 -280
- package/dist/chunks/chunk.B3DZVBFN.js +0 -11
- package/dist/chunks/chunk.B3YAF3VT.js +0 -11
- package/dist/chunks/chunk.BCXLJZRN.js +0 -21
- package/dist/chunks/chunk.BD65VVAG.js +0 -192
- package/dist/chunks/chunk.BGBZSHUH.js +0 -24
- package/dist/chunks/chunk.BN74GDIA.js +0 -577
- package/dist/chunks/chunk.BPT7NWMO.js +0 -11
- package/dist/chunks/chunk.BS3PYP6L.js +0 -11
- package/dist/chunks/chunk.C5JVNRJP.js +0 -11
- package/dist/chunks/chunk.C7Z3CZKS.js +0 -306
- package/dist/chunks/chunk.CIDETZJ7.js +0 -22
- package/dist/chunks/chunk.CIS62PZW.js +0 -11
- package/dist/chunks/chunk.CJL4W6LZ.js +0 -21
- package/dist/chunks/chunk.CMF7JBZ3.js +0 -11
- package/dist/chunks/chunk.CWHQSZ5T.js +0 -11
- package/dist/chunks/chunk.D2WIU5AH.js +0 -75
- package/dist/chunks/chunk.D6CKEL2O.js +0 -21
- package/dist/chunks/chunk.DAFRMHRI.js +0 -11
- package/dist/chunks/chunk.DD3ORJHJ.js +0 -45
- package/dist/chunks/chunk.DJLZE5XX.js +0 -27
- package/dist/chunks/chunk.DW4KXYTL.js +0 -50
- package/dist/chunks/chunk.E5E57IJV.js +0 -24
- package/dist/chunks/chunk.ED2ZMLYL.js +0 -1064
- package/dist/chunks/chunk.ELGG2VJZ.js +0 -27
- package/dist/chunks/chunk.EPIZVTPO.js +0 -448
- package/dist/chunks/chunk.EQAC2MAZ.js +0 -21
- package/dist/chunks/chunk.ERIGN5JD.js +0 -294
- package/dist/chunks/chunk.EU4ZXV6C.js +0 -46
- package/dist/chunks/chunk.EZMXLXUR.js +0 -100
- package/dist/chunks/chunk.F2PTYKOM.js +0 -59
- package/dist/chunks/chunk.FB4AQOKZ.js +0 -326
- package/dist/chunks/chunk.FIFBVUCR.js +0 -11
- package/dist/chunks/chunk.FXXTEUBK.js +0 -28
- package/dist/chunks/chunk.G2E65BGL.js +0 -29
- package/dist/chunks/chunk.G5XLFSAR.js +0 -361
- package/dist/chunks/chunk.GHZYULFT.js +0 -21
- package/dist/chunks/chunk.GTUA5P47.js +0 -73
- package/dist/chunks/chunk.GVCJCRXE.js +0 -11
- package/dist/chunks/chunk.GYMENF7C.js +0 -331
- package/dist/chunks/chunk.H55EG2PO.js +0 -11
- package/dist/chunks/chunk.H5DI2BR6.js +0 -25
- package/dist/chunks/chunk.H5IPC3FG.js +0 -345
- package/dist/chunks/chunk.HPPQXV4S.js +0 -67
- package/dist/chunks/chunk.HRHEQB77.js +0 -25
- package/dist/chunks/chunk.HRYDO44C.js +0 -274
- package/dist/chunks/chunk.HSC2LTAP.js +0 -52
- package/dist/chunks/chunk.HSZZU6LP.js +0 -11
- package/dist/chunks/chunk.IFIWVPAE.js +0 -24
- package/dist/chunks/chunk.IJEOZV2P.js +0 -26
- package/dist/chunks/chunk.IMNJ5EUH.js +0 -24
- package/dist/chunks/chunk.J67NKXJG.js +0 -11
- package/dist/chunks/chunk.JH6VKKOW.js +0 -25
- package/dist/chunks/chunk.JHFCKD4V.js +0 -27
- package/dist/chunks/chunk.JIWFFY6R.js +0 -63
- package/dist/chunks/chunk.JJUFWVHH.js +0 -11
- package/dist/chunks/chunk.JKD3SJZF.js +0 -28
- package/dist/chunks/chunk.JL6W6WZH.js +0 -11
- package/dist/chunks/chunk.JOZZ7XCM.js +0 -1221
- package/dist/chunks/chunk.JRMZNVWI.js +0 -11
- package/dist/chunks/chunk.JUHVOATB.js +0 -11
- package/dist/chunks/chunk.JXW3EECO.js +0 -34
- package/dist/chunks/chunk.K3TAQUUV.js +0 -21
- package/dist/chunks/chunk.KHSW3MDU.js +0 -29
- package/dist/chunks/chunk.KQYXEYOH.js +0 -11
- package/dist/chunks/chunk.KXFRZIPE.js +0 -28
- package/dist/chunks/chunk.KXUPQN4N.js +0 -42
- package/dist/chunks/chunk.L3AMBY35.js +0 -11
- package/dist/chunks/chunk.L3S4NUGH.js +0 -27
- package/dist/chunks/chunk.L7MWRH34.js +0 -28
- package/dist/chunks/chunk.LGBH32MN.js +0 -11
- package/dist/chunks/chunk.LQI6G5C7.js +0 -494
- package/dist/chunks/chunk.LSLE6EAL.js +0 -11
- package/dist/chunks/chunk.LV63WWU5.js +0 -11
- package/dist/chunks/chunk.LW62ZJZS.js +0 -21
- package/dist/chunks/chunk.LW7N7R3B.js +0 -21
- package/dist/chunks/chunk.MIM5VHLW.js +0 -11
- package/dist/chunks/chunk.MJKNALUE.js +0 -11
- package/dist/chunks/chunk.MJW4PEHO.js +0 -11
- package/dist/chunks/chunk.MOALGDPO.js +0 -11
- package/dist/chunks/chunk.MPQOQK4F.js +0 -315
- package/dist/chunks/chunk.N2V672Z7.js +0 -25
- package/dist/chunks/chunk.NAU4JRRE.js +0 -21
- package/dist/chunks/chunk.NJCJ6PXP.js +0 -11
- package/dist/chunks/chunk.NUFZMXPO.js +0 -180
- package/dist/chunks/chunk.OEISCMTJ.js +0 -21
- package/dist/chunks/chunk.OHX5BXUV.js +0 -11
- package/dist/chunks/chunk.OQZPTQWB.js +0 -21
- package/dist/chunks/chunk.OW4MTHH7.js +0 -11
- package/dist/chunks/chunk.OYLBNEKP.js +0 -11
- package/dist/chunks/chunk.OZG5UAWW.js +0 -25
- package/dist/chunks/chunk.OZNSYVCM.js +0 -11
- package/dist/chunks/chunk.PCBYL7WK.js +0 -27
- package/dist/chunks/chunk.PK4XKWFS.js +0 -371
- package/dist/chunks/chunk.PKXGHDI7.js +0 -134
- package/dist/chunks/chunk.PSRJYIMU.js +0 -21
- package/dist/chunks/chunk.Q4BCO7DM.js +0 -28
- package/dist/chunks/chunk.QCFXR7IN.js +0 -113
- package/dist/chunks/chunk.QH6MBOVJ.js +0 -21
- package/dist/chunks/chunk.QKOSL5GA.js +0 -21
- package/dist/chunks/chunk.QQZBJK6R.js +0 -24
- package/dist/chunks/chunk.RBWDVV7X.js +0 -90
- package/dist/chunks/chunk.RDUH5NXB.js +0 -26
- package/dist/chunks/chunk.RFC4XV72.js +0 -21
- package/dist/chunks/chunk.RHGSX7X2.js +0 -11
- package/dist/chunks/chunk.RIMWAOFF.js +0 -11
- package/dist/chunks/chunk.RLJWXOSB.js +0 -11
- package/dist/chunks/chunk.RMA7XXH7.js +0 -11
- package/dist/chunks/chunk.ROE2PSYP.js +0 -96
- package/dist/chunks/chunk.S3KOAGEQ.js +0 -230
- package/dist/chunks/chunk.S5NDOW3L.js +0 -24
- package/dist/chunks/chunk.SDTOX5Q7.js +0 -135
- package/dist/chunks/chunk.T656ZER2.js +0 -21
- package/dist/chunks/chunk.TACXUHGM.js +0 -21
- package/dist/chunks/chunk.TAQZJD2V.js +0 -337
- package/dist/chunks/chunk.TL37AKAX.js +0 -11
- package/dist/chunks/chunk.TR3NQJ74.js +0 -505
- package/dist/chunks/chunk.TRQTYGZP.js +0 -25
- package/dist/chunks/chunk.TX4VR6FC.js +0 -28
- package/dist/chunks/chunk.U4ET2DRF.js +0 -24
- package/dist/chunks/chunk.U5FIFF6D.js +0 -417
- package/dist/chunks/chunk.U6RM34ZA.js +0 -136
- package/dist/chunks/chunk.U7PPRBOQ.js +0 -454
- package/dist/chunks/chunk.UERBNLOW.js +0 -24
- package/dist/chunks/chunk.USY4P7IT.js +0 -21
- package/dist/chunks/chunk.UWJCWDTH.js +0 -152
- package/dist/chunks/chunk.UZMHV65K.js +0 -24
- package/dist/chunks/chunk.V7XUJSJJ.js +0 -24
- package/dist/chunks/chunk.VEIGCLPW.js +0 -214
- package/dist/chunks/chunk.VJU3BWJI.js +0 -293
- package/dist/chunks/chunk.VNHMRMK3.js +0 -231
- package/dist/chunks/chunk.VS5NZCBV.js +0 -147
- package/dist/chunks/chunk.VVQQBVU2.js +0 -21
- package/dist/chunks/chunk.W5RWCJGG.js +0 -11
- package/dist/chunks/chunk.W6T66R27.js +0 -126
- package/dist/chunks/chunk.WDF6QG7Y.js +0 -85
- package/dist/chunks/chunk.WMYFTV4Z.js +0 -286
- package/dist/chunks/chunk.WNC2EMSO.js +0 -33
- package/dist/chunks/chunk.WR25C7SL.js +0 -27
- package/dist/chunks/chunk.WRFYZGVC.js +0 -11
- package/dist/chunks/chunk.WYC33QEO.js +0 -227
- package/dist/chunks/chunk.WYGQ2NFS.js +0 -11
- package/dist/chunks/chunk.X3I5WTRJ.js +0 -111
- package/dist/chunks/chunk.XEVDCFTS.js +0 -11
- package/dist/chunks/chunk.XLUOZP5X.js +0 -11
- package/dist/chunks/chunk.XV4SCUGQ.js +0 -11
- package/dist/chunks/chunk.XXVRF7JL.js +0 -126
- package/dist/chunks/chunk.Y5TDGOP5.js +0 -167
- package/dist/chunks/chunk.YA63JBSU.js +0 -26
- package/dist/chunks/chunk.YCDOUILQ.js +0 -11
- package/dist/chunks/chunk.YCRLO4HC.js +0 -384
- package/dist/chunks/chunk.YRUT7WRK.js +0 -24
- package/dist/chunks/chunk.YSTI75ZP.js +0 -11
- package/dist/chunks/chunk.YX4CRD55.js +0 -109
- package/dist/chunks/chunk.YYAAGY44.js +0 -80
- package/dist/chunks/chunk.Z2S33UHY.js +0 -11
- package/dist/chunks/chunk.Z4DIPGHD.js +0 -25
- package/dist/chunks/chunk.Z4R7WYOE.js +0 -11
- package/dist/chunks/chunk.ZFCI5OOE.js +0 -263
- package/dist/chunks/chunk.ZHFWBK2Z.js +0 -11
- package/dist/chunks/chunk.ZIBZA3OA.js +0 -11
- package/dist/chunks/chunk.ZKXYCHTS.js +0 -24
- package/dist/chunks/chunk.ZYCTNP34.js +0 -182
|
@@ -0,0 +1,759 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getDragRow
|
|
3
|
+
} from "./chunk.DSRLY2FD.js";
|
|
4
|
+
import {
|
|
5
|
+
getExpendRow
|
|
6
|
+
} from "./chunk.IUVORREB.js";
|
|
7
|
+
import {
|
|
8
|
+
getDefaultFilters
|
|
9
|
+
} from "./chunk.TF3IWFSX.js";
|
|
10
|
+
import {
|
|
11
|
+
convertRowSelectionState,
|
|
12
|
+
getRowSelectionOptions,
|
|
13
|
+
getSelectionColumn
|
|
14
|
+
} from "./chunk.IKG7GFWI.js";
|
|
15
|
+
import {
|
|
16
|
+
getDefaultSorting
|
|
17
|
+
} from "./chunk.WQTJ57OT.js";
|
|
18
|
+
import {
|
|
19
|
+
table_style_default
|
|
20
|
+
} from "./chunk.YETPLLCY.js";
|
|
21
|
+
import {
|
|
22
|
+
getDefaultPinning
|
|
23
|
+
} from "./chunk.REAQMJXE.js";
|
|
24
|
+
import {
|
|
25
|
+
getClientHeight,
|
|
26
|
+
getClientWidth,
|
|
27
|
+
getOffsetWidth,
|
|
28
|
+
getScrollHeight
|
|
29
|
+
} from "./chunk.YWEYEF5K.js";
|
|
30
|
+
import {
|
|
31
|
+
CUSTOM_CELL,
|
|
32
|
+
CUSTOM_ROW,
|
|
33
|
+
VIRTUALIZED_DEFAULT
|
|
34
|
+
} from "./chunk.UP5K765N.js";
|
|
35
|
+
import {
|
|
36
|
+
SlRadio
|
|
37
|
+
} from "./chunk.X5RCL3YC.js";
|
|
38
|
+
import {
|
|
39
|
+
SlPagination
|
|
40
|
+
} from "./chunk.IKQS4SBZ.js";
|
|
41
|
+
import {
|
|
42
|
+
SlCheckbox
|
|
43
|
+
} from "./chunk.URDGW7Q4.js";
|
|
44
|
+
import {
|
|
45
|
+
SlIcon
|
|
46
|
+
} from "./chunk.KJRYOAIQ.js";
|
|
47
|
+
import {
|
|
48
|
+
ShoelaceElement
|
|
49
|
+
} from "./chunk.I5YU6K4U.js";
|
|
50
|
+
import {
|
|
51
|
+
__decorateClass,
|
|
52
|
+
__objRest,
|
|
53
|
+
__spreadProps,
|
|
54
|
+
__spreadValues
|
|
55
|
+
} from "./chunk.W5KB6T3Z.js";
|
|
56
|
+
|
|
57
|
+
// src/components/table/table.component.ts
|
|
58
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
59
|
+
import {
|
|
60
|
+
createColumnHelper,
|
|
61
|
+
getCoreRowModel,
|
|
62
|
+
getExpandedRowModel,
|
|
63
|
+
getFilteredRowModel,
|
|
64
|
+
getPaginationRowModel,
|
|
65
|
+
getSortedRowModel,
|
|
66
|
+
TableController
|
|
67
|
+
} from "@tanstack/lit-table";
|
|
68
|
+
import { VirtualizerController } from "@tanstack/lit-virtual";
|
|
69
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
70
|
+
import { debounce, get, some } from "lodash";
|
|
71
|
+
import { html } from "lit";
|
|
72
|
+
import { property } from "lit/decorators.js";
|
|
73
|
+
import { state } from "lit/decorators/state.js";
|
|
74
|
+
var SlTable = class extends ShoelaceElement {
|
|
75
|
+
constructor() {
|
|
76
|
+
super(...arguments);
|
|
77
|
+
this.tableController = new TableController(this);
|
|
78
|
+
this.rowKey = "key";
|
|
79
|
+
this.columns = [];
|
|
80
|
+
this.dataSource = [];
|
|
81
|
+
this.loading = false;
|
|
82
|
+
this.bordered = false;
|
|
83
|
+
this.direction = "ltr";
|
|
84
|
+
this.showHeader = true;
|
|
85
|
+
this.tableScroll = {};
|
|
86
|
+
this.enableColumnResizing = false;
|
|
87
|
+
this.rowDrag = false;
|
|
88
|
+
this.rowSelectedMap = {};
|
|
89
|
+
this.expandedMap = {};
|
|
90
|
+
this.sorting = [];
|
|
91
|
+
this.columnFilters = [];
|
|
92
|
+
this.tableWidth = 0;
|
|
93
|
+
this.columnSizing = {};
|
|
94
|
+
this.pageIndex = 0;
|
|
95
|
+
this.columnPinning = {
|
|
96
|
+
left: ["drag", "expend", "select"],
|
|
97
|
+
right: []
|
|
98
|
+
};
|
|
99
|
+
this.tableWrapRef = createRef();
|
|
100
|
+
this.headerWrapRef = createRef();
|
|
101
|
+
this.bodyWrapRef = createRef();
|
|
102
|
+
this.syncing = false;
|
|
103
|
+
/*
|
|
104
|
+
生命周期 end
|
|
105
|
+
**/
|
|
106
|
+
this.warnIfNoKey = () => {
|
|
107
|
+
if (some(this.dataSource, (record) => this.adapter.getRecordKey(record) === void 0)) {
|
|
108
|
+
console.error(
|
|
109
|
+
'You must specify a key for each element in the dataSource or use "rowKey" to specify an attribute name as the primary key!'
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
this.setColumnWidth = () => {
|
|
114
|
+
const head = this.headerWrapRef.value;
|
|
115
|
+
if (!head) return;
|
|
116
|
+
const ths = head == null ? void 0 : head.querySelectorAll("th");
|
|
117
|
+
if (ths) {
|
|
118
|
+
const widths = Array.from(ths).reduce(
|
|
119
|
+
(acc, th) => {
|
|
120
|
+
const { width } = th.getBoundingClientRect();
|
|
121
|
+
const colKey = th.dataset.colKey;
|
|
122
|
+
return __spreadProps(__spreadValues({}, acc), {
|
|
123
|
+
[colKey]: width
|
|
124
|
+
});
|
|
125
|
+
},
|
|
126
|
+
{}
|
|
127
|
+
);
|
|
128
|
+
this.columnSizing = widths;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
this.handleBodyScroll = (e) => {
|
|
132
|
+
var _a;
|
|
133
|
+
this.handleBodyScrollLeft(e);
|
|
134
|
+
this.setScrollPositionClassName();
|
|
135
|
+
if ((_a = this.virtualized) == null ? void 0 : _a.onScroll) {
|
|
136
|
+
this.virtualized.onScroll(e);
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
this.handleBodyScrollLeft = (e) => {
|
|
140
|
+
if (this.syncing) return;
|
|
141
|
+
const target = e.currentTarget;
|
|
142
|
+
const head = this.headerWrapRef.value;
|
|
143
|
+
const body = this.bodyWrapRef.value;
|
|
144
|
+
if (!head || !body) return;
|
|
145
|
+
this.syncing = true;
|
|
146
|
+
if (target === body) {
|
|
147
|
+
head.scrollLeft = body.scrollLeft;
|
|
148
|
+
} else if (target === head) {
|
|
149
|
+
body.scrollLeft = head.scrollLeft;
|
|
150
|
+
}
|
|
151
|
+
requestAnimationFrame(() => {
|
|
152
|
+
this.syncing = false;
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
this.handleWindowResize = () => {
|
|
156
|
+
this.syncTableWidth();
|
|
157
|
+
this.setScrollPositionClassName();
|
|
158
|
+
this.setScrollBarStyle();
|
|
159
|
+
};
|
|
160
|
+
this.syncTableWidth = () => {
|
|
161
|
+
var _a;
|
|
162
|
+
if ((_a = this.tableWrapRef) == null ? void 0 : _a.value) {
|
|
163
|
+
this.tableWidth = this.tableWrapRef.value.getBoundingClientRect().width;
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
this.setScrollBarStyle = () => {
|
|
167
|
+
setTimeout(() => {
|
|
168
|
+
const bodyWrapper = this.bodyWrapRef.value;
|
|
169
|
+
const headWrapper = this.headerWrapRef.value;
|
|
170
|
+
if (!bodyWrapper || !headWrapper) return;
|
|
171
|
+
const hasVerticalScroll = getScrollHeight(bodyWrapper) > getClientHeight(bodyWrapper);
|
|
172
|
+
const bodyHasScrollBar = getClientWidth(bodyWrapper) < getOffsetWidth(bodyWrapper);
|
|
173
|
+
if (hasVerticalScroll && bodyHasScrollBar) {
|
|
174
|
+
headWrapper.style.overflowY = "scroll";
|
|
175
|
+
} else {
|
|
176
|
+
headWrapper.style.overflowY = "auto";
|
|
177
|
+
}
|
|
178
|
+
}, 0);
|
|
179
|
+
};
|
|
180
|
+
this.setScrollPositionClassName = () => {
|
|
181
|
+
const tableBody = this.bodyWrapRef.value;
|
|
182
|
+
const tableWrapper = this.tableWrapRef.value;
|
|
183
|
+
if (!tableBody || !tableWrapper) return;
|
|
184
|
+
const { scrollLeft, scrollWidth, clientWidth } = tableBody;
|
|
185
|
+
const scrollRange = scrollWidth - clientWidth;
|
|
186
|
+
const classList = tableWrapper.classList;
|
|
187
|
+
const startClass = "table-scroll-position-left";
|
|
188
|
+
const middleClass = "table-scroll-position-middle";
|
|
189
|
+
const endClass = "table-scroll-position-right";
|
|
190
|
+
if (scrollWidth <= clientWidth) {
|
|
191
|
+
classList.remove(startClass, endClass, middleClass);
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
const isRtl = this.direction === "rtl";
|
|
195
|
+
const scrollLeftAbs = Math.abs(scrollLeft);
|
|
196
|
+
let isStart = false;
|
|
197
|
+
let isEnd = false;
|
|
198
|
+
if (isRtl) {
|
|
199
|
+
isStart = scrollLeftAbs <= 1;
|
|
200
|
+
isEnd = scrollLeftAbs >= scrollRange - 1;
|
|
201
|
+
} else {
|
|
202
|
+
isStart = scrollLeft <= 0;
|
|
203
|
+
isEnd = scrollLeft >= scrollRange - 1;
|
|
204
|
+
}
|
|
205
|
+
if (isStart) {
|
|
206
|
+
classList.add(startClass);
|
|
207
|
+
classList.remove(middleClass, endClass);
|
|
208
|
+
} else if (isEnd) {
|
|
209
|
+
classList.remove(startClass, middleClass);
|
|
210
|
+
classList.add(endClass);
|
|
211
|
+
} else {
|
|
212
|
+
classList.remove(startClass, endClass);
|
|
213
|
+
classList.add(middleClass);
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
this.handleColumnSizingChange = (updaterOrValue) => {
|
|
217
|
+
var _a;
|
|
218
|
+
const next = typeof updaterOrValue === "function" ? updaterOrValue(this.columnSizing) : updaterOrValue;
|
|
219
|
+
const clamped = {};
|
|
220
|
+
for (const key in next) {
|
|
221
|
+
const v = next[key];
|
|
222
|
+
clamped[key] = Math.min(500, Math.max(60, v));
|
|
223
|
+
}
|
|
224
|
+
this.columnSizing = clamped;
|
|
225
|
+
(_a = this.slColumnResize) == null ? void 0 : _a.call(this, __spreadValues({}, clamped));
|
|
226
|
+
};
|
|
227
|
+
this.generateCustomCellSlot = (filteredRows) => {
|
|
228
|
+
const hasSlotColumns = this.columns.filter((col) => col.slot);
|
|
229
|
+
if (!hasSlotColumns.length) return "";
|
|
230
|
+
return html`
|
|
231
|
+
${hasSlotColumns.map(
|
|
232
|
+
(col) => filteredRows.map((row) => {
|
|
233
|
+
const slotKey = `${CUSTOM_CELL}-${col.dataIndex}-${this.adapter.getRecordKey(row.original)}`;
|
|
234
|
+
return html`<slot slot="${slotKey}" name="${slotKey}">${row.original[col.dataIndex]}</slot>`;
|
|
235
|
+
})
|
|
236
|
+
)}
|
|
237
|
+
`;
|
|
238
|
+
};
|
|
239
|
+
this.generateCustomRowSlot = (rows) => {
|
|
240
|
+
if (!this.expandProps) return "";
|
|
241
|
+
return html`
|
|
242
|
+
${rows.map((row) => {
|
|
243
|
+
var _a, _b, _c;
|
|
244
|
+
const rowSlotKey = `${CUSTOM_ROW}-${this.adapter.getRecordKey(row.original)}`;
|
|
245
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expandableRowKeys)) return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
246
|
+
if ((_c = (_b = this.expandProps) == null ? void 0 : _b.expandableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey])) {
|
|
247
|
+
return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
248
|
+
} else {
|
|
249
|
+
return null;
|
|
250
|
+
}
|
|
251
|
+
})}
|
|
252
|
+
`;
|
|
253
|
+
};
|
|
254
|
+
this.handleRowSelectionChange = (updaterOrValue) => {
|
|
255
|
+
if (typeof updaterOrValue === "function") {
|
|
256
|
+
this.rowSelectedMap = updaterOrValue(this.rowSelectedMap);
|
|
257
|
+
} else {
|
|
258
|
+
this.rowSelectedMap = updaterOrValue;
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
this.handleSortingChange = (updaterOrValue) => {
|
|
262
|
+
if (typeof updaterOrValue === "function") {
|
|
263
|
+
this.sorting = updaterOrValue(this.sorting);
|
|
264
|
+
} else {
|
|
265
|
+
this.sorting = updaterOrValue;
|
|
266
|
+
}
|
|
267
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
268
|
+
this.handleChange({
|
|
269
|
+
changeType: "sorter"
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
};
|
|
273
|
+
this.handleColumnFiltersChange = (updaterOrValue) => {
|
|
274
|
+
if (typeof updaterOrValue === "function") {
|
|
275
|
+
this.columnFilters = updaterOrValue(this.columnFilters);
|
|
276
|
+
} else {
|
|
277
|
+
this.columnFilters = updaterOrValue;
|
|
278
|
+
}
|
|
279
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
280
|
+
this.handleChange({
|
|
281
|
+
changeType: "filters"
|
|
282
|
+
});
|
|
283
|
+
});
|
|
284
|
+
};
|
|
285
|
+
this.handleFilterDropdownChange = (e) => {
|
|
286
|
+
var _a;
|
|
287
|
+
const detail = e.detail;
|
|
288
|
+
const { key, visible } = detail || {};
|
|
289
|
+
const col = this.columns.find((c) => c.dataIndex === key);
|
|
290
|
+
(_a = col == null ? void 0 : col.onFilterDropdownVisibleChange) == null ? void 0 : _a.call(col, visible);
|
|
291
|
+
};
|
|
292
|
+
this.getRowCanExpand = (row) => {
|
|
293
|
+
var _a, _b, _c;
|
|
294
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expandableRowKeys)) return true;
|
|
295
|
+
return Boolean((_c = (_b = this.expandProps) == null ? void 0 : _b.expandableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey]));
|
|
296
|
+
};
|
|
297
|
+
this.expendedChange = (updater) => {
|
|
298
|
+
const newExpanded = typeof updater === "function" ? updater(this.expandedMap) : updater;
|
|
299
|
+
this.expandedMap = newExpanded;
|
|
300
|
+
this.requestUpdate();
|
|
301
|
+
};
|
|
302
|
+
this.handlePaginationChange = (event) => {
|
|
303
|
+
var _a, _b, _c, _d;
|
|
304
|
+
const { pageNumber, pageSize } = event.detail;
|
|
305
|
+
(_b = (_a = this.pagination) == null ? void 0 : _a["sl-page-change"]) == null ? void 0 : _b.call(_a, event);
|
|
306
|
+
this.pagination = __spreadProps(__spreadValues({}, this.pagination), {
|
|
307
|
+
defaultCurrentPage: pageNumber,
|
|
308
|
+
pageSize: pageSize || 20
|
|
309
|
+
});
|
|
310
|
+
if (!((_c = this.pagination) == null ? void 0 : _c.currentPage)) this.pageIndex = pageNumber - 1;
|
|
311
|
+
this.handleChange({
|
|
312
|
+
pagination: {
|
|
313
|
+
pageNumber: pageNumber || 1,
|
|
314
|
+
pageSize: pageSize || 20,
|
|
315
|
+
total: ((_d = this.pagination) == null ? void 0 : _d.total) || this.dataSource.length
|
|
316
|
+
},
|
|
317
|
+
type: "pagination"
|
|
318
|
+
});
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
get adapter() {
|
|
322
|
+
return {
|
|
323
|
+
getRecordKey: (record) => {
|
|
324
|
+
if (!record) {
|
|
325
|
+
return void 0;
|
|
326
|
+
}
|
|
327
|
+
return get(record, this.rowKey);
|
|
328
|
+
},
|
|
329
|
+
getSortIsControlled: () => {
|
|
330
|
+
return some(this.columns, (col) => !!col.sortOrder);
|
|
331
|
+
},
|
|
332
|
+
getTableWidth: () => this.tableWidth,
|
|
333
|
+
getFilterIsControlled: () => some(this.columns, (col) => !!col.filteredValue),
|
|
334
|
+
tableScrollToTop: () => {
|
|
335
|
+
var _a, _b;
|
|
336
|
+
return ((_a = this.tableScroll) == null ? void 0 : _a.y) ? (_b = this.bodyWrapRef.value) == null ? void 0 : _b.scrollTo({ top: 0 }) : void 0;
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
/*
|
|
341
|
+
生命周期 start
|
|
342
|
+
**/
|
|
343
|
+
connectedCallback() {
|
|
344
|
+
super.connectedCallback();
|
|
345
|
+
window.addEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
346
|
+
this.syncTableWidth();
|
|
347
|
+
this.setScrollBarStyle();
|
|
348
|
+
this.setScrollPositionClassName();
|
|
349
|
+
}
|
|
350
|
+
disconnectedCallback() {
|
|
351
|
+
window.removeEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
352
|
+
super.disconnectedCallback();
|
|
353
|
+
}
|
|
354
|
+
willUpdate(changedProperties) {
|
|
355
|
+
var _a;
|
|
356
|
+
this.warnIfNoKey();
|
|
357
|
+
if (changedProperties.has("rowSelection")) {
|
|
358
|
+
this.rowSelectedMap = convertRowSelectionState(((_a = this.rowSelection) == null ? void 0 : _a.defaultSelectedRowKeys) || []);
|
|
359
|
+
}
|
|
360
|
+
if (changedProperties.has("columns")) {
|
|
361
|
+
const defaultSorting = getDefaultSorting(this.columns);
|
|
362
|
+
if (defaultSorting.length > 0) {
|
|
363
|
+
this.sorting = defaultSorting;
|
|
364
|
+
}
|
|
365
|
+
const defaultFilters = getDefaultFilters(this.columns);
|
|
366
|
+
if (defaultFilters.length > 0) {
|
|
367
|
+
this.columnFilters = defaultFilters;
|
|
368
|
+
}
|
|
369
|
+
const defaultPinning = getDefaultPinning(this.columns);
|
|
370
|
+
if (defaultPinning.left.length > 0 || defaultPinning.right.length > 0) {
|
|
371
|
+
this.columnPinning = defaultPinning;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
if (changedProperties.has("dataSource") || changedProperties.has("expandProps")) {
|
|
375
|
+
this.dataSource.forEach((row) => {
|
|
376
|
+
var _a2, _b;
|
|
377
|
+
if (!((_a2 = this.expandProps) == null ? void 0 : _a2.rowExpandable)) return;
|
|
378
|
+
const rowKey = row[this.rowKey];
|
|
379
|
+
const expandAllMatch = this.expandProps.defaultExpandAllRows && (!this.expandProps.expandableRowKeys || this.expandProps.expandableRowKeys.includes(rowKey));
|
|
380
|
+
const expandByKeys = (_b = this.expandProps.defaultExpandedRowKeys) == null ? void 0 : _b.includes(rowKey);
|
|
381
|
+
if (expandAllMatch || expandByKeys) {
|
|
382
|
+
this.expandedMap[rowKey] = true;
|
|
383
|
+
}
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
updated(changedProperties) {
|
|
388
|
+
super.updated(changedProperties);
|
|
389
|
+
window.requestAnimationFrame(() => {
|
|
390
|
+
this.setScrollPositionClassName();
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
async firstUpdated() {
|
|
394
|
+
var _a, _b, _d, _e;
|
|
395
|
+
const bodyTable = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("sl-table-body-table");
|
|
396
|
+
if (bodyTable) {
|
|
397
|
+
await bodyTable.updateComplete;
|
|
398
|
+
}
|
|
399
|
+
const headTable = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sl-table-head-table");
|
|
400
|
+
if (headTable) {
|
|
401
|
+
await headTable.updateComplete;
|
|
402
|
+
}
|
|
403
|
+
if (this.virtualized) {
|
|
404
|
+
const scrollElement = this.bodyWrapRef.value;
|
|
405
|
+
const _c = this.virtualized, { itemHeight, overscan } = _c, rest = __objRest(_c, ["itemHeight", "overscan"]);
|
|
406
|
+
this.rowVirtualizerController = new VirtualizerController(this, __spreadValues({
|
|
407
|
+
count: this.dataSource.length,
|
|
408
|
+
getScrollElement: () => scrollElement,
|
|
409
|
+
estimateSize: () => itemHeight || VIRTUALIZED_DEFAULT.itemHeight,
|
|
410
|
+
overscan: overscan || VIRTUALIZED_DEFAULT.overscan
|
|
411
|
+
}, rest));
|
|
412
|
+
this.requestUpdate();
|
|
413
|
+
}
|
|
414
|
+
this.setColumnWidth();
|
|
415
|
+
if ((_d = this.pagination) == null ? void 0 : _d.currentPage) {
|
|
416
|
+
this.pageIndex = this.pagination.currentPage - 1;
|
|
417
|
+
} else if ((_e = this.pagination) == null ? void 0 : _e.defaultCurrentPage) {
|
|
418
|
+
this.pageIndex = this.pagination.defaultCurrentPage - 1;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
renderTable(tableInstance) {
|
|
422
|
+
var _a, _b;
|
|
423
|
+
const currentPageRows = tableInstance.getPaginationRowModel().rows;
|
|
424
|
+
const filteredRows = tableInstance.getFilteredRowModel().rows;
|
|
425
|
+
const commonProps = {
|
|
426
|
+
direction: this.direction,
|
|
427
|
+
bordered: !!this.bordered,
|
|
428
|
+
rowSelectedMap: this.rowSelectedMap,
|
|
429
|
+
tableScroll: this.tableScroll,
|
|
430
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
431
|
+
handleBodyScroll: this.handleBodyScroll,
|
|
432
|
+
sorting: this.sorting,
|
|
433
|
+
dataSource: this.dataSource,
|
|
434
|
+
columns: this.columns,
|
|
435
|
+
adapter: this.adapter,
|
|
436
|
+
tableInstance,
|
|
437
|
+
slHeaderRow: this.slHeaderRow,
|
|
438
|
+
slRow: this.slRow,
|
|
439
|
+
virtualized: this.virtualized,
|
|
440
|
+
rowDrag: this.rowDrag,
|
|
441
|
+
slRowReorder: (detail) => {
|
|
442
|
+
var _a2;
|
|
443
|
+
if (this.slRowReorder) this.slRowReorder(detail);
|
|
444
|
+
if ((_a2 = detail.newRows) == null ? void 0 : _a2.length) {
|
|
445
|
+
this.dataSource = detail.newRows;
|
|
446
|
+
this.requestUpdate();
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
};
|
|
450
|
+
const emptyTemplate = this.dataSource.length === 0 || currentPageRows.length === 0 || filteredRows.length === 0 ? this.renderEmpty() : "";
|
|
451
|
+
const headTable = this.showHeader ? html`<sl-table-head-table
|
|
452
|
+
exportparts="table-head, table-head-row, table-head-cell"
|
|
453
|
+
.commonProps=${commonProps}
|
|
454
|
+
.headerRef=${this.headerWrapRef}
|
|
455
|
+
@sl-filter-dropdown-change=${this.handleFilterDropdownChange}
|
|
456
|
+
></sl-table-head-table>` : "";
|
|
457
|
+
const bodyTable = html`<sl-table-body-table
|
|
458
|
+
exportparts="table-body, table-body-row, table-body-cell"
|
|
459
|
+
.bodyRef=${this.bodyWrapRef}
|
|
460
|
+
.emptyTemplate=${emptyTemplate}
|
|
461
|
+
.commonProps=${commonProps}
|
|
462
|
+
.rowVirtualizerController=${this.rowVirtualizerController}
|
|
463
|
+
.expandRowByClick=${((_a = this.expandProps) == null ? void 0 : _a.rowExpandable) && ((_b = this.expandProps) == null ? void 0 : _b.expandRowByClick)}
|
|
464
|
+
>
|
|
465
|
+
<slot name="table-empty" slot="table-empty">暂无数据</slot>
|
|
466
|
+
${this.generateCustomRowSlot(filteredRows)} ${this.generateCustomCellSlot(filteredRows)}
|
|
467
|
+
</sl-table-body-table>`;
|
|
468
|
+
return html`${headTable} ${bodyTable}`;
|
|
469
|
+
}
|
|
470
|
+
renderEmpty() {
|
|
471
|
+
return html` <div class="table-placeholder"><slot name="table-empty"></slot></div>`;
|
|
472
|
+
}
|
|
473
|
+
renderMainTable(tableInstance) {
|
|
474
|
+
const table = html`${this.renderTable(tableInstance)}`;
|
|
475
|
+
return table;
|
|
476
|
+
}
|
|
477
|
+
renderPagination(place) {
|
|
478
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
479
|
+
if (!this.pagination) return "";
|
|
480
|
+
const pos = ((_a = this.pagination) == null ? void 0 : _a.position) || "bottomEnd";
|
|
481
|
+
const isTop = pos.startsWith("top");
|
|
482
|
+
if (place === "top" && !isTop || place === "bottom" && isTop) return "";
|
|
483
|
+
const justify = pos.endsWith("Start") ? "flex-start" : pos.endsWith("Center") ? "center" : "flex-end";
|
|
484
|
+
const margin = place === "top" ? "0 0 8px 0" : "8px 0 0 0";
|
|
485
|
+
const style = `display:flex; justify-content:${justify}; margin:${margin};`;
|
|
486
|
+
return html`
|
|
487
|
+
<div class="pagination-container" style="${style}">
|
|
488
|
+
<sl-pagination
|
|
489
|
+
class="pagination"
|
|
490
|
+
@sl-page-change=${this.handlePaginationChange}
|
|
491
|
+
.total=${((_b = this.pagination) == null ? void 0 : _b.total) || this.dataSource.length}
|
|
492
|
+
.currentPage=${(_c = this.pagination) == null ? void 0 : _c.currentPage}
|
|
493
|
+
.defaultCurrentPage=${((_d = this.pagination) == null ? void 0 : _d.defaultCurrentPage) || 1}
|
|
494
|
+
.pageSize=${((_e = this.pagination) == null ? void 0 : _e.pageSize) || 20}
|
|
495
|
+
.disabled=${((_f = this.pagination) == null ? void 0 : _f.disabled) || false}
|
|
496
|
+
.className=${(_g = this.pagination) == null ? void 0 : _g.className}
|
|
497
|
+
.pageSizeOpts=${((_h = this.pagination) == null ? void 0 : _h.pageSizeOpts) || [10, 20, 50, 100]}
|
|
498
|
+
.simpleMode=${((_i = this.pagination) == null ? void 0 : _i.simpleMode) || false}
|
|
499
|
+
>
|
|
500
|
+
</sl-pagination>
|
|
501
|
+
</div>
|
|
502
|
+
`;
|
|
503
|
+
}
|
|
504
|
+
// 生成lit-table所需要的columns数组
|
|
505
|
+
buildColumns() {
|
|
506
|
+
var _a, _b, _c;
|
|
507
|
+
const _columns = [];
|
|
508
|
+
const columnHelper = createColumnHelper();
|
|
509
|
+
for (const col of this.columns) {
|
|
510
|
+
const {
|
|
511
|
+
dataIndex,
|
|
512
|
+
width,
|
|
513
|
+
align,
|
|
514
|
+
className,
|
|
515
|
+
ellipsis,
|
|
516
|
+
sorter,
|
|
517
|
+
filters,
|
|
518
|
+
filterMultiple,
|
|
519
|
+
defaultFilters,
|
|
520
|
+
onFilter,
|
|
521
|
+
filterDropdownProps,
|
|
522
|
+
onFilterDropdownVisibleChange
|
|
523
|
+
} = col;
|
|
524
|
+
const canSort = sorter && typeof sorter === "function";
|
|
525
|
+
const canFilter = filters && filters.length > 0;
|
|
526
|
+
const newCol = columnHelper.accessor((row) => row[dataIndex], {
|
|
527
|
+
id: dataIndex,
|
|
528
|
+
meta: {
|
|
529
|
+
align,
|
|
530
|
+
className,
|
|
531
|
+
ellipsis,
|
|
532
|
+
filters,
|
|
533
|
+
filterMultiple,
|
|
534
|
+
defaultFilters,
|
|
535
|
+
filterDropdownProps,
|
|
536
|
+
onFilterDropdownVisibleChange,
|
|
537
|
+
slCell: col.slCell,
|
|
538
|
+
slHeaderCell: col.slHeaderCell
|
|
539
|
+
},
|
|
540
|
+
cell: (info) => {
|
|
541
|
+
if (col.slot) {
|
|
542
|
+
const slotKey = `${CUSTOM_CELL}-${dataIndex}-${this.adapter.getRecordKey(info.row.original)}`;
|
|
543
|
+
return html`<slot name="${slotKey}" slot="${slotKey}">${info.getValue()}</slot>`;
|
|
544
|
+
}
|
|
545
|
+
return info.getValue();
|
|
546
|
+
},
|
|
547
|
+
header: () => col.title || dataIndex,
|
|
548
|
+
size: width
|
|
549
|
+
});
|
|
550
|
+
newCol.enableResizing = (_a = col.enableResizing) != null ? _a : this.enableColumnResizing;
|
|
551
|
+
if (newCol.enableResizing) {
|
|
552
|
+
newCol.minSize = 60;
|
|
553
|
+
newCol.maxSize = 500;
|
|
554
|
+
}
|
|
555
|
+
if (canSort) {
|
|
556
|
+
newCol.sortingFn = (rowA, rowB) => sorter(rowA.original, rowB.original);
|
|
557
|
+
}
|
|
558
|
+
if (canFilter && onFilter) {
|
|
559
|
+
newCol.filterFn = (row, _columnId, filterValue) => {
|
|
560
|
+
if (Array.isArray(filterValue)) {
|
|
561
|
+
return filterValue.some((val) => !!onFilter(val, row.original));
|
|
562
|
+
}
|
|
563
|
+
return !!onFilter(filterValue, row.original);
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
newCol.enableSorting = !!canSort;
|
|
567
|
+
newCol.enableColumnFilter = !!canFilter;
|
|
568
|
+
_columns.push(newCol);
|
|
569
|
+
}
|
|
570
|
+
if (this.rowSelection && !this.rowSelection.hidden) {
|
|
571
|
+
_columns.unshift(getSelectionColumn(this.rowSelection, this.rowKey));
|
|
572
|
+
}
|
|
573
|
+
if ((_b = this == null ? void 0 : this.expandProps) == null ? void 0 : _b.rowExpandable) _columns.unshift(getExpendRow((_c = this.expandProps) == null ? void 0 : _c.expandRowByClick));
|
|
574
|
+
if (this == null ? void 0 : this.rowDrag) _columns.unshift(getDragRow());
|
|
575
|
+
return _columns;
|
|
576
|
+
}
|
|
577
|
+
// 构建 tableState
|
|
578
|
+
buildTableState() {
|
|
579
|
+
var _a;
|
|
580
|
+
const rowSelectionOptions = getRowSelectionOptions({
|
|
581
|
+
rowSelection: this.rowSelection
|
|
582
|
+
});
|
|
583
|
+
const cols = this.buildColumns();
|
|
584
|
+
const instance = this.tableController.table(__spreadProps(__spreadValues({
|
|
585
|
+
columns: cols,
|
|
586
|
+
data: this.dataSource,
|
|
587
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
588
|
+
columnResizeMode: "onChange",
|
|
589
|
+
columnResizeDirection: this.direction,
|
|
590
|
+
manualPagination: !this.pagination,
|
|
591
|
+
getRowId: (row) => row[this.rowKey],
|
|
592
|
+
getCoreRowModel: getCoreRowModel(),
|
|
593
|
+
getSortedRowModel: getSortedRowModel(),
|
|
594
|
+
getPaginationRowModel: getPaginationRowModel(),
|
|
595
|
+
getFilteredRowModel: getFilteredRowModel(),
|
|
596
|
+
getExpandedRowModel: getExpandedRowModel(),
|
|
597
|
+
state: {
|
|
598
|
+
rowSelection: this.rowSelectedMap,
|
|
599
|
+
sorting: this.sorting,
|
|
600
|
+
columnFilters: this.columnFilters,
|
|
601
|
+
columnSizing: this.columnSizing,
|
|
602
|
+
pagination: {
|
|
603
|
+
pageIndex: this.pageIndex,
|
|
604
|
+
pageSize: ((_a = this.pagination) == null ? void 0 : _a.pageSize) || 20
|
|
605
|
+
},
|
|
606
|
+
expanded: this.expandedMap,
|
|
607
|
+
columnPinning: this.columnPinning
|
|
608
|
+
},
|
|
609
|
+
onColumnSizingChange: this.handleColumnSizingChange,
|
|
610
|
+
onSortingChange: this.handleSortingChange,
|
|
611
|
+
onColumnFiltersChange: this.handleColumnFiltersChange
|
|
612
|
+
}, rowSelectionOptions), {
|
|
613
|
+
onRowSelectionChange: this.handleRowSelectionChange,
|
|
614
|
+
// 受控排序
|
|
615
|
+
manualSorting: this.adapter.getSortIsControlled(),
|
|
616
|
+
manualFiltering: this.adapter.getFilterIsControlled(),
|
|
617
|
+
getRowCanExpand: this.getRowCanExpand,
|
|
618
|
+
onExpandedChange: this.expendedChange
|
|
619
|
+
}));
|
|
620
|
+
return instance;
|
|
621
|
+
}
|
|
622
|
+
handleChange(extra) {
|
|
623
|
+
var _a;
|
|
624
|
+
this.dispatchEvent(
|
|
625
|
+
new CustomEvent("change", {
|
|
626
|
+
detail: __spreadValues({
|
|
627
|
+
sorting: this.sorting,
|
|
628
|
+
columnFilters: this.columnFilters
|
|
629
|
+
}, extra)
|
|
630
|
+
})
|
|
631
|
+
);
|
|
632
|
+
if (["sorting", "filters", "pagination"].includes(extra == null ? void 0 : extra.type) && ((_a = this.tableScroll) == null ? void 0 : _a.scrollToFirstRowOnChange)) {
|
|
633
|
+
this.adapter.tableScrollToTop();
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
render() {
|
|
637
|
+
const tableInstance = this.buildTableState();
|
|
638
|
+
return html`
|
|
639
|
+
<div
|
|
640
|
+
part="table-wrapper"
|
|
641
|
+
${ref(this.tableWrapRef)}
|
|
642
|
+
class=${classMap({
|
|
643
|
+
"table-wrapper": true,
|
|
644
|
+
[`table-direction-${this.direction}`]: true
|
|
645
|
+
})}
|
|
646
|
+
>
|
|
647
|
+
${this.renderPagination("top")}
|
|
648
|
+
<sl-table-spinner-container .loading=${this.loading} exportparts="table-container">
|
|
649
|
+
<div
|
|
650
|
+
class=${classMap({
|
|
651
|
+
"table-bordered": Boolean(this.bordered),
|
|
652
|
+
"table-nodata": this.dataSource.length === 0
|
|
653
|
+
})}
|
|
654
|
+
>
|
|
655
|
+
<div
|
|
656
|
+
part="table-container"
|
|
657
|
+
class=${classMap({
|
|
658
|
+
"table-container": !this.enableColumnResizing,
|
|
659
|
+
"table-columnresizing": this.enableColumnResizing || false
|
|
660
|
+
})}
|
|
661
|
+
>
|
|
662
|
+
${this.renderMainTable(tableInstance)}
|
|
663
|
+
</div>
|
|
664
|
+
</div>
|
|
665
|
+
</sl-table-spinner-container>
|
|
666
|
+
${this.renderPagination("bottom")}
|
|
667
|
+
</div>
|
|
668
|
+
`;
|
|
669
|
+
}
|
|
670
|
+
};
|
|
671
|
+
SlTable.dependencies = {
|
|
672
|
+
"sl-icon": SlIcon,
|
|
673
|
+
"sl-checkbox": SlCheckbox,
|
|
674
|
+
"sl-radio": SlRadio,
|
|
675
|
+
"sl-pagination": SlPagination
|
|
676
|
+
};
|
|
677
|
+
SlTable.styles = [table_style_default];
|
|
678
|
+
__decorateClass([
|
|
679
|
+
property({ type: Array })
|
|
680
|
+
], SlTable.prototype, "rowKey", 2);
|
|
681
|
+
__decorateClass([
|
|
682
|
+
property({ type: Array })
|
|
683
|
+
], SlTable.prototype, "columns", 2);
|
|
684
|
+
__decorateClass([
|
|
685
|
+
property({ type: Array })
|
|
686
|
+
], SlTable.prototype, "dataSource", 2);
|
|
687
|
+
__decorateClass([
|
|
688
|
+
property({ type: Boolean })
|
|
689
|
+
], SlTable.prototype, "loading", 2);
|
|
690
|
+
__decorateClass([
|
|
691
|
+
property({ type: Boolean })
|
|
692
|
+
], SlTable.prototype, "bordered", 2);
|
|
693
|
+
__decorateClass([
|
|
694
|
+
property({ type: String })
|
|
695
|
+
], SlTable.prototype, "direction", 2);
|
|
696
|
+
__decorateClass([
|
|
697
|
+
property({ type: Boolean })
|
|
698
|
+
], SlTable.prototype, "showHeader", 2);
|
|
699
|
+
__decorateClass([
|
|
700
|
+
property({ type: Object })
|
|
701
|
+
], SlTable.prototype, "rowSelection", 2);
|
|
702
|
+
__decorateClass([
|
|
703
|
+
property({ type: Object })
|
|
704
|
+
], SlTable.prototype, "tableScroll", 2);
|
|
705
|
+
__decorateClass([
|
|
706
|
+
property({ type: Object })
|
|
707
|
+
], SlTable.prototype, "pagination", 2);
|
|
708
|
+
__decorateClass([
|
|
709
|
+
property({ type: Object })
|
|
710
|
+
], SlTable.prototype, "expandProps", 2);
|
|
711
|
+
__decorateClass([
|
|
712
|
+
property({ type: Boolean })
|
|
713
|
+
], SlTable.prototype, "enableColumnResizing", 2);
|
|
714
|
+
__decorateClass([
|
|
715
|
+
property({ type: Function })
|
|
716
|
+
], SlTable.prototype, "slHeaderRow", 2);
|
|
717
|
+
__decorateClass([
|
|
718
|
+
property({ type: Function })
|
|
719
|
+
], SlTable.prototype, "slRow", 2);
|
|
720
|
+
__decorateClass([
|
|
721
|
+
property({ type: Function })
|
|
722
|
+
], SlTable.prototype, "slColumnResize", 2);
|
|
723
|
+
__decorateClass([
|
|
724
|
+
property({ type: Object || Boolean })
|
|
725
|
+
], SlTable.prototype, "virtualized", 2);
|
|
726
|
+
__decorateClass([
|
|
727
|
+
property({ type: Boolean })
|
|
728
|
+
], SlTable.prototype, "rowDrag", 2);
|
|
729
|
+
__decorateClass([
|
|
730
|
+
property({ type: Function })
|
|
731
|
+
], SlTable.prototype, "slRowReorder", 2);
|
|
732
|
+
__decorateClass([
|
|
733
|
+
state()
|
|
734
|
+
], SlTable.prototype, "rowSelectedMap", 2);
|
|
735
|
+
__decorateClass([
|
|
736
|
+
state()
|
|
737
|
+
], SlTable.prototype, "expandedMap", 2);
|
|
738
|
+
__decorateClass([
|
|
739
|
+
state()
|
|
740
|
+
], SlTable.prototype, "sorting", 2);
|
|
741
|
+
__decorateClass([
|
|
742
|
+
state()
|
|
743
|
+
], SlTable.prototype, "columnFilters", 2);
|
|
744
|
+
__decorateClass([
|
|
745
|
+
state()
|
|
746
|
+
], SlTable.prototype, "tableWidth", 2);
|
|
747
|
+
__decorateClass([
|
|
748
|
+
state()
|
|
749
|
+
], SlTable.prototype, "columnSizing", 2);
|
|
750
|
+
__decorateClass([
|
|
751
|
+
state()
|
|
752
|
+
], SlTable.prototype, "pageIndex", 2);
|
|
753
|
+
__decorateClass([
|
|
754
|
+
state()
|
|
755
|
+
], SlTable.prototype, "columnPinning", 2);
|
|
756
|
+
|
|
757
|
+
export {
|
|
758
|
+
SlTable
|
|
759
|
+
};
|