@kdcloudjs/shoelace 1.0.9 → 1.0.11
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.22A3M2YQ.js +586 -0
- package/cdn/chunks/chunk.2E7GVO3N.js +1925 -0
- package/cdn/chunks/chunk.2EHWYELU.js +11 -0
- package/cdn/chunks/chunk.2GLKXEZH.js +11 -0
- package/cdn/chunks/chunk.2J6SQP4B.js +87 -0
- package/cdn/chunks/chunk.2LY7PHFF.js +11 -0
- package/cdn/chunks/chunk.2STG2AH7.js +11 -0
- package/cdn/chunks/chunk.2T7SDOCE.js +11 -0
- package/cdn/chunks/chunk.2YI6E5AY.js +50 -0
- package/cdn/chunks/chunk.34O6HKP2.js +11 -0
- package/cdn/chunks/chunk.3CPEBZVA.js +24 -0
- package/cdn/chunks/chunk.3DB3WXY7.js +21 -0
- package/cdn/chunks/chunk.3EK26RRI.js +11 -0
- package/cdn/chunks/chunk.3GOTFTB2.js +27 -0
- package/cdn/chunks/chunk.3NLFUM7D.js +292 -0
- package/cdn/chunks/chunk.3P35WB6S.js +21 -0
- package/cdn/chunks/chunk.3PQGSM3Z.js +346 -0
- package/cdn/chunks/chunk.3ZFESO7N.js +11 -0
- package/cdn/chunks/chunk.3ZGZCVUR.js +724 -0
- package/cdn/chunks/chunk.3ZVHPJXQ.js +11 -0
- package/cdn/chunks/chunk.42PCX7OA.js +11 -0
- package/cdn/chunks/chunk.4HLF6E5S.js +313 -0
- package/cdn/chunks/chunk.4JOM6WNB.js +27 -0
- package/cdn/chunks/chunk.4KYL7I5R.js +11 -0
- package/cdn/chunks/chunk.4N4SXTKN.js +28 -0
- package/cdn/chunks/chunk.4NBBJCP5.js +24 -0
- package/cdn/chunks/chunk.4NQLURU3.js +21 -0
- package/cdn/chunks/chunk.4SZGQQXG.js +11 -0
- package/cdn/chunks/chunk.4YUU7XVF.js +73 -0
- package/cdn/chunks/chunk.5AHQNL5Y.js +55 -0
- package/cdn/chunks/chunk.5HFOXRZT.js +49 -0
- package/cdn/chunks/chunk.5N42UBDF.js +21 -0
- package/cdn/chunks/chunk.5NIZNLUR.js +113 -0
- package/cdn/chunks/chunk.5ZKQCMKA.js +11 -0
- package/cdn/chunks/chunk.6AYVY3R6.js +11 -0
- package/cdn/chunks/chunk.6CGGGWLL.js +28 -0
- package/cdn/chunks/chunk.6FJGIUON.js +11 -0
- package/cdn/chunks/chunk.6S5OOFWU.js +21 -0
- package/cdn/chunks/chunk.6T54X5QA.js +266 -0
- package/cdn/chunks/chunk.772JJMY5.js +11 -0
- package/cdn/chunks/chunk.7CIFKUB3.js +27 -0
- package/cdn/chunks/chunk.7YTQ6YRW.js +367 -0
- package/cdn/chunks/chunk.7ZH7CQ2M.js +25 -0
- package/cdn/chunks/chunk.A3PVBFPS.js +27 -0
- package/cdn/chunks/chunk.ACBGT7WE.js +24 -0
- package/cdn/chunks/chunk.ACQXACKL.js +183 -0
- package/cdn/chunks/chunk.AFIGAWL6.js +25 -0
- package/cdn/chunks/chunk.AIN2IDXT.js +186 -0
- package/cdn/chunks/chunk.AJCLFCVW.js +11 -0
- package/cdn/chunks/chunk.AMIUWLP3.js +49 -0
- package/cdn/chunks/chunk.AQCVHF7X.js +402 -0
- package/cdn/chunks/chunk.AXJ7LT6J.js +236 -0
- package/cdn/chunks/chunk.B36WRXBI.js +26 -0
- package/cdn/chunks/chunk.B4BC6WJB.js +1990 -0
- package/cdn/chunks/chunk.BFWYMZ7M.js +27 -0
- package/cdn/chunks/chunk.BHOWNEDP.js +11 -0
- package/cdn/chunks/chunk.BIRDFPJ7.js +502 -0
- package/cdn/chunks/chunk.BNIWDM2W.js +21 -0
- package/cdn/chunks/chunk.BNZE5LEG.js +24 -0
- package/cdn/chunks/chunk.BORE5JTW.js +120 -0
- package/cdn/chunks/chunk.BQ7CXMR7.js +233 -0
- package/cdn/chunks/chunk.BT2KYTZY.js +21 -0
- package/cdn/chunks/chunk.C4OYNMZR.js +379 -0
- package/cdn/chunks/chunk.C627WE5R.js +25 -0
- package/cdn/chunks/chunk.CA5Q6W56.js +122 -0
- package/cdn/chunks/chunk.CTYP46R3.js +21 -0
- package/cdn/chunks/chunk.CV3AWRN2.js +11 -0
- package/cdn/chunks/chunk.D5XAV2XI.js +11 -0
- package/cdn/chunks/chunk.DHJ347NX.js +391 -0
- package/cdn/chunks/chunk.DHWD4EEV.js +336 -0
- package/cdn/chunks/chunk.DULUMSS5.js +11 -0
- package/cdn/chunks/chunk.DVWZNKR5.js +11 -0
- package/cdn/chunks/chunk.EDMNW326.js +271 -0
- package/cdn/chunks/chunk.EGNFJEEB.js +25 -0
- package/cdn/chunks/chunk.EJVG3JOX.js +455 -0
- package/cdn/chunks/chunk.EMRX6KNZ.js +512 -0
- package/cdn/chunks/chunk.EZFSCYEJ.js +25 -0
- package/cdn/chunks/chunk.FE7WNJ4G.js +24 -0
- package/cdn/chunks/chunk.FFKQLO7Y.js +142 -0
- package/cdn/chunks/chunk.FLM54LH6.js +24 -0
- package/cdn/chunks/chunk.FNCRZ35W.js +137 -0
- package/cdn/chunks/chunk.GAFIZO77.js +24 -0
- package/cdn/chunks/chunk.GSZG553O.js +11 -0
- package/cdn/chunks/chunk.GV6O3XI6.js +279 -0
- package/cdn/chunks/chunk.HDNOLEYJ.js +24 -0
- package/cdn/chunks/chunk.I5UAVWWB.js +11 -0
- package/cdn/chunks/chunk.IAAOF2RM.js +21 -0
- package/cdn/chunks/chunk.IFAQECJ5.js +21 -0
- package/cdn/chunks/chunk.IKK2ENLT.js +11 -0
- package/cdn/chunks/chunk.IMHHYNSZ.js +11 -0
- package/cdn/chunks/chunk.ITEV4ANR.js +11 -0
- package/cdn/chunks/chunk.IW24QF5E.js +197 -0
- package/cdn/chunks/chunk.J45TJV3R.js +21 -0
- package/cdn/chunks/chunk.JBHAIZP4.js +7240 -0
- package/cdn/chunks/chunk.JBPCQOQK.js +11 -0
- package/cdn/chunks/chunk.JE4XQUZW.js +63 -0
- package/cdn/chunks/chunk.JGBJMO2U.js +11 -0
- package/cdn/chunks/chunk.JGVCZ773.js +77 -0
- package/cdn/chunks/chunk.JHM4L4J3.js +21 -0
- package/cdn/chunks/chunk.JJBNZVSZ.js +21 -0
- package/cdn/chunks/chunk.JMUKLJEY.js +127 -0
- package/cdn/chunks/chunk.JP2TFC3R.js +11 -0
- package/cdn/chunks/chunk.K5RMCSRC.js +5845 -0
- package/cdn/chunks/chunk.K6SREXHF.js +21 -0
- package/cdn/chunks/chunk.KDZXJJAO.js +342 -0
- package/cdn/chunks/chunk.KGN5SJ4X.js +21 -0
- package/cdn/chunks/chunk.KLN5LOSQ.js +822 -0
- package/cdn/chunks/chunk.KULTWLSD.js +137 -0
- package/cdn/chunks/chunk.KUZLWLX3.js +11 -0
- package/cdn/chunks/chunk.KZKZOQJN.js +21 -0
- package/cdn/chunks/chunk.L22ZANUG.js +11 -0
- package/cdn/chunks/chunk.L4GODPF4.js +123 -0
- package/cdn/chunks/chunk.LCWBKBR6.js +334 -0
- package/cdn/chunks/chunk.LGK3E6KO.js +27 -0
- package/cdn/chunks/chunk.LPIAAH6L.js +11 -0
- package/cdn/chunks/chunk.LUDLML6M.js +11 -0
- package/cdn/chunks/chunk.LXM5HC7B.js +54 -0
- package/cdn/chunks/chunk.M2LPTVBV.js +25 -0
- package/cdn/chunks/chunk.MAKNUJR5.js +257 -0
- package/cdn/chunks/chunk.MGBILHSB.js +28 -0
- package/cdn/chunks/chunk.MNVKEC3Z.js +11 -0
- package/cdn/chunks/chunk.MSDJJPRE.js +25 -0
- package/cdn/chunks/chunk.MTK44GWI.js +11 -0
- package/cdn/chunks/chunk.MWGLIM4P.js +11 -0
- package/cdn/chunks/chunk.MWVEYDIZ.js +11 -0
- package/cdn/chunks/chunk.ND3OJQXG.js +314 -0
- package/cdn/chunks/chunk.NGESNEUN.js +282 -0
- package/cdn/chunks/chunk.NNFSUXL3.js +11 -0
- package/cdn/chunks/chunk.NVQYIJTH.js +21 -0
- package/cdn/chunks/chunk.NVSKFYMX.js +11 -0
- package/cdn/chunks/chunk.NYPURUZ2.js +48 -0
- package/cdn/chunks/chunk.O4RQMHLI.js +11 -0
- package/cdn/chunks/chunk.O5MG3DUF.js +216 -0
- package/cdn/chunks/chunk.OAAKSS62.js +219 -0
- package/cdn/chunks/chunk.OBWAFF62.js +114 -0
- package/cdn/chunks/chunk.OJGQCMOO.js +291 -0
- package/cdn/chunks/chunk.OMKHV7Q2.js +37 -0
- package/cdn/chunks/chunk.OPVXYKDL.js +29 -0
- package/cdn/chunks/chunk.OV5VSA73.js +24 -0
- package/cdn/chunks/chunk.P25ZLB3Q.js +21 -0
- package/cdn/chunks/chunk.P2PVBFQY.js +27 -0
- package/cdn/chunks/chunk.PBGNTVJS.js +21 -0
- package/cdn/chunks/chunk.PDCHX3MK.js +299 -0
- package/cdn/chunks/chunk.PG2UKS6C.js +11 -0
- package/cdn/chunks/chunk.PL24CQWF.js +11 -0
- package/cdn/chunks/chunk.POWSXWQO.js +11 -0
- package/cdn/chunks/chunk.PQDBL5S4.js +1058 -0
- package/cdn/chunks/chunk.PWUNZ5VX.js +117 -0
- package/cdn/chunks/chunk.PZHXSRPD.js +82 -0
- package/cdn/chunks/chunk.QHJR4NNF.js +21 -0
- package/cdn/chunks/chunk.QHWDC4SJ.js +21 -0
- package/cdn/chunks/chunk.QKUOUPFZ.js +11 -0
- package/cdn/chunks/chunk.QTEHRCWY.js +11 -0
- package/cdn/chunks/chunk.R5C3NY3M.js +2647 -0
- package/cdn/chunks/chunk.RYOIRNO4.js +11 -0
- package/cdn/chunks/chunk.SCV6EE7W.js +11 -0
- package/cdn/chunks/chunk.SEYY5NYF.js +24 -0
- package/cdn/chunks/chunk.SLJTL6UJ.js +11 -0
- package/cdn/chunks/chunk.SOPWTFR2.js +24 -0
- package/cdn/chunks/chunk.SW4RRYMD.js +42 -0
- package/cdn/chunks/chunk.T6CXKURD.js +574 -0
- package/cdn/chunks/chunk.TEBNMPF6.js +11 -0
- package/cdn/chunks/chunk.TEGE7AMT.js +21 -0
- package/cdn/chunks/chunk.TG7CCJLG.js +11 -0
- package/cdn/chunks/chunk.TGAMAVFX.js +153 -0
- package/cdn/chunks/chunk.TKSVHHZH.js +33 -0
- package/cdn/chunks/chunk.TOVCR6RW.js +24 -0
- package/cdn/chunks/chunk.TRN6KKZP.js +11 -0
- package/cdn/chunks/chunk.TVMO6TMA.js +25 -0
- package/cdn/chunks/chunk.UBPIDF2E.js +113 -0
- package/cdn/chunks/chunk.UIVOD6BA.js +67 -0
- package/cdn/chunks/chunk.UJHDHH5Y.js +118 -0
- package/cdn/chunks/chunk.UMS57BRH.js +28 -0
- package/cdn/chunks/chunk.US7MEO3T.js +24 -0
- package/cdn/chunks/chunk.UXNBW664.js +11 -0
- package/cdn/chunks/chunk.V35WR5OJ.js +11 -0
- package/cdn/chunks/chunk.V4DE7N2N.js +302 -0
- package/cdn/chunks/chunk.V4W3G6BQ.js +29 -0
- package/cdn/chunks/chunk.V4WK33BA.js +11 -0
- package/cdn/chunks/chunk.V6BWOKR3.js +21 -0
- package/cdn/chunks/chunk.V7KC3VJS.js +28 -0
- package/cdn/chunks/chunk.VCFGDJIV.js +11 -0
- package/cdn/chunks/chunk.VD3UWQ7K.js +25 -0
- package/cdn/chunks/chunk.VGQMV2A5.js +11 -0
- package/cdn/chunks/chunk.VUQ3O6ZO.js +26 -0
- package/cdn/chunks/chunk.VZV7YL3P.js +79 -0
- package/cdn/chunks/chunk.W3B35NGL.js +21 -0
- package/cdn/chunks/chunk.WG45N2GR.js +11 -0
- package/cdn/chunks/chunk.WGROJTCR.js +25 -0
- package/cdn/chunks/chunk.WKZI3WTY.js +158 -0
- package/cdn/chunks/chunk.WMLOXTSS.js +131 -0
- package/cdn/chunks/chunk.WTB7HVHT.js +21 -0
- package/cdn/chunks/chunk.WW3SBVGF.js +11 -0
- package/cdn/chunks/chunk.WYDKDGNR.js +11 -0
- package/cdn/chunks/chunk.X7AFBYQV.js +29 -0
- package/cdn/chunks/chunk.XKRE5JJO.js +255 -0
- package/cdn/chunks/chunk.XLWDKVJI.js +103 -0
- package/cdn/chunks/chunk.XTXV76WQ.js +29 -0
- package/cdn/chunks/chunk.XY7ZDMEJ.js +24 -0
- package/cdn/chunks/chunk.XZRZTPLD.js +11 -0
- package/cdn/chunks/chunk.YDVM27WK.js +28 -0
- package/cdn/chunks/chunk.YFRKEJ45.js +75 -0
- package/cdn/chunks/chunk.YGE6OCUH.js +36 -0
- package/cdn/chunks/chunk.YINZT6YC.js +95 -0
- package/cdn/chunks/chunk.YQMWKNTM.js +26 -0
- package/cdn/chunks/chunk.YQTR5KEY.js +93 -0
- package/cdn/chunks/chunk.YSBMACNG.js +11 -0
- package/cdn/chunks/chunk.ZBCJA323.js +11 -0
- package/cdn/chunks/chunk.ZGK33JLX.js +11 -0
- package/cdn/chunks/chunk.ZHQ25TMS.js +24 -0
- package/cdn/chunks/chunk.ZP57NVO6.js +135 -0
- package/cdn/chunks/chunk.ZXUIDXUO.js +97 -0
- package/cdn/components/alert/alert.component.js +5 -5
- package/cdn/components/alert/alert.js +6 -6
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +6 -6
- package/cdn/components/calendar/calendar.js +6 -6
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +4 -4
- package/cdn/components/carousel/carousel.js +5 -5
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +10 -10
- package/cdn/components/date-panel/date-panel.js +10 -10
- package/cdn/components/datepicker/datepicker.component.js +14 -14
- package/cdn/components/datepicker/datepicker.js +14 -14
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +5 -5
- package/cdn/components/dialog/dialog.js +6 -6
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +5 -5
- package/cdn/components/drawer/drawer.js +6 -6
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +6 -6
- package/cdn/components/menu-item/menu-item.js +7 -7
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +2 -2
- package/cdn/components/nav/nav.js +3 -3
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +2 -2
- package/cdn/components/nav-item/nav-item.js +3 -3
- package/cdn/components/nav-submenu/nav-submenu.component.js +4 -4
- package/cdn/components/nav-submenu/nav-submenu.js +5 -5
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +10 -10
- package/cdn/components/pagination/pagination.component.js +11 -11
- package/cdn/components/pagination/pagination.js +11 -11
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +3 -3
- package/cdn/components/screen/screen.js +4 -4
- package/cdn/components/select/select.component.js +7 -7
- package/cdn/components/select/select.js +8 -8
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +6 -6
- package/cdn/components/table/col-group.js +2 -2
- package/cdn/components/table/features/col-pining.js +2 -2
- package/cdn/components/table/features/index.js +2 -2
- package/cdn/components/table/head-table.js +25 -25
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +34 -34
- package/cdn/components/table/table.js +35 -35
- package/cdn/components/table/utils.js +1 -1
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-panel/time-panel.component.js +5 -5
- package/cdn/components/time-panel/time-panel.js +5 -5
- package/cdn/components/timepicker/timepicker.component.js +14 -14
- package/cdn/components/timepicker/timepicker.js +14 -14
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +8 -8
- package/cdn/components/tree/tree.js +9 -9
- package/cdn/components/tree-item/tree-item.component.js +5 -5
- package/cdn/components/tree-item/tree-item.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +3294 -3294
- package/cdn/react/alert/index.js +6 -6
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +5 -5
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +11 -11
- package/cdn/react/datepicker/index.js +15 -15
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +6 -6
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +6 -6
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.js +211 -211
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +7 -7
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +3 -3
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +3 -3
- package/cdn/react/nav-submenu/index.js +5 -5
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +12 -12
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +4 -4
- package/cdn/react/select/index.js +8 -8
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-group/index.js +6 -6
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +35 -35
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/timepicker/index.js +15 -15
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +9 -9
- package/cdn/react/tree-item/index.js +6 -6
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +202 -202
- package/cdn/types/vue/index.d.ts +399 -399
- package/cdn/vscode.html-custom-data.json +295 -295
- package/cdn/web-types.json +618 -618
- package/dist/chunks/chunk.2AGMSWQ3.js +24 -0
- package/dist/chunks/chunk.2AKPKESP.js +25 -0
- package/dist/chunks/chunk.2B6SZPSB.js +11 -0
- package/dist/chunks/chunk.2G5BRIZO.js +25 -0
- package/dist/chunks/chunk.2GEKAE7B.js +21 -0
- package/dist/chunks/chunk.2HWAAINE.js +24 -0
- package/dist/chunks/chunk.2I5NSDA3.js +50 -0
- package/dist/chunks/chunk.2JBERLVD.js +42 -0
- package/dist/chunks/chunk.2KIO3HAG.js +25 -0
- package/dist/chunks/chunk.2SLZZQYM.js +192 -0
- package/dist/chunks/chunk.2XKG643M.js +11 -0
- package/dist/chunks/chunk.2XVFEHSO.js +361 -0
- package/dist/chunks/chunk.3MHYIUMZ.js +11 -0
- package/dist/chunks/chunk.3MI6FFND.js +280 -0
- package/dist/chunks/chunk.3OVZFWLQ.js +90 -0
- package/dist/chunks/chunk.3U2YGNEM.js +11 -0
- package/dist/chunks/chunk.3W5WAOJN.js +28 -0
- package/dist/chunks/chunk.4BSHT5OM.js +119 -0
- package/dist/chunks/chunk.4RHTPUKV.js +11 -0
- package/dist/chunks/chunk.4UGGBC4S.js +75 -0
- package/dist/chunks/chunk.4WIX2IJQ.js +26 -0
- package/dist/chunks/chunk.566J3G5O.js +28 -0
- package/dist/chunks/chunk.5AHQNL5Y.js +55 -0
- package/dist/chunks/chunk.5BXLFKDP.js +27 -0
- package/dist/chunks/chunk.5VMZZO5N.js +151 -0
- package/dist/chunks/chunk.5WEDPOQM.js +24 -0
- package/dist/chunks/chunk.6AWZT2DL.js +132 -0
- package/dist/chunks/chunk.6D337CRO.js +11 -0
- package/dist/chunks/chunk.6IWPS33G.js +11 -0
- package/dist/chunks/chunk.6QHPFU7W.js +11 -0
- package/dist/chunks/chunk.77DZUVS6.js +24 -0
- package/dist/chunks/chunk.7DCG5NJM.js +11 -0
- package/dist/chunks/chunk.7ENY6KCX.js +25 -0
- package/dist/chunks/chunk.7G3P2HOV.js +73 -0
- package/dist/chunks/chunk.7IZ4S4JF.js +263 -0
- package/dist/chunks/chunk.7N2XFSOU.js +29 -0
- package/dist/chunks/chunk.7UEZE5SE.js +63 -0
- package/dist/chunks/chunk.7ZZ53HWP.js +11 -0
- package/dist/chunks/chunk.A236XJNK.js +437 -0
- package/dist/chunks/chunk.ACFWV6JZ.js +91 -0
- package/dist/chunks/chunk.AQLIAUBR.js +28 -0
- package/dist/chunks/chunk.AVNQQS4Q.js +21 -0
- package/dist/chunks/chunk.BJEARW3E.js +28 -0
- package/dist/chunks/chunk.BS32CM5D.js +80 -0
- package/dist/chunks/chunk.BU33S5IX.js +117 -0
- package/dist/chunks/chunk.BU7CS7DG.js +24 -0
- package/dist/chunks/chunk.BUKXV23V.js +24 -0
- package/dist/chunks/chunk.BZBOJSAW.js +11 -0
- package/dist/chunks/chunk.C3KTGA3N.js +11 -0
- package/dist/chunks/chunk.CC7B3VFN.js +11 -0
- package/dist/chunks/chunk.CD3W4OKL.js +231 -0
- package/dist/chunks/chunk.CDENJSIL.js +25 -0
- package/dist/chunks/chunk.CDMX7FSB.js +45 -0
- package/dist/chunks/chunk.CFUHD4SV.js +21 -0
- package/dist/chunks/chunk.CHQ55Z57.js +29 -0
- package/dist/chunks/chunk.CK6OV2BK.js +338 -0
- package/dist/chunks/chunk.CLEZ2AZE.js +100 -0
- package/dist/chunks/chunk.CSVWI6Y4.js +25 -0
- package/dist/chunks/chunk.CUYJVL7R.js +35 -0
- package/dist/chunks/chunk.CW3SMEMO.js +111 -0
- package/dist/chunks/chunk.CWIT4JOL.js +11 -0
- package/dist/chunks/chunk.CXUTYTWH.js +294 -0
- package/dist/chunks/chunk.CYJU5GS7.js +11 -0
- package/dist/chunks/chunk.D3Y3WW77.js +25 -0
- package/dist/chunks/chunk.DHQWUNZ7.js +26 -0
- package/dist/chunks/chunk.DPPHNIDC.js +11 -0
- package/dist/chunks/chunk.DUMLPWIL.js +24 -0
- package/dist/chunks/chunk.DW7HAH5F.js +21 -0
- package/dist/chunks/chunk.DZMRFWYF.js +11 -0
- package/dist/chunks/chunk.E65L7RMX.js +21 -0
- package/dist/chunks/chunk.EBJFB5ED.js +28 -0
- package/dist/chunks/chunk.EGMPNGE4.js +27 -0
- package/dist/chunks/chunk.EI4X2NZZ.js +11 -0
- package/dist/chunks/chunk.EJY3J7NW.js +134 -0
- package/dist/chunks/chunk.ETW3CARH.js +85 -0
- package/dist/chunks/chunk.EUHALBSG.js +27 -0
- package/dist/chunks/chunk.EYXJPF4T.js +11 -0
- package/dist/chunks/chunk.F2BIKL72.js +34 -0
- package/dist/chunks/chunk.F5KDDEGG.js +21 -0
- package/dist/chunks/chunk.FF3JSJKT.js +747 -0
- package/dist/chunks/chunk.FJD2BLEJ.js +494 -0
- package/dist/chunks/chunk.FSGF5W6S.js +21 -0
- package/dist/chunks/chunk.FZHUM3HC.js +11 -0
- package/dist/chunks/chunk.G22CZGOK.js +21 -0
- package/dist/chunks/chunk.G2XPKRQD.js +11 -0
- package/dist/chunks/chunk.GGK2EW5V.js +59 -0
- package/dist/chunks/chunk.GJADB4CF.js +11 -0
- package/dist/chunks/chunk.GJBMOBND.js +21 -0
- package/dist/chunks/chunk.GN44I7UO.js +24 -0
- package/dist/chunks/chunk.GQGC3KU4.js +371 -0
- package/dist/chunks/chunk.H2B2ZHRX.js +67 -0
- package/dist/chunks/chunk.H4H7GWLL.js +814 -0
- package/dist/chunks/chunk.H5R4TGZH.js +11 -0
- package/dist/chunks/chunk.HTFHWJM3.js +328 -0
- package/dist/chunks/chunk.HTHEA36S.js +21 -0
- package/dist/chunks/chunk.I7A23GA6.js +29 -0
- package/dist/chunks/chunk.I7LLE46P.js +11 -0
- package/dist/chunks/chunk.I7MYJ6T7.js +21 -0
- package/dist/chunks/chunk.IGD3XHBJ.js +11 -0
- package/dist/chunks/chunk.INHRT4XX.js +252 -0
- package/dist/chunks/chunk.J76YHVQV.js +11 -0
- package/dist/chunks/chunk.JEHBPENY.js +11 -0
- package/dist/chunks/chunk.JEIRYLA7.js +11 -0
- package/dist/chunks/chunk.JGOR72YW.js +11 -0
- package/dist/chunks/chunk.JI646VQW.js +21 -0
- package/dist/chunks/chunk.JPBXGFR4.js +180 -0
- package/dist/chunks/chunk.JRE3XEGV.js +96 -0
- package/dist/chunks/chunk.K5UHBRBV.js +11 -0
- package/dist/chunks/chunk.KFD6SN4C.js +11 -0
- package/dist/chunks/chunk.KIRCNHCN.js +11 -0
- package/dist/chunks/chunk.KKZQFBSH.js +306 -0
- package/dist/chunks/chunk.KUH7IHNM.js +21 -0
- package/dist/chunks/chunk.L2GNETEW.js +52 -0
- package/dist/chunks/chunk.L3EQKDDD.js +22 -0
- package/dist/chunks/chunk.LDYNEEPR.js +25 -0
- package/dist/chunks/chunk.LHEMCYGN.js +21 -0
- package/dist/chunks/chunk.LI6FEX4U.js +11 -0
- package/dist/chunks/chunk.LJNA7HKE.js +384 -0
- package/dist/chunks/chunk.LKK2PFM6.js +11 -0
- package/dist/chunks/chunk.LO3Y3SC3.js +21 -0
- package/dist/chunks/chunk.LOQEZNOO.js +11 -0
- package/dist/chunks/chunk.LS6NLVX5.js +247 -0
- package/dist/chunks/chunk.LZYWPESL.js +11 -0
- package/dist/chunks/chunk.MBBHJ5GO.js +337 -0
- package/dist/chunks/chunk.MEBOP6MN.js +11 -0
- package/dist/chunks/chunk.MHS3FJGV.js +11 -0
- package/dist/chunks/chunk.MJJGFKLO.js +21 -0
- package/dist/chunks/chunk.MRGIVQTT.js +949 -0
- package/dist/chunks/chunk.MU5AZVCP.js +227 -0
- package/dist/chunks/chunk.NNXYAEOE.js +311 -0
- package/dist/chunks/chunk.NPS3ESCM.js +126 -0
- package/dist/chunks/chunk.O4XNLUHD.js +24 -0
- package/dist/chunks/chunk.OMKHV7Q2.js +37 -0
- package/dist/chunks/chunk.OSQ3CCFF.js +214 -0
- package/dist/chunks/chunk.OUNPBRRD.js +22 -0
- package/dist/chunks/chunk.OVX7KABZ.js +113 -0
- package/dist/chunks/chunk.OX3TLBRT.js +11 -0
- package/dist/chunks/chunk.PAX76REB.js +27 -0
- package/dist/chunks/chunk.PKSNYBHX.js +448 -0
- package/dist/chunks/chunk.PLFXQQK7.js +27 -0
- package/dist/chunks/chunk.PNOWRX3O.js +21 -0
- package/dist/chunks/chunk.PQ5ZAUZQ.js +11 -0
- package/dist/chunks/chunk.Q4TW2YVD.js +568 -0
- package/dist/chunks/chunk.Q4TZCBZJ.js +109 -0
- package/dist/chunks/chunk.Q5QQPLBB.js +11 -0
- package/dist/chunks/chunk.QANQXALU.js +126 -0
- package/dist/chunks/chunk.QDH4YEPH.js +11 -0
- package/dist/chunks/chunk.QHUOTUN2.js +147 -0
- package/dist/chunks/chunk.QIBAK7JU.js +11 -0
- package/dist/chunks/chunk.QMGJ4MAM.js +11 -0
- package/dist/chunks/chunk.QMXUTF42.js +29 -0
- package/dist/chunks/chunk.QP55ES4D.js +21 -0
- package/dist/chunks/chunk.QYMPK63A.js +21 -0
- package/dist/chunks/chunk.QYPMCDLQ.js +75 -0
- package/dist/chunks/chunk.R7KBW4QU.js +213 -0
- package/dist/chunks/chunk.RAQSRVTG.js +293 -0
- package/dist/chunks/chunk.RB2I5S6R.js +26 -0
- package/dist/chunks/chunk.RCY5ZNAO.js +25 -0
- package/dist/chunks/chunk.RILCHLUW.js +11 -0
- package/dist/chunks/chunk.RRE67WPJ.js +25 -0
- package/dist/chunks/chunk.RS5RBPPC.js +24 -0
- package/dist/chunks/chunk.RXBN6NOS.js +27 -0
- package/dist/chunks/chunk.RXIN2NBH.js +11 -0
- package/dist/chunks/chunk.RXL26ZVA.js +21 -0
- package/dist/chunks/chunk.S3KIYD3N.js +119 -0
- package/dist/chunks/chunk.SWBDS6VT.js +21 -0
- package/dist/chunks/chunk.SZGU5QMS.js +46 -0
- package/dist/chunks/chunk.T5EH4HRM.js +28 -0
- package/dist/chunks/chunk.T6LQGRUO.js +11 -0
- package/dist/chunks/chunk.T75MXKKM.js +11 -0
- package/dist/chunks/chunk.TJEPUVRV.js +25 -0
- package/dist/chunks/chunk.TJTYBIR7.js +181 -0
- package/dist/chunks/chunk.TN7PWYQP.js +315 -0
- package/dist/chunks/chunk.TNW2T6C3.js +550 -0
- package/dist/chunks/chunk.TS6C6XE6.js +11 -0
- package/dist/chunks/chunk.TVTYAME6.js +24 -0
- package/dist/chunks/chunk.U3TBBNK7.js +11 -0
- package/dist/chunks/chunk.U3UMKL2C.js +277 -0
- package/dist/chunks/chunk.UCPVFXHQ.js +33 -0
- package/dist/chunks/chunk.UCRIUDWV.js +24 -0
- package/dist/chunks/chunk.UFZ64NW7.js +286 -0
- package/dist/chunks/chunk.UJBLG2EM.js +45 -0
- package/dist/chunks/chunk.USK5EGSO.js +11 -0
- package/dist/chunks/chunk.UTRX2GAS.js +11 -0
- package/dist/chunks/chunk.UU4BKVCO.js +21 -0
- package/dist/chunks/chunk.UUFFPP2C.js +397 -0
- package/dist/chunks/chunk.VCKKWWX5.js +11 -0
- package/dist/chunks/chunk.VFO6XX4A.js +93 -0
- package/dist/chunks/chunk.VP6N43AR.js +11 -0
- package/dist/chunks/chunk.VSR2VRYO.js +11 -0
- package/dist/chunks/chunk.VWUHLZYU.js +167 -0
- package/dist/chunks/chunk.W4CK4MNF.js +11 -0
- package/dist/chunks/chunk.W5XOGECB.js +135 -0
- package/dist/chunks/chunk.W6WWCEDK.js +11 -0
- package/dist/chunks/chunk.WLIH7OTH.js +116 -0
- package/dist/chunks/chunk.WYGWB63T.js +11 -0
- package/dist/chunks/chunk.XLVA5ZEI.js +11 -0
- package/dist/chunks/chunk.XSTUR5XW.js +503 -0
- package/dist/chunks/chunk.XSZIVLXG.js +21 -0
- package/dist/chunks/chunk.XWFL7NJJ.js +11 -0
- package/dist/chunks/chunk.Y4XGHZNT.js +100 -0
- package/dist/chunks/chunk.Y55XZF3E.js +11 -0
- package/dist/chunks/chunk.YCYQBXZ6.js +1056 -0
- package/dist/chunks/chunk.YETPLLCY.js +114 -0
- package/dist/chunks/chunk.YFHUR4GU.js +21 -0
- package/dist/chunks/chunk.YPHENAEZ.js +417 -0
- package/dist/chunks/chunk.Z5BUSFRU.js +24 -0
- package/dist/chunks/chunk.Z73U3F6N.js +11 -0
- package/dist/chunks/chunk.ZABCFN7Q.js +21 -0
- package/dist/chunks/chunk.ZO3NUUSF.js +274 -0
- package/dist/chunks/chunk.ZUEFDSKK.js +11 -0
- package/dist/chunks/chunk.ZYEU5MVF.js +11 -0
- package/dist/components/alert/alert.component.js +4 -4
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +4 -4
- package/dist/components/button/button.js +5 -5
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +6 -6
- package/dist/components/calendar/calendar.js +6 -6
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +4 -4
- package/dist/components/carousel/carousel.js +5 -5
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +13 -13
- package/dist/components/color-picker/color-picker.js +14 -14
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/date-panel/date-panel.component.js +9 -9
- package/dist/components/date-panel/date-panel.js +9 -9
- package/dist/components/datepicker/datepicker.component.js +13 -13
- package/dist/components/datepicker/datepicker.js +13 -13
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +4 -4
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +4 -4
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +3 -3
- package/dist/components/input/input.js +4 -4
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +6 -6
- package/dist/components/menu-item/menu-item.js +7 -7
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +2 -2
- package/dist/components/nav/nav.js +3 -3
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +4 -4
- package/dist/components/nav-submenu/nav-submenu.js +5 -5
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +10 -10
- package/dist/components/pagination/pagination.component.js +11 -11
- package/dist/components/pagination/pagination.js +11 -11
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/screen.component.js +3 -3
- package/dist/components/screen/screen.js +4 -4
- package/dist/components/select/select.component.js +6 -6
- package/dist/components/select/select.js +7 -7
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +6 -6
- package/dist/components/table/col-group.js +2 -2
- package/dist/components/table/features/col-pining.js +2 -2
- package/dist/components/table/features/index.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 +33 -33
- package/dist/components/table/table.js +34 -34
- package/dist/components/table/utils.js +1 -1
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +5 -5
- package/dist/components/time-panel/time-panel.js +5 -5
- package/dist/components/timepicker/timepicker.component.js +13 -13
- package/dist/components/timepicker/timepicker.js +13 -13
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +8 -8
- package/dist/components/tree/tree.js +9 -9
- package/dist/components/tree-item/tree-item.component.js +5 -5
- package/dist/components/tree-item/tree-item.js +6 -6
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +3294 -3294
- package/dist/react/alert/index.js +5 -5
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +5 -5
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +14 -14
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +10 -10
- package/dist/react/datepicker/index.js +14 -14
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +5 -5
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +5 -5
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.js +209 -209
- package/dist/react/input/index.js +4 -4
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +7 -7
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +3 -3
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +5 -5
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +12 -12
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +5 -5
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +4 -4
- package/dist/react/select/index.js +7 -7
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +34 -34
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +14 -14
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +9 -9
- package/dist/react/tree-item/index.js +6 -6
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +199 -199
- package/dist/types/vue/index.d.ts +399 -399
- package/dist/vscode.html-custom-data.json +295 -295
- package/dist/web-types.json +618 -618
- package/package.json +1 -1
- package/cdn/chunks/chunk.23WX4IIK.js +0 -26
- package/cdn/chunks/chunk.2F6BH5VZ.js +0 -48
- package/cdn/chunks/chunk.2FVW6KTS.js +0 -24
- package/cdn/chunks/chunk.2GQXLKH2.js +0 -11
- package/cdn/chunks/chunk.2M63QR5H.js +0 -137
- package/cdn/chunks/chunk.2YDZBONK.js +0 -36
- package/cdn/chunks/chunk.33GIVBCX.js +0 -186
- package/cdn/chunks/chunk.33HCVHKR.js +0 -402
- package/cdn/chunks/chunk.3BBWICYY.js +0 -11
- package/cdn/chunks/chunk.3ROPEJ6A.js +0 -11
- package/cdn/chunks/chunk.3ZKAIQC3.js +0 -257
- package/cdn/chunks/chunk.4E6VVZLR.js +0 -113
- package/cdn/chunks/chunk.4HEFI3TR.js +0 -21
- package/cdn/chunks/chunk.4ITOXMOC.js +0 -50
- package/cdn/chunks/chunk.4M63ZPLF.js +0 -7180
- package/cdn/chunks/chunk.4OO66AUH.js +0 -11
- package/cdn/chunks/chunk.4PCTXN2L.js +0 -11
- package/cdn/chunks/chunk.4S76P34M.js +0 -11
- package/cdn/chunks/chunk.4UU2AHNM.js +0 -11
- package/cdn/chunks/chunk.4WYLYP2R.js +0 -2654
- package/cdn/chunks/chunk.4XZRAY4I.js +0 -1925
- package/cdn/chunks/chunk.535UQ7PU.js +0 -11
- package/cdn/chunks/chunk.5DULFYC5.js +0 -11
- package/cdn/chunks/chunk.5IST66LN.js +0 -21
- package/cdn/chunks/chunk.5LQPJK4T.js +0 -25
- package/cdn/chunks/chunk.5QBHYHI5.js +0 -11
- package/cdn/chunks/chunk.5TFURW2T.js +0 -11
- package/cdn/chunks/chunk.5TSM4VI7.js +0 -236
- package/cdn/chunks/chunk.5VRD66ML.js +0 -24
- package/cdn/chunks/chunk.62BUAYEN.js +0 -158
- package/cdn/chunks/chunk.6BPAJGHW.js +0 -37
- package/cdn/chunks/chunk.6F2FLYOW.js +0 -21
- package/cdn/chunks/chunk.6F6QUINY.js +0 -21
- package/cdn/chunks/chunk.6US6F6S3.js +0 -120
- package/cdn/chunks/chunk.6ZIXSOPR.js +0 -21
- package/cdn/chunks/chunk.6ZKNFZGQ.js +0 -63
- package/cdn/chunks/chunk.7GZEZ2Y5.js +0 -11
- package/cdn/chunks/chunk.7QQEWD4L.js +0 -21
- package/cdn/chunks/chunk.7R6STMVQ.js +0 -24
- package/cdn/chunks/chunk.AJ2OYLPL.js +0 -87
- package/cdn/chunks/chunk.AQBMDC3E.js +0 -11
- package/cdn/chunks/chunk.AVRLZDY5.js +0 -21
- package/cdn/chunks/chunk.BWF6NN7L.js +0 -336
- package/cdn/chunks/chunk.BXTUASYQ.js +0 -29
- package/cdn/chunks/chunk.BY6KFH73.js +0 -11
- package/cdn/chunks/chunk.C6IEKD4A.js +0 -216
- package/cdn/chunks/chunk.CL5YXDWF.js +0 -28
- package/cdn/chunks/chunk.CMFW5LOK.js +0 -367
- package/cdn/chunks/chunk.CPLLGC7O.js +0 -137
- package/cdn/chunks/chunk.CREPJYOR.js +0 -21
- package/cdn/chunks/chunk.D36AO6T3.js +0 -11
- package/cdn/chunks/chunk.DJGGJMPC.js +0 -21
- package/cdn/chunks/chunk.DKPXHODS.js +0 -11
- package/cdn/chunks/chunk.DLXIAJ2V.js +0 -11
- package/cdn/chunks/chunk.DMYOWHYC.js +0 -11
- package/cdn/chunks/chunk.DRGDUTKF.js +0 -11
- package/cdn/chunks/chunk.DSLJYWB4.js +0 -21
- package/cdn/chunks/chunk.E25NP5SO.js +0 -11
- package/cdn/chunks/chunk.EAUOUIX4.js +0 -67
- package/cdn/chunks/chunk.ED24VHRA.js +0 -586
- package/cdn/chunks/chunk.ED2UP6WZ.js +0 -11
- package/cdn/chunks/chunk.EDBLN2VQ.js +0 -25
- package/cdn/chunks/chunk.EGHXUYMK.js +0 -510
- package/cdn/chunks/chunk.EJFHWZ3C.js +0 -11
- package/cdn/chunks/chunk.ELRVTLCB.js +0 -21
- package/cdn/chunks/chunk.EN2D7JQA.js +0 -11
- package/cdn/chunks/chunk.EXK5T256.js +0 -21
- package/cdn/chunks/chunk.EZNWAXFF.js +0 -11
- package/cdn/chunks/chunk.FBR4Q63N.js +0 -25
- package/cdn/chunks/chunk.FEW45SGJ.js +0 -24
- package/cdn/chunks/chunk.FG7FIJ4A.js +0 -255
- package/cdn/chunks/chunk.FHQ6SOQJ.js +0 -103
- package/cdn/chunks/chunk.FQCV7DYK.js +0 -291
- package/cdn/chunks/chunk.G7UJGWHN.js +0 -21
- package/cdn/chunks/chunk.GCDL523E.js +0 -391
- package/cdn/chunks/chunk.GDDL2ZQP.js +0 -379
- package/cdn/chunks/chunk.GETMDTK6.js +0 -314
- package/cdn/chunks/chunk.GI23BFSO.js +0 -11
- package/cdn/chunks/chunk.GL362K25.js +0 -11
- package/cdn/chunks/chunk.GO57DLFX.js +0 -1058
- package/cdn/chunks/chunk.GPQH7V6M.js +0 -26
- package/cdn/chunks/chunk.GQX7LPK4.js +0 -5845
- package/cdn/chunks/chunk.GRX55RH2.js +0 -177
- package/cdn/chunks/chunk.HDWRDDWI.js +0 -73
- package/cdn/chunks/chunk.HGQHIEUA.js +0 -11
- package/cdn/chunks/chunk.HKBYSRKH.js +0 -724
- package/cdn/chunks/chunk.HLG4GWMI.js +0 -21
- package/cdn/chunks/chunk.HMNFR2UP.js +0 -42
- package/cdn/chunks/chunk.HOOU7UNX.js +0 -127
- package/cdn/chunks/chunk.HP5EQBJI.js +0 -1990
- package/cdn/chunks/chunk.I7F4TU4S.js +0 -11
- package/cdn/chunks/chunk.ICXEJ5NW.js +0 -142
- package/cdn/chunks/chunk.IIKXCPWN.js +0 -11
- package/cdn/chunks/chunk.IMYUHA7A.js +0 -95
- package/cdn/chunks/chunk.IX2EEYGP.js +0 -24
- package/cdn/chunks/chunk.IXXY6EMT.js +0 -130
- package/cdn/chunks/chunk.JFJGWT5X.js +0 -11
- package/cdn/chunks/chunk.JPJQNOE3.js +0 -11
- package/cdn/chunks/chunk.JVMLLWDE.js +0 -11
- package/cdn/chunks/chunk.JYAK756K.js +0 -27
- package/cdn/chunks/chunk.K56PLL3U.js +0 -153
- package/cdn/chunks/chunk.KBJCVKVV.js +0 -29
- package/cdn/chunks/chunk.KEVRKCI3.js +0 -11
- package/cdn/chunks/chunk.KF4JUKBH.js +0 -11
- package/cdn/chunks/chunk.KGZ7SQSK.js +0 -26
- package/cdn/chunks/chunk.KOQK2UQV.js +0 -123
- package/cdn/chunks/chunk.KWYJUC6D.js +0 -279
- package/cdn/chunks/chunk.KZ22B4H2.js +0 -93
- package/cdn/chunks/chunk.L636OJ7W.js +0 -28
- package/cdn/chunks/chunk.L7ESWREN.js +0 -219
- package/cdn/chunks/chunk.LH37CC6N.js +0 -82
- package/cdn/chunks/chunk.LHJA5GEJ.js +0 -233
- package/cdn/chunks/chunk.LIHFS4YL.js +0 -822
- package/cdn/chunks/chunk.LOTHJHHC.js +0 -27
- package/cdn/chunks/chunk.M564KY5J.js +0 -11
- package/cdn/chunks/chunk.MARNMIR3.js +0 -11
- package/cdn/chunks/chunk.MCVJD4TI.js +0 -11
- package/cdn/chunks/chunk.MKWDM3XY.js +0 -27
- package/cdn/chunks/chunk.MR4WVQXP.js +0 -135
- package/cdn/chunks/chunk.MUIYRTUD.js +0 -28
- package/cdn/chunks/chunk.N2BWLT5M.js +0 -79
- package/cdn/chunks/chunk.N4TFCEDA.js +0 -11
- package/cdn/chunks/chunk.N5UQGXF5.js +0 -28
- package/cdn/chunks/chunk.N6IGVEXW.js +0 -54
- package/cdn/chunks/chunk.NHTFPAPK.js +0 -97
- package/cdn/chunks/chunk.NLD3CJ2O.js +0 -11
- package/cdn/chunks/chunk.NNBPVQ3D.js +0 -24
- package/cdn/chunks/chunk.NNEFB3JX.js +0 -25
- package/cdn/chunks/chunk.NSDCQFXI.js +0 -24
- package/cdn/chunks/chunk.NYGQJUAI.js +0 -111
- package/cdn/chunks/chunk.NYJEK2IL.js +0 -24
- package/cdn/chunks/chunk.O4QAGFOM.js +0 -25
- package/cdn/chunks/chunk.OE7W3DLA.js +0 -28
- package/cdn/chunks/chunk.OELR5RX6.js +0 -11
- package/cdn/chunks/chunk.OFZH2C6Q.js +0 -299
- package/cdn/chunks/chunk.OJNHFZFI.js +0 -11
- package/cdn/chunks/chunk.OQC5PZVQ.js +0 -271
- package/cdn/chunks/chunk.OYPNUBXO.js +0 -21
- package/cdn/chunks/chunk.P6BV3EX3.js +0 -24
- package/cdn/chunks/chunk.P6XVSHPE.js +0 -455
- package/cdn/chunks/chunk.P7GNMMSW.js +0 -27
- package/cdn/chunks/chunk.PCCSA6OV.js +0 -11
- package/cdn/chunks/chunk.PDSZA3NP.js +0 -21
- package/cdn/chunks/chunk.PJYXONJJ.js +0 -11
- package/cdn/chunks/chunk.PPJJBFF4.js +0 -11
- package/cdn/chunks/chunk.PQV3XRTK.js +0 -75
- package/cdn/chunks/chunk.Q6XHH6QC.js +0 -29
- package/cdn/chunks/chunk.QA2FJSHX.js +0 -266
- package/cdn/chunks/chunk.QD43L3QY.js +0 -29
- package/cdn/chunks/chunk.QT5V3QPK.js +0 -11
- package/cdn/chunks/chunk.QXNCQNDR.js +0 -49
- package/cdn/chunks/chunk.R4NWL2KS.js +0 -24
- package/cdn/chunks/chunk.R6JWTZZK.js +0 -27
- package/cdn/chunks/chunk.RBQAAD2J.js +0 -118
- package/cdn/chunks/chunk.RCCQJPZS.js +0 -25
- package/cdn/chunks/chunk.RHPZC6GF.js +0 -27
- package/cdn/chunks/chunk.RI75IJR5.js +0 -11
- package/cdn/chunks/chunk.RTPVXMFH.js +0 -11
- package/cdn/chunks/chunk.RUCVRRD2.js +0 -21
- package/cdn/chunks/chunk.RVTVMACR.js +0 -11
- package/cdn/chunks/chunk.S7NFFKPD.js +0 -11
- package/cdn/chunks/chunk.SJNTLIDF.js +0 -21
- package/cdn/chunks/chunk.SMQMGR25.js +0 -25
- package/cdn/chunks/chunk.SO4NNE4G.js +0 -11
- package/cdn/chunks/chunk.SQQ7ETBT.js +0 -21
- package/cdn/chunks/chunk.TAV4D7VV.js +0 -11
- package/cdn/chunks/chunk.TDVD67IW.js +0 -24
- package/cdn/chunks/chunk.TE7YSKAA.js +0 -21
- package/cdn/chunks/chunk.TH32XAJZ.js +0 -502
- package/cdn/chunks/chunk.TNKASOE5.js +0 -33
- package/cdn/chunks/chunk.TPPDV5GY.js +0 -21
- package/cdn/chunks/chunk.TSM6P6WK.js +0 -11
- package/cdn/chunks/chunk.TTE3RW6X.js +0 -11
- package/cdn/chunks/chunk.TV4BBYZZ.js +0 -21
- package/cdn/chunks/chunk.U3EP43KI.js +0 -27
- package/cdn/chunks/chunk.UBEFQ5SQ.js +0 -55
- package/cdn/chunks/chunk.UFGMX3XH.js +0 -28
- package/cdn/chunks/chunk.UKEYLVHN.js +0 -21
- package/cdn/chunks/chunk.UKKAD4IJ.js +0 -302
- package/cdn/chunks/chunk.UKS2GT4S.js +0 -11
- package/cdn/chunks/chunk.UW2F6UPY.js +0 -334
- package/cdn/chunks/chunk.UW7KXJNU.js +0 -313
- package/cdn/chunks/chunk.V2IAOEIJ.js +0 -21
- package/cdn/chunks/chunk.V6QY3NB5.js +0 -113
- package/cdn/chunks/chunk.VGEIUGHU.js +0 -24
- package/cdn/chunks/chunk.VJEWHPOO.js +0 -122
- package/cdn/chunks/chunk.VQ6A4KVQ.js +0 -24
- package/cdn/chunks/chunk.VQZN3VF4.js +0 -77
- package/cdn/chunks/chunk.W3R2LWJ2.js +0 -49
- package/cdn/chunks/chunk.W5TDEUTT.js +0 -25
- package/cdn/chunks/chunk.WACRJU63.js +0 -346
- package/cdn/chunks/chunk.WB7R5MZO.js +0 -11
- package/cdn/chunks/chunk.WDV5PM2Q.js +0 -25
- package/cdn/chunks/chunk.WRCIQWGB.js +0 -11
- package/cdn/chunks/chunk.WRQAWFOS.js +0 -11
- package/cdn/chunks/chunk.WUCNRQR2.js +0 -11
- package/cdn/chunks/chunk.WWQQYRTC.js +0 -342
- package/cdn/chunks/chunk.X4GBQOQN.js +0 -11
- package/cdn/chunks/chunk.XB6H2JAW.js +0 -197
- package/cdn/chunks/chunk.XCQWFE6U.js +0 -11
- package/cdn/chunks/chunk.XEJLVA7W.js +0 -11
- package/cdn/chunks/chunk.XOO4HRZU.js +0 -114
- package/cdn/chunks/chunk.XSHHGP57.js +0 -292
- package/cdn/chunks/chunk.YBUA67DG.js +0 -24
- package/cdn/chunks/chunk.YFUVB5JK.js +0 -11
- package/cdn/chunks/chunk.YMCRK2WA.js +0 -21
- package/cdn/chunks/chunk.YSD4CRJR.js +0 -574
- package/cdn/chunks/chunk.YWJXPHLW.js +0 -24
- package/cdn/chunks/chunk.YX664DDU.js +0 -282
- package/cdn/chunks/chunk.ZCZ26FJE.js +0 -11
- package/cdn/chunks/chunk.ZGIEOFJ3.js +0 -25
- package/cdn/chunks/chunk.ZJU3XDMM.js +0 -11
- package/dist/chunks/chunk.27CAO2WY.js +0 -28
- package/dist/chunks/chunk.2ANYYJDB.js +0 -22
- package/dist/chunks/chunk.2BTEDRNT.js +0 -11
- package/dist/chunks/chunk.2I3UOM2Y.js +0 -25
- package/dist/chunks/chunk.2R5AP4PT.js +0 -371
- package/dist/chunks/chunk.3EVQBFEF.js +0 -417
- package/dist/chunks/chunk.3N5TNFZE.js +0 -113
- package/dist/chunks/chunk.3O2ZAWRN.js +0 -11
- package/dist/chunks/chunk.3SQA2NPF.js +0 -11
- package/dist/chunks/chunk.45F4OUGN.js +0 -96
- package/dist/chunks/chunk.46RNQAVZ.js +0 -24
- package/dist/chunks/chunk.4C5EWVQA.js +0 -147
- package/dist/chunks/chunk.4FG5MP7E.js +0 -181
- package/dist/chunks/chunk.4UTPMO5J.js +0 -11
- package/dist/chunks/chunk.5AVBROC7.js +0 -25
- package/dist/chunks/chunk.5SWE2TKS.js +0 -100
- package/dist/chunks/chunk.5VEVKL5Z.js +0 -93
- package/dist/chunks/chunk.5VGVDAC3.js +0 -80
- package/dist/chunks/chunk.63AR3LCX.js +0 -11
- package/dist/chunks/chunk.65SWTFEH.js +0 -338
- package/dist/chunks/chunk.67P7OKOD.js +0 -11
- package/dist/chunks/chunk.6B33ESGD.js +0 -21
- package/dist/chunks/chunk.6BPAJGHW.js +0 -37
- package/dist/chunks/chunk.6ETBKQ67.js +0 -73
- package/dist/chunks/chunk.6K3SBMWI.js +0 -21
- package/dist/chunks/chunk.6RHSUPZ4.js +0 -135
- package/dist/chunks/chunk.74UZI6MB.js +0 -11
- package/dist/chunks/chunk.7A5RDYHB.js +0 -21
- package/dist/chunks/chunk.7A6RUEOP.js +0 -63
- package/dist/chunks/chunk.7DRTYVWG.js +0 -27
- package/dist/chunks/chunk.7JOVR2EA.js +0 -25
- package/dist/chunks/chunk.7PZSXHJK.js +0 -231
- package/dist/chunks/chunk.7UI4EO3S.js +0 -116
- package/dist/chunks/chunk.7ZIIY6WW.js +0 -24
- package/dist/chunks/chunk.7ZP7HD7M.js +0 -550
- package/dist/chunks/chunk.A5QKINZS.js +0 -111
- package/dist/chunks/chunk.A7XGUTBO.js +0 -814
- package/dist/chunks/chunk.AA6JYI52.js +0 -28
- package/dist/chunks/chunk.AGIKKQWV.js +0 -24
- package/dist/chunks/chunk.AKAMCQ35.js +0 -132
- package/dist/chunks/chunk.AX7A3TMU.js +0 -21
- package/dist/chunks/chunk.B36WUI3P.js +0 -24
- package/dist/chunks/chunk.B7BCUVF5.js +0 -91
- package/dist/chunks/chunk.BEAXM65Y.js +0 -11
- package/dist/chunks/chunk.BGAOXRYS.js +0 -24
- package/dist/chunks/chunk.BGV3JLGD.js +0 -306
- package/dist/chunks/chunk.BT3IVBNL.js +0 -11
- package/dist/chunks/chunk.BYYLDQAW.js +0 -27
- package/dist/chunks/chunk.C3IQZ3QU.js +0 -27
- package/dist/chunks/chunk.C5L4ZKSW.js +0 -21
- package/dist/chunks/chunk.C6MVGHHV.js +0 -21
- package/dist/chunks/chunk.C6ZITJ7J.js +0 -11
- package/dist/chunks/chunk.CBS5R35Z.js +0 -11
- package/dist/chunks/chunk.CIJACHTX.js +0 -192
- package/dist/chunks/chunk.CZ5CZSHJ.js +0 -21
- package/dist/chunks/chunk.D2ALMOVG.js +0 -11
- package/dist/chunks/chunk.D2B5TMBH.js +0 -24
- package/dist/chunks/chunk.D2HTCBDV.js +0 -28
- package/dist/chunks/chunk.D4DHWAPW.js +0 -21
- package/dist/chunks/chunk.DACAH5V4.js +0 -67
- package/dist/chunks/chunk.DAGWKTJ3.js +0 -21
- package/dist/chunks/chunk.DDQ2YNYS.js +0 -11
- package/dist/chunks/chunk.DFHK6AXP.js +0 -11
- package/dist/chunks/chunk.DFM5TOGZ.js +0 -24
- package/dist/chunks/chunk.DLVEHT6T.js +0 -35
- package/dist/chunks/chunk.DNWIIWHB.js +0 -29
- package/dist/chunks/chunk.DSTAA2LN.js +0 -21
- package/dist/chunks/chunk.DWZZOQAO.js +0 -22
- package/dist/chunks/chunk.E7FUKHCA.js +0 -280
- package/dist/chunks/chunk.EE7OR5ZV.js +0 -28
- package/dist/chunks/chunk.EFANNIAX.js +0 -501
- package/dist/chunks/chunk.ENBWH4YM.js +0 -328
- package/dist/chunks/chunk.ESXW3HGE.js +0 -119
- package/dist/chunks/chunk.ETP3Z47A.js +0 -21
- package/dist/chunks/chunk.EW3SB3JX.js +0 -315
- package/dist/chunks/chunk.EYP7N2GI.js +0 -21
- package/dist/chunks/chunk.F2DTBEM6.js +0 -25
- package/dist/chunks/chunk.F37QAM3X.js +0 -34
- package/dist/chunks/chunk.F4FIAUYQ.js +0 -11
- package/dist/chunks/chunk.F526NNJ7.js +0 -100
- package/dist/chunks/chunk.F55EWCUL.js +0 -52
- package/dist/chunks/chunk.FAIR7ZLB.js +0 -11
- package/dist/chunks/chunk.FCK4DHC6.js +0 -50
- package/dist/chunks/chunk.FDXKOEYC.js +0 -444
- package/dist/chunks/chunk.FGGHZJHD.js +0 -11
- package/dist/chunks/chunk.FH6HU3TJ.js +0 -29
- package/dist/chunks/chunk.FHZLYJ7H.js +0 -11
- package/dist/chunks/chunk.FIVKTUOJ.js +0 -738
- package/dist/chunks/chunk.FWTYDXC5.js +0 -11
- package/dist/chunks/chunk.FXPO4GRV.js +0 -11
- package/dist/chunks/chunk.GCJ6K5EI.js +0 -21
- package/dist/chunks/chunk.GEKMBNLB.js +0 -227
- package/dist/chunks/chunk.GVDYPTE6.js +0 -108
- package/dist/chunks/chunk.GYMZFBKQ.js +0 -21
- package/dist/chunks/chunk.HNLTILQL.js +0 -24
- package/dist/chunks/chunk.HPOC4CDW.js +0 -274
- package/dist/chunks/chunk.HRISZKCY.js +0 -11
- package/dist/chunks/chunk.HS4WDML7.js +0 -25
- package/dist/chunks/chunk.HSDGB6VT.js +0 -29
- package/dist/chunks/chunk.HUWQZTJS.js +0 -11
- package/dist/chunks/chunk.I65ZJJUJ.js +0 -11
- package/dist/chunks/chunk.IDUXZIWD.js +0 -11
- package/dist/chunks/chunk.IPQGRX5Y.js +0 -286
- package/dist/chunks/chunk.ISXBJOWZ.js +0 -949
- package/dist/chunks/chunk.IVBA4STO.js +0 -26
- package/dist/chunks/chunk.J5Z3MMJA.js +0 -11
- package/dist/chunks/chunk.JGVFJLYW.js +0 -11
- package/dist/chunks/chunk.JKMZKEKQ.js +0 -27
- package/dist/chunks/chunk.JL2TZDEG.js +0 -11
- package/dist/chunks/chunk.JLB2MD35.js +0 -21
- package/dist/chunks/chunk.JOXCBGLB.js +0 -11
- package/dist/chunks/chunk.JRAVB43A.js +0 -27
- package/dist/chunks/chunk.JVEC6U7Q.js +0 -21
- package/dist/chunks/chunk.K7LDLQY6.js +0 -11
- package/dist/chunks/chunk.KOJOKR3G.js +0 -26
- package/dist/chunks/chunk.L2OOPUMP.js +0 -117
- package/dist/chunks/chunk.LJ7XEI5K.js +0 -24
- package/dist/chunks/chunk.LKQY7XWY.js +0 -293
- package/dist/chunks/chunk.LV3SFAIR.js +0 -134
- package/dist/chunks/chunk.LWWASERC.js +0 -247
- package/dist/chunks/chunk.LX4OQWJE.js +0 -85
- package/dist/chunks/chunk.M3O3G7U7.js +0 -46
- package/dist/chunks/chunk.M6YXAFOU.js +0 -21
- package/dist/chunks/chunk.M7SY65QP.js +0 -214
- package/dist/chunks/chunk.MN6YR3FC.js +0 -174
- package/dist/chunks/chunk.MP5S62BQ.js +0 -24
- package/dist/chunks/chunk.MQTZGVQC.js +0 -11
- package/dist/chunks/chunk.MVX4T6YW.js +0 -11
- package/dist/chunks/chunk.MWEQR4PV.js +0 -311
- package/dist/chunks/chunk.MWZE6QFU.js +0 -29
- package/dist/chunks/chunk.MZ3VGQTC.js +0 -11
- package/dist/chunks/chunk.N6YBAJST.js +0 -337
- package/dist/chunks/chunk.NIET4WDR.js +0 -21
- package/dist/chunks/chunk.NJO2X5AJ.js +0 -11
- package/dist/chunks/chunk.NKRWRM75.js +0 -11
- package/dist/chunks/chunk.NLNGXVHU.js +0 -11
- package/dist/chunks/chunk.NQIFXCK4.js +0 -11
- package/dist/chunks/chunk.NWCCTEYD.js +0 -21
- package/dist/chunks/chunk.NXBCJFOG.js +0 -119
- package/dist/chunks/chunk.O6TH37K3.js +0 -11
- package/dist/chunks/chunk.O7Z5E3EE.js +0 -21
- package/dist/chunks/chunk.OGBFUVUQ.js +0 -11
- package/dist/chunks/chunk.OHMIEXBK.js +0 -59
- package/dist/chunks/chunk.OJSCWHEP.js +0 -11
- package/dist/chunks/chunk.OQMSL7DX.js +0 -33
- package/dist/chunks/chunk.ORWUGWZH.js +0 -11
- package/dist/chunks/chunk.PBPPZ2MK.js +0 -252
- package/dist/chunks/chunk.PJSMHPAF.js +0 -11
- package/dist/chunks/chunk.PKTQG65O.js +0 -25
- package/dist/chunks/chunk.PNTCG2IC.js +0 -11
- package/dist/chunks/chunk.PPZFBRTA.js +0 -11
- package/dist/chunks/chunk.PRGGJCNJ.js +0 -11
- package/dist/chunks/chunk.PVO3A4II.js +0 -11
- package/dist/chunks/chunk.PZTB35EW.js +0 -75
- package/dist/chunks/chunk.QCWUDPZF.js +0 -26
- package/dist/chunks/chunk.QPIANCBU.js +0 -126
- package/dist/chunks/chunk.QQS47AAN.js +0 -25
- package/dist/chunks/chunk.QUEVSO7U.js +0 -28
- package/dist/chunks/chunk.RETGKMAB.js +0 -11
- package/dist/chunks/chunk.RL3SUI4A.js +0 -11
- package/dist/chunks/chunk.RU2OFHHK.js +0 -448
- package/dist/chunks/chunk.RVED3QP3.js +0 -125
- package/dist/chunks/chunk.RZIN3JXU.js +0 -11
- package/dist/chunks/chunk.S632BJPH.js +0 -263
- package/dist/chunks/chunk.SF6FGUCP.js +0 -11
- package/dist/chunks/chunk.SFMM7FSW.js +0 -11
- package/dist/chunks/chunk.SHMJHIA3.js +0 -11
- package/dist/chunks/chunk.SHNX4K27.js +0 -11
- package/dist/chunks/chunk.SKCRDFMA.js +0 -24
- package/dist/chunks/chunk.SVREM4GW.js +0 -494
- package/dist/chunks/chunk.SYIFIRPM.js +0 -24
- package/dist/chunks/chunk.SZVFOJPZ.js +0 -11
- package/dist/chunks/chunk.T272OB6C.js +0 -24
- package/dist/chunks/chunk.T2JSCPSE.js +0 -21
- package/dist/chunks/chunk.TB3SF74U.js +0 -568
- package/dist/chunks/chunk.THEKMTXT.js +0 -11
- package/dist/chunks/chunk.TJA2C3UG.js +0 -45
- package/dist/chunks/chunk.TQPRO7MK.js +0 -27
- package/dist/chunks/chunk.TT3XJXDP.js +0 -11
- package/dist/chunks/chunk.TTGNTQ4Q.js +0 -361
- package/dist/chunks/chunk.TY7ZAVOX.js +0 -1056
- package/dist/chunks/chunk.U4A23QZQ.js +0 -213
- package/dist/chunks/chunk.U5B2XCTR.js +0 -45
- package/dist/chunks/chunk.UBEFQ5SQ.js +0 -55
- package/dist/chunks/chunk.UI7O6SO3.js +0 -25
- package/dist/chunks/chunk.UJ6PDFWZ.js +0 -28
- package/dist/chunks/chunk.UNBYHWGI.js +0 -167
- package/dist/chunks/chunk.UOQLVORX.js +0 -397
- package/dist/chunks/chunk.UVJY6KLK.js +0 -21
- package/dist/chunks/chunk.V2ZTEHDU.js +0 -11
- package/dist/chunks/chunk.V5IKJSIP.js +0 -11
- package/dist/chunks/chunk.V7W3I3NS.js +0 -294
- package/dist/chunks/chunk.VKCGMSAZ.js +0 -90
- package/dist/chunks/chunk.VRNGQRX4.js +0 -384
- package/dist/chunks/chunk.VVPVWY4N.js +0 -75
- package/dist/chunks/chunk.W6JUTZTP.js +0 -11
- package/dist/chunks/chunk.WK2QKP3A.js +0 -42
- package/dist/chunks/chunk.WLLMG6V4.js +0 -25
- package/dist/chunks/chunk.WNKSKO35.js +0 -25
- package/dist/chunks/chunk.WO6LGHBG.js +0 -11
- package/dist/chunks/chunk.X56YRKLT.js +0 -21
- package/dist/chunks/chunk.XA6LZ3CP.js +0 -21
- package/dist/chunks/chunk.XEFYOQ4T.js +0 -277
- package/dist/chunks/chunk.XFLYLBM7.js +0 -11
- package/dist/chunks/chunk.XGGTHF7X.js +0 -11
- package/dist/chunks/chunk.XND5Q7FK.js +0 -25
- package/dist/chunks/chunk.Y27GLNCV.js +0 -21
- package/dist/chunks/chunk.YD7RQMAR.js +0 -11
- package/dist/chunks/chunk.YUTQSXJK.js +0 -151
- package/dist/chunks/chunk.Z2OWT5NW.js +0 -109
- package/dist/chunks/chunk.Z3PZY7SX.js +0 -11
- package/dist/chunks/chunk.Z4IE5BCD.js +0 -11
|
@@ -0,0 +1,747 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getDragRow
|
|
3
|
+
} from "./chunk.DSRLY2FD.js";
|
|
4
|
+
import {
|
|
5
|
+
getExpendRow
|
|
6
|
+
} from "./chunk.RJRDQHBH.js";
|
|
7
|
+
import {
|
|
8
|
+
getDefaultFilters
|
|
9
|
+
} from "./chunk.TF3IWFSX.js";
|
|
10
|
+
import {
|
|
11
|
+
convertRowSelectionState,
|
|
12
|
+
getRowSelectionOptions,
|
|
13
|
+
getSelectionColumn
|
|
14
|
+
} from "./chunk.IKG7GFWI.js";
|
|
15
|
+
import {
|
|
16
|
+
getDefaultSorting
|
|
17
|
+
} from "./chunk.WQTJ57OT.js";
|
|
18
|
+
import {
|
|
19
|
+
table_style_default
|
|
20
|
+
} from "./chunk.YETPLLCY.js";
|
|
21
|
+
import {
|
|
22
|
+
getDefaultPinning
|
|
23
|
+
} from "./chunk.OMKHV7Q2.js";
|
|
24
|
+
import {
|
|
25
|
+
getClientHeight,
|
|
26
|
+
getScrollHeight
|
|
27
|
+
} from "./chunk.5AHQNL5Y.js";
|
|
28
|
+
import {
|
|
29
|
+
CUSTOM_CELL,
|
|
30
|
+
CUSTOM_ROW,
|
|
31
|
+
VIRTUALIZED_DEFAULT
|
|
32
|
+
} from "./chunk.NCE7XJQI.js";
|
|
33
|
+
import {
|
|
34
|
+
SlRadio
|
|
35
|
+
} from "./chunk.OVX7KABZ.js";
|
|
36
|
+
import {
|
|
37
|
+
SlPagination
|
|
38
|
+
} from "./chunk.JPBXGFR4.js";
|
|
39
|
+
import {
|
|
40
|
+
SlCheckbox
|
|
41
|
+
} from "./chunk.7IZ4S4JF.js";
|
|
42
|
+
import {
|
|
43
|
+
ShoelaceElement
|
|
44
|
+
} from "./chunk.JRE3XEGV.js";
|
|
45
|
+
import {
|
|
46
|
+
__decorateClass,
|
|
47
|
+
__objRest,
|
|
48
|
+
__spreadProps,
|
|
49
|
+
__spreadValues
|
|
50
|
+
} from "./chunk.W5KB6T3Z.js";
|
|
51
|
+
|
|
52
|
+
// src/components/table/table.component.ts
|
|
53
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
54
|
+
import {
|
|
55
|
+
createColumnHelper,
|
|
56
|
+
getCoreRowModel,
|
|
57
|
+
getExpandedRowModel,
|
|
58
|
+
getFilteredRowModel,
|
|
59
|
+
getPaginationRowModel,
|
|
60
|
+
getSortedRowModel,
|
|
61
|
+
TableController
|
|
62
|
+
} from "@tanstack/lit-table";
|
|
63
|
+
import { VirtualizerController } from "@tanstack/lit-virtual";
|
|
64
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
65
|
+
import { debounce, get, some } from "lodash";
|
|
66
|
+
import { html } from "lit";
|
|
67
|
+
import { property } from "lit/decorators.js";
|
|
68
|
+
import { state } from "lit/decorators/state.js";
|
|
69
|
+
var SlTable = class extends ShoelaceElement {
|
|
70
|
+
constructor() {
|
|
71
|
+
super(...arguments);
|
|
72
|
+
this.tableController = new TableController(this);
|
|
73
|
+
this.rowKey = "key";
|
|
74
|
+
this.columns = [];
|
|
75
|
+
this.dataSource = [];
|
|
76
|
+
this.loading = false;
|
|
77
|
+
this.bordered = false;
|
|
78
|
+
this.direction = "ltr";
|
|
79
|
+
this.showHeader = true;
|
|
80
|
+
this.tableScroll = {};
|
|
81
|
+
this.enableColumnResizing = false;
|
|
82
|
+
this.rowDrag = false;
|
|
83
|
+
this.rowSelectedMap = {};
|
|
84
|
+
this.expandedMap = {};
|
|
85
|
+
this.sorting = [];
|
|
86
|
+
this.columnFilters = [];
|
|
87
|
+
this.tableWidth = 0;
|
|
88
|
+
this.columnSizing = {};
|
|
89
|
+
this.pageIndex = 0;
|
|
90
|
+
this.columnPinning = {
|
|
91
|
+
left: ["drag", "expend", "select"],
|
|
92
|
+
right: []
|
|
93
|
+
};
|
|
94
|
+
this.tableWrapRef = createRef();
|
|
95
|
+
this.headerWrapRef = createRef();
|
|
96
|
+
this.bodyWrapRef = createRef();
|
|
97
|
+
this.syncing = false;
|
|
98
|
+
/*
|
|
99
|
+
生命周期 end
|
|
100
|
+
**/
|
|
101
|
+
this.warnIfNoKey = () => {
|
|
102
|
+
if (some(this.dataSource, (record) => this.adapter.getRecordKey(record) === void 0)) {
|
|
103
|
+
console.error(
|
|
104
|
+
'You must specify a key for each element in the dataSource or use "rowKey" to specify an attribute name as the primary key!'
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
this.setColumnWidth = () => {
|
|
109
|
+
const head = this.headerWrapRef.value;
|
|
110
|
+
if (!head) return;
|
|
111
|
+
const ths = head == null ? void 0 : head.querySelectorAll("th");
|
|
112
|
+
if (ths) {
|
|
113
|
+
const widths = Array.from(ths).reduce(
|
|
114
|
+
(acc, th) => {
|
|
115
|
+
const { width } = th.getBoundingClientRect();
|
|
116
|
+
const colKey = th.dataset.colKey;
|
|
117
|
+
return __spreadProps(__spreadValues({}, acc), {
|
|
118
|
+
[colKey]: width
|
|
119
|
+
});
|
|
120
|
+
},
|
|
121
|
+
{}
|
|
122
|
+
);
|
|
123
|
+
this.columnSizing = widths;
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
this.handleBodyScroll = (e) => {
|
|
127
|
+
var _a;
|
|
128
|
+
this.handleBodyScrollLeft(e);
|
|
129
|
+
this.setScrollPositionClassName();
|
|
130
|
+
if ((_a = this.virtualized) == null ? void 0 : _a.onScroll) {
|
|
131
|
+
this.virtualized.onScroll(e);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
this.handleBodyScrollLeft = (e) => {
|
|
135
|
+
if (this.syncing) return;
|
|
136
|
+
const target = e.currentTarget;
|
|
137
|
+
const head = this.headerWrapRef.value;
|
|
138
|
+
const body = this.bodyWrapRef.value;
|
|
139
|
+
if (!head || !body) return;
|
|
140
|
+
this.syncing = true;
|
|
141
|
+
if (target === body) {
|
|
142
|
+
head.scrollLeft = body.scrollLeft;
|
|
143
|
+
} else if (target === head) {
|
|
144
|
+
body.scrollLeft = head.scrollLeft;
|
|
145
|
+
}
|
|
146
|
+
requestAnimationFrame(() => {
|
|
147
|
+
this.syncing = false;
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
this.handleWindowResize = () => {
|
|
151
|
+
this.syncTableWidth();
|
|
152
|
+
this.setScrollPositionClassName();
|
|
153
|
+
this.setScrollBarStyle();
|
|
154
|
+
};
|
|
155
|
+
this.syncTableWidth = () => {
|
|
156
|
+
var _a;
|
|
157
|
+
if ((_a = this.tableWrapRef) == null ? void 0 : _a.value) {
|
|
158
|
+
this.tableWidth = this.tableWrapRef.value.getBoundingClientRect().width;
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
this.setScrollBarStyle = () => {
|
|
162
|
+
setTimeout(() => {
|
|
163
|
+
const bodyWrapper = this.bodyWrapRef.value;
|
|
164
|
+
const headWrapper = this.headerWrapRef.value;
|
|
165
|
+
if (!bodyWrapper || !headWrapper) return;
|
|
166
|
+
const hasVerticalScroll = getScrollHeight(bodyWrapper) > getClientHeight(bodyWrapper);
|
|
167
|
+
if (hasVerticalScroll) {
|
|
168
|
+
headWrapper.style.overflowY = "scroll";
|
|
169
|
+
} else {
|
|
170
|
+
headWrapper.style.overflowY = "auto";
|
|
171
|
+
}
|
|
172
|
+
}, 0);
|
|
173
|
+
};
|
|
174
|
+
this.setScrollPositionClassName = () => {
|
|
175
|
+
const tableBody = this.bodyWrapRef.value;
|
|
176
|
+
const tableWrapper = this.tableWrapRef.value;
|
|
177
|
+
if (!tableBody || !tableWrapper) return;
|
|
178
|
+
const { scrollLeft, scrollWidth, clientWidth } = tableBody;
|
|
179
|
+
const scrollRange = scrollWidth - clientWidth;
|
|
180
|
+
const classList = tableWrapper.classList;
|
|
181
|
+
const startClass = "table-scroll-position-left";
|
|
182
|
+
const middleClass = "table-scroll-position-middle";
|
|
183
|
+
const endClass = "table-scroll-position-right";
|
|
184
|
+
if (scrollWidth <= clientWidth) {
|
|
185
|
+
classList.remove(startClass, endClass, middleClass);
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
const isRtl = this.direction === "rtl";
|
|
189
|
+
const scrollLeftAbs = Math.abs(scrollLeft);
|
|
190
|
+
let isStart = false;
|
|
191
|
+
let isEnd = false;
|
|
192
|
+
if (isRtl) {
|
|
193
|
+
isStart = scrollLeftAbs <= 1;
|
|
194
|
+
isEnd = scrollLeftAbs >= scrollRange - 1;
|
|
195
|
+
} else {
|
|
196
|
+
isStart = scrollLeft <= 0;
|
|
197
|
+
isEnd = scrollLeft >= scrollRange - 1;
|
|
198
|
+
}
|
|
199
|
+
if (isStart) {
|
|
200
|
+
classList.add(startClass);
|
|
201
|
+
classList.remove(middleClass, endClass);
|
|
202
|
+
} else if (isEnd) {
|
|
203
|
+
classList.remove(startClass, middleClass);
|
|
204
|
+
classList.add(endClass);
|
|
205
|
+
} else {
|
|
206
|
+
classList.remove(startClass, endClass);
|
|
207
|
+
classList.add(middleClass);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
this.handleColumnSizingChange = (updaterOrValue) => {
|
|
211
|
+
var _a;
|
|
212
|
+
const next = typeof updaterOrValue === "function" ? updaterOrValue(this.columnSizing) : updaterOrValue;
|
|
213
|
+
const clamped = {};
|
|
214
|
+
for (const key in next) {
|
|
215
|
+
const v = next[key];
|
|
216
|
+
clamped[key] = Math.min(500, Math.max(60, v));
|
|
217
|
+
}
|
|
218
|
+
this.columnSizing = clamped;
|
|
219
|
+
(_a = this.slColumnResize) == null ? void 0 : _a.call(this, __spreadValues({}, clamped));
|
|
220
|
+
};
|
|
221
|
+
this.generateCustomCellSlot = (filteredRows) => {
|
|
222
|
+
const hasSlotColumns = this.columns.filter((col) => col.slot);
|
|
223
|
+
if (!hasSlotColumns.length) return "";
|
|
224
|
+
return html`
|
|
225
|
+
${hasSlotColumns.map(
|
|
226
|
+
(col) => filteredRows.map((row) => {
|
|
227
|
+
const slotKey = `${CUSTOM_CELL}-${col.dataIndex}-${this.adapter.getRecordKey(row.original)}`;
|
|
228
|
+
return html`<slot slot="${slotKey}" name="${slotKey}">${row.original[col.dataIndex]}</slot>`;
|
|
229
|
+
})
|
|
230
|
+
)}
|
|
231
|
+
`;
|
|
232
|
+
};
|
|
233
|
+
this.generateCustomRowSlot = (rows) => {
|
|
234
|
+
if (!this.expandProps) return "";
|
|
235
|
+
return html`
|
|
236
|
+
${rows.map((row) => {
|
|
237
|
+
var _a, _b, _c;
|
|
238
|
+
const rowSlotKey = `${CUSTOM_ROW}-${this.adapter.getRecordKey(row.original)}`;
|
|
239
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expendableRowKeys)) return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
240
|
+
if ((_c = (_b = this.expandProps) == null ? void 0 : _b.expendableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey])) {
|
|
241
|
+
return html`<slot slot="${rowSlotKey}" name="${rowSlotKey}"></slot>`;
|
|
242
|
+
} else {
|
|
243
|
+
return null;
|
|
244
|
+
}
|
|
245
|
+
})}
|
|
246
|
+
`;
|
|
247
|
+
};
|
|
248
|
+
this.handleRowSelectionChange = (updaterOrValue) => {
|
|
249
|
+
if (typeof updaterOrValue === "function") {
|
|
250
|
+
this.rowSelectedMap = updaterOrValue(this.rowSelectedMap);
|
|
251
|
+
} else {
|
|
252
|
+
this.rowSelectedMap = updaterOrValue;
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
this.handleSortingChange = (updaterOrValue) => {
|
|
256
|
+
if (typeof updaterOrValue === "function") {
|
|
257
|
+
this.sorting = updaterOrValue(this.sorting);
|
|
258
|
+
} else {
|
|
259
|
+
this.sorting = updaterOrValue;
|
|
260
|
+
}
|
|
261
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
262
|
+
this.handleChange({
|
|
263
|
+
changeType: "sorter"
|
|
264
|
+
});
|
|
265
|
+
});
|
|
266
|
+
};
|
|
267
|
+
this.handleColumnFiltersChange = (updaterOrValue) => {
|
|
268
|
+
if (typeof updaterOrValue === "function") {
|
|
269
|
+
this.columnFilters = updaterOrValue(this.columnFilters);
|
|
270
|
+
} else {
|
|
271
|
+
this.columnFilters = updaterOrValue;
|
|
272
|
+
}
|
|
273
|
+
window == null ? void 0 : window.requestAnimationFrame(() => {
|
|
274
|
+
this.handleChange({
|
|
275
|
+
changeType: "filters"
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
};
|
|
279
|
+
this.handleFilterDropdownChange = (e) => {
|
|
280
|
+
var _a;
|
|
281
|
+
const detail = e.detail;
|
|
282
|
+
const { key, visible } = detail || {};
|
|
283
|
+
const col = this.columns.find((c) => c.dataIndex === key);
|
|
284
|
+
(_a = col == null ? void 0 : col.onFilterDropdownVisibleChange) == null ? void 0 : _a.call(col, visible);
|
|
285
|
+
};
|
|
286
|
+
this.getRowCanExpand = (row) => {
|
|
287
|
+
var _a, _b, _c;
|
|
288
|
+
if (!((_a = this.expandProps) == null ? void 0 : _a.expendableRowKeys)) return true;
|
|
289
|
+
return Boolean((_c = (_b = this.expandProps) == null ? void 0 : _b.expendableRowKeys) == null ? void 0 : _c.includes(row.original[this.rowKey]));
|
|
290
|
+
};
|
|
291
|
+
this.expendedChange = (updater) => {
|
|
292
|
+
const newExpanded = typeof updater === "function" ? updater(this.expandedMap) : updater;
|
|
293
|
+
this.expandedMap = newExpanded;
|
|
294
|
+
this.requestUpdate();
|
|
295
|
+
};
|
|
296
|
+
this.handlePaginationChange = (event) => {
|
|
297
|
+
var _a, _b, _c;
|
|
298
|
+
const { pageNumber, pageSize } = event.detail;
|
|
299
|
+
(_b = (_a = this.pagination) == null ? void 0 : _a["sl-page-change"]) == null ? void 0 : _b.call(_a, event);
|
|
300
|
+
this.pagination = __spreadProps(__spreadValues({}, this.pagination), {
|
|
301
|
+
defaultCurrentPage: pageNumber,
|
|
302
|
+
pageSize: pageSize || 20
|
|
303
|
+
});
|
|
304
|
+
this.pageIndex = pageNumber - 1;
|
|
305
|
+
this.handleChange({
|
|
306
|
+
pagination: {
|
|
307
|
+
pageNumber: pageNumber || 1,
|
|
308
|
+
pageSize: pageSize || 20,
|
|
309
|
+
total: ((_c = this.pagination) == null ? void 0 : _c.total) || this.dataSource.length
|
|
310
|
+
},
|
|
311
|
+
type: "pagination"
|
|
312
|
+
});
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
get adapter() {
|
|
316
|
+
return {
|
|
317
|
+
getRecordKey: (record) => {
|
|
318
|
+
if (!record) {
|
|
319
|
+
return void 0;
|
|
320
|
+
}
|
|
321
|
+
return get(record, this.rowKey);
|
|
322
|
+
},
|
|
323
|
+
getSortIsControlled: () => {
|
|
324
|
+
return some(this.columns, (col) => !!col.sortOrder);
|
|
325
|
+
},
|
|
326
|
+
getTableWidth: () => this.tableWidth,
|
|
327
|
+
getFilterIsControlled: () => some(this.columns, (col) => !!col.filteredValue),
|
|
328
|
+
tableScrollToTop: () => {
|
|
329
|
+
var _a, _b;
|
|
330
|
+
return ((_a = this.tableScroll) == null ? void 0 : _a.y) ? (_b = this.bodyWrapRef.value) == null ? void 0 : _b.scrollTo({ top: 0 }) : void 0;
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
/*
|
|
335
|
+
生命周期 start
|
|
336
|
+
**/
|
|
337
|
+
connectedCallback() {
|
|
338
|
+
super.connectedCallback();
|
|
339
|
+
window.addEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
340
|
+
this.syncTableWidth();
|
|
341
|
+
this.setScrollBarStyle();
|
|
342
|
+
this.setScrollPositionClassName();
|
|
343
|
+
}
|
|
344
|
+
disconnectedCallback() {
|
|
345
|
+
window.removeEventListener("resize", debounce(this.handleWindowResize, 150));
|
|
346
|
+
super.disconnectedCallback();
|
|
347
|
+
}
|
|
348
|
+
willUpdate(changedProperties) {
|
|
349
|
+
var _a;
|
|
350
|
+
this.warnIfNoKey();
|
|
351
|
+
if (changedProperties.has("rowSelection")) {
|
|
352
|
+
this.rowSelectedMap = convertRowSelectionState(((_a = this.rowSelection) == null ? void 0 : _a.defaultSelectedRowKeys) || []);
|
|
353
|
+
}
|
|
354
|
+
if (changedProperties.has("columns")) {
|
|
355
|
+
const defaultSorting = getDefaultSorting(this.columns);
|
|
356
|
+
if (defaultSorting.length > 0) {
|
|
357
|
+
this.sorting = defaultSorting;
|
|
358
|
+
}
|
|
359
|
+
const defaultFilters = getDefaultFilters(this.columns);
|
|
360
|
+
if (defaultFilters.length > 0) {
|
|
361
|
+
this.columnFilters = defaultFilters;
|
|
362
|
+
}
|
|
363
|
+
const defaultPinning = getDefaultPinning(this.columns);
|
|
364
|
+
if (defaultPinning.left.length > 0 || defaultPinning.right.length > 0) {
|
|
365
|
+
this.columnPinning = defaultPinning;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
if (changedProperties.has("dataSource") || changedProperties.has("expandProps")) {
|
|
369
|
+
this.dataSource.forEach((row) => {
|
|
370
|
+
var _a2, _b;
|
|
371
|
+
if (!((_a2 = this.expandProps) == null ? void 0 : _a2.rowExpandable)) return;
|
|
372
|
+
const rowKey = row[this.rowKey];
|
|
373
|
+
const expandAllMatch = this.expandProps.defaultExpandAllRows && (!this.expandProps.expendableRowKeys || this.expandProps.expendableRowKeys.includes(rowKey));
|
|
374
|
+
const expandByKeys = (_b = this.expandProps.defaultExpandedRowKeys) == null ? void 0 : _b.includes(rowKey);
|
|
375
|
+
if (expandAllMatch || expandByKeys) {
|
|
376
|
+
this.expandedMap[rowKey] = true;
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
updated(changedProperties) {
|
|
382
|
+
super.updated(changedProperties);
|
|
383
|
+
window.requestAnimationFrame(() => {
|
|
384
|
+
this.setScrollPositionClassName();
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
async firstUpdated() {
|
|
388
|
+
var _a, _b;
|
|
389
|
+
const bodyTable = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("sl-table-body-table");
|
|
390
|
+
if (bodyTable) {
|
|
391
|
+
await bodyTable.updateComplete;
|
|
392
|
+
}
|
|
393
|
+
const headTable = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sl-table-head-table");
|
|
394
|
+
if (headTable) {
|
|
395
|
+
await headTable.updateComplete;
|
|
396
|
+
}
|
|
397
|
+
if (this.virtualized) {
|
|
398
|
+
const scrollElement = this.bodyWrapRef.value;
|
|
399
|
+
const _c = this.virtualized, { itemHeight, overscan } = _c, rest = __objRest(_c, ["itemHeight", "overscan"]);
|
|
400
|
+
this.rowVirtualizerController = new VirtualizerController(this, __spreadValues({
|
|
401
|
+
count: this.dataSource.length,
|
|
402
|
+
getScrollElement: () => scrollElement,
|
|
403
|
+
estimateSize: () => itemHeight || VIRTUALIZED_DEFAULT.itemHeight,
|
|
404
|
+
overscan: overscan || VIRTUALIZED_DEFAULT.overscan
|
|
405
|
+
}, rest));
|
|
406
|
+
this.requestUpdate();
|
|
407
|
+
}
|
|
408
|
+
this.setColumnWidth();
|
|
409
|
+
}
|
|
410
|
+
renderTable(tableInstance) {
|
|
411
|
+
var _a, _b;
|
|
412
|
+
const currentPageRows = tableInstance.getPaginationRowModel().rows;
|
|
413
|
+
const filteredRows = tableInstance.getFilteredRowModel().rows;
|
|
414
|
+
const commonProps = {
|
|
415
|
+
direction: this.direction,
|
|
416
|
+
bordered: !!this.bordered,
|
|
417
|
+
rowSelectedMap: this.rowSelectedMap,
|
|
418
|
+
tableScroll: this.tableScroll,
|
|
419
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
420
|
+
handleBodyScroll: this.handleBodyScroll,
|
|
421
|
+
sorting: this.sorting,
|
|
422
|
+
dataSource: this.dataSource,
|
|
423
|
+
columns: this.columns,
|
|
424
|
+
adapter: this.adapter,
|
|
425
|
+
tableInstance,
|
|
426
|
+
slHeaderRow: this.slHeaderRow,
|
|
427
|
+
slRow: this.slRow,
|
|
428
|
+
virtualized: this.virtualized,
|
|
429
|
+
rowDrag: this.rowDrag,
|
|
430
|
+
slRowReorder: (detail) => {
|
|
431
|
+
var _a2;
|
|
432
|
+
if (this.slRowReorder) this.slRowReorder(detail);
|
|
433
|
+
if ((_a2 = detail.newRows) == null ? void 0 : _a2.length) {
|
|
434
|
+
this.dataSource = detail.newRows;
|
|
435
|
+
this.requestUpdate();
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
const emptyTemplate = this.dataSource.length === 0 || currentPageRows.length === 0 || filteredRows.length === 0 ? this.renderEmpty() : "";
|
|
440
|
+
const headTable = this.showHeader ? html`<sl-table-head-table
|
|
441
|
+
exportparts="table-head, table-head-row, table-head-cell"
|
|
442
|
+
.commonProps=${commonProps}
|
|
443
|
+
.headerRef=${this.headerWrapRef}
|
|
444
|
+
@sl-filter-dropdown-change=${this.handleFilterDropdownChange}
|
|
445
|
+
></sl-table-head-table>` : "";
|
|
446
|
+
const bodyTable = html`<sl-table-body-table
|
|
447
|
+
exportparts="table-body, table-body-row, table-body-cell"
|
|
448
|
+
.bodyRef=${this.bodyWrapRef}
|
|
449
|
+
.emptyTemplate=${emptyTemplate}
|
|
450
|
+
.commonProps=${commonProps}
|
|
451
|
+
.rowVirtualizerController=${this.rowVirtualizerController}
|
|
452
|
+
.expandRowByClick=${((_a = this.expandProps) == null ? void 0 : _a.rowExpandable) && ((_b = this.expandProps) == null ? void 0 : _b.expandRowByClick)}
|
|
453
|
+
>
|
|
454
|
+
<slot name="table-empty" slot="table-empty">暂无数据</slot>
|
|
455
|
+
${this.generateCustomRowSlot(filteredRows)} ${this.generateCustomCellSlot(filteredRows)}
|
|
456
|
+
</sl-table-body-table>`;
|
|
457
|
+
return html`${headTable} ${bodyTable}`;
|
|
458
|
+
}
|
|
459
|
+
renderEmpty() {
|
|
460
|
+
return html` <div class="table-placeholder"><slot name="table-empty"></slot></div>`;
|
|
461
|
+
}
|
|
462
|
+
renderMainTable(tableInstance) {
|
|
463
|
+
const table = html`${this.renderTable(tableInstance)}`;
|
|
464
|
+
return table;
|
|
465
|
+
}
|
|
466
|
+
renderPagination(place) {
|
|
467
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
468
|
+
if (!this.pagination) return "";
|
|
469
|
+
const pos = ((_a = this.pagination) == null ? void 0 : _a.position) || "bottomEnd";
|
|
470
|
+
const isTop = pos.startsWith("top");
|
|
471
|
+
if (place === "top" && !isTop || place === "bottom" && isTop) return "";
|
|
472
|
+
const justify = pos.endsWith("Start") ? "flex-start" : pos.endsWith("Center") ? "center" : "flex-end";
|
|
473
|
+
const margin = place === "top" ? "0 0 8px 0" : "8px 0 0 0";
|
|
474
|
+
const style = `display:flex; justify-content:${justify}; margin:${margin};`;
|
|
475
|
+
return html`
|
|
476
|
+
<div class="pagination-container" style="${style}">
|
|
477
|
+
<sl-pagination
|
|
478
|
+
class="pagination"
|
|
479
|
+
@sl-page-change=${this.handlePaginationChange}
|
|
480
|
+
.total=${((_b = this.pagination) == null ? void 0 : _b.total) || this.dataSource.length}
|
|
481
|
+
.currentPage=${(_c = this.pagination) == null ? void 0 : _c.currentPage}
|
|
482
|
+
.defaultCurrentPage=${((_d = this.pagination) == null ? void 0 : _d.defaultCurrentPage) || 1}
|
|
483
|
+
.pageSize=${((_e = this.pagination) == null ? void 0 : _e.pageSize) || 20}
|
|
484
|
+
.disabled=${((_f = this.pagination) == null ? void 0 : _f.disabled) || false}
|
|
485
|
+
.className=${(_g = this.pagination) == null ? void 0 : _g.className}
|
|
486
|
+
.pageSizeOpts=${((_h = this.pagination) == null ? void 0 : _h.pageSizeOpts) || [10, 20, 50, 100]}
|
|
487
|
+
.simpleMode=${((_i = this.pagination) == null ? void 0 : _i.simpleMode) || false}
|
|
488
|
+
>
|
|
489
|
+
</sl-pagination>
|
|
490
|
+
</div>
|
|
491
|
+
`;
|
|
492
|
+
}
|
|
493
|
+
// 生成lit-table所需要的columns数组
|
|
494
|
+
buildColumns() {
|
|
495
|
+
var _a, _b, _c;
|
|
496
|
+
const _columns = [];
|
|
497
|
+
const columnHelper = createColumnHelper();
|
|
498
|
+
for (const col of this.columns) {
|
|
499
|
+
const {
|
|
500
|
+
dataIndex,
|
|
501
|
+
width,
|
|
502
|
+
align,
|
|
503
|
+
className,
|
|
504
|
+
ellipsis,
|
|
505
|
+
sorter,
|
|
506
|
+
filters,
|
|
507
|
+
filterMultiple,
|
|
508
|
+
defaultFilters,
|
|
509
|
+
onFilter,
|
|
510
|
+
filterDropdownProps,
|
|
511
|
+
onFilterDropdownVisibleChange
|
|
512
|
+
} = col;
|
|
513
|
+
const canSort = sorter && typeof sorter === "function";
|
|
514
|
+
const canFilter = filters && filters.length > 0;
|
|
515
|
+
const newCol = columnHelper.accessor((row) => row[dataIndex], {
|
|
516
|
+
id: dataIndex,
|
|
517
|
+
meta: {
|
|
518
|
+
align,
|
|
519
|
+
className,
|
|
520
|
+
ellipsis,
|
|
521
|
+
filters,
|
|
522
|
+
filterMultiple,
|
|
523
|
+
defaultFilters,
|
|
524
|
+
filterDropdownProps,
|
|
525
|
+
onFilterDropdownVisibleChange,
|
|
526
|
+
slCell: col.slCell,
|
|
527
|
+
slHeaderCell: col.slHeaderCell
|
|
528
|
+
},
|
|
529
|
+
cell: (info) => {
|
|
530
|
+
if (col.slot) {
|
|
531
|
+
const slotKey = `${CUSTOM_CELL}-${dataIndex}-${this.adapter.getRecordKey(info.row.original)}`;
|
|
532
|
+
return html`<slot name="${slotKey}" slot="${slotKey}">${info.getValue()}</slot>`;
|
|
533
|
+
}
|
|
534
|
+
return info.getValue();
|
|
535
|
+
},
|
|
536
|
+
header: () => col.title || dataIndex,
|
|
537
|
+
size: width
|
|
538
|
+
});
|
|
539
|
+
newCol.enableResizing = (_a = col.enableResizing) != null ? _a : this.enableColumnResizing;
|
|
540
|
+
if (newCol.enableResizing) {
|
|
541
|
+
newCol.minSize = 60;
|
|
542
|
+
newCol.maxSize = 500;
|
|
543
|
+
}
|
|
544
|
+
if (canSort) {
|
|
545
|
+
newCol.sortingFn = (rowA, rowB) => sorter(rowA.original, rowB.original);
|
|
546
|
+
}
|
|
547
|
+
if (canFilter && onFilter) {
|
|
548
|
+
newCol.filterFn = (row, _columnId, filterValue) => {
|
|
549
|
+
if (Array.isArray(filterValue)) {
|
|
550
|
+
return filterValue.some((val) => !!onFilter(val, row.original));
|
|
551
|
+
}
|
|
552
|
+
return !!onFilter(filterValue, row.original);
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
newCol.enableSorting = !!canSort;
|
|
556
|
+
newCol.enableColumnFilter = !!canFilter;
|
|
557
|
+
_columns.push(newCol);
|
|
558
|
+
}
|
|
559
|
+
if (this.rowSelection && !this.rowSelection.hidden) {
|
|
560
|
+
_columns.unshift(getSelectionColumn(this.rowSelection, this.rowKey));
|
|
561
|
+
}
|
|
562
|
+
if ((_b = this == null ? void 0 : this.expandProps) == null ? void 0 : _b.rowExpandable) _columns.unshift(getExpendRow((_c = this.expandProps) == null ? void 0 : _c.expandRowByClick));
|
|
563
|
+
if (this == null ? void 0 : this.rowDrag) _columns.unshift(getDragRow());
|
|
564
|
+
return _columns;
|
|
565
|
+
}
|
|
566
|
+
// 构建 tableState
|
|
567
|
+
buildTableState() {
|
|
568
|
+
var _a;
|
|
569
|
+
const rowSelectionOptions = getRowSelectionOptions({
|
|
570
|
+
rowSelection: this.rowSelection
|
|
571
|
+
});
|
|
572
|
+
const cols = this.buildColumns();
|
|
573
|
+
const instance = this.tableController.table(__spreadProps(__spreadValues({
|
|
574
|
+
columns: cols,
|
|
575
|
+
data: this.dataSource,
|
|
576
|
+
enableColumnResizing: this.enableColumnResizing,
|
|
577
|
+
columnResizeMode: "onChange",
|
|
578
|
+
columnResizeDirection: this.direction,
|
|
579
|
+
manualPagination: !this.pagination,
|
|
580
|
+
getRowId: (row) => row[this.rowKey],
|
|
581
|
+
getCoreRowModel: getCoreRowModel(),
|
|
582
|
+
getSortedRowModel: getSortedRowModel(),
|
|
583
|
+
getPaginationRowModel: getPaginationRowModel(),
|
|
584
|
+
getFilteredRowModel: getFilteredRowModel(),
|
|
585
|
+
getExpandedRowModel: getExpandedRowModel(),
|
|
586
|
+
state: {
|
|
587
|
+
rowSelection: this.rowSelectedMap,
|
|
588
|
+
sorting: this.sorting,
|
|
589
|
+
columnFilters: this.columnFilters,
|
|
590
|
+
columnSizing: this.columnSizing,
|
|
591
|
+
pagination: {
|
|
592
|
+
pageIndex: this.pageIndex,
|
|
593
|
+
pageSize: ((_a = this.pagination) == null ? void 0 : _a.pageSize) || 20
|
|
594
|
+
},
|
|
595
|
+
expanded: this.expandedMap,
|
|
596
|
+
columnPinning: this.columnPinning
|
|
597
|
+
},
|
|
598
|
+
onColumnSizingChange: this.handleColumnSizingChange,
|
|
599
|
+
onSortingChange: this.handleSortingChange,
|
|
600
|
+
onColumnFiltersChange: this.handleColumnFiltersChange
|
|
601
|
+
}, rowSelectionOptions), {
|
|
602
|
+
onRowSelectionChange: this.handleRowSelectionChange,
|
|
603
|
+
// 受控排序
|
|
604
|
+
manualSorting: this.adapter.getSortIsControlled(),
|
|
605
|
+
manualFiltering: this.adapter.getFilterIsControlled(),
|
|
606
|
+
getRowCanExpand: this.getRowCanExpand,
|
|
607
|
+
onExpandedChange: this.expendedChange
|
|
608
|
+
}));
|
|
609
|
+
return instance;
|
|
610
|
+
}
|
|
611
|
+
handleChange(extra) {
|
|
612
|
+
var _a;
|
|
613
|
+
this.dispatchEvent(
|
|
614
|
+
new CustomEvent("change", {
|
|
615
|
+
detail: __spreadValues({
|
|
616
|
+
sorting: this.sorting,
|
|
617
|
+
columnFilters: this.columnFilters
|
|
618
|
+
}, extra)
|
|
619
|
+
})
|
|
620
|
+
);
|
|
621
|
+
if (["sorting", "filters", "pagination"].includes(extra == null ? void 0 : extra.type) && ((_a = this.tableScroll) == null ? void 0 : _a.scrollToFirstRowOnChange)) {
|
|
622
|
+
this.adapter.tableScrollToTop();
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
render() {
|
|
626
|
+
const tableInstance = this.buildTableState();
|
|
627
|
+
return html`
|
|
628
|
+
<div
|
|
629
|
+
part="table-wrapper"
|
|
630
|
+
${ref(this.tableWrapRef)}
|
|
631
|
+
class=${classMap({
|
|
632
|
+
"table-wrapper": true,
|
|
633
|
+
[`table-direction-${this.direction}`]: true
|
|
634
|
+
})}
|
|
635
|
+
>
|
|
636
|
+
${this.renderPagination("top")}
|
|
637
|
+
<sl-table-spinner-container .loading=${this.loading} exportparts="table-container">
|
|
638
|
+
<div
|
|
639
|
+
class=${classMap({
|
|
640
|
+
"table-bordered": Boolean(this.bordered),
|
|
641
|
+
"table-nodata": this.dataSource.length === 0
|
|
642
|
+
})}
|
|
643
|
+
>
|
|
644
|
+
<div
|
|
645
|
+
part="table-container"
|
|
646
|
+
class=${classMap({
|
|
647
|
+
"table-container": !this.enableColumnResizing,
|
|
648
|
+
"table-columnresizing": this.enableColumnResizing || false
|
|
649
|
+
})}
|
|
650
|
+
>
|
|
651
|
+
${this.renderMainTable(tableInstance)}
|
|
652
|
+
</div>
|
|
653
|
+
</div>
|
|
654
|
+
</sl-table-spinner-container>
|
|
655
|
+
${this.renderPagination("bottom")}
|
|
656
|
+
</div>
|
|
657
|
+
`;
|
|
658
|
+
}
|
|
659
|
+
};
|
|
660
|
+
SlTable.dependencies = {
|
|
661
|
+
"sl-checkbox": SlCheckbox,
|
|
662
|
+
"sl-radio": SlRadio,
|
|
663
|
+
"sl-pagination": SlPagination
|
|
664
|
+
};
|
|
665
|
+
SlTable.styles = [table_style_default];
|
|
666
|
+
__decorateClass([
|
|
667
|
+
property({ type: Array })
|
|
668
|
+
], SlTable.prototype, "rowKey", 2);
|
|
669
|
+
__decorateClass([
|
|
670
|
+
property({ type: Array })
|
|
671
|
+
], SlTable.prototype, "columns", 2);
|
|
672
|
+
__decorateClass([
|
|
673
|
+
property({ type: Array })
|
|
674
|
+
], SlTable.prototype, "dataSource", 2);
|
|
675
|
+
__decorateClass([
|
|
676
|
+
property({ type: Boolean })
|
|
677
|
+
], SlTable.prototype, "loading", 2);
|
|
678
|
+
__decorateClass([
|
|
679
|
+
property({ type: Boolean })
|
|
680
|
+
], SlTable.prototype, "bordered", 2);
|
|
681
|
+
__decorateClass([
|
|
682
|
+
property({ type: String })
|
|
683
|
+
], SlTable.prototype, "direction", 2);
|
|
684
|
+
__decorateClass([
|
|
685
|
+
property({ type: Boolean })
|
|
686
|
+
], SlTable.prototype, "showHeader", 2);
|
|
687
|
+
__decorateClass([
|
|
688
|
+
property({ type: Object })
|
|
689
|
+
], SlTable.prototype, "rowSelection", 2);
|
|
690
|
+
__decorateClass([
|
|
691
|
+
property({ type: Object })
|
|
692
|
+
], SlTable.prototype, "tableScroll", 2);
|
|
693
|
+
__decorateClass([
|
|
694
|
+
property({ type: Object })
|
|
695
|
+
], SlTable.prototype, "pagination", 2);
|
|
696
|
+
__decorateClass([
|
|
697
|
+
property({ type: Object })
|
|
698
|
+
], SlTable.prototype, "expandProps", 2);
|
|
699
|
+
__decorateClass([
|
|
700
|
+
property({ type: Boolean })
|
|
701
|
+
], SlTable.prototype, "enableColumnResizing", 2);
|
|
702
|
+
__decorateClass([
|
|
703
|
+
property({ type: Function })
|
|
704
|
+
], SlTable.prototype, "slHeaderRow", 2);
|
|
705
|
+
__decorateClass([
|
|
706
|
+
property({ type: Function })
|
|
707
|
+
], SlTable.prototype, "slRow", 2);
|
|
708
|
+
__decorateClass([
|
|
709
|
+
property({ type: Function })
|
|
710
|
+
], SlTable.prototype, "slColumnResize", 2);
|
|
711
|
+
__decorateClass([
|
|
712
|
+
property({ type: Object || Boolean })
|
|
713
|
+
], SlTable.prototype, "virtualized", 2);
|
|
714
|
+
__decorateClass([
|
|
715
|
+
property({ type: Boolean })
|
|
716
|
+
], SlTable.prototype, "rowDrag", 2);
|
|
717
|
+
__decorateClass([
|
|
718
|
+
property({ type: Function })
|
|
719
|
+
], SlTable.prototype, "slRowReorder", 2);
|
|
720
|
+
__decorateClass([
|
|
721
|
+
state()
|
|
722
|
+
], SlTable.prototype, "rowSelectedMap", 2);
|
|
723
|
+
__decorateClass([
|
|
724
|
+
state()
|
|
725
|
+
], SlTable.prototype, "expandedMap", 2);
|
|
726
|
+
__decorateClass([
|
|
727
|
+
state()
|
|
728
|
+
], SlTable.prototype, "sorting", 2);
|
|
729
|
+
__decorateClass([
|
|
730
|
+
state()
|
|
731
|
+
], SlTable.prototype, "columnFilters", 2);
|
|
732
|
+
__decorateClass([
|
|
733
|
+
state()
|
|
734
|
+
], SlTable.prototype, "tableWidth", 2);
|
|
735
|
+
__decorateClass([
|
|
736
|
+
state()
|
|
737
|
+
], SlTable.prototype, "columnSizing", 2);
|
|
738
|
+
__decorateClass([
|
|
739
|
+
state()
|
|
740
|
+
], SlTable.prototype, "pageIndex", 2);
|
|
741
|
+
__decorateClass([
|
|
742
|
+
state()
|
|
743
|
+
], SlTable.prototype, "columnPinning", 2);
|
|
744
|
+
|
|
745
|
+
export {
|
|
746
|
+
SlTable
|
|
747
|
+
};
|