@kdcloudjs/shoelace 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.25QI4HUJ.js +21 -0
- package/cdn/chunks/chunk.2D727FUG.js +122 -0
- package/cdn/chunks/chunk.2FECPGX4.js +11 -0
- package/cdn/chunks/chunk.2FFQ6VQS.js +25 -0
- package/cdn/chunks/chunk.2GQI2T7L.js +367 -0
- package/cdn/chunks/chunk.2H2ERR6Q.js +11 -0
- package/cdn/chunks/chunk.2IUF7WZT.js +21 -0
- package/cdn/chunks/chunk.2ONU2UXU.js +724 -0
- package/cdn/chunks/chunk.2PT3FTZL.js +79 -0
- package/cdn/chunks/chunk.2T44KC6F.js +21 -0
- package/cdn/chunks/chunk.2V5YJ5EK.js +11 -0
- package/cdn/chunks/chunk.2VN66QAH.js +21 -0
- package/cdn/chunks/chunk.2YIZRX5D.js +11 -0
- package/cdn/chunks/chunk.33VCMYEE.js +29 -0
- package/cdn/chunks/chunk.36IXFEV5.js +11 -0
- package/cdn/chunks/chunk.3BMK5YD4.js +21 -0
- package/cdn/chunks/chunk.3HZK7K73.js +11 -0
- package/cdn/chunks/chunk.3IAQCR4O.js +11 -0
- package/cdn/chunks/chunk.3IXYO3AD.js +435 -0
- package/cdn/chunks/chunk.3LFGW6IU.js +299 -0
- package/cdn/chunks/chunk.3OW6DONY.js +235 -0
- package/cdn/chunks/chunk.3PCMHOLQ.js +28 -0
- package/cdn/chunks/chunk.3PGJZEOW.js +276 -0
- package/cdn/chunks/chunk.3ZDUMADR.js +358 -0
- package/cdn/chunks/chunk.44AQZGUE.js +24 -0
- package/cdn/chunks/chunk.44SRGTCA.js +24 -0
- package/cdn/chunks/chunk.47STWQW6.js +26 -0
- package/cdn/chunks/chunk.4BYSXD4Y.js +2953 -0
- package/cdn/chunks/chunk.4L5ROROC.js +25 -0
- package/cdn/chunks/chunk.4VXGUROV.js +63 -0
- package/cdn/chunks/chunk.4XYNXKFX.js +25 -0
- package/cdn/chunks/chunk.4Z5XBTBK.js +11 -0
- package/cdn/chunks/chunk.56EDSPNJ.js +11 -0
- package/cdn/chunks/chunk.5ENLTMV2.js +11 -0
- package/cdn/chunks/chunk.5F62AJ4E.js +11 -0
- package/cdn/chunks/chunk.5LS2RYCO.js +21 -0
- package/cdn/chunks/chunk.5QYUM2HD.js +11 -0
- package/cdn/chunks/chunk.5Y3XUQW4.js +21 -0
- package/cdn/chunks/chunk.6A5FPY2W.js +21 -0
- package/cdn/chunks/chunk.6DJD6JGN.js +11 -0
- package/cdn/chunks/chunk.6YNM42JQ.js +279 -0
- package/cdn/chunks/chunk.75MNXSAS.js +11 -0
- package/cdn/chunks/chunk.76DT2DXA.js +11 -0
- package/cdn/chunks/chunk.77EXVNZP.js +29 -0
- package/cdn/chunks/chunk.7AQWBFD3.js +21 -0
- package/cdn/chunks/chunk.7GJD3JCD.js +21 -0
- package/cdn/chunks/chunk.7JE6EIXS.js +28 -0
- package/cdn/chunks/chunk.7MN5GUVG.js +27 -0
- package/cdn/chunks/chunk.7O5CF3AS.js +21 -0
- package/cdn/chunks/chunk.7OB4I6AZ.js +11 -0
- package/cdn/chunks/chunk.7QDXQ7Q7.js +11 -0
- package/cdn/chunks/chunk.7Y6F37LX.js +120 -0
- package/cdn/chunks/chunk.7YMGSHUM.js +158 -0
- package/cdn/chunks/chunk.7YV2TEP7.js +49 -0
- package/cdn/chunks/chunk.A6IBIR3O.js +7313 -0
- package/cdn/chunks/chunk.AKEGIJ7N.js +87 -0
- package/cdn/chunks/chunk.AV7DCPBQ.js +11 -0
- package/cdn/chunks/chunk.AX4BMX7C.js +11 -0
- package/cdn/chunks/chunk.B32KJU7E.js +58 -0
- package/cdn/chunks/chunk.BABPAKHA.js +313 -0
- package/cdn/chunks/chunk.BE35YGGQ.js +11 -0
- package/cdn/chunks/chunk.BJ2SGXM4.js +1990 -0
- package/cdn/chunks/chunk.BS3HY2SX.js +302 -0
- package/cdn/chunks/chunk.BS4FA35D.js +11 -0
- package/cdn/chunks/chunk.CBGEBJBV.js +255 -0
- package/cdn/chunks/chunk.CDQCO4ET.js +21 -0
- package/cdn/chunks/chunk.CGZDMMBT.js +11 -0
- package/cdn/chunks/chunk.CRBX6JJA.js +24 -0
- package/cdn/chunks/chunk.CV3PPHFQ.js +29 -0
- package/cdn/chunks/chunk.CV7DBSUZ.js +292 -0
- package/cdn/chunks/chunk.CYCVZXAN.js +97 -0
- package/cdn/chunks/chunk.CZPUDWVG.js +11 -0
- package/cdn/chunks/chunk.D57EIUFQ.js +21 -0
- package/cdn/chunks/chunk.DIU65O3X.js +216 -0
- package/cdn/chunks/chunk.DNS5PU6R.js +11 -0
- package/cdn/chunks/chunk.DRKKI4GS.js +24 -0
- package/cdn/chunks/chunk.DS7WGT44.js +21 -0
- package/cdn/chunks/chunk.DUACFODD.js +11 -0
- package/cdn/chunks/chunk.DWPWZVVZ.js +11 -0
- package/cdn/chunks/chunk.E2Q2HQN7.js +24 -0
- package/cdn/chunks/chunk.E3KIWNQF.js +113 -0
- package/cdn/chunks/chunk.E6Z6UB3G.js +5845 -0
- package/cdn/chunks/chunk.EAVWOVOR.js +67 -0
- package/cdn/chunks/chunk.EFJDICR2.js +27 -0
- package/cdn/chunks/chunk.EQ6UGRMR.js +11 -0
- package/cdn/chunks/chunk.EQV3B25S.js +103 -0
- package/cdn/chunks/chunk.EVH7ZZUX.js +11 -0
- package/cdn/chunks/chunk.F64T5ZS3.js +1132 -0
- package/cdn/chunks/chunk.FIATASW7.js +379 -0
- package/cdn/chunks/chunk.FQW23WTA.js +510 -0
- package/cdn/chunks/chunk.FTBSRM6A.js +21 -0
- package/cdn/chunks/chunk.G2YOMCHR.js +126 -0
- package/cdn/chunks/chunk.GM4GS7DZ.js +36 -0
- package/cdn/chunks/chunk.GNGJH4RP.js +236 -0
- package/cdn/chunks/chunk.GSFKW44P.js +49 -0
- package/cdn/chunks/chunk.GVPZULKM.js +197 -0
- package/cdn/chunks/chunk.GZNURN7C.js +24 -0
- package/cdn/chunks/chunk.H3YTR3UU.js +11 -0
- package/cdn/chunks/chunk.H756BI7X.js +11 -0
- package/cdn/chunks/chunk.HD2O7HFD.js +11 -0
- package/cdn/chunks/chunk.HHUMY2BC.js +21 -0
- package/cdn/chunks/chunk.HXIYNP3U.js +11 -0
- package/cdn/chunks/chunk.ID66AJ2G.js +583 -0
- package/cdn/chunks/chunk.IFCZKHQX.js +11 -0
- package/cdn/chunks/chunk.IGMSYGLG.js +11 -0
- package/cdn/chunks/chunk.IHGMJZIJ.js +21 -0
- package/cdn/chunks/chunk.IKWPPWI4.js +27 -0
- package/cdn/chunks/chunk.IKZXKXQH.js +25 -0
- package/cdn/chunks/chunk.IQKH2NHJ.js +27 -0
- package/cdn/chunks/chunk.JCJCP52E.js +69 -0
- package/cdn/chunks/chunk.JG4GAI2Q.js +336 -0
- package/cdn/chunks/chunk.JI7BUZS7.js +11 -0
- package/cdn/chunks/chunk.JMIRONHC.js +25 -0
- package/cdn/chunks/chunk.JTC7F5FK.js +246 -0
- package/cdn/chunks/chunk.JUVBHLIK.js +137 -0
- package/cdn/chunks/chunk.JZPJNZXF.js +135 -0
- package/cdn/chunks/chunk.K4T55CZ7.js +11 -0
- package/cdn/chunks/chunk.K4UZMZ4I.js +21 -0
- package/cdn/chunks/chunk.KDWKUKYE.js +27 -0
- package/cdn/chunks/chunk.KEBVINMT.js +21 -0
- package/cdn/chunks/chunk.KTCEZY3Z.js +11 -0
- package/cdn/chunks/chunk.KZEKBRBE.js +25 -0
- package/cdn/chunks/chunk.L7UMNVRZ.js +586 -0
- package/cdn/chunks/chunk.LDNCGTYC.js +233 -0
- package/cdn/chunks/chunk.LEHPWQOP.js +113 -0
- package/cdn/chunks/chunk.LGUVFCUN.js +11 -0
- package/cdn/chunks/chunk.LHBYFASQ.js +11 -0
- package/cdn/chunks/chunk.LHLDVGDD.js +131 -0
- package/cdn/chunks/chunk.LK6MI4ER.js +24 -0
- package/cdn/chunks/chunk.LLHLVXOD.js +21 -0
- package/cdn/chunks/chunk.LRXTD5YY.js +28 -0
- package/cdn/chunks/chunk.LS7XBPLW.js +21 -0
- package/cdn/chunks/chunk.LXTTLE33.js +1925 -0
- package/cdn/chunks/chunk.M5PY6ZUR.js +21 -0
- package/cdn/chunks/chunk.MGTS2OF5.js +25 -0
- package/cdn/chunks/chunk.N677IG6A.js +391 -0
- package/cdn/chunks/chunk.N76YC3RS.js +93 -0
- package/cdn/chunks/chunk.NHOUABJG.js +11 -0
- package/cdn/chunks/chunk.NMTVCFPQ.js +346 -0
- package/cdn/chunks/chunk.NR55QWNC.js +11 -0
- package/cdn/chunks/chunk.NYXZ7BJE.js +11 -0
- package/cdn/chunks/chunk.NZ3Z4ZWG.js +24 -0
- package/cdn/chunks/chunk.NZE5KZ52.js +171 -0
- package/cdn/chunks/chunk.O7TYIQIM.js +24 -0
- package/cdn/chunks/chunk.OAB3UNTN.js +314 -0
- package/cdn/chunks/chunk.OWRUH6SL.js +11 -0
- package/cdn/chunks/chunk.OXUACAG5.js +118 -0
- package/cdn/chunks/chunk.P25M3JYY.js +123 -0
- package/cdn/chunks/chunk.P2WSS3XF.js +54 -0
- package/cdn/chunks/chunk.P75X6TAH.js +28 -0
- package/cdn/chunks/chunk.PGQKJS4G.js +21 -0
- package/cdn/chunks/chunk.PXXNBYDY.js +557 -0
- package/cdn/chunks/chunk.PZ5LNRIQ.js +455 -0
- package/cdn/chunks/chunk.QCAVXKUV.js +24 -0
- package/cdn/chunks/chunk.QIVMITAD.js +191 -0
- package/cdn/chunks/chunk.QJ4G6YW3.js +186 -0
- package/cdn/chunks/chunk.QNS3O2PI.js +271 -0
- package/cdn/chunks/chunk.QQQWEAW2.js +291 -0
- package/cdn/chunks/chunk.RDCHRWPC.js +11 -0
- package/cdn/chunks/chunk.RJPKVTSF.js +11 -0
- package/cdn/chunks/chunk.RMBKLQRN.js +11 -0
- package/cdn/chunks/chunk.RR3GW4TU.js +21 -0
- package/cdn/chunks/chunk.RRD2NDFS.js +21 -0
- package/cdn/chunks/chunk.RYYCU6NW.js +25 -0
- package/cdn/chunks/chunk.S2ZQ2TU6.js +27 -0
- package/cdn/chunks/chunk.SG3EGE5K.js +11 -0
- package/cdn/chunks/chunk.SGKFCRH3.js +822 -0
- package/cdn/chunks/chunk.SJSLEHKT.js +11 -0
- package/cdn/chunks/chunk.SOVJPD54.js +33 -0
- package/cdn/chunks/chunk.SQCBK5PB.js +515 -0
- package/cdn/chunks/chunk.SRZ5CBYC.js +27 -0
- package/cdn/chunks/chunk.SS2T5UYK.js +335 -0
- package/cdn/chunks/chunk.SY33O64Q.js +82 -0
- package/cdn/chunks/chunk.SY3SJ6OX.js +114 -0
- package/cdn/chunks/chunk.TEKSOXTW.js +11 -0
- package/cdn/chunks/chunk.TKN24TIG.js +183 -0
- package/cdn/chunks/chunk.TLUJAGMJ.js +11 -0
- package/cdn/chunks/chunk.TNW2657J.js +153 -0
- package/cdn/chunks/chunk.TQDPXABO.js +402 -0
- package/cdn/chunks/chunk.TRWZMMGA.js +25 -0
- package/cdn/chunks/chunk.TT5RNDPZ.js +11 -0
- package/cdn/chunks/chunk.TXCH4VIV.js +219 -0
- package/cdn/chunks/chunk.TYMZXUME.js +127 -0
- package/cdn/chunks/chunk.U4EOOBO4.js +11 -0
- package/cdn/chunks/chunk.U4P4ATIU.js +50 -0
- package/cdn/chunks/chunk.UHFXUWTG.js +75 -0
- package/cdn/chunks/chunk.UIATNMZI.js +24 -0
- package/cdn/chunks/chunk.UJFFEFGS.js +42 -0
- package/cdn/chunks/chunk.UNCSFH4W.js +24 -0
- package/cdn/chunks/chunk.UUEDJ3E7.js +335 -0
- package/cdn/chunks/chunk.UX2RVWPE.js +53 -0
- package/cdn/chunks/chunk.V2OXK67L.js +142 -0
- package/cdn/chunks/chunk.V54KVTPV.js +73 -0
- package/cdn/chunks/chunk.V7SFPY3Z.js +79 -0
- package/cdn/chunks/chunk.VE66JQVL.js +77 -0
- package/cdn/chunks/chunk.VLDPRG76.js +11 -0
- package/cdn/chunks/chunk.VMME5LRD.js +26 -0
- package/cdn/chunks/chunk.VNG5QHV5.js +11 -0
- package/cdn/chunks/chunk.VUR23NJ6.js +11 -0
- package/cdn/chunks/chunk.VVHEWZYC.js +11 -0
- package/cdn/chunks/chunk.W7RB2Y4K.js +24 -0
- package/cdn/chunks/chunk.WLGA2NAL.js +11 -0
- package/cdn/chunks/chunk.WQ66PVAF.js +24 -0
- package/cdn/chunks/chunk.WS3WEIKP.js +1252 -0
- package/cdn/chunks/chunk.WZ2K5IFG.js +29 -0
- package/cdn/chunks/chunk.XGC53W6K.js +11 -0
- package/cdn/chunks/chunk.XHMBVN2I.js +26 -0
- package/cdn/chunks/chunk.XKR2STTX.js +28 -0
- package/cdn/chunks/chunk.XRKDH3VQ.js +11 -0
- package/cdn/chunks/chunk.XTYSJFSA.js +21 -0
- package/cdn/chunks/chunk.XYSYHAPG.js +11 -0
- package/cdn/chunks/chunk.YXY3IRKD.js +26 -0
- package/cdn/chunks/chunk.YZR6CKNN.js +28 -0
- package/cdn/chunks/chunk.YZSFIBR4.js +11 -0
- package/cdn/chunks/chunk.ZCZYDFLR.js +11 -0
- package/cdn/chunks/chunk.ZG6TZKX3.js +11 -0
- package/cdn/chunks/chunk.ZOL3IS34.js +95 -0
- package/cdn/chunks/chunk.ZRKO75GF.js +11 -0
- package/cdn/chunks/chunk.ZUEZWTX2.js +11 -0
- package/cdn/chunks/chunk.ZXWBXW7J.js +24 -0
- package/cdn/components/alert/alert.component.js +10 -10
- package/cdn/components/alert/alert.js +11 -11
- package/cdn/components/animated-image/animated-image.component.js +6 -6
- package/cdn/components/animated-image/animated-image.js +7 -7
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +8 -8
- package/cdn/components/avatar/avatar.js +9 -9
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
- package/cdn/components/breadcrumb/breadcrumb.js +6 -6
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/cdn/components/button/button.component.js +10 -10
- package/cdn/components/button/button.js +11 -11
- 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 +12 -12
- package/cdn/components/calendar/calendar.js +12 -12
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +8 -8
- package/cdn/components/carousel/carousel.js +9 -9
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +9 -9
- package/cdn/components/checkbox/checkbox.js +10 -10
- package/cdn/components/color-picker/color-picker.component.js +21 -21
- package/cdn/components/color-picker/color-picker.js +22 -22
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/date-panel/date-panel.component.js +16 -16
- package/cdn/components/date-panel/date-panel.js +16 -16
- package/cdn/components/datepicker/datepicker.component.js +22 -22
- package/cdn/components/datepicker/datepicker.js +22 -22
- package/cdn/components/daterange/daterange.component.js +15 -15
- package/cdn/components/daterange/daterange.js +16 -16
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +10 -10
- package/cdn/components/dialog/dialog.js +11 -11
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +11 -11
- package/cdn/components/drawer/drawer.js +12 -12
- package/cdn/components/dropdown/dropdown.component.js +7 -7
- package/cdn/components/dropdown/dropdown.js +8 -8
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon-button/icon-button.component.js +7 -7
- package/cdn/components/icon-button/icon-button.js +8 -8
- package/cdn/components/image-comparer/image-comparer.component.js +7 -7
- package/cdn/components/image-comparer/image-comparer.js +8 -8
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +10 -10
- package/cdn/components/input/input.js +11 -11
- 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 +12 -12
- package/cdn/components/menu-item/menu-item.js +13 -13
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +28 -3
- package/cdn/components/nav/nav.js +29 -4
- package/cdn/components/nav/nav.styles.js +1 -1
- package/cdn/components/nav-group/nav-group.component.js +3 -3
- package/cdn/components/nav-group/nav-group.js +4 -4
- package/cdn/components/nav-group/nav-group.styles.js +1 -1
- package/cdn/components/nav-item/nav-item.component.js +3 -3
- package/cdn/components/nav-item/nav-item.js +4 -4
- package/cdn/components/nav-item/nav-item.styles.js +1 -1
- package/cdn/components/nav-submenu/nav-submenu.component.js +10 -10
- package/cdn/components/nav-submenu/nav-submenu.js +11 -11
- package/cdn/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/cdn/components/option/option.component.js +7 -7
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/pagination/custom-select.js +17 -17
- package/cdn/components/pagination/pagination.component.js +18 -18
- package/cdn/components/pagination/pagination.js +18 -18
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- package/cdn/components/progress-bar/progress-bar.component.js +5 -5
- package/cdn/components/progress-bar/progress-bar.js +6 -6
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +3 -3
- package/cdn/components/qr-code/qr-code.js +4 -4
- package/cdn/components/radio/radio.component.js +8 -8
- package/cdn/components/radio/radio.js +9 -9
- package/cdn/components/radio/radio.styles.js +1 -1
- package/cdn/components/radio-button/radio-button.component.js +3 -3
- package/cdn/components/radio-button/radio-button.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +5 -5
- package/cdn/components/radio-group/radio-group.js +6 -6
- package/cdn/components/range/range.component.js +7 -7
- package/cdn/components/range/range.js +8 -8
- package/cdn/components/rating/rating.component.js +8 -8
- package/cdn/components/rating/rating.js +9 -9
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +12 -12
- package/cdn/components/select/select.js +13 -13
- 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 +5 -5
- package/cdn/components/switch/switch.js +6 -6
- package/cdn/components/tab/tab.component.js +9 -9
- package/cdn/components/tab/tab.js +10 -10
- package/cdn/components/tab-group/tab-group.component.js +10 -10
- package/cdn/components/tab-group/tab-group.js +11 -11
- package/cdn/components/tab-panel/tab-panel.component.js +3 -3
- package/cdn/components/tab-panel/tab-panel.js +4 -4
- package/cdn/components/table/body-table.js +5 -5
- package/cdn/components/table/col-group.js +2 -2
- package/cdn/components/table/head-table.js +31 -31
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +39 -39
- package/cdn/components/table/table.js +41 -41
- package/cdn/components/tag/tag.component.js +9 -9
- package/cdn/components/tag/tag.js +10 -10
- package/cdn/components/textarea/textarea.component.js +5 -5
- package/cdn/components/textarea/textarea.js +6 -6
- package/cdn/components/time-panel/time-panel.component.js +11 -11
- package/cdn/components/time-panel/time-panel.js +11 -11
- package/cdn/components/timepicker/timepicker.component.js +22 -22
- package/cdn/components/timepicker/timepicker.js +22 -22
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +14 -14
- package/cdn/components/tree/tree.js +15 -15
- package/cdn/components/tree-item/tree-item.component.js +13 -13
- package/cdn/components/tree-item/tree-item.js +14 -14
- 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 +5945 -5026
- package/cdn/react/alert/index.js +11 -11
- package/cdn/react/animated-image/index.js +7 -7
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +9 -9
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +6 -6
- package/cdn/react/breadcrumb-item/index.js +4 -4
- package/cdn/react/button/index.js +11 -11
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +9 -9
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +10 -10
- package/cdn/react/color-picker/index.js +22 -22
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/date-panel/index.js +17 -17
- package/cdn/react/datepicker/index.js +23 -23
- package/cdn/react/daterange/index.js +16 -16
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +11 -11
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +12 -12
- package/cdn/react/dropdown/index.js +8 -8
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/icon-button/index.js +8 -8
- package/cdn/react/image-comparer/index.js +8 -8
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +229 -229
- package/cdn/react/input/index.js +11 -11
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +13 -13
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +29 -4
- package/cdn/react/nav-group/index.js +4 -4
- package/cdn/react/nav-item/index.js +4 -4
- package/cdn/react/nav-submenu/index.js +11 -11
- package/cdn/react/option/index.js +8 -8
- package/cdn/react/pagination/index.js +19 -19
- package/cdn/react/popup/index.js +5 -5
- package/cdn/react/progress-bar/index.js +6 -6
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +4 -4
- package/cdn/react/radio/index.js +9 -9
- package/cdn/react/radio-button/index.js +4 -4
- package/cdn/react/radio-group/index.js +6 -6
- package/cdn/react/range/index.js +8 -8
- package/cdn/react/rating/index.js +9 -9
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +13 -13
- 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 +6 -6
- package/cdn/react/tab/index.js +10 -10
- package/cdn/react/tab-group/index.js +11 -11
- package/cdn/react/tab-panel/index.js +4 -4
- package/cdn/react/table/index.js +40 -40
- package/cdn/react/tag/index.js +10 -10
- package/cdn/react/textarea/index.js +6 -6
- package/cdn/react/timepicker/index.js +23 -23
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +15 -15
- package/cdn/react/tree-item/index.js +14 -14
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +242 -242
- package/cdn/themes/nova.css +10 -10
- package/cdn/themes/nova.styles.js +10 -10
- package/cdn/types/vue/index.d.ts +460 -384
- package/cdn/vscode.html-custom-data.json +364 -288
- package/cdn/web-types.json +977 -710
- package/dist/chunks/chunk.23I3SJYT.js +147 -0
- package/dist/chunks/chunk.24Y4LQTS.js +11 -0
- package/dist/chunks/chunk.2646TELP.js +214 -0
- package/dist/chunks/chunk.265DAURG.js +119 -0
- package/dist/chunks/chunk.2FTEVU3J.js +27 -0
- package/dist/chunks/chunk.2OEQ2LSW.js +21 -0
- package/dist/chunks/chunk.2SPV7LKE.js +151 -0
- package/dist/chunks/chunk.2VEN4423.js +11 -0
- package/dist/chunks/chunk.33ESIVHG.js +29 -0
- package/dist/chunks/chunk.36XJMLZJ.js +11 -0
- package/dist/chunks/chunk.3GYAJ2NR.js +21 -0
- package/dist/chunks/chunk.3KOYO5SI.js +11 -0
- package/dist/chunks/chunk.3MH7KU3X.js +26 -0
- package/dist/chunks/chunk.3OZVPDJY.js +33 -0
- package/dist/chunks/chunk.3UORWZHD.js +286 -0
- package/dist/chunks/chunk.456EQ7YD.js +11 -0
- package/dist/chunks/chunk.46V6XG4L.js +337 -0
- package/dist/chunks/chunk.4CBAPSBN.js +29 -0
- package/dist/chunks/chunk.4FWKHFOF.js +126 -0
- package/dist/chunks/chunk.4J3AGNTT.js +22 -0
- package/dist/chunks/chunk.5DWMVB4O.js +180 -0
- package/dist/chunks/chunk.5FCKPC32.js +25 -0
- package/dist/chunks/chunk.5ZHHMKSY.js +11 -0
- package/dist/chunks/chunk.6BGZYMRP.js +274 -0
- package/dist/chunks/chunk.6CZTF7S6.js +280 -0
- package/dist/chunks/chunk.6DMTKV5H.js +820 -0
- package/dist/chunks/chunk.6JOEXGDZ.js +11 -0
- package/dist/chunks/chunk.6LKMLMZC.js +21 -0
- package/dist/chunks/chunk.6T3B2JC6.js +213 -0
- package/dist/chunks/chunk.6UYCUZP3.js +25 -0
- package/dist/chunks/chunk.6XQD2T4T.js +11 -0
- package/dist/chunks/chunk.75USA5KG.js +329 -0
- package/dist/chunks/chunk.76TM7MSM.js +27 -0
- package/dist/chunks/chunk.7BRYP2OD.js +1250 -0
- package/dist/chunks/chunk.7F7KNE4N.js +28 -0
- package/dist/chunks/chunk.7O7HHFJL.js +63 -0
- package/dist/chunks/chunk.7OTWENCM.js +189 -0
- package/dist/chunks/chunk.7RCHEI4F.js +315 -0
- package/dist/chunks/chunk.7TWYBBUC.js +24 -0
- package/dist/chunks/chunk.7VQFL6D2.js +11 -0
- package/dist/chunks/chunk.A5HH7UEW.js +28 -0
- package/dist/chunks/chunk.A7G5ROLN.js +21 -0
- package/dist/chunks/chunk.ABGL3CHV.js +167 -0
- package/dist/chunks/chunk.AFKKZTRN.js +293 -0
- package/dist/chunks/chunk.AHSK5FGW.js +11 -0
- package/dist/chunks/chunk.AWL5Y4C7.js +11 -0
- package/dist/chunks/chunk.B4FPH3I4.js +126 -0
- package/dist/chunks/chunk.B5REC6O3.js +11 -0
- package/dist/chunks/chunk.B6GLUTUE.js +21 -0
- package/dist/chunks/chunk.BCUNBHQP.js +85 -0
- package/dist/chunks/chunk.BDDMBJWR.js +27 -0
- package/dist/chunks/chunk.BDO4JUTY.js +93 -0
- package/dist/chunks/chunk.BK4GAHAX.js +11 -0
- package/dist/chunks/chunk.BLWKJPE4.js +11 -0
- package/dist/chunks/chunk.BN6MMEJI.js +11 -0
- package/dist/chunks/chunk.BPAB2JYN.js +117 -0
- package/dist/chunks/chunk.BPVPEL4F.js +77 -0
- package/dist/chunks/chunk.BZUKYCFC.js +550 -0
- package/dist/chunks/chunk.CACPNWK7.js +113 -0
- package/dist/chunks/chunk.CHA7L5TM.js +11 -0
- package/dist/chunks/chunk.CLCQYLVY.js +24 -0
- package/dist/chunks/chunk.CNBNZBAZ.js +21 -0
- package/dist/chunks/chunk.CSNUINAQ.js +21 -0
- package/dist/chunks/chunk.CUYR4YVK.js +11 -0
- package/dist/chunks/chunk.CVXCDCPO.js +67 -0
- package/dist/chunks/chunk.DCNXT2R4.js +24 -0
- package/dist/chunks/chunk.DDK6O254.js +11 -0
- package/dist/chunks/chunk.DJYNRNI3.js +11 -0
- package/dist/chunks/chunk.DL6MIAJT.js +1123 -0
- package/dist/chunks/chunk.DPHXSAKI.js +59 -0
- package/dist/chunks/chunk.DRNT4UZO.js +227 -0
- package/dist/chunks/chunk.DV3VJNQR.js +181 -0
- package/dist/chunks/chunk.DWCSTX5Q.js +21 -0
- package/dist/chunks/chunk.E5ZFNCWX.js +21 -0
- package/dist/chunks/chunk.EAMMFCGZ.js +24 -0
- package/dist/chunks/chunk.EBG4EAFM.js +11 -0
- package/dist/chunks/chunk.EESLQ2BS.js +21 -0
- package/dist/chunks/chunk.EJNVVXID.js +294 -0
- package/dist/chunks/chunk.EMCUJL3C.js +11 -0
- package/dist/chunks/chunk.EVD3ASSZ.js +11 -0
- package/dist/chunks/chunk.EX2WPOBT.js +120 -0
- package/dist/chunks/chunk.F2TDXLWD.js +26 -0
- package/dist/chunks/chunk.F33RQDHH.js +21 -0
- package/dist/chunks/chunk.F524UPIJ.js +11 -0
- package/dist/chunks/chunk.FBI2A7HU.js +21 -0
- package/dist/chunks/chunk.FJL5ESXC.js +21 -0
- package/dist/chunks/chunk.FKM5DZ7H.js +22 -0
- package/dist/chunks/chunk.FO5H5O2H.js +311 -0
- package/dist/chunks/chunk.FOPZDGIK.js +429 -0
- package/dist/chunks/chunk.FW6SVYLE.js +24 -0
- package/dist/chunks/chunk.FZXLUCFD.js +11 -0
- package/dist/chunks/chunk.GDS5WC2K.js +28 -0
- package/dist/chunks/chunk.GPEKAYON.js +50 -0
- package/dist/chunks/chunk.GPMMNLX7.js +506 -0
- package/dist/chunks/chunk.H2GHJ3K4.js +230 -0
- package/dist/chunks/chunk.H3I4R7FN.js +11 -0
- package/dist/chunks/chunk.HDUK6LJG.js +96 -0
- package/dist/chunks/chunk.HI7ZR2K2.js +11 -0
- package/dist/chunks/chunk.HOWHVBYB.js +100 -0
- package/dist/chunks/chunk.HTU6ONLX.js +42 -0
- package/dist/chunks/chunk.HV5VZXUV.js +11 -0
- package/dist/chunks/chunk.I2SE3UHJ.js +25 -0
- package/dist/chunks/chunk.IANQSR6M.js +27 -0
- package/dist/chunks/chunk.IGFKEEEP.js +11 -0
- package/dist/chunks/chunk.IOYCQ2YV.js +21 -0
- package/dist/chunks/chunk.IRGDAI2A.js +25 -0
- package/dist/chunks/chunk.ITHMEJYM.js +21 -0
- package/dist/chunks/chunk.J37XWMBW.js +397 -0
- package/dist/chunks/chunk.J6T72CUA.js +24 -0
- package/dist/chunks/chunk.J7KY32PD.js +27 -0
- package/dist/chunks/chunk.JCQMQ4RG.js +116 -0
- package/dist/chunks/chunk.JPSFFTYO.js +21 -0
- package/dist/chunks/chunk.JXRRICEX.js +11 -0
- package/dist/chunks/chunk.K2KH4NBQ.js +11 -0
- package/dist/chunks/chunk.K2VBKWAO.js +111 -0
- package/dist/chunks/chunk.K32KAUT5.js +25 -0
- package/dist/chunks/chunk.KAVASH36.js +11 -0
- package/dist/chunks/chunk.KD5CZ6MY.js +21 -0
- package/dist/chunks/chunk.KJ7UBXCL.js +11 -0
- package/dist/chunks/chunk.KJZXBFVH.js +21 -0
- package/dist/chunks/chunk.L2UWHTF3.js +34 -0
- package/dist/chunks/chunk.LABIIXWB.js +11 -0
- package/dist/chunks/chunk.LM6FQJOW.js +384 -0
- package/dist/chunks/chunk.LMEYQQXA.js +11 -0
- package/dist/chunks/chunk.LNDSCX43.js +306 -0
- package/dist/chunks/chunk.LZ3YPNYL.js +11 -0
- package/dist/chunks/chunk.M5W2X6EI.js +11 -0
- package/dist/chunks/chunk.MJUGRPNY.js +56 -0
- package/dist/chunks/chunk.MNGF4CJK.js +135 -0
- package/dist/chunks/chunk.MOPG3YEO.js +26 -0
- package/dist/chunks/chunk.MSFDAYOW.js +11 -0
- package/dist/chunks/chunk.MYCTXERW.js +11 -0
- package/dist/chunks/chunk.NW7OM5OL.js +134 -0
- package/dist/chunks/chunk.NWC2UFNG.js +11 -0
- package/dist/chunks/chunk.NYAGV45Y.js +949 -0
- package/dist/chunks/chunk.O62V45RY.js +448 -0
- package/dist/chunks/chunk.O6Y6RFR4.js +331 -0
- package/dist/chunks/chunk.O7ZGNRDU.js +21 -0
- package/dist/chunks/chunk.O7ZQAN36.js +11 -0
- package/dist/chunks/chunk.ORKNQ4OH.js +24 -0
- package/dist/chunks/chunk.PHRLLUGB.js +11 -0
- package/dist/chunks/chunk.PJXKSIQ7.js +11 -0
- package/dist/chunks/chunk.PLY4KNJ7.js +356 -0
- package/dist/chunks/chunk.PNPTCGJV.js +231 -0
- package/dist/chunks/chunk.PQYJ5NAP.js +21 -0
- package/dist/chunks/chunk.PY3QVQD2.js +24 -0
- package/dist/chunks/chunk.PZLW7FZR.js +27 -0
- package/dist/chunks/chunk.Q6JY7IZK.js +11 -0
- package/dist/chunks/chunk.Q6WKLHIQ.js +28 -0
- package/dist/chunks/chunk.Q745D7M4.js +50 -0
- package/dist/chunks/chunk.QE7QXUMZ.js +90 -0
- package/dist/chunks/chunk.QELACV2N.js +11 -0
- package/dist/chunks/chunk.QMG5ULEK.js +21 -0
- package/dist/chunks/chunk.QNFIO45Y.js +45 -0
- package/dist/chunks/chunk.QYDJ3HO2.js +24 -0
- package/dist/chunks/chunk.RA4TKRCK.js +45 -0
- package/dist/chunks/chunk.REXJMXCQ.js +52 -0
- package/dist/chunks/chunk.RKXPL4A4.js +11 -0
- package/dist/chunks/chunk.S3PEX4EJ.js +577 -0
- package/dist/chunks/chunk.SCDTFHRK.js +25 -0
- package/dist/chunks/chunk.SFOPN4MQ.js +24 -0
- package/dist/chunks/chunk.SH3I5C2O.js +25 -0
- package/dist/chunks/chunk.SL5HTOW6.js +21 -0
- package/dist/chunks/chunk.SOYPNNST.js +361 -0
- package/dist/chunks/chunk.STDK27PL.js +11 -0
- package/dist/chunks/chunk.SWWUB654.js +11 -0
- package/dist/chunks/chunk.SX6XXXUE.js +11 -0
- package/dist/chunks/chunk.T5EKSEN6.js +24 -0
- package/dist/chunks/chunk.T7YO7GGF.js +11 -0
- package/dist/chunks/chunk.TAJYZ6S5.js +417 -0
- package/dist/chunks/chunk.TRU5QN22.js +11 -0
- package/dist/chunks/chunk.TSSHMM4F.js +28 -0
- package/dist/chunks/chunk.U3P4TH4D.js +29 -0
- package/dist/chunks/chunk.U6CKXJOB.js +11 -0
- package/dist/chunks/chunk.U73ZEGP2.js +100 -0
- package/dist/chunks/chunk.UBP2SA23.js +21 -0
- package/dist/chunks/chunk.UCNBJRW2.js +21 -0
- package/dist/chunks/chunk.UUAJXS3Y.js +11 -0
- package/dist/chunks/chunk.UV2BAW22.js +29 -0
- package/dist/chunks/chunk.UZLYRPPM.js +11 -0
- package/dist/chunks/chunk.V6LMG3CR.js +21 -0
- package/dist/chunks/chunk.VIN6MJ6C.js +502 -0
- package/dist/chunks/chunk.VKIXMDXG.js +26 -0
- package/dist/chunks/chunk.VLSS626Z.js +75 -0
- package/dist/chunks/chunk.VNQTE6IV.js +25 -0
- package/dist/chunks/chunk.VVHNCST5.js +11 -0
- package/dist/chunks/chunk.VWNJAUAL.js +11 -0
- package/dist/chunks/chunk.VXAMVCRI.js +11 -0
- package/dist/chunks/chunk.W5QCQZHC.js +11 -0
- package/dist/chunks/chunk.W7KZSB4U.js +80 -0
- package/dist/chunks/chunk.WBGEGLPV.js +192 -0
- package/dist/chunks/chunk.WE47W2Z4.js +25 -0
- package/dist/chunks/chunk.WPU7WUBR.js +21 -0
- package/dist/chunks/chunk.WQAZW7EG.js +75 -0
- package/dist/chunks/chunk.WVDL64EE.js +166 -0
- package/dist/chunks/chunk.WWOCZQH6.js +11 -0
- package/dist/chunks/chunk.X5EI2WBR.js +371 -0
- package/dist/chunks/chunk.X5GXIVF7.js +247 -0
- package/dist/chunks/chunk.XANWGDSU.js +24 -0
- package/dist/chunks/chunk.XCAWOP77.js +263 -0
- package/dist/chunks/chunk.XE2HO5EU.js +25 -0
- package/dist/chunks/chunk.YCYUYLH5.js +11 -0
- package/dist/chunks/chunk.YI44QRLJ.js +109 -0
- package/dist/chunks/chunk.YOIUB7OW.js +11 -0
- package/dist/chunks/chunk.YROOWVWB.js +11 -0
- package/dist/chunks/chunk.YWVNJENU.js +11 -0
- package/dist/chunks/chunk.Z7D5ZRQH.js +28 -0
- package/dist/chunks/chunk.ZDEXI6BI.js +24 -0
- package/dist/chunks/chunk.ZEKPIXTI.js +743 -0
- package/dist/chunks/chunk.ZHS3NU6J.js +11 -0
- package/dist/chunks/chunk.ZLFGIVH7.js +550 -0
- package/dist/chunks/chunk.ZOMMZL2X.js +814 -0
- package/dist/chunks/chunk.ZPKNQRZK.js +73 -0
- package/dist/chunks/chunk.ZSHNX2XS.js +11 -0
- package/dist/chunks/chunk.ZULRYUVP.js +91 -0
- package/dist/chunks/chunk.ZYN6ZEMI.js +11 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +8 -8
- package/dist/components/calendar/calendar.js +8 -8
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +16 -16
- package/dist/components/color-picker/color-picker.js +17 -17
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/date-panel/date-panel.component.js +12 -12
- package/dist/components/date-panel/date-panel.js +12 -12
- package/dist/components/datepicker/datepicker.component.js +17 -17
- package/dist/components/datepicker/datepicker.js +17 -17
- package/dist/components/daterange/daterange.component.js +10 -10
- package/dist/components/daterange/daterange.js +11 -11
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon-button/icon-button.component.js +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/image-comparer/image-comparer.component.js +4 -4
- package/dist/components/image-comparer/image-comparer.js +5 -5
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +8 -8
- package/dist/components/menu-item/menu-item.js +9 -9
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +26 -3
- package/dist/components/nav/nav.js +27 -4
- package/dist/components/nav/nav.styles.js +1 -1
- package/dist/components/nav-group/nav-group.component.js +3 -3
- package/dist/components/nav-group/nav-group.js +4 -4
- package/dist/components/nav-group/nav-group.styles.js +1 -1
- package/dist/components/nav-item/nav-item.component.js +3 -3
- package/dist/components/nav-item/nav-item.js +4 -4
- package/dist/components/nav-item/nav-item.styles.js +1 -1
- package/dist/components/nav-submenu/nav-submenu.component.js +7 -7
- package/dist/components/nav-submenu/nav-submenu.js +8 -8
- package/dist/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/custom-select.js +12 -12
- package/dist/components/pagination/pagination.component.js +13 -13
- package/dist/components/pagination/pagination.js +13 -13
- 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 +5 -5
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +4 -4
- package/dist/components/rating/rating.js +5 -5
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/select/select.component.js +8 -8
- package/dist/components/select/select.js +9 -9
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +5 -5
- package/dist/components/tab/tab.js +6 -6
- package/dist/components/tab-group/tab-group.component.js +6 -6
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/head-table.js +24 -24
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +32 -32
- package/dist/components/table/table.js +34 -34
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +7 -7
- package/dist/components/time-panel/time-panel.js +7 -7
- package/dist/components/timepicker/timepicker.component.js +17 -17
- package/dist/components/timepicker/timepicker.js +17 -17
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +8 -8
- package/dist/components/tree-item/tree-item.js +9 -9
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +5945 -5026
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +5 -5
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +17 -17
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/date-panel/index.js +13 -13
- package/dist/react/datepicker/index.js +18 -18
- package/dist/react/daterange/index.js +11 -11
- package/dist/react/details/index.js +5 -5
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +8 -8
- package/dist/react/dropdown/index.js +5 -5
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +4 -4
- package/dist/react/icon-button/index.js +5 -5
- package/dist/react/image-comparer/index.js +5 -5
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +221 -221
- package/dist/react/input/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +9 -9
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +27 -4
- package/dist/react/nav-group/index.js +4 -4
- package/dist/react/nav-item/index.js +4 -4
- package/dist/react/nav-submenu/index.js +8 -8
- package/dist/react/option/index.js +5 -5
- package/dist/react/pagination/index.js +14 -14
- 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 +6 -6
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +5 -5
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +5 -5
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +9 -9
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +6 -6
- package/dist/react/tab-group/index.js +7 -7
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +33 -33
- package/dist/react/tag/index.js +6 -6
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +18 -18
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +9 -9
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +234 -234
- package/dist/themes/nova.css +10 -10
- package/dist/themes/nova.styles.js +10 -10
- package/dist/types/vue/index.d.ts +460 -384
- package/dist/vscode.html-custom-data.json +364 -288
- package/dist/web-types.json +977 -710
- package/package.json +2 -2
- package/cdn/chunks/chunk.2BPXZKFR.js +0 -21
- package/cdn/chunks/chunk.2FXG3EAP.js +0 -197
- package/cdn/chunks/chunk.2IRZOABF.js +0 -586
- package/cdn/chunks/chunk.2L6Y6ARM.js +0 -73
- package/cdn/chunks/chunk.2MFPNBJV.js +0 -11
- package/cdn/chunks/chunk.2QRSZ6MY.js +0 -153
- package/cdn/chunks/chunk.33CEUF35.js +0 -11
- package/cdn/chunks/chunk.37EERA2Q.js +0 -21
- package/cdn/chunks/chunk.37IV5SCC.js +0 -27
- package/cdn/chunks/chunk.3BADH273.js +0 -24
- package/cdn/chunks/chunk.3DZEALJY.js +0 -11
- package/cdn/chunks/chunk.3I5KK6BI.js +0 -29
- package/cdn/chunks/chunk.3PKF2JEF.js +0 -27
- package/cdn/chunks/chunk.3U7O3FLX.js +0 -24
- package/cdn/chunks/chunk.3UBQKXGY.js +0 -11
- package/cdn/chunks/chunk.3XFPVYL4.js +0 -347
- package/cdn/chunks/chunk.46HJN3E5.js +0 -1129
- package/cdn/chunks/chunk.4D3OPRLT.js +0 -11
- package/cdn/chunks/chunk.4HBPXTRW.js +0 -24
- package/cdn/chunks/chunk.4NTVP5JC.js +0 -24
- package/cdn/chunks/chunk.4PFOTRJ5.js +0 -21
- package/cdn/chunks/chunk.4SO42WHF.js +0 -21
- package/cdn/chunks/chunk.5CPNGJA2.js +0 -21
- package/cdn/chunks/chunk.5CQ6G3JY.js +0 -11
- package/cdn/chunks/chunk.5GGG6IFV.js +0 -25
- package/cdn/chunks/chunk.5JUQUJC4.js +0 -27
- package/cdn/chunks/chunk.5MJOO2YG.js +0 -21
- package/cdn/chunks/chunk.5MJTKICV.js +0 -67
- package/cdn/chunks/chunk.5NX3P4CN.js +0 -279
- package/cdn/chunks/chunk.5SS3BVEY.js +0 -302
- package/cdn/chunks/chunk.643MR33C.js +0 -331
- package/cdn/chunks/chunk.6454ET77.js +0 -5845
- package/cdn/chunks/chunk.652UAD2J.js +0 -28
- package/cdn/chunks/chunk.6C5GTZSC.js +0 -11
- package/cdn/chunks/chunk.6DFKTKOR.js +0 -24
- package/cdn/chunks/chunk.6OJFF34N.js +0 -724
- package/cdn/chunks/chunk.7HGPZWK6.js +0 -25
- package/cdn/chunks/chunk.7IDMPBTC.js +0 -271
- package/cdn/chunks/chunk.7JKFDVD2.js +0 -216
- package/cdn/chunks/chunk.7PFLYVPW.js +0 -233
- package/cdn/chunks/chunk.7WW76PDE.js +0 -11
- package/cdn/chunks/chunk.A6K3DM6N.js +0 -21
- package/cdn/chunks/chunk.AI7GFJGF.js +0 -21
- package/cdn/chunks/chunk.AJBZ7TKL.js +0 -25
- package/cdn/chunks/chunk.ANP6BDQZ.js +0 -11
- package/cdn/chunks/chunk.AOB2UCOG.js +0 -69
- package/cdn/chunks/chunk.AS3FWPEN.js +0 -367
- package/cdn/chunks/chunk.AWW2HF73.js +0 -11
- package/cdn/chunks/chunk.B335WRT7.js +0 -11
- package/cdn/chunks/chunk.B7ZNXEJB.js +0 -11
- package/cdn/chunks/chunk.BF5VBDIZ.js +0 -97
- package/cdn/chunks/chunk.BFHHQTMF.js +0 -21
- package/cdn/chunks/chunk.BLU6UMY3.js +0 -58
- package/cdn/chunks/chunk.BMCPQXYZ.js +0 -24
- package/cdn/chunks/chunk.BVZQKQZF.js +0 -335
- package/cdn/chunks/chunk.BYYTZZD7.js +0 -276
- package/cdn/chunks/chunk.C4VACMON.js +0 -21
- package/cdn/chunks/chunk.CBPJU4VR.js +0 -11
- package/cdn/chunks/chunk.CC4JUPWM.js +0 -11
- package/cdn/chunks/chunk.CD72P5YC.js +0 -11
- package/cdn/chunks/chunk.CDJSY4O2.js +0 -63
- package/cdn/chunks/chunk.CEHJYNIE.js +0 -28
- package/cdn/chunks/chunk.CL3YWTX7.js +0 -24
- package/cdn/chunks/chunk.CSUC7R4W.js +0 -21
- package/cdn/chunks/chunk.D4BFRESD.js +0 -27
- package/cdn/chunks/chunk.D6R34BKB.js +0 -25
- package/cdn/chunks/chunk.D7BS2A2Q.js +0 -126
- package/cdn/chunks/chunk.DBLO7STV.js +0 -142
- package/cdn/chunks/chunk.DI3K6ALV.js +0 -510
- package/cdn/chunks/chunk.DKPQTNP4.js +0 -11
- package/cdn/chunks/chunk.DLR7LJXA.js +0 -11
- package/cdn/chunks/chunk.DTEGNGWP.js +0 -42
- package/cdn/chunks/chunk.EHNLU2YW.js +0 -21
- package/cdn/chunks/chunk.EJDG5Q5F.js +0 -583
- package/cdn/chunks/chunk.EQIRV7AJ.js +0 -25
- package/cdn/chunks/chunk.ETYEQHZM.js +0 -11
- package/cdn/chunks/chunk.EU6LITSI.js +0 -11
- package/cdn/chunks/chunk.EWF4COYF.js +0 -11
- package/cdn/chunks/chunk.EZ52QEGI.js +0 -158
- package/cdn/chunks/chunk.F25VG75X.js +0 -24
- package/cdn/chunks/chunk.F55SW2TT.js +0 -219
- package/cdn/chunks/chunk.F5HHB3KL.js +0 -11
- package/cdn/chunks/chunk.FA5EF5AD.js +0 -379
- package/cdn/chunks/chunk.FFNOT4JM.js +0 -21
- package/cdn/chunks/chunk.FHNFUEHR.js +0 -11
- package/cdn/chunks/chunk.FISARRHP.js +0 -87
- package/cdn/chunks/chunk.FJDL5LQN.js +0 -24
- package/cdn/chunks/chunk.FLZP6SRK.js +0 -54
- package/cdn/chunks/chunk.GC544BXI.js +0 -25
- package/cdn/chunks/chunk.GELVSLPX.js +0 -186
- package/cdn/chunks/chunk.GGFT2LOE.js +0 -11
- package/cdn/chunks/chunk.GIM5A6FP.js +0 -28
- package/cdn/chunks/chunk.H4SFQVGE.js +0 -11
- package/cdn/chunks/chunk.H5LT47UW.js +0 -11
- package/cdn/chunks/chunk.HD57TKKU.js +0 -11
- package/cdn/chunks/chunk.HG63EFZO.js +0 -11
- package/cdn/chunks/chunk.HKSQY3LX.js +0 -515
- package/cdn/chunks/chunk.HSQOQEPV.js +0 -11
- package/cdn/chunks/chunk.HU3JRAYJ.js +0 -33
- package/cdn/chunks/chunk.I3ZYJEKX.js +0 -313
- package/cdn/chunks/chunk.ICWAP5FR.js +0 -11
- package/cdn/chunks/chunk.IDJRBAOL.js +0 -79
- package/cdn/chunks/chunk.INDU56K5.js +0 -183
- package/cdn/chunks/chunk.IPO36P4O.js +0 -140
- package/cdn/chunks/chunk.IWQOHXSV.js +0 -29
- package/cdn/chunks/chunk.IYWJMSY4.js +0 -11
- package/cdn/chunks/chunk.IZUIJHWB.js +0 -11
- package/cdn/chunks/chunk.J4PYHLNH.js +0 -11
- package/cdn/chunks/chunk.JEVAUQFK.js +0 -402
- package/cdn/chunks/chunk.JOLLAVOE.js +0 -21
- package/cdn/chunks/chunk.JS5A2RFO.js +0 -120
- package/cdn/chunks/chunk.KC6NFYOP.js +0 -11
- package/cdn/chunks/chunk.KK3ONG77.js +0 -131
- package/cdn/chunks/chunk.KLZSC6ZW.js +0 -25
- package/cdn/chunks/chunk.KPIHEHGN.js +0 -11
- package/cdn/chunks/chunk.KTJ3ELQP.js +0 -21
- package/cdn/chunks/chunk.KYMA45K7.js +0 -11
- package/cdn/chunks/chunk.KYTRITCG.js +0 -28
- package/cdn/chunks/chunk.L2IR3J73.js +0 -28
- package/cdn/chunks/chunk.L3FAVYHQ.js +0 -11
- package/cdn/chunks/chunk.LDRIQXZX.js +0 -11
- package/cdn/chunks/chunk.LG777Q4F.js +0 -21
- package/cdn/chunks/chunk.LLMHPAYD.js +0 -11
- package/cdn/chunks/chunk.LNQ6VZ7W.js +0 -11
- package/cdn/chunks/chunk.LNTQ5KHS.js +0 -118
- package/cdn/chunks/chunk.LP2W2YOH.js +0 -11
- package/cdn/chunks/chunk.LPKIY5GD.js +0 -11
- package/cdn/chunks/chunk.LW2JNMTK.js +0 -11
- package/cdn/chunks/chunk.M5JXGHEW.js +0 -391
- package/cdn/chunks/chunk.MF5YDDQO.js +0 -21
- package/cdn/chunks/chunk.MF75EENW.js +0 -11
- package/cdn/chunks/chunk.N6OPLCL4.js +0 -26
- package/cdn/chunks/chunk.NFYSCLWQ.js +0 -21
- package/cdn/chunks/chunk.NOBVVP43.js +0 -21
- package/cdn/chunks/chunk.NPCCFKFK.js +0 -24
- package/cdn/chunks/chunk.NSXJEKNN.js +0 -11
- package/cdn/chunks/chunk.NXPUJLXY.js +0 -25
- package/cdn/chunks/chunk.NXZQEYP5.js +0 -11
- package/cdn/chunks/chunk.NY5RYCLW.js +0 -24
- package/cdn/chunks/chunk.O6J3ZJWK.js +0 -11
- package/cdn/chunks/chunk.O7FRQ25P.js +0 -11
- package/cdn/chunks/chunk.OCPXM5JK.js +0 -11
- package/cdn/chunks/chunk.OERRPUOB.js +0 -314
- package/cdn/chunks/chunk.OJXP3KEW.js +0 -81
- package/cdn/chunks/chunk.ONWIAYRA.js +0 -21
- package/cdn/chunks/chunk.OPS4PBMS.js +0 -50
- package/cdn/chunks/chunk.OVC62P57.js +0 -113
- package/cdn/chunks/chunk.PIPULHF7.js +0 -93
- package/cdn/chunks/chunk.POIB4YHI.js +0 -27
- package/cdn/chunks/chunk.PYO3KOTH.js +0 -77
- package/cdn/chunks/chunk.Q43MSCM3.js +0 -153
- package/cdn/chunks/chunk.QFMWCJAF.js +0 -26
- package/cdn/chunks/chunk.QIG4IL7L.js +0 -11
- package/cdn/chunks/chunk.QL3W75XF.js +0 -11
- package/cdn/chunks/chunk.QLWUOPOO.js +0 -25
- package/cdn/chunks/chunk.QMSLEV74.js +0 -292
- package/cdn/chunks/chunk.QZLVXZL6.js +0 -103
- package/cdn/chunks/chunk.R3FWJCTR.js +0 -49
- package/cdn/chunks/chunk.RCVVCETX.js +0 -28
- package/cdn/chunks/chunk.RN6KFLIS.js +0 -24
- package/cdn/chunks/chunk.RRTYT6CQ.js +0 -291
- package/cdn/chunks/chunk.RZ4ELCNI.js +0 -21
- package/cdn/chunks/chunk.RZSYK4NV.js +0 -24
- package/cdn/chunks/chunk.S7EJ44YA.js +0 -255
- package/cdn/chunks/chunk.SDJGA5RE.js +0 -21
- package/cdn/chunks/chunk.SJKJA7FR.js +0 -299
- package/cdn/chunks/chunk.SJLUKVCH.js +0 -11
- package/cdn/chunks/chunk.SPZ5QLLQ.js +0 -11
- package/cdn/chunks/chunk.SST3E62S.js +0 -455
- package/cdn/chunks/chunk.STMH7LLV.js +0 -11
- package/cdn/chunks/chunk.SX6IFB3F.js +0 -114
- package/cdn/chunks/chunk.SXHFICLH.js +0 -11
- package/cdn/chunks/chunk.T2E34OXU.js +0 -1925
- package/cdn/chunks/chunk.TJM6HDIX.js +0 -135
- package/cdn/chunks/chunk.TLN5LK3Z.js +0 -822
- package/cdn/chunks/chunk.TQ6HW62R.js +0 -95
- package/cdn/chunks/chunk.TS2I57P3.js +0 -21
- package/cdn/chunks/chunk.U2DWOAKV.js +0 -11
- package/cdn/chunks/chunk.U7V3H5MG.js +0 -11
- package/cdn/chunks/chunk.UD6BZHIU.js +0 -137
- package/cdn/chunks/chunk.UJGMQD4L.js +0 -236
- package/cdn/chunks/chunk.UM4RTEEY.js +0 -246
- package/cdn/chunks/chunk.V5JTXCSZ.js +0 -11
- package/cdn/chunks/chunk.VL2GSR5S.js +0 -21
- package/cdn/chunks/chunk.VLX4AZYA.js +0 -75
- package/cdn/chunks/chunk.VPPFJL2B.js +0 -29
- package/cdn/chunks/chunk.VTDEUVOM.js +0 -82
- package/cdn/chunks/chunk.VVNA565X.js +0 -122
- package/cdn/chunks/chunk.VVYMR3RE.js +0 -11
- package/cdn/chunks/chunk.VXDE2SI2.js +0 -11
- package/cdn/chunks/chunk.VYERSRZ6.js +0 -29
- package/cdn/chunks/chunk.VZNFVEDA.js +0 -36
- package/cdn/chunks/chunk.WAAT2Q6O.js +0 -11
- package/cdn/chunks/chunk.WAVWGPZQ.js +0 -11
- package/cdn/chunks/chunk.WDRTQANT.js +0 -122
- package/cdn/chunks/chunk.WJGT4PNF.js +0 -27
- package/cdn/chunks/chunk.WSDLKWBT.js +0 -24
- package/cdn/chunks/chunk.WSRRQUUU.js +0 -24
- package/cdn/chunks/chunk.WZUKCYZM.js +0 -2953
- package/cdn/chunks/chunk.X2R6EASL.js +0 -11
- package/cdn/chunks/chunk.X2YTRTG6.js +0 -113
- package/cdn/chunks/chunk.XJ444P3T.js +0 -26
- package/cdn/chunks/chunk.XLWPI6EW.js +0 -336
- package/cdn/chunks/chunk.XM44COUW.js +0 -235
- package/cdn/chunks/chunk.XW3D5LGF.js +0 -27
- package/cdn/chunks/chunk.XWEF3HOW.js +0 -21
- package/cdn/chunks/chunk.Y2OPC7UN.js +0 -49
- package/cdn/chunks/chunk.Y3TU3IB4.js +0 -1244
- package/cdn/chunks/chunk.Y5HKPQZI.js +0 -346
- package/cdn/chunks/chunk.YDJ3ZR2B.js +0 -11
- package/cdn/chunks/chunk.YEBQ7PXW.js +0 -127
- package/cdn/chunks/chunk.YFXDR25H.js +0 -11
- package/cdn/chunks/chunk.YNMWYHZR.js +0 -1990
- package/cdn/chunks/chunk.YPDZKCVO.js +0 -48
- package/cdn/chunks/chunk.Z3UTWKV6.js +0 -335
- package/cdn/chunks/chunk.ZDR75F76.js +0 -21
- package/cdn/chunks/chunk.ZEDPJK2W.js +0 -11
- package/cdn/chunks/chunk.ZHYOC7HD.js +0 -190
- package/cdn/chunks/chunk.ZLP7NJWR.js +0 -25
- package/cdn/chunks/chunk.ZZ7EFCM4.js +0 -7313
- package/dist/chunks/chunk.2AGMSWQ3.js +0 -24
- package/dist/chunks/chunk.2AKPKESP.js +0 -25
- package/dist/chunks/chunk.2B6SZPSB.js +0 -11
- package/dist/chunks/chunk.2G5BRIZO.js +0 -25
- package/dist/chunks/chunk.2GEKAE7B.js +0 -21
- package/dist/chunks/chunk.2I5NSDA3.js +0 -50
- package/dist/chunks/chunk.2JBERLVD.js +0 -42
- package/dist/chunks/chunk.2KIO3HAG.js +0 -25
- package/dist/chunks/chunk.2OGIQIU4.js +0 -188
- package/dist/chunks/chunk.2SLZZQYM.js +0 -192
- package/dist/chunks/chunk.2XKG643M.js +0 -11
- package/dist/chunks/chunk.3MHYIUMZ.js +0 -11
- package/dist/chunks/chunk.3MI6FFND.js +0 -280
- package/dist/chunks/chunk.3OVZFWLQ.js +0 -90
- package/dist/chunks/chunk.3U2YGNEM.js +0 -11
- package/dist/chunks/chunk.3W5WAOJN.js +0 -28
- package/dist/chunks/chunk.3Z7F3KO6.js +0 -136
- package/dist/chunks/chunk.4NTI5DBO.js +0 -311
- package/dist/chunks/chunk.4QJCVJBF.js +0 -11
- package/dist/chunks/chunk.4TR2RXVB.js +0 -550
- package/dist/chunks/chunk.4WIX2IJQ.js +0 -26
- package/dist/chunks/chunk.566J3G5O.js +0 -28
- package/dist/chunks/chunk.5ACY5XNI.js +0 -24
- package/dist/chunks/chunk.5BXLFKDP.js +0 -27
- package/dist/chunks/chunk.5GOVMNVY.js +0 -27
- package/dist/chunks/chunk.5H3WI66V.js +0 -949
- package/dist/chunks/chunk.5R4HY4FU.js +0 -180
- package/dist/chunks/chunk.5RQBRMVA.js +0 -11
- package/dist/chunks/chunk.5VMZZO5N.js +0 -151
- package/dist/chunks/chunk.5WEDPOQM.js +0 -24
- package/dist/chunks/chunk.65LX5MST.js +0 -28
- package/dist/chunks/chunk.6CWM2K6O.js +0 -56
- package/dist/chunks/chunk.7AKFVIU7.js +0 -27
- package/dist/chunks/chunk.7DCG5NJM.js +0 -11
- package/dist/chunks/chunk.7ENY6KCX.js +0 -25
- package/dist/chunks/chunk.7G3P2HOV.js +0 -73
- package/dist/chunks/chunk.7IO7PLKK.js +0 -21
- package/dist/chunks/chunk.7UEZE5SE.js +0 -63
- package/dist/chunks/chunk.7V2ZJJVX.js +0 -29
- package/dist/chunks/chunk.7ZZ53HWP.js +0 -11
- package/dist/chunks/chunk.A2BTH2G7.js +0 -384
- package/dist/chunks/chunk.ACFWV6JZ.js +0 -91
- package/dist/chunks/chunk.ADRT3SPA.js +0 -24
- package/dist/chunks/chunk.ALKWXHG6.js +0 -11
- package/dist/chunks/chunk.ANNRUVXD.js +0 -25
- package/dist/chunks/chunk.AQLIAUBR.js +0 -28
- package/dist/chunks/chunk.AVNQQS4Q.js +0 -21
- package/dist/chunks/chunk.BN4VTNVI.js +0 -11
- package/dist/chunks/chunk.BS32CM5D.js +0 -80
- package/dist/chunks/chunk.BU33S5IX.js +0 -117
- package/dist/chunks/chunk.BUKXV23V.js +0 -24
- package/dist/chunks/chunk.BZBOJSAW.js +0 -11
- package/dist/chunks/chunk.CC7B3VFN.js +0 -11
- package/dist/chunks/chunk.CCWRIC5E.js +0 -230
- package/dist/chunks/chunk.CCXOBM4G.js +0 -11
- package/dist/chunks/chunk.CD3W4OKL.js +0 -231
- package/dist/chunks/chunk.CDMX7FSB.js +0 -45
- package/dist/chunks/chunk.CEO64DFS.js +0 -326
- package/dist/chunks/chunk.CFUHD4SV.js +0 -21
- package/dist/chunks/chunk.CLEZ2AZE.js +0 -100
- package/dist/chunks/chunk.COKG56GM.js +0 -11
- package/dist/chunks/chunk.CSVWI6Y4.js +0 -25
- package/dist/chunks/chunk.CW3SMEMO.js +0 -111
- package/dist/chunks/chunk.CWIT4JOL.js +0 -11
- package/dist/chunks/chunk.CWJB66PX.js +0 -743
- package/dist/chunks/chunk.CX2HAYFX.js +0 -11
- package/dist/chunks/chunk.CX4CRTGK.js +0 -28
- package/dist/chunks/chunk.CXUTYTWH.js +0 -294
- package/dist/chunks/chunk.CYJU5GS7.js +0 -11
- package/dist/chunks/chunk.D3Y3WW77.js +0 -25
- package/dist/chunks/chunk.DHQWUNZ7.js +0 -26
- package/dist/chunks/chunk.DPPHNIDC.js +0 -11
- package/dist/chunks/chunk.DW7HAH5F.js +0 -21
- package/dist/chunks/chunk.DZMRFWYF.js +0 -11
- package/dist/chunks/chunk.E65L7RMX.js +0 -21
- package/dist/chunks/chunk.EDGFWWZ5.js +0 -11
- package/dist/chunks/chunk.EGMPNGE4.js +0 -27
- package/dist/chunks/chunk.EI4X2NZZ.js +0 -11
- package/dist/chunks/chunk.EJY3J7NW.js +0 -134
- package/dist/chunks/chunk.EK74IYLW.js +0 -11
- package/dist/chunks/chunk.ELWQKOCF.js +0 -27
- package/dist/chunks/chunk.ETW3CARH.js +0 -85
- package/dist/chunks/chunk.EYXJPF4T.js +0 -11
- package/dist/chunks/chunk.F2BIKL72.js +0 -34
- package/dist/chunks/chunk.F5KDDEGG.js +0 -21
- package/dist/chunks/chunk.FKMWLPHV.js +0 -119
- package/dist/chunks/chunk.FSGF5W6S.js +0 -21
- package/dist/chunks/chunk.FZHUM3HC.js +0 -11
- package/dist/chunks/chunk.G22CZGOK.js +0 -21
- package/dist/chunks/chunk.G2XPKRQD.js +0 -11
- package/dist/chunks/chunk.GFU6I4GJ.js +0 -11
- package/dist/chunks/chunk.GGK2EW5V.js +0 -59
- package/dist/chunks/chunk.GJ7HZWMZ.js +0 -263
- package/dist/chunks/chunk.GJADB4CF.js +0 -11
- package/dist/chunks/chunk.GJBMOBND.js +0 -21
- package/dist/chunks/chunk.GN44I7UO.js +0 -24
- package/dist/chunks/chunk.GOGB7QRD.js +0 -21
- package/dist/chunks/chunk.GPSGJKTW.js +0 -75
- package/dist/chunks/chunk.GQGC3KU4.js +0 -371
- package/dist/chunks/chunk.GXXLLIZW.js +0 -21
- package/dist/chunks/chunk.H2B2ZHRX.js +0 -67
- package/dist/chunks/chunk.H4H7GWLL.js +0 -814
- package/dist/chunks/chunk.H5R4TGZH.js +0 -11
- package/dist/chunks/chunk.HTHEA36S.js +0 -21
- package/dist/chunks/chunk.I7A23GA6.js +0 -29
- package/dist/chunks/chunk.I7LLE46P.js +0 -11
- package/dist/chunks/chunk.I7MYJ6T7.js +0 -21
- package/dist/chunks/chunk.IBK3IBWM.js +0 -148
- package/dist/chunks/chunk.IGD3XHBJ.js +0 -11
- package/dist/chunks/chunk.ITE6JBSM.js +0 -1120
- package/dist/chunks/chunk.J6DEDK7I.js +0 -24
- package/dist/chunks/chunk.J76YHVQV.js +0 -11
- package/dist/chunks/chunk.J7ZWERBI.js +0 -167
- package/dist/chunks/chunk.JEHBPENY.js +0 -11
- package/dist/chunks/chunk.JEIRYLA7.js +0 -11
- package/dist/chunks/chunk.JI646VQW.js +0 -21
- package/dist/chunks/chunk.JQVOAVAD.js +0 -11
- package/dist/chunks/chunk.JRE3XEGV.js +0 -96
- package/dist/chunks/chunk.K5UHBRBV.js +0 -11
- package/dist/chunks/chunk.KFD6SN4C.js +0 -11
- package/dist/chunks/chunk.KFSHKNTI.js +0 -26
- package/dist/chunks/chunk.KIRCNHCN.js +0 -11
- package/dist/chunks/chunk.KKGX4J3Q.js +0 -21
- package/dist/chunks/chunk.KUH7IHNM.js +0 -21
- package/dist/chunks/chunk.L2GNETEW.js +0 -52
- package/dist/chunks/chunk.L3EQKDDD.js +0 -22
- package/dist/chunks/chunk.LDYNEEPR.js +0 -25
- package/dist/chunks/chunk.LHEMCYGN.js +0 -21
- package/dist/chunks/chunk.LKK2PFM6.js +0 -11
- package/dist/chunks/chunk.LO3Y3SC3.js +0 -21
- package/dist/chunks/chunk.LP64IFNS.js +0 -506
- package/dist/chunks/chunk.LS6NLVX5.js +0 -247
- package/dist/chunks/chunk.LWXNNQJB.js +0 -11
- package/dist/chunks/chunk.MBBHJ5GO.js +0 -337
- package/dist/chunks/chunk.MEBOP6MN.js +0 -11
- package/dist/chunks/chunk.MHCVVLCT.js +0 -11
- package/dist/chunks/chunk.MHS3FJGV.js +0 -11
- package/dist/chunks/chunk.MJJGFKLO.js +0 -21
- package/dist/chunks/chunk.MRNE5SQK.js +0 -79
- package/dist/chunks/chunk.MU5AZVCP.js +0 -227
- package/dist/chunks/chunk.MY7LLR7C.js +0 -109
- package/dist/chunks/chunk.NMHP34NC.js +0 -11
- package/dist/chunks/chunk.NPS3ESCM.js +0 -126
- package/dist/chunks/chunk.ORMXZW6F.js +0 -11
- package/dist/chunks/chunk.OSQ3CCFF.js +0 -214
- package/dist/chunks/chunk.OUNPBRRD.js +0 -22
- package/dist/chunks/chunk.OVX7KABZ.js +0 -113
- package/dist/chunks/chunk.OWQUCAPJ.js +0 -577
- package/dist/chunks/chunk.PHBT3MJN.js +0 -361
- package/dist/chunks/chunk.PJ5F7CV7.js +0 -116
- package/dist/chunks/chunk.PKF7THHX.js +0 -1242
- package/dist/chunks/chunk.PKSNYBHX.js +0 -448
- package/dist/chunks/chunk.PLFXQQK7.js +0 -27
- package/dist/chunks/chunk.PLZEF6WP.js +0 -29
- package/dist/chunks/chunk.PMI7GCY2.js +0 -25
- package/dist/chunks/chunk.Q6XBKIKU.js +0 -345
- package/dist/chunks/chunk.QHUOTUN2.js +0 -147
- package/dist/chunks/chunk.QIBAK7JU.js +0 -11
- package/dist/chunks/chunk.QP55ES4D.js +0 -21
- package/dist/chunks/chunk.QYPMCDLQ.js +0 -75
- package/dist/chunks/chunk.QYRMBDMM.js +0 -29
- package/dist/chunks/chunk.R7KBW4QU.js +0 -213
- package/dist/chunks/chunk.RAQSRVTG.js +0 -293
- package/dist/chunks/chunk.RNKUPBLS.js +0 -11
- package/dist/chunks/chunk.RRE67WPJ.js +0 -25
- package/dist/chunks/chunk.RS5RBPPC.js +0 -24
- package/dist/chunks/chunk.RXIN2NBH.js +0 -11
- package/dist/chunks/chunk.RXL26ZVA.js +0 -21
- package/dist/chunks/chunk.S3KIYD3N.js +0 -119
- package/dist/chunks/chunk.S7AI3OAX.js +0 -331
- package/dist/chunks/chunk.SJFD3WIY.js +0 -11
- package/dist/chunks/chunk.SWBDS6VT.js +0 -21
- package/dist/chunks/chunk.SWVFDTKZ.js +0 -21
- package/dist/chunks/chunk.T6LQGRUO.js +0 -11
- package/dist/chunks/chunk.T75MXKKM.js +0 -11
- package/dist/chunks/chunk.TEY22MXD.js +0 -28
- package/dist/chunks/chunk.TJTYBIR7.js +0 -181
- package/dist/chunks/chunk.TOTYR5GB.js +0 -11
- package/dist/chunks/chunk.TS6C6XE6.js +0 -11
- package/dist/chunks/chunk.TVTYAME6.js +0 -24
- package/dist/chunks/chunk.U3TBBNK7.js +0 -11
- package/dist/chunks/chunk.UBV7OT7X.js +0 -46
- package/dist/chunks/chunk.UCPVFXHQ.js +0 -33
- package/dist/chunks/chunk.UCRIUDWV.js +0 -24
- package/dist/chunks/chunk.UFZ64NW7.js +0 -286
- package/dist/chunks/chunk.UH4QRZF2.js +0 -306
- package/dist/chunks/chunk.UJBLG2EM.js +0 -45
- package/dist/chunks/chunk.USK5EGSO.js +0 -11
- package/dist/chunks/chunk.UTRX2GAS.js +0 -11
- package/dist/chunks/chunk.UTVWXAXN.js +0 -315
- package/dist/chunks/chunk.UUC35CUO.js +0 -126
- package/dist/chunks/chunk.UUFFPP2C.js +0 -397
- package/dist/chunks/chunk.VCKKWWX5.js +0 -11
- package/dist/chunks/chunk.VDIOOKK3.js +0 -25
- package/dist/chunks/chunk.VFO6XX4A.js +0 -93
- package/dist/chunks/chunk.VSR2VRYO.js +0 -11
- package/dist/chunks/chunk.VZFYIASQ.js +0 -24
- package/dist/chunks/chunk.W4CK4MNF.js +0 -11
- package/dist/chunks/chunk.W5XOGECB.js +0 -135
- package/dist/chunks/chunk.W6WWCEDK.js +0 -11
- package/dist/chunks/chunk.WJUIWRCP.js +0 -24
- package/dist/chunks/chunk.WYGWB63T.js +0 -11
- package/dist/chunks/chunk.XJEHWKV5.js +0 -502
- package/dist/chunks/chunk.XLVA5ZEI.js +0 -11
- package/dist/chunks/chunk.XQMQGT2Z.js +0 -11
- package/dist/chunks/chunk.XWFL7NJJ.js +0 -11
- package/dist/chunks/chunk.Y2M2ID7D.js +0 -820
- package/dist/chunks/chunk.Y4XGHZNT.js +0 -100
- package/dist/chunks/chunk.YFHUR4GU.js +0 -21
- package/dist/chunks/chunk.YPHENAEZ.js +0 -417
- package/dist/chunks/chunk.YWSXJLSV.js +0 -329
- package/dist/chunks/chunk.Z5BUSFRU.js +0 -24
- package/dist/chunks/chunk.Z73U3F6N.js +0 -11
- package/dist/chunks/chunk.ZABCFN7Q.js +0 -21
- package/dist/chunks/chunk.ZO3NUUSF.js +0 -274
- package/dist/chunks/chunk.ZYEU5MVF.js +0 -11
|
@@ -1,820 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getDragRow
|
|
3
|
-
} from "./chunk.DSRLY2FD.js";
|
|
4
|
-
import {
|
|
5
|
-
getExpendRow
|
|
6
|
-
} from "./chunk.IUVORREB.js";
|
|
7
|
-
import {
|
|
8
|
-
getDefaultFilters
|
|
9
|
-
} from "./chunk.TF3IWFSX.js";
|
|
10
|
-
import {
|
|
11
|
-
convertRowSelectionState,
|
|
12
|
-
getRowSelectionOptions,
|
|
13
|
-
getSelectionColumn
|
|
14
|
-
} from "./chunk.IKG7GFWI.js";
|
|
15
|
-
import {
|
|
16
|
-
getDefaultSorting
|
|
17
|
-
} from "./chunk.WQTJ57OT.js";
|
|
18
|
-
import {
|
|
19
|
-
table_style_default
|
|
20
|
-
} from "./chunk.YETPLLCY.js";
|
|
21
|
-
import {
|
|
22
|
-
getDefaultPinning
|
|
23
|
-
} from "./chunk.REAQMJXE.js";
|
|
24
|
-
import {
|
|
25
|
-
getClientHeight,
|
|
26
|
-
getClientWidth,
|
|
27
|
-
getOffsetWidth,
|
|
28
|
-
getScrollHeight
|
|
29
|
-
} from "./chunk.YWEYEF5K.js";
|
|
30
|
-
import {
|
|
31
|
-
CUSTOM_CELL,
|
|
32
|
-
CUSTOM_ROW,
|
|
33
|
-
VIRTUALIZED_DEFAULT
|
|
34
|
-
} from "./chunk.UP5K765N.js";
|
|
35
|
-
import {
|
|
36
|
-
SlRadio
|
|
37
|
-
} from "./chunk.OVX7KABZ.js";
|
|
38
|
-
import {
|
|
39
|
-
SlPagination
|
|
40
|
-
} from "./chunk.5R4HY4FU.js";
|
|
41
|
-
import {
|
|
42
|
-
SlCheckbox
|
|
43
|
-
} from "./chunk.GJ7HZWMZ.js";
|
|
44
|
-
import {
|
|
45
|
-
SlIcon
|
|
46
|
-
} from "./chunk.TJTYBIR7.js";
|
|
47
|
-
import {
|
|
48
|
-
ShoelaceElement
|
|
49
|
-
} from "./chunk.JRE3XEGV.js";
|
|
50
|
-
import {
|
|
51
|
-
__decorateClass,
|
|
52
|
-
__objRest,
|
|
53
|
-
__spreadProps,
|
|
54
|
-
__spreadValues
|
|
55
|
-
} from "./chunk.W5KB6T3Z.js";
|
|
56
|
-
|
|
57
|
-
// src/components/table/table.component.ts
|
|
58
|
-
import { classMap } from "lit/directives/class-map.js";
|
|
59
|
-
import {
|
|
60
|
-
createColumnHelper,
|
|
61
|
-
getCoreRowModel,
|
|
62
|
-
getExpandedRowModel,
|
|
63
|
-
getFilteredRowModel,
|
|
64
|
-
getPaginationRowModel,
|
|
65
|
-
getSortedRowModel,
|
|
66
|
-
TableController
|
|
67
|
-
} from "@tanstack/lit-table";
|
|
68
|
-
import { VirtualizerController } from "@tanstack/lit-virtual";
|
|
69
|
-
import { createRef, ref } from "lit/directives/ref.js";
|
|
70
|
-
import { debounce, get, some } from "lodash";
|
|
71
|
-
import { html } from "lit";
|
|
72
|
-
import { property } from "lit/decorators.js";
|
|
73
|
-
import { state } from "lit/decorators/state.js";
|
|
74
|
-
var SlTable = class extends ShoelaceElement {
|
|
75
|
-
constructor() {
|
|
76
|
-
super(...arguments);
|
|
77
|
-
this.tableController = new TableController(this);
|
|
78
|
-
this.rowKey = "key";
|
|
79
|
-
this.columns = [];
|
|
80
|
-
this.dataSource = [];
|
|
81
|
-
this.loading = false;
|
|
82
|
-
this.bordered = false;
|
|
83
|
-
this.direction = "ltr";
|
|
84
|
-
this.showHeader = true;
|
|
85
|
-
this.tableScroll = {};
|
|
86
|
-
this.enableColumnResizing = false;
|
|
87
|
-
this.rowDrag = false;
|
|
88
|
-
this.rowSelectedMap = {};
|
|
89
|
-
this.expandedMap = {};
|
|
90
|
-
this.sorting = [];
|
|
91
|
-
this.columnFilters = [];
|
|
92
|
-
this.tableWidth = 0;
|
|
93
|
-
this.columnSizing = {};
|
|
94
|
-
this.pageIndex = 0;
|
|
95
|
-
this.columnPinning = {
|
|
96
|
-
left: ["drag", "expend", "select"],
|
|
97
|
-
right: []
|
|
98
|
-
};
|
|
99
|
-
this.tableWrapRef = createRef();
|
|
100
|
-
this.headerWrapRef = createRef();
|
|
101
|
-
this.bodyWrapRef = createRef();
|
|
102
|
-
this.syncing = false;
|
|
103
|
-
/*
|
|
104
|
-
生命周期 end
|
|
105
|
-
**/
|
|
106
|
-
this.warnIfNoKey = () => {
|
|
107
|
-
if (some(this.dataSource, (record) => this.adapter.getRecordKey(record) === void 0)) {
|
|
108
|
-
console.error(
|
|
109
|
-
'You must specify a key for each element in the dataSource or use "rowKey" to specify an attribute name as the primary key!'
|
|
110
|
-
);
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
this.setColumnWidth = () => {
|
|
114
|
-
const head = this.headerWrapRef.value;
|
|
115
|
-
if (!head) return;
|
|
116
|
-
const ths = head == null ? void 0 : head.querySelectorAll("th");
|
|
117
|
-
if (ths) {
|
|
118
|
-
const widths = Array.from(ths).reduce(
|
|
119
|
-
(acc, th) => {
|
|
120
|
-
const { width } = th.getBoundingClientRect();
|
|
121
|
-
const colKey = th.dataset.colKey;
|
|
122
|
-
return __spreadProps(__spreadValues({}, acc), {
|
|
123
|
-
[colKey]: width
|
|
124
|
-
});
|
|
125
|
-
},
|
|
126
|
-
{}
|
|
127
|
-
);
|
|
128
|
-
this.columnSizing = widths;
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
this.handleBodyScroll = (e) => {
|
|
132
|
-
var _a;
|
|
133
|
-
this.handleBodyScrollLeft(e);
|
|
134
|
-
this.setScrollPositionClassName();
|
|
135
|
-
if ((_a = this.virtualized) == null ? void 0 : _a.onScroll) {
|
|
136
|
-
this.virtualized.onScroll(e);
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
this.handleBodyScrollLeft = (e) => {
|
|
140
|
-
if (this.syncing) return;
|
|
141
|
-
const target = e.currentTarget;
|
|
142
|
-
const head = this.headerWrapRef.value;
|
|
143
|
-
const body = this.bodyWrapRef.value;
|
|
144
|
-
if (!head || !body) return;
|
|
145
|
-
this.syncing = true;
|
|
146
|
-
if (target === body) {
|
|
147
|
-
head.scrollLeft = body.scrollLeft;
|
|
148
|
-
} else if (target === head) {
|
|
149
|
-
body.scrollLeft = head.scrollLeft;
|
|
150
|
-
}
|
|
151
|
-
requestAnimationFrame(() => {
|
|
152
|
-
this.syncing = false;
|
|
153
|
-
});
|
|
154
|
-
};
|
|
155
|
-
this.handleWindowResize = () => {
|
|
156
|
-
this.syncTableWidth();
|
|
157
|
-
this.setScrollPositionClassName();
|
|
158
|
-
this.setScrollBarStyle();
|
|
159
|
-
};
|
|
160
|
-
this.syncTableWidth = () => {
|
|
161
|
-
var _a;
|
|
162
|
-
if ((_a = this.tableWrapRef) == null ? void 0 : _a.value) {
|
|
163
|
-
this.tableWidth = this.tableWrapRef.value.getBoundingClientRect().width;
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
this.setScrollBarStyle = () => {
|
|
167
|
-
setTimeout(() => {
|
|
168
|
-
const bodyWrapper = this.bodyWrapRef.value;
|
|
169
|
-
const headWrapper = this.headerWrapRef.value;
|
|
170
|
-
if (!bodyWrapper || !headWrapper) return;
|
|
171
|
-
const hasVerticalScroll = getScrollHeight(bodyWrapper) > getClientHeight(bodyWrapper);
|
|
172
|
-
const bodyHasScrollBar = getClientWidth(bodyWrapper) < getOffsetWidth(bodyWrapper);
|
|
173
|
-
if (hasVerticalScroll && bodyHasScrollBar) {
|
|
174
|
-
headWrapper.style.overflowY = "scroll";
|
|
175
|
-
} else {
|
|
176
|
-
headWrapper.style.overflowY = "auto";
|
|
177
|
-
}
|
|
178
|
-
}, 0);
|
|
179
|
-
};
|
|
180
|
-
this.setScrollPositionClassName = () => {
|
|
181
|
-
const tableBody = this.bodyWrapRef.value;
|
|
182
|
-
const tableWrapper = this.tableWrapRef.value;
|
|
183
|
-
if (!tableBody || !tableWrapper) return;
|
|
184
|
-
const { scrollLeft, scrollWidth, clientWidth } = tableBody;
|
|
185
|
-
const scrollRange = scrollWidth - clientWidth;
|
|
186
|
-
const classList = tableWrapper.classList;
|
|
187
|
-
const startClass = "table-scroll-position-left";
|
|
188
|
-
const middleClass = "table-scroll-position-middle";
|
|
189
|
-
const endClass = "table-scroll-position-right";
|
|
190
|
-
if (scrollWidth <= clientWidth) {
|
|
191
|
-
classList.remove(startClass, endClass, middleClass);
|
|
192
|
-
return;
|
|
193
|
-
}
|
|
194
|
-
const isRtl = this.direction === "rtl";
|
|
195
|
-
const scrollLeftAbs = Math.abs(scrollLeft);
|
|
196
|
-
let isStart = false;
|
|
197
|
-
let isEnd = false;
|
|
198
|
-
if (isRtl) {
|
|
199
|
-
isStart = scrollLeftAbs <= 1;
|
|
200
|
-
isEnd = scrollLeftAbs >= scrollRange - 1;
|
|
201
|
-
} else {
|
|
202
|
-
isStart = scrollLeft <= 0;
|
|
203
|
-
isEnd = scrollLeft >= scrollRange - 1;
|
|
204
|
-
}
|
|
205
|
-
if (isStart) {
|
|
206
|
-
classList.add(startClass);
|
|
207
|
-
classList.remove(middleClass, endClass);
|
|
208
|
-
} else if (isEnd) {
|
|
209
|
-
classList.remove(startClass, middleClass);
|
|
210
|
-
classList.add(endClass);
|
|
211
|
-
} else {
|
|
212
|
-
classList.remove(startClass, endClass);
|
|
213
|
-
classList.add(middleClass);
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
this.handleColumnSizingChange = (updaterOrValue) => {
|
|
217
|
-
var _a;
|
|
218
|
-
const next = typeof updaterOrValue === "function" ? updaterOrValue(this.columnSizing) : updaterOrValue;
|
|
219
|
-
const clamped = {};
|
|
220
|
-
for (const key in next) {
|
|
221
|
-
const v = next[key];
|
|
222
|
-
clamped[key] = Math.min(500, Math.max(60, v));
|
|
223
|
-
}
|
|
224
|
-
this.columnSizing = clamped;
|
|
225
|
-
(_a = this.slColumnResize) == null ? void 0 : _a.call(this, __spreadValues({}, clamped));
|
|
226
|
-
};
|
|
227
|
-
this.generateCustomCellSlot = (filteredRows) => {
|
|
228
|
-
const hasSlotColumns = this.columns.filter((col) => col.slot);
|
|
229
|
-
if (!hasSlotColumns.length) return "";
|
|
230
|
-
return html`
|
|
231
|
-
${hasSlotColumns.map(
|
|
232
|
-
(col) => filteredRows.map((row) => {
|
|
233
|
-
const slotKey = `${CUSTOM_CELL}-${col.dataIndex}-${this.adapter.getRecordKey(row.original)}`;
|
|
234
|
-
return html`<slot slot="${slotKey}" name="${slotKey}">${row.original[col.dataIndex]}</slot>`;
|
|
235
|
-
})
|
|
236
|
-
)}
|
|
237
|
-
`;
|
|
238
|
-
};
|
|
239
|
-
this.generateCustomRowSlot = (rows) => {
|
|
240
|
-
if (!this.expandProps) return "";
|
|
241
|
-
return html`
|
|
242
|
-
${rows.map((row) => {
|
|
243
|
-
var _a, _b, _c;
|
|
244
|
-
const rowSlotKey = `${CUSTOM_ROW}-${this.adapter.getRecordKey(row.original)}`;
|
|
245
|
-
if (!((_a = this.expandProps) == null ? void 0 : _a.expandableRowKeys)) return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
246
|
-
if ((_c = (_b = this.expandProps) == null ? void 0 : _b.expandableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey])) {
|
|
247
|
-
return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
248
|
-
} else {
|
|
249
|
-
return null;
|
|
250
|
-
}
|
|
251
|
-
})}
|
|
252
|
-
`;
|
|
253
|
-
};
|
|
254
|
-
this.handleRowSelectionChange = (updaterOrValue) => {
|
|
255
|
-
if (typeof updaterOrValue === "function") {
|
|
256
|
-
this.rowSelectedMap = updaterOrValue(this.rowSelectedMap);
|
|
257
|
-
} else {
|
|
258
|
-
this.rowSelectedMap = updaterOrValue;
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
this.handleSortingChange = (updaterOrValue) => {
|
|
262
|
-
if (typeof updaterOrValue === "function") {
|
|
263
|
-
this.sorting = updaterOrValue(this.sorting);
|
|
264
|
-
} else {
|
|
265
|
-
this.sorting = updaterOrValue;
|
|
266
|
-
}
|
|
267
|
-
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
268
|
-
this.handleChange({
|
|
269
|
-
changeType: "sorter"
|
|
270
|
-
});
|
|
271
|
-
});
|
|
272
|
-
};
|
|
273
|
-
this.handleColumnFiltersChange = (updaterOrValue) => {
|
|
274
|
-
if (typeof updaterOrValue === "function") {
|
|
275
|
-
this.columnFilters = updaterOrValue(this.columnFilters);
|
|
276
|
-
} else {
|
|
277
|
-
this.columnFilters = updaterOrValue;
|
|
278
|
-
}
|
|
279
|
-
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
280
|
-
this.handleChange({
|
|
281
|
-
changeType: "filters"
|
|
282
|
-
});
|
|
283
|
-
});
|
|
284
|
-
};
|
|
285
|
-
this.handleFilterDropdownChange = (e) => {
|
|
286
|
-
var _a;
|
|
287
|
-
const detail = e.detail;
|
|
288
|
-
const { key, visible } = detail || {};
|
|
289
|
-
const col = this.columns.find((c) => c.dataIndex === key);
|
|
290
|
-
(_a = col == null ? void 0 : col.onFilterDropdownVisibleChange) == null ? void 0 : _a.call(col, visible);
|
|
291
|
-
};
|
|
292
|
-
this.getRowCanExpand = (row) => {
|
|
293
|
-
var _a, _b, _c;
|
|
294
|
-
if (!((_a = this.expandProps) == null ? void 0 : _a.expandableRowKeys)) return true;
|
|
295
|
-
return Boolean((_c = (_b = this.expandProps) == null ? void 0 : _b.expandableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey]));
|
|
296
|
-
};
|
|
297
|
-
this.expendedChange = (updater) => {
|
|
298
|
-
const newExpanded = typeof updater === "function" ? updater(this.expandedMap) : updater;
|
|
299
|
-
this.expandedMap = newExpanded;
|
|
300
|
-
this.requestUpdate();
|
|
301
|
-
};
|
|
302
|
-
this.getSubRows = (row) => {
|
|
303
|
-
const { treeConfig } = this.getTreeInfo();
|
|
304
|
-
if (treeConfig === false) return [];
|
|
305
|
-
const v = row[treeConfig.childrenRecordName];
|
|
306
|
-
return Array.isArray(v) ? v : [];
|
|
307
|
-
};
|
|
308
|
-
this.handlePaginationChange = (event) => {
|
|
309
|
-
var _a, _b, _c, _d;
|
|
310
|
-
const { pageNumber, pageSize } = event.detail;
|
|
311
|
-
(_b = (_a = this.pagination) == null ? void 0 : _a["sl-page-change"]) == null ? void 0 : _b.call(_a, event);
|
|
312
|
-
this.pagination = __spreadProps(__spreadValues({}, this.pagination), {
|
|
313
|
-
defaultCurrentPage: pageNumber,
|
|
314
|
-
pageSize: pageSize || 20
|
|
315
|
-
});
|
|
316
|
-
if (!((_c = this.pagination) == null ? void 0 : _c.currentPage)) this.pageIndex = pageNumber - 1;
|
|
317
|
-
this.handleChange({
|
|
318
|
-
pagination: {
|
|
319
|
-
pageNumber: pageNumber || 1,
|
|
320
|
-
pageSize: pageSize || 20,
|
|
321
|
-
total: ((_d = this.pagination) == null ? void 0 : _d.total) || this.dataSource.length
|
|
322
|
-
},
|
|
323
|
-
type: "pagination"
|
|
324
|
-
});
|
|
325
|
-
};
|
|
326
|
-
}
|
|
327
|
-
normalizeTree() {
|
|
328
|
-
var _a, _b;
|
|
329
|
-
const defaultTree = { childrenRecordName: "children", indentSize: 16 };
|
|
330
|
-
const hasChildren = Array.isArray(this.dataSource) && this.dataSource.some((row) => Array.isArray(row.children));
|
|
331
|
-
if (!this.tree) return hasChildren ? defaultTree : false;
|
|
332
|
-
if (typeof this.tree === "object") {
|
|
333
|
-
return {
|
|
334
|
-
childrenRecordName: (_a = this.tree.childrenRecordName) != null ? _a : defaultTree.childrenRecordName,
|
|
335
|
-
indentSize: (_b = this.tree.indentSize) != null ? _b : defaultTree.indentSize
|
|
336
|
-
};
|
|
337
|
-
}
|
|
338
|
-
return this.tree ? defaultTree : false;
|
|
339
|
-
}
|
|
340
|
-
getTreeInfo() {
|
|
341
|
-
const treeConfig = this.normalizeTree();
|
|
342
|
-
return { treeConfig, treeEnabled: treeConfig !== false };
|
|
343
|
-
}
|
|
344
|
-
get adapter() {
|
|
345
|
-
return {
|
|
346
|
-
getRecordKey: (record) => {
|
|
347
|
-
if (!record) {
|
|
348
|
-
return void 0;
|
|
349
|
-
}
|
|
350
|
-
return get(record, this.rowKey);
|
|
351
|
-
},
|
|
352
|
-
getSortIsControlled: () => {
|
|
353
|
-
return some(this.columns, (col) => !!col.sortOrder);
|
|
354
|
-
},
|
|
355
|
-
getTableWidth: () => this.tableWidth,
|
|
356
|
-
getFilterIsControlled: () => some(this.columns, (col) => !!col.filteredValue),
|
|
357
|
-
tableScrollToTop: () => {
|
|
358
|
-
var _a, _b;
|
|
359
|
-
return ((_a = this.tableScroll) == null ? void 0 : _a.y) ? (_b = this.bodyWrapRef.value) == null ? void 0 : _b.scrollTo({ top: 0 }) : void 0;
|
|
360
|
-
}
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
/*
|
|
364
|
-
生命周期 start
|
|
365
|
-
**/
|
|
366
|
-
connectedCallback() {
|
|
367
|
-
super.connectedCallback();
|
|
368
|
-
window.addEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
369
|
-
this.syncTableWidth();
|
|
370
|
-
this.setScrollBarStyle();
|
|
371
|
-
this.setScrollPositionClassName();
|
|
372
|
-
}
|
|
373
|
-
disconnectedCallback() {
|
|
374
|
-
window.removeEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
375
|
-
super.disconnectedCallback();
|
|
376
|
-
}
|
|
377
|
-
willUpdate(changedProperties) {
|
|
378
|
-
var _a;
|
|
379
|
-
this.warnIfNoKey();
|
|
380
|
-
if (changedProperties.has("rowSelection")) {
|
|
381
|
-
this.rowSelectedMap = convertRowSelectionState(((_a = this.rowSelection) == null ? void 0 : _a.defaultSelectedRowKeys) || []);
|
|
382
|
-
}
|
|
383
|
-
if (changedProperties.has("columns")) {
|
|
384
|
-
const defaultSorting = getDefaultSorting(this.columns);
|
|
385
|
-
if (defaultSorting.length > 0) {
|
|
386
|
-
this.sorting = defaultSorting;
|
|
387
|
-
}
|
|
388
|
-
const defaultFilters = getDefaultFilters(this.columns);
|
|
389
|
-
if (defaultFilters.length > 0) {
|
|
390
|
-
this.columnFilters = defaultFilters;
|
|
391
|
-
}
|
|
392
|
-
const defaultPinning = getDefaultPinning(this.columns);
|
|
393
|
-
if (defaultPinning.left.length > 0 || defaultPinning.right.length > 0) {
|
|
394
|
-
this.columnPinning = defaultPinning;
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
if (changedProperties.has("dataSource") || changedProperties.has("expandProps")) {
|
|
398
|
-
this.dataSource.forEach((row) => {
|
|
399
|
-
var _a2, _b;
|
|
400
|
-
if (!((_a2 = this.expandProps) == null ? void 0 : _a2.rowExpandable)) return;
|
|
401
|
-
const rowKey = row[this.rowKey];
|
|
402
|
-
const expandAllMatch = this.expandProps.defaultExpandAllRows && (!this.expandProps.expandableRowKeys || this.expandProps.expandableRowKeys.includes(rowKey));
|
|
403
|
-
const expandByKeys = (_b = this.expandProps.defaultExpandedRowKeys) == null ? void 0 : _b.includes(rowKey);
|
|
404
|
-
if (expandAllMatch || expandByKeys) {
|
|
405
|
-
this.expandedMap[rowKey] = true;
|
|
406
|
-
}
|
|
407
|
-
});
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
updated(changedProperties) {
|
|
411
|
-
super.updated(changedProperties);
|
|
412
|
-
window.requestAnimationFrame(() => {
|
|
413
|
-
this.setScrollPositionClassName();
|
|
414
|
-
});
|
|
415
|
-
}
|
|
416
|
-
async firstUpdated() {
|
|
417
|
-
var _a, _b, _d, _e;
|
|
418
|
-
const bodyTable = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("sl-table-body-table");
|
|
419
|
-
if (bodyTable) {
|
|
420
|
-
await bodyTable.updateComplete;
|
|
421
|
-
}
|
|
422
|
-
const headTable = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sl-table-head-table");
|
|
423
|
-
if (headTable) {
|
|
424
|
-
await headTable.updateComplete;
|
|
425
|
-
}
|
|
426
|
-
if (this.virtualized) {
|
|
427
|
-
const scrollElement = this.bodyWrapRef.value;
|
|
428
|
-
const _c = this.virtualized, { itemHeight, overscan } = _c, rest = __objRest(_c, ["itemHeight", "overscan"]);
|
|
429
|
-
this.rowVirtualizerController = new VirtualizerController(this, __spreadValues({
|
|
430
|
-
count: this.dataSource.length,
|
|
431
|
-
getScrollElement: () => scrollElement,
|
|
432
|
-
estimateSize: () => itemHeight || VIRTUALIZED_DEFAULT.itemHeight,
|
|
433
|
-
overscan: overscan || VIRTUALIZED_DEFAULT.overscan
|
|
434
|
-
}, rest));
|
|
435
|
-
this.requestUpdate();
|
|
436
|
-
}
|
|
437
|
-
this.setColumnWidth();
|
|
438
|
-
if ((_d = this.pagination) == null ? void 0 : _d.currentPage) {
|
|
439
|
-
this.pageIndex = this.pagination.currentPage - 1;
|
|
440
|
-
} else if ((_e = this.pagination) == null ? void 0 : _e.defaultCurrentPage) {
|
|
441
|
-
this.pageIndex = this.pagination.defaultCurrentPage - 1;
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
renderTable(tableInstance) {
|
|
445
|
-
var _a, _b;
|
|
446
|
-
const currentPageRows = tableInstance.getPaginationRowModel().rows;
|
|
447
|
-
const filteredRows = tableInstance.getFilteredRowModel().rows;
|
|
448
|
-
const { treeConfig, treeEnabled } = this.getTreeInfo();
|
|
449
|
-
const commonProps = {
|
|
450
|
-
direction: this.direction,
|
|
451
|
-
bordered: !!this.bordered,
|
|
452
|
-
rowSelectedMap: this.rowSelectedMap,
|
|
453
|
-
tableScroll: this.tableScroll,
|
|
454
|
-
enableColumnResizing: this.enableColumnResizing,
|
|
455
|
-
handleBodyScroll: this.handleBodyScroll,
|
|
456
|
-
sorting: this.sorting,
|
|
457
|
-
dataSource: this.dataSource,
|
|
458
|
-
columns: this.columns,
|
|
459
|
-
adapter: this.adapter,
|
|
460
|
-
tableInstance,
|
|
461
|
-
slHeaderRow: this.slHeaderRow,
|
|
462
|
-
slRow: this.slRow,
|
|
463
|
-
virtualized: this.virtualized,
|
|
464
|
-
rowDrag: this.rowDrag,
|
|
465
|
-
expandProps: this.expandProps,
|
|
466
|
-
tree: treeConfig,
|
|
467
|
-
slRowReorder: (detail) => {
|
|
468
|
-
var _a2;
|
|
469
|
-
if (this.slRowReorder) this.slRowReorder(detail);
|
|
470
|
-
if ((_a2 = detail.newRows) == null ? void 0 : _a2.length) {
|
|
471
|
-
this.dataSource = detail.newRows;
|
|
472
|
-
this.requestUpdate();
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
};
|
|
476
|
-
const emptyTemplate = this.dataSource.length === 0 || currentPageRows.length === 0 || filteredRows.length === 0 ? this.renderEmpty() : "";
|
|
477
|
-
const headTable = this.showHeader ? html`<sl-table-head-table
|
|
478
|
-
exportparts="table-head, table-head-row, table-head-cell"
|
|
479
|
-
.commonProps=${commonProps}
|
|
480
|
-
.headerRef=${this.headerWrapRef}
|
|
481
|
-
@sl-filter-dropdown-change=${this.handleFilterDropdownChange}
|
|
482
|
-
></sl-table-head-table>` : "";
|
|
483
|
-
const bodyTable = html`<sl-table-body-table
|
|
484
|
-
exportparts="table-body, table-body-row, table-body-cell"
|
|
485
|
-
.bodyRef=${this.bodyWrapRef}
|
|
486
|
-
.emptyTemplate=${emptyTemplate}
|
|
487
|
-
.commonProps=${commonProps}
|
|
488
|
-
.rowVirtualizerController=${this.rowVirtualizerController}
|
|
489
|
-
.expandRowByClick=${((_a = this.expandProps) == null ? void 0 : _a.rowExpandable) && ((_b = this.expandProps) == null ? void 0 : _b.expandRowByClick)}
|
|
490
|
-
>
|
|
491
|
-
<slot name="table-empty" slot="table-empty">暂无数据</slot>
|
|
492
|
-
${!treeEnabled ? this.generateCustomRowSlot(filteredRows) : ""} ${this.generateCustomCellSlot(filteredRows)}
|
|
493
|
-
</sl-table-body-table>`;
|
|
494
|
-
return html`${headTable} ${bodyTable}`;
|
|
495
|
-
}
|
|
496
|
-
renderEmpty() {
|
|
497
|
-
return html` <div class="table-placeholder"><slot name="table-empty"></slot></div>`;
|
|
498
|
-
}
|
|
499
|
-
renderMainTable(tableInstance) {
|
|
500
|
-
const table = html`${this.renderTable(tableInstance)}`;
|
|
501
|
-
return table;
|
|
502
|
-
}
|
|
503
|
-
renderPagination(place) {
|
|
504
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
505
|
-
if (!this.pagination) return "";
|
|
506
|
-
const pos = ((_a = this.pagination) == null ? void 0 : _a.position) || "bottomEnd";
|
|
507
|
-
const isTop = pos.startsWith("top");
|
|
508
|
-
if (place === "top" && !isTop || place === "bottom" && isTop) return "";
|
|
509
|
-
const justify = pos.endsWith("Start") ? "flex-start" : pos.endsWith("Center") ? "center" : "flex-end";
|
|
510
|
-
const margin = place === "top" ? "0 0 8px 0" : "8px 0 0 0";
|
|
511
|
-
const style = `display:flex; justify-content:${justify}; margin:${margin};`;
|
|
512
|
-
return html`
|
|
513
|
-
<div class="pagination-container" style="${style}">
|
|
514
|
-
<sl-pagination
|
|
515
|
-
class="pagination"
|
|
516
|
-
@sl-page-change=${this.handlePaginationChange}
|
|
517
|
-
.total=${((_b = this.pagination) == null ? void 0 : _b.total) || this.dataSource.length}
|
|
518
|
-
.currentPage=${(_c = this.pagination) == null ? void 0 : _c.currentPage}
|
|
519
|
-
.defaultCurrentPage=${((_d = this.pagination) == null ? void 0 : _d.defaultCurrentPage) || 1}
|
|
520
|
-
.pageSize=${((_e = this.pagination) == null ? void 0 : _e.pageSize) || 20}
|
|
521
|
-
.disabled=${((_f = this.pagination) == null ? void 0 : _f.disabled) || false}
|
|
522
|
-
.className=${(_g = this.pagination) == null ? void 0 : _g.className}
|
|
523
|
-
.pageSizeOpts=${((_h = this.pagination) == null ? void 0 : _h.pageSizeOpts) || [10, 20, 50, 100]}
|
|
524
|
-
.simpleMode=${((_i = this.pagination) == null ? void 0 : _i.simpleMode) || false}
|
|
525
|
-
>
|
|
526
|
-
</sl-pagination>
|
|
527
|
-
</div>
|
|
528
|
-
`;
|
|
529
|
-
}
|
|
530
|
-
// 生成lit-table所需要的columns数组
|
|
531
|
-
buildColumns() {
|
|
532
|
-
var _a, _b, _c, _d;
|
|
533
|
-
const _columns = [];
|
|
534
|
-
const columnHelper = createColumnHelper();
|
|
535
|
-
const { treeConfig, treeEnabled } = this.getTreeInfo();
|
|
536
|
-
const treeIndentSize = treeConfig === false ? 0 : treeConfig.indentSize;
|
|
537
|
-
const firstDataIndex = (_a = this.columns[0]) == null ? void 0 : _a.dataIndex;
|
|
538
|
-
for (const col of this.columns) {
|
|
539
|
-
const {
|
|
540
|
-
dataIndex,
|
|
541
|
-
width,
|
|
542
|
-
align,
|
|
543
|
-
className,
|
|
544
|
-
ellipsis,
|
|
545
|
-
sorter,
|
|
546
|
-
filters,
|
|
547
|
-
filterMultiple,
|
|
548
|
-
defaultFilters,
|
|
549
|
-
onFilter,
|
|
550
|
-
filterDropdownProps,
|
|
551
|
-
onFilterDropdownVisibleChange
|
|
552
|
-
} = col;
|
|
553
|
-
const canSort = sorter && typeof sorter === "function";
|
|
554
|
-
const canFilter = filters && filters.length > 0;
|
|
555
|
-
const newCol = columnHelper.accessor((row) => row[dataIndex], {
|
|
556
|
-
id: dataIndex,
|
|
557
|
-
meta: {
|
|
558
|
-
align,
|
|
559
|
-
className,
|
|
560
|
-
ellipsis,
|
|
561
|
-
filters,
|
|
562
|
-
filterMultiple,
|
|
563
|
-
defaultFilters,
|
|
564
|
-
filterDropdownProps,
|
|
565
|
-
onFilterDropdownVisibleChange,
|
|
566
|
-
slCell: col.slCell,
|
|
567
|
-
slHeaderCell: col.slHeaderCell
|
|
568
|
-
},
|
|
569
|
-
cell: (info) => {
|
|
570
|
-
if (treeEnabled && firstDataIndex && dataIndex === firstDataIndex) {
|
|
571
|
-
const depth = typeof info.row.depth === "number" ? info.row.depth : 0;
|
|
572
|
-
const indent = Math.max(0, depth * (treeIndentSize || 16));
|
|
573
|
-
const canExpand = info.row.getCanExpand();
|
|
574
|
-
const expanded = info.row.getIsExpanded();
|
|
575
|
-
const toggleNode = canExpand ? html`
|
|
576
|
-
<sl-icon
|
|
577
|
-
class="row-expand-icon"
|
|
578
|
-
name="${expanded ? "dash-square" : "plus-square"}"
|
|
579
|
-
style="cursor:pointer;"
|
|
580
|
-
@click=${(e) => {
|
|
581
|
-
e.stopPropagation();
|
|
582
|
-
info.row.toggleExpanded();
|
|
583
|
-
}}
|
|
584
|
-
></sl-icon>
|
|
585
|
-
` : html`<span style="display:inline-block; width: 1em;"></span>`;
|
|
586
|
-
const valueNode = col.slot ? (() => {
|
|
587
|
-
const slotKey = `${CUSTOM_CELL}-${dataIndex}-${this.adapter.getRecordKey(info.row.original)}`;
|
|
588
|
-
return html`<slot name="${slotKey}" slot="${slotKey}">${info.getValue()}</slot>`;
|
|
589
|
-
})() : info.getValue();
|
|
590
|
-
return html`
|
|
591
|
-
<div class="tree-cell-content" style="display:flex; align-items:center; gap: 6px; padding-inline-start: ${indent}px;">
|
|
592
|
-
${toggleNode} <span class="tree-cell-text">${valueNode}</span>
|
|
593
|
-
</div>
|
|
594
|
-
`;
|
|
595
|
-
}
|
|
596
|
-
if (col.slot) {
|
|
597
|
-
const slotKey = `${CUSTOM_CELL}-${dataIndex}-${this.adapter.getRecordKey(info.row.original)}`;
|
|
598
|
-
return html`<slot name="${slotKey}" slot="${slotKey}">${info.getValue()}</slot>`;
|
|
599
|
-
}
|
|
600
|
-
return info.getValue();
|
|
601
|
-
},
|
|
602
|
-
header: () => col.title || dataIndex,
|
|
603
|
-
size: width
|
|
604
|
-
});
|
|
605
|
-
newCol.enableResizing = (_b = col.enableResizing) != null ? _b : this.enableColumnResizing;
|
|
606
|
-
if (newCol.enableResizing) {
|
|
607
|
-
newCol.minSize = 60;
|
|
608
|
-
newCol.maxSize = 500;
|
|
609
|
-
}
|
|
610
|
-
if (canSort) {
|
|
611
|
-
newCol.sortingFn = (rowA, rowB) => sorter(rowA.original, rowB.original);
|
|
612
|
-
}
|
|
613
|
-
if (canFilter && onFilter) {
|
|
614
|
-
newCol.filterFn = (row, _columnId, filterValue) => {
|
|
615
|
-
if (Array.isArray(filterValue)) {
|
|
616
|
-
return filterValue.some((val) => !!onFilter(val, row.original));
|
|
617
|
-
}
|
|
618
|
-
return !!onFilter(filterValue, row.original);
|
|
619
|
-
};
|
|
620
|
-
}
|
|
621
|
-
newCol.enableSorting = !!canSort;
|
|
622
|
-
newCol.enableColumnFilter = !!canFilter;
|
|
623
|
-
_columns.push(newCol);
|
|
624
|
-
}
|
|
625
|
-
if (this.rowSelection && !this.rowSelection.hidden) {
|
|
626
|
-
_columns.unshift(getSelectionColumn(this.rowSelection, this.rowKey));
|
|
627
|
-
}
|
|
628
|
-
const showExpandColumn = !treeEnabled && !!((_c = this == null ? void 0 : this.expandProps) == null ? void 0 : _c.rowExpandable);
|
|
629
|
-
if (showExpandColumn) _columns.unshift(getExpendRow(!!((_d = this.expandProps) == null ? void 0 : _d.expandRowByClick)));
|
|
630
|
-
if (this == null ? void 0 : this.rowDrag) _columns.unshift(getDragRow());
|
|
631
|
-
return _columns;
|
|
632
|
-
}
|
|
633
|
-
// 构建 tableState
|
|
634
|
-
buildTableState() {
|
|
635
|
-
var _a;
|
|
636
|
-
const rowSelectionOptions = getRowSelectionOptions({
|
|
637
|
-
rowSelection: this.rowSelection
|
|
638
|
-
});
|
|
639
|
-
const { treeEnabled } = this.getTreeInfo();
|
|
640
|
-
const cols = this.buildColumns();
|
|
641
|
-
const instance = this.tableController.table(__spreadProps(__spreadValues({
|
|
642
|
-
columns: cols,
|
|
643
|
-
data: this.dataSource,
|
|
644
|
-
enableColumnResizing: this.enableColumnResizing,
|
|
645
|
-
columnResizeMode: "onChange",
|
|
646
|
-
columnResizeDirection: this.direction,
|
|
647
|
-
manualPagination: !this.pagination,
|
|
648
|
-
getRowId: (row) => row[this.rowKey],
|
|
649
|
-
getSubRows: this.getSubRows,
|
|
650
|
-
getCoreRowModel: getCoreRowModel(),
|
|
651
|
-
getSortedRowModel: getSortedRowModel(),
|
|
652
|
-
getPaginationRowModel: getPaginationRowModel(),
|
|
653
|
-
getFilteredRowModel: getFilteredRowModel(),
|
|
654
|
-
getExpandedRowModel: getExpandedRowModel(),
|
|
655
|
-
state: {
|
|
656
|
-
rowSelection: this.rowSelectedMap,
|
|
657
|
-
sorting: this.sorting,
|
|
658
|
-
columnFilters: this.columnFilters,
|
|
659
|
-
columnSizing: this.columnSizing,
|
|
660
|
-
pagination: {
|
|
661
|
-
pageIndex: this.pageIndex,
|
|
662
|
-
pageSize: ((_a = this.pagination) == null ? void 0 : _a.pageSize) || 20
|
|
663
|
-
},
|
|
664
|
-
expanded: this.expandedMap,
|
|
665
|
-
columnPinning: this.columnPinning
|
|
666
|
-
},
|
|
667
|
-
onColumnSizingChange: this.handleColumnSizingChange,
|
|
668
|
-
onSortingChange: this.handleSortingChange,
|
|
669
|
-
onColumnFiltersChange: this.handleColumnFiltersChange
|
|
670
|
-
}, rowSelectionOptions), {
|
|
671
|
-
onRowSelectionChange: this.handleRowSelectionChange,
|
|
672
|
-
// 受控排序
|
|
673
|
-
manualSorting: this.adapter.getSortIsControlled(),
|
|
674
|
-
manualFiltering: this.adapter.getFilterIsControlled(),
|
|
675
|
-
getRowCanExpand: treeEnabled ? (row) => this.getSubRows(row.original).length > 0 : this.getRowCanExpand,
|
|
676
|
-
onExpandedChange: this.expendedChange
|
|
677
|
-
}));
|
|
678
|
-
return instance;
|
|
679
|
-
}
|
|
680
|
-
handleChange(extra) {
|
|
681
|
-
var _a;
|
|
682
|
-
this.dispatchEvent(
|
|
683
|
-
new CustomEvent("change", {
|
|
684
|
-
detail: __spreadValues({
|
|
685
|
-
sorting: this.sorting,
|
|
686
|
-
columnFilters: this.columnFilters
|
|
687
|
-
}, extra)
|
|
688
|
-
})
|
|
689
|
-
);
|
|
690
|
-
if (["sorting", "filters", "pagination"].includes(extra == null ? void 0 : extra.type) && ((_a = this.tableScroll) == null ? void 0 : _a.scrollToFirstRowOnChange)) {
|
|
691
|
-
this.adapter.tableScrollToTop();
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
render() {
|
|
695
|
-
const tableInstance = this.buildTableState();
|
|
696
|
-
return html`
|
|
697
|
-
<div
|
|
698
|
-
part="table-wrapper"
|
|
699
|
-
${ref(this.tableWrapRef)}
|
|
700
|
-
class=${classMap({
|
|
701
|
-
"table-wrapper": true,
|
|
702
|
-
[`table-direction-${this.direction}`]: true
|
|
703
|
-
})}
|
|
704
|
-
>
|
|
705
|
-
${this.renderPagination("top")}
|
|
706
|
-
<sl-table-spinner-container .loading=${this.loading} exportparts="table-container">
|
|
707
|
-
<div
|
|
708
|
-
class=${classMap({
|
|
709
|
-
"table-bordered": Boolean(this.bordered),
|
|
710
|
-
"table-nodata": this.dataSource.length === 0
|
|
711
|
-
})}
|
|
712
|
-
>
|
|
713
|
-
<div
|
|
714
|
-
part="table-container"
|
|
715
|
-
class=${classMap({
|
|
716
|
-
"table-container": !this.enableColumnResizing,
|
|
717
|
-
"table-columnresizing": this.enableColumnResizing || false
|
|
718
|
-
})}
|
|
719
|
-
>
|
|
720
|
-
${this.renderMainTable(tableInstance)}
|
|
721
|
-
</div>
|
|
722
|
-
</div>
|
|
723
|
-
</sl-table-spinner-container>
|
|
724
|
-
${this.renderPagination("bottom")}
|
|
725
|
-
</div>
|
|
726
|
-
`;
|
|
727
|
-
}
|
|
728
|
-
};
|
|
729
|
-
SlTable.dependencies = {
|
|
730
|
-
"sl-icon": SlIcon,
|
|
731
|
-
"sl-checkbox": SlCheckbox,
|
|
732
|
-
"sl-radio": SlRadio,
|
|
733
|
-
"sl-pagination": SlPagination
|
|
734
|
-
};
|
|
735
|
-
SlTable.styles = [table_style_default];
|
|
736
|
-
__decorateClass([
|
|
737
|
-
property({ type: Array })
|
|
738
|
-
], SlTable.prototype, "rowKey", 2);
|
|
739
|
-
__decorateClass([
|
|
740
|
-
property({ type: Array })
|
|
741
|
-
], SlTable.prototype, "columns", 2);
|
|
742
|
-
__decorateClass([
|
|
743
|
-
property({ type: Array })
|
|
744
|
-
], SlTable.prototype, "dataSource", 2);
|
|
745
|
-
__decorateClass([
|
|
746
|
-
property({ type: Boolean })
|
|
747
|
-
], SlTable.prototype, "loading", 2);
|
|
748
|
-
__decorateClass([
|
|
749
|
-
property({ type: Boolean })
|
|
750
|
-
], SlTable.prototype, "bordered", 2);
|
|
751
|
-
__decorateClass([
|
|
752
|
-
property({ type: String })
|
|
753
|
-
], SlTable.prototype, "direction", 2);
|
|
754
|
-
__decorateClass([
|
|
755
|
-
property({ type: Boolean })
|
|
756
|
-
], SlTable.prototype, "showHeader", 2);
|
|
757
|
-
__decorateClass([
|
|
758
|
-
property({ type: Object })
|
|
759
|
-
], SlTable.prototype, "rowSelection", 2);
|
|
760
|
-
__decorateClass([
|
|
761
|
-
property({ type: Object })
|
|
762
|
-
], SlTable.prototype, "tableScroll", 2);
|
|
763
|
-
__decorateClass([
|
|
764
|
-
property({ type: Object })
|
|
765
|
-
], SlTable.prototype, "pagination", 2);
|
|
766
|
-
__decorateClass([
|
|
767
|
-
property({ type: Object })
|
|
768
|
-
], SlTable.prototype, "expandProps", 2);
|
|
769
|
-
__decorateClass([
|
|
770
|
-
property({ type: Object })
|
|
771
|
-
], SlTable.prototype, "tree", 2);
|
|
772
|
-
__decorateClass([
|
|
773
|
-
property({ type: Boolean })
|
|
774
|
-
], SlTable.prototype, "enableColumnResizing", 2);
|
|
775
|
-
__decorateClass([
|
|
776
|
-
property({ type: Function })
|
|
777
|
-
], SlTable.prototype, "slHeaderRow", 2);
|
|
778
|
-
__decorateClass([
|
|
779
|
-
property({ type: Function })
|
|
780
|
-
], SlTable.prototype, "slRow", 2);
|
|
781
|
-
__decorateClass([
|
|
782
|
-
property({ type: Function })
|
|
783
|
-
], SlTable.prototype, "slColumnResize", 2);
|
|
784
|
-
__decorateClass([
|
|
785
|
-
property({ type: Object || Boolean })
|
|
786
|
-
], SlTable.prototype, "virtualized", 2);
|
|
787
|
-
__decorateClass([
|
|
788
|
-
property({ type: Boolean })
|
|
789
|
-
], SlTable.prototype, "rowDrag", 2);
|
|
790
|
-
__decorateClass([
|
|
791
|
-
property({ type: Function })
|
|
792
|
-
], SlTable.prototype, "slRowReorder", 2);
|
|
793
|
-
__decorateClass([
|
|
794
|
-
state()
|
|
795
|
-
], SlTable.prototype, "rowSelectedMap", 2);
|
|
796
|
-
__decorateClass([
|
|
797
|
-
state()
|
|
798
|
-
], SlTable.prototype, "expandedMap", 2);
|
|
799
|
-
__decorateClass([
|
|
800
|
-
state()
|
|
801
|
-
], SlTable.prototype, "sorting", 2);
|
|
802
|
-
__decorateClass([
|
|
803
|
-
state()
|
|
804
|
-
], SlTable.prototype, "columnFilters", 2);
|
|
805
|
-
__decorateClass([
|
|
806
|
-
state()
|
|
807
|
-
], SlTable.prototype, "tableWidth", 2);
|
|
808
|
-
__decorateClass([
|
|
809
|
-
state()
|
|
810
|
-
], SlTable.prototype, "columnSizing", 2);
|
|
811
|
-
__decorateClass([
|
|
812
|
-
state()
|
|
813
|
-
], SlTable.prototype, "pageIndex", 2);
|
|
814
|
-
__decorateClass([
|
|
815
|
-
state()
|
|
816
|
-
], SlTable.prototype, "columnPinning", 2);
|
|
817
|
-
|
|
818
|
-
export {
|
|
819
|
-
SlTable
|
|
820
|
-
};
|