@kdcloudjs/shoelace 1.0.32 → 1.0.34
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.2GJR5YSP.js +25 -0
- package/cdn/chunks/chunk.2HCAMGI7.js +77 -0
- package/cdn/chunks/chunk.2IHX37KI.js +11 -0
- package/cdn/chunks/chunk.2ITBE6Y5.js +97 -0
- package/cdn/chunks/chunk.2JCAGVOF.js +11 -0
- package/cdn/chunks/chunk.2NJUYAZ7.js +292 -0
- package/cdn/chunks/chunk.2YTLEZXT.js +25 -0
- package/cdn/chunks/chunk.34FCZLIW.js +11 -0
- package/cdn/chunks/chunk.37G4R2B4.js +11 -0
- package/cdn/chunks/chunk.3C7AE5A6.js +24 -0
- package/cdn/chunks/chunk.3E5JHGQD.js +11 -0
- package/cdn/chunks/chunk.3FDIEJGG.js +379 -0
- package/cdn/chunks/chunk.3FXIKIQF.js +11 -0
- package/cdn/chunks/chunk.3HAP36DI.js +21 -0
- package/cdn/chunks/chunk.3RKPYVXR.js +354 -0
- package/cdn/chunks/chunk.3VGTR3HM.js +291 -0
- package/cdn/chunks/chunk.3W3SMIQR.js +21 -0
- package/cdn/chunks/chunk.3XBUHQLC.js +24 -0
- package/cdn/chunks/chunk.44D6PKPT.js +49 -0
- package/cdn/chunks/chunk.4G34OTQJ.js +36 -0
- package/cdn/chunks/chunk.4GD4FX5G.js +11 -0
- package/cdn/chunks/chunk.5465RP5X.js +299 -0
- package/cdn/chunks/chunk.55NONECO.js +11 -0
- package/cdn/chunks/chunk.55UD3QSO.js +11 -0
- package/cdn/chunks/chunk.5AMAIFVW.js +330 -0
- package/cdn/chunks/chunk.5H3JUT7K.js +346 -0
- package/cdn/chunks/chunk.5HSQHCIP.js +93 -0
- package/cdn/chunks/chunk.5IGNHTSC.js +175 -0
- package/cdn/chunks/chunk.5JES2FUX.js +21 -0
- package/cdn/chunks/chunk.5L5GOCGA.js +28 -0
- package/cdn/chunks/chunk.5UR55MYH.js +54 -0
- package/cdn/chunks/chunk.5VCCEBFH.js +25 -0
- package/cdn/chunks/chunk.5XI2RTXF.js +11 -0
- package/cdn/chunks/chunk.6BPTE2Z5.js +236 -0
- package/cdn/chunks/chunk.6C5HMTOY.js +11 -0
- package/cdn/chunks/chunk.6JROJDTI.js +11 -0
- package/cdn/chunks/chunk.6RRQQY7A.js +11 -0
- package/cdn/chunks/chunk.6XMKBL5I.js +11 -0
- package/cdn/chunks/chunk.6YSCUJJK.js +21 -0
- package/cdn/chunks/chunk.6ZQRP2N5.js +25 -0
- package/cdn/chunks/chunk.765KQZLH.js +29 -0
- package/cdn/chunks/chunk.7DRV2WIE.js +1925 -0
- package/cdn/chunks/chunk.7HOA72BG.js +191 -0
- package/cdn/chunks/chunk.7LFQ4GYP.js +724 -0
- package/cdn/chunks/chunk.7LVK5TL7.js +29 -0
- package/cdn/chunks/chunk.7NPWNPKT.js +26 -0
- package/cdn/chunks/chunk.7S22GU7E.js +21 -0
- package/cdn/chunks/chunk.7WZYUBPO.js +128 -0
- package/cdn/chunks/chunk.7ZNC2PZA.js +314 -0
- package/cdn/chunks/chunk.A6PU3AYG.js +126 -0
- package/cdn/chunks/chunk.ACBSSBR7.js +24 -0
- package/cdn/chunks/chunk.ACRMNCYG.js +11 -0
- package/cdn/chunks/chunk.ANLVAELE.js +25 -0
- package/cdn/chunks/chunk.AO6FFMRR.js +21 -0
- package/cdn/chunks/chunk.AOE7I2N5.js +120 -0
- package/cdn/chunks/chunk.ATY4YNJW.js +586 -0
- package/cdn/chunks/chunk.ATZTUQEU.js +11 -0
- package/cdn/chunks/chunk.AVDNCUL7.js +220 -0
- package/cdn/chunks/chunk.AWOM5GPI.js +11 -0
- package/cdn/chunks/chunk.AYFPQL5D.js +11 -0
- package/cdn/chunks/chunk.B5FZNIFO.js +27 -0
- package/cdn/chunks/chunk.BD7LSUD2.js +11 -0
- package/cdn/chunks/chunk.BDSSQBJ3.js +21 -0
- package/cdn/chunks/chunk.BDXSURM2.js +27 -0
- package/cdn/chunks/chunk.BTX53VET.js +11 -0
- package/cdn/chunks/chunk.BUT3J3MR.js +11 -0
- package/cdn/chunks/chunk.C324QECZ.js +11 -0
- package/cdn/chunks/chunk.C4MCD6YK.js +11 -0
- package/cdn/chunks/chunk.CEDK3RGV.js +402 -0
- package/cdn/chunks/chunk.CFPQRI2M.js +215 -0
- package/cdn/chunks/chunk.CIP573QS.js +263 -0
- package/cdn/chunks/chunk.CN4FJBBC.js +11 -0
- package/cdn/chunks/chunk.CP24BI27.js +11 -0
- package/cdn/chunks/chunk.CQHBXXUU.js +1990 -0
- package/cdn/chunks/chunk.CQMTC7B5.js +279 -0
- package/cdn/chunks/chunk.CVEV254G.js +1877 -0
- package/cdn/chunks/chunk.D4MESBCP.js +118 -0
- package/cdn/chunks/chunk.D5IEKSXV.js +11 -0
- package/cdn/chunks/chunk.DHWQ6Z5N.js +11 -0
- package/cdn/chunks/chunk.DKXT7H4V.js +24 -0
- package/cdn/chunks/chunk.DTHPCIME.js +2630 -0
- package/cdn/chunks/chunk.DYGVREF3.js +25 -0
- package/cdn/chunks/chunk.EEW2JMNI.js +11 -0
- package/cdn/chunks/chunk.EIUT42LS.js +73 -0
- package/cdn/chunks/chunk.EQYN7JKY.js +11 -0
- package/cdn/chunks/chunk.ETDKP552.js +341 -0
- package/cdn/chunks/chunk.ETLMDBD2.js +103 -0
- package/cdn/chunks/chunk.EWNXWOYE.js +26 -0
- package/cdn/chunks/chunk.EXWUHZ75.js +48 -0
- package/cdn/chunks/chunk.F43QRONZ.js +11 -0
- package/cdn/chunks/chunk.F4BBNSCW.js +236 -0
- package/cdn/chunks/chunk.F7RKW4JL.js +255 -0
- package/cdn/chunks/chunk.FCDK5VBK.js +11 -0
- package/cdn/chunks/chunk.FKMYKPJU.js +219 -0
- package/cdn/chunks/chunk.FL6V75CH.js +510 -0
- package/cdn/chunks/chunk.FNTGQNEY.js +71 -0
- package/cdn/chunks/chunk.FUQJKBRT.js +92 -0
- package/cdn/chunks/chunk.FW42Q5NO.js +24 -0
- package/cdn/chunks/chunk.FWAY6DXN.js +186 -0
- package/cdn/chunks/chunk.G65JIV7W.js +67 -0
- package/cdn/chunks/chunk.G675JTKG.js +11 -0
- package/cdn/chunks/chunk.GML4NF4H.js +197 -0
- package/cdn/chunks/chunk.GRJ2WIAC.js +26 -0
- package/cdn/chunks/chunk.GYFGNVBP.js +11 -0
- package/cdn/chunks/chunk.H24IL4CA.js +27 -0
- package/cdn/chunks/chunk.H64MITPE.js +11 -0
- package/cdn/chunks/chunk.HAGR7TQ7.js +29 -0
- package/cdn/chunks/chunk.HAHQFBAY.js +302 -0
- package/cdn/chunks/chunk.HI3PGHP4.js +21 -0
- package/cdn/chunks/chunk.HKWVODC4.js +135 -0
- package/cdn/chunks/chunk.HLSSGQEO.js +127 -0
- package/cdn/chunks/chunk.HLYWTC7W.js +25 -0
- package/cdn/chunks/chunk.HUBSGTKM.js +11 -0
- package/cdn/chunks/chunk.HWIM6SDO.js +28 -0
- package/cdn/chunks/chunk.HXAEBZKG.js +11 -0
- package/cdn/chunks/chunk.HXWXPU7B.js +21 -0
- package/cdn/chunks/chunk.I4LSWYYV.js +5845 -0
- package/cdn/chunks/chunk.I754Q6FL.js +11 -0
- package/cdn/chunks/chunk.I7VYH6ZR.js +11 -0
- package/cdn/chunks/chunk.ICYGFRT5.js +11 -0
- package/cdn/chunks/chunk.IHWTXHPP.js +24 -0
- package/cdn/chunks/chunk.IILAJSBS.js +21 -0
- package/cdn/chunks/chunk.IPJ5MP7A.js +276 -0
- package/cdn/chunks/chunk.ISDP7PUP.js +154 -0
- package/cdn/chunks/chunk.IZ5IHKCJ.js +24 -0
- package/cdn/chunks/chunk.JA4S2YH2.js +233 -0
- package/cdn/chunks/chunk.JANPWRR4.js +161 -0
- package/cdn/chunks/chunk.JFNJOTIS.js +21 -0
- package/cdn/chunks/chunk.JK4Z5SAS.js +25 -0
- package/cdn/chunks/chunk.JQPEDIHC.js +21 -0
- package/cdn/chunks/chunk.JSE2HPAW.js +29 -0
- package/cdn/chunks/chunk.JT4CU7SH.js +11 -0
- package/cdn/chunks/chunk.JVKHCHUS.js +21 -0
- package/cdn/chunks/chunk.K36UPXDS.js +215 -0
- package/cdn/chunks/chunk.K6EPTCXP.js +391 -0
- package/cdn/chunks/chunk.KBRUB65H.js +142 -0
- package/cdn/chunks/chunk.KCJJF2KH.js +11 -0
- package/cdn/chunks/chunk.KGR7TK5C.js +367 -0
- package/cdn/chunks/chunk.KVJSEV64.js +605 -0
- package/cdn/chunks/chunk.KXEJSKNE.js +25 -0
- package/cdn/chunks/chunk.L5VXMFLB.js +27 -0
- package/cdn/chunks/chunk.L64SHTF7.js +11 -0
- package/cdn/chunks/chunk.LB2E557G.js +11 -0
- package/cdn/chunks/chunk.LGLFPZB2.js +24 -0
- package/cdn/chunks/chunk.LNUAGCJT.js +11 -0
- package/cdn/chunks/chunk.LPH76AFN.js +75 -0
- package/cdn/chunks/chunk.LPRAR6ZM.js +114 -0
- package/cdn/chunks/chunk.LPZOES5I.js +11 -0
- package/cdn/chunks/chunk.LUZB2TNG.js +11 -0
- package/cdn/chunks/chunk.MB5ILXWI.js +11 -0
- package/cdn/chunks/chunk.MDF6SD7F.js +25 -0
- package/cdn/chunks/chunk.MF7IYA5W.js +11 -0
- package/cdn/chunks/chunk.MFBW2XUA.js +355 -0
- package/cdn/chunks/chunk.MVEF2H5W.js +110 -0
- package/cdn/chunks/chunk.N6EQMUH5.js +21 -0
- package/cdn/chunks/chunk.NCE5FG4X.js +1206 -0
- package/cdn/chunks/chunk.NDAA223N.js +21 -0
- package/cdn/chunks/chunk.NRDSLO6K.js +21 -0
- package/cdn/chunks/chunk.NV2SLCL5.js +28 -0
- package/cdn/chunks/chunk.O2IAGHY3.js +526 -0
- package/cdn/chunks/chunk.O6KPMRNQ.js +11 -0
- package/cdn/chunks/chunk.OAO47QE3.js +21 -0
- package/cdn/chunks/chunk.OL35ZOQK.js +11 -0
- package/cdn/chunks/chunk.OL5VD76W.js +27 -0
- package/cdn/chunks/chunk.ORQZYIDH.js +243 -0
- package/cdn/chunks/chunk.OVP4HPNM.js +246 -0
- package/cdn/chunks/chunk.OZDSKUEL.js +530 -0
- package/cdn/chunks/chunk.PCWSYSE5.js +158 -0
- package/cdn/chunks/chunk.PF3SLCF3.js +24 -0
- package/cdn/chunks/chunk.PFVIF4HR.js +50 -0
- package/cdn/chunks/chunk.PIEQF4GN.js +24 -0
- package/cdn/chunks/chunk.PS34EHJJ.js +42 -0
- package/cdn/chunks/chunk.PV56VW4V.js +26 -0
- package/cdn/chunks/chunk.PXYHVU2P.js +1321 -0
- package/cdn/chunks/chunk.PZOH2WAZ.js +122 -0
- package/cdn/chunks/chunk.QEE4XVCK.js +11 -0
- package/cdn/chunks/chunk.QHW2NDPT.js +87 -0
- package/cdn/chunks/chunk.QLAFK3BN.js +70 -0
- package/cdn/chunks/chunk.QWGDB67O.js +79 -0
- package/cdn/chunks/chunk.QYCD6B2C.js +21 -0
- package/cdn/chunks/chunk.R3YFV4YC.js +11 -0
- package/cdn/chunks/chunk.RAFC5GZT.js +11 -0
- package/cdn/chunks/chunk.RAS3HSJB.js +216 -0
- package/cdn/chunks/chunk.RF36G7WA.js +42 -0
- package/cdn/chunks/chunk.RGR3SHLO.js +305 -0
- package/cdn/chunks/chunk.RHDPVM2W.js +21 -0
- package/cdn/chunks/chunk.RHFQROCI.js +134 -0
- package/cdn/chunks/chunk.RHMDLBOI.js +21 -0
- package/cdn/chunks/chunk.RJJK4OUK.js +11 -0
- package/cdn/chunks/chunk.RLV3XBTM.js +313 -0
- package/cdn/chunks/chunk.RTOM7ELM.js +356 -0
- package/cdn/chunks/chunk.RTXK4AHH.js +11 -0
- package/cdn/chunks/chunk.S2COUOHB.js +21 -0
- package/cdn/chunks/chunk.S44VGK73.js +63 -0
- package/cdn/chunks/chunk.SA3XNIW7.js +24 -0
- package/cdn/chunks/chunk.SKWWVPGU.js +11 -0
- package/cdn/chunks/chunk.SLLJNT3U.js +11 -0
- package/cdn/chunks/chunk.SMYEF65J.js +177 -0
- package/cdn/chunks/chunk.SPDSOUMJ.js +24 -0
- package/cdn/chunks/chunk.SSEO4UFR.js +24 -0
- package/cdn/chunks/chunk.SSYAHMFV.js +21 -0
- package/cdn/chunks/chunk.SX7R4RJT.js +11 -0
- package/cdn/chunks/chunk.SY4DJUXK.js +11 -0
- package/cdn/chunks/chunk.T43ZUL66.js +450 -0
- package/cdn/chunks/chunk.T5MZPHHJ.js +24 -0
- package/cdn/chunks/chunk.TD3FIWXA.js +11 -0
- package/cdn/chunks/chunk.THL7Z5U3.js +24 -0
- package/cdn/chunks/chunk.THX2KLFT.js +11 -0
- package/cdn/chunks/chunk.U545HFW2.js +24 -0
- package/cdn/chunks/chunk.U5Q2QM5A.js +31 -0
- package/cdn/chunks/chunk.U7PJ5RSK.js +24 -0
- package/cdn/chunks/chunk.UGWZKFPZ.js +91 -0
- package/cdn/chunks/chunk.UJAVPLNF.js +11 -0
- package/cdn/chunks/chunk.UJYNR2GE.js +11 -0
- package/cdn/chunks/chunk.UJZANYT4.js +82 -0
- package/cdn/chunks/chunk.UMEEI2T4.js +11 -0
- package/cdn/chunks/chunk.UMVJTSF4.js +199 -0
- package/cdn/chunks/chunk.UP3AR3RO.js +92 -0
- package/cdn/chunks/chunk.UPQVVT7H.js +587 -0
- package/cdn/chunks/chunk.UROUQLBF.js +27 -0
- package/cdn/chunks/chunk.USUUJCN3.js +11 -0
- package/cdn/chunks/chunk.UT2SGSZV.js +113 -0
- package/cdn/chunks/chunk.UUSL52C6.js +26 -0
- package/cdn/chunks/chunk.UV35PSRG.js +153 -0
- package/cdn/chunks/chunk.UWEIQEZI.js +7409 -0
- package/cdn/chunks/chunk.UZNJKL72.js +24 -0
- package/cdn/chunks/chunk.VAGFXOPA.js +158 -0
- package/cdn/chunks/chunk.VBJLGA6W.js +11 -0
- package/cdn/chunks/chunk.VHRPHAUE.js +11 -0
- package/cdn/chunks/chunk.VJDRZQHD.js +28 -0
- package/cdn/chunks/chunk.VMB4OHFF.js +24 -0
- package/cdn/chunks/chunk.VT3APVII.js +29 -0
- package/cdn/chunks/chunk.VT5GU4PO.js +59 -0
- package/cdn/chunks/chunk.W3VW7C4A.js +24 -0
- package/cdn/chunks/chunk.W4EC7HMG.js +11 -0
- package/cdn/chunks/chunk.W63N2L7G.js +28 -0
- package/cdn/chunks/chunk.WDXFZSSB.js +822 -0
- package/cdn/chunks/chunk.WHQLJUGJ.js +29 -0
- package/cdn/chunks/chunk.WJ6OUZWJ.js +21 -0
- package/cdn/chunks/chunk.WMJIRWBB.js +21 -0
- package/cdn/chunks/chunk.WNTVXWPT.js +21 -0
- package/cdn/chunks/chunk.WXGTDZUG.js +27 -0
- package/cdn/chunks/chunk.WZJQ6DKX.js +11 -0
- package/cdn/chunks/chunk.X67AEX45.js +21 -0
- package/cdn/chunks/chunk.X6RH4PXF.js +49 -0
- package/cdn/chunks/chunk.X6VVTTJ4.js +11 -0
- package/cdn/chunks/chunk.XARMFD5B.js +114 -0
- package/cdn/chunks/chunk.XC6R2UO6.js +29 -0
- package/cdn/chunks/chunk.XCNZPBYE.js +137 -0
- package/cdn/chunks/chunk.XLQQ7JUL.js +336 -0
- package/cdn/chunks/chunk.XQWNMUHF.js +25 -0
- package/cdn/chunks/chunk.XUM7OHAL.js +133 -0
- package/cdn/chunks/chunk.Y645TKQC.js +42 -0
- package/cdn/chunks/chunk.YDPS57NQ.js +11 -0
- package/cdn/chunks/chunk.YDVPMIBC.js +11 -0
- package/cdn/chunks/chunk.YELUGBAS.js +21 -0
- package/cdn/chunks/chunk.YLIPLXMW.js +11 -0
- package/cdn/chunks/chunk.YMXKKTFY.js +271 -0
- package/cdn/chunks/chunk.YNCWMCV5.js +11 -0
- package/cdn/chunks/chunk.YT2Y3VGH.js +33 -0
- package/cdn/chunks/chunk.YTM3ECHL.js +60 -0
- package/cdn/chunks/chunk.Z7S45SD4.js +95 -0
- package/cdn/chunks/chunk.ZDQBR7SK.js +21 -0
- package/cdn/chunks/chunk.ZGTK34TN.js +11 -0
- package/cdn/chunks/chunk.ZGUA3IDG.js +11 -0
- package/cdn/chunks/chunk.ZMUFNVSX.js +11 -0
- package/cdn/chunks/chunk.ZOV3IRU2.js +455 -0
- package/cdn/chunks/chunk.ZPTD2OBT.js +11 -0
- package/cdn/chunks/chunk.ZTDHXQZP.js +21 -0
- package/cdn/chunks/chunk.ZVN3RLR6.js +331 -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 +5 -5
- package/cdn/components/animated-image/animated-image.js +6 -6
- 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 +4 -4
- package/cdn/components/breadcrumb/breadcrumb.js +5 -5
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/cdn/components/button/button.component.js +9 -9
- package/cdn/components/button/button.js +10 -10
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +12 -12
- package/cdn/components/calendar/calendar.js +12 -12
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +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 +7 -7
- package/cdn/components/checkbox/checkbox.js +8 -8
- 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 +20 -20
- package/cdn/components/color-picker/color-picker.js +21 -21
- package/cdn/components/copy-button/copy-button.component.js +8 -8
- package/cdn/components/copy-button/copy-button.js +9 -9
- package/cdn/components/date-panel/date-panel.component.js +16 -16
- package/cdn/components/date-panel/date-panel.js +16 -16
- package/cdn/components/date-panel/date-panel.styles.js +1 -1
- package/cdn/components/datepicker/datepicker.component.js +23 -23
- package/cdn/components/datepicker/datepicker.js +23 -23
- package/cdn/components/daterangepicker/daterangepicker.component.js +19 -19
- package/cdn/components/daterangepicker/daterangepicker.js +20 -20
- package/cdn/components/daterangepicker/daterangepicker.styles.js +1 -1
- package/cdn/components/details/details.component.js +6 -6
- package/cdn/components/details/details.js +7 -7
- package/cdn/components/dialog/dialog.component.js +9 -9
- package/cdn/components/dialog/dialog.js +10 -10
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +9 -9
- package/cdn/components/drawer/drawer.js +10 -10
- package/cdn/components/dropdown/dropdown.component.js +6 -6
- package/cdn/components/dropdown/dropdown.js +7 -7
- package/cdn/components/float-button/float-button.component.js +10 -10
- package/cdn/components/float-button/float-button.js +11 -11
- package/cdn/components/float-button-group/float-button-group.component.js +6 -6
- package/cdn/components/float-button-group/float-button-group.js +7 -7
- 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 +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/icon-button/icon-button.component.js +6 -6
- package/cdn/components/icon-button/icon-button.js +7 -7
- package/cdn/components/image-comparer/image-comparer.component.js +6 -6
- package/cdn/components/image-comparer/image-comparer.js +7 -7
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +10 -10
- package/cdn/components/input/input.js +11 -11
- package/cdn/components/input/input.styles.js +1 -1
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +11 -11
- package/cdn/components/menu-item/menu-item.js +12 -12
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +14 -14
- package/cdn/components/nav/nav.js +15 -15
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +2 -2
- package/cdn/components/nav-item/nav-item.js +3 -3
- package/cdn/components/nav-submenu/nav-submenu.component.js +8 -8
- package/cdn/components/nav-submenu/nav-submenu.js +9 -9
- package/cdn/components/option/option.component.js +6 -6
- package/cdn/components/option/option.js +7 -7
- package/cdn/components/pagination/custom-select.js +17 -17
- package/cdn/components/pagination/pagination.component.js +18 -18
- package/cdn/components/pagination/pagination.js +18 -18
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +3 -3
- package/cdn/components/progress-bar/progress-bar.js +4 -4
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +3 -3
- package/cdn/components/qr-code/qr-code.js +4 -4
- package/cdn/components/radio/radio.component.js +6 -6
- package/cdn/components/radio/radio.js +7 -7
- package/cdn/components/radio-button/radio-button.component.js +3 -3
- package/cdn/components/radio-button/radio-button.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +5 -5
- package/cdn/components/radio-group/radio-group.js +6 -6
- package/cdn/components/range/range.component.js +7 -7
- package/cdn/components/range/range.js +8 -8
- package/cdn/components/rating/rating.component.js +6 -6
- package/cdn/components/rating/rating.js +7 -7
- 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 +12 -12
- package/cdn/components/select/select.js +13 -13
- package/cdn/components/sender/sender.component.js +21 -21
- package/cdn/components/sender/sender.js +22 -22
- package/cdn/components/sender/sender.styles.js +1 -1
- package/cdn/components/sender-header/sender-header.component.js +11 -11
- package/cdn/components/sender-header/sender-header.js +12 -12
- package/cdn/components/sender-header/sender-header.styles.js +1 -1
- package/cdn/components/sender-switch/sender-switch.component.js +11 -11
- package/cdn/components/sender-switch/sender-switch.js +12 -12
- package/cdn/components/sender-switch/sender-switch.styles.js +1 -1
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/space/space.component.js +15 -0
- package/cdn/components/space/space.js +16 -0
- package/cdn/components/space/space.styles.js +9 -0
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +3 -3
- package/cdn/components/split-panel/split-panel.js +4 -4
- package/cdn/components/switch/switch.component.js +6 -6
- package/cdn/components/switch/switch.js +7 -7
- package/cdn/components/switch/switch.styles.js +1 -1
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +3 -3
- package/cdn/components/tab-panel/tab-panel.js +4 -4
- package/cdn/components/table/body-table.js +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/footer-table.js +5 -5
- package/cdn/components/table/head-table.js +28 -28
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +39 -39
- package/cdn/components/table/table.js +40 -40
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +5 -5
- package/cdn/components/textarea/textarea.js +6 -6
- package/cdn/components/think/think.component.js +7 -7
- package/cdn/components/think/think.js +8 -8
- package/cdn/components/thought-chain/thought-chain.component.js +3 -3
- package/cdn/components/thought-chain/thought-chain.js +4 -4
- package/cdn/components/thought-chain/thought-chain.styles.js +1 -1
- 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-item/thought-chain-item.styles.js +1 -1
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +7 -7
- package/cdn/components/thought-chain-node/thought-chain-node.js +8 -8
- package/cdn/components/time-panel/time-panel.component.js +11 -11
- package/cdn/components/time-panel/time-panel.js +11 -11
- package/cdn/components/time-panel/time-panel.styles.js +1 -1
- package/cdn/components/timepicker/timepicker.component.js +24 -24
- package/cdn/components/timepicker/timepicker.js +24 -24
- package/cdn/components/timepicker/timepicker.styles.js +1 -1
- package/cdn/components/tooltip/tooltip.component.js +4 -4
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/components/tree/tree.component.js +13 -13
- package/cdn/components/tree/tree.js +14 -14
- package/cdn/components/tree-item/tree-item.component.js +11 -11
- package/cdn/components/tree-item/tree-item.js +12 -12
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/components/x-markdown/markdown/components.js +3 -3
- package/cdn/components/x-markdown/markdown/render.js +4 -4
- package/cdn/components/x-markdown/x-markdown.component.js +7 -7
- package/cdn/components/x-markdown/x-markdown.js +8 -8
- package/cdn/custom-elements.json +4912 -4347
- package/cdn/react/alert/index.js +10 -10
- package/cdn/react/animated-image/index.js +6 -6
- 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 +5 -5
- package/cdn/react/breadcrumb-item/index.js +4 -4
- package/cdn/react/button/index.js +10 -10
- 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 +8 -8
- package/cdn/react/col/index.js +3 -3
- package/cdn/react/color-picker/index.js +21 -21
- package/cdn/react/copy-button/index.js +9 -9
- package/cdn/react/date-panel/index.js +17 -17
- package/cdn/react/datepicker/index.js +24 -24
- package/cdn/react/daterangepicker/index.js +20 -20
- package/cdn/react/details/index.js +7 -7
- package/cdn/react/dialog/index.js +10 -10
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +10 -10
- package/cdn/react/dropdown/index.js +7 -7
- package/cdn/react/float-button/index.js +11 -11
- package/cdn/react/float-button-group/index.js +7 -7
- 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 +4 -4
- package/cdn/react/icon-button/index.js +7 -7
- package/cdn/react/image-comparer/index.js +7 -7
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.js +295 -289
- package/cdn/react/input/index.js +11 -11
- 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 +15 -15
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +3 -3
- package/cdn/react/nav-submenu/index.js +9 -9
- package/cdn/react/option/index.js +7 -7
- package/cdn/react/pagination/index.js +19 -19
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +4 -4
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +4 -4
- package/cdn/react/radio/index.js +7 -7
- package/cdn/react/radio-button/index.js +4 -4
- package/cdn/react/radio-group/index.js +6 -6
- package/cdn/react/range/index.js +8 -8
- package/cdn/react/rating/index.js +7 -7
- 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 +13 -13
- package/cdn/react/sender/index.js +22 -22
- package/cdn/react/sender-header/index.js +12 -12
- package/cdn/react/sender-switch/index.js +12 -12
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/space/index.js +16 -0
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +4 -4
- package/cdn/react/switch/index.js +7 -7
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +4 -4
- package/cdn/react/table/index.js +40 -40
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +6 -6
- package/cdn/react/think/index.js +8 -8
- package/cdn/react/thought-chain/index.js +4 -4
- package/cdn/react/thought-chain-item/index.js +9 -9
- package/cdn/react/thought-chain-node/index.js +8 -8
- package/cdn/react/timepicker/index.js +25 -25
- package/cdn/react/tooltip/index.js +5 -5
- package/cdn/react/tree/index.js +14 -14
- package/cdn/react/tree-item/index.js +12 -12
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/react/x-markdown/index.js +8 -8
- package/cdn/shoelace.js +282 -276
- package/cdn/themes/dark.css +156 -39
- package/cdn/themes/dark.styles.js +164 -39
- package/cdn/themes/light.css +2 -2
- package/cdn/themes/light.styles.js +2 -2
- package/cdn/themes/nova_dark.css +729 -0
- package/cdn/themes/nova_dark.styles.js +748 -0
- package/cdn/themes/nova_light.css +742 -0
- package/cdn/themes/nova_light.styles.js +761 -0
- package/cdn/types/vue/index.d.ts +670 -580
- package/cdn/vscode.html-custom-data.json +541 -437
- package/cdn/web-types.json +1513 -1303
- package/dist/chunks/chunk.23MSEQTW.js +337 -0
- package/dist/chunks/chunk.245URFNJ.js +11 -0
- package/dist/chunks/chunk.27X4EC45.js +25 -0
- package/dist/chunks/chunk.2B2U6OIZ.js +427 -0
- package/dist/chunks/chunk.2BGJ5BT6.js +11 -0
- package/dist/chunks/chunk.2BHRP7FZ.js +21 -0
- package/dist/chunks/chunk.2CF5YBVQ.js +21 -0
- package/dist/chunks/chunk.2MTP7GWG.js +598 -0
- package/dist/chunks/chunk.2TEPVCQC.js +134 -0
- package/dist/chunks/chunk.2UCK7XX3.js +25 -0
- package/dist/chunks/chunk.2UUJAZ43.js +29 -0
- package/dist/chunks/chunk.2VL5QPEL.js +24 -0
- package/dist/chunks/chunk.32NRPGLV.js +93 -0
- package/dist/chunks/chunk.366H3MAH.js +217 -0
- package/dist/chunks/chunk.3FVW7UFF.js +25 -0
- package/dist/chunks/chunk.3J5MMV5Z.js +11 -0
- package/dist/chunks/chunk.3NUDKZJS.js +39 -0
- package/dist/chunks/chunk.3PLTQS7I.js +11 -0
- package/dist/chunks/chunk.3RIHVA7Q.js +1200 -0
- package/dist/chunks/chunk.3U6ZMXSM.js +11 -0
- package/dist/chunks/chunk.47OXWJOC.js +29 -0
- package/dist/chunks/chunk.4EQOIJBZ.js +25 -0
- package/dist/chunks/chunk.4HMJR4HD.js +181 -0
- package/dist/chunks/chunk.4SYRMEUO.js +11 -0
- package/dist/chunks/chunk.4V5VCP7H.js +111 -0
- package/dist/chunks/chunk.4XSA43XY.js +417 -0
- package/dist/chunks/chunk.54BLIPWP.js +27 -0
- package/dist/chunks/chunk.56VIR2O2.js +11 -0
- package/dist/chunks/chunk.5H7S7XRI.js +50 -0
- package/dist/chunks/chunk.5OP2OODL.js +11 -0
- package/dist/chunks/chunk.5Q2HY3LU.js +91 -0
- package/dist/chunks/chunk.5RCX5EHJ.js +25 -0
- package/dist/chunks/chunk.5SVOPADM.js +29 -0
- package/dist/chunks/chunk.5UDJ22LK.js +335 -0
- package/dist/chunks/chunk.5W35PS6N.js +25 -0
- package/dist/chunks/chunk.5Y6SCA67.js +24 -0
- package/dist/chunks/chunk.5YLBZMJ3.js +11 -0
- package/dist/chunks/chunk.676ZT5MF.js +153 -0
- package/dist/chunks/chunk.6EGX5ZUW.js +21 -0
- package/dist/chunks/chunk.6IEWWWF2.js +28 -0
- package/dist/chunks/chunk.6K6OCNJC.js +154 -0
- package/dist/chunks/chunk.6MN7FKZF.js +231 -0
- package/dist/chunks/chunk.6OVSLZQN.js +87 -0
- package/dist/chunks/chunk.6PJB3HS2.js +90 -0
- package/dist/chunks/chunk.6QGCLTB4.js +167 -0
- package/dist/chunks/chunk.6TKHRVGE.js +24 -0
- package/dist/chunks/chunk.6YU3LVWX.js +28 -0
- package/dist/chunks/chunk.72LPYABC.js +23 -0
- package/dist/chunks/chunk.73XWLERR.js +11 -0
- package/dist/chunks/chunk.77FSKQA2.js +11 -0
- package/dist/chunks/chunk.77FXFALY.js +125 -0
- package/dist/chunks/chunk.7DZEKX22.js +231 -0
- package/dist/chunks/chunk.7ENFFKDW.js +11 -0
- package/dist/chunks/chunk.7R454VKL.js +11 -0
- package/dist/chunks/chunk.7T2BT6CI.js +31 -0
- package/dist/chunks/chunk.A34TTKMN.js +11 -0
- package/dist/chunks/chunk.ADRLOA4I.js +11 -0
- package/dist/chunks/chunk.AS3HIPXG.js +11 -0
- package/dist/chunks/chunk.AUQHSUK7.js +11 -0
- package/dist/chunks/chunk.AV7IFJUA.js +11 -0
- package/dist/chunks/chunk.AZYNQIRI.js +444 -0
- package/dist/chunks/chunk.B2YMUL3C.js +11 -0
- package/dist/chunks/chunk.B3DCMAFW.js +25 -0
- package/dist/chunks/chunk.B3TQK2P6.js +24 -0
- package/dist/chunks/chunk.B4ERRIM5.js +21 -0
- package/dist/chunks/chunk.B5S6YLNG.js +24 -0
- package/dist/chunks/chunk.BIK6ZQWN.js +27 -0
- package/dist/chunks/chunk.CAYELPHG.js +34 -0
- package/dist/chunks/chunk.CCSUIKQY.js +240 -0
- package/dist/chunks/chunk.CCT5CILK.js +11 -0
- package/dist/chunks/chunk.CGIIFE52.js +502 -0
- package/dist/chunks/chunk.CPTUPTC6.js +11 -0
- package/dist/chunks/chunk.CRLZ6NFX.js +11 -0
- package/dist/chunks/chunk.CUQWJCVZ.js +86 -0
- package/dist/chunks/chunk.CVFMIXEB.js +42 -0
- package/dist/chunks/chunk.CXDNEHI2.js +21 -0
- package/dist/chunks/chunk.DJGUVAJO.js +527 -0
- package/dist/chunks/chunk.DWVZAQ47.js +397 -0
- package/dist/chunks/chunk.E4C3IGIG.js +361 -0
- package/dist/chunks/chunk.EIN7KYTI.js +56 -0
- package/dist/chunks/chunk.ELIZ5VGX.js +100 -0
- package/dist/chunks/chunk.EP6YC2TK.js +11 -0
- package/dist/chunks/chunk.EPJ6TMYH.js +22 -0
- package/dist/chunks/chunk.EPX5WJLG.js +109 -0
- package/dist/chunks/chunk.EVRWFH4T.js +11 -0
- package/dist/chunks/chunk.EZTQI6LA.js +21 -0
- package/dist/chunks/chunk.F3XYCERU.js +25 -0
- package/dist/chunks/chunk.F56ISQAK.js +25 -0
- package/dist/chunks/chunk.FBBWB54K.js +11 -0
- package/dist/chunks/chunk.FFKLQ22R.js +27 -0
- package/dist/chunks/chunk.FLET5YMZ.js +75 -0
- package/dist/chunks/chunk.FN6HYY2A.js +260 -0
- package/dist/chunks/chunk.FNOIFC2B.js +148 -0
- package/dist/chunks/chunk.FNSRLTUF.js +63 -0
- package/dist/chunks/chunk.FP6AICM2.js +116 -0
- package/dist/chunks/chunk.FPLUUQXQ.js +11 -0
- package/dist/chunks/chunk.FY5IYSJH.js +320 -0
- package/dist/chunks/chunk.FZEYIHVV.js +448 -0
- package/dist/chunks/chunk.G42BP2OY.js +21 -0
- package/dist/chunks/chunk.G7I6RNZ3.js +171 -0
- package/dist/chunks/chunk.GKFOS7IY.js +294 -0
- package/dist/chunks/chunk.GPP64HXL.js +11 -0
- package/dist/chunks/chunk.GUGM3LKL.js +11 -0
- package/dist/chunks/chunk.GVZIRKVO.js +11 -0
- package/dist/chunks/chunk.GWRZZC7D.js +21 -0
- package/dist/chunks/chunk.H4UFLC2O.js +24 -0
- package/dist/chunks/chunk.H6IMSZSX.js +214 -0
- package/dist/chunks/chunk.HMXGNGEU.js +11 -0
- package/dist/chunks/chunk.HNYARDWL.js +11 -0
- package/dist/chunks/chunk.HQTY33A6.js +100 -0
- package/dist/chunks/chunk.HSLB6VVS.js +21 -0
- package/dist/chunks/chunk.HUVF263W.js +11 -0
- package/dist/chunks/chunk.HXTTXJT5.js +188 -0
- package/dist/chunks/chunk.HYFM3KW5.js +11 -0
- package/dist/chunks/chunk.HZXPYJWN.js +21 -0
- package/dist/chunks/chunk.I4B3PMJQ.js +11 -0
- package/dist/chunks/chunk.IAABG4FT.js +45 -0
- package/dist/chunks/chunk.IAKFV7KT.js +96 -0
- package/dist/chunks/chunk.IEG36AU3.js +113 -0
- package/dist/chunks/chunk.IMC6NTDO.js +263 -0
- package/dist/chunks/chunk.IPZTP7LA.js +21 -0
- package/dist/chunks/chunk.ITBHBIGF.js +21 -0
- package/dist/chunks/chunk.J2VNILYC.js +21 -0
- package/dist/chunks/chunk.JBJSYITQ.js +170 -0
- package/dist/chunks/chunk.JMDU33IK.js +24 -0
- package/dist/chunks/chunk.JMO7MU4Q.js +227 -0
- package/dist/chunks/chunk.JNZX5CPR.js +286 -0
- package/dist/chunks/chunk.JPH7TJ6E.js +29 -0
- package/dist/chunks/chunk.JTCWICT5.js +21 -0
- package/dist/chunks/chunk.JURZEXKN.js +117 -0
- package/dist/chunks/chunk.JYDJ33E2.js +80 -0
- package/dist/chunks/chunk.JZHXMFR7.js +949 -0
- package/dist/chunks/chunk.JZO3M2A2.js +27 -0
- package/dist/chunks/chunk.KBXDB6OA.js +11 -0
- package/dist/chunks/chunk.KFFW423J.js +11 -0
- package/dist/chunks/chunk.KH7ZVAN3.js +1317 -0
- package/dist/chunks/chunk.KJGRJ3SC.js +11 -0
- package/dist/chunks/chunk.KKWHIEEP.js +11 -0
- package/dist/chunks/chunk.KNQP6OC2.js +11 -0
- package/dist/chunks/chunk.KRQFHJBF.js +11 -0
- package/dist/chunks/chunk.KTEA6DFE.js +11 -0
- package/dist/chunks/chunk.KUGUVIE7.js +26 -0
- package/dist/chunks/chunk.KVN3VHZG.js +11 -0
- package/dist/chunks/chunk.KVTHSDRN.js +11 -0
- package/dist/chunks/chunk.L3PBEVYY.js +280 -0
- package/dist/chunks/chunk.LHCRIHIL.js +28 -0
- package/dist/chunks/chunk.LU5XWDXG.js +45 -0
- package/dist/chunks/chunk.M4EZ7JFA.js +581 -0
- package/dist/chunks/chunk.M6ONIO7G.js +33 -0
- package/dist/chunks/chunk.MBAAFLKQ.js +11 -0
- package/dist/chunks/chunk.MDWTBPXN.js +26 -0
- package/dist/chunks/chunk.ME5M6A3J.js +11 -0
- package/dist/chunks/chunk.MEMFDLNI.js +24 -0
- package/dist/chunks/chunk.MPCXBEEH.js +384 -0
- package/dist/chunks/chunk.MQIENZPH.js +26 -0
- package/dist/chunks/chunk.MU4PGB52.js +11 -0
- package/dist/chunks/chunk.MZ3ECDPW.js +274 -0
- package/dist/chunks/chunk.N2ERYPBZ.js +194 -0
- package/dist/chunks/chunk.N66SY7US.js +21 -0
- package/dist/chunks/chunk.N7AFF6KT.js +22 -0
- package/dist/chunks/chunk.N7OXLPH7.js +315 -0
- package/dist/chunks/chunk.NGKYXY7P.js +11 -0
- package/dist/chunks/chunk.NGLNNTLJ.js +67 -0
- package/dist/chunks/chunk.NK6UNO3Q.js +504 -0
- package/dist/chunks/chunk.NKL4KZI5.js +212 -0
- package/dist/chunks/chunk.NLTQFXNT.js +11 -0
- package/dist/chunks/chunk.NNPCDD3Z.js +21 -0
- package/dist/chunks/chunk.NPTTMDBK.js +11 -0
- package/dist/chunks/chunk.NS5UOY3H.js +21 -0
- package/dist/chunks/chunk.OADKN5TF.js +11 -0
- package/dist/chunks/chunk.OASYD7GP.js +126 -0
- package/dist/chunks/chunk.OGH3QKUZ.js +11 -0
- package/dist/chunks/chunk.OT4TAWUR.js +11 -0
- package/dist/chunks/chunk.OU2IO7MC.js +119 -0
- package/dist/chunks/chunk.OYN6D75L.js +352 -0
- package/dist/chunks/chunk.P2U4ATXS.js +21 -0
- package/dist/chunks/chunk.P3DAQVW3.js +11 -0
- package/dist/chunks/chunk.P3UQWYAM.js +85 -0
- package/dist/chunks/chunk.P4JEQDZ5.js +21 -0
- package/dist/chunks/chunk.PBDXSAH7.js +59 -0
- package/dist/chunks/chunk.PHLPI44O.js +25 -0
- package/dist/chunks/chunk.PIGETXDZ.js +11 -0
- package/dist/chunks/chunk.PJ52CLJF.js +11 -0
- package/dist/chunks/chunk.PKAEQI6O.js +11 -0
- package/dist/chunks/chunk.PPD3LGLI.js +11 -0
- package/dist/chunks/chunk.PTLDEF3V.js +21 -0
- package/dist/chunks/chunk.PZNWYNJT.js +11 -0
- package/dist/chunks/chunk.QL7Q6WMB.js +1868 -0
- package/dist/chunks/chunk.QNTGPVGP.js +21 -0
- package/dist/chunks/chunk.QO77DD23.js +21 -0
- package/dist/chunks/chunk.QQ7M72M3.js +29 -0
- package/dist/chunks/chunk.QWGYNTC4.js +73 -0
- package/dist/chunks/chunk.QXFDD63K.js +26 -0
- package/dist/chunks/chunk.QYUQPUSY.js +550 -0
- package/dist/chunks/chunk.R43BQTP3.js +11 -0
- package/dist/chunks/chunk.REA7O5GL.js +11 -0
- package/dist/chunks/chunk.RENK3RWB.js +353 -0
- package/dist/chunks/chunk.RL2EHOSD.js +28 -0
- package/dist/chunks/chunk.RQ6OIJ6Q.js +111 -0
- package/dist/chunks/chunk.RRHTFOVW.js +57 -0
- package/dist/chunks/chunk.RS45IY6Z.js +11 -0
- package/dist/chunks/chunk.RU2Q5API.js +11 -0
- package/dist/chunks/chunk.RXYBQKJX.js +24 -0
- package/dist/chunks/chunk.S3BGZZWM.js +293 -0
- package/dist/chunks/chunk.S57RCITC.js +11 -0
- package/dist/chunks/chunk.S6G23XMX.js +24 -0
- package/dist/chunks/chunk.S6GLWOXN.js +21 -0
- package/dist/chunks/chunk.S6NVSXNB.js +11 -0
- package/dist/chunks/chunk.SFYIUAXU.js +371 -0
- package/dist/chunks/chunk.SHMNWWBI.js +27 -0
- package/dist/chunks/chunk.SJWHD3LY.js +11 -0
- package/dist/chunks/chunk.SPJZ6GCU.js +11 -0
- package/dist/chunks/chunk.SU7AUF6H.js +306 -0
- package/dist/chunks/chunk.SZEZ4BFE.js +11 -0
- package/dist/chunks/chunk.T3XGRRYO.js +24 -0
- package/dist/chunks/chunk.T7HK3VEM.js +11 -0
- package/dist/chunks/chunk.TBKS37H3.js +21 -0
- package/dist/chunks/chunk.TMM366ME.js +28 -0
- package/dist/chunks/chunk.TQWVS3SB.js +11 -0
- package/dist/chunks/chunk.TVSTIJPB.js +11 -0
- package/dist/chunks/chunk.TVTP3ERG.js +24 -0
- package/dist/chunks/chunk.U4Y2AQLJ.js +128 -0
- package/dist/chunks/chunk.U6HHBH75.js +11 -0
- package/dist/chunks/chunk.UBJWN4PR.js +27 -0
- package/dist/chunks/chunk.UL3UMVUP.js +25 -0
- package/dist/chunks/chunk.UNJJA52B.js +299 -0
- package/dist/chunks/chunk.UQNPA54S.js +918 -0
- package/dist/chunks/chunk.UUNSAJ75.js +45 -0
- package/dist/chunks/chunk.UYXN5UT2.js +11 -0
- package/dist/chunks/chunk.VBBO6NB7.js +151 -0
- package/dist/chunks/chunk.VE3NTK6V.js +213 -0
- package/dist/chunks/chunk.VP6PXFTQ.js +25 -0
- package/dist/chunks/chunk.VQ2XNGBV.js +324 -0
- package/dist/chunks/chunk.VXB2SNXC.js +21 -0
- package/dist/chunks/chunk.VYLY3VXK.js +192 -0
- package/dist/chunks/chunk.W46CUUHQ.js +24 -0
- package/dist/chunks/chunk.W4EYM3D6.js +21 -0
- package/dist/chunks/chunk.W5FBM4O6.js +11 -0
- package/dist/chunks/chunk.WBETLCNQ.js +11 -0
- package/dist/chunks/chunk.WFMKUAG6.js +24 -0
- package/dist/chunks/chunk.WH4D7PJE.js +11 -0
- package/dist/chunks/chunk.WI3T2OQG.js +86 -0
- package/dist/chunks/chunk.WMU5YFHA.js +11 -0
- package/dist/chunks/chunk.WNNFS37O.js +24 -0
- package/dist/chunks/chunk.WTXRXRLN.js +52 -0
- package/dist/chunks/chunk.WVPKA7MQ.js +29 -0
- package/dist/chunks/chunk.WVUXHX3P.js +11 -0
- package/dist/chunks/chunk.XLPD6UV4.js +147 -0
- package/dist/chunks/chunk.XMH6BESO.js +75 -0
- package/dist/chunks/chunk.XMUBTO7A.js +29 -0
- package/dist/chunks/chunk.XNO7SHK6.js +39 -0
- package/dist/chunks/chunk.XPV2OBUP.js +11 -0
- package/dist/chunks/chunk.YMFILAFJ.js +247 -0
- package/dist/chunks/chunk.YPW5BKE6.js +814 -0
- package/dist/chunks/chunk.YQKHJ53V.js +21 -0
- package/dist/chunks/chunk.YXAED7HG.js +24 -0
- package/dist/chunks/chunk.Z45AC46O.js +311 -0
- package/dist/chunks/chunk.Z5WR4ZWM.js +24 -0
- package/dist/chunks/chunk.Z6Y7DDCC.js +135 -0
- package/dist/chunks/chunk.ZAMNT4BC.js +21 -0
- package/dist/chunks/chunk.ZHA5BM6V.js +209 -0
- package/dist/chunks/chunk.ZIZEG46M.js +21 -0
- package/dist/chunks/chunk.ZQPGAHOU.js +348 -0
- package/dist/chunks/chunk.ZVQE26UN.js +24 -0
- package/dist/chunks/chunk.ZW3KYSMV.js +126 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +9 -9
- package/dist/components/calendar/calendar.js +9 -9
- 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 +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- 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 +16 -16
- package/dist/components/color-picker/color-picker.js +17 -17
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/date-panel/date-panel.component.js +13 -13
- package/dist/components/date-panel/date-panel.js +13 -13
- package/dist/components/date-panel/date-panel.styles.js +1 -1
- package/dist/components/datepicker/datepicker.component.js +19 -19
- package/dist/components/datepicker/datepicker.js +19 -19
- package/dist/components/daterangepicker/daterangepicker.component.js +15 -15
- package/dist/components/daterangepicker/daterangepicker.js +16 -16
- package/dist/components/daterangepicker/daterangepicker.styles.js +1 -1
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/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 +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/float-button/float-button.component.js +7 -7
- package/dist/components/float-button/float-button.js +8 -8
- package/dist/components/float-button-group/float-button-group.component.js +4 -4
- package/dist/components/float-button-group/float-button-group.js +5 -5
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon-button/icon-button.component.js +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/image-comparer/image-comparer.component.js +4 -4
- package/dist/components/image-comparer/image-comparer.js +5 -5
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +6 -6
- package/dist/components/input/input.js +7 -7
- package/dist/components/input/input.styles.js +1 -1
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +12 -12
- package/dist/components/nav/nav.js +13 -13
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +6 -6
- package/dist/components/nav-submenu/nav-submenu.js +7 -7
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/custom-select.js +12 -12
- package/dist/components/pagination/pagination.component.js +13 -13
- package/dist/components/pagination/pagination.js +13 -13
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +4 -4
- package/dist/components/rating/rating.js +5 -5
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/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 +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/sender/sender.component.js +17 -17
- package/dist/components/sender/sender.js +18 -18
- package/dist/components/sender/sender.styles.js +1 -1
- package/dist/components/sender-header/sender-header.component.js +8 -8
- package/dist/components/sender-header/sender-header.js +9 -9
- package/dist/components/sender-header/sender-header.styles.js +1 -1
- package/dist/components/sender-switch/sender-switch.component.js +8 -8
- package/dist/components/sender-switch/sender-switch.js +9 -9
- package/dist/components/sender-switch/sender-switch.styles.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/space/space.component.js +10 -0
- package/dist/components/space/space.js +11 -0
- package/dist/components/space/space.styles.js +7 -0
- 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 +3 -3
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.component.js +5 -5
- package/dist/components/tab/tab.js +6 -6
- package/dist/components/tab-group/tab-group.component.js +6 -6
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +3 -3
- package/dist/components/table/features/index.js +1 -1
- package/dist/components/table/features/row-drag-controller.js +1 -1
- package/dist/components/table/footer-table.js +2 -2
- package/dist/components/table/head-table.js +22 -22
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +32 -32
- package/dist/components/table/table.js +33 -33
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/think/think.component.js +5 -5
- package/dist/components/think/think.js +6 -6
- package/dist/components/thought-chain/thought-chain.component.js +3 -3
- package/dist/components/thought-chain/thought-chain.js +4 -4
- package/dist/components/thought-chain/thought-chain.styles.js +1 -1
- 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-item/thought-chain-item.styles.js +1 -1
- package/dist/components/thought-chain-node/thought-chain-node.component.js +5 -5
- package/dist/components/thought-chain-node/thought-chain-node.js +6 -6
- package/dist/components/time-panel/time-panel.component.js +8 -8
- package/dist/components/time-panel/time-panel.js +8 -8
- package/dist/components/time-panel/time-panel.styles.js +1 -1
- package/dist/components/timepicker/timepicker.component.js +20 -20
- package/dist/components/timepicker/timepicker.js +20 -20
- package/dist/components/timepicker/timepicker.styles.js +1 -1
- 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/components/x-markdown/markdown/render.js +2 -2
- package/dist/components/x-markdown/x-markdown.component.js +5 -5
- package/dist/components/x-markdown/x-markdown.js +6 -6
- package/dist/custom-elements.json +4912 -4347
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +5 -5
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/col/index.js +3 -3
- package/dist/react/color-picker/index.js +17 -17
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/date-panel/index.js +14 -14
- package/dist/react/datepicker/index.js +20 -20
- package/dist/react/daterangepicker/index.js +16 -16
- package/dist/react/details/index.js +5 -5
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- package/dist/react/dropdown/index.js +5 -5
- package/dist/react/float-button/index.js +8 -8
- package/dist/react/float-button-group/index.js +5 -5
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +4 -4
- package/dist/react/icon-button/index.js +5 -5
- package/dist/react/image-comparer/index.js +5 -5
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.js +289 -283
- package/dist/react/input/index.js +7 -7
- 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 +13 -13
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +7 -7
- package/dist/react/option/index.js +5 -5
- package/dist/react/pagination/index.js +14 -14
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +5 -5
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +5 -5
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +5 -5
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/row/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +10 -10
- package/dist/react/sender/index.js +18 -18
- package/dist/react/sender-header/index.js +9 -9
- package/dist/react/sender-switch/index.js +9 -9
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/space/index.js +11 -0
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +4 -4
- package/dist/react/tab/index.js +6 -6
- package/dist/react/tab-group/index.js +7 -7
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +33 -33
- package/dist/react/tag/index.js +6 -6
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/think/index.js +6 -6
- package/dist/react/thought-chain/index.js +4 -4
- package/dist/react/thought-chain-item/index.js +7 -7
- package/dist/react/thought-chain-node/index.js +6 -6
- package/dist/react/timepicker/index.js +21 -21
- 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/react/x-markdown/index.js +6 -6
- package/dist/shoelace.js +275 -269
- package/dist/themes/dark.css +156 -39
- package/dist/themes/dark.styles.js +164 -39
- package/dist/themes/light.css +2 -2
- package/dist/themes/light.styles.js +2 -2
- package/dist/themes/nova_dark.css +729 -0
- package/dist/themes/nova_dark.styles.d.ts +2 -0
- package/dist/themes/nova_dark.styles.js +748 -0
- package/dist/themes/nova_light.css +742 -0
- package/dist/themes/nova_light.styles.d.ts +2 -0
- package/dist/themes/nova_light.styles.js +761 -0
- package/dist/types/vue/index.d.ts +670 -580
- package/dist/vscode.html-custom-data.json +541 -437
- package/dist/web-types.json +1513 -1303
- package/package.json +1 -1
- package/cdn/chunks/chunk.22GJIWXX.js +0 -97
- package/cdn/chunks/chunk.2BHLJNNN.js +0 -11
- package/cdn/chunks/chunk.2C4ZQYGU.js +0 -21
- package/cdn/chunks/chunk.2FUYB335.js +0 -215
- package/cdn/chunks/chunk.2IHBQTP5.js +0 -21
- package/cdn/chunks/chunk.2KCKLOXC.js +0 -77
- package/cdn/chunks/chunk.2LBQRO3Q.js +0 -11
- package/cdn/chunks/chunk.2PV5VRDY.js +0 -73
- package/cdn/chunks/chunk.2ZSANMKJ.js +0 -11
- package/cdn/chunks/chunk.32JIUZ2E.js +0 -21
- package/cdn/chunks/chunk.35Y6VPRT.js +0 -28
- package/cdn/chunks/chunk.36VMCZTW.js +0 -127
- package/cdn/chunks/chunk.375UEKIG.js +0 -21
- package/cdn/chunks/chunk.37USSGQA.js +0 -21
- package/cdn/chunks/chunk.3CYEJIVZ.js +0 -587
- package/cdn/chunks/chunk.3FMRATHK.js +0 -11
- package/cdn/chunks/chunk.3PQFIVQJ.js +0 -25
- package/cdn/chunks/chunk.3R2ZYFZP.js +0 -24
- package/cdn/chunks/chunk.3VJQ2BSO.js +0 -586
- package/cdn/chunks/chunk.3Y7KVZXA.js +0 -49
- package/cdn/chunks/chunk.42UIFGIX.js +0 -11
- package/cdn/chunks/chunk.45FBYZ7R.js +0 -27
- package/cdn/chunks/chunk.47CWJN2H.js +0 -11
- package/cdn/chunks/chunk.4DZHFVDU.js +0 -24
- package/cdn/chunks/chunk.4IO3KIPI.js +0 -526
- package/cdn/chunks/chunk.4JSIJVYS.js +0 -91
- package/cdn/chunks/chunk.4MZ2UHIL.js +0 -233
- package/cdn/chunks/chunk.4NLYJZXK.js +0 -29
- package/cdn/chunks/chunk.4OLNCS4I.js +0 -24
- package/cdn/chunks/chunk.4PLTUYLD.js +0 -11
- package/cdn/chunks/chunk.52E7U2XC.js +0 -11
- package/cdn/chunks/chunk.5C2KGGKA.js +0 -7407
- package/cdn/chunks/chunk.5DSHVTBU.js +0 -338
- package/cdn/chunks/chunk.5ISRJXBG.js +0 -199
- package/cdn/chunks/chunk.5IXRH63Y.js +0 -158
- package/cdn/chunks/chunk.5OAZITCT.js +0 -27
- package/cdn/chunks/chunk.5V35VQ4Y.js +0 -113
- package/cdn/chunks/chunk.5VN4EHJ7.js +0 -1156
- package/cdn/chunks/chunk.62JYGEDK.js +0 -822
- package/cdn/chunks/chunk.67WPLUKE.js +0 -11
- package/cdn/chunks/chunk.6DYZD3HR.js +0 -21
- package/cdn/chunks/chunk.6DZGYUMD.js +0 -11
- package/cdn/chunks/chunk.6MTLG6GW.js +0 -128
- package/cdn/chunks/chunk.6SLRZ5CC.js +0 -11
- package/cdn/chunks/chunk.6TE6Y3SU.js +0 -11
- package/cdn/chunks/chunk.6UMQHEH4.js +0 -153
- package/cdn/chunks/chunk.6ZY6H774.js +0 -11
- package/cdn/chunks/chunk.72XAODK4.js +0 -11
- package/cdn/chunks/chunk.73FESCBP.js +0 -11
- package/cdn/chunks/chunk.7AYCGL6E.js +0 -24
- package/cdn/chunks/chunk.7FDLKXHH.js +0 -45
- package/cdn/chunks/chunk.7IZGCLI2.js +0 -11
- package/cdn/chunks/chunk.7VLFZCDI.js +0 -21
- package/cdn/chunks/chunk.7WEOJDWJ.js +0 -21
- package/cdn/chunks/chunk.ADHGYD6K.js +0 -11
- package/cdn/chunks/chunk.AEFBLX65.js +0 -161
- package/cdn/chunks/chunk.AIQAKGFF.js +0 -27
- package/cdn/chunks/chunk.APTZUBVG.js +0 -26
- package/cdn/chunks/chunk.ATFJ7BDG.js +0 -103
- package/cdn/chunks/chunk.ATK753QY.js +0 -25
- package/cdn/chunks/chunk.B2ZDBLPQ.js +0 -11
- package/cdn/chunks/chunk.BAAHF3FZ.js +0 -21
- package/cdn/chunks/chunk.BHHJTPY3.js +0 -21
- package/cdn/chunks/chunk.BO4CQOED.js +0 -5845
- package/cdn/chunks/chunk.BZQKIYXC.js +0 -29
- package/cdn/chunks/chunk.C3G6HXW6.js +0 -11
- package/cdn/chunks/chunk.C63DUUAH.js +0 -11
- package/cdn/chunks/chunk.CGX4MX36.js +0 -27
- package/cdn/chunks/chunk.CLJP7P53.js +0 -25
- package/cdn/chunks/chunk.CMQFWU26.js +0 -11
- package/cdn/chunks/chunk.CQH4R6Q6.js +0 -24
- package/cdn/chunks/chunk.CQJGUP47.js +0 -11
- package/cdn/chunks/chunk.CRRVAYFX.js +0 -24
- package/cdn/chunks/chunk.CSVCD2EF.js +0 -135
- package/cdn/chunks/chunk.D2VAWCYS.js +0 -11
- package/cdn/chunks/chunk.D2WYPMZJ.js +0 -114
- package/cdn/chunks/chunk.DAPDH7BP.js +0 -29
- package/cdn/chunks/chunk.DDAODWE3.js +0 -79
- package/cdn/chunks/chunk.DFUOAFTW.js +0 -21
- package/cdn/chunks/chunk.DMYD3Q6J.js +0 -24
- package/cdn/chunks/chunk.DOPCXLID.js +0 -314
- package/cdn/chunks/chunk.DTJKNA7H.js +0 -11
- package/cdn/chunks/chunk.DX4YDMKP.js +0 -292
- package/cdn/chunks/chunk.DYCVWB6O.js +0 -134
- package/cdn/chunks/chunk.E364D63H.js +0 -215
- package/cdn/chunks/chunk.EA2NVLY4.js +0 -75
- package/cdn/chunks/chunk.F62SV5GR.js +0 -1676
- package/cdn/chunks/chunk.F6EMM6N7.js +0 -1990
- package/cdn/chunks/chunk.F6WTWYX7.js +0 -341
- package/cdn/chunks/chunk.F7Q4KCSJ.js +0 -11
- package/cdn/chunks/chunk.FD4BWOTV.js +0 -21
- package/cdn/chunks/chunk.FI2UJABU.js +0 -11
- package/cdn/chunks/chunk.FM45HMMC.js +0 -346
- package/cdn/chunks/chunk.FQRNXQ4C.js +0 -271
- package/cdn/chunks/chunk.FW3XXKDA.js +0 -2631
- package/cdn/chunks/chunk.FX25LJSJ.js +0 -11
- package/cdn/chunks/chunk.FXWXIOL2.js +0 -11
- package/cdn/chunks/chunk.FYDHGROB.js +0 -26
- package/cdn/chunks/chunk.FYNAMMNA.js +0 -29
- package/cdn/chunks/chunk.GBABMMXE.js +0 -354
- package/cdn/chunks/chunk.GF6BDN6A.js +0 -11
- package/cdn/chunks/chunk.GFZKSTR4.js +0 -11
- package/cdn/chunks/chunk.GIJCGKSV.js +0 -11
- package/cdn/chunks/chunk.GJIAUDGM.js +0 -50
- package/cdn/chunks/chunk.GRZFS7OB.js +0 -87
- package/cdn/chunks/chunk.GVJPX4FB.js +0 -24
- package/cdn/chunks/chunk.GYIYROU4.js +0 -137
- package/cdn/chunks/chunk.H6W6LOAJ.js +0 -63
- package/cdn/chunks/chunk.H7AJIGT2.js +0 -11
- package/cdn/chunks/chunk.HDWZ3ZDL.js +0 -60
- package/cdn/chunks/chunk.HHQRVAAM.js +0 -291
- package/cdn/chunks/chunk.HIDCMMCK.js +0 -89
- package/cdn/chunks/chunk.HJWMNGL2.js +0 -11
- package/cdn/chunks/chunk.HY2DU6HS.js +0 -197
- package/cdn/chunks/chunk.HZSLHLHF.js +0 -21
- package/cdn/chunks/chunk.I6RABVSB.js +0 -11
- package/cdn/chunks/chunk.IAJV3N4Q.js +0 -95
- package/cdn/chunks/chunk.INXWYVVI.js +0 -28
- package/cdn/chunks/chunk.IVPOE6W7.js +0 -27
- package/cdn/chunks/chunk.IXEGKEOK.js +0 -24
- package/cdn/chunks/chunk.IZEGURSJ.js +0 -11
- package/cdn/chunks/chunk.J3ISPOVI.js +0 -24
- package/cdn/chunks/chunk.J56KXZXB.js +0 -120
- package/cdn/chunks/chunk.JAWTHXWQ.js +0 -1255
- package/cdn/chunks/chunk.JF7HSU5I.js +0 -25
- package/cdn/chunks/chunk.JKXFCUFN.js +0 -336
- package/cdn/chunks/chunk.JQD5MJPF.js +0 -11
- package/cdn/chunks/chunk.JSBEUCZ6.js +0 -455
- package/cdn/chunks/chunk.JWQD27XP.js +0 -25
- package/cdn/chunks/chunk.KERD64T5.js +0 -11
- package/cdn/chunks/chunk.KF3II6F5.js +0 -11
- package/cdn/chunks/chunk.KG53RXN4.js +0 -313
- package/cdn/chunks/chunk.KQ32NOBP.js +0 -11
- package/cdn/chunks/chunk.KRKLE66Q.js +0 -33
- package/cdn/chunks/chunk.KYQ4P7VT.js +0 -24
- package/cdn/chunks/chunk.KZONJ6SM.js +0 -24
- package/cdn/chunks/chunk.L2XJJ4ZB.js +0 -11
- package/cdn/chunks/chunk.L56USDF4.js +0 -158
- package/cdn/chunks/chunk.L5OY2FXM.js +0 -220
- package/cdn/chunks/chunk.LGIM6JC6.js +0 -21
- package/cdn/chunks/chunk.LHTAA75I.js +0 -246
- package/cdn/chunks/chunk.LSSCDJTD.js +0 -11
- package/cdn/chunks/chunk.LVTA2GU3.js +0 -133
- package/cdn/chunks/chunk.M33X74G3.js +0 -191
- package/cdn/chunks/chunk.M6KQWEUJ.js +0 -391
- package/cdn/chunks/chunk.MIWROZDV.js +0 -82
- package/cdn/chunks/chunk.MMZXWP6E.js +0 -118
- package/cdn/chunks/chunk.MXX4OLRN.js +0 -331
- package/cdn/chunks/chunk.NCEQSEUX.js +0 -70
- package/cdn/chunks/chunk.NFO24LCM.js +0 -25
- package/cdn/chunks/chunk.NLZDPQHO.js +0 -11
- package/cdn/chunks/chunk.NO3TLBS6.js +0 -42
- package/cdn/chunks/chunk.NOKRLB3M.js +0 -11
- package/cdn/chunks/chunk.NQMHY36X.js +0 -11
- package/cdn/chunks/chunk.NTAJ72YR.js +0 -25
- package/cdn/chunks/chunk.NTX2PSNR.js +0 -25
- package/cdn/chunks/chunk.NYYRPLSZ.js +0 -49
- package/cdn/chunks/chunk.NZU6BSSA.js +0 -512
- package/cdn/chunks/chunk.O3L3BELI.js +0 -11
- package/cdn/chunks/chunk.O67ZIY66.js +0 -11
- package/cdn/chunks/chunk.OBRHBPDC.js +0 -11
- package/cdn/chunks/chunk.OH7NMQG4.js +0 -11
- package/cdn/chunks/chunk.OJ2HZFEV.js +0 -11
- package/cdn/chunks/chunk.OKXMJTGY.js +0 -11
- package/cdn/chunks/chunk.OMX7IOOR.js +0 -11
- package/cdn/chunks/chunk.OQYOZDNV.js +0 -367
- package/cdn/chunks/chunk.OREJRTGE.js +0 -243
- package/cdn/chunks/chunk.ORMXZSFQ.js +0 -11
- package/cdn/chunks/chunk.OSWXVLHF.js +0 -279
- package/cdn/chunks/chunk.OUHIJZZR.js +0 -154
- package/cdn/chunks/chunk.OVNPI46I.js +0 -126
- package/cdn/chunks/chunk.OXVLM2PO.js +0 -24
- package/cdn/chunks/chunk.P4FMR5NR.js +0 -11
- package/cdn/chunks/chunk.P5KUOKG6.js +0 -21
- package/cdn/chunks/chunk.P6JZ5DU7.js +0 -21
- package/cdn/chunks/chunk.PDDOT6LJ.js +0 -21
- package/cdn/chunks/chunk.PEYJO3OY.js +0 -11
- package/cdn/chunks/chunk.PI5RZMOI.js +0 -21
- package/cdn/chunks/chunk.PK6MIU6Z.js +0 -330
- package/cdn/chunks/chunk.PLHADOQ2.js +0 -110
- package/cdn/chunks/chunk.PRMTG7YQ.js +0 -21
- package/cdn/chunks/chunk.PTUPCJMB.js +0 -24
- package/cdn/chunks/chunk.Q2TRA26O.js +0 -24
- package/cdn/chunks/chunk.QBRK2HGN.js +0 -11
- package/cdn/chunks/chunk.QL2HZJUJ.js +0 -21
- package/cdn/chunks/chunk.QMWCJ4S7.js +0 -11
- package/cdn/chunks/chunk.QNATTURP.js +0 -11
- package/cdn/chunks/chunk.QPA3S64U.js +0 -11
- package/cdn/chunks/chunk.QSJIOSQG.js +0 -28
- package/cdn/chunks/chunk.QZNEXD7L.js +0 -236
- package/cdn/chunks/chunk.R2GUNDC5.js +0 -11
- package/cdn/chunks/chunk.RYS3HA7N.js +0 -67
- package/cdn/chunks/chunk.SZFAGLK5.js +0 -54
- package/cdn/chunks/chunk.T5FW3CT4.js +0 -605
- package/cdn/chunks/chunk.T5H3S4HI.js +0 -27
- package/cdn/chunks/chunk.T7KOZRIJ.js +0 -24
- package/cdn/chunks/chunk.TCSFI34V.js +0 -25
- package/cdn/chunks/chunk.TE7GEDY6.js +0 -379
- package/cdn/chunks/chunk.TF7CFS3U.js +0 -21
- package/cdn/chunks/chunk.TMN3TQWK.js +0 -11
- package/cdn/chunks/chunk.TQD7QAVQ.js +0 -263
- package/cdn/chunks/chunk.TTGJKAMC.js +0 -26
- package/cdn/chunks/chunk.TWOCTPT4.js +0 -71
- package/cdn/chunks/chunk.TXJ4VH5I.js +0 -25
- package/cdn/chunks/chunk.U3TQU7XC.js +0 -175
- package/cdn/chunks/chunk.UBXVJ5DT.js +0 -276
- package/cdn/chunks/chunk.UCJLAY7A.js +0 -11
- package/cdn/chunks/chunk.UEFZUGQR.js +0 -36
- package/cdn/chunks/chunk.UHD2SVBA.js +0 -24
- package/cdn/chunks/chunk.UJBP3X3W.js +0 -11
- package/cdn/chunks/chunk.ULJSHWM3.js +0 -305
- package/cdn/chunks/chunk.UT5DFWZF.js +0 -28
- package/cdn/chunks/chunk.UUVTBD2A.js +0 -34
- package/cdn/chunks/chunk.UY5WX6C3.js +0 -122
- package/cdn/chunks/chunk.VBKSHZG6.js +0 -114
- package/cdn/chunks/chunk.VLKFFKR6.js +0 -510
- package/cdn/chunks/chunk.VM2BWT5C.js +0 -11
- package/cdn/chunks/chunk.VV72BKRR.js +0 -11
- package/cdn/chunks/chunk.VVAESIBH.js +0 -11
- package/cdn/chunks/chunk.VVO44MUZ.js +0 -11
- package/cdn/chunks/chunk.VXJ36URO.js +0 -216
- package/cdn/chunks/chunk.VXT2YYFS.js +0 -219
- package/cdn/chunks/chunk.VZ4IO2SU.js +0 -29
- package/cdn/chunks/chunk.VZWAOU6O.js +0 -26
- package/cdn/chunks/chunk.W4M65UPR.js +0 -302
- package/cdn/chunks/chunk.W7B25I3M.js +0 -28
- package/cdn/chunks/chunk.WJ426UE7.js +0 -21
- package/cdn/chunks/chunk.WK4ZKVY6.js +0 -29
- package/cdn/chunks/chunk.WLIQ3JLU.js +0 -21
- package/cdn/chunks/chunk.WMP7CG46.js +0 -26
- package/cdn/chunks/chunk.WQYDRV2O.js +0 -24
- package/cdn/chunks/chunk.WSLGL7HA.js +0 -11
- package/cdn/chunks/chunk.X2RYRLT2.js +0 -236
- package/cdn/chunks/chunk.X4AOTUOW.js +0 -21
- package/cdn/chunks/chunk.X52S4RF5.js +0 -11
- package/cdn/chunks/chunk.XFZ6AKF6.js +0 -177
- package/cdn/chunks/chunk.XGGECA6G.js +0 -11
- package/cdn/chunks/chunk.XGV2E6U3.js +0 -450
- package/cdn/chunks/chunk.XJCXTN72.js +0 -11
- package/cdn/chunks/chunk.XKNVE7RD.js +0 -93
- package/cdn/chunks/chunk.XLTWU6Q5.js +0 -186
- package/cdn/chunks/chunk.XSG33SHB.js +0 -11
- package/cdn/chunks/chunk.XUVFO7PK.js +0 -255
- package/cdn/chunks/chunk.Y2LZ2SKX.js +0 -724
- package/cdn/chunks/chunk.Y2Y2VQLM.js +0 -42
- package/cdn/chunks/chunk.Y7DVP7N5.js +0 -11
- package/cdn/chunks/chunk.YAEHNW4N.js +0 -1925
- package/cdn/chunks/chunk.YC6KAMKV.js +0 -142
- package/cdn/chunks/chunk.YDNJNSWE.js +0 -11
- package/cdn/chunks/chunk.YGUOKOOI.js +0 -21
- package/cdn/chunks/chunk.YIZAIJFY.js +0 -21
- package/cdn/chunks/chunk.YNISPACI.js +0 -343
- package/cdn/chunks/chunk.YOISCY5H.js +0 -29
- package/cdn/chunks/chunk.YSCMMPDC.js +0 -11
- package/cdn/chunks/chunk.YSK4YS7S.js +0 -24
- package/cdn/chunks/chunk.YSO77235.js +0 -11
- package/cdn/chunks/chunk.YV5VHLPA.js +0 -11
- package/cdn/chunks/chunk.Z26DCWV6.js +0 -29
- package/cdn/chunks/chunk.Z27Q3ZRU.js +0 -21
- package/cdn/chunks/chunk.Z3P4WEN5.js +0 -299
- package/cdn/chunks/chunk.ZBUVYKJW.js +0 -21
- package/cdn/chunks/chunk.ZHDLX7AM.js +0 -11
- package/cdn/chunks/chunk.ZKLS4QPQ.js +0 -25
- package/cdn/chunks/chunk.ZMHSRMKN.js +0 -27
- package/cdn/chunks/chunk.ZT6PXVLC.js +0 -402
- package/cdn/chunks/chunk.ZXNCNFZF.js +0 -24
- package/cdn/themes/nova.css +0 -674
- package/cdn/themes/nova.styles.js +0 -691
- package/dist/chunks/chunk.23TLPZVT.js +0 -171
- package/dist/chunks/chunk.26SCCLYY.js +0 -96
- package/dist/chunks/chunk.2DF3IW6S.js +0 -260
- package/dist/chunks/chunk.2EA23QDM.js +0 -21
- package/dist/chunks/chunk.2LNFLOLP.js +0 -24
- package/dist/chunks/chunk.2NDBF2XR.js +0 -247
- package/dist/chunks/chunk.323MRUTD.js +0 -91
- package/dist/chunks/chunk.325RUAEG.js +0 -29
- package/dist/chunks/chunk.37ODMRKG.js +0 -25
- package/dist/chunks/chunk.3AINOOTS.js +0 -25
- package/dist/chunks/chunk.3EOJVTR3.js +0 -299
- package/dist/chunks/chunk.3ILQMNTZ.js +0 -11
- package/dist/chunks/chunk.3P4V4P3H.js +0 -153
- package/dist/chunks/chunk.3STPB52K.js +0 -27
- package/dist/chunks/chunk.3SZVHDKE.js +0 -29
- package/dist/chunks/chunk.3YHNIVVX.js +0 -109
- package/dist/chunks/chunk.453W67RW.js +0 -11
- package/dist/chunks/chunk.456SA7OE.js +0 -11
- package/dist/chunks/chunk.4CHFBCQT.js +0 -167
- package/dist/chunks/chunk.4DK5CSJZ.js +0 -11
- package/dist/chunks/chunk.4GUHVZ2G.js +0 -21
- package/dist/chunks/chunk.4H67K62S.js +0 -29
- package/dist/chunks/chunk.4JYRH5GU.js +0 -217
- package/dist/chunks/chunk.4NB33WQT.js +0 -21
- package/dist/chunks/chunk.4REBK5EZ.js +0 -100
- package/dist/chunks/chunk.532ZYU3S.js +0 -90
- package/dist/chunks/chunk.5E2BAEVT.js +0 -75
- package/dist/chunks/chunk.5FVPEAVC.js +0 -25
- package/dist/chunks/chunk.5PLSGYKT.js +0 -113
- package/dist/chunks/chunk.5SMBLG5P.js +0 -28
- package/dist/chunks/chunk.5YU6NMJE.js +0 -11
- package/dist/chunks/chunk.5ZA7EUGU.js +0 -11
- package/dist/chunks/chunk.646YVPQG.js +0 -11
- package/dist/chunks/chunk.64BOJ6TO.js +0 -85
- package/dist/chunks/chunk.6B4WDWBX.js +0 -11
- package/dist/chunks/chunk.6GO6GKHL.js +0 -21
- package/dist/chunks/chunk.6I5L5JDP.js +0 -11
- package/dist/chunks/chunk.6JHJGMXS.js +0 -11
- package/dist/chunks/chunk.6JQ6N5CR.js +0 -24
- package/dist/chunks/chunk.6MI4FM5D.js +0 -11
- package/dist/chunks/chunk.6RUAZUNA.js +0 -11
- package/dist/chunks/chunk.6V7W7HEY.js +0 -11
- package/dist/chunks/chunk.6WQZBDEA.js +0 -29
- package/dist/chunks/chunk.6YPXVX7E.js +0 -11
- package/dist/chunks/chunk.73PS3CM4.js +0 -24
- package/dist/chunks/chunk.75NQDSZQ.js +0 -24
- package/dist/chunks/chunk.7F2MGDBD.js +0 -11
- package/dist/chunks/chunk.7I33CNXG.js +0 -52
- package/dist/chunks/chunk.7NO6S5TS.js +0 -11
- package/dist/chunks/chunk.7QFIQXKG.js +0 -25
- package/dist/chunks/chunk.7XP2M4KA.js +0 -125
- package/dist/chunks/chunk.ABAEZKYD.js +0 -11
- package/dist/chunks/chunk.ABZK4LBO.js +0 -21
- package/dist/chunks/chunk.ACTYIS5W.js +0 -11
- package/dist/chunks/chunk.AG7G6U34.js +0 -67
- package/dist/chunks/chunk.AGGYGFG5.js +0 -11
- package/dist/chunks/chunk.AO2IIC6O.js +0 -11
- package/dist/chunks/chunk.ARQFSMGI.js +0 -361
- package/dist/chunks/chunk.AS7VVSTY.js +0 -11
- package/dist/chunks/chunk.AXJBWCRQ.js +0 -25
- package/dist/chunks/chunk.B23MMOIT.js +0 -34
- package/dist/chunks/chunk.B7O4DTOY.js +0 -448
- package/dist/chunks/chunk.BEDWXX2A.js +0 -11
- package/dist/chunks/chunk.BH47LXR7.js +0 -598
- package/dist/chunks/chunk.BQSFWPON.js +0 -21
- package/dist/chunks/chunk.BSNBFFIW.js +0 -11
- package/dist/chunks/chunk.BVDZVI5X.js +0 -11
- package/dist/chunks/chunk.BW24FEPY.js +0 -42
- package/dist/chunks/chunk.BXFHLMUH.js +0 -25
- package/dist/chunks/chunk.BZAOMJ56.js +0 -11
- package/dist/chunks/chunk.C52VXVWX.js +0 -11
- package/dist/chunks/chunk.CDIKJAZZ.js +0 -119
- package/dist/chunks/chunk.CGECDXY2.js +0 -444
- package/dist/chunks/chunk.CL4JBCOI.js +0 -227
- package/dist/chunks/chunk.CY5NI24N.js +0 -11
- package/dist/chunks/chunk.CYVW6FVL.js +0 -21
- package/dist/chunks/chunk.D23WFKHD.js +0 -31
- package/dist/chunks/chunk.D3MSRBRO.js +0 -11
- package/dist/chunks/chunk.DEPWFOWK.js +0 -128
- package/dist/chunks/chunk.DFAQ7TUF.js +0 -21
- package/dist/chunks/chunk.DFZDVAFL.js +0 -134
- package/dist/chunks/chunk.DGTYZKT2.js +0 -11
- package/dist/chunks/chunk.DJTL2HRI.js +0 -93
- package/dist/chunks/chunk.DOGHHACB.js +0 -11
- package/dist/chunks/chunk.DONDEDJQ.js +0 -26
- package/dist/chunks/chunk.DPWFMAUN.js +0 -21
- package/dist/chunks/chunk.DWD32LZP.js +0 -24
- package/dist/chunks/chunk.DY23GKRX.js +0 -148
- package/dist/chunks/chunk.DZ4N7ZUR.js +0 -28
- package/dist/chunks/chunk.DZVK5OFR.js +0 -231
- package/dist/chunks/chunk.EBLTGTNV.js +0 -25
- package/dist/chunks/chunk.EF6OJRK7.js +0 -24
- package/dist/chunks/chunk.ER53E47R.js +0 -11
- package/dist/chunks/chunk.EVONWXTA.js +0 -21
- package/dist/chunks/chunk.EVT2P7I5.js +0 -25
- package/dist/chunks/chunk.EYF7OHPR.js +0 -24
- package/dist/chunks/chunk.F74KIZ6G.js +0 -27
- package/dist/chunks/chunk.FFD2PFBA.js +0 -21
- package/dist/chunks/chunk.FJIKUUX5.js +0 -21
- package/dist/chunks/chunk.FMFZM3VE.js +0 -212
- package/dist/chunks/chunk.FTI73S6W.js +0 -11
- package/dist/chunks/chunk.FUWVGY24.js +0 -11
- package/dist/chunks/chunk.FYRXV7WP.js +0 -26
- package/dist/chunks/chunk.GB2MPWHR.js +0 -11
- package/dist/chunks/chunk.GC5UNJYA.js +0 -11
- package/dist/chunks/chunk.GGRJO2OJ.js +0 -335
- package/dist/chunks/chunk.GHAZ2NSU.js +0 -11
- package/dist/chunks/chunk.GPTSGD2A.js +0 -25
- package/dist/chunks/chunk.GRXPM4O4.js +0 -21
- package/dist/chunks/chunk.GVRYANRJ.js +0 -111
- package/dist/chunks/chunk.GWXCNG4Z.js +0 -293
- package/dist/chunks/chunk.H7KRVU4U.js +0 -335
- package/dist/chunks/chunk.HJPZCMUJ.js +0 -24
- package/dist/chunks/chunk.HMYHOYG6.js +0 -11
- package/dist/chunks/chunk.HTHPVAF6.js +0 -24
- package/dist/chunks/chunk.HV6DWGV6.js +0 -170
- package/dist/chunks/chunk.HVGGXTUY.js +0 -814
- package/dist/chunks/chunk.HWJ5GHEF.js +0 -29
- package/dist/chunks/chunk.I55RYRHJ.js +0 -11
- package/dist/chunks/chunk.I7SKXSLZ.js +0 -340
- package/dist/chunks/chunk.ICLMKLSM.js +0 -27
- package/dist/chunks/chunk.IEUYJI2V.js +0 -11
- package/dist/chunks/chunk.IM2EER45.js +0 -11
- package/dist/chunks/chunk.IMD7EKYB.js +0 -306
- package/dist/chunks/chunk.JHG5PGQB.js +0 -28
- package/dist/chunks/chunk.JL4IEF5S.js +0 -42
- package/dist/chunks/chunk.JLDLFEY2.js +0 -25
- package/dist/chunks/chunk.JTIWCWEI.js +0 -24
- package/dist/chunks/chunk.K246SNWP.js +0 -11
- package/dist/chunks/chunk.K3R5PQIU.js +0 -126
- package/dist/chunks/chunk.K4IPS2TK.js +0 -11
- package/dist/chunks/chunk.K4TJJ7EM.js +0 -916
- package/dist/chunks/chunk.KFHXR2BC.js +0 -11
- package/dist/chunks/chunk.KFT7NHGH.js +0 -509
- package/dist/chunks/chunk.KLVXNU4L.js +0 -24
- package/dist/chunks/chunk.KONR2CKB.js +0 -27
- package/dist/chunks/chunk.KVVOE4N5.js +0 -59
- package/dist/chunks/chunk.KXCO3UVW.js +0 -25
- package/dist/chunks/chunk.KXLNRRER.js +0 -111
- package/dist/chunks/chunk.L7IWPTUL.js +0 -1150
- package/dist/chunks/chunk.LFCXATA2.js +0 -949
- package/dist/chunks/chunk.LGRQXGOU.js +0 -73
- package/dist/chunks/chunk.LJTMHMMV.js +0 -315
- package/dist/chunks/chunk.LNCVA2LC.js +0 -21
- package/dist/chunks/chunk.LOIJEG4W.js +0 -11
- package/dist/chunks/chunk.LV5NZ2X4.js +0 -26
- package/dist/chunks/chunk.LVL2F2UK.js +0 -50
- package/dist/chunks/chunk.M5M6A7A4.js +0 -63
- package/dist/chunks/chunk.M7WPGNKJ.js +0 -21
- package/dist/chunks/chunk.MBBGYDPJ.js +0 -21
- package/dist/chunks/chunk.MD5CNJYY.js +0 -21
- package/dist/chunks/chunk.MMX2MNK3.js +0 -294
- package/dist/chunks/chunk.MORRVJDQ.js +0 -21
- package/dist/chunks/chunk.MOUSVVQT.js +0 -11
- package/dist/chunks/chunk.MQWHTJPK.js +0 -371
- package/dist/chunks/chunk.MVII53TU.js +0 -502
- package/dist/chunks/chunk.MVUU32XP.js +0 -11
- package/dist/chunks/chunk.MWXTMR76.js +0 -11
- package/dist/chunks/chunk.N6I33EAC.js +0 -397
- package/dist/chunks/chunk.NB5YIW7Z.js +0 -11
- package/dist/chunks/chunk.NBSEUJKB.js +0 -194
- package/dist/chunks/chunk.NEKEYVJO.js +0 -11
- package/dist/chunks/chunk.NGR354TT.js +0 -11
- package/dist/chunks/chunk.NNAGCOFI.js +0 -11
- package/dist/chunks/chunk.NRN6Q3XG.js +0 -24
- package/dist/chunks/chunk.NV4UTSI6.js +0 -117
- package/dist/chunks/chunk.NYROL4ZE.js +0 -21
- package/dist/chunks/chunk.NZWXUQ3H.js +0 -384
- package/dist/chunks/chunk.O6OUZP3U.js +0 -11
- package/dist/chunks/chunk.OBJGSS6E.js +0 -280
- package/dist/chunks/chunk.OBK2YPSN.js +0 -151
- package/dist/chunks/chunk.OCHTUUOS.js +0 -504
- package/dist/chunks/chunk.OIPWYUIP.js +0 -29
- package/dist/chunks/chunk.OJ2M4ES7.js +0 -320
- package/dist/chunks/chunk.OJUO7QTD.js +0 -11
- package/dist/chunks/chunk.OMAX4MNF.js +0 -192
- package/dist/chunks/chunk.OOZXG5GD.js +0 -86
- package/dist/chunks/chunk.OPFBZE7B.js +0 -11
- package/dist/chunks/chunk.OWEZV62N.js +0 -28
- package/dist/chunks/chunk.OYALUVRG.js +0 -24
- package/dist/chunks/chunk.P2VEKBPG.js +0 -21
- package/dist/chunks/chunk.PAFCWRAG.js +0 -11
- package/dist/chunks/chunk.PAY755AQ.js +0 -11
- package/dist/chunks/chunk.PCNSVIK4.js +0 -11
- package/dist/chunks/chunk.PEPNOA73.js +0 -263
- package/dist/chunks/chunk.PILQUS46.js +0 -581
- package/dist/chunks/chunk.PL3LGAXY.js +0 -21
- package/dist/chunks/chunk.PTSGOSPM.js +0 -21
- package/dist/chunks/chunk.Q42GQQ47.js +0 -11
- package/dist/chunks/chunk.Q4LAKBXF.js +0 -11
- package/dist/chunks/chunk.QC7RFFLZ.js +0 -11
- package/dist/chunks/chunk.QGYYJHJM.js +0 -22
- package/dist/chunks/chunk.QOGZTB3J.js +0 -24
- package/dist/chunks/chunk.QPMRCS3F.js +0 -154
- package/dist/chunks/chunk.QYK33DTB.js +0 -27
- package/dist/chunks/chunk.QZEXE67U.js +0 -11
- package/dist/chunks/chunk.R3KSEODV.js +0 -348
- package/dist/chunks/chunk.R56GO5NN.js +0 -11
- package/dist/chunks/chunk.R5TQOQAQ.js +0 -11
- package/dist/chunks/chunk.RHF6I4CP.js +0 -209
- package/dist/chunks/chunk.RJWPMX7W.js +0 -231
- package/dist/chunks/chunk.RK2XXSIB.js +0 -57
- package/dist/chunks/chunk.RK7FET3Z.js +0 -24
- package/dist/chunks/chunk.ROBU4SHI.js +0 -11
- package/dist/chunks/chunk.RSXX3WRW.js +0 -11
- package/dist/chunks/chunk.RVQ76RAB.js +0 -26
- package/dist/chunks/chunk.S4TGXT7T.js +0 -214
- package/dist/chunks/chunk.SKOPZQNS.js +0 -24
- package/dist/chunks/chunk.SKYYMGPL.js +0 -11
- package/dist/chunks/chunk.SRS6IIO3.js +0 -33
- package/dist/chunks/chunk.SUCFVDWF.js +0 -11
- package/dist/chunks/chunk.SZOAHQRH.js +0 -21
- package/dist/chunks/chunk.TBD4QJ5D.js +0 -11
- package/dist/chunks/chunk.TJ66D5ZW.js +0 -324
- package/dist/chunks/chunk.TN732AHC.js +0 -337
- package/dist/chunks/chunk.TO2O2WKT.js +0 -45
- package/dist/chunks/chunk.TPT7QM36.js +0 -24
- package/dist/chunks/chunk.TQPBT2QK.js +0 -147
- package/dist/chunks/chunk.TSKGGTC7.js +0 -116
- package/dist/chunks/chunk.U3A2RLLY.js +0 -11
- package/dist/chunks/chunk.UBHV3NFZ.js +0 -80
- package/dist/chunks/chunk.UCUCDSMT.js +0 -1251
- package/dist/chunks/chunk.UE73HLDG.js +0 -27
- package/dist/chunks/chunk.UL2HFXCX.js +0 -126
- package/dist/chunks/chunk.UQE6MYX7.js +0 -11
- package/dist/chunks/chunk.UUY2HROO.js +0 -240
- package/dist/chunks/chunk.V2U6HBGK.js +0 -417
- package/dist/chunks/chunk.V4ER4EQ2.js +0 -28
- package/dist/chunks/chunk.VC23ETJP.js +0 -21
- package/dist/chunks/chunk.VFDED5ZN.js +0 -21
- package/dist/chunks/chunk.VLEKCONO.js +0 -29
- package/dist/chunks/chunk.VW6M434O.js +0 -100
- package/dist/chunks/chunk.VYZSSTRO.js +0 -550
- package/dist/chunks/chunk.WAA4F577.js +0 -11
- package/dist/chunks/chunk.WAZPRCFA.js +0 -45
- package/dist/chunks/chunk.WCUK6RJF.js +0 -1667
- package/dist/chunks/chunk.WDWT3KE2.js +0 -84
- package/dist/chunks/chunk.WFYIGAWC.js +0 -274
- package/dist/chunks/chunk.WOYG75OC.js +0 -21
- package/dist/chunks/chunk.WQUVNVEL.js +0 -188
- package/dist/chunks/chunk.WZH4NZ3O.js +0 -11
- package/dist/chunks/chunk.X2MMC7UR.js +0 -11
- package/dist/chunks/chunk.XALXTZUR.js +0 -11
- package/dist/chunks/chunk.XEVZMU4Q.js +0 -135
- package/dist/chunks/chunk.XHRX6POL.js +0 -24
- package/dist/chunks/chunk.XMBINA7J.js +0 -181
- package/dist/chunks/chunk.XRYXQPWG.js +0 -21
- package/dist/chunks/chunk.XZZXZXWT.js +0 -21
- package/dist/chunks/chunk.Y3OTTFHX.js +0 -22
- package/dist/chunks/chunk.Y5RCCSVD.js +0 -11
- package/dist/chunks/chunk.Y6S7ABQU.js +0 -25
- package/dist/chunks/chunk.Y7HR6IDH.js +0 -23
- package/dist/chunks/chunk.YZYAQMW2.js +0 -311
- package/dist/chunks/chunk.Z2DBABMA.js +0 -39
- package/dist/chunks/chunk.Z7FHCPDJ.js +0 -11
- package/dist/chunks/chunk.ZDVSEURQ.js +0 -213
- package/dist/chunks/chunk.ZF7PHNPH.js +0 -11
- package/dist/chunks/chunk.ZGTQYFRC.js +0 -286
- package/dist/chunks/chunk.ZNN5HQHB.js +0 -428
- package/dist/chunks/chunk.ZRM2FJ74.js +0 -75
- package/dist/chunks/chunk.ZSNTKQDJ.js +0 -29
- package/dist/themes/nova.css +0 -674
- package/dist/themes/nova.styles.js +0 -691
- /package/cdn/themes/{nova.styles.d.ts → nova_dark.styles.d.ts} +0 -0
- /package/{dist/themes/nova.styles.d.ts → cdn/themes/nova_light.styles.d.ts} +0 -0
|
@@ -0,0 +1,2630 @@
|
|
|
1
|
+
import {
|
|
2
|
+
e
|
|
3
|
+
} from "./chunk.A6PU3AYG.js";
|
|
4
|
+
import {
|
|
5
|
+
b
|
|
6
|
+
} from "./chunk.7Z2GKZ7U.js";
|
|
7
|
+
|
|
8
|
+
// node_modules/sortablejs/modular/sortable.esm.js
|
|
9
|
+
function _defineProperty(e2, r, t) {
|
|
10
|
+
return (r = _toPropertyKey(r)) in e2 ? Object.defineProperty(e2, r, {
|
|
11
|
+
value: t,
|
|
12
|
+
enumerable: true,
|
|
13
|
+
configurable: true,
|
|
14
|
+
writable: true
|
|
15
|
+
}) : e2[r] = t, e2;
|
|
16
|
+
}
|
|
17
|
+
function _extends() {
|
|
18
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
19
|
+
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
20
|
+
var t = arguments[e2];
|
|
21
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
22
|
+
}
|
|
23
|
+
return n;
|
|
24
|
+
}, _extends.apply(null, arguments);
|
|
25
|
+
}
|
|
26
|
+
function ownKeys(e2, r) {
|
|
27
|
+
var t = Object.keys(e2);
|
|
28
|
+
if (Object.getOwnPropertySymbols) {
|
|
29
|
+
var o = Object.getOwnPropertySymbols(e2);
|
|
30
|
+
r && (o = o.filter(function(r2) {
|
|
31
|
+
return Object.getOwnPropertyDescriptor(e2, r2).enumerable;
|
|
32
|
+
})), t.push.apply(t, o);
|
|
33
|
+
}
|
|
34
|
+
return t;
|
|
35
|
+
}
|
|
36
|
+
function _objectSpread2(e2) {
|
|
37
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
38
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
39
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
40
|
+
_defineProperty(e2, r2, t[r2]);
|
|
41
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
42
|
+
Object.defineProperty(e2, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
return e2;
|
|
46
|
+
}
|
|
47
|
+
function _objectWithoutProperties(e2, t) {
|
|
48
|
+
if (null == e2) return {};
|
|
49
|
+
var o, r, i = _objectWithoutPropertiesLoose(e2, t);
|
|
50
|
+
if (Object.getOwnPropertySymbols) {
|
|
51
|
+
var n = Object.getOwnPropertySymbols(e2);
|
|
52
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e2, o) && (i[o] = e2[o]);
|
|
53
|
+
}
|
|
54
|
+
return i;
|
|
55
|
+
}
|
|
56
|
+
function _objectWithoutPropertiesLoose(r, e2) {
|
|
57
|
+
if (null == r) return {};
|
|
58
|
+
var t = {};
|
|
59
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
60
|
+
if (-1 !== e2.indexOf(n)) continue;
|
|
61
|
+
t[n] = r[n];
|
|
62
|
+
}
|
|
63
|
+
return t;
|
|
64
|
+
}
|
|
65
|
+
function _toPrimitive(t, r) {
|
|
66
|
+
if ("object" != typeof t || !t) return t;
|
|
67
|
+
var e2 = t[Symbol.toPrimitive];
|
|
68
|
+
if (void 0 !== e2) {
|
|
69
|
+
var i = e2.call(t, r || "default");
|
|
70
|
+
if ("object" != typeof i) return i;
|
|
71
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
72
|
+
}
|
|
73
|
+
return ("string" === r ? String : Number)(t);
|
|
74
|
+
}
|
|
75
|
+
function _toPropertyKey(t) {
|
|
76
|
+
var i = _toPrimitive(t, "string");
|
|
77
|
+
return "symbol" == typeof i ? i : i + "";
|
|
78
|
+
}
|
|
79
|
+
function _typeof(o) {
|
|
80
|
+
"@babel/helpers - typeof";
|
|
81
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
82
|
+
return typeof o2;
|
|
83
|
+
} : function(o2) {
|
|
84
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
85
|
+
}, _typeof(o);
|
|
86
|
+
}
|
|
87
|
+
var version = "1.15.7";
|
|
88
|
+
function userAgent(pattern) {
|
|
89
|
+
if (typeof window !== "undefined" && window.navigator) {
|
|
90
|
+
return !!/* @__PURE__ */ navigator.userAgent.match(pattern);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
|
|
94
|
+
var Edge = userAgent(/Edge/i);
|
|
95
|
+
var FireFox = userAgent(/firefox/i);
|
|
96
|
+
var Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);
|
|
97
|
+
var IOS = userAgent(/iP(ad|od|hone)/i);
|
|
98
|
+
var ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);
|
|
99
|
+
var captureMode = {
|
|
100
|
+
capture: false,
|
|
101
|
+
passive: false
|
|
102
|
+
};
|
|
103
|
+
function on(el, event, fn) {
|
|
104
|
+
el.addEventListener(event, fn, !IE11OrLess && captureMode);
|
|
105
|
+
}
|
|
106
|
+
function off(el, event, fn) {
|
|
107
|
+
el.removeEventListener(event, fn, !IE11OrLess && captureMode);
|
|
108
|
+
}
|
|
109
|
+
function matches(el, selector) {
|
|
110
|
+
if (!selector) return;
|
|
111
|
+
selector[0] === ">" && (selector = selector.substring(1));
|
|
112
|
+
if (el) {
|
|
113
|
+
try {
|
|
114
|
+
if (el.matches) {
|
|
115
|
+
return el.matches(selector);
|
|
116
|
+
} else if (el.msMatchesSelector) {
|
|
117
|
+
return el.msMatchesSelector(selector);
|
|
118
|
+
} else if (el.webkitMatchesSelector) {
|
|
119
|
+
return el.webkitMatchesSelector(selector);
|
|
120
|
+
}
|
|
121
|
+
} catch (_) {
|
|
122
|
+
return false;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return false;
|
|
126
|
+
}
|
|
127
|
+
function getParentOrHost(el) {
|
|
128
|
+
return el.host && el !== document && el.host.nodeType && el.host !== el ? el.host : el.parentNode;
|
|
129
|
+
}
|
|
130
|
+
function closest(el, selector, ctx, includeCTX) {
|
|
131
|
+
if (el) {
|
|
132
|
+
ctx = ctx || document;
|
|
133
|
+
do {
|
|
134
|
+
if (selector != null && (selector[0] === ">" ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
|
|
135
|
+
return el;
|
|
136
|
+
}
|
|
137
|
+
if (el === ctx) break;
|
|
138
|
+
} while (el = getParentOrHost(el));
|
|
139
|
+
}
|
|
140
|
+
return null;
|
|
141
|
+
}
|
|
142
|
+
var R_SPACE = /\s+/g;
|
|
143
|
+
function toggleClass(el, name, state) {
|
|
144
|
+
if (el && name) {
|
|
145
|
+
if (el.classList) {
|
|
146
|
+
el.classList[state ? "add" : "remove"](name);
|
|
147
|
+
} else {
|
|
148
|
+
var className = (" " + el.className + " ").replace(R_SPACE, " ").replace(" " + name + " ", " ");
|
|
149
|
+
el.className = (className + (state ? " " + name : "")).replace(R_SPACE, " ");
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
function css(el, prop, val) {
|
|
154
|
+
var style = el && el.style;
|
|
155
|
+
if (style) {
|
|
156
|
+
if (val === void 0) {
|
|
157
|
+
if (document.defaultView && document.defaultView.getComputedStyle) {
|
|
158
|
+
val = document.defaultView.getComputedStyle(el, "");
|
|
159
|
+
} else if (el.currentStyle) {
|
|
160
|
+
val = el.currentStyle;
|
|
161
|
+
}
|
|
162
|
+
return prop === void 0 ? val : val[prop];
|
|
163
|
+
} else {
|
|
164
|
+
if (!(prop in style) && prop.indexOf("webkit") === -1) {
|
|
165
|
+
prop = "-webkit-" + prop;
|
|
166
|
+
}
|
|
167
|
+
style[prop] = val + (typeof val === "string" ? "" : "px");
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
function matrix(el, selfOnly) {
|
|
172
|
+
var appliedTransforms = "";
|
|
173
|
+
if (typeof el === "string") {
|
|
174
|
+
appliedTransforms = el;
|
|
175
|
+
} else {
|
|
176
|
+
do {
|
|
177
|
+
var transform = css(el, "transform");
|
|
178
|
+
if (transform && transform !== "none") {
|
|
179
|
+
appliedTransforms = transform + " " + appliedTransforms;
|
|
180
|
+
}
|
|
181
|
+
} while (!selfOnly && (el = el.parentNode));
|
|
182
|
+
}
|
|
183
|
+
var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
184
|
+
return matrixFn && new matrixFn(appliedTransforms);
|
|
185
|
+
}
|
|
186
|
+
function find(ctx, tagName, iterator) {
|
|
187
|
+
if (ctx) {
|
|
188
|
+
var list = ctx.getElementsByTagName(tagName), i = 0, n = list.length;
|
|
189
|
+
if (iterator) {
|
|
190
|
+
for (; i < n; i++) {
|
|
191
|
+
iterator(list[i], i);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
return list;
|
|
195
|
+
}
|
|
196
|
+
return [];
|
|
197
|
+
}
|
|
198
|
+
function getWindowScrollingElement() {
|
|
199
|
+
var scrollingElement = document.scrollingElement;
|
|
200
|
+
if (scrollingElement) {
|
|
201
|
+
return scrollingElement;
|
|
202
|
+
} else {
|
|
203
|
+
return document.documentElement;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
|
|
207
|
+
if (!el.getBoundingClientRect && el !== window) return;
|
|
208
|
+
var elRect, top, left, bottom, right, height, width;
|
|
209
|
+
if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
|
|
210
|
+
elRect = el.getBoundingClientRect();
|
|
211
|
+
top = elRect.top;
|
|
212
|
+
left = elRect.left;
|
|
213
|
+
bottom = elRect.bottom;
|
|
214
|
+
right = elRect.right;
|
|
215
|
+
height = elRect.height;
|
|
216
|
+
width = elRect.width;
|
|
217
|
+
} else {
|
|
218
|
+
top = 0;
|
|
219
|
+
left = 0;
|
|
220
|
+
bottom = window.innerHeight;
|
|
221
|
+
right = window.innerWidth;
|
|
222
|
+
height = window.innerHeight;
|
|
223
|
+
width = window.innerWidth;
|
|
224
|
+
}
|
|
225
|
+
if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
|
|
226
|
+
container = container || el.parentNode;
|
|
227
|
+
if (!IE11OrLess) {
|
|
228
|
+
do {
|
|
229
|
+
if (container && container.getBoundingClientRect && (css(container, "transform") !== "none" || relativeToNonStaticParent && css(container, "position") !== "static")) {
|
|
230
|
+
var containerRect = container.getBoundingClientRect();
|
|
231
|
+
top -= containerRect.top + parseInt(css(container, "border-top-width"));
|
|
232
|
+
left -= containerRect.left + parseInt(css(container, "border-left-width"));
|
|
233
|
+
bottom = top + elRect.height;
|
|
234
|
+
right = left + elRect.width;
|
|
235
|
+
break;
|
|
236
|
+
}
|
|
237
|
+
} while (container = container.parentNode);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
if (undoScale && el !== window) {
|
|
241
|
+
var elMatrix = matrix(container || el), scaleX = elMatrix && elMatrix.a, scaleY = elMatrix && elMatrix.d;
|
|
242
|
+
if (elMatrix) {
|
|
243
|
+
top /= scaleY;
|
|
244
|
+
left /= scaleX;
|
|
245
|
+
width /= scaleX;
|
|
246
|
+
height /= scaleY;
|
|
247
|
+
bottom = top + height;
|
|
248
|
+
right = left + width;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
return {
|
|
252
|
+
top,
|
|
253
|
+
left,
|
|
254
|
+
bottom,
|
|
255
|
+
right,
|
|
256
|
+
width,
|
|
257
|
+
height
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
function isScrolledPast(el, elSide, parentSide) {
|
|
261
|
+
var parent = getParentAutoScrollElement(el, true), elSideVal = getRect(el)[elSide];
|
|
262
|
+
while (parent) {
|
|
263
|
+
var parentSideVal = getRect(parent)[parentSide], visible = void 0;
|
|
264
|
+
if (parentSide === "top" || parentSide === "left") {
|
|
265
|
+
visible = elSideVal >= parentSideVal;
|
|
266
|
+
} else {
|
|
267
|
+
visible = elSideVal <= parentSideVal;
|
|
268
|
+
}
|
|
269
|
+
if (!visible) return parent;
|
|
270
|
+
if (parent === getWindowScrollingElement()) break;
|
|
271
|
+
parent = getParentAutoScrollElement(parent, false);
|
|
272
|
+
}
|
|
273
|
+
return false;
|
|
274
|
+
}
|
|
275
|
+
function getChild(el, childNum, options, includeDragEl) {
|
|
276
|
+
var currentChild = 0, i = 0, children = el.children;
|
|
277
|
+
while (i < children.length) {
|
|
278
|
+
if (children[i].style.display !== "none" && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
|
|
279
|
+
if (currentChild === childNum) {
|
|
280
|
+
return children[i];
|
|
281
|
+
}
|
|
282
|
+
currentChild++;
|
|
283
|
+
}
|
|
284
|
+
i++;
|
|
285
|
+
}
|
|
286
|
+
return null;
|
|
287
|
+
}
|
|
288
|
+
function lastChild(el, selector) {
|
|
289
|
+
var last = el.lastElementChild;
|
|
290
|
+
while (last && (last === Sortable.ghost || css(last, "display") === "none" || selector && !matches(last, selector))) {
|
|
291
|
+
last = last.previousElementSibling;
|
|
292
|
+
}
|
|
293
|
+
return last || null;
|
|
294
|
+
}
|
|
295
|
+
function index(el, selector) {
|
|
296
|
+
var index2 = 0;
|
|
297
|
+
if (!el || !el.parentNode) {
|
|
298
|
+
return -1;
|
|
299
|
+
}
|
|
300
|
+
while (el = el.previousElementSibling) {
|
|
301
|
+
if (el.nodeName.toUpperCase() !== "TEMPLATE" && el !== Sortable.clone && (!selector || matches(el, selector))) {
|
|
302
|
+
index2++;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
return index2;
|
|
306
|
+
}
|
|
307
|
+
function getRelativeScrollOffset(el) {
|
|
308
|
+
var offsetLeft = 0, offsetTop = 0, winScroller = getWindowScrollingElement();
|
|
309
|
+
if (el) {
|
|
310
|
+
do {
|
|
311
|
+
var elMatrix = matrix(el), scaleX = elMatrix.a, scaleY = elMatrix.d;
|
|
312
|
+
offsetLeft += el.scrollLeft * scaleX;
|
|
313
|
+
offsetTop += el.scrollTop * scaleY;
|
|
314
|
+
} while (el !== winScroller && (el = el.parentNode));
|
|
315
|
+
}
|
|
316
|
+
return [offsetLeft, offsetTop];
|
|
317
|
+
}
|
|
318
|
+
function indexOfObject(arr, obj) {
|
|
319
|
+
for (var i in arr) {
|
|
320
|
+
if (!arr.hasOwnProperty(i)) continue;
|
|
321
|
+
for (var key in obj) {
|
|
322
|
+
if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
return -1;
|
|
326
|
+
}
|
|
327
|
+
function getParentAutoScrollElement(el, includeSelf) {
|
|
328
|
+
if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();
|
|
329
|
+
var elem = el;
|
|
330
|
+
var gotSelf = false;
|
|
331
|
+
do {
|
|
332
|
+
if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
|
|
333
|
+
var elemCSS = css(elem);
|
|
334
|
+
if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == "auto" || elemCSS.overflowX == "scroll") || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == "auto" || elemCSS.overflowY == "scroll")) {
|
|
335
|
+
if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();
|
|
336
|
+
if (gotSelf || includeSelf) return elem;
|
|
337
|
+
gotSelf = true;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
} while (elem = elem.parentNode);
|
|
341
|
+
return getWindowScrollingElement();
|
|
342
|
+
}
|
|
343
|
+
function extend(dst, src) {
|
|
344
|
+
if (dst && src) {
|
|
345
|
+
for (var key in src) {
|
|
346
|
+
if (src.hasOwnProperty(key)) {
|
|
347
|
+
dst[key] = src[key];
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
return dst;
|
|
352
|
+
}
|
|
353
|
+
function isRectEqual(rect1, rect2) {
|
|
354
|
+
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);
|
|
355
|
+
}
|
|
356
|
+
var _throttleTimeout;
|
|
357
|
+
function throttle(callback, ms) {
|
|
358
|
+
return function() {
|
|
359
|
+
if (!_throttleTimeout) {
|
|
360
|
+
var args = arguments, _this = this;
|
|
361
|
+
if (args.length === 1) {
|
|
362
|
+
callback.call(_this, args[0]);
|
|
363
|
+
} else {
|
|
364
|
+
callback.apply(_this, args);
|
|
365
|
+
}
|
|
366
|
+
_throttleTimeout = setTimeout(function() {
|
|
367
|
+
_throttleTimeout = void 0;
|
|
368
|
+
}, ms);
|
|
369
|
+
}
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
function cancelThrottle() {
|
|
373
|
+
clearTimeout(_throttleTimeout);
|
|
374
|
+
_throttleTimeout = void 0;
|
|
375
|
+
}
|
|
376
|
+
function scrollBy(el, x, y) {
|
|
377
|
+
el.scrollLeft += x;
|
|
378
|
+
el.scrollTop += y;
|
|
379
|
+
}
|
|
380
|
+
function clone(el) {
|
|
381
|
+
var Polymer = window.Polymer;
|
|
382
|
+
var $ = window.jQuery || window.Zepto;
|
|
383
|
+
if (Polymer && Polymer.dom) {
|
|
384
|
+
return Polymer.dom(el).cloneNode(true);
|
|
385
|
+
} else if ($) {
|
|
386
|
+
return $(el).clone(true)[0];
|
|
387
|
+
} else {
|
|
388
|
+
return el.cloneNode(true);
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
function getChildContainingRectFromElement(container, options, ghostEl2) {
|
|
392
|
+
var rect = {};
|
|
393
|
+
Array.from(container.children).forEach(function(child) {
|
|
394
|
+
var _rect$left, _rect$top, _rect$right, _rect$bottom;
|
|
395
|
+
if (!closest(child, options.draggable, container, false) || child.animated || child === ghostEl2) return;
|
|
396
|
+
var childRect = getRect(child);
|
|
397
|
+
rect.left = Math.min((_rect$left = rect.left) !== null && _rect$left !== void 0 ? _rect$left : Infinity, childRect.left);
|
|
398
|
+
rect.top = Math.min((_rect$top = rect.top) !== null && _rect$top !== void 0 ? _rect$top : Infinity, childRect.top);
|
|
399
|
+
rect.right = Math.max((_rect$right = rect.right) !== null && _rect$right !== void 0 ? _rect$right : -Infinity, childRect.right);
|
|
400
|
+
rect.bottom = Math.max((_rect$bottom = rect.bottom) !== null && _rect$bottom !== void 0 ? _rect$bottom : -Infinity, childRect.bottom);
|
|
401
|
+
});
|
|
402
|
+
rect.width = rect.right - rect.left;
|
|
403
|
+
rect.height = rect.bottom - rect.top;
|
|
404
|
+
rect.x = rect.left;
|
|
405
|
+
rect.y = rect.top;
|
|
406
|
+
return rect;
|
|
407
|
+
}
|
|
408
|
+
var expando = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
409
|
+
function AnimationStateManager() {
|
|
410
|
+
var animationStates = [], animationCallbackId;
|
|
411
|
+
return {
|
|
412
|
+
captureAnimationState: function captureAnimationState() {
|
|
413
|
+
animationStates = [];
|
|
414
|
+
if (!this.options.animation) return;
|
|
415
|
+
var children = [].slice.call(this.el.children);
|
|
416
|
+
children.forEach(function(child) {
|
|
417
|
+
if (css(child, "display") === "none" || child === Sortable.ghost) return;
|
|
418
|
+
animationStates.push({
|
|
419
|
+
target: child,
|
|
420
|
+
rect: getRect(child)
|
|
421
|
+
});
|
|
422
|
+
var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect);
|
|
423
|
+
if (child.thisAnimationDuration) {
|
|
424
|
+
var childMatrix = matrix(child, true);
|
|
425
|
+
if (childMatrix) {
|
|
426
|
+
fromRect.top -= childMatrix.f;
|
|
427
|
+
fromRect.left -= childMatrix.e;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
child.fromRect = fromRect;
|
|
431
|
+
});
|
|
432
|
+
},
|
|
433
|
+
addAnimationState: function addAnimationState(state) {
|
|
434
|
+
animationStates.push(state);
|
|
435
|
+
},
|
|
436
|
+
removeAnimationState: function removeAnimationState(target) {
|
|
437
|
+
animationStates.splice(indexOfObject(animationStates, {
|
|
438
|
+
target
|
|
439
|
+
}), 1);
|
|
440
|
+
},
|
|
441
|
+
animateAll: function animateAll(callback) {
|
|
442
|
+
var _this = this;
|
|
443
|
+
if (!this.options.animation) {
|
|
444
|
+
clearTimeout(animationCallbackId);
|
|
445
|
+
if (typeof callback === "function") callback();
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
var animating = false, animationTime = 0;
|
|
449
|
+
animationStates.forEach(function(state) {
|
|
450
|
+
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);
|
|
451
|
+
if (targetMatrix) {
|
|
452
|
+
toRect.top -= targetMatrix.f;
|
|
453
|
+
toRect.left -= targetMatrix.e;
|
|
454
|
+
}
|
|
455
|
+
target.toRect = toRect;
|
|
456
|
+
if (target.thisAnimationDuration) {
|
|
457
|
+
if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) && // Make sure animatingRect is on line between toRect & fromRect
|
|
458
|
+
(animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
|
|
459
|
+
time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
if (!isRectEqual(toRect, fromRect)) {
|
|
463
|
+
target.prevFromRect = fromRect;
|
|
464
|
+
target.prevToRect = toRect;
|
|
465
|
+
if (!time) {
|
|
466
|
+
time = _this.options.animation;
|
|
467
|
+
}
|
|
468
|
+
_this.animate(target, animatingRect, toRect, time);
|
|
469
|
+
}
|
|
470
|
+
if (time) {
|
|
471
|
+
animating = true;
|
|
472
|
+
animationTime = Math.max(animationTime, time);
|
|
473
|
+
clearTimeout(target.animationResetTimer);
|
|
474
|
+
target.animationResetTimer = setTimeout(function() {
|
|
475
|
+
target.animationTime = 0;
|
|
476
|
+
target.prevFromRect = null;
|
|
477
|
+
target.fromRect = null;
|
|
478
|
+
target.prevToRect = null;
|
|
479
|
+
target.thisAnimationDuration = null;
|
|
480
|
+
}, time);
|
|
481
|
+
target.thisAnimationDuration = time;
|
|
482
|
+
}
|
|
483
|
+
});
|
|
484
|
+
clearTimeout(animationCallbackId);
|
|
485
|
+
if (!animating) {
|
|
486
|
+
if (typeof callback === "function") callback();
|
|
487
|
+
} else {
|
|
488
|
+
animationCallbackId = setTimeout(function() {
|
|
489
|
+
if (typeof callback === "function") callback();
|
|
490
|
+
}, animationTime);
|
|
491
|
+
}
|
|
492
|
+
animationStates = [];
|
|
493
|
+
},
|
|
494
|
+
animate: function animate(target, currentRect, toRect, duration) {
|
|
495
|
+
if (duration) {
|
|
496
|
+
css(target, "transition", "");
|
|
497
|
+
css(target, "transform", "");
|
|
498
|
+
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);
|
|
499
|
+
target.animatingX = !!translateX;
|
|
500
|
+
target.animatingY = !!translateY;
|
|
501
|
+
css(target, "transform", "translate3d(" + translateX + "px," + translateY + "px,0)");
|
|
502
|
+
this.forRepaintDummy = repaint(target);
|
|
503
|
+
css(target, "transition", "transform " + duration + "ms" + (this.options.easing ? " " + this.options.easing : ""));
|
|
504
|
+
css(target, "transform", "translate3d(0,0,0)");
|
|
505
|
+
typeof target.animated === "number" && clearTimeout(target.animated);
|
|
506
|
+
target.animated = setTimeout(function() {
|
|
507
|
+
css(target, "transition", "");
|
|
508
|
+
css(target, "transform", "");
|
|
509
|
+
target.animated = false;
|
|
510
|
+
target.animatingX = false;
|
|
511
|
+
target.animatingY = false;
|
|
512
|
+
}, duration);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
function repaint(target) {
|
|
518
|
+
return target.offsetWidth;
|
|
519
|
+
}
|
|
520
|
+
function calculateRealTime(animatingRect, fromRect, toRect, options) {
|
|
521
|
+
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;
|
|
522
|
+
}
|
|
523
|
+
var plugins = [];
|
|
524
|
+
var defaults = {
|
|
525
|
+
initializeByDefault: true
|
|
526
|
+
};
|
|
527
|
+
var PluginManager = {
|
|
528
|
+
mount: function mount(plugin) {
|
|
529
|
+
for (var option2 in defaults) {
|
|
530
|
+
if (defaults.hasOwnProperty(option2) && !(option2 in plugin)) {
|
|
531
|
+
plugin[option2] = defaults[option2];
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
plugins.forEach(function(p) {
|
|
535
|
+
if (p.pluginName === plugin.pluginName) {
|
|
536
|
+
throw "Sortable: Cannot mount plugin ".concat(plugin.pluginName, " more than once");
|
|
537
|
+
}
|
|
538
|
+
});
|
|
539
|
+
plugins.push(plugin);
|
|
540
|
+
},
|
|
541
|
+
pluginEvent: function pluginEvent(eventName, sortable, evt) {
|
|
542
|
+
var _this = this;
|
|
543
|
+
this.eventCanceled = false;
|
|
544
|
+
evt.cancel = function() {
|
|
545
|
+
_this.eventCanceled = true;
|
|
546
|
+
};
|
|
547
|
+
var eventNameGlobal = eventName + "Global";
|
|
548
|
+
plugins.forEach(function(plugin) {
|
|
549
|
+
if (!sortable[plugin.pluginName]) return;
|
|
550
|
+
if (sortable[plugin.pluginName][eventNameGlobal]) {
|
|
551
|
+
sortable[plugin.pluginName][eventNameGlobal](_objectSpread2({
|
|
552
|
+
sortable
|
|
553
|
+
}, evt));
|
|
554
|
+
}
|
|
555
|
+
if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
|
|
556
|
+
sortable[plugin.pluginName][eventName](_objectSpread2({
|
|
557
|
+
sortable
|
|
558
|
+
}, evt));
|
|
559
|
+
}
|
|
560
|
+
});
|
|
561
|
+
},
|
|
562
|
+
initializePlugins: function initializePlugins(sortable, el, defaults2, options) {
|
|
563
|
+
plugins.forEach(function(plugin) {
|
|
564
|
+
var pluginName = plugin.pluginName;
|
|
565
|
+
if (!sortable.options[pluginName] && !plugin.initializeByDefault) return;
|
|
566
|
+
var initialized = new plugin(sortable, el, sortable.options);
|
|
567
|
+
initialized.sortable = sortable;
|
|
568
|
+
initialized.options = sortable.options;
|
|
569
|
+
sortable[pluginName] = initialized;
|
|
570
|
+
_extends(defaults2, initialized.defaults);
|
|
571
|
+
});
|
|
572
|
+
for (var option2 in sortable.options) {
|
|
573
|
+
if (!sortable.options.hasOwnProperty(option2)) continue;
|
|
574
|
+
var modified = this.modifyOption(sortable, option2, sortable.options[option2]);
|
|
575
|
+
if (typeof modified !== "undefined") {
|
|
576
|
+
sortable.options[option2] = modified;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
getEventProperties: function getEventProperties(name, sortable) {
|
|
581
|
+
var eventProperties = {};
|
|
582
|
+
plugins.forEach(function(plugin) {
|
|
583
|
+
if (typeof plugin.eventProperties !== "function") return;
|
|
584
|
+
_extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
|
|
585
|
+
});
|
|
586
|
+
return eventProperties;
|
|
587
|
+
},
|
|
588
|
+
modifyOption: function modifyOption(sortable, name, value) {
|
|
589
|
+
var modifiedValue;
|
|
590
|
+
plugins.forEach(function(plugin) {
|
|
591
|
+
if (!sortable[plugin.pluginName]) return;
|
|
592
|
+
if (plugin.optionListeners && typeof plugin.optionListeners[name] === "function") {
|
|
593
|
+
modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
|
|
594
|
+
}
|
|
595
|
+
});
|
|
596
|
+
return modifiedValue;
|
|
597
|
+
}
|
|
598
|
+
};
|
|
599
|
+
function dispatchEvent(_ref) {
|
|
600
|
+
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;
|
|
601
|
+
sortable = sortable || rootEl2 && rootEl2[expando];
|
|
602
|
+
if (!sortable) return;
|
|
603
|
+
var evt, options = sortable.options, onName = "on" + name.charAt(0).toUpperCase() + name.substr(1);
|
|
604
|
+
if (window.CustomEvent && !IE11OrLess && !Edge) {
|
|
605
|
+
evt = new CustomEvent(name, {
|
|
606
|
+
bubbles: true,
|
|
607
|
+
cancelable: true
|
|
608
|
+
});
|
|
609
|
+
} else {
|
|
610
|
+
evt = document.createEvent("Event");
|
|
611
|
+
evt.initEvent(name, true, true);
|
|
612
|
+
}
|
|
613
|
+
evt.to = toEl || rootEl2;
|
|
614
|
+
evt.from = fromEl || rootEl2;
|
|
615
|
+
evt.item = targetEl || rootEl2;
|
|
616
|
+
evt.clone = cloneEl2;
|
|
617
|
+
evt.oldIndex = oldIndex2;
|
|
618
|
+
evt.newIndex = newIndex2;
|
|
619
|
+
evt.oldDraggableIndex = oldDraggableIndex2;
|
|
620
|
+
evt.newDraggableIndex = newDraggableIndex2;
|
|
621
|
+
evt.originalEvent = originalEvent;
|
|
622
|
+
evt.pullMode = putSortable2 ? putSortable2.lastPutMode : void 0;
|
|
623
|
+
var allEventProperties = _objectSpread2(_objectSpread2({}, extraEventProperties), PluginManager.getEventProperties(name, sortable));
|
|
624
|
+
for (var option2 in allEventProperties) {
|
|
625
|
+
evt[option2] = allEventProperties[option2];
|
|
626
|
+
}
|
|
627
|
+
if (rootEl2) {
|
|
628
|
+
rootEl2.dispatchEvent(evt);
|
|
629
|
+
}
|
|
630
|
+
if (options[onName]) {
|
|
631
|
+
options[onName].call(sortable, evt);
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
var _excluded = ["evt"];
|
|
635
|
+
var pluginEvent2 = function pluginEvent3(eventName, sortable) {
|
|
636
|
+
var _ref = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, originalEvent = _ref.evt, data = _objectWithoutProperties(_ref, _excluded);
|
|
637
|
+
PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread2({
|
|
638
|
+
dragEl,
|
|
639
|
+
parentEl,
|
|
640
|
+
ghostEl,
|
|
641
|
+
rootEl,
|
|
642
|
+
nextEl,
|
|
643
|
+
lastDownEl,
|
|
644
|
+
cloneEl,
|
|
645
|
+
cloneHidden,
|
|
646
|
+
dragStarted: moved,
|
|
647
|
+
putSortable,
|
|
648
|
+
activeSortable: Sortable.active,
|
|
649
|
+
originalEvent,
|
|
650
|
+
oldIndex,
|
|
651
|
+
oldDraggableIndex,
|
|
652
|
+
newIndex,
|
|
653
|
+
newDraggableIndex,
|
|
654
|
+
hideGhostForTarget: _hideGhostForTarget,
|
|
655
|
+
unhideGhostForTarget: _unhideGhostForTarget,
|
|
656
|
+
cloneNowHidden: function cloneNowHidden() {
|
|
657
|
+
cloneHidden = true;
|
|
658
|
+
},
|
|
659
|
+
cloneNowShown: function cloneNowShown() {
|
|
660
|
+
cloneHidden = false;
|
|
661
|
+
},
|
|
662
|
+
dispatchSortableEvent: function dispatchSortableEvent(name) {
|
|
663
|
+
_dispatchEvent({
|
|
664
|
+
sortable,
|
|
665
|
+
name,
|
|
666
|
+
originalEvent
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
}, data));
|
|
670
|
+
};
|
|
671
|
+
function _dispatchEvent(info) {
|
|
672
|
+
dispatchEvent(_objectSpread2({
|
|
673
|
+
putSortable,
|
|
674
|
+
cloneEl,
|
|
675
|
+
targetEl: dragEl,
|
|
676
|
+
rootEl,
|
|
677
|
+
oldIndex,
|
|
678
|
+
oldDraggableIndex,
|
|
679
|
+
newIndex,
|
|
680
|
+
newDraggableIndex
|
|
681
|
+
}, info));
|
|
682
|
+
}
|
|
683
|
+
var dragEl;
|
|
684
|
+
var parentEl;
|
|
685
|
+
var ghostEl;
|
|
686
|
+
var rootEl;
|
|
687
|
+
var nextEl;
|
|
688
|
+
var lastDownEl;
|
|
689
|
+
var cloneEl;
|
|
690
|
+
var cloneHidden;
|
|
691
|
+
var oldIndex;
|
|
692
|
+
var newIndex;
|
|
693
|
+
var oldDraggableIndex;
|
|
694
|
+
var newDraggableIndex;
|
|
695
|
+
var activeGroup;
|
|
696
|
+
var putSortable;
|
|
697
|
+
var awaitingDragStarted = false;
|
|
698
|
+
var ignoreNextClick = false;
|
|
699
|
+
var sortables = [];
|
|
700
|
+
var tapEvt;
|
|
701
|
+
var touchEvt;
|
|
702
|
+
var lastDx;
|
|
703
|
+
var lastDy;
|
|
704
|
+
var tapDistanceLeft;
|
|
705
|
+
var tapDistanceTop;
|
|
706
|
+
var moved;
|
|
707
|
+
var lastTarget;
|
|
708
|
+
var lastDirection;
|
|
709
|
+
var pastFirstInvertThresh = false;
|
|
710
|
+
var isCircumstantialInvert = false;
|
|
711
|
+
var targetMoveDistance;
|
|
712
|
+
var ghostRelativeParent;
|
|
713
|
+
var ghostRelativeParentInitialScroll = [];
|
|
714
|
+
var _silent = false;
|
|
715
|
+
var savedInputChecked = [];
|
|
716
|
+
var documentExists = typeof document !== "undefined";
|
|
717
|
+
var PositionGhostAbsolutely = IOS;
|
|
718
|
+
var CSSFloatProperty = Edge || IE11OrLess ? "cssFloat" : "float";
|
|
719
|
+
var supportDraggable = documentExists && !ChromeForAndroid && !IOS && "draggable" in document.createElement("div");
|
|
720
|
+
var supportCssPointerEvents = function() {
|
|
721
|
+
if (!documentExists) return;
|
|
722
|
+
if (IE11OrLess) {
|
|
723
|
+
return false;
|
|
724
|
+
}
|
|
725
|
+
var el = document.createElement("x");
|
|
726
|
+
el.style.cssText = "pointer-events:auto";
|
|
727
|
+
return el.style.pointerEvents === "auto";
|
|
728
|
+
}();
|
|
729
|
+
var _detectDirection = function _detectDirection2(el, options) {
|
|
730
|
+
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;
|
|
731
|
+
if (elCSS.display === "flex") {
|
|
732
|
+
return elCSS.flexDirection === "column" || elCSS.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
733
|
+
}
|
|
734
|
+
if (elCSS.display === "grid") {
|
|
735
|
+
return elCSS.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
|
|
736
|
+
}
|
|
737
|
+
if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== "none") {
|
|
738
|
+
var touchingSideChild2 = firstChildCSS["float"] === "left" ? "left" : "right";
|
|
739
|
+
return child2 && (secondChildCSS.clear === "both" || secondChildCSS.clear === touchingSideChild2) ? "vertical" : "horizontal";
|
|
740
|
+
}
|
|
741
|
+
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";
|
|
742
|
+
};
|
|
743
|
+
var _dragElInRowColumn = function _dragElInRowColumn2(dragRect, targetRect, vertical) {
|
|
744
|
+
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;
|
|
745
|
+
return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
|
|
746
|
+
};
|
|
747
|
+
var _detectNearestEmptySortable = function _detectNearestEmptySortable2(x, y) {
|
|
748
|
+
var ret;
|
|
749
|
+
sortables.some(function(sortable) {
|
|
750
|
+
var threshold = sortable[expando].options.emptyInsertThreshold;
|
|
751
|
+
if (!threshold || lastChild(sortable)) return;
|
|
752
|
+
var rect = getRect(sortable), insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold, insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
|
|
753
|
+
if (insideHorizontally && insideVertically) {
|
|
754
|
+
return ret = sortable;
|
|
755
|
+
}
|
|
756
|
+
});
|
|
757
|
+
return ret;
|
|
758
|
+
};
|
|
759
|
+
var _prepareGroup = function _prepareGroup2(options) {
|
|
760
|
+
function toFn(value, pull) {
|
|
761
|
+
return function(to, from, dragEl2, evt) {
|
|
762
|
+
var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
|
|
763
|
+
if (value == null && (pull || sameGroup)) {
|
|
764
|
+
return true;
|
|
765
|
+
} else if (value == null || value === false) {
|
|
766
|
+
return false;
|
|
767
|
+
} else if (pull && value === "clone") {
|
|
768
|
+
return value;
|
|
769
|
+
} else if (typeof value === "function") {
|
|
770
|
+
return toFn(value(to, from, dragEl2, evt), pull)(to, from, dragEl2, evt);
|
|
771
|
+
} else {
|
|
772
|
+
var otherGroup = (pull ? to : from).options.group.name;
|
|
773
|
+
return value === true || typeof value === "string" && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
|
|
774
|
+
}
|
|
775
|
+
};
|
|
776
|
+
}
|
|
777
|
+
var group = {};
|
|
778
|
+
var originalGroup = options.group;
|
|
779
|
+
if (!originalGroup || _typeof(originalGroup) != "object") {
|
|
780
|
+
originalGroup = {
|
|
781
|
+
name: originalGroup
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
group.name = originalGroup.name;
|
|
785
|
+
group.checkPull = toFn(originalGroup.pull, true);
|
|
786
|
+
group.checkPut = toFn(originalGroup.put);
|
|
787
|
+
group.revertClone = originalGroup.revertClone;
|
|
788
|
+
options.group = group;
|
|
789
|
+
};
|
|
790
|
+
var _hideGhostForTarget = function _hideGhostForTarget2() {
|
|
791
|
+
if (!supportCssPointerEvents && ghostEl) {
|
|
792
|
+
css(ghostEl, "display", "none");
|
|
793
|
+
}
|
|
794
|
+
};
|
|
795
|
+
var _unhideGhostForTarget = function _unhideGhostForTarget2() {
|
|
796
|
+
if (!supportCssPointerEvents && ghostEl) {
|
|
797
|
+
css(ghostEl, "display", "");
|
|
798
|
+
}
|
|
799
|
+
};
|
|
800
|
+
if (documentExists && !ChromeForAndroid) {
|
|
801
|
+
document.addEventListener("click", function(evt) {
|
|
802
|
+
if (ignoreNextClick) {
|
|
803
|
+
evt.preventDefault();
|
|
804
|
+
evt.stopPropagation && evt.stopPropagation();
|
|
805
|
+
evt.stopImmediatePropagation && evt.stopImmediatePropagation();
|
|
806
|
+
ignoreNextClick = false;
|
|
807
|
+
return false;
|
|
808
|
+
}
|
|
809
|
+
}, true);
|
|
810
|
+
}
|
|
811
|
+
var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent2(evt) {
|
|
812
|
+
if (dragEl) {
|
|
813
|
+
evt = evt.touches ? evt.touches[0] : evt;
|
|
814
|
+
var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
|
|
815
|
+
if (nearest) {
|
|
816
|
+
var event = {};
|
|
817
|
+
for (var i in evt) {
|
|
818
|
+
if (evt.hasOwnProperty(i)) {
|
|
819
|
+
event[i] = evt[i];
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
event.target = event.rootEl = nearest;
|
|
823
|
+
event.preventDefault = void 0;
|
|
824
|
+
event.stopPropagation = void 0;
|
|
825
|
+
nearest[expando]._onDragOver(event);
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
};
|
|
829
|
+
var _checkOutsideTargetEl = function _checkOutsideTargetEl2(evt) {
|
|
830
|
+
if (dragEl) {
|
|
831
|
+
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
|
832
|
+
}
|
|
833
|
+
};
|
|
834
|
+
function Sortable(el, options) {
|
|
835
|
+
if (!(el && el.nodeType && el.nodeType === 1)) {
|
|
836
|
+
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(el));
|
|
837
|
+
}
|
|
838
|
+
this.el = el;
|
|
839
|
+
this.options = options = _extends({}, options);
|
|
840
|
+
el[expando] = this;
|
|
841
|
+
var defaults2 = {
|
|
842
|
+
group: null,
|
|
843
|
+
sort: true,
|
|
844
|
+
disabled: false,
|
|
845
|
+
store: null,
|
|
846
|
+
handle: null,
|
|
847
|
+
draggable: /^[uo]l$/i.test(el.nodeName) ? ">li" : ">*",
|
|
848
|
+
swapThreshold: 1,
|
|
849
|
+
// percentage; 0 <= x <= 1
|
|
850
|
+
invertSwap: false,
|
|
851
|
+
// invert always
|
|
852
|
+
invertedSwapThreshold: null,
|
|
853
|
+
// will be set to same as swapThreshold if default
|
|
854
|
+
removeCloneOnHide: true,
|
|
855
|
+
direction: function direction() {
|
|
856
|
+
return _detectDirection(el, this.options);
|
|
857
|
+
},
|
|
858
|
+
ghostClass: "sortable-ghost",
|
|
859
|
+
chosenClass: "sortable-chosen",
|
|
860
|
+
dragClass: "sortable-drag",
|
|
861
|
+
ignore: "a, img",
|
|
862
|
+
filter: null,
|
|
863
|
+
preventOnFilter: true,
|
|
864
|
+
animation: 0,
|
|
865
|
+
easing: null,
|
|
866
|
+
setData: function setData(dataTransfer, dragEl2) {
|
|
867
|
+
dataTransfer.setData("Text", dragEl2.textContent);
|
|
868
|
+
},
|
|
869
|
+
dropBubble: false,
|
|
870
|
+
dragoverBubble: false,
|
|
871
|
+
dataIdAttr: "data-id",
|
|
872
|
+
delay: 0,
|
|
873
|
+
delayOnTouchOnly: false,
|
|
874
|
+
touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
|
|
875
|
+
forceFallback: false,
|
|
876
|
+
fallbackClass: "sortable-fallback",
|
|
877
|
+
fallbackOnBody: false,
|
|
878
|
+
fallbackTolerance: 0,
|
|
879
|
+
fallbackOffset: {
|
|
880
|
+
x: 0,
|
|
881
|
+
y: 0
|
|
882
|
+
},
|
|
883
|
+
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244
|
|
884
|
+
supportPointer: Sortable.supportPointer !== false && "PointerEvent" in window && (!Safari || IOS),
|
|
885
|
+
emptyInsertThreshold: 5
|
|
886
|
+
};
|
|
887
|
+
PluginManager.initializePlugins(this, el, defaults2);
|
|
888
|
+
for (var name in defaults2) {
|
|
889
|
+
!(name in options) && (options[name] = defaults2[name]);
|
|
890
|
+
}
|
|
891
|
+
_prepareGroup(options);
|
|
892
|
+
for (var fn in this) {
|
|
893
|
+
if (fn.charAt(0) === "_" && typeof this[fn] === "function") {
|
|
894
|
+
this[fn] = this[fn].bind(this);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
this.nativeDraggable = options.forceFallback ? false : supportDraggable;
|
|
898
|
+
if (this.nativeDraggable) {
|
|
899
|
+
this.options.touchStartThreshold = 1;
|
|
900
|
+
}
|
|
901
|
+
if (options.supportPointer) {
|
|
902
|
+
on(el, "pointerdown", this._onTapStart);
|
|
903
|
+
} else {
|
|
904
|
+
on(el, "mousedown", this._onTapStart);
|
|
905
|
+
on(el, "touchstart", this._onTapStart);
|
|
906
|
+
}
|
|
907
|
+
if (this.nativeDraggable) {
|
|
908
|
+
on(el, "dragover", this);
|
|
909
|
+
on(el, "dragenter", this);
|
|
910
|
+
}
|
|
911
|
+
sortables.push(this.el);
|
|
912
|
+
options.store && options.store.get && this.sort(options.store.get(this) || []);
|
|
913
|
+
_extends(this, AnimationStateManager());
|
|
914
|
+
}
|
|
915
|
+
Sortable.prototype = /** @lends Sortable.prototype */
|
|
916
|
+
{
|
|
917
|
+
constructor: Sortable,
|
|
918
|
+
_isOutsideThisEl: function _isOutsideThisEl(target) {
|
|
919
|
+
if (!this.el.contains(target) && target !== this.el) {
|
|
920
|
+
lastTarget = null;
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
_getDirection: function _getDirection(evt, target) {
|
|
924
|
+
return typeof this.options.direction === "function" ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
|
|
925
|
+
},
|
|
926
|
+
_onTapStart: function _onTapStart(evt) {
|
|
927
|
+
if (!evt.cancelable) return;
|
|
928
|
+
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;
|
|
929
|
+
_saveInputCheckedState(el);
|
|
930
|
+
if (dragEl) {
|
|
931
|
+
return;
|
|
932
|
+
}
|
|
933
|
+
if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
|
|
934
|
+
return;
|
|
935
|
+
}
|
|
936
|
+
if (originalTarget.isContentEditable) {
|
|
937
|
+
return;
|
|
938
|
+
}
|
|
939
|
+
if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === "SELECT") {
|
|
940
|
+
return;
|
|
941
|
+
}
|
|
942
|
+
target = closest(target, options.draggable, el, false);
|
|
943
|
+
if (target && target.animated) {
|
|
944
|
+
return;
|
|
945
|
+
}
|
|
946
|
+
if (lastDownEl === target) {
|
|
947
|
+
return;
|
|
948
|
+
}
|
|
949
|
+
oldIndex = index(target);
|
|
950
|
+
oldDraggableIndex = index(target, options.draggable);
|
|
951
|
+
if (typeof filter === "function") {
|
|
952
|
+
if (filter.call(this, evt, target, this)) {
|
|
953
|
+
_dispatchEvent({
|
|
954
|
+
sortable: _this,
|
|
955
|
+
rootEl: originalTarget,
|
|
956
|
+
name: "filter",
|
|
957
|
+
targetEl: target,
|
|
958
|
+
toEl: el,
|
|
959
|
+
fromEl: el
|
|
960
|
+
});
|
|
961
|
+
pluginEvent2("filter", _this, {
|
|
962
|
+
evt
|
|
963
|
+
});
|
|
964
|
+
preventOnFilter && evt.preventDefault();
|
|
965
|
+
return;
|
|
966
|
+
}
|
|
967
|
+
} else if (filter) {
|
|
968
|
+
filter = filter.split(",").some(function(criteria) {
|
|
969
|
+
criteria = closest(originalTarget, criteria.trim(), el, false);
|
|
970
|
+
if (criteria) {
|
|
971
|
+
_dispatchEvent({
|
|
972
|
+
sortable: _this,
|
|
973
|
+
rootEl: criteria,
|
|
974
|
+
name: "filter",
|
|
975
|
+
targetEl: target,
|
|
976
|
+
fromEl: el,
|
|
977
|
+
toEl: el
|
|
978
|
+
});
|
|
979
|
+
pluginEvent2("filter", _this, {
|
|
980
|
+
evt
|
|
981
|
+
});
|
|
982
|
+
return true;
|
|
983
|
+
}
|
|
984
|
+
});
|
|
985
|
+
if (filter) {
|
|
986
|
+
preventOnFilter && evt.preventDefault();
|
|
987
|
+
return;
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
if (options.handle && !closest(originalTarget, options.handle, el, false)) {
|
|
991
|
+
return;
|
|
992
|
+
}
|
|
993
|
+
this._prepareDragStart(evt, touch, target);
|
|
994
|
+
},
|
|
995
|
+
_prepareDragStart: function _prepareDragStart(evt, touch, target) {
|
|
996
|
+
var _this = this, el = _this.el, options = _this.options, ownerDocument = el.ownerDocument, dragStartFn;
|
|
997
|
+
if (target && !dragEl && target.parentNode === el) {
|
|
998
|
+
var dragRect = getRect(target);
|
|
999
|
+
rootEl = el;
|
|
1000
|
+
dragEl = target;
|
|
1001
|
+
parentEl = dragEl.parentNode;
|
|
1002
|
+
nextEl = dragEl.nextSibling;
|
|
1003
|
+
lastDownEl = target;
|
|
1004
|
+
activeGroup = options.group;
|
|
1005
|
+
Sortable.dragged = dragEl;
|
|
1006
|
+
tapEvt = {
|
|
1007
|
+
target: dragEl,
|
|
1008
|
+
clientX: (touch || evt).clientX,
|
|
1009
|
+
clientY: (touch || evt).clientY
|
|
1010
|
+
};
|
|
1011
|
+
tapDistanceLeft = tapEvt.clientX - dragRect.left;
|
|
1012
|
+
tapDistanceTop = tapEvt.clientY - dragRect.top;
|
|
1013
|
+
this._lastX = (touch || evt).clientX;
|
|
1014
|
+
this._lastY = (touch || evt).clientY;
|
|
1015
|
+
dragEl.style["will-change"] = "all";
|
|
1016
|
+
dragStartFn = function dragStartFn2() {
|
|
1017
|
+
pluginEvent2("delayEnded", _this, {
|
|
1018
|
+
evt
|
|
1019
|
+
});
|
|
1020
|
+
if (Sortable.eventCanceled) {
|
|
1021
|
+
_this._onDrop();
|
|
1022
|
+
return;
|
|
1023
|
+
}
|
|
1024
|
+
_this._disableDelayedDragEvents();
|
|
1025
|
+
if (!FireFox && _this.nativeDraggable) {
|
|
1026
|
+
dragEl.draggable = true;
|
|
1027
|
+
}
|
|
1028
|
+
_this._triggerDragStart(evt, touch);
|
|
1029
|
+
_dispatchEvent({
|
|
1030
|
+
sortable: _this,
|
|
1031
|
+
name: "choose",
|
|
1032
|
+
originalEvent: evt
|
|
1033
|
+
});
|
|
1034
|
+
toggleClass(dragEl, options.chosenClass, true);
|
|
1035
|
+
};
|
|
1036
|
+
options.ignore.split(",").forEach(function(criteria) {
|
|
1037
|
+
find(dragEl, criteria.trim(), _disableDraggable);
|
|
1038
|
+
});
|
|
1039
|
+
on(ownerDocument, "dragover", nearestEmptyInsertDetectEvent);
|
|
1040
|
+
on(ownerDocument, "mousemove", nearestEmptyInsertDetectEvent);
|
|
1041
|
+
on(ownerDocument, "touchmove", nearestEmptyInsertDetectEvent);
|
|
1042
|
+
if (options.supportPointer) {
|
|
1043
|
+
on(ownerDocument, "pointerup", _this._onDrop);
|
|
1044
|
+
!this.nativeDraggable && on(ownerDocument, "pointercancel", _this._onDrop);
|
|
1045
|
+
} else {
|
|
1046
|
+
on(ownerDocument, "mouseup", _this._onDrop);
|
|
1047
|
+
on(ownerDocument, "touchend", _this._onDrop);
|
|
1048
|
+
on(ownerDocument, "touchcancel", _this._onDrop);
|
|
1049
|
+
}
|
|
1050
|
+
if (FireFox && this.nativeDraggable) {
|
|
1051
|
+
this.options.touchStartThreshold = 4;
|
|
1052
|
+
dragEl.draggable = true;
|
|
1053
|
+
}
|
|
1054
|
+
pluginEvent2("delayStart", this, {
|
|
1055
|
+
evt
|
|
1056
|
+
});
|
|
1057
|
+
if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
|
|
1058
|
+
if (Sortable.eventCanceled) {
|
|
1059
|
+
this._onDrop();
|
|
1060
|
+
return;
|
|
1061
|
+
}
|
|
1062
|
+
if (options.supportPointer) {
|
|
1063
|
+
on(ownerDocument, "pointerup", _this._disableDelayedDrag);
|
|
1064
|
+
on(ownerDocument, "pointercancel", _this._disableDelayedDrag);
|
|
1065
|
+
} else {
|
|
1066
|
+
on(ownerDocument, "mouseup", _this._disableDelayedDrag);
|
|
1067
|
+
on(ownerDocument, "touchend", _this._disableDelayedDrag);
|
|
1068
|
+
on(ownerDocument, "touchcancel", _this._disableDelayedDrag);
|
|
1069
|
+
}
|
|
1070
|
+
on(ownerDocument, "mousemove", _this._delayedDragTouchMoveHandler);
|
|
1071
|
+
on(ownerDocument, "touchmove", _this._delayedDragTouchMoveHandler);
|
|
1072
|
+
options.supportPointer && on(ownerDocument, "pointermove", _this._delayedDragTouchMoveHandler);
|
|
1073
|
+
_this._dragStartTimer = setTimeout(dragStartFn, options.delay);
|
|
1074
|
+
} else {
|
|
1075
|
+
dragStartFn();
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
_delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler(e2) {
|
|
1080
|
+
var touch = e2.touches ? e2.touches[0] : e2;
|
|
1081
|
+
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))) {
|
|
1082
|
+
this._disableDelayedDrag();
|
|
1083
|
+
}
|
|
1084
|
+
},
|
|
1085
|
+
_disableDelayedDrag: function _disableDelayedDrag() {
|
|
1086
|
+
dragEl && _disableDraggable(dragEl);
|
|
1087
|
+
clearTimeout(this._dragStartTimer);
|
|
1088
|
+
this._disableDelayedDragEvents();
|
|
1089
|
+
},
|
|
1090
|
+
_disableDelayedDragEvents: function _disableDelayedDragEvents() {
|
|
1091
|
+
var ownerDocument = this.el.ownerDocument;
|
|
1092
|
+
off(ownerDocument, "mouseup", this._disableDelayedDrag);
|
|
1093
|
+
off(ownerDocument, "touchend", this._disableDelayedDrag);
|
|
1094
|
+
off(ownerDocument, "touchcancel", this._disableDelayedDrag);
|
|
1095
|
+
off(ownerDocument, "pointerup", this._disableDelayedDrag);
|
|
1096
|
+
off(ownerDocument, "pointercancel", this._disableDelayedDrag);
|
|
1097
|
+
off(ownerDocument, "mousemove", this._delayedDragTouchMoveHandler);
|
|
1098
|
+
off(ownerDocument, "touchmove", this._delayedDragTouchMoveHandler);
|
|
1099
|
+
off(ownerDocument, "pointermove", this._delayedDragTouchMoveHandler);
|
|
1100
|
+
},
|
|
1101
|
+
_triggerDragStart: function _triggerDragStart(evt, touch) {
|
|
1102
|
+
touch = touch || evt.pointerType == "touch" && evt;
|
|
1103
|
+
if (!this.nativeDraggable || touch) {
|
|
1104
|
+
if (this.options.supportPointer) {
|
|
1105
|
+
on(document, "pointermove", this._onTouchMove);
|
|
1106
|
+
} else if (touch) {
|
|
1107
|
+
on(document, "touchmove", this._onTouchMove);
|
|
1108
|
+
} else {
|
|
1109
|
+
on(document, "mousemove", this._onTouchMove);
|
|
1110
|
+
}
|
|
1111
|
+
} else {
|
|
1112
|
+
on(dragEl, "dragend", this);
|
|
1113
|
+
on(rootEl, "dragstart", this._onDragStart);
|
|
1114
|
+
}
|
|
1115
|
+
try {
|
|
1116
|
+
if (document.selection) {
|
|
1117
|
+
_nextTick(function() {
|
|
1118
|
+
document.selection.empty();
|
|
1119
|
+
});
|
|
1120
|
+
} else {
|
|
1121
|
+
window.getSelection().removeAllRanges();
|
|
1122
|
+
}
|
|
1123
|
+
} catch (err) {
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
_dragStarted: function _dragStarted(fallback, evt) {
|
|
1127
|
+
awaitingDragStarted = false;
|
|
1128
|
+
if (rootEl && dragEl) {
|
|
1129
|
+
pluginEvent2("dragStarted", this, {
|
|
1130
|
+
evt
|
|
1131
|
+
});
|
|
1132
|
+
if (this.nativeDraggable) {
|
|
1133
|
+
on(document, "dragover", _checkOutsideTargetEl);
|
|
1134
|
+
}
|
|
1135
|
+
var options = this.options;
|
|
1136
|
+
!fallback && toggleClass(dragEl, options.dragClass, false);
|
|
1137
|
+
toggleClass(dragEl, options.ghostClass, true);
|
|
1138
|
+
Sortable.active = this;
|
|
1139
|
+
fallback && this._appendGhost();
|
|
1140
|
+
_dispatchEvent({
|
|
1141
|
+
sortable: this,
|
|
1142
|
+
name: "start",
|
|
1143
|
+
originalEvent: evt
|
|
1144
|
+
});
|
|
1145
|
+
} else {
|
|
1146
|
+
this._nulling();
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
_emulateDragOver: function _emulateDragOver() {
|
|
1150
|
+
if (touchEvt) {
|
|
1151
|
+
this._lastX = touchEvt.clientX;
|
|
1152
|
+
this._lastY = touchEvt.clientY;
|
|
1153
|
+
_hideGhostForTarget();
|
|
1154
|
+
var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
|
|
1155
|
+
var parent = target;
|
|
1156
|
+
while (target && target.shadowRoot) {
|
|
1157
|
+
target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
|
|
1158
|
+
if (target === parent) break;
|
|
1159
|
+
parent = target;
|
|
1160
|
+
}
|
|
1161
|
+
dragEl.parentNode[expando]._isOutsideThisEl(target);
|
|
1162
|
+
if (parent) {
|
|
1163
|
+
do {
|
|
1164
|
+
if (parent[expando]) {
|
|
1165
|
+
var inserted = void 0;
|
|
1166
|
+
inserted = parent[expando]._onDragOver({
|
|
1167
|
+
clientX: touchEvt.clientX,
|
|
1168
|
+
clientY: touchEvt.clientY,
|
|
1169
|
+
target,
|
|
1170
|
+
rootEl: parent
|
|
1171
|
+
});
|
|
1172
|
+
if (inserted && !this.options.dragoverBubble) {
|
|
1173
|
+
break;
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
target = parent;
|
|
1177
|
+
} while (parent = getParentOrHost(parent));
|
|
1178
|
+
}
|
|
1179
|
+
_unhideGhostForTarget();
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
_onTouchMove: function _onTouchMove(evt) {
|
|
1183
|
+
if (tapEvt) {
|
|
1184
|
+
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);
|
|
1185
|
+
if (!Sortable.active && !awaitingDragStarted) {
|
|
1186
|
+
if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
|
|
1187
|
+
return;
|
|
1188
|
+
}
|
|
1189
|
+
this._onDragStart(evt, true);
|
|
1190
|
+
}
|
|
1191
|
+
if (ghostEl) {
|
|
1192
|
+
if (ghostMatrix) {
|
|
1193
|
+
ghostMatrix.e += dx - (lastDx || 0);
|
|
1194
|
+
ghostMatrix.f += dy - (lastDy || 0);
|
|
1195
|
+
} else {
|
|
1196
|
+
ghostMatrix = {
|
|
1197
|
+
a: 1,
|
|
1198
|
+
b: 0,
|
|
1199
|
+
c: 0,
|
|
1200
|
+
d: 1,
|
|
1201
|
+
e: dx,
|
|
1202
|
+
f: dy
|
|
1203
|
+
};
|
|
1204
|
+
}
|
|
1205
|
+
var cssMatrix = "matrix(".concat(ghostMatrix.a, ",").concat(ghostMatrix.b, ",").concat(ghostMatrix.c, ",").concat(ghostMatrix.d, ",").concat(ghostMatrix.e, ",").concat(ghostMatrix.f, ")");
|
|
1206
|
+
css(ghostEl, "webkitTransform", cssMatrix);
|
|
1207
|
+
css(ghostEl, "mozTransform", cssMatrix);
|
|
1208
|
+
css(ghostEl, "msTransform", cssMatrix);
|
|
1209
|
+
css(ghostEl, "transform", cssMatrix);
|
|
1210
|
+
lastDx = dx;
|
|
1211
|
+
lastDy = dy;
|
|
1212
|
+
touchEvt = touch;
|
|
1213
|
+
}
|
|
1214
|
+
evt.cancelable && evt.preventDefault();
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
_appendGhost: function _appendGhost() {
|
|
1218
|
+
if (!ghostEl) {
|
|
1219
|
+
var container = this.options.fallbackOnBody ? document.body : rootEl, rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container), options = this.options;
|
|
1220
|
+
if (PositionGhostAbsolutely) {
|
|
1221
|
+
ghostRelativeParent = container;
|
|
1222
|
+
while (css(ghostRelativeParent, "position") === "static" && css(ghostRelativeParent, "transform") === "none" && ghostRelativeParent !== document) {
|
|
1223
|
+
ghostRelativeParent = ghostRelativeParent.parentNode;
|
|
1224
|
+
}
|
|
1225
|
+
if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
|
|
1226
|
+
if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
|
|
1227
|
+
rect.top += ghostRelativeParent.scrollTop;
|
|
1228
|
+
rect.left += ghostRelativeParent.scrollLeft;
|
|
1229
|
+
} else {
|
|
1230
|
+
ghostRelativeParent = getWindowScrollingElement();
|
|
1231
|
+
}
|
|
1232
|
+
ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
|
|
1233
|
+
}
|
|
1234
|
+
ghostEl = dragEl.cloneNode(true);
|
|
1235
|
+
toggleClass(ghostEl, options.ghostClass, false);
|
|
1236
|
+
toggleClass(ghostEl, options.fallbackClass, true);
|
|
1237
|
+
toggleClass(ghostEl, options.dragClass, true);
|
|
1238
|
+
css(ghostEl, "transition", "");
|
|
1239
|
+
css(ghostEl, "transform", "");
|
|
1240
|
+
css(ghostEl, "box-sizing", "border-box");
|
|
1241
|
+
css(ghostEl, "margin", 0);
|
|
1242
|
+
css(ghostEl, "top", rect.top);
|
|
1243
|
+
css(ghostEl, "left", rect.left);
|
|
1244
|
+
css(ghostEl, "width", rect.width);
|
|
1245
|
+
css(ghostEl, "height", rect.height);
|
|
1246
|
+
css(ghostEl, "opacity", "0.8");
|
|
1247
|
+
css(ghostEl, "position", PositionGhostAbsolutely ? "absolute" : "fixed");
|
|
1248
|
+
css(ghostEl, "zIndex", "100000");
|
|
1249
|
+
css(ghostEl, "pointerEvents", "none");
|
|
1250
|
+
Sortable.ghost = ghostEl;
|
|
1251
|
+
container.appendChild(ghostEl);
|
|
1252
|
+
css(ghostEl, "transform-origin", tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + "% " + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + "%");
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
_onDragStart: function _onDragStart(evt, fallback) {
|
|
1256
|
+
var _this = this;
|
|
1257
|
+
var dataTransfer = evt.dataTransfer;
|
|
1258
|
+
var options = _this.options;
|
|
1259
|
+
pluginEvent2("dragStart", this, {
|
|
1260
|
+
evt
|
|
1261
|
+
});
|
|
1262
|
+
if (Sortable.eventCanceled) {
|
|
1263
|
+
this._onDrop();
|
|
1264
|
+
return;
|
|
1265
|
+
}
|
|
1266
|
+
pluginEvent2("setupClone", this);
|
|
1267
|
+
if (!Sortable.eventCanceled) {
|
|
1268
|
+
cloneEl = clone(dragEl);
|
|
1269
|
+
cloneEl.removeAttribute("id");
|
|
1270
|
+
cloneEl.draggable = false;
|
|
1271
|
+
cloneEl.style["will-change"] = "";
|
|
1272
|
+
this._hideClone();
|
|
1273
|
+
toggleClass(cloneEl, this.options.chosenClass, false);
|
|
1274
|
+
Sortable.clone = cloneEl;
|
|
1275
|
+
}
|
|
1276
|
+
_this.cloneId = _nextTick(function() {
|
|
1277
|
+
pluginEvent2("clone", _this);
|
|
1278
|
+
if (Sortable.eventCanceled) return;
|
|
1279
|
+
if (!_this.options.removeCloneOnHide) {
|
|
1280
|
+
rootEl.insertBefore(cloneEl, dragEl);
|
|
1281
|
+
}
|
|
1282
|
+
_this._hideClone();
|
|
1283
|
+
_dispatchEvent({
|
|
1284
|
+
sortable: _this,
|
|
1285
|
+
name: "clone"
|
|
1286
|
+
});
|
|
1287
|
+
});
|
|
1288
|
+
!fallback && toggleClass(dragEl, options.dragClass, true);
|
|
1289
|
+
if (fallback) {
|
|
1290
|
+
ignoreNextClick = true;
|
|
1291
|
+
_this._loopId = setInterval(_this._emulateDragOver, 50);
|
|
1292
|
+
} else {
|
|
1293
|
+
off(document, "mouseup", _this._onDrop);
|
|
1294
|
+
off(document, "touchend", _this._onDrop);
|
|
1295
|
+
off(document, "touchcancel", _this._onDrop);
|
|
1296
|
+
if (dataTransfer) {
|
|
1297
|
+
dataTransfer.effectAllowed = "move";
|
|
1298
|
+
options.setData && options.setData.call(_this, dataTransfer, dragEl);
|
|
1299
|
+
}
|
|
1300
|
+
on(document, "drop", _this);
|
|
1301
|
+
css(dragEl, "transform", "translateZ(0)");
|
|
1302
|
+
}
|
|
1303
|
+
awaitingDragStarted = true;
|
|
1304
|
+
_this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
|
|
1305
|
+
on(document, "selectstart", _this);
|
|
1306
|
+
moved = true;
|
|
1307
|
+
window.getSelection().removeAllRanges();
|
|
1308
|
+
if (Safari) {
|
|
1309
|
+
css(document.body, "user-select", "none");
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
// Returns true - if no further action is needed (either inserted or another condition)
|
|
1313
|
+
_onDragOver: function _onDragOver(evt) {
|
|
1314
|
+
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;
|
|
1315
|
+
if (_silent) return;
|
|
1316
|
+
function dragOverEvent(name, extra) {
|
|
1317
|
+
pluginEvent2(name, _this, _objectSpread2({
|
|
1318
|
+
evt,
|
|
1319
|
+
isOwner,
|
|
1320
|
+
axis: vertical ? "vertical" : "horizontal",
|
|
1321
|
+
revert,
|
|
1322
|
+
dragRect,
|
|
1323
|
+
targetRect,
|
|
1324
|
+
canSort,
|
|
1325
|
+
fromSortable,
|
|
1326
|
+
target,
|
|
1327
|
+
completed,
|
|
1328
|
+
onMove: function onMove(target2, after2) {
|
|
1329
|
+
return _onMove(rootEl, el, dragEl, dragRect, target2, getRect(target2), evt, after2);
|
|
1330
|
+
},
|
|
1331
|
+
changed
|
|
1332
|
+
}, extra));
|
|
1333
|
+
}
|
|
1334
|
+
function capture() {
|
|
1335
|
+
dragOverEvent("dragOverAnimationCapture");
|
|
1336
|
+
_this.captureAnimationState();
|
|
1337
|
+
if (_this !== fromSortable) {
|
|
1338
|
+
fromSortable.captureAnimationState();
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
function completed(insertion) {
|
|
1342
|
+
dragOverEvent("dragOverCompleted", {
|
|
1343
|
+
insertion
|
|
1344
|
+
});
|
|
1345
|
+
if (insertion) {
|
|
1346
|
+
if (isOwner) {
|
|
1347
|
+
activeSortable._hideClone();
|
|
1348
|
+
} else {
|
|
1349
|
+
activeSortable._showClone(_this);
|
|
1350
|
+
}
|
|
1351
|
+
if (_this !== fromSortable) {
|
|
1352
|
+
toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
|
|
1353
|
+
toggleClass(dragEl, options.ghostClass, true);
|
|
1354
|
+
}
|
|
1355
|
+
if (putSortable !== _this && _this !== Sortable.active) {
|
|
1356
|
+
putSortable = _this;
|
|
1357
|
+
} else if (_this === Sortable.active && putSortable) {
|
|
1358
|
+
putSortable = null;
|
|
1359
|
+
}
|
|
1360
|
+
if (fromSortable === _this) {
|
|
1361
|
+
_this._ignoreWhileAnimating = target;
|
|
1362
|
+
}
|
|
1363
|
+
_this.animateAll(function() {
|
|
1364
|
+
dragOverEvent("dragOverAnimationComplete");
|
|
1365
|
+
_this._ignoreWhileAnimating = null;
|
|
1366
|
+
});
|
|
1367
|
+
if (_this !== fromSortable) {
|
|
1368
|
+
fromSortable.animateAll();
|
|
1369
|
+
fromSortable._ignoreWhileAnimating = null;
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
|
|
1373
|
+
lastTarget = null;
|
|
1374
|
+
}
|
|
1375
|
+
if (!options.dragoverBubble && !evt.rootEl && target !== document) {
|
|
1376
|
+
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
|
1377
|
+
!insertion && nearestEmptyInsertDetectEvent(evt);
|
|
1378
|
+
}
|
|
1379
|
+
!options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
|
|
1380
|
+
return completedFired = true;
|
|
1381
|
+
}
|
|
1382
|
+
function changed() {
|
|
1383
|
+
newIndex = index(dragEl);
|
|
1384
|
+
newDraggableIndex = index(dragEl, options.draggable);
|
|
1385
|
+
_dispatchEvent({
|
|
1386
|
+
sortable: _this,
|
|
1387
|
+
name: "change",
|
|
1388
|
+
toEl: el,
|
|
1389
|
+
newIndex,
|
|
1390
|
+
newDraggableIndex,
|
|
1391
|
+
originalEvent: evt
|
|
1392
|
+
});
|
|
1393
|
+
}
|
|
1394
|
+
if (evt.preventDefault !== void 0) {
|
|
1395
|
+
evt.cancelable && evt.preventDefault();
|
|
1396
|
+
}
|
|
1397
|
+
target = closest(target, options.draggable, el, true);
|
|
1398
|
+
dragOverEvent("dragOver");
|
|
1399
|
+
if (Sortable.eventCanceled) return completedFired;
|
|
1400
|
+
if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
|
|
1401
|
+
return completed(false);
|
|
1402
|
+
}
|
|
1403
|
+
ignoreNextClick = false;
|
|
1404
|
+
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))) {
|
|
1405
|
+
vertical = this._getDirection(evt, target) === "vertical";
|
|
1406
|
+
dragRect = getRect(dragEl);
|
|
1407
|
+
dragOverEvent("dragOverValid");
|
|
1408
|
+
if (Sortable.eventCanceled) return completedFired;
|
|
1409
|
+
if (revert) {
|
|
1410
|
+
parentEl = rootEl;
|
|
1411
|
+
capture();
|
|
1412
|
+
this._hideClone();
|
|
1413
|
+
dragOverEvent("revert");
|
|
1414
|
+
if (!Sortable.eventCanceled) {
|
|
1415
|
+
if (nextEl) {
|
|
1416
|
+
rootEl.insertBefore(dragEl, nextEl);
|
|
1417
|
+
} else {
|
|
1418
|
+
rootEl.appendChild(dragEl);
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
return completed(true);
|
|
1422
|
+
}
|
|
1423
|
+
var elLastChild = lastChild(el, options.draggable);
|
|
1424
|
+
if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
|
|
1425
|
+
if (elLastChild === dragEl) {
|
|
1426
|
+
return completed(false);
|
|
1427
|
+
}
|
|
1428
|
+
if (elLastChild && el === evt.target) {
|
|
1429
|
+
target = elLastChild;
|
|
1430
|
+
}
|
|
1431
|
+
if (target) {
|
|
1432
|
+
targetRect = getRect(target);
|
|
1433
|
+
}
|
|
1434
|
+
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
|
|
1435
|
+
capture();
|
|
1436
|
+
if (elLastChild && elLastChild.nextSibling) {
|
|
1437
|
+
el.insertBefore(dragEl, elLastChild.nextSibling);
|
|
1438
|
+
} else {
|
|
1439
|
+
el.appendChild(dragEl);
|
|
1440
|
+
}
|
|
1441
|
+
parentEl = el;
|
|
1442
|
+
changed();
|
|
1443
|
+
return completed(true);
|
|
1444
|
+
}
|
|
1445
|
+
} else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
|
|
1446
|
+
var firstChild = getChild(el, 0, options, true);
|
|
1447
|
+
if (firstChild === dragEl) {
|
|
1448
|
+
return completed(false);
|
|
1449
|
+
}
|
|
1450
|
+
target = firstChild;
|
|
1451
|
+
targetRect = getRect(target);
|
|
1452
|
+
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
|
|
1453
|
+
capture();
|
|
1454
|
+
el.insertBefore(dragEl, firstChild);
|
|
1455
|
+
parentEl = el;
|
|
1456
|
+
changed();
|
|
1457
|
+
return completed(true);
|
|
1458
|
+
}
|
|
1459
|
+
} else if (target.parentNode === el) {
|
|
1460
|
+
targetRect = getRect(target);
|
|
1461
|
+
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;
|
|
1462
|
+
if (lastTarget !== target) {
|
|
1463
|
+
targetBeforeFirstSwap = targetRect[side1];
|
|
1464
|
+
pastFirstInvertThresh = false;
|
|
1465
|
+
isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
|
|
1466
|
+
}
|
|
1467
|
+
direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
|
|
1468
|
+
var sibling;
|
|
1469
|
+
if (direction !== 0) {
|
|
1470
|
+
var dragIndex = index(dragEl);
|
|
1471
|
+
do {
|
|
1472
|
+
dragIndex -= direction;
|
|
1473
|
+
sibling = parentEl.children[dragIndex];
|
|
1474
|
+
} while (sibling && (css(sibling, "display") === "none" || sibling === ghostEl));
|
|
1475
|
+
}
|
|
1476
|
+
if (direction === 0 || sibling === target) {
|
|
1477
|
+
return completed(false);
|
|
1478
|
+
}
|
|
1479
|
+
lastTarget = target;
|
|
1480
|
+
lastDirection = direction;
|
|
1481
|
+
var nextSibling = target.nextElementSibling, after = false;
|
|
1482
|
+
after = direction === 1;
|
|
1483
|
+
var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
|
|
1484
|
+
if (moveVector !== false) {
|
|
1485
|
+
if (moveVector === 1 || moveVector === -1) {
|
|
1486
|
+
after = moveVector === 1;
|
|
1487
|
+
}
|
|
1488
|
+
_silent = true;
|
|
1489
|
+
setTimeout(_unsilent, 30);
|
|
1490
|
+
capture();
|
|
1491
|
+
if (after && !nextSibling) {
|
|
1492
|
+
el.appendChild(dragEl);
|
|
1493
|
+
} else {
|
|
1494
|
+
target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
|
|
1495
|
+
}
|
|
1496
|
+
if (scrolledPastTop) {
|
|
1497
|
+
scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
|
|
1498
|
+
}
|
|
1499
|
+
parentEl = dragEl.parentNode;
|
|
1500
|
+
if (targetBeforeFirstSwap !== void 0 && !isCircumstantialInvert) {
|
|
1501
|
+
targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
|
|
1502
|
+
}
|
|
1503
|
+
changed();
|
|
1504
|
+
return completed(true);
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
if (el.contains(dragEl)) {
|
|
1508
|
+
return completed(false);
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
return false;
|
|
1512
|
+
},
|
|
1513
|
+
_ignoreWhileAnimating: null,
|
|
1514
|
+
_offMoveEvents: function _offMoveEvents() {
|
|
1515
|
+
off(document, "mousemove", this._onTouchMove);
|
|
1516
|
+
off(document, "touchmove", this._onTouchMove);
|
|
1517
|
+
off(document, "pointermove", this._onTouchMove);
|
|
1518
|
+
off(document, "dragover", nearestEmptyInsertDetectEvent);
|
|
1519
|
+
off(document, "mousemove", nearestEmptyInsertDetectEvent);
|
|
1520
|
+
off(document, "touchmove", nearestEmptyInsertDetectEvent);
|
|
1521
|
+
},
|
|
1522
|
+
_offUpEvents: function _offUpEvents() {
|
|
1523
|
+
var ownerDocument = this.el.ownerDocument;
|
|
1524
|
+
off(ownerDocument, "mouseup", this._onDrop);
|
|
1525
|
+
off(ownerDocument, "touchend", this._onDrop);
|
|
1526
|
+
off(ownerDocument, "pointerup", this._onDrop);
|
|
1527
|
+
off(ownerDocument, "pointercancel", this._onDrop);
|
|
1528
|
+
off(ownerDocument, "touchcancel", this._onDrop);
|
|
1529
|
+
off(document, "selectstart", this);
|
|
1530
|
+
},
|
|
1531
|
+
_onDrop: function _onDrop(evt) {
|
|
1532
|
+
var el = this.el, options = this.options;
|
|
1533
|
+
newIndex = index(dragEl);
|
|
1534
|
+
newDraggableIndex = index(dragEl, options.draggable);
|
|
1535
|
+
pluginEvent2("drop", this, {
|
|
1536
|
+
evt
|
|
1537
|
+
});
|
|
1538
|
+
parentEl = dragEl && dragEl.parentNode;
|
|
1539
|
+
newIndex = index(dragEl);
|
|
1540
|
+
newDraggableIndex = index(dragEl, options.draggable);
|
|
1541
|
+
if (Sortable.eventCanceled) {
|
|
1542
|
+
this._nulling();
|
|
1543
|
+
return;
|
|
1544
|
+
}
|
|
1545
|
+
awaitingDragStarted = false;
|
|
1546
|
+
isCircumstantialInvert = false;
|
|
1547
|
+
pastFirstInvertThresh = false;
|
|
1548
|
+
clearInterval(this._loopId);
|
|
1549
|
+
clearTimeout(this._dragStartTimer);
|
|
1550
|
+
_cancelNextTick(this.cloneId);
|
|
1551
|
+
_cancelNextTick(this._dragStartId);
|
|
1552
|
+
if (this.nativeDraggable) {
|
|
1553
|
+
off(document, "drop", this);
|
|
1554
|
+
off(el, "dragstart", this._onDragStart);
|
|
1555
|
+
}
|
|
1556
|
+
this._offMoveEvents();
|
|
1557
|
+
this._offUpEvents();
|
|
1558
|
+
if (Safari) {
|
|
1559
|
+
css(document.body, "user-select", "");
|
|
1560
|
+
}
|
|
1561
|
+
css(dragEl, "transform", "");
|
|
1562
|
+
if (evt) {
|
|
1563
|
+
if (moved) {
|
|
1564
|
+
evt.cancelable && evt.preventDefault();
|
|
1565
|
+
!options.dropBubble && evt.stopPropagation();
|
|
1566
|
+
}
|
|
1567
|
+
ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
|
|
1568
|
+
if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== "clone") {
|
|
1569
|
+
cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
|
|
1570
|
+
}
|
|
1571
|
+
if (dragEl) {
|
|
1572
|
+
if (this.nativeDraggable) {
|
|
1573
|
+
off(dragEl, "dragend", this);
|
|
1574
|
+
}
|
|
1575
|
+
_disableDraggable(dragEl);
|
|
1576
|
+
dragEl.style["will-change"] = "";
|
|
1577
|
+
if (moved && !awaitingDragStarted) {
|
|
1578
|
+
toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
|
|
1579
|
+
}
|
|
1580
|
+
toggleClass(dragEl, this.options.chosenClass, false);
|
|
1581
|
+
_dispatchEvent({
|
|
1582
|
+
sortable: this,
|
|
1583
|
+
name: "unchoose",
|
|
1584
|
+
toEl: parentEl,
|
|
1585
|
+
newIndex: null,
|
|
1586
|
+
newDraggableIndex: null,
|
|
1587
|
+
originalEvent: evt
|
|
1588
|
+
});
|
|
1589
|
+
if (rootEl !== parentEl) {
|
|
1590
|
+
if (newIndex >= 0) {
|
|
1591
|
+
_dispatchEvent({
|
|
1592
|
+
rootEl: parentEl,
|
|
1593
|
+
name: "add",
|
|
1594
|
+
toEl: parentEl,
|
|
1595
|
+
fromEl: rootEl,
|
|
1596
|
+
originalEvent: evt
|
|
1597
|
+
});
|
|
1598
|
+
_dispatchEvent({
|
|
1599
|
+
sortable: this,
|
|
1600
|
+
name: "remove",
|
|
1601
|
+
toEl: parentEl,
|
|
1602
|
+
originalEvent: evt
|
|
1603
|
+
});
|
|
1604
|
+
_dispatchEvent({
|
|
1605
|
+
rootEl: parentEl,
|
|
1606
|
+
name: "sort",
|
|
1607
|
+
toEl: parentEl,
|
|
1608
|
+
fromEl: rootEl,
|
|
1609
|
+
originalEvent: evt
|
|
1610
|
+
});
|
|
1611
|
+
_dispatchEvent({
|
|
1612
|
+
sortable: this,
|
|
1613
|
+
name: "sort",
|
|
1614
|
+
toEl: parentEl,
|
|
1615
|
+
originalEvent: evt
|
|
1616
|
+
});
|
|
1617
|
+
}
|
|
1618
|
+
putSortable && putSortable.save();
|
|
1619
|
+
} else {
|
|
1620
|
+
if (newIndex !== oldIndex) {
|
|
1621
|
+
if (newIndex >= 0) {
|
|
1622
|
+
_dispatchEvent({
|
|
1623
|
+
sortable: this,
|
|
1624
|
+
name: "update",
|
|
1625
|
+
toEl: parentEl,
|
|
1626
|
+
originalEvent: evt
|
|
1627
|
+
});
|
|
1628
|
+
_dispatchEvent({
|
|
1629
|
+
sortable: this,
|
|
1630
|
+
name: "sort",
|
|
1631
|
+
toEl: parentEl,
|
|
1632
|
+
originalEvent: evt
|
|
1633
|
+
});
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
if (Sortable.active) {
|
|
1638
|
+
if (newIndex == null || newIndex === -1) {
|
|
1639
|
+
newIndex = oldIndex;
|
|
1640
|
+
newDraggableIndex = oldDraggableIndex;
|
|
1641
|
+
}
|
|
1642
|
+
_dispatchEvent({
|
|
1643
|
+
sortable: this,
|
|
1644
|
+
name: "end",
|
|
1645
|
+
toEl: parentEl,
|
|
1646
|
+
originalEvent: evt
|
|
1647
|
+
});
|
|
1648
|
+
this.save();
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
this._nulling();
|
|
1653
|
+
},
|
|
1654
|
+
_nulling: function _nulling() {
|
|
1655
|
+
pluginEvent2("nulling", this);
|
|
1656
|
+
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;
|
|
1657
|
+
var el = this.el;
|
|
1658
|
+
savedInputChecked.forEach(function(checkEl) {
|
|
1659
|
+
if (el.contains(checkEl)) {
|
|
1660
|
+
checkEl.checked = true;
|
|
1661
|
+
}
|
|
1662
|
+
});
|
|
1663
|
+
savedInputChecked.length = lastDx = lastDy = 0;
|
|
1664
|
+
},
|
|
1665
|
+
handleEvent: function handleEvent(evt) {
|
|
1666
|
+
switch (evt.type) {
|
|
1667
|
+
case "drop":
|
|
1668
|
+
case "dragend":
|
|
1669
|
+
this._onDrop(evt);
|
|
1670
|
+
break;
|
|
1671
|
+
case "dragenter":
|
|
1672
|
+
case "dragover":
|
|
1673
|
+
if (dragEl) {
|
|
1674
|
+
this._onDragOver(evt);
|
|
1675
|
+
_globalDragOver(evt);
|
|
1676
|
+
}
|
|
1677
|
+
break;
|
|
1678
|
+
case "selectstart":
|
|
1679
|
+
evt.preventDefault();
|
|
1680
|
+
break;
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
/**
|
|
1684
|
+
* Serializes the item into an array of string.
|
|
1685
|
+
* @returns {String[]}
|
|
1686
|
+
*/
|
|
1687
|
+
toArray: function toArray() {
|
|
1688
|
+
var order = [], el, children = this.el.children, i = 0, n = children.length, options = this.options;
|
|
1689
|
+
for (; i < n; i++) {
|
|
1690
|
+
el = children[i];
|
|
1691
|
+
if (closest(el, options.draggable, this.el, false)) {
|
|
1692
|
+
order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
return order;
|
|
1696
|
+
},
|
|
1697
|
+
/**
|
|
1698
|
+
* Sorts the elements according to the array.
|
|
1699
|
+
* @param {String[]} order order of the items
|
|
1700
|
+
*/
|
|
1701
|
+
sort: function sort(order, useAnimation) {
|
|
1702
|
+
var items = {}, rootEl2 = this.el;
|
|
1703
|
+
this.toArray().forEach(function(id, i) {
|
|
1704
|
+
var el = rootEl2.children[i];
|
|
1705
|
+
if (closest(el, this.options.draggable, rootEl2, false)) {
|
|
1706
|
+
items[id] = el;
|
|
1707
|
+
}
|
|
1708
|
+
}, this);
|
|
1709
|
+
useAnimation && this.captureAnimationState();
|
|
1710
|
+
order.forEach(function(id) {
|
|
1711
|
+
if (items[id]) {
|
|
1712
|
+
rootEl2.removeChild(items[id]);
|
|
1713
|
+
rootEl2.appendChild(items[id]);
|
|
1714
|
+
}
|
|
1715
|
+
});
|
|
1716
|
+
useAnimation && this.animateAll();
|
|
1717
|
+
},
|
|
1718
|
+
/**
|
|
1719
|
+
* Save the current sorting
|
|
1720
|
+
*/
|
|
1721
|
+
save: function save() {
|
|
1722
|
+
var store = this.options.store;
|
|
1723
|
+
store && store.set && store.set(this);
|
|
1724
|
+
},
|
|
1725
|
+
/**
|
|
1726
|
+
* 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.
|
|
1727
|
+
* @param {HTMLElement} el
|
|
1728
|
+
* @param {String} [selector] default: `options.draggable`
|
|
1729
|
+
* @returns {HTMLElement|null}
|
|
1730
|
+
*/
|
|
1731
|
+
closest: function closest$1(el, selector) {
|
|
1732
|
+
return closest(el, selector || this.options.draggable, this.el, false);
|
|
1733
|
+
},
|
|
1734
|
+
/**
|
|
1735
|
+
* Set/get option
|
|
1736
|
+
* @param {string} name
|
|
1737
|
+
* @param {*} [value]
|
|
1738
|
+
* @returns {*}
|
|
1739
|
+
*/
|
|
1740
|
+
option: function option(name, value) {
|
|
1741
|
+
var options = this.options;
|
|
1742
|
+
if (value === void 0) {
|
|
1743
|
+
return options[name];
|
|
1744
|
+
} else {
|
|
1745
|
+
var modifiedValue = PluginManager.modifyOption(this, name, value);
|
|
1746
|
+
if (typeof modifiedValue !== "undefined") {
|
|
1747
|
+
options[name] = modifiedValue;
|
|
1748
|
+
} else {
|
|
1749
|
+
options[name] = value;
|
|
1750
|
+
}
|
|
1751
|
+
if (name === "group") {
|
|
1752
|
+
_prepareGroup(options);
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
},
|
|
1756
|
+
/**
|
|
1757
|
+
* Destroy
|
|
1758
|
+
*/
|
|
1759
|
+
destroy: function destroy() {
|
|
1760
|
+
pluginEvent2("destroy", this);
|
|
1761
|
+
var el = this.el;
|
|
1762
|
+
el[expando] = null;
|
|
1763
|
+
off(el, "mousedown", this._onTapStart);
|
|
1764
|
+
off(el, "touchstart", this._onTapStart);
|
|
1765
|
+
off(el, "pointerdown", this._onTapStart);
|
|
1766
|
+
if (this.nativeDraggable) {
|
|
1767
|
+
off(el, "dragover", this);
|
|
1768
|
+
off(el, "dragenter", this);
|
|
1769
|
+
}
|
|
1770
|
+
Array.prototype.forEach.call(el.querySelectorAll("[draggable]"), function(el2) {
|
|
1771
|
+
el2.removeAttribute("draggable");
|
|
1772
|
+
});
|
|
1773
|
+
this._onDrop();
|
|
1774
|
+
this._disableDelayedDragEvents();
|
|
1775
|
+
sortables.splice(sortables.indexOf(this.el), 1);
|
|
1776
|
+
this.el = el = null;
|
|
1777
|
+
},
|
|
1778
|
+
_hideClone: function _hideClone() {
|
|
1779
|
+
if (!cloneHidden) {
|
|
1780
|
+
pluginEvent2("hideClone", this);
|
|
1781
|
+
if (Sortable.eventCanceled) return;
|
|
1782
|
+
css(cloneEl, "display", "none");
|
|
1783
|
+
if (this.options.removeCloneOnHide && cloneEl.parentNode) {
|
|
1784
|
+
cloneEl.parentNode.removeChild(cloneEl);
|
|
1785
|
+
}
|
|
1786
|
+
cloneHidden = true;
|
|
1787
|
+
}
|
|
1788
|
+
},
|
|
1789
|
+
_showClone: function _showClone(putSortable2) {
|
|
1790
|
+
if (putSortable2.lastPutMode !== "clone") {
|
|
1791
|
+
this._hideClone();
|
|
1792
|
+
return;
|
|
1793
|
+
}
|
|
1794
|
+
if (cloneHidden) {
|
|
1795
|
+
pluginEvent2("showClone", this);
|
|
1796
|
+
if (Sortable.eventCanceled) return;
|
|
1797
|
+
if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
|
|
1798
|
+
rootEl.insertBefore(cloneEl, dragEl);
|
|
1799
|
+
} else if (nextEl) {
|
|
1800
|
+
rootEl.insertBefore(cloneEl, nextEl);
|
|
1801
|
+
} else {
|
|
1802
|
+
rootEl.appendChild(cloneEl);
|
|
1803
|
+
}
|
|
1804
|
+
if (this.options.group.revertClone) {
|
|
1805
|
+
this.animate(dragEl, cloneEl);
|
|
1806
|
+
}
|
|
1807
|
+
css(cloneEl, "display", "");
|
|
1808
|
+
cloneHidden = false;
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
};
|
|
1812
|
+
function _globalDragOver(evt) {
|
|
1813
|
+
if (evt.dataTransfer) {
|
|
1814
|
+
evt.dataTransfer.dropEffect = "move";
|
|
1815
|
+
}
|
|
1816
|
+
evt.cancelable && evt.preventDefault();
|
|
1817
|
+
}
|
|
1818
|
+
function _onMove(fromEl, toEl, dragEl2, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
|
|
1819
|
+
var evt, sortable = fromEl[expando], onMoveFn = sortable.options.onMove, retVal;
|
|
1820
|
+
if (window.CustomEvent && !IE11OrLess && !Edge) {
|
|
1821
|
+
evt = new CustomEvent("move", {
|
|
1822
|
+
bubbles: true,
|
|
1823
|
+
cancelable: true
|
|
1824
|
+
});
|
|
1825
|
+
} else {
|
|
1826
|
+
evt = document.createEvent("Event");
|
|
1827
|
+
evt.initEvent("move", true, true);
|
|
1828
|
+
}
|
|
1829
|
+
evt.to = toEl;
|
|
1830
|
+
evt.from = fromEl;
|
|
1831
|
+
evt.dragged = dragEl2;
|
|
1832
|
+
evt.draggedRect = dragRect;
|
|
1833
|
+
evt.related = targetEl || toEl;
|
|
1834
|
+
evt.relatedRect = targetRect || getRect(toEl);
|
|
1835
|
+
evt.willInsertAfter = willInsertAfter;
|
|
1836
|
+
evt.originalEvent = originalEvent;
|
|
1837
|
+
fromEl.dispatchEvent(evt);
|
|
1838
|
+
if (onMoveFn) {
|
|
1839
|
+
retVal = onMoveFn.call(sortable, evt, originalEvent);
|
|
1840
|
+
}
|
|
1841
|
+
return retVal;
|
|
1842
|
+
}
|
|
1843
|
+
function _disableDraggable(el) {
|
|
1844
|
+
el.draggable = false;
|
|
1845
|
+
}
|
|
1846
|
+
function _unsilent() {
|
|
1847
|
+
_silent = false;
|
|
1848
|
+
}
|
|
1849
|
+
function _ghostIsFirst(evt, vertical, sortable) {
|
|
1850
|
+
var firstElRect = getRect(getChild(sortable.el, 0, sortable.options, true));
|
|
1851
|
+
var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
|
|
1852
|
+
var spacer = 10;
|
|
1853
|
+
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;
|
|
1854
|
+
}
|
|
1855
|
+
function _ghostIsLast(evt, vertical, sortable) {
|
|
1856
|
+
var lastElRect = getRect(lastChild(sortable.el, sortable.options.draggable));
|
|
1857
|
+
var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
|
|
1858
|
+
var spacer = 10;
|
|
1859
|
+
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;
|
|
1860
|
+
}
|
|
1861
|
+
function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
|
|
1862
|
+
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;
|
|
1863
|
+
if (!invertSwap) {
|
|
1864
|
+
if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
|
|
1865
|
+
if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {
|
|
1866
|
+
pastFirstInvertThresh = true;
|
|
1867
|
+
}
|
|
1868
|
+
if (!pastFirstInvertThresh) {
|
|
1869
|
+
if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance : mouseOnAxis > targetS2 - targetMoveDistance) {
|
|
1870
|
+
return -lastDirection;
|
|
1871
|
+
}
|
|
1872
|
+
} else {
|
|
1873
|
+
invert = true;
|
|
1874
|
+
}
|
|
1875
|
+
} else {
|
|
1876
|
+
if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {
|
|
1877
|
+
return _getInsertDirection(target);
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
invert = invert || invertSwap;
|
|
1882
|
+
if (invert) {
|
|
1883
|
+
if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
|
|
1884
|
+
return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
return 0;
|
|
1888
|
+
}
|
|
1889
|
+
function _getInsertDirection(target) {
|
|
1890
|
+
if (index(dragEl) < index(target)) {
|
|
1891
|
+
return 1;
|
|
1892
|
+
} else {
|
|
1893
|
+
return -1;
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
function _generateId(el) {
|
|
1897
|
+
var str = el.tagName + el.className + el.src + el.href + el.textContent, i = str.length, sum = 0;
|
|
1898
|
+
while (i--) {
|
|
1899
|
+
sum += str.charCodeAt(i);
|
|
1900
|
+
}
|
|
1901
|
+
return sum.toString(36);
|
|
1902
|
+
}
|
|
1903
|
+
function _saveInputCheckedState(root) {
|
|
1904
|
+
savedInputChecked.length = 0;
|
|
1905
|
+
var inputs = root.getElementsByTagName("input");
|
|
1906
|
+
var idx = inputs.length;
|
|
1907
|
+
while (idx--) {
|
|
1908
|
+
var el = inputs[idx];
|
|
1909
|
+
el.checked && savedInputChecked.push(el);
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
function _nextTick(fn) {
|
|
1913
|
+
return setTimeout(fn, 0);
|
|
1914
|
+
}
|
|
1915
|
+
function _cancelNextTick(id) {
|
|
1916
|
+
return clearTimeout(id);
|
|
1917
|
+
}
|
|
1918
|
+
if (documentExists) {
|
|
1919
|
+
on(document, "touchmove", function(evt) {
|
|
1920
|
+
if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
|
|
1921
|
+
evt.preventDefault();
|
|
1922
|
+
}
|
|
1923
|
+
});
|
|
1924
|
+
}
|
|
1925
|
+
Sortable.utils = {
|
|
1926
|
+
on,
|
|
1927
|
+
off,
|
|
1928
|
+
css,
|
|
1929
|
+
find,
|
|
1930
|
+
is: function is(el, selector) {
|
|
1931
|
+
return !!closest(el, selector, el, false);
|
|
1932
|
+
},
|
|
1933
|
+
extend,
|
|
1934
|
+
throttle,
|
|
1935
|
+
closest,
|
|
1936
|
+
toggleClass,
|
|
1937
|
+
clone,
|
|
1938
|
+
index,
|
|
1939
|
+
nextTick: _nextTick,
|
|
1940
|
+
cancelNextTick: _cancelNextTick,
|
|
1941
|
+
detectDirection: _detectDirection,
|
|
1942
|
+
getChild,
|
|
1943
|
+
expando
|
|
1944
|
+
};
|
|
1945
|
+
Sortable.get = function(element) {
|
|
1946
|
+
return element[expando];
|
|
1947
|
+
};
|
|
1948
|
+
Sortable.mount = function() {
|
|
1949
|
+
for (var _len = arguments.length, plugins2 = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1950
|
+
plugins2[_key] = arguments[_key];
|
|
1951
|
+
}
|
|
1952
|
+
if (plugins2[0].constructor === Array) plugins2 = plugins2[0];
|
|
1953
|
+
plugins2.forEach(function(plugin) {
|
|
1954
|
+
if (!plugin.prototype || !plugin.prototype.constructor) {
|
|
1955
|
+
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(plugin));
|
|
1956
|
+
}
|
|
1957
|
+
if (plugin.utils) Sortable.utils = _objectSpread2(_objectSpread2({}, Sortable.utils), plugin.utils);
|
|
1958
|
+
PluginManager.mount(plugin);
|
|
1959
|
+
});
|
|
1960
|
+
};
|
|
1961
|
+
Sortable.create = function(el, options) {
|
|
1962
|
+
return new Sortable(el, options);
|
|
1963
|
+
};
|
|
1964
|
+
Sortable.version = version;
|
|
1965
|
+
var autoScrolls = [];
|
|
1966
|
+
var scrollEl;
|
|
1967
|
+
var scrollRootEl;
|
|
1968
|
+
var scrolling = false;
|
|
1969
|
+
var lastAutoScrollX;
|
|
1970
|
+
var lastAutoScrollY;
|
|
1971
|
+
var touchEvt$1;
|
|
1972
|
+
var pointerElemChangedInterval;
|
|
1973
|
+
function AutoScrollPlugin() {
|
|
1974
|
+
function AutoScroll() {
|
|
1975
|
+
this.defaults = {
|
|
1976
|
+
scroll: true,
|
|
1977
|
+
forceAutoScrollFallback: false,
|
|
1978
|
+
scrollSensitivity: 30,
|
|
1979
|
+
scrollSpeed: 10,
|
|
1980
|
+
bubbleScroll: true
|
|
1981
|
+
};
|
|
1982
|
+
for (var fn in this) {
|
|
1983
|
+
if (fn.charAt(0) === "_" && typeof this[fn] === "function") {
|
|
1984
|
+
this[fn] = this[fn].bind(this);
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
AutoScroll.prototype = {
|
|
1989
|
+
dragStarted: function dragStarted(_ref) {
|
|
1990
|
+
var originalEvent = _ref.originalEvent;
|
|
1991
|
+
if (this.sortable.nativeDraggable) {
|
|
1992
|
+
on(document, "dragover", this._handleAutoScroll);
|
|
1993
|
+
} else {
|
|
1994
|
+
if (this.options.supportPointer) {
|
|
1995
|
+
on(document, "pointermove", this._handleFallbackAutoScroll);
|
|
1996
|
+
} else if (originalEvent.touches) {
|
|
1997
|
+
on(document, "touchmove", this._handleFallbackAutoScroll);
|
|
1998
|
+
} else {
|
|
1999
|
+
on(document, "mousemove", this._handleFallbackAutoScroll);
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
},
|
|
2003
|
+
dragOverCompleted: function dragOverCompleted(_ref2) {
|
|
2004
|
+
var originalEvent = _ref2.originalEvent;
|
|
2005
|
+
if (!this.options.dragOverBubble && !originalEvent.rootEl) {
|
|
2006
|
+
this._handleAutoScroll(originalEvent);
|
|
2007
|
+
}
|
|
2008
|
+
},
|
|
2009
|
+
drop: function drop3() {
|
|
2010
|
+
if (this.sortable.nativeDraggable) {
|
|
2011
|
+
off(document, "dragover", this._handleAutoScroll);
|
|
2012
|
+
} else {
|
|
2013
|
+
off(document, "pointermove", this._handleFallbackAutoScroll);
|
|
2014
|
+
off(document, "touchmove", this._handleFallbackAutoScroll);
|
|
2015
|
+
off(document, "mousemove", this._handleFallbackAutoScroll);
|
|
2016
|
+
}
|
|
2017
|
+
clearPointerElemChangedInterval();
|
|
2018
|
+
clearAutoScrolls();
|
|
2019
|
+
cancelThrottle();
|
|
2020
|
+
},
|
|
2021
|
+
nulling: function nulling() {
|
|
2022
|
+
touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;
|
|
2023
|
+
autoScrolls.length = 0;
|
|
2024
|
+
},
|
|
2025
|
+
_handleFallbackAutoScroll: function _handleFallbackAutoScroll(evt) {
|
|
2026
|
+
this._handleAutoScroll(evt, true);
|
|
2027
|
+
},
|
|
2028
|
+
_handleAutoScroll: function _handleAutoScroll(evt, fallback) {
|
|
2029
|
+
var _this = this;
|
|
2030
|
+
var x = (evt.touches ? evt.touches[0] : evt).clientX, y = (evt.touches ? evt.touches[0] : evt).clientY, elem = document.elementFromPoint(x, y);
|
|
2031
|
+
touchEvt$1 = evt;
|
|
2032
|
+
if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
|
|
2033
|
+
autoScroll(evt, this.options, elem, fallback);
|
|
2034
|
+
var ogElemScroller = getParentAutoScrollElement(elem, true);
|
|
2035
|
+
if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
|
|
2036
|
+
pointerElemChangedInterval && clearPointerElemChangedInterval();
|
|
2037
|
+
pointerElemChangedInterval = setInterval(function() {
|
|
2038
|
+
var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
|
|
2039
|
+
if (newElem !== ogElemScroller) {
|
|
2040
|
+
ogElemScroller = newElem;
|
|
2041
|
+
clearAutoScrolls();
|
|
2042
|
+
}
|
|
2043
|
+
autoScroll(evt, _this.options, newElem, fallback);
|
|
2044
|
+
}, 10);
|
|
2045
|
+
lastAutoScrollX = x;
|
|
2046
|
+
lastAutoScrollY = y;
|
|
2047
|
+
}
|
|
2048
|
+
} else {
|
|
2049
|
+
if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {
|
|
2050
|
+
clearAutoScrolls();
|
|
2051
|
+
return;
|
|
2052
|
+
}
|
|
2053
|
+
autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
|
|
2054
|
+
}
|
|
2055
|
+
}
|
|
2056
|
+
};
|
|
2057
|
+
return _extends(AutoScroll, {
|
|
2058
|
+
pluginName: "scroll",
|
|
2059
|
+
initializeByDefault: true
|
|
2060
|
+
});
|
|
2061
|
+
}
|
|
2062
|
+
function clearAutoScrolls() {
|
|
2063
|
+
autoScrolls.forEach(function(autoScroll2) {
|
|
2064
|
+
clearInterval(autoScroll2.pid);
|
|
2065
|
+
});
|
|
2066
|
+
autoScrolls = [];
|
|
2067
|
+
}
|
|
2068
|
+
function clearPointerElemChangedInterval() {
|
|
2069
|
+
clearInterval(pointerElemChangedInterval);
|
|
2070
|
+
}
|
|
2071
|
+
var autoScroll = throttle(function(evt, options, rootEl2, isFallback) {
|
|
2072
|
+
if (!options.scroll) return;
|
|
2073
|
+
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();
|
|
2074
|
+
var scrollThisInstance = false, scrollCustomFn;
|
|
2075
|
+
if (scrollRootEl !== rootEl2) {
|
|
2076
|
+
scrollRootEl = rootEl2;
|
|
2077
|
+
clearAutoScrolls();
|
|
2078
|
+
scrollEl = options.scroll;
|
|
2079
|
+
scrollCustomFn = options.scrollFn;
|
|
2080
|
+
if (scrollEl === true) {
|
|
2081
|
+
scrollEl = getParentAutoScrollElement(rootEl2, true);
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
var layersOut = 0;
|
|
2085
|
+
var currentParent = scrollEl;
|
|
2086
|
+
do {
|
|
2087
|
+
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;
|
|
2088
|
+
if (el === winScroller) {
|
|
2089
|
+
canScrollX = width < scrollWidth && (elCSS.overflowX === "auto" || elCSS.overflowX === "scroll" || elCSS.overflowX === "visible");
|
|
2090
|
+
canScrollY = height < scrollHeight && (elCSS.overflowY === "auto" || elCSS.overflowY === "scroll" || elCSS.overflowY === "visible");
|
|
2091
|
+
} else {
|
|
2092
|
+
canScrollX = width < scrollWidth && (elCSS.overflowX === "auto" || elCSS.overflowX === "scroll");
|
|
2093
|
+
canScrollY = height < scrollHeight && (elCSS.overflowY === "auto" || elCSS.overflowY === "scroll");
|
|
2094
|
+
}
|
|
2095
|
+
var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
|
|
2096
|
+
var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
|
|
2097
|
+
if (!autoScrolls[layersOut]) {
|
|
2098
|
+
for (var i = 0; i <= layersOut; i++) {
|
|
2099
|
+
if (!autoScrolls[i]) {
|
|
2100
|
+
autoScrolls[i] = {};
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
|
|
2105
|
+
autoScrolls[layersOut].el = el;
|
|
2106
|
+
autoScrolls[layersOut].vx = vx;
|
|
2107
|
+
autoScrolls[layersOut].vy = vy;
|
|
2108
|
+
clearInterval(autoScrolls[layersOut].pid);
|
|
2109
|
+
if (vx != 0 || vy != 0) {
|
|
2110
|
+
scrollThisInstance = true;
|
|
2111
|
+
autoScrolls[layersOut].pid = setInterval(function() {
|
|
2112
|
+
if (isFallback && this.layer === 0) {
|
|
2113
|
+
Sortable.active._onTouchMove(touchEvt$1);
|
|
2114
|
+
}
|
|
2115
|
+
var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
|
|
2116
|
+
var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
|
|
2117
|
+
if (typeof scrollCustomFn === "function") {
|
|
2118
|
+
if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== "continue") {
|
|
2119
|
+
return;
|
|
2120
|
+
}
|
|
2121
|
+
}
|
|
2122
|
+
scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
|
|
2123
|
+
}.bind({
|
|
2124
|
+
layer: layersOut
|
|
2125
|
+
}), 24);
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
layersOut++;
|
|
2129
|
+
} while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
|
|
2130
|
+
scrolling = scrollThisInstance;
|
|
2131
|
+
}, 30);
|
|
2132
|
+
var drop = function drop2(_ref) {
|
|
2133
|
+
var originalEvent = _ref.originalEvent, putSortable2 = _ref.putSortable, dragEl2 = _ref.dragEl, activeSortable = _ref.activeSortable, dispatchSortableEvent = _ref.dispatchSortableEvent, hideGhostForTarget = _ref.hideGhostForTarget, unhideGhostForTarget = _ref.unhideGhostForTarget;
|
|
2134
|
+
if (!originalEvent) return;
|
|
2135
|
+
var toSortable = putSortable2 || activeSortable;
|
|
2136
|
+
hideGhostForTarget();
|
|
2137
|
+
var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
|
|
2138
|
+
var target = document.elementFromPoint(touch.clientX, touch.clientY);
|
|
2139
|
+
unhideGhostForTarget();
|
|
2140
|
+
if (toSortable && !toSortable.el.contains(target)) {
|
|
2141
|
+
dispatchSortableEvent("spill");
|
|
2142
|
+
this.onSpill({
|
|
2143
|
+
dragEl: dragEl2,
|
|
2144
|
+
putSortable: putSortable2
|
|
2145
|
+
});
|
|
2146
|
+
}
|
|
2147
|
+
};
|
|
2148
|
+
function Revert() {
|
|
2149
|
+
}
|
|
2150
|
+
Revert.prototype = {
|
|
2151
|
+
startIndex: null,
|
|
2152
|
+
dragStart: function dragStart(_ref2) {
|
|
2153
|
+
var oldDraggableIndex2 = _ref2.oldDraggableIndex;
|
|
2154
|
+
this.startIndex = oldDraggableIndex2;
|
|
2155
|
+
},
|
|
2156
|
+
onSpill: function onSpill(_ref3) {
|
|
2157
|
+
var dragEl2 = _ref3.dragEl, putSortable2 = _ref3.putSortable;
|
|
2158
|
+
this.sortable.captureAnimationState();
|
|
2159
|
+
if (putSortable2) {
|
|
2160
|
+
putSortable2.captureAnimationState();
|
|
2161
|
+
}
|
|
2162
|
+
var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
|
|
2163
|
+
if (nextSibling) {
|
|
2164
|
+
this.sortable.el.insertBefore(dragEl2, nextSibling);
|
|
2165
|
+
} else {
|
|
2166
|
+
this.sortable.el.appendChild(dragEl2);
|
|
2167
|
+
}
|
|
2168
|
+
this.sortable.animateAll();
|
|
2169
|
+
if (putSortable2) {
|
|
2170
|
+
putSortable2.animateAll();
|
|
2171
|
+
}
|
|
2172
|
+
},
|
|
2173
|
+
drop
|
|
2174
|
+
};
|
|
2175
|
+
_extends(Revert, {
|
|
2176
|
+
pluginName: "revertOnSpill"
|
|
2177
|
+
});
|
|
2178
|
+
function Remove() {
|
|
2179
|
+
}
|
|
2180
|
+
Remove.prototype = {
|
|
2181
|
+
onSpill: function onSpill2(_ref4) {
|
|
2182
|
+
var dragEl2 = _ref4.dragEl, putSortable2 = _ref4.putSortable;
|
|
2183
|
+
var parentSortable = putSortable2 || this.sortable;
|
|
2184
|
+
parentSortable.captureAnimationState();
|
|
2185
|
+
dragEl2.parentNode && dragEl2.parentNode.removeChild(dragEl2);
|
|
2186
|
+
parentSortable.animateAll();
|
|
2187
|
+
},
|
|
2188
|
+
drop
|
|
2189
|
+
};
|
|
2190
|
+
_extends(Remove, {
|
|
2191
|
+
pluginName: "removeOnSpill"
|
|
2192
|
+
});
|
|
2193
|
+
Sortable.mount(new AutoScrollPlugin());
|
|
2194
|
+
Sortable.mount(Remove, Revert);
|
|
2195
|
+
var sortable_esm_default = Sortable;
|
|
2196
|
+
|
|
2197
|
+
// src/components/table/features/row-drag-controller.ts
|
|
2198
|
+
var RowDragController = class {
|
|
2199
|
+
constructor(getCommonProps, getBodyRef, treeCtrl, requestUpdate) {
|
|
2200
|
+
this.getCommonProps = getCommonProps;
|
|
2201
|
+
this.getBodyRef = getBodyRef;
|
|
2202
|
+
this.treeCtrl = treeCtrl;
|
|
2203
|
+
this.requestUpdate = requestUpdate;
|
|
2204
|
+
this.tbodyRef = e();
|
|
2205
|
+
this.draggingRowKey = null;
|
|
2206
|
+
this.draggingKeys = /* @__PURE__ */ new Set();
|
|
2207
|
+
/** 拖拽状态(宿主通过 getter 读取来驱动渲染) */
|
|
2208
|
+
this.currentInsertIndex = null;
|
|
2209
|
+
this.draggingBlock = { start: -1, end: -1 };
|
|
2210
|
+
this.dropTarget = null;
|
|
2211
|
+
this.cleanupDragImage = () => {
|
|
2212
|
+
var _a;
|
|
2213
|
+
if ((_a = this.dragImageEl) == null ? void 0 : _a.parentNode) this.dragImageEl.parentNode.removeChild(this.dragImageEl);
|
|
2214
|
+
this.dragImageEl = void 0;
|
|
2215
|
+
};
|
|
2216
|
+
// ===================== Sortable 事件 =====================
|
|
2217
|
+
this.handleMove = (evt) => {
|
|
2218
|
+
var _a, _b;
|
|
2219
|
+
const tbody = this.tbodyRef.value;
|
|
2220
|
+
if (!this.bodyRef.value || !tbody) return true;
|
|
2221
|
+
const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
|
|
2222
|
+
if (!rows.length) return true;
|
|
2223
|
+
if (this.treeCtrl.isTreeMode()) {
|
|
2224
|
+
if (!this.draggingRowKey && evt.item) {
|
|
2225
|
+
this.draggingRowKey = (_a = evt.item.dataset.rowKey) != null ? _a : null;
|
|
2226
|
+
}
|
|
2227
|
+
this.dropTarget = this.calcDragTarget(evt);
|
|
2228
|
+
this.requestUpdate();
|
|
2229
|
+
return false;
|
|
2230
|
+
}
|
|
2231
|
+
const mouseY = evt.originalEvent.clientY;
|
|
2232
|
+
const firstRect = rows[0].getBoundingClientRect();
|
|
2233
|
+
const lastRect = rows[rows.length - 1].getBoundingClientRect();
|
|
2234
|
+
let insertIndex = (_b = this.currentInsertIndex) != null ? _b : 0;
|
|
2235
|
+
if (mouseY >= lastRect.bottom) {
|
|
2236
|
+
insertIndex = rows.length;
|
|
2237
|
+
} else if (mouseY <= firstRect.top) {
|
|
2238
|
+
insertIndex = 0;
|
|
2239
|
+
} else {
|
|
2240
|
+
const related = evt.related;
|
|
2241
|
+
if (related) {
|
|
2242
|
+
const rect = related.getBoundingClientRect();
|
|
2243
|
+
const relatedIndex = rows.indexOf(related);
|
|
2244
|
+
if (relatedIndex >= 0) {
|
|
2245
|
+
insertIndex = mouseY - rect.top > rect.height / 2 ? relatedIndex + 1 : relatedIndex;
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
this.currentInsertIndex = Math.max(0, Math.min(rows.length, insertIndex));
|
|
2250
|
+
this.requestUpdate();
|
|
2251
|
+
return false;
|
|
2252
|
+
};
|
|
2253
|
+
this.handleEnd = (evt) => {
|
|
2254
|
+
var _a, _b, _c, _d;
|
|
2255
|
+
if (this.treeCtrl.isTreeMode()) {
|
|
2256
|
+
const target = this.dropTarget;
|
|
2257
|
+
this.treeCtrl.restoreExpandForDrag();
|
|
2258
|
+
if (!target || !this.draggingRowKey) {
|
|
2259
|
+
this.resetTreeDragState();
|
|
2260
|
+
return;
|
|
2261
|
+
}
|
|
2262
|
+
const dragKey = this.draggingRowKey;
|
|
2263
|
+
const cfg = this.treeCtrl.getTreeConfig();
|
|
2264
|
+
const { removed, newData } = this.treeCtrl.removeNodeFromTree(
|
|
2265
|
+
this.commonProps.dataSource,
|
|
2266
|
+
dragKey,
|
|
2267
|
+
cfg.childrenRecordName
|
|
2268
|
+
);
|
|
2269
|
+
if (removed) {
|
|
2270
|
+
const newDataSource = this.treeCtrl.insertNodeToTree(
|
|
2271
|
+
newData,
|
|
2272
|
+
removed,
|
|
2273
|
+
target.rowKey,
|
|
2274
|
+
target.position,
|
|
2275
|
+
cfg.childrenRecordName
|
|
2276
|
+
);
|
|
2277
|
+
(_b = (_a = this.commonProps).slRowReorder) == null ? void 0 : _b.call(_a, {
|
|
2278
|
+
fromKey: dragKey,
|
|
2279
|
+
toKey: target.rowKey,
|
|
2280
|
+
rows: this.commonProps.dataSource,
|
|
2281
|
+
newRows: newDataSource
|
|
2282
|
+
});
|
|
2283
|
+
}
|
|
2284
|
+
this.resetTreeDragState();
|
|
2285
|
+
return;
|
|
2286
|
+
}
|
|
2287
|
+
if (this.currentInsertIndex === null) return;
|
|
2288
|
+
this.draggingBlock = { start: -1, end: -1 };
|
|
2289
|
+
this.requestUpdate();
|
|
2290
|
+
const rows = this.commonProps.tableInstance.getRowModel().rows;
|
|
2291
|
+
const fromIndex = evt.oldDraggableIndex;
|
|
2292
|
+
const toIndex = this.currentInsertIndex;
|
|
2293
|
+
const fromKey = this.commonProps.adapter.getRecordKey(rows[fromIndex].original);
|
|
2294
|
+
const newRows = [...rows.map((r) => r.original)];
|
|
2295
|
+
const { start, end } = this.getSelectedBlock(rows, fromIndex);
|
|
2296
|
+
if (start <= toIndex && toIndex <= end) {
|
|
2297
|
+
this.currentInsertIndex = null;
|
|
2298
|
+
return;
|
|
2299
|
+
}
|
|
2300
|
+
const block = newRows.splice(start, end - start + 1);
|
|
2301
|
+
const targetIndex = start < toIndex ? toIndex - block.length : toIndex;
|
|
2302
|
+
newRows.splice(targetIndex, 0, ...block);
|
|
2303
|
+
const toRow = rows[Math.min(toIndex, rows.length - 1)];
|
|
2304
|
+
const toKey = this.commonProps.adapter.getRecordKey(toRow.original);
|
|
2305
|
+
(_d = (_c = this.commonProps).slRowReorder) == null ? void 0 : _d.call(_c, {
|
|
2306
|
+
fromKey,
|
|
2307
|
+
toKey,
|
|
2308
|
+
rows: this.commonProps.dataSource,
|
|
2309
|
+
newRows
|
|
2310
|
+
});
|
|
2311
|
+
this.currentInsertIndex = null;
|
|
2312
|
+
this.cleanupDragImage();
|
|
2313
|
+
};
|
|
2314
|
+
this.handleChoose = (evt) => {
|
|
2315
|
+
const rows = this.commonProps.tableInstance.getRowModel().rows;
|
|
2316
|
+
const fromIndex = evt.oldDraggableIndex;
|
|
2317
|
+
if (this.treeCtrl.isTreeMode()) {
|
|
2318
|
+
const dragRow = rows[fromIndex];
|
|
2319
|
+
if (dragRow) {
|
|
2320
|
+
this.draggingRowKey = this.commonProps.adapter.getRecordKey(dragRow.original);
|
|
2321
|
+
this.draggingKeys = /* @__PURE__ */ new Set([this.draggingRowKey]);
|
|
2322
|
+
this.treeCtrl.collectSubRowKeys(dragRow, this.draggingKeys);
|
|
2323
|
+
const keyToCollapse = this.draggingRowKey;
|
|
2324
|
+
evt.item.addEventListener("dragstart", () => this.treeCtrl.collapseForDrag(keyToCollapse), {
|
|
2325
|
+
once: true
|
|
2326
|
+
});
|
|
2327
|
+
}
|
|
2328
|
+
this.draggingBlock = { start: fromIndex, end: fromIndex };
|
|
2329
|
+
this.requestUpdate();
|
|
2330
|
+
if (dragRow) {
|
|
2331
|
+
const text = this.getFirstDataColumnText(dragRow);
|
|
2332
|
+
const dragImage2 = this.createDragImage(text || null);
|
|
2333
|
+
if (dragImage2) {
|
|
2334
|
+
this.dragImageEl = dragImage2;
|
|
2335
|
+
evt.item.addEventListener(
|
|
2336
|
+
"dragstart",
|
|
2337
|
+
(e2) => {
|
|
2338
|
+
var _a;
|
|
2339
|
+
return (_a = e2.dataTransfer) == null ? void 0 : _a.setDragImage(dragImage2, dragImage2.offsetWidth * 0.2, dragImage2.offsetHeight * 0.75);
|
|
2340
|
+
},
|
|
2341
|
+
{ once: true }
|
|
2342
|
+
);
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
return;
|
|
2346
|
+
}
|
|
2347
|
+
const { start, end } = this.getSelectedBlock(rows, fromIndex);
|
|
2348
|
+
this.draggingBlock = { start, end };
|
|
2349
|
+
this.requestUpdate();
|
|
2350
|
+
if (start === end) {
|
|
2351
|
+
const dragRow = rows[fromIndex];
|
|
2352
|
+
const text = this.getFirstDataColumnText(dragRow);
|
|
2353
|
+
const dragImage2 = this.createDragImage(text || null);
|
|
2354
|
+
if (dragImage2) {
|
|
2355
|
+
this.dragImageEl = dragImage2;
|
|
2356
|
+
evt.item.addEventListener(
|
|
2357
|
+
"dragstart",
|
|
2358
|
+
(e2) => {
|
|
2359
|
+
var _a;
|
|
2360
|
+
return (_a = e2.dataTransfer) == null ? void 0 : _a.setDragImage(dragImage2, dragImage2.offsetWidth * 0.2, dragImage2.offsetHeight * 0.75);
|
|
2361
|
+
},
|
|
2362
|
+
{ once: true }
|
|
2363
|
+
);
|
|
2364
|
+
}
|
|
2365
|
+
return;
|
|
2366
|
+
}
|
|
2367
|
+
const dragImage = this.createDragImage(`\u62D6\u52A8 ${end - start + 1} \u884C\u6570\u636E`);
|
|
2368
|
+
if (dragImage) {
|
|
2369
|
+
this.dragImageEl = dragImage;
|
|
2370
|
+
evt.item.addEventListener(
|
|
2371
|
+
"dragstart",
|
|
2372
|
+
(e2) => {
|
|
2373
|
+
var _a;
|
|
2374
|
+
return (_a = e2.dataTransfer) == null ? void 0 : _a.setDragImage(dragImage, dragImage.offsetWidth * 0.2, dragImage.offsetHeight * 0.75);
|
|
2375
|
+
},
|
|
2376
|
+
{ once: true }
|
|
2377
|
+
);
|
|
2378
|
+
}
|
|
2379
|
+
};
|
|
2380
|
+
this.handleUnchoose = () => {
|
|
2381
|
+
var _a;
|
|
2382
|
+
this.draggingBlock = { start: -1, end: -1 };
|
|
2383
|
+
this.draggingKeys.clear();
|
|
2384
|
+
(_a = this.cleanupDragImage) == null ? void 0 : _a.call(this);
|
|
2385
|
+
this.requestUpdate();
|
|
2386
|
+
};
|
|
2387
|
+
}
|
|
2388
|
+
get commonProps() {
|
|
2389
|
+
return this.getCommonProps();
|
|
2390
|
+
}
|
|
2391
|
+
get bodyRef() {
|
|
2392
|
+
return this.getBodyRef();
|
|
2393
|
+
}
|
|
2394
|
+
// ===================== 辅助方法 =====================
|
|
2395
|
+
getSelectedBlock(rows, fromIndex) {
|
|
2396
|
+
const selected = this.commonProps.rowSelectedMap;
|
|
2397
|
+
if (!selected[rows[fromIndex].id]) {
|
|
2398
|
+
return { start: fromIndex, end: fromIndex };
|
|
2399
|
+
}
|
|
2400
|
+
let start = fromIndex;
|
|
2401
|
+
let end = fromIndex;
|
|
2402
|
+
while (start > 0 && selected[rows[start - 1].id]) start--;
|
|
2403
|
+
while (end < rows.length - 1 && selected[rows[end + 1].id]) end++;
|
|
2404
|
+
return { start, end };
|
|
2405
|
+
}
|
|
2406
|
+
getFirstDataColumnText(row) {
|
|
2407
|
+
const nonDataIds = /* @__PURE__ */ new Set(["select", "expend", "drag"]);
|
|
2408
|
+
const cells = row.getVisibleCells();
|
|
2409
|
+
for (const cell of cells) {
|
|
2410
|
+
if (nonDataIds.has(cell.column.id)) continue;
|
|
2411
|
+
const value = cell.getValue();
|
|
2412
|
+
if (value == null || value === "") return "";
|
|
2413
|
+
return String(value);
|
|
2414
|
+
}
|
|
2415
|
+
return "";
|
|
2416
|
+
}
|
|
2417
|
+
getTableContainerWidth() {
|
|
2418
|
+
var _a, _b;
|
|
2419
|
+
const bodyEl = (_a = this.bodyRef) == null ? void 0 : _a.value;
|
|
2420
|
+
return (_b = bodyEl == null ? void 0 : bodyEl.clientWidth) != null ? _b : 600;
|
|
2421
|
+
}
|
|
2422
|
+
createDragImage(text) {
|
|
2423
|
+
if (text === null) return null;
|
|
2424
|
+
const maxWidth = this.getTableContainerWidth();
|
|
2425
|
+
const dragImage = document.createElement("div");
|
|
2426
|
+
dragImage.textContent = text;
|
|
2427
|
+
Object.assign(dragImage.style, {
|
|
2428
|
+
position: "fixed",
|
|
2429
|
+
padding: "10px 8px",
|
|
2430
|
+
color: "#212121",
|
|
2431
|
+
fontSize: "12px",
|
|
2432
|
+
background: "#FFFFFF",
|
|
2433
|
+
border: "1px solid rgba(217,217,217,1)",
|
|
2434
|
+
boxShadow: "0px 6px 16px 3px rgba(0,0,0,0.08)",
|
|
2435
|
+
borderRadius: "2px",
|
|
2436
|
+
lineHeight: "21px",
|
|
2437
|
+
minWidth: "80px",
|
|
2438
|
+
maxWidth: `${maxWidth}px`,
|
|
2439
|
+
width: "fit-content",
|
|
2440
|
+
boxSizing: "border-box",
|
|
2441
|
+
overflow: "hidden",
|
|
2442
|
+
whiteSpace: "nowrap",
|
|
2443
|
+
textOverflow: "ellipsis",
|
|
2444
|
+
textAlign: "center"
|
|
2445
|
+
});
|
|
2446
|
+
document.body.appendChild(dragImage);
|
|
2447
|
+
return dragImage;
|
|
2448
|
+
}
|
|
2449
|
+
// ===================== 树型拖拽目标计算 =====================
|
|
2450
|
+
calcDragTarget(evt) {
|
|
2451
|
+
const tbody = this.tbodyRef.value;
|
|
2452
|
+
if (!tbody) return null;
|
|
2453
|
+
const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
|
|
2454
|
+
if (!rows.length) return null;
|
|
2455
|
+
const mouseY = evt.originalEvent.clientY;
|
|
2456
|
+
const firstRect = rows[0].getBoundingClientRect();
|
|
2457
|
+
const lastRect = rows[rows.length - 1].getBoundingClientRect();
|
|
2458
|
+
let targetRowEl = null;
|
|
2459
|
+
let rowIndex = -1;
|
|
2460
|
+
if (mouseY <= firstRect.top) {
|
|
2461
|
+
targetRowEl = rows[0];
|
|
2462
|
+
rowIndex = 0;
|
|
2463
|
+
} else if (mouseY >= lastRect.bottom) {
|
|
2464
|
+
targetRowEl = rows[rows.length - 1];
|
|
2465
|
+
rowIndex = rows.length - 1;
|
|
2466
|
+
} else {
|
|
2467
|
+
for (let i = 0; i < rows.length; i++) {
|
|
2468
|
+
const rect2 = rows[i].getBoundingClientRect();
|
|
2469
|
+
if (mouseY >= rect2.top && mouseY < rect2.bottom) {
|
|
2470
|
+
targetRowEl = rows[i];
|
|
2471
|
+
rowIndex = i;
|
|
2472
|
+
break;
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2476
|
+
if (!targetRowEl || rowIndex < 0) return null;
|
|
2477
|
+
const rect = targetRowEl.getBoundingClientRect();
|
|
2478
|
+
const offset = mouseY - rect.top;
|
|
2479
|
+
const rowHeight = rect.height;
|
|
2480
|
+
const targetRowKey = targetRowEl.dataset.rowKey;
|
|
2481
|
+
let position;
|
|
2482
|
+
if (offset < rowHeight * 0.35) position = "before";
|
|
2483
|
+
else if (offset > rowHeight * 0.65) position = "after";
|
|
2484
|
+
else position = "inside";
|
|
2485
|
+
const depth = this.treeCtrl.getRowDepth(targetRowKey);
|
|
2486
|
+
return { rowIndex, position, rowKey: targetRowKey, depth };
|
|
2487
|
+
}
|
|
2488
|
+
resetTreeDragState() {
|
|
2489
|
+
this.dropTarget = null;
|
|
2490
|
+
this.draggingBlock = { start: -1, end: -1 };
|
|
2491
|
+
this.draggingRowKey = null;
|
|
2492
|
+
this.draggingKeys.clear();
|
|
2493
|
+
this.requestUpdate();
|
|
2494
|
+
this.cleanupDragImage();
|
|
2495
|
+
}
|
|
2496
|
+
// ===================== 指示线渲染 =====================
|
|
2497
|
+
getIndicatorLeft(targetRowEl, depth) {
|
|
2498
|
+
const tbody = this.tbodyRef.value;
|
|
2499
|
+
const host = tbody == null ? void 0 : tbody.closest("sl-table");
|
|
2500
|
+
const indentPx = host ? parseFloat(getComputedStyle(host).getPropertyValue("--sl-datatable-tree-indent")) || 12 : 12;
|
|
2501
|
+
if (!tbody) return depth * indentPx;
|
|
2502
|
+
const tbodyRect = tbody.getBoundingClientRect();
|
|
2503
|
+
const contentDiv = targetRowEl.querySelector(".tree-cell-content");
|
|
2504
|
+
if (contentDiv) {
|
|
2505
|
+
const hasExpandIcon = !!contentDiv.querySelector(".row-expand-icon");
|
|
2506
|
+
if (hasExpandIcon) {
|
|
2507
|
+
const paddingLeft = parseFloat(getComputedStyle(contentDiv).paddingInlineStart) || 0;
|
|
2508
|
+
return contentDiv.getBoundingClientRect().left - tbodyRect.left + paddingLeft;
|
|
2509
|
+
}
|
|
2510
|
+
const textSpan = contentDiv.querySelector(".tree-cell-text");
|
|
2511
|
+
const refEl = textSpan != null ? textSpan : contentDiv;
|
|
2512
|
+
return refEl.getBoundingClientRect().left - tbodyRect.left;
|
|
2513
|
+
}
|
|
2514
|
+
return depth * indentPx;
|
|
2515
|
+
}
|
|
2516
|
+
renderIndicator() {
|
|
2517
|
+
const tbody = this.tbodyRef.value;
|
|
2518
|
+
if (!tbody) return "";
|
|
2519
|
+
const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
|
|
2520
|
+
if (!rows.length) return "";
|
|
2521
|
+
const isTree = this.treeCtrl.isTreeMode();
|
|
2522
|
+
if (isTree && this.dropTarget) {
|
|
2523
|
+
const { rowIndex, position, depth } = this.dropTarget;
|
|
2524
|
+
const row2 = rows[rowIndex];
|
|
2525
|
+
if (!row2) return "";
|
|
2526
|
+
if (position === "inside") {
|
|
2527
|
+
return b`
|
|
2528
|
+
<div
|
|
2529
|
+
style="
|
|
2530
|
+
position:absolute;
|
|
2531
|
+
left:0;
|
|
2532
|
+
right:0;
|
|
2533
|
+
top:${row2.offsetTop}px;
|
|
2534
|
+
height:${row2.offsetHeight}px;
|
|
2535
|
+
border:2px solid #1677ff;
|
|
2536
|
+
border-radius:2px;
|
|
2537
|
+
pointer-events:none;
|
|
2538
|
+
z-index:10;
|
|
2539
|
+
box-sizing:border-box;
|
|
2540
|
+
"
|
|
2541
|
+
></div>
|
|
2542
|
+
`;
|
|
2543
|
+
}
|
|
2544
|
+
const top2 = position === "before" ? row2.offsetTop : row2.offsetTop + row2.offsetHeight;
|
|
2545
|
+
const left = this.getIndicatorLeft(row2, depth);
|
|
2546
|
+
return b`
|
|
2547
|
+
<div
|
|
2548
|
+
style="
|
|
2549
|
+
position:absolute;
|
|
2550
|
+
left:${left}px;
|
|
2551
|
+
right:0;
|
|
2552
|
+
top:${top2}px;
|
|
2553
|
+
height:2px;
|
|
2554
|
+
background:#1677ff;
|
|
2555
|
+
pointer-events:none;
|
|
2556
|
+
z-index:10;
|
|
2557
|
+
"
|
|
2558
|
+
></div>
|
|
2559
|
+
`;
|
|
2560
|
+
}
|
|
2561
|
+
if (this.currentInsertIndex === null) return "";
|
|
2562
|
+
const index2 = Math.min(this.currentInsertIndex, rows.length - 1);
|
|
2563
|
+
const row = rows[index2];
|
|
2564
|
+
const top = this.currentInsertIndex >= rows.length ? row.offsetTop + row.offsetHeight : row.offsetTop;
|
|
2565
|
+
return b`
|
|
2566
|
+
<div
|
|
2567
|
+
style="
|
|
2568
|
+
position:absolute;
|
|
2569
|
+
left:0;
|
|
2570
|
+
right:0;
|
|
2571
|
+
top:${top}px;
|
|
2572
|
+
height:2px;
|
|
2573
|
+
background:#1677ff;
|
|
2574
|
+
pointer-events:none;
|
|
2575
|
+
z-index:10;
|
|
2576
|
+
"
|
|
2577
|
+
></div>
|
|
2578
|
+
`;
|
|
2579
|
+
}
|
|
2580
|
+
// ===================== Sortable 初始化 =====================
|
|
2581
|
+
initSortable() {
|
|
2582
|
+
var _a, _b;
|
|
2583
|
+
const { rowDrag, virtualized } = this.commonProps;
|
|
2584
|
+
if (!rowDrag || virtualized) {
|
|
2585
|
+
(_a = this.sortable) == null ? void 0 : _a.destroy();
|
|
2586
|
+
this.sortable = void 0;
|
|
2587
|
+
return;
|
|
2588
|
+
}
|
|
2589
|
+
const el = this.tbodyRef.value;
|
|
2590
|
+
if (!el) return;
|
|
2591
|
+
(_b = this.sortable) == null ? void 0 : _b.destroy();
|
|
2592
|
+
this.sortable = sortable_esm_default.create(el, {
|
|
2593
|
+
animation: 0,
|
|
2594
|
+
draggable: "tr[data-row-key]",
|
|
2595
|
+
handle: ".row-drag-handle",
|
|
2596
|
+
onChoose: this.handleChoose,
|
|
2597
|
+
onMove: this.handleMove,
|
|
2598
|
+
onEnd: this.handleEnd,
|
|
2599
|
+
onUnchoose: this.handleUnchoose
|
|
2600
|
+
});
|
|
2601
|
+
}
|
|
2602
|
+
/** 判断某行是否处于拖拽中 */
|
|
2603
|
+
isRowDragging(rowKey, rowIndex) {
|
|
2604
|
+
if (this.draggingKeys.size > 0) {
|
|
2605
|
+
return this.draggingKeys.has(rowKey);
|
|
2606
|
+
}
|
|
2607
|
+
const block = this.draggingBlock;
|
|
2608
|
+
return !!block && rowIndex >= block.start && rowIndex <= block.end;
|
|
2609
|
+
}
|
|
2610
|
+
destroy() {
|
|
2611
|
+
var _a;
|
|
2612
|
+
(_a = this.sortable) == null ? void 0 : _a.destroy();
|
|
2613
|
+
this.sortable = void 0;
|
|
2614
|
+
this.cleanupDragImage();
|
|
2615
|
+
}
|
|
2616
|
+
};
|
|
2617
|
+
|
|
2618
|
+
export {
|
|
2619
|
+
RowDragController
|
|
2620
|
+
};
|
|
2621
|
+
/*! Bundled license information:
|
|
2622
|
+
|
|
2623
|
+
sortablejs/modular/sortable.esm.js:
|
|
2624
|
+
(**!
|
|
2625
|
+
* Sortable 1.15.7
|
|
2626
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
2627
|
+
* @author owenm <owen23355@gmail.com>
|
|
2628
|
+
* @license MIT
|
|
2629
|
+
*)
|
|
2630
|
+
*/
|