@kdcloudjs/shoelace 1.0.43 → 1.0.45
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.22N5PTVX.js +21 -0
- package/cdn/chunks/chunk.255J3OVY.js +1514 -0
- package/cdn/chunks/chunk.262S7CWP.js +51 -0
- package/cdn/chunks/chunk.2BCGBG5C.js +11 -0
- package/cdn/chunks/chunk.2CAY5OWV.js +11 -0
- package/cdn/chunks/chunk.2DAFOMJC.js +11 -0
- package/cdn/chunks/chunk.2EE4DY5L.js +173 -0
- package/cdn/chunks/chunk.2H6KQPLN.js +255 -0
- package/cdn/chunks/chunk.2KNJMVS6.js +233 -0
- package/cdn/chunks/chunk.2LUFKO4T.js +63 -0
- package/cdn/chunks/chunk.2NBJAFW6.js +21 -0
- package/cdn/chunks/chunk.2QDPYAHS.js +47 -0
- package/cdn/chunks/chunk.2S2XSLZS.js +25 -0
- package/cdn/chunks/chunk.2S6N57C2.js +543 -0
- package/cdn/chunks/chunk.2S6YOP7W.js +11 -0
- package/cdn/chunks/chunk.2SJW2UVP.js +691 -0
- package/cdn/chunks/chunk.2X6YGHEK.js +11 -0
- package/cdn/chunks/chunk.2XIIDQCM.js +22 -0
- package/cdn/chunks/chunk.2ZN6BGNY.js +29 -0
- package/cdn/chunks/chunk.35GF2FT3.js +410 -0
- package/cdn/chunks/chunk.36FIVL52.js +14 -0
- package/cdn/chunks/chunk.3DCOCOWQ.js +21 -0
- package/cdn/chunks/chunk.3GAF2BPB.js +21 -0
- package/cdn/chunks/chunk.3GOZ7XCZ.js +75 -0
- package/cdn/chunks/chunk.3HUPT63B.js +11 -0
- package/cdn/chunks/chunk.3JW233YN.js +359 -0
- package/cdn/chunks/chunk.3MK22VUR.js +201 -0
- package/cdn/chunks/chunk.3ORAR7VD.js +27 -0
- package/cdn/chunks/chunk.3XM7ULBR.js +11 -0
- package/cdn/chunks/chunk.44LAWITI.js +61 -0
- package/cdn/chunks/chunk.44Q33RDN.js +21 -0
- package/cdn/chunks/chunk.46P6P5RK.js +77 -0
- package/cdn/chunks/chunk.4BTRF6TV.js +24 -0
- package/cdn/chunks/chunk.4GVSH6ZZ.js +27 -0
- package/cdn/chunks/chunk.4NIEW2RH.js +24 -0
- package/cdn/chunks/chunk.4PGMXZ7G.js +163 -0
- package/cdn/chunks/chunk.55HPVCT5.js +11 -0
- package/cdn/chunks/chunk.564K2G7T.js +11 -0
- package/cdn/chunks/chunk.5BCM6FLW.js +120 -0
- package/cdn/chunks/chunk.5GSCG5RD.js +281 -0
- package/cdn/chunks/chunk.5JB53YLB.js +154 -0
- package/cdn/chunks/chunk.5JEWRNY3.js +67 -0
- package/cdn/chunks/chunk.5KUF6FM2.js +58 -0
- package/cdn/chunks/chunk.5LLG3CLU.js +11 -0
- package/cdn/chunks/chunk.5MO3A3SO.js +123 -0
- package/cdn/chunks/chunk.5NORL6KZ.js +11 -0
- package/cdn/chunks/chunk.5OQ7MG36.js +11 -0
- package/cdn/chunks/chunk.5SJVD26D.js +1271 -0
- package/cdn/chunks/chunk.5XOW7N3P.js +11 -0
- package/cdn/chunks/chunk.622NCJ7A.js +21 -0
- package/cdn/chunks/chunk.62U256U7.js +11 -0
- package/cdn/chunks/chunk.67C2SWFA.js +161 -0
- package/cdn/chunks/chunk.6ALC6ANH.js +269 -0
- package/cdn/chunks/chunk.6AZGQXJK.js +11 -0
- package/cdn/chunks/chunk.6EPRN4BN.js +27 -0
- package/cdn/chunks/chunk.6F46FH3S.js +11 -0
- package/cdn/chunks/chunk.6K5O3LP3.js +101 -0
- package/cdn/chunks/chunk.6NAUCGYE.js +24 -0
- package/cdn/chunks/chunk.6NOC6GTR.js +433 -0
- package/cdn/chunks/chunk.6QOFTNGZ.js +125 -0
- package/cdn/chunks/chunk.6RHFSW2E.js +54 -0
- package/cdn/chunks/chunk.6UNNDGWW.js +37 -0
- package/cdn/chunks/chunk.6VT67VRM.js +58 -0
- package/cdn/chunks/chunk.74345OWA.js +123 -0
- package/cdn/chunks/chunk.76CZYTNN.js +11 -0
- package/cdn/chunks/chunk.7EF6KIH3.js +60 -0
- package/cdn/chunks/chunk.7EIZHAGJ.js +81 -0
- package/cdn/chunks/chunk.7IFUCYTC.js +634 -0
- package/cdn/chunks/chunk.7K4YCGDK.js +11 -0
- package/cdn/chunks/chunk.7K5F2BXD.js +11 -0
- package/cdn/chunks/chunk.7KKDEQ32.js +286 -0
- package/cdn/chunks/chunk.7N2ATS4S.js +246 -0
- package/cdn/chunks/chunk.7TX7G6DT.js +27 -0
- package/cdn/chunks/chunk.7WYFCWJU.js +31 -0
- package/cdn/chunks/chunk.7YRVUZ5Z.js +28 -0
- package/cdn/chunks/chunk.7ZTCV26X.js +11 -0
- package/cdn/chunks/chunk.A2FSPE72.js +299 -0
- package/cdn/chunks/chunk.A3LXMVDY.js +186 -0
- package/cdn/chunks/chunk.A3ZW3D6I.js +231 -0
- package/cdn/chunks/chunk.A47FSQQS.js +24 -0
- package/cdn/chunks/chunk.A6E77YML.js +197 -0
- package/cdn/chunks/chunk.A6M2XBBK.js +2632 -0
- package/cdn/chunks/chunk.AC3BRBCQ.js +11 -0
- package/cdn/chunks/chunk.ACJITJE6.js +329 -0
- package/cdn/chunks/chunk.AGF4UFJG.js +92 -0
- package/cdn/chunks/chunk.AKXHPGOV.js +29 -0
- package/cdn/chunks/chunk.APIXBGIX.js +267 -0
- package/cdn/chunks/chunk.AUFYA4OA.js +28 -0
- package/cdn/chunks/chunk.B2QCQFCI.js +383 -0
- package/cdn/chunks/chunk.B4MV4SME.js +11 -0
- package/cdn/chunks/chunk.B5XIDI6F.js +31 -0
- package/cdn/chunks/chunk.B6U6Y4EH.js +135 -0
- package/cdn/chunks/chunk.BCODMAEY.js +158 -0
- package/cdn/chunks/chunk.BDVTJZDQ.js +28 -0
- package/cdn/chunks/chunk.BEWGKFHJ.js +120 -0
- package/cdn/chunks/chunk.BFEYXVLM.js +979 -0
- package/cdn/chunks/chunk.BHK2CEFI.js +291 -0
- package/cdn/chunks/chunk.BHZ6JC7T.js +95 -0
- package/cdn/chunks/chunk.BIDUVWTZ.js +26 -0
- package/cdn/chunks/chunk.BILFFE77.js +73 -0
- package/cdn/chunks/chunk.BKDG2OEQ.js +11 -0
- package/cdn/chunks/chunk.BO4LVSOZ.js +539 -0
- package/cdn/chunks/chunk.BYDBGR3V.js +16 -0
- package/cdn/chunks/chunk.BZ5HBYHP.js +199 -0
- package/cdn/chunks/chunk.BZ5PBV75.js +11 -0
- package/cdn/chunks/chunk.CFB6KCPG.js +155 -0
- package/cdn/chunks/chunk.CFQH3MJT.js +21 -0
- package/cdn/chunks/chunk.CG5EQ2J6.js +11 -0
- package/cdn/chunks/chunk.CI3RFEJE.js +11 -0
- package/cdn/chunks/chunk.CI4DJHME.js +24 -0
- package/cdn/chunks/chunk.CIXQI3ZN.js +11 -0
- package/cdn/chunks/chunk.CLHJVNB6.js +510 -0
- package/cdn/chunks/chunk.CMHSZDTK.js +25 -0
- package/cdn/chunks/chunk.CVLBAJVT.js +21 -0
- package/cdn/chunks/chunk.CZ3O4LCY.js +42 -0
- package/cdn/chunks/chunk.D3FKAMLI.js +113 -0
- package/cdn/chunks/chunk.D3WHNWAU.js +110 -0
- package/cdn/chunks/chunk.DE5NOO7W.js +2982 -0
- package/cdn/chunks/chunk.DE7EY4ZR.js +23 -0
- package/cdn/chunks/chunk.DG3KI6VD.js +692 -0
- package/cdn/chunks/chunk.DILUS27E.js +11 -0
- package/cdn/chunks/chunk.DUU5PEPA.js +118 -0
- package/cdn/chunks/chunk.DW6EG2ZC.js +305 -0
- package/cdn/chunks/chunk.DX4BYW4D.js +179 -0
- package/cdn/chunks/chunk.DZXYVROZ.js +59 -0
- package/cdn/chunks/chunk.E3U4AAJR.js +236 -0
- package/cdn/chunks/chunk.E5K7RZ5A.js +25 -0
- package/cdn/chunks/chunk.E5R5EIBN.js +11 -0
- package/cdn/chunks/chunk.EAZNC2LB.js +24 -0
- package/cdn/chunks/chunk.EEEPGF2G.js +21 -0
- package/cdn/chunks/chunk.EQHFJGXH.js +34 -0
- package/cdn/chunks/chunk.ETQT6I4A.js +215 -0
- package/cdn/chunks/chunk.F2EFOTZD.js +216 -0
- package/cdn/chunks/chunk.F2VT3MNV.js +26 -0
- package/cdn/chunks/chunk.F4BONJ6C.js +11 -0
- package/cdn/chunks/chunk.F67WBIO2.js +11 -0
- package/cdn/chunks/chunk.FCETIUX5.js +24 -0
- package/cdn/chunks/chunk.FD3K7GAJ.js +402 -0
- package/cdn/chunks/chunk.FNBSZO42.js +70 -0
- package/cdn/chunks/chunk.FOG5DRDI.js +92 -0
- package/cdn/chunks/chunk.FRAYJJ62.js +21 -0
- package/cdn/chunks/chunk.FVG6ECXV.js +25 -0
- package/cdn/chunks/chunk.FZHTHHBV.js +421 -0
- package/cdn/chunks/chunk.G7C4IQHF.js +271 -0
- package/cdn/chunks/chunk.GB5GPJBP.js +11 -0
- package/cdn/chunks/chunk.GBGSVB53.js +11 -0
- package/cdn/chunks/chunk.GDMWEJTF.js +128 -0
- package/cdn/chunks/chunk.GEW6PG6T.js +48 -0
- package/cdn/chunks/chunk.GHZJCWCN.js +246 -0
- package/cdn/chunks/chunk.GK4EPTHD.js +11 -0
- package/cdn/chunks/chunk.GQQJ3VNW.js +25 -0
- package/cdn/chunks/chunk.GU24PRQD.js +24 -0
- package/cdn/chunks/chunk.GU73Y2LV.js +1071 -0
- package/cdn/chunks/chunk.GXVRHFBG.js +11 -0
- package/cdn/chunks/chunk.GYHG7L6Q.js +19 -0
- package/cdn/chunks/chunk.GYTL6PIH.js +11 -0
- package/cdn/chunks/chunk.H24MB2RG.js +11 -0
- package/cdn/chunks/chunk.H6YBBT32.js +336 -0
- package/cdn/chunks/chunk.HAE4XGZL.js +77 -0
- package/cdn/chunks/chunk.HEXIDJNP.js +391 -0
- package/cdn/chunks/chunk.HEZLOH3D.js +76 -0
- package/cdn/chunks/chunk.HG5KCGRG.js +109 -0
- package/cdn/chunks/chunk.HGA5KVLN.js +29 -0
- package/cdn/chunks/chunk.HGIEN6NU.js +78 -0
- package/cdn/chunks/chunk.HGLE6Z4W.js +24 -0
- package/cdn/chunks/chunk.HJWFYYT7.js +25 -0
- package/cdn/chunks/chunk.HKTICTF6.js +236 -0
- package/cdn/chunks/chunk.HLCRCIJY.js +53 -0
- package/cdn/chunks/chunk.HP5AZ2CD.js +68 -0
- package/cdn/chunks/chunk.HR4EG4CJ.js +333 -0
- package/cdn/chunks/chunk.HSQ3QFLA.js +26 -0
- package/cdn/chunks/chunk.HTI4ODEH.js +167 -0
- package/cdn/chunks/chunk.HVW2NRVH.js +21 -0
- package/cdn/chunks/chunk.HYKTEX6M.js +132 -0
- package/cdn/chunks/chunk.HYNA5GA4.js +67 -0
- package/cdn/chunks/chunk.I63GAWI2.js +14 -0
- package/cdn/chunks/chunk.ID4LBMPV.js +14 -0
- package/cdn/chunks/chunk.IEAYR3KY.js +11 -0
- package/cdn/chunks/chunk.IF6ZINR3.js +103 -0
- package/cdn/chunks/chunk.IGPPBUPS.js +110 -0
- package/cdn/chunks/chunk.IQPIX6GQ.js +29 -0
- package/cdn/chunks/chunk.IRBBLQ2D.js +835 -0
- package/cdn/chunks/chunk.ITBD43WZ.js +21 -0
- package/cdn/chunks/chunk.IUJWLVST.js +26 -0
- package/cdn/chunks/chunk.IWZIXRPB.js +19 -0
- package/cdn/chunks/chunk.IX4KYKFV.js +923 -0
- package/cdn/chunks/chunk.IX7ZI5KX.js +11 -0
- package/cdn/chunks/chunk.J3DDS3C5.js +186 -0
- package/cdn/chunks/chunk.J4TFWMDD.js +724 -0
- package/cdn/chunks/chunk.J5DCJIJG.js +11 -0
- package/cdn/chunks/chunk.JAXDP6HO.js +27 -0
- package/cdn/chunks/chunk.JE4M6LBP.js +11 -0
- package/cdn/chunks/chunk.JG23CVDU.js +27 -0
- package/cdn/chunks/chunk.JHPHYEWZ.js +21 -0
- package/cdn/chunks/chunk.JJVLSMVP.js +11 -0
- package/cdn/chunks/chunk.JONGUMJ4.js +11 -0
- package/cdn/chunks/chunk.JRDKK5PI.js +292 -0
- package/cdn/chunks/chunk.JRJXDEYA.js +24 -0
- package/cdn/chunks/chunk.JV6GOZGY.js +129 -0
- package/cdn/chunks/chunk.JXHJSRXB.js +79 -0
- package/cdn/chunks/chunk.JYWOELZO.js +21 -0
- package/cdn/chunks/chunk.K6FR7AFP.js +11 -0
- package/cdn/chunks/chunk.K7H26JT3.js +25 -0
- package/cdn/chunks/chunk.KAA3R7F6.js +1972 -0
- package/cdn/chunks/chunk.KD2W73R4.js +279 -0
- package/cdn/chunks/chunk.KGSUEYIK.js +24 -0
- package/cdn/chunks/chunk.KHW7U7QA.js +302 -0
- package/cdn/chunks/chunk.KNSF44EG.js +87 -0
- package/cdn/chunks/chunk.KP2Z44IB.js +21 -0
- package/cdn/chunks/chunk.KTUEKLUU.js +500 -0
- package/cdn/chunks/chunk.KYMJVPYB.js +11 -0
- package/cdn/chunks/chunk.L5PDBA73.js +7426 -0
- package/cdn/chunks/chunk.L73AY6XV.js +11 -0
- package/cdn/chunks/chunk.LAIIZLEM.js +21 -0
- package/cdn/chunks/chunk.LCMQ7QMH.js +215 -0
- package/cdn/chunks/chunk.LEQ7ROXQ.js +36 -0
- package/cdn/chunks/chunk.LIUXTERA.js +11 -0
- package/cdn/chunks/chunk.LK7UVDWC.js +24 -0
- package/cdn/chunks/chunk.LMVGSCMZ.js +25 -0
- package/cdn/chunks/chunk.LOEPVL46.js +11 -0
- package/cdn/chunks/chunk.LS5MJC2K.js +67 -0
- package/cdn/chunks/chunk.LWRG24EZ.js +21 -0
- package/cdn/chunks/chunk.LXDA6DTG.js +354 -0
- package/cdn/chunks/chunk.LXXLDXU7.js +371 -0
- package/cdn/chunks/chunk.LYCYIXUW.js +11 -0
- package/cdn/chunks/chunk.M2TSX2S6.js +605 -0
- package/cdn/chunks/chunk.MBB4NUVP.js +243 -0
- package/cdn/chunks/chunk.MC5NYDXE.js +30 -0
- package/cdn/chunks/chunk.MKBGEG2L.js +21 -0
- package/cdn/chunks/chunk.MMG3NKNI.js +11 -0
- package/cdn/chunks/chunk.MORACBWI.js +182 -0
- package/cdn/chunks/chunk.MRSMOI22.js +25 -0
- package/cdn/chunks/chunk.MTXZRY66.js +11 -0
- package/cdn/chunks/chunk.MV6BI5GK.js +11 -0
- package/cdn/chunks/chunk.MXYPWECN.js +29 -0
- package/cdn/chunks/chunk.MYCLNYJF.js +21 -0
- package/cdn/chunks/chunk.MYOCVZHN.js +57 -0
- package/cdn/chunks/chunk.N5JNU5JB.js +238 -0
- package/cdn/chunks/chunk.N65W6XTI.js +14 -0
- package/cdn/chunks/chunk.N6N54SAA.js +24 -0
- package/cdn/chunks/chunk.N6OUYYHN.js +82 -0
- package/cdn/chunks/chunk.NATFYANS.js +11 -0
- package/cdn/chunks/chunk.NN5BTMHP.js +11 -0
- package/cdn/chunks/chunk.NXT36LNP.js +24 -0
- package/cdn/chunks/chunk.O2QQ6S26.js +152 -0
- package/cdn/chunks/chunk.O7PVH2G4.js +24 -0
- package/cdn/chunks/chunk.OCMKVACL.js +330 -0
- package/cdn/chunks/chunk.OLIQR3OU.js +284 -0
- package/cdn/chunks/chunk.OO6RKMCB.js +70 -0
- package/cdn/chunks/chunk.OOKUQ7XD.js +74 -0
- package/cdn/chunks/chunk.OVRGHDOB.js +42 -0
- package/cdn/chunks/chunk.OW4P3A3J.js +67 -0
- package/cdn/chunks/chunk.P35BG3RR.js +142 -0
- package/cdn/chunks/chunk.P5CG56IO.js +1257 -0
- package/cdn/chunks/chunk.P7VAWFLA.js +153 -0
- package/cdn/chunks/chunk.PF6RYS5J.js +14 -0
- package/cdn/chunks/chunk.PHLMPS7Z.js +21 -0
- package/cdn/chunks/chunk.PL4KGADD.js +133 -0
- package/cdn/chunks/chunk.PLM45NZD.js +77 -0
- package/cdn/chunks/chunk.PPDUXEQN.js +244 -0
- package/cdn/chunks/chunk.PQ7OQRTN.js +619 -0
- package/cdn/chunks/chunk.PSTTVCPG.js +782 -0
- package/cdn/chunks/chunk.PSZF2LS6.js +49 -0
- package/cdn/chunks/chunk.PU6CJLWU.js +824 -0
- package/cdn/chunks/chunk.PUR7QYBW.js +21 -0
- package/cdn/chunks/chunk.PUROOZAD.js +544 -0
- package/cdn/chunks/chunk.PVXZ37HV.js +11 -0
- package/cdn/chunks/chunk.PWMOE6FS.js +193 -0
- package/cdn/chunks/chunk.PWTZNQBF.js +16 -0
- package/cdn/chunks/chunk.PYBRREFJ.js +27 -0
- package/cdn/chunks/chunk.Q2HFGSX3.js +11 -0
- package/cdn/chunks/chunk.QAVL6VNM.js +11 -0
- package/cdn/chunks/chunk.QIEADF2R.js +1932 -0
- package/cdn/chunks/chunk.QKJHKWZ6.js +375 -0
- package/cdn/chunks/chunk.QNACI2VQ.js +126 -0
- package/cdn/chunks/chunk.QRZQGKIP.js +11 -0
- package/cdn/chunks/chunk.QW3S7RGA.js +137 -0
- package/cdn/chunks/chunk.QYR3IGLT.js +50 -0
- package/cdn/chunks/chunk.QZA7O4ND.js +24 -0
- package/cdn/chunks/chunk.R6FBYIWE.js +26 -0
- package/cdn/chunks/chunk.R7QDBXPZ.js +35 -0
- package/cdn/chunks/chunk.R7ST2TAF.js +21 -0
- package/cdn/chunks/chunk.RFKIEWKU.js +27 -0
- package/cdn/chunks/chunk.RIAM6WXC.js +25 -0
- package/cdn/chunks/chunk.RNM3TMQL.js +346 -0
- package/cdn/chunks/chunk.RR3ZZRM4.js +11 -0
- package/cdn/chunks/chunk.RRMTMZK3.js +29 -0
- package/cdn/chunks/chunk.RWD3FFJZ.js +11 -0
- package/cdn/chunks/chunk.RYJ5NSSJ.js +455 -0
- package/cdn/chunks/chunk.S6IQL52Z.js +97 -0
- package/cdn/chunks/chunk.S6NYZPVE.js +21 -0
- package/cdn/chunks/chunk.S6RARJ6I.js +21 -0
- package/cdn/chunks/chunk.SB7SJIN7.js +111 -0
- package/cdn/chunks/chunk.SEK7WKMK.js +75 -0
- package/cdn/chunks/chunk.SH2Z2RKZ.js +25 -0
- package/cdn/chunks/chunk.SKXIMFBN.js +122 -0
- package/cdn/chunks/chunk.SOAQSD5Y.js +320 -0
- package/cdn/chunks/chunk.SPRZI4PO.js +93 -0
- package/cdn/chunks/chunk.SUFIZXAS.js +24 -0
- package/cdn/chunks/chunk.SWDUNFQX.js +192 -0
- package/cdn/chunks/chunk.SZRRQZPC.js +114 -0
- package/cdn/chunks/chunk.T35R3U32.js +28 -0
- package/cdn/chunks/chunk.T6RBEZIM.js +92 -0
- package/cdn/chunks/chunk.T6TU4WDJ.js +24 -0
- package/cdn/chunks/chunk.TDKUTEKR.js +11 -0
- package/cdn/chunks/chunk.TFKS2DSM.js +28 -0
- package/cdn/chunks/chunk.TG2JJEGO.js +91 -0
- package/cdn/chunks/chunk.TGK4K22N.js +26 -0
- package/cdn/chunks/chunk.TIFZ7L34.js +24 -0
- package/cdn/chunks/chunk.TKTXI5TH.js +11 -0
- package/cdn/chunks/chunk.TKV7YLDS.js +79 -0
- package/cdn/chunks/chunk.TNPKPMPA.js +454 -0
- package/cdn/chunks/chunk.TO3CJJ63.js +11 -0
- package/cdn/chunks/chunk.TPDV4NOM.js +26 -0
- package/cdn/chunks/chunk.TRKIJFED.js +24 -0
- package/cdn/chunks/chunk.TS4KMVGQ.js +11 -0
- package/cdn/chunks/chunk.TS6R4FXD.js +71 -0
- package/cdn/chunks/chunk.TU4LCU26.js +42 -0
- package/cdn/chunks/chunk.TX2JEVUU.js +193 -0
- package/cdn/chunks/chunk.TXB53IAA.js +33 -0
- package/cdn/chunks/chunk.TXUE6LBW.js +27 -0
- package/cdn/chunks/chunk.TZ3ZEYZW.js +11 -0
- package/cdn/chunks/chunk.TZZMKEKV.js +127 -0
- package/cdn/chunks/chunk.U5YC4257.js +34 -0
- package/cdn/chunks/chunk.U6VNQDE4.js +331 -0
- package/cdn/chunks/chunk.UB4EKSAO.js +85 -0
- package/cdn/chunks/chunk.UF4GX4AK.js +11 -0
- package/cdn/chunks/chunk.UFRR4FRY.js +49 -0
- package/cdn/chunks/chunk.UKIT4CJ5.js +371 -0
- package/cdn/chunks/chunk.UNEXLPZH.js +218 -0
- package/cdn/chunks/chunk.UNVZOKMN.js +78 -0
- package/cdn/chunks/chunk.UOYH6WFK.js +186 -0
- package/cdn/chunks/chunk.UPNOMV7S.js +98 -0
- package/cdn/chunks/chunk.UQ7LZ2KP.js +28 -0
- package/cdn/chunks/chunk.UTWBVWVO.js +21 -0
- package/cdn/chunks/chunk.UVCXOKOU.js +11 -0
- package/cdn/chunks/chunk.UVPLSCZN.js +24 -0
- package/cdn/chunks/chunk.UWBCBLXH.js +11 -0
- package/cdn/chunks/chunk.UWZCNB34.js +1990 -0
- package/cdn/chunks/chunk.UZSH5GHZ.js +21 -0
- package/cdn/chunks/chunk.UZTI43W7.js +21 -0
- package/cdn/chunks/chunk.V3KXJCDQ.js +11 -0
- package/cdn/chunks/chunk.V5TICT2O.js +63 -0
- package/cdn/chunks/chunk.V5ZXWIQG.js +21 -0
- package/cdn/chunks/chunk.VAJB3EU3.js +5896 -0
- package/cdn/chunks/chunk.VBONVBBW.js +16 -0
- package/cdn/chunks/chunk.VFAO2T3T.js +239 -0
- package/cdn/chunks/chunk.VLFQO2GV.js +29 -0
- package/cdn/chunks/chunk.VMRCRARS.js +11 -0
- package/cdn/chunks/chunk.VPW6I6CU.js +40 -0
- package/cdn/chunks/chunk.VVMDIMJZ.js +42 -0
- package/cdn/chunks/chunk.VVN4AZ6W.js +11 -0
- package/cdn/chunks/chunk.VWZPGCW5.js +23 -0
- package/cdn/chunks/chunk.VYJCNC56.js +93 -0
- package/cdn/chunks/chunk.W626LNKJ.js +21 -0
- package/cdn/chunks/chunk.WGICCVVP.js +86 -0
- package/cdn/chunks/chunk.WGMCD6CT.js +177 -0
- package/cdn/chunks/chunk.WPM42KGA.js +21 -0
- package/cdn/chunks/chunk.WT723SV4.js +197 -0
- package/cdn/chunks/chunk.WX2XUWPC.js +28 -0
- package/cdn/chunks/chunk.XB4ZV6RK.js +25 -0
- package/cdn/chunks/chunk.XCVOIFZO.js +11 -0
- package/cdn/chunks/chunk.XDUA4P2E.js +247 -0
- package/cdn/chunks/chunk.XE5ZCUAB.js +11 -0
- package/cdn/chunks/chunk.XEDS5UTC.js +25 -0
- package/cdn/chunks/chunk.XHLDQEDC.js +29 -0
- package/cdn/chunks/chunk.XJ7Q4EGL.js +29 -0
- package/cdn/chunks/chunk.XK6AOIAK.js +159 -0
- package/cdn/chunks/chunk.XLVCTU2K.js +43 -0
- package/cdn/chunks/chunk.XMK6TU2Z.js +472 -0
- package/cdn/chunks/chunk.XUNG7FQE.js +32 -0
- package/cdn/chunks/chunk.XWWOORAU.js +11 -0
- package/cdn/chunks/chunk.XWZLIQKA.js +474 -0
- package/cdn/chunks/chunk.XXFGH26X.js +11 -0
- package/cdn/chunks/chunk.XXWWX42Z.js +11 -0
- package/cdn/chunks/chunk.XY62FXRL.js +11 -0
- package/cdn/chunks/chunk.Y2CANIMZ.js +162 -0
- package/cdn/chunks/chunk.Y3OOL7JV.js +23 -0
- package/cdn/chunks/chunk.Y3WFCWJZ.js +1213 -0
- package/cdn/chunks/chunk.Y7SAK63B.js +357 -0
- package/cdn/chunks/chunk.YCXRP4OI.js +11 -0
- package/cdn/chunks/chunk.YHPGJQ7S.js +586 -0
- package/cdn/chunks/chunk.YNDTL3NT.js +413 -0
- package/cdn/chunks/chunk.YORH576P.js +11 -0
- package/cdn/chunks/chunk.YPD5YX4H.js +11 -0
- package/cdn/chunks/chunk.YT6FFIWN.js +346 -0
- package/cdn/chunks/chunk.YWGYT4Y3.js +51 -0
- package/cdn/chunks/chunk.Z5U2CSGH.js +11 -0
- package/cdn/chunks/chunk.ZEGQE6A7.js +177 -0
- package/cdn/chunks/chunk.ZFKDKWOD.js +11 -0
- package/cdn/chunks/chunk.ZHA5PVWU.js +11 -0
- package/cdn/chunks/chunk.ZLJQVKI7.js +21 -0
- package/cdn/chunks/chunk.ZMHSGEF7.js +21 -0
- package/cdn/chunks/chunk.ZMN3OZJR.js +130 -0
- package/cdn/chunks/chunk.ZS3K4NPH.js +11 -0
- package/cdn/chunks/chunk.ZYC5S7ZP.js +276 -0
- package/cdn/components/alert/alert.component.js +18 -18
- package/cdn/components/alert/alert.js +19 -19
- package/cdn/components/alert/alert.styles.js +3 -3
- package/cdn/components/animated-image/animated-image.component.js +9 -9
- package/cdn/components/animated-image/animated-image.js +10 -10
- package/cdn/components/animated-image/animated-image.styles.js +3 -3
- package/cdn/components/animation/animation.component.js +7 -7
- package/cdn/components/animation/animation.js +8 -8
- package/cdn/components/animation/animation.styles.js +3 -3
- package/cdn/components/animation/animations.js +1 -1
- package/cdn/components/avatar/avatar.component.js +11 -11
- package/cdn/components/avatar/avatar.js +12 -12
- package/cdn/components/avatar/avatar.styles.js +3 -3
- package/cdn/components/badge/badge.component.js +8 -8
- package/cdn/components/badge/badge.js +9 -9
- package/cdn/components/badge/badge.styles.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +12 -12
- package/cdn/components/breadcrumb/breadcrumb.js +13 -13
- package/cdn/components/breadcrumb/breadcrumb.styles.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +9 -9
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +10 -10
- package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +3 -3
- package/cdn/components/button/button.component.js +18 -18
- package/cdn/components/button/button.js +19 -19
- package/cdn/components/button/button.styles.js +3 -3
- package/cdn/components/button-group/button-group.component.js +6 -6
- package/cdn/components/button-group/button-group.js +7 -7
- package/cdn/components/button-group/button-group.styles.js +3 -3
- package/cdn/components/calendar/calendar.component.js +32 -32
- package/cdn/components/calendar/calendar.js +33 -33
- package/cdn/components/calendar/calendar.styles.js +3 -3
- package/cdn/components/calendar-picker/calendar-picker.component.js +22 -22
- package/cdn/components/calendar-picker/calendar-picker.js +22 -22
- package/cdn/components/calendar-picker/calendar-picker.styles.js +3 -3
- package/cdn/components/card/card.component.js +8 -8
- package/cdn/components/card/card.js +9 -9
- package/cdn/components/card/card.styles.js +3 -3
- package/cdn/components/carousel/carousel.component.js +14 -14
- package/cdn/components/carousel/carousel.js +15 -15
- package/cdn/components/carousel/carousel.styles.js +3 -3
- package/cdn/components/carousel-item/carousel-item.component.js +6 -6
- package/cdn/components/carousel-item/carousel-item.js +7 -7
- package/cdn/components/carousel-item/carousel-item.styles.js +3 -3
- package/cdn/components/cascader/cascader.component.js +23 -23
- package/cdn/components/cascader/cascader.js +24 -24
- package/cdn/components/cascader/cascader.styles.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +14 -14
- package/cdn/components/checkbox/checkbox.js +15 -15
- package/cdn/components/checkbox/checkbox.styles.js +3 -3
- package/cdn/components/col/col.component.js +6 -6
- package/cdn/components/col/col.js +7 -7
- package/cdn/components/col/col.styles.js +3 -3
- package/cdn/components/color-picker/color-picker.component.js +33 -33
- package/cdn/components/color-picker/color-picker.js +34 -34
- package/cdn/components/color-picker/color-picker.styles.js +3 -3
- package/cdn/components/copy-button/copy-button.component.js +18 -18
- package/cdn/components/copy-button/copy-button.js +19 -19
- package/cdn/components/copy-button/copy-button.styles.js +3 -3
- package/cdn/components/date-panel/date-panel.component.js +28 -28
- package/cdn/components/date-panel/date-panel.js +28 -28
- package/cdn/components/date-panel/date-panel.styles.js +3 -3
- package/cdn/components/datepicker/datepicker.component.js +36 -36
- package/cdn/components/datepicker/datepicker.js +36 -36
- package/cdn/components/daterangepicker/daterangepicker.component.js +32 -32
- package/cdn/components/daterangepicker/daterangepicker.js +33 -33
- package/cdn/components/daterangepicker/daterangepicker.styles.js +3 -3
- package/cdn/components/details/details.component.js +14 -14
- package/cdn/components/details/details.js +15 -15
- package/cdn/components/details/details.styles.js +3 -3
- package/cdn/components/dialog/dialog.component.js +18 -18
- package/cdn/components/dialog/dialog.js +19 -19
- package/cdn/components/dialog/dialog.styles.js +3 -3
- package/cdn/components/divider/divider.component.js +6 -6
- package/cdn/components/divider/divider.js +7 -7
- package/cdn/components/divider/divider.styles.js +3 -3
- package/cdn/components/drawer/drawer.component.js +18 -18
- package/cdn/components/drawer/drawer.js +19 -19
- package/cdn/components/drawer/drawer.styles.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +14 -14
- package/cdn/components/dropdown/dropdown.js +15 -15
- package/cdn/components/dropdown/dropdown.styles.js +3 -3
- package/cdn/components/float-button/float-button.component.js +19 -19
- package/cdn/components/float-button/float-button.js +20 -20
- package/cdn/components/float-button/float-button.styles.js +3 -3
- package/cdn/components/float-button-group/float-button-group.component.js +11 -11
- package/cdn/components/float-button-group/float-button-group.js +12 -12
- package/cdn/components/float-button-group/float-button-group.styles.js +3 -3
- package/cdn/components/format-bytes/format-bytes.component.js +7 -7
- package/cdn/components/format-bytes/format-bytes.js +8 -8
- package/cdn/components/format-date/format-date.component.js +7 -7
- package/cdn/components/format-date/format-date.js +8 -8
- package/cdn/components/format-number/format-number.component.js +7 -7
- package/cdn/components/format-number/format-number.js +8 -8
- package/cdn/components/icon/icon.component.js +7 -7
- package/cdn/components/icon/icon.js +8 -8
- package/cdn/components/icon/icon.styles.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +13 -13
- package/cdn/components/icon-button/icon-button.js +14 -14
- package/cdn/components/icon-button/icon-button.styles.js +3 -3
- package/cdn/components/image/icons.js +3 -3
- package/cdn/components/image/image-preview.styles.js +3 -3
- package/cdn/components/image/image.component.js +12 -12
- package/cdn/components/image/image.js +12 -12
- package/cdn/components/image/image.styles.js +3 -3
- package/cdn/components/image-comparer/image-comparer.component.js +15 -15
- package/cdn/components/image-comparer/image-comparer.js +16 -16
- package/cdn/components/image-comparer/image-comparer.styles.js +3 -3
- package/cdn/components/image-preview-group/image-preview-group.component.js +12 -12
- package/cdn/components/image-preview-group/image-preview-group.js +12 -12
- package/cdn/components/image-preview-group/image-preview-group.styles.js +3 -3
- package/cdn/components/include/include.component.js +6 -6
- package/cdn/components/include/include.js +7 -7
- package/cdn/components/include/include.styles.js +3 -3
- package/cdn/components/input/input.component.js +17 -17
- package/cdn/components/input/input.js +18 -18
- package/cdn/components/input/input.styles.js +3 -3
- package/cdn/components/menu/menu.component.js +6 -6
- package/cdn/components/menu/menu.js +7 -7
- package/cdn/components/menu/menu.styles.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +20 -20
- package/cdn/components/menu-item/menu-item.js +21 -21
- package/cdn/components/menu-item/menu-item.styles.js +3 -3
- package/cdn/components/menu-item/submenu-controller.js +6 -6
- package/cdn/components/menu-label/menu-label.component.js +6 -6
- package/cdn/components/menu-label/menu-label.js +7 -7
- package/cdn/components/menu-label/menu-label.styles.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +6 -6
- package/cdn/components/mutation-observer/mutation-observer.js +7 -7
- package/cdn/components/mutation-observer/mutation-observer.styles.js +3 -3
- package/cdn/components/nav/nav.component.js +24 -24
- package/cdn/components/nav/nav.js +25 -25
- package/cdn/components/nav/nav.styles.js +4 -4
- package/cdn/components/nav-group/nav-group.component.js +6 -6
- package/cdn/components/nav-group/nav-group.js +7 -7
- package/cdn/components/nav-group/nav-group.styles.js +4 -4
- package/cdn/components/nav-item/nav-item.component.js +8 -8
- package/cdn/components/nav-item/nav-item.js +9 -9
- package/cdn/components/nav-item/nav-item.styles.js +4 -4
- package/cdn/components/nav-submenu/nav-submenu.component.js +16 -16
- package/cdn/components/nav-submenu/nav-submenu.js +17 -17
- package/cdn/components/nav-submenu/nav-submenu.styles.js +4 -4
- package/cdn/components/notification/notification.component.js +18 -18
- package/cdn/components/notification/notification.js +19 -19
- package/cdn/components/notification/notification.styles.js +3 -3
- package/cdn/components/option/option.component.js +14 -14
- package/cdn/components/option/option.js +15 -15
- package/cdn/components/option/option.styles.js +3 -3
- package/cdn/components/pagination/custom-select.js +26 -26
- package/cdn/components/pagination/pagination.component.js +28 -28
- package/cdn/components/pagination/pagination.js +28 -28
- package/cdn/components/pagination/pagination.styles.js +3 -3
- package/cdn/components/popup/popup.component.js +11 -11
- package/cdn/components/popup/popup.js +12 -12
- package/cdn/components/popup/popup.styles.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +13 -13
- package/cdn/components/progress-bar/progress-bar.js +14 -14
- package/cdn/components/progress-bar/progress-bar.styles.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +9 -9
- package/cdn/components/progress-ring/progress-ring.js +10 -10
- package/cdn/components/progress-ring/progress-ring.styles.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +8 -8
- package/cdn/components/qr-code/qr-code.js +9 -9
- package/cdn/components/qr-code/qr-code.styles.js +3 -3
- package/cdn/components/radio/radio.component.js +11 -11
- package/cdn/components/radio/radio.js +12 -12
- package/cdn/components/radio/radio.styles.js +3 -3
- package/cdn/components/radio-button/radio-button.component.js +11 -11
- package/cdn/components/radio-button/radio-button.js +12 -12
- package/cdn/components/radio-button/radio-button.styles.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +11 -11
- package/cdn/components/radio-group/radio-group.js +12 -12
- package/cdn/components/radio-group/radio-group.styles.js +3 -3
- package/cdn/components/range/range.component.js +15 -15
- package/cdn/components/range/range.js +16 -16
- package/cdn/components/range/range.styles.js +3 -3
- package/cdn/components/rating/rating.component.js +16 -16
- package/cdn/components/rating/rating.js +17 -17
- package/cdn/components/rating/rating.styles.js +3 -3
- package/cdn/components/relative-time/relative-time.component.js +7 -7
- package/cdn/components/relative-time/relative-time.js +8 -8
- package/cdn/components/resize-observer/resize-observer.component.js +6 -6
- package/cdn/components/resize-observer/resize-observer.js +7 -7
- package/cdn/components/resize-observer/resize-observer.styles.js +3 -3
- package/cdn/components/row/row.component.js +9 -9
- package/cdn/components/row/row.js +10 -10
- package/cdn/components/row/row.styles.js +3 -3
- package/cdn/components/screen/gridstack.styles.js +3 -3
- package/cdn/components/screen/screen.component.js +7 -7
- package/cdn/components/screen/screen.js +8 -8
- package/cdn/components/screen/screen.styles.js +3 -3
- package/cdn/components/segmented/segmented.component.js +18 -18
- package/cdn/components/segmented/segmented.js +19 -19
- package/cdn/components/segmented/segmented.styles.js +3 -3
- package/cdn/components/select/select.component.js +24 -24
- package/cdn/components/select/select.js +25 -25
- package/cdn/components/select/select.styles.js +3 -3
- package/cdn/components/sender/sender.component.js +37 -37
- package/cdn/components/sender/sender.js +38 -38
- package/cdn/components/sender/sender.styles.js +3 -3
- package/cdn/components/sender-header/sender-header.component.js +20 -20
- package/cdn/components/sender-header/sender-header.js +21 -21
- package/cdn/components/sender-header/sender-header.styles.js +3 -3
- package/cdn/components/sender-switch/sender-switch.component.js +20 -20
- package/cdn/components/sender-switch/sender-switch.js +21 -21
- package/cdn/components/sender-switch/sender-switch.styles.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +8 -8
- package/cdn/components/skeleton/skeleton.js +9 -9
- package/cdn/components/skeleton/skeleton.styles.js +3 -3
- package/cdn/components/space/space.component.js +9 -9
- package/cdn/components/space/space.js +10 -10
- package/cdn/components/space/space.styles.js +3 -3
- package/cdn/components/spinner/spinner.component.js +9 -9
- package/cdn/components/spinner/spinner.js +10 -10
- package/cdn/components/spinner/spinner.styles.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +10 -10
- package/cdn/components/split-panel/split-panel.js +11 -11
- package/cdn/components/split-panel/split-panel.styles.js +3 -3
- package/cdn/components/steps/steps.component.js +9 -9
- package/cdn/components/steps/steps.js +10 -10
- package/cdn/components/steps/steps.styles.js +3 -3
- package/cdn/components/switch/switch.component.js +12 -12
- package/cdn/components/switch/switch.js +13 -13
- package/cdn/components/switch/switch.styles.js +3 -3
- package/cdn/components/tab/tab.component.js +18 -18
- package/cdn/components/tab/tab.js +19 -19
- package/cdn/components/tab/tab.styles.js +3 -3
- package/cdn/components/tab-group/tab-group.component.js +20 -20
- package/cdn/components/tab-group/tab-group.js +21 -21
- package/cdn/components/tab-group/tab-group.styles.js +3 -3
- package/cdn/components/tab-panel/tab-panel.component.js +8 -8
- package/cdn/components/tab-panel/tab-panel.js +9 -9
- package/cdn/components/tab-panel/tab-panel.styles.js +3 -3
- package/cdn/components/table/body-table.js +14 -14
- package/cdn/components/table/col-group.js +5 -5
- package/cdn/components/table/features/index.js +8 -8
- package/cdn/components/table/features/row-drag-controller.js +6 -6
- package/cdn/components/table/features/row-drag.js +4 -4
- package/cdn/components/table/features/row-expend.js +4 -4
- package/cdn/components/table/features/row-selection.js +4 -4
- package/cdn/components/table/footer-table.js +11 -11
- package/cdn/components/table/head-table.js +46 -46
- package/cdn/components/table/spinner-container.js +4 -4
- package/cdn/components/table/table.component.js +63 -63
- package/cdn/components/table/table.context.js +1 -1
- package/cdn/components/table/table.js +64 -64
- package/cdn/components/tag/tag.component.js +18 -18
- package/cdn/components/tag/tag.js +19 -19
- package/cdn/components/tag/tag.styles.js +3 -3
- package/cdn/components/textarea/textarea.component.js +12 -12
- package/cdn/components/textarea/textarea.js +13 -13
- package/cdn/components/textarea/textarea.styles.js +3 -3
- package/cdn/components/think/think.component.js +16 -16
- package/cdn/components/think/think.js +17 -17
- package/cdn/components/think/think.styles.js +3 -3
- package/cdn/components/thought-chain/thought-chain.component.js +6 -6
- package/cdn/components/thought-chain/thought-chain.js +7 -7
- package/cdn/components/thought-chain/thought-chain.styles.js +3 -3
- package/cdn/components/thought-chain-item/thought-chain-item.component.js +16 -16
- package/cdn/components/thought-chain-item/thought-chain-item.js +17 -17
- package/cdn/components/thought-chain-item/thought-chain-item.styles.js +3 -3
- package/cdn/components/thought-chain-node/thought-chain-node.component.js +16 -16
- package/cdn/components/thought-chain-node/thought-chain-node.js +17 -17
- package/cdn/components/thought-chain-node/thought-chain-node.styles.js +3 -3
- package/cdn/components/time-panel/time-panel.component.js +20 -20
- package/cdn/components/time-panel/time-panel.js +20 -20
- package/cdn/components/time-panel/time-panel.styles.js +3 -3
- package/cdn/components/timepicker/timepicker.component.js +37 -37
- package/cdn/components/timepicker/timepicker.js +37 -37
- package/cdn/components/timepicker/timepicker.styles.js +3 -3
- package/cdn/components/tooltip/tooltip.component.js +13 -13
- package/cdn/components/tooltip/tooltip.js +14 -14
- package/cdn/components/tooltip/tooltip.styles.js +3 -3
- package/cdn/components/tree/tree.component.js +23 -23
- package/cdn/components/tree/tree.js +24 -24
- package/cdn/components/tree/tree.styles.js +3 -3
- package/cdn/components/tree-item/tree-item.component.js +21 -21
- package/cdn/components/tree-item/tree-item.js +22 -22
- package/cdn/components/tree-item/tree-item.styles.js +3 -3
- package/cdn/components/tree-select/tree-select.component.js +33 -33
- package/cdn/components/tree-select/tree-select.js +34 -34
- package/cdn/components/tree-select/tree-select.styles.js +3 -3
- package/cdn/components/upload/upload.component.js +29 -29
- package/cdn/components/upload/upload.js +29 -29
- package/cdn/components/upload/upload.styles.js +3 -3
- package/cdn/components/visually-hidden/visually-hidden.component.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.js +7 -7
- package/cdn/components/visually-hidden/visually-hidden.styles.js +3 -3
- package/cdn/components/x-markdown/markdown/components.js +6 -6
- package/cdn/components/x-markdown/markdown/highlight.js +1 -1
- package/cdn/components/x-markdown/markdown/parser.js +1 -1
- package/cdn/components/x-markdown/markdown/render.js +11 -11
- package/cdn/components/x-markdown/x-markdown.component.js +16 -16
- package/cdn/components/x-markdown/x-markdown.js +17 -17
- package/cdn/components/x-markdown/x-markdown.styles.js +3 -3
- package/cdn/custom-elements.json +16326 -16194
- package/cdn/react/alert/index.js +19 -19
- package/cdn/react/animated-image/index.js +10 -10
- package/cdn/react/animation/index.js +8 -8
- package/cdn/react/avatar/index.js +12 -12
- package/cdn/react/badge/index.js +9 -9
- package/cdn/react/breadcrumb/index.js +13 -13
- package/cdn/react/breadcrumb-item/index.js +10 -10
- package/cdn/react/button/index.js +19 -19
- package/cdn/react/button-group/index.js +7 -7
- package/cdn/react/calendar/index.js +33 -33
- package/cdn/react/card/index.js +9 -9
- package/cdn/react/carousel/index.js +15 -15
- package/cdn/react/carousel-item/index.js +7 -7
- package/cdn/react/cascader/index.js +24 -24
- package/cdn/react/checkbox/index.js +15 -15
- package/cdn/react/col/index.js +7 -7
- package/cdn/react/color-picker/index.js +34 -34
- package/cdn/react/copy-button/index.js +19 -19
- package/cdn/react/date-panel/index.js +29 -29
- package/cdn/react/datepicker/index.js +37 -37
- package/cdn/react/daterangepicker/index.js +33 -33
- package/cdn/react/details/index.js +15 -15
- package/cdn/react/dialog/index.js +19 -19
- package/cdn/react/divider/index.js +7 -7
- package/cdn/react/drawer/index.js +19 -19
- package/cdn/react/dropdown/index.js +15 -15
- package/cdn/react/float-button/index.js +20 -20
- package/cdn/react/float-button-group/index.js +12 -12
- package/cdn/react/format-bytes/index.js +8 -8
- package/cdn/react/format-date/index.js +8 -8
- package/cdn/react/format-number/index.js +8 -8
- package/cdn/react/icon/index.js +8 -8
- package/cdn/react/icon-button/index.js +14 -14
- package/cdn/react/image/index.js +13 -13
- package/cdn/react/image-comparer/index.js +16 -16
- package/cdn/react/image-preview-group/index.js +13 -13
- package/cdn/react/include/index.js +7 -7
- package/cdn/react/index.js +376 -376
- package/cdn/react/input/index.js +18 -18
- package/cdn/react/menu/index.js +7 -7
- package/cdn/react/menu-item/index.js +21 -21
- package/cdn/react/menu-label/index.js +7 -7
- package/cdn/react/mutation-observer/index.js +7 -7
- package/cdn/react/nav/index.js +25 -25
- package/cdn/react/nav-group/index.js +7 -7
- package/cdn/react/nav-item/index.js +9 -9
- package/cdn/react/nav-submenu/index.js +17 -17
- package/cdn/react/notification/index.js +19 -19
- package/cdn/react/option/index.js +15 -15
- package/cdn/react/pagination/index.js +29 -29
- package/cdn/react/popup/index.js +12 -12
- package/cdn/react/progress-bar/index.js +14 -14
- package/cdn/react/progress-ring/index.js +10 -10
- package/cdn/react/qr-code/index.js +9 -9
- package/cdn/react/radio/index.js +12 -12
- package/cdn/react/radio-button/index.js +12 -12
- package/cdn/react/radio-group/index.js +12 -12
- package/cdn/react/range/index.js +16 -16
- package/cdn/react/rating/index.js +17 -17
- package/cdn/react/relative-time/index.js +8 -8
- package/cdn/react/resize-observer/index.js +7 -7
- package/cdn/react/row/index.js +10 -10
- package/cdn/react/screen/index.js +8 -8
- package/cdn/react/segmented/index.js +19 -19
- package/cdn/react/select/index.js +25 -25
- package/cdn/react/sender/index.js +38 -38
- package/cdn/react/sender-header/index.js +21 -21
- package/cdn/react/sender-switch/index.js +21 -21
- package/cdn/react/skeleton/index.js +9 -9
- package/cdn/react/space/index.js +10 -10
- package/cdn/react/spinner/index.js +10 -10
- package/cdn/react/split-panel/index.js +11 -11
- package/cdn/react/steps/index.js +10 -10
- package/cdn/react/switch/index.js +13 -13
- package/cdn/react/tab/index.js +19 -19
- package/cdn/react/tab-group/index.js +21 -21
- package/cdn/react/tab-panel/index.js +9 -9
- package/cdn/react/table/index.js +64 -64
- package/cdn/react/tag/index.js +19 -19
- package/cdn/react/textarea/index.js +13 -13
- package/cdn/react/think/index.js +17 -17
- package/cdn/react/thought-chain/index.js +7 -7
- package/cdn/react/thought-chain-item/index.js +17 -17
- package/cdn/react/thought-chain-node/index.js +17 -17
- package/cdn/react/timepicker/index.js +38 -38
- package/cdn/react/tooltip/index.js +14 -14
- package/cdn/react/tree/index.js +24 -24
- package/cdn/react/tree-item/index.js +22 -22
- package/cdn/react/tree-select/index.js +34 -34
- package/cdn/react/upload/index.js +30 -30
- package/cdn/react/visually-hidden/index.js +7 -7
- package/cdn/react/x-markdown/index.js +17 -17
- package/cdn/shoelace.js +354 -354
- package/cdn/themes/dark.css +1 -1
- package/cdn/themes/dark.styles.js +1 -1
- package/cdn/themes/nova_dark.css +1 -1
- package/cdn/themes/nova_dark.styles.js +1 -1
- package/cdn/translations/ar.js +1 -1
- package/cdn/translations/cs.js +1 -1
- package/cdn/translations/da.js +3 -3
- package/cdn/translations/de-ch.js +4 -4
- package/cdn/translations/de.js +4 -4
- package/cdn/translations/en-gb.js +3 -3
- package/cdn/translations/en.js +2 -2
- package/cdn/translations/es.js +3 -3
- package/cdn/translations/fa.js +3 -3
- package/cdn/translations/fi.js +1 -1
- package/cdn/translations/fr.js +3 -3
- package/cdn/translations/he.js +3 -3
- package/cdn/translations/hr.js +1 -1
- package/cdn/translations/hu.js +3 -3
- package/cdn/translations/id.js +1 -1
- package/cdn/translations/it.js +1 -1
- package/cdn/translations/ja.js +3 -3
- package/cdn/translations/nb.js +3 -3
- package/cdn/translations/nl.js +3 -3
- package/cdn/translations/nn.js +3 -3
- package/cdn/translations/pl.js +3 -3
- package/cdn/translations/pt.js +3 -3
- package/cdn/translations/ru.js +3 -3
- package/cdn/translations/sl.js +1 -1
- package/cdn/translations/sv.js +3 -3
- package/cdn/translations/tr.js +3 -3
- package/cdn/translations/uk.js +3 -3
- package/cdn/translations/zh-cn.js +3 -3
- package/cdn/translations/zh-tw.js +3 -3
- package/cdn/types/vue/index.d.ts +1790 -1768
- package/cdn/utilities/animation.js +1 -1
- package/cdn/utilities/localize.js +3 -3
- package/cdn/utilities/spread.js +2 -2
- package/cdn/vscode.html-custom-data.json +1253 -1248
- package/cdn/web-types.json +4091 -4081
- package/dist/chunks/chunk.242KU6YF.js +63 -0
- package/dist/chunks/chunk.25PU63SY.js +21 -0
- package/dist/chunks/chunk.26CIOSZK.js +21 -0
- package/dist/chunks/chunk.2A5WSIRJ.js +21 -0
- package/dist/chunks/chunk.2HSBID6W.js +11 -0
- package/dist/chunks/chunk.2NCMYNNT.js +11 -0
- package/dist/chunks/chunk.2NERKQ3M.js +24 -0
- package/dist/chunks/chunk.2SC7ZSKZ.js +26 -0
- package/dist/chunks/chunk.3DEPNMW6.js +274 -0
- package/dist/chunks/chunk.3GB4CR6M.js +11 -0
- package/dist/chunks/chunk.3MN2P4VW.js +11 -0
- package/dist/chunks/chunk.3MN7PGB7.js +24 -0
- package/dist/chunks/chunk.3NGRIE4Q.js +25 -0
- package/dist/chunks/chunk.3O4XBHCA.js +11 -0
- package/dist/chunks/chunk.3XP2E4S5.js +28 -0
- package/dist/chunks/chunk.3Z3CJ4SO.js +28 -0
- package/dist/chunks/chunk.42NKZGHU.js +75 -0
- package/dist/chunks/chunk.44AYLEYI.js +397 -0
- package/dist/chunks/chunk.462YIHHV.js +11 -0
- package/dist/chunks/chunk.4HOC44K2.js +27 -0
- package/dist/chunks/chunk.4JZX7KAU.js +681 -0
- package/dist/chunks/chunk.4ODCKP2K.js +151 -0
- package/dist/chunks/chunk.4R3AIS5W.js +11 -0
- package/dist/chunks/chunk.4RS2PT2Q.js +418 -0
- package/dist/chunks/chunk.4S47ZPL7.js +11 -0
- package/dist/chunks/chunk.4WPS7YAB.js +29 -0
- package/dist/chunks/chunk.4XWHSNRZ.js +11 -0
- package/dist/chunks/chunk.4ZFAL7AO.js +27 -0
- package/dist/chunks/chunk.53GWUUFZ.js +1963 -0
- package/dist/chunks/chunk.54FBXB2R.js +26 -0
- package/dist/chunks/chunk.577OV2K6.js +365 -0
- package/dist/chunks/chunk.57GQ6SRV.js +25 -0
- package/dist/chunks/chunk.5C5OJETG.js +212 -0
- package/dist/chunks/chunk.5EBLUKYK.js +21 -0
- package/dist/chunks/chunk.5KON64UZ.js +113 -0
- package/dist/chunks/chunk.5L2VSRGE.js +11 -0
- package/dist/chunks/chunk.5OE2EUTG.js +11 -0
- package/dist/chunks/chunk.5OFJ6BJV.js +407 -0
- package/dist/chunks/chunk.5TYAJMSJ.js +21 -0
- package/dist/chunks/chunk.5U44SZ5P.js +11 -0
- package/dist/chunks/chunk.5XZPB6U6.js +171 -0
- package/dist/chunks/chunk.5Z7A6VFJ.js +28 -0
- package/dist/chunks/chunk.634UOXH6.js +11 -0
- package/dist/chunks/chunk.64RAIQPK.js +11 -0
- package/dist/chunks/chunk.64Z6QJB6.js +21 -0
- package/dist/chunks/chunk.65KXXEBM.js +24 -0
- package/dist/chunks/chunk.6BUK336C.js +34 -0
- package/dist/chunks/chunk.6F6MPDPQ.js +24 -0
- package/dist/chunks/chunk.6FHMJAHS.js +324 -0
- package/dist/chunks/chunk.6G5S4JOQ.js +263 -0
- package/dist/chunks/chunk.6GDEQD74.js +21 -0
- package/dist/chunks/chunk.6MKDADB2.js +11 -0
- package/dist/chunks/chunk.6N36COCL.js +771 -0
- package/dist/chunks/chunk.6NJTOZRI.js +213 -0
- package/dist/chunks/chunk.6OF7K2C5.js +29 -0
- package/dist/chunks/chunk.6PAZ37RZ.js +11 -0
- package/dist/chunks/chunk.6QTDR3SM.js +949 -0
- package/dist/chunks/chunk.74TTM3VZ.js +85 -0
- package/dist/chunks/chunk.7HWPRW4Q.js +613 -0
- package/dist/chunks/chunk.7QEZFLNR.js +11 -0
- package/dist/chunks/chunk.7R64S7D5.js +11 -0
- package/dist/chunks/chunk.7X3DSDKV.js +29 -0
- package/dist/chunks/chunk.A4GXWY6S.js +28 -0
- package/dist/chunks/chunk.AD6MQQJU.js +33 -0
- package/dist/chunks/chunk.AH5TVHUA.js +11 -0
- package/dist/chunks/chunk.AJ2XDXSP.js +11 -0
- package/dist/chunks/chunk.ARCGGPRK.js +209 -0
- package/dist/chunks/chunk.ASGILMTB.js +59 -0
- package/dist/chunks/chunk.AYQS2USC.js +11 -0
- package/dist/chunks/chunk.B2USJM3J.js +11 -0
- package/dist/chunks/chunk.BC472SFW.js +11 -0
- package/dist/chunks/chunk.BIAV24H4.js +24 -0
- package/dist/chunks/chunk.BPULMOCN.js +26 -0
- package/dist/chunks/chunk.BVRY5KDQ.js +29 -0
- package/dist/chunks/chunk.BWDRW7PE.js +50 -0
- package/dist/chunks/chunk.CAGU4EFI.js +167 -0
- package/dist/chunks/chunk.CAROPHHN.js +466 -0
- package/dist/chunks/chunk.CDLYX5ZY.js +21 -0
- package/dist/chunks/chunk.CHCLMZQY.js +280 -0
- package/dist/chunks/chunk.CHIZQ4A3.js +598 -0
- package/dist/chunks/chunk.CILIF33J.js +11 -0
- package/dist/chunks/chunk.CO5JO2SO.js +21 -0
- package/dist/chunks/chunk.CQJC4DOF.js +21 -0
- package/dist/chunks/chunk.CRS6IRCY.js +11 -0
- package/dist/chunks/chunk.CT2QGCWF.js +27 -0
- package/dist/chunks/chunk.CT464QFG.js +11 -0
- package/dist/chunks/chunk.D7NCN62B.js +21 -0
- package/dist/chunks/chunk.DCLGOKUZ.js +125 -0
- package/dist/chunks/chunk.DG6XTSRI.js +11 -0
- package/dist/chunks/chunk.DGH7K36S.js +11 -0
- package/dist/chunks/chunk.DOPSYM6L.js +90 -0
- package/dist/chunks/chunk.DOUQZACI.js +180 -0
- package/dist/chunks/chunk.DQHGZY4X.js +42 -0
- package/dist/chunks/chunk.DTUP5LFB.js +25 -0
- package/dist/chunks/chunk.DUKYB367.js +550 -0
- package/dist/chunks/chunk.DVSKGKOO.js +11 -0
- package/dist/chunks/chunk.E5HWNRCQ.js +278 -0
- package/dist/chunks/chunk.EDFQJJTL.js +11 -0
- package/dist/chunks/chunk.EFJCUH7P.js +75 -0
- package/dist/chunks/chunk.EFLVGD3X.js +80 -0
- package/dist/chunks/chunk.EIFOXOB3.js +247 -0
- package/dist/chunks/chunk.EKXPMPO2.js +24 -0
- package/dist/chunks/chunk.EV7OI2WV.js +11 -0
- package/dist/chunks/chunk.EWTYDN6H.js +11 -0
- package/dist/chunks/chunk.FF3CGXMY.js +25 -0
- package/dist/chunks/chunk.FFPZDSCN.js +27 -0
- package/dist/chunks/chunk.FHXI54IP.js +286 -0
- package/dist/chunks/chunk.FKZTQOEP.js +191 -0
- package/dist/chunks/chunk.FMHLWHNI.js +11 -0
- package/dist/chunks/chunk.FMROHC6E.js +21 -0
- package/dist/chunks/chunk.FPDBTSPA.js +11 -0
- package/dist/chunks/chunk.FTNJT2E2.js +424 -0
- package/dist/chunks/chunk.FUCLBWV5.js +11 -0
- package/dist/chunks/chunk.FWLIVJ4Y.js +348 -0
- package/dist/chunks/chunk.FX65YXYD.js +148 -0
- package/dist/chunks/chunk.G2KNGP4Y.js +11 -0
- package/dist/chunks/chunk.G5LWR33U.js +192 -0
- package/dist/chunks/chunk.GBZ2ACZN.js +11 -0
- package/dist/chunks/chunk.GEC7VKFA.js +937 -0
- package/dist/chunks/chunk.GPCLVQAU.js +24 -0
- package/dist/chunks/chunk.GSVTHEIC.js +11 -0
- package/dist/chunks/chunk.GW666QCH.js +21 -0
- package/dist/chunks/chunk.H3VTQBCH.js +181 -0
- package/dist/chunks/chunk.H6A6PIQW.js +21 -0
- package/dist/chunks/chunk.H7ULT3VY.js +322 -0
- package/dist/chunks/chunk.HEA65HFK.js +234 -0
- package/dist/chunks/chunk.HJP3OUMH.js +21 -0
- package/dist/chunks/chunk.HNBV77LW.js +93 -0
- package/dist/chunks/chunk.HTWXPBTZ.js +26 -0
- package/dist/chunks/chunk.HZK6N6DH.js +24 -0
- package/dist/chunks/chunk.I4R7R4KS.js +29 -0
- package/dist/chunks/chunk.I7HUMOKW.js +158 -0
- package/dist/chunks/chunk.IC4PT5JI.js +494 -0
- package/dist/chunks/chunk.IGYO3UNZ.js +100 -0
- package/dist/chunks/chunk.IM7EECTO.js +27 -0
- package/dist/chunks/chunk.IPJUQSLG.js +116 -0
- package/dist/chunks/chunk.IVLRUCSN.js +375 -0
- package/dist/chunks/chunk.IX65EUJJ.js +11 -0
- package/dist/chunks/chunk.IXDSN42N.js +11 -0
- package/dist/chunks/chunk.J3BLCSDS.js +119 -0
- package/dist/chunks/chunk.J5GUNY2G.js +11 -0
- package/dist/chunks/chunk.JFXS5MCD.js +294 -0
- package/dist/chunks/chunk.JIXSDH33.js +521 -0
- package/dist/chunks/chunk.JMFMFEA2.js +126 -0
- package/dist/chunks/chunk.JVXDHKI4.js +1062 -0
- package/dist/chunks/chunk.KBWWZNHI.js +21 -0
- package/dist/chunks/chunk.KEADIIOS.js +11 -0
- package/dist/chunks/chunk.KGACLTYK.js +25 -0
- package/dist/chunks/chunk.KJRSOL2J.js +11 -0
- package/dist/chunks/chunk.KOG3XOSJ.js +154 -0
- package/dist/chunks/chunk.KOTGC4A5.js +194 -0
- package/dist/chunks/chunk.KQDM6MAV.js +24 -0
- package/dist/chunks/chunk.KTEDC3LM.js +126 -0
- package/dist/chunks/chunk.KTRIWPEE.js +26 -0
- package/dist/chunks/chunk.KX3IYY2Z.js +111 -0
- package/dist/chunks/chunk.KY34UXQ3.js +320 -0
- package/dist/chunks/chunk.L4473BKE.js +24 -0
- package/dist/chunks/chunk.LAYRYYR6.js +11 -0
- package/dist/chunks/chunk.LBW777P5.js +21 -0
- package/dist/chunks/chunk.LFP6CSQC.js +337 -0
- package/dist/chunks/chunk.LHVFVJGX.js +91 -0
- package/dist/chunks/chunk.LJ72CT3W.js +45 -0
- package/dist/chunks/chunk.LPEJNVY7.js +35 -0
- package/dist/chunks/chunk.LSJRQER4.js +29 -0
- package/dist/chunks/chunk.LVJQEVHA.js +24 -0
- package/dist/chunks/chunk.LVPIOUBJ.js +11 -0
- package/dist/chunks/chunk.LYIXMYH6.js +11 -0
- package/dist/chunks/chunk.M2EBHH6G.js +100 -0
- package/dist/chunks/chunk.MDZMA4LH.js +45 -0
- package/dist/chunks/chunk.MFJQY3HH.js +109 -0
- package/dist/chunks/chunk.MJL7SEXQ.js +24 -0
- package/dist/chunks/chunk.MS5WCGPD.js +11 -0
- package/dist/chunks/chunk.MXHQ7F23.js +11 -0
- package/dist/chunks/chunk.N47VWZXT.js +27 -0
- package/dist/chunks/chunk.NCVYKAZP.js +21 -0
- package/dist/chunks/chunk.NFFRPWMX.js +448 -0
- package/dist/chunks/chunk.NG7XXMLA.js +448 -0
- package/dist/chunks/chunk.NJYEDZXF.js +21 -0
- package/dist/chunks/chunk.NPNLAJ7K.js +21 -0
- package/dist/chunks/chunk.NQFXGRBB.js +24 -0
- package/dist/chunks/chunk.NQQBXB3M.js +11 -0
- package/dist/chunks/chunk.NWZ5U44C.js +21 -0
- package/dist/chunks/chunk.O2Q6K3DO.js +11 -0
- package/dist/chunks/chunk.O3Q5BDNM.js +25 -0
- package/dist/chunks/chunk.O6RITK2F.js +21 -0
- package/dist/chunks/chunk.OB7XRYCW.js +11 -0
- package/dist/chunks/chunk.OCNAF3HD.js +25 -0
- package/dist/chunks/chunk.ONCFQOV3.js +11 -0
- package/dist/chunks/chunk.OOXDGYS2.js +147 -0
- package/dist/chunks/chunk.OQ6FVCLJ.js +11 -0
- package/dist/chunks/chunk.PA5BWTRO.js +11 -0
- package/dist/chunks/chunk.PD3VO3ET.js +827 -0
- package/dist/chunks/chunk.PEVZOJIL.js +11 -0
- package/dist/chunks/chunk.PEZYQNK4.js +11 -0
- package/dist/chunks/chunk.PFGDAO4O.js +21 -0
- package/dist/chunks/chunk.PPYWOOYI.js +11 -0
- package/dist/chunks/chunk.PXOCEZMH.js +11 -0
- package/dist/chunks/chunk.QAKAC53P.js +844 -0
- package/dist/chunks/chunk.QF4LX2YN.js +11 -0
- package/dist/chunks/chunk.QHDM3CNW.js +11 -0
- package/dist/chunks/chunk.QNMCYR4Q.js +135 -0
- package/dist/chunks/chunk.QPO4SZUB.js +317 -0
- package/dist/chunks/chunk.QQ7BK3Z7.js +57 -0
- package/dist/chunks/chunk.QQOWBUNB.js +21 -0
- package/dist/chunks/chunk.QSXPROE6.js +22 -0
- package/dist/chunks/chunk.R2SOI75R.js +25 -0
- package/dist/chunks/chunk.RAAAM746.js +190 -0
- package/dist/chunks/chunk.RCSHXYTZ.js +293 -0
- package/dist/chunks/chunk.RIE2EOE2.js +11 -0
- package/dist/chunks/chunk.RNGCZFF2.js +384 -0
- package/dist/chunks/chunk.RRCF43LA.js +502 -0
- package/dist/chunks/chunk.RXD4NE3U.js +21 -0
- package/dist/chunks/chunk.RZNG3KGD.js +11 -0
- package/dist/chunks/chunk.RZY6V64L.js +11 -0
- package/dist/chunks/chunk.S3MVOYD5.js +24 -0
- package/dist/chunks/chunk.SWPFG6LB.js +26 -0
- package/dist/chunks/chunk.SZQQHPNS.js +11 -0
- package/dist/chunks/chunk.T3VL3T7Z.js +11 -0
- package/dist/chunks/chunk.TD7WHMNY.js +11 -0
- package/dist/chunks/chunk.TG2A6PR5.js +11 -0
- package/dist/chunks/chunk.TMXEOHUF.js +11 -0
- package/dist/chunks/chunk.TWBU3II5.js +86 -0
- package/dist/chunks/chunk.TXFRUYBO.js +174 -0
- package/dist/chunks/chunk.TZXT7OTJ.js +117 -0
- package/dist/chunks/chunk.UANPNKP3.js +227 -0
- package/dist/chunks/chunk.UBPMBH6W.js +21 -0
- package/dist/chunks/chunk.UCUIIZWB.js +11 -0
- package/dist/chunks/chunk.UEGCZTXQ.js +11 -0
- package/dist/chunks/chunk.UHT6BSRF.js +231 -0
- package/dist/chunks/chunk.UMZGOVQL.js +11 -0
- package/dist/chunks/chunk.UPD3Q5NN.js +11 -0
- package/dist/chunks/chunk.UQV4DS3U.js +73 -0
- package/dist/chunks/chunk.US4347Y4.js +11 -0
- package/dist/chunks/chunk.UTLBOZCY.js +11 -0
- package/dist/chunks/chunk.UV27JGAH.js +627 -0
- package/dist/chunks/chunk.UW5BQBCV.js +28 -0
- package/dist/chunks/chunk.UXXVWVEM.js +29 -0
- package/dist/chunks/chunk.UZSILUCD.js +24 -0
- package/dist/chunks/chunk.V7MQHW5C.js +11 -0
- package/dist/chunks/chunk.VAKU7NJI.js +25 -0
- package/dist/chunks/chunk.VEKSO5MX.js +52 -0
- package/dist/chunks/chunk.VOOY5TX3.js +11 -0
- package/dist/chunks/chunk.VSRO36PB.js +24 -0
- package/dist/chunks/chunk.VTXWC75K.js +541 -0
- package/dist/chunks/chunk.VVR7H2PI.js +11 -0
- package/dist/chunks/chunk.VXUZPBP5.js +914 -0
- package/dist/chunks/chunk.VYVN45LG.js +22 -0
- package/dist/chunks/chunk.W2VU3KEU.js +21 -0
- package/dist/chunks/chunk.W4E6AAQR.js +11 -0
- package/dist/chunks/chunk.WDTYJHKW.js +21 -0
- package/dist/chunks/chunk.WHZHCE5G.js +11 -0
- package/dist/chunks/chunk.WI77LQQG.js +11 -0
- package/dist/chunks/chunk.WQVWW4AV.js +24 -0
- package/dist/chunks/chunk.WUCIZ2FR.js +25 -0
- package/dist/chunks/chunk.WVR5W63R.js +241 -0
- package/dist/chunks/chunk.X4KNSGQI.js +21 -0
- package/dist/chunks/chunk.XEAYE4YB.js +87 -0
- package/dist/chunks/chunk.XFAGVPFD.js +31 -0
- package/dist/chunks/chunk.XJSREIQJ.js +11 -0
- package/dist/chunks/chunk.XKHPAXAA.js +27 -0
- package/dist/chunks/chunk.XW2OHUJS.js +11 -0
- package/dist/chunks/chunk.YBQQK5BC.js +25 -0
- package/dist/chunks/chunk.YCSHHN2S.js +21 -0
- package/dist/chunks/chunk.YD2H2PMA.js +28 -0
- package/dist/chunks/chunk.YF7QYEWJ.js +315 -0
- package/dist/chunks/chunk.YIDGSTM6.js +32 -0
- package/dist/chunks/chunk.YVQD7PRU.js +24 -0
- package/dist/chunks/chunk.YWF57HVV.js +1207 -0
- package/dist/chunks/chunk.YY7PLMWH.js +11 -0
- package/dist/chunks/chunk.YYASWS6L.js +86 -0
- package/dist/chunks/chunk.YYLCO2SK.js +134 -0
- package/dist/chunks/chunk.Z6MR47TP.js +67 -0
- package/dist/chunks/chunk.Z7YALPMH.js +11 -0
- package/dist/chunks/chunk.ZD7A5X6F.js +29 -0
- package/dist/chunks/chunk.ZFM37KIH.js +96 -0
- package/dist/chunks/chunk.ZKG5TMCH.js +21 -0
- package/dist/chunks/chunk.ZZ5S25NK.js +25 -0
- package/dist/components/alert/alert.component.js +5 -5
- package/dist/components/alert/alert.js +6 -6
- package/dist/components/animated-image/animated-image.component.js +4 -4
- package/dist/components/animated-image/animated-image.js +5 -5
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +4 -4
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +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 +13 -13
- package/dist/components/calendar/calendar.js +14 -14
- package/dist/components/calendar-picker/calendar-picker.component.js +9 -9
- package/dist/components/calendar-picker/calendar-picker.js +9 -9
- package/dist/components/calendar-picker/calendar-picker.styles.js +1 -1
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +4 -4
- package/dist/components/carousel/carousel.js +5 -5
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/cascader/cascader.component.js +7 -7
- package/dist/components/cascader/cascader.js +8 -8
- 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 +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/date-panel/date-panel.component.js +14 -14
- package/dist/components/date-panel/date-panel.js +14 -14
- package/dist/components/datepicker/datepicker.component.js +19 -19
- package/dist/components/datepicker/datepicker.js +19 -19
- package/dist/components/daterangepicker/daterangepicker.component.js +17 -17
- package/dist/components/daterangepicker/daterangepicker.js +18 -18
- package/dist/components/daterangepicker/daterangepicker.styles.js +1 -1
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/float-button/float-button.component.js +6 -6
- package/dist/components/float-button/float-button.js +7 -7
- package/dist/components/float-button-group/float-button-group.component.js +3 -3
- package/dist/components/float-button-group/float-button-group.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image/image.component.js +3 -3
- package/dist/components/image/image.js +3 -3
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/image-preview-group/image-preview-group.component.js +2 -2
- package/dist/components/image-preview-group/image-preview-group.js +2 -2
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +8 -8
- package/dist/components/menu-item/menu-item.js +9 -9
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +11 -11
- package/dist/components/nav/nav.js +12 -12
- 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 +5 -5
- package/dist/components/nav-submenu/nav-submenu.js +6 -6
- package/dist/components/notification/notification.component.js +5 -5
- package/dist/components/notification/notification.js +6 -6
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +11 -11
- package/dist/components/pagination/pagination.component.js +12 -12
- package/dist/components/pagination/pagination.js +12 -12
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/row/row.component.js +2 -2
- package/dist/components/row/row.js +3 -3
- package/dist/components/screen/screen.component.js +3 -3
- package/dist/components/screen/screen.js +4 -4
- package/dist/components/segmented/segmented.component.js +5 -5
- package/dist/components/segmented/segmented.js +6 -6
- package/dist/components/select/select.component.js +7 -7
- package/dist/components/select/select.js +8 -8
- package/dist/components/sender/sender.component.js +15 -15
- package/dist/components/sender/sender.js +16 -16
- package/dist/components/sender-header/sender-header.component.js +7 -7
- package/dist/components/sender-header/sender-header.js +8 -8
- package/dist/components/sender-switch/sender-switch.component.js +7 -7
- package/dist/components/sender-switch/sender-switch.js +8 -8
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/space/space.component.js +2 -2
- package/dist/components/space/space.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/steps/steps.component.js +3 -3
- package/dist/components/steps/steps.js +4 -4
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/footer-table.js +2 -2
- package/dist/components/table/head-table.js +23 -23
- 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 +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/think/think.component.js +4 -4
- package/dist/components/think/think.js +5 -5
- package/dist/components/thought-chain/thought-chain.component.js +2 -2
- package/dist/components/thought-chain/thought-chain.js +3 -3
- package/dist/components/thought-chain-item/thought-chain-item.component.js +4 -4
- package/dist/components/thought-chain-item/thought-chain-item.js +5 -5
- package/dist/components/thought-chain-node/thought-chain-node.component.js +4 -4
- package/dist/components/thought-chain-node/thought-chain-node.js +5 -5
- package/dist/components/time-panel/time-panel.component.js +7 -7
- package/dist/components/time-panel/time-panel.js +7 -7
- package/dist/components/timepicker/timepicker.component.js +19 -19
- package/dist/components/timepicker/timepicker.js +19 -19
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +11 -11
- package/dist/components/tree/tree.js +12 -12
- package/dist/components/tree-item/tree-item.component.js +8 -8
- package/dist/components/tree-item/tree-item.js +9 -9
- package/dist/components/tree-select/tree-select.component.js +15 -15
- package/dist/components/tree-select/tree-select.js +16 -16
- package/dist/components/upload/upload.component.js +12 -12
- package/dist/components/upload/upload.js +12 -12
- 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/x-markdown.component.js +2 -2
- package/dist/components/x-markdown/x-markdown.js +3 -3
- package/dist/custom-elements.json +16326 -16194
- package/dist/react/alert/index.js +6 -6
- package/dist/react/animated-image/index.js +5 -5
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +5 -5
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/calendar/index.js +14 -14
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/cascader/index.js +8 -8
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/col/index.js +3 -3
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +15 -15
- package/dist/react/datepicker/index.js +20 -20
- package/dist/react/daterangepicker/index.js +18 -18
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +6 -6
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/float-button/index.js +7 -7
- package/dist/react/float-button-group/index.js +4 -4
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/image-preview-group/index.js +3 -3
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +293 -293
- package/dist/react/input/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +9 -9
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +12 -12
- 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 +6 -6
- package/dist/react/notification/index.js +6 -6
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +13 -13
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/row/index.js +3 -3
- package/dist/react/screen/index.js +4 -4
- package/dist/react/segmented/index.js +6 -6
- package/dist/react/select/index.js +8 -8
- package/dist/react/sender/index.js +16 -16
- package/dist/react/sender-header/index.js +8 -8
- package/dist/react/sender-switch/index.js +8 -8
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/space/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/steps/index.js +4 -4
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +33 -33
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/think/index.js +5 -5
- package/dist/react/thought-chain/index.js +3 -3
- package/dist/react/thought-chain-item/index.js +5 -5
- package/dist/react/thought-chain-node/index.js +5 -5
- package/dist/react/timepicker/index.js +20 -20
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +12 -12
- package/dist/react/tree-item/index.js +9 -9
- package/dist/react/tree-select/index.js +16 -16
- package/dist/react/upload/index.js +13 -13
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/react/x-markdown/index.js +3 -3
- package/dist/shoelace.js +284 -284
- package/dist/themes/dark.css +1 -1
- package/dist/themes/dark.styles.js +1 -1
- package/dist/themes/nova_dark.css +1 -1
- package/dist/themes/nova_dark.styles.js +1 -1
- package/dist/types/vue/index.d.ts +1790 -1768
- package/dist/vscode.html-custom-data.json +1253 -1248
- package/dist/web-types.json +4091 -4081
- package/package.json +3 -2
- package/cdn/chunks/chunk.25AY3T2C.js +0 -299
- package/cdn/chunks/chunk.265M7RD6.js +0 -11
- package/cdn/chunks/chunk.2F3DNEKP.js +0 -11
- package/cdn/chunks/chunk.2FFGJYE4.js +0 -161
- package/cdn/chunks/chunk.2JHFH7H3.js +0 -11
- package/cdn/chunks/chunk.2JW2OESP.js +0 -58
- package/cdn/chunks/chunk.2KDU5JOH.js +0 -28
- package/cdn/chunks/chunk.2LFRN2KP.js +0 -11
- package/cdn/chunks/chunk.2LWOVENK.js +0 -60
- package/cdn/chunks/chunk.2O74COIF.js +0 -286
- package/cdn/chunks/chunk.2PF72G2C.js +0 -410
- package/cdn/chunks/chunk.2SJYPE6U.js +0 -25
- package/cdn/chunks/chunk.2SU6QBUU.js +0 -16
- package/cdn/chunks/chunk.2T5J6WBF.js +0 -40
- package/cdn/chunks/chunk.33GOOEK4.js +0 -162
- package/cdn/chunks/chunk.3472DQDJ.js +0 -110
- package/cdn/chunks/chunk.37PCVZCA.js +0 -281
- package/cdn/chunks/chunk.37VGW6ZS.js +0 -27
- package/cdn/chunks/chunk.3CMSB6GX.js +0 -7428
- package/cdn/chunks/chunk.3DDRSNCQ.js +0 -500
- package/cdn/chunks/chunk.3GLFN4NF.js +0 -133
- package/cdn/chunks/chunk.3IZ5JZ5A.js +0 -11
- package/cdn/chunks/chunk.3JHXVHMD.js +0 -152
- package/cdn/chunks/chunk.3JHZWFDO.js +0 -11
- package/cdn/chunks/chunk.3L2Y4OJH.js +0 -70
- package/cdn/chunks/chunk.3OL5YY5F.js +0 -11
- package/cdn/chunks/chunk.3PN4XOCW.js +0 -182
- package/cdn/chunks/chunk.3WD6EVO5.js +0 -331
- package/cdn/chunks/chunk.3XFVJ6X3.js +0 -77
- package/cdn/chunks/chunk.3ZG6RGJQ.js +0 -51
- package/cdn/chunks/chunk.44KOGF7S.js +0 -11
- package/cdn/chunks/chunk.45ZYGVK2.js +0 -21
- package/cdn/chunks/chunk.472X3EWB.js +0 -24
- package/cdn/chunks/chunk.4AL7XNLX.js +0 -21
- package/cdn/chunks/chunk.4BVO3I5L.js +0 -25
- package/cdn/chunks/chunk.4CHZU4WU.js +0 -320
- package/cdn/chunks/chunk.4JHNVBF4.js +0 -137
- package/cdn/chunks/chunk.4KT5C4KV.js +0 -142
- package/cdn/chunks/chunk.4LCXIKBB.js +0 -25
- package/cdn/chunks/chunk.4X7K7YCL.js +0 -123
- package/cdn/chunks/chunk.4YMCRERT.js +0 -81
- package/cdn/chunks/chunk.52JJGPQD.js +0 -26
- package/cdn/chunks/chunk.52M5GTBR.js +0 -158
- package/cdn/chunks/chunk.5FSTFYXG.js +0 -11
- package/cdn/chunks/chunk.5FZ7JTLR.js +0 -24
- package/cdn/chunks/chunk.5HCUOPK3.js +0 -341
- package/cdn/chunks/chunk.5HM35IRJ.js +0 -279
- package/cdn/chunks/chunk.5HPQHOHG.js +0 -43
- package/cdn/chunks/chunk.5I6JYWG4.js +0 -302
- package/cdn/chunks/chunk.5JKOX3QF.js +0 -120
- package/cdn/chunks/chunk.5KGS3U3S.js +0 -129
- package/cdn/chunks/chunk.5LGZBGLI.js +0 -724
- package/cdn/chunks/chunk.624RARJB.js +0 -11
- package/cdn/chunks/chunk.64UFNX4Q.js +0 -215
- package/cdn/chunks/chunk.66LWIC6M.js +0 -824
- package/cdn/chunks/chunk.6AQDO5CH.js +0 -113
- package/cdn/chunks/chunk.6GX7LAZ6.js +0 -61
- package/cdn/chunks/chunk.6OBRAARC.js +0 -11
- package/cdn/chunks/chunk.6OELK3RE.js +0 -11
- package/cdn/chunks/chunk.6PKXUEKS.js +0 -692
- package/cdn/chunks/chunk.6UKHXTZL.js +0 -197
- package/cdn/chunks/chunk.6WLJR42P.js +0 -292
- package/cdn/chunks/chunk.6Y4SSMVU.js +0 -11
- package/cdn/chunks/chunk.6ZOS7242.js +0 -25
- package/cdn/chunks/chunk.6ZU67Q5J.js +0 -11
- package/cdn/chunks/chunk.776VWUEO.js +0 -109
- package/cdn/chunks/chunk.7A7G5RIX.js +0 -132
- package/cdn/chunks/chunk.7F23U2JY.js +0 -24
- package/cdn/chunks/chunk.7HQZQ4F4.js +0 -95
- package/cdn/chunks/chunk.7IXI5RZE.js +0 -24
- package/cdn/chunks/chunk.7MMN6ANK.js +0 -11
- package/cdn/chunks/chunk.7O5MOE6L.js +0 -11
- package/cdn/chunks/chunk.7P2TASQR.js +0 -238
- package/cdn/chunks/chunk.7SJRFIU5.js +0 -14
- package/cdn/chunks/chunk.7XEDYLQA.js +0 -455
- package/cdn/chunks/chunk.7Z2GKZ7U.js +0 -284
- package/cdn/chunks/chunk.A6TRJPV5.js +0 -91
- package/cdn/chunks/chunk.A7YXFSAI.js +0 -244
- package/cdn/chunks/chunk.ALFGTHX7.js +0 -359
- package/cdn/chunks/chunk.AM6GLHAU.js +0 -177
- package/cdn/chunks/chunk.AOGZLBRZ.js +0 -21
- package/cdn/chunks/chunk.AZQKD73H.js +0 -54
- package/cdn/chunks/chunk.B4DXJNH2.js +0 -2632
- package/cdn/chunks/chunk.B73MLPYV.js +0 -782
- package/cdn/chunks/chunk.BB6OOWQ7.js +0 -24
- package/cdn/chunks/chunk.BDXLMCUW.js +0 -29
- package/cdn/chunks/chunk.BEQFW6XZ.js +0 -21
- package/cdn/chunks/chunk.BHHVFCWR.js +0 -11
- package/cdn/chunks/chunk.BKISHGRP.js +0 -11
- package/cdn/chunks/chunk.BL4LNXNP.js +0 -23
- package/cdn/chunks/chunk.BRSYXGIF.js +0 -31
- package/cdn/chunks/chunk.BSV73YK3.js +0 -231
- package/cdn/chunks/chunk.BTHYGHG3.js +0 -375
- package/cdn/chunks/chunk.BXUANFMJ.js +0 -86
- package/cdn/chunks/chunk.BYGIO244.js +0 -11
- package/cdn/chunks/chunk.BZT6GXXB.js +0 -74
- package/cdn/chunks/chunk.C3NDYXTJ.js +0 -186
- package/cdn/chunks/chunk.CE6RR5QZ.js +0 -27
- package/cdn/chunks/chunk.CHX7LPDG.js +0 -25
- package/cdn/chunks/chunk.CJ7OBW4Q.js +0 -36
- package/cdn/chunks/chunk.CJEFTJ2D.js +0 -433
- package/cdn/chunks/chunk.CKBO3FSO.js +0 -11
- package/cdn/chunks/chunk.CLGPTQGB.js +0 -11
- package/cdn/chunks/chunk.CMEU74KK.js +0 -21
- package/cdn/chunks/chunk.CONCVRCO.js +0 -28
- package/cdn/chunks/chunk.CPNW2NXB.js +0 -33
- package/cdn/chunks/chunk.CRCQAAMC.js +0 -92
- package/cdn/chunks/chunk.CRLF2VHG.js +0 -605
- package/cdn/chunks/chunk.CSR56J6P.js +0 -63
- package/cdn/chunks/chunk.CSTCJ2ZA.js +0 -540
- package/cdn/chunks/chunk.CTNCSWRU.js +0 -27
- package/cdn/chunks/chunk.CWQEP3R2.js +0 -11
- package/cdn/chunks/chunk.CZMUG2KN.js +0 -474
- package/cdn/chunks/chunk.D6PVIA6N.js +0 -11
- package/cdn/chunks/chunk.DBQPTJWT.js +0 -11
- package/cdn/chunks/chunk.DD37CCX2.js +0 -1071
- package/cdn/chunks/chunk.DEOXIMQA.js +0 -28
- package/cdn/chunks/chunk.DJO6X2QE.js +0 -215
- package/cdn/chunks/chunk.DPGOOXD7.js +0 -267
- package/cdn/chunks/chunk.DQ6LSVIW.js +0 -24
- package/cdn/chunks/chunk.DT2WPFWO.js +0 -42
- package/cdn/chunks/chunk.DTVMFOWE.js +0 -11
- package/cdn/chunks/chunk.DUKR6NL3.js +0 -219
- package/cdn/chunks/chunk.DXGZ3YJV.js +0 -11
- package/cdn/chunks/chunk.DZWQ7OMJ.js +0 -27
- package/cdn/chunks/chunk.E72DE4VW.js +0 -35
- package/cdn/chunks/chunk.EFGYIBVL.js +0 -31
- package/cdn/chunks/chunk.EG5DXJSS.js +0 -305
- package/cdn/chunks/chunk.EMRLMWRC.js +0 -247
- package/cdn/chunks/chunk.ENKOPHXO.js +0 -25
- package/cdn/chunks/chunk.EODAHJXO.js +0 -11
- package/cdn/chunks/chunk.EPTIPCYK.js +0 -14
- package/cdn/chunks/chunk.ERMGPFRR.js +0 -271
- package/cdn/chunks/chunk.ES4WSDHR.js +0 -11
- package/cdn/chunks/chunk.EXWUHZ75.js +0 -48
- package/cdn/chunks/chunk.F6MZ26Z2.js +0 -21
- package/cdn/chunks/chunk.FA6PXI7S.js +0 -543
- package/cdn/chunks/chunk.FHGBZARF.js +0 -11
- package/cdn/chunks/chunk.FHVAFNLY.js +0 -26
- package/cdn/chunks/chunk.FSI5NBGW.js +0 -25
- package/cdn/chunks/chunk.FUTZM4XU.js +0 -371
- package/cdn/chunks/chunk.FW2R4W7A.js +0 -23
- package/cdn/chunks/chunk.FXYNQXOM.js +0 -236
- package/cdn/chunks/chunk.FY5YJA4D.js +0 -125
- package/cdn/chunks/chunk.G4NIC2TN.js +0 -114
- package/cdn/chunks/chunk.G6ITOR5J.js +0 -346
- package/cdn/chunks/chunk.G6XHPXJQ.js +0 -11
- package/cdn/chunks/chunk.G755UHYQ.js +0 -27
- package/cdn/chunks/chunk.GBSEWAX5.js +0 -1514
- package/cdn/chunks/chunk.GDNO6ZBV.js +0 -236
- package/cdn/chunks/chunk.GEEADNIO.js +0 -179
- package/cdn/chunks/chunk.GIUIT5DJ.js +0 -29
- package/cdn/chunks/chunk.GQ3VDOTX.js +0 -79
- package/cdn/chunks/chunk.GRBIG474.js +0 -155
- package/cdn/chunks/chunk.GRGYWQPR.js +0 -21
- package/cdn/chunks/chunk.H2NDWKA6.js +0 -25
- package/cdn/chunks/chunk.H34HKNLL.js +0 -120
- package/cdn/chunks/chunk.H5SQ6U6L.js +0 -79
- package/cdn/chunks/chunk.HCBQV33H.js +0 -11
- package/cdn/chunks/chunk.HIHSRAIQ.js +0 -11
- package/cdn/chunks/chunk.HJVWY25J.js +0 -25
- package/cdn/chunks/chunk.HKXJFZT6.js +0 -85
- package/cdn/chunks/chunk.HMXVRVXU.js +0 -24
- package/cdn/chunks/chunk.HOCIL3VQ.js +0 -11
- package/cdn/chunks/chunk.HTSD2EAM.js +0 -21
- package/cdn/chunks/chunk.HUVQEDXH.js +0 -21
- package/cdn/chunks/chunk.HVSBBNU2.js +0 -76
- package/cdn/chunks/chunk.HXIV7JAE.js +0 -539
- package/cdn/chunks/chunk.HYNB4LFB.js +0 -21
- package/cdn/chunks/chunk.HYZ5J3NL.js +0 -24
- package/cdn/chunks/chunk.HZFD2UYT.js +0 -25
- package/cdn/chunks/chunk.I2E5KVNW.js +0 -11
- package/cdn/chunks/chunk.I6PH2OAC.js +0 -29
- package/cdn/chunks/chunk.ICJCFWK5.js +0 -21
- package/cdn/chunks/chunk.IFQFL2CU.js +0 -27
- package/cdn/chunks/chunk.IIPHZWRE.js +0 -42
- package/cdn/chunks/chunk.IPCTPYUI.js +0 -16
- package/cdn/chunks/chunk.IQVG6XSD.js +0 -87
- package/cdn/chunks/chunk.ITVEHX7R.js +0 -1897
- package/cdn/chunks/chunk.IU7E2HVH.js +0 -32
- package/cdn/chunks/chunk.IWOSGJAQ.js +0 -11
- package/cdn/chunks/chunk.IZ432ENS.js +0 -11
- package/cdn/chunks/chunk.JAXENOK4.js +0 -11
- package/cdn/chunks/chunk.JBDHZMVW.js +0 -53
- package/cdn/chunks/chunk.JDBAE4YV.js +0 -11
- package/cdn/chunks/chunk.JDCUTQNC.js +0 -173
- package/cdn/chunks/chunk.JDQ56ZBI.js +0 -383
- package/cdn/chunks/chunk.JF4EZ276.js +0 -197
- package/cdn/chunks/chunk.JFMRS7X2.js +0 -11
- package/cdn/chunks/chunk.JHJWUYTF.js +0 -11
- package/cdn/chunks/chunk.JJA5AGWV.js +0 -1213
- package/cdn/chunks/chunk.JJM6FQFW.js +0 -11
- package/cdn/chunks/chunk.JRBS3ASB.js +0 -98
- package/cdn/chunks/chunk.JRWBHO2Z.js +0 -110
- package/cdn/chunks/chunk.JSYTACNX.js +0 -11
- package/cdn/chunks/chunk.JUQYB3HO.js +0 -67
- package/cdn/chunks/chunk.JVCMYNSN.js +0 -11
- package/cdn/chunks/chunk.JY5J7BFJ.js +0 -11
- package/cdn/chunks/chunk.K6K4CAJF.js +0 -14
- package/cdn/chunks/chunk.KBLB5RTD.js +0 -255
- package/cdn/chunks/chunk.KEEPHZV5.js +0 -24
- package/cdn/chunks/chunk.KEGSYXHM.js +0 -67
- package/cdn/chunks/chunk.KMPOJCZC.js +0 -11
- package/cdn/chunks/chunk.KOSFX565.js +0 -21
- package/cdn/chunks/chunk.KRNH3YFE.js +0 -11
- package/cdn/chunks/chunk.KW4OXJS2.js +0 -186
- package/cdn/chunks/chunk.KZPHPOTS.js +0 -159
- package/cdn/chunks/chunk.LBOESSWS.js +0 -11
- package/cdn/chunks/chunk.LEQ2MXMN.js +0 -77
- package/cdn/chunks/chunk.LHTAA75I.js +0 -246
- package/cdn/chunks/chunk.LKVOPUSF.js +0 -11
- package/cdn/chunks/chunk.LOTJKEBL.js +0 -167
- package/cdn/chunks/chunk.LTE22HHW.js +0 -58
- package/cdn/chunks/chunk.LWCF42NJ.js +0 -101
- package/cdn/chunks/chunk.LWYXOLAH.js +0 -510
- package/cdn/chunks/chunk.LY3ETGIX.js +0 -93
- package/cdn/chunks/chunk.M3TC4AUB.js +0 -82
- package/cdn/chunks/chunk.M5MB4NET.js +0 -11
- package/cdn/chunks/chunk.MBG6QE66.js +0 -123
- package/cdn/chunks/chunk.MF3C73FK.js +0 -24
- package/cdn/chunks/chunk.MF4C6ZAA.js +0 -588
- package/cdn/chunks/chunk.MMHWSWQ3.js +0 -11
- package/cdn/chunks/chunk.MPBFXV5E.js +0 -28
- package/cdn/chunks/chunk.MPHOAZUB.js +0 -21
- package/cdn/chunks/chunk.MRPR2FFQ.js +0 -27
- package/cdn/chunks/chunk.MV3GXPPX.js +0 -68
- package/cdn/chunks/chunk.N7KRZ72X.js +0 -67
- package/cdn/chunks/chunk.NB6ISQMI.js +0 -29
- package/cdn/chunks/chunk.NBM6GQMY.js +0 -11
- package/cdn/chunks/chunk.NBWMMBCI.js +0 -218
- package/cdn/chunks/chunk.NCEQSEUX.js +0 -70
- package/cdn/chunks/chunk.NETTHUES.js +0 -28
- package/cdn/chunks/chunk.NFIIJ7LU.js +0 -11
- package/cdn/chunks/chunk.NG43MJW4.js +0 -26
- package/cdn/chunks/chunk.NW4I36ZW.js +0 -26
- package/cdn/chunks/chunk.NX5YWYHI.js +0 -21
- package/cdn/chunks/chunk.NYWEOG7K.js +0 -11
- package/cdn/chunks/chunk.O5XQLZ3V.js +0 -915
- package/cdn/chunks/chunk.OBNBF2PH.js +0 -26
- package/cdn/chunks/chunk.ODFGIDL4.js +0 -11
- package/cdn/chunks/chunk.OEVNWOJN.js +0 -21
- package/cdn/chunks/chunk.OH42NCBM.js +0 -11
- package/cdn/chunks/chunk.OIX32IGK.js +0 -419
- package/cdn/chunks/chunk.OJNVKD3J.js +0 -11
- package/cdn/chunks/chunk.OJVEGSQB.js +0 -130
- package/cdn/chunks/chunk.OJXBTTLD.js +0 -19
- package/cdn/chunks/chunk.OM33QOGI.js +0 -11
- package/cdn/chunks/chunk.OOBXN2HS.js +0 -77
- package/cdn/chunks/chunk.ORQZYIDH.js +0 -243
- package/cdn/chunks/chunk.OSVITGCP.js +0 -122
- package/cdn/chunks/chunk.OVNPI46I.js +0 -126
- package/cdn/chunks/chunk.OXMSTT6I.js +0 -29
- package/cdn/chunks/chunk.OYS5KBYZ.js +0 -291
- package/cdn/chunks/chunk.OZYHPVHE.js +0 -21
- package/cdn/chunks/chunk.P4NRTQFL.js +0 -586
- package/cdn/chunks/chunk.PAAPNCMD.js +0 -329
- package/cdn/chunks/chunk.PKDJCEN7.js +0 -233
- package/cdn/chunks/chunk.PNUIZLCW.js +0 -201
- package/cdn/chunks/chunk.PS34EHJJ.js +0 -42
- package/cdn/chunks/chunk.PUIPZEVN.js +0 -11
- package/cdn/chunks/chunk.PUUN4HZ3.js +0 -216
- package/cdn/chunks/chunk.PYAAWKTU.js +0 -19
- package/cdn/chunks/chunk.PYMSBUJH.js +0 -135
- package/cdn/chunks/chunk.PYTQD75H.js +0 -11
- package/cdn/chunks/chunk.PZ27563L.js +0 -192
- package/cdn/chunks/chunk.Q4OTMR2D.js +0 -11
- package/cdn/chunks/chunk.Q5YEDZNZ.js +0 -1932
- package/cdn/chunks/chunk.Q6ULC3L3.js +0 -26
- package/cdn/chunks/chunk.Q7WJKKT5.js +0 -27
- package/cdn/chunks/chunk.QAXOLKEN.js +0 -118
- package/cdn/chunks/chunk.QDT3Y2RE.js +0 -11
- package/cdn/chunks/chunk.QIAULMOU.js +0 -24
- package/cdn/chunks/chunk.QRDAA6U6.js +0 -28
- package/cdn/chunks/chunk.QSIXBXW5.js +0 -21
- package/cdn/chunks/chunk.QUNTG6JU.js +0 -29
- package/cdn/chunks/chunk.QUQH2EBA.js +0 -276
- package/cdn/chunks/chunk.QVM57OUL.js +0 -11
- package/cdn/chunks/chunk.QXKKFNIJ.js +0 -24
- package/cdn/chunks/chunk.QYFPUOJ3.js +0 -154
- package/cdn/chunks/chunk.R5IAUO4U.js +0 -14
- package/cdn/chunks/chunk.R5ZZUKPC.js +0 -21
- package/cdn/chunks/chunk.RA64MOUD.js +0 -57
- package/cdn/chunks/chunk.RB724R7V.js +0 -11
- package/cdn/chunks/chunk.REULNBL3.js +0 -11
- package/cdn/chunks/chunk.RG7M7S3P.js +0 -199
- package/cdn/chunks/chunk.RIWKAZZP.js +0 -11
- package/cdn/chunks/chunk.RJGKQO6N.js +0 -21
- package/cdn/chunks/chunk.RNFWKQUR.js +0 -691
- package/cdn/chunks/chunk.ROI4ZSYU.js +0 -78
- package/cdn/chunks/chunk.ROVSWKCO.js +0 -11
- package/cdn/chunks/chunk.RR6EY35V.js +0 -21
- package/cdn/chunks/chunk.RS2LG3LL.js +0 -11
- package/cdn/chunks/chunk.RTYYF4WV.js +0 -21
- package/cdn/chunks/chunk.S2ZJRNBE.js +0 -193
- package/cdn/chunks/chunk.S63JY4X7.js +0 -21
- package/cdn/chunks/chunk.SGWIMVG4.js +0 -42
- package/cdn/chunks/chunk.SJDZI7U6.js +0 -127
- package/cdn/chunks/chunk.SLBLM524.js +0 -330
- package/cdn/chunks/chunk.SODSQCS3.js +0 -21
- package/cdn/chunks/chunk.SUCTJPH2.js +0 -29
- package/cdn/chunks/chunk.TAAPPBFK.js +0 -78
- package/cdn/chunks/chunk.TDEXDIPB.js +0 -111
- package/cdn/chunks/chunk.TGEJGNDY.js +0 -25
- package/cdn/chunks/chunk.TJ2BDO2Q.js +0 -49
- package/cdn/chunks/chunk.TMAWJW3P.js +0 -73
- package/cdn/chunks/chunk.TMYBVWCY.js +0 -67
- package/cdn/chunks/chunk.TNQRIWXJ.js +0 -51
- package/cdn/chunks/chunk.TQ2YRWLY.js +0 -11
- package/cdn/chunks/chunk.TQLGBGFP.js +0 -21
- package/cdn/chunks/chunk.TSUDWCBV.js +0 -193
- package/cdn/chunks/chunk.TWOCTPT4.js +0 -71
- package/cdn/chunks/chunk.TWXOSBDH.js +0 -11
- package/cdn/chunks/chunk.TX4WLLZZ.js +0 -29
- package/cdn/chunks/chunk.TXZNJQ4S.js +0 -11
- package/cdn/chunks/chunk.UBINZ4B5.js +0 -177
- package/cdn/chunks/chunk.UFLAA3UW.js +0 -97
- package/cdn/chunks/chunk.UGH4ZCOQ.js +0 -835
- package/cdn/chunks/chunk.UKJ7YOTL.js +0 -103
- package/cdn/chunks/chunk.UO66C4WQ.js +0 -34
- package/cdn/chunks/chunk.UP75L23G.js +0 -34
- package/cdn/chunks/chunk.UQ7PT5PF.js +0 -11
- package/cdn/chunks/chunk.UUSL52C6.js +0 -26
- package/cdn/chunks/chunk.V6EQZKEI.js +0 -128
- package/cdn/chunks/chunk.V7AQHWXZ.js +0 -153
- package/cdn/chunks/chunk.VASGIW4T.js +0 -22
- package/cdn/chunks/chunk.VB6AE6JI.js +0 -163
- package/cdn/chunks/chunk.VBUS5JEO.js +0 -21
- package/cdn/chunks/chunk.VFCVXKKH.js +0 -24
- package/cdn/chunks/chunk.VG4YSKGP.js +0 -11
- package/cdn/chunks/chunk.VG6DANQQ.js +0 -25
- package/cdn/chunks/chunk.VK7KEYIH.js +0 -2982
- package/cdn/chunks/chunk.VKO6US6U.js +0 -371
- package/cdn/chunks/chunk.VMREKEAN.js +0 -357
- package/cdn/chunks/chunk.VOQLGX6E.js +0 -30
- package/cdn/chunks/chunk.VT5GU4PO.js +0 -59
- package/cdn/chunks/chunk.VVCIINQW.js +0 -5845
- package/cdn/chunks/chunk.W7SM2YVJ.js +0 -472
- package/cdn/chunks/chunk.WB6TOBWU.js +0 -50
- package/cdn/chunks/chunk.WEGQ4YPF.js +0 -11
- package/cdn/chunks/chunk.WF7NDNWN.js +0 -11
- package/cdn/chunks/chunk.WMO7OIUB.js +0 -11
- package/cdn/chunks/chunk.WOHHOS7H.js +0 -11
- package/cdn/chunks/chunk.WSH5IXQ4.js +0 -24
- package/cdn/chunks/chunk.WT3WQIEX.js +0 -92
- package/cdn/chunks/chunk.WT5BNBAS.js +0 -24
- package/cdn/chunks/chunk.WTEJCXVF.js +0 -354
- package/cdn/chunks/chunk.WUNVJOEQ.js +0 -21
- package/cdn/chunks/chunk.WW47EPJM.js +0 -454
- package/cdn/chunks/chunk.WWAA2O3A.js +0 -75
- package/cdn/chunks/chunk.WXSRK6OP.js +0 -24
- package/cdn/chunks/chunk.WYSOHSVO.js +0 -24
- package/cdn/chunks/chunk.X5OLJDO2.js +0 -11
- package/cdn/chunks/chunk.X6GFITEB.js +0 -27
- package/cdn/chunks/chunk.XAAVDD7B.js +0 -24
- package/cdn/chunks/chunk.XANFVXGC.js +0 -49
- package/cdn/chunks/chunk.XB6JEHTC.js +0 -16
- package/cdn/chunks/chunk.XCK4ALJ3.js +0 -21
- package/cdn/chunks/chunk.XF5ZKEBA.js +0 -391
- package/cdn/chunks/chunk.XH2TR6UF.js +0 -23
- package/cdn/chunks/chunk.XI6QXTO7.js +0 -21
- package/cdn/chunks/chunk.XNIY44WP.js +0 -236
- package/cdn/chunks/chunk.XVS7BFTA.js +0 -1268
- package/cdn/chunks/chunk.XWGAHC4O.js +0 -1990
- package/cdn/chunks/chunk.XYJF3HCI.js +0 -402
- package/cdn/chunks/chunk.XYPOICQT.js +0 -14
- package/cdn/chunks/chunk.XZHILGEM.js +0 -63
- package/cdn/chunks/chunk.Y53FAIP6.js +0 -21
- package/cdn/chunks/chunk.Y66TIMUL.js +0 -333
- package/cdn/chunks/chunk.Y6YGVIBX.js +0 -346
- package/cdn/chunks/chunk.YA6XZYWF.js +0 -75
- package/cdn/chunks/chunk.YDQYFGZI.js +0 -28
- package/cdn/chunks/chunk.YHCD3DEM.js +0 -979
- package/cdn/chunks/chunk.YIM2BUEB.js +0 -269
- package/cdn/chunks/chunk.YOTB4AJP.js +0 -336
- package/cdn/chunks/chunk.YOVO5FAJ.js +0 -93
- package/cdn/chunks/chunk.YQ5NYQSK.js +0 -923
- package/cdn/chunks/chunk.YVYRG655.js +0 -634
- package/cdn/chunks/chunk.YWZGNSI7.js +0 -25
- package/cdn/chunks/chunk.YZBBMET2.js +0 -24
- package/cdn/chunks/chunk.Z3DKGVF5.js +0 -11
- package/cdn/chunks/chunk.Z47AQQBQ.js +0 -37
- package/cdn/chunks/chunk.Z7AIQ7XI.js +0 -11
- package/cdn/chunks/chunk.ZAHJPRHJ.js +0 -11
- package/cdn/chunks/chunk.ZEWXQOZG.js +0 -186
- package/cdn/chunks/chunk.ZFIZQ2RD.js +0 -21
- package/cdn/chunks/chunk.ZLIEWHRM.js +0 -29
- package/cdn/chunks/chunk.ZLKEMKLZ.js +0 -47
- package/cdn/chunks/chunk.ZOLAPKRJ.js +0 -24
- package/cdn/chunks/chunk.ZPYE7SLF.js +0 -24
- package/cdn/chunks/chunk.ZQFDCI5Q.js +0 -11
- package/cdn/chunks/chunk.ZQIAG45S.js +0 -11
- package/cdn/chunks/chunk.ZTS44GZL.js +0 -21
- package/cdn/chunks/chunk.ZUCL5PCP.js +0 -11
- package/cdn/chunks/chunk.ZVHDNXH5.js +0 -92
- package/cdn/chunks/chunk.ZVVJUYRQ.js +0 -11
- package/cdn/chunks/chunk.ZZ3WG2NZ.js +0 -21
- package/dist/chunks/chunk.2GAZP5KP.js +0 -11
- package/dist/chunks/chunk.2Q6HZL2Z.js +0 -11
- package/dist/chunks/chunk.2QDIR57T.js +0 -21
- package/dist/chunks/chunk.2SI2QW2W.js +0 -194
- package/dist/chunks/chunk.2UBBMBBU.js +0 -29
- package/dist/chunks/chunk.2VC3HBI6.js +0 -11
- package/dist/chunks/chunk.334PPUJQ.js +0 -384
- package/dist/chunks/chunk.35L62SNE.js +0 -29
- package/dist/chunks/chunk.3AIZYEQC.js +0 -11
- package/dist/chunks/chunk.3CYSP5K3.js +0 -25
- package/dist/chunks/chunk.3EBKO36U.js +0 -158
- package/dist/chunks/chunk.3G5ZPCUB.js +0 -11
- package/dist/chunks/chunk.3IDDHB5B.js +0 -247
- package/dist/chunks/chunk.3ILJWH7R.js +0 -11
- package/dist/chunks/chunk.3UHFRUAQ.js +0 -25
- package/dist/chunks/chunk.437ISJ4L.js +0 -11
- package/dist/chunks/chunk.46EW25FY.js +0 -11
- package/dist/chunks/chunk.4FPXHTP4.js +0 -537
- package/dist/chunks/chunk.4JDPLWPX.js +0 -397
- package/dist/chunks/chunk.4K3UTAEI.js +0 -11
- package/dist/chunks/chunk.4P2FR7WE.js +0 -11
- package/dist/chunks/chunk.4QQS5DGK.js +0 -598
- package/dist/chunks/chunk.4TRLQ34T.js +0 -25
- package/dist/chunks/chunk.4VFT5OMS.js +0 -11
- package/dist/chunks/chunk.4YYNGCRM.js +0 -286
- package/dist/chunks/chunk.4ZE2UPAR.js +0 -11
- package/dist/chunks/chunk.53AEAVKY.js +0 -11
- package/dist/chunks/chunk.54EVESBH.js +0 -28
- package/dist/chunks/chunk.5DZEOIQY.js +0 -24
- package/dist/chunks/chunk.5IVQ5CEZ.js +0 -11
- package/dist/chunks/chunk.5OI4URCM.js +0 -29
- package/dist/chunks/chunk.5XBBQQG4.js +0 -27
- package/dist/chunks/chunk.5ZMDR36D.js +0 -213
- package/dist/chunks/chunk.5ZRQVTWK.js +0 -11
- package/dist/chunks/chunk.6BYZDRLW.js +0 -11
- package/dist/chunks/chunk.6RBHE2AW.js +0 -21
- package/dist/chunks/chunk.6RC6ZJG3.js +0 -494
- package/dist/chunks/chunk.6U22OLLM.js +0 -11
- package/dist/chunks/chunk.6VUMVZZ4.js +0 -190
- package/dist/chunks/chunk.6WEIFOIQ.js +0 -27
- package/dist/chunks/chunk.6XTPYDU2.js +0 -31
- package/dist/chunks/chunk.6Z7LNA3V.js +0 -26
- package/dist/chunks/chunk.7BKTCZAZ.js +0 -280
- package/dist/chunks/chunk.7CXMIU6O.js +0 -24
- package/dist/chunks/chunk.7DBDNICG.js +0 -21
- package/dist/chunks/chunk.7ZQ7GLIE.js +0 -24
- package/dist/chunks/chunk.A24SHL7G.js +0 -67
- package/dist/chunks/chunk.A4WB5GBP.js +0 -937
- package/dist/chunks/chunk.AARIRO6O.js +0 -34
- package/dist/chunks/chunk.AC5ZKQY6.js +0 -25
- package/dist/chunks/chunk.AEX5RJ7N.js +0 -24
- package/dist/chunks/chunk.AFOERDSL.js +0 -29
- package/dist/chunks/chunk.AH5HT644.js +0 -681
- package/dist/chunks/chunk.AJOY3TUX.js +0 -21
- package/dist/chunks/chunk.AVUBSLIP.js +0 -11
- package/dist/chunks/chunk.AYAQGAH6.js +0 -11
- package/dist/chunks/chunk.AYIPBI4B.js +0 -11
- package/dist/chunks/chunk.BAEDAOG5.js +0 -11
- package/dist/chunks/chunk.BDR3NAFC.js +0 -21
- package/dist/chunks/chunk.BHAIU5HV.js +0 -21
- package/dist/chunks/chunk.BO5SPQIE.js +0 -11
- package/dist/chunks/chunk.BOOKRJGY.js +0 -214
- package/dist/chunks/chunk.BOW3DWBX.js +0 -11
- package/dist/chunks/chunk.BQGQ74ZN.js +0 -21
- package/dist/chunks/chunk.BSK4ZAW6.js +0 -27
- package/dist/chunks/chunk.C2JMDFEK.js +0 -32
- package/dist/chunks/chunk.CBCDB6BH.js +0 -28
- package/dist/chunks/chunk.CFJMI256.js +0 -11
- package/dist/chunks/chunk.CLJNWZX3.js +0 -28
- package/dist/chunks/chunk.CNG5K5LW.js +0 -320
- package/dist/chunks/chunk.CPGWPZAM.js +0 -21
- package/dist/chunks/chunk.CRKIYX6C.js +0 -24
- package/dist/chunks/chunk.CVETOS2K.js +0 -52
- package/dist/chunks/chunk.CYF2RRUR.js +0 -21
- package/dist/chunks/chunk.CZ4RP2EL.js +0 -25
- package/dist/chunks/chunk.D3QFMJJT.js +0 -11
- package/dist/chunks/chunk.DBRSLVQ2.js +0 -11
- package/dist/chunks/chunk.DDWHVBTT.js +0 -21
- package/dist/chunks/chunk.DEIJOSJ2.js +0 -11
- package/dist/chunks/chunk.DL7IFAZQ.js +0 -24
- package/dist/chunks/chunk.DLQWDAZ3.js +0 -11
- package/dist/chunks/chunk.DQJ2S62Y.js +0 -11
- package/dist/chunks/chunk.DR5HBP4O.js +0 -11
- package/dist/chunks/chunk.DS4HLV5B.js +0 -21
- package/dist/chunks/chunk.DS5AZX3S.js +0 -59
- package/dist/chunks/chunk.DUUQX5JW.js +0 -24
- package/dist/chunks/chunk.DVNE6C2G.js +0 -26
- package/dist/chunks/chunk.E2ODCB45.js +0 -11
- package/dist/chunks/chunk.E3VOKZAR.js +0 -57
- package/dist/chunks/chunk.E5TWXKDW.js +0 -11
- package/dist/chunks/chunk.EBINZTQT.js +0 -73
- package/dist/chunks/chunk.ECZFW26Q.js +0 -315
- package/dist/chunks/chunk.ED4B67XM.js +0 -21
- package/dist/chunks/chunk.ET57SYXK.js +0 -21
- package/dist/chunks/chunk.EUUG4BBT.js +0 -11
- package/dist/chunks/chunk.EWE25QW2.js +0 -85
- package/dist/chunks/chunk.EWKBC64A.js +0 -50
- package/dist/chunks/chunk.EYKRFAAL.js +0 -231
- package/dist/chunks/chunk.EZK54FDP.js +0 -28
- package/dist/chunks/chunk.F23DQP27.js +0 -27
- package/dist/chunks/chunk.F2RQXAMN.js +0 -24
- package/dist/chunks/chunk.FFFAWAJV.js +0 -191
- package/dist/chunks/chunk.FIESAO6T.js +0 -113
- package/dist/chunks/chunk.FJWL5NNN.js +0 -148
- package/dist/chunks/chunk.FNIWTLXY.js +0 -11
- package/dist/chunks/chunk.FNLNVBYV.js +0 -365
- package/dist/chunks/chunk.FO2G6WZC.js +0 -28
- package/dist/chunks/chunk.FOPADEUW.js +0 -11
- package/dist/chunks/chunk.FREX2DZG.js +0 -11
- package/dist/chunks/chunk.FTLS6JEB.js +0 -322
- package/dist/chunks/chunk.GDKVZBGY.js +0 -293
- package/dist/chunks/chunk.GHQ7LZI4.js +0 -22
- package/dist/chunks/chunk.GLC2GOJP.js +0 -86
- package/dist/chunks/chunk.GMBANYFR.js +0 -21
- package/dist/chunks/chunk.GMISRBBN.js +0 -125
- package/dist/chunks/chunk.GMWYNHCZ.js +0 -424
- package/dist/chunks/chunk.GNN2YMLF.js +0 -416
- package/dist/chunks/chunk.GNQIXGDK.js +0 -11
- package/dist/chunks/chunk.GOM5RE4F.js +0 -21
- package/dist/chunks/chunk.GQ3I2DRF.js +0 -914
- package/dist/chunks/chunk.GUYKEBV5.js +0 -21
- package/dist/chunks/chunk.GZ6J2SK4.js +0 -11
- package/dist/chunks/chunk.H25ILIB5.js +0 -448
- package/dist/chunks/chunk.H3X4HIMC.js +0 -25
- package/dist/chunks/chunk.HBVRX56U.js +0 -375
- package/dist/chunks/chunk.HDY2LT5B.js +0 -324
- package/dist/chunks/chunk.HF2V2AAV.js +0 -29
- package/dist/chunks/chunk.HFZJUPCF.js +0 -22
- package/dist/chunks/chunk.HG3Q5MLW.js +0 -25
- package/dist/chunks/chunk.HHJC7SBM.js +0 -1888
- package/dist/chunks/chunk.HJUHTLGM.js +0 -11
- package/dist/chunks/chunk.HOFHUTVL.js +0 -147
- package/dist/chunks/chunk.HQ6G6NU4.js +0 -25
- package/dist/chunks/chunk.HT4ZRDDY.js +0 -26
- package/dist/chunks/chunk.HY7VLZOR.js +0 -11
- package/dist/chunks/chunk.HYBGUDRE.js +0 -231
- package/dist/chunks/chunk.I3J6H5SR.js +0 -26
- package/dist/chunks/chunk.I4IN26AL.js +0 -11
- package/dist/chunks/chunk.I4P3YPVU.js +0 -11
- package/dist/chunks/chunk.I6BRBYE6.js +0 -11
- package/dist/chunks/chunk.I72QB2R3.js +0 -11
- package/dist/chunks/chunk.IAVBALDB.js +0 -11
- package/dist/chunks/chunk.IEYWJQ7M.js +0 -90
- package/dist/chunks/chunk.IKGQ6IPX.js +0 -93
- package/dist/chunks/chunk.IRRJPQTP.js +0 -11
- package/dist/chunks/chunk.J5RICP5L.js +0 -771
- package/dist/chunks/chunk.J7GWXIDW.js +0 -11
- package/dist/chunks/chunk.JAEJZMYD.js +0 -11
- package/dist/chunks/chunk.JCEDRZDT.js +0 -11
- package/dist/chunks/chunk.JIMC2FLV.js +0 -27
- package/dist/chunks/chunk.JKW5QUF4.js +0 -11
- package/dist/chunks/chunk.JMRLZJX4.js +0 -448
- package/dist/chunks/chunk.JROVVA7L.js +0 -96
- package/dist/chunks/chunk.JU7TGZE2.js +0 -25
- package/dist/chunks/chunk.JUYRWQEM.js +0 -21
- package/dist/chunks/chunk.JXPJCRRS.js +0 -24
- package/dist/chunks/chunk.K3A4R42A.js +0 -466
- package/dist/chunks/chunk.K3PY3QWU.js +0 -337
- package/dist/chunks/chunk.K4J5ZR3H.js +0 -21
- package/dist/chunks/chunk.K62ATABB.js +0 -212
- package/dist/chunks/chunk.KB4AKVKP.js +0 -911
- package/dist/chunks/chunk.KHTGTDR7.js +0 -11
- package/dist/chunks/chunk.KK3I35PH.js +0 -11
- package/dist/chunks/chunk.KN4FV4CN.js +0 -294
- package/dist/chunks/chunk.KQASDB5S.js +0 -26
- package/dist/chunks/chunk.KTL26VQF.js +0 -45
- package/dist/chunks/chunk.KUPLQTCI.js +0 -126
- package/dist/chunks/chunk.KUPRLXKF.js +0 -24
- package/dist/chunks/chunk.KVCUZESG.js +0 -11
- package/dist/chunks/chunk.KVLA6MJP.js +0 -24
- package/dist/chunks/chunk.KX3AWJGD.js +0 -75
- package/dist/chunks/chunk.L2UMF4LX.js +0 -521
- package/dist/chunks/chunk.L3P6XDZR.js +0 -11
- package/dist/chunks/chunk.LCJJS33B.js +0 -109
- package/dist/chunks/chunk.LKE45CFU.js +0 -11
- package/dist/chunks/chunk.LLBREKZJ.js +0 -42
- package/dist/chunks/chunk.LMRNVRTA.js +0 -11
- package/dist/chunks/chunk.LPC7BEEV.js +0 -24
- package/dist/chunks/chunk.LQAYM5UF.js +0 -11
- package/dist/chunks/chunk.MKVYLJFQ.js +0 -91
- package/dist/chunks/chunk.MP3W2RRC.js +0 -11
- package/dist/chunks/chunk.MZ5NIS2C.js +0 -24
- package/dist/chunks/chunk.NFX7JLPC.js +0 -11
- package/dist/chunks/chunk.NFYQ6VKM.js +0 -27
- package/dist/chunks/chunk.NPGVJ6M4.js +0 -335
- package/dist/chunks/chunk.NTOE62GR.js +0 -21
- package/dist/chunks/chunk.NUGH5SM7.js +0 -1207
- package/dist/chunks/chunk.NUZWUSIN.js +0 -174
- package/dist/chunks/chunk.NXRHXGRX.js +0 -274
- package/dist/chunks/chunk.OACU5Y45.js +0 -11
- package/dist/chunks/chunk.OAUD5IJS.js +0 -28
- package/dist/chunks/chunk.OBA3HCZM.js +0 -135
- package/dist/chunks/chunk.ODW6NXZY.js +0 -116
- package/dist/chunks/chunk.OI7UIFBG.js +0 -827
- package/dist/chunks/chunk.OQUI3WJM.js +0 -11
- package/dist/chunks/chunk.OSDDNAEY.js +0 -582
- package/dist/chunks/chunk.OUQAJYXD.js +0 -1062
- package/dist/chunks/chunk.OZ7SJI5K.js +0 -181
- package/dist/chunks/chunk.PAHLAYIL.js +0 -11
- package/dist/chunks/chunk.PCXK4CJ6.js +0 -117
- package/dist/chunks/chunk.PFWFLEUH.js +0 -87
- package/dist/chunks/chunk.PFYJ2AUW.js +0 -11
- package/dist/chunks/chunk.PGZZ5DYN.js +0 -126
- package/dist/chunks/chunk.PNKR4LPV.js +0 -11
- package/dist/chunks/chunk.PQ4PH4OY.js +0 -167
- package/dist/chunks/chunk.PRTC5BSH.js +0 -21
- package/dist/chunks/chunk.PTLH5SSG.js +0 -11
- package/dist/chunks/chunk.PUBXHU4C.js +0 -29
- package/dist/chunks/chunk.PYF5CRIQ.js +0 -21
- package/dist/chunks/chunk.PZU7JLOP.js +0 -21
- package/dist/chunks/chunk.Q7GSXZQC.js +0 -154
- package/dist/chunks/chunk.QI5WBECN.js +0 -24
- package/dist/chunks/chunk.QIC3NUZU.js +0 -11
- package/dist/chunks/chunk.QNMNO6HU.js +0 -180
- package/dist/chunks/chunk.QSRDKZOY.js +0 -317
- package/dist/chunks/chunk.QU4KUNBZ.js +0 -63
- package/dist/chunks/chunk.QWVXQ7BC.js +0 -11
- package/dist/chunks/chunk.QXFYMGOI.js +0 -29
- package/dist/chunks/chunk.R2CQIIT7.js +0 -11
- package/dist/chunks/chunk.R4UJU4AR.js +0 -21
- package/dist/chunks/chunk.R5CWYDWE.js +0 -21
- package/dist/chunks/chunk.R7H4HRTR.js +0 -11
- package/dist/chunks/chunk.RK72Q2OF.js +0 -24
- package/dist/chunks/chunk.ROEIPQSG.js +0 -171
- package/dist/chunks/chunk.RQQSQWPD.js +0 -21
- package/dist/chunks/chunk.RQVW2XYM.js +0 -119
- package/dist/chunks/chunk.RS3OOEPP.js +0 -209
- package/dist/chunks/chunk.S4DRT76L.js +0 -75
- package/dist/chunks/chunk.S7TCWWHZ.js +0 -100
- package/dist/chunks/chunk.SC2NREHQ.js +0 -21
- package/dist/chunks/chunk.SDLATFGJ.js +0 -11
- package/dist/chunks/chunk.SFGFB2PZ.js +0 -100
- package/dist/chunks/chunk.SPCAMCEX.js +0 -33
- package/dist/chunks/chunk.SUUEL4JA.js +0 -80
- package/dist/chunks/chunk.SX22NE4O.js +0 -11
- package/dist/chunks/chunk.SYWKMWL2.js +0 -11
- package/dist/chunks/chunk.SZ3FV7M6.js +0 -11
- package/dist/chunks/chunk.T3IPXK6B.js +0 -35
- package/dist/chunks/chunk.T47NZ5K2.js +0 -24
- package/dist/chunks/chunk.T4ZRNFG5.js +0 -86
- package/dist/chunks/chunk.T6KYR7RO.js +0 -111
- package/dist/chunks/chunk.TLZKVAO2.js +0 -11
- package/dist/chunks/chunk.U2YA4FVN.js +0 -11
- package/dist/chunks/chunk.U3GVBGML.js +0 -11
- package/dist/chunks/chunk.UIAGUD4N.js +0 -26
- package/dist/chunks/chunk.UMHU7PFL.js +0 -24
- package/dist/chunks/chunk.UN2CUHFC.js +0 -192
- package/dist/chunks/chunk.UZF3DKGJ.js +0 -21
- package/dist/chunks/chunk.VE43IXIY.js +0 -25
- package/dist/chunks/chunk.VHA3VE4H.js +0 -27
- package/dist/chunks/chunk.VQONJSPR.js +0 -11
- package/dist/chunks/chunk.WABS3QLI.js +0 -627
- package/dist/chunks/chunk.WB7WTHG2.js +0 -11
- package/dist/chunks/chunk.WMEX6POO.js +0 -21
- package/dist/chunks/chunk.WMPB3CCT.js +0 -134
- package/dist/chunks/chunk.WODKU2XW.js +0 -21
- package/dist/chunks/chunk.WRP7L7IZ.js +0 -11
- package/dist/chunks/chunk.XAND5TQC.js +0 -550
- package/dist/chunks/chunk.XDJKW3K3.js +0 -11
- package/dist/chunks/chunk.XEKXHZSY.js +0 -21
- package/dist/chunks/chunk.XG7FP4JX.js +0 -29
- package/dist/chunks/chunk.XHK2ZVW3.js +0 -11
- package/dist/chunks/chunk.XI5SHNMS.js +0 -11
- package/dist/chunks/chunk.XPRRTNPY.js +0 -502
- package/dist/chunks/chunk.XWRZN2AX.js +0 -348
- package/dist/chunks/chunk.XZMD3IYZ.js +0 -25
- package/dist/chunks/chunk.YDB7E2CZ.js +0 -278
- package/dist/chunks/chunk.YDQI3CCD.js +0 -949
- package/dist/chunks/chunk.YGHUX2VO.js +0 -151
- package/dist/chunks/chunk.YQB6FNAQ.js +0 -263
- package/dist/chunks/chunk.YT6TJKCG.js +0 -45
- package/dist/chunks/chunk.YTJFI5QB.js +0 -21
- package/dist/chunks/chunk.YWSBDVJJ.js +0 -11
- package/dist/chunks/chunk.Z3NJRMOT.js +0 -11
- package/dist/chunks/chunk.Z4T4ACAK.js +0 -25
- package/dist/chunks/chunk.ZVCDTHKY.js +0 -24
- package/dist/chunks/chunk.ZWG4BHQI.js +0 -227
|
@@ -1,2632 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
e
|
|
3
|
-
} from "./chunk.OVNPI46I.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
|
-
top: "-9999px",
|
|
2430
|
-
left: "-9999px",
|
|
2431
|
-
padding: "10px 8px",
|
|
2432
|
-
color: "#212121",
|
|
2433
|
-
fontSize: "12px",
|
|
2434
|
-
background: "#FFFFFF",
|
|
2435
|
-
border: "1px solid rgba(217,217,217,1)",
|
|
2436
|
-
boxShadow: "0px 6px 16px 3px rgba(0,0,0,0.08)",
|
|
2437
|
-
borderRadius: "2px",
|
|
2438
|
-
lineHeight: "21px",
|
|
2439
|
-
minWidth: "80px",
|
|
2440
|
-
maxWidth: `${maxWidth}px`,
|
|
2441
|
-
width: "fit-content",
|
|
2442
|
-
boxSizing: "border-box",
|
|
2443
|
-
overflow: "hidden",
|
|
2444
|
-
whiteSpace: "nowrap",
|
|
2445
|
-
textOverflow: "ellipsis",
|
|
2446
|
-
textAlign: "center"
|
|
2447
|
-
});
|
|
2448
|
-
document.body.appendChild(dragImage);
|
|
2449
|
-
return dragImage;
|
|
2450
|
-
}
|
|
2451
|
-
// ===================== 树型拖拽目标计算 =====================
|
|
2452
|
-
calcDragTarget(evt) {
|
|
2453
|
-
const tbody = this.tbodyRef.value;
|
|
2454
|
-
if (!tbody) return null;
|
|
2455
|
-
const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
|
|
2456
|
-
if (!rows.length) return null;
|
|
2457
|
-
const mouseY = evt.originalEvent.clientY;
|
|
2458
|
-
const firstRect = rows[0].getBoundingClientRect();
|
|
2459
|
-
const lastRect = rows[rows.length - 1].getBoundingClientRect();
|
|
2460
|
-
let targetRowEl = null;
|
|
2461
|
-
let rowIndex = -1;
|
|
2462
|
-
if (mouseY <= firstRect.top) {
|
|
2463
|
-
targetRowEl = rows[0];
|
|
2464
|
-
rowIndex = 0;
|
|
2465
|
-
} else if (mouseY >= lastRect.bottom) {
|
|
2466
|
-
targetRowEl = rows[rows.length - 1];
|
|
2467
|
-
rowIndex = rows.length - 1;
|
|
2468
|
-
} else {
|
|
2469
|
-
for (let i = 0; i < rows.length; i++) {
|
|
2470
|
-
const rect2 = rows[i].getBoundingClientRect();
|
|
2471
|
-
if (mouseY >= rect2.top && mouseY < rect2.bottom) {
|
|
2472
|
-
targetRowEl = rows[i];
|
|
2473
|
-
rowIndex = i;
|
|
2474
|
-
break;
|
|
2475
|
-
}
|
|
2476
|
-
}
|
|
2477
|
-
}
|
|
2478
|
-
if (!targetRowEl || rowIndex < 0) return null;
|
|
2479
|
-
const rect = targetRowEl.getBoundingClientRect();
|
|
2480
|
-
const offset = mouseY - rect.top;
|
|
2481
|
-
const rowHeight = rect.height;
|
|
2482
|
-
const targetRowKey = targetRowEl.dataset.rowKey;
|
|
2483
|
-
let position;
|
|
2484
|
-
if (offset < rowHeight * 0.35) position = "before";
|
|
2485
|
-
else if (offset > rowHeight * 0.65) position = "after";
|
|
2486
|
-
else position = "inside";
|
|
2487
|
-
const depth = this.treeCtrl.getRowDepth(targetRowKey);
|
|
2488
|
-
return { rowIndex, position, rowKey: targetRowKey, depth };
|
|
2489
|
-
}
|
|
2490
|
-
resetTreeDragState() {
|
|
2491
|
-
this.dropTarget = null;
|
|
2492
|
-
this.draggingBlock = { start: -1, end: -1 };
|
|
2493
|
-
this.draggingRowKey = null;
|
|
2494
|
-
this.draggingKeys.clear();
|
|
2495
|
-
this.requestUpdate();
|
|
2496
|
-
this.cleanupDragImage();
|
|
2497
|
-
}
|
|
2498
|
-
// ===================== 指示线渲染 =====================
|
|
2499
|
-
getIndicatorLeft(targetRowEl, depth) {
|
|
2500
|
-
const tbody = this.tbodyRef.value;
|
|
2501
|
-
const host = tbody == null ? void 0 : tbody.closest("sl-table");
|
|
2502
|
-
const indentPx = host ? parseFloat(getComputedStyle(host).getPropertyValue("--sl-datatable-tree-indent")) || 12 : 12;
|
|
2503
|
-
if (!tbody) return depth * indentPx;
|
|
2504
|
-
const tbodyRect = tbody.getBoundingClientRect();
|
|
2505
|
-
const contentDiv = targetRowEl.querySelector(".tree-cell-content");
|
|
2506
|
-
if (contentDiv) {
|
|
2507
|
-
const hasExpandIcon = !!contentDiv.querySelector(".row-expand-icon");
|
|
2508
|
-
if (hasExpandIcon) {
|
|
2509
|
-
const paddingLeft = parseFloat(getComputedStyle(contentDiv).paddingInlineStart) || 0;
|
|
2510
|
-
return contentDiv.getBoundingClientRect().left - tbodyRect.left + paddingLeft;
|
|
2511
|
-
}
|
|
2512
|
-
const textSpan = contentDiv.querySelector(".tree-cell-text");
|
|
2513
|
-
const refEl = textSpan != null ? textSpan : contentDiv;
|
|
2514
|
-
return refEl.getBoundingClientRect().left - tbodyRect.left;
|
|
2515
|
-
}
|
|
2516
|
-
return depth * indentPx;
|
|
2517
|
-
}
|
|
2518
|
-
renderIndicator() {
|
|
2519
|
-
const tbody = this.tbodyRef.value;
|
|
2520
|
-
if (!tbody) return "";
|
|
2521
|
-
const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
|
|
2522
|
-
if (!rows.length) return "";
|
|
2523
|
-
const isTree = this.treeCtrl.isTreeMode();
|
|
2524
|
-
if (isTree && this.dropTarget) {
|
|
2525
|
-
const { rowIndex, position, depth } = this.dropTarget;
|
|
2526
|
-
const row2 = rows[rowIndex];
|
|
2527
|
-
if (!row2) return "";
|
|
2528
|
-
if (position === "inside") {
|
|
2529
|
-
return b`
|
|
2530
|
-
<div
|
|
2531
|
-
style="
|
|
2532
|
-
position:absolute;
|
|
2533
|
-
left:0;
|
|
2534
|
-
right:0;
|
|
2535
|
-
top:${row2.offsetTop}px;
|
|
2536
|
-
height:${row2.offsetHeight}px;
|
|
2537
|
-
border:2px solid #1677ff;
|
|
2538
|
-
border-radius:2px;
|
|
2539
|
-
pointer-events:none;
|
|
2540
|
-
z-index:10;
|
|
2541
|
-
box-sizing:border-box;
|
|
2542
|
-
"
|
|
2543
|
-
></div>
|
|
2544
|
-
`;
|
|
2545
|
-
}
|
|
2546
|
-
const top2 = position === "before" ? row2.offsetTop : row2.offsetTop + row2.offsetHeight;
|
|
2547
|
-
const left = this.getIndicatorLeft(row2, depth);
|
|
2548
|
-
return b`
|
|
2549
|
-
<div
|
|
2550
|
-
style="
|
|
2551
|
-
position:absolute;
|
|
2552
|
-
left:${left}px;
|
|
2553
|
-
right:0;
|
|
2554
|
-
top:${top2}px;
|
|
2555
|
-
height:2px;
|
|
2556
|
-
background:#1677ff;
|
|
2557
|
-
pointer-events:none;
|
|
2558
|
-
z-index:10;
|
|
2559
|
-
"
|
|
2560
|
-
></div>
|
|
2561
|
-
`;
|
|
2562
|
-
}
|
|
2563
|
-
if (this.currentInsertIndex === null) return "";
|
|
2564
|
-
const index2 = Math.min(this.currentInsertIndex, rows.length - 1);
|
|
2565
|
-
const row = rows[index2];
|
|
2566
|
-
const top = this.currentInsertIndex >= rows.length ? row.offsetTop + row.offsetHeight : row.offsetTop;
|
|
2567
|
-
return b`
|
|
2568
|
-
<div
|
|
2569
|
-
style="
|
|
2570
|
-
position:absolute;
|
|
2571
|
-
left:0;
|
|
2572
|
-
right:0;
|
|
2573
|
-
top:${top}px;
|
|
2574
|
-
height:2px;
|
|
2575
|
-
background:#1677ff;
|
|
2576
|
-
pointer-events:none;
|
|
2577
|
-
z-index:10;
|
|
2578
|
-
"
|
|
2579
|
-
></div>
|
|
2580
|
-
`;
|
|
2581
|
-
}
|
|
2582
|
-
// ===================== Sortable 初始化 =====================
|
|
2583
|
-
initSortable() {
|
|
2584
|
-
var _a, _b;
|
|
2585
|
-
const { rowDrag, virtualized } = this.commonProps;
|
|
2586
|
-
if (!rowDrag || virtualized) {
|
|
2587
|
-
(_a = this.sortable) == null ? void 0 : _a.destroy();
|
|
2588
|
-
this.sortable = void 0;
|
|
2589
|
-
return;
|
|
2590
|
-
}
|
|
2591
|
-
const el = this.tbodyRef.value;
|
|
2592
|
-
if (!el) return;
|
|
2593
|
-
(_b = this.sortable) == null ? void 0 : _b.destroy();
|
|
2594
|
-
this.sortable = sortable_esm_default.create(el, {
|
|
2595
|
-
animation: 0,
|
|
2596
|
-
draggable: "tr[data-row-key]",
|
|
2597
|
-
handle: ".row-drag-handle",
|
|
2598
|
-
onChoose: this.handleChoose,
|
|
2599
|
-
onMove: this.handleMove,
|
|
2600
|
-
onEnd: this.handleEnd,
|
|
2601
|
-
onUnchoose: this.handleUnchoose
|
|
2602
|
-
});
|
|
2603
|
-
}
|
|
2604
|
-
/** 判断某行是否处于拖拽中 */
|
|
2605
|
-
isRowDragging(rowKey, rowIndex) {
|
|
2606
|
-
if (this.draggingKeys.size > 0) {
|
|
2607
|
-
return this.draggingKeys.has(rowKey);
|
|
2608
|
-
}
|
|
2609
|
-
const block = this.draggingBlock;
|
|
2610
|
-
return !!block && rowIndex >= block.start && rowIndex <= block.end;
|
|
2611
|
-
}
|
|
2612
|
-
destroy() {
|
|
2613
|
-
var _a;
|
|
2614
|
-
(_a = this.sortable) == null ? void 0 : _a.destroy();
|
|
2615
|
-
this.sortable = void 0;
|
|
2616
|
-
this.cleanupDragImage();
|
|
2617
|
-
}
|
|
2618
|
-
};
|
|
2619
|
-
|
|
2620
|
-
export {
|
|
2621
|
-
RowDragController
|
|
2622
|
-
};
|
|
2623
|
-
/*! Bundled license information:
|
|
2624
|
-
|
|
2625
|
-
sortablejs/modular/sortable.esm.js:
|
|
2626
|
-
(**!
|
|
2627
|
-
* Sortable 1.15.7
|
|
2628
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
2629
|
-
* @author owenm <owen23355@gmail.com>
|
|
2630
|
-
* @license MIT
|
|
2631
|
-
*)
|
|
2632
|
-
*/
|