@kdcloudjs/shoelace 1.0.13 → 1.0.14
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/assets/icons/Union.svg +2 -2
- package/cdn/assets/icons/arrow-left.svg +3 -3
- package/cdn/assets/icons/arrow-right.svg +3 -3
- package/cdn/assets/icons/calendar.svg +3 -3
- package/cdn/assets/icons/checkbox-unselected.svg +4 -0
- package/cdn/assets/icons/chevron-bar-left.svg +3 -3
- package/cdn/assets/icons/chevron-bar-right.svg +3 -3
- package/cdn/assets/icons/chevron-double-left.svg +3 -4
- package/cdn/assets/icons/chevron-double-right.svg +3 -4
- package/cdn/assets/icons/chevron-left.svg +1 -1
- package/cdn/assets/icons/chevron-right.svg +1 -1
- package/cdn/assets/icons/chevron-up.svg +1 -1
- package/cdn/assets/icons/clock.svg +3 -4
- package/cdn/assets/icons/dash-lg.svg +3 -3
- package/cdn/assets/icons/filter.svg +1 -1
- package/cdn/assets/icons/gear.svg +1 -1
- package/cdn/assets/icons/globe-americas.svg +3 -3
- package/cdn/assets/icons/icons.json +2 -66
- package/cdn/assets/icons/pencil.svg +1 -1
- package/cdn/assets/icons/people.svg +0 -7
- package/cdn/assets/icons/plus-lg.svg +3 -3
- package/cdn/assets/icons/sort.svg +2 -2
- package/cdn/assets/icons/star.svg +1 -1
- package/cdn/assets/icons/textarea-resize.svg +3 -3
- package/cdn/assets/icons/zoom-in.svg +1 -1
- package/cdn/chunks/chunk.24OAWZJJ.js +97 -0
- package/cdn/chunks/chunk.2EQDOFTG.js +11 -0
- package/cdn/chunks/chunk.2ICTCHOM.js +512 -0
- package/cdn/chunks/chunk.2ZUDNPDK.js +11 -0
- package/cdn/chunks/chunk.3LVER6NX.js +25 -0
- package/cdn/chunks/chunk.3OM6N76A.js +367 -0
- package/cdn/chunks/chunk.3RALA6YL.js +25 -0
- package/cdn/chunks/chunk.3WOFYIWJ.js +574 -0
- package/cdn/chunks/chunk.3XS2UFVP.js +21 -0
- package/cdn/chunks/chunk.3YAXRS7N.js +24 -0
- package/cdn/chunks/chunk.42YHFVAQ.js +137 -0
- package/cdn/chunks/chunk.43SCCVRL.js +183 -0
- package/cdn/chunks/chunk.44A4JHFO.js +186 -0
- package/cdn/chunks/chunk.44X52LOO.js +11 -0
- package/cdn/chunks/chunk.47OO4V3N.js +11 -0
- package/cdn/chunks/chunk.4OV4WLWL.js +346 -0
- package/cdn/chunks/chunk.4V4M67UI.js +25 -0
- package/cdn/chunks/chunk.4YR6IXJN.js +137 -0
- package/cdn/chunks/chunk.52LNIKB2.js +11 -0
- package/cdn/chunks/chunk.5DOLQG6E.js +113 -0
- package/cdn/chunks/chunk.5TA4AZRB.js +29 -0
- package/cdn/chunks/chunk.5UEOEQS5.js +21 -0
- package/cdn/chunks/chunk.5X3VTPBU.js +27 -0
- package/cdn/chunks/chunk.5Z2AJMD7.js +28 -0
- package/cdn/chunks/chunk.6ESRG2LS.js +724 -0
- package/cdn/chunks/chunk.6G7VDRXB.js +11 -0
- package/cdn/chunks/chunk.6JNJSTPC.js +11 -0
- package/cdn/chunks/chunk.6LMK3MFO.js +93 -0
- package/cdn/chunks/chunk.6QIHFANK.js +391 -0
- package/cdn/chunks/chunk.6V62QE27.js +11 -0
- package/cdn/chunks/chunk.6ZT3WONO.js +21 -0
- package/cdn/chunks/chunk.72U4XQWK.js +291 -0
- package/cdn/chunks/chunk.7IDKWYZE.js +11 -0
- package/cdn/chunks/chunk.7NPSWDIT.js +402 -0
- package/cdn/chunks/chunk.7PQJLHQ5.js +11 -0
- package/cdn/chunks/chunk.7RTASQVR.js +2662 -0
- package/cdn/chunks/chunk.7SEK5SSL.js +49 -0
- package/cdn/chunks/chunk.7UXCZBDU.js +11 -0
- package/cdn/chunks/chunk.7VDK2XH4.js +26 -0
- package/cdn/chunks/chunk.7VXLEEHU.js +11 -0
- package/cdn/chunks/chunk.AEZ4OIDO.js +11 -0
- package/cdn/chunks/chunk.AGJRSHV2.js +11 -0
- package/cdn/chunks/chunk.AGPFZ6KE.js +299 -0
- package/cdn/chunks/chunk.AKLGNWDO.js +24 -0
- package/cdn/chunks/chunk.ASJNXCLE.js +11 -0
- package/cdn/chunks/chunk.ATVUQUPY.js +822 -0
- package/cdn/chunks/chunk.AVJIF5I7.js +11 -0
- package/cdn/chunks/chunk.AVQVU6JV.js +25 -0
- package/cdn/chunks/chunk.AWTWIINC.js +11 -0
- package/cdn/chunks/chunk.AY7WNNXC.js +153 -0
- package/cdn/chunks/chunk.AZN5COM6.js +127 -0
- package/cdn/chunks/chunk.B3EZWXT5.js +24 -0
- package/cdn/chunks/chunk.B7D5FYDX.js +11 -0
- package/cdn/chunks/chunk.BDRETZIY.js +11 -0
- package/cdn/chunks/chunk.BYXY5LWP.js +11 -0
- package/cdn/chunks/chunk.C4JBOGVF.js +24 -0
- package/cdn/chunks/chunk.C6VCGDGD.js +11 -0
- package/cdn/chunks/chunk.CG6KIGUR.js +24 -0
- package/cdn/chunks/chunk.CONODWD3.js +27 -0
- package/cdn/chunks/chunk.CRYSOAZS.js +1990 -0
- package/cdn/chunks/chunk.CT3J3S3L.js +21 -0
- package/cdn/chunks/chunk.CTMOPAHG.js +313 -0
- package/cdn/chunks/chunk.D5FD4XBD.js +11 -0
- package/cdn/chunks/chunk.D64PEZD3.js +103 -0
- package/cdn/chunks/chunk.D6IBTHPE.js +236 -0
- package/cdn/chunks/chunk.D6JNR6BW.js +28 -0
- package/cdn/chunks/chunk.DTVVB3CC.js +95 -0
- package/cdn/chunks/chunk.DXPUKG4A.js +11 -0
- package/cdn/chunks/chunk.DXX3TZTW.js +257 -0
- package/cdn/chunks/chunk.DY2FC3AO.js +24 -0
- package/cdn/chunks/chunk.DZQBUU5F.js +28 -0
- package/cdn/chunks/chunk.E2XGP2RZ.js +26 -0
- package/cdn/chunks/chunk.EA2DMJAE.js +266 -0
- package/cdn/chunks/chunk.EASIYCPT.js +21 -0
- package/cdn/chunks/chunk.EFXTATV2.js +25 -0
- package/cdn/chunks/chunk.EISHX6BM.js +21 -0
- package/cdn/chunks/chunk.EJW4MOZT.js +271 -0
- package/cdn/chunks/chunk.EUTYMH6S.js +122 -0
- package/cdn/chunks/chunk.EWYCJWKQ.js +11 -0
- package/cdn/chunks/chunk.EYI4HMC2.js +11 -0
- package/cdn/chunks/chunk.EZTAT4YW.js +27 -0
- package/cdn/chunks/chunk.F6JJWC3H.js +11 -0
- package/cdn/chunks/chunk.FAXHZXLQ.js +27 -0
- package/cdn/chunks/chunk.FBETJSC5.js +25 -0
- package/cdn/chunks/chunk.FJCFJXSM.js +11 -0
- package/cdn/chunks/chunk.FWOGJLYK.js +197 -0
- package/cdn/chunks/chunk.FWSJOZ44.js +42 -0
- package/cdn/chunks/chunk.FYAJLOW2.js +11 -0
- package/cdn/chunks/chunk.G2KJN52F.js +21 -0
- package/cdn/chunks/chunk.GBIIEJX5.js +11 -0
- package/cdn/chunks/chunk.GILFUWF3.js +142 -0
- package/cdn/chunks/chunk.GOSNI5KZ.js +11 -0
- package/cdn/chunks/chunk.GS5QLGD3.js +21 -0
- package/cdn/chunks/chunk.GTRXIAF5.js +11 -0
- package/cdn/chunks/chunk.GYWXKENT.js +11 -0
- package/cdn/chunks/chunk.GZKG2AJG.js +1925 -0
- package/cdn/chunks/chunk.H2YMSRQE.js +314 -0
- package/cdn/chunks/chunk.H3DXH2NL.js +28 -0
- package/cdn/chunks/chunk.H5NKIPRH.js +21 -0
- package/cdn/chunks/chunk.HANY6LRO.js +7245 -0
- package/cdn/chunks/chunk.HAZ5XNV2.js +292 -0
- package/cdn/chunks/chunk.HIVQ7UGY.js +21 -0
- package/cdn/chunks/chunk.HLNTXMSH.js +379 -0
- package/cdn/chunks/chunk.HPDQDWVQ.js +342 -0
- package/cdn/chunks/chunk.HQRK6P6W.js +216 -0
- package/cdn/chunks/chunk.IHU7XX4C.js +24 -0
- package/cdn/chunks/chunk.IHWAJ5GF.js +11 -0
- package/cdn/chunks/chunk.INP6TZGF.js +75 -0
- package/cdn/chunks/chunk.J5IQJC3T.js +586 -0
- package/cdn/chunks/chunk.J6XKTDV7.js +25 -0
- package/cdn/chunks/chunk.JNFV2WUW.js +11 -0
- package/cdn/chunks/chunk.JO5IIPFP.js +120 -0
- package/cdn/chunks/chunk.K3CLY2JN.js +21 -0
- package/cdn/chunks/chunk.K6JFOTFS.js +11 -0
- package/cdn/chunks/chunk.K6QF2OAU.js +118 -0
- package/cdn/chunks/chunk.KAUJNG2H.js +21 -0
- package/cdn/chunks/chunk.KGQ5X2OX.js +54 -0
- package/cdn/chunks/chunk.KYW25GJH.js +25 -0
- package/cdn/chunks/chunk.L5HBN42M.js +24 -0
- package/cdn/chunks/chunk.L6FGCETQ.js +73 -0
- package/cdn/chunks/chunk.L7JXX2ER.js +31 -0
- package/cdn/chunks/chunk.LHYGHJD6.js +11 -0
- package/cdn/chunks/chunk.LO5RFIRJ.js +27 -0
- package/cdn/chunks/chunk.LT6N6FYC.js +79 -0
- package/cdn/chunks/chunk.LXIMSFBO.js +11 -0
- package/cdn/chunks/chunk.LYMFQFJ3.js +33 -0
- package/cdn/chunks/chunk.LZGCSCPR.js +158 -0
- package/cdn/chunks/chunk.M23FRGBT.js +28 -0
- package/cdn/chunks/chunk.M2HQ64T7.js +135 -0
- package/cdn/chunks/chunk.M4PJ3TAK.js +336 -0
- package/cdn/chunks/chunk.M54HMWNF.js +67 -0
- package/cdn/chunks/chunk.M5QNSFXS.js +21 -0
- package/cdn/chunks/chunk.MKEPTSFH.js +11 -0
- package/cdn/chunks/chunk.MKXQLHGZ.js +11 -0
- package/cdn/chunks/chunk.MMXYVEQO.js +82 -0
- package/cdn/chunks/chunk.MXUXRTDQ.js +11 -0
- package/cdn/chunks/chunk.MYECST4H.js +21 -0
- package/cdn/chunks/chunk.MYLW6VEO.js +233 -0
- package/cdn/chunks/chunk.NTNT4PPV.js +11 -0
- package/cdn/chunks/chunk.NUH4ZPIH.js +11 -0
- package/cdn/chunks/chunk.NUHQ2NKA.js +21 -0
- package/cdn/chunks/chunk.NURMQVNA.js +26 -0
- package/cdn/chunks/chunk.O2SIM6TD.js +11 -0
- package/cdn/chunks/chunk.OLEKKUPW.js +21 -0
- package/cdn/chunks/chunk.OMALDWI2.js +11 -0
- package/cdn/chunks/chunk.OP6QWE3I.js +11 -0
- package/cdn/chunks/chunk.OR7GXHXK.js +282 -0
- package/cdn/chunks/chunk.OVGOR3NN.js +11 -0
- package/cdn/chunks/chunk.P6CSAZGB.js +21 -0
- package/cdn/chunks/chunk.PCTVGQXV.js +11 -0
- package/cdn/chunks/chunk.PFGTJJJV.js +27 -0
- package/cdn/chunks/chunk.PFHF44NH.js +11 -0
- package/cdn/chunks/chunk.PIZMNC4N.js +11 -0
- package/cdn/chunks/chunk.PRTP7LS2.js +11 -0
- package/cdn/chunks/chunk.Q5L5BQ3L.js +77 -0
- package/cdn/chunks/chunk.Q5LADPVB.js +21 -0
- package/cdn/chunks/chunk.QEK42CTU.js +11 -0
- package/cdn/chunks/chunk.QFYUJFWJ.js +11 -0
- package/cdn/chunks/chunk.QIPXCAP6.js +302 -0
- package/cdn/chunks/chunk.QNIB76IF.js +11 -0
- package/cdn/chunks/chunk.QPSKUIPB.js +24 -0
- package/cdn/chunks/chunk.QUKRKOPO.js +11 -0
- package/cdn/chunks/chunk.QVSYHICO.js +455 -0
- package/cdn/chunks/chunk.R42QOX2S.js +11 -0
- package/cdn/chunks/chunk.RJLB4OI4.js +11 -0
- package/cdn/chunks/chunk.RWEABXRX.js +11 -0
- package/cdn/chunks/chunk.SWRRS75K.js +21 -0
- package/cdn/chunks/chunk.SXJGO7KR.js +11 -0
- package/cdn/chunks/chunk.SZARKNV2.js +11 -0
- package/cdn/chunks/chunk.TARBWKCH.js +11 -0
- package/cdn/chunks/chunk.U4MTNWBR.js +219 -0
- package/cdn/chunks/chunk.UGFLFJ5Z.js +27 -0
- package/cdn/chunks/chunk.UNXK5F2T.js +21 -0
- package/cdn/chunks/chunk.USEGHG3W.js +29 -0
- package/cdn/chunks/chunk.USLVMKOR.js +48 -0
- package/cdn/chunks/chunk.UZ6U5FQN.js +28 -0
- package/cdn/chunks/chunk.V5VLIPIC.js +21 -0
- package/cdn/chunks/chunk.V5W2UKWV.js +21 -0
- package/cdn/chunks/chunk.VBLDG4YC.js +334 -0
- package/cdn/chunks/chunk.VGZPKCZR.js +21 -0
- package/cdn/chunks/chunk.VW5VGMIE.js +123 -0
- package/cdn/chunks/chunk.W4NW45IW.js +63 -0
- package/cdn/chunks/chunk.WBK3JPHX.js +131 -0
- package/cdn/chunks/chunk.WJ7RP5V7.js +255 -0
- package/cdn/chunks/chunk.WKKZUUVT.js +24 -0
- package/cdn/chunks/chunk.WLSNCJQJ.js +1058 -0
- package/cdn/chunks/chunk.WMWTJ4QK.js +21 -0
- package/cdn/chunks/chunk.WOG6PF5U.js +279 -0
- package/cdn/chunks/chunk.XGX6RSJ2.js +24 -0
- package/cdn/chunks/chunk.XLZ3VMRG.js +11 -0
- package/cdn/chunks/chunk.XMZBWV5X.js +502 -0
- package/cdn/chunks/chunk.XO6IPWCJ.js +21 -0
- package/cdn/chunks/chunk.XQ5WS5AF.js +11 -0
- package/cdn/chunks/chunk.XQQMIDMU.js +114 -0
- package/cdn/chunks/chunk.XSCJSZEP.js +78 -0
- package/cdn/chunks/chunk.XUWGMOZV.js +24 -0
- package/cdn/chunks/chunk.XWGGC75Q.js +24 -0
- package/cdn/chunks/chunk.XZZQH7JF.js +49 -0
- package/cdn/chunks/chunk.YBW5IMXH.js +50 -0
- package/cdn/chunks/chunk.YCLRZEWU.js +11 -0
- package/cdn/chunks/chunk.YJOABSIJ.js +24 -0
- package/cdn/chunks/chunk.YK2PJIOW.js +29 -0
- package/cdn/chunks/chunk.YKV5SWKI.js +24 -0
- package/cdn/chunks/chunk.Z2GQDISB.js +25 -0
- package/cdn/chunks/chunk.Z6BFVAV3.js +5845 -0
- package/cdn/chunks/chunk.Z7IUHPIK.js +36 -0
- package/cdn/chunks/chunk.ZBQ6Q62K.js +87 -0
- package/cdn/chunks/chunk.ZJGFICZX.js +11 -0
- package/cdn/chunks/chunk.ZUTU3US7.js +29 -0
- package/cdn/chunks/chunk.ZXUF3HDH.js +25 -0
- package/cdn/components/alert/alert.component.js +6 -6
- package/cdn/components/alert/alert.js +7 -7
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +6 -6
- package/cdn/components/button/button.js +7 -7
- 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 +8 -8
- package/cdn/components/calendar/calendar.js +8 -8
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +4 -4
- package/cdn/components/checkbox/checkbox.js +5 -5
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +11 -11
- package/cdn/components/date-panel/date-panel.js +11 -11
- package/cdn/components/datepicker/datepicker.component.js +15 -15
- package/cdn/components/datepicker/datepicker.js +15 -15
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +6 -6
- package/cdn/components/dialog/dialog.js +7 -7
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +6 -6
- package/cdn/components/drawer/drawer.js +7 -7
- package/cdn/components/dropdown/dropdown.component.js +4 -4
- package/cdn/components/dropdown/dropdown.js +5 -5
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- 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 +6 -6
- package/cdn/components/menu-item/menu-item.js +7 -7
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +2 -2
- package/cdn/components/nav/nav.js +3 -3
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +2 -2
- package/cdn/components/nav-item/nav-item.js +3 -3
- package/cdn/components/nav-submenu/nav-submenu.component.js +4 -4
- package/cdn/components/nav-submenu/nav-submenu.js +5 -5
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +10 -10
- package/cdn/components/pagination/pagination.component.js +12 -12
- package/cdn/components/pagination/pagination.js +12 -12
- package/cdn/components/pagination/pagination.styles.js +1 -1
- 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 +3 -3
- package/cdn/components/progress-bar/progress-bar.js +4 -4
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +8 -8
- package/cdn/components/select/select.js +9 -9
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +3 -3
- package/cdn/components/split-panel/split-panel.js +4 -4
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +5 -5
- package/cdn/components/tab/tab.js +6 -6
- package/cdn/components/tab-group/tab-group.component.js +6 -6
- package/cdn/components/tab-group/tab-group.js +7 -7
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +2 -2
- package/cdn/components/table/features/row-expend.js +1 -1
- package/cdn/components/table/head-table.js +22 -22
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +31 -31
- package/cdn/components/table/table.js +32 -32
- package/cdn/components/tag/tag.component.js +5 -5
- package/cdn/components/tag/tag.js +6 -6
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-panel/time-panel.component.js +7 -7
- package/cdn/components/time-panel/time-panel.js +7 -7
- package/cdn/components/timepicker/timepicker.component.js +15 -15
- package/cdn/components/timepicker/timepicker.js +15 -15
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +9 -9
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.component.js +8 -8
- package/cdn/components/tree-item/tree-item.js +9 -9
- 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 +685 -685
- package/cdn/react/alert/index.js +7 -7
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +7 -7
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +5 -5
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +12 -12
- package/cdn/react/datepicker/index.js +16 -16
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +7 -7
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +7 -7
- package/cdn/react/dropdown/index.js +5 -5
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +201 -201
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +7 -7
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +3 -3
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +3 -3
- package/cdn/react/nav-submenu/index.js +5 -5
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +13 -13
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +4 -4
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +9 -9
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +4 -4
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +6 -6
- package/cdn/react/tab-group/index.js +7 -7
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +32 -32
- package/cdn/react/tag/index.js +6 -6
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/timepicker/index.js +16 -16
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +10 -10
- package/cdn/react/tree-item/index.js +9 -9
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +158 -158
- package/cdn/types/vue/index.d.ts +145 -145
- package/cdn/vscode.html-custom-data.json +95 -95
- package/cdn/web-types.json +301 -301
- package/dist/assets/icons/Union.svg +2 -2
- package/dist/assets/icons/arrow-left.svg +3 -3
- package/dist/assets/icons/arrow-right.svg +3 -3
- package/dist/assets/icons/calendar.svg +3 -3
- package/dist/assets/icons/checkbox-unselected.svg +4 -0
- package/dist/assets/icons/chevron-bar-left.svg +3 -3
- package/dist/assets/icons/chevron-bar-right.svg +3 -3
- package/dist/assets/icons/chevron-double-left.svg +3 -4
- package/dist/assets/icons/chevron-double-right.svg +3 -4
- package/dist/assets/icons/chevron-left.svg +1 -1
- package/dist/assets/icons/chevron-right.svg +1 -1
- package/dist/assets/icons/chevron-up.svg +1 -1
- package/dist/assets/icons/clock.svg +3 -4
- package/dist/assets/icons/dash-lg.svg +3 -3
- package/dist/assets/icons/filter.svg +1 -1
- package/dist/assets/icons/gear.svg +1 -1
- package/dist/assets/icons/globe-americas.svg +3 -3
- package/dist/assets/icons/icons.json +2 -66
- package/dist/assets/icons/pencil.svg +1 -1
- package/dist/assets/icons/people.svg +0 -7
- package/dist/assets/icons/plus-lg.svg +3 -3
- package/dist/assets/icons/sort.svg +2 -2
- package/dist/assets/icons/star.svg +1 -1
- package/dist/assets/icons/textarea-resize.svg +3 -3
- package/dist/assets/icons/zoom-in.svg +1 -1
- package/dist/chunks/chunk.22A6U2DI.js +21 -0
- package/dist/chunks/chunk.2CFRBOE2.js +213 -0
- package/dist/chunks/chunk.2DWQVEIZ.js +24 -0
- package/dist/chunks/chunk.2FSVIWBT.js +11 -0
- package/dist/chunks/chunk.2MJ37SAI.js +52 -0
- package/dist/chunks/chunk.2QDWTIV5.js +21 -0
- package/dist/chunks/chunk.2SCRUQKD.js +11 -0
- package/dist/chunks/chunk.2U33PC3U.js +27 -0
- package/dist/chunks/chunk.2WNR5NMQ.js +21 -0
- package/dist/chunks/chunk.2ZMECS6C.js +338 -0
- package/dist/chunks/chunk.33U6HVX6.js +11 -0
- package/dist/chunks/chunk.3653MYZD.js +90 -0
- package/dist/chunks/chunk.3FXHNSLI.js +11 -0
- package/dist/chunks/chunk.3HZENZXD.js +11 -0
- package/dist/chunks/chunk.3I2KTUUN.js +21 -0
- package/dist/chunks/chunk.3IIEFVL6.js +11 -0
- package/dist/chunks/chunk.45B6NU5V.js +22 -0
- package/dist/chunks/chunk.47T4RO5S.js +29 -0
- package/dist/chunks/chunk.4BTGVTQW.js +28 -0
- package/dist/chunks/chunk.4E3HAU72.js +21 -0
- package/dist/chunks/chunk.4IGUPQGT.js +29 -0
- package/dist/chunks/chunk.4VGOPDED.js +11 -0
- package/dist/chunks/chunk.5AG34RLO.js +21 -0
- package/dist/chunks/chunk.5CBSCEYK.js +550 -0
- package/dist/chunks/chunk.5PEZ5XRN.js +263 -0
- package/dist/chunks/chunk.5WFVV24K.js +21 -0
- package/dist/chunks/chunk.5Z4SFLPI.js +29 -0
- package/dist/chunks/chunk.6BTSXLDE.js +21 -0
- package/dist/chunks/chunk.6JBMP6MT.js +11 -0
- package/dist/chunks/chunk.6UJUYNEO.js +25 -0
- package/dist/chunks/chunk.6USH5SB5.js +11 -0
- package/dist/chunks/chunk.73UOCYNW.js +11 -0
- package/dist/chunks/chunk.74NWJ2XF.js +21 -0
- package/dist/chunks/chunk.7AMJ3QAT.js +11 -0
- package/dist/chunks/chunk.7KX77ULX.js +11 -0
- package/dist/chunks/chunk.7UXURMD3.js +22 -0
- package/dist/chunks/chunk.7YYZ4AZE.js +28 -0
- package/dist/chunks/chunk.ACRQT3Z4.js +252 -0
- package/dist/chunks/chunk.AFYNEPK3.js +96 -0
- package/dist/chunks/chunk.AR4ZPLTP.js +11 -0
- package/dist/chunks/chunk.AUDYU2DU.js +24 -0
- package/dist/chunks/chunk.AVAYUR5U.js +280 -0
- package/dist/chunks/chunk.AYIFKLD5.js +11 -0
- package/dist/chunks/chunk.B3RMBEXD.js +11 -0
- package/dist/chunks/chunk.BBICQXG6.js +24 -0
- package/dist/chunks/chunk.BELAMHYN.js +11 -0
- package/dist/chunks/chunk.BGYZLBO3.js +42 -0
- package/dist/chunks/chunk.BIAV2N3Q.js +25 -0
- package/dist/chunks/chunk.BON4GZUX.js +59 -0
- package/dist/chunks/chunk.BP5HBF3K.js +11 -0
- package/dist/chunks/chunk.BSQEBEJV.js +11 -0
- package/dist/chunks/chunk.BT64PUGY.js +151 -0
- package/dist/chunks/chunk.BV34JOKT.js +109 -0
- package/dist/chunks/chunk.BXDCZJM6.js +100 -0
- package/dist/chunks/chunk.C622UHKI.js +11 -0
- package/dist/chunks/chunk.C7Y4JEVY.js +24 -0
- package/dist/chunks/chunk.CBBTEOPH.js +21 -0
- package/dist/chunks/chunk.CLNLU6ZS.js +21 -0
- package/dist/chunks/chunk.CLQ57WVB.js +11 -0
- package/dist/chunks/chunk.CSP4CCLB.js +11 -0
- package/dist/chunks/chunk.CXNO4MOD.js +11 -0
- package/dist/chunks/chunk.D2AKVI5B.js +11 -0
- package/dist/chunks/chunk.DAH64ZUT.js +147 -0
- package/dist/chunks/chunk.DBJG7GZJ.js +11 -0
- package/dist/chunks/chunk.DBXUAF2L.js +21 -0
- package/dist/chunks/chunk.DJQ2NVYJ.js +11 -0
- package/dist/chunks/chunk.DL7RX3V2.js +11 -0
- package/dist/chunks/chunk.EJVMY3LG.js +100 -0
- package/dist/chunks/chunk.EQ3RJA6L.js +126 -0
- package/dist/chunks/chunk.EWEFXHIM.js +231 -0
- package/dist/chunks/chunk.F5NXGX4A.js +11 -0
- package/dist/chunks/chunk.FIKDS5F7.js +27 -0
- package/dist/chunks/chunk.FKPBER7N.js +25 -0
- package/dist/chunks/chunk.G36FPDVV.js +11 -0
- package/dist/chunks/chunk.G3DYFYBG.js +384 -0
- package/dist/chunks/chunk.G6U6LOBV.js +11 -0
- package/dist/chunks/chunk.GAK6D3MG.js +11 -0
- package/dist/chunks/chunk.GBWQEYDD.js +24 -0
- package/dist/chunks/chunk.GHXATAW7.js +21 -0
- package/dist/chunks/chunk.GODD6VUZ.js +25 -0
- package/dist/chunks/chunk.GSRJ3JDV.js +75 -0
- package/dist/chunks/chunk.GXIILGR2.js +28 -0
- package/dist/chunks/chunk.H62BJSTW.js +397 -0
- package/dist/chunks/chunk.HMVLBGVR.js +26 -0
- package/dist/chunks/chunk.HOV3YQML.js +11 -0
- package/dist/chunks/chunk.HSBRH4IR.js +25 -0
- package/dist/chunks/chunk.HUX2ZOMQ.js +45 -0
- package/dist/chunks/chunk.HVVO5EJ2.js +11 -0
- package/dist/chunks/chunk.HWJWR22Q.js +11 -0
- package/dist/chunks/chunk.HYXVW2DO.js +11 -0
- package/dist/chunks/chunk.I6A2I7JO.js +11 -0
- package/dist/chunks/chunk.I6JLQCLG.js +21 -0
- package/dist/chunks/chunk.IRZEP6MZ.js +21 -0
- package/dist/chunks/chunk.IUVORREB.js +29 -0
- package/dist/chunks/chunk.J7VAKL5H.js +116 -0
- package/dist/chunks/chunk.JAGHL3AJ.js +11 -0
- package/dist/chunks/chunk.JAUWP4UP.js +117 -0
- package/dist/chunks/chunk.JBKKPWK2.js +11 -0
- package/dist/chunks/chunk.JHJ4J43Z.js +26 -0
- package/dist/chunks/chunk.JL7JJE52.js +11 -0
- package/dist/chunks/chunk.JR6MU73S.js +11 -0
- package/dist/chunks/chunk.JVMOPEJO.js +293 -0
- package/dist/chunks/chunk.K43Z4NTX.js +214 -0
- package/dist/chunks/chunk.KHFTAAPY.js +11 -0
- package/dist/chunks/chunk.KQ4EXMG7.js +1056 -0
- package/dist/chunks/chunk.KSGAGV7I.js +752 -0
- package/dist/chunks/chunk.KVVR3R4U.js +111 -0
- package/dist/chunks/chunk.KY3BSQFK.js +328 -0
- package/dist/chunks/chunk.KYH3L6IW.js +167 -0
- package/dist/chunks/chunk.L5VE6CZH.js +21 -0
- package/dist/chunks/chunk.LHAPANRW.js +21 -0
- package/dist/chunks/chunk.LPXIGNFO.js +315 -0
- package/dist/chunks/chunk.LUA5BYU3.js +192 -0
- package/dist/chunks/chunk.M77FW2XO.js +126 -0
- package/dist/chunks/chunk.MJ4IKE4Y.js +11 -0
- package/dist/chunks/chunk.MZKWKOYG.js +25 -0
- package/dist/chunks/chunk.N4J42K6H.js +24 -0
- package/dist/chunks/chunk.N4UTBNPU.js +67 -0
- package/dist/chunks/chunk.N5R6FTCP.js +26 -0
- package/dist/chunks/chunk.NQ3RUFHP.js +11 -0
- package/dist/chunks/chunk.NVYHCOUV.js +11 -0
- package/dist/chunks/chunk.NYUJZRFT.js +135 -0
- package/dist/chunks/chunk.O3JZWUJP.js +21 -0
- package/dist/chunks/chunk.O7LN5KKQ.js +21 -0
- package/dist/chunks/chunk.OGAE7V6Q.js +24 -0
- package/dist/chunks/chunk.ORRB6DGL.js +119 -0
- package/dist/chunks/chunk.OUYDV5D5.js +50 -0
- package/dist/chunks/chunk.P27ZFG7N.js +11 -0
- package/dist/chunks/chunk.P6DM4TV3.js +448 -0
- package/dist/chunks/chunk.PJRRA7DT.js +24 -0
- package/dist/chunks/chunk.PNWULFQA.js +25 -0
- package/dist/chunks/chunk.PPWNMC32.js +27 -0
- package/dist/chunks/chunk.PRDZ3C63.js +27 -0
- package/dist/chunks/chunk.Q5XVRUJP.js +452 -0
- package/dist/chunks/chunk.Q7JB3ETE.js +949 -0
- package/dist/chunks/chunk.QCPVW7IL.js +46 -0
- package/dist/chunks/chunk.QHAVLCRV.js +24 -0
- package/dist/chunks/chunk.QIJTEMBD.js +568 -0
- package/dist/chunks/chunk.QRQNWKCY.js +75 -0
- package/dist/chunks/chunk.R6MBATBE.js +11 -0
- package/dist/chunks/chunk.RBKIJMEU.js +11 -0
- package/dist/chunks/chunk.RCTZNTPH.js +80 -0
- package/dist/chunks/chunk.RLVSTNCZ.js +132 -0
- package/dist/chunks/chunk.RM3KSG2I.js +25 -0
- package/dist/chunks/chunk.ROGCNVJZ.js +21 -0
- package/dist/chunks/chunk.RRXE4W6C.js +134 -0
- package/dist/chunks/chunk.RUO2Z6LX.js +180 -0
- package/dist/chunks/chunk.RWAKQSQF.js +274 -0
- package/dist/chunks/chunk.S3ERUOZU.js +11 -0
- package/dist/chunks/chunk.SALXHKLM.js +27 -0
- package/dist/chunks/chunk.SB2ZS27X.js +277 -0
- package/dist/chunks/chunk.SCTCXEYU.js +28 -0
- package/dist/chunks/chunk.SD2F52WX.js +34 -0
- package/dist/chunks/chunk.SDGHFS5J.js +11 -0
- package/dist/chunks/chunk.SJYV7EXT.js +21 -0
- package/dist/chunks/chunk.SKWMDNFY.js +11 -0
- package/dist/chunks/chunk.SR2ON6JX.js +247 -0
- package/dist/chunks/chunk.SY54W2PO.js +21 -0
- package/dist/chunks/chunk.T25AYYOZ.js +11 -0
- package/dist/chunks/chunk.TGCFBS54.js +25 -0
- package/dist/chunks/chunk.TOBBEBCE.js +119 -0
- package/dist/chunks/chunk.TOT3T5XA.js +503 -0
- package/dist/chunks/chunk.TSVNQWUW.js +75 -0
- package/dist/chunks/chunk.U2TOMHEZ.js +21 -0
- package/dist/chunks/chunk.U3P6YKMZ.js +361 -0
- package/dist/chunks/chunk.U7CCYADI.js +24 -0
- package/dist/chunks/chunk.UIIVWF44.js +11 -0
- package/dist/chunks/chunk.UJ62ITLA.js +11 -0
- package/dist/chunks/chunk.UK7RN4JE.js +24 -0
- package/dist/chunks/chunk.UMBRYMRL.js +28 -0
- package/dist/chunks/chunk.URUACMGN.js +45 -0
- package/dist/chunks/chunk.US74ARTL.js +11 -0
- package/dist/chunks/chunk.UTCRPJNA.js +814 -0
- package/dist/chunks/chunk.V6NHMJ3R.js +93 -0
- package/dist/chunks/chunk.VAHEI2BL.js +24 -0
- package/dist/chunks/chunk.VNUS4MCW.js +11 -0
- package/dist/chunks/chunk.VOXLBXHE.js +494 -0
- package/dist/chunks/chunk.VVE6XSAV.js +21 -0
- package/dist/chunks/chunk.W46WHJHB.js +21 -0
- package/dist/chunks/chunk.WCYWLRTM.js +227 -0
- package/dist/chunks/chunk.WLI4RPET.js +337 -0
- package/dist/chunks/chunk.WP3DSH4Z.js +371 -0
- package/dist/chunks/chunk.WPZQZRVX.js +306 -0
- package/dist/chunks/chunk.WRQUEJBP.js +85 -0
- package/dist/chunks/chunk.WSOYPJKK.js +91 -0
- package/dist/chunks/chunk.WUMVUEDM.js +311 -0
- package/dist/chunks/chunk.X25CNFY5.js +113 -0
- package/dist/chunks/chunk.X64NNGXU.js +73 -0
- package/dist/chunks/chunk.XDVLMTX6.js +11 -0
- package/dist/chunks/chunk.XEMNM5PM.js +11 -0
- package/dist/chunks/chunk.XJQN5XHW.js +28 -0
- package/dist/chunks/chunk.XN6S2S6T.js +11 -0
- package/dist/chunks/chunk.XOYOGION.js +25 -0
- package/dist/chunks/chunk.XRMWGB46.js +181 -0
- package/dist/chunks/chunk.XSFYCPW7.js +33 -0
- package/dist/chunks/chunk.XSOCSQXW.js +24 -0
- package/dist/chunks/chunk.XXPAJJS3.js +11 -0
- package/dist/chunks/chunk.XZJBOTRT.js +25 -0
- package/dist/chunks/chunk.Y2JBCL3V.js +11 -0
- package/dist/chunks/chunk.Y3LUYSBZ.js +29 -0
- package/dist/chunks/chunk.Y4IP2V4M.js +11 -0
- package/dist/chunks/chunk.Y5O5JHJ4.js +417 -0
- package/dist/chunks/chunk.YGMVJECY.js +11 -0
- package/dist/chunks/chunk.YJIOISVJ.js +27 -0
- package/dist/chunks/chunk.YVCCEYSL.js +11 -0
- package/dist/chunks/chunk.YZJ3UCIB.js +63 -0
- package/dist/chunks/chunk.Z2TVVUBR.js +294 -0
- package/dist/chunks/chunk.ZHF356QW.js +11 -0
- package/dist/chunks/chunk.ZNNFIPY5.js +286 -0
- package/dist/chunks/chunk.ZWHR5OQB.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 +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +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 +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/color-picker/color-picker.component.js +13 -13
- package/dist/components/color-picker/color-picker.js +14 -14
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/date-panel/date-panel.component.js +10 -10
- package/dist/components/date-panel/date-panel.js +10 -10
- package/dist/components/datepicker/datepicker.component.js +14 -14
- package/dist/components/datepicker/datepicker.js +14 -14
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/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 +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- 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 +6 -6
- package/dist/components/menu-item/menu-item.js +7 -7
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +2 -2
- package/dist/components/nav/nav.js +3 -3
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +4 -4
- package/dist/components/nav-submenu/nav-submenu.js +5 -5
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +9 -9
- package/dist/components/pagination/pagination.component.js +11 -11
- package/dist/components/pagination/pagination.js +11 -11
- package/dist/components/pagination/pagination.styles.js +1 -1
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/select/select.component.js +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 +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/features/row-expend.js +1 -1
- package/dist/components/table/head-table.js +21 -21
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +30 -30
- package/dist/components/table/table.js +31 -31
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +6 -6
- package/dist/components/time-panel/time-panel.js +6 -6
- package/dist/components/timepicker/timepicker.component.js +14 -14
- package/dist/components/timepicker/timepicker.js +14 -14
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +8 -8
- package/dist/components/tree/tree.js +9 -9
- package/dist/components/tree-item/tree-item.component.js +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 +685 -685
- package/dist/react/alert/index.js +6 -6
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +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 +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/color-picker/index.js +14 -14
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +11 -11
- package/dist/react/datepicker/index.js +15 -15
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +6 -6
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +6 -6
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +200 -200
- package/dist/react/input/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +7 -7
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +3 -3
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +5 -5
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +12 -12
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +5 -5
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +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 +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +31 -31
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +15 -15
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +9 -9
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +157 -157
- package/dist/types/vue/index.d.ts +145 -145
- package/dist/vscode.html-custom-data.json +95 -95
- package/dist/web-types.json +301 -301
- package/package.json +2 -2
- package/cdn/assets/icons/add.svg +0 -3
- package/cdn/assets/icons/date.svg +0 -3
- package/cdn/assets/icons/jump-to-left.svg +0 -3
- package/cdn/assets/icons/jump-to-right.svg +0 -3
- package/cdn/assets/icons/language.svg +0 -3
- package/cdn/assets/icons/minus.svg +0 -3
- package/cdn/assets/icons/radio-selected.svg +0 -3
- package/cdn/assets/icons/resize.svg +0 -3
- package/cdn/assets/icons/time.svg +0 -3
- package/cdn/chunks/chunk.27HOYVCS.js +0 -25
- package/cdn/chunks/chunk.27Y4PZVV.js +0 -11
- package/cdn/chunks/chunk.27Y5FHMO.js +0 -236
- package/cdn/chunks/chunk.2FZS4X3M.js +0 -21
- package/cdn/chunks/chunk.2HDTSZN2.js +0 -282
- package/cdn/chunks/chunk.2QXBQ2NK.js +0 -11
- package/cdn/chunks/chunk.2VVVEGWA.js +0 -103
- package/cdn/chunks/chunk.32LBTDAX.js +0 -54
- package/cdn/chunks/chunk.33I3T7TR.js +0 -11
- package/cdn/chunks/chunk.33LT4SL5.js +0 -11
- package/cdn/chunks/chunk.35OCFEWG.js +0 -11
- package/cdn/chunks/chunk.37PW5KJK.js +0 -28
- package/cdn/chunks/chunk.3E7UTFOW.js +0 -24
- package/cdn/chunks/chunk.3EXN7PEK.js +0 -11
- package/cdn/chunks/chunk.3SP4KPG4.js +0 -11
- package/cdn/chunks/chunk.3WADD2II.js +0 -24
- package/cdn/chunks/chunk.45J66KZY.js +0 -158
- package/cdn/chunks/chunk.4B2BQBVK.js +0 -21
- package/cdn/chunks/chunk.4HRT2UJR.js +0 -33
- package/cdn/chunks/chunk.4I63ZQ66.js +0 -21
- package/cdn/chunks/chunk.4IHB7MMA.js +0 -11
- package/cdn/chunks/chunk.4OEATBDE.js +0 -26
- package/cdn/chunks/chunk.4PJ7G3CV.js +0 -11
- package/cdn/chunks/chunk.4RHFRC3G.js +0 -346
- package/cdn/chunks/chunk.4TNRRH5O.js +0 -11
- package/cdn/chunks/chunk.4YARN2QZ.js +0 -11
- package/cdn/chunks/chunk.4YGOLCMI.js +0 -75
- package/cdn/chunks/chunk.5ABUV5UR.js +0 -24
- package/cdn/chunks/chunk.5GGVS55R.js +0 -11
- package/cdn/chunks/chunk.5MOV4CPU.js +0 -21
- package/cdn/chunks/chunk.66I5PX2D.js +0 -29
- package/cdn/chunks/chunk.66YPE6LS.js +0 -142
- package/cdn/chunks/chunk.6ENVGHCX.js +0 -11
- package/cdn/chunks/chunk.6FRLQCVM.js +0 -11
- package/cdn/chunks/chunk.6FZ4EIZK.js +0 -11
- package/cdn/chunks/chunk.6ISNSVD3.js +0 -379
- package/cdn/chunks/chunk.6KEE7M5Z.js +0 -11
- package/cdn/chunks/chunk.6MKBM2IN.js +0 -266
- package/cdn/chunks/chunk.6MSM2SEG.js +0 -11
- package/cdn/chunks/chunk.6RLYTXI2.js +0 -11
- package/cdn/chunks/chunk.6TEKXFHG.js +0 -28
- package/cdn/chunks/chunk.6W44TUMM.js +0 -11
- package/cdn/chunks/chunk.6ZIASYIF.js +0 -48
- package/cdn/chunks/chunk.75PEDE7I.js +0 -27
- package/cdn/chunks/chunk.7COYCCE4.js +0 -67
- package/cdn/chunks/chunk.7HUAIMM7.js +0 -21
- package/cdn/chunks/chunk.7JV5OIVH.js +0 -186
- package/cdn/chunks/chunk.7MDST7I6.js +0 -29
- package/cdn/chunks/chunk.7ODZ7P7A.js +0 -21
- package/cdn/chunks/chunk.7PBDJRY6.js +0 -455
- package/cdn/chunks/chunk.7S4WG4SM.js +0 -135
- package/cdn/chunks/chunk.7SLQZCTW.js +0 -11
- package/cdn/chunks/chunk.A7CUPYQN.js +0 -27
- package/cdn/chunks/chunk.AIUCZ2HG.js +0 -21
- package/cdn/chunks/chunk.AK4YXL3V.js +0 -24
- package/cdn/chunks/chunk.AKVTZJZE.js +0 -5845
- package/cdn/chunks/chunk.ANWNIMZI.js +0 -153
- package/cdn/chunks/chunk.AOWPLCJZ.js +0 -822
- package/cdn/chunks/chunk.AQB2FSQO.js +0 -11
- package/cdn/chunks/chunk.B2VN3VDT.js +0 -11
- package/cdn/chunks/chunk.B6MIUMME.js +0 -114
- package/cdn/chunks/chunk.BH2WDPCP.js +0 -313
- package/cdn/chunks/chunk.BHAMTRIB.js +0 -27
- package/cdn/chunks/chunk.BJBADDZR.js +0 -11
- package/cdn/chunks/chunk.BJD2MP32.js +0 -11
- package/cdn/chunks/chunk.BPMCWLIP.js +0 -11
- package/cdn/chunks/chunk.C2WSS4PN.js +0 -11
- package/cdn/chunks/chunk.CB44ML4D.js +0 -11
- package/cdn/chunks/chunk.CC567GEA.js +0 -11
- package/cdn/chunks/chunk.CEWIGZ5F.js +0 -11
- package/cdn/chunks/chunk.CHTIGRTB.js +0 -21
- package/cdn/chunks/chunk.CWN5CGYB.js +0 -36
- package/cdn/chunks/chunk.DL6IVOOP.js +0 -11
- package/cdn/chunks/chunk.DLUXJ4CH.js +0 -24
- package/cdn/chunks/chunk.DO5FSPL3.js +0 -11
- package/cdn/chunks/chunk.DP7UQUTU.js +0 -586
- package/cdn/chunks/chunk.DVXR5Q5B.js +0 -25
- package/cdn/chunks/chunk.DW5UXU6T.js +0 -183
- package/cdn/chunks/chunk.DWD7HY7A.js +0 -314
- package/cdn/chunks/chunk.E5JFT45N.js +0 -95
- package/cdn/chunks/chunk.EEAJYMNF.js +0 -131
- package/cdn/chunks/chunk.EPPWMIN6.js +0 -292
- package/cdn/chunks/chunk.EUH2S3H2.js +0 -11
- package/cdn/chunks/chunk.EY6KVW5N.js +0 -21
- package/cdn/chunks/chunk.F43EQFX7.js +0 -73
- package/cdn/chunks/chunk.FDWGU6EJ.js +0 -334
- package/cdn/chunks/chunk.FMZN2U2U.js +0 -21
- package/cdn/chunks/chunk.FN23KPQ6.js +0 -25
- package/cdn/chunks/chunk.FZ4G6WQ3.js +0 -21
- package/cdn/chunks/chunk.GDOFH4N7.js +0 -24
- package/cdn/chunks/chunk.GFWWCI5D.js +0 -21
- package/cdn/chunks/chunk.GNDDYPL5.js +0 -122
- package/cdn/chunks/chunk.HAKTAYCJ.js +0 -271
- package/cdn/chunks/chunk.HF4HZ7OK.js +0 -11
- package/cdn/chunks/chunk.HH6FCSDY.js +0 -25
- package/cdn/chunks/chunk.HIXTBSVP.js +0 -24
- package/cdn/chunks/chunk.HNB6YNKJ.js +0 -127
- package/cdn/chunks/chunk.I23BNULJ.js +0 -25
- package/cdn/chunks/chunk.IJKYOXF6.js +0 -1058
- package/cdn/chunks/chunk.IK7T2LXB.js +0 -512
- package/cdn/chunks/chunk.IMUFDXOR.js +0 -27
- package/cdn/chunks/chunk.IPJYJUHJ.js +0 -137
- package/cdn/chunks/chunk.ITOSFWGF.js +0 -11
- package/cdn/chunks/chunk.IZW6T3JG.js +0 -123
- package/cdn/chunks/chunk.J5BEJWL2.js +0 -1990
- package/cdn/chunks/chunk.JDEKRW5T.js +0 -11
- package/cdn/chunks/chunk.JN3VVH3C.js +0 -28
- package/cdn/chunks/chunk.JRRMX7GT.js +0 -24
- package/cdn/chunks/chunk.JZBBC3QX.js +0 -279
- package/cdn/chunks/chunk.JZJCWSG7.js +0 -11
- package/cdn/chunks/chunk.K5AFO3UR.js +0 -367
- package/cdn/chunks/chunk.KBOPZLOK.js +0 -63
- package/cdn/chunks/chunk.KFLMS5SX.js +0 -11
- package/cdn/chunks/chunk.KHVZJL32.js +0 -82
- package/cdn/chunks/chunk.L3XUUIH5.js +0 -21
- package/cdn/chunks/chunk.L4E37H5Q.js +0 -11
- package/cdn/chunks/chunk.L7GOVIH2.js +0 -21
- package/cdn/chunks/chunk.LMEA3KHP.js +0 -11
- package/cdn/chunks/chunk.LSRNP2JM.js +0 -11
- package/cdn/chunks/chunk.LUBCPO5Q.js +0 -11
- package/cdn/chunks/chunk.M3H22HDR.js +0 -21
- package/cdn/chunks/chunk.M66LVJOQ.js +0 -724
- package/cdn/chunks/chunk.MA7NG7CT.js +0 -11
- package/cdn/chunks/chunk.MLDDECJX.js +0 -11
- package/cdn/chunks/chunk.MX74A37K.js +0 -50
- package/cdn/chunks/chunk.N244ZLNW.js +0 -402
- package/cdn/chunks/chunk.N4VXKJ3H.js +0 -299
- package/cdn/chunks/chunk.N74EGIUP.js +0 -11
- package/cdn/chunks/chunk.NE2PBG46.js +0 -25
- package/cdn/chunks/chunk.NFBJC5OG.js +0 -25
- package/cdn/chunks/chunk.NN45B5UV.js +0 -11
- package/cdn/chunks/chunk.NRTMXD42.js +0 -24
- package/cdn/chunks/chunk.NU34C7N5.js +0 -11
- package/cdn/chunks/chunk.NVCAAEJP.js +0 -257
- package/cdn/chunks/chunk.O6A73QV3.js +0 -24
- package/cdn/chunks/chunk.O7VOOY54.js +0 -77
- package/cdn/chunks/chunk.OL3VWXQU.js +0 -118
- package/cdn/chunks/chunk.ORPDF22S.js +0 -30
- package/cdn/chunks/chunk.OTQAYZHD.js +0 -1925
- package/cdn/chunks/chunk.OUOAKPFA.js +0 -24
- package/cdn/chunks/chunk.OWTULY4I.js +0 -11
- package/cdn/chunks/chunk.PCK67K7Q.js +0 -25
- package/cdn/chunks/chunk.PLGVU673.js +0 -11
- package/cdn/chunks/chunk.PNEGYNEM.js +0 -28
- package/cdn/chunks/chunk.PPUUDR74.js +0 -27
- package/cdn/chunks/chunk.PQIXAOO6.js +0 -11
- package/cdn/chunks/chunk.PT5CC63Y.js +0 -2647
- package/cdn/chunks/chunk.PVOS4CMB.js +0 -574
- package/cdn/chunks/chunk.PXJP7OZ6.js +0 -11
- package/cdn/chunks/chunk.PYQYLHC5.js +0 -255
- package/cdn/chunks/chunk.Q4F7SDTW.js +0 -21
- package/cdn/chunks/chunk.QEZ7DNUJ.js +0 -137
- package/cdn/chunks/chunk.QFT4E2NO.js +0 -11
- package/cdn/chunks/chunk.QKZJGEK7.js +0 -25
- package/cdn/chunks/chunk.QMGCWHDA.js +0 -21
- package/cdn/chunks/chunk.QXDZ3ITM.js +0 -216
- package/cdn/chunks/chunk.QZWIIKI2.js +0 -113
- package/cdn/chunks/chunk.RK6BCO7J.js +0 -291
- package/cdn/chunks/chunk.RLREXFTD.js +0 -11
- package/cdn/chunks/chunk.RLW3F65T.js +0 -21
- package/cdn/chunks/chunk.RSV42FXH.js +0 -87
- package/cdn/chunks/chunk.S2WTBVVC.js +0 -93
- package/cdn/chunks/chunk.S4PSRQFZ.js +0 -27
- package/cdn/chunks/chunk.S5OBCNM3.js +0 -7245
- package/cdn/chunks/chunk.SERKWKJL.js +0 -391
- package/cdn/chunks/chunk.SJNJAW55.js +0 -49
- package/cdn/chunks/chunk.SMCTTZ57.js +0 -11
- package/cdn/chunks/chunk.SUDNAO7O.js +0 -120
- package/cdn/chunks/chunk.SYN63DT6.js +0 -11
- package/cdn/chunks/chunk.T2YDJUZA.js +0 -77
- package/cdn/chunks/chunk.TAFRS2HJ.js +0 -29
- package/cdn/chunks/chunk.TBVPQYXO.js +0 -11
- package/cdn/chunks/chunk.TCMMK5SO.js +0 -219
- package/cdn/chunks/chunk.TCTD7BB3.js +0 -11
- package/cdn/chunks/chunk.TH3KULNJ.js +0 -24
- package/cdn/chunks/chunk.TOEOCJ5Y.js +0 -25
- package/cdn/chunks/chunk.TUKUOALN.js +0 -21
- package/cdn/chunks/chunk.UFVJE2US.js +0 -26
- package/cdn/chunks/chunk.UJZVXVFC.js +0 -336
- package/cdn/chunks/chunk.UPNXNIUX.js +0 -21
- package/cdn/chunks/chunk.UTB7U7KC.js +0 -24
- package/cdn/chunks/chunk.UZFCYF3Y.js +0 -302
- package/cdn/chunks/chunk.V2DHCAWN.js +0 -197
- package/cdn/chunks/chunk.V5P2IUUU.js +0 -233
- package/cdn/chunks/chunk.VPS4BDPR.js +0 -21
- package/cdn/chunks/chunk.VVGBUF2K.js +0 -42
- package/cdn/chunks/chunk.WAIBA7LN.js +0 -11
- package/cdn/chunks/chunk.WJIPS52N.js +0 -24
- package/cdn/chunks/chunk.WJYSUU36.js +0 -11
- package/cdn/chunks/chunk.WXPULUI5.js +0 -21
- package/cdn/chunks/chunk.X2LJADGH.js +0 -97
- package/cdn/chunks/chunk.X3RZSOQR.js +0 -21
- package/cdn/chunks/chunk.X4F4Y4IY.js +0 -49
- package/cdn/chunks/chunk.XKQTU7TJ.js +0 -11
- package/cdn/chunks/chunk.XQ6OX7CO.js +0 -502
- package/cdn/chunks/chunk.Y2L4NDGV.js +0 -11
- package/cdn/chunks/chunk.Y6LNLEEW.js +0 -342
- package/cdn/chunks/chunk.YAYUXCI5.js +0 -11
- package/cdn/chunks/chunk.YF74HNC6.js +0 -26
- package/cdn/chunks/chunk.YK63BO2L.js +0 -21
- package/cdn/chunks/chunk.YL2ZBZWN.js +0 -79
- package/cdn/chunks/chunk.YNJWGDX3.js +0 -24
- package/cdn/chunks/chunk.Z3N6IQ4G.js +0 -11
- package/cdn/chunks/chunk.ZAEWAWCF.js +0 -29
- package/cdn/chunks/chunk.ZARCEV5A.js +0 -11
- package/cdn/chunks/chunk.ZCHSYVN6.js +0 -28
- package/cdn/chunks/chunk.ZEFPLKD4.js +0 -27
- package/cdn/chunks/chunk.ZSWDMZNE.js +0 -11
- package/cdn/chunks/chunk.ZVLZBW3N.js +0 -28
- package/cdn/chunks/chunk.ZVRUVM2B.js +0 -21
- package/dist/assets/icons/add.svg +0 -3
- package/dist/assets/icons/date.svg +0 -3
- package/dist/assets/icons/jump-to-left.svg +0 -3
- package/dist/assets/icons/jump-to-right.svg +0 -3
- package/dist/assets/icons/language.svg +0 -3
- package/dist/assets/icons/minus.svg +0 -3
- package/dist/assets/icons/radio-selected.svg +0 -3
- package/dist/assets/icons/resize.svg +0 -3
- package/dist/assets/icons/time.svg +0 -3
- package/dist/chunks/chunk.24JCJPFS.js +0 -11
- package/dist/chunks/chunk.24YFAXAL.js +0 -27
- package/dist/chunks/chunk.2BYPJTDS.js +0 -28
- package/dist/chunks/chunk.2JUZRB2J.js +0 -24
- package/dist/chunks/chunk.2OQAG4OK.js +0 -361
- package/dist/chunks/chunk.2OX3WRST.js +0 -45
- package/dist/chunks/chunk.2TGDONBT.js +0 -11
- package/dist/chunks/chunk.2UESVMY6.js +0 -11
- package/dist/chunks/chunk.33AMEOTZ.js +0 -21
- package/dist/chunks/chunk.3AD2CXBX.js +0 -949
- package/dist/chunks/chunk.3LE7DJ56.js +0 -116
- package/dist/chunks/chunk.3OBEKYHK.js +0 -21
- package/dist/chunks/chunk.3OYKN5HS.js +0 -11
- package/dist/chunks/chunk.3TYXDO2K.js +0 -11
- package/dist/chunks/chunk.3WBAMZRV.js +0 -24
- package/dist/chunks/chunk.3XTJM2XB.js +0 -11
- package/dist/chunks/chunk.3ZRFBIP7.js +0 -338
- package/dist/chunks/chunk.47QEQQJC.js +0 -11
- package/dist/chunks/chunk.47YOCOBU.js +0 -29
- package/dist/chunks/chunk.4DIHPJSP.js +0 -28
- package/dist/chunks/chunk.4DQAMWWZ.js +0 -306
- package/dist/chunks/chunk.4O25DEXU.js +0 -11
- package/dist/chunks/chunk.4OEA3MVK.js +0 -24
- package/dist/chunks/chunk.4Q5ZIF3N.js +0 -167
- package/dist/chunks/chunk.4Y2CKVEC.js +0 -11
- package/dist/chunks/chunk.5KSDGVLS.js +0 -11
- package/dist/chunks/chunk.5KSHFKNA.js +0 -24
- package/dist/chunks/chunk.5RIQPUL7.js +0 -21
- package/dist/chunks/chunk.5TFAQ2NR.js +0 -11
- package/dist/chunks/chunk.5XTVGMG5.js +0 -11
- package/dist/chunks/chunk.63ZCUCDG.js +0 -11
- package/dist/chunks/chunk.64MHQOAR.js +0 -11
- package/dist/chunks/chunk.6FSBSTOL.js +0 -126
- package/dist/chunks/chunk.6JMTGAN5.js +0 -21
- package/dist/chunks/chunk.6LEXMZSA.js +0 -21
- package/dist/chunks/chunk.6ML3D323.js +0 -21
- package/dist/chunks/chunk.6QP52PB5.js +0 -25
- package/dist/chunks/chunk.6SXKNC6G.js +0 -91
- package/dist/chunks/chunk.6WE6TUWW.js +0 -214
- package/dist/chunks/chunk.77E7JNN5.js +0 -11
- package/dist/chunks/chunk.7BGADTVL.js +0 -25
- package/dist/chunks/chunk.7EYYO42F.js +0 -21
- package/dist/chunks/chunk.7I6XM5UP.js +0 -27
- package/dist/chunks/chunk.7KTXBDOQ.js +0 -11
- package/dist/chunks/chunk.7MVQJDOL.js +0 -21
- package/dist/chunks/chunk.7U6HAMQ5.js +0 -11
- package/dist/chunks/chunk.7VL35WAU.js +0 -75
- package/dist/chunks/chunk.A2RCU24N.js +0 -21
- package/dist/chunks/chunk.A56UU7VK.js +0 -24
- package/dist/chunks/chunk.ABWGT5QI.js +0 -448
- package/dist/chunks/chunk.ADORHWUV.js +0 -263
- package/dist/chunks/chunk.AE26YVIY.js +0 -11
- package/dist/chunks/chunk.AI272IQB.js +0 -29
- package/dist/chunks/chunk.AXE3OJLG.js +0 -24
- package/dist/chunks/chunk.AYMVTXL7.js +0 -27
- package/dist/chunks/chunk.AZ3RC4AT.js +0 -22
- package/dist/chunks/chunk.BAEVN6KY.js +0 -11
- package/dist/chunks/chunk.BHCAKHM5.js +0 -11
- package/dist/chunks/chunk.BLCBOYIE.js +0 -231
- package/dist/chunks/chunk.BMCE32AA.js +0 -27
- package/dist/chunks/chunk.BXMX3BME.js +0 -21
- package/dist/chunks/chunk.C2H36B45.js +0 -274
- package/dist/chunks/chunk.C3AAERA6.js +0 -11
- package/dist/chunks/chunk.CBNAHC5Y.js +0 -192
- package/dist/chunks/chunk.CRJPDWTU.js +0 -814
- package/dist/chunks/chunk.CUACSHSL.js +0 -24
- package/dist/chunks/chunk.D2DVT5W4.js +0 -11
- package/dist/chunks/chunk.D4V35CG7.js +0 -11
- package/dist/chunks/chunk.D57XQ5OQ.js +0 -25
- package/dist/chunks/chunk.D6MGMKS3.js +0 -11
- package/dist/chunks/chunk.D7HMIWUM.js +0 -21
- package/dist/chunks/chunk.DCQM44J4.js +0 -25
- package/dist/chunks/chunk.DIE4F4L2.js +0 -11
- package/dist/chunks/chunk.DTZVN4ZH.js +0 -21
- package/dist/chunks/chunk.E6QNXQ2G.js +0 -11
- package/dist/chunks/chunk.F3ETBO5U.js +0 -24
- package/dist/chunks/chunk.FGJ7PZ5N.js +0 -752
- package/dist/chunks/chunk.FLUFA3ER.js +0 -494
- package/dist/chunks/chunk.FQIGTIMY.js +0 -28
- package/dist/chunks/chunk.FSCUDDCF.js +0 -11
- package/dist/chunks/chunk.FUTMBVNX.js +0 -11
- package/dist/chunks/chunk.GG3ZUHJV.js +0 -21
- package/dist/chunks/chunk.GKSTUNJ4.js +0 -11
- package/dist/chunks/chunk.GQ7YDSPB.js +0 -111
- package/dist/chunks/chunk.GQRIAHO4.js +0 -11
- package/dist/chunks/chunk.HFJ53BFM.js +0 -90
- package/dist/chunks/chunk.HIOCELIO.js +0 -11
- package/dist/chunks/chunk.HJFDN2NJ.js +0 -22
- package/dist/chunks/chunk.HOT4BVMU.js +0 -25
- package/dist/chunks/chunk.HS556FKR.js +0 -25
- package/dist/chunks/chunk.I4KYJA5M.js +0 -52
- package/dist/chunks/chunk.I6LRHUVQ.js +0 -11
- package/dist/chunks/chunk.IFIDMWGB.js +0 -21
- package/dist/chunks/chunk.IFWPJR2L.js +0 -11
- package/dist/chunks/chunk.IGC2XAPJ.js +0 -21
- package/dist/chunks/chunk.IMAAXE2Q.js +0 -45
- package/dist/chunks/chunk.IPSR5MF4.js +0 -119
- package/dist/chunks/chunk.IZZQPRN5.js +0 -11
- package/dist/chunks/chunk.J5JBSIAI.js +0 -113
- package/dist/chunks/chunk.J7GEFYRN.js +0 -286
- package/dist/chunks/chunk.JD5VKZSV.js +0 -11
- package/dist/chunks/chunk.JSGP6FH6.js +0 -11
- package/dist/chunks/chunk.JUXRG2ZU.js +0 -328
- package/dist/chunks/chunk.JX7TUCDF.js +0 -21
- package/dist/chunks/chunk.K3KMYYYI.js +0 -126
- package/dist/chunks/chunk.K3SPPBSK.js +0 -100
- package/dist/chunks/chunk.K46S2N2E.js +0 -11
- package/dist/chunks/chunk.KADND6T7.js +0 -11
- package/dist/chunks/chunk.KCE6HXTM.js +0 -11
- package/dist/chunks/chunk.KMEVP5JM.js +0 -11
- package/dist/chunks/chunk.KONFEWJJ.js +0 -11
- package/dist/chunks/chunk.KROSAATH.js +0 -34
- package/dist/chunks/chunk.KTQV4KCH.js +0 -21
- package/dist/chunks/chunk.KXMFDM7V.js +0 -11
- package/dist/chunks/chunk.L77IOKRA.js +0 -100
- package/dist/chunks/chunk.LI4PIAXJ.js +0 -11
- package/dist/chunks/chunk.LM2GLM5U.js +0 -371
- package/dist/chunks/chunk.LNOMSVC7.js +0 -227
- package/dist/chunks/chunk.LOZL6Q4S.js +0 -151
- package/dist/chunks/chunk.LT5PYQM2.js +0 -11
- package/dist/chunks/chunk.M7GTV5KG.js +0 -96
- package/dist/chunks/chunk.MDODUGYJ.js +0 -21
- package/dist/chunks/chunk.MIZZELJ6.js +0 -93
- package/dist/chunks/chunk.MOGIWE5Z.js +0 -27
- package/dist/chunks/chunk.MPDIPD3S.js +0 -11
- package/dist/chunks/chunk.MQFX6HVM.js +0 -21
- package/dist/chunks/chunk.N2XI22GZ.js +0 -42
- package/dist/chunks/chunk.N5FD5NXG.js +0 -11
- package/dist/chunks/chunk.N6CM3M5F.js +0 -132
- package/dist/chunks/chunk.N7FGMCW3.js +0 -21
- package/dist/chunks/chunk.NPDZEN2O.js +0 -73
- package/dist/chunks/chunk.NQPOLKOS.js +0 -11
- package/dist/chunks/chunk.NTH5PH6D.js +0 -85
- package/dist/chunks/chunk.NWST6VHG.js +0 -311
- package/dist/chunks/chunk.NYGHPMF6.js +0 -25
- package/dist/chunks/chunk.OE6VLDUJ.js +0 -11
- package/dist/chunks/chunk.OOEZMIJE.js +0 -280
- package/dist/chunks/chunk.OP7QLQJD.js +0 -63
- package/dist/chunks/chunk.OU4FDW6N.js +0 -21
- package/dist/chunks/chunk.P6AA5MOA.js +0 -24
- package/dist/chunks/chunk.PBHJEZ2H.js +0 -59
- package/dist/chunks/chunk.PJE5SZLI.js +0 -50
- package/dist/chunks/chunk.PQNGHLFV.js +0 -147
- package/dist/chunks/chunk.PRERWPVU.js +0 -293
- package/dist/chunks/chunk.PRF3FOB6.js +0 -24
- package/dist/chunks/chunk.PRKY2UJU.js +0 -33
- package/dist/chunks/chunk.PTZ5J6PL.js +0 -134
- package/dist/chunks/chunk.PU5YIDID.js +0 -117
- package/dist/chunks/chunk.PVMVRYSF.js +0 -294
- package/dist/chunks/chunk.Q5HSK6Q6.js +0 -11
- package/dist/chunks/chunk.Q5INZRCZ.js +0 -11
- package/dist/chunks/chunk.QF6VINDV.js +0 -11
- package/dist/chunks/chunk.QQFXOVES.js +0 -29
- package/dist/chunks/chunk.QQZW2WXC.js +0 -11
- package/dist/chunks/chunk.QS6GIF5V.js +0 -11
- package/dist/chunks/chunk.RGY63AHL.js +0 -11
- package/dist/chunks/chunk.RJ6OKX6E.js +0 -46
- package/dist/chunks/chunk.RJRDQHBH.js +0 -28
- package/dist/chunks/chunk.RRXYVAAU.js +0 -503
- package/dist/chunks/chunk.SAUCJKFK.js +0 -11
- package/dist/chunks/chunk.SBBXFCWF.js +0 -11
- package/dist/chunks/chunk.SECGSCLV.js +0 -25
- package/dist/chunks/chunk.SHMTARDA.js +0 -11
- package/dist/chunks/chunk.SL5UGLUU.js +0 -25
- package/dist/chunks/chunk.SQ7EKPKN.js +0 -11
- package/dist/chunks/chunk.T6VCW6JZ.js +0 -29
- package/dist/chunks/chunk.TBKBLPKQ.js +0 -75
- package/dist/chunks/chunk.TCQCTMDP.js +0 -247
- package/dist/chunks/chunk.TEHSILQV.js +0 -28
- package/dist/chunks/chunk.TS7UGVMP.js +0 -26
- package/dist/chunks/chunk.TSTXB3ED.js +0 -417
- package/dist/chunks/chunk.TWR7M2O4.js +0 -11
- package/dist/chunks/chunk.TXK6TJMT.js +0 -277
- package/dist/chunks/chunk.TYJKKM6T.js +0 -135
- package/dist/chunks/chunk.U4UK2ESD.js +0 -11
- package/dist/chunks/chunk.UFHEBOTP.js +0 -11
- package/dist/chunks/chunk.UFMN3PHW.js +0 -21
- package/dist/chunks/chunk.UGCTDIZS.js +0 -21
- package/dist/chunks/chunk.UJY66GBC.js +0 -568
- package/dist/chunks/chunk.UKKX2IA7.js +0 -21
- package/dist/chunks/chunk.UR7D7W77.js +0 -28
- package/dist/chunks/chunk.UTDCBGYZ.js +0 -24
- package/dist/chunks/chunk.UUOI5HE6.js +0 -67
- package/dist/chunks/chunk.UXO3E2PW.js +0 -21
- package/dist/chunks/chunk.UYWN5P5X.js +0 -384
- package/dist/chunks/chunk.V2H6GVD2.js +0 -26
- package/dist/chunks/chunk.VHHBFM4E.js +0 -181
- package/dist/chunks/chunk.VHRTMFWQ.js +0 -11
- package/dist/chunks/chunk.VKQORXLB.js +0 -28
- package/dist/chunks/chunk.VMLX3RO3.js +0 -74
- package/dist/chunks/chunk.W3FASBZI.js +0 -1056
- package/dist/chunks/chunk.WA533QRX.js +0 -80
- package/dist/chunks/chunk.WDOD3SVU.js +0 -550
- package/dist/chunks/chunk.XC3KHZBK.js +0 -119
- package/dist/chunks/chunk.XHNI4KIO.js +0 -25
- package/dist/chunks/chunk.XJFPQDF7.js +0 -24
- package/dist/chunks/chunk.XKKSYCNX.js +0 -25
- package/dist/chunks/chunk.XN35THY2.js +0 -397
- package/dist/chunks/chunk.XUVE5DZ5.js +0 -24
- package/dist/chunks/chunk.XZG7J5MF.js +0 -26
- package/dist/chunks/chunk.YGMKGXUY.js +0 -315
- package/dist/chunks/chunk.YGUW2LXO.js +0 -109
- package/dist/chunks/chunk.YNORD2MI.js +0 -11
- package/dist/chunks/chunk.YRGFICMY.js +0 -27
- package/dist/chunks/chunk.ZH7CVCHX.js +0 -337
- package/dist/chunks/chunk.ZJC4FLKC.js +0 -437
- package/dist/chunks/chunk.ZK6W4KRT.js +0 -11
- package/dist/chunks/chunk.ZQMRTBNR.js +0 -180
- package/dist/chunks/chunk.ZVYNO5RH.js +0 -213
- package/dist/chunks/chunk.ZXGRLZON.js +0 -252
|
@@ -0,0 +1,752 @@
|
|
|
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.OMKHV7Q2.js";
|
|
24
|
+
import {
|
|
25
|
+
getClientHeight,
|
|
26
|
+
getScrollHeight
|
|
27
|
+
} from "./chunk.5AHQNL5Y.js";
|
|
28
|
+
import {
|
|
29
|
+
CUSTOM_CELL,
|
|
30
|
+
CUSTOM_ROW,
|
|
31
|
+
VIRTUALIZED_DEFAULT
|
|
32
|
+
} from "./chunk.NCE7XJQI.js";
|
|
33
|
+
import {
|
|
34
|
+
SlRadio
|
|
35
|
+
} from "./chunk.X25CNFY5.js";
|
|
36
|
+
import {
|
|
37
|
+
SlPagination
|
|
38
|
+
} from "./chunk.RUO2Z6LX.js";
|
|
39
|
+
import {
|
|
40
|
+
SlCheckbox
|
|
41
|
+
} from "./chunk.5PEZ5XRN.js";
|
|
42
|
+
import {
|
|
43
|
+
ShoelaceElement
|
|
44
|
+
} from "./chunk.AFYNEPK3.js";
|
|
45
|
+
import {
|
|
46
|
+
__decorateClass,
|
|
47
|
+
__objRest,
|
|
48
|
+
__spreadProps,
|
|
49
|
+
__spreadValues
|
|
50
|
+
} from "./chunk.W5KB6T3Z.js";
|
|
51
|
+
|
|
52
|
+
// src/components/table/table.component.ts
|
|
53
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
54
|
+
import {
|
|
55
|
+
createColumnHelper,
|
|
56
|
+
getCoreRowModel,
|
|
57
|
+
getExpandedRowModel,
|
|
58
|
+
getFilteredRowModel,
|
|
59
|
+
getPaginationRowModel,
|
|
60
|
+
getSortedRowModel,
|
|
61
|
+
TableController
|
|
62
|
+
} from "@tanstack/lit-table";
|
|
63
|
+
import { VirtualizerController } from "@tanstack/lit-virtual";
|
|
64
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
65
|
+
import { debounce, get, some } from "lodash";
|
|
66
|
+
import { html } from "lit";
|
|
67
|
+
import { property } from "lit/decorators.js";
|
|
68
|
+
import { state } from "lit/decorators/state.js";
|
|
69
|
+
var SlTable = class extends ShoelaceElement {
|
|
70
|
+
constructor() {
|
|
71
|
+
super(...arguments);
|
|
72
|
+
this.tableController = new TableController(this);
|
|
73
|
+
this.rowKey = "key";
|
|
74
|
+
this.columns = [];
|
|
75
|
+
this.dataSource = [];
|
|
76
|
+
this.loading = false;
|
|
77
|
+
this.bordered = false;
|
|
78
|
+
this.direction = "ltr";
|
|
79
|
+
this.showHeader = true;
|
|
80
|
+
this.tableScroll = {};
|
|
81
|
+
this.enableColumnResizing = false;
|
|
82
|
+
this.rowDrag = false;
|
|
83
|
+
this.rowSelectedMap = {};
|
|
84
|
+
this.expandedMap = {};
|
|
85
|
+
this.sorting = [];
|
|
86
|
+
this.columnFilters = [];
|
|
87
|
+
this.tableWidth = 0;
|
|
88
|
+
this.columnSizing = {};
|
|
89
|
+
this.pageIndex = 0;
|
|
90
|
+
this.columnPinning = {
|
|
91
|
+
left: ["drag", "expend", "select"],
|
|
92
|
+
right: []
|
|
93
|
+
};
|
|
94
|
+
this.tableWrapRef = createRef();
|
|
95
|
+
this.headerWrapRef = createRef();
|
|
96
|
+
this.bodyWrapRef = createRef();
|
|
97
|
+
this.syncing = false;
|
|
98
|
+
/*
|
|
99
|
+
生命周期 end
|
|
100
|
+
**/
|
|
101
|
+
this.warnIfNoKey = () => {
|
|
102
|
+
if (some(this.dataSource, (record) => this.adapter.getRecordKey(record) === void 0)) {
|
|
103
|
+
console.error(
|
|
104
|
+
'You must specify a key for each element in the dataSource or use "rowKey" to specify an attribute name as the primary key!'
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
this.setColumnWidth = () => {
|
|
109
|
+
const head = this.headerWrapRef.value;
|
|
110
|
+
if (!head) return;
|
|
111
|
+
const ths = head == null ? void 0 : head.querySelectorAll("th");
|
|
112
|
+
if (ths) {
|
|
113
|
+
const widths = Array.from(ths).reduce(
|
|
114
|
+
(acc, th) => {
|
|
115
|
+
const { width } = th.getBoundingClientRect();
|
|
116
|
+
const colKey = th.dataset.colKey;
|
|
117
|
+
return __spreadProps(__spreadValues({}, acc), {
|
|
118
|
+
[colKey]: width
|
|
119
|
+
});
|
|
120
|
+
},
|
|
121
|
+
{}
|
|
122
|
+
);
|
|
123
|
+
this.columnSizing = widths;
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
this.handleBodyScroll = (e) => {
|
|
127
|
+
var _a;
|
|
128
|
+
this.handleBodyScrollLeft(e);
|
|
129
|
+
this.setScrollPositionClassName();
|
|
130
|
+
if ((_a = this.virtualized) == null ? void 0 : _a.onScroll) {
|
|
131
|
+
this.virtualized.onScroll(e);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
this.handleBodyScrollLeft = (e) => {
|
|
135
|
+
if (this.syncing) return;
|
|
136
|
+
const target = e.currentTarget;
|
|
137
|
+
const head = this.headerWrapRef.value;
|
|
138
|
+
const body = this.bodyWrapRef.value;
|
|
139
|
+
if (!head || !body) return;
|
|
140
|
+
this.syncing = true;
|
|
141
|
+
if (target === body) {
|
|
142
|
+
head.scrollLeft = body.scrollLeft;
|
|
143
|
+
} else if (target === head) {
|
|
144
|
+
body.scrollLeft = head.scrollLeft;
|
|
145
|
+
}
|
|
146
|
+
requestAnimationFrame(() => {
|
|
147
|
+
this.syncing = false;
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
this.handleWindowResize = () => {
|
|
151
|
+
this.syncTableWidth();
|
|
152
|
+
this.setScrollPositionClassName();
|
|
153
|
+
this.setScrollBarStyle();
|
|
154
|
+
};
|
|
155
|
+
this.syncTableWidth = () => {
|
|
156
|
+
var _a;
|
|
157
|
+
if ((_a = this.tableWrapRef) == null ? void 0 : _a.value) {
|
|
158
|
+
this.tableWidth = this.tableWrapRef.value.getBoundingClientRect().width;
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
this.setScrollBarStyle = () => {
|
|
162
|
+
setTimeout(() => {
|
|
163
|
+
const bodyWrapper = this.bodyWrapRef.value;
|
|
164
|
+
const headWrapper = this.headerWrapRef.value;
|
|
165
|
+
if (!bodyWrapper || !headWrapper) return;
|
|
166
|
+
const hasVerticalScroll = getScrollHeight(bodyWrapper) > getClientHeight(bodyWrapper);
|
|
167
|
+
if (hasVerticalScroll) {
|
|
168
|
+
headWrapper.style.overflowY = "scroll";
|
|
169
|
+
} else {
|
|
170
|
+
headWrapper.style.overflowY = "auto";
|
|
171
|
+
}
|
|
172
|
+
}, 0);
|
|
173
|
+
};
|
|
174
|
+
this.setScrollPositionClassName = () => {
|
|
175
|
+
const tableBody = this.bodyWrapRef.value;
|
|
176
|
+
const tableWrapper = this.tableWrapRef.value;
|
|
177
|
+
if (!tableBody || !tableWrapper) return;
|
|
178
|
+
const { scrollLeft, scrollWidth, clientWidth } = tableBody;
|
|
179
|
+
const scrollRange = scrollWidth - clientWidth;
|
|
180
|
+
const classList = tableWrapper.classList;
|
|
181
|
+
const startClass = "table-scroll-position-left";
|
|
182
|
+
const middleClass = "table-scroll-position-middle";
|
|
183
|
+
const endClass = "table-scroll-position-right";
|
|
184
|
+
if (scrollWidth <= clientWidth) {
|
|
185
|
+
classList.remove(startClass, endClass, middleClass);
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
const isRtl = this.direction === "rtl";
|
|
189
|
+
const scrollLeftAbs = Math.abs(scrollLeft);
|
|
190
|
+
let isStart = false;
|
|
191
|
+
let isEnd = false;
|
|
192
|
+
if (isRtl) {
|
|
193
|
+
isStart = scrollLeftAbs <= 1;
|
|
194
|
+
isEnd = scrollLeftAbs >= scrollRange - 1;
|
|
195
|
+
} else {
|
|
196
|
+
isStart = scrollLeft <= 0;
|
|
197
|
+
isEnd = scrollLeft >= scrollRange - 1;
|
|
198
|
+
}
|
|
199
|
+
if (isStart) {
|
|
200
|
+
classList.add(startClass);
|
|
201
|
+
classList.remove(middleClass, endClass);
|
|
202
|
+
} else if (isEnd) {
|
|
203
|
+
classList.remove(startClass, middleClass);
|
|
204
|
+
classList.add(endClass);
|
|
205
|
+
} else {
|
|
206
|
+
classList.remove(startClass, endClass);
|
|
207
|
+
classList.add(middleClass);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
this.handleColumnSizingChange = (updaterOrValue) => {
|
|
211
|
+
var _a;
|
|
212
|
+
const next = typeof updaterOrValue === "function" ? updaterOrValue(this.columnSizing) : updaterOrValue;
|
|
213
|
+
const clamped = {};
|
|
214
|
+
for (const key in next) {
|
|
215
|
+
const v = next[key];
|
|
216
|
+
clamped[key] = Math.min(500, Math.max(60, v));
|
|
217
|
+
}
|
|
218
|
+
this.columnSizing = clamped;
|
|
219
|
+
(_a = this.slColumnResize) == null ? void 0 : _a.call(this, __spreadValues({}, clamped));
|
|
220
|
+
};
|
|
221
|
+
this.generateCustomCellSlot = (filteredRows) => {
|
|
222
|
+
const hasSlotColumns = this.columns.filter((col) => col.slot);
|
|
223
|
+
if (!hasSlotColumns.length) return "";
|
|
224
|
+
return html`
|
|
225
|
+
${hasSlotColumns.map(
|
|
226
|
+
(col) => filteredRows.map((row) => {
|
|
227
|
+
const slotKey = `${CUSTOM_CELL}-${col.dataIndex}-${this.adapter.getRecordKey(row.original)}`;
|
|
228
|
+
return html`<slot slot="${slotKey}" name="${slotKey}">${row.original[col.dataIndex]}</slot>`;
|
|
229
|
+
})
|
|
230
|
+
)}
|
|
231
|
+
`;
|
|
232
|
+
};
|
|
233
|
+
this.generateCustomRowSlot = (rows) => {
|
|
234
|
+
if (!this.expandProps) return "";
|
|
235
|
+
return html`
|
|
236
|
+
${rows.map((row) => {
|
|
237
|
+
var _a, _b, _c;
|
|
238
|
+
const rowSlotKey = `${CUSTOM_ROW}-${this.adapter.getRecordKey(row.original)}`;
|
|
239
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expendableRowKeys)) return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
240
|
+
if ((_c = (_b = this.expandProps) == null ? void 0 : _b.expendableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey])) {
|
|
241
|
+
return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
242
|
+
} else {
|
|
243
|
+
return null;
|
|
244
|
+
}
|
|
245
|
+
})}
|
|
246
|
+
`;
|
|
247
|
+
};
|
|
248
|
+
this.handleRowSelectionChange = (updaterOrValue) => {
|
|
249
|
+
if (typeof updaterOrValue === "function") {
|
|
250
|
+
this.rowSelectedMap = updaterOrValue(this.rowSelectedMap);
|
|
251
|
+
} else {
|
|
252
|
+
this.rowSelectedMap = updaterOrValue;
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
this.handleSortingChange = (updaterOrValue) => {
|
|
256
|
+
if (typeof updaterOrValue === "function") {
|
|
257
|
+
this.sorting = updaterOrValue(this.sorting);
|
|
258
|
+
} else {
|
|
259
|
+
this.sorting = updaterOrValue;
|
|
260
|
+
}
|
|
261
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
262
|
+
this.handleChange({
|
|
263
|
+
changeType: "sorter"
|
|
264
|
+
});
|
|
265
|
+
});
|
|
266
|
+
};
|
|
267
|
+
this.handleColumnFiltersChange = (updaterOrValue) => {
|
|
268
|
+
if (typeof updaterOrValue === "function") {
|
|
269
|
+
this.columnFilters = updaterOrValue(this.columnFilters);
|
|
270
|
+
} else {
|
|
271
|
+
this.columnFilters = updaterOrValue;
|
|
272
|
+
}
|
|
273
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
274
|
+
this.handleChange({
|
|
275
|
+
changeType: "filters"
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
};
|
|
279
|
+
this.handleFilterDropdownChange = (e) => {
|
|
280
|
+
var _a;
|
|
281
|
+
const detail = e.detail;
|
|
282
|
+
const { key, visible } = detail || {};
|
|
283
|
+
const col = this.columns.find((c) => c.dataIndex === key);
|
|
284
|
+
(_a = col == null ? void 0 : col.onFilterDropdownVisibleChange) == null ? void 0 : _a.call(col, visible);
|
|
285
|
+
};
|
|
286
|
+
this.getRowCanExpand = (row) => {
|
|
287
|
+
var _a, _b, _c;
|
|
288
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expendableRowKeys)) return true;
|
|
289
|
+
return Boolean((_c = (_b = this.expandProps) == null ? void 0 : _b.expendableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey]));
|
|
290
|
+
};
|
|
291
|
+
this.expendedChange = (updater) => {
|
|
292
|
+
const newExpanded = typeof updater === "function" ? updater(this.expandedMap) : updater;
|
|
293
|
+
this.expandedMap = newExpanded;
|
|
294
|
+
this.requestUpdate();
|
|
295
|
+
};
|
|
296
|
+
this.handlePaginationChange = (event) => {
|
|
297
|
+
var _a, _b, _c, _d;
|
|
298
|
+
const { pageNumber, pageSize } = event.detail;
|
|
299
|
+
(_b = (_a = this.pagination) == null ? void 0 : _a["sl-page-change"]) == null ? void 0 : _b.call(_a, event);
|
|
300
|
+
this.pagination = __spreadProps(__spreadValues({}, this.pagination), {
|
|
301
|
+
defaultCurrentPage: pageNumber,
|
|
302
|
+
pageSize: pageSize || 20
|
|
303
|
+
});
|
|
304
|
+
if (!((_c = this.pagination) == null ? void 0 : _c.currentPage)) this.pageIndex = pageNumber - 1;
|
|
305
|
+
this.handleChange({
|
|
306
|
+
pagination: {
|
|
307
|
+
pageNumber: pageNumber || 1,
|
|
308
|
+
pageSize: pageSize || 20,
|
|
309
|
+
total: ((_d = this.pagination) == null ? void 0 : _d.total) || this.dataSource.length
|
|
310
|
+
},
|
|
311
|
+
type: "pagination"
|
|
312
|
+
});
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
get adapter() {
|
|
316
|
+
return {
|
|
317
|
+
getRecordKey: (record) => {
|
|
318
|
+
if (!record) {
|
|
319
|
+
return void 0;
|
|
320
|
+
}
|
|
321
|
+
return get(record, this.rowKey);
|
|
322
|
+
},
|
|
323
|
+
getSortIsControlled: () => {
|
|
324
|
+
return some(this.columns, (col) => !!col.sortOrder);
|
|
325
|
+
},
|
|
326
|
+
getTableWidth: () => this.tableWidth,
|
|
327
|
+
getFilterIsControlled: () => some(this.columns, (col) => !!col.filteredValue),
|
|
328
|
+
tableScrollToTop: () => {
|
|
329
|
+
var _a, _b;
|
|
330
|
+
return ((_a = this.tableScroll) == null ? void 0 : _a.y) ? (_b = this.bodyWrapRef.value) == null ? void 0 : _b.scrollTo({ top: 0 }) : void 0;
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
/*
|
|
335
|
+
生命周期 start
|
|
336
|
+
**/
|
|
337
|
+
connectedCallback() {
|
|
338
|
+
super.connectedCallback();
|
|
339
|
+
window.addEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
340
|
+
this.syncTableWidth();
|
|
341
|
+
this.setScrollBarStyle();
|
|
342
|
+
this.setScrollPositionClassName();
|
|
343
|
+
}
|
|
344
|
+
disconnectedCallback() {
|
|
345
|
+
window.removeEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
346
|
+
super.disconnectedCallback();
|
|
347
|
+
}
|
|
348
|
+
willUpdate(changedProperties) {
|
|
349
|
+
var _a;
|
|
350
|
+
this.warnIfNoKey();
|
|
351
|
+
if (changedProperties.has("rowSelection")) {
|
|
352
|
+
this.rowSelectedMap = convertRowSelectionState(((_a = this.rowSelection) == null ? void 0 : _a.defaultSelectedRowKeys) || []);
|
|
353
|
+
}
|
|
354
|
+
if (changedProperties.has("columns")) {
|
|
355
|
+
const defaultSorting = getDefaultSorting(this.columns);
|
|
356
|
+
if (defaultSorting.length > 0) {
|
|
357
|
+
this.sorting = defaultSorting;
|
|
358
|
+
}
|
|
359
|
+
const defaultFilters = getDefaultFilters(this.columns);
|
|
360
|
+
if (defaultFilters.length > 0) {
|
|
361
|
+
this.columnFilters = defaultFilters;
|
|
362
|
+
}
|
|
363
|
+
const defaultPinning = getDefaultPinning(this.columns);
|
|
364
|
+
if (defaultPinning.left.length > 0 || defaultPinning.right.length > 0) {
|
|
365
|
+
this.columnPinning = defaultPinning;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
if (changedProperties.has("dataSource") || changedProperties.has("expandProps")) {
|
|
369
|
+
this.dataSource.forEach((row) => {
|
|
370
|
+
var _a2, _b;
|
|
371
|
+
if (!((_a2 = this.expandProps) == null ? void 0 : _a2.rowExpandable)) return;
|
|
372
|
+
const rowKey = row[this.rowKey];
|
|
373
|
+
const expandAllMatch = this.expandProps.defaultExpandAllRows && (!this.expandProps.expendableRowKeys || this.expandProps.expendableRowKeys.includes(rowKey));
|
|
374
|
+
const expandByKeys = (_b = this.expandProps.defaultExpandedRowKeys) == null ? void 0 : _b.includes(rowKey);
|
|
375
|
+
if (expandAllMatch || expandByKeys) {
|
|
376
|
+
this.expandedMap[rowKey] = true;
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
updated(changedProperties) {
|
|
382
|
+
super.updated(changedProperties);
|
|
383
|
+
window.requestAnimationFrame(() => {
|
|
384
|
+
this.setScrollPositionClassName();
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
async firstUpdated() {
|
|
388
|
+
var _a, _b, _d, _e;
|
|
389
|
+
const bodyTable = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("sl-table-body-table");
|
|
390
|
+
if (bodyTable) {
|
|
391
|
+
await bodyTable.updateComplete;
|
|
392
|
+
}
|
|
393
|
+
const headTable = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sl-table-head-table");
|
|
394
|
+
if (headTable) {
|
|
395
|
+
await headTable.updateComplete;
|
|
396
|
+
}
|
|
397
|
+
if (this.virtualized) {
|
|
398
|
+
const scrollElement = this.bodyWrapRef.value;
|
|
399
|
+
const _c = this.virtualized, { itemHeight, overscan } = _c, rest = __objRest(_c, ["itemHeight", "overscan"]);
|
|
400
|
+
this.rowVirtualizerController = new VirtualizerController(this, __spreadValues({
|
|
401
|
+
count: this.dataSource.length,
|
|
402
|
+
getScrollElement: () => scrollElement,
|
|
403
|
+
estimateSize: () => itemHeight || VIRTUALIZED_DEFAULT.itemHeight,
|
|
404
|
+
overscan: overscan || VIRTUALIZED_DEFAULT.overscan
|
|
405
|
+
}, rest));
|
|
406
|
+
this.requestUpdate();
|
|
407
|
+
}
|
|
408
|
+
this.setColumnWidth();
|
|
409
|
+
if ((_d = this.pagination) == null ? void 0 : _d.currentPage) {
|
|
410
|
+
this.pageIndex = this.pagination.currentPage - 1;
|
|
411
|
+
} else if ((_e = this.pagination) == null ? void 0 : _e.defaultCurrentPage) {
|
|
412
|
+
this.pageIndex = this.pagination.defaultCurrentPage - 1;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
renderTable(tableInstance) {
|
|
416
|
+
var _a, _b;
|
|
417
|
+
const currentPageRows = tableInstance.getPaginationRowModel().rows;
|
|
418
|
+
const filteredRows = tableInstance.getFilteredRowModel().rows;
|
|
419
|
+
const commonProps = {
|
|
420
|
+
direction: this.direction,
|
|
421
|
+
bordered: !!this.bordered,
|
|
422
|
+
rowSelectedMap: this.rowSelectedMap,
|
|
423
|
+
tableScroll: this.tableScroll,
|
|
424
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
425
|
+
handleBodyScroll: this.handleBodyScroll,
|
|
426
|
+
sorting: this.sorting,
|
|
427
|
+
dataSource: this.dataSource,
|
|
428
|
+
columns: this.columns,
|
|
429
|
+
adapter: this.adapter,
|
|
430
|
+
tableInstance,
|
|
431
|
+
slHeaderRow: this.slHeaderRow,
|
|
432
|
+
slRow: this.slRow,
|
|
433
|
+
virtualized: this.virtualized,
|
|
434
|
+
rowDrag: this.rowDrag,
|
|
435
|
+
slRowReorder: (detail) => {
|
|
436
|
+
var _a2;
|
|
437
|
+
if (this.slRowReorder) this.slRowReorder(detail);
|
|
438
|
+
if ((_a2 = detail.newRows) == null ? void 0 : _a2.length) {
|
|
439
|
+
this.dataSource = detail.newRows;
|
|
440
|
+
this.requestUpdate();
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
};
|
|
444
|
+
const emptyTemplate = this.dataSource.length === 0 || currentPageRows.length === 0 || filteredRows.length === 0 ? this.renderEmpty() : "";
|
|
445
|
+
const headTable = this.showHeader ? html`<sl-table-head-table
|
|
446
|
+
exportparts="table-head, table-head-row, table-head-cell"
|
|
447
|
+
.commonProps=${commonProps}
|
|
448
|
+
.headerRef=${this.headerWrapRef}
|
|
449
|
+
@sl-filter-dropdown-change=${this.handleFilterDropdownChange}
|
|
450
|
+
></sl-table-head-table>` : "";
|
|
451
|
+
const bodyTable = html`<sl-table-body-table
|
|
452
|
+
exportparts="table-body, table-body-row, table-body-cell"
|
|
453
|
+
.bodyRef=${this.bodyWrapRef}
|
|
454
|
+
.emptyTemplate=${emptyTemplate}
|
|
455
|
+
.commonProps=${commonProps}
|
|
456
|
+
.rowVirtualizerController=${this.rowVirtualizerController}
|
|
457
|
+
.expandRowByClick=${((_a = this.expandProps) == null ? void 0 : _a.rowExpandable) && ((_b = this.expandProps) == null ? void 0 : _b.expandRowByClick)}
|
|
458
|
+
>
|
|
459
|
+
<slot name="table-empty" slot="table-empty">暂无数据</slot>
|
|
460
|
+
${this.generateCustomRowSlot(filteredRows)} ${this.generateCustomCellSlot(filteredRows)}
|
|
461
|
+
</sl-table-body-table>`;
|
|
462
|
+
return html`${headTable} ${bodyTable}`;
|
|
463
|
+
}
|
|
464
|
+
renderEmpty() {
|
|
465
|
+
return html` <div class="table-placeholder"><slot name="table-empty"></slot></div>`;
|
|
466
|
+
}
|
|
467
|
+
renderMainTable(tableInstance) {
|
|
468
|
+
const table = html`${this.renderTable(tableInstance)}`;
|
|
469
|
+
return table;
|
|
470
|
+
}
|
|
471
|
+
renderPagination(place) {
|
|
472
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
473
|
+
if (!this.pagination) return "";
|
|
474
|
+
const pos = ((_a = this.pagination) == null ? void 0 : _a.position) || "bottomEnd";
|
|
475
|
+
const isTop = pos.startsWith("top");
|
|
476
|
+
if (place === "top" && !isTop || place === "bottom" && isTop) return "";
|
|
477
|
+
const justify = pos.endsWith("Start") ? "flex-start" : pos.endsWith("Center") ? "center" : "flex-end";
|
|
478
|
+
const margin = place === "top" ? "0 0 8px 0" : "8px 0 0 0";
|
|
479
|
+
const style = `display:flex; justify-content:${justify}; margin:${margin};`;
|
|
480
|
+
return html`
|
|
481
|
+
<div class="pagination-container" style="${style}">
|
|
482
|
+
<sl-pagination
|
|
483
|
+
class="pagination"
|
|
484
|
+
@sl-page-change=${this.handlePaginationChange}
|
|
485
|
+
.total=${((_b = this.pagination) == null ? void 0 : _b.total) || this.dataSource.length}
|
|
486
|
+
.currentPage=${(_c = this.pagination) == null ? void 0 : _c.currentPage}
|
|
487
|
+
.defaultCurrentPage=${((_d = this.pagination) == null ? void 0 : _d.defaultCurrentPage) || 1}
|
|
488
|
+
.pageSize=${((_e = this.pagination) == null ? void 0 : _e.pageSize) || 20}
|
|
489
|
+
.disabled=${((_f = this.pagination) == null ? void 0 : _f.disabled) || false}
|
|
490
|
+
.className=${(_g = this.pagination) == null ? void 0 : _g.className}
|
|
491
|
+
.pageSizeOpts=${((_h = this.pagination) == null ? void 0 : _h.pageSizeOpts) || [10, 20, 50, 100]}
|
|
492
|
+
.simpleMode=${((_i = this.pagination) == null ? void 0 : _i.simpleMode) || false}
|
|
493
|
+
>
|
|
494
|
+
</sl-pagination>
|
|
495
|
+
</div>
|
|
496
|
+
`;
|
|
497
|
+
}
|
|
498
|
+
// 生成lit-table所需要的columns数组
|
|
499
|
+
buildColumns() {
|
|
500
|
+
var _a, _b, _c;
|
|
501
|
+
const _columns = [];
|
|
502
|
+
const columnHelper = createColumnHelper();
|
|
503
|
+
for (const col of this.columns) {
|
|
504
|
+
const {
|
|
505
|
+
dataIndex,
|
|
506
|
+
width,
|
|
507
|
+
align,
|
|
508
|
+
className,
|
|
509
|
+
ellipsis,
|
|
510
|
+
sorter,
|
|
511
|
+
filters,
|
|
512
|
+
filterMultiple,
|
|
513
|
+
defaultFilters,
|
|
514
|
+
onFilter,
|
|
515
|
+
filterDropdownProps,
|
|
516
|
+
onFilterDropdownVisibleChange
|
|
517
|
+
} = col;
|
|
518
|
+
const canSort = sorter && typeof sorter === "function";
|
|
519
|
+
const canFilter = filters && filters.length > 0;
|
|
520
|
+
const newCol = columnHelper.accessor((row) => row[dataIndex], {
|
|
521
|
+
id: dataIndex,
|
|
522
|
+
meta: {
|
|
523
|
+
align,
|
|
524
|
+
className,
|
|
525
|
+
ellipsis,
|
|
526
|
+
filters,
|
|
527
|
+
filterMultiple,
|
|
528
|
+
defaultFilters,
|
|
529
|
+
filterDropdownProps,
|
|
530
|
+
onFilterDropdownVisibleChange,
|
|
531
|
+
slCell: col.slCell,
|
|
532
|
+
slHeaderCell: col.slHeaderCell
|
|
533
|
+
},
|
|
534
|
+
cell: (info) => {
|
|
535
|
+
if (col.slot) {
|
|
536
|
+
const slotKey = `${CUSTOM_CELL}-${dataIndex}-${this.adapter.getRecordKey(info.row.original)}`;
|
|
537
|
+
return html`<slot name="${slotKey}" slot="${slotKey}">${info.getValue()}</slot>`;
|
|
538
|
+
}
|
|
539
|
+
return info.getValue();
|
|
540
|
+
},
|
|
541
|
+
header: () => col.title || dataIndex,
|
|
542
|
+
size: width
|
|
543
|
+
});
|
|
544
|
+
newCol.enableResizing = (_a = col.enableResizing) != null ? _a : this.enableColumnResizing;
|
|
545
|
+
if (newCol.enableResizing) {
|
|
546
|
+
newCol.minSize = 60;
|
|
547
|
+
newCol.maxSize = 500;
|
|
548
|
+
}
|
|
549
|
+
if (canSort) {
|
|
550
|
+
newCol.sortingFn = (rowA, rowB) => sorter(rowA.original, rowB.original);
|
|
551
|
+
}
|
|
552
|
+
if (canFilter && onFilter) {
|
|
553
|
+
newCol.filterFn = (row, _columnId, filterValue) => {
|
|
554
|
+
if (Array.isArray(filterValue)) {
|
|
555
|
+
return filterValue.some((val) => !!onFilter(val, row.original));
|
|
556
|
+
}
|
|
557
|
+
return !!onFilter(filterValue, row.original);
|
|
558
|
+
};
|
|
559
|
+
}
|
|
560
|
+
newCol.enableSorting = !!canSort;
|
|
561
|
+
newCol.enableColumnFilter = !!canFilter;
|
|
562
|
+
_columns.push(newCol);
|
|
563
|
+
}
|
|
564
|
+
if (this.rowSelection && !this.rowSelection.hidden) {
|
|
565
|
+
_columns.unshift(getSelectionColumn(this.rowSelection, this.rowKey));
|
|
566
|
+
}
|
|
567
|
+
if ((_b = this == null ? void 0 : this.expandProps) == null ? void 0 : _b.rowExpandable) _columns.unshift(getExpendRow((_c = this.expandProps) == null ? void 0 : _c.expandRowByClick));
|
|
568
|
+
if (this == null ? void 0 : this.rowDrag) _columns.unshift(getDragRow());
|
|
569
|
+
return _columns;
|
|
570
|
+
}
|
|
571
|
+
// 构建 tableState
|
|
572
|
+
buildTableState() {
|
|
573
|
+
var _a;
|
|
574
|
+
const rowSelectionOptions = getRowSelectionOptions({
|
|
575
|
+
rowSelection: this.rowSelection
|
|
576
|
+
});
|
|
577
|
+
const cols = this.buildColumns();
|
|
578
|
+
const instance = this.tableController.table(__spreadProps(__spreadValues({
|
|
579
|
+
columns: cols,
|
|
580
|
+
data: this.dataSource,
|
|
581
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
582
|
+
columnResizeMode: "onChange",
|
|
583
|
+
columnResizeDirection: this.direction,
|
|
584
|
+
manualPagination: !this.pagination,
|
|
585
|
+
getRowId: (row) => row[this.rowKey],
|
|
586
|
+
getCoreRowModel: getCoreRowModel(),
|
|
587
|
+
getSortedRowModel: getSortedRowModel(),
|
|
588
|
+
getPaginationRowModel: getPaginationRowModel(),
|
|
589
|
+
getFilteredRowModel: getFilteredRowModel(),
|
|
590
|
+
getExpandedRowModel: getExpandedRowModel(),
|
|
591
|
+
state: {
|
|
592
|
+
rowSelection: this.rowSelectedMap,
|
|
593
|
+
sorting: this.sorting,
|
|
594
|
+
columnFilters: this.columnFilters,
|
|
595
|
+
columnSizing: this.columnSizing,
|
|
596
|
+
pagination: {
|
|
597
|
+
pageIndex: this.pageIndex,
|
|
598
|
+
pageSize: ((_a = this.pagination) == null ? void 0 : _a.pageSize) || 20
|
|
599
|
+
},
|
|
600
|
+
expanded: this.expandedMap,
|
|
601
|
+
columnPinning: this.columnPinning
|
|
602
|
+
},
|
|
603
|
+
onColumnSizingChange: this.handleColumnSizingChange,
|
|
604
|
+
onSortingChange: this.handleSortingChange,
|
|
605
|
+
onColumnFiltersChange: this.handleColumnFiltersChange
|
|
606
|
+
}, rowSelectionOptions), {
|
|
607
|
+
onRowSelectionChange: this.handleRowSelectionChange,
|
|
608
|
+
// 受控排序
|
|
609
|
+
manualSorting: this.adapter.getSortIsControlled(),
|
|
610
|
+
manualFiltering: this.adapter.getFilterIsControlled(),
|
|
611
|
+
getRowCanExpand: this.getRowCanExpand,
|
|
612
|
+
onExpandedChange: this.expendedChange
|
|
613
|
+
}));
|
|
614
|
+
return instance;
|
|
615
|
+
}
|
|
616
|
+
handleChange(extra) {
|
|
617
|
+
var _a;
|
|
618
|
+
this.dispatchEvent(
|
|
619
|
+
new CustomEvent("change", {
|
|
620
|
+
detail: __spreadValues({
|
|
621
|
+
sorting: this.sorting,
|
|
622
|
+
columnFilters: this.columnFilters
|
|
623
|
+
}, extra)
|
|
624
|
+
})
|
|
625
|
+
);
|
|
626
|
+
if (["sorting", "filters", "pagination"].includes(extra == null ? void 0 : extra.type) && ((_a = this.tableScroll) == null ? void 0 : _a.scrollToFirstRowOnChange)) {
|
|
627
|
+
this.adapter.tableScrollToTop();
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
render() {
|
|
631
|
+
const tableInstance = this.buildTableState();
|
|
632
|
+
return html`
|
|
633
|
+
<div
|
|
634
|
+
part="table-wrapper"
|
|
635
|
+
${ref(this.tableWrapRef)}
|
|
636
|
+
class=${classMap({
|
|
637
|
+
"table-wrapper": true,
|
|
638
|
+
[`table-direction-${this.direction}`]: true
|
|
639
|
+
})}
|
|
640
|
+
>
|
|
641
|
+
${this.renderPagination("top")}
|
|
642
|
+
<sl-table-spinner-container .loading=${this.loading} exportparts="table-container">
|
|
643
|
+
<div
|
|
644
|
+
class=${classMap({
|
|
645
|
+
"table-bordered": Boolean(this.bordered),
|
|
646
|
+
"table-nodata": this.dataSource.length === 0
|
|
647
|
+
})}
|
|
648
|
+
>
|
|
649
|
+
<div
|
|
650
|
+
part="table-container"
|
|
651
|
+
class=${classMap({
|
|
652
|
+
"table-container": !this.enableColumnResizing,
|
|
653
|
+
"table-columnresizing": this.enableColumnResizing || false
|
|
654
|
+
})}
|
|
655
|
+
>
|
|
656
|
+
${this.renderMainTable(tableInstance)}
|
|
657
|
+
</div>
|
|
658
|
+
</div>
|
|
659
|
+
</sl-table-spinner-container>
|
|
660
|
+
${this.renderPagination("bottom")}
|
|
661
|
+
</div>
|
|
662
|
+
`;
|
|
663
|
+
}
|
|
664
|
+
};
|
|
665
|
+
SlTable.dependencies = {
|
|
666
|
+
"sl-checkbox": SlCheckbox,
|
|
667
|
+
"sl-radio": SlRadio,
|
|
668
|
+
"sl-pagination": SlPagination
|
|
669
|
+
};
|
|
670
|
+
SlTable.styles = [table_style_default];
|
|
671
|
+
__decorateClass([
|
|
672
|
+
property({ type: Array })
|
|
673
|
+
], SlTable.prototype, "rowKey", 2);
|
|
674
|
+
__decorateClass([
|
|
675
|
+
property({ type: Array })
|
|
676
|
+
], SlTable.prototype, "columns", 2);
|
|
677
|
+
__decorateClass([
|
|
678
|
+
property({ type: Array })
|
|
679
|
+
], SlTable.prototype, "dataSource", 2);
|
|
680
|
+
__decorateClass([
|
|
681
|
+
property({ type: Boolean })
|
|
682
|
+
], SlTable.prototype, "loading", 2);
|
|
683
|
+
__decorateClass([
|
|
684
|
+
property({ type: Boolean })
|
|
685
|
+
], SlTable.prototype, "bordered", 2);
|
|
686
|
+
__decorateClass([
|
|
687
|
+
property({ type: String })
|
|
688
|
+
], SlTable.prototype, "direction", 2);
|
|
689
|
+
__decorateClass([
|
|
690
|
+
property({ type: Boolean })
|
|
691
|
+
], SlTable.prototype, "showHeader", 2);
|
|
692
|
+
__decorateClass([
|
|
693
|
+
property({ type: Object })
|
|
694
|
+
], SlTable.prototype, "rowSelection", 2);
|
|
695
|
+
__decorateClass([
|
|
696
|
+
property({ type: Object })
|
|
697
|
+
], SlTable.prototype, "tableScroll", 2);
|
|
698
|
+
__decorateClass([
|
|
699
|
+
property({ type: Object })
|
|
700
|
+
], SlTable.prototype, "pagination", 2);
|
|
701
|
+
__decorateClass([
|
|
702
|
+
property({ type: Object })
|
|
703
|
+
], SlTable.prototype, "expandProps", 2);
|
|
704
|
+
__decorateClass([
|
|
705
|
+
property({ type: Boolean })
|
|
706
|
+
], SlTable.prototype, "enableColumnResizing", 2);
|
|
707
|
+
__decorateClass([
|
|
708
|
+
property({ type: Function })
|
|
709
|
+
], SlTable.prototype, "slHeaderRow", 2);
|
|
710
|
+
__decorateClass([
|
|
711
|
+
property({ type: Function })
|
|
712
|
+
], SlTable.prototype, "slRow", 2);
|
|
713
|
+
__decorateClass([
|
|
714
|
+
property({ type: Function })
|
|
715
|
+
], SlTable.prototype, "slColumnResize", 2);
|
|
716
|
+
__decorateClass([
|
|
717
|
+
property({ type: Object || Boolean })
|
|
718
|
+
], SlTable.prototype, "virtualized", 2);
|
|
719
|
+
__decorateClass([
|
|
720
|
+
property({ type: Boolean })
|
|
721
|
+
], SlTable.prototype, "rowDrag", 2);
|
|
722
|
+
__decorateClass([
|
|
723
|
+
property({ type: Function })
|
|
724
|
+
], SlTable.prototype, "slRowReorder", 2);
|
|
725
|
+
__decorateClass([
|
|
726
|
+
state()
|
|
727
|
+
], SlTable.prototype, "rowSelectedMap", 2);
|
|
728
|
+
__decorateClass([
|
|
729
|
+
state()
|
|
730
|
+
], SlTable.prototype, "expandedMap", 2);
|
|
731
|
+
__decorateClass([
|
|
732
|
+
state()
|
|
733
|
+
], SlTable.prototype, "sorting", 2);
|
|
734
|
+
__decorateClass([
|
|
735
|
+
state()
|
|
736
|
+
], SlTable.prototype, "columnFilters", 2);
|
|
737
|
+
__decorateClass([
|
|
738
|
+
state()
|
|
739
|
+
], SlTable.prototype, "tableWidth", 2);
|
|
740
|
+
__decorateClass([
|
|
741
|
+
state()
|
|
742
|
+
], SlTable.prototype, "columnSizing", 2);
|
|
743
|
+
__decorateClass([
|
|
744
|
+
state()
|
|
745
|
+
], SlTable.prototype, "pageIndex", 2);
|
|
746
|
+
__decorateClass([
|
|
747
|
+
state()
|
|
748
|
+
], SlTable.prototype, "columnPinning", 2);
|
|
749
|
+
|
|
750
|
+
export {
|
|
751
|
+
SlTable
|
|
752
|
+
};
|