@kdcloudjs/shoelace 1.0.19 → 1.0.21
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.2BPXZKFR.js +21 -0
- package/cdn/chunks/chunk.2FXG3EAP.js +197 -0
- package/cdn/chunks/chunk.2IRZOABF.js +586 -0
- package/cdn/chunks/chunk.2L6Y6ARM.js +73 -0
- package/cdn/chunks/chunk.2MFPNBJV.js +11 -0
- package/cdn/chunks/chunk.2QRSZ6MY.js +153 -0
- package/cdn/chunks/chunk.33CEUF35.js +11 -0
- package/cdn/chunks/chunk.37EERA2Q.js +21 -0
- package/cdn/chunks/chunk.37IV5SCC.js +27 -0
- package/cdn/chunks/chunk.3BADH273.js +24 -0
- package/cdn/chunks/chunk.3DZEALJY.js +11 -0
- package/cdn/chunks/chunk.3I5KK6BI.js +29 -0
- package/cdn/chunks/chunk.3PKF2JEF.js +27 -0
- package/cdn/chunks/chunk.3U7O3FLX.js +24 -0
- package/cdn/chunks/chunk.3UBQKXGY.js +11 -0
- package/cdn/chunks/chunk.3XFPVYL4.js +347 -0
- package/cdn/chunks/chunk.46HJN3E5.js +1129 -0
- package/cdn/chunks/chunk.4D3OPRLT.js +11 -0
- package/cdn/chunks/chunk.4HBPXTRW.js +24 -0
- package/cdn/chunks/chunk.4NTVP5JC.js +24 -0
- package/cdn/chunks/chunk.4PFOTRJ5.js +21 -0
- package/cdn/chunks/chunk.4SO42WHF.js +21 -0
- package/cdn/chunks/chunk.5CPNGJA2.js +21 -0
- package/cdn/chunks/chunk.5CQ6G3JY.js +11 -0
- package/cdn/chunks/chunk.5GGG6IFV.js +25 -0
- package/cdn/chunks/chunk.5JUQUJC4.js +27 -0
- package/cdn/chunks/chunk.5MJOO2YG.js +21 -0
- package/cdn/chunks/chunk.5MJTKICV.js +67 -0
- package/cdn/chunks/chunk.5NX3P4CN.js +279 -0
- package/cdn/chunks/chunk.5SS3BVEY.js +302 -0
- package/cdn/chunks/chunk.643MR33C.js +331 -0
- package/cdn/chunks/chunk.6454ET77.js +5845 -0
- package/cdn/chunks/chunk.652UAD2J.js +28 -0
- package/cdn/chunks/chunk.6C5GTZSC.js +11 -0
- package/cdn/chunks/chunk.6DFKTKOR.js +24 -0
- package/cdn/chunks/chunk.6OJFF34N.js +724 -0
- package/cdn/chunks/chunk.7HGPZWK6.js +25 -0
- package/cdn/chunks/chunk.7IDMPBTC.js +271 -0
- package/cdn/chunks/chunk.7JKFDVD2.js +216 -0
- package/cdn/chunks/chunk.7NSBGUZO.js +216 -0
- package/cdn/chunks/chunk.7PFLYVPW.js +233 -0
- package/cdn/chunks/chunk.7WW76PDE.js +11 -0
- package/cdn/chunks/chunk.A6K3DM6N.js +21 -0
- package/cdn/chunks/chunk.AI7GFJGF.js +21 -0
- package/cdn/chunks/chunk.AJBZ7TKL.js +25 -0
- package/cdn/chunks/chunk.ANP6BDQZ.js +11 -0
- package/cdn/chunks/chunk.AOB2UCOG.js +69 -0
- package/cdn/chunks/chunk.AS3FWPEN.js +367 -0
- package/cdn/chunks/chunk.AWW2HF73.js +11 -0
- package/cdn/chunks/chunk.B335WRT7.js +11 -0
- package/cdn/chunks/chunk.B7ZNXEJB.js +11 -0
- package/cdn/chunks/chunk.BF5VBDIZ.js +97 -0
- package/cdn/chunks/chunk.BFHHQTMF.js +21 -0
- package/cdn/chunks/chunk.BMCPQXYZ.js +24 -0
- package/cdn/chunks/chunk.BVZQKQZF.js +335 -0
- package/cdn/chunks/chunk.BYYTZZD7.js +276 -0
- package/cdn/chunks/chunk.C4VACMON.js +21 -0
- package/cdn/chunks/chunk.CBPJU4VR.js +11 -0
- package/cdn/chunks/chunk.CC4JUPWM.js +11 -0
- package/cdn/chunks/chunk.CD72P5YC.js +11 -0
- package/cdn/chunks/chunk.CDJSY4O2.js +63 -0
- package/cdn/chunks/chunk.CEHJYNIE.js +28 -0
- package/cdn/chunks/chunk.CL3YWTX7.js +24 -0
- package/cdn/chunks/chunk.CSUC7R4W.js +21 -0
- package/cdn/chunks/chunk.D4BFRESD.js +27 -0
- package/cdn/chunks/chunk.D6R34BKB.js +25 -0
- package/cdn/chunks/chunk.D7BS2A2Q.js +126 -0
- package/cdn/chunks/chunk.DBLO7STV.js +142 -0
- package/cdn/chunks/chunk.DI3K6ALV.js +510 -0
- package/cdn/chunks/chunk.DKPQTNP4.js +11 -0
- package/cdn/chunks/chunk.DLR7LJXA.js +11 -0
- package/cdn/chunks/chunk.DTEGNGWP.js +42 -0
- package/cdn/chunks/chunk.EHNLU2YW.js +21 -0
- package/cdn/chunks/chunk.EJDG5Q5F.js +583 -0
- package/cdn/chunks/chunk.EQIRV7AJ.js +25 -0
- package/cdn/chunks/chunk.ETYEQHZM.js +11 -0
- package/cdn/chunks/chunk.EU6LITSI.js +11 -0
- package/cdn/chunks/chunk.EWF4COYF.js +11 -0
- package/cdn/chunks/chunk.EZ52QEGI.js +158 -0
- package/cdn/chunks/chunk.F25VG75X.js +24 -0
- package/cdn/chunks/chunk.F55SW2TT.js +219 -0
- package/cdn/chunks/chunk.F5HHB3KL.js +11 -0
- package/cdn/chunks/chunk.FA5EF5AD.js +379 -0
- package/cdn/chunks/chunk.FFNOT4JM.js +21 -0
- package/cdn/chunks/chunk.FHNFUEHR.js +11 -0
- package/cdn/chunks/chunk.FISARRHP.js +87 -0
- package/cdn/chunks/chunk.FJDL5LQN.js +24 -0
- package/cdn/chunks/chunk.FLZP6SRK.js +54 -0
- package/cdn/chunks/chunk.G25QQBJO.js +343 -0
- package/cdn/chunks/chunk.GC544BXI.js +25 -0
- package/cdn/chunks/chunk.GELVSLPX.js +186 -0
- package/cdn/chunks/chunk.GGFT2LOE.js +11 -0
- package/cdn/chunks/chunk.GIM5A6FP.js +28 -0
- package/cdn/chunks/chunk.H4SFQVGE.js +11 -0
- package/cdn/chunks/chunk.H5LT47UW.js +11 -0
- package/cdn/chunks/chunk.HD57TKKU.js +11 -0
- package/cdn/chunks/chunk.HG63EFZO.js +11 -0
- package/cdn/chunks/chunk.HKSQY3LX.js +515 -0
- package/cdn/chunks/chunk.HSQOQEPV.js +11 -0
- package/cdn/chunks/chunk.HU3JRAYJ.js +33 -0
- package/cdn/chunks/chunk.I3ZYJEKX.js +313 -0
- package/cdn/chunks/chunk.ICWAP5FR.js +11 -0
- package/cdn/chunks/chunk.IDJRBAOL.js +79 -0
- package/cdn/chunks/chunk.INDU56K5.js +183 -0
- package/cdn/chunks/chunk.IPO36P4O.js +140 -0
- package/cdn/chunks/chunk.IWQOHXSV.js +29 -0
- package/cdn/chunks/chunk.IYWJMSY4.js +11 -0
- package/cdn/chunks/chunk.IZUIJHWB.js +11 -0
- package/cdn/chunks/chunk.J4PYHLNH.js +11 -0
- package/cdn/chunks/chunk.JEVAUQFK.js +402 -0
- package/cdn/chunks/chunk.JOLLAVOE.js +21 -0
- package/cdn/chunks/chunk.JS5A2RFO.js +120 -0
- package/cdn/chunks/chunk.KC6NFYOP.js +11 -0
- package/cdn/chunks/chunk.KK3ONG77.js +131 -0
- package/cdn/chunks/chunk.KLZSC6ZW.js +25 -0
- package/cdn/chunks/chunk.KPIHEHGN.js +11 -0
- package/cdn/chunks/chunk.KTJ3ELQP.js +21 -0
- package/cdn/chunks/chunk.KYMA45K7.js +11 -0
- package/cdn/chunks/chunk.KYTRITCG.js +28 -0
- package/cdn/chunks/chunk.L2IR3J73.js +28 -0
- package/cdn/chunks/chunk.L3FAVYHQ.js +11 -0
- package/cdn/chunks/chunk.LDRIQXZX.js +11 -0
- package/cdn/chunks/chunk.LG777Q4F.js +21 -0
- package/cdn/chunks/chunk.LLMHPAYD.js +11 -0
- package/cdn/chunks/chunk.LNQ6VZ7W.js +11 -0
- package/cdn/chunks/chunk.LNTQ5KHS.js +118 -0
- package/cdn/chunks/chunk.LP2W2YOH.js +11 -0
- package/cdn/chunks/chunk.LPKIY5GD.js +11 -0
- package/cdn/chunks/chunk.LW2JNMTK.js +11 -0
- package/cdn/chunks/chunk.M5JXGHEW.js +391 -0
- package/cdn/chunks/chunk.MF5YDDQO.js +21 -0
- package/cdn/chunks/chunk.MF75EENW.js +11 -0
- package/cdn/chunks/chunk.MMJQPEXM.js +155 -0
- package/cdn/chunks/chunk.N6OPLCL4.js +26 -0
- package/cdn/chunks/chunk.NFYSCLWQ.js +21 -0
- package/cdn/chunks/chunk.NOBVVP43.js +21 -0
- package/cdn/chunks/chunk.NPCCFKFK.js +24 -0
- package/cdn/chunks/chunk.NSXJEKNN.js +11 -0
- package/cdn/chunks/chunk.NXPUJLXY.js +25 -0
- package/cdn/chunks/chunk.NXZQEYP5.js +11 -0
- package/cdn/chunks/chunk.NY5RYCLW.js +24 -0
- package/cdn/chunks/chunk.O6J3ZJWK.js +11 -0
- package/cdn/chunks/chunk.O7FRQ25P.js +11 -0
- package/cdn/chunks/chunk.OCPXM5JK.js +11 -0
- package/cdn/chunks/chunk.OERRPUOB.js +314 -0
- package/cdn/chunks/chunk.ONWIAYRA.js +21 -0
- package/cdn/chunks/chunk.OPS4PBMS.js +50 -0
- package/cdn/chunks/chunk.OVC62P57.js +113 -0
- package/cdn/chunks/chunk.OZVW34JQ.js +283 -0
- package/cdn/chunks/chunk.PIPULHF7.js +93 -0
- package/cdn/chunks/chunk.POIB4YHI.js +27 -0
- package/cdn/chunks/chunk.PYO3KOTH.js +77 -0
- package/cdn/chunks/chunk.Q43MSCM3.js +153 -0
- package/cdn/chunks/chunk.QFMWCJAF.js +26 -0
- package/cdn/chunks/chunk.QIG4IL7L.js +11 -0
- package/cdn/chunks/chunk.QL3W75XF.js +11 -0
- package/cdn/chunks/chunk.QLWUOPOO.js +25 -0
- package/cdn/chunks/chunk.QMSLEV74.js +292 -0
- package/cdn/chunks/chunk.QZLVXZL6.js +103 -0
- package/cdn/chunks/chunk.R3FWJCTR.js +49 -0
- package/cdn/chunks/chunk.RCVVCETX.js +28 -0
- package/cdn/chunks/chunk.RN6KFLIS.js +24 -0
- package/cdn/chunks/chunk.RRTYT6CQ.js +291 -0
- package/cdn/chunks/chunk.RZ4ELCNI.js +21 -0
- package/cdn/chunks/chunk.RZSYK4NV.js +24 -0
- package/cdn/chunks/chunk.S7EJ44YA.js +255 -0
- package/cdn/chunks/chunk.SDJGA5RE.js +21 -0
- package/cdn/chunks/chunk.SJKJA7FR.js +299 -0
- package/cdn/chunks/chunk.SJLUKVCH.js +11 -0
- package/cdn/chunks/chunk.SPZ5QLLQ.js +11 -0
- package/cdn/chunks/chunk.SST3E62S.js +455 -0
- package/cdn/chunks/chunk.STMH7LLV.js +11 -0
- package/cdn/chunks/chunk.SX6IFB3F.js +114 -0
- package/cdn/chunks/chunk.SXHFICLH.js +11 -0
- package/cdn/chunks/chunk.T2E34OXU.js +1925 -0
- package/cdn/chunks/chunk.TJM6HDIX.js +135 -0
- package/cdn/chunks/chunk.TLN5LK3Z.js +822 -0
- package/cdn/chunks/chunk.TQ6HW62R.js +95 -0
- package/cdn/chunks/chunk.TS2I57P3.js +21 -0
- package/cdn/chunks/chunk.U2DWOAKV.js +11 -0
- package/cdn/chunks/chunk.U7V3H5MG.js +11 -0
- package/cdn/chunks/chunk.UD6BZHIU.js +137 -0
- package/cdn/chunks/chunk.UJGMQD4L.js +236 -0
- package/cdn/chunks/chunk.UM4RTEEY.js +246 -0
- package/cdn/chunks/chunk.V5JTXCSZ.js +11 -0
- package/cdn/chunks/chunk.VL2GSR5S.js +21 -0
- package/cdn/chunks/chunk.VLX4AZYA.js +75 -0
- package/cdn/chunks/chunk.VPPFJL2B.js +29 -0
- package/cdn/chunks/chunk.VTDEUVOM.js +82 -0
- package/cdn/chunks/chunk.VVYMR3RE.js +11 -0
- package/cdn/chunks/chunk.VXDE2SI2.js +11 -0
- package/cdn/chunks/chunk.VYERSRZ6.js +29 -0
- package/cdn/chunks/chunk.VZNFVEDA.js +36 -0
- package/cdn/chunks/chunk.WAAT2Q6O.js +11 -0
- package/cdn/chunks/chunk.WAVWGPZQ.js +11 -0
- package/cdn/chunks/chunk.WDRTQANT.js +122 -0
- package/cdn/chunks/chunk.WJGT4PNF.js +27 -0
- package/cdn/chunks/chunk.WSDLKWBT.js +24 -0
- package/cdn/chunks/chunk.WSRRQUUU.js +24 -0
- package/cdn/chunks/chunk.WZUKCYZM.js +2953 -0
- package/cdn/chunks/chunk.X2R6EASL.js +11 -0
- package/cdn/chunks/chunk.X2YTRTG6.js +113 -0
- package/cdn/chunks/chunk.XJ444P3T.js +26 -0
- package/cdn/chunks/chunk.XLWPI6EW.js +336 -0
- package/cdn/chunks/chunk.XM44COUW.js +235 -0
- package/cdn/chunks/chunk.XW3D5LGF.js +27 -0
- package/cdn/chunks/chunk.XWEF3HOW.js +21 -0
- package/cdn/chunks/chunk.Y2OPC7UN.js +49 -0
- package/cdn/chunks/chunk.Y3TU3IB4.js +1244 -0
- package/cdn/chunks/chunk.Y5HKPQZI.js +346 -0
- package/cdn/chunks/chunk.YDJ3ZR2B.js +11 -0
- package/cdn/chunks/chunk.YEBQ7PXW.js +127 -0
- package/cdn/chunks/chunk.YFXDR25H.js +11 -0
- package/cdn/chunks/chunk.YNMWYHZR.js +1990 -0
- package/cdn/chunks/chunk.YPDZKCVO.js +48 -0
- package/cdn/chunks/chunk.Z3UTWKV6.js +335 -0
- package/cdn/chunks/chunk.ZDR75F76.js +21 -0
- package/cdn/chunks/chunk.ZEDPJK2W.js +11 -0
- package/cdn/chunks/chunk.ZHYOC7HD.js +190 -0
- package/cdn/chunks/chunk.ZLP7NJWR.js +25 -0
- package/cdn/chunks/chunk.ZZ7EFCM4.js +7313 -0
- package/cdn/components/alert/alert.component.js +8 -8
- package/cdn/components/alert/alert.js +9 -9
- package/cdn/components/animated-image/animated-image.component.js +6 -6
- package/cdn/components/animated-image/animated-image.js +7 -7
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +8 -8
- package/cdn/components/avatar/avatar.js +9 -9
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
- package/cdn/components/breadcrumb/breadcrumb.js +6 -6
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +10 -10
- package/cdn/components/calendar/calendar.js +10 -10
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +7 -7
- package/cdn/components/carousel/carousel.js +8 -8
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +9 -9
- package/cdn/components/checkbox/checkbox.js +10 -10
- package/cdn/components/color-picker/color-picker.component.js +18 -18
- package/cdn/components/color-picker/color-picker.js +19 -19
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/date-panel/date-panel.component.js +14 -14
- package/cdn/components/date-panel/date-panel.js +14 -14
- package/cdn/components/date-panel/date-panel.styles.js +1 -1
- package/cdn/components/datepicker/datepicker.component.js +21 -21
- package/cdn/components/datepicker/datepicker.js +21 -21
- package/cdn/components/daterange/daterange.component.js +14 -14
- package/cdn/components/daterange/daterange.js +15 -15
- package/cdn/components/daterange/daterange.styles.js +1 -1
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +9 -9
- package/cdn/components/dialog/dialog.js +10 -10
- 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 +8 -8
- package/cdn/components/drawer/drawer.js +9 -9
- package/cdn/components/dropdown/dropdown.component.js +5 -5
- package/cdn/components/dropdown/dropdown.js +6 -6
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon-button/icon-button.component.js +7 -7
- package/cdn/components/icon-button/icon-button.js +8 -8
- package/cdn/components/image-comparer/image-comparer.component.js +7 -7
- package/cdn/components/image-comparer/image-comparer.js +8 -8
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +9 -9
- package/cdn/components/input/input.js +10 -10
- package/cdn/components/input/input.styles.js +1 -1
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +11 -11
- package/cdn/components/menu-item/menu-item.js +12 -12
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +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 +9 -9
- package/cdn/components/nav-submenu/nav-submenu.js +10 -10
- package/cdn/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/cdn/components/option/option.component.js +7 -7
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/pagination/custom-select.js +15 -15
- package/cdn/components/pagination/pagination.component.js +16 -16
- package/cdn/components/pagination/pagination.js +16 -16
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +3 -3
- package/cdn/components/qr-code/qr-code.js +4 -4
- package/cdn/components/radio/radio.component.js +7 -7
- package/cdn/components/radio/radio.js +8 -8
- package/cdn/components/radio-button/radio-button.component.js +3 -3
- package/cdn/components/radio-button/radio-button.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +5 -5
- package/cdn/components/range/range.js +6 -6
- package/cdn/components/rating/rating.component.js +8 -8
- package/cdn/components/rating/rating.js +9 -9
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +5 -5
- package/cdn/components/switch/switch.js +6 -6
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +3 -3
- package/cdn/components/tab-panel/tab-panel.js +4 -4
- package/cdn/components/table/body-table.js +5 -5
- package/cdn/components/table/col-group.js +2 -2
- package/cdn/components/table/head-table.js +28 -28
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +36 -36
- package/cdn/components/table/table.js +38 -38
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +5 -5
- package/cdn/components/textarea/textarea.js +6 -6
- package/cdn/components/time-panel/time-panel.component.js +9 -9
- package/cdn/components/time-panel/time-panel.js +9 -9
- package/cdn/components/timepicker/timepicker.component.js +21 -21
- package/cdn/components/timepicker/timepicker.js +21 -21
- package/cdn/components/tooltip/tooltip.component.js +4 -4
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/components/tree/tree.component.js +13 -13
- package/cdn/components/tree/tree.js +14 -14
- package/cdn/components/tree-item/tree-item.component.js +11 -11
- package/cdn/components/tree-item/tree-item.js +12 -12
- 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 +9447 -9375
- package/cdn/react/alert/index.js +9 -9
- package/cdn/react/animated-image/index.js +7 -7
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +9 -9
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +6 -6
- package/cdn/react/breadcrumb-item/index.js +4 -4
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +8 -8
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +10 -10
- package/cdn/react/color-picker/index.js +19 -19
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/date-panel/index.js +15 -15
- package/cdn/react/datepicker/index.js +22 -22
- package/cdn/react/daterange/index.js +15 -15
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +10 -10
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- package/cdn/react/dropdown/index.js +6 -6
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/icon-button/index.js +8 -8
- package/cdn/react/image-comparer/index.js +8 -8
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +211 -211
- package/cdn/react/input/index.js +10 -10
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +12 -12
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +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 +10 -10
- package/cdn/react/option/index.js +8 -8
- package/cdn/react/pagination/index.js +17 -17
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +4 -4
- package/cdn/react/radio/index.js +8 -8
- package/cdn/react/radio-button/index.js +4 -4
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +6 -6
- package/cdn/react/rating/index.js +9 -9
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +6 -6
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +4 -4
- package/cdn/react/table/index.js +37 -37
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +6 -6
- package/cdn/react/timepicker/index.js +22 -22
- package/cdn/react/tooltip/index.js +5 -5
- package/cdn/react/tree/index.js +14 -14
- package/cdn/react/tree-item/index.js +12 -12
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +219 -219
- package/cdn/themes/dark.css +42 -1
- package/cdn/themes/dark.styles.js +42 -1
- package/cdn/themes/light.css +13 -13
- package/cdn/themes/light.styles.js +13 -13
- package/cdn/themes/nova.css +78 -26
- package/cdn/themes/nova.styles.js +78 -26
- package/cdn/types/vue/index.d.ts +889 -882
- package/cdn/vscode.html-custom-data.json +689 -688
- package/cdn/web-types.json +1822 -1809
- package/dist/chunks/chunk.2AGMSWQ3.js +24 -0
- package/dist/chunks/chunk.2AKPKESP.js +25 -0
- package/dist/chunks/chunk.2B6SZPSB.js +11 -0
- package/dist/chunks/chunk.2G5BRIZO.js +25 -0
- package/dist/chunks/chunk.2GEKAE7B.js +21 -0
- package/dist/chunks/chunk.2I5NSDA3.js +50 -0
- package/dist/chunks/chunk.2JBERLVD.js +42 -0
- package/dist/chunks/chunk.2KIO3HAG.js +25 -0
- package/dist/chunks/chunk.2OGIQIU4.js +188 -0
- package/dist/chunks/chunk.2SLZZQYM.js +192 -0
- package/dist/chunks/chunk.2XKG643M.js +11 -0
- package/dist/chunks/chunk.3MHYIUMZ.js +11 -0
- package/dist/chunks/chunk.3MI6FFND.js +280 -0
- package/dist/chunks/chunk.3OVZFWLQ.js +90 -0
- package/dist/chunks/chunk.3U2YGNEM.js +11 -0
- package/dist/chunks/chunk.3W5WAOJN.js +28 -0
- package/dist/chunks/chunk.3Z7F3KO6.js +136 -0
- package/dist/chunks/chunk.4NTI5DBO.js +311 -0
- package/dist/chunks/chunk.4QJCVJBF.js +11 -0
- package/dist/chunks/chunk.4TR2RXVB.js +550 -0
- package/dist/chunks/chunk.4WIX2IJQ.js +26 -0
- package/dist/chunks/chunk.566J3G5O.js +28 -0
- package/dist/chunks/chunk.5ACY5XNI.js +24 -0
- package/dist/chunks/chunk.5BXLFKDP.js +27 -0
- package/dist/chunks/chunk.5GOVMNVY.js +27 -0
- package/dist/chunks/chunk.5H3WI66V.js +949 -0
- package/dist/chunks/chunk.5R4HY4FU.js +180 -0
- package/dist/chunks/chunk.5RQBRMVA.js +11 -0
- package/dist/chunks/chunk.5VMZZO5N.js +151 -0
- package/dist/chunks/chunk.5WEDPOQM.js +24 -0
- package/dist/chunks/chunk.65LX5MST.js +28 -0
- package/dist/chunks/chunk.7AKFVIU7.js +27 -0
- package/dist/chunks/chunk.7DCG5NJM.js +11 -0
- package/dist/chunks/chunk.7ENY6KCX.js +25 -0
- package/dist/chunks/chunk.7G3P2HOV.js +73 -0
- package/dist/chunks/chunk.7IO7PLKK.js +21 -0
- package/dist/chunks/chunk.7UEZE5SE.js +63 -0
- package/dist/chunks/chunk.7V2ZJJVX.js +29 -0
- package/dist/chunks/chunk.7ZZ53HWP.js +11 -0
- package/dist/chunks/chunk.A2BTH2G7.js +384 -0
- package/dist/chunks/chunk.ACFWV6JZ.js +91 -0
- package/dist/chunks/chunk.ADRT3SPA.js +24 -0
- package/dist/chunks/chunk.ALKWXHG6.js +11 -0
- package/dist/chunks/chunk.ANNRUVXD.js +25 -0
- package/dist/chunks/chunk.APHAPL3G.js +340 -0
- package/dist/chunks/chunk.AQLIAUBR.js +28 -0
- package/dist/chunks/chunk.AVNQQS4Q.js +21 -0
- package/dist/chunks/chunk.BN4VTNVI.js +11 -0
- package/dist/chunks/chunk.BS32CM5D.js +80 -0
- package/dist/chunks/chunk.BU33S5IX.js +117 -0
- package/dist/chunks/chunk.BUKXV23V.js +24 -0
- package/dist/chunks/chunk.BZBOJSAW.js +11 -0
- package/dist/chunks/chunk.CC7B3VFN.js +11 -0
- package/dist/chunks/chunk.CCWRIC5E.js +230 -0
- package/dist/chunks/chunk.CCXOBM4G.js +11 -0
- package/dist/chunks/chunk.CD3W4OKL.js +231 -0
- package/dist/chunks/chunk.CDMX7FSB.js +45 -0
- package/dist/chunks/chunk.CEO64DFS.js +326 -0
- package/dist/chunks/chunk.CFUHD4SV.js +21 -0
- package/dist/chunks/chunk.CLEZ2AZE.js +100 -0
- package/dist/chunks/chunk.COKG56GM.js +11 -0
- package/dist/chunks/chunk.CQBMYKTR.js +280 -0
- package/dist/chunks/chunk.CSVWI6Y4.js +25 -0
- package/dist/chunks/chunk.CW3SMEMO.js +111 -0
- package/dist/chunks/chunk.CWIT4JOL.js +11 -0
- package/dist/chunks/chunk.CWJB66PX.js +743 -0
- package/dist/chunks/chunk.CX2HAYFX.js +11 -0
- package/dist/chunks/chunk.CX4CRTGK.js +28 -0
- package/dist/chunks/chunk.CXUTYTWH.js +294 -0
- package/dist/chunks/chunk.CYJU5GS7.js +11 -0
- package/dist/chunks/chunk.D3Y3WW77.js +25 -0
- package/dist/chunks/chunk.DHQWUNZ7.js +26 -0
- package/dist/chunks/chunk.DPPHNIDC.js +11 -0
- package/dist/chunks/chunk.DW7HAH5F.js +21 -0
- package/dist/chunks/chunk.DZMRFWYF.js +11 -0
- package/dist/chunks/chunk.E65L7RMX.js +21 -0
- package/dist/chunks/chunk.EDGFWWZ5.js +11 -0
- package/dist/chunks/chunk.EGMPNGE4.js +27 -0
- package/dist/chunks/chunk.EI4X2NZZ.js +11 -0
- package/dist/chunks/chunk.EJY3J7NW.js +134 -0
- package/dist/chunks/chunk.EK74IYLW.js +11 -0
- package/dist/chunks/chunk.ELWQKOCF.js +27 -0
- package/dist/chunks/chunk.ETW3CARH.js +85 -0
- package/dist/chunks/chunk.EYXJPF4T.js +11 -0
- package/dist/chunks/chunk.F2BIKL72.js +34 -0
- package/dist/chunks/chunk.F5KDDEGG.js +21 -0
- package/dist/chunks/chunk.FSGF5W6S.js +21 -0
- package/dist/chunks/chunk.FZHUM3HC.js +11 -0
- package/dist/chunks/chunk.G22CZGOK.js +21 -0
- package/dist/chunks/chunk.G2XPKRQD.js +11 -0
- package/dist/chunks/chunk.GFU6I4GJ.js +11 -0
- package/dist/chunks/chunk.GGK2EW5V.js +59 -0
- package/dist/chunks/chunk.GJ7HZWMZ.js +263 -0
- package/dist/chunks/chunk.GJADB4CF.js +11 -0
- package/dist/chunks/chunk.GJBMOBND.js +21 -0
- package/dist/chunks/chunk.GN44I7UO.js +24 -0
- package/dist/chunks/chunk.GOGB7QRD.js +21 -0
- package/dist/chunks/chunk.GPSGJKTW.js +75 -0
- package/dist/chunks/chunk.GQGC3KU4.js +371 -0
- package/dist/chunks/chunk.GXXLLIZW.js +21 -0
- package/dist/chunks/chunk.H2B2ZHRX.js +67 -0
- package/dist/chunks/chunk.H4H7GWLL.js +814 -0
- package/dist/chunks/chunk.H5R4TGZH.js +11 -0
- package/dist/chunks/chunk.HTHEA36S.js +21 -0
- package/dist/chunks/chunk.I7A23GA6.js +29 -0
- package/dist/chunks/chunk.I7LLE46P.js +11 -0
- package/dist/chunks/chunk.I7MYJ6T7.js +21 -0
- package/dist/chunks/chunk.IBK3IBWM.js +148 -0
- package/dist/chunks/chunk.IGD3XHBJ.js +11 -0
- package/dist/chunks/chunk.ITE6JBSM.js +1120 -0
- package/dist/chunks/chunk.IVV46OK7.js +213 -0
- package/dist/chunks/chunk.J6DEDK7I.js +24 -0
- package/dist/chunks/chunk.J76YHVQV.js +11 -0
- package/dist/chunks/chunk.J7ZWERBI.js +167 -0
- package/dist/chunks/chunk.JEHBPENY.js +11 -0
- package/dist/chunks/chunk.JEIRYLA7.js +11 -0
- package/dist/chunks/chunk.JI646VQW.js +21 -0
- package/dist/chunks/chunk.JQVOAVAD.js +11 -0
- package/dist/chunks/chunk.JRE3XEGV.js +96 -0
- package/dist/chunks/chunk.K5UHBRBV.js +11 -0
- package/dist/chunks/chunk.KFD6SN4C.js +11 -0
- package/dist/chunks/chunk.KFSHKNTI.js +26 -0
- package/dist/chunks/chunk.KIRCNHCN.js +11 -0
- package/dist/chunks/chunk.KKGX4J3Q.js +21 -0
- package/dist/chunks/chunk.KUH7IHNM.js +21 -0
- package/dist/chunks/chunk.L2GNETEW.js +52 -0
- package/dist/chunks/chunk.L3EQKDDD.js +22 -0
- package/dist/chunks/chunk.LDYNEEPR.js +25 -0
- package/dist/chunks/chunk.LHEMCYGN.js +21 -0
- package/dist/chunks/chunk.LKK2PFM6.js +11 -0
- package/dist/chunks/chunk.LO3Y3SC3.js +21 -0
- package/dist/chunks/chunk.LP64IFNS.js +506 -0
- package/dist/chunks/chunk.LS6NLVX5.js +247 -0
- package/dist/chunks/chunk.LWXNNQJB.js +11 -0
- package/dist/chunks/chunk.MBBHJ5GO.js +337 -0
- package/dist/chunks/chunk.MEBOP6MN.js +11 -0
- package/dist/chunks/chunk.MHCVVLCT.js +11 -0
- package/dist/chunks/chunk.MHS3FJGV.js +11 -0
- package/dist/chunks/chunk.MJJGFKLO.js +21 -0
- package/dist/chunks/chunk.MU5AZVCP.js +227 -0
- package/dist/chunks/chunk.MY7LLR7C.js +109 -0
- package/dist/chunks/chunk.NMHP34NC.js +11 -0
- package/dist/chunks/chunk.NPS3ESCM.js +126 -0
- package/dist/chunks/chunk.ORMXZW6F.js +11 -0
- package/dist/chunks/chunk.OSQ3CCFF.js +214 -0
- package/dist/chunks/chunk.OUEOR24B.js +152 -0
- package/dist/chunks/chunk.OUNPBRRD.js +22 -0
- package/dist/chunks/chunk.OVX7KABZ.js +113 -0
- package/dist/chunks/chunk.OWQUCAPJ.js +577 -0
- package/dist/chunks/chunk.PHBT3MJN.js +361 -0
- package/dist/chunks/chunk.PJ5F7CV7.js +116 -0
- package/dist/chunks/chunk.PKF7THHX.js +1242 -0
- package/dist/chunks/chunk.PKSNYBHX.js +448 -0
- package/dist/chunks/chunk.PLFXQQK7.js +27 -0
- package/dist/chunks/chunk.PLZEF6WP.js +29 -0
- package/dist/chunks/chunk.PMI7GCY2.js +25 -0
- package/dist/chunks/chunk.Q6XBKIKU.js +345 -0
- package/dist/chunks/chunk.QHUOTUN2.js +147 -0
- package/dist/chunks/chunk.QIBAK7JU.js +11 -0
- package/dist/chunks/chunk.QP55ES4D.js +21 -0
- package/dist/chunks/chunk.QYPMCDLQ.js +75 -0
- package/dist/chunks/chunk.QYRMBDMM.js +29 -0
- package/dist/chunks/chunk.R7KBW4QU.js +213 -0
- package/dist/chunks/chunk.RAQSRVTG.js +293 -0
- package/dist/chunks/chunk.RNKUPBLS.js +11 -0
- package/dist/chunks/chunk.RRE67WPJ.js +25 -0
- package/dist/chunks/chunk.RS5RBPPC.js +24 -0
- package/dist/chunks/chunk.RXIN2NBH.js +11 -0
- package/dist/chunks/chunk.RXL26ZVA.js +21 -0
- package/dist/chunks/chunk.S3KIYD3N.js +119 -0
- package/dist/chunks/chunk.S7AI3OAX.js +331 -0
- package/dist/chunks/chunk.SJFD3WIY.js +11 -0
- package/dist/chunks/chunk.SWBDS6VT.js +21 -0
- package/dist/chunks/chunk.SWVFDTKZ.js +21 -0
- package/dist/chunks/chunk.T6LQGRUO.js +11 -0
- package/dist/chunks/chunk.T75MXKKM.js +11 -0
- package/dist/chunks/chunk.TEY22MXD.js +28 -0
- package/dist/chunks/chunk.TJTYBIR7.js +181 -0
- package/dist/chunks/chunk.TOTYR5GB.js +11 -0
- package/dist/chunks/chunk.TS6C6XE6.js +11 -0
- package/dist/chunks/chunk.TVTYAME6.js +24 -0
- package/dist/chunks/chunk.U3TBBNK7.js +11 -0
- package/dist/chunks/chunk.UBV7OT7X.js +46 -0
- package/dist/chunks/chunk.UCPVFXHQ.js +33 -0
- package/dist/chunks/chunk.UCRIUDWV.js +24 -0
- package/dist/chunks/chunk.UFZ64NW7.js +286 -0
- package/dist/chunks/chunk.UH4QRZF2.js +306 -0
- package/dist/chunks/chunk.UJBLG2EM.js +45 -0
- package/dist/chunks/chunk.USK5EGSO.js +11 -0
- package/dist/chunks/chunk.UTRX2GAS.js +11 -0
- package/dist/chunks/chunk.UTVWXAXN.js +315 -0
- package/dist/chunks/chunk.UUC35CUO.js +126 -0
- package/dist/chunks/chunk.UUFFPP2C.js +397 -0
- package/dist/chunks/chunk.VCKKWWX5.js +11 -0
- package/dist/chunks/chunk.VDIOOKK3.js +25 -0
- package/dist/chunks/chunk.VFO6XX4A.js +93 -0
- package/dist/chunks/chunk.VSR2VRYO.js +11 -0
- package/dist/chunks/chunk.VZFYIASQ.js +24 -0
- package/dist/chunks/chunk.W4CK4MNF.js +11 -0
- package/dist/chunks/chunk.W5XOGECB.js +135 -0
- package/dist/chunks/chunk.W6WWCEDK.js +11 -0
- package/dist/chunks/chunk.WJUIWRCP.js +24 -0
- package/dist/chunks/chunk.WYGWB63T.js +11 -0
- package/dist/chunks/chunk.XJEHWKV5.js +502 -0
- package/dist/chunks/chunk.XLVA5ZEI.js +11 -0
- package/dist/chunks/chunk.XQMQGT2Z.js +11 -0
- package/dist/chunks/chunk.XWFL7NJJ.js +11 -0
- package/dist/chunks/chunk.Y2M2ID7D.js +820 -0
- package/dist/chunks/chunk.Y4XGHZNT.js +100 -0
- package/dist/chunks/chunk.YFHUR4GU.js +21 -0
- package/dist/chunks/chunk.YPHENAEZ.js +417 -0
- package/dist/chunks/chunk.YWSXJLSV.js +329 -0
- package/dist/chunks/chunk.Z5BUSFRU.js +24 -0
- package/dist/chunks/chunk.Z73U3F6N.js +11 -0
- package/dist/chunks/chunk.ZABCFN7Q.js +21 -0
- package/dist/chunks/chunk.ZO3NUUSF.js +274 -0
- package/dist/chunks/chunk.ZYEU5MVF.js +11 -0
- package/dist/components/alert/alert.component.js +5 -5
- package/dist/components/alert/alert.js +6 -6
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +5 -5
- package/dist/components/button/button.js +6 -6
- 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 +7 -7
- package/dist/components/calendar/calendar.js +7 -7
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +4 -4
- package/dist/components/carousel/carousel.js +5 -5
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/date-panel/date-panel.component.js +11 -11
- package/dist/components/date-panel/date-panel.js +11 -11
- package/dist/components/date-panel/date-panel.styles.js +1 -1
- package/dist/components/datepicker/datepicker.component.js +17 -17
- package/dist/components/datepicker/datepicker.js +17 -17
- package/dist/components/daterange/daterange.component.js +10 -10
- package/dist/components/daterange/daterange.js +11 -11
- package/dist/components/daterange/daterange.styles.js +1 -1
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/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 +5 -5
- package/dist/components/drawer/drawer.js +6 -6
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon-button/icon-button.component.js +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/image-comparer/image-comparer.component.js +4 -4
- package/dist/components/image-comparer/image-comparer.js +5 -5
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/input/input.styles.js +1 -1
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +2 -2
- package/dist/components/nav/nav.js +3 -3
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +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 +6 -6
- package/dist/components/nav-submenu/nav-submenu.js +7 -7
- package/dist/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/custom-select.js +11 -11
- package/dist/components/pagination/pagination.component.js +12 -12
- package/dist/components/pagination/pagination.js +12 -12
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +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 +4 -4
- package/dist/components/rating/rating.js +5 -5
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/select/select.component.js +7 -7
- package/dist/components/select/select.js +8 -8
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +5 -5
- package/dist/components/tab/tab.js +6 -6
- package/dist/components/tab-group/tab-group.component.js +6 -6
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/head-table.js +22 -22
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +30 -30
- package/dist/components/table/table.js +32 -32
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +6 -6
- package/dist/components/time-panel/time-panel.js +6 -6
- package/dist/components/timepicker/timepicker.component.js +17 -17
- package/dist/components/timepicker/timepicker.js +17 -17
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +9447 -9375
- package/dist/react/alert/index.js +6 -6
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +5 -5
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +6 -6
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/date-panel/index.js +12 -12
- package/dist/react/datepicker/index.js +18 -18
- package/dist/react/daterange/index.js +11 -11
- package/dist/react/details/index.js +5 -5
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +6 -6
- package/dist/react/dropdown/index.js +5 -5
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +4 -4
- package/dist/react/icon-button/index.js +5 -5
- package/dist/react/image-comparer/index.js +5 -5
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +204 -204
- package/dist/react/input/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +3 -3
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +4 -4
- package/dist/react/nav-submenu/index.js +7 -7
- package/dist/react/option/index.js +5 -5
- package/dist/react/pagination/index.js +13 -13
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +5 -5
- 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 +5 -5
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +8 -8
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +6 -6
- package/dist/react/tab-group/index.js +7 -7
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +31 -31
- package/dist/react/tag/index.js +6 -6
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +18 -18
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +212 -212
- package/dist/themes/dark.css +42 -1
- package/dist/themes/dark.styles.js +42 -1
- package/dist/themes/light.css +13 -13
- package/dist/themes/light.styles.js +13 -13
- package/dist/themes/nova.css +78 -26
- package/dist/themes/nova.styles.js +78 -26
- package/dist/types/vue/index.d.ts +889 -882
- package/dist/vscode.html-custom-data.json +689 -688
- package/dist/web-types.json +1822 -1809
- package/package.json +2 -2
- 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.E3KIWNQF.js +0 -113
- 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.G2YOMCHR.js +0 -126
- 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.JCJCP52E.js +0 -69
- 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.JTC7F5FK.js +0 -246
- 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.PSFNWY5K.js +0 -208
- 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.YP4HAHSB.js +0 -290
- package/cdn/chunks/chunk.YPSV5WBM.js +0 -11
- package/cdn/chunks/chunk.YYDXR7K4.js +0 -328
- 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.4HYWKEVU.js +0 -325
- 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.JYPOA6M2.js +0 -205
- 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.PZXGZKZX.js +0 -287
- 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,820 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getDragRow
|
|
3
|
+
} from "./chunk.DSRLY2FD.js";
|
|
4
|
+
import {
|
|
5
|
+
getExpendRow
|
|
6
|
+
} from "./chunk.IUVORREB.js";
|
|
7
|
+
import {
|
|
8
|
+
getDefaultFilters
|
|
9
|
+
} from "./chunk.TF3IWFSX.js";
|
|
10
|
+
import {
|
|
11
|
+
convertRowSelectionState,
|
|
12
|
+
getRowSelectionOptions,
|
|
13
|
+
getSelectionColumn
|
|
14
|
+
} from "./chunk.IKG7GFWI.js";
|
|
15
|
+
import {
|
|
16
|
+
getDefaultSorting
|
|
17
|
+
} from "./chunk.WQTJ57OT.js";
|
|
18
|
+
import {
|
|
19
|
+
table_style_default
|
|
20
|
+
} from "./chunk.YETPLLCY.js";
|
|
21
|
+
import {
|
|
22
|
+
getDefaultPinning
|
|
23
|
+
} from "./chunk.REAQMJXE.js";
|
|
24
|
+
import {
|
|
25
|
+
getClientHeight,
|
|
26
|
+
getClientWidth,
|
|
27
|
+
getOffsetWidth,
|
|
28
|
+
getScrollHeight
|
|
29
|
+
} from "./chunk.YWEYEF5K.js";
|
|
30
|
+
import {
|
|
31
|
+
CUSTOM_CELL,
|
|
32
|
+
CUSTOM_ROW,
|
|
33
|
+
VIRTUALIZED_DEFAULT
|
|
34
|
+
} from "./chunk.UP5K765N.js";
|
|
35
|
+
import {
|
|
36
|
+
SlRadio
|
|
37
|
+
} from "./chunk.OVX7KABZ.js";
|
|
38
|
+
import {
|
|
39
|
+
SlPagination
|
|
40
|
+
} from "./chunk.5R4HY4FU.js";
|
|
41
|
+
import {
|
|
42
|
+
SlCheckbox
|
|
43
|
+
} from "./chunk.GJ7HZWMZ.js";
|
|
44
|
+
import {
|
|
45
|
+
SlIcon
|
|
46
|
+
} from "./chunk.TJTYBIR7.js";
|
|
47
|
+
import {
|
|
48
|
+
ShoelaceElement
|
|
49
|
+
} from "./chunk.JRE3XEGV.js";
|
|
50
|
+
import {
|
|
51
|
+
__decorateClass,
|
|
52
|
+
__objRest,
|
|
53
|
+
__spreadProps,
|
|
54
|
+
__spreadValues
|
|
55
|
+
} from "./chunk.W5KB6T3Z.js";
|
|
56
|
+
|
|
57
|
+
// src/components/table/table.component.ts
|
|
58
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
59
|
+
import {
|
|
60
|
+
createColumnHelper,
|
|
61
|
+
getCoreRowModel,
|
|
62
|
+
getExpandedRowModel,
|
|
63
|
+
getFilteredRowModel,
|
|
64
|
+
getPaginationRowModel,
|
|
65
|
+
getSortedRowModel,
|
|
66
|
+
TableController
|
|
67
|
+
} from "@tanstack/lit-table";
|
|
68
|
+
import { VirtualizerController } from "@tanstack/lit-virtual";
|
|
69
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
70
|
+
import { debounce, get, some } from "lodash";
|
|
71
|
+
import { html } from "lit";
|
|
72
|
+
import { property } from "lit/decorators.js";
|
|
73
|
+
import { state } from "lit/decorators/state.js";
|
|
74
|
+
var SlTable = class extends ShoelaceElement {
|
|
75
|
+
constructor() {
|
|
76
|
+
super(...arguments);
|
|
77
|
+
this.tableController = new TableController(this);
|
|
78
|
+
this.rowKey = "key";
|
|
79
|
+
this.columns = [];
|
|
80
|
+
this.dataSource = [];
|
|
81
|
+
this.loading = false;
|
|
82
|
+
this.bordered = false;
|
|
83
|
+
this.direction = "ltr";
|
|
84
|
+
this.showHeader = true;
|
|
85
|
+
this.tableScroll = {};
|
|
86
|
+
this.enableColumnResizing = false;
|
|
87
|
+
this.rowDrag = false;
|
|
88
|
+
this.rowSelectedMap = {};
|
|
89
|
+
this.expandedMap = {};
|
|
90
|
+
this.sorting = [];
|
|
91
|
+
this.columnFilters = [];
|
|
92
|
+
this.tableWidth = 0;
|
|
93
|
+
this.columnSizing = {};
|
|
94
|
+
this.pageIndex = 0;
|
|
95
|
+
this.columnPinning = {
|
|
96
|
+
left: ["drag", "expend", "select"],
|
|
97
|
+
right: []
|
|
98
|
+
};
|
|
99
|
+
this.tableWrapRef = createRef();
|
|
100
|
+
this.headerWrapRef = createRef();
|
|
101
|
+
this.bodyWrapRef = createRef();
|
|
102
|
+
this.syncing = false;
|
|
103
|
+
/*
|
|
104
|
+
生命周期 end
|
|
105
|
+
**/
|
|
106
|
+
this.warnIfNoKey = () => {
|
|
107
|
+
if (some(this.dataSource, (record) => this.adapter.getRecordKey(record) === void 0)) {
|
|
108
|
+
console.error(
|
|
109
|
+
'You must specify a key for each element in the dataSource or use "rowKey" to specify an attribute name as the primary key!'
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
this.setColumnWidth = () => {
|
|
114
|
+
const head = this.headerWrapRef.value;
|
|
115
|
+
if (!head) return;
|
|
116
|
+
const ths = head == null ? void 0 : head.querySelectorAll("th");
|
|
117
|
+
if (ths) {
|
|
118
|
+
const widths = Array.from(ths).reduce(
|
|
119
|
+
(acc, th) => {
|
|
120
|
+
const { width } = th.getBoundingClientRect();
|
|
121
|
+
const colKey = th.dataset.colKey;
|
|
122
|
+
return __spreadProps(__spreadValues({}, acc), {
|
|
123
|
+
[colKey]: width
|
|
124
|
+
});
|
|
125
|
+
},
|
|
126
|
+
{}
|
|
127
|
+
);
|
|
128
|
+
this.columnSizing = widths;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
this.handleBodyScroll = (e) => {
|
|
132
|
+
var _a;
|
|
133
|
+
this.handleBodyScrollLeft(e);
|
|
134
|
+
this.setScrollPositionClassName();
|
|
135
|
+
if ((_a = this.virtualized) == null ? void 0 : _a.onScroll) {
|
|
136
|
+
this.virtualized.onScroll(e);
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
this.handleBodyScrollLeft = (e) => {
|
|
140
|
+
if (this.syncing) return;
|
|
141
|
+
const target = e.currentTarget;
|
|
142
|
+
const head = this.headerWrapRef.value;
|
|
143
|
+
const body = this.bodyWrapRef.value;
|
|
144
|
+
if (!head || !body) return;
|
|
145
|
+
this.syncing = true;
|
|
146
|
+
if (target === body) {
|
|
147
|
+
head.scrollLeft = body.scrollLeft;
|
|
148
|
+
} else if (target === head) {
|
|
149
|
+
body.scrollLeft = head.scrollLeft;
|
|
150
|
+
}
|
|
151
|
+
requestAnimationFrame(() => {
|
|
152
|
+
this.syncing = false;
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
this.handleWindowResize = () => {
|
|
156
|
+
this.syncTableWidth();
|
|
157
|
+
this.setScrollPositionClassName();
|
|
158
|
+
this.setScrollBarStyle();
|
|
159
|
+
};
|
|
160
|
+
this.syncTableWidth = () => {
|
|
161
|
+
var _a;
|
|
162
|
+
if ((_a = this.tableWrapRef) == null ? void 0 : _a.value) {
|
|
163
|
+
this.tableWidth = this.tableWrapRef.value.getBoundingClientRect().width;
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
this.setScrollBarStyle = () => {
|
|
167
|
+
setTimeout(() => {
|
|
168
|
+
const bodyWrapper = this.bodyWrapRef.value;
|
|
169
|
+
const headWrapper = this.headerWrapRef.value;
|
|
170
|
+
if (!bodyWrapper || !headWrapper) return;
|
|
171
|
+
const hasVerticalScroll = getScrollHeight(bodyWrapper) > getClientHeight(bodyWrapper);
|
|
172
|
+
const bodyHasScrollBar = getClientWidth(bodyWrapper) < getOffsetWidth(bodyWrapper);
|
|
173
|
+
if (hasVerticalScroll && bodyHasScrollBar) {
|
|
174
|
+
headWrapper.style.overflowY = "scroll";
|
|
175
|
+
} else {
|
|
176
|
+
headWrapper.style.overflowY = "auto";
|
|
177
|
+
}
|
|
178
|
+
}, 0);
|
|
179
|
+
};
|
|
180
|
+
this.setScrollPositionClassName = () => {
|
|
181
|
+
const tableBody = this.bodyWrapRef.value;
|
|
182
|
+
const tableWrapper = this.tableWrapRef.value;
|
|
183
|
+
if (!tableBody || !tableWrapper) return;
|
|
184
|
+
const { scrollLeft, scrollWidth, clientWidth } = tableBody;
|
|
185
|
+
const scrollRange = scrollWidth - clientWidth;
|
|
186
|
+
const classList = tableWrapper.classList;
|
|
187
|
+
const startClass = "table-scroll-position-left";
|
|
188
|
+
const middleClass = "table-scroll-position-middle";
|
|
189
|
+
const endClass = "table-scroll-position-right";
|
|
190
|
+
if (scrollWidth <= clientWidth) {
|
|
191
|
+
classList.remove(startClass, endClass, middleClass);
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
const isRtl = this.direction === "rtl";
|
|
195
|
+
const scrollLeftAbs = Math.abs(scrollLeft);
|
|
196
|
+
let isStart = false;
|
|
197
|
+
let isEnd = false;
|
|
198
|
+
if (isRtl) {
|
|
199
|
+
isStart = scrollLeftAbs <= 1;
|
|
200
|
+
isEnd = scrollLeftAbs >= scrollRange - 1;
|
|
201
|
+
} else {
|
|
202
|
+
isStart = scrollLeft <= 0;
|
|
203
|
+
isEnd = scrollLeft >= scrollRange - 1;
|
|
204
|
+
}
|
|
205
|
+
if (isStart) {
|
|
206
|
+
classList.add(startClass);
|
|
207
|
+
classList.remove(middleClass, endClass);
|
|
208
|
+
} else if (isEnd) {
|
|
209
|
+
classList.remove(startClass, middleClass);
|
|
210
|
+
classList.add(endClass);
|
|
211
|
+
} else {
|
|
212
|
+
classList.remove(startClass, endClass);
|
|
213
|
+
classList.add(middleClass);
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
this.handleColumnSizingChange = (updaterOrValue) => {
|
|
217
|
+
var _a;
|
|
218
|
+
const next = typeof updaterOrValue === "function" ? updaterOrValue(this.columnSizing) : updaterOrValue;
|
|
219
|
+
const clamped = {};
|
|
220
|
+
for (const key in next) {
|
|
221
|
+
const v = next[key];
|
|
222
|
+
clamped[key] = Math.min(500, Math.max(60, v));
|
|
223
|
+
}
|
|
224
|
+
this.columnSizing = clamped;
|
|
225
|
+
(_a = this.slColumnResize) == null ? void 0 : _a.call(this, __spreadValues({}, clamped));
|
|
226
|
+
};
|
|
227
|
+
this.generateCustomCellSlot = (filteredRows) => {
|
|
228
|
+
const hasSlotColumns = this.columns.filter((col) => col.slot);
|
|
229
|
+
if (!hasSlotColumns.length) return "";
|
|
230
|
+
return html`
|
|
231
|
+
${hasSlotColumns.map(
|
|
232
|
+
(col) => filteredRows.map((row) => {
|
|
233
|
+
const slotKey = `${CUSTOM_CELL}-${col.dataIndex}-${this.adapter.getRecordKey(row.original)}`;
|
|
234
|
+
return html`<slot slot="${slotKey}" name="${slotKey}">${row.original[col.dataIndex]}</slot>`;
|
|
235
|
+
})
|
|
236
|
+
)}
|
|
237
|
+
`;
|
|
238
|
+
};
|
|
239
|
+
this.generateCustomRowSlot = (rows) => {
|
|
240
|
+
if (!this.expandProps) return "";
|
|
241
|
+
return html`
|
|
242
|
+
${rows.map((row) => {
|
|
243
|
+
var _a, _b, _c;
|
|
244
|
+
const rowSlotKey = `${CUSTOM_ROW}-${this.adapter.getRecordKey(row.original)}`;
|
|
245
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expandableRowKeys)) return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
246
|
+
if ((_c = (_b = this.expandProps) == null ? void 0 : _b.expandableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey])) {
|
|
247
|
+
return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
248
|
+
} else {
|
|
249
|
+
return null;
|
|
250
|
+
}
|
|
251
|
+
})}
|
|
252
|
+
`;
|
|
253
|
+
};
|
|
254
|
+
this.handleRowSelectionChange = (updaterOrValue) => {
|
|
255
|
+
if (typeof updaterOrValue === "function") {
|
|
256
|
+
this.rowSelectedMap = updaterOrValue(this.rowSelectedMap);
|
|
257
|
+
} else {
|
|
258
|
+
this.rowSelectedMap = updaterOrValue;
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
this.handleSortingChange = (updaterOrValue) => {
|
|
262
|
+
if (typeof updaterOrValue === "function") {
|
|
263
|
+
this.sorting = updaterOrValue(this.sorting);
|
|
264
|
+
} else {
|
|
265
|
+
this.sorting = updaterOrValue;
|
|
266
|
+
}
|
|
267
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
268
|
+
this.handleChange({
|
|
269
|
+
changeType: "sorter"
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
};
|
|
273
|
+
this.handleColumnFiltersChange = (updaterOrValue) => {
|
|
274
|
+
if (typeof updaterOrValue === "function") {
|
|
275
|
+
this.columnFilters = updaterOrValue(this.columnFilters);
|
|
276
|
+
} else {
|
|
277
|
+
this.columnFilters = updaterOrValue;
|
|
278
|
+
}
|
|
279
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
280
|
+
this.handleChange({
|
|
281
|
+
changeType: "filters"
|
|
282
|
+
});
|
|
283
|
+
});
|
|
284
|
+
};
|
|
285
|
+
this.handleFilterDropdownChange = (e) => {
|
|
286
|
+
var _a;
|
|
287
|
+
const detail = e.detail;
|
|
288
|
+
const { key, visible } = detail || {};
|
|
289
|
+
const col = this.columns.find((c) => c.dataIndex === key);
|
|
290
|
+
(_a = col == null ? void 0 : col.onFilterDropdownVisibleChange) == null ? void 0 : _a.call(col, visible);
|
|
291
|
+
};
|
|
292
|
+
this.getRowCanExpand = (row) => {
|
|
293
|
+
var _a, _b, _c;
|
|
294
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expandableRowKeys)) return true;
|
|
295
|
+
return Boolean((_c = (_b = this.expandProps) == null ? void 0 : _b.expandableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey]));
|
|
296
|
+
};
|
|
297
|
+
this.expendedChange = (updater) => {
|
|
298
|
+
const newExpanded = typeof updater === "function" ? updater(this.expandedMap) : updater;
|
|
299
|
+
this.expandedMap = newExpanded;
|
|
300
|
+
this.requestUpdate();
|
|
301
|
+
};
|
|
302
|
+
this.getSubRows = (row) => {
|
|
303
|
+
const { treeConfig } = this.getTreeInfo();
|
|
304
|
+
if (treeConfig === false) return [];
|
|
305
|
+
const v = row[treeConfig.childrenRecordName];
|
|
306
|
+
return Array.isArray(v) ? v : [];
|
|
307
|
+
};
|
|
308
|
+
this.handlePaginationChange = (event) => {
|
|
309
|
+
var _a, _b, _c, _d;
|
|
310
|
+
const { pageNumber, pageSize } = event.detail;
|
|
311
|
+
(_b = (_a = this.pagination) == null ? void 0 : _a["sl-page-change"]) == null ? void 0 : _b.call(_a, event);
|
|
312
|
+
this.pagination = __spreadProps(__spreadValues({}, this.pagination), {
|
|
313
|
+
defaultCurrentPage: pageNumber,
|
|
314
|
+
pageSize: pageSize || 20
|
|
315
|
+
});
|
|
316
|
+
if (!((_c = this.pagination) == null ? void 0 : _c.currentPage)) this.pageIndex = pageNumber - 1;
|
|
317
|
+
this.handleChange({
|
|
318
|
+
pagination: {
|
|
319
|
+
pageNumber: pageNumber || 1,
|
|
320
|
+
pageSize: pageSize || 20,
|
|
321
|
+
total: ((_d = this.pagination) == null ? void 0 : _d.total) || this.dataSource.length
|
|
322
|
+
},
|
|
323
|
+
type: "pagination"
|
|
324
|
+
});
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
normalizeTree() {
|
|
328
|
+
var _a, _b;
|
|
329
|
+
const defaultTree = { childrenRecordName: "children", indentSize: 16 };
|
|
330
|
+
const hasChildren = Array.isArray(this.dataSource) && this.dataSource.some((row) => Array.isArray(row.children));
|
|
331
|
+
if (!this.tree) return hasChildren ? defaultTree : false;
|
|
332
|
+
if (typeof this.tree === "object") {
|
|
333
|
+
return {
|
|
334
|
+
childrenRecordName: (_a = this.tree.childrenRecordName) != null ? _a : defaultTree.childrenRecordName,
|
|
335
|
+
indentSize: (_b = this.tree.indentSize) != null ? _b : defaultTree.indentSize
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
return this.tree ? defaultTree : false;
|
|
339
|
+
}
|
|
340
|
+
getTreeInfo() {
|
|
341
|
+
const treeConfig = this.normalizeTree();
|
|
342
|
+
return { treeConfig, treeEnabled: treeConfig !== false };
|
|
343
|
+
}
|
|
344
|
+
get adapter() {
|
|
345
|
+
return {
|
|
346
|
+
getRecordKey: (record) => {
|
|
347
|
+
if (!record) {
|
|
348
|
+
return void 0;
|
|
349
|
+
}
|
|
350
|
+
return get(record, this.rowKey);
|
|
351
|
+
},
|
|
352
|
+
getSortIsControlled: () => {
|
|
353
|
+
return some(this.columns, (col) => !!col.sortOrder);
|
|
354
|
+
},
|
|
355
|
+
getTableWidth: () => this.tableWidth,
|
|
356
|
+
getFilterIsControlled: () => some(this.columns, (col) => !!col.filteredValue),
|
|
357
|
+
tableScrollToTop: () => {
|
|
358
|
+
var _a, _b;
|
|
359
|
+
return ((_a = this.tableScroll) == null ? void 0 : _a.y) ? (_b = this.bodyWrapRef.value) == null ? void 0 : _b.scrollTo({ top: 0 }) : void 0;
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
/*
|
|
364
|
+
生命周期 start
|
|
365
|
+
**/
|
|
366
|
+
connectedCallback() {
|
|
367
|
+
super.connectedCallback();
|
|
368
|
+
window.addEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
369
|
+
this.syncTableWidth();
|
|
370
|
+
this.setScrollBarStyle();
|
|
371
|
+
this.setScrollPositionClassName();
|
|
372
|
+
}
|
|
373
|
+
disconnectedCallback() {
|
|
374
|
+
window.removeEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
375
|
+
super.disconnectedCallback();
|
|
376
|
+
}
|
|
377
|
+
willUpdate(changedProperties) {
|
|
378
|
+
var _a;
|
|
379
|
+
this.warnIfNoKey();
|
|
380
|
+
if (changedProperties.has("rowSelection")) {
|
|
381
|
+
this.rowSelectedMap = convertRowSelectionState(((_a = this.rowSelection) == null ? void 0 : _a.defaultSelectedRowKeys) || []);
|
|
382
|
+
}
|
|
383
|
+
if (changedProperties.has("columns")) {
|
|
384
|
+
const defaultSorting = getDefaultSorting(this.columns);
|
|
385
|
+
if (defaultSorting.length > 0) {
|
|
386
|
+
this.sorting = defaultSorting;
|
|
387
|
+
}
|
|
388
|
+
const defaultFilters = getDefaultFilters(this.columns);
|
|
389
|
+
if (defaultFilters.length > 0) {
|
|
390
|
+
this.columnFilters = defaultFilters;
|
|
391
|
+
}
|
|
392
|
+
const defaultPinning = getDefaultPinning(this.columns);
|
|
393
|
+
if (defaultPinning.left.length > 0 || defaultPinning.right.length > 0) {
|
|
394
|
+
this.columnPinning = defaultPinning;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
if (changedProperties.has("dataSource") || changedProperties.has("expandProps")) {
|
|
398
|
+
this.dataSource.forEach((row) => {
|
|
399
|
+
var _a2, _b;
|
|
400
|
+
if (!((_a2 = this.expandProps) == null ? void 0 : _a2.rowExpandable)) return;
|
|
401
|
+
const rowKey = row[this.rowKey];
|
|
402
|
+
const expandAllMatch = this.expandProps.defaultExpandAllRows && (!this.expandProps.expandableRowKeys || this.expandProps.expandableRowKeys.includes(rowKey));
|
|
403
|
+
const expandByKeys = (_b = this.expandProps.defaultExpandedRowKeys) == null ? void 0 : _b.includes(rowKey);
|
|
404
|
+
if (expandAllMatch || expandByKeys) {
|
|
405
|
+
this.expandedMap[rowKey] = true;
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
updated(changedProperties) {
|
|
411
|
+
super.updated(changedProperties);
|
|
412
|
+
window.requestAnimationFrame(() => {
|
|
413
|
+
this.setScrollPositionClassName();
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
async firstUpdated() {
|
|
417
|
+
var _a, _b, _d, _e;
|
|
418
|
+
const bodyTable = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("sl-table-body-table");
|
|
419
|
+
if (bodyTable) {
|
|
420
|
+
await bodyTable.updateComplete;
|
|
421
|
+
}
|
|
422
|
+
const headTable = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sl-table-head-table");
|
|
423
|
+
if (headTable) {
|
|
424
|
+
await headTable.updateComplete;
|
|
425
|
+
}
|
|
426
|
+
if (this.virtualized) {
|
|
427
|
+
const scrollElement = this.bodyWrapRef.value;
|
|
428
|
+
const _c = this.virtualized, { itemHeight, overscan } = _c, rest = __objRest(_c, ["itemHeight", "overscan"]);
|
|
429
|
+
this.rowVirtualizerController = new VirtualizerController(this, __spreadValues({
|
|
430
|
+
count: this.dataSource.length,
|
|
431
|
+
getScrollElement: () => scrollElement,
|
|
432
|
+
estimateSize: () => itemHeight || VIRTUALIZED_DEFAULT.itemHeight,
|
|
433
|
+
overscan: overscan || VIRTUALIZED_DEFAULT.overscan
|
|
434
|
+
}, rest));
|
|
435
|
+
this.requestUpdate();
|
|
436
|
+
}
|
|
437
|
+
this.setColumnWidth();
|
|
438
|
+
if ((_d = this.pagination) == null ? void 0 : _d.currentPage) {
|
|
439
|
+
this.pageIndex = this.pagination.currentPage - 1;
|
|
440
|
+
} else if ((_e = this.pagination) == null ? void 0 : _e.defaultCurrentPage) {
|
|
441
|
+
this.pageIndex = this.pagination.defaultCurrentPage - 1;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
renderTable(tableInstance) {
|
|
445
|
+
var _a, _b;
|
|
446
|
+
const currentPageRows = tableInstance.getPaginationRowModel().rows;
|
|
447
|
+
const filteredRows = tableInstance.getFilteredRowModel().rows;
|
|
448
|
+
const { treeConfig, treeEnabled } = this.getTreeInfo();
|
|
449
|
+
const commonProps = {
|
|
450
|
+
direction: this.direction,
|
|
451
|
+
bordered: !!this.bordered,
|
|
452
|
+
rowSelectedMap: this.rowSelectedMap,
|
|
453
|
+
tableScroll: this.tableScroll,
|
|
454
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
455
|
+
handleBodyScroll: this.handleBodyScroll,
|
|
456
|
+
sorting: this.sorting,
|
|
457
|
+
dataSource: this.dataSource,
|
|
458
|
+
columns: this.columns,
|
|
459
|
+
adapter: this.adapter,
|
|
460
|
+
tableInstance,
|
|
461
|
+
slHeaderRow: this.slHeaderRow,
|
|
462
|
+
slRow: this.slRow,
|
|
463
|
+
virtualized: this.virtualized,
|
|
464
|
+
rowDrag: this.rowDrag,
|
|
465
|
+
expandProps: this.expandProps,
|
|
466
|
+
tree: treeConfig,
|
|
467
|
+
slRowReorder: (detail) => {
|
|
468
|
+
var _a2;
|
|
469
|
+
if (this.slRowReorder) this.slRowReorder(detail);
|
|
470
|
+
if ((_a2 = detail.newRows) == null ? void 0 : _a2.length) {
|
|
471
|
+
this.dataSource = detail.newRows;
|
|
472
|
+
this.requestUpdate();
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
};
|
|
476
|
+
const emptyTemplate = this.dataSource.length === 0 || currentPageRows.length === 0 || filteredRows.length === 0 ? this.renderEmpty() : "";
|
|
477
|
+
const headTable = this.showHeader ? html`<sl-table-head-table
|
|
478
|
+
exportparts="table-head, table-head-row, table-head-cell"
|
|
479
|
+
.commonProps=${commonProps}
|
|
480
|
+
.headerRef=${this.headerWrapRef}
|
|
481
|
+
@sl-filter-dropdown-change=${this.handleFilterDropdownChange}
|
|
482
|
+
></sl-table-head-table>` : "";
|
|
483
|
+
const bodyTable = html`<sl-table-body-table
|
|
484
|
+
exportparts="table-body, table-body-row, table-body-cell"
|
|
485
|
+
.bodyRef=${this.bodyWrapRef}
|
|
486
|
+
.emptyTemplate=${emptyTemplate}
|
|
487
|
+
.commonProps=${commonProps}
|
|
488
|
+
.rowVirtualizerController=${this.rowVirtualizerController}
|
|
489
|
+
.expandRowByClick=${((_a = this.expandProps) == null ? void 0 : _a.rowExpandable) && ((_b = this.expandProps) == null ? void 0 : _b.expandRowByClick)}
|
|
490
|
+
>
|
|
491
|
+
<slot name="table-empty" slot="table-empty">暂无数据</slot>
|
|
492
|
+
${!treeEnabled ? this.generateCustomRowSlot(filteredRows) : ""} ${this.generateCustomCellSlot(filteredRows)}
|
|
493
|
+
</sl-table-body-table>`;
|
|
494
|
+
return html`${headTable} ${bodyTable}`;
|
|
495
|
+
}
|
|
496
|
+
renderEmpty() {
|
|
497
|
+
return html` <div class="table-placeholder"><slot name="table-empty"></slot></div>`;
|
|
498
|
+
}
|
|
499
|
+
renderMainTable(tableInstance) {
|
|
500
|
+
const table = html`${this.renderTable(tableInstance)}`;
|
|
501
|
+
return table;
|
|
502
|
+
}
|
|
503
|
+
renderPagination(place) {
|
|
504
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
505
|
+
if (!this.pagination) return "";
|
|
506
|
+
const pos = ((_a = this.pagination) == null ? void 0 : _a.position) || "bottomEnd";
|
|
507
|
+
const isTop = pos.startsWith("top");
|
|
508
|
+
if (place === "top" && !isTop || place === "bottom" && isTop) return "";
|
|
509
|
+
const justify = pos.endsWith("Start") ? "flex-start" : pos.endsWith("Center") ? "center" : "flex-end";
|
|
510
|
+
const margin = place === "top" ? "0 0 8px 0" : "8px 0 0 0";
|
|
511
|
+
const style = `display:flex; justify-content:${justify}; margin:${margin};`;
|
|
512
|
+
return html`
|
|
513
|
+
<div class="pagination-container" style="${style}">
|
|
514
|
+
<sl-pagination
|
|
515
|
+
class="pagination"
|
|
516
|
+
@sl-page-change=${this.handlePaginationChange}
|
|
517
|
+
.total=${((_b = this.pagination) == null ? void 0 : _b.total) || this.dataSource.length}
|
|
518
|
+
.currentPage=${(_c = this.pagination) == null ? void 0 : _c.currentPage}
|
|
519
|
+
.defaultCurrentPage=${((_d = this.pagination) == null ? void 0 : _d.defaultCurrentPage) || 1}
|
|
520
|
+
.pageSize=${((_e = this.pagination) == null ? void 0 : _e.pageSize) || 20}
|
|
521
|
+
.disabled=${((_f = this.pagination) == null ? void 0 : _f.disabled) || false}
|
|
522
|
+
.className=${(_g = this.pagination) == null ? void 0 : _g.className}
|
|
523
|
+
.pageSizeOpts=${((_h = this.pagination) == null ? void 0 : _h.pageSizeOpts) || [10, 20, 50, 100]}
|
|
524
|
+
.simpleMode=${((_i = this.pagination) == null ? void 0 : _i.simpleMode) || false}
|
|
525
|
+
>
|
|
526
|
+
</sl-pagination>
|
|
527
|
+
</div>
|
|
528
|
+
`;
|
|
529
|
+
}
|
|
530
|
+
// 生成lit-table所需要的columns数组
|
|
531
|
+
buildColumns() {
|
|
532
|
+
var _a, _b, _c, _d;
|
|
533
|
+
const _columns = [];
|
|
534
|
+
const columnHelper = createColumnHelper();
|
|
535
|
+
const { treeConfig, treeEnabled } = this.getTreeInfo();
|
|
536
|
+
const treeIndentSize = treeConfig === false ? 0 : treeConfig.indentSize;
|
|
537
|
+
const firstDataIndex = (_a = this.columns[0]) == null ? void 0 : _a.dataIndex;
|
|
538
|
+
for (const col of this.columns) {
|
|
539
|
+
const {
|
|
540
|
+
dataIndex,
|
|
541
|
+
width,
|
|
542
|
+
align,
|
|
543
|
+
className,
|
|
544
|
+
ellipsis,
|
|
545
|
+
sorter,
|
|
546
|
+
filters,
|
|
547
|
+
filterMultiple,
|
|
548
|
+
defaultFilters,
|
|
549
|
+
onFilter,
|
|
550
|
+
filterDropdownProps,
|
|
551
|
+
onFilterDropdownVisibleChange
|
|
552
|
+
} = col;
|
|
553
|
+
const canSort = sorter && typeof sorter === "function";
|
|
554
|
+
const canFilter = filters && filters.length > 0;
|
|
555
|
+
const newCol = columnHelper.accessor((row) => row[dataIndex], {
|
|
556
|
+
id: dataIndex,
|
|
557
|
+
meta: {
|
|
558
|
+
align,
|
|
559
|
+
className,
|
|
560
|
+
ellipsis,
|
|
561
|
+
filters,
|
|
562
|
+
filterMultiple,
|
|
563
|
+
defaultFilters,
|
|
564
|
+
filterDropdownProps,
|
|
565
|
+
onFilterDropdownVisibleChange,
|
|
566
|
+
slCell: col.slCell,
|
|
567
|
+
slHeaderCell: col.slHeaderCell
|
|
568
|
+
},
|
|
569
|
+
cell: (info) => {
|
|
570
|
+
if (treeEnabled && firstDataIndex && dataIndex === firstDataIndex) {
|
|
571
|
+
const depth = typeof info.row.depth === "number" ? info.row.depth : 0;
|
|
572
|
+
const indent = Math.max(0, depth * (treeIndentSize || 16));
|
|
573
|
+
const canExpand = info.row.getCanExpand();
|
|
574
|
+
const expanded = info.row.getIsExpanded();
|
|
575
|
+
const toggleNode = canExpand ? html`
|
|
576
|
+
<sl-icon
|
|
577
|
+
class="row-expand-icon"
|
|
578
|
+
name="${expanded ? "dash-square" : "plus-square"}"
|
|
579
|
+
style="cursor:pointer;"
|
|
580
|
+
@click=${(e) => {
|
|
581
|
+
e.stopPropagation();
|
|
582
|
+
info.row.toggleExpanded();
|
|
583
|
+
}}
|
|
584
|
+
></sl-icon>
|
|
585
|
+
` : html`<span style="display:inline-block; width: 1em;"></span>`;
|
|
586
|
+
const valueNode = col.slot ? (() => {
|
|
587
|
+
const slotKey = `${CUSTOM_CELL}-${dataIndex}-${this.adapter.getRecordKey(info.row.original)}`;
|
|
588
|
+
return html`<slot name="${slotKey}" slot="${slotKey}">${info.getValue()}</slot>`;
|
|
589
|
+
})() : info.getValue();
|
|
590
|
+
return html`
|
|
591
|
+
<div class="tree-cell-content" style="display:flex; align-items:center; gap: 6px; padding-inline-start: ${indent}px;">
|
|
592
|
+
${toggleNode} <span class="tree-cell-text">${valueNode}</span>
|
|
593
|
+
</div>
|
|
594
|
+
`;
|
|
595
|
+
}
|
|
596
|
+
if (col.slot) {
|
|
597
|
+
const slotKey = `${CUSTOM_CELL}-${dataIndex}-${this.adapter.getRecordKey(info.row.original)}`;
|
|
598
|
+
return html`<slot name="${slotKey}" slot="${slotKey}">${info.getValue()}</slot>`;
|
|
599
|
+
}
|
|
600
|
+
return info.getValue();
|
|
601
|
+
},
|
|
602
|
+
header: () => col.title || dataIndex,
|
|
603
|
+
size: width
|
|
604
|
+
});
|
|
605
|
+
newCol.enableResizing = (_b = col.enableResizing) != null ? _b : this.enableColumnResizing;
|
|
606
|
+
if (newCol.enableResizing) {
|
|
607
|
+
newCol.minSize = 60;
|
|
608
|
+
newCol.maxSize = 500;
|
|
609
|
+
}
|
|
610
|
+
if (canSort) {
|
|
611
|
+
newCol.sortingFn = (rowA, rowB) => sorter(rowA.original, rowB.original);
|
|
612
|
+
}
|
|
613
|
+
if (canFilter && onFilter) {
|
|
614
|
+
newCol.filterFn = (row, _columnId, filterValue) => {
|
|
615
|
+
if (Array.isArray(filterValue)) {
|
|
616
|
+
return filterValue.some((val) => !!onFilter(val, row.original));
|
|
617
|
+
}
|
|
618
|
+
return !!onFilter(filterValue, row.original);
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
newCol.enableSorting = !!canSort;
|
|
622
|
+
newCol.enableColumnFilter = !!canFilter;
|
|
623
|
+
_columns.push(newCol);
|
|
624
|
+
}
|
|
625
|
+
if (this.rowSelection && !this.rowSelection.hidden) {
|
|
626
|
+
_columns.unshift(getSelectionColumn(this.rowSelection, this.rowKey));
|
|
627
|
+
}
|
|
628
|
+
const showExpandColumn = !treeEnabled && !!((_c = this == null ? void 0 : this.expandProps) == null ? void 0 : _c.rowExpandable);
|
|
629
|
+
if (showExpandColumn) _columns.unshift(getExpendRow(!!((_d = this.expandProps) == null ? void 0 : _d.expandRowByClick)));
|
|
630
|
+
if (this == null ? void 0 : this.rowDrag) _columns.unshift(getDragRow());
|
|
631
|
+
return _columns;
|
|
632
|
+
}
|
|
633
|
+
// 构建 tableState
|
|
634
|
+
buildTableState() {
|
|
635
|
+
var _a;
|
|
636
|
+
const rowSelectionOptions = getRowSelectionOptions({
|
|
637
|
+
rowSelection: this.rowSelection
|
|
638
|
+
});
|
|
639
|
+
const { treeEnabled } = this.getTreeInfo();
|
|
640
|
+
const cols = this.buildColumns();
|
|
641
|
+
const instance = this.tableController.table(__spreadProps(__spreadValues({
|
|
642
|
+
columns: cols,
|
|
643
|
+
data: this.dataSource,
|
|
644
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
645
|
+
columnResizeMode: "onChange",
|
|
646
|
+
columnResizeDirection: this.direction,
|
|
647
|
+
manualPagination: !this.pagination,
|
|
648
|
+
getRowId: (row) => row[this.rowKey],
|
|
649
|
+
getSubRows: this.getSubRows,
|
|
650
|
+
getCoreRowModel: getCoreRowModel(),
|
|
651
|
+
getSortedRowModel: getSortedRowModel(),
|
|
652
|
+
getPaginationRowModel: getPaginationRowModel(),
|
|
653
|
+
getFilteredRowModel: getFilteredRowModel(),
|
|
654
|
+
getExpandedRowModel: getExpandedRowModel(),
|
|
655
|
+
state: {
|
|
656
|
+
rowSelection: this.rowSelectedMap,
|
|
657
|
+
sorting: this.sorting,
|
|
658
|
+
columnFilters: this.columnFilters,
|
|
659
|
+
columnSizing: this.columnSizing,
|
|
660
|
+
pagination: {
|
|
661
|
+
pageIndex: this.pageIndex,
|
|
662
|
+
pageSize: ((_a = this.pagination) == null ? void 0 : _a.pageSize) || 20
|
|
663
|
+
},
|
|
664
|
+
expanded: this.expandedMap,
|
|
665
|
+
columnPinning: this.columnPinning
|
|
666
|
+
},
|
|
667
|
+
onColumnSizingChange: this.handleColumnSizingChange,
|
|
668
|
+
onSortingChange: this.handleSortingChange,
|
|
669
|
+
onColumnFiltersChange: this.handleColumnFiltersChange
|
|
670
|
+
}, rowSelectionOptions), {
|
|
671
|
+
onRowSelectionChange: this.handleRowSelectionChange,
|
|
672
|
+
// 受控排序
|
|
673
|
+
manualSorting: this.adapter.getSortIsControlled(),
|
|
674
|
+
manualFiltering: this.adapter.getFilterIsControlled(),
|
|
675
|
+
getRowCanExpand: treeEnabled ? (row) => this.getSubRows(row.original).length > 0 : this.getRowCanExpand,
|
|
676
|
+
onExpandedChange: this.expendedChange
|
|
677
|
+
}));
|
|
678
|
+
return instance;
|
|
679
|
+
}
|
|
680
|
+
handleChange(extra) {
|
|
681
|
+
var _a;
|
|
682
|
+
this.dispatchEvent(
|
|
683
|
+
new CustomEvent("change", {
|
|
684
|
+
detail: __spreadValues({
|
|
685
|
+
sorting: this.sorting,
|
|
686
|
+
columnFilters: this.columnFilters
|
|
687
|
+
}, extra)
|
|
688
|
+
})
|
|
689
|
+
);
|
|
690
|
+
if (["sorting", "filters", "pagination"].includes(extra == null ? void 0 : extra.type) && ((_a = this.tableScroll) == null ? void 0 : _a.scrollToFirstRowOnChange)) {
|
|
691
|
+
this.adapter.tableScrollToTop();
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
render() {
|
|
695
|
+
const tableInstance = this.buildTableState();
|
|
696
|
+
return html`
|
|
697
|
+
<div
|
|
698
|
+
part="table-wrapper"
|
|
699
|
+
${ref(this.tableWrapRef)}
|
|
700
|
+
class=${classMap({
|
|
701
|
+
"table-wrapper": true,
|
|
702
|
+
[`table-direction-${this.direction}`]: true
|
|
703
|
+
})}
|
|
704
|
+
>
|
|
705
|
+
${this.renderPagination("top")}
|
|
706
|
+
<sl-table-spinner-container .loading=${this.loading} exportparts="table-container">
|
|
707
|
+
<div
|
|
708
|
+
class=${classMap({
|
|
709
|
+
"table-bordered": Boolean(this.bordered),
|
|
710
|
+
"table-nodata": this.dataSource.length === 0
|
|
711
|
+
})}
|
|
712
|
+
>
|
|
713
|
+
<div
|
|
714
|
+
part="table-container"
|
|
715
|
+
class=${classMap({
|
|
716
|
+
"table-container": !this.enableColumnResizing,
|
|
717
|
+
"table-columnresizing": this.enableColumnResizing || false
|
|
718
|
+
})}
|
|
719
|
+
>
|
|
720
|
+
${this.renderMainTable(tableInstance)}
|
|
721
|
+
</div>
|
|
722
|
+
</div>
|
|
723
|
+
</sl-table-spinner-container>
|
|
724
|
+
${this.renderPagination("bottom")}
|
|
725
|
+
</div>
|
|
726
|
+
`;
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
SlTable.dependencies = {
|
|
730
|
+
"sl-icon": SlIcon,
|
|
731
|
+
"sl-checkbox": SlCheckbox,
|
|
732
|
+
"sl-radio": SlRadio,
|
|
733
|
+
"sl-pagination": SlPagination
|
|
734
|
+
};
|
|
735
|
+
SlTable.styles = [table_style_default];
|
|
736
|
+
__decorateClass([
|
|
737
|
+
property({ type: Array })
|
|
738
|
+
], SlTable.prototype, "rowKey", 2);
|
|
739
|
+
__decorateClass([
|
|
740
|
+
property({ type: Array })
|
|
741
|
+
], SlTable.prototype, "columns", 2);
|
|
742
|
+
__decorateClass([
|
|
743
|
+
property({ type: Array })
|
|
744
|
+
], SlTable.prototype, "dataSource", 2);
|
|
745
|
+
__decorateClass([
|
|
746
|
+
property({ type: Boolean })
|
|
747
|
+
], SlTable.prototype, "loading", 2);
|
|
748
|
+
__decorateClass([
|
|
749
|
+
property({ type: Boolean })
|
|
750
|
+
], SlTable.prototype, "bordered", 2);
|
|
751
|
+
__decorateClass([
|
|
752
|
+
property({ type: String })
|
|
753
|
+
], SlTable.prototype, "direction", 2);
|
|
754
|
+
__decorateClass([
|
|
755
|
+
property({ type: Boolean })
|
|
756
|
+
], SlTable.prototype, "showHeader", 2);
|
|
757
|
+
__decorateClass([
|
|
758
|
+
property({ type: Object })
|
|
759
|
+
], SlTable.prototype, "rowSelection", 2);
|
|
760
|
+
__decorateClass([
|
|
761
|
+
property({ type: Object })
|
|
762
|
+
], SlTable.prototype, "tableScroll", 2);
|
|
763
|
+
__decorateClass([
|
|
764
|
+
property({ type: Object })
|
|
765
|
+
], SlTable.prototype, "pagination", 2);
|
|
766
|
+
__decorateClass([
|
|
767
|
+
property({ type: Object })
|
|
768
|
+
], SlTable.prototype, "expandProps", 2);
|
|
769
|
+
__decorateClass([
|
|
770
|
+
property({ type: Object })
|
|
771
|
+
], SlTable.prototype, "tree", 2);
|
|
772
|
+
__decorateClass([
|
|
773
|
+
property({ type: Boolean })
|
|
774
|
+
], SlTable.prototype, "enableColumnResizing", 2);
|
|
775
|
+
__decorateClass([
|
|
776
|
+
property({ type: Function })
|
|
777
|
+
], SlTable.prototype, "slHeaderRow", 2);
|
|
778
|
+
__decorateClass([
|
|
779
|
+
property({ type: Function })
|
|
780
|
+
], SlTable.prototype, "slRow", 2);
|
|
781
|
+
__decorateClass([
|
|
782
|
+
property({ type: Function })
|
|
783
|
+
], SlTable.prototype, "slColumnResize", 2);
|
|
784
|
+
__decorateClass([
|
|
785
|
+
property({ type: Object || Boolean })
|
|
786
|
+
], SlTable.prototype, "virtualized", 2);
|
|
787
|
+
__decorateClass([
|
|
788
|
+
property({ type: Boolean })
|
|
789
|
+
], SlTable.prototype, "rowDrag", 2);
|
|
790
|
+
__decorateClass([
|
|
791
|
+
property({ type: Function })
|
|
792
|
+
], SlTable.prototype, "slRowReorder", 2);
|
|
793
|
+
__decorateClass([
|
|
794
|
+
state()
|
|
795
|
+
], SlTable.prototype, "rowSelectedMap", 2);
|
|
796
|
+
__decorateClass([
|
|
797
|
+
state()
|
|
798
|
+
], SlTable.prototype, "expandedMap", 2);
|
|
799
|
+
__decorateClass([
|
|
800
|
+
state()
|
|
801
|
+
], SlTable.prototype, "sorting", 2);
|
|
802
|
+
__decorateClass([
|
|
803
|
+
state()
|
|
804
|
+
], SlTable.prototype, "columnFilters", 2);
|
|
805
|
+
__decorateClass([
|
|
806
|
+
state()
|
|
807
|
+
], SlTable.prototype, "tableWidth", 2);
|
|
808
|
+
__decorateClass([
|
|
809
|
+
state()
|
|
810
|
+
], SlTable.prototype, "columnSizing", 2);
|
|
811
|
+
__decorateClass([
|
|
812
|
+
state()
|
|
813
|
+
], SlTable.prototype, "pageIndex", 2);
|
|
814
|
+
__decorateClass([
|
|
815
|
+
state()
|
|
816
|
+
], SlTable.prototype, "columnPinning", 2);
|
|
817
|
+
|
|
818
|
+
export {
|
|
819
|
+
SlTable
|
|
820
|
+
};
|