@kdcloudjs/shoelace 1.0.26 → 1.0.28
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.23ADDY5J.js +36 -0
- package/cdn/chunks/chunk.2JP2V42J.js +77 -0
- package/cdn/chunks/chunk.2ODAYV6U.js +11 -0
- package/cdn/chunks/chunk.2OSBPKY3.js +26 -0
- package/cdn/chunks/chunk.2POQBXMO.js +21 -0
- package/cdn/chunks/chunk.2PWIXRJ3.js +11 -0
- package/cdn/chunks/chunk.2R7TNI4L.js +93 -0
- package/cdn/chunks/chunk.2SK6IUNN.js +54 -0
- package/cdn/chunks/chunk.2TPU424L.js +60 -0
- package/cdn/chunks/chunk.2YO53H5X.js +11 -0
- package/cdn/chunks/chunk.33HHT6MV.js +122 -0
- package/cdn/chunks/chunk.3JMB2PQN.js +11 -0
- package/cdn/chunks/chunk.3NNU5OBI.js +11 -0
- package/cdn/chunks/chunk.3SY5DLMH.js +78 -0
- package/cdn/chunks/chunk.3TMXCU6V.js +27 -0
- package/cdn/chunks/chunk.3UMN4D63.js +28 -0
- package/cdn/chunks/chunk.44QKW7GG.js +158 -0
- package/cdn/chunks/chunk.47GFKRVR.js +455 -0
- package/cdn/chunks/chunk.4BPDSEH3.js +110 -0
- package/cdn/chunks/chunk.4ELSRJ6I.js +21 -0
- package/cdn/chunks/chunk.4S3STF26.js +292 -0
- package/cdn/chunks/chunk.4SU6TOMT.js +24 -0
- package/cdn/chunks/chunk.5BCYRPHR.js +312 -0
- package/cdn/chunks/chunk.5F6HTN6H.js +11 -0
- package/cdn/chunks/chunk.5FR7MGGT.js +25 -0
- package/cdn/chunks/chunk.5NSPOTMM.js +21 -0
- package/cdn/chunks/chunk.5PRDU7WQ.js +302 -0
- package/cdn/chunks/chunk.5ZN6QZQY.js +161 -0
- package/cdn/chunks/chunk.66X4ORPT.js +11 -0
- package/cdn/chunks/chunk.6DIJCQ2A.js +11 -0
- package/cdn/chunks/chunk.6MUK6SQ3.js +449 -0
- package/cdn/chunks/chunk.6SKQWRRB.js +29 -0
- package/cdn/chunks/chunk.6T3BIU6I.js +11 -0
- package/cdn/chunks/chunk.6VNBWAKL.js +21 -0
- package/cdn/chunks/chunk.6YOUHY6W.js +42 -0
- package/cdn/chunks/chunk.747ZOZKC.js +231 -0
- package/cdn/chunks/chunk.74AGSFCR.js +21 -0
- package/cdn/chunks/chunk.77IYEU4A.js +29 -0
- package/cdn/chunks/chunk.77YH5KK2.js +28 -0
- package/cdn/chunks/chunk.7A34DNFK.js +24 -0
- package/cdn/chunks/chunk.7AMESOZF.js +29 -0
- package/cdn/chunks/chunk.7CFAFH3T.js +11 -0
- package/cdn/chunks/chunk.7ECJRCOU.js +11 -0
- package/cdn/chunks/chunk.7GI5FNE5.js +233 -0
- package/cdn/chunks/chunk.7J75UG4K.js +197 -0
- package/cdn/chunks/chunk.7KYCR643.js +21 -0
- package/cdn/chunks/chunk.7PMWAYQN.js +11 -0
- package/cdn/chunks/chunk.7RAJJIDY.js +21 -0
- package/cdn/chunks/chunk.7S3NWD2K.js +11 -0
- package/cdn/chunks/chunk.7XNO4YA2.js +7360 -0
- package/cdn/chunks/chunk.A5YC5RLD.js +11 -0
- package/cdn/chunks/chunk.A7W3H3RG.js +526 -0
- package/cdn/chunks/chunk.AHAU5VLV.js +336 -0
- package/cdn/chunks/chunk.AOB2UCOG.js +69 -0
- package/cdn/chunks/chunk.ASHPDXSD.js +255 -0
- package/cdn/chunks/chunk.AUKTCXRR.js +24 -0
- package/cdn/chunks/chunk.AWSNWAST.js +5845 -0
- package/cdn/chunks/chunk.AXF4HQY5.js +586 -0
- package/cdn/chunks/chunk.BAIGSUJW.js +128 -0
- package/cdn/chunks/chunk.BSPPXCTS.js +113 -0
- package/cdn/chunks/chunk.BUIRZB5U.js +26 -0
- package/cdn/chunks/chunk.BWTFXKFH.js +63 -0
- package/cdn/chunks/chunk.BY5ZWAFO.js +11 -0
- package/cdn/chunks/chunk.BZVBZ2OH.js +11 -0
- package/cdn/chunks/chunk.C4RWWPQY.js +33 -0
- package/cdn/chunks/chunk.CFTWQCNN.js +28 -0
- package/cdn/chunks/chunk.CIDHN27H.js +299 -0
- package/cdn/chunks/chunk.CKZRUABS.js +271 -0
- package/cdn/chunks/chunk.CN62D3LE.js +218 -0
- package/cdn/chunks/chunk.D32TYAV4.js +215 -0
- package/cdn/chunks/chunk.D7BS2A2Q.js +126 -0
- package/cdn/chunks/chunk.DCS2CRXQ.js +11 -0
- package/cdn/chunks/chunk.DGKVX2O4.js +27 -0
- package/cdn/chunks/chunk.DGZ6NWOG.js +276 -0
- package/cdn/chunks/chunk.DIXDF6TO.js +11 -0
- package/cdn/chunks/chunk.DKU2N2M3.js +24 -0
- package/cdn/chunks/chunk.DQ6CWDR7.js +29 -0
- package/cdn/chunks/chunk.DSE6HZXX.js +28 -0
- package/cdn/chunks/chunk.EA7K4BZV.js +11 -0
- package/cdn/chunks/chunk.ED535MXH.js +26 -0
- package/cdn/chunks/chunk.EDHNR3OC.js +11 -0
- package/cdn/chunks/chunk.EGIBVX27.js +11 -0
- package/cdn/chunks/chunk.EHXP6Q2O.js +24 -0
- package/cdn/chunks/chunk.EPDJQFQC.js +367 -0
- package/cdn/chunks/chunk.EZC3O6TV.js +21 -0
- package/cdn/chunks/chunk.F232GE6P.js +25 -0
- package/cdn/chunks/chunk.F263MQPF.js +291 -0
- package/cdn/chunks/chunk.F2XIJP3U.js +11 -0
- package/cdn/chunks/chunk.F7QNJPIK.js +21 -0
- package/cdn/chunks/chunk.FDQ5L6RR.js +11 -0
- package/cdn/chunks/chunk.FFQAHEEO.js +335 -0
- package/cdn/chunks/chunk.FLAC4JSA.js +11 -0
- package/cdn/chunks/chunk.FQVQBQVN.js +24 -0
- package/cdn/chunks/chunk.FT4CEOPJ.js +21 -0
- package/cdn/chunks/chunk.G5C433I3.js +177 -0
- package/cdn/chunks/chunk.GC5KN546.js +11 -0
- package/cdn/chunks/chunk.GR5F3EZP.js +21 -0
- package/cdn/chunks/chunk.GSKFDR3M.js +24 -0
- package/cdn/chunks/chunk.GVFRB4FA.js +236 -0
- package/cdn/chunks/chunk.GZ5NCIY6.js +11 -0
- package/cdn/chunks/chunk.HA5VWDEJ.js +11 -0
- package/cdn/chunks/chunk.HDCAHCR3.js +103 -0
- package/cdn/chunks/chunk.HIWI6YVL.js +11 -0
- package/cdn/chunks/chunk.HNKYVSQV.js +1252 -0
- package/cdn/chunks/chunk.HPYYDQDZ.js +822 -0
- package/cdn/chunks/chunk.HY2WNLS4.js +114 -0
- package/cdn/chunks/chunk.ILBGOEU2.js +21 -0
- package/cdn/chunks/chunk.ILNIBGGR.js +11 -0
- package/cdn/chunks/chunk.ILWWVC4Y.js +97 -0
- package/cdn/chunks/chunk.IO6HD2LO.js +21 -0
- package/cdn/chunks/chunk.IOV2BG7I.js +82 -0
- package/cdn/chunks/chunk.IXNWTVO2.js +346 -0
- package/cdn/chunks/chunk.J46HRRBC.js +11 -0
- package/cdn/chunks/chunk.J54SM3CE.js +50 -0
- package/cdn/chunks/chunk.J7FE4UZC.js +24 -0
- package/cdn/chunks/chunk.JFPTG354.js +21 -0
- package/cdn/chunks/chunk.JOENTOAI.js +11 -0
- package/cdn/chunks/chunk.JWEWQDH6.js +199 -0
- package/cdn/chunks/chunk.JWYNNSIR.js +605 -0
- package/cdn/chunks/chunk.JXYZ5J7F.js +11 -0
- package/cdn/chunks/chunk.JZUYQE3C.js +11 -0
- package/cdn/chunks/chunk.K33JEY7K.js +11 -0
- package/cdn/chunks/chunk.K5NVH46F.js +25 -0
- package/cdn/chunks/chunk.KFOCG434.js +24 -0
- package/cdn/chunks/chunk.KNPTO7HR.js +11 -0
- package/cdn/chunks/chunk.KSEEAKAW.js +26 -0
- package/cdn/chunks/chunk.KYDZPVN4.js +25 -0
- package/cdn/chunks/chunk.KYSBY6XQ.js +120 -0
- package/cdn/chunks/chunk.L4XXIKJ7.js +1191 -0
- package/cdn/chunks/chunk.L7F4XSIM.js +314 -0
- package/cdn/chunks/chunk.L7HTIMLL.js +11 -0
- package/cdn/chunks/chunk.L7NCQ4JC.js +11 -0
- package/cdn/chunks/chunk.LKGK7LSZ.js +11 -0
- package/cdn/chunks/chunk.LL3JV2GV.js +24 -0
- package/cdn/chunks/chunk.LNMJKMV3.js +49 -0
- package/cdn/chunks/chunk.LO5N5PBL.js +21 -0
- package/cdn/chunks/chunk.LSOGHP2M.js +11 -0
- package/cdn/chunks/chunk.LTFUH5GX.js +29 -0
- package/cdn/chunks/chunk.M2QTWVSI.js +2633 -0
- package/cdn/chunks/chunk.M7DDMTRN.js +11 -0
- package/cdn/chunks/chunk.MACDAJRL.js +11 -0
- package/cdn/chunks/chunk.MBNYQKEK.js +510 -0
- package/cdn/chunks/chunk.MERHOJ3V.js +21 -0
- package/cdn/chunks/chunk.MIZYDWEO.js +27 -0
- package/cdn/chunks/chunk.MJDHKCAR.js +331 -0
- package/cdn/chunks/chunk.N2BP3QXE.js +11 -0
- package/cdn/chunks/chunk.N6XONRC5.js +11 -0
- package/cdn/chunks/chunk.NBPD4CNS.js +118 -0
- package/cdn/chunks/chunk.NCE47BDP.js +11 -0
- package/cdn/chunks/chunk.NDC4YMEC.js +391 -0
- package/cdn/chunks/chunk.NFSKOGYT.js +131 -0
- package/cdn/chunks/chunk.NSGP5ZXF.js +21 -0
- package/cdn/chunks/chunk.NZF2UT64.js +24 -0
- package/cdn/chunks/chunk.O2YPNGUE.js +29 -0
- package/cdn/chunks/chunk.O3HM44AZ.js +11 -0
- package/cdn/chunks/chunk.OAOBPP2Q.js +235 -0
- package/cdn/chunks/chunk.OEN3P3RO.js +11 -0
- package/cdn/chunks/chunk.OMQMM4IV.js +216 -0
- package/cdn/chunks/chunk.PE3IZA4T.js +11 -0
- package/cdn/chunks/chunk.PIMS5KND.js +25 -0
- package/cdn/chunks/chunk.POYCYDMY.js +27 -0
- package/cdn/chunks/chunk.PQZQ3SIX.js +11 -0
- package/cdn/chunks/chunk.PUAFGT47.js +21 -0
- package/cdn/chunks/chunk.Q2DIH4AN.js +379 -0
- package/cdn/chunks/chunk.Q45K57QT.js +79 -0
- package/cdn/chunks/chunk.Q6RKIBPO.js +11 -0
- package/cdn/chunks/chunk.Q7EOD7XX.js +219 -0
- package/cdn/chunks/chunk.QSDWJ62G.js +11 -0
- package/cdn/chunks/chunk.R52KBZ47.js +21 -0
- package/cdn/chunks/chunk.RAMGZTYL.js +11 -0
- package/cdn/chunks/chunk.RDJPMGTR.js +24 -0
- package/cdn/chunks/chunk.RF3XT3XJ.js +153 -0
- package/cdn/chunks/chunk.RHZGVTZM.js +135 -0
- package/cdn/chunks/chunk.RV7NTCWS.js +279 -0
- package/cdn/chunks/chunk.S3PP54EU.js +67 -0
- package/cdn/chunks/chunk.S3ZLPWBC.js +24 -0
- package/cdn/chunks/chunk.SJJYG5AS.js +11 -0
- package/cdn/chunks/chunk.SK46F4K2.js +724 -0
- package/cdn/chunks/chunk.SKLDUQYW.js +21 -0
- package/cdn/chunks/chunk.SLF2GIJJ.js +21 -0
- package/cdn/chunks/chunk.SOHWBX5V.js +24 -0
- package/cdn/chunks/chunk.SV25OGVG.js +27 -0
- package/cdn/chunks/chunk.SXCIU3YK.js +11 -0
- package/cdn/chunks/chunk.TNDNUAFL.js +21 -0
- package/cdn/chunks/chunk.TNKVDDTQ.js +95 -0
- package/cdn/chunks/chunk.TO2CHHO7.js +127 -0
- package/cdn/chunks/chunk.TPUQ53BB.js +28 -0
- package/cdn/chunks/chunk.TWD6VWAN.js +402 -0
- package/cdn/chunks/chunk.U2F3PZNY.js +21 -0
- package/cdn/chunks/chunk.U4BQGC6Y.js +21 -0
- package/cdn/chunks/chunk.U7JKLO5W.js +11 -0
- package/cdn/chunks/chunk.UAE22PBP.js +11 -0
- package/cdn/chunks/chunk.UAWA2YA5.js +11 -0
- package/cdn/chunks/chunk.UHGH3PD5.js +450 -0
- package/cdn/chunks/chunk.UL4RA6JF.js +11 -0
- package/cdn/chunks/chunk.ULNHXVUW.js +24 -0
- package/cdn/chunks/chunk.UM4RTEEY.js +246 -0
- package/cdn/chunks/chunk.UOED4WOD.js +25 -0
- package/cdn/chunks/chunk.UR2HJUYX.js +11 -0
- package/cdn/chunks/chunk.UUO26SKZ.js +24 -0
- package/cdn/chunks/chunk.UWX6F4H4.js +1990 -0
- package/cdn/chunks/chunk.V3KF4DWC.js +27 -0
- package/cdn/chunks/chunk.VA24BSEM.js +87 -0
- package/cdn/chunks/chunk.VB6MEDXM.js +24 -0
- package/cdn/chunks/chunk.VCNNTVQG.js +142 -0
- package/cdn/chunks/chunk.VDDAXBPG.js +11 -0
- package/cdn/chunks/chunk.VFFYK5B4.js +75 -0
- package/cdn/chunks/chunk.VO57DV65.js +73 -0
- package/cdn/chunks/chunk.VVHWPETA.js +11 -0
- package/cdn/chunks/chunk.VXPWEAAJ.js +25 -0
- package/cdn/chunks/chunk.VYYYLW6Z.js +1925 -0
- package/cdn/chunks/chunk.W3E5WPI5.js +21 -0
- package/cdn/chunks/chunk.W3MSWJCL.js +11 -0
- package/cdn/chunks/chunk.W3SDJFS4.js +25 -0
- package/cdn/chunks/chunk.W46NHWNZ.js +27 -0
- package/cdn/chunks/chunk.WAWE6KZM.js +21 -0
- package/cdn/chunks/chunk.WFGM42Q4.js +21 -0
- package/cdn/chunks/chunk.WTAMWFQO.js +137 -0
- package/cdn/chunks/chunk.WV744FDZ.js +11 -0
- package/cdn/chunks/chunk.WV7ETIIV.js +11 -0
- package/cdn/chunks/chunk.XDRI4SLY.js +11 -0
- package/cdn/chunks/chunk.XEQZCSG5.js +11 -0
- package/cdn/chunks/chunk.XMKLBCJK.js +11 -0
- package/cdn/chunks/chunk.XSN6HDBS.js +191 -0
- package/cdn/chunks/chunk.XVERUMH5.js +186 -0
- package/cdn/chunks/chunk.Y5DHCBAU.js +49 -0
- package/cdn/chunks/chunk.YAVW6QJR.js +11 -0
- package/cdn/chunks/chunk.YGKKDHNR.js +21 -0
- package/cdn/chunks/chunk.YIU3B5C5.js +25 -0
- package/cdn/chunks/chunk.YKDJFPQJ.js +11 -0
- package/cdn/chunks/chunk.YPLQI2YH.js +313 -0
- package/cdn/chunks/chunk.YRDO2LBD.js +587 -0
- package/cdn/chunks/chunk.YUECQRNK.js +25 -0
- package/cdn/chunks/chunk.YVJAWRUM.js +11 -0
- package/cdn/chunks/chunk.ZCL4RJS6.js +11 -0
- package/cdn/chunks/chunk.ZQN3XTW7.js +339 -0
- package/cdn/chunks/chunk.ZSKO26OA.js +175 -0
- package/cdn/chunks/chunk.ZXHUGDU2.js +11 -0
- package/cdn/components/alert/alert.component.js +9 -9
- package/cdn/components/alert/alert.js +10 -10
- package/cdn/components/animated-image/animated-image.component.js +6 -6
- package/cdn/components/animated-image/animated-image.js +7 -7
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +7 -7
- package/cdn/components/avatar/avatar.js +8 -8
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
- package/cdn/components/breadcrumb/breadcrumb.js +6 -6
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +10 -10
- package/cdn/components/calendar/calendar.js +10 -10
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +7 -7
- package/cdn/components/carousel/carousel.js +8 -8
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +8 -8
- package/cdn/components/checkbox/checkbox.js +9 -9
- package/cdn/components/col/col.component.js +2 -2
- package/cdn/components/col/col.js +3 -3
- package/cdn/components/color-picker/color-picker.component.js +17 -17
- package/cdn/components/color-picker/color-picker.js +18 -18
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/date-panel/date-panel.component.js +13 -13
- package/cdn/components/date-panel/date-panel.js +13 -13
- package/cdn/components/datepicker/datepicker.component.js +18 -18
- package/cdn/components/datepicker/datepicker.js +18 -18
- package/cdn/components/daterangepicker/daterangepicker.component.js +13 -13
- package/cdn/components/daterangepicker/daterangepicker.js +14 -14
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +8 -8
- package/cdn/components/drawer/drawer.js +9 -9
- package/cdn/components/dropdown/dropdown.component.js +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 +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon-button/icon-button.component.js +7 -7
- package/cdn/components/icon-button/icon-button.js +8 -8
- package/cdn/components/image-comparer/image-comparer.component.js +7 -7
- package/cdn/components/image-comparer/image-comparer.js +8 -8
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +8 -8
- package/cdn/components/input/input.js +9 -9
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +11 -11
- package/cdn/components/menu-item/menu-item.js +12 -12
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +15 -15
- package/cdn/components/nav/nav.js +16 -16
- package/cdn/components/nav/nav.styles.js +1 -1
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +3 -3
- package/cdn/components/nav-item/nav-item.js +4 -4
- package/cdn/components/nav-item/nav-item.styles.js +1 -1
- package/cdn/components/nav-submenu/nav-submenu.component.js +9 -9
- package/cdn/components/nav-submenu/nav-submenu.js +10 -10
- package/cdn/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/cdn/components/option/option.component.js +7 -7
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/pagination/custom-select.js +14 -14
- package/cdn/components/pagination/pagination.component.js +15 -15
- package/cdn/components/pagination/pagination.js +15 -15
- 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 +7 -7
- package/cdn/components/radio/radio.js +8 -8
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +7 -7
- package/cdn/components/rating/rating.js +8 -8
- 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/row/row.component.js +2 -2
- package/cdn/components/row/row.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +4 -4
- package/cdn/components/switch/switch.js +5 -5
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +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/index.js +3 -3
- package/cdn/components/table/features/row-drag-controller.js +3 -3
- package/cdn/components/table/head-table.js +26 -26
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +35 -35
- package/cdn/components/table/table.js +36 -36
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +4 -4
- package/cdn/components/textarea/textarea.js +5 -5
- package/cdn/components/think/think.component.js +9 -9
- package/cdn/components/think/think.js +10 -10
- package/cdn/components/think/think.styles.js +1 -1
- package/cdn/components/thought-chain/thought-chain.component.js +2 -2
- package/cdn/components/thought-chain/thought-chain.js +3 -3
- package/cdn/components/thought-chain-item/thought-chain-item.component.js +8 -8
- package/cdn/components/thought-chain-item/thought-chain-item.js +9 -9
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +8 -8
- package/cdn/components/thought-chain-node/thought-chain-node.js +9 -9
- package/cdn/components/time-panel/time-panel.component.js +9 -9
- package/cdn/components/time-panel/time-panel.js +9 -9
- package/cdn/components/timepicker/timepicker.component.js +18 -18
- package/cdn/components/timepicker/timepicker.js +18 -18
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +12 -12
- package/cdn/components/tree/tree.js +13 -13
- package/cdn/components/tree-item/tree-item.component.js +10 -10
- package/cdn/components/tree-item/tree-item.js +11 -11
- 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 +2096 -2034
- package/cdn/react/alert/index.js +10 -10
- package/cdn/react/animated-image/index.js +7 -7
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +8 -8
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +6 -6
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +8 -8
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +9 -9
- package/cdn/react/col/index.js +3 -3
- package/cdn/react/color-picker/index.js +18 -18
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/date-panel/index.js +14 -14
- package/cdn/react/datepicker/index.js +19 -19
- package/cdn/react/daterangepicker/index.js +14 -14
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- 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 +5 -5
- package/cdn/react/icon-button/index.js +8 -8
- package/cdn/react/image-comparer/index.js +8 -8
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +232 -232
- package/cdn/react/input/index.js +9 -9
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +12 -12
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +16 -16
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +4 -4
- package/cdn/react/nav-submenu/index.js +10 -10
- package/cdn/react/option/index.js +8 -8
- package/cdn/react/pagination/index.js +16 -16
- 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 +8 -8
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +8 -8
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/row/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +5 -5
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +36 -36
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +5 -5
- package/cdn/react/think/index.js +10 -10
- package/cdn/react/thought-chain/index.js +3 -3
- package/cdn/react/thought-chain-item/index.js +9 -9
- package/cdn/react/thought-chain-node/index.js +9 -9
- package/cdn/react/timepicker/index.js +19 -19
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +13 -13
- package/cdn/react/tree-item/index.js +11 -11
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +208 -208
- package/cdn/types/vue/index.d.ts +550 -527
- package/cdn/vscode.html-custom-data.json +211 -211
- package/cdn/web-types.json +1211 -1153
- package/dist/chunks/chunk.24M3GM3P.js +11 -0
- package/dist/chunks/chunk.27FDTXH3.js +11 -0
- package/dist/chunks/chunk.27WCWIS4.js +21 -0
- package/dist/chunks/chunk.2FFDGBMP.js +25 -0
- package/dist/chunks/chunk.2KQEQIYL.js +11 -0
- package/dist/chunks/chunk.2MH7FRTZ.js +293 -0
- package/dist/chunks/chunk.2OF5YUDM.js +11 -0
- package/dist/chunks/chunk.2QMWW66Z.js +263 -0
- package/dist/chunks/chunk.373GFKRW.js +11 -0
- package/dist/chunks/chunk.3CNAYRM6.js +11 -0
- package/dist/chunks/chunk.3EVAGGCY.js +11 -0
- package/dist/chunks/chunk.3HMUV5DC.js +504 -0
- package/dist/chunks/chunk.3MUSUDQQ.js +280 -0
- package/dist/chunks/chunk.44F7NLOO.js +286 -0
- package/dist/chunks/chunk.47KFNGTW.js +151 -0
- package/dist/chunks/chunk.4LSW635V.js +11 -0
- package/dist/chunks/chunk.4O3XMF2T.js +181 -0
- package/dist/chunks/chunk.4PI6NPGA.js +126 -0
- package/dist/chunks/chunk.4USIAKFX.js +119 -0
- package/dist/chunks/chunk.4WBXTRK5.js +11 -0
- package/dist/chunks/chunk.4WPUQ4PU.js +11 -0
- package/dist/chunks/chunk.4Z36BR5T.js +213 -0
- package/dist/chunks/chunk.4ZUDNFQI.js +11 -0
- package/dist/chunks/chunk.54YDIZN3.js +22 -0
- package/dist/chunks/chunk.55KC4DJT.js +80 -0
- package/dist/chunks/chunk.5AFCUULD.js +11 -0
- package/dist/chunks/chunk.5EYKAP5Z.js +167 -0
- package/dist/chunks/chunk.5NMRLSXP.js +11 -0
- package/dist/chunks/chunk.5O74QKTS.js +24 -0
- package/dist/chunks/chunk.5OGK4Z6H.js +335 -0
- package/dist/chunks/chunk.5ULFXBZ7.js +29 -0
- package/dist/chunks/chunk.5VVWEHFN.js +33 -0
- package/dist/chunks/chunk.5WV6HDMW.js +21 -0
- package/dist/chunks/chunk.6C764B7C.js +73 -0
- package/dist/chunks/chunk.6FNU5TE2.js +1250 -0
- package/dist/chunks/chunk.6L4F5ZOC.js +11 -0
- package/dist/chunks/chunk.6UUUK72L.js +502 -0
- package/dist/chunks/chunk.6ZDE76UP.js +11 -0
- package/dist/chunks/chunk.76WNKGGA.js +100 -0
- package/dist/chunks/chunk.773MVUJ7.js +11 -0
- package/dist/chunks/chunk.77XOHYDQ.js +28 -0
- package/dist/chunks/chunk.77Z7YG6T.js +11 -0
- package/dist/chunks/chunk.7I36VFYE.js +25 -0
- package/dist/chunks/chunk.7NPCEYXZ.js +24 -0
- package/dist/chunks/chunk.7XAXOFYE.js +21 -0
- package/dist/chunks/chunk.7XL3JP4F.js +337 -0
- package/dist/chunks/chunk.ADRZPMWG.js +11 -0
- package/dist/chunks/chunk.AGXNPFHC.js +24 -0
- package/dist/chunks/chunk.ALO4QKLH.js +21 -0
- package/dist/chunks/chunk.AP2DOKAI.js +24 -0
- package/dist/chunks/chunk.AW66C3FA.js +11 -0
- package/dist/chunks/chunk.AWPCDW7J.js +45 -0
- package/dist/chunks/chunk.AZ7XFZ5H.js +11 -0
- package/dist/chunks/chunk.B6RNYGII.js +11 -0
- package/dist/chunks/chunk.BG6R3U6Q.js +21 -0
- package/dist/chunks/chunk.BIO76UXX.js +11 -0
- package/dist/chunks/chunk.BPD6QUZ7.js +11 -0
- package/dist/chunks/chunk.BQUX5XC7.js +448 -0
- package/dist/chunks/chunk.BRAJ2F6D.js +28 -0
- package/dist/chunks/chunk.CBS5GFDH.js +11 -0
- package/dist/chunks/chunk.CIIYEZOW.js +75 -0
- package/dist/chunks/chunk.COT6BNHD.js +274 -0
- package/dist/chunks/chunk.CSJHYBL6.js +21 -0
- package/dist/chunks/chunk.CXT6RVTU.js +25 -0
- package/dist/chunks/chunk.D2SZMRCQ.js +21 -0
- package/dist/chunks/chunk.D5ZDTXWR.js +11 -0
- package/dist/chunks/chunk.D6P3JNAY.js +11 -0
- package/dist/chunks/chunk.DDJPQZYG.js +11 -0
- package/dist/chunks/chunk.DK4EA4RY.js +134 -0
- package/dist/chunks/chunk.DKE3A6CX.js +11 -0
- package/dist/chunks/chunk.DLCF5QVH.js +11 -0
- package/dist/chunks/chunk.DNEYDBKH.js +24 -0
- package/dist/chunks/chunk.DVXT4XTB.js +294 -0
- package/dist/chunks/chunk.ED76WWVB.js +11 -0
- package/dist/chunks/chunk.EOJ6NLC7.js +27 -0
- package/dist/chunks/chunk.ERE4MSBV.js +11 -0
- package/dist/chunks/chunk.ET4JP6UL.js +24 -0
- package/dist/chunks/chunk.EVQY5HIL.js +212 -0
- package/dist/chunks/chunk.EZT3B53C.js +315 -0
- package/dist/chunks/chunk.F625QLK5.js +116 -0
- package/dist/chunks/chunk.F6RVSUTO.js +11 -0
- package/dist/chunks/chunk.FAJ6ZZYX.js +26 -0
- package/dist/chunks/chunk.FBZ4CVHZ.js +11 -0
- package/dist/chunks/chunk.FDUTG424.js +194 -0
- package/dist/chunks/chunk.FKK4GCQI.js +867 -0
- package/dist/chunks/chunk.FMOD2JVE.js +50 -0
- package/dist/chunks/chunk.FN3XWQXJ.js +25 -0
- package/dist/chunks/chunk.FS4RK7QF.js +26 -0
- package/dist/chunks/chunk.FSYVRGP3.js +21 -0
- package/dist/chunks/chunk.FTWEHZXR.js +24 -0
- package/dist/chunks/chunk.GHALVTHU.js +11 -0
- package/dist/chunks/chunk.GJ3DUZWE.js +27 -0
- package/dist/chunks/chunk.GOXIX2VK.js +329 -0
- package/dist/chunks/chunk.GVW236AT.js +814 -0
- package/dist/chunks/chunk.GYIF6XJH.js +75 -0
- package/dist/chunks/chunk.HQGZTKRM.js +59 -0
- package/dist/chunks/chunk.HUMBTREN.js +25 -0
- package/dist/chunks/chunk.HZMBIAOV.js +21 -0
- package/dist/chunks/chunk.HZS2Y3SX.js +11 -0
- package/dist/chunks/chunk.I2FVOTUK.js +24 -0
- package/dist/chunks/chunk.IGQ3D345.js +29 -0
- package/dist/chunks/chunk.IQCH65DD.js +117 -0
- package/dist/chunks/chunk.IXWQQ7US.js +25 -0
- package/dist/chunks/chunk.J47QVN3Z.js +113 -0
- package/dist/chunks/chunk.JGXRFD4F.js +11 -0
- package/dist/chunks/chunk.JKVFZCH5.js +63 -0
- package/dist/chunks/chunk.JN35SIRZ.js +24 -0
- package/dist/chunks/chunk.JN3ZSJ5G.js +21 -0
- package/dist/chunks/chunk.JWCBO7LC.js +11 -0
- package/dist/chunks/chunk.JZRM4W52.js +52 -0
- package/dist/chunks/chunk.K3VFQNZH.js +447 -0
- package/dist/chunks/chunk.KKKUCVJQ.js +11 -0
- package/dist/chunks/chunk.KL4M47AX.js +21 -0
- package/dist/chunks/chunk.KYP7CFQL.js +85 -0
- package/dist/chunks/chunk.L4K7TIY5.js +598 -0
- package/dist/chunks/chunk.LKF7XQED.js +21 -0
- package/dist/chunks/chunk.LMGB4CV2.js +25 -0
- package/dist/chunks/chunk.LT6ITCIN.js +171 -0
- package/dist/chunks/chunk.LTRAG2OP.js +11 -0
- package/dist/chunks/chunk.M66IJLPP.js +109 -0
- package/dist/chunks/chunk.M6KAIK7G.js +26 -0
- package/dist/chunks/chunk.M6UZSSAP.js +21 -0
- package/dist/chunks/chunk.MAHFVMGV.js +28 -0
- package/dist/chunks/chunk.MBKQQDSJ.js +25 -0
- package/dist/chunks/chunk.MDV3MA63.js +11 -0
- package/dist/chunks/chunk.MEDMANKC.js +21 -0
- package/dist/chunks/chunk.MERNPHHO.js +21 -0
- package/dist/chunks/chunk.MFIGWR5U.js +11 -0
- package/dist/chunks/chunk.MRKYMXYY.js +11 -0
- package/dist/chunks/chunk.MU4DU2MC.js +11 -0
- package/dist/chunks/chunk.N2Z4FOWD.js +27 -0
- package/dist/chunks/chunk.N4Y54WJT.js +11 -0
- package/dist/chunks/chunk.N6Z7NV2Z.js +11 -0
- package/dist/chunks/chunk.NJC2XTAB.js +417 -0
- package/dist/chunks/chunk.NL523OZN.js +214 -0
- package/dist/chunks/chunk.NLE3JD4E.js +306 -0
- package/dist/chunks/chunk.NLKJPDDM.js +11 -0
- package/dist/chunks/chunk.NLNM6HSN.js +11 -0
- package/dist/chunks/chunk.NNHUZ6A6.js +231 -0
- package/dist/chunks/chunk.NQ53ROHM.js +11 -0
- package/dist/chunks/chunk.NWFL3MC3.js +11 -0
- package/dist/chunks/chunk.NXM5DDQG.js +444 -0
- package/dist/chunks/chunk.O4R4REE7.js +21 -0
- package/dist/chunks/chunk.OPAL5M5M.js +371 -0
- package/dist/chunks/chunk.OQE2E6QZ.js +311 -0
- package/dist/chunks/chunk.OQZBEYQS.js +154 -0
- package/dist/chunks/chunk.P2PYXQ3D.js +11 -0
- package/dist/chunks/chunk.PHFWZ22C.js +192 -0
- package/dist/chunks/chunk.POQAGK2U.js +324 -0
- package/dist/chunks/chunk.POSSNTAA.js +135 -0
- package/dist/chunks/chunk.PRZJGCHV.js +29 -0
- package/dist/chunks/chunk.PSUZQ73U.js +384 -0
- package/dist/chunks/chunk.Q3DAGRSZ.js +29 -0
- package/dist/chunks/chunk.Q3G2I3WX.js +57 -0
- package/dist/chunks/chunk.QB743RZB.js +24 -0
- package/dist/chunks/chunk.QYUUKRJD.js +11 -0
- package/dist/chunks/chunk.QYWOKKVK.js +76 -0
- package/dist/chunks/chunk.QZNPQ4RZ.js +28 -0
- package/dist/chunks/chunk.R66G64IE.js +11 -0
- package/dist/chunks/chunk.R66LVOEU.js +11 -0
- package/dist/chunks/chunk.R6IPUZO7.js +24 -0
- package/dist/chunks/chunk.RGMJS4AQ.js +26 -0
- package/dist/chunks/chunk.RM6PNWQ3.js +21 -0
- package/dist/chunks/chunk.RPAJFEKV.js +21 -0
- package/dist/chunks/chunk.RQLSHY6N.js +90 -0
- package/dist/chunks/chunk.RSLFXUT7.js +27 -0
- package/dist/chunks/chunk.RUY4X2AS.js +11 -0
- package/dist/chunks/chunk.RZEI373K.js +215 -0
- package/dist/chunks/chunk.S332ERR2.js +147 -0
- package/dist/chunks/chunk.SFK6TNE3.js +11 -0
- package/dist/chunks/chunk.SM6ULAKX.js +21 -0
- package/dist/chunks/chunk.SOE4UKTX.js +11 -0
- package/dist/chunks/chunk.SRHWOCKI.js +11 -0
- package/dist/chunks/chunk.SRPQW6H3.js +22 -0
- package/dist/chunks/chunk.SVX5L5AB.js +11 -0
- package/dist/chunks/chunk.T3446X3A.js +93 -0
- package/dist/chunks/chunk.T36OCLWM.js +170 -0
- package/dist/chunks/chunk.T6AJC2N6.js +11 -0
- package/dist/chunks/chunk.TEEVEXV2.js +29 -0
- package/dist/chunks/chunk.TJVHEWTE.js +42 -0
- package/dist/chunks/chunk.TQURQU66.js +229 -0
- package/dist/chunks/chunk.TXFZ2YXF.js +45 -0
- package/dist/chunks/chunk.TY7M2WD4.js +100 -0
- package/dist/chunks/chunk.TYO2THGF.js +125 -0
- package/dist/chunks/chunk.U2QKJOOW.js +24 -0
- package/dist/chunks/chunk.U5N3HI3P.js +24 -0
- package/dist/chunks/chunk.U7WJOL5F.js +29 -0
- package/dist/chunks/chunk.UBX5MS5T.js +25 -0
- package/dist/chunks/chunk.UEDQ5QSW.js +302 -0
- package/dist/chunks/chunk.UFIFSE5H.js +581 -0
- package/dist/chunks/chunk.ULQPXUKK.js +11 -0
- package/dist/chunks/chunk.UN4S6WFK.js +361 -0
- package/dist/chunks/chunk.USI57FE2.js +25 -0
- package/dist/chunks/chunk.UW2NPECO.js +111 -0
- package/dist/chunks/chunk.UXLWAUWE.js +11 -0
- package/dist/chunks/chunk.UYPTTQLJ.js +11 -0
- package/dist/chunks/chunk.V2HSWZ63.js +21 -0
- package/dist/chunks/chunk.VIMWHZPQ.js +27 -0
- package/dist/chunks/chunk.VJM52DSH.js +230 -0
- package/dist/chunks/chunk.W6NH4VGV.js +1182 -0
- package/dist/chunks/chunk.WBIGLXU5.js +21 -0
- package/dist/chunks/chunk.WE76HGVL.js +28 -0
- package/dist/chunks/chunk.WFCZT6HI.js +11 -0
- package/dist/chunks/chunk.WIBLVY3K.js +67 -0
- package/dist/chunks/chunk.WJSOPSFJ.js +11 -0
- package/dist/chunks/chunk.WU4DEW5Y.js +11 -0
- package/dist/chunks/chunk.WWC523T7.js +21 -0
- package/dist/chunks/chunk.WXXU4OYR.js +227 -0
- package/dist/chunks/chunk.X363EA3U.js +949 -0
- package/dist/chunks/chunk.X3UJ2NNX.js +21 -0
- package/dist/chunks/chunk.X7NONXDW.js +550 -0
- package/dist/chunks/chunk.XARHZ5V7.js +21 -0
- package/dist/chunks/chunk.XB5P54WY.js +21 -0
- package/dist/chunks/chunk.XK6KZWE2.js +96 -0
- package/dist/chunks/chunk.XMQ5YBFV.js +11 -0
- package/dist/chunks/chunk.XP53NJGE.js +11 -0
- package/dist/chunks/chunk.XRGZFTJW.js +21 -0
- package/dist/chunks/chunk.XVHKG56D.js +247 -0
- package/dist/chunks/chunk.XYTS2V5H.js +11 -0
- package/dist/chunks/chunk.Y5UXDD44.js +21 -0
- package/dist/chunks/chunk.Y7XH7WRG.js +21 -0
- package/dist/chunks/chunk.YF3HLOR6.js +11 -0
- package/dist/chunks/chunk.YQZ6JJVK.js +188 -0
- package/dist/chunks/chunk.YWHSD3AX.js +126 -0
- package/dist/chunks/chunk.YWI23UMU.js +24 -0
- package/dist/chunks/chunk.Z3VEKBWH.js +24 -0
- package/dist/chunks/chunk.Z6USCELV.js +91 -0
- package/dist/chunks/chunk.Z7CUHT6D.js +25 -0
- package/dist/chunks/chunk.Z7TJUM6N.js +34 -0
- package/dist/chunks/chunk.ZDGWZMHS.js +397 -0
- package/dist/chunks/chunk.ZMKXAEKI.js +27 -0
- package/dist/chunks/chunk.ZWA33NU7.js +11 -0
- package/dist/chunks/chunk.ZWYGQBWN.js +11 -0
- package/dist/components/alert/alert.component.js +7 -7
- package/dist/components/alert/alert.js +8 -8
- package/dist/components/animated-image/animated-image.component.js +6 -6
- package/dist/components/animated-image/animated-image.js +7 -7
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.js +6 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +8 -8
- package/dist/components/calendar/calendar.js +8 -8
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/col/col.component.js +2 -2
- package/dist/components/col/col.js +3 -3
- package/dist/components/color-picker/color-picker.component.js +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/copy-button/copy-button.component.js +7 -7
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/date-panel/date-panel.component.js +11 -11
- package/dist/components/date-panel/date-panel.js +11 -11
- package/dist/components/datepicker/datepicker.component.js +15 -15
- package/dist/components/datepicker/datepicker.js +15 -15
- package/dist/components/daterangepicker/daterangepicker.component.js +10 -10
- package/dist/components/daterangepicker/daterangepicker.js +11 -11
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- 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 +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/image-comparer/image-comparer.component.js +5 -5
- package/dist/components/image-comparer/image-comparer.js +6 -6
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +13 -13
- package/dist/components/nav/nav.js +14 -14
- package/dist/components/nav/nav.styles.js +1 -1
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +3 -3
- package/dist/components/nav-item/nav-item.js +4 -4
- package/dist/components/nav-item/nav-item.styles.js +1 -1
- package/dist/components/nav-submenu/nav-submenu.component.js +7 -7
- package/dist/components/nav-submenu/nav-submenu.js +8 -8
- package/dist/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- 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 +5 -5
- package/dist/components/radio/radio.js +6 -6
- 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 +5 -5
- package/dist/components/rating/rating.js +6 -6
- 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/row/row.component.js +2 -2
- package/dist/components/row/row.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/select/select.component.js +8 -8
- package/dist/components/select/select.js +9 -9
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/head-table.js +21 -21
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +28 -28
- package/dist/components/table/table.js +29 -29
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/think/think.component.js +7 -7
- package/dist/components/think/think.js +8 -8
- package/dist/components/think/think.styles.js +1 -1
- package/dist/components/thought-chain/thought-chain.component.js +2 -2
- package/dist/components/thought-chain/thought-chain.js +3 -3
- package/dist/components/thought-chain-item/thought-chain-item.component.js +6 -6
- package/dist/components/thought-chain-item/thought-chain-item.js +7 -7
- package/dist/components/thought-chain-node/thought-chain-node.component.js +6 -6
- package/dist/components/thought-chain-node/thought-chain-node.js +7 -7
- package/dist/components/time-panel/time-panel.component.js +7 -7
- package/dist/components/time-panel/time-panel.js +7 -7
- package/dist/components/timepicker/timepicker.component.js +15 -15
- package/dist/components/timepicker/timepicker.js +15 -15
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +2360 -2298
- package/dist/react/alert/index.js +8 -8
- package/dist/react/animated-image/index.js +7 -7
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +6 -6
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/col/index.js +3 -3
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/copy-button/index.js +8 -8
- package/dist/react/date-panel/index.js +12 -12
- package/dist/react/datepicker/index.js +16 -16
- package/dist/react/daterangepicker/index.js +11 -11
- package/dist/react/details/index.js +6 -6
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- 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 +5 -5
- package/dist/react/icon-button/index.js +6 -6
- package/dist/react/image-comparer/index.js +6 -6
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +226 -226
- package/dist/react/input/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +14 -14
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +4 -4
- package/dist/react/nav-submenu/index.js +8 -8
- package/dist/react/option/index.js +6 -6
- 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 +6 -6
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +5 -5
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +6 -6
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/row/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +9 -9
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +7 -7
- package/dist/react/tab-group/index.js +8 -8
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +29 -29
- package/dist/react/tag/index.js +7 -7
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/think/index.js +8 -8
- package/dist/react/thought-chain/index.js +3 -3
- package/dist/react/thought-chain-item/index.js +7 -7
- package/dist/react/thought-chain-node/index.js +7 -7
- package/dist/react/timepicker/index.js +16 -16
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +203 -203
- package/dist/types/vue/index.d.ts +386 -363
- package/dist/vscode.html-custom-data.json +267 -267
- package/dist/web-types.json +752 -694
- package/package.json +2 -2
- package/cdn/chunks/chunk.222JTVEY.js +0 -21
- package/cdn/chunks/chunk.27ZJTRYP.js +0 -11
- package/cdn/chunks/chunk.2A7GD3LO.js +0 -510
- package/cdn/chunks/chunk.2E45SZHF.js +0 -21
- package/cdn/chunks/chunk.2EJMAOC3.js +0 -87
- package/cdn/chunks/chunk.2HFZPVIK.js +0 -26
- package/cdn/chunks/chunk.2MGV3X46.js +0 -822
- package/cdn/chunks/chunk.2P4SR4FJ.js +0 -11
- package/cdn/chunks/chunk.2PYZ5UX4.js +0 -11
- package/cdn/chunks/chunk.2RAWJ63Q.js +0 -24
- package/cdn/chunks/chunk.2SBTLV2T.js +0 -216
- package/cdn/chunks/chunk.2UQBX5FO.js +0 -21
- package/cdn/chunks/chunk.2UUVDD36.js +0 -24
- package/cdn/chunks/chunk.2W5ZFYG3.js +0 -5845
- package/cdn/chunks/chunk.2XLLSDXO.js +0 -49
- package/cdn/chunks/chunk.32QD2ESQ.js +0 -67
- package/cdn/chunks/chunk.363VT3DU.js +0 -137
- package/cdn/chunks/chunk.3A2ZCN5G.js +0 -63
- package/cdn/chunks/chunk.3BDWT2DP.js +0 -25
- package/cdn/chunks/chunk.3BMTFLIU.js +0 -1252
- package/cdn/chunks/chunk.3E4WLABN.js +0 -21
- package/cdn/chunks/chunk.3GRJWJ4O.js +0 -175
- package/cdn/chunks/chunk.3J6XZO3C.js +0 -33
- package/cdn/chunks/chunk.3JUCMLVF.js +0 -526
- package/cdn/chunks/chunk.3LBZMTC3.js +0 -11
- package/cdn/chunks/chunk.3MIGROKB.js +0 -82
- package/cdn/chunks/chunk.3RCX7LZO.js +0 -11
- package/cdn/chunks/chunk.3UW3PSFV.js +0 -27
- package/cdn/chunks/chunk.3WDRA72A.js +0 -314
- package/cdn/chunks/chunk.3WS3MXEL.js +0 -21
- package/cdn/chunks/chunk.45AKNKPD.js +0 -21
- package/cdn/chunks/chunk.47GSF6JI.js +0 -11
- package/cdn/chunks/chunk.4BSJ7ORV.js +0 -11
- package/cdn/chunks/chunk.4GBYMRLA.js +0 -11
- package/cdn/chunks/chunk.4HS3HBGK.js +0 -586
- package/cdn/chunks/chunk.4JL73LPG.js +0 -21
- package/cdn/chunks/chunk.4NVD5XCN.js +0 -21
- package/cdn/chunks/chunk.4QWXYWIO.js +0 -29
- package/cdn/chunks/chunk.4RVJ3MGZ.js +0 -21
- package/cdn/chunks/chunk.4SBLJYBB.js +0 -11
- package/cdn/chunks/chunk.4T5BFNCE.js +0 -199
- package/cdn/chunks/chunk.4VM4ZN5O.js +0 -11
- package/cdn/chunks/chunk.4XD6N7GH.js +0 -29
- package/cdn/chunks/chunk.4Z5GWYKH.js +0 -21
- package/cdn/chunks/chunk.4ZNCYMJN.js +0 -11
- package/cdn/chunks/chunk.54NRIOVY.js +0 -25
- package/cdn/chunks/chunk.5BIK5ODG.js +0 -11
- package/cdn/chunks/chunk.5BSSPQSI.js +0 -28
- package/cdn/chunks/chunk.5DUATGEZ.js +0 -216
- package/cdn/chunks/chunk.5ECAI6OG.js +0 -11
- package/cdn/chunks/chunk.5GUWLJOK.js +0 -142
- package/cdn/chunks/chunk.5HEXMJKX.js +0 -25
- package/cdn/chunks/chunk.5ZTCNZCM.js +0 -21
- package/cdn/chunks/chunk.62MB3PTF.js +0 -29
- package/cdn/chunks/chunk.6CKXH6JI.js +0 -24
- package/cdn/chunks/chunk.6DJHBSZQ.js +0 -142
- package/cdn/chunks/chunk.6DS2YQ6N.js +0 -11
- package/cdn/chunks/chunk.6FBAC6OD.js +0 -11
- package/cdn/chunks/chunk.6G2LQFXL.js +0 -11
- package/cdn/chunks/chunk.6H6IPT5I.js +0 -724
- package/cdn/chunks/chunk.6KBYDE3R.js +0 -27
- package/cdn/chunks/chunk.6LXG6HOW.js +0 -11
- package/cdn/chunks/chunk.6MMGPEQK.js +0 -29
- package/cdn/chunks/chunk.6N2AZYKL.js +0 -11
- package/cdn/chunks/chunk.6NPOTV7W.js +0 -391
- package/cdn/chunks/chunk.6R6YM6YP.js +0 -21
- package/cdn/chunks/chunk.6SL6SJFC.js +0 -27
- package/cdn/chunks/chunk.6Z5R3WTG.js +0 -402
- package/cdn/chunks/chunk.75YUDBYK.js +0 -24
- package/cdn/chunks/chunk.76EPGARK.js +0 -11
- package/cdn/chunks/chunk.76MD56RW.js +0 -235
- package/cdn/chunks/chunk.76WNHD2E.js +0 -25
- package/cdn/chunks/chunk.77MRUZJM.js +0 -158
- package/cdn/chunks/chunk.7AXOUHJV.js +0 -11
- package/cdn/chunks/chunk.7DE2OX5B.js +0 -235
- package/cdn/chunks/chunk.7DKXPGQ5.js +0 -21
- package/cdn/chunks/chunk.7FTMSJZ7.js +0 -21
- package/cdn/chunks/chunk.7FWP23L4.js +0 -11
- package/cdn/chunks/chunk.7H5NK2PD.js +0 -11
- package/cdn/chunks/chunk.7IPQUETN.js +0 -24
- package/cdn/chunks/chunk.7JBVT5DE.js +0 -25
- package/cdn/chunks/chunk.7JJ3LDUL.js +0 -11
- package/cdn/chunks/chunk.7L62U4TW.js +0 -11
- package/cdn/chunks/chunk.7O3NFZ5R.js +0 -24
- package/cdn/chunks/chunk.7OQS5HFX.js +0 -21
- package/cdn/chunks/chunk.7RXNLUZO.js +0 -215
- package/cdn/chunks/chunk.7W2GOZXQ.js +0 -82
- package/cdn/chunks/chunk.7WADANHO.js +0 -314
- package/cdn/chunks/chunk.7XKYKCY4.js +0 -271
- package/cdn/chunks/chunk.7YWD6QMR.js +0 -11
- package/cdn/chunks/chunk.7ZFPHXP6.js +0 -11
- package/cdn/chunks/chunk.A3M5CMMA.js +0 -11
- package/cdn/chunks/chunk.A3MMJ7LZ.js +0 -11
- package/cdn/chunks/chunk.A4MQ2OHV.js +0 -11
- package/cdn/chunks/chunk.A56IBJAE.js +0 -27
- package/cdn/chunks/chunk.A66QE4SW.js +0 -24
- package/cdn/chunks/chunk.AARKQHDS.js +0 -29
- package/cdn/chunks/chunk.ADOGHPIV.js +0 -118
- package/cdn/chunks/chunk.AMYFV57N.js +0 -21
- package/cdn/chunks/chunk.AYUOGSHQ.js +0 -21
- package/cdn/chunks/chunk.B32KJU7E.js +0 -58
- package/cdn/chunks/chunk.B37DS5AG.js +0 -113
- package/cdn/chunks/chunk.B6VDHVEB.js +0 -11
- package/cdn/chunks/chunk.BALMKHNJ.js +0 -11
- package/cdn/chunks/chunk.BBMULM6S.js +0 -11
- package/cdn/chunks/chunk.BEX4U7CE.js +0 -21
- package/cdn/chunks/chunk.BGMW6R3Z.js +0 -25
- package/cdn/chunks/chunk.BIXO2UMB.js +0 -21
- package/cdn/chunks/chunk.BKPEXZEI.js +0 -379
- package/cdn/chunks/chunk.BMJW3KNA.js +0 -135
- package/cdn/chunks/chunk.BN4E55JG.js +0 -11
- package/cdn/chunks/chunk.BQ3MJQV7.js +0 -21
- package/cdn/chunks/chunk.BQVCDJOX.js +0 -233
- package/cdn/chunks/chunk.BU7W2UDZ.js +0 -586
- package/cdn/chunks/chunk.BY63DDV6.js +0 -11
- package/cdn/chunks/chunk.C4G6IOXP.js +0 -21
- package/cdn/chunks/chunk.C5YEZZTE.js +0 -161
- package/cdn/chunks/chunk.C73D2AX3.js +0 -11
- package/cdn/chunks/chunk.CLNAJQ3X.js +0 -11
- package/cdn/chunks/chunk.CMND2QU6.js +0 -440
- package/cdn/chunks/chunk.CQU2BQBN.js +0 -60
- package/cdn/chunks/chunk.CRIQTCES.js +0 -11
- package/cdn/chunks/chunk.CVH3SXZS.js +0 -24
- package/cdn/chunks/chunk.CVHNHV5M.js +0 -28
- package/cdn/chunks/chunk.CX4GCBM2.js +0 -27
- package/cdn/chunks/chunk.CYU4ZB3E.js +0 -11
- package/cdn/chunks/chunk.D4XVVTIV.js +0 -197
- package/cdn/chunks/chunk.DDPNVKA7.js +0 -50
- package/cdn/chunks/chunk.DEHVLSJJ.js +0 -1191
- package/cdn/chunks/chunk.DFHQYJX5.js +0 -11
- package/cdn/chunks/chunk.DJ2JHIHJ.js +0 -27
- package/cdn/chunks/chunk.DLM7FFWQ.js +0 -28
- package/cdn/chunks/chunk.DMQSF3AH.js +0 -21
- package/cdn/chunks/chunk.DRDEQMHH.js +0 -161
- package/cdn/chunks/chunk.DS2SNMM6.js +0 -114
- package/cdn/chunks/chunk.DWXKMXVG.js +0 -25
- package/cdn/chunks/chunk.E62ZHQJK.js +0 -1191
- package/cdn/chunks/chunk.EDQFVFKW.js +0 -11
- package/cdn/chunks/chunk.EJBB6RVY.js +0 -1925
- package/cdn/chunks/chunk.ENGRL32K.js +0 -292
- package/cdn/chunks/chunk.EQ4HRIG3.js +0 -25
- package/cdn/chunks/chunk.EQ7GETK7.js +0 -313
- package/cdn/chunks/chunk.EQEL3HBW.js +0 -103
- package/cdn/chunks/chunk.EQPFPKJW.js +0 -11
- package/cdn/chunks/chunk.EX4HHAGW.js +0 -21
- package/cdn/chunks/chunk.EXLXUHA5.js +0 -26
- package/cdn/chunks/chunk.EZ25IVO2.js +0 -279
- package/cdn/chunks/chunk.F2DCNDGD.js +0 -25
- package/cdn/chunks/chunk.F673CSF3.js +0 -118
- package/cdn/chunks/chunk.FA2YSUUC.js +0 -11
- package/cdn/chunks/chunk.FDCU47UA.js +0 -1252
- package/cdn/chunks/chunk.FDQBSN2W.js +0 -21
- package/cdn/chunks/chunk.FFLS6CBZ.js +0 -11
- package/cdn/chunks/chunk.FHK4GVCS.js +0 -402
- package/cdn/chunks/chunk.FHKCBDSA.js +0 -11
- package/cdn/chunks/chunk.FJAHTW2P.js +0 -455
- package/cdn/chunks/chunk.FMO4HEH6.js +0 -11
- package/cdn/chunks/chunk.FMQFYDI4.js +0 -93
- package/cdn/chunks/chunk.FNRG6ECZ.js +0 -11
- package/cdn/chunks/chunk.FOQ7MQU5.js +0 -21
- package/cdn/chunks/chunk.FPATL7ZE.js +0 -24
- package/cdn/chunks/chunk.FTVWN4GO.js +0 -25
- package/cdn/chunks/chunk.FU6MKV7N.js +0 -25
- package/cdn/chunks/chunk.FXLSEKTJ.js +0 -11
- package/cdn/chunks/chunk.FY7PI255.js +0 -21
- package/cdn/chunks/chunk.FZWKVGZR.js +0 -95
- package/cdn/chunks/chunk.G2YOMCHR.js +0 -126
- package/cdn/chunks/chunk.GECMWS2M.js +0 -11
- package/cdn/chunks/chunk.GH2YDTWV.js +0 -77
- package/cdn/chunks/chunk.GHXFL6LC.js +0 -11
- package/cdn/chunks/chunk.GKNPRM7I.js +0 -7360
- package/cdn/chunks/chunk.GLMYSAAL.js +0 -11
- package/cdn/chunks/chunk.GN5OOVGA.js +0 -335
- package/cdn/chunks/chunk.GQZXTIXV.js +0 -11
- package/cdn/chunks/chunk.GRL5CHGV.js +0 -276
- package/cdn/chunks/chunk.GWBG2XEJ.js +0 -11
- package/cdn/chunks/chunk.GYELNJQ2.js +0 -29
- package/cdn/chunks/chunk.GYNTGJVZ.js +0 -127
- package/cdn/chunks/chunk.GYZGQ5F2.js +0 -11
- package/cdn/chunks/chunk.HBMADG36.js +0 -25
- package/cdn/chunks/chunk.HGWMVNUC.js +0 -11
- package/cdn/chunks/chunk.HHFMYDBB.js +0 -24
- package/cdn/chunks/chunk.HJLH4JVB.js +0 -11
- package/cdn/chunks/chunk.HMI37VNN.js +0 -2633
- package/cdn/chunks/chunk.HQJZCZUA.js +0 -25
- package/cdn/chunks/chunk.HRZ4Y6PR.js +0 -11
- package/cdn/chunks/chunk.HS35RLG6.js +0 -7360
- package/cdn/chunks/chunk.HS6MJCKU.js +0 -49
- package/cdn/chunks/chunk.HTEXI2VI.js +0 -11
- package/cdn/chunks/chunk.HUTIII2K.js +0 -11
- package/cdn/chunks/chunk.HVS7A7ZU.js +0 -24
- package/cdn/chunks/chunk.I3PA3O7Z.js +0 -11
- package/cdn/chunks/chunk.I5FN5K2H.js +0 -11
- package/cdn/chunks/chunk.I7CZNJSA.js +0 -11
- package/cdn/chunks/chunk.IBB55CIA.js +0 -218
- package/cdn/chunks/chunk.IBGO6X76.js +0 -219
- package/cdn/chunks/chunk.IEAZDAMS.js +0 -24
- package/cdn/chunks/chunk.IEBKFWRY.js +0 -113
- package/cdn/chunks/chunk.IGDLVKBA.js +0 -11
- package/cdn/chunks/chunk.IHKUWMVN.js +0 -11
- package/cdn/chunks/chunk.II7UOJFD.js +0 -120
- package/cdn/chunks/chunk.IJC56AJD.js +0 -186
- package/cdn/chunks/chunk.IM2XHQG4.js +0 -11
- package/cdn/chunks/chunk.IMHH64FT.js +0 -312
- package/cdn/chunks/chunk.IPIN3MDK.js +0 -11
- package/cdn/chunks/chunk.IQ74JZVL.js +0 -11
- package/cdn/chunks/chunk.ISRBDWP4.js +0 -24
- package/cdn/chunks/chunk.IVJPQ2E7.js +0 -26
- package/cdn/chunks/chunk.IVV4KVHV.js +0 -21
- package/cdn/chunks/chunk.IWE3NQPL.js +0 -11
- package/cdn/chunks/chunk.IYSKA2DW.js +0 -379
- package/cdn/chunks/chunk.IZEXOSBY.js +0 -21
- package/cdn/chunks/chunk.J5O5WMCX.js +0 -27
- package/cdn/chunks/chunk.J5SWBCE6.js +0 -11
- package/cdn/chunks/chunk.J6RFKBTU.js +0 -822
- package/cdn/chunks/chunk.JCJCP52E.js +0 -69
- package/cdn/chunks/chunk.JCXRTDEJ.js +0 -367
- package/cdn/chunks/chunk.JDCHQ7PP.js +0 -1990
- package/cdn/chunks/chunk.JJZVIZFX.js +0 -11
- package/cdn/chunks/chunk.JPRNQZIU.js +0 -24
- package/cdn/chunks/chunk.JQNDFR7B.js +0 -11
- package/cdn/chunks/chunk.JRAHWVAZ.js +0 -11
- package/cdn/chunks/chunk.JSINH6MI.js +0 -11
- package/cdn/chunks/chunk.JSTXHF2C.js +0 -236
- package/cdn/chunks/chunk.JTC7F5FK.js +0 -246
- package/cdn/chunks/chunk.JTNADNE5.js +0 -24
- package/cdn/chunks/chunk.JTRN3RC6.js +0 -25
- package/cdn/chunks/chunk.JWKKT4WF.js +0 -28
- package/cdn/chunks/chunk.K2ISXHNW.js +0 -26
- package/cdn/chunks/chunk.K5DJDWEH.js +0 -11
- package/cdn/chunks/chunk.K7P6E3J3.js +0 -11
- package/cdn/chunks/chunk.KBLDTI4M.js +0 -11
- package/cdn/chunks/chunk.KFUL6DEC.js +0 -11
- package/cdn/chunks/chunk.KG77WJNV.js +0 -11
- package/cdn/chunks/chunk.KGTEVL2H.js +0 -346
- package/cdn/chunks/chunk.KHA4FVOG.js +0 -11
- package/cdn/chunks/chunk.KL24YSWQ.js +0 -203
- package/cdn/chunks/chunk.KNSO7PYT.js +0 -114
- package/cdn/chunks/chunk.KQ7NWBMP.js +0 -26
- package/cdn/chunks/chunk.KQD4Q7OC.js +0 -87
- package/cdn/chunks/chunk.KT6MOS3J.js +0 -276
- package/cdn/chunks/chunk.KVBYRY7P.js +0 -11
- package/cdn/chunks/chunk.KZNIOLOM.js +0 -21
- package/cdn/chunks/chunk.L2PX4RNA.js +0 -77
- package/cdn/chunks/chunk.L2T3OVG6.js +0 -11
- package/cdn/chunks/chunk.L2XIUGW6.js +0 -335
- package/cdn/chunks/chunk.L5KDDIEQ.js +0 -153
- package/cdn/chunks/chunk.LDNPSP2K.js +0 -11
- package/cdn/chunks/chunk.LFN75FJD.js +0 -97
- package/cdn/chunks/chunk.LGH5ZX5H.js +0 -339
- package/cdn/chunks/chunk.LLR3VCJ3.js +0 -21
- package/cdn/chunks/chunk.LNLU7P2D.js +0 -11
- package/cdn/chunks/chunk.LRN75LBK.js +0 -24
- package/cdn/chunks/chunk.LSPRF6MN.js +0 -28
- package/cdn/chunks/chunk.LXBT43FO.js +0 -413
- package/cdn/chunks/chunk.LZSYHYRZ.js +0 -215
- package/cdn/chunks/chunk.M22YCVTE.js +0 -11
- package/cdn/chunks/chunk.M2NNYWAP.js +0 -11
- package/cdn/chunks/chunk.M4OTUGZW.js +0 -131
- package/cdn/chunks/chunk.MBKEZ733.js +0 -11
- package/cdn/chunks/chunk.MEFGEIPJ.js +0 -11
- package/cdn/chunks/chunk.MEIU2ZTE.js +0 -24
- package/cdn/chunks/chunk.MJ6KFOGW.js +0 -255
- package/cdn/chunks/chunk.MWJT6S72.js +0 -49
- package/cdn/chunks/chunk.MYYDWZDY.js +0 -11
- package/cdn/chunks/chunk.MZ2ZNE5U.js +0 -24
- package/cdn/chunks/chunk.N227WK4P.js +0 -60
- package/cdn/chunks/chunk.N2ZV6DYM.js +0 -455
- package/cdn/chunks/chunk.N5GA4DL6.js +0 -24
- package/cdn/chunks/chunk.NDOWDQQZ.js +0 -11
- package/cdn/chunks/chunk.NEAACXAD.js +0 -11
- package/cdn/chunks/chunk.NFHMPJPY.js +0 -11
- package/cdn/chunks/chunk.NGLNXFSX.js +0 -24
- package/cdn/chunks/chunk.NJ6TUZEB.js +0 -95
- package/cdn/chunks/chunk.NJBCMH23.js +0 -299
- package/cdn/chunks/chunk.NSSYVTSJ.js +0 -11
- package/cdn/chunks/chunk.NTSSX7UD.js +0 -590
- package/cdn/chunks/chunk.NTW7J3M4.js +0 -25
- package/cdn/chunks/chunk.NUTJSHZZ.js +0 -724
- package/cdn/chunks/chunk.NUZRCXRO.js +0 -54
- package/cdn/chunks/chunk.O33NHHRV.js +0 -21
- package/cdn/chunks/chunk.O3OUUK47.js +0 -11
- package/cdn/chunks/chunk.O43DIYHY.js +0 -28
- package/cdn/chunks/chunk.O5A3RY3G.js +0 -93
- package/cdn/chunks/chunk.O5NDDL3G.js +0 -1925
- package/cdn/chunks/chunk.O6PRODZA.js +0 -279
- package/cdn/chunks/chunk.OBYYCVXR.js +0 -11
- package/cdn/chunks/chunk.OCWAEVYP.js +0 -11
- package/cdn/chunks/chunk.OEBKLPJ6.js +0 -191
- package/cdn/chunks/chunk.OH5T6SC7.js +0 -313
- package/cdn/chunks/chunk.OJJSP7NY.js +0 -11
- package/cdn/chunks/chunk.OLL5Q23H.js +0 -11
- package/cdn/chunks/chunk.ONNTFK36.js +0 -590
- package/cdn/chunks/chunk.ORQGSDFE.js +0 -5845
- package/cdn/chunks/chunk.OTJUIUBQ.js +0 -291
- package/cdn/chunks/chunk.OV3TW3PD.js +0 -367
- package/cdn/chunks/chunk.OZFNUZ6F.js +0 -24
- package/cdn/chunks/chunk.P3VCCEDM.js +0 -11
- package/cdn/chunks/chunk.P4DVBUKH.js +0 -21
- package/cdn/chunks/chunk.P7X3ORLN.js +0 -67
- package/cdn/chunks/chunk.PA7AKEZL.js +0 -49
- package/cdn/chunks/chunk.PAIBNX3H.js +0 -54
- package/cdn/chunks/chunk.PBH2CAZK.js +0 -11
- package/cdn/chunks/chunk.PBIIMD6S.js +0 -24
- package/cdn/chunks/chunk.PBLK7JK6.js +0 -255
- package/cdn/chunks/chunk.PBOJH42R.js +0 -291
- package/cdn/chunks/chunk.PCL6JJOK.js +0 -21
- package/cdn/chunks/chunk.PE2OQ5PG.js +0 -302
- package/cdn/chunks/chunk.PGYT7JTS.js +0 -11
- package/cdn/chunks/chunk.PIMYQWSH.js +0 -302
- package/cdn/chunks/chunk.PKA7TXKL.js +0 -510
- package/cdn/chunks/chunk.PLZXNODW.js +0 -11
- package/cdn/chunks/chunk.PNDGANYH.js +0 -21
- package/cdn/chunks/chunk.PPV72IBL.js +0 -24
- package/cdn/chunks/chunk.PQQWATVS.js +0 -21
- package/cdn/chunks/chunk.PUNW4POY.js +0 -28
- package/cdn/chunks/chunk.PUR5DYLF.js +0 -21
- package/cdn/chunks/chunk.PWNKCUVU.js +0 -24
- package/cdn/chunks/chunk.PYECRZM3.js +0 -11
- package/cdn/chunks/chunk.Q25FI7FZ.js +0 -33
- package/cdn/chunks/chunk.Q62YOWKU.js +0 -21
- package/cdn/chunks/chunk.Q6JP67UE.js +0 -97
- package/cdn/chunks/chunk.Q6YVK5Z2.js +0 -199
- package/cdn/chunks/chunk.Q7NF2C45.js +0 -36
- package/cdn/chunks/chunk.QBF63GFT.js +0 -27
- package/cdn/chunks/chunk.QE6BMEQ5.js +0 -24
- package/cdn/chunks/chunk.QI7PBCIM.js +0 -25
- package/cdn/chunks/chunk.QIFJ6KCE.js +0 -271
- package/cdn/chunks/chunk.QKXPNT3L.js +0 -339
- package/cdn/chunks/chunk.QOVPIGLG.js +0 -526
- package/cdn/chunks/chunk.QU4QPMHF.js +0 -11
- package/cdn/chunks/chunk.QUGE6E33.js +0 -11
- package/cdn/chunks/chunk.QYW7DJET.js +0 -11
- package/cdn/chunks/chunk.R2374OKA.js +0 -127
- package/cdn/chunks/chunk.R2B6SBC7.js +0 -11
- package/cdn/chunks/chunk.R3FNH3AY.js +0 -233
- package/cdn/chunks/chunk.R6N4NRD2.js +0 -11
- package/cdn/chunks/chunk.RCK2JBLR.js +0 -24
- package/cdn/chunks/chunk.RCWVALT2.js +0 -27
- package/cdn/chunks/chunk.REGHJLHL.js +0 -11
- package/cdn/chunks/chunk.RFSX6NKQ.js +0 -26
- package/cdn/chunks/chunk.RHKTYVF6.js +0 -21
- package/cdn/chunks/chunk.RIHU53RA.js +0 -27
- package/cdn/chunks/chunk.RJGUW4UG.js +0 -11
- package/cdn/chunks/chunk.RMAW3G3Z.js +0 -331
- package/cdn/chunks/chunk.RR4UA2LZ.js +0 -42
- package/cdn/chunks/chunk.S4YX6XNZ.js +0 -27
- package/cdn/chunks/chunk.S5EXKHN3.js +0 -299
- package/cdn/chunks/chunk.S7TQOU5P.js +0 -137
- package/cdn/chunks/chunk.SAMGC74D.js +0 -11
- package/cdn/chunks/chunk.SF56KDI3.js +0 -175
- package/cdn/chunks/chunk.SFQ6RSUD.js +0 -21
- package/cdn/chunks/chunk.SMLAA7HF.js +0 -292
- package/cdn/chunks/chunk.SMUJVOME.js +0 -191
- package/cdn/chunks/chunk.SPYNZ3K6.js +0 -11
- package/cdn/chunks/chunk.SQLP43ME.js +0 -21
- package/cdn/chunks/chunk.SRUILZYH.js +0 -21
- package/cdn/chunks/chunk.SSHM2BBX.js +0 -11
- package/cdn/chunks/chunk.STN7QEIW.js +0 -11
- package/cdn/chunks/chunk.SX4FSR4J.js +0 -73
- package/cdn/chunks/chunk.SXK43Q7W.js +0 -110
- package/cdn/chunks/chunk.SZJKYNWO.js +0 -346
- package/cdn/chunks/chunk.T5IIHSJC.js +0 -25
- package/cdn/chunks/chunk.T6EYVMEL.js +0 -11
- package/cdn/chunks/chunk.TAI6UEBJ.js +0 -11
- package/cdn/chunks/chunk.TATASFDV.js +0 -21
- package/cdn/chunks/chunk.TDSCEDYS.js +0 -27
- package/cdn/chunks/chunk.TE7IORVA.js +0 -11
- package/cdn/chunks/chunk.TFNPX4HO.js +0 -391
- package/cdn/chunks/chunk.THC4CB3K.js +0 -11
- package/cdn/chunks/chunk.THKLXNOX.js +0 -21
- package/cdn/chunks/chunk.TIA246TC.js +0 -197
- package/cdn/chunks/chunk.TMMU5LBS.js +0 -24
- package/cdn/chunks/chunk.TQLRJSR5.js +0 -75
- package/cdn/chunks/chunk.TQSIGCAW.js +0 -120
- package/cdn/chunks/chunk.TQXMS5LQ.js +0 -310
- package/cdn/chunks/chunk.TTBLRENU.js +0 -122
- package/cdn/chunks/chunk.TTD4PI4C.js +0 -21
- package/cdn/chunks/chunk.TV4YUUMS.js +0 -29
- package/cdn/chunks/chunk.TXRHD4IY.js +0 -28
- package/cdn/chunks/chunk.TYONBSYP.js +0 -21
- package/cdn/chunks/chunk.U2BFBQO2.js +0 -11
- package/cdn/chunks/chunk.U2UCE4T2.js +0 -79
- package/cdn/chunks/chunk.U64YDOTF.js +0 -79
- package/cdn/chunks/chunk.U6AJLMDA.js +0 -177
- package/cdn/chunks/chunk.U76744TH.js +0 -11
- package/cdn/chunks/chunk.U7CLKHFQ.js +0 -24
- package/cdn/chunks/chunk.U7O6B2YM.js +0 -440
- package/cdn/chunks/chunk.UCMLIKRJ.js +0 -26
- package/cdn/chunks/chunk.UD7XKZVZ.js +0 -128
- package/cdn/chunks/chunk.UEBWA7O5.js +0 -158
- package/cdn/chunks/chunk.UNZGNDST.js +0 -25
- package/cdn/chunks/chunk.URMIURS4.js +0 -11
- package/cdn/chunks/chunk.USKFRKYQ.js +0 -21
- package/cdn/chunks/chunk.UUXT6TAS.js +0 -21
- package/cdn/chunks/chunk.UYSFTXHR.js +0 -131
- package/cdn/chunks/chunk.V2VBVVIB.js +0 -21
- package/cdn/chunks/chunk.V4M7P4M5.js +0 -75
- package/cdn/chunks/chunk.V7IIF4M6.js +0 -24
- package/cdn/chunks/chunk.VCBX2O2V.js +0 -29
- package/cdn/chunks/chunk.VFJFO4YS.js +0 -63
- package/cdn/chunks/chunk.VFRS3MOG.js +0 -336
- package/cdn/chunks/chunk.VFW3S7RA.js +0 -236
- package/cdn/chunks/chunk.VK74F4AD.js +0 -11
- package/cdn/chunks/chunk.VLDU6QOD.js +0 -21
- package/cdn/chunks/chunk.VVCO7YKP.js +0 -21
- package/cdn/chunks/chunk.W2ZT2SEZ.js +0 -11
- package/cdn/chunks/chunk.W6J6XOKQ.js +0 -28
- package/cdn/chunks/chunk.W7DAHZRF.js +0 -186
- package/cdn/chunks/chunk.WDSCWJJB.js +0 -11
- package/cdn/chunks/chunk.WFSE6MHZ.js +0 -11
- package/cdn/chunks/chunk.WJKX2SGI.js +0 -11
- package/cdn/chunks/chunk.WKFFFKT3.js +0 -21
- package/cdn/chunks/chunk.WLQC5KHL.js +0 -21
- package/cdn/chunks/chunk.WMWXPQ2B.js +0 -11
- package/cdn/chunks/chunk.WN57BJGA.js +0 -11
- package/cdn/chunks/chunk.WPSQ66MD.js +0 -122
- package/cdn/chunks/chunk.WU7IXKET.js +0 -2766
- package/cdn/chunks/chunk.WVKXFE33.js +0 -26
- package/cdn/chunks/chunk.WWCSNNGR.js +0 -28
- package/cdn/chunks/chunk.WWYUZDDN.js +0 -11
- package/cdn/chunks/chunk.WYNMCWNK.js +0 -21
- package/cdn/chunks/chunk.X3WNEMKR.js +0 -28
- package/cdn/chunks/chunk.X3YR3PRD.js +0 -11
- package/cdn/chunks/chunk.X5VG57V3.js +0 -103
- package/cdn/chunks/chunk.XD72KMS3.js +0 -24
- package/cdn/chunks/chunk.XURFYQ46.js +0 -25
- package/cdn/chunks/chunk.XVB53ODJ.js +0 -11
- package/cdn/chunks/chunk.XWH5LNWP.js +0 -11
- package/cdn/chunks/chunk.XXMBDZEO.js +0 -73
- package/cdn/chunks/chunk.XZIWFTBH.js +0 -36
- package/cdn/chunks/chunk.Y37PY26S.js +0 -50
- package/cdn/chunks/chunk.Y4Y5JWHO.js +0 -153
- package/cdn/chunks/chunk.YBHDSHSB.js +0 -11
- package/cdn/chunks/chunk.YIUPJVOY.js +0 -11
- package/cdn/chunks/chunk.YOZAQ322.js +0 -24
- package/cdn/chunks/chunk.YPCAPHUW.js +0 -24
- package/cdn/chunks/chunk.YSVUD5NM.js +0 -331
- package/cdn/chunks/chunk.YW6WTMUX.js +0 -25
- package/cdn/chunks/chunk.YYBTUKPZ.js +0 -24
- package/cdn/chunks/chunk.YYYA4IHX.js +0 -587
- package/cdn/chunks/chunk.YZRJHPBG.js +0 -11
- package/cdn/chunks/chunk.YZW6YVUI.js +0 -24
- package/cdn/chunks/chunk.YZZI372K.js +0 -21
- package/cdn/chunks/chunk.Z4FXODMZ.js +0 -27
- package/cdn/chunks/chunk.Z577XBN7.js +0 -587
- package/cdn/chunks/chunk.Z5BZW2TY.js +0 -11
- package/cdn/chunks/chunk.Z5ULJM4J.js +0 -336
- package/cdn/chunks/chunk.Z7734XWK.js +0 -42
- package/cdn/chunks/chunk.Z77TAUCD.js +0 -11
- package/cdn/chunks/chunk.Z7OY5RE7.js +0 -11
- package/cdn/chunks/chunk.ZAH2TWVI.js +0 -11
- package/cdn/chunks/chunk.ZBQ2XAU5.js +0 -21
- package/cdn/chunks/chunk.ZBYOYJWU.js +0 -21
- package/cdn/chunks/chunk.ZDXQQ2AS.js +0 -11
- package/cdn/chunks/chunk.ZE4H5MYE.js +0 -21
- package/cdn/chunks/chunk.ZG4Y3QRI.js +0 -11
- package/cdn/chunks/chunk.ZGCQWO7C.js +0 -1990
- package/cdn/chunks/chunk.ZHLEBWTH.js +0 -219
- package/cdn/chunks/chunk.ZIPFENJE.js +0 -11
- package/cdn/chunks/chunk.ZK6WW6QA.js +0 -11
- package/cdn/chunks/chunk.ZLQKPNSN.js +0 -177
- package/cdn/chunks/chunk.ZMEYM4IF.js +0 -27
- package/cdn/chunks/chunk.ZNGN5JEY.js +0 -11
- package/cdn/chunks/chunk.ZPDZWMVU.js +0 -21
- package/cdn/chunks/chunk.ZTCK23BZ.js +0 -128
- package/cdn/chunks/chunk.ZTDBAB5H.js +0 -135
- package/cdn/chunks/chunk.ZXMB3B4F.js +0 -28
- package/dist/chunks/chunk.23GI3755.js +0 -109
- package/dist/chunks/chunk.26HW7KCD.js +0 -29
- package/dist/chunks/chunk.2DKZJKV3.js +0 -11
- package/dist/chunks/chunk.2E7IWGZM.js +0 -27
- package/dist/chunks/chunk.2EC7UUHI.js +0 -300
- package/dist/chunks/chunk.2NCZRIYD.js +0 -25
- package/dist/chunks/chunk.2QP3E6IX.js +0 -11
- package/dist/chunks/chunk.2R75TVDF.js +0 -24
- package/dist/chunks/chunk.2RRTFUZE.js +0 -11
- package/dist/chunks/chunk.2RSZJOSR.js +0 -21
- package/dist/chunks/chunk.2WWDMSME.js +0 -63
- package/dist/chunks/chunk.2WYEP3BD.js +0 -21
- package/dist/chunks/chunk.2XFGUYB5.js +0 -11
- package/dist/chunks/chunk.34AMANOW.js +0 -11
- package/dist/chunks/chunk.35LECQCF.js +0 -22
- package/dist/chunks/chunk.37EZ5WXV.js +0 -11
- package/dist/chunks/chunk.3CYGNQJK.js +0 -11
- package/dist/chunks/chunk.3J7IXFXL.js +0 -550
- package/dist/chunks/chunk.3NI4KJHV.js +0 -11
- package/dist/chunks/chunk.3PANE5OD.js +0 -21
- package/dist/chunks/chunk.3PCW4QAB.js +0 -80
- package/dist/chunks/chunk.3RIZSAHR.js +0 -21
- package/dist/chunks/chunk.3RWK4O5O.js +0 -11
- package/dist/chunks/chunk.3UVIV6XJ.js +0 -24
- package/dist/chunks/chunk.42BGK4KB.js +0 -11
- package/dist/chunks/chunk.43JO7PLJ.js +0 -25
- package/dist/chunks/chunk.46BJRAMI.js +0 -188
- package/dist/chunks/chunk.47NDNPVL.js +0 -111
- package/dist/chunks/chunk.4ALHZO5D.js +0 -24
- package/dist/chunks/chunk.4CDSLOPN.js +0 -11
- package/dist/chunks/chunk.4DL4VMMM.js +0 -11
- package/dist/chunks/chunk.4FYCU532.js +0 -25
- package/dist/chunks/chunk.4HCAMZLX.js +0 -25
- package/dist/chunks/chunk.4IB2BQCU.js +0 -315
- package/dist/chunks/chunk.4IK4UD2F.js +0 -21
- package/dist/chunks/chunk.4J44WW2W.js +0 -21
- package/dist/chunks/chunk.4K2OWCVO.js +0 -116
- package/dist/chunks/chunk.4KEN6YF3.js +0 -192
- package/dist/chunks/chunk.4LEAULHU.js +0 -11
- package/dist/chunks/chunk.4SFFRX4L.js +0 -22
- package/dist/chunks/chunk.4T4S5CQL.js +0 -384
- package/dist/chunks/chunk.4TGTNKKC.js +0 -91
- package/dist/chunks/chunk.4UNFTLYR.js +0 -11
- package/dist/chunks/chunk.4UOYLYDT.js +0 -151
- package/dist/chunks/chunk.4VLASGA5.js +0 -11
- package/dist/chunks/chunk.4WFUQC3I.js +0 -294
- package/dist/chunks/chunk.4WU7KJTD.js +0 -21
- package/dist/chunks/chunk.4XWY2IJ2.js +0 -25
- package/dist/chunks/chunk.4YWHZWDT.js +0 -11
- package/dist/chunks/chunk.53DZDXQ6.js +0 -11
- package/dist/chunks/chunk.54I3HJHQ.js +0 -324
- package/dist/chunks/chunk.54QILVQR.js +0 -11
- package/dist/chunks/chunk.57P7RSIS.js +0 -11
- package/dist/chunks/chunk.5E2FVYLN.js +0 -11
- package/dist/chunks/chunk.5KU733SZ.js +0 -24
- package/dist/chunks/chunk.5W4CSR32.js +0 -335
- package/dist/chunks/chunk.5WOS3BR5.js +0 -147
- package/dist/chunks/chunk.64V53W3F.js +0 -117
- package/dist/chunks/chunk.6A66NI2T.js +0 -11
- package/dist/chunks/chunk.6ES4RJF5.js +0 -302
- package/dist/chunks/chunk.6IHEGT5O.js +0 -581
- package/dist/chunks/chunk.6IVI3YFM.js +0 -11
- package/dist/chunks/chunk.6PYOHYUS.js +0 -11
- package/dist/chunks/chunk.6RHQVVKO.js +0 -21
- package/dist/chunks/chunk.6SSFY6UG.js +0 -337
- package/dist/chunks/chunk.6U7UE6EC.js +0 -417
- package/dist/chunks/chunk.6Z5KXROW.js +0 -11
- package/dist/chunks/chunk.72RXX44O.js +0 -11
- package/dist/chunks/chunk.736R7VVZ.js +0 -57
- package/dist/chunks/chunk.75NBNI7B.js +0 -11
- package/dist/chunks/chunk.77ORH2D5.js +0 -11
- package/dist/chunks/chunk.77S2DPBO.js +0 -583
- package/dist/chunks/chunk.7BB43XAP.js +0 -11
- package/dist/chunks/chunk.7CEGIJWT.js +0 -11
- package/dist/chunks/chunk.7EHYE6A3.js +0 -24
- package/dist/chunks/chunk.7EZODPVM.js +0 -21
- package/dist/chunks/chunk.7H2PYW6D.js +0 -25
- package/dist/chunks/chunk.7HO34SFD.js +0 -45
- package/dist/chunks/chunk.7IKHIYGO.js +0 -26
- package/dist/chunks/chunk.7LHEJMYV.js +0 -22
- package/dist/chunks/chunk.7NTQIB24.js +0 -24
- package/dist/chunks/chunk.7R2AOGKR.js +0 -21
- package/dist/chunks/chunk.7VH3IIXN.js +0 -581
- package/dist/chunks/chunk.7WQIF7VI.js +0 -27
- package/dist/chunks/chunk.A2COVHC7.js +0 -11
- package/dist/chunks/chunk.A2DTJ237.js +0 -814
- package/dist/chunks/chunk.A6CNAT2F.js +0 -21
- package/dist/chunks/chunk.A6PT62CY.js +0 -75
- package/dist/chunks/chunk.AA3GGCRA.js +0 -11
- package/dist/chunks/chunk.AC6WL4AC.js +0 -11
- package/dist/chunks/chunk.ACND3HXN.js +0 -11
- package/dist/chunks/chunk.ADTHDW4F.js +0 -116
- package/dist/chunks/chunk.AGN3QIAG.js +0 -25
- package/dist/chunks/chunk.AKPEN5ND.js +0 -11
- package/dist/chunks/chunk.AMRDY34Y.js +0 -417
- package/dist/chunks/chunk.AQSM3HDK.js +0 -11
- package/dist/chunks/chunk.ATHPPJB2.js +0 -294
- package/dist/chunks/chunk.ATZBH3AT.js +0 -213
- package/dist/chunks/chunk.AXTEBZ3M.js +0 -11
- package/dist/chunks/chunk.AXUMAEI6.js +0 -28
- package/dist/chunks/chunk.AZ6J6CLW.js +0 -1182
- package/dist/chunks/chunk.AZQQTUMZ.js +0 -11
- package/dist/chunks/chunk.BAGGPB4B.js +0 -231
- package/dist/chunks/chunk.BCMGMV2H.js +0 -34
- package/dist/chunks/chunk.BFYAXMTP.js +0 -11
- package/dist/chunks/chunk.BHV5YDND.js +0 -24
- package/dist/chunks/chunk.BK6UAVXA.js +0 -21
- package/dist/chunks/chunk.BLQ6KIX6.js +0 -125
- package/dist/chunks/chunk.BML3ELDT.js +0 -504
- package/dist/chunks/chunk.BNP3N5OR.js +0 -11
- package/dist/chunks/chunk.BP3UYXAC.js +0 -11
- package/dist/chunks/chunk.BQK66OMC.js +0 -21
- package/dist/chunks/chunk.BRJOIZJN.js +0 -11
- package/dist/chunks/chunk.BSC4YYTJ.js +0 -167
- package/dist/chunks/chunk.BSU7HDPN.js +0 -21
- package/dist/chunks/chunk.BUWJIOFR.js +0 -28
- package/dist/chunks/chunk.C23FBMNM.js +0 -11
- package/dist/chunks/chunk.C6DDJ2RC.js +0 -167
- package/dist/chunks/chunk.CAT63OGL.js +0 -80
- package/dist/chunks/chunk.CC7T7I4E.js +0 -21
- package/dist/chunks/chunk.CCXJ6D4Y.js +0 -335
- package/dist/chunks/chunk.CETMRKFA.js +0 -361
- package/dist/chunks/chunk.CFOZ25H4.js +0 -11
- package/dist/chunks/chunk.CHXWVKQZ.js +0 -25
- package/dist/chunks/chunk.CIXHPCJO.js +0 -28
- package/dist/chunks/chunk.CNDNK5RE.js +0 -29
- package/dist/chunks/chunk.COFTPJHF.js +0 -25
- package/dist/chunks/chunk.CTNVJT6G.js +0 -11
- package/dist/chunks/chunk.CWULULLL.js +0 -11
- package/dist/chunks/chunk.CZ7MB3BA.js +0 -25
- package/dist/chunks/chunk.CZYKOW4U.js +0 -27
- package/dist/chunks/chunk.D3N2SNJF.js +0 -11
- package/dist/chunks/chunk.D6IQUOBP.js +0 -21
- package/dist/chunks/chunk.D6W5GKF7.js +0 -11
- package/dist/chunks/chunk.DDNJYLYH.js +0 -25
- package/dist/chunks/chunk.DFIBE7Z6.js +0 -21
- package/dist/chunks/chunk.DG3KOLNF.js +0 -11
- package/dist/chunks/chunk.DH4GGUMV.js +0 -502
- package/dist/chunks/chunk.DKFZD24J.js +0 -11
- package/dist/chunks/chunk.DNRY4RVX.js +0 -100
- package/dist/chunks/chunk.DNS6VRRM.js +0 -949
- package/dist/chunks/chunk.DQPUSJ2Y.js +0 -11
- package/dist/chunks/chunk.DTTENTX3.js +0 -27
- package/dist/chunks/chunk.DVKHCMEK.js +0 -21
- package/dist/chunks/chunk.DXHP647I.js +0 -24
- package/dist/chunks/chunk.E4SRIFQG.js +0 -28
- package/dist/chunks/chunk.E7VEWUU3.js +0 -564
- package/dist/chunks/chunk.EBM45765.js +0 -151
- package/dist/chunks/chunk.ECKYGCUX.js +0 -11
- package/dist/chunks/chunk.EESS5SUR.js +0 -22
- package/dist/chunks/chunk.EH2ZKMOB.js +0 -11
- package/dist/chunks/chunk.EJ4XMX46.js +0 -21
- package/dist/chunks/chunk.EJDCJKOP.js +0 -24
- package/dist/chunks/chunk.EMFROMXD.js +0 -28
- package/dist/chunks/chunk.EMWQZH5K.js +0 -434
- package/dist/chunks/chunk.ENGLJCIU.js +0 -26
- package/dist/chunks/chunk.ENJDY6YP.js +0 -263
- package/dist/chunks/chunk.EO5MKNAK.js +0 -25
- package/dist/chunks/chunk.ERKQH4QH.js +0 -135
- package/dist/chunks/chunk.ETWE76DE.js +0 -29
- package/dist/chunks/chunk.F262SPEY.js +0 -11
- package/dist/chunks/chunk.F2R2ASZA.js +0 -29
- package/dist/chunks/chunk.F7DCQMUY.js +0 -91
- package/dist/chunks/chunk.FEHHTZJT.js +0 -21
- package/dist/chunks/chunk.FHAG7SBW.js +0 -21
- package/dist/chunks/chunk.FHRG75WD.js +0 -11
- package/dist/chunks/chunk.FJ2HT6JS.js +0 -11
- package/dist/chunks/chunk.FJPI7RRZ.js +0 -11
- package/dist/chunks/chunk.FKUQDIMO.js +0 -75
- package/dist/chunks/chunk.FMEWSWWC.js +0 -11
- package/dist/chunks/chunk.FMZSZTZ4.js +0 -73
- package/dist/chunks/chunk.FRR4G54S.js +0 -11
- package/dist/chunks/chunk.G2YQXL7Z.js +0 -21
- package/dist/chunks/chunk.G3JIBHEX.js +0 -11
- package/dist/chunks/chunk.G5VKG3Q3.js +0 -147
- package/dist/chunks/chunk.G62S4PPL.js +0 -286
- package/dist/chunks/chunk.G6SPGZUW.js +0 -201
- package/dist/chunks/chunk.G75LX6OK.js +0 -24
- package/dist/chunks/chunk.G7CHLAZS.js +0 -24
- package/dist/chunks/chunk.GENNB2JG.js +0 -109
- package/dist/chunks/chunk.GJIAXDMG.js +0 -26
- package/dist/chunks/chunk.GLAOVF6N.js +0 -93
- package/dist/chunks/chunk.GNASQ67W.js +0 -67
- package/dist/chunks/chunk.GPU4GL2V.js +0 -550
- package/dist/chunks/chunk.GU3HNEKK.js +0 -448
- package/dist/chunks/chunk.GWQUAFOU.js +0 -25
- package/dist/chunks/chunk.H5HURKLU.js +0 -24
- package/dist/chunks/chunk.HEO4V2FK.js +0 -63
- package/dist/chunks/chunk.HIVYY7NX.js +0 -21
- package/dist/chunks/chunk.HNFYGLYL.js +0 -949
- package/dist/chunks/chunk.HNKZJGOB.js +0 -11
- package/dist/chunks/chunk.HNXPU5IT.js +0 -11
- package/dist/chunks/chunk.HOS4HY45.js +0 -11
- package/dist/chunks/chunk.HQ3JEN7N.js +0 -11
- package/dist/chunks/chunk.I6YG7SS2.js +0 -11
- package/dist/chunks/chunk.I76ZXSGL.js +0 -24
- package/dist/chunks/chunk.I7SJ7QRY.js +0 -11
- package/dist/chunks/chunk.IAHO6HFA.js +0 -100
- package/dist/chunks/chunk.IFVQE5BK.js +0 -11
- package/dist/chunks/chunk.IHNOIRPE.js +0 -135
- package/dist/chunks/chunk.IJGSV36N.js +0 -126
- package/dist/chunks/chunk.ILQLXFU7.js +0 -170
- package/dist/chunks/chunk.IPXP2VLS.js +0 -59
- package/dist/chunks/chunk.IQ75USDG.js +0 -21
- package/dist/chunks/chunk.IQJTN2HY.js +0 -231
- package/dist/chunks/chunk.IUKSRAN2.js +0 -126
- package/dist/chunks/chunk.IUQZ2FA3.js +0 -11
- package/dist/chunks/chunk.IVNP5OOF.js +0 -867
- package/dist/chunks/chunk.IXJWE2HB.js +0 -11
- package/dist/chunks/chunk.IY4LKMS6.js +0 -21
- package/dist/chunks/chunk.IZ2TG7CQ.js +0 -230
- package/dist/chunks/chunk.J3M736VD.js +0 -11
- package/dist/chunks/chunk.J3TY34TU.js +0 -11
- package/dist/chunks/chunk.J4PT5S37.js +0 -11
- package/dist/chunks/chunk.J5GNJD7G.js +0 -21
- package/dist/chunks/chunk.J6TNCNSP.js +0 -11
- package/dist/chunks/chunk.JD2275NW.js +0 -25
- package/dist/chunks/chunk.JDIU73QV.js +0 -11
- package/dist/chunks/chunk.JDO3MIXG.js +0 -117
- package/dist/chunks/chunk.JGMQX5I7.js +0 -90
- package/dist/chunks/chunk.JHXADK6S.js +0 -21
- package/dist/chunks/chunk.JP6WPXWA.js +0 -21
- package/dist/chunks/chunk.JQOT62LP.js +0 -126
- package/dist/chunks/chunk.JSC5QNUU.js +0 -11
- package/dist/chunks/chunk.JTKK676Y.js +0 -11
- package/dist/chunks/chunk.JTRLAEBS.js +0 -11
- package/dist/chunks/chunk.JUSB7VMF.js +0 -21
- package/dist/chunks/chunk.JXSF3KMC.js +0 -867
- package/dist/chunks/chunk.JXW3YHBR.js +0 -293
- package/dist/chunks/chunk.K2SVOZ63.js +0 -11
- package/dist/chunks/chunk.K6X5OPJA.js +0 -11
- package/dist/chunks/chunk.K74RU64K.js +0 -192
- package/dist/chunks/chunk.KCQFM57P.js +0 -21
- package/dist/chunks/chunk.KCZIWQF3.js +0 -21
- package/dist/chunks/chunk.KIWYGCSJ.js +0 -11
- package/dist/chunks/chunk.KJGJQRBH.js +0 -11
- package/dist/chunks/chunk.KLSXVV7N.js +0 -96
- package/dist/chunks/chunk.KN5ZUWQC.js +0 -371
- package/dist/chunks/chunk.KQXKJXOP.js +0 -25
- package/dist/chunks/chunk.KSUZGFKA.js +0 -311
- package/dist/chunks/chunk.KVJX7RQB.js +0 -11
- package/dist/chunks/chunk.KXRCCTR3.js +0 -21
- package/dist/chunks/chunk.KYFYN6MA.js +0 -311
- package/dist/chunks/chunk.KZD3UYAF.js +0 -194
- package/dist/chunks/chunk.KZZEZNRB.js +0 -11
- package/dist/chunks/chunk.L3TRRUIF.js +0 -26
- package/dist/chunks/chunk.L4ES5VWZ.js +0 -24
- package/dist/chunks/chunk.LASXXDP3.js +0 -434
- package/dist/chunks/chunk.LDZBT3ZW.js +0 -93
- package/dist/chunks/chunk.LEGEZB6Y.js +0 -11
- package/dist/chunks/chunk.LFYXUY3Q.js +0 -21
- package/dist/chunks/chunk.LKDVROOG.js +0 -154
- package/dist/chunks/chunk.LLGGV5KF.js +0 -293
- package/dist/chunks/chunk.LLOJWLWW.js +0 -21
- package/dist/chunks/chunk.LNMQZNV5.js +0 -274
- package/dist/chunks/chunk.LOWK62DH.js +0 -27
- package/dist/chunks/chunk.LQSGEKJU.js +0 -24
- package/dist/chunks/chunk.LT5SIPMZ.js +0 -26
- package/dist/chunks/chunk.LUQMRKF3.js +0 -24
- package/dist/chunks/chunk.LZKAHXR4.js +0 -11
- package/dist/chunks/chunk.MIASYRFE.js +0 -28
- package/dist/chunks/chunk.MJUGRPNY.js +0 -56
- package/dist/chunks/chunk.MK3HTS4D.js +0 -21
- package/dist/chunks/chunk.MMVLTJ6G.js +0 -24
- package/dist/chunks/chunk.MNN44X6Q.js +0 -27
- package/dist/chunks/chunk.MSO6ILRD.js +0 -21
- package/dist/chunks/chunk.MVHBCSGO.js +0 -11
- package/dist/chunks/chunk.MVLYTPPP.js +0 -247
- package/dist/chunks/chunk.MW535UBD.js +0 -28
- package/dist/chunks/chunk.N25Q4MJW.js +0 -24
- package/dist/chunks/chunk.N5UTF6CA.js +0 -11
- package/dist/chunks/chunk.N6VPQV73.js +0 -134
- package/dist/chunks/chunk.NH5G6675.js +0 -29
- package/dist/chunks/chunk.NHFBNQJR.js +0 -11
- package/dist/chunks/chunk.NHLIQOKX.js +0 -100
- package/dist/chunks/chunk.NKA2ZRTB.js +0 -45
- package/dist/chunks/chunk.NMXCAQXC.js +0 -11
- package/dist/chunks/chunk.NMZA257K.js +0 -1250
- package/dist/chunks/chunk.NPCMYVWX.js +0 -286
- package/dist/chunks/chunk.NPOQ3BNK.js +0 -263
- package/dist/chunks/chunk.NQW4Q67R.js +0 -11
- package/dist/chunks/chunk.NSPMSRQC.js +0 -113
- package/dist/chunks/chunk.NZBHQRRS.js +0 -280
- package/dist/chunks/chunk.O2U7RRB5.js +0 -280
- package/dist/chunks/chunk.O4LUJNKW.js +0 -11
- package/dist/chunks/chunk.O65Y7ASW.js +0 -24
- package/dist/chunks/chunk.OBMBKI2N.js +0 -85
- package/dist/chunks/chunk.OLXVUVVI.js +0 -27
- package/dist/chunks/chunk.ON74G6SG.js +0 -50
- package/dist/chunks/chunk.OQ3T2IXE.js +0 -215
- package/dist/chunks/chunk.OQZ4UU2I.js +0 -45
- package/dist/chunks/chunk.OSQ5DKVV.js +0 -42
- package/dist/chunks/chunk.OTL42R77.js +0 -21
- package/dist/chunks/chunk.OV6DUALY.js +0 -361
- package/dist/chunks/chunk.P4UPHCJN.js +0 -21
- package/dist/chunks/chunk.P5OCKALA.js +0 -448
- package/dist/chunks/chunk.P6Z6ELRN.js +0 -52
- package/dist/chunks/chunk.PCW3LSAJ.js +0 -170
- package/dist/chunks/chunk.PFRIERBN.js +0 -27
- package/dist/chunks/chunk.PGOM5AER.js +0 -227
- package/dist/chunks/chunk.PJFENNY6.js +0 -21
- package/dist/chunks/chunk.PKN2COXR.js +0 -29
- package/dist/chunks/chunk.PLKZLUW6.js +0 -11
- package/dist/chunks/chunk.POLVVEFT.js +0 -34
- package/dist/chunks/chunk.PPL4XUEM.js +0 -11
- package/dist/chunks/chunk.PRLZQCTI.js +0 -24
- package/dist/chunks/chunk.PSFGVTHF.js +0 -73
- package/dist/chunks/chunk.PZV2XPSW.js +0 -214
- package/dist/chunks/chunk.Q2SIVI7X.js +0 -583
- package/dist/chunks/chunk.Q5FO6LWF.js +0 -11
- package/dist/chunks/chunk.Q6HS7HFY.js +0 -50
- package/dist/chunks/chunk.QAR77MZM.js +0 -11
- package/dist/chunks/chunk.QBDJMBGA.js +0 -11
- package/dist/chunks/chunk.QCAEEDB6.js +0 -11
- package/dist/chunks/chunk.QEM4J7GB.js +0 -28
- package/dist/chunks/chunk.QG54XYLK.js +0 -411
- package/dist/chunks/chunk.QGOQBFEF.js +0 -329
- package/dist/chunks/chunk.QLPOH2DQ.js +0 -11
- package/dist/chunks/chunk.QNA7TQHC.js +0 -57
- package/dist/chunks/chunk.QNUIELRG.js +0 -315
- package/dist/chunks/chunk.QP4APBCS.js +0 -126
- package/dist/chunks/chunk.QPERO44S.js +0 -11
- package/dist/chunks/chunk.QPVZPDOA.js +0 -154
- package/dist/chunks/chunk.QQOW3PAK.js +0 -27
- package/dist/chunks/chunk.QT72JIN7.js +0 -21
- package/dist/chunks/chunk.QTFHNPE4.js +0 -11
- package/dist/chunks/chunk.QV3ZYJGM.js +0 -306
- package/dist/chunks/chunk.QZR5RDGH.js +0 -67
- package/dist/chunks/chunk.R5LNJOL3.js +0 -21
- package/dist/chunks/chunk.RCEA5CRZ.js +0 -814
- package/dist/chunks/chunk.RGN66SVE.js +0 -59
- package/dist/chunks/chunk.RGNRNBA7.js +0 -11
- package/dist/chunks/chunk.RJ2LS76V.js +0 -24
- package/dist/chunks/chunk.RRFV6L3W.js +0 -125
- package/dist/chunks/chunk.RRUJF7N6.js +0 -171
- package/dist/chunks/chunk.RVAJR3L5.js +0 -21
- package/dist/chunks/chunk.RXXP7M2S.js +0 -11
- package/dist/chunks/chunk.RYE5EPMK.js +0 -11
- package/dist/chunks/chunk.S2FSN4BE.js +0 -28
- package/dist/chunks/chunk.S3TVYC23.js +0 -11
- package/dist/chunks/chunk.S7GVSTDJ.js +0 -75
- package/dist/chunks/chunk.S7YPWY2R.js +0 -24
- package/dist/chunks/chunk.SBAV7GMQ.js +0 -11
- package/dist/chunks/chunk.SBJDBCFU.js +0 -11
- package/dist/chunks/chunk.SBUCMPHS.js +0 -11
- package/dist/chunks/chunk.SCJAO3IG.js +0 -21
- package/dist/chunks/chunk.SE7EHDBQ.js +0 -11
- package/dist/chunks/chunk.SHE2XPG5.js +0 -33
- package/dist/chunks/chunk.SHGOYYI3.js +0 -11
- package/dist/chunks/chunk.SNWNPB72.js +0 -90
- package/dist/chunks/chunk.SOOQL2B4.js +0 -21
- package/dist/chunks/chunk.STQ2S7XA.js +0 -21
- package/dist/chunks/chunk.SUFQMPLM.js +0 -45
- package/dist/chunks/chunk.SX3HZL6H.js +0 -11
- package/dist/chunks/chunk.SZTZUFSN.js +0 -11
- package/dist/chunks/chunk.T23YYHXJ.js +0 -28
- package/dist/chunks/chunk.T5ZHT323.js +0 -24
- package/dist/chunks/chunk.TA7HZ7WS.js +0 -1182
- package/dist/chunks/chunk.TAXDJ5WI.js +0 -11
- package/dist/chunks/chunk.TC2ND6H6.js +0 -11
- package/dist/chunks/chunk.TCGMUPUV.js +0 -337
- package/dist/chunks/chunk.TCPBFU7Q.js +0 -11
- package/dist/chunks/chunk.THKPNGPC.js +0 -212
- package/dist/chunks/chunk.TJ3TZ2LX.js +0 -11
- package/dist/chunks/chunk.TLUCJG67.js +0 -11
- package/dist/chunks/chunk.TMFQVS4X.js +0 -29
- package/dist/chunks/chunk.TNH3USHP.js +0 -21
- package/dist/chunks/chunk.TOTB4CFI.js +0 -11
- package/dist/chunks/chunk.TT3LDLYU.js +0 -502
- package/dist/chunks/chunk.TT7SL6DJ.js +0 -11
- package/dist/chunks/chunk.TV66KF7A.js +0 -181
- package/dist/chunks/chunk.TW4WEP4Q.js +0 -11
- package/dist/chunks/chunk.TYWSPAGQ.js +0 -230
- package/dist/chunks/chunk.U74EXFR6.js +0 -11
- package/dist/chunks/chunk.U7U54DJY.js +0 -11
- package/dist/chunks/chunk.UBP4G4E3.js +0 -11
- package/dist/chunks/chunk.UEEII2EF.js +0 -212
- package/dist/chunks/chunk.UFHB3JQD.js +0 -11
- package/dist/chunks/chunk.UGPPJXMD.js +0 -100
- package/dist/chunks/chunk.UHYTJBA6.js +0 -214
- package/dist/chunks/chunk.UJQRINXO.js +0 -504
- package/dist/chunks/chunk.UN6C3FRY.js +0 -11
- package/dist/chunks/chunk.UNXI3C2P.js +0 -21
- package/dist/chunks/chunk.UOCSBTV3.js +0 -274
- package/dist/chunks/chunk.UQKPSKVF.js +0 -27
- package/dist/chunks/chunk.UQWHJGFE.js +0 -111
- package/dist/chunks/chunk.UWXXPDLJ.js +0 -11
- package/dist/chunks/chunk.V33NYZIV.js +0 -194
- package/dist/chunks/chunk.VAQNPUIN.js +0 -52
- package/dist/chunks/chunk.VDPDPBAE.js +0 -25
- package/dist/chunks/chunk.VDUZZWIY.js +0 -21
- package/dist/chunks/chunk.VF3HZZ5L.js +0 -11
- package/dist/chunks/chunk.VKNC2DTV.js +0 -25
- package/dist/chunks/chunk.VMCOLQHF.js +0 -21
- package/dist/chunks/chunk.VNXVG3AC.js +0 -24
- package/dist/chunks/chunk.VPW7DXSH.js +0 -227
- package/dist/chunks/chunk.VPY5ZQE6.js +0 -324
- package/dist/chunks/chunk.VQJ2KLOI.js +0 -397
- package/dist/chunks/chunk.VQOI46OW.js +0 -1250
- package/dist/chunks/chunk.VS5XT5MB.js +0 -24
- package/dist/chunks/chunk.VS7JSLFI.js +0 -11
- package/dist/chunks/chunk.VSSLOFDD.js +0 -11
- package/dist/chunks/chunk.VTYIFJUM.js +0 -371
- package/dist/chunks/chunk.W2QY6MDD.js +0 -27
- package/dist/chunks/chunk.W3B6YODI.js +0 -171
- package/dist/chunks/chunk.W57SABYD.js +0 -96
- package/dist/chunks/chunk.W7T4T3WX.js +0 -21
- package/dist/chunks/chunk.WA3SUWYI.js +0 -11
- package/dist/chunks/chunk.WB4UPRJS.js +0 -11
- package/dist/chunks/chunk.WCOCOLA7.js +0 -247
- package/dist/chunks/chunk.WDBOWDMG.js +0 -11
- package/dist/chunks/chunk.WDGI6U74.js +0 -21
- package/dist/chunks/chunk.WGFAJUH5.js +0 -119
- package/dist/chunks/chunk.WOAFBWL2.js +0 -27
- package/dist/chunks/chunk.WPJZPY7D.js +0 -306
- package/dist/chunks/chunk.WRWF54A7.js +0 -28
- package/dist/chunks/chunk.WUMRTVBA.js +0 -11
- package/dist/chunks/chunk.WWRUHZSC.js +0 -11
- package/dist/chunks/chunk.WYOPAR77.js +0 -329
- package/dist/chunks/chunk.X2F3EBX4.js +0 -25
- package/dist/chunks/chunk.X3KCE36I.js +0 -11
- package/dist/chunks/chunk.X5YLVSF5.js +0 -113
- package/dist/chunks/chunk.X6CJ7IXW.js +0 -24
- package/dist/chunks/chunk.X6JNCYTI.js +0 -384
- package/dist/chunks/chunk.X7BJXRUA.js +0 -397
- package/dist/chunks/chunk.XBA5SKUF.js +0 -26
- package/dist/chunks/chunk.XGCTZ2E4.js +0 -213
- package/dist/chunks/chunk.XH2SWXBC.js +0 -25
- package/dist/chunks/chunk.XITG3HS5.js +0 -75
- package/dist/chunks/chunk.XKSQJN7V.js +0 -25
- package/dist/chunks/chunk.XMAWKBTZ.js +0 -134
- package/dist/chunks/chunk.XRPHLKSF.js +0 -11
- package/dist/chunks/chunk.XWELR2ZM.js +0 -26
- package/dist/chunks/chunk.XXI2DC76.js +0 -85
- package/dist/chunks/chunk.XXNSQVMW.js +0 -11
- package/dist/chunks/chunk.Y43NDL5S.js +0 -181
- package/dist/chunks/chunk.Y45IYAYJ.js +0 -25
- package/dist/chunks/chunk.Y6ZUDK7Q.js +0 -24
- package/dist/chunks/chunk.YART2YF7.js +0 -11
- package/dist/chunks/chunk.YBPPP5JD.js +0 -24
- package/dist/chunks/chunk.YEMLA2Z6.js +0 -28
- package/dist/chunks/chunk.YHEBHVQS.js +0 -21
- package/dist/chunks/chunk.YHRJQPOR.js +0 -21
- package/dist/chunks/chunk.YJPKQXNC.js +0 -119
- package/dist/chunks/chunk.YJRMJBTC.js +0 -188
- package/dist/chunks/chunk.YN5KYAMF.js +0 -25
- package/dist/chunks/chunk.YPVCDTLB.js +0 -11
- package/dist/chunks/chunk.YTJNRWG4.js +0 -42
- package/dist/chunks/chunk.YURQ26ME.js +0 -21
- package/dist/chunks/chunk.YXCXKLNT.js +0 -21
- package/dist/chunks/chunk.YYU3GWRB.js +0 -11
- package/dist/chunks/chunk.YZN74IZZ.js +0 -33
- package/dist/chunks/chunk.Z44M3SXP.js +0 -11
- package/dist/chunks/chunk.ZC62WS5Z.js +0 -11
- package/dist/chunks/chunk.ZGAACEEF.js +0 -26
- package/dist/chunks/chunk.ZJDKFSPP.js +0 -21
- package/dist/chunks/chunk.ZKQB3A5P.js +0 -21
- package/dist/chunks/chunk.ZLIZIUUQ.js +0 -11
- package/dist/chunks/chunk.ZM2ZUBSC.js +0 -29
- package/dist/chunks/chunk.ZNKOWBZD.js +0 -24
- package/dist/chunks/chunk.ZROPTLPX.js +0 -21
- package/dist/chunks/chunk.ZSOOXWXY.js +0 -24
- package/dist/chunks/chunk.ZVJVBEZJ.js +0 -11
|
@@ -1,2766 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
e
|
|
3
|
-
} from "./chunk.G2YOMCHR.js";
|
|
4
|
-
import {
|
|
5
|
-
b
|
|
6
|
-
} from "./chunk.7WSF3BCU.js";
|
|
7
|
-
import {
|
|
8
|
-
__spreadProps,
|
|
9
|
-
__spreadValues
|
|
10
|
-
} from "./chunk.CZCSAYQZ.js";
|
|
11
|
-
|
|
12
|
-
// src/components/table/features/tree-table.ts
|
|
13
|
-
var TreeTableController = class {
|
|
14
|
-
constructor(getCommonProps) {
|
|
15
|
-
this.getCommonProps = getCommonProps;
|
|
16
|
-
// ===================== 拖拽时展开/收起 =====================
|
|
17
|
-
/** 拖拽开始时记录的原始展开状态 */
|
|
18
|
-
this.savedExpandedKeys = /* @__PURE__ */ new Set();
|
|
19
|
-
}
|
|
20
|
-
get commonProps() {
|
|
21
|
-
return this.getCommonProps();
|
|
22
|
-
}
|
|
23
|
-
get adapter() {
|
|
24
|
-
return this.commonProps.adapter;
|
|
25
|
-
}
|
|
26
|
-
// ===================== 配置 =====================
|
|
27
|
-
getTreeConfig() {
|
|
28
|
-
var _a, _b;
|
|
29
|
-
const { tree } = this.commonProps;
|
|
30
|
-
if (!tree) return null;
|
|
31
|
-
if (typeof tree === "object") {
|
|
32
|
-
const t = tree;
|
|
33
|
-
return {
|
|
34
|
-
childrenRecordName: (_a = t.childrenRecordName) != null ? _a : "children",
|
|
35
|
-
indentSize: (_b = t.indentSize) != null ? _b : 16
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
return { childrenRecordName: "children", indentSize: 16 };
|
|
39
|
-
}
|
|
40
|
-
isTreeMode() {
|
|
41
|
-
return this.getTreeConfig() !== null;
|
|
42
|
-
}
|
|
43
|
-
// ===================== 节点遍历 =====================
|
|
44
|
-
/** 获取行的深度 */
|
|
45
|
-
getRowDepth(rowKey) {
|
|
46
|
-
var _a;
|
|
47
|
-
const allRows = this.commonProps.tableInstance.getRowModel().rows;
|
|
48
|
-
const row = allRows.find((r) => this.adapter.getRecordKey(r.original) === rowKey);
|
|
49
|
-
return (_a = row == null ? void 0 : row.depth) != null ? _a : 0;
|
|
50
|
-
}
|
|
51
|
-
/** 收集某行所有子孙的 key */
|
|
52
|
-
collectSubRowKeys(row, result) {
|
|
53
|
-
const subRows = row.subRows;
|
|
54
|
-
if (!(subRows == null ? void 0 : subRows.length)) return;
|
|
55
|
-
for (const sub of subRows) {
|
|
56
|
-
const key = this.adapter.getRecordKey(sub.original);
|
|
57
|
-
if (key) result.add(key);
|
|
58
|
-
this.collectSubRowKeys(sub, result);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
/** 保存拖拽开始时的展开状态并收起子节点 */
|
|
62
|
-
collapseForDrag(dragRowKey) {
|
|
63
|
-
const tableInstance = this.commonProps.tableInstance;
|
|
64
|
-
const rows = tableInstance.getRowModel().rows;
|
|
65
|
-
const dragRow = rows.find((r) => this.adapter.getRecordKey(r.original) === dragRowKey);
|
|
66
|
-
if (!dragRow || !dragRow.getIsExpanded()) return;
|
|
67
|
-
this.savedExpandedKeys = /* @__PURE__ */ new Set();
|
|
68
|
-
const collectExpanded = (row) => {
|
|
69
|
-
const key = this.adapter.getRecordKey(row.original);
|
|
70
|
-
if (row.getIsExpanded()) {
|
|
71
|
-
this.savedExpandedKeys.add(key);
|
|
72
|
-
}
|
|
73
|
-
const subRows = row.subRows;
|
|
74
|
-
if (subRows == null ? void 0 : subRows.length) {
|
|
75
|
-
subRows.forEach(collectExpanded);
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
collectExpanded(dragRow);
|
|
79
|
-
dragRow.toggleExpanded(false);
|
|
80
|
-
}
|
|
81
|
-
/** 拖拽结束后恢复展开状态 */
|
|
82
|
-
restoreExpandForDrag() {
|
|
83
|
-
if (!this.savedExpandedKeys.size) return;
|
|
84
|
-
const tableInstance = this.commonProps.tableInstance;
|
|
85
|
-
const rows = tableInstance.getRowModel().rows;
|
|
86
|
-
for (const key of this.savedExpandedKeys) {
|
|
87
|
-
const row = rows.find((r) => this.adapter.getRecordKey(r.original) === key);
|
|
88
|
-
if (row && !row.getIsExpanded()) {
|
|
89
|
-
row.toggleExpanded(true);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
this.savedExpandedKeys.clear();
|
|
93
|
-
}
|
|
94
|
-
// ===================== 树型数据增删 =====================
|
|
95
|
-
/** 从树型数据中移除指定 key 的节点 */
|
|
96
|
-
removeNodeFromTree(data, key, childrenKey) {
|
|
97
|
-
var _a;
|
|
98
|
-
let removed = null;
|
|
99
|
-
const newData = [];
|
|
100
|
-
for (const node of data) {
|
|
101
|
-
if (this.adapter.getRecordKey(node) === key) {
|
|
102
|
-
removed = node;
|
|
103
|
-
continue;
|
|
104
|
-
}
|
|
105
|
-
const children = (_a = node[childrenKey]) != null ? _a : [];
|
|
106
|
-
if (children.length && !removed) {
|
|
107
|
-
const result = this.removeNodeFromTree(children, key, childrenKey);
|
|
108
|
-
if (result.removed) {
|
|
109
|
-
removed = result.removed;
|
|
110
|
-
newData.push(__spreadProps(__spreadValues({}, node), { [childrenKey]: result.newData }));
|
|
111
|
-
continue;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
newData.push(node);
|
|
115
|
-
}
|
|
116
|
-
return { removed, newData };
|
|
117
|
-
}
|
|
118
|
-
/** 将节点插入树型数据中指定位置 */
|
|
119
|
-
insertNodeToTree(data, nodeToInsert, targetKey, position, childrenKey) {
|
|
120
|
-
return data.flatMap((node) => {
|
|
121
|
-
var _a, _b;
|
|
122
|
-
if (this.adapter.getRecordKey(node) === targetKey) {
|
|
123
|
-
if (position === "before") return [nodeToInsert, node];
|
|
124
|
-
if (position === "after") return [node, nodeToInsert];
|
|
125
|
-
return [__spreadProps(__spreadValues({}, node), { [childrenKey]: [...(_a = node[childrenKey]) != null ? _a : [], nodeToInsert] })];
|
|
126
|
-
}
|
|
127
|
-
const children = (_b = node[childrenKey]) != null ? _b : [];
|
|
128
|
-
if (children.length) {
|
|
129
|
-
return [
|
|
130
|
-
__spreadProps(__spreadValues({}, node), {
|
|
131
|
-
[childrenKey]: this.insertNodeToTree(children, nodeToInsert, targetKey, position, childrenKey)
|
|
132
|
-
})
|
|
133
|
-
];
|
|
134
|
-
}
|
|
135
|
-
return [node];
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
// node_modules/sortablejs/modular/sortable.esm.js
|
|
141
|
-
function _defineProperty(e2, r, t) {
|
|
142
|
-
return (r = _toPropertyKey(r)) in e2 ? Object.defineProperty(e2, r, {
|
|
143
|
-
value: t,
|
|
144
|
-
enumerable: true,
|
|
145
|
-
configurable: true,
|
|
146
|
-
writable: true
|
|
147
|
-
}) : e2[r] = t, e2;
|
|
148
|
-
}
|
|
149
|
-
function _extends() {
|
|
150
|
-
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
151
|
-
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
152
|
-
var t = arguments[e2];
|
|
153
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
154
|
-
}
|
|
155
|
-
return n;
|
|
156
|
-
}, _extends.apply(null, arguments);
|
|
157
|
-
}
|
|
158
|
-
function ownKeys(e2, r) {
|
|
159
|
-
var t = Object.keys(e2);
|
|
160
|
-
if (Object.getOwnPropertySymbols) {
|
|
161
|
-
var o = Object.getOwnPropertySymbols(e2);
|
|
162
|
-
r && (o = o.filter(function(r2) {
|
|
163
|
-
return Object.getOwnPropertyDescriptor(e2, r2).enumerable;
|
|
164
|
-
})), t.push.apply(t, o);
|
|
165
|
-
}
|
|
166
|
-
return t;
|
|
167
|
-
}
|
|
168
|
-
function _objectSpread2(e2) {
|
|
169
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
170
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
171
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
172
|
-
_defineProperty(e2, r2, t[r2]);
|
|
173
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
174
|
-
Object.defineProperty(e2, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
return e2;
|
|
178
|
-
}
|
|
179
|
-
function _objectWithoutProperties(e2, t) {
|
|
180
|
-
if (null == e2) return {};
|
|
181
|
-
var o, r, i = _objectWithoutPropertiesLoose(e2, t);
|
|
182
|
-
if (Object.getOwnPropertySymbols) {
|
|
183
|
-
var n = Object.getOwnPropertySymbols(e2);
|
|
184
|
-
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e2, o) && (i[o] = e2[o]);
|
|
185
|
-
}
|
|
186
|
-
return i;
|
|
187
|
-
}
|
|
188
|
-
function _objectWithoutPropertiesLoose(r, e2) {
|
|
189
|
-
if (null == r) return {};
|
|
190
|
-
var t = {};
|
|
191
|
-
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
192
|
-
if (-1 !== e2.indexOf(n)) continue;
|
|
193
|
-
t[n] = r[n];
|
|
194
|
-
}
|
|
195
|
-
return t;
|
|
196
|
-
}
|
|
197
|
-
function _toPrimitive(t, r) {
|
|
198
|
-
if ("object" != typeof t || !t) return t;
|
|
199
|
-
var e2 = t[Symbol.toPrimitive];
|
|
200
|
-
if (void 0 !== e2) {
|
|
201
|
-
var i = e2.call(t, r || "default");
|
|
202
|
-
if ("object" != typeof i) return i;
|
|
203
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
204
|
-
}
|
|
205
|
-
return ("string" === r ? String : Number)(t);
|
|
206
|
-
}
|
|
207
|
-
function _toPropertyKey(t) {
|
|
208
|
-
var i = _toPrimitive(t, "string");
|
|
209
|
-
return "symbol" == typeof i ? i : i + "";
|
|
210
|
-
}
|
|
211
|
-
function _typeof(o) {
|
|
212
|
-
"@babel/helpers - typeof";
|
|
213
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
214
|
-
return typeof o2;
|
|
215
|
-
} : function(o2) {
|
|
216
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
217
|
-
}, _typeof(o);
|
|
218
|
-
}
|
|
219
|
-
var version = "1.15.7";
|
|
220
|
-
function userAgent(pattern) {
|
|
221
|
-
if (typeof window !== "undefined" && window.navigator) {
|
|
222
|
-
return !!/* @__PURE__ */ navigator.userAgent.match(pattern);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
|
|
226
|
-
var Edge = userAgent(/Edge/i);
|
|
227
|
-
var FireFox = userAgent(/firefox/i);
|
|
228
|
-
var Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);
|
|
229
|
-
var IOS = userAgent(/iP(ad|od|hone)/i);
|
|
230
|
-
var ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);
|
|
231
|
-
var captureMode = {
|
|
232
|
-
capture: false,
|
|
233
|
-
passive: false
|
|
234
|
-
};
|
|
235
|
-
function on(el, event, fn) {
|
|
236
|
-
el.addEventListener(event, fn, !IE11OrLess && captureMode);
|
|
237
|
-
}
|
|
238
|
-
function off(el, event, fn) {
|
|
239
|
-
el.removeEventListener(event, fn, !IE11OrLess && captureMode);
|
|
240
|
-
}
|
|
241
|
-
function matches(el, selector) {
|
|
242
|
-
if (!selector) return;
|
|
243
|
-
selector[0] === ">" && (selector = selector.substring(1));
|
|
244
|
-
if (el) {
|
|
245
|
-
try {
|
|
246
|
-
if (el.matches) {
|
|
247
|
-
return el.matches(selector);
|
|
248
|
-
} else if (el.msMatchesSelector) {
|
|
249
|
-
return el.msMatchesSelector(selector);
|
|
250
|
-
} else if (el.webkitMatchesSelector) {
|
|
251
|
-
return el.webkitMatchesSelector(selector);
|
|
252
|
-
}
|
|
253
|
-
} catch (_) {
|
|
254
|
-
return false;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
return false;
|
|
258
|
-
}
|
|
259
|
-
function getParentOrHost(el) {
|
|
260
|
-
return el.host && el !== document && el.host.nodeType && el.host !== el ? el.host : el.parentNode;
|
|
261
|
-
}
|
|
262
|
-
function closest(el, selector, ctx, includeCTX) {
|
|
263
|
-
if (el) {
|
|
264
|
-
ctx = ctx || document;
|
|
265
|
-
do {
|
|
266
|
-
if (selector != null && (selector[0] === ">" ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
|
|
267
|
-
return el;
|
|
268
|
-
}
|
|
269
|
-
if (el === ctx) break;
|
|
270
|
-
} while (el = getParentOrHost(el));
|
|
271
|
-
}
|
|
272
|
-
return null;
|
|
273
|
-
}
|
|
274
|
-
var R_SPACE = /\s+/g;
|
|
275
|
-
function toggleClass(el, name, state) {
|
|
276
|
-
if (el && name) {
|
|
277
|
-
if (el.classList) {
|
|
278
|
-
el.classList[state ? "add" : "remove"](name);
|
|
279
|
-
} else {
|
|
280
|
-
var className = (" " + el.className + " ").replace(R_SPACE, " ").replace(" " + name + " ", " ");
|
|
281
|
-
el.className = (className + (state ? " " + name : "")).replace(R_SPACE, " ");
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
function css(el, prop, val) {
|
|
286
|
-
var style = el && el.style;
|
|
287
|
-
if (style) {
|
|
288
|
-
if (val === void 0) {
|
|
289
|
-
if (document.defaultView && document.defaultView.getComputedStyle) {
|
|
290
|
-
val = document.defaultView.getComputedStyle(el, "");
|
|
291
|
-
} else if (el.currentStyle) {
|
|
292
|
-
val = el.currentStyle;
|
|
293
|
-
}
|
|
294
|
-
return prop === void 0 ? val : val[prop];
|
|
295
|
-
} else {
|
|
296
|
-
if (!(prop in style) && prop.indexOf("webkit") === -1) {
|
|
297
|
-
prop = "-webkit-" + prop;
|
|
298
|
-
}
|
|
299
|
-
style[prop] = val + (typeof val === "string" ? "" : "px");
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
function matrix(el, selfOnly) {
|
|
304
|
-
var appliedTransforms = "";
|
|
305
|
-
if (typeof el === "string") {
|
|
306
|
-
appliedTransforms = el;
|
|
307
|
-
} else {
|
|
308
|
-
do {
|
|
309
|
-
var transform = css(el, "transform");
|
|
310
|
-
if (transform && transform !== "none") {
|
|
311
|
-
appliedTransforms = transform + " " + appliedTransforms;
|
|
312
|
-
}
|
|
313
|
-
} while (!selfOnly && (el = el.parentNode));
|
|
314
|
-
}
|
|
315
|
-
var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
316
|
-
return matrixFn && new matrixFn(appliedTransforms);
|
|
317
|
-
}
|
|
318
|
-
function find(ctx, tagName, iterator) {
|
|
319
|
-
if (ctx) {
|
|
320
|
-
var list = ctx.getElementsByTagName(tagName), i = 0, n = list.length;
|
|
321
|
-
if (iterator) {
|
|
322
|
-
for (; i < n; i++) {
|
|
323
|
-
iterator(list[i], i);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
return list;
|
|
327
|
-
}
|
|
328
|
-
return [];
|
|
329
|
-
}
|
|
330
|
-
function getWindowScrollingElement() {
|
|
331
|
-
var scrollingElement = document.scrollingElement;
|
|
332
|
-
if (scrollingElement) {
|
|
333
|
-
return scrollingElement;
|
|
334
|
-
} else {
|
|
335
|
-
return document.documentElement;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
|
|
339
|
-
if (!el.getBoundingClientRect && el !== window) return;
|
|
340
|
-
var elRect, top, left, bottom, right, height, width;
|
|
341
|
-
if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
|
|
342
|
-
elRect = el.getBoundingClientRect();
|
|
343
|
-
top = elRect.top;
|
|
344
|
-
left = elRect.left;
|
|
345
|
-
bottom = elRect.bottom;
|
|
346
|
-
right = elRect.right;
|
|
347
|
-
height = elRect.height;
|
|
348
|
-
width = elRect.width;
|
|
349
|
-
} else {
|
|
350
|
-
top = 0;
|
|
351
|
-
left = 0;
|
|
352
|
-
bottom = window.innerHeight;
|
|
353
|
-
right = window.innerWidth;
|
|
354
|
-
height = window.innerHeight;
|
|
355
|
-
width = window.innerWidth;
|
|
356
|
-
}
|
|
357
|
-
if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
|
|
358
|
-
container = container || el.parentNode;
|
|
359
|
-
if (!IE11OrLess) {
|
|
360
|
-
do {
|
|
361
|
-
if (container && container.getBoundingClientRect && (css(container, "transform") !== "none" || relativeToNonStaticParent && css(container, "position") !== "static")) {
|
|
362
|
-
var containerRect = container.getBoundingClientRect();
|
|
363
|
-
top -= containerRect.top + parseInt(css(container, "border-top-width"));
|
|
364
|
-
left -= containerRect.left + parseInt(css(container, "border-left-width"));
|
|
365
|
-
bottom = top + elRect.height;
|
|
366
|
-
right = left + elRect.width;
|
|
367
|
-
break;
|
|
368
|
-
}
|
|
369
|
-
} while (container = container.parentNode);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
if (undoScale && el !== window) {
|
|
373
|
-
var elMatrix = matrix(container || el), scaleX = elMatrix && elMatrix.a, scaleY = elMatrix && elMatrix.d;
|
|
374
|
-
if (elMatrix) {
|
|
375
|
-
top /= scaleY;
|
|
376
|
-
left /= scaleX;
|
|
377
|
-
width /= scaleX;
|
|
378
|
-
height /= scaleY;
|
|
379
|
-
bottom = top + height;
|
|
380
|
-
right = left + width;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
return {
|
|
384
|
-
top,
|
|
385
|
-
left,
|
|
386
|
-
bottom,
|
|
387
|
-
right,
|
|
388
|
-
width,
|
|
389
|
-
height
|
|
390
|
-
};
|
|
391
|
-
}
|
|
392
|
-
function isScrolledPast(el, elSide, parentSide) {
|
|
393
|
-
var parent = getParentAutoScrollElement(el, true), elSideVal = getRect(el)[elSide];
|
|
394
|
-
while (parent) {
|
|
395
|
-
var parentSideVal = getRect(parent)[parentSide], visible = void 0;
|
|
396
|
-
if (parentSide === "top" || parentSide === "left") {
|
|
397
|
-
visible = elSideVal >= parentSideVal;
|
|
398
|
-
} else {
|
|
399
|
-
visible = elSideVal <= parentSideVal;
|
|
400
|
-
}
|
|
401
|
-
if (!visible) return parent;
|
|
402
|
-
if (parent === getWindowScrollingElement()) break;
|
|
403
|
-
parent = getParentAutoScrollElement(parent, false);
|
|
404
|
-
}
|
|
405
|
-
return false;
|
|
406
|
-
}
|
|
407
|
-
function getChild(el, childNum, options, includeDragEl) {
|
|
408
|
-
var currentChild = 0, i = 0, children = el.children;
|
|
409
|
-
while (i < children.length) {
|
|
410
|
-
if (children[i].style.display !== "none" && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
|
|
411
|
-
if (currentChild === childNum) {
|
|
412
|
-
return children[i];
|
|
413
|
-
}
|
|
414
|
-
currentChild++;
|
|
415
|
-
}
|
|
416
|
-
i++;
|
|
417
|
-
}
|
|
418
|
-
return null;
|
|
419
|
-
}
|
|
420
|
-
function lastChild(el, selector) {
|
|
421
|
-
var last = el.lastElementChild;
|
|
422
|
-
while (last && (last === Sortable.ghost || css(last, "display") === "none" || selector && !matches(last, selector))) {
|
|
423
|
-
last = last.previousElementSibling;
|
|
424
|
-
}
|
|
425
|
-
return last || null;
|
|
426
|
-
}
|
|
427
|
-
function index(el, selector) {
|
|
428
|
-
var index2 = 0;
|
|
429
|
-
if (!el || !el.parentNode) {
|
|
430
|
-
return -1;
|
|
431
|
-
}
|
|
432
|
-
while (el = el.previousElementSibling) {
|
|
433
|
-
if (el.nodeName.toUpperCase() !== "TEMPLATE" && el !== Sortable.clone && (!selector || matches(el, selector))) {
|
|
434
|
-
index2++;
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
return index2;
|
|
438
|
-
}
|
|
439
|
-
function getRelativeScrollOffset(el) {
|
|
440
|
-
var offsetLeft = 0, offsetTop = 0, winScroller = getWindowScrollingElement();
|
|
441
|
-
if (el) {
|
|
442
|
-
do {
|
|
443
|
-
var elMatrix = matrix(el), scaleX = elMatrix.a, scaleY = elMatrix.d;
|
|
444
|
-
offsetLeft += el.scrollLeft * scaleX;
|
|
445
|
-
offsetTop += el.scrollTop * scaleY;
|
|
446
|
-
} while (el !== winScroller && (el = el.parentNode));
|
|
447
|
-
}
|
|
448
|
-
return [offsetLeft, offsetTop];
|
|
449
|
-
}
|
|
450
|
-
function indexOfObject(arr, obj) {
|
|
451
|
-
for (var i in arr) {
|
|
452
|
-
if (!arr.hasOwnProperty(i)) continue;
|
|
453
|
-
for (var key in obj) {
|
|
454
|
-
if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
return -1;
|
|
458
|
-
}
|
|
459
|
-
function getParentAutoScrollElement(el, includeSelf) {
|
|
460
|
-
if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();
|
|
461
|
-
var elem = el;
|
|
462
|
-
var gotSelf = false;
|
|
463
|
-
do {
|
|
464
|
-
if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
|
|
465
|
-
var elemCSS = css(elem);
|
|
466
|
-
if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == "auto" || elemCSS.overflowX == "scroll") || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == "auto" || elemCSS.overflowY == "scroll")) {
|
|
467
|
-
if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();
|
|
468
|
-
if (gotSelf || includeSelf) return elem;
|
|
469
|
-
gotSelf = true;
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
} while (elem = elem.parentNode);
|
|
473
|
-
return getWindowScrollingElement();
|
|
474
|
-
}
|
|
475
|
-
function extend(dst, src) {
|
|
476
|
-
if (dst && src) {
|
|
477
|
-
for (var key in src) {
|
|
478
|
-
if (src.hasOwnProperty(key)) {
|
|
479
|
-
dst[key] = src[key];
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
return dst;
|
|
484
|
-
}
|
|
485
|
-
function isRectEqual(rect1, rect2) {
|
|
486
|
-
return Math.round(rect1.top) === Math.round(rect2.top) && Math.round(rect1.left) === Math.round(rect2.left) && Math.round(rect1.height) === Math.round(rect2.height) && Math.round(rect1.width) === Math.round(rect2.width);
|
|
487
|
-
}
|
|
488
|
-
var _throttleTimeout;
|
|
489
|
-
function throttle(callback, ms) {
|
|
490
|
-
return function() {
|
|
491
|
-
if (!_throttleTimeout) {
|
|
492
|
-
var args = arguments, _this = this;
|
|
493
|
-
if (args.length === 1) {
|
|
494
|
-
callback.call(_this, args[0]);
|
|
495
|
-
} else {
|
|
496
|
-
callback.apply(_this, args);
|
|
497
|
-
}
|
|
498
|
-
_throttleTimeout = setTimeout(function() {
|
|
499
|
-
_throttleTimeout = void 0;
|
|
500
|
-
}, ms);
|
|
501
|
-
}
|
|
502
|
-
};
|
|
503
|
-
}
|
|
504
|
-
function cancelThrottle() {
|
|
505
|
-
clearTimeout(_throttleTimeout);
|
|
506
|
-
_throttleTimeout = void 0;
|
|
507
|
-
}
|
|
508
|
-
function scrollBy(el, x, y) {
|
|
509
|
-
el.scrollLeft += x;
|
|
510
|
-
el.scrollTop += y;
|
|
511
|
-
}
|
|
512
|
-
function clone(el) {
|
|
513
|
-
var Polymer = window.Polymer;
|
|
514
|
-
var $ = window.jQuery || window.Zepto;
|
|
515
|
-
if (Polymer && Polymer.dom) {
|
|
516
|
-
return Polymer.dom(el).cloneNode(true);
|
|
517
|
-
} else if ($) {
|
|
518
|
-
return $(el).clone(true)[0];
|
|
519
|
-
} else {
|
|
520
|
-
return el.cloneNode(true);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
function getChildContainingRectFromElement(container, options, ghostEl2) {
|
|
524
|
-
var rect = {};
|
|
525
|
-
Array.from(container.children).forEach(function(child) {
|
|
526
|
-
var _rect$left, _rect$top, _rect$right, _rect$bottom;
|
|
527
|
-
if (!closest(child, options.draggable, container, false) || child.animated || child === ghostEl2) return;
|
|
528
|
-
var childRect = getRect(child);
|
|
529
|
-
rect.left = Math.min((_rect$left = rect.left) !== null && _rect$left !== void 0 ? _rect$left : Infinity, childRect.left);
|
|
530
|
-
rect.top = Math.min((_rect$top = rect.top) !== null && _rect$top !== void 0 ? _rect$top : Infinity, childRect.top);
|
|
531
|
-
rect.right = Math.max((_rect$right = rect.right) !== null && _rect$right !== void 0 ? _rect$right : -Infinity, childRect.right);
|
|
532
|
-
rect.bottom = Math.max((_rect$bottom = rect.bottom) !== null && _rect$bottom !== void 0 ? _rect$bottom : -Infinity, childRect.bottom);
|
|
533
|
-
});
|
|
534
|
-
rect.width = rect.right - rect.left;
|
|
535
|
-
rect.height = rect.bottom - rect.top;
|
|
536
|
-
rect.x = rect.left;
|
|
537
|
-
rect.y = rect.top;
|
|
538
|
-
return rect;
|
|
539
|
-
}
|
|
540
|
-
var expando = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
541
|
-
function AnimationStateManager() {
|
|
542
|
-
var animationStates = [], animationCallbackId;
|
|
543
|
-
return {
|
|
544
|
-
captureAnimationState: function captureAnimationState() {
|
|
545
|
-
animationStates = [];
|
|
546
|
-
if (!this.options.animation) return;
|
|
547
|
-
var children = [].slice.call(this.el.children);
|
|
548
|
-
children.forEach(function(child) {
|
|
549
|
-
if (css(child, "display") === "none" || child === Sortable.ghost) return;
|
|
550
|
-
animationStates.push({
|
|
551
|
-
target: child,
|
|
552
|
-
rect: getRect(child)
|
|
553
|
-
});
|
|
554
|
-
var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect);
|
|
555
|
-
if (child.thisAnimationDuration) {
|
|
556
|
-
var childMatrix = matrix(child, true);
|
|
557
|
-
if (childMatrix) {
|
|
558
|
-
fromRect.top -= childMatrix.f;
|
|
559
|
-
fromRect.left -= childMatrix.e;
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
child.fromRect = fromRect;
|
|
563
|
-
});
|
|
564
|
-
},
|
|
565
|
-
addAnimationState: function addAnimationState(state) {
|
|
566
|
-
animationStates.push(state);
|
|
567
|
-
},
|
|
568
|
-
removeAnimationState: function removeAnimationState(target) {
|
|
569
|
-
animationStates.splice(indexOfObject(animationStates, {
|
|
570
|
-
target
|
|
571
|
-
}), 1);
|
|
572
|
-
},
|
|
573
|
-
animateAll: function animateAll(callback) {
|
|
574
|
-
var _this = this;
|
|
575
|
-
if (!this.options.animation) {
|
|
576
|
-
clearTimeout(animationCallbackId);
|
|
577
|
-
if (typeof callback === "function") callback();
|
|
578
|
-
return;
|
|
579
|
-
}
|
|
580
|
-
var animating = false, animationTime = 0;
|
|
581
|
-
animationStates.forEach(function(state) {
|
|
582
|
-
var time = 0, target = state.target, fromRect = target.fromRect, toRect = getRect(target), prevFromRect = target.prevFromRect, prevToRect = target.prevToRect, animatingRect = state.rect, targetMatrix = matrix(target, true);
|
|
583
|
-
if (targetMatrix) {
|
|
584
|
-
toRect.top -= targetMatrix.f;
|
|
585
|
-
toRect.left -= targetMatrix.e;
|
|
586
|
-
}
|
|
587
|
-
target.toRect = toRect;
|
|
588
|
-
if (target.thisAnimationDuration) {
|
|
589
|
-
if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) && // Make sure animatingRect is on line between toRect & fromRect
|
|
590
|
-
(animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
|
|
591
|
-
time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
if (!isRectEqual(toRect, fromRect)) {
|
|
595
|
-
target.prevFromRect = fromRect;
|
|
596
|
-
target.prevToRect = toRect;
|
|
597
|
-
if (!time) {
|
|
598
|
-
time = _this.options.animation;
|
|
599
|
-
}
|
|
600
|
-
_this.animate(target, animatingRect, toRect, time);
|
|
601
|
-
}
|
|
602
|
-
if (time) {
|
|
603
|
-
animating = true;
|
|
604
|
-
animationTime = Math.max(animationTime, time);
|
|
605
|
-
clearTimeout(target.animationResetTimer);
|
|
606
|
-
target.animationResetTimer = setTimeout(function() {
|
|
607
|
-
target.animationTime = 0;
|
|
608
|
-
target.prevFromRect = null;
|
|
609
|
-
target.fromRect = null;
|
|
610
|
-
target.prevToRect = null;
|
|
611
|
-
target.thisAnimationDuration = null;
|
|
612
|
-
}, time);
|
|
613
|
-
target.thisAnimationDuration = time;
|
|
614
|
-
}
|
|
615
|
-
});
|
|
616
|
-
clearTimeout(animationCallbackId);
|
|
617
|
-
if (!animating) {
|
|
618
|
-
if (typeof callback === "function") callback();
|
|
619
|
-
} else {
|
|
620
|
-
animationCallbackId = setTimeout(function() {
|
|
621
|
-
if (typeof callback === "function") callback();
|
|
622
|
-
}, animationTime);
|
|
623
|
-
}
|
|
624
|
-
animationStates = [];
|
|
625
|
-
},
|
|
626
|
-
animate: function animate(target, currentRect, toRect, duration) {
|
|
627
|
-
if (duration) {
|
|
628
|
-
css(target, "transition", "");
|
|
629
|
-
css(target, "transform", "");
|
|
630
|
-
var elMatrix = matrix(this.el), scaleX = elMatrix && elMatrix.a, scaleY = elMatrix && elMatrix.d, translateX = (currentRect.left - toRect.left) / (scaleX || 1), translateY = (currentRect.top - toRect.top) / (scaleY || 1);
|
|
631
|
-
target.animatingX = !!translateX;
|
|
632
|
-
target.animatingY = !!translateY;
|
|
633
|
-
css(target, "transform", "translate3d(" + translateX + "px," + translateY + "px,0)");
|
|
634
|
-
this.forRepaintDummy = repaint(target);
|
|
635
|
-
css(target, "transition", "transform " + duration + "ms" + (this.options.easing ? " " + this.options.easing : ""));
|
|
636
|
-
css(target, "transform", "translate3d(0,0,0)");
|
|
637
|
-
typeof target.animated === "number" && clearTimeout(target.animated);
|
|
638
|
-
target.animated = setTimeout(function() {
|
|
639
|
-
css(target, "transition", "");
|
|
640
|
-
css(target, "transform", "");
|
|
641
|
-
target.animated = false;
|
|
642
|
-
target.animatingX = false;
|
|
643
|
-
target.animatingY = false;
|
|
644
|
-
}, duration);
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
};
|
|
648
|
-
}
|
|
649
|
-
function repaint(target) {
|
|
650
|
-
return target.offsetWidth;
|
|
651
|
-
}
|
|
652
|
-
function calculateRealTime(animatingRect, fromRect, toRect, options) {
|
|
653
|
-
return Math.sqrt(Math.pow(fromRect.top - animatingRect.top, 2) + Math.pow(fromRect.left - animatingRect.left, 2)) / Math.sqrt(Math.pow(fromRect.top - toRect.top, 2) + Math.pow(fromRect.left - toRect.left, 2)) * options.animation;
|
|
654
|
-
}
|
|
655
|
-
var plugins = [];
|
|
656
|
-
var defaults = {
|
|
657
|
-
initializeByDefault: true
|
|
658
|
-
};
|
|
659
|
-
var PluginManager = {
|
|
660
|
-
mount: function mount(plugin) {
|
|
661
|
-
for (var option2 in defaults) {
|
|
662
|
-
if (defaults.hasOwnProperty(option2) && !(option2 in plugin)) {
|
|
663
|
-
plugin[option2] = defaults[option2];
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
plugins.forEach(function(p) {
|
|
667
|
-
if (p.pluginName === plugin.pluginName) {
|
|
668
|
-
throw "Sortable: Cannot mount plugin ".concat(plugin.pluginName, " more than once");
|
|
669
|
-
}
|
|
670
|
-
});
|
|
671
|
-
plugins.push(plugin);
|
|
672
|
-
},
|
|
673
|
-
pluginEvent: function pluginEvent(eventName, sortable, evt) {
|
|
674
|
-
var _this = this;
|
|
675
|
-
this.eventCanceled = false;
|
|
676
|
-
evt.cancel = function() {
|
|
677
|
-
_this.eventCanceled = true;
|
|
678
|
-
};
|
|
679
|
-
var eventNameGlobal = eventName + "Global";
|
|
680
|
-
plugins.forEach(function(plugin) {
|
|
681
|
-
if (!sortable[plugin.pluginName]) return;
|
|
682
|
-
if (sortable[plugin.pluginName][eventNameGlobal]) {
|
|
683
|
-
sortable[plugin.pluginName][eventNameGlobal](_objectSpread2({
|
|
684
|
-
sortable
|
|
685
|
-
}, evt));
|
|
686
|
-
}
|
|
687
|
-
if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
|
|
688
|
-
sortable[plugin.pluginName][eventName](_objectSpread2({
|
|
689
|
-
sortable
|
|
690
|
-
}, evt));
|
|
691
|
-
}
|
|
692
|
-
});
|
|
693
|
-
},
|
|
694
|
-
initializePlugins: function initializePlugins(sortable, el, defaults2, options) {
|
|
695
|
-
plugins.forEach(function(plugin) {
|
|
696
|
-
var pluginName = plugin.pluginName;
|
|
697
|
-
if (!sortable.options[pluginName] && !plugin.initializeByDefault) return;
|
|
698
|
-
var initialized = new plugin(sortable, el, sortable.options);
|
|
699
|
-
initialized.sortable = sortable;
|
|
700
|
-
initialized.options = sortable.options;
|
|
701
|
-
sortable[pluginName] = initialized;
|
|
702
|
-
_extends(defaults2, initialized.defaults);
|
|
703
|
-
});
|
|
704
|
-
for (var option2 in sortable.options) {
|
|
705
|
-
if (!sortable.options.hasOwnProperty(option2)) continue;
|
|
706
|
-
var modified = this.modifyOption(sortable, option2, sortable.options[option2]);
|
|
707
|
-
if (typeof modified !== "undefined") {
|
|
708
|
-
sortable.options[option2] = modified;
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
},
|
|
712
|
-
getEventProperties: function getEventProperties(name, sortable) {
|
|
713
|
-
var eventProperties = {};
|
|
714
|
-
plugins.forEach(function(plugin) {
|
|
715
|
-
if (typeof plugin.eventProperties !== "function") return;
|
|
716
|
-
_extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
|
|
717
|
-
});
|
|
718
|
-
return eventProperties;
|
|
719
|
-
},
|
|
720
|
-
modifyOption: function modifyOption(sortable, name, value) {
|
|
721
|
-
var modifiedValue;
|
|
722
|
-
plugins.forEach(function(plugin) {
|
|
723
|
-
if (!sortable[plugin.pluginName]) return;
|
|
724
|
-
if (plugin.optionListeners && typeof plugin.optionListeners[name] === "function") {
|
|
725
|
-
modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
|
|
726
|
-
}
|
|
727
|
-
});
|
|
728
|
-
return modifiedValue;
|
|
729
|
-
}
|
|
730
|
-
};
|
|
731
|
-
function dispatchEvent(_ref) {
|
|
732
|
-
var sortable = _ref.sortable, rootEl2 = _ref.rootEl, name = _ref.name, targetEl = _ref.targetEl, cloneEl2 = _ref.cloneEl, toEl = _ref.toEl, fromEl = _ref.fromEl, oldIndex2 = _ref.oldIndex, newIndex2 = _ref.newIndex, oldDraggableIndex2 = _ref.oldDraggableIndex, newDraggableIndex2 = _ref.newDraggableIndex, originalEvent = _ref.originalEvent, putSortable2 = _ref.putSortable, extraEventProperties = _ref.extraEventProperties;
|
|
733
|
-
sortable = sortable || rootEl2 && rootEl2[expando];
|
|
734
|
-
if (!sortable) return;
|
|
735
|
-
var evt, options = sortable.options, onName = "on" + name.charAt(0).toUpperCase() + name.substr(1);
|
|
736
|
-
if (window.CustomEvent && !IE11OrLess && !Edge) {
|
|
737
|
-
evt = new CustomEvent(name, {
|
|
738
|
-
bubbles: true,
|
|
739
|
-
cancelable: true
|
|
740
|
-
});
|
|
741
|
-
} else {
|
|
742
|
-
evt = document.createEvent("Event");
|
|
743
|
-
evt.initEvent(name, true, true);
|
|
744
|
-
}
|
|
745
|
-
evt.to = toEl || rootEl2;
|
|
746
|
-
evt.from = fromEl || rootEl2;
|
|
747
|
-
evt.item = targetEl || rootEl2;
|
|
748
|
-
evt.clone = cloneEl2;
|
|
749
|
-
evt.oldIndex = oldIndex2;
|
|
750
|
-
evt.newIndex = newIndex2;
|
|
751
|
-
evt.oldDraggableIndex = oldDraggableIndex2;
|
|
752
|
-
evt.newDraggableIndex = newDraggableIndex2;
|
|
753
|
-
evt.originalEvent = originalEvent;
|
|
754
|
-
evt.pullMode = putSortable2 ? putSortable2.lastPutMode : void 0;
|
|
755
|
-
var allEventProperties = _objectSpread2(_objectSpread2({}, extraEventProperties), PluginManager.getEventProperties(name, sortable));
|
|
756
|
-
for (var option2 in allEventProperties) {
|
|
757
|
-
evt[option2] = allEventProperties[option2];
|
|
758
|
-
}
|
|
759
|
-
if (rootEl2) {
|
|
760
|
-
rootEl2.dispatchEvent(evt);
|
|
761
|
-
}
|
|
762
|
-
if (options[onName]) {
|
|
763
|
-
options[onName].call(sortable, evt);
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
var _excluded = ["evt"];
|
|
767
|
-
var pluginEvent2 = function pluginEvent3(eventName, sortable) {
|
|
768
|
-
var _ref = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, originalEvent = _ref.evt, data = _objectWithoutProperties(_ref, _excluded);
|
|
769
|
-
PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread2({
|
|
770
|
-
dragEl,
|
|
771
|
-
parentEl,
|
|
772
|
-
ghostEl,
|
|
773
|
-
rootEl,
|
|
774
|
-
nextEl,
|
|
775
|
-
lastDownEl,
|
|
776
|
-
cloneEl,
|
|
777
|
-
cloneHidden,
|
|
778
|
-
dragStarted: moved,
|
|
779
|
-
putSortable,
|
|
780
|
-
activeSortable: Sortable.active,
|
|
781
|
-
originalEvent,
|
|
782
|
-
oldIndex,
|
|
783
|
-
oldDraggableIndex,
|
|
784
|
-
newIndex,
|
|
785
|
-
newDraggableIndex,
|
|
786
|
-
hideGhostForTarget: _hideGhostForTarget,
|
|
787
|
-
unhideGhostForTarget: _unhideGhostForTarget,
|
|
788
|
-
cloneNowHidden: function cloneNowHidden() {
|
|
789
|
-
cloneHidden = true;
|
|
790
|
-
},
|
|
791
|
-
cloneNowShown: function cloneNowShown() {
|
|
792
|
-
cloneHidden = false;
|
|
793
|
-
},
|
|
794
|
-
dispatchSortableEvent: function dispatchSortableEvent(name) {
|
|
795
|
-
_dispatchEvent({
|
|
796
|
-
sortable,
|
|
797
|
-
name,
|
|
798
|
-
originalEvent
|
|
799
|
-
});
|
|
800
|
-
}
|
|
801
|
-
}, data));
|
|
802
|
-
};
|
|
803
|
-
function _dispatchEvent(info) {
|
|
804
|
-
dispatchEvent(_objectSpread2({
|
|
805
|
-
putSortable,
|
|
806
|
-
cloneEl,
|
|
807
|
-
targetEl: dragEl,
|
|
808
|
-
rootEl,
|
|
809
|
-
oldIndex,
|
|
810
|
-
oldDraggableIndex,
|
|
811
|
-
newIndex,
|
|
812
|
-
newDraggableIndex
|
|
813
|
-
}, info));
|
|
814
|
-
}
|
|
815
|
-
var dragEl;
|
|
816
|
-
var parentEl;
|
|
817
|
-
var ghostEl;
|
|
818
|
-
var rootEl;
|
|
819
|
-
var nextEl;
|
|
820
|
-
var lastDownEl;
|
|
821
|
-
var cloneEl;
|
|
822
|
-
var cloneHidden;
|
|
823
|
-
var oldIndex;
|
|
824
|
-
var newIndex;
|
|
825
|
-
var oldDraggableIndex;
|
|
826
|
-
var newDraggableIndex;
|
|
827
|
-
var activeGroup;
|
|
828
|
-
var putSortable;
|
|
829
|
-
var awaitingDragStarted = false;
|
|
830
|
-
var ignoreNextClick = false;
|
|
831
|
-
var sortables = [];
|
|
832
|
-
var tapEvt;
|
|
833
|
-
var touchEvt;
|
|
834
|
-
var lastDx;
|
|
835
|
-
var lastDy;
|
|
836
|
-
var tapDistanceLeft;
|
|
837
|
-
var tapDistanceTop;
|
|
838
|
-
var moved;
|
|
839
|
-
var lastTarget;
|
|
840
|
-
var lastDirection;
|
|
841
|
-
var pastFirstInvertThresh = false;
|
|
842
|
-
var isCircumstantialInvert = false;
|
|
843
|
-
var targetMoveDistance;
|
|
844
|
-
var ghostRelativeParent;
|
|
845
|
-
var ghostRelativeParentInitialScroll = [];
|
|
846
|
-
var _silent = false;
|
|
847
|
-
var savedInputChecked = [];
|
|
848
|
-
var documentExists = typeof document !== "undefined";
|
|
849
|
-
var PositionGhostAbsolutely = IOS;
|
|
850
|
-
var CSSFloatProperty = Edge || IE11OrLess ? "cssFloat" : "float";
|
|
851
|
-
var supportDraggable = documentExists && !ChromeForAndroid && !IOS && "draggable" in document.createElement("div");
|
|
852
|
-
var supportCssPointerEvents = function() {
|
|
853
|
-
if (!documentExists) return;
|
|
854
|
-
if (IE11OrLess) {
|
|
855
|
-
return false;
|
|
856
|
-
}
|
|
857
|
-
var el = document.createElement("x");
|
|
858
|
-
el.style.cssText = "pointer-events:auto";
|
|
859
|
-
return el.style.pointerEvents === "auto";
|
|
860
|
-
}();
|
|
861
|
-
var _detectDirection = function _detectDirection2(el, options) {
|
|
862
|
-
var elCSS = css(el), elWidth = parseInt(elCSS.width) - parseInt(elCSS.paddingLeft) - parseInt(elCSS.paddingRight) - parseInt(elCSS.borderLeftWidth) - parseInt(elCSS.borderRightWidth), child1 = getChild(el, 0, options), child2 = getChild(el, 1, options), firstChildCSS = child1 && css(child1), secondChildCSS = child2 && css(child2), firstChildWidth = firstChildCSS && parseInt(firstChildCSS.marginLeft) + parseInt(firstChildCSS.marginRight) + getRect(child1).width, secondChildWidth = secondChildCSS && parseInt(secondChildCSS.marginLeft) + parseInt(secondChildCSS.marginRight) + getRect(child2).width;
|
|
863
|
-
if (elCSS.display === "flex") {
|
|
864
|
-
return elCSS.flexDirection === "column" || elCSS.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
865
|
-
}
|
|
866
|
-
if (elCSS.display === "grid") {
|
|
867
|
-
return elCSS.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
|
|
868
|
-
}
|
|
869
|
-
if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== "none") {
|
|
870
|
-
var touchingSideChild2 = firstChildCSS["float"] === "left" ? "left" : "right";
|
|
871
|
-
return child2 && (secondChildCSS.clear === "both" || secondChildCSS.clear === touchingSideChild2) ? "vertical" : "horizontal";
|
|
872
|
-
}
|
|
873
|
-
return child1 && (firstChildCSS.display === "block" || firstChildCSS.display === "flex" || firstChildCSS.display === "table" || firstChildCSS.display === "grid" || firstChildWidth >= elWidth && elCSS[CSSFloatProperty] === "none" || child2 && elCSS[CSSFloatProperty] === "none" && firstChildWidth + secondChildWidth > elWidth) ? "vertical" : "horizontal";
|
|
874
|
-
};
|
|
875
|
-
var _dragElInRowColumn = function _dragElInRowColumn2(dragRect, targetRect, vertical) {
|
|
876
|
-
var dragElS1Opp = vertical ? dragRect.left : dragRect.top, dragElS2Opp = vertical ? dragRect.right : dragRect.bottom, dragElOppLength = vertical ? dragRect.width : dragRect.height, targetS1Opp = vertical ? targetRect.left : targetRect.top, targetS2Opp = vertical ? targetRect.right : targetRect.bottom, targetOppLength = vertical ? targetRect.width : targetRect.height;
|
|
877
|
-
return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
|
|
878
|
-
};
|
|
879
|
-
var _detectNearestEmptySortable = function _detectNearestEmptySortable2(x, y) {
|
|
880
|
-
var ret;
|
|
881
|
-
sortables.some(function(sortable) {
|
|
882
|
-
var threshold = sortable[expando].options.emptyInsertThreshold;
|
|
883
|
-
if (!threshold || lastChild(sortable)) return;
|
|
884
|
-
var rect = getRect(sortable), insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold, insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
|
|
885
|
-
if (insideHorizontally && insideVertically) {
|
|
886
|
-
return ret = sortable;
|
|
887
|
-
}
|
|
888
|
-
});
|
|
889
|
-
return ret;
|
|
890
|
-
};
|
|
891
|
-
var _prepareGroup = function _prepareGroup2(options) {
|
|
892
|
-
function toFn(value, pull) {
|
|
893
|
-
return function(to, from, dragEl2, evt) {
|
|
894
|
-
var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
|
|
895
|
-
if (value == null && (pull || sameGroup)) {
|
|
896
|
-
return true;
|
|
897
|
-
} else if (value == null || value === false) {
|
|
898
|
-
return false;
|
|
899
|
-
} else if (pull && value === "clone") {
|
|
900
|
-
return value;
|
|
901
|
-
} else if (typeof value === "function") {
|
|
902
|
-
return toFn(value(to, from, dragEl2, evt), pull)(to, from, dragEl2, evt);
|
|
903
|
-
} else {
|
|
904
|
-
var otherGroup = (pull ? to : from).options.group.name;
|
|
905
|
-
return value === true || typeof value === "string" && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
|
|
906
|
-
}
|
|
907
|
-
};
|
|
908
|
-
}
|
|
909
|
-
var group = {};
|
|
910
|
-
var originalGroup = options.group;
|
|
911
|
-
if (!originalGroup || _typeof(originalGroup) != "object") {
|
|
912
|
-
originalGroup = {
|
|
913
|
-
name: originalGroup
|
|
914
|
-
};
|
|
915
|
-
}
|
|
916
|
-
group.name = originalGroup.name;
|
|
917
|
-
group.checkPull = toFn(originalGroup.pull, true);
|
|
918
|
-
group.checkPut = toFn(originalGroup.put);
|
|
919
|
-
group.revertClone = originalGroup.revertClone;
|
|
920
|
-
options.group = group;
|
|
921
|
-
};
|
|
922
|
-
var _hideGhostForTarget = function _hideGhostForTarget2() {
|
|
923
|
-
if (!supportCssPointerEvents && ghostEl) {
|
|
924
|
-
css(ghostEl, "display", "none");
|
|
925
|
-
}
|
|
926
|
-
};
|
|
927
|
-
var _unhideGhostForTarget = function _unhideGhostForTarget2() {
|
|
928
|
-
if (!supportCssPointerEvents && ghostEl) {
|
|
929
|
-
css(ghostEl, "display", "");
|
|
930
|
-
}
|
|
931
|
-
};
|
|
932
|
-
if (documentExists && !ChromeForAndroid) {
|
|
933
|
-
document.addEventListener("click", function(evt) {
|
|
934
|
-
if (ignoreNextClick) {
|
|
935
|
-
evt.preventDefault();
|
|
936
|
-
evt.stopPropagation && evt.stopPropagation();
|
|
937
|
-
evt.stopImmediatePropagation && evt.stopImmediatePropagation();
|
|
938
|
-
ignoreNextClick = false;
|
|
939
|
-
return false;
|
|
940
|
-
}
|
|
941
|
-
}, true);
|
|
942
|
-
}
|
|
943
|
-
var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent2(evt) {
|
|
944
|
-
if (dragEl) {
|
|
945
|
-
evt = evt.touches ? evt.touches[0] : evt;
|
|
946
|
-
var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
|
|
947
|
-
if (nearest) {
|
|
948
|
-
var event = {};
|
|
949
|
-
for (var i in evt) {
|
|
950
|
-
if (evt.hasOwnProperty(i)) {
|
|
951
|
-
event[i] = evt[i];
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
event.target = event.rootEl = nearest;
|
|
955
|
-
event.preventDefault = void 0;
|
|
956
|
-
event.stopPropagation = void 0;
|
|
957
|
-
nearest[expando]._onDragOver(event);
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
};
|
|
961
|
-
var _checkOutsideTargetEl = function _checkOutsideTargetEl2(evt) {
|
|
962
|
-
if (dragEl) {
|
|
963
|
-
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
|
964
|
-
}
|
|
965
|
-
};
|
|
966
|
-
function Sortable(el, options) {
|
|
967
|
-
if (!(el && el.nodeType && el.nodeType === 1)) {
|
|
968
|
-
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(el));
|
|
969
|
-
}
|
|
970
|
-
this.el = el;
|
|
971
|
-
this.options = options = _extends({}, options);
|
|
972
|
-
el[expando] = this;
|
|
973
|
-
var defaults2 = {
|
|
974
|
-
group: null,
|
|
975
|
-
sort: true,
|
|
976
|
-
disabled: false,
|
|
977
|
-
store: null,
|
|
978
|
-
handle: null,
|
|
979
|
-
draggable: /^[uo]l$/i.test(el.nodeName) ? ">li" : ">*",
|
|
980
|
-
swapThreshold: 1,
|
|
981
|
-
// percentage; 0 <= x <= 1
|
|
982
|
-
invertSwap: false,
|
|
983
|
-
// invert always
|
|
984
|
-
invertedSwapThreshold: null,
|
|
985
|
-
// will be set to same as swapThreshold if default
|
|
986
|
-
removeCloneOnHide: true,
|
|
987
|
-
direction: function direction() {
|
|
988
|
-
return _detectDirection(el, this.options);
|
|
989
|
-
},
|
|
990
|
-
ghostClass: "sortable-ghost",
|
|
991
|
-
chosenClass: "sortable-chosen",
|
|
992
|
-
dragClass: "sortable-drag",
|
|
993
|
-
ignore: "a, img",
|
|
994
|
-
filter: null,
|
|
995
|
-
preventOnFilter: true,
|
|
996
|
-
animation: 0,
|
|
997
|
-
easing: null,
|
|
998
|
-
setData: function setData(dataTransfer, dragEl2) {
|
|
999
|
-
dataTransfer.setData("Text", dragEl2.textContent);
|
|
1000
|
-
},
|
|
1001
|
-
dropBubble: false,
|
|
1002
|
-
dragoverBubble: false,
|
|
1003
|
-
dataIdAttr: "data-id",
|
|
1004
|
-
delay: 0,
|
|
1005
|
-
delayOnTouchOnly: false,
|
|
1006
|
-
touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
|
|
1007
|
-
forceFallback: false,
|
|
1008
|
-
fallbackClass: "sortable-fallback",
|
|
1009
|
-
fallbackOnBody: false,
|
|
1010
|
-
fallbackTolerance: 0,
|
|
1011
|
-
fallbackOffset: {
|
|
1012
|
-
x: 0,
|
|
1013
|
-
y: 0
|
|
1014
|
-
},
|
|
1015
|
-
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244
|
|
1016
|
-
supportPointer: Sortable.supportPointer !== false && "PointerEvent" in window && (!Safari || IOS),
|
|
1017
|
-
emptyInsertThreshold: 5
|
|
1018
|
-
};
|
|
1019
|
-
PluginManager.initializePlugins(this, el, defaults2);
|
|
1020
|
-
for (var name in defaults2) {
|
|
1021
|
-
!(name in options) && (options[name] = defaults2[name]);
|
|
1022
|
-
}
|
|
1023
|
-
_prepareGroup(options);
|
|
1024
|
-
for (var fn in this) {
|
|
1025
|
-
if (fn.charAt(0) === "_" && typeof this[fn] === "function") {
|
|
1026
|
-
this[fn] = this[fn].bind(this);
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
this.nativeDraggable = options.forceFallback ? false : supportDraggable;
|
|
1030
|
-
if (this.nativeDraggable) {
|
|
1031
|
-
this.options.touchStartThreshold = 1;
|
|
1032
|
-
}
|
|
1033
|
-
if (options.supportPointer) {
|
|
1034
|
-
on(el, "pointerdown", this._onTapStart);
|
|
1035
|
-
} else {
|
|
1036
|
-
on(el, "mousedown", this._onTapStart);
|
|
1037
|
-
on(el, "touchstart", this._onTapStart);
|
|
1038
|
-
}
|
|
1039
|
-
if (this.nativeDraggable) {
|
|
1040
|
-
on(el, "dragover", this);
|
|
1041
|
-
on(el, "dragenter", this);
|
|
1042
|
-
}
|
|
1043
|
-
sortables.push(this.el);
|
|
1044
|
-
options.store && options.store.get && this.sort(options.store.get(this) || []);
|
|
1045
|
-
_extends(this, AnimationStateManager());
|
|
1046
|
-
}
|
|
1047
|
-
Sortable.prototype = /** @lends Sortable.prototype */
|
|
1048
|
-
{
|
|
1049
|
-
constructor: Sortable,
|
|
1050
|
-
_isOutsideThisEl: function _isOutsideThisEl(target) {
|
|
1051
|
-
if (!this.el.contains(target) && target !== this.el) {
|
|
1052
|
-
lastTarget = null;
|
|
1053
|
-
}
|
|
1054
|
-
},
|
|
1055
|
-
_getDirection: function _getDirection(evt, target) {
|
|
1056
|
-
return typeof this.options.direction === "function" ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
|
|
1057
|
-
},
|
|
1058
|
-
_onTapStart: function _onTapStart(evt) {
|
|
1059
|
-
if (!evt.cancelable) return;
|
|
1060
|
-
var _this = this, el = this.el, options = this.options, preventOnFilter = options.preventOnFilter, type = evt.type, touch = evt.touches && evt.touches[0] || evt.pointerType && evt.pointerType === "touch" && evt, target = (touch || evt).target, originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0] || evt.composedPath && evt.composedPath()[0]) || target, filter = options.filter;
|
|
1061
|
-
_saveInputCheckedState(el);
|
|
1062
|
-
if (dragEl) {
|
|
1063
|
-
return;
|
|
1064
|
-
}
|
|
1065
|
-
if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
|
|
1066
|
-
return;
|
|
1067
|
-
}
|
|
1068
|
-
if (originalTarget.isContentEditable) {
|
|
1069
|
-
return;
|
|
1070
|
-
}
|
|
1071
|
-
if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === "SELECT") {
|
|
1072
|
-
return;
|
|
1073
|
-
}
|
|
1074
|
-
target = closest(target, options.draggable, el, false);
|
|
1075
|
-
if (target && target.animated) {
|
|
1076
|
-
return;
|
|
1077
|
-
}
|
|
1078
|
-
if (lastDownEl === target) {
|
|
1079
|
-
return;
|
|
1080
|
-
}
|
|
1081
|
-
oldIndex = index(target);
|
|
1082
|
-
oldDraggableIndex = index(target, options.draggable);
|
|
1083
|
-
if (typeof filter === "function") {
|
|
1084
|
-
if (filter.call(this, evt, target, this)) {
|
|
1085
|
-
_dispatchEvent({
|
|
1086
|
-
sortable: _this,
|
|
1087
|
-
rootEl: originalTarget,
|
|
1088
|
-
name: "filter",
|
|
1089
|
-
targetEl: target,
|
|
1090
|
-
toEl: el,
|
|
1091
|
-
fromEl: el
|
|
1092
|
-
});
|
|
1093
|
-
pluginEvent2("filter", _this, {
|
|
1094
|
-
evt
|
|
1095
|
-
});
|
|
1096
|
-
preventOnFilter && evt.preventDefault();
|
|
1097
|
-
return;
|
|
1098
|
-
}
|
|
1099
|
-
} else if (filter) {
|
|
1100
|
-
filter = filter.split(",").some(function(criteria) {
|
|
1101
|
-
criteria = closest(originalTarget, criteria.trim(), el, false);
|
|
1102
|
-
if (criteria) {
|
|
1103
|
-
_dispatchEvent({
|
|
1104
|
-
sortable: _this,
|
|
1105
|
-
rootEl: criteria,
|
|
1106
|
-
name: "filter",
|
|
1107
|
-
targetEl: target,
|
|
1108
|
-
fromEl: el,
|
|
1109
|
-
toEl: el
|
|
1110
|
-
});
|
|
1111
|
-
pluginEvent2("filter", _this, {
|
|
1112
|
-
evt
|
|
1113
|
-
});
|
|
1114
|
-
return true;
|
|
1115
|
-
}
|
|
1116
|
-
});
|
|
1117
|
-
if (filter) {
|
|
1118
|
-
preventOnFilter && evt.preventDefault();
|
|
1119
|
-
return;
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
if (options.handle && !closest(originalTarget, options.handle, el, false)) {
|
|
1123
|
-
return;
|
|
1124
|
-
}
|
|
1125
|
-
this._prepareDragStart(evt, touch, target);
|
|
1126
|
-
},
|
|
1127
|
-
_prepareDragStart: function _prepareDragStart(evt, touch, target) {
|
|
1128
|
-
var _this = this, el = _this.el, options = _this.options, ownerDocument = el.ownerDocument, dragStartFn;
|
|
1129
|
-
if (target && !dragEl && target.parentNode === el) {
|
|
1130
|
-
var dragRect = getRect(target);
|
|
1131
|
-
rootEl = el;
|
|
1132
|
-
dragEl = target;
|
|
1133
|
-
parentEl = dragEl.parentNode;
|
|
1134
|
-
nextEl = dragEl.nextSibling;
|
|
1135
|
-
lastDownEl = target;
|
|
1136
|
-
activeGroup = options.group;
|
|
1137
|
-
Sortable.dragged = dragEl;
|
|
1138
|
-
tapEvt = {
|
|
1139
|
-
target: dragEl,
|
|
1140
|
-
clientX: (touch || evt).clientX,
|
|
1141
|
-
clientY: (touch || evt).clientY
|
|
1142
|
-
};
|
|
1143
|
-
tapDistanceLeft = tapEvt.clientX - dragRect.left;
|
|
1144
|
-
tapDistanceTop = tapEvt.clientY - dragRect.top;
|
|
1145
|
-
this._lastX = (touch || evt).clientX;
|
|
1146
|
-
this._lastY = (touch || evt).clientY;
|
|
1147
|
-
dragEl.style["will-change"] = "all";
|
|
1148
|
-
dragStartFn = function dragStartFn2() {
|
|
1149
|
-
pluginEvent2("delayEnded", _this, {
|
|
1150
|
-
evt
|
|
1151
|
-
});
|
|
1152
|
-
if (Sortable.eventCanceled) {
|
|
1153
|
-
_this._onDrop();
|
|
1154
|
-
return;
|
|
1155
|
-
}
|
|
1156
|
-
_this._disableDelayedDragEvents();
|
|
1157
|
-
if (!FireFox && _this.nativeDraggable) {
|
|
1158
|
-
dragEl.draggable = true;
|
|
1159
|
-
}
|
|
1160
|
-
_this._triggerDragStart(evt, touch);
|
|
1161
|
-
_dispatchEvent({
|
|
1162
|
-
sortable: _this,
|
|
1163
|
-
name: "choose",
|
|
1164
|
-
originalEvent: evt
|
|
1165
|
-
});
|
|
1166
|
-
toggleClass(dragEl, options.chosenClass, true);
|
|
1167
|
-
};
|
|
1168
|
-
options.ignore.split(",").forEach(function(criteria) {
|
|
1169
|
-
find(dragEl, criteria.trim(), _disableDraggable);
|
|
1170
|
-
});
|
|
1171
|
-
on(ownerDocument, "dragover", nearestEmptyInsertDetectEvent);
|
|
1172
|
-
on(ownerDocument, "mousemove", nearestEmptyInsertDetectEvent);
|
|
1173
|
-
on(ownerDocument, "touchmove", nearestEmptyInsertDetectEvent);
|
|
1174
|
-
if (options.supportPointer) {
|
|
1175
|
-
on(ownerDocument, "pointerup", _this._onDrop);
|
|
1176
|
-
!this.nativeDraggable && on(ownerDocument, "pointercancel", _this._onDrop);
|
|
1177
|
-
} else {
|
|
1178
|
-
on(ownerDocument, "mouseup", _this._onDrop);
|
|
1179
|
-
on(ownerDocument, "touchend", _this._onDrop);
|
|
1180
|
-
on(ownerDocument, "touchcancel", _this._onDrop);
|
|
1181
|
-
}
|
|
1182
|
-
if (FireFox && this.nativeDraggable) {
|
|
1183
|
-
this.options.touchStartThreshold = 4;
|
|
1184
|
-
dragEl.draggable = true;
|
|
1185
|
-
}
|
|
1186
|
-
pluginEvent2("delayStart", this, {
|
|
1187
|
-
evt
|
|
1188
|
-
});
|
|
1189
|
-
if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
|
|
1190
|
-
if (Sortable.eventCanceled) {
|
|
1191
|
-
this._onDrop();
|
|
1192
|
-
return;
|
|
1193
|
-
}
|
|
1194
|
-
if (options.supportPointer) {
|
|
1195
|
-
on(ownerDocument, "pointerup", _this._disableDelayedDrag);
|
|
1196
|
-
on(ownerDocument, "pointercancel", _this._disableDelayedDrag);
|
|
1197
|
-
} else {
|
|
1198
|
-
on(ownerDocument, "mouseup", _this._disableDelayedDrag);
|
|
1199
|
-
on(ownerDocument, "touchend", _this._disableDelayedDrag);
|
|
1200
|
-
on(ownerDocument, "touchcancel", _this._disableDelayedDrag);
|
|
1201
|
-
}
|
|
1202
|
-
on(ownerDocument, "mousemove", _this._delayedDragTouchMoveHandler);
|
|
1203
|
-
on(ownerDocument, "touchmove", _this._delayedDragTouchMoveHandler);
|
|
1204
|
-
options.supportPointer && on(ownerDocument, "pointermove", _this._delayedDragTouchMoveHandler);
|
|
1205
|
-
_this._dragStartTimer = setTimeout(dragStartFn, options.delay);
|
|
1206
|
-
} else {
|
|
1207
|
-
dragStartFn();
|
|
1208
|
-
}
|
|
1209
|
-
}
|
|
1210
|
-
},
|
|
1211
|
-
_delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler(e2) {
|
|
1212
|
-
var touch = e2.touches ? e2.touches[0] : e2;
|
|
1213
|
-
if (Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1))) {
|
|
1214
|
-
this._disableDelayedDrag();
|
|
1215
|
-
}
|
|
1216
|
-
},
|
|
1217
|
-
_disableDelayedDrag: function _disableDelayedDrag() {
|
|
1218
|
-
dragEl && _disableDraggable(dragEl);
|
|
1219
|
-
clearTimeout(this._dragStartTimer);
|
|
1220
|
-
this._disableDelayedDragEvents();
|
|
1221
|
-
},
|
|
1222
|
-
_disableDelayedDragEvents: function _disableDelayedDragEvents() {
|
|
1223
|
-
var ownerDocument = this.el.ownerDocument;
|
|
1224
|
-
off(ownerDocument, "mouseup", this._disableDelayedDrag);
|
|
1225
|
-
off(ownerDocument, "touchend", this._disableDelayedDrag);
|
|
1226
|
-
off(ownerDocument, "touchcancel", this._disableDelayedDrag);
|
|
1227
|
-
off(ownerDocument, "pointerup", this._disableDelayedDrag);
|
|
1228
|
-
off(ownerDocument, "pointercancel", this._disableDelayedDrag);
|
|
1229
|
-
off(ownerDocument, "mousemove", this._delayedDragTouchMoveHandler);
|
|
1230
|
-
off(ownerDocument, "touchmove", this._delayedDragTouchMoveHandler);
|
|
1231
|
-
off(ownerDocument, "pointermove", this._delayedDragTouchMoveHandler);
|
|
1232
|
-
},
|
|
1233
|
-
_triggerDragStart: function _triggerDragStart(evt, touch) {
|
|
1234
|
-
touch = touch || evt.pointerType == "touch" && evt;
|
|
1235
|
-
if (!this.nativeDraggable || touch) {
|
|
1236
|
-
if (this.options.supportPointer) {
|
|
1237
|
-
on(document, "pointermove", this._onTouchMove);
|
|
1238
|
-
} else if (touch) {
|
|
1239
|
-
on(document, "touchmove", this._onTouchMove);
|
|
1240
|
-
} else {
|
|
1241
|
-
on(document, "mousemove", this._onTouchMove);
|
|
1242
|
-
}
|
|
1243
|
-
} else {
|
|
1244
|
-
on(dragEl, "dragend", this);
|
|
1245
|
-
on(rootEl, "dragstart", this._onDragStart);
|
|
1246
|
-
}
|
|
1247
|
-
try {
|
|
1248
|
-
if (document.selection) {
|
|
1249
|
-
_nextTick(function() {
|
|
1250
|
-
document.selection.empty();
|
|
1251
|
-
});
|
|
1252
|
-
} else {
|
|
1253
|
-
window.getSelection().removeAllRanges();
|
|
1254
|
-
}
|
|
1255
|
-
} catch (err) {
|
|
1256
|
-
}
|
|
1257
|
-
},
|
|
1258
|
-
_dragStarted: function _dragStarted(fallback, evt) {
|
|
1259
|
-
awaitingDragStarted = false;
|
|
1260
|
-
if (rootEl && dragEl) {
|
|
1261
|
-
pluginEvent2("dragStarted", this, {
|
|
1262
|
-
evt
|
|
1263
|
-
});
|
|
1264
|
-
if (this.nativeDraggable) {
|
|
1265
|
-
on(document, "dragover", _checkOutsideTargetEl);
|
|
1266
|
-
}
|
|
1267
|
-
var options = this.options;
|
|
1268
|
-
!fallback && toggleClass(dragEl, options.dragClass, false);
|
|
1269
|
-
toggleClass(dragEl, options.ghostClass, true);
|
|
1270
|
-
Sortable.active = this;
|
|
1271
|
-
fallback && this._appendGhost();
|
|
1272
|
-
_dispatchEvent({
|
|
1273
|
-
sortable: this,
|
|
1274
|
-
name: "start",
|
|
1275
|
-
originalEvent: evt
|
|
1276
|
-
});
|
|
1277
|
-
} else {
|
|
1278
|
-
this._nulling();
|
|
1279
|
-
}
|
|
1280
|
-
},
|
|
1281
|
-
_emulateDragOver: function _emulateDragOver() {
|
|
1282
|
-
if (touchEvt) {
|
|
1283
|
-
this._lastX = touchEvt.clientX;
|
|
1284
|
-
this._lastY = touchEvt.clientY;
|
|
1285
|
-
_hideGhostForTarget();
|
|
1286
|
-
var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
|
|
1287
|
-
var parent = target;
|
|
1288
|
-
while (target && target.shadowRoot) {
|
|
1289
|
-
target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
|
|
1290
|
-
if (target === parent) break;
|
|
1291
|
-
parent = target;
|
|
1292
|
-
}
|
|
1293
|
-
dragEl.parentNode[expando]._isOutsideThisEl(target);
|
|
1294
|
-
if (parent) {
|
|
1295
|
-
do {
|
|
1296
|
-
if (parent[expando]) {
|
|
1297
|
-
var inserted = void 0;
|
|
1298
|
-
inserted = parent[expando]._onDragOver({
|
|
1299
|
-
clientX: touchEvt.clientX,
|
|
1300
|
-
clientY: touchEvt.clientY,
|
|
1301
|
-
target,
|
|
1302
|
-
rootEl: parent
|
|
1303
|
-
});
|
|
1304
|
-
if (inserted && !this.options.dragoverBubble) {
|
|
1305
|
-
break;
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
target = parent;
|
|
1309
|
-
} while (parent = getParentOrHost(parent));
|
|
1310
|
-
}
|
|
1311
|
-
_unhideGhostForTarget();
|
|
1312
|
-
}
|
|
1313
|
-
},
|
|
1314
|
-
_onTouchMove: function _onTouchMove(evt) {
|
|
1315
|
-
if (tapEvt) {
|
|
1316
|
-
var options = this.options, fallbackTolerance = options.fallbackTolerance, fallbackOffset = options.fallbackOffset, touch = evt.touches ? evt.touches[0] : evt, ghostMatrix = ghostEl && matrix(ghostEl, true), scaleX = ghostEl && ghostMatrix && ghostMatrix.a, scaleY = ghostEl && ghostMatrix && ghostMatrix.d, relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent), dx = (touch.clientX - tapEvt.clientX + fallbackOffset.x) / (scaleX || 1) + (relativeScrollOffset ? relativeScrollOffset[0] - ghostRelativeParentInitialScroll[0] : 0) / (scaleX || 1), dy = (touch.clientY - tapEvt.clientY + fallbackOffset.y) / (scaleY || 1) + (relativeScrollOffset ? relativeScrollOffset[1] - ghostRelativeParentInitialScroll[1] : 0) / (scaleY || 1);
|
|
1317
|
-
if (!Sortable.active && !awaitingDragStarted) {
|
|
1318
|
-
if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
|
|
1319
|
-
return;
|
|
1320
|
-
}
|
|
1321
|
-
this._onDragStart(evt, true);
|
|
1322
|
-
}
|
|
1323
|
-
if (ghostEl) {
|
|
1324
|
-
if (ghostMatrix) {
|
|
1325
|
-
ghostMatrix.e += dx - (lastDx || 0);
|
|
1326
|
-
ghostMatrix.f += dy - (lastDy || 0);
|
|
1327
|
-
} else {
|
|
1328
|
-
ghostMatrix = {
|
|
1329
|
-
a: 1,
|
|
1330
|
-
b: 0,
|
|
1331
|
-
c: 0,
|
|
1332
|
-
d: 1,
|
|
1333
|
-
e: dx,
|
|
1334
|
-
f: dy
|
|
1335
|
-
};
|
|
1336
|
-
}
|
|
1337
|
-
var cssMatrix = "matrix(".concat(ghostMatrix.a, ",").concat(ghostMatrix.b, ",").concat(ghostMatrix.c, ",").concat(ghostMatrix.d, ",").concat(ghostMatrix.e, ",").concat(ghostMatrix.f, ")");
|
|
1338
|
-
css(ghostEl, "webkitTransform", cssMatrix);
|
|
1339
|
-
css(ghostEl, "mozTransform", cssMatrix);
|
|
1340
|
-
css(ghostEl, "msTransform", cssMatrix);
|
|
1341
|
-
css(ghostEl, "transform", cssMatrix);
|
|
1342
|
-
lastDx = dx;
|
|
1343
|
-
lastDy = dy;
|
|
1344
|
-
touchEvt = touch;
|
|
1345
|
-
}
|
|
1346
|
-
evt.cancelable && evt.preventDefault();
|
|
1347
|
-
}
|
|
1348
|
-
},
|
|
1349
|
-
_appendGhost: function _appendGhost() {
|
|
1350
|
-
if (!ghostEl) {
|
|
1351
|
-
var container = this.options.fallbackOnBody ? document.body : rootEl, rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container), options = this.options;
|
|
1352
|
-
if (PositionGhostAbsolutely) {
|
|
1353
|
-
ghostRelativeParent = container;
|
|
1354
|
-
while (css(ghostRelativeParent, "position") === "static" && css(ghostRelativeParent, "transform") === "none" && ghostRelativeParent !== document) {
|
|
1355
|
-
ghostRelativeParent = ghostRelativeParent.parentNode;
|
|
1356
|
-
}
|
|
1357
|
-
if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
|
|
1358
|
-
if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
|
|
1359
|
-
rect.top += ghostRelativeParent.scrollTop;
|
|
1360
|
-
rect.left += ghostRelativeParent.scrollLeft;
|
|
1361
|
-
} else {
|
|
1362
|
-
ghostRelativeParent = getWindowScrollingElement();
|
|
1363
|
-
}
|
|
1364
|
-
ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
|
|
1365
|
-
}
|
|
1366
|
-
ghostEl = dragEl.cloneNode(true);
|
|
1367
|
-
toggleClass(ghostEl, options.ghostClass, false);
|
|
1368
|
-
toggleClass(ghostEl, options.fallbackClass, true);
|
|
1369
|
-
toggleClass(ghostEl, options.dragClass, true);
|
|
1370
|
-
css(ghostEl, "transition", "");
|
|
1371
|
-
css(ghostEl, "transform", "");
|
|
1372
|
-
css(ghostEl, "box-sizing", "border-box");
|
|
1373
|
-
css(ghostEl, "margin", 0);
|
|
1374
|
-
css(ghostEl, "top", rect.top);
|
|
1375
|
-
css(ghostEl, "left", rect.left);
|
|
1376
|
-
css(ghostEl, "width", rect.width);
|
|
1377
|
-
css(ghostEl, "height", rect.height);
|
|
1378
|
-
css(ghostEl, "opacity", "0.8");
|
|
1379
|
-
css(ghostEl, "position", PositionGhostAbsolutely ? "absolute" : "fixed");
|
|
1380
|
-
css(ghostEl, "zIndex", "100000");
|
|
1381
|
-
css(ghostEl, "pointerEvents", "none");
|
|
1382
|
-
Sortable.ghost = ghostEl;
|
|
1383
|
-
container.appendChild(ghostEl);
|
|
1384
|
-
css(ghostEl, "transform-origin", tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + "% " + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + "%");
|
|
1385
|
-
}
|
|
1386
|
-
},
|
|
1387
|
-
_onDragStart: function _onDragStart(evt, fallback) {
|
|
1388
|
-
var _this = this;
|
|
1389
|
-
var dataTransfer = evt.dataTransfer;
|
|
1390
|
-
var options = _this.options;
|
|
1391
|
-
pluginEvent2("dragStart", this, {
|
|
1392
|
-
evt
|
|
1393
|
-
});
|
|
1394
|
-
if (Sortable.eventCanceled) {
|
|
1395
|
-
this._onDrop();
|
|
1396
|
-
return;
|
|
1397
|
-
}
|
|
1398
|
-
pluginEvent2("setupClone", this);
|
|
1399
|
-
if (!Sortable.eventCanceled) {
|
|
1400
|
-
cloneEl = clone(dragEl);
|
|
1401
|
-
cloneEl.removeAttribute("id");
|
|
1402
|
-
cloneEl.draggable = false;
|
|
1403
|
-
cloneEl.style["will-change"] = "";
|
|
1404
|
-
this._hideClone();
|
|
1405
|
-
toggleClass(cloneEl, this.options.chosenClass, false);
|
|
1406
|
-
Sortable.clone = cloneEl;
|
|
1407
|
-
}
|
|
1408
|
-
_this.cloneId = _nextTick(function() {
|
|
1409
|
-
pluginEvent2("clone", _this);
|
|
1410
|
-
if (Sortable.eventCanceled) return;
|
|
1411
|
-
if (!_this.options.removeCloneOnHide) {
|
|
1412
|
-
rootEl.insertBefore(cloneEl, dragEl);
|
|
1413
|
-
}
|
|
1414
|
-
_this._hideClone();
|
|
1415
|
-
_dispatchEvent({
|
|
1416
|
-
sortable: _this,
|
|
1417
|
-
name: "clone"
|
|
1418
|
-
});
|
|
1419
|
-
});
|
|
1420
|
-
!fallback && toggleClass(dragEl, options.dragClass, true);
|
|
1421
|
-
if (fallback) {
|
|
1422
|
-
ignoreNextClick = true;
|
|
1423
|
-
_this._loopId = setInterval(_this._emulateDragOver, 50);
|
|
1424
|
-
} else {
|
|
1425
|
-
off(document, "mouseup", _this._onDrop);
|
|
1426
|
-
off(document, "touchend", _this._onDrop);
|
|
1427
|
-
off(document, "touchcancel", _this._onDrop);
|
|
1428
|
-
if (dataTransfer) {
|
|
1429
|
-
dataTransfer.effectAllowed = "move";
|
|
1430
|
-
options.setData && options.setData.call(_this, dataTransfer, dragEl);
|
|
1431
|
-
}
|
|
1432
|
-
on(document, "drop", _this);
|
|
1433
|
-
css(dragEl, "transform", "translateZ(0)");
|
|
1434
|
-
}
|
|
1435
|
-
awaitingDragStarted = true;
|
|
1436
|
-
_this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
|
|
1437
|
-
on(document, "selectstart", _this);
|
|
1438
|
-
moved = true;
|
|
1439
|
-
window.getSelection().removeAllRanges();
|
|
1440
|
-
if (Safari) {
|
|
1441
|
-
css(document.body, "user-select", "none");
|
|
1442
|
-
}
|
|
1443
|
-
},
|
|
1444
|
-
// Returns true - if no further action is needed (either inserted or another condition)
|
|
1445
|
-
_onDragOver: function _onDragOver(evt) {
|
|
1446
|
-
var el = this.el, target = evt.target, dragRect, targetRect, revert, options = this.options, group = options.group, activeSortable = Sortable.active, isOwner = activeGroup === group, canSort = options.sort, fromSortable = putSortable || activeSortable, vertical, _this = this, completedFired = false;
|
|
1447
|
-
if (_silent) return;
|
|
1448
|
-
function dragOverEvent(name, extra) {
|
|
1449
|
-
pluginEvent2(name, _this, _objectSpread2({
|
|
1450
|
-
evt,
|
|
1451
|
-
isOwner,
|
|
1452
|
-
axis: vertical ? "vertical" : "horizontal",
|
|
1453
|
-
revert,
|
|
1454
|
-
dragRect,
|
|
1455
|
-
targetRect,
|
|
1456
|
-
canSort,
|
|
1457
|
-
fromSortable,
|
|
1458
|
-
target,
|
|
1459
|
-
completed,
|
|
1460
|
-
onMove: function onMove(target2, after2) {
|
|
1461
|
-
return _onMove(rootEl, el, dragEl, dragRect, target2, getRect(target2), evt, after2);
|
|
1462
|
-
},
|
|
1463
|
-
changed
|
|
1464
|
-
}, extra));
|
|
1465
|
-
}
|
|
1466
|
-
function capture() {
|
|
1467
|
-
dragOverEvent("dragOverAnimationCapture");
|
|
1468
|
-
_this.captureAnimationState();
|
|
1469
|
-
if (_this !== fromSortable) {
|
|
1470
|
-
fromSortable.captureAnimationState();
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
function completed(insertion) {
|
|
1474
|
-
dragOverEvent("dragOverCompleted", {
|
|
1475
|
-
insertion
|
|
1476
|
-
});
|
|
1477
|
-
if (insertion) {
|
|
1478
|
-
if (isOwner) {
|
|
1479
|
-
activeSortable._hideClone();
|
|
1480
|
-
} else {
|
|
1481
|
-
activeSortable._showClone(_this);
|
|
1482
|
-
}
|
|
1483
|
-
if (_this !== fromSortable) {
|
|
1484
|
-
toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
|
|
1485
|
-
toggleClass(dragEl, options.ghostClass, true);
|
|
1486
|
-
}
|
|
1487
|
-
if (putSortable !== _this && _this !== Sortable.active) {
|
|
1488
|
-
putSortable = _this;
|
|
1489
|
-
} else if (_this === Sortable.active && putSortable) {
|
|
1490
|
-
putSortable = null;
|
|
1491
|
-
}
|
|
1492
|
-
if (fromSortable === _this) {
|
|
1493
|
-
_this._ignoreWhileAnimating = target;
|
|
1494
|
-
}
|
|
1495
|
-
_this.animateAll(function() {
|
|
1496
|
-
dragOverEvent("dragOverAnimationComplete");
|
|
1497
|
-
_this._ignoreWhileAnimating = null;
|
|
1498
|
-
});
|
|
1499
|
-
if (_this !== fromSortable) {
|
|
1500
|
-
fromSortable.animateAll();
|
|
1501
|
-
fromSortable._ignoreWhileAnimating = null;
|
|
1502
|
-
}
|
|
1503
|
-
}
|
|
1504
|
-
if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
|
|
1505
|
-
lastTarget = null;
|
|
1506
|
-
}
|
|
1507
|
-
if (!options.dragoverBubble && !evt.rootEl && target !== document) {
|
|
1508
|
-
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
|
1509
|
-
!insertion && nearestEmptyInsertDetectEvent(evt);
|
|
1510
|
-
}
|
|
1511
|
-
!options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
|
|
1512
|
-
return completedFired = true;
|
|
1513
|
-
}
|
|
1514
|
-
function changed() {
|
|
1515
|
-
newIndex = index(dragEl);
|
|
1516
|
-
newDraggableIndex = index(dragEl, options.draggable);
|
|
1517
|
-
_dispatchEvent({
|
|
1518
|
-
sortable: _this,
|
|
1519
|
-
name: "change",
|
|
1520
|
-
toEl: el,
|
|
1521
|
-
newIndex,
|
|
1522
|
-
newDraggableIndex,
|
|
1523
|
-
originalEvent: evt
|
|
1524
|
-
});
|
|
1525
|
-
}
|
|
1526
|
-
if (evt.preventDefault !== void 0) {
|
|
1527
|
-
evt.cancelable && evt.preventDefault();
|
|
1528
|
-
}
|
|
1529
|
-
target = closest(target, options.draggable, el, true);
|
|
1530
|
-
dragOverEvent("dragOver");
|
|
1531
|
-
if (Sortable.eventCanceled) return completedFired;
|
|
1532
|
-
if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
|
|
1533
|
-
return completed(false);
|
|
1534
|
-
}
|
|
1535
|
-
ignoreNextClick = false;
|
|
1536
|
-
if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = parentEl !== rootEl) : putSortable === this || (this.lastPutMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) && group.checkPut(this, activeSortable, dragEl, evt))) {
|
|
1537
|
-
vertical = this._getDirection(evt, target) === "vertical";
|
|
1538
|
-
dragRect = getRect(dragEl);
|
|
1539
|
-
dragOverEvent("dragOverValid");
|
|
1540
|
-
if (Sortable.eventCanceled) return completedFired;
|
|
1541
|
-
if (revert) {
|
|
1542
|
-
parentEl = rootEl;
|
|
1543
|
-
capture();
|
|
1544
|
-
this._hideClone();
|
|
1545
|
-
dragOverEvent("revert");
|
|
1546
|
-
if (!Sortable.eventCanceled) {
|
|
1547
|
-
if (nextEl) {
|
|
1548
|
-
rootEl.insertBefore(dragEl, nextEl);
|
|
1549
|
-
} else {
|
|
1550
|
-
rootEl.appendChild(dragEl);
|
|
1551
|
-
}
|
|
1552
|
-
}
|
|
1553
|
-
return completed(true);
|
|
1554
|
-
}
|
|
1555
|
-
var elLastChild = lastChild(el, options.draggable);
|
|
1556
|
-
if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
|
|
1557
|
-
if (elLastChild === dragEl) {
|
|
1558
|
-
return completed(false);
|
|
1559
|
-
}
|
|
1560
|
-
if (elLastChild && el === evt.target) {
|
|
1561
|
-
target = elLastChild;
|
|
1562
|
-
}
|
|
1563
|
-
if (target) {
|
|
1564
|
-
targetRect = getRect(target);
|
|
1565
|
-
}
|
|
1566
|
-
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
|
|
1567
|
-
capture();
|
|
1568
|
-
if (elLastChild && elLastChild.nextSibling) {
|
|
1569
|
-
el.insertBefore(dragEl, elLastChild.nextSibling);
|
|
1570
|
-
} else {
|
|
1571
|
-
el.appendChild(dragEl);
|
|
1572
|
-
}
|
|
1573
|
-
parentEl = el;
|
|
1574
|
-
changed();
|
|
1575
|
-
return completed(true);
|
|
1576
|
-
}
|
|
1577
|
-
} else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
|
|
1578
|
-
var firstChild = getChild(el, 0, options, true);
|
|
1579
|
-
if (firstChild === dragEl) {
|
|
1580
|
-
return completed(false);
|
|
1581
|
-
}
|
|
1582
|
-
target = firstChild;
|
|
1583
|
-
targetRect = getRect(target);
|
|
1584
|
-
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
|
|
1585
|
-
capture();
|
|
1586
|
-
el.insertBefore(dragEl, firstChild);
|
|
1587
|
-
parentEl = el;
|
|
1588
|
-
changed();
|
|
1589
|
-
return completed(true);
|
|
1590
|
-
}
|
|
1591
|
-
} else if (target.parentNode === el) {
|
|
1592
|
-
targetRect = getRect(target);
|
|
1593
|
-
var direction = 0, targetBeforeFirstSwap, differentLevel = dragEl.parentNode !== el, differentRowCol = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || dragRect, target.animated && target.toRect || targetRect, vertical), side1 = vertical ? "top" : "left", scrolledPastTop = isScrolledPast(target, "top", "top") || isScrolledPast(dragEl, "top", "top"), scrollBefore = scrolledPastTop ? scrolledPastTop.scrollTop : void 0;
|
|
1594
|
-
if (lastTarget !== target) {
|
|
1595
|
-
targetBeforeFirstSwap = targetRect[side1];
|
|
1596
|
-
pastFirstInvertThresh = false;
|
|
1597
|
-
isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
|
|
1598
|
-
}
|
|
1599
|
-
direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
|
|
1600
|
-
var sibling;
|
|
1601
|
-
if (direction !== 0) {
|
|
1602
|
-
var dragIndex = index(dragEl);
|
|
1603
|
-
do {
|
|
1604
|
-
dragIndex -= direction;
|
|
1605
|
-
sibling = parentEl.children[dragIndex];
|
|
1606
|
-
} while (sibling && (css(sibling, "display") === "none" || sibling === ghostEl));
|
|
1607
|
-
}
|
|
1608
|
-
if (direction === 0 || sibling === target) {
|
|
1609
|
-
return completed(false);
|
|
1610
|
-
}
|
|
1611
|
-
lastTarget = target;
|
|
1612
|
-
lastDirection = direction;
|
|
1613
|
-
var nextSibling = target.nextElementSibling, after = false;
|
|
1614
|
-
after = direction === 1;
|
|
1615
|
-
var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
|
|
1616
|
-
if (moveVector !== false) {
|
|
1617
|
-
if (moveVector === 1 || moveVector === -1) {
|
|
1618
|
-
after = moveVector === 1;
|
|
1619
|
-
}
|
|
1620
|
-
_silent = true;
|
|
1621
|
-
setTimeout(_unsilent, 30);
|
|
1622
|
-
capture();
|
|
1623
|
-
if (after && !nextSibling) {
|
|
1624
|
-
el.appendChild(dragEl);
|
|
1625
|
-
} else {
|
|
1626
|
-
target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
|
|
1627
|
-
}
|
|
1628
|
-
if (scrolledPastTop) {
|
|
1629
|
-
scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
|
|
1630
|
-
}
|
|
1631
|
-
parentEl = dragEl.parentNode;
|
|
1632
|
-
if (targetBeforeFirstSwap !== void 0 && !isCircumstantialInvert) {
|
|
1633
|
-
targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
|
|
1634
|
-
}
|
|
1635
|
-
changed();
|
|
1636
|
-
return completed(true);
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
if (el.contains(dragEl)) {
|
|
1640
|
-
return completed(false);
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
return false;
|
|
1644
|
-
},
|
|
1645
|
-
_ignoreWhileAnimating: null,
|
|
1646
|
-
_offMoveEvents: function _offMoveEvents() {
|
|
1647
|
-
off(document, "mousemove", this._onTouchMove);
|
|
1648
|
-
off(document, "touchmove", this._onTouchMove);
|
|
1649
|
-
off(document, "pointermove", this._onTouchMove);
|
|
1650
|
-
off(document, "dragover", nearestEmptyInsertDetectEvent);
|
|
1651
|
-
off(document, "mousemove", nearestEmptyInsertDetectEvent);
|
|
1652
|
-
off(document, "touchmove", nearestEmptyInsertDetectEvent);
|
|
1653
|
-
},
|
|
1654
|
-
_offUpEvents: function _offUpEvents() {
|
|
1655
|
-
var ownerDocument = this.el.ownerDocument;
|
|
1656
|
-
off(ownerDocument, "mouseup", this._onDrop);
|
|
1657
|
-
off(ownerDocument, "touchend", this._onDrop);
|
|
1658
|
-
off(ownerDocument, "pointerup", this._onDrop);
|
|
1659
|
-
off(ownerDocument, "pointercancel", this._onDrop);
|
|
1660
|
-
off(ownerDocument, "touchcancel", this._onDrop);
|
|
1661
|
-
off(document, "selectstart", this);
|
|
1662
|
-
},
|
|
1663
|
-
_onDrop: function _onDrop(evt) {
|
|
1664
|
-
var el = this.el, options = this.options;
|
|
1665
|
-
newIndex = index(dragEl);
|
|
1666
|
-
newDraggableIndex = index(dragEl, options.draggable);
|
|
1667
|
-
pluginEvent2("drop", this, {
|
|
1668
|
-
evt
|
|
1669
|
-
});
|
|
1670
|
-
parentEl = dragEl && dragEl.parentNode;
|
|
1671
|
-
newIndex = index(dragEl);
|
|
1672
|
-
newDraggableIndex = index(dragEl, options.draggable);
|
|
1673
|
-
if (Sortable.eventCanceled) {
|
|
1674
|
-
this._nulling();
|
|
1675
|
-
return;
|
|
1676
|
-
}
|
|
1677
|
-
awaitingDragStarted = false;
|
|
1678
|
-
isCircumstantialInvert = false;
|
|
1679
|
-
pastFirstInvertThresh = false;
|
|
1680
|
-
clearInterval(this._loopId);
|
|
1681
|
-
clearTimeout(this._dragStartTimer);
|
|
1682
|
-
_cancelNextTick(this.cloneId);
|
|
1683
|
-
_cancelNextTick(this._dragStartId);
|
|
1684
|
-
if (this.nativeDraggable) {
|
|
1685
|
-
off(document, "drop", this);
|
|
1686
|
-
off(el, "dragstart", this._onDragStart);
|
|
1687
|
-
}
|
|
1688
|
-
this._offMoveEvents();
|
|
1689
|
-
this._offUpEvents();
|
|
1690
|
-
if (Safari) {
|
|
1691
|
-
css(document.body, "user-select", "");
|
|
1692
|
-
}
|
|
1693
|
-
css(dragEl, "transform", "");
|
|
1694
|
-
if (evt) {
|
|
1695
|
-
if (moved) {
|
|
1696
|
-
evt.cancelable && evt.preventDefault();
|
|
1697
|
-
!options.dropBubble && evt.stopPropagation();
|
|
1698
|
-
}
|
|
1699
|
-
ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
|
|
1700
|
-
if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== "clone") {
|
|
1701
|
-
cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
|
|
1702
|
-
}
|
|
1703
|
-
if (dragEl) {
|
|
1704
|
-
if (this.nativeDraggable) {
|
|
1705
|
-
off(dragEl, "dragend", this);
|
|
1706
|
-
}
|
|
1707
|
-
_disableDraggable(dragEl);
|
|
1708
|
-
dragEl.style["will-change"] = "";
|
|
1709
|
-
if (moved && !awaitingDragStarted) {
|
|
1710
|
-
toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
|
|
1711
|
-
}
|
|
1712
|
-
toggleClass(dragEl, this.options.chosenClass, false);
|
|
1713
|
-
_dispatchEvent({
|
|
1714
|
-
sortable: this,
|
|
1715
|
-
name: "unchoose",
|
|
1716
|
-
toEl: parentEl,
|
|
1717
|
-
newIndex: null,
|
|
1718
|
-
newDraggableIndex: null,
|
|
1719
|
-
originalEvent: evt
|
|
1720
|
-
});
|
|
1721
|
-
if (rootEl !== parentEl) {
|
|
1722
|
-
if (newIndex >= 0) {
|
|
1723
|
-
_dispatchEvent({
|
|
1724
|
-
rootEl: parentEl,
|
|
1725
|
-
name: "add",
|
|
1726
|
-
toEl: parentEl,
|
|
1727
|
-
fromEl: rootEl,
|
|
1728
|
-
originalEvent: evt
|
|
1729
|
-
});
|
|
1730
|
-
_dispatchEvent({
|
|
1731
|
-
sortable: this,
|
|
1732
|
-
name: "remove",
|
|
1733
|
-
toEl: parentEl,
|
|
1734
|
-
originalEvent: evt
|
|
1735
|
-
});
|
|
1736
|
-
_dispatchEvent({
|
|
1737
|
-
rootEl: parentEl,
|
|
1738
|
-
name: "sort",
|
|
1739
|
-
toEl: parentEl,
|
|
1740
|
-
fromEl: rootEl,
|
|
1741
|
-
originalEvent: evt
|
|
1742
|
-
});
|
|
1743
|
-
_dispatchEvent({
|
|
1744
|
-
sortable: this,
|
|
1745
|
-
name: "sort",
|
|
1746
|
-
toEl: parentEl,
|
|
1747
|
-
originalEvent: evt
|
|
1748
|
-
});
|
|
1749
|
-
}
|
|
1750
|
-
putSortable && putSortable.save();
|
|
1751
|
-
} else {
|
|
1752
|
-
if (newIndex !== oldIndex) {
|
|
1753
|
-
if (newIndex >= 0) {
|
|
1754
|
-
_dispatchEvent({
|
|
1755
|
-
sortable: this,
|
|
1756
|
-
name: "update",
|
|
1757
|
-
toEl: parentEl,
|
|
1758
|
-
originalEvent: evt
|
|
1759
|
-
});
|
|
1760
|
-
_dispatchEvent({
|
|
1761
|
-
sortable: this,
|
|
1762
|
-
name: "sort",
|
|
1763
|
-
toEl: parentEl,
|
|
1764
|
-
originalEvent: evt
|
|
1765
|
-
});
|
|
1766
|
-
}
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
if (Sortable.active) {
|
|
1770
|
-
if (newIndex == null || newIndex === -1) {
|
|
1771
|
-
newIndex = oldIndex;
|
|
1772
|
-
newDraggableIndex = oldDraggableIndex;
|
|
1773
|
-
}
|
|
1774
|
-
_dispatchEvent({
|
|
1775
|
-
sortable: this,
|
|
1776
|
-
name: "end",
|
|
1777
|
-
toEl: parentEl,
|
|
1778
|
-
originalEvent: evt
|
|
1779
|
-
});
|
|
1780
|
-
this.save();
|
|
1781
|
-
}
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
this._nulling();
|
|
1785
|
-
},
|
|
1786
|
-
_nulling: function _nulling() {
|
|
1787
|
-
pluginEvent2("nulling", this);
|
|
1788
|
-
rootEl = dragEl = parentEl = ghostEl = nextEl = cloneEl = lastDownEl = cloneHidden = tapEvt = touchEvt = moved = newIndex = newDraggableIndex = oldIndex = oldDraggableIndex = lastTarget = lastDirection = putSortable = activeGroup = Sortable.dragged = Sortable.ghost = Sortable.clone = Sortable.active = null;
|
|
1789
|
-
var el = this.el;
|
|
1790
|
-
savedInputChecked.forEach(function(checkEl) {
|
|
1791
|
-
if (el.contains(checkEl)) {
|
|
1792
|
-
checkEl.checked = true;
|
|
1793
|
-
}
|
|
1794
|
-
});
|
|
1795
|
-
savedInputChecked.length = lastDx = lastDy = 0;
|
|
1796
|
-
},
|
|
1797
|
-
handleEvent: function handleEvent(evt) {
|
|
1798
|
-
switch (evt.type) {
|
|
1799
|
-
case "drop":
|
|
1800
|
-
case "dragend":
|
|
1801
|
-
this._onDrop(evt);
|
|
1802
|
-
break;
|
|
1803
|
-
case "dragenter":
|
|
1804
|
-
case "dragover":
|
|
1805
|
-
if (dragEl) {
|
|
1806
|
-
this._onDragOver(evt);
|
|
1807
|
-
_globalDragOver(evt);
|
|
1808
|
-
}
|
|
1809
|
-
break;
|
|
1810
|
-
case "selectstart":
|
|
1811
|
-
evt.preventDefault();
|
|
1812
|
-
break;
|
|
1813
|
-
}
|
|
1814
|
-
},
|
|
1815
|
-
/**
|
|
1816
|
-
* Serializes the item into an array of string.
|
|
1817
|
-
* @returns {String[]}
|
|
1818
|
-
*/
|
|
1819
|
-
toArray: function toArray() {
|
|
1820
|
-
var order = [], el, children = this.el.children, i = 0, n = children.length, options = this.options;
|
|
1821
|
-
for (; i < n; i++) {
|
|
1822
|
-
el = children[i];
|
|
1823
|
-
if (closest(el, options.draggable, this.el, false)) {
|
|
1824
|
-
order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
|
|
1825
|
-
}
|
|
1826
|
-
}
|
|
1827
|
-
return order;
|
|
1828
|
-
},
|
|
1829
|
-
/**
|
|
1830
|
-
* Sorts the elements according to the array.
|
|
1831
|
-
* @param {String[]} order order of the items
|
|
1832
|
-
*/
|
|
1833
|
-
sort: function sort(order, useAnimation) {
|
|
1834
|
-
var items = {}, rootEl2 = this.el;
|
|
1835
|
-
this.toArray().forEach(function(id, i) {
|
|
1836
|
-
var el = rootEl2.children[i];
|
|
1837
|
-
if (closest(el, this.options.draggable, rootEl2, false)) {
|
|
1838
|
-
items[id] = el;
|
|
1839
|
-
}
|
|
1840
|
-
}, this);
|
|
1841
|
-
useAnimation && this.captureAnimationState();
|
|
1842
|
-
order.forEach(function(id) {
|
|
1843
|
-
if (items[id]) {
|
|
1844
|
-
rootEl2.removeChild(items[id]);
|
|
1845
|
-
rootEl2.appendChild(items[id]);
|
|
1846
|
-
}
|
|
1847
|
-
});
|
|
1848
|
-
useAnimation && this.animateAll();
|
|
1849
|
-
},
|
|
1850
|
-
/**
|
|
1851
|
-
* Save the current sorting
|
|
1852
|
-
*/
|
|
1853
|
-
save: function save() {
|
|
1854
|
-
var store = this.options.store;
|
|
1855
|
-
store && store.set && store.set(this);
|
|
1856
|
-
},
|
|
1857
|
-
/**
|
|
1858
|
-
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
1859
|
-
* @param {HTMLElement} el
|
|
1860
|
-
* @param {String} [selector] default: `options.draggable`
|
|
1861
|
-
* @returns {HTMLElement|null}
|
|
1862
|
-
*/
|
|
1863
|
-
closest: function closest$1(el, selector) {
|
|
1864
|
-
return closest(el, selector || this.options.draggable, this.el, false);
|
|
1865
|
-
},
|
|
1866
|
-
/**
|
|
1867
|
-
* Set/get option
|
|
1868
|
-
* @param {string} name
|
|
1869
|
-
* @param {*} [value]
|
|
1870
|
-
* @returns {*}
|
|
1871
|
-
*/
|
|
1872
|
-
option: function option(name, value) {
|
|
1873
|
-
var options = this.options;
|
|
1874
|
-
if (value === void 0) {
|
|
1875
|
-
return options[name];
|
|
1876
|
-
} else {
|
|
1877
|
-
var modifiedValue = PluginManager.modifyOption(this, name, value);
|
|
1878
|
-
if (typeof modifiedValue !== "undefined") {
|
|
1879
|
-
options[name] = modifiedValue;
|
|
1880
|
-
} else {
|
|
1881
|
-
options[name] = value;
|
|
1882
|
-
}
|
|
1883
|
-
if (name === "group") {
|
|
1884
|
-
_prepareGroup(options);
|
|
1885
|
-
}
|
|
1886
|
-
}
|
|
1887
|
-
},
|
|
1888
|
-
/**
|
|
1889
|
-
* Destroy
|
|
1890
|
-
*/
|
|
1891
|
-
destroy: function destroy() {
|
|
1892
|
-
pluginEvent2("destroy", this);
|
|
1893
|
-
var el = this.el;
|
|
1894
|
-
el[expando] = null;
|
|
1895
|
-
off(el, "mousedown", this._onTapStart);
|
|
1896
|
-
off(el, "touchstart", this._onTapStart);
|
|
1897
|
-
off(el, "pointerdown", this._onTapStart);
|
|
1898
|
-
if (this.nativeDraggable) {
|
|
1899
|
-
off(el, "dragover", this);
|
|
1900
|
-
off(el, "dragenter", this);
|
|
1901
|
-
}
|
|
1902
|
-
Array.prototype.forEach.call(el.querySelectorAll("[draggable]"), function(el2) {
|
|
1903
|
-
el2.removeAttribute("draggable");
|
|
1904
|
-
});
|
|
1905
|
-
this._onDrop();
|
|
1906
|
-
this._disableDelayedDragEvents();
|
|
1907
|
-
sortables.splice(sortables.indexOf(this.el), 1);
|
|
1908
|
-
this.el = el = null;
|
|
1909
|
-
},
|
|
1910
|
-
_hideClone: function _hideClone() {
|
|
1911
|
-
if (!cloneHidden) {
|
|
1912
|
-
pluginEvent2("hideClone", this);
|
|
1913
|
-
if (Sortable.eventCanceled) return;
|
|
1914
|
-
css(cloneEl, "display", "none");
|
|
1915
|
-
if (this.options.removeCloneOnHide && cloneEl.parentNode) {
|
|
1916
|
-
cloneEl.parentNode.removeChild(cloneEl);
|
|
1917
|
-
}
|
|
1918
|
-
cloneHidden = true;
|
|
1919
|
-
}
|
|
1920
|
-
},
|
|
1921
|
-
_showClone: function _showClone(putSortable2) {
|
|
1922
|
-
if (putSortable2.lastPutMode !== "clone") {
|
|
1923
|
-
this._hideClone();
|
|
1924
|
-
return;
|
|
1925
|
-
}
|
|
1926
|
-
if (cloneHidden) {
|
|
1927
|
-
pluginEvent2("showClone", this);
|
|
1928
|
-
if (Sortable.eventCanceled) return;
|
|
1929
|
-
if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
|
|
1930
|
-
rootEl.insertBefore(cloneEl, dragEl);
|
|
1931
|
-
} else if (nextEl) {
|
|
1932
|
-
rootEl.insertBefore(cloneEl, nextEl);
|
|
1933
|
-
} else {
|
|
1934
|
-
rootEl.appendChild(cloneEl);
|
|
1935
|
-
}
|
|
1936
|
-
if (this.options.group.revertClone) {
|
|
1937
|
-
this.animate(dragEl, cloneEl);
|
|
1938
|
-
}
|
|
1939
|
-
css(cloneEl, "display", "");
|
|
1940
|
-
cloneHidden = false;
|
|
1941
|
-
}
|
|
1942
|
-
}
|
|
1943
|
-
};
|
|
1944
|
-
function _globalDragOver(evt) {
|
|
1945
|
-
if (evt.dataTransfer) {
|
|
1946
|
-
evt.dataTransfer.dropEffect = "move";
|
|
1947
|
-
}
|
|
1948
|
-
evt.cancelable && evt.preventDefault();
|
|
1949
|
-
}
|
|
1950
|
-
function _onMove(fromEl, toEl, dragEl2, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
|
|
1951
|
-
var evt, sortable = fromEl[expando], onMoveFn = sortable.options.onMove, retVal;
|
|
1952
|
-
if (window.CustomEvent && !IE11OrLess && !Edge) {
|
|
1953
|
-
evt = new CustomEvent("move", {
|
|
1954
|
-
bubbles: true,
|
|
1955
|
-
cancelable: true
|
|
1956
|
-
});
|
|
1957
|
-
} else {
|
|
1958
|
-
evt = document.createEvent("Event");
|
|
1959
|
-
evt.initEvent("move", true, true);
|
|
1960
|
-
}
|
|
1961
|
-
evt.to = toEl;
|
|
1962
|
-
evt.from = fromEl;
|
|
1963
|
-
evt.dragged = dragEl2;
|
|
1964
|
-
evt.draggedRect = dragRect;
|
|
1965
|
-
evt.related = targetEl || toEl;
|
|
1966
|
-
evt.relatedRect = targetRect || getRect(toEl);
|
|
1967
|
-
evt.willInsertAfter = willInsertAfter;
|
|
1968
|
-
evt.originalEvent = originalEvent;
|
|
1969
|
-
fromEl.dispatchEvent(evt);
|
|
1970
|
-
if (onMoveFn) {
|
|
1971
|
-
retVal = onMoveFn.call(sortable, evt, originalEvent);
|
|
1972
|
-
}
|
|
1973
|
-
return retVal;
|
|
1974
|
-
}
|
|
1975
|
-
function _disableDraggable(el) {
|
|
1976
|
-
el.draggable = false;
|
|
1977
|
-
}
|
|
1978
|
-
function _unsilent() {
|
|
1979
|
-
_silent = false;
|
|
1980
|
-
}
|
|
1981
|
-
function _ghostIsFirst(evt, vertical, sortable) {
|
|
1982
|
-
var firstElRect = getRect(getChild(sortable.el, 0, sortable.options, true));
|
|
1983
|
-
var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
|
|
1984
|
-
var spacer = 10;
|
|
1985
|
-
return vertical ? evt.clientX < childContainingRect.left - spacer || evt.clientY < firstElRect.top && evt.clientX < firstElRect.right : evt.clientY < childContainingRect.top - spacer || evt.clientY < firstElRect.bottom && evt.clientX < firstElRect.left;
|
|
1986
|
-
}
|
|
1987
|
-
function _ghostIsLast(evt, vertical, sortable) {
|
|
1988
|
-
var lastElRect = getRect(lastChild(sortable.el, sortable.options.draggable));
|
|
1989
|
-
var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
|
|
1990
|
-
var spacer = 10;
|
|
1991
|
-
return vertical ? evt.clientX > childContainingRect.right + spacer || evt.clientY > lastElRect.bottom && evt.clientX > lastElRect.left : evt.clientY > childContainingRect.bottom + spacer || evt.clientX > lastElRect.right && evt.clientY > lastElRect.top;
|
|
1992
|
-
}
|
|
1993
|
-
function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
|
|
1994
|
-
var mouseOnAxis = vertical ? evt.clientY : evt.clientX, targetLength = vertical ? targetRect.height : targetRect.width, targetS1 = vertical ? targetRect.top : targetRect.left, targetS2 = vertical ? targetRect.bottom : targetRect.right, invert = false;
|
|
1995
|
-
if (!invertSwap) {
|
|
1996
|
-
if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
|
|
1997
|
-
if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {
|
|
1998
|
-
pastFirstInvertThresh = true;
|
|
1999
|
-
}
|
|
2000
|
-
if (!pastFirstInvertThresh) {
|
|
2001
|
-
if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance : mouseOnAxis > targetS2 - targetMoveDistance) {
|
|
2002
|
-
return -lastDirection;
|
|
2003
|
-
}
|
|
2004
|
-
} else {
|
|
2005
|
-
invert = true;
|
|
2006
|
-
}
|
|
2007
|
-
} else {
|
|
2008
|
-
if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {
|
|
2009
|
-
return _getInsertDirection(target);
|
|
2010
|
-
}
|
|
2011
|
-
}
|
|
2012
|
-
}
|
|
2013
|
-
invert = invert || invertSwap;
|
|
2014
|
-
if (invert) {
|
|
2015
|
-
if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
|
|
2016
|
-
return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
|
|
2017
|
-
}
|
|
2018
|
-
}
|
|
2019
|
-
return 0;
|
|
2020
|
-
}
|
|
2021
|
-
function _getInsertDirection(target) {
|
|
2022
|
-
if (index(dragEl) < index(target)) {
|
|
2023
|
-
return 1;
|
|
2024
|
-
} else {
|
|
2025
|
-
return -1;
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
function _generateId(el) {
|
|
2029
|
-
var str = el.tagName + el.className + el.src + el.href + el.textContent, i = str.length, sum = 0;
|
|
2030
|
-
while (i--) {
|
|
2031
|
-
sum += str.charCodeAt(i);
|
|
2032
|
-
}
|
|
2033
|
-
return sum.toString(36);
|
|
2034
|
-
}
|
|
2035
|
-
function _saveInputCheckedState(root) {
|
|
2036
|
-
savedInputChecked.length = 0;
|
|
2037
|
-
var inputs = root.getElementsByTagName("input");
|
|
2038
|
-
var idx = inputs.length;
|
|
2039
|
-
while (idx--) {
|
|
2040
|
-
var el = inputs[idx];
|
|
2041
|
-
el.checked && savedInputChecked.push(el);
|
|
2042
|
-
}
|
|
2043
|
-
}
|
|
2044
|
-
function _nextTick(fn) {
|
|
2045
|
-
return setTimeout(fn, 0);
|
|
2046
|
-
}
|
|
2047
|
-
function _cancelNextTick(id) {
|
|
2048
|
-
return clearTimeout(id);
|
|
2049
|
-
}
|
|
2050
|
-
if (documentExists) {
|
|
2051
|
-
on(document, "touchmove", function(evt) {
|
|
2052
|
-
if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
|
|
2053
|
-
evt.preventDefault();
|
|
2054
|
-
}
|
|
2055
|
-
});
|
|
2056
|
-
}
|
|
2057
|
-
Sortable.utils = {
|
|
2058
|
-
on,
|
|
2059
|
-
off,
|
|
2060
|
-
css,
|
|
2061
|
-
find,
|
|
2062
|
-
is: function is(el, selector) {
|
|
2063
|
-
return !!closest(el, selector, el, false);
|
|
2064
|
-
},
|
|
2065
|
-
extend,
|
|
2066
|
-
throttle,
|
|
2067
|
-
closest,
|
|
2068
|
-
toggleClass,
|
|
2069
|
-
clone,
|
|
2070
|
-
index,
|
|
2071
|
-
nextTick: _nextTick,
|
|
2072
|
-
cancelNextTick: _cancelNextTick,
|
|
2073
|
-
detectDirection: _detectDirection,
|
|
2074
|
-
getChild,
|
|
2075
|
-
expando
|
|
2076
|
-
};
|
|
2077
|
-
Sortable.get = function(element) {
|
|
2078
|
-
return element[expando];
|
|
2079
|
-
};
|
|
2080
|
-
Sortable.mount = function() {
|
|
2081
|
-
for (var _len = arguments.length, plugins2 = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
2082
|
-
plugins2[_key] = arguments[_key];
|
|
2083
|
-
}
|
|
2084
|
-
if (plugins2[0].constructor === Array) plugins2 = plugins2[0];
|
|
2085
|
-
plugins2.forEach(function(plugin) {
|
|
2086
|
-
if (!plugin.prototype || !plugin.prototype.constructor) {
|
|
2087
|
-
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(plugin));
|
|
2088
|
-
}
|
|
2089
|
-
if (plugin.utils) Sortable.utils = _objectSpread2(_objectSpread2({}, Sortable.utils), plugin.utils);
|
|
2090
|
-
PluginManager.mount(plugin);
|
|
2091
|
-
});
|
|
2092
|
-
};
|
|
2093
|
-
Sortable.create = function(el, options) {
|
|
2094
|
-
return new Sortable(el, options);
|
|
2095
|
-
};
|
|
2096
|
-
Sortable.version = version;
|
|
2097
|
-
var autoScrolls = [];
|
|
2098
|
-
var scrollEl;
|
|
2099
|
-
var scrollRootEl;
|
|
2100
|
-
var scrolling = false;
|
|
2101
|
-
var lastAutoScrollX;
|
|
2102
|
-
var lastAutoScrollY;
|
|
2103
|
-
var touchEvt$1;
|
|
2104
|
-
var pointerElemChangedInterval;
|
|
2105
|
-
function AutoScrollPlugin() {
|
|
2106
|
-
function AutoScroll() {
|
|
2107
|
-
this.defaults = {
|
|
2108
|
-
scroll: true,
|
|
2109
|
-
forceAutoScrollFallback: false,
|
|
2110
|
-
scrollSensitivity: 30,
|
|
2111
|
-
scrollSpeed: 10,
|
|
2112
|
-
bubbleScroll: true
|
|
2113
|
-
};
|
|
2114
|
-
for (var fn in this) {
|
|
2115
|
-
if (fn.charAt(0) === "_" && typeof this[fn] === "function") {
|
|
2116
|
-
this[fn] = this[fn].bind(this);
|
|
2117
|
-
}
|
|
2118
|
-
}
|
|
2119
|
-
}
|
|
2120
|
-
AutoScroll.prototype = {
|
|
2121
|
-
dragStarted: function dragStarted(_ref) {
|
|
2122
|
-
var originalEvent = _ref.originalEvent;
|
|
2123
|
-
if (this.sortable.nativeDraggable) {
|
|
2124
|
-
on(document, "dragover", this._handleAutoScroll);
|
|
2125
|
-
} else {
|
|
2126
|
-
if (this.options.supportPointer) {
|
|
2127
|
-
on(document, "pointermove", this._handleFallbackAutoScroll);
|
|
2128
|
-
} else if (originalEvent.touches) {
|
|
2129
|
-
on(document, "touchmove", this._handleFallbackAutoScroll);
|
|
2130
|
-
} else {
|
|
2131
|
-
on(document, "mousemove", this._handleFallbackAutoScroll);
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2134
|
-
},
|
|
2135
|
-
dragOverCompleted: function dragOverCompleted(_ref2) {
|
|
2136
|
-
var originalEvent = _ref2.originalEvent;
|
|
2137
|
-
if (!this.options.dragOverBubble && !originalEvent.rootEl) {
|
|
2138
|
-
this._handleAutoScroll(originalEvent);
|
|
2139
|
-
}
|
|
2140
|
-
},
|
|
2141
|
-
drop: function drop3() {
|
|
2142
|
-
if (this.sortable.nativeDraggable) {
|
|
2143
|
-
off(document, "dragover", this._handleAutoScroll);
|
|
2144
|
-
} else {
|
|
2145
|
-
off(document, "pointermove", this._handleFallbackAutoScroll);
|
|
2146
|
-
off(document, "touchmove", this._handleFallbackAutoScroll);
|
|
2147
|
-
off(document, "mousemove", this._handleFallbackAutoScroll);
|
|
2148
|
-
}
|
|
2149
|
-
clearPointerElemChangedInterval();
|
|
2150
|
-
clearAutoScrolls();
|
|
2151
|
-
cancelThrottle();
|
|
2152
|
-
},
|
|
2153
|
-
nulling: function nulling() {
|
|
2154
|
-
touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;
|
|
2155
|
-
autoScrolls.length = 0;
|
|
2156
|
-
},
|
|
2157
|
-
_handleFallbackAutoScroll: function _handleFallbackAutoScroll(evt) {
|
|
2158
|
-
this._handleAutoScroll(evt, true);
|
|
2159
|
-
},
|
|
2160
|
-
_handleAutoScroll: function _handleAutoScroll(evt, fallback) {
|
|
2161
|
-
var _this = this;
|
|
2162
|
-
var x = (evt.touches ? evt.touches[0] : evt).clientX, y = (evt.touches ? evt.touches[0] : evt).clientY, elem = document.elementFromPoint(x, y);
|
|
2163
|
-
touchEvt$1 = evt;
|
|
2164
|
-
if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
|
|
2165
|
-
autoScroll(evt, this.options, elem, fallback);
|
|
2166
|
-
var ogElemScroller = getParentAutoScrollElement(elem, true);
|
|
2167
|
-
if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
|
|
2168
|
-
pointerElemChangedInterval && clearPointerElemChangedInterval();
|
|
2169
|
-
pointerElemChangedInterval = setInterval(function() {
|
|
2170
|
-
var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
|
|
2171
|
-
if (newElem !== ogElemScroller) {
|
|
2172
|
-
ogElemScroller = newElem;
|
|
2173
|
-
clearAutoScrolls();
|
|
2174
|
-
}
|
|
2175
|
-
autoScroll(evt, _this.options, newElem, fallback);
|
|
2176
|
-
}, 10);
|
|
2177
|
-
lastAutoScrollX = x;
|
|
2178
|
-
lastAutoScrollY = y;
|
|
2179
|
-
}
|
|
2180
|
-
} else {
|
|
2181
|
-
if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {
|
|
2182
|
-
clearAutoScrolls();
|
|
2183
|
-
return;
|
|
2184
|
-
}
|
|
2185
|
-
autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
|
|
2186
|
-
}
|
|
2187
|
-
}
|
|
2188
|
-
};
|
|
2189
|
-
return _extends(AutoScroll, {
|
|
2190
|
-
pluginName: "scroll",
|
|
2191
|
-
initializeByDefault: true
|
|
2192
|
-
});
|
|
2193
|
-
}
|
|
2194
|
-
function clearAutoScrolls() {
|
|
2195
|
-
autoScrolls.forEach(function(autoScroll2) {
|
|
2196
|
-
clearInterval(autoScroll2.pid);
|
|
2197
|
-
});
|
|
2198
|
-
autoScrolls = [];
|
|
2199
|
-
}
|
|
2200
|
-
function clearPointerElemChangedInterval() {
|
|
2201
|
-
clearInterval(pointerElemChangedInterval);
|
|
2202
|
-
}
|
|
2203
|
-
var autoScroll = throttle(function(evt, options, rootEl2, isFallback) {
|
|
2204
|
-
if (!options.scroll) return;
|
|
2205
|
-
var x = (evt.touches ? evt.touches[0] : evt).clientX, y = (evt.touches ? evt.touches[0] : evt).clientY, sens = options.scrollSensitivity, speed = options.scrollSpeed, winScroller = getWindowScrollingElement();
|
|
2206
|
-
var scrollThisInstance = false, scrollCustomFn;
|
|
2207
|
-
if (scrollRootEl !== rootEl2) {
|
|
2208
|
-
scrollRootEl = rootEl2;
|
|
2209
|
-
clearAutoScrolls();
|
|
2210
|
-
scrollEl = options.scroll;
|
|
2211
|
-
scrollCustomFn = options.scrollFn;
|
|
2212
|
-
if (scrollEl === true) {
|
|
2213
|
-
scrollEl = getParentAutoScrollElement(rootEl2, true);
|
|
2214
|
-
}
|
|
2215
|
-
}
|
|
2216
|
-
var layersOut = 0;
|
|
2217
|
-
var currentParent = scrollEl;
|
|
2218
|
-
do {
|
|
2219
|
-
var el = currentParent, rect = getRect(el), top = rect.top, bottom = rect.bottom, left = rect.left, right = rect.right, width = rect.width, height = rect.height, canScrollX = void 0, canScrollY = void 0, scrollWidth = el.scrollWidth, scrollHeight = el.scrollHeight, elCSS = css(el), scrollPosX = el.scrollLeft, scrollPosY = el.scrollTop;
|
|
2220
|
-
if (el === winScroller) {
|
|
2221
|
-
canScrollX = width < scrollWidth && (elCSS.overflowX === "auto" || elCSS.overflowX === "scroll" || elCSS.overflowX === "visible");
|
|
2222
|
-
canScrollY = height < scrollHeight && (elCSS.overflowY === "auto" || elCSS.overflowY === "scroll" || elCSS.overflowY === "visible");
|
|
2223
|
-
} else {
|
|
2224
|
-
canScrollX = width < scrollWidth && (elCSS.overflowX === "auto" || elCSS.overflowX === "scroll");
|
|
2225
|
-
canScrollY = height < scrollHeight && (elCSS.overflowY === "auto" || elCSS.overflowY === "scroll");
|
|
2226
|
-
}
|
|
2227
|
-
var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
|
|
2228
|
-
var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
|
|
2229
|
-
if (!autoScrolls[layersOut]) {
|
|
2230
|
-
for (var i = 0; i <= layersOut; i++) {
|
|
2231
|
-
if (!autoScrolls[i]) {
|
|
2232
|
-
autoScrolls[i] = {};
|
|
2233
|
-
}
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
|
-
if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
|
|
2237
|
-
autoScrolls[layersOut].el = el;
|
|
2238
|
-
autoScrolls[layersOut].vx = vx;
|
|
2239
|
-
autoScrolls[layersOut].vy = vy;
|
|
2240
|
-
clearInterval(autoScrolls[layersOut].pid);
|
|
2241
|
-
if (vx != 0 || vy != 0) {
|
|
2242
|
-
scrollThisInstance = true;
|
|
2243
|
-
autoScrolls[layersOut].pid = setInterval(function() {
|
|
2244
|
-
if (isFallback && this.layer === 0) {
|
|
2245
|
-
Sortable.active._onTouchMove(touchEvt$1);
|
|
2246
|
-
}
|
|
2247
|
-
var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
|
|
2248
|
-
var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
|
|
2249
|
-
if (typeof scrollCustomFn === "function") {
|
|
2250
|
-
if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== "continue") {
|
|
2251
|
-
return;
|
|
2252
|
-
}
|
|
2253
|
-
}
|
|
2254
|
-
scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
|
|
2255
|
-
}.bind({
|
|
2256
|
-
layer: layersOut
|
|
2257
|
-
}), 24);
|
|
2258
|
-
}
|
|
2259
|
-
}
|
|
2260
|
-
layersOut++;
|
|
2261
|
-
} while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
|
|
2262
|
-
scrolling = scrollThisInstance;
|
|
2263
|
-
}, 30);
|
|
2264
|
-
var drop = function drop2(_ref) {
|
|
2265
|
-
var originalEvent = _ref.originalEvent, putSortable2 = _ref.putSortable, dragEl2 = _ref.dragEl, activeSortable = _ref.activeSortable, dispatchSortableEvent = _ref.dispatchSortableEvent, hideGhostForTarget = _ref.hideGhostForTarget, unhideGhostForTarget = _ref.unhideGhostForTarget;
|
|
2266
|
-
if (!originalEvent) return;
|
|
2267
|
-
var toSortable = putSortable2 || activeSortable;
|
|
2268
|
-
hideGhostForTarget();
|
|
2269
|
-
var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
|
|
2270
|
-
var target = document.elementFromPoint(touch.clientX, touch.clientY);
|
|
2271
|
-
unhideGhostForTarget();
|
|
2272
|
-
if (toSortable && !toSortable.el.contains(target)) {
|
|
2273
|
-
dispatchSortableEvent("spill");
|
|
2274
|
-
this.onSpill({
|
|
2275
|
-
dragEl: dragEl2,
|
|
2276
|
-
putSortable: putSortable2
|
|
2277
|
-
});
|
|
2278
|
-
}
|
|
2279
|
-
};
|
|
2280
|
-
function Revert() {
|
|
2281
|
-
}
|
|
2282
|
-
Revert.prototype = {
|
|
2283
|
-
startIndex: null,
|
|
2284
|
-
dragStart: function dragStart(_ref2) {
|
|
2285
|
-
var oldDraggableIndex2 = _ref2.oldDraggableIndex;
|
|
2286
|
-
this.startIndex = oldDraggableIndex2;
|
|
2287
|
-
},
|
|
2288
|
-
onSpill: function onSpill(_ref3) {
|
|
2289
|
-
var dragEl2 = _ref3.dragEl, putSortable2 = _ref3.putSortable;
|
|
2290
|
-
this.sortable.captureAnimationState();
|
|
2291
|
-
if (putSortable2) {
|
|
2292
|
-
putSortable2.captureAnimationState();
|
|
2293
|
-
}
|
|
2294
|
-
var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
|
|
2295
|
-
if (nextSibling) {
|
|
2296
|
-
this.sortable.el.insertBefore(dragEl2, nextSibling);
|
|
2297
|
-
} else {
|
|
2298
|
-
this.sortable.el.appendChild(dragEl2);
|
|
2299
|
-
}
|
|
2300
|
-
this.sortable.animateAll();
|
|
2301
|
-
if (putSortable2) {
|
|
2302
|
-
putSortable2.animateAll();
|
|
2303
|
-
}
|
|
2304
|
-
},
|
|
2305
|
-
drop
|
|
2306
|
-
};
|
|
2307
|
-
_extends(Revert, {
|
|
2308
|
-
pluginName: "revertOnSpill"
|
|
2309
|
-
});
|
|
2310
|
-
function Remove() {
|
|
2311
|
-
}
|
|
2312
|
-
Remove.prototype = {
|
|
2313
|
-
onSpill: function onSpill2(_ref4) {
|
|
2314
|
-
var dragEl2 = _ref4.dragEl, putSortable2 = _ref4.putSortable;
|
|
2315
|
-
var parentSortable = putSortable2 || this.sortable;
|
|
2316
|
-
parentSortable.captureAnimationState();
|
|
2317
|
-
dragEl2.parentNode && dragEl2.parentNode.removeChild(dragEl2);
|
|
2318
|
-
parentSortable.animateAll();
|
|
2319
|
-
},
|
|
2320
|
-
drop
|
|
2321
|
-
};
|
|
2322
|
-
_extends(Remove, {
|
|
2323
|
-
pluginName: "removeOnSpill"
|
|
2324
|
-
});
|
|
2325
|
-
Sortable.mount(new AutoScrollPlugin());
|
|
2326
|
-
Sortable.mount(Remove, Revert);
|
|
2327
|
-
var sortable_esm_default = Sortable;
|
|
2328
|
-
|
|
2329
|
-
// src/components/table/features/row-drag-controller.ts
|
|
2330
|
-
var RowDragController = class {
|
|
2331
|
-
constructor(getCommonProps, getBodyRef, treeCtrl, requestUpdate) {
|
|
2332
|
-
this.getCommonProps = getCommonProps;
|
|
2333
|
-
this.getBodyRef = getBodyRef;
|
|
2334
|
-
this.treeCtrl = treeCtrl;
|
|
2335
|
-
this.requestUpdate = requestUpdate;
|
|
2336
|
-
this.tbodyRef = e();
|
|
2337
|
-
this.draggingRowKey = null;
|
|
2338
|
-
this.draggingKeys = /* @__PURE__ */ new Set();
|
|
2339
|
-
/** 拖拽状态(宿主通过 getter 读取来驱动渲染) */
|
|
2340
|
-
this.currentInsertIndex = null;
|
|
2341
|
-
this.draggingBlock = { start: -1, end: -1 };
|
|
2342
|
-
this.dropTarget = null;
|
|
2343
|
-
this.cleanupDragImage = () => {
|
|
2344
|
-
var _a;
|
|
2345
|
-
if ((_a = this.dragImageEl) == null ? void 0 : _a.parentNode) this.dragImageEl.parentNode.removeChild(this.dragImageEl);
|
|
2346
|
-
this.dragImageEl = void 0;
|
|
2347
|
-
};
|
|
2348
|
-
// ===================== Sortable 事件 =====================
|
|
2349
|
-
this.handleMove = (evt) => {
|
|
2350
|
-
var _a, _b;
|
|
2351
|
-
const tbody = this.tbodyRef.value;
|
|
2352
|
-
if (!this.bodyRef.value || !tbody) return true;
|
|
2353
|
-
const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
|
|
2354
|
-
if (!rows.length) return true;
|
|
2355
|
-
if (this.treeCtrl.isTreeMode()) {
|
|
2356
|
-
if (!this.draggingRowKey && evt.item) {
|
|
2357
|
-
this.draggingRowKey = (_a = evt.item.dataset.rowKey) != null ? _a : null;
|
|
2358
|
-
}
|
|
2359
|
-
this.dropTarget = this.calcDragTarget(evt);
|
|
2360
|
-
this.requestUpdate();
|
|
2361
|
-
return false;
|
|
2362
|
-
}
|
|
2363
|
-
const mouseY = evt.originalEvent.clientY;
|
|
2364
|
-
const firstRect = rows[0].getBoundingClientRect();
|
|
2365
|
-
const lastRect = rows[rows.length - 1].getBoundingClientRect();
|
|
2366
|
-
let insertIndex = (_b = this.currentInsertIndex) != null ? _b : 0;
|
|
2367
|
-
if (mouseY >= lastRect.bottom) {
|
|
2368
|
-
insertIndex = rows.length;
|
|
2369
|
-
} else if (mouseY <= firstRect.top) {
|
|
2370
|
-
insertIndex = 0;
|
|
2371
|
-
} else {
|
|
2372
|
-
const related = evt.related;
|
|
2373
|
-
if (related) {
|
|
2374
|
-
const rect = related.getBoundingClientRect();
|
|
2375
|
-
const relatedIndex = rows.indexOf(related);
|
|
2376
|
-
if (relatedIndex >= 0) {
|
|
2377
|
-
insertIndex = mouseY - rect.top > rect.height / 2 ? relatedIndex + 1 : relatedIndex;
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
this.currentInsertIndex = Math.max(0, Math.min(rows.length, insertIndex));
|
|
2382
|
-
this.requestUpdate();
|
|
2383
|
-
return false;
|
|
2384
|
-
};
|
|
2385
|
-
this.handleEnd = (evt) => {
|
|
2386
|
-
var _a, _b, _c, _d;
|
|
2387
|
-
if (this.treeCtrl.isTreeMode()) {
|
|
2388
|
-
const target = this.dropTarget;
|
|
2389
|
-
this.treeCtrl.restoreExpandForDrag();
|
|
2390
|
-
if (!target || !this.draggingRowKey) {
|
|
2391
|
-
this.resetTreeDragState();
|
|
2392
|
-
return;
|
|
2393
|
-
}
|
|
2394
|
-
const dragKey = this.draggingRowKey;
|
|
2395
|
-
const cfg = this.treeCtrl.getTreeConfig();
|
|
2396
|
-
const { removed, newData } = this.treeCtrl.removeNodeFromTree(
|
|
2397
|
-
this.commonProps.dataSource,
|
|
2398
|
-
dragKey,
|
|
2399
|
-
cfg.childrenRecordName
|
|
2400
|
-
);
|
|
2401
|
-
if (removed) {
|
|
2402
|
-
const newDataSource = this.treeCtrl.insertNodeToTree(
|
|
2403
|
-
newData,
|
|
2404
|
-
removed,
|
|
2405
|
-
target.rowKey,
|
|
2406
|
-
target.position,
|
|
2407
|
-
cfg.childrenRecordName
|
|
2408
|
-
);
|
|
2409
|
-
(_b = (_a = this.commonProps).slRowReorder) == null ? void 0 : _b.call(_a, {
|
|
2410
|
-
fromKey: dragKey,
|
|
2411
|
-
toKey: target.rowKey,
|
|
2412
|
-
rows: this.commonProps.dataSource,
|
|
2413
|
-
newRows: newDataSource
|
|
2414
|
-
});
|
|
2415
|
-
}
|
|
2416
|
-
this.resetTreeDragState();
|
|
2417
|
-
return;
|
|
2418
|
-
}
|
|
2419
|
-
if (this.currentInsertIndex === null) return;
|
|
2420
|
-
this.draggingBlock = { start: -1, end: -1 };
|
|
2421
|
-
this.requestUpdate();
|
|
2422
|
-
const rows = this.commonProps.tableInstance.getRowModel().rows;
|
|
2423
|
-
const fromIndex = evt.oldDraggableIndex;
|
|
2424
|
-
const toIndex = this.currentInsertIndex;
|
|
2425
|
-
const fromKey = this.commonProps.adapter.getRecordKey(rows[fromIndex].original);
|
|
2426
|
-
const newRows = [...rows.map((r) => r.original)];
|
|
2427
|
-
const { start, end } = this.getSelectedBlock(rows, fromIndex);
|
|
2428
|
-
if (start <= toIndex && toIndex <= end) {
|
|
2429
|
-
this.currentInsertIndex = null;
|
|
2430
|
-
return;
|
|
2431
|
-
}
|
|
2432
|
-
const block = newRows.splice(start, end - start + 1);
|
|
2433
|
-
const targetIndex = start < toIndex ? toIndex - block.length : toIndex;
|
|
2434
|
-
newRows.splice(targetIndex, 0, ...block);
|
|
2435
|
-
const toRow = rows[Math.min(toIndex, rows.length - 1)];
|
|
2436
|
-
const toKey = this.commonProps.adapter.getRecordKey(toRow.original);
|
|
2437
|
-
(_d = (_c = this.commonProps).slRowReorder) == null ? void 0 : _d.call(_c, {
|
|
2438
|
-
fromKey,
|
|
2439
|
-
toKey,
|
|
2440
|
-
rows: this.commonProps.dataSource,
|
|
2441
|
-
newRows
|
|
2442
|
-
});
|
|
2443
|
-
this.currentInsertIndex = null;
|
|
2444
|
-
this.cleanupDragImage();
|
|
2445
|
-
};
|
|
2446
|
-
this.handleChoose = (evt) => {
|
|
2447
|
-
const rows = this.commonProps.tableInstance.getRowModel().rows;
|
|
2448
|
-
const fromIndex = evt.oldDraggableIndex;
|
|
2449
|
-
if (this.treeCtrl.isTreeMode()) {
|
|
2450
|
-
const dragRow = rows[fromIndex];
|
|
2451
|
-
if (dragRow) {
|
|
2452
|
-
this.draggingRowKey = this.commonProps.adapter.getRecordKey(dragRow.original);
|
|
2453
|
-
this.draggingKeys = /* @__PURE__ */ new Set([this.draggingRowKey]);
|
|
2454
|
-
this.treeCtrl.collectSubRowKeys(dragRow, this.draggingKeys);
|
|
2455
|
-
const keyToCollapse = this.draggingRowKey;
|
|
2456
|
-
evt.item.addEventListener("dragstart", () => this.treeCtrl.collapseForDrag(keyToCollapse), {
|
|
2457
|
-
once: true
|
|
2458
|
-
});
|
|
2459
|
-
}
|
|
2460
|
-
this.draggingBlock = { start: fromIndex, end: fromIndex };
|
|
2461
|
-
this.requestUpdate();
|
|
2462
|
-
if (dragRow) {
|
|
2463
|
-
const text = this.getFirstDataColumnText(dragRow);
|
|
2464
|
-
const dragImage2 = this.createDragImage(text || null);
|
|
2465
|
-
if (dragImage2) {
|
|
2466
|
-
this.dragImageEl = dragImage2;
|
|
2467
|
-
evt.item.addEventListener(
|
|
2468
|
-
"dragstart",
|
|
2469
|
-
(e2) => {
|
|
2470
|
-
var _a;
|
|
2471
|
-
return (_a = e2.dataTransfer) == null ? void 0 : _a.setDragImage(dragImage2, dragImage2.offsetWidth * 0.2, dragImage2.offsetHeight * 0.75);
|
|
2472
|
-
},
|
|
2473
|
-
{ once: true }
|
|
2474
|
-
);
|
|
2475
|
-
}
|
|
2476
|
-
}
|
|
2477
|
-
return;
|
|
2478
|
-
}
|
|
2479
|
-
const { start, end } = this.getSelectedBlock(rows, fromIndex);
|
|
2480
|
-
this.draggingBlock = { start, end };
|
|
2481
|
-
this.requestUpdate();
|
|
2482
|
-
if (start === end) {
|
|
2483
|
-
const dragRow = rows[fromIndex];
|
|
2484
|
-
const text = this.getFirstDataColumnText(dragRow);
|
|
2485
|
-
const dragImage2 = this.createDragImage(text || null);
|
|
2486
|
-
if (dragImage2) {
|
|
2487
|
-
this.dragImageEl = dragImage2;
|
|
2488
|
-
evt.item.addEventListener(
|
|
2489
|
-
"dragstart",
|
|
2490
|
-
(e2) => {
|
|
2491
|
-
var _a;
|
|
2492
|
-
return (_a = e2.dataTransfer) == null ? void 0 : _a.setDragImage(dragImage2, dragImage2.offsetWidth * 0.2, dragImage2.offsetHeight * 0.75);
|
|
2493
|
-
},
|
|
2494
|
-
{ once: true }
|
|
2495
|
-
);
|
|
2496
|
-
}
|
|
2497
|
-
return;
|
|
2498
|
-
}
|
|
2499
|
-
const dragImage = this.createDragImage(`\u62D6\u52A8 ${end - start + 1} \u884C\u6570\u636E`);
|
|
2500
|
-
if (dragImage) {
|
|
2501
|
-
this.dragImageEl = dragImage;
|
|
2502
|
-
evt.item.addEventListener(
|
|
2503
|
-
"dragstart",
|
|
2504
|
-
(e2) => {
|
|
2505
|
-
var _a;
|
|
2506
|
-
return (_a = e2.dataTransfer) == null ? void 0 : _a.setDragImage(dragImage, dragImage.offsetWidth * 0.2, dragImage.offsetHeight * 0.75);
|
|
2507
|
-
},
|
|
2508
|
-
{ once: true }
|
|
2509
|
-
);
|
|
2510
|
-
}
|
|
2511
|
-
};
|
|
2512
|
-
this.handleUnchoose = () => {
|
|
2513
|
-
var _a;
|
|
2514
|
-
this.draggingBlock = { start: -1, end: -1 };
|
|
2515
|
-
this.draggingKeys.clear();
|
|
2516
|
-
(_a = this.cleanupDragImage) == null ? void 0 : _a.call(this);
|
|
2517
|
-
this.requestUpdate();
|
|
2518
|
-
};
|
|
2519
|
-
}
|
|
2520
|
-
get commonProps() {
|
|
2521
|
-
return this.getCommonProps();
|
|
2522
|
-
}
|
|
2523
|
-
get bodyRef() {
|
|
2524
|
-
return this.getBodyRef();
|
|
2525
|
-
}
|
|
2526
|
-
// ===================== 辅助方法 =====================
|
|
2527
|
-
getSelectedBlock(rows, fromIndex) {
|
|
2528
|
-
const selected = this.commonProps.rowSelectedMap;
|
|
2529
|
-
if (!selected[rows[fromIndex].id]) {
|
|
2530
|
-
return { start: fromIndex, end: fromIndex };
|
|
2531
|
-
}
|
|
2532
|
-
let start = fromIndex;
|
|
2533
|
-
let end = fromIndex;
|
|
2534
|
-
while (start > 0 && selected[rows[start - 1].id]) start--;
|
|
2535
|
-
while (end < rows.length - 1 && selected[rows[end + 1].id]) end++;
|
|
2536
|
-
return { start, end };
|
|
2537
|
-
}
|
|
2538
|
-
getFirstDataColumnText(row) {
|
|
2539
|
-
var _a;
|
|
2540
|
-
const pinning = this.commonProps.tableInstance.getState().columnPinning;
|
|
2541
|
-
const nonDataIds = new Set((_a = pinning == null ? void 0 : pinning.left) != null ? _a : []);
|
|
2542
|
-
const cells = row.getVisibleCells();
|
|
2543
|
-
for (const cell of cells) {
|
|
2544
|
-
if (nonDataIds.has(cell.column.id)) continue;
|
|
2545
|
-
const value = cell.getValue();
|
|
2546
|
-
if (value == null || value === "") return "";
|
|
2547
|
-
return String(value);
|
|
2548
|
-
}
|
|
2549
|
-
return "";
|
|
2550
|
-
}
|
|
2551
|
-
getTableContainerWidth() {
|
|
2552
|
-
var _a, _b;
|
|
2553
|
-
const bodyEl = (_a = this.bodyRef) == null ? void 0 : _a.value;
|
|
2554
|
-
return (_b = bodyEl == null ? void 0 : bodyEl.clientWidth) != null ? _b : 600;
|
|
2555
|
-
}
|
|
2556
|
-
createDragImage(text) {
|
|
2557
|
-
if (text === null) return null;
|
|
2558
|
-
const maxWidth = this.getTableContainerWidth();
|
|
2559
|
-
const dragImage = document.createElement("div");
|
|
2560
|
-
dragImage.textContent = text;
|
|
2561
|
-
Object.assign(dragImage.style, {
|
|
2562
|
-
position: "fixed",
|
|
2563
|
-
padding: "10px 8px",
|
|
2564
|
-
color: "#212121",
|
|
2565
|
-
fontSize: "12px",
|
|
2566
|
-
background: "#FFFFFF",
|
|
2567
|
-
border: "1px solid rgba(217,217,217,1)",
|
|
2568
|
-
boxShadow: "0px 6px 16px 3px rgba(0,0,0,0.08)",
|
|
2569
|
-
borderRadius: "2px",
|
|
2570
|
-
lineHeight: "21px",
|
|
2571
|
-
minWidth: "80px",
|
|
2572
|
-
maxWidth: `${maxWidth}px`,
|
|
2573
|
-
width: "fit-content",
|
|
2574
|
-
boxSizing: "border-box",
|
|
2575
|
-
overflow: "hidden",
|
|
2576
|
-
whiteSpace: "nowrap",
|
|
2577
|
-
textOverflow: "ellipsis",
|
|
2578
|
-
textAlign: "center"
|
|
2579
|
-
});
|
|
2580
|
-
document.body.appendChild(dragImage);
|
|
2581
|
-
return dragImage;
|
|
2582
|
-
}
|
|
2583
|
-
// ===================== 树型拖拽目标计算 =====================
|
|
2584
|
-
calcDragTarget(evt) {
|
|
2585
|
-
const tbody = this.tbodyRef.value;
|
|
2586
|
-
if (!tbody) return null;
|
|
2587
|
-
const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
|
|
2588
|
-
if (!rows.length) return null;
|
|
2589
|
-
const mouseY = evt.originalEvent.clientY;
|
|
2590
|
-
const firstRect = rows[0].getBoundingClientRect();
|
|
2591
|
-
const lastRect = rows[rows.length - 1].getBoundingClientRect();
|
|
2592
|
-
let targetRowEl = null;
|
|
2593
|
-
let rowIndex = -1;
|
|
2594
|
-
if (mouseY <= firstRect.top) {
|
|
2595
|
-
targetRowEl = rows[0];
|
|
2596
|
-
rowIndex = 0;
|
|
2597
|
-
} else if (mouseY >= lastRect.bottom) {
|
|
2598
|
-
targetRowEl = rows[rows.length - 1];
|
|
2599
|
-
rowIndex = rows.length - 1;
|
|
2600
|
-
} else {
|
|
2601
|
-
for (let i = 0; i < rows.length; i++) {
|
|
2602
|
-
const rect2 = rows[i].getBoundingClientRect();
|
|
2603
|
-
if (mouseY >= rect2.top && mouseY < rect2.bottom) {
|
|
2604
|
-
targetRowEl = rows[i];
|
|
2605
|
-
rowIndex = i;
|
|
2606
|
-
break;
|
|
2607
|
-
}
|
|
2608
|
-
}
|
|
2609
|
-
}
|
|
2610
|
-
if (!targetRowEl || rowIndex < 0) return null;
|
|
2611
|
-
const rect = targetRowEl.getBoundingClientRect();
|
|
2612
|
-
const offset = mouseY - rect.top;
|
|
2613
|
-
const rowHeight = rect.height;
|
|
2614
|
-
const targetRowKey = targetRowEl.dataset.rowKey;
|
|
2615
|
-
let position;
|
|
2616
|
-
if (offset < rowHeight * 0.35) position = "before";
|
|
2617
|
-
else if (offset > rowHeight * 0.65) position = "after";
|
|
2618
|
-
else position = "inside";
|
|
2619
|
-
const depth = this.treeCtrl.getRowDepth(targetRowKey);
|
|
2620
|
-
return { rowIndex, position, rowKey: targetRowKey, depth };
|
|
2621
|
-
}
|
|
2622
|
-
resetTreeDragState() {
|
|
2623
|
-
this.dropTarget = null;
|
|
2624
|
-
this.draggingBlock = { start: -1, end: -1 };
|
|
2625
|
-
this.draggingRowKey = null;
|
|
2626
|
-
this.draggingKeys.clear();
|
|
2627
|
-
this.requestUpdate();
|
|
2628
|
-
this.cleanupDragImage();
|
|
2629
|
-
}
|
|
2630
|
-
// ===================== 指示线渲染 =====================
|
|
2631
|
-
getIndicatorLeft(targetRowEl, depth) {
|
|
2632
|
-
var _a;
|
|
2633
|
-
const cfg = this.treeCtrl.getTreeConfig();
|
|
2634
|
-
const indentSize = (_a = cfg == null ? void 0 : cfg.indentSize) != null ? _a : 16;
|
|
2635
|
-
const tbody = this.tbodyRef.value;
|
|
2636
|
-
if (!tbody) return depth * indentSize;
|
|
2637
|
-
const tbodyRect = tbody.getBoundingClientRect();
|
|
2638
|
-
const contentDiv = targetRowEl.querySelector(".tree-cell-content");
|
|
2639
|
-
if (contentDiv) {
|
|
2640
|
-
const hasExpandIcon = !!contentDiv.querySelector(".row-expand-icon");
|
|
2641
|
-
if (hasExpandIcon) {
|
|
2642
|
-
const paddingLeft = parseFloat(getComputedStyle(contentDiv).paddingInlineStart) || 0;
|
|
2643
|
-
return contentDiv.getBoundingClientRect().left - tbodyRect.left + paddingLeft;
|
|
2644
|
-
}
|
|
2645
|
-
const textSpan = contentDiv.querySelector(".tree-cell-text");
|
|
2646
|
-
const refEl = textSpan != null ? textSpan : contentDiv;
|
|
2647
|
-
return refEl.getBoundingClientRect().left - tbodyRect.left;
|
|
2648
|
-
}
|
|
2649
|
-
return depth * indentSize;
|
|
2650
|
-
}
|
|
2651
|
-
renderIndicator() {
|
|
2652
|
-
const tbody = this.tbodyRef.value;
|
|
2653
|
-
if (!tbody) return "";
|
|
2654
|
-
const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
|
|
2655
|
-
if (!rows.length) return "";
|
|
2656
|
-
const isTree = this.treeCtrl.isTreeMode();
|
|
2657
|
-
if (isTree && this.dropTarget) {
|
|
2658
|
-
const { rowIndex, position, depth } = this.dropTarget;
|
|
2659
|
-
const row2 = rows[rowIndex];
|
|
2660
|
-
if (!row2) return "";
|
|
2661
|
-
if (position === "inside") {
|
|
2662
|
-
return b`
|
|
2663
|
-
<div
|
|
2664
|
-
style="
|
|
2665
|
-
position:absolute;
|
|
2666
|
-
left:0;
|
|
2667
|
-
right:0;
|
|
2668
|
-
top:${row2.offsetTop}px;
|
|
2669
|
-
height:${row2.offsetHeight}px;
|
|
2670
|
-
border:2px solid #1677ff;
|
|
2671
|
-
border-radius:2px;
|
|
2672
|
-
pointer-events:none;
|
|
2673
|
-
z-index:10;
|
|
2674
|
-
box-sizing:border-box;
|
|
2675
|
-
"
|
|
2676
|
-
></div>
|
|
2677
|
-
`;
|
|
2678
|
-
}
|
|
2679
|
-
const top2 = position === "before" ? row2.offsetTop : row2.offsetTop + row2.offsetHeight;
|
|
2680
|
-
const left = this.getIndicatorLeft(row2, depth);
|
|
2681
|
-
return b`
|
|
2682
|
-
<div
|
|
2683
|
-
style="
|
|
2684
|
-
position:absolute;
|
|
2685
|
-
left:${left}px;
|
|
2686
|
-
right:0;
|
|
2687
|
-
top:${top2}px;
|
|
2688
|
-
height:2px;
|
|
2689
|
-
background:#1677ff;
|
|
2690
|
-
pointer-events:none;
|
|
2691
|
-
z-index:10;
|
|
2692
|
-
"
|
|
2693
|
-
></div>
|
|
2694
|
-
`;
|
|
2695
|
-
}
|
|
2696
|
-
if (this.currentInsertIndex === null) return "";
|
|
2697
|
-
const index2 = Math.min(this.currentInsertIndex, rows.length - 1);
|
|
2698
|
-
const row = rows[index2];
|
|
2699
|
-
const top = this.currentInsertIndex >= rows.length ? row.offsetTop + row.offsetHeight : row.offsetTop;
|
|
2700
|
-
return b`
|
|
2701
|
-
<div
|
|
2702
|
-
style="
|
|
2703
|
-
position:absolute;
|
|
2704
|
-
left:0;
|
|
2705
|
-
right:0;
|
|
2706
|
-
top:${top}px;
|
|
2707
|
-
height:2px;
|
|
2708
|
-
background:#1677ff;
|
|
2709
|
-
pointer-events:none;
|
|
2710
|
-
z-index:10;
|
|
2711
|
-
"
|
|
2712
|
-
></div>
|
|
2713
|
-
`;
|
|
2714
|
-
}
|
|
2715
|
-
// ===================== Sortable 初始化 =====================
|
|
2716
|
-
initSortable() {
|
|
2717
|
-
var _a, _b;
|
|
2718
|
-
const { rowDrag, virtualized } = this.commonProps;
|
|
2719
|
-
if (!rowDrag || virtualized) {
|
|
2720
|
-
(_a = this.sortable) == null ? void 0 : _a.destroy();
|
|
2721
|
-
this.sortable = void 0;
|
|
2722
|
-
return;
|
|
2723
|
-
}
|
|
2724
|
-
const el = this.tbodyRef.value;
|
|
2725
|
-
if (!el) return;
|
|
2726
|
-
(_b = this.sortable) == null ? void 0 : _b.destroy();
|
|
2727
|
-
this.sortable = sortable_esm_default.create(el, {
|
|
2728
|
-
animation: 0,
|
|
2729
|
-
draggable: "tr[data-row-key]",
|
|
2730
|
-
handle: ".row-drag-handle",
|
|
2731
|
-
onChoose: this.handleChoose,
|
|
2732
|
-
onMove: this.handleMove,
|
|
2733
|
-
onEnd: this.handleEnd,
|
|
2734
|
-
onUnchoose: this.handleUnchoose
|
|
2735
|
-
});
|
|
2736
|
-
}
|
|
2737
|
-
/** 判断某行是否处于拖拽中 */
|
|
2738
|
-
isRowDragging(rowKey, rowIndex) {
|
|
2739
|
-
if (this.draggingKeys.size > 0) {
|
|
2740
|
-
return this.draggingKeys.has(rowKey);
|
|
2741
|
-
}
|
|
2742
|
-
const block = this.draggingBlock;
|
|
2743
|
-
return !!block && rowIndex >= block.start && rowIndex <= block.end;
|
|
2744
|
-
}
|
|
2745
|
-
destroy() {
|
|
2746
|
-
var _a;
|
|
2747
|
-
(_a = this.sortable) == null ? void 0 : _a.destroy();
|
|
2748
|
-
this.sortable = void 0;
|
|
2749
|
-
this.cleanupDragImage();
|
|
2750
|
-
}
|
|
2751
|
-
};
|
|
2752
|
-
|
|
2753
|
-
export {
|
|
2754
|
-
TreeTableController,
|
|
2755
|
-
RowDragController
|
|
2756
|
-
};
|
|
2757
|
-
/*! Bundled license information:
|
|
2758
|
-
|
|
2759
|
-
sortablejs/modular/sortable.esm.js:
|
|
2760
|
-
(**!
|
|
2761
|
-
* Sortable 1.15.7
|
|
2762
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
2763
|
-
* @author owenm <owen23355@gmail.com>
|
|
2764
|
-
* @license MIT
|
|
2765
|
-
*)
|
|
2766
|
-
*/
|