@kdcloudjs/shoelace 1.0.6 → 1.0.7

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.
Files changed (1315) hide show
  1. package/cdn/chunks/chunk.2F6BH5VZ.js +48 -0
  2. package/cdn/chunks/chunk.2FVW6KTS.js +24 -0
  3. package/cdn/chunks/chunk.2GQXLKH2.js +11 -0
  4. package/cdn/chunks/chunk.2M63QR5H.js +137 -0
  5. package/cdn/chunks/chunk.2MTL3FGH.js +75 -0
  6. package/cdn/chunks/chunk.2YDZBONK.js +36 -0
  7. package/cdn/chunks/chunk.33GIVBCX.js +186 -0
  8. package/cdn/chunks/chunk.3AZELGZB.js +24 -0
  9. package/cdn/chunks/chunk.3BBWICYY.js +11 -0
  10. package/cdn/chunks/chunk.3F6V74NZ.js +302 -0
  11. package/cdn/chunks/chunk.3TGDZ5DJ.js +23 -0
  12. package/cdn/chunks/chunk.4DLZFMRP.js +28 -0
  13. package/cdn/chunks/chunk.4E6VVZLR.js +113 -0
  14. package/cdn/chunks/chunk.4EZCWDFF.js +282 -0
  15. package/cdn/chunks/chunk.4HEFI3TR.js +21 -0
  16. package/cdn/chunks/chunk.4ITOXMOC.js +50 -0
  17. package/cdn/chunks/chunk.4PCTXN2L.js +11 -0
  18. package/cdn/chunks/chunk.4UU2AHNM.js +11 -0
  19. package/cdn/chunks/chunk.4WYLYP2R.js +2654 -0
  20. package/cdn/chunks/chunk.535UQ7PU.js +11 -0
  21. package/cdn/chunks/chunk.55VMUAMC.js +219 -0
  22. package/cdn/chunks/chunk.5DULFYC5.js +11 -0
  23. package/cdn/chunks/chunk.5EVZQYMV.js +29 -0
  24. package/cdn/chunks/chunk.5LQPJK4T.js +25 -0
  25. package/cdn/chunks/chunk.5QBHYHI5.js +11 -0
  26. package/cdn/chunks/chunk.5TFURW2T.js +11 -0
  27. package/cdn/chunks/chunk.6BPAJGHW.js +37 -0
  28. package/cdn/chunks/chunk.6EIVSMAA.js +29 -0
  29. package/cdn/chunks/chunk.6F2FLYOW.js +21 -0
  30. package/cdn/chunks/chunk.6F6QUINY.js +21 -0
  31. package/cdn/chunks/chunk.6UM6FC4K.js +11 -0
  32. package/cdn/chunks/chunk.6US6F6S3.js +120 -0
  33. package/cdn/chunks/chunk.6ZIXSOPR.js +21 -0
  34. package/cdn/chunks/chunk.6ZKNFZGQ.js +63 -0
  35. package/cdn/chunks/chunk.74WFQGMH.js +7179 -0
  36. package/cdn/chunks/chunk.7LIKXAS7.js +11 -0
  37. package/cdn/chunks/chunk.7QQEWD4L.js +21 -0
  38. package/cdn/chunks/chunk.7R6STMVQ.js +24 -0
  39. package/cdn/chunks/chunk.A6JN67Y5.js +574 -0
  40. package/cdn/chunks/chunk.AGYFIM4Q.js +29 -0
  41. package/cdn/chunks/chunk.AJ2OYLPL.js +87 -0
  42. package/cdn/chunks/chunk.AQBMDC3E.js +11 -0
  43. package/cdn/chunks/chunk.AU2R525E.js +26 -0
  44. package/cdn/chunks/chunk.AVRLZDY5.js +21 -0
  45. package/cdn/chunks/chunk.B4DQB52P.js +24 -0
  46. package/cdn/chunks/chunk.B7G2OHZ4.js +28 -0
  47. package/cdn/chunks/chunk.BY6KFH73.js +11 -0
  48. package/cdn/chunks/chunk.C2YJADJR.js +27 -0
  49. package/cdn/chunks/chunk.C6IEKD4A.js +216 -0
  50. package/cdn/chunks/chunk.CBMCIPXG.js +97 -0
  51. package/cdn/chunks/chunk.CL5YXDWF.js +28 -0
  52. package/cdn/chunks/chunk.CMFW5LOK.js +367 -0
  53. package/cdn/chunks/chunk.CPLLGC7O.js +137 -0
  54. package/cdn/chunks/chunk.CREPJYOR.js +21 -0
  55. package/cdn/chunks/chunk.CV4KXOED.js +197 -0
  56. package/cdn/chunks/chunk.D2BCJUHY.js +11 -0
  57. package/cdn/chunks/chunk.D6F22637.js +291 -0
  58. package/cdn/chunks/chunk.DJGGJMPC.js +21 -0
  59. package/cdn/chunks/chunk.DLXIAJ2V.js +11 -0
  60. package/cdn/chunks/chunk.DMYOWHYC.js +11 -0
  61. package/cdn/chunks/chunk.DSLJYWB4.js +21 -0
  62. package/cdn/chunks/chunk.E25NP5SO.js +11 -0
  63. package/cdn/chunks/chunk.EAUOUIX4.js +67 -0
  64. package/cdn/chunks/chunk.ECAQDARE.js +24 -0
  65. package/cdn/chunks/chunk.ED2UP6WZ.js +11 -0
  66. package/cdn/chunks/chunk.EDBLN2VQ.js +25 -0
  67. package/cdn/chunks/chunk.EGHXUYMK.js +510 -0
  68. package/cdn/chunks/chunk.EMNG5BUV.js +342 -0
  69. package/cdn/chunks/chunk.ERKC472U.js +24 -0
  70. package/cdn/chunks/chunk.EZNWAXFF.js +11 -0
  71. package/cdn/chunks/chunk.FCH7L4DJ.js +21 -0
  72. package/cdn/chunks/chunk.FG7FIJ4A.js +255 -0
  73. package/cdn/chunks/chunk.FHQ6SOQJ.js +103 -0
  74. package/cdn/chunks/chunk.FKNGB7NW.js +27 -0
  75. package/cdn/chunks/chunk.FOUHO4EI.js +233 -0
  76. package/cdn/chunks/chunk.FR2NJBAW.js +29 -0
  77. package/cdn/chunks/chunk.G7UJGWHN.js +21 -0
  78. package/cdn/chunks/chunk.GDDL2ZQP.js +379 -0
  79. package/cdn/chunks/chunk.GI23BFSO.js +11 -0
  80. package/cdn/chunks/chunk.GJYIQ2J2.js +11 -0
  81. package/cdn/chunks/chunk.GL362K25.js +11 -0
  82. package/cdn/chunks/chunk.GPQH7V6M.js +26 -0
  83. package/cdn/chunks/chunk.GQX7LPK4.js +5845 -0
  84. package/cdn/chunks/chunk.GRUXSLFM.js +27 -0
  85. package/cdn/chunks/chunk.GRX55RH2.js +177 -0
  86. package/cdn/chunks/chunk.H2UW64J2.js +11 -0
  87. package/cdn/chunks/chunk.HDWRDDWI.js +73 -0
  88. package/cdn/chunks/chunk.HGQHIEUA.js +11 -0
  89. package/cdn/chunks/chunk.HHBZDFH4.js +236 -0
  90. package/cdn/chunks/chunk.HKBYSRKH.js +724 -0
  91. package/cdn/chunks/chunk.HL7H3M6B.js +24 -0
  92. package/cdn/chunks/chunk.HLG4GWMI.js +21 -0
  93. package/cdn/chunks/chunk.HMNFR2UP.js +42 -0
  94. package/cdn/chunks/chunk.HOOU7UNX.js +127 -0
  95. package/cdn/chunks/chunk.HZLF6TXJ.js +11 -0
  96. package/cdn/chunks/chunk.I2VIRKGU.js +257 -0
  97. package/cdn/chunks/chunk.I3CHFQIU.js +11 -0
  98. package/cdn/chunks/chunk.I56KGWR2.js +586 -0
  99. package/cdn/chunks/chunk.I7F4TU4S.js +11 -0
  100. package/cdn/chunks/chunk.ICXEJ5NW.js +142 -0
  101. package/cdn/chunks/chunk.ICYZ3ZRB.js +28 -0
  102. package/cdn/chunks/chunk.IIJPIX4C.js +1990 -0
  103. package/cdn/chunks/chunk.IIKXCPWN.js +11 -0
  104. package/cdn/chunks/chunk.IMYUHA7A.js +95 -0
  105. package/cdn/chunks/chunk.IVT5REKM.js +11 -0
  106. package/cdn/chunks/chunk.IX2EEYGP.js +24 -0
  107. package/cdn/chunks/chunk.JGAD2NAP.js +11 -0
  108. package/cdn/chunks/chunk.JM7BKSZG.js +11 -0
  109. package/cdn/chunks/chunk.JPJQNOE3.js +11 -0
  110. package/cdn/chunks/chunk.JT56MIJ4.js +279 -0
  111. package/cdn/chunks/chunk.K2F3BCM7.js +391 -0
  112. package/cdn/chunks/chunk.K35KM3AY.js +822 -0
  113. package/cdn/chunks/chunk.KA5JBMLK.js +130 -0
  114. package/cdn/chunks/chunk.KF4JUKBH.js +11 -0
  115. package/cdn/chunks/chunk.KGZ7SQSK.js +26 -0
  116. package/cdn/chunks/chunk.KKFPVTXK.js +122 -0
  117. package/cdn/chunks/chunk.KOQK2UQV.js +123 -0
  118. package/cdn/chunks/chunk.KRJ56QFY.js +11 -0
  119. package/cdn/chunks/chunk.KZ22B4H2.js +93 -0
  120. package/cdn/chunks/chunk.L23JWZXF.js +336 -0
  121. package/cdn/chunks/chunk.LAR5NV4G.js +27 -0
  122. package/cdn/chunks/chunk.LC3BU3MO.js +299 -0
  123. package/cdn/chunks/chunk.LH37CC6N.js +82 -0
  124. package/cdn/chunks/chunk.LODLV2NS.js +11 -0
  125. package/cdn/chunks/chunk.MARNMIR3.js +11 -0
  126. package/cdn/chunks/chunk.MR4WVQXP.js +135 -0
  127. package/cdn/chunks/chunk.MWWXGSIA.js +502 -0
  128. package/cdn/chunks/chunk.N2BWLT5M.js +79 -0
  129. package/cdn/chunks/chunk.N4TFCEDA.js +11 -0
  130. package/cdn/chunks/chunk.N6IGVEXW.js +54 -0
  131. package/cdn/chunks/chunk.NCE7XJQI.js +13 -0
  132. package/cdn/chunks/chunk.NJFCHXN5.js +11 -0
  133. package/cdn/chunks/chunk.NYJEK2IL.js +24 -0
  134. package/cdn/chunks/chunk.O4QAGFOM.js +25 -0
  135. package/cdn/chunks/chunk.O7A3KDKU.js +11 -0
  136. package/cdn/chunks/chunk.O7VOOY54.js +77 -0
  137. package/cdn/chunks/chunk.OB65AD3O.js +11 -0
  138. package/cdn/chunks/chunk.OE7W3DLA.js +28 -0
  139. package/cdn/chunks/chunk.OIJXPVJT.js +21 -0
  140. package/cdn/chunks/chunk.OJNHFZFI.js +11 -0
  141. package/cdn/chunks/chunk.OYPNUBXO.js +21 -0
  142. package/cdn/chunks/chunk.PCCSA6OV.js +11 -0
  143. package/cdn/chunks/chunk.PDSZA3NP.js +21 -0
  144. package/cdn/chunks/chunk.PEHKG2LH.js +11 -0
  145. package/cdn/chunks/chunk.PGAKPN6W.js +346 -0
  146. package/cdn/chunks/chunk.PJ4QDGB7.js +11 -0
  147. package/cdn/chunks/chunk.PJG46NM4.js +24 -0
  148. package/cdn/chunks/chunk.PKX6PMAZ.js +313 -0
  149. package/cdn/chunks/chunk.PPJJBFF4.js +11 -0
  150. package/cdn/chunks/chunk.PPMK7HQH.js +21 -0
  151. package/cdn/chunks/chunk.Q4LMKXFG.js +153 -0
  152. package/cdn/chunks/chunk.QA2FJSHX.js +266 -0
  153. package/cdn/chunks/chunk.QVGQMXSJ.js +11 -0
  154. package/cdn/chunks/chunk.QXNCQNDR.js +49 -0
  155. package/cdn/chunks/chunk.QYQHEP6I.js +292 -0
  156. package/cdn/chunks/chunk.RAJGP56K.js +11 -0
  157. package/cdn/chunks/chunk.RBQAAD2J.js +118 -0
  158. package/cdn/chunks/chunk.RBSOA6OJ.js +271 -0
  159. package/cdn/chunks/chunk.RHPZC6GF.js +27 -0
  160. package/cdn/chunks/chunk.RI75IJR5.js +11 -0
  161. package/cdn/chunks/chunk.RIKP3Z5U.js +25 -0
  162. package/cdn/chunks/chunk.RK2BVAV5.js +158 -0
  163. package/cdn/chunks/chunk.RMEE3P3T.js +11 -0
  164. package/cdn/chunks/chunk.RUCVRRD2.js +21 -0
  165. package/cdn/chunks/chunk.S7NFFKPD.js +11 -0
  166. package/cdn/chunks/chunk.SHVWPOHD.js +25 -0
  167. package/cdn/chunks/chunk.SJNTLIDF.js +21 -0
  168. package/cdn/chunks/chunk.SMQMGR25.js +25 -0
  169. package/cdn/chunks/chunk.SPEZ4SVZ.js +11 -0
  170. package/cdn/chunks/chunk.SQQ7ETBT.js +21 -0
  171. package/cdn/chunks/chunk.SRYTXUFA.js +24 -0
  172. package/cdn/chunks/chunk.TPCBDU3P.js +11 -0
  173. package/cdn/chunks/chunk.TPPDV5GY.js +21 -0
  174. package/cdn/chunks/chunk.TTE3RW6X.js +11 -0
  175. package/cdn/chunks/chunk.TV4BBYZZ.js +21 -0
  176. package/cdn/chunks/chunk.U3HJITZ6.js +1925 -0
  177. package/cdn/chunks/chunk.U4ET44SL.js +402 -0
  178. package/cdn/chunks/chunk.UBEFQ5SQ.js +55 -0
  179. package/cdn/chunks/chunk.UDV3OXUL.js +25 -0
  180. package/cdn/chunks/chunk.UKEYLVHN.js +21 -0
  181. package/cdn/chunks/chunk.UKS2GT4S.js +11 -0
  182. package/cdn/chunks/chunk.UW2F6UPY.js +334 -0
  183. package/cdn/chunks/chunk.V2IAOEIJ.js +21 -0
  184. package/cdn/chunks/chunk.V6QY3NB5.js +113 -0
  185. package/cdn/chunks/chunk.V6SSDIDU.js +11 -0
  186. package/cdn/chunks/chunk.VGEIUGHU.js +24 -0
  187. package/cdn/chunks/chunk.VKDJTD6U.js +11 -0
  188. package/cdn/chunks/chunk.VQ6A4KVQ.js +24 -0
  189. package/cdn/chunks/chunk.VQ7Q6EDW.js +21 -0
  190. package/cdn/chunks/chunk.VQZN3VF4.js +77 -0
  191. package/cdn/chunks/chunk.VYLWXLHM.js +11 -0
  192. package/cdn/chunks/chunk.W3R2LWJ2.js +49 -0
  193. package/cdn/chunks/chunk.W5TDEUTT.js +25 -0
  194. package/cdn/chunks/chunk.WB7R5MZO.js +11 -0
  195. package/cdn/chunks/chunk.WDV5PM2Q.js +25 -0
  196. package/cdn/chunks/chunk.WFOA4JCE.js +11 -0
  197. package/cdn/chunks/chunk.WKXHY77X.js +1058 -0
  198. package/cdn/chunks/chunk.WRQAWFOS.js +11 -0
  199. package/cdn/chunks/chunk.WTYJ6D3G.js +314 -0
  200. package/cdn/chunks/chunk.WUYRDSRQ.js +24 -0
  201. package/cdn/chunks/chunk.X4GBQOQN.js +11 -0
  202. package/cdn/chunks/chunk.XOO4HRZU.js +114 -0
  203. package/cdn/chunks/chunk.XPQFTFKI.js +11 -0
  204. package/cdn/chunks/chunk.YBUA67DG.js +24 -0
  205. package/cdn/chunks/chunk.YCIA2527.js +11 -0
  206. package/cdn/chunks/chunk.YDZ5OX4I.js +27 -0
  207. package/cdn/chunks/chunk.YKDBXRCU.js +455 -0
  208. package/cdn/chunks/chunk.YMCRK2WA.js +21 -0
  209. package/cdn/chunks/chunk.ZA77RJ5F.js +33 -0
  210. package/cdn/chunks/chunk.ZCZ26FJE.js +11 -0
  211. package/cdn/chunks/chunk.ZGIEOFJ3.js +25 -0
  212. package/cdn/chunks/chunk.ZGMXI5IW.js +27 -0
  213. package/cdn/chunks/chunk.ZJU3XDMM.js +11 -0
  214. package/cdn/chunks/chunk.ZN7RVCVV.js +28 -0
  215. package/cdn/components/alert/alert.component.js +8 -8
  216. package/cdn/components/alert/alert.js +9 -9
  217. package/cdn/components/animated-image/animated-image.component.js +4 -4
  218. package/cdn/components/animated-image/animated-image.js +5 -5
  219. package/cdn/components/animation/animation.component.js +2 -2
  220. package/cdn/components/animation/animation.js +3 -3
  221. package/cdn/components/avatar/avatar.component.js +4 -4
  222. package/cdn/components/avatar/avatar.js +5 -5
  223. package/cdn/components/badge/badge.component.js +2 -2
  224. package/cdn/components/badge/badge.js +3 -3
  225. package/cdn/components/breadcrumb/breadcrumb.component.js +4 -4
  226. package/cdn/components/breadcrumb/breadcrumb.js +5 -5
  227. package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  228. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
  229. package/cdn/components/button/button.component.js +8 -8
  230. package/cdn/components/button/button.js +9 -9
  231. package/cdn/components/button-group/button-group.component.js +2 -2
  232. package/cdn/components/button-group/button-group.js +3 -3
  233. package/cdn/components/calendar/calendar.component.js +10 -10
  234. package/cdn/components/calendar/calendar.js +10 -10
  235. package/cdn/components/card/card.component.js +2 -2
  236. package/cdn/components/card/card.js +3 -3
  237. package/cdn/components/carousel/carousel.component.js +7 -7
  238. package/cdn/components/carousel/carousel.js +8 -8
  239. package/cdn/components/carousel-item/carousel-item.component.js +2 -2
  240. package/cdn/components/carousel-item/carousel-item.js +3 -3
  241. package/cdn/components/checkbox/checkbox.component.js +5 -5
  242. package/cdn/components/checkbox/checkbox.js +6 -6
  243. package/cdn/components/color-picker/color-picker.component.js +17 -17
  244. package/cdn/components/color-picker/color-picker.js +18 -18
  245. package/cdn/components/copy-button/copy-button.component.js +8 -8
  246. package/cdn/components/copy-button/copy-button.js +9 -9
  247. package/cdn/components/date-panel/date-panel.component.js +14 -14
  248. package/cdn/components/date-panel/date-panel.js +14 -14
  249. package/cdn/components/datepicker/datepicker.component.js +18 -18
  250. package/cdn/components/datepicker/datepicker.js +18 -18
  251. package/cdn/components/details/details.component.js +6 -6
  252. package/cdn/components/details/details.js +7 -7
  253. package/cdn/components/dialog/dialog.component.js +8 -8
  254. package/cdn/components/dialog/dialog.js +9 -9
  255. package/cdn/components/divider/divider.component.js +2 -2
  256. package/cdn/components/divider/divider.js +3 -3
  257. package/cdn/components/drawer/drawer.component.js +9 -9
  258. package/cdn/components/drawer/drawer.js +10 -10
  259. package/cdn/components/dropdown/dropdown.component.js +6 -6
  260. package/cdn/components/dropdown/dropdown.js +7 -7
  261. package/cdn/components/format-bytes/format-bytes.component.js +2 -2
  262. package/cdn/components/format-bytes/format-bytes.js +3 -3
  263. package/cdn/components/format-date/format-date.component.js +2 -2
  264. package/cdn/components/format-date/format-date.js +3 -3
  265. package/cdn/components/format-number/format-number.component.js +2 -2
  266. package/cdn/components/format-number/format-number.js +3 -3
  267. package/cdn/components/icon/icon.component.js +3 -3
  268. package/cdn/components/icon/icon.js +4 -4
  269. package/cdn/components/icon-button/icon-button.component.js +4 -4
  270. package/cdn/components/icon-button/icon-button.js +5 -5
  271. package/cdn/components/image-comparer/image-comparer.component.js +6 -6
  272. package/cdn/components/image-comparer/image-comparer.js +7 -7
  273. package/cdn/components/include/include.component.js +3 -3
  274. package/cdn/components/include/include.js +4 -4
  275. package/cdn/components/input/input.component.js +7 -7
  276. package/cdn/components/input/input.js +8 -8
  277. package/cdn/components/menu/menu.component.js +2 -2
  278. package/cdn/components/menu/menu.js +3 -3
  279. package/cdn/components/menu-item/menu-item.component.js +9 -9
  280. package/cdn/components/menu-item/menu-item.js +10 -10
  281. package/cdn/components/menu-label/menu-label.component.js +2 -2
  282. package/cdn/components/menu-label/menu-label.js +3 -3
  283. package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
  284. package/cdn/components/mutation-observer/mutation-observer.js +3 -3
  285. package/cdn/components/nav/nav.component.js +2 -2
  286. package/cdn/components/nav/nav.js +3 -3
  287. package/cdn/components/nav-group/nav-group.component.js +2 -2
  288. package/cdn/components/nav-group/nav-group.js +3 -3
  289. package/cdn/components/nav-item/nav-item.component.js +2 -2
  290. package/cdn/components/nav-item/nav-item.js +3 -3
  291. package/cdn/components/nav-submenu/nav-submenu.component.js +7 -7
  292. package/cdn/components/nav-submenu/nav-submenu.js +8 -8
  293. package/cdn/components/option/option.component.js +6 -6
  294. package/cdn/components/option/option.js +7 -7
  295. package/cdn/components/pagination/custom-select.js +23 -7
  296. package/cdn/components/pagination/pagination.component.js +20 -11
  297. package/cdn/components/pagination/pagination.js +20 -11
  298. package/cdn/components/pagination/pagination.styles.js +1 -1
  299. package/cdn/components/popup/popup.component.js +4 -4
  300. package/cdn/components/popup/popup.js +5 -5
  301. package/cdn/components/progress-bar/progress-bar.component.js +5 -5
  302. package/cdn/components/progress-bar/progress-bar.js +6 -6
  303. package/cdn/components/progress-ring/progress-ring.component.js +2 -2
  304. package/cdn/components/progress-ring/progress-ring.js +3 -3
  305. package/cdn/components/qr-code/qr-code.component.js +2 -2
  306. package/cdn/components/qr-code/qr-code.js +3 -3
  307. package/cdn/components/radio/radio.component.js +4 -4
  308. package/cdn/components/radio/radio.js +5 -5
  309. package/cdn/components/radio-button/radio-button.component.js +2 -2
  310. package/cdn/components/radio-button/radio-button.js +3 -3
  311. package/cdn/components/radio-group/radio-group.component.js +4 -4
  312. package/cdn/components/radio-group/radio-group.js +5 -5
  313. package/cdn/components/range/range.component.js +5 -5
  314. package/cdn/components/range/range.js +6 -6
  315. package/cdn/components/rating/rating.component.js +6 -6
  316. package/cdn/components/rating/rating.js +7 -7
  317. package/cdn/components/relative-time/relative-time.component.js +2 -2
  318. package/cdn/components/relative-time/relative-time.js +3 -3
  319. package/cdn/components/resize-observer/resize-observer.component.js +2 -2
  320. package/cdn/components/resize-observer/resize-observer.js +3 -3
  321. package/cdn/components/screen/screen.component.js +2 -2
  322. package/cdn/components/screen/screen.js +3 -3
  323. package/cdn/components/select/select.component.js +10 -10
  324. package/cdn/components/select/select.js +11 -11
  325. package/cdn/components/skeleton/skeleton.component.js +2 -2
  326. package/cdn/components/skeleton/skeleton.js +3 -3
  327. package/cdn/components/spinner/spinner.component.js +2 -2
  328. package/cdn/components/spinner/spinner.js +3 -3
  329. package/cdn/components/split-panel/split-panel.component.js +3 -3
  330. package/cdn/components/split-panel/split-panel.js +4 -4
  331. package/cdn/components/switch/switch.component.js +2 -2
  332. package/cdn/components/switch/switch.js +3 -3
  333. package/cdn/components/tab/tab.component.js +8 -8
  334. package/cdn/components/tab/tab.js +9 -9
  335. package/cdn/components/tab-group/tab-group.component.js +9 -9
  336. package/cdn/components/tab-group/tab-group.js +10 -10
  337. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  338. package/cdn/components/tab-panel/tab-panel.js +3 -3
  339. package/cdn/components/table/body-table.js +6 -6
  340. package/cdn/components/table/col-group.js +3 -3
  341. package/cdn/components/table/const.js +3 -3
  342. package/cdn/components/table/features/col-pining.js +3 -3
  343. package/cdn/components/table/features/index.js +3 -3
  344. package/cdn/components/table/features/row-drag.js +4 -19
  345. package/cdn/components/table/head-table.js +29 -29
  346. package/cdn/components/table/spinner-container.js +2 -2
  347. package/cdn/components/table/table.component.js +41 -35
  348. package/cdn/components/table/table.js +42 -36
  349. package/cdn/components/table/utils.js +2 -2
  350. package/cdn/components/tag/tag.component.js +8 -8
  351. package/cdn/components/tag/tag.js +9 -9
  352. package/cdn/components/textarea/textarea.component.js +2 -2
  353. package/cdn/components/textarea/textarea.js +3 -3
  354. package/cdn/components/time-panel/time-panel.component.js +9 -9
  355. package/cdn/components/time-panel/time-panel.js +9 -9
  356. package/cdn/components/timepicker/timepicker.component.js +18 -18
  357. package/cdn/components/timepicker/timepicker.js +18 -18
  358. package/cdn/components/tooltip/tooltip.component.js +5 -5
  359. package/cdn/components/tooltip/tooltip.js +6 -6
  360. package/cdn/components/tree/tree.component.js +12 -12
  361. package/cdn/components/tree/tree.js +13 -13
  362. package/cdn/components/tree-item/tree-item.component.js +10 -10
  363. package/cdn/components/tree-item/tree-item.js +11 -11
  364. package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
  365. package/cdn/components/visually-hidden/visually-hidden.js +3 -3
  366. package/cdn/custom-elements.json +1977 -1943
  367. package/cdn/react/alert/index.js +9 -9
  368. package/cdn/react/animated-image/index.js +5 -5
  369. package/cdn/react/animation/index.js +3 -3
  370. package/cdn/react/avatar/index.js +5 -5
  371. package/cdn/react/badge/index.js +3 -3
  372. package/cdn/react/breadcrumb/index.js +5 -5
  373. package/cdn/react/breadcrumb-item/index.js +3 -3
  374. package/cdn/react/button/index.js +9 -9
  375. package/cdn/react/button-group/index.js +3 -3
  376. package/cdn/react/card/index.js +3 -3
  377. package/cdn/react/carousel/index.js +8 -8
  378. package/cdn/react/carousel-item/index.js +3 -3
  379. package/cdn/react/checkbox/index.js +6 -6
  380. package/cdn/react/color-picker/index.js +18 -18
  381. package/cdn/react/copy-button/index.js +9 -9
  382. package/cdn/react/date-panel/index.js +15 -15
  383. package/cdn/react/datepicker/index.js +19 -19
  384. package/cdn/react/details/index.js +7 -7
  385. package/cdn/react/dialog/index.js +9 -9
  386. package/cdn/react/divider/index.js +3 -3
  387. package/cdn/react/drawer/index.js +10 -10
  388. package/cdn/react/dropdown/index.js +7 -7
  389. package/cdn/react/format-bytes/index.js +3 -3
  390. package/cdn/react/format-date/index.js +3 -3
  391. package/cdn/react/format-number/index.js +3 -3
  392. package/cdn/react/icon/index.js +4 -4
  393. package/cdn/react/icon-button/index.js +5 -5
  394. package/cdn/react/image-comparer/index.js +7 -7
  395. package/cdn/react/include/index.js +4 -4
  396. package/cdn/react/index.js +211 -210
  397. package/cdn/react/input/index.js +8 -8
  398. package/cdn/react/menu/index.js +3 -3
  399. package/cdn/react/menu-item/index.js +10 -10
  400. package/cdn/react/menu-label/index.js +3 -3
  401. package/cdn/react/mutation-observer/index.js +3 -3
  402. package/cdn/react/nav/index.js +3 -3
  403. package/cdn/react/nav-group/index.js +3 -3
  404. package/cdn/react/nav-item/index.js +3 -3
  405. package/cdn/react/nav-submenu/index.js +8 -8
  406. package/cdn/react/option/index.js +7 -7
  407. package/cdn/react/pagination/index.js +21 -12
  408. package/cdn/react/popup/index.js +5 -5
  409. package/cdn/react/progress-bar/index.js +6 -6
  410. package/cdn/react/progress-ring/index.js +3 -3
  411. package/cdn/react/qr-code/index.js +3 -3
  412. package/cdn/react/radio/index.js +5 -5
  413. package/cdn/react/radio-button/index.js +3 -3
  414. package/cdn/react/radio-group/index.js +5 -5
  415. package/cdn/react/range/index.js +6 -6
  416. package/cdn/react/rating/index.js +7 -7
  417. package/cdn/react/relative-time/index.js +3 -3
  418. package/cdn/react/resize-observer/index.js +3 -3
  419. package/cdn/react/screen/index.js +3 -3
  420. package/cdn/react/select/index.js +11 -11
  421. package/cdn/react/skeleton/index.js +3 -3
  422. package/cdn/react/spinner/index.js +3 -3
  423. package/cdn/react/split-panel/index.js +4 -4
  424. package/cdn/react/switch/index.js +3 -3
  425. package/cdn/react/tab/index.js +9 -9
  426. package/cdn/react/tab-group/index.js +10 -10
  427. package/cdn/react/tab-panel/index.js +3 -3
  428. package/cdn/react/table/index.js +42 -36
  429. package/cdn/react/tag/index.js +9 -9
  430. package/cdn/react/textarea/index.js +3 -3
  431. package/cdn/react/timepicker/index.js +19 -19
  432. package/cdn/react/tooltip/index.js +6 -6
  433. package/cdn/react/tree/index.js +13 -13
  434. package/cdn/react/tree-item/index.js +11 -11
  435. package/cdn/react/visually-hidden/index.js +3 -3
  436. package/cdn/shoelace.js +205 -204
  437. package/cdn/themes/light.css +24 -1
  438. package/cdn/themes/light.styles.js +26 -1
  439. package/cdn/themes/nova.css +617 -0
  440. package/cdn/themes/nova.styles.d.ts +2 -0
  441. package/cdn/themes/nova.styles.js +634 -0
  442. package/cdn/types/vue/index.d.ts +348 -344
  443. package/cdn/vscode.html-custom-data.json +304 -294
  444. package/cdn/web-types.json +261 -239
  445. package/dist/chunks/chunk.27CAO2WY.js +28 -0
  446. package/dist/chunks/chunk.2ANYYJDB.js +22 -0
  447. package/dist/chunks/chunk.2BTEDRNT.js +11 -0
  448. package/dist/chunks/chunk.2I3UOM2Y.js +25 -0
  449. package/dist/chunks/chunk.2R5AP4PT.js +371 -0
  450. package/dist/chunks/chunk.2TO4Y66B.js +11 -0
  451. package/dist/chunks/chunk.32RC4SMF.js +27 -0
  452. package/dist/chunks/chunk.3EVQBFEF.js +417 -0
  453. package/dist/chunks/chunk.3GEIQ7YN.js +11 -0
  454. package/dist/chunks/chunk.3N5TNFZE.js +113 -0
  455. package/dist/chunks/chunk.3SQA2NPF.js +11 -0
  456. package/dist/chunks/chunk.3UQAMROW.js +1056 -0
  457. package/dist/chunks/chunk.3VZ7XFPS.js +27 -0
  458. package/dist/chunks/chunk.45F4OUGN.js +96 -0
  459. package/dist/chunks/chunk.46RNQAVZ.js +24 -0
  460. package/dist/chunks/chunk.4C5EWVQA.js +147 -0
  461. package/dist/chunks/chunk.4CT6MODQ.js +11 -0
  462. package/dist/chunks/chunk.4FG5MP7E.js +181 -0
  463. package/dist/chunks/chunk.4UTPMO5J.js +11 -0
  464. package/dist/chunks/chunk.566V5ODQ.js +24 -0
  465. package/dist/chunks/chunk.5AVBROC7.js +25 -0
  466. package/dist/chunks/chunk.5SWE2TKS.js +100 -0
  467. package/dist/chunks/chunk.5TKWYUQS.js +125 -0
  468. package/dist/chunks/chunk.5TQ5K66H.js +11 -0
  469. package/dist/chunks/chunk.5VEVKL5Z.js +93 -0
  470. package/dist/chunks/chunk.5VGVDAC3.js +80 -0
  471. package/dist/chunks/chunk.63AR3LCX.js +11 -0
  472. package/dist/chunks/chunk.63HBHPPT.js +814 -0
  473. package/dist/chunks/chunk.63VCQTIT.js +21 -0
  474. package/dist/chunks/chunk.67P7OKOD.js +11 -0
  475. package/dist/chunks/chunk.6B33ESGD.js +21 -0
  476. package/dist/chunks/chunk.6BPAJGHW.js +37 -0
  477. package/dist/chunks/chunk.6C4YL2CP.js +949 -0
  478. package/dist/chunks/chunk.6ETBKQ67.js +73 -0
  479. package/dist/chunks/chunk.6RHSUPZ4.js +135 -0
  480. package/dist/chunks/chunk.6SWYT4LZ.js +550 -0
  481. package/dist/chunks/chunk.6U7F7URL.js +33 -0
  482. package/dist/chunks/chunk.74UZI6MB.js +11 -0
  483. package/dist/chunks/chunk.7A5RDYHB.js +21 -0
  484. package/dist/chunks/chunk.7A6RUEOP.js +63 -0
  485. package/dist/chunks/chunk.7JOVR2EA.js +25 -0
  486. package/dist/chunks/chunk.7MRKDH2Y.js +29 -0
  487. package/dist/chunks/chunk.7PZSXHJK.js +231 -0
  488. package/dist/chunks/chunk.7UI4EO3S.js +116 -0
  489. package/dist/chunks/chunk.7ZIIY6WW.js +24 -0
  490. package/dist/chunks/chunk.A5QKINZS.js +111 -0
  491. package/dist/chunks/chunk.A5R6GFQO.js +568 -0
  492. package/dist/chunks/chunk.AFRCZNXR.js +286 -0
  493. package/dist/chunks/chunk.AGIKKQWV.js +24 -0
  494. package/dist/chunks/chunk.AKAMCQ35.js +132 -0
  495. package/dist/chunks/chunk.AX7A3TMU.js +21 -0
  496. package/dist/chunks/chunk.AXO7GIM3.js +337 -0
  497. package/dist/chunks/chunk.B3BZRK7H.js +11 -0
  498. package/dist/chunks/chunk.B4HPN34J.js +28 -0
  499. package/dist/chunks/chunk.B7BCUVF5.js +91 -0
  500. package/dist/chunks/chunk.BDOFPKDT.js +21 -0
  501. package/dist/chunks/chunk.BSY4RDX2.js +29 -0
  502. package/dist/chunks/chunk.BT3IVBNL.js +11 -0
  503. package/dist/chunks/chunk.BYYLDQAW.js +27 -0
  504. package/dist/chunks/chunk.C5L4ZKSW.js +21 -0
  505. package/dist/chunks/chunk.C6MVGHHV.js +21 -0
  506. package/dist/chunks/chunk.C6ZITJ7J.js +11 -0
  507. package/dist/chunks/chunk.CBS5R35Z.js +11 -0
  508. package/dist/chunks/chunk.CKWTFK3H.js +11 -0
  509. package/dist/chunks/chunk.CZ5CZSHJ.js +21 -0
  510. package/dist/chunks/chunk.D2ALMOVG.js +11 -0
  511. package/dist/chunks/chunk.D2B5TMBH.js +24 -0
  512. package/dist/chunks/chunk.D4DHWAPW.js +21 -0
  513. package/dist/chunks/chunk.DACAH5V4.js +67 -0
  514. package/dist/chunks/chunk.DAGWKTJ3.js +21 -0
  515. package/dist/chunks/chunk.DFHK6AXP.js +11 -0
  516. package/dist/chunks/chunk.DLVEHT6T.js +35 -0
  517. package/dist/chunks/chunk.DSRLY2FD.js +21 -0
  518. package/dist/chunks/chunk.DSTAA2LN.js +21 -0
  519. package/dist/chunks/chunk.DVJWPRKF.js +263 -0
  520. package/dist/chunks/chunk.DWZZOQAO.js +22 -0
  521. package/dist/chunks/chunk.E7FUKHCA.js +280 -0
  522. package/dist/chunks/chunk.EFANNIAX.js +501 -0
  523. package/dist/chunks/chunk.ENBWH4YM.js +328 -0
  524. package/dist/chunks/chunk.ESXW3HGE.js +119 -0
  525. package/dist/chunks/chunk.ETP3Z47A.js +21 -0
  526. package/dist/chunks/chunk.EYP7N2GI.js +21 -0
  527. package/dist/chunks/chunk.F2DTBEM6.js +25 -0
  528. package/dist/chunks/chunk.F37QAM3X.js +34 -0
  529. package/dist/chunks/chunk.F4FIAUYQ.js +11 -0
  530. package/dist/chunks/chunk.F526NNJ7.js +100 -0
  531. package/dist/chunks/chunk.F55EWCUL.js +52 -0
  532. package/dist/chunks/chunk.FAIR7ZLB.js +11 -0
  533. package/dist/chunks/chunk.FCK4DHC6.js +50 -0
  534. package/dist/chunks/chunk.FDXKOEYC.js +444 -0
  535. package/dist/chunks/chunk.FWTYDXC5.js +11 -0
  536. package/dist/chunks/chunk.FXPO4GRV.js +11 -0
  537. package/dist/chunks/chunk.G2JAPLRH.js +24 -0
  538. package/dist/chunks/chunk.GASEXX4D.js +11 -0
  539. package/dist/chunks/chunk.GCJ6K5EI.js +21 -0
  540. package/dist/chunks/chunk.GEKMBNLB.js +227 -0
  541. package/dist/chunks/chunk.GYMZFBKQ.js +21 -0
  542. package/dist/chunks/chunk.HNLTILQL.js +24 -0
  543. package/dist/chunks/chunk.HPOC4CDW.js +274 -0
  544. package/dist/chunks/chunk.HRISZKCY.js +11 -0
  545. package/dist/chunks/chunk.HS4WDML7.js +25 -0
  546. package/dist/chunks/chunk.HUWQZTJS.js +11 -0
  547. package/dist/chunks/chunk.I65ZJJUJ.js +11 -0
  548. package/dist/chunks/chunk.I6Q32ZWP.js +252 -0
  549. package/dist/chunks/chunk.IBPTWAHN.js +494 -0
  550. package/dist/chunks/chunk.IDUXZIWD.js +11 -0
  551. package/dist/chunks/chunk.INPXNEHC.js +11 -0
  552. package/dist/chunks/chunk.IVBA4STO.js +26 -0
  553. package/dist/chunks/chunk.J5Z3MMJA.js +11 -0
  554. package/dist/chunks/chunk.JKMZKEKQ.js +27 -0
  555. package/dist/chunks/chunk.JL2TZDEG.js +11 -0
  556. package/dist/chunks/chunk.JLB2MD35.js +21 -0
  557. package/dist/chunks/chunk.JO4UZZVN.js +29 -0
  558. package/dist/chunks/chunk.JQV37LH6.js +11 -0
  559. package/dist/chunks/chunk.JRAVB43A.js +27 -0
  560. package/dist/chunks/chunk.JTFYAKXQ.js +11 -0
  561. package/dist/chunks/chunk.JVEC6U7Q.js +21 -0
  562. package/dist/chunks/chunk.K7RC3PY7.js +214 -0
  563. package/dist/chunks/chunk.KD3GIHSB.js +11 -0
  564. package/dist/chunks/chunk.KQBYJ4UO.js +11 -0
  565. package/dist/chunks/chunk.L2OOPUMP.js +117 -0
  566. package/dist/chunks/chunk.L66OLHOJ.js +338 -0
  567. package/dist/chunks/chunk.LJ7XEI5K.js +24 -0
  568. package/dist/chunks/chunk.LV3SFAIR.js +134 -0
  569. package/dist/chunks/chunk.LWWASERC.js +247 -0
  570. package/dist/chunks/chunk.LX4OQWJE.js +85 -0
  571. package/dist/chunks/chunk.M3O3G7U7.js +46 -0
  572. package/dist/chunks/chunk.M6YXAFOU.js +21 -0
  573. package/dist/chunks/chunk.MN6YR3FC.js +174 -0
  574. package/dist/chunks/chunk.MP5S62BQ.js +24 -0
  575. package/dist/chunks/chunk.MVX4T6YW.js +11 -0
  576. package/dist/chunks/chunk.MZ3VGQTC.js +11 -0
  577. package/dist/chunks/chunk.NCE7XJQI.js +13 -0
  578. package/dist/chunks/chunk.NIET4WDR.js +21 -0
  579. package/dist/chunks/chunk.NJO2X5AJ.js +11 -0
  580. package/dist/chunks/chunk.NKRWRM75.js +11 -0
  581. package/dist/chunks/chunk.NLNGXVHU.js +11 -0
  582. package/dist/chunks/chunk.NQIFXCK4.js +11 -0
  583. package/dist/chunks/chunk.NWCCTEYD.js +21 -0
  584. package/dist/chunks/chunk.NXBCJFOG.js +119 -0
  585. package/dist/chunks/chunk.O6TH37K3.js +11 -0
  586. package/dist/chunks/chunk.O7Z5E3EE.js +21 -0
  587. package/dist/chunks/chunk.OFVB4KAZ.js +26 -0
  588. package/dist/chunks/chunk.OGBFUVUQ.js +11 -0
  589. package/dist/chunks/chunk.OHMIEXBK.js +59 -0
  590. package/dist/chunks/chunk.OJSCWHEP.js +11 -0
  591. package/dist/chunks/chunk.OZRMOJDP.js +24 -0
  592. package/dist/chunks/chunk.PKTQG65O.js +25 -0
  593. package/dist/chunks/chunk.PNTCG2IC.js +11 -0
  594. package/dist/chunks/chunk.PPZFBRTA.js +11 -0
  595. package/dist/chunks/chunk.PVO3A4II.js +11 -0
  596. package/dist/chunks/chunk.PZTB35EW.js +75 -0
  597. package/dist/chunks/chunk.QCWUDPZF.js +26 -0
  598. package/dist/chunks/chunk.QPIANCBU.js +126 -0
  599. package/dist/chunks/chunk.QQS47AAN.js +25 -0
  600. package/dist/chunks/chunk.RETGKMAB.js +11 -0
  601. package/dist/chunks/chunk.RL3SUI4A.js +11 -0
  602. package/dist/chunks/chunk.RSZTIROJ.js +28 -0
  603. package/dist/chunks/chunk.RU2OFHHK.js +448 -0
  604. package/dist/chunks/chunk.SF6FGUCP.js +11 -0
  605. package/dist/chunks/chunk.SFMM7FSW.js +11 -0
  606. package/dist/chunks/chunk.SHMJHIA3.js +11 -0
  607. package/dist/chunks/chunk.SHNX4K27.js +11 -0
  608. package/dist/chunks/chunk.SKCRDFMA.js +24 -0
  609. package/dist/chunks/chunk.STEKEZUP.js +293 -0
  610. package/dist/chunks/chunk.SYIFIRPM.js +24 -0
  611. package/dist/chunks/chunk.SZVFOJPZ.js +11 -0
  612. package/dist/chunks/chunk.T272OB6C.js +24 -0
  613. package/dist/chunks/chunk.TA3UWWM6.js +11 -0
  614. package/dist/chunks/chunk.TGDPJA5Z.js +315 -0
  615. package/dist/chunks/chunk.THEKMTXT.js +11 -0
  616. package/dist/chunks/chunk.TJA2C3UG.js +45 -0
  617. package/dist/chunks/chunk.TQPRO7MK.js +27 -0
  618. package/dist/chunks/chunk.TT3XJXDP.js +11 -0
  619. package/dist/chunks/chunk.TTGNTQ4Q.js +361 -0
  620. package/dist/chunks/chunk.U4A23QZQ.js +213 -0
  621. package/dist/chunks/chunk.U5B2XCTR.js +45 -0
  622. package/dist/chunks/chunk.UBEFQ5SQ.js +55 -0
  623. package/dist/chunks/chunk.UI7O6SO3.js +25 -0
  624. package/dist/chunks/chunk.UJ6PDFWZ.js +28 -0
  625. package/dist/chunks/chunk.UL7KBIXX.js +311 -0
  626. package/dist/chunks/chunk.UNBYHWGI.js +167 -0
  627. package/dist/chunks/chunk.UVASQIHI.js +28 -0
  628. package/dist/chunks/chunk.UVJY6KLK.js +21 -0
  629. package/dist/chunks/chunk.V2ZTEHDU.js +11 -0
  630. package/dist/chunks/chunk.V5IKJSIP.js +11 -0
  631. package/dist/chunks/chunk.V7W3I3NS.js +294 -0
  632. package/dist/chunks/chunk.VKCGMSAZ.js +90 -0
  633. package/dist/chunks/chunk.VMLX3RO3.js +74 -0
  634. package/dist/chunks/chunk.VRNGQRX4.js +384 -0
  635. package/dist/chunks/chunk.VUQZGD6T.js +192 -0
  636. package/dist/chunks/chunk.VVPVWY4N.js +75 -0
  637. package/dist/chunks/chunk.WK2QKP3A.js +42 -0
  638. package/dist/chunks/chunk.WLLMG6V4.js +25 -0
  639. package/dist/chunks/chunk.WMLA5253.js +29 -0
  640. package/dist/chunks/chunk.WNKSKO35.js +25 -0
  641. package/dist/chunks/chunk.WO6LGHBG.js +11 -0
  642. package/dist/chunks/chunk.X56YRKLT.js +21 -0
  643. package/dist/chunks/chunk.XA6LZ3CP.js +21 -0
  644. package/dist/chunks/chunk.XEFYOQ4T.js +277 -0
  645. package/dist/chunks/chunk.XEYCIKBS.js +306 -0
  646. package/dist/chunks/chunk.XFLYLBM7.js +11 -0
  647. package/dist/chunks/chunk.XGGTHF7X.js +11 -0
  648. package/dist/chunks/chunk.XND5Q7FK.js +25 -0
  649. package/dist/chunks/chunk.XRQEVVQK.js +397 -0
  650. package/dist/chunks/chunk.XXPEI6S4.js +737 -0
  651. package/dist/chunks/chunk.Y27GLNCV.js +21 -0
  652. package/dist/chunks/chunk.YD7RQMAR.js +11 -0
  653. package/dist/chunks/chunk.YUTQSXJK.js +151 -0
  654. package/dist/chunks/chunk.Z2OWT5NW.js +109 -0
  655. package/dist/chunks/chunk.Z3PZY7SX.js +11 -0
  656. package/dist/chunks/chunk.Z4IE5BCD.js +11 -0
  657. package/dist/chunks/chunk.ZDLGREW3.js +11 -0
  658. package/dist/chunks/chunk.ZWPCQY7U.js +28 -0
  659. package/dist/components/alert/alert.component.js +6 -6
  660. package/dist/components/alert/alert.js +7 -7
  661. package/dist/components/animated-image/animated-image.component.js +4 -4
  662. package/dist/components/animated-image/animated-image.js +5 -5
  663. package/dist/components/animation/animation.component.js +2 -2
  664. package/dist/components/animation/animation.js +3 -3
  665. package/dist/components/avatar/avatar.component.js +4 -4
  666. package/dist/components/avatar/avatar.js +5 -5
  667. package/dist/components/badge/badge.component.js +2 -2
  668. package/dist/components/badge/badge.js +3 -3
  669. package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
  670. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  671. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  672. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  673. package/dist/components/button/button.component.js +6 -6
  674. package/dist/components/button/button.js +7 -7
  675. package/dist/components/button-group/button-group.component.js +2 -2
  676. package/dist/components/button-group/button-group.js +3 -3
  677. package/dist/components/calendar/calendar.component.js +8 -8
  678. package/dist/components/calendar/calendar.js +8 -8
  679. package/dist/components/card/card.component.js +2 -2
  680. package/dist/components/card/card.js +3 -3
  681. package/dist/components/carousel/carousel.component.js +5 -5
  682. package/dist/components/carousel/carousel.js +6 -6
  683. package/dist/components/carousel-item/carousel-item.component.js +2 -2
  684. package/dist/components/carousel-item/carousel-item.js +3 -3
  685. package/dist/components/checkbox/checkbox.component.js +5 -5
  686. package/dist/components/checkbox/checkbox.js +6 -6
  687. package/dist/components/color-picker/color-picker.component.js +15 -15
  688. package/dist/components/color-picker/color-picker.js +16 -16
  689. package/dist/components/copy-button/copy-button.component.js +6 -6
  690. package/dist/components/copy-button/copy-button.js +7 -7
  691. package/dist/components/date-panel/date-panel.component.js +12 -12
  692. package/dist/components/date-panel/date-panel.js +12 -12
  693. package/dist/components/datepicker/datepicker.component.js +16 -16
  694. package/dist/components/datepicker/datepicker.js +16 -16
  695. package/dist/components/details/details.component.js +4 -4
  696. package/dist/components/details/details.js +5 -5
  697. package/dist/components/dialog/dialog.component.js +6 -6
  698. package/dist/components/dialog/dialog.js +7 -7
  699. package/dist/components/divider/divider.component.js +2 -2
  700. package/dist/components/divider/divider.js +3 -3
  701. package/dist/components/drawer/drawer.component.js +7 -7
  702. package/dist/components/drawer/drawer.js +8 -8
  703. package/dist/components/dropdown/dropdown.component.js +3 -3
  704. package/dist/components/dropdown/dropdown.js +4 -4
  705. package/dist/components/format-bytes/format-bytes.component.js +2 -2
  706. package/dist/components/format-bytes/format-bytes.js +3 -3
  707. package/dist/components/format-date/format-date.component.js +2 -2
  708. package/dist/components/format-date/format-date.js +3 -3
  709. package/dist/components/format-number/format-number.component.js +2 -2
  710. package/dist/components/format-number/format-number.js +3 -3
  711. package/dist/components/icon/icon.component.js +3 -3
  712. package/dist/components/icon/icon.js +4 -4
  713. package/dist/components/icon-button/icon-button.component.js +4 -4
  714. package/dist/components/icon-button/icon-button.js +5 -5
  715. package/dist/components/image-comparer/image-comparer.component.js +4 -4
  716. package/dist/components/image-comparer/image-comparer.js +5 -5
  717. package/dist/components/include/include.component.js +3 -3
  718. package/dist/components/include/include.js +4 -4
  719. package/dist/components/input/input.component.js +5 -5
  720. package/dist/components/input/input.js +6 -6
  721. package/dist/components/menu/menu.component.js +2 -2
  722. package/dist/components/menu/menu.js +3 -3
  723. package/dist/components/menu-item/menu-item.component.js +7 -7
  724. package/dist/components/menu-item/menu-item.js +8 -8
  725. package/dist/components/menu-label/menu-label.component.js +2 -2
  726. package/dist/components/menu-label/menu-label.js +3 -3
  727. package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
  728. package/dist/components/mutation-observer/mutation-observer.js +3 -3
  729. package/dist/components/nav/nav.component.js +2 -2
  730. package/dist/components/nav/nav.js +3 -3
  731. package/dist/components/nav-group/nav-group.component.js +2 -2
  732. package/dist/components/nav-group/nav-group.js +3 -3
  733. package/dist/components/nav-item/nav-item.component.js +2 -2
  734. package/dist/components/nav-item/nav-item.js +3 -3
  735. package/dist/components/nav-submenu/nav-submenu.component.js +5 -5
  736. package/dist/components/nav-submenu/nav-submenu.js +6 -6
  737. package/dist/components/option/option.component.js +4 -4
  738. package/dist/components/option/option.js +5 -5
  739. package/dist/components/pagination/custom-select.js +18 -4
  740. package/dist/components/pagination/pagination.component.js +16 -8
  741. package/dist/components/pagination/pagination.js +16 -8
  742. package/dist/components/pagination/pagination.styles.js +1 -1
  743. package/dist/components/popup/popup.component.js +2 -2
  744. package/dist/components/popup/popup.js +3 -3
  745. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  746. package/dist/components/progress-bar/progress-bar.js +3 -3
  747. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  748. package/dist/components/progress-ring/progress-ring.js +3 -3
  749. package/dist/components/qr-code/qr-code.component.js +2 -2
  750. package/dist/components/qr-code/qr-code.js +3 -3
  751. package/dist/components/radio/radio.component.js +4 -4
  752. package/dist/components/radio/radio.js +5 -5
  753. package/dist/components/radio-button/radio-button.component.js +2 -2
  754. package/dist/components/radio-button/radio-button.js +3 -3
  755. package/dist/components/radio-group/radio-group.component.js +4 -4
  756. package/dist/components/radio-group/radio-group.js +5 -5
  757. package/dist/components/range/range.component.js +3 -3
  758. package/dist/components/range/range.js +4 -4
  759. package/dist/components/rating/rating.component.js +4 -4
  760. package/dist/components/rating/rating.js +5 -5
  761. package/dist/components/relative-time/relative-time.component.js +2 -2
  762. package/dist/components/relative-time/relative-time.js +3 -3
  763. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  764. package/dist/components/resize-observer/resize-observer.js +3 -3
  765. package/dist/components/screen/screen.component.js +2 -2
  766. package/dist/components/screen/screen.js +3 -3
  767. package/dist/components/select/select.component.js +8 -8
  768. package/dist/components/select/select.js +9 -9
  769. package/dist/components/skeleton/skeleton.component.js +2 -2
  770. package/dist/components/skeleton/skeleton.js +3 -3
  771. package/dist/components/spinner/spinner.component.js +2 -2
  772. package/dist/components/spinner/spinner.js +3 -3
  773. package/dist/components/split-panel/split-panel.component.js +2 -2
  774. package/dist/components/split-panel/split-panel.js +3 -3
  775. package/dist/components/switch/switch.component.js +2 -2
  776. package/dist/components/switch/switch.js +3 -3
  777. package/dist/components/tab/tab.component.js +5 -5
  778. package/dist/components/tab/tab.js +6 -6
  779. package/dist/components/tab-group/tab-group.component.js +6 -6
  780. package/dist/components/tab-group/tab-group.js +7 -7
  781. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  782. package/dist/components/tab-panel/tab-panel.js +3 -3
  783. package/dist/components/table/body-table.js +6 -6
  784. package/dist/components/table/col-group.js +3 -3
  785. package/dist/components/table/const.js +3 -3
  786. package/dist/components/table/features/col-pining.js +3 -3
  787. package/dist/components/table/features/index.js +3 -3
  788. package/dist/components/table/features/row-drag.js +3 -18
  789. package/dist/components/table/head-table.js +27 -27
  790. package/dist/components/table/spinner-container.js +2 -2
  791. package/dist/components/table/table.component.js +39 -33
  792. package/dist/components/table/table.js +40 -34
  793. package/dist/components/table/utils.js +2 -2
  794. package/dist/components/tag/tag.component.js +5 -5
  795. package/dist/components/tag/tag.js +6 -6
  796. package/dist/components/textarea/textarea.component.js +2 -2
  797. package/dist/components/textarea/textarea.js +3 -3
  798. package/dist/components/time-panel/time-panel.component.js +7 -7
  799. package/dist/components/time-panel/time-panel.js +7 -7
  800. package/dist/components/timepicker/timepicker.component.js +16 -16
  801. package/dist/components/timepicker/timepicker.js +16 -16
  802. package/dist/components/tooltip/tooltip.component.js +3 -3
  803. package/dist/components/tooltip/tooltip.js +4 -4
  804. package/dist/components/tree/tree.component.js +10 -10
  805. package/dist/components/tree/tree.js +11 -11
  806. package/dist/components/tree-item/tree-item.component.js +8 -8
  807. package/dist/components/tree-item/tree-item.js +9 -9
  808. package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
  809. package/dist/components/visually-hidden/visually-hidden.js +3 -3
  810. package/dist/custom-elements.json +1977 -1943
  811. package/dist/react/alert/index.js +7 -7
  812. package/dist/react/animated-image/index.js +5 -5
  813. package/dist/react/animation/index.js +3 -3
  814. package/dist/react/avatar/index.js +5 -5
  815. package/dist/react/badge/index.js +3 -3
  816. package/dist/react/breadcrumb/index.js +5 -5
  817. package/dist/react/breadcrumb-item/index.js +3 -3
  818. package/dist/react/button/index.js +7 -7
  819. package/dist/react/button-group/index.js +3 -3
  820. package/dist/react/card/index.js +3 -3
  821. package/dist/react/carousel/index.js +6 -6
  822. package/dist/react/carousel-item/index.js +3 -3
  823. package/dist/react/checkbox/index.js +6 -6
  824. package/dist/react/color-picker/index.js +16 -16
  825. package/dist/react/copy-button/index.js +7 -7
  826. package/dist/react/date-panel/index.js +13 -13
  827. package/dist/react/datepicker/index.js +17 -17
  828. package/dist/react/details/index.js +5 -5
  829. package/dist/react/dialog/index.js +7 -7
  830. package/dist/react/divider/index.js +3 -3
  831. package/dist/react/drawer/index.js +8 -8
  832. package/dist/react/dropdown/index.js +4 -4
  833. package/dist/react/format-bytes/index.js +3 -3
  834. package/dist/react/format-date/index.js +3 -3
  835. package/dist/react/format-number/index.js +3 -3
  836. package/dist/react/icon/index.js +4 -4
  837. package/dist/react/icon-button/index.js +5 -5
  838. package/dist/react/image-comparer/index.js +5 -5
  839. package/dist/react/include/index.js +4 -4
  840. package/dist/react/index.js +209 -208
  841. package/dist/react/input/index.js +6 -6
  842. package/dist/react/menu/index.js +3 -3
  843. package/dist/react/menu-item/index.js +8 -8
  844. package/dist/react/menu-label/index.js +3 -3
  845. package/dist/react/mutation-observer/index.js +3 -3
  846. package/dist/react/nav/index.js +3 -3
  847. package/dist/react/nav-group/index.js +3 -3
  848. package/dist/react/nav-item/index.js +3 -3
  849. package/dist/react/nav-submenu/index.js +6 -6
  850. package/dist/react/option/index.js +5 -5
  851. package/dist/react/pagination/index.js +17 -9
  852. package/dist/react/popup/index.js +3 -3
  853. package/dist/react/progress-bar/index.js +3 -3
  854. package/dist/react/progress-ring/index.js +3 -3
  855. package/dist/react/qr-code/index.js +3 -3
  856. package/dist/react/radio/index.js +5 -5
  857. package/dist/react/radio-button/index.js +3 -3
  858. package/dist/react/radio-group/index.js +5 -5
  859. package/dist/react/range/index.js +4 -4
  860. package/dist/react/rating/index.js +5 -5
  861. package/dist/react/relative-time/index.js +3 -3
  862. package/dist/react/resize-observer/index.js +3 -3
  863. package/dist/react/screen/index.js +3 -3
  864. package/dist/react/select/index.js +9 -9
  865. package/dist/react/skeleton/index.js +3 -3
  866. package/dist/react/spinner/index.js +3 -3
  867. package/dist/react/split-panel/index.js +3 -3
  868. package/dist/react/switch/index.js +3 -3
  869. package/dist/react/tab/index.js +6 -6
  870. package/dist/react/tab-group/index.js +7 -7
  871. package/dist/react/tab-panel/index.js +3 -3
  872. package/dist/react/table/index.js +40 -34
  873. package/dist/react/tag/index.js +6 -6
  874. package/dist/react/textarea/index.js +3 -3
  875. package/dist/react/timepicker/index.js +17 -17
  876. package/dist/react/tooltip/index.js +4 -4
  877. package/dist/react/tree/index.js +11 -11
  878. package/dist/react/tree-item/index.js +9 -9
  879. package/dist/react/visually-hidden/index.js +3 -3
  880. package/dist/shoelace.js +203 -202
  881. package/dist/themes/light.css +24 -1
  882. package/dist/themes/light.styles.js +26 -1
  883. package/dist/themes/nova.css +617 -0
  884. package/dist/themes/nova.styles.d.ts +2 -0
  885. package/dist/themes/nova.styles.js +634 -0
  886. package/dist/types/vue/index.d.ts +348 -344
  887. package/dist/vscode.html-custom-data.json +304 -294
  888. package/dist/web-types.json +261 -239
  889. package/package.json +3 -2
  890. package/cdn/chunks/chunk.24TO35RB.js +0 -25
  891. package/cdn/chunks/chunk.2D6HKRNC.js +0 -48
  892. package/cdn/chunks/chunk.2KVZQY7T.js +0 -391
  893. package/cdn/chunks/chunk.2Q4B6CQ4.js +0 -24
  894. package/cdn/chunks/chunk.2S2CHGJY.js +0 -11
  895. package/cdn/chunks/chunk.2SONZBL5.js +0 -120
  896. package/cdn/chunks/chunk.2TSVFFOB.js +0 -95
  897. package/cdn/chunks/chunk.2W3MMZOR.js +0 -21
  898. package/cdn/chunks/chunk.34ABVCNF.js +0 -25
  899. package/cdn/chunks/chunk.3AUITG5O.js +0 -25
  900. package/cdn/chunks/chunk.3EXJZJWF.js +0 -724
  901. package/cdn/chunks/chunk.3VHWMW23.js +0 -26
  902. package/cdn/chunks/chunk.3Z6OGUR5.js +0 -122
  903. package/cdn/chunks/chunk.422ZBUKL.js +0 -257
  904. package/cdn/chunks/chunk.443ZUJRC.js +0 -11
  905. package/cdn/chunks/chunk.4CKCDS6L.js +0 -24
  906. package/cdn/chunks/chunk.4GWEBSMH.js +0 -24
  907. package/cdn/chunks/chunk.4JCUXWRN.js +0 -21
  908. package/cdn/chunks/chunk.4OPT2TEZ.js +0 -113
  909. package/cdn/chunks/chunk.4PPZGXGI.js +0 -186
  910. package/cdn/chunks/chunk.4USKUBRP.js +0 -79
  911. package/cdn/chunks/chunk.4YY7KVKW.js +0 -29
  912. package/cdn/chunks/chunk.52JFLXYX.js +0 -24
  913. package/cdn/chunks/chunk.54YVY4KJ.js +0 -11
  914. package/cdn/chunks/chunk.5745VHEC.js +0 -314
  915. package/cdn/chunks/chunk.5BJGFS54.js +0 -11
  916. package/cdn/chunks/chunk.5BVWACYP.js +0 -33
  917. package/cdn/chunks/chunk.5E645LB6.js +0 -282
  918. package/cdn/chunks/chunk.5HOHEHFZ.js +0 -63
  919. package/cdn/chunks/chunk.5KDCEP57.js +0 -11
  920. package/cdn/chunks/chunk.5RTOJJWX.js +0 -27
  921. package/cdn/chunks/chunk.63IBZP4F.js +0 -82
  922. package/cdn/chunks/chunk.6MPNB4FC.js +0 -502
  923. package/cdn/chunks/chunk.6ZGB2EWI.js +0 -21
  924. package/cdn/chunks/chunk.7EWTUOWU.js +0 -11
  925. package/cdn/chunks/chunk.7O2K6PPX.js +0 -822
  926. package/cdn/chunks/chunk.7UZ5E243.js +0 -11
  927. package/cdn/chunks/chunk.7WFPBN26.js +0 -28
  928. package/cdn/chunks/chunk.7Z2XM3LW.js +0 -11
  929. package/cdn/chunks/chunk.AB74KHWT.js +0 -11
  930. package/cdn/chunks/chunk.ADX6C35W.js +0 -11
  931. package/cdn/chunks/chunk.AIBGFFXX.js +0 -21
  932. package/cdn/chunks/chunk.AJXD4PXP.js +0 -21
  933. package/cdn/chunks/chunk.ALFANBYZ.js +0 -299
  934. package/cdn/chunks/chunk.AQVUXXOF.js +0 -11
  935. package/cdn/chunks/chunk.AVETLWAO.js +0 -27
  936. package/cdn/chunks/chunk.B3OIUCE7.js +0 -11
  937. package/cdn/chunks/chunk.B7CXVWG6.js +0 -11
  938. package/cdn/chunks/chunk.BBCWJULO.js +0 -574
  939. package/cdn/chunks/chunk.BD5F6NL7.js +0 -6234
  940. package/cdn/chunks/chunk.BVEOCRUR.js +0 -11
  941. package/cdn/chunks/chunk.BZYQZY7H.js +0 -279
  942. package/cdn/chunks/chunk.C5VDREZK.js +0 -11
  943. package/cdn/chunks/chunk.CHQ22A3M.js +0 -11
  944. package/cdn/chunks/chunk.CP2Q2TQZ.js +0 -11
  945. package/cdn/chunks/chunk.CSRWJEDM.js +0 -92
  946. package/cdn/chunks/chunk.CVBEJRP7.js +0 -27
  947. package/cdn/chunks/chunk.D5HRUXPS.js +0 -113
  948. package/cdn/chunks/chunk.D77IB7LU.js +0 -336
  949. package/cdn/chunks/chunk.DCXMFYZZ.js +0 -255
  950. package/cdn/chunks/chunk.DIBEGWQP.js +0 -11
  951. package/cdn/chunks/chunk.ED3AU335.js +0 -11
  952. package/cdn/chunks/chunk.EH26GSPV.js +0 -24
  953. package/cdn/chunks/chunk.EVG7LDKT.js +0 -28
  954. package/cdn/chunks/chunk.EWATSZK4.js +0 -11
  955. package/cdn/chunks/chunk.F4QYFX7I.js +0 -11
  956. package/cdn/chunks/chunk.F6HYVXVP.js +0 -11
  957. package/cdn/chunks/chunk.FQ77PHQQ.js +0 -302
  958. package/cdn/chunks/chunk.FY7RQ2EN.js +0 -586
  959. package/cdn/chunks/chunk.FZR6BKU2.js +0 -55
  960. package/cdn/chunks/chunk.G2XHGZWA.js +0 -29
  961. package/cdn/chunks/chunk.G3F5KEH5.js +0 -334
  962. package/cdn/chunks/chunk.G4ZYPKDT.js +0 -123
  963. package/cdn/chunks/chunk.GBMOI43A.js +0 -367
  964. package/cdn/chunks/chunk.GEDUXU6K.js +0 -11
  965. package/cdn/chunks/chunk.GEHAXJAD.js +0 -28
  966. package/cdn/chunks/chunk.GFGDEQRG.js +0 -21
  967. package/cdn/chunks/chunk.GHOMSZ4P.js +0 -11
  968. package/cdn/chunks/chunk.GKVHM7II.js +0 -24
  969. package/cdn/chunks/chunk.GUIGYA3U.js +0 -11
  970. package/cdn/chunks/chunk.GWYUWHMZ.js +0 -21
  971. package/cdn/chunks/chunk.GXKPSSUK.js +0 -37
  972. package/cdn/chunks/chunk.GYACMIEW.js +0 -219
  973. package/cdn/chunks/chunk.H2OVB2FT.js +0 -11
  974. package/cdn/chunks/chunk.H2UUXXFH.js +0 -11
  975. package/cdn/chunks/chunk.H5MEYZGW.js +0 -11
  976. package/cdn/chunks/chunk.H5SKDL5B.js +0 -498
  977. package/cdn/chunks/chunk.HE4XNMQ6.js +0 -11
  978. package/cdn/chunks/chunk.HFDPA5IX.js +0 -21
  979. package/cdn/chunks/chunk.HKADQ6RI.js +0 -114
  980. package/cdn/chunks/chunk.HS5WM3VC.js +0 -313
  981. package/cdn/chunks/chunk.HUA3M65Y.js +0 -266
  982. package/cdn/chunks/chunk.HZLWIT3S.js +0 -21
  983. package/cdn/chunks/chunk.I4Q2CFPO.js +0 -21
  984. package/cdn/chunks/chunk.I5BKER64.js +0 -11
  985. package/cdn/chunks/chunk.I6P4HPHV.js +0 -21
  986. package/cdn/chunks/chunk.IRYMSFH4.js +0 -11
  987. package/cdn/chunks/chunk.IWMRZPIK.js +0 -402
  988. package/cdn/chunks/chunk.J46EOQRW.js +0 -24
  989. package/cdn/chunks/chunk.JBHFX2JV.js +0 -28
  990. package/cdn/chunks/chunk.JCFENQBO.js +0 -127
  991. package/cdn/chunks/chunk.JFIPKODS.js +0 -5845
  992. package/cdn/chunks/chunk.JHQRGUAN.js +0 -11
  993. package/cdn/chunks/chunk.JI2EGSO6.js +0 -21
  994. package/cdn/chunks/chunk.JIONFRHW.js +0 -75
  995. package/cdn/chunks/chunk.JLAJDFKN.js +0 -11
  996. package/cdn/chunks/chunk.JRODKDJ2.js +0 -42
  997. package/cdn/chunks/chunk.JTPXYE6K.js +0 -49
  998. package/cdn/chunks/chunk.JUDPWMX2.js +0 -11
  999. package/cdn/chunks/chunk.K26TU4DN.js +0 -1181
  1000. package/cdn/chunks/chunk.K2IH4QB2.js +0 -11
  1001. package/cdn/chunks/chunk.K2V24ZTR.js +0 -24
  1002. package/cdn/chunks/chunk.K4IR47IM.js +0 -24
  1003. package/cdn/chunks/chunk.KISAONYP.js +0 -291
  1004. package/cdn/chunks/chunk.KKBX3MJ2.js +0 -11
  1005. package/cdn/chunks/chunk.KMFBAAVR.js +0 -11
  1006. package/cdn/chunks/chunk.KQW7ZQZW.js +0 -11
  1007. package/cdn/chunks/chunk.KR4OOGD7.js +0 -216
  1008. package/cdn/chunks/chunk.KUKLOXZJ.js +0 -137
  1009. package/cdn/chunks/chunk.KZVNWVF7.js +0 -25
  1010. package/cdn/chunks/chunk.L46U6UZM.js +0 -158
  1011. package/cdn/chunks/chunk.L6HV4VRO.js +0 -26
  1012. package/cdn/chunks/chunk.L7VLW2WQ.js +0 -1925
  1013. package/cdn/chunks/chunk.LDG4FFOX.js +0 -11
  1014. package/cdn/chunks/chunk.LKMEPCL2.js +0 -21
  1015. package/cdn/chunks/chunk.LQIEXKGK.js +0 -11
  1016. package/cdn/chunks/chunk.LRBFK4GR.js +0 -177
  1017. package/cdn/chunks/chunk.M5R6FBCL.js +0 -271
  1018. package/cdn/chunks/chunk.MJSZGK7T.js +0 -11
  1019. package/cdn/chunks/chunk.MR2NWWCA.js +0 -11
  1020. package/cdn/chunks/chunk.MT2KSBAH.js +0 -25
  1021. package/cdn/chunks/chunk.N2RNVZD7.js +0 -25
  1022. package/cdn/chunks/chunk.NFM7ZX77.js +0 -11
  1023. package/cdn/chunks/chunk.NJLGMTW4.js +0 -24
  1024. package/cdn/chunks/chunk.NRAVVBKX.js +0 -21
  1025. package/cdn/chunks/chunk.NZAFZKU6.js +0 -24
  1026. package/cdn/chunks/chunk.NZQX4UVC.js +0 -29
  1027. package/cdn/chunks/chunk.OLVVKQWP.js +0 -24
  1028. package/cdn/chunks/chunk.OOEF6C2K.js +0 -11
  1029. package/cdn/chunks/chunk.ORVMZFZU.js +0 -11
  1030. package/cdn/chunks/chunk.PCYCQW35.js +0 -21
  1031. package/cdn/chunks/chunk.PICT22PW.js +0 -25
  1032. package/cdn/chunks/chunk.PK4DHQKJ.js +0 -50
  1033. package/cdn/chunks/chunk.PTZXUWKK.js +0 -11
  1034. package/cdn/chunks/chunk.PWT5JJFI.js +0 -135
  1035. package/cdn/chunks/chunk.PXQ34LBU.js +0 -292
  1036. package/cdn/chunks/chunk.Q6V7CTYH.js +0 -11
  1037. package/cdn/chunks/chunk.QHD25N4L.js +0 -11
  1038. package/cdn/chunks/chunk.QOH72IUF.js +0 -11
  1039. package/cdn/chunks/chunk.R7N6N4IK.js +0 -27
  1040. package/cdn/chunks/chunk.RBVCLAQN.js +0 -236
  1041. package/cdn/chunks/chunk.RKKDLDAI.js +0 -25
  1042. package/cdn/chunks/chunk.RNKSIYBN.js +0 -11
  1043. package/cdn/chunks/chunk.RNX2ADSU.js +0 -11
  1044. package/cdn/chunks/chunk.RVL7QXYS.js +0 -11
  1045. package/cdn/chunks/chunk.RWJZFB3L.js +0 -73
  1046. package/cdn/chunks/chunk.RYIRLOE3.js +0 -137
  1047. package/cdn/chunks/chunk.RZ53TTPQ.js +0 -342
  1048. package/cdn/chunks/chunk.SFOHQTA4.js +0 -11
  1049. package/cdn/chunks/chunk.SM7UENHY.js +0 -67
  1050. package/cdn/chunks/chunk.SUSX5BLS.js +0 -24
  1051. package/cdn/chunks/chunk.T6RV3AUR.js +0 -11
  1052. package/cdn/chunks/chunk.T7Y6A2WP.js +0 -21
  1053. package/cdn/chunks/chunk.TDCGQ2RC.js +0 -11
  1054. package/cdn/chunks/chunk.TE6EREJW.js +0 -28
  1055. package/cdn/chunks/chunk.TK5KQATK.js +0 -21
  1056. package/cdn/chunks/chunk.TN6KGAGG.js +0 -26
  1057. package/cdn/chunks/chunk.TNJW3BLX.js +0 -21
  1058. package/cdn/chunks/chunk.TNSHBL7H.js +0 -93
  1059. package/cdn/chunks/chunk.TSJTHAKY.js +0 -346
  1060. package/cdn/chunks/chunk.TSR2EZLM.js +0 -54
  1061. package/cdn/chunks/chunk.TT6BF5JB.js +0 -21
  1062. package/cdn/chunks/chunk.UDILPTSV.js +0 -233
  1063. package/cdn/chunks/chunk.UGLD2DPT.js +0 -120
  1064. package/cdn/chunks/chunk.URRPMAF5.js +0 -379
  1065. package/cdn/chunks/chunk.V4QRO32F.js +0 -11
  1066. package/cdn/chunks/chunk.VAZMDYBN.js +0 -97
  1067. package/cdn/chunks/chunk.VBRH7YUA.js +0 -21
  1068. package/cdn/chunks/chunk.VNZTCGEY.js +0 -21
  1069. package/cdn/chunks/chunk.VOA6THJP.js +0 -21
  1070. package/cdn/chunks/chunk.VWK5PYEH.js +0 -455
  1071. package/cdn/chunks/chunk.W2UMAW7J.js +0 -142
  1072. package/cdn/chunks/chunk.W5RGGQCC.js +0 -103
  1073. package/cdn/chunks/chunk.WBZGTQPS.js +0 -24
  1074. package/cdn/chunks/chunk.WCONL5LF.js +0 -27
  1075. package/cdn/chunks/chunk.WIAGL6S2.js +0 -1058
  1076. package/cdn/chunks/chunk.WICJO7HC.js +0 -197
  1077. package/cdn/chunks/chunk.WOWIXZNT.js +0 -11
  1078. package/cdn/chunks/chunk.WQ45OMHJ.js +0 -29
  1079. package/cdn/chunks/chunk.WS2W75PS.js +0 -27
  1080. package/cdn/chunks/chunk.WYXYMNG4.js +0 -24
  1081. package/cdn/chunks/chunk.X4OKVQND.js +0 -21
  1082. package/cdn/chunks/chunk.X545B26D.js +0 -11
  1083. package/cdn/chunks/chunk.XCUCDYSG.js +0 -118
  1084. package/cdn/chunks/chunk.XGT3GC6I.js +0 -21
  1085. package/cdn/chunks/chunk.XKAPNSQY.js +0 -87
  1086. package/cdn/chunks/chunk.XP5XNLHY.js +0 -11
  1087. package/cdn/chunks/chunk.XPH3HYDF.js +0 -77
  1088. package/cdn/chunks/chunk.XQB53FDS.js +0 -153
  1089. package/cdn/chunks/chunk.XZUQNSBB.js +0 -10
  1090. package/cdn/chunks/chunk.Y6DZ4EYG.js +0 -28
  1091. package/cdn/chunks/chunk.Y6JXDK7T.js +0 -27
  1092. package/cdn/chunks/chunk.Y7ELGLU2.js +0 -25
  1093. package/cdn/chunks/chunk.YDGWQWPS.js +0 -11
  1094. package/cdn/chunks/chunk.YQWRPIZU.js +0 -11
  1095. package/cdn/chunks/chunk.YVEHBK7B.js +0 -36
  1096. package/cdn/chunks/chunk.YWSZ7S5T.js +0 -25
  1097. package/cdn/chunks/chunk.Z7FEUFDR.js +0 -21
  1098. package/cdn/chunks/chunk.ZCH2HSQU.js +0 -11
  1099. package/cdn/chunks/chunk.ZEMO6IK7.js +0 -11
  1100. package/cdn/chunks/chunk.ZFLAXOIS.js +0 -49
  1101. package/cdn/chunks/chunk.ZG4UQTC6.js +0 -1990
  1102. package/cdn/chunks/chunk.ZNFQ6T3K.js +0 -11
  1103. package/dist/chunks/chunk.2BINLYOI.js +0 -147
  1104. package/dist/chunks/chunk.2BSQP4QD.js +0 -306
  1105. package/dist/chunks/chunk.2D4HHVSG.js +0 -21
  1106. package/dist/chunks/chunk.2IA6C64M.js +0 -22
  1107. package/dist/chunks/chunk.34H5UHTC.js +0 -134
  1108. package/dist/chunks/chunk.3A4NOYJ2.js +0 -361
  1109. package/dist/chunks/chunk.3DBTA74X.js +0 -231
  1110. package/dist/chunks/chunk.3G3HTSYD.js +0 -119
  1111. package/dist/chunks/chunk.3LQZGZQS.js +0 -11
  1112. package/dist/chunks/chunk.3XT5JKV2.js +0 -25
  1113. package/dist/chunks/chunk.43UZVBFV.js +0 -29
  1114. package/dist/chunks/chunk.4D7ZTCVS.js +0 -11
  1115. package/dist/chunks/chunk.4KKYO676.js +0 -11
  1116. package/dist/chunks/chunk.4RU5AWLF.js +0 -328
  1117. package/dist/chunks/chunk.4VL3QPZN.js +0 -85
  1118. package/dist/chunks/chunk.4YRHUWQJ.js +0 -11
  1119. package/dist/chunks/chunk.54PQUSBV.js +0 -27
  1120. package/dist/chunks/chunk.55KAF4HI.js +0 -11
  1121. package/dist/chunks/chunk.5DVDSPLW.js +0 -11
  1122. package/dist/chunks/chunk.5HNXE6VO.js +0 -11
  1123. package/dist/chunks/chunk.5PKJ5JGP.js +0 -11
  1124. package/dist/chunks/chunk.5TIEVFPW.js +0 -24
  1125. package/dist/chunks/chunk.5UU4O2OW.js +0 -11
  1126. package/dist/chunks/chunk.5V5FOVYW.js +0 -11
  1127. package/dist/chunks/chunk.65RPV74K.js +0 -11
  1128. package/dist/chunks/chunk.65U5J5N4.js +0 -24
  1129. package/dist/chunks/chunk.6BR7R47G.js +0 -25
  1130. package/dist/chunks/chunk.6CJNXI7L.js +0 -11
  1131. package/dist/chunks/chunk.6KKX6GGR.js +0 -11
  1132. package/dist/chunks/chunk.7C3SBUFW.js +0 -24
  1133. package/dist/chunks/chunk.7CCZCHEA.js +0 -315
  1134. package/dist/chunks/chunk.7FUZB3FM.js +0 -89
  1135. package/dist/chunks/chunk.7TBNG7QH.js +0 -11
  1136. package/dist/chunks/chunk.7YTBFE3L.js +0 -25
  1137. package/dist/chunks/chunk.AEEOFKEI.js +0 -75
  1138. package/dist/chunks/chunk.AKDKEN4K.js +0 -91
  1139. package/dist/chunks/chunk.AL3KKQ7S.js +0 -21
  1140. package/dist/chunks/chunk.AWML2ORU.js +0 -277
  1141. package/dist/chunks/chunk.B35YUIV6.js +0 -192
  1142. package/dist/chunks/chunk.B625EXTV.js +0 -227
  1143. package/dist/chunks/chunk.BHK3MAGD.js +0 -11
  1144. package/dist/chunks/chunk.BHRMRWG6.js +0 -21
  1145. package/dist/chunks/chunk.BI2DJN7V.js +0 -24
  1146. package/dist/chunks/chunk.BK532O5J.js +0 -21
  1147. package/dist/chunks/chunk.BNQGTWGN.js +0 -21
  1148. package/dist/chunks/chunk.BO2X5ZMQ.js +0 -11
  1149. package/dist/chunks/chunk.BOOB7ZDY.js +0 -11
  1150. package/dist/chunks/chunk.BWWO2OA2.js +0 -21
  1151. package/dist/chunks/chunk.C3LRRDYL.js +0 -213
  1152. package/dist/chunks/chunk.C6MJ5GD5.js +0 -50
  1153. package/dist/chunks/chunk.C7IZG4PY.js +0 -11
  1154. package/dist/chunks/chunk.CEQ2E64D.js +0 -25
  1155. package/dist/chunks/chunk.CJ7WPMEJ.js +0 -11
  1156. package/dist/chunks/chunk.CKP6CCOM.js +0 -27
  1157. package/dist/chunks/chunk.CQTEPHFU.js +0 -384
  1158. package/dist/chunks/chunk.CRX75ZFD.js +0 -21
  1159. package/dist/chunks/chunk.CSEENZAK.js +0 -132
  1160. package/dist/chunks/chunk.CZUJXCYB.js +0 -11
  1161. package/dist/chunks/chunk.D5KNVM2P.js +0 -90
  1162. package/dist/chunks/chunk.D5N2ZW72.js +0 -274
  1163. package/dist/chunks/chunk.D66RGQF2.js +0 -21
  1164. package/dist/chunks/chunk.DAIEQFF6.js +0 -22
  1165. package/dist/chunks/chunk.DEEBZOLB.js +0 -11
  1166. package/dist/chunks/chunk.DG5SFWFF.js +0 -21
  1167. package/dist/chunks/chunk.DGXPNZOK.js +0 -73
  1168. package/dist/chunks/chunk.DNOGZINF.js +0 -29
  1169. package/dist/chunks/chunk.DOQE3UEC.js +0 -11
  1170. package/dist/chunks/chunk.DOZ4AECL.js +0 -11
  1171. package/dist/chunks/chunk.DTQMOCM2.js +0 -338
  1172. package/dist/chunks/chunk.E3V3XLVG.js +0 -25
  1173. package/dist/chunks/chunk.E4OCSYIJ.js +0 -63
  1174. package/dist/chunks/chunk.EBD5HDMG.js +0 -21
  1175. package/dist/chunks/chunk.EEUI27HE.js +0 -21
  1176. package/dist/chunks/chunk.ELUKQF6A.js +0 -11
  1177. package/dist/chunks/chunk.EXKZU4YQ.js +0 -116
  1178. package/dist/chunks/chunk.EZFQCTCO.js +0 -25
  1179. package/dist/chunks/chunk.F2MJKLI5.js +0 -21
  1180. package/dist/chunks/chunk.F76GTWU3.js +0 -119
  1181. package/dist/chunks/chunk.FJNILBWN.js +0 -75
  1182. package/dist/chunks/chunk.FPOTUEA5.js +0 -28
  1183. package/dist/chunks/chunk.FQ2MZ5BN.js +0 -25
  1184. package/dist/chunks/chunk.FS7NXERY.js +0 -21
  1185. package/dist/chunks/chunk.FTS7TV2N.js +0 -11
  1186. package/dist/chunks/chunk.FY2ZXS6F.js +0 -117
  1187. package/dist/chunks/chunk.FZR6BKU2.js +0 -55
  1188. package/dist/chunks/chunk.GMDUN5A6.js +0 -100
  1189. package/dist/chunks/chunk.GQ2LYQDK.js +0 -27
  1190. package/dist/chunks/chunk.GXKPSSUK.js +0 -37
  1191. package/dist/chunks/chunk.GYN5WVOD.js +0 -21
  1192. package/dist/chunks/chunk.HBNF6HHX.js +0 -21
  1193. package/dist/chunks/chunk.HIA5D3XY.js +0 -25
  1194. package/dist/chunks/chunk.HKDQ7CO3.js +0 -167
  1195. package/dist/chunks/chunk.HPQAD2AR.js +0 -11
  1196. package/dist/chunks/chunk.I3VGG5HI.js +0 -113
  1197. package/dist/chunks/chunk.IA3ECTCP.js +0 -24
  1198. package/dist/chunks/chunk.IDUGGGW7.js +0 -11
  1199. package/dist/chunks/chunk.IEF3MZN4.js +0 -59
  1200. package/dist/chunks/chunk.IFALPITF.js +0 -35
  1201. package/dist/chunks/chunk.IL2H2WKX.js +0 -11
  1202. package/dist/chunks/chunk.IM3Y7QWK.js +0 -109
  1203. package/dist/chunks/chunk.IUR5UQCL.js +0 -27
  1204. package/dist/chunks/chunk.IW6KMFJU.js +0 -11
  1205. package/dist/chunks/chunk.JBW5KPLH.js +0 -21
  1206. package/dist/chunks/chunk.JJSYXQXL.js +0 -494
  1207. package/dist/chunks/chunk.JR55FCQJ.js +0 -1056
  1208. package/dist/chunks/chunk.JU3LZZRE.js +0 -181
  1209. package/dist/chunks/chunk.KGJZHEOK.js +0 -247
  1210. package/dist/chunks/chunk.KIM6B76U.js +0 -24
  1211. package/dist/chunks/chunk.KMYWGBOI.js +0 -11
  1212. package/dist/chunks/chunk.KPWY6RL4.js +0 -11
  1213. package/dist/chunks/chunk.KTSMVXKF.js +0 -417
  1214. package/dist/chunks/chunk.KWTJWZZX.js +0 -28
  1215. package/dist/chunks/chunk.L322A5HO.js +0 -45
  1216. package/dist/chunks/chunk.LJKZZ4EI.js +0 -24
  1217. package/dist/chunks/chunk.LJT5YHOY.js +0 -263
  1218. package/dist/chunks/chunk.LLDZL4LE.js +0 -25
  1219. package/dist/chunks/chunk.LNJK3H7R.js +0 -21
  1220. package/dist/chunks/chunk.LSYZ4HY6.js +0 -949
  1221. package/dist/chunks/chunk.M2AXCCZV.js +0 -11
  1222. package/dist/chunks/chunk.M4RRGVRJ.js +0 -11
  1223. package/dist/chunks/chunk.M5M4PQFV.js +0 -21
  1224. package/dist/chunks/chunk.M7VPD7XO.js +0 -42
  1225. package/dist/chunks/chunk.MAWF3EWY.js +0 -28
  1226. package/dist/chunks/chunk.MF4CE63B.js +0 -11
  1227. package/dist/chunks/chunk.MMA2ZWOJ.js +0 -174
  1228. package/dist/chunks/chunk.MXW3E66R.js +0 -126
  1229. package/dist/chunks/chunk.N7SFG5VQ.js +0 -28
  1230. package/dist/chunks/chunk.NCUQD3BI.js +0 -11
  1231. package/dist/chunks/chunk.NDZJBHSA.js +0 -100
  1232. package/dist/chunks/chunk.NGHBU5JL.js +0 -11
  1233. package/dist/chunks/chunk.NMS7WJWO.js +0 -11
  1234. package/dist/chunks/chunk.NQ55XHZV.js +0 -45
  1235. package/dist/chunks/chunk.O223QDOY.js +0 -80
  1236. package/dist/chunks/chunk.O24TDVAE.js +0 -11
  1237. package/dist/chunks/chunk.O6IQ3LNL.js +0 -214
  1238. package/dist/chunks/chunk.OCJCZILP.js +0 -11
  1239. package/dist/chunks/chunk.OGPMUZBE.js +0 -293
  1240. package/dist/chunks/chunk.OJQM7QV3.js +0 -11
  1241. package/dist/chunks/chunk.OKHZVDNY.js +0 -11
  1242. package/dist/chunks/chunk.OKWPLGRV.js +0 -24
  1243. package/dist/chunks/chunk.OZXB3DTP.js +0 -11
  1244. package/dist/chunks/chunk.P5TRMZLR.js +0 -11
  1245. package/dist/chunks/chunk.PDR7SFUQ.js +0 -112
  1246. package/dist/chunks/chunk.PKJ27UKI.js +0 -33
  1247. package/dist/chunks/chunk.Q2M3IRFY.js +0 -26
  1248. package/dist/chunks/chunk.Q4KHVJ4C.js +0 -11
  1249. package/dist/chunks/chunk.Q6OINTVG.js +0 -294
  1250. package/dist/chunks/chunk.QCRRRZGP.js +0 -11
  1251. package/dist/chunks/chunk.QINP5EUY.js +0 -11
  1252. package/dist/chunks/chunk.QJGZUH2Y.js +0 -29
  1253. package/dist/chunks/chunk.QMBOT4RV.js +0 -24
  1254. package/dist/chunks/chunk.QPSRZE4H.js +0 -11
  1255. package/dist/chunks/chunk.QQGKHCLI.js +0 -371
  1256. package/dist/chunks/chunk.QRRAVGY3.js +0 -448
  1257. package/dist/chunks/chunk.QTTCKVPV.js +0 -135
  1258. package/dist/chunks/chunk.QZEMPFMU.js +0 -11
  1259. package/dist/chunks/chunk.R2GZTDR3.js +0 -25
  1260. package/dist/chunks/chunk.R7ZISX7X.js +0 -93
  1261. package/dist/chunks/chunk.REUNBDYH.js +0 -550
  1262. package/dist/chunks/chunk.RFBLCSGH.js +0 -11
  1263. package/dist/chunks/chunk.RGECRYWH.js +0 -11
  1264. package/dist/chunks/chunk.RLKFPUZP.js +0 -337
  1265. package/dist/chunks/chunk.S2RYB3DV.js +0 -397
  1266. package/dist/chunks/chunk.SAHV25ZU.js +0 -96
  1267. package/dist/chunks/chunk.SBPQZUMZ.js +0 -21
  1268. package/dist/chunks/chunk.SCRZEJRA.js +0 -28
  1269. package/dist/chunks/chunk.SI7ZCWFM.js +0 -34
  1270. package/dist/chunks/chunk.TF7SCCGT.js +0 -27
  1271. package/dist/chunks/chunk.TFAUE26H.js +0 -27
  1272. package/dist/chunks/chunk.TFCUOTRH.js +0 -11
  1273. package/dist/chunks/chunk.TGM7PQOQ.js +0 -21
  1274. package/dist/chunks/chunk.TJMXWVKV.js +0 -111
  1275. package/dist/chunks/chunk.TK53DS33.js +0 -11
  1276. package/dist/chunks/chunk.TN4AGWC5.js +0 -24
  1277. package/dist/chunks/chunk.U4JAPFAI.js +0 -489
  1278. package/dist/chunks/chunk.U6HKP5PM.js +0 -11
  1279. package/dist/chunks/chunk.U7FQHFT6.js +0 -21
  1280. package/dist/chunks/chunk.UC7HGZ7Y.js +0 -11
  1281. package/dist/chunks/chunk.UEIGSM7G.js +0 -11
  1282. package/dist/chunks/chunk.UGQ2ABGB.js +0 -11
  1283. package/dist/chunks/chunk.URLMFGU3.js +0 -21
  1284. package/dist/chunks/chunk.V3SYWNCE.js +0 -46
  1285. package/dist/chunks/chunk.VCF7C3DO.js +0 -247
  1286. package/dist/chunks/chunk.VEBSCDJA.js +0 -11
  1287. package/dist/chunks/chunk.VGD6N4VS.js +0 -24
  1288. package/dist/chunks/chunk.VRX5HA6F.js +0 -568
  1289. package/dist/chunks/chunk.VRZZLQ3X.js +0 -21
  1290. package/dist/chunks/chunk.VTS2WKNY.js +0 -21
  1291. package/dist/chunks/chunk.VTVESY7M.js +0 -311
  1292. package/dist/chunks/chunk.W7FBZDC5.js +0 -11
  1293. package/dist/chunks/chunk.WABVKOTD.js +0 -67
  1294. package/dist/chunks/chunk.WFBHGOPY.js +0 -286
  1295. package/dist/chunks/chunk.WJ4UDJ5X.js +0 -11
  1296. package/dist/chunks/chunk.WL3B7OPS.js +0 -29
  1297. package/dist/chunks/chunk.WRYYOP5E.js +0 -151
  1298. package/dist/chunks/chunk.X7UGOVCQ.js +0 -252
  1299. package/dist/chunks/chunk.XCH2XJ4H.js +0 -11
  1300. package/dist/chunks/chunk.XDNVRNJ4.js +0 -26
  1301. package/dist/chunks/chunk.XLQZZINH.js +0 -280
  1302. package/dist/chunks/chunk.XO4YOCCI.js +0 -26
  1303. package/dist/chunks/chunk.XOB4NGOY.js +0 -711
  1304. package/dist/chunks/chunk.XRLAMWSE.js +0 -25
  1305. package/dist/chunks/chunk.XVAUGL7H.js +0 -28
  1306. package/dist/chunks/chunk.XZUQNSBB.js +0 -10
  1307. package/dist/chunks/chunk.YD2NIRZQ.js +0 -24
  1308. package/dist/chunks/chunk.YGFKPU5O.js +0 -24
  1309. package/dist/chunks/chunk.YIKIV6PG.js +0 -52
  1310. package/dist/chunks/chunk.YMVBZDIC.js +0 -11
  1311. package/dist/chunks/chunk.YT7MKC2G.js +0 -11
  1312. package/dist/chunks/chunk.YWMB2DRG.js +0 -21
  1313. package/dist/chunks/chunk.Z2MPXJPA.js +0 -814
  1314. package/dist/chunks/chunk.ZGLGFZOO.js +0 -11
  1315. package/dist/chunks/chunk.ZP3Y4K4L.js +0 -11
@@ -0,0 +1,2654 @@
1
+ import {
2
+ tableCommonCss
3
+ } from "./chunk.NYGQJUAI.js";
4
+ import {
5
+ spread_default
6
+ } from "./chunk.GRGYWQPR.js";
7
+ import {
8
+ flexRender
9
+ } from "./chunk.VK7KEYIH.js";
10
+ import {
11
+ getCommonPinningProps
12
+ } from "./chunk.6BPAJGHW.js";
13
+ import {
14
+ c,
15
+ renderColGroup
16
+ } from "./chunk.V6QY3NB5.js";
17
+ import {
18
+ getTableAlign,
19
+ getTableRect,
20
+ iterateStyles
21
+ } from "./chunk.UBEFQ5SQ.js";
22
+ import {
23
+ CUSTOM_ROW
24
+ } from "./chunk.NCE7XJQI.js";
25
+ import {
26
+ e as e2,
27
+ n as n2
28
+ } from "./chunk.G2YOMCHR.js";
29
+ import {
30
+ o
31
+ } from "./chunk.BJDNEBPV.js";
32
+ import {
33
+ e
34
+ } from "./chunk.VHCLMDG7.js";
35
+ import {
36
+ ShoelaceElement,
37
+ n,
38
+ r
39
+ } from "./chunk.QA2FJSHX.js";
40
+ import {
41
+ b
42
+ } from "./chunk.7WSF3BCU.js";
43
+ import {
44
+ __decorateClass,
45
+ __objRest
46
+ } from "./chunk.CZCSAYQZ.js";
47
+
48
+ // node_modules/sortablejs/modular/sortable.esm.js
49
+ function _defineProperty(e3, r2, t) {
50
+ return (r2 = _toPropertyKey(r2)) in e3 ? Object.defineProperty(e3, r2, {
51
+ value: t,
52
+ enumerable: true,
53
+ configurable: true,
54
+ writable: true
55
+ }) : e3[r2] = t, e3;
56
+ }
57
+ function _extends() {
58
+ return _extends = Object.assign ? Object.assign.bind() : function(n3) {
59
+ for (var e3 = 1; e3 < arguments.length; e3++) {
60
+ var t = arguments[e3];
61
+ for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n3[r2] = t[r2]);
62
+ }
63
+ return n3;
64
+ }, _extends.apply(null, arguments);
65
+ }
66
+ function ownKeys(e3, r2) {
67
+ var t = Object.keys(e3);
68
+ if (Object.getOwnPropertySymbols) {
69
+ var o2 = Object.getOwnPropertySymbols(e3);
70
+ r2 && (o2 = o2.filter(function(r3) {
71
+ return Object.getOwnPropertyDescriptor(e3, r3).enumerable;
72
+ })), t.push.apply(t, o2);
73
+ }
74
+ return t;
75
+ }
76
+ function _objectSpread2(e3) {
77
+ for (var r2 = 1; r2 < arguments.length; r2++) {
78
+ var t = null != arguments[r2] ? arguments[r2] : {};
79
+ r2 % 2 ? ownKeys(Object(t), true).forEach(function(r3) {
80
+ _defineProperty(e3, r3, t[r3]);
81
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r3) {
82
+ Object.defineProperty(e3, r3, Object.getOwnPropertyDescriptor(t, r3));
83
+ });
84
+ }
85
+ return e3;
86
+ }
87
+ function _objectWithoutProperties(e3, t) {
88
+ if (null == e3) return {};
89
+ var o2, r2, i = _objectWithoutPropertiesLoose(e3, t);
90
+ if (Object.getOwnPropertySymbols) {
91
+ var n3 = Object.getOwnPropertySymbols(e3);
92
+ for (r2 = 0; r2 < n3.length; r2++) o2 = n3[r2], -1 === t.indexOf(o2) && {}.propertyIsEnumerable.call(e3, o2) && (i[o2] = e3[o2]);
93
+ }
94
+ return i;
95
+ }
96
+ function _objectWithoutPropertiesLoose(r2, e3) {
97
+ if (null == r2) return {};
98
+ var t = {};
99
+ for (var n3 in r2) if ({}.hasOwnProperty.call(r2, n3)) {
100
+ if (-1 !== e3.indexOf(n3)) continue;
101
+ t[n3] = r2[n3];
102
+ }
103
+ return t;
104
+ }
105
+ function _toPrimitive(t, r2) {
106
+ if ("object" != typeof t || !t) return t;
107
+ var e3 = t[Symbol.toPrimitive];
108
+ if (void 0 !== e3) {
109
+ var i = e3.call(t, r2 || "default");
110
+ if ("object" != typeof i) return i;
111
+ throw new TypeError("@@toPrimitive must return a primitive value.");
112
+ }
113
+ return ("string" === r2 ? String : Number)(t);
114
+ }
115
+ function _toPropertyKey(t) {
116
+ var i = _toPrimitive(t, "string");
117
+ return "symbol" == typeof i ? i : i + "";
118
+ }
119
+ function _typeof(o2) {
120
+ "@babel/helpers - typeof";
121
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
122
+ return typeof o3;
123
+ } : function(o3) {
124
+ return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
125
+ }, _typeof(o2);
126
+ }
127
+ var version = "1.15.7";
128
+ function userAgent(pattern) {
129
+ if (typeof window !== "undefined" && window.navigator) {
130
+ return !!/* @__PURE__ */ navigator.userAgent.match(pattern);
131
+ }
132
+ }
133
+ var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
134
+ var Edge = userAgent(/Edge/i);
135
+ var FireFox = userAgent(/firefox/i);
136
+ var Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);
137
+ var IOS = userAgent(/iP(ad|od|hone)/i);
138
+ var ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);
139
+ var captureMode = {
140
+ capture: false,
141
+ passive: false
142
+ };
143
+ function on(el, event, fn) {
144
+ el.addEventListener(event, fn, !IE11OrLess && captureMode);
145
+ }
146
+ function off(el, event, fn) {
147
+ el.removeEventListener(event, fn, !IE11OrLess && captureMode);
148
+ }
149
+ function matches(el, selector) {
150
+ if (!selector) return;
151
+ selector[0] === ">" && (selector = selector.substring(1));
152
+ if (el) {
153
+ try {
154
+ if (el.matches) {
155
+ return el.matches(selector);
156
+ } else if (el.msMatchesSelector) {
157
+ return el.msMatchesSelector(selector);
158
+ } else if (el.webkitMatchesSelector) {
159
+ return el.webkitMatchesSelector(selector);
160
+ }
161
+ } catch (_) {
162
+ return false;
163
+ }
164
+ }
165
+ return false;
166
+ }
167
+ function getParentOrHost(el) {
168
+ return el.host && el !== document && el.host.nodeType && el.host !== el ? el.host : el.parentNode;
169
+ }
170
+ function closest(el, selector, ctx, includeCTX) {
171
+ if (el) {
172
+ ctx = ctx || document;
173
+ do {
174
+ if (selector != null && (selector[0] === ">" ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
175
+ return el;
176
+ }
177
+ if (el === ctx) break;
178
+ } while (el = getParentOrHost(el));
179
+ }
180
+ return null;
181
+ }
182
+ var R_SPACE = /\s+/g;
183
+ function toggleClass(el, name, state) {
184
+ if (el && name) {
185
+ if (el.classList) {
186
+ el.classList[state ? "add" : "remove"](name);
187
+ } else {
188
+ var className = (" " + el.className + " ").replace(R_SPACE, " ").replace(" " + name + " ", " ");
189
+ el.className = (className + (state ? " " + name : "")).replace(R_SPACE, " ");
190
+ }
191
+ }
192
+ }
193
+ function css(el, prop, val) {
194
+ var style = el && el.style;
195
+ if (style) {
196
+ if (val === void 0) {
197
+ if (document.defaultView && document.defaultView.getComputedStyle) {
198
+ val = document.defaultView.getComputedStyle(el, "");
199
+ } else if (el.currentStyle) {
200
+ val = el.currentStyle;
201
+ }
202
+ return prop === void 0 ? val : val[prop];
203
+ } else {
204
+ if (!(prop in style) && prop.indexOf("webkit") === -1) {
205
+ prop = "-webkit-" + prop;
206
+ }
207
+ style[prop] = val + (typeof val === "string" ? "" : "px");
208
+ }
209
+ }
210
+ }
211
+ function matrix(el, selfOnly) {
212
+ var appliedTransforms = "";
213
+ if (typeof el === "string") {
214
+ appliedTransforms = el;
215
+ } else {
216
+ do {
217
+ var transform = css(el, "transform");
218
+ if (transform && transform !== "none") {
219
+ appliedTransforms = transform + " " + appliedTransforms;
220
+ }
221
+ } while (!selfOnly && (el = el.parentNode));
222
+ }
223
+ var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
224
+ return matrixFn && new matrixFn(appliedTransforms);
225
+ }
226
+ function find(ctx, tagName, iterator) {
227
+ if (ctx) {
228
+ var list = ctx.getElementsByTagName(tagName), i = 0, n3 = list.length;
229
+ if (iterator) {
230
+ for (; i < n3; i++) {
231
+ iterator(list[i], i);
232
+ }
233
+ }
234
+ return list;
235
+ }
236
+ return [];
237
+ }
238
+ function getWindowScrollingElement() {
239
+ var scrollingElement = document.scrollingElement;
240
+ if (scrollingElement) {
241
+ return scrollingElement;
242
+ } else {
243
+ return document.documentElement;
244
+ }
245
+ }
246
+ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
247
+ if (!el.getBoundingClientRect && el !== window) return;
248
+ var elRect, top, left, bottom, right, height, width;
249
+ if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
250
+ elRect = el.getBoundingClientRect();
251
+ top = elRect.top;
252
+ left = elRect.left;
253
+ bottom = elRect.bottom;
254
+ right = elRect.right;
255
+ height = elRect.height;
256
+ width = elRect.width;
257
+ } else {
258
+ top = 0;
259
+ left = 0;
260
+ bottom = window.innerHeight;
261
+ right = window.innerWidth;
262
+ height = window.innerHeight;
263
+ width = window.innerWidth;
264
+ }
265
+ if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
266
+ container = container || el.parentNode;
267
+ if (!IE11OrLess) {
268
+ do {
269
+ if (container && container.getBoundingClientRect && (css(container, "transform") !== "none" || relativeToNonStaticParent && css(container, "position") !== "static")) {
270
+ var containerRect = container.getBoundingClientRect();
271
+ top -= containerRect.top + parseInt(css(container, "border-top-width"));
272
+ left -= containerRect.left + parseInt(css(container, "border-left-width"));
273
+ bottom = top + elRect.height;
274
+ right = left + elRect.width;
275
+ break;
276
+ }
277
+ } while (container = container.parentNode);
278
+ }
279
+ }
280
+ if (undoScale && el !== window) {
281
+ var elMatrix = matrix(container || el), scaleX = elMatrix && elMatrix.a, scaleY = elMatrix && elMatrix.d;
282
+ if (elMatrix) {
283
+ top /= scaleY;
284
+ left /= scaleX;
285
+ width /= scaleX;
286
+ height /= scaleY;
287
+ bottom = top + height;
288
+ right = left + width;
289
+ }
290
+ }
291
+ return {
292
+ top,
293
+ left,
294
+ bottom,
295
+ right,
296
+ width,
297
+ height
298
+ };
299
+ }
300
+ function isScrolledPast(el, elSide, parentSide) {
301
+ var parent = getParentAutoScrollElement(el, true), elSideVal = getRect(el)[elSide];
302
+ while (parent) {
303
+ var parentSideVal = getRect(parent)[parentSide], visible = void 0;
304
+ if (parentSide === "top" || parentSide === "left") {
305
+ visible = elSideVal >= parentSideVal;
306
+ } else {
307
+ visible = elSideVal <= parentSideVal;
308
+ }
309
+ if (!visible) return parent;
310
+ if (parent === getWindowScrollingElement()) break;
311
+ parent = getParentAutoScrollElement(parent, false);
312
+ }
313
+ return false;
314
+ }
315
+ function getChild(el, childNum, options, includeDragEl) {
316
+ var currentChild = 0, i = 0, children = el.children;
317
+ while (i < children.length) {
318
+ if (children[i].style.display !== "none" && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
319
+ if (currentChild === childNum) {
320
+ return children[i];
321
+ }
322
+ currentChild++;
323
+ }
324
+ i++;
325
+ }
326
+ return null;
327
+ }
328
+ function lastChild(el, selector) {
329
+ var last = el.lastElementChild;
330
+ while (last && (last === Sortable.ghost || css(last, "display") === "none" || selector && !matches(last, selector))) {
331
+ last = last.previousElementSibling;
332
+ }
333
+ return last || null;
334
+ }
335
+ function index(el, selector) {
336
+ var index2 = 0;
337
+ if (!el || !el.parentNode) {
338
+ return -1;
339
+ }
340
+ while (el = el.previousElementSibling) {
341
+ if (el.nodeName.toUpperCase() !== "TEMPLATE" && el !== Sortable.clone && (!selector || matches(el, selector))) {
342
+ index2++;
343
+ }
344
+ }
345
+ return index2;
346
+ }
347
+ function getRelativeScrollOffset(el) {
348
+ var offsetLeft = 0, offsetTop = 0, winScroller = getWindowScrollingElement();
349
+ if (el) {
350
+ do {
351
+ var elMatrix = matrix(el), scaleX = elMatrix.a, scaleY = elMatrix.d;
352
+ offsetLeft += el.scrollLeft * scaleX;
353
+ offsetTop += el.scrollTop * scaleY;
354
+ } while (el !== winScroller && (el = el.parentNode));
355
+ }
356
+ return [offsetLeft, offsetTop];
357
+ }
358
+ function indexOfObject(arr, obj) {
359
+ for (var i in arr) {
360
+ if (!arr.hasOwnProperty(i)) continue;
361
+ for (var key in obj) {
362
+ if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);
363
+ }
364
+ }
365
+ return -1;
366
+ }
367
+ function getParentAutoScrollElement(el, includeSelf) {
368
+ if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();
369
+ var elem = el;
370
+ var gotSelf = false;
371
+ do {
372
+ if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
373
+ var elemCSS = css(elem);
374
+ if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == "auto" || elemCSS.overflowX == "scroll") || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == "auto" || elemCSS.overflowY == "scroll")) {
375
+ if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();
376
+ if (gotSelf || includeSelf) return elem;
377
+ gotSelf = true;
378
+ }
379
+ }
380
+ } while (elem = elem.parentNode);
381
+ return getWindowScrollingElement();
382
+ }
383
+ function extend(dst, src) {
384
+ if (dst && src) {
385
+ for (var key in src) {
386
+ if (src.hasOwnProperty(key)) {
387
+ dst[key] = src[key];
388
+ }
389
+ }
390
+ }
391
+ return dst;
392
+ }
393
+ function isRectEqual(rect1, rect2) {
394
+ 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);
395
+ }
396
+ var _throttleTimeout;
397
+ function throttle(callback, ms) {
398
+ return function() {
399
+ if (!_throttleTimeout) {
400
+ var args = arguments, _this = this;
401
+ if (args.length === 1) {
402
+ callback.call(_this, args[0]);
403
+ } else {
404
+ callback.apply(_this, args);
405
+ }
406
+ _throttleTimeout = setTimeout(function() {
407
+ _throttleTimeout = void 0;
408
+ }, ms);
409
+ }
410
+ };
411
+ }
412
+ function cancelThrottle() {
413
+ clearTimeout(_throttleTimeout);
414
+ _throttleTimeout = void 0;
415
+ }
416
+ function scrollBy(el, x, y) {
417
+ el.scrollLeft += x;
418
+ el.scrollTop += y;
419
+ }
420
+ function clone(el) {
421
+ var Polymer = window.Polymer;
422
+ var $ = window.jQuery || window.Zepto;
423
+ if (Polymer && Polymer.dom) {
424
+ return Polymer.dom(el).cloneNode(true);
425
+ } else if ($) {
426
+ return $(el).clone(true)[0];
427
+ } else {
428
+ return el.cloneNode(true);
429
+ }
430
+ }
431
+ function getChildContainingRectFromElement(container, options, ghostEl2) {
432
+ var rect = {};
433
+ Array.from(container.children).forEach(function(child) {
434
+ var _rect$left, _rect$top, _rect$right, _rect$bottom;
435
+ if (!closest(child, options.draggable, container, false) || child.animated || child === ghostEl2) return;
436
+ var childRect = getRect(child);
437
+ rect.left = Math.min((_rect$left = rect.left) !== null && _rect$left !== void 0 ? _rect$left : Infinity, childRect.left);
438
+ rect.top = Math.min((_rect$top = rect.top) !== null && _rect$top !== void 0 ? _rect$top : Infinity, childRect.top);
439
+ rect.right = Math.max((_rect$right = rect.right) !== null && _rect$right !== void 0 ? _rect$right : -Infinity, childRect.right);
440
+ rect.bottom = Math.max((_rect$bottom = rect.bottom) !== null && _rect$bottom !== void 0 ? _rect$bottom : -Infinity, childRect.bottom);
441
+ });
442
+ rect.width = rect.right - rect.left;
443
+ rect.height = rect.bottom - rect.top;
444
+ rect.x = rect.left;
445
+ rect.y = rect.top;
446
+ return rect;
447
+ }
448
+ var expando = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
449
+ function AnimationStateManager() {
450
+ var animationStates = [], animationCallbackId;
451
+ return {
452
+ captureAnimationState: function captureAnimationState() {
453
+ animationStates = [];
454
+ if (!this.options.animation) return;
455
+ var children = [].slice.call(this.el.children);
456
+ children.forEach(function(child) {
457
+ if (css(child, "display") === "none" || child === Sortable.ghost) return;
458
+ animationStates.push({
459
+ target: child,
460
+ rect: getRect(child)
461
+ });
462
+ var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect);
463
+ if (child.thisAnimationDuration) {
464
+ var childMatrix = matrix(child, true);
465
+ if (childMatrix) {
466
+ fromRect.top -= childMatrix.f;
467
+ fromRect.left -= childMatrix.e;
468
+ }
469
+ }
470
+ child.fromRect = fromRect;
471
+ });
472
+ },
473
+ addAnimationState: function addAnimationState(state) {
474
+ animationStates.push(state);
475
+ },
476
+ removeAnimationState: function removeAnimationState(target) {
477
+ animationStates.splice(indexOfObject(animationStates, {
478
+ target
479
+ }), 1);
480
+ },
481
+ animateAll: function animateAll(callback) {
482
+ var _this = this;
483
+ if (!this.options.animation) {
484
+ clearTimeout(animationCallbackId);
485
+ if (typeof callback === "function") callback();
486
+ return;
487
+ }
488
+ var animating = false, animationTime = 0;
489
+ animationStates.forEach(function(state) {
490
+ 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);
491
+ if (targetMatrix) {
492
+ toRect.top -= targetMatrix.f;
493
+ toRect.left -= targetMatrix.e;
494
+ }
495
+ target.toRect = toRect;
496
+ if (target.thisAnimationDuration) {
497
+ if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) && // Make sure animatingRect is on line between toRect & fromRect
498
+ (animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
499
+ time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);
500
+ }
501
+ }
502
+ if (!isRectEqual(toRect, fromRect)) {
503
+ target.prevFromRect = fromRect;
504
+ target.prevToRect = toRect;
505
+ if (!time) {
506
+ time = _this.options.animation;
507
+ }
508
+ _this.animate(target, animatingRect, toRect, time);
509
+ }
510
+ if (time) {
511
+ animating = true;
512
+ animationTime = Math.max(animationTime, time);
513
+ clearTimeout(target.animationResetTimer);
514
+ target.animationResetTimer = setTimeout(function() {
515
+ target.animationTime = 0;
516
+ target.prevFromRect = null;
517
+ target.fromRect = null;
518
+ target.prevToRect = null;
519
+ target.thisAnimationDuration = null;
520
+ }, time);
521
+ target.thisAnimationDuration = time;
522
+ }
523
+ });
524
+ clearTimeout(animationCallbackId);
525
+ if (!animating) {
526
+ if (typeof callback === "function") callback();
527
+ } else {
528
+ animationCallbackId = setTimeout(function() {
529
+ if (typeof callback === "function") callback();
530
+ }, animationTime);
531
+ }
532
+ animationStates = [];
533
+ },
534
+ animate: function animate(target, currentRect, toRect, duration) {
535
+ if (duration) {
536
+ css(target, "transition", "");
537
+ css(target, "transform", "");
538
+ 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);
539
+ target.animatingX = !!translateX;
540
+ target.animatingY = !!translateY;
541
+ css(target, "transform", "translate3d(" + translateX + "px," + translateY + "px,0)");
542
+ this.forRepaintDummy = repaint(target);
543
+ css(target, "transition", "transform " + duration + "ms" + (this.options.easing ? " " + this.options.easing : ""));
544
+ css(target, "transform", "translate3d(0,0,0)");
545
+ typeof target.animated === "number" && clearTimeout(target.animated);
546
+ target.animated = setTimeout(function() {
547
+ css(target, "transition", "");
548
+ css(target, "transform", "");
549
+ target.animated = false;
550
+ target.animatingX = false;
551
+ target.animatingY = false;
552
+ }, duration);
553
+ }
554
+ }
555
+ };
556
+ }
557
+ function repaint(target) {
558
+ return target.offsetWidth;
559
+ }
560
+ function calculateRealTime(animatingRect, fromRect, toRect, options) {
561
+ 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;
562
+ }
563
+ var plugins = [];
564
+ var defaults = {
565
+ initializeByDefault: true
566
+ };
567
+ var PluginManager = {
568
+ mount: function mount(plugin) {
569
+ for (var option2 in defaults) {
570
+ if (defaults.hasOwnProperty(option2) && !(option2 in plugin)) {
571
+ plugin[option2] = defaults[option2];
572
+ }
573
+ }
574
+ plugins.forEach(function(p) {
575
+ if (p.pluginName === plugin.pluginName) {
576
+ throw "Sortable: Cannot mount plugin ".concat(plugin.pluginName, " more than once");
577
+ }
578
+ });
579
+ plugins.push(plugin);
580
+ },
581
+ pluginEvent: function pluginEvent(eventName, sortable, evt) {
582
+ var _this = this;
583
+ this.eventCanceled = false;
584
+ evt.cancel = function() {
585
+ _this.eventCanceled = true;
586
+ };
587
+ var eventNameGlobal = eventName + "Global";
588
+ plugins.forEach(function(plugin) {
589
+ if (!sortable[plugin.pluginName]) return;
590
+ if (sortable[plugin.pluginName][eventNameGlobal]) {
591
+ sortable[plugin.pluginName][eventNameGlobal](_objectSpread2({
592
+ sortable
593
+ }, evt));
594
+ }
595
+ if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
596
+ sortable[plugin.pluginName][eventName](_objectSpread2({
597
+ sortable
598
+ }, evt));
599
+ }
600
+ });
601
+ },
602
+ initializePlugins: function initializePlugins(sortable, el, defaults2, options) {
603
+ plugins.forEach(function(plugin) {
604
+ var pluginName = plugin.pluginName;
605
+ if (!sortable.options[pluginName] && !plugin.initializeByDefault) return;
606
+ var initialized = new plugin(sortable, el, sortable.options);
607
+ initialized.sortable = sortable;
608
+ initialized.options = sortable.options;
609
+ sortable[pluginName] = initialized;
610
+ _extends(defaults2, initialized.defaults);
611
+ });
612
+ for (var option2 in sortable.options) {
613
+ if (!sortable.options.hasOwnProperty(option2)) continue;
614
+ var modified = this.modifyOption(sortable, option2, sortable.options[option2]);
615
+ if (typeof modified !== "undefined") {
616
+ sortable.options[option2] = modified;
617
+ }
618
+ }
619
+ },
620
+ getEventProperties: function getEventProperties(name, sortable) {
621
+ var eventProperties = {};
622
+ plugins.forEach(function(plugin) {
623
+ if (typeof plugin.eventProperties !== "function") return;
624
+ _extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
625
+ });
626
+ return eventProperties;
627
+ },
628
+ modifyOption: function modifyOption(sortable, name, value) {
629
+ var modifiedValue;
630
+ plugins.forEach(function(plugin) {
631
+ if (!sortable[plugin.pluginName]) return;
632
+ if (plugin.optionListeners && typeof plugin.optionListeners[name] === "function") {
633
+ modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
634
+ }
635
+ });
636
+ return modifiedValue;
637
+ }
638
+ };
639
+ function dispatchEvent(_ref) {
640
+ 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;
641
+ sortable = sortable || rootEl2 && rootEl2[expando];
642
+ if (!sortable) return;
643
+ var evt, options = sortable.options, onName = "on" + name.charAt(0).toUpperCase() + name.substr(1);
644
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
645
+ evt = new CustomEvent(name, {
646
+ bubbles: true,
647
+ cancelable: true
648
+ });
649
+ } else {
650
+ evt = document.createEvent("Event");
651
+ evt.initEvent(name, true, true);
652
+ }
653
+ evt.to = toEl || rootEl2;
654
+ evt.from = fromEl || rootEl2;
655
+ evt.item = targetEl || rootEl2;
656
+ evt.clone = cloneEl2;
657
+ evt.oldIndex = oldIndex2;
658
+ evt.newIndex = newIndex2;
659
+ evt.oldDraggableIndex = oldDraggableIndex2;
660
+ evt.newDraggableIndex = newDraggableIndex2;
661
+ evt.originalEvent = originalEvent;
662
+ evt.pullMode = putSortable2 ? putSortable2.lastPutMode : void 0;
663
+ var allEventProperties = _objectSpread2(_objectSpread2({}, extraEventProperties), PluginManager.getEventProperties(name, sortable));
664
+ for (var option2 in allEventProperties) {
665
+ evt[option2] = allEventProperties[option2];
666
+ }
667
+ if (rootEl2) {
668
+ rootEl2.dispatchEvent(evt);
669
+ }
670
+ if (options[onName]) {
671
+ options[onName].call(sortable, evt);
672
+ }
673
+ }
674
+ var _excluded = ["evt"];
675
+ var pluginEvent2 = function pluginEvent3(eventName, sortable) {
676
+ var _ref = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, originalEvent = _ref.evt, data = _objectWithoutProperties(_ref, _excluded);
677
+ PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread2({
678
+ dragEl,
679
+ parentEl,
680
+ ghostEl,
681
+ rootEl,
682
+ nextEl,
683
+ lastDownEl,
684
+ cloneEl,
685
+ cloneHidden,
686
+ dragStarted: moved,
687
+ putSortable,
688
+ activeSortable: Sortable.active,
689
+ originalEvent,
690
+ oldIndex,
691
+ oldDraggableIndex,
692
+ newIndex,
693
+ newDraggableIndex,
694
+ hideGhostForTarget: _hideGhostForTarget,
695
+ unhideGhostForTarget: _unhideGhostForTarget,
696
+ cloneNowHidden: function cloneNowHidden() {
697
+ cloneHidden = true;
698
+ },
699
+ cloneNowShown: function cloneNowShown() {
700
+ cloneHidden = false;
701
+ },
702
+ dispatchSortableEvent: function dispatchSortableEvent(name) {
703
+ _dispatchEvent({
704
+ sortable,
705
+ name,
706
+ originalEvent
707
+ });
708
+ }
709
+ }, data));
710
+ };
711
+ function _dispatchEvent(info) {
712
+ dispatchEvent(_objectSpread2({
713
+ putSortable,
714
+ cloneEl,
715
+ targetEl: dragEl,
716
+ rootEl,
717
+ oldIndex,
718
+ oldDraggableIndex,
719
+ newIndex,
720
+ newDraggableIndex
721
+ }, info));
722
+ }
723
+ var dragEl;
724
+ var parentEl;
725
+ var ghostEl;
726
+ var rootEl;
727
+ var nextEl;
728
+ var lastDownEl;
729
+ var cloneEl;
730
+ var cloneHidden;
731
+ var oldIndex;
732
+ var newIndex;
733
+ var oldDraggableIndex;
734
+ var newDraggableIndex;
735
+ var activeGroup;
736
+ var putSortable;
737
+ var awaitingDragStarted = false;
738
+ var ignoreNextClick = false;
739
+ var sortables = [];
740
+ var tapEvt;
741
+ var touchEvt;
742
+ var lastDx;
743
+ var lastDy;
744
+ var tapDistanceLeft;
745
+ var tapDistanceTop;
746
+ var moved;
747
+ var lastTarget;
748
+ var lastDirection;
749
+ var pastFirstInvertThresh = false;
750
+ var isCircumstantialInvert = false;
751
+ var targetMoveDistance;
752
+ var ghostRelativeParent;
753
+ var ghostRelativeParentInitialScroll = [];
754
+ var _silent = false;
755
+ var savedInputChecked = [];
756
+ var documentExists = typeof document !== "undefined";
757
+ var PositionGhostAbsolutely = IOS;
758
+ var CSSFloatProperty = Edge || IE11OrLess ? "cssFloat" : "float";
759
+ var supportDraggable = documentExists && !ChromeForAndroid && !IOS && "draggable" in document.createElement("div");
760
+ var supportCssPointerEvents = function() {
761
+ if (!documentExists) return;
762
+ if (IE11OrLess) {
763
+ return false;
764
+ }
765
+ var el = document.createElement("x");
766
+ el.style.cssText = "pointer-events:auto";
767
+ return el.style.pointerEvents === "auto";
768
+ }();
769
+ var _detectDirection = function _detectDirection2(el, options) {
770
+ 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;
771
+ if (elCSS.display === "flex") {
772
+ return elCSS.flexDirection === "column" || elCSS.flexDirection === "column-reverse" ? "vertical" : "horizontal";
773
+ }
774
+ if (elCSS.display === "grid") {
775
+ return elCSS.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
776
+ }
777
+ if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== "none") {
778
+ var touchingSideChild2 = firstChildCSS["float"] === "left" ? "left" : "right";
779
+ return child2 && (secondChildCSS.clear === "both" || secondChildCSS.clear === touchingSideChild2) ? "vertical" : "horizontal";
780
+ }
781
+ 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";
782
+ };
783
+ var _dragElInRowColumn = function _dragElInRowColumn2(dragRect, targetRect, vertical) {
784
+ 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;
785
+ return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
786
+ };
787
+ var _detectNearestEmptySortable = function _detectNearestEmptySortable2(x, y) {
788
+ var ret;
789
+ sortables.some(function(sortable) {
790
+ var threshold = sortable[expando].options.emptyInsertThreshold;
791
+ if (!threshold || lastChild(sortable)) return;
792
+ var rect = getRect(sortable), insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold, insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
793
+ if (insideHorizontally && insideVertically) {
794
+ return ret = sortable;
795
+ }
796
+ });
797
+ return ret;
798
+ };
799
+ var _prepareGroup = function _prepareGroup2(options) {
800
+ function toFn(value, pull) {
801
+ return function(to, from, dragEl2, evt) {
802
+ var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
803
+ if (value == null && (pull || sameGroup)) {
804
+ return true;
805
+ } else if (value == null || value === false) {
806
+ return false;
807
+ } else if (pull && value === "clone") {
808
+ return value;
809
+ } else if (typeof value === "function") {
810
+ return toFn(value(to, from, dragEl2, evt), pull)(to, from, dragEl2, evt);
811
+ } else {
812
+ var otherGroup = (pull ? to : from).options.group.name;
813
+ return value === true || typeof value === "string" && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
814
+ }
815
+ };
816
+ }
817
+ var group = {};
818
+ var originalGroup = options.group;
819
+ if (!originalGroup || _typeof(originalGroup) != "object") {
820
+ originalGroup = {
821
+ name: originalGroup
822
+ };
823
+ }
824
+ group.name = originalGroup.name;
825
+ group.checkPull = toFn(originalGroup.pull, true);
826
+ group.checkPut = toFn(originalGroup.put);
827
+ group.revertClone = originalGroup.revertClone;
828
+ options.group = group;
829
+ };
830
+ var _hideGhostForTarget = function _hideGhostForTarget2() {
831
+ if (!supportCssPointerEvents && ghostEl) {
832
+ css(ghostEl, "display", "none");
833
+ }
834
+ };
835
+ var _unhideGhostForTarget = function _unhideGhostForTarget2() {
836
+ if (!supportCssPointerEvents && ghostEl) {
837
+ css(ghostEl, "display", "");
838
+ }
839
+ };
840
+ if (documentExists && !ChromeForAndroid) {
841
+ document.addEventListener("click", function(evt) {
842
+ if (ignoreNextClick) {
843
+ evt.preventDefault();
844
+ evt.stopPropagation && evt.stopPropagation();
845
+ evt.stopImmediatePropagation && evt.stopImmediatePropagation();
846
+ ignoreNextClick = false;
847
+ return false;
848
+ }
849
+ }, true);
850
+ }
851
+ var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent2(evt) {
852
+ if (dragEl) {
853
+ evt = evt.touches ? evt.touches[0] : evt;
854
+ var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
855
+ if (nearest) {
856
+ var event = {};
857
+ for (var i in evt) {
858
+ if (evt.hasOwnProperty(i)) {
859
+ event[i] = evt[i];
860
+ }
861
+ }
862
+ event.target = event.rootEl = nearest;
863
+ event.preventDefault = void 0;
864
+ event.stopPropagation = void 0;
865
+ nearest[expando]._onDragOver(event);
866
+ }
867
+ }
868
+ };
869
+ var _checkOutsideTargetEl = function _checkOutsideTargetEl2(evt) {
870
+ if (dragEl) {
871
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
872
+ }
873
+ };
874
+ function Sortable(el, options) {
875
+ if (!(el && el.nodeType && el.nodeType === 1)) {
876
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(el));
877
+ }
878
+ this.el = el;
879
+ this.options = options = _extends({}, options);
880
+ el[expando] = this;
881
+ var defaults2 = {
882
+ group: null,
883
+ sort: true,
884
+ disabled: false,
885
+ store: null,
886
+ handle: null,
887
+ draggable: /^[uo]l$/i.test(el.nodeName) ? ">li" : ">*",
888
+ swapThreshold: 1,
889
+ // percentage; 0 <= x <= 1
890
+ invertSwap: false,
891
+ // invert always
892
+ invertedSwapThreshold: null,
893
+ // will be set to same as swapThreshold if default
894
+ removeCloneOnHide: true,
895
+ direction: function direction() {
896
+ return _detectDirection(el, this.options);
897
+ },
898
+ ghostClass: "sortable-ghost",
899
+ chosenClass: "sortable-chosen",
900
+ dragClass: "sortable-drag",
901
+ ignore: "a, img",
902
+ filter: null,
903
+ preventOnFilter: true,
904
+ animation: 0,
905
+ easing: null,
906
+ setData: function setData(dataTransfer, dragEl2) {
907
+ dataTransfer.setData("Text", dragEl2.textContent);
908
+ },
909
+ dropBubble: false,
910
+ dragoverBubble: false,
911
+ dataIdAttr: "data-id",
912
+ delay: 0,
913
+ delayOnTouchOnly: false,
914
+ touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
915
+ forceFallback: false,
916
+ fallbackClass: "sortable-fallback",
917
+ fallbackOnBody: false,
918
+ fallbackTolerance: 0,
919
+ fallbackOffset: {
920
+ x: 0,
921
+ y: 0
922
+ },
923
+ // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
924
+ supportPointer: Sortable.supportPointer !== false && "PointerEvent" in window && (!Safari || IOS),
925
+ emptyInsertThreshold: 5
926
+ };
927
+ PluginManager.initializePlugins(this, el, defaults2);
928
+ for (var name in defaults2) {
929
+ !(name in options) && (options[name] = defaults2[name]);
930
+ }
931
+ _prepareGroup(options);
932
+ for (var fn in this) {
933
+ if (fn.charAt(0) === "_" && typeof this[fn] === "function") {
934
+ this[fn] = this[fn].bind(this);
935
+ }
936
+ }
937
+ this.nativeDraggable = options.forceFallback ? false : supportDraggable;
938
+ if (this.nativeDraggable) {
939
+ this.options.touchStartThreshold = 1;
940
+ }
941
+ if (options.supportPointer) {
942
+ on(el, "pointerdown", this._onTapStart);
943
+ } else {
944
+ on(el, "mousedown", this._onTapStart);
945
+ on(el, "touchstart", this._onTapStart);
946
+ }
947
+ if (this.nativeDraggable) {
948
+ on(el, "dragover", this);
949
+ on(el, "dragenter", this);
950
+ }
951
+ sortables.push(this.el);
952
+ options.store && options.store.get && this.sort(options.store.get(this) || []);
953
+ _extends(this, AnimationStateManager());
954
+ }
955
+ Sortable.prototype = /** @lends Sortable.prototype */
956
+ {
957
+ constructor: Sortable,
958
+ _isOutsideThisEl: function _isOutsideThisEl(target) {
959
+ if (!this.el.contains(target) && target !== this.el) {
960
+ lastTarget = null;
961
+ }
962
+ },
963
+ _getDirection: function _getDirection(evt, target) {
964
+ return typeof this.options.direction === "function" ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
965
+ },
966
+ _onTapStart: function _onTapStart(evt) {
967
+ if (!evt.cancelable) return;
968
+ 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;
969
+ _saveInputCheckedState(el);
970
+ if (dragEl) {
971
+ return;
972
+ }
973
+ if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
974
+ return;
975
+ }
976
+ if (originalTarget.isContentEditable) {
977
+ return;
978
+ }
979
+ if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === "SELECT") {
980
+ return;
981
+ }
982
+ target = closest(target, options.draggable, el, false);
983
+ if (target && target.animated) {
984
+ return;
985
+ }
986
+ if (lastDownEl === target) {
987
+ return;
988
+ }
989
+ oldIndex = index(target);
990
+ oldDraggableIndex = index(target, options.draggable);
991
+ if (typeof filter === "function") {
992
+ if (filter.call(this, evt, target, this)) {
993
+ _dispatchEvent({
994
+ sortable: _this,
995
+ rootEl: originalTarget,
996
+ name: "filter",
997
+ targetEl: target,
998
+ toEl: el,
999
+ fromEl: el
1000
+ });
1001
+ pluginEvent2("filter", _this, {
1002
+ evt
1003
+ });
1004
+ preventOnFilter && evt.preventDefault();
1005
+ return;
1006
+ }
1007
+ } else if (filter) {
1008
+ filter = filter.split(",").some(function(criteria) {
1009
+ criteria = closest(originalTarget, criteria.trim(), el, false);
1010
+ if (criteria) {
1011
+ _dispatchEvent({
1012
+ sortable: _this,
1013
+ rootEl: criteria,
1014
+ name: "filter",
1015
+ targetEl: target,
1016
+ fromEl: el,
1017
+ toEl: el
1018
+ });
1019
+ pluginEvent2("filter", _this, {
1020
+ evt
1021
+ });
1022
+ return true;
1023
+ }
1024
+ });
1025
+ if (filter) {
1026
+ preventOnFilter && evt.preventDefault();
1027
+ return;
1028
+ }
1029
+ }
1030
+ if (options.handle && !closest(originalTarget, options.handle, el, false)) {
1031
+ return;
1032
+ }
1033
+ this._prepareDragStart(evt, touch, target);
1034
+ },
1035
+ _prepareDragStart: function _prepareDragStart(evt, touch, target) {
1036
+ var _this = this, el = _this.el, options = _this.options, ownerDocument = el.ownerDocument, dragStartFn;
1037
+ if (target && !dragEl && target.parentNode === el) {
1038
+ var dragRect = getRect(target);
1039
+ rootEl = el;
1040
+ dragEl = target;
1041
+ parentEl = dragEl.parentNode;
1042
+ nextEl = dragEl.nextSibling;
1043
+ lastDownEl = target;
1044
+ activeGroup = options.group;
1045
+ Sortable.dragged = dragEl;
1046
+ tapEvt = {
1047
+ target: dragEl,
1048
+ clientX: (touch || evt).clientX,
1049
+ clientY: (touch || evt).clientY
1050
+ };
1051
+ tapDistanceLeft = tapEvt.clientX - dragRect.left;
1052
+ tapDistanceTop = tapEvt.clientY - dragRect.top;
1053
+ this._lastX = (touch || evt).clientX;
1054
+ this._lastY = (touch || evt).clientY;
1055
+ dragEl.style["will-change"] = "all";
1056
+ dragStartFn = function dragStartFn2() {
1057
+ pluginEvent2("delayEnded", _this, {
1058
+ evt
1059
+ });
1060
+ if (Sortable.eventCanceled) {
1061
+ _this._onDrop();
1062
+ return;
1063
+ }
1064
+ _this._disableDelayedDragEvents();
1065
+ if (!FireFox && _this.nativeDraggable) {
1066
+ dragEl.draggable = true;
1067
+ }
1068
+ _this._triggerDragStart(evt, touch);
1069
+ _dispatchEvent({
1070
+ sortable: _this,
1071
+ name: "choose",
1072
+ originalEvent: evt
1073
+ });
1074
+ toggleClass(dragEl, options.chosenClass, true);
1075
+ };
1076
+ options.ignore.split(",").forEach(function(criteria) {
1077
+ find(dragEl, criteria.trim(), _disableDraggable);
1078
+ });
1079
+ on(ownerDocument, "dragover", nearestEmptyInsertDetectEvent);
1080
+ on(ownerDocument, "mousemove", nearestEmptyInsertDetectEvent);
1081
+ on(ownerDocument, "touchmove", nearestEmptyInsertDetectEvent);
1082
+ if (options.supportPointer) {
1083
+ on(ownerDocument, "pointerup", _this._onDrop);
1084
+ !this.nativeDraggable && on(ownerDocument, "pointercancel", _this._onDrop);
1085
+ } else {
1086
+ on(ownerDocument, "mouseup", _this._onDrop);
1087
+ on(ownerDocument, "touchend", _this._onDrop);
1088
+ on(ownerDocument, "touchcancel", _this._onDrop);
1089
+ }
1090
+ if (FireFox && this.nativeDraggable) {
1091
+ this.options.touchStartThreshold = 4;
1092
+ dragEl.draggable = true;
1093
+ }
1094
+ pluginEvent2("delayStart", this, {
1095
+ evt
1096
+ });
1097
+ if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
1098
+ if (Sortable.eventCanceled) {
1099
+ this._onDrop();
1100
+ return;
1101
+ }
1102
+ if (options.supportPointer) {
1103
+ on(ownerDocument, "pointerup", _this._disableDelayedDrag);
1104
+ on(ownerDocument, "pointercancel", _this._disableDelayedDrag);
1105
+ } else {
1106
+ on(ownerDocument, "mouseup", _this._disableDelayedDrag);
1107
+ on(ownerDocument, "touchend", _this._disableDelayedDrag);
1108
+ on(ownerDocument, "touchcancel", _this._disableDelayedDrag);
1109
+ }
1110
+ on(ownerDocument, "mousemove", _this._delayedDragTouchMoveHandler);
1111
+ on(ownerDocument, "touchmove", _this._delayedDragTouchMoveHandler);
1112
+ options.supportPointer && on(ownerDocument, "pointermove", _this._delayedDragTouchMoveHandler);
1113
+ _this._dragStartTimer = setTimeout(dragStartFn, options.delay);
1114
+ } else {
1115
+ dragStartFn();
1116
+ }
1117
+ }
1118
+ },
1119
+ _delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler(e3) {
1120
+ var touch = e3.touches ? e3.touches[0] : e3;
1121
+ 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))) {
1122
+ this._disableDelayedDrag();
1123
+ }
1124
+ },
1125
+ _disableDelayedDrag: function _disableDelayedDrag() {
1126
+ dragEl && _disableDraggable(dragEl);
1127
+ clearTimeout(this._dragStartTimer);
1128
+ this._disableDelayedDragEvents();
1129
+ },
1130
+ _disableDelayedDragEvents: function _disableDelayedDragEvents() {
1131
+ var ownerDocument = this.el.ownerDocument;
1132
+ off(ownerDocument, "mouseup", this._disableDelayedDrag);
1133
+ off(ownerDocument, "touchend", this._disableDelayedDrag);
1134
+ off(ownerDocument, "touchcancel", this._disableDelayedDrag);
1135
+ off(ownerDocument, "pointerup", this._disableDelayedDrag);
1136
+ off(ownerDocument, "pointercancel", this._disableDelayedDrag);
1137
+ off(ownerDocument, "mousemove", this._delayedDragTouchMoveHandler);
1138
+ off(ownerDocument, "touchmove", this._delayedDragTouchMoveHandler);
1139
+ off(ownerDocument, "pointermove", this._delayedDragTouchMoveHandler);
1140
+ },
1141
+ _triggerDragStart: function _triggerDragStart(evt, touch) {
1142
+ touch = touch || evt.pointerType == "touch" && evt;
1143
+ if (!this.nativeDraggable || touch) {
1144
+ if (this.options.supportPointer) {
1145
+ on(document, "pointermove", this._onTouchMove);
1146
+ } else if (touch) {
1147
+ on(document, "touchmove", this._onTouchMove);
1148
+ } else {
1149
+ on(document, "mousemove", this._onTouchMove);
1150
+ }
1151
+ } else {
1152
+ on(dragEl, "dragend", this);
1153
+ on(rootEl, "dragstart", this._onDragStart);
1154
+ }
1155
+ try {
1156
+ if (document.selection) {
1157
+ _nextTick(function() {
1158
+ document.selection.empty();
1159
+ });
1160
+ } else {
1161
+ window.getSelection().removeAllRanges();
1162
+ }
1163
+ } catch (err) {
1164
+ }
1165
+ },
1166
+ _dragStarted: function _dragStarted(fallback, evt) {
1167
+ awaitingDragStarted = false;
1168
+ if (rootEl && dragEl) {
1169
+ pluginEvent2("dragStarted", this, {
1170
+ evt
1171
+ });
1172
+ if (this.nativeDraggable) {
1173
+ on(document, "dragover", _checkOutsideTargetEl);
1174
+ }
1175
+ var options = this.options;
1176
+ !fallback && toggleClass(dragEl, options.dragClass, false);
1177
+ toggleClass(dragEl, options.ghostClass, true);
1178
+ Sortable.active = this;
1179
+ fallback && this._appendGhost();
1180
+ _dispatchEvent({
1181
+ sortable: this,
1182
+ name: "start",
1183
+ originalEvent: evt
1184
+ });
1185
+ } else {
1186
+ this._nulling();
1187
+ }
1188
+ },
1189
+ _emulateDragOver: function _emulateDragOver() {
1190
+ if (touchEvt) {
1191
+ this._lastX = touchEvt.clientX;
1192
+ this._lastY = touchEvt.clientY;
1193
+ _hideGhostForTarget();
1194
+ var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1195
+ var parent = target;
1196
+ while (target && target.shadowRoot) {
1197
+ target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1198
+ if (target === parent) break;
1199
+ parent = target;
1200
+ }
1201
+ dragEl.parentNode[expando]._isOutsideThisEl(target);
1202
+ if (parent) {
1203
+ do {
1204
+ if (parent[expando]) {
1205
+ var inserted = void 0;
1206
+ inserted = parent[expando]._onDragOver({
1207
+ clientX: touchEvt.clientX,
1208
+ clientY: touchEvt.clientY,
1209
+ target,
1210
+ rootEl: parent
1211
+ });
1212
+ if (inserted && !this.options.dragoverBubble) {
1213
+ break;
1214
+ }
1215
+ }
1216
+ target = parent;
1217
+ } while (parent = getParentOrHost(parent));
1218
+ }
1219
+ _unhideGhostForTarget();
1220
+ }
1221
+ },
1222
+ _onTouchMove: function _onTouchMove(evt) {
1223
+ if (tapEvt) {
1224
+ 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);
1225
+ if (!Sortable.active && !awaitingDragStarted) {
1226
+ if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
1227
+ return;
1228
+ }
1229
+ this._onDragStart(evt, true);
1230
+ }
1231
+ if (ghostEl) {
1232
+ if (ghostMatrix) {
1233
+ ghostMatrix.e += dx - (lastDx || 0);
1234
+ ghostMatrix.f += dy - (lastDy || 0);
1235
+ } else {
1236
+ ghostMatrix = {
1237
+ a: 1,
1238
+ b: 0,
1239
+ c: 0,
1240
+ d: 1,
1241
+ e: dx,
1242
+ f: dy
1243
+ };
1244
+ }
1245
+ var cssMatrix = "matrix(".concat(ghostMatrix.a, ",").concat(ghostMatrix.b, ",").concat(ghostMatrix.c, ",").concat(ghostMatrix.d, ",").concat(ghostMatrix.e, ",").concat(ghostMatrix.f, ")");
1246
+ css(ghostEl, "webkitTransform", cssMatrix);
1247
+ css(ghostEl, "mozTransform", cssMatrix);
1248
+ css(ghostEl, "msTransform", cssMatrix);
1249
+ css(ghostEl, "transform", cssMatrix);
1250
+ lastDx = dx;
1251
+ lastDy = dy;
1252
+ touchEvt = touch;
1253
+ }
1254
+ evt.cancelable && evt.preventDefault();
1255
+ }
1256
+ },
1257
+ _appendGhost: function _appendGhost() {
1258
+ if (!ghostEl) {
1259
+ var container = this.options.fallbackOnBody ? document.body : rootEl, rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container), options = this.options;
1260
+ if (PositionGhostAbsolutely) {
1261
+ ghostRelativeParent = container;
1262
+ while (css(ghostRelativeParent, "position") === "static" && css(ghostRelativeParent, "transform") === "none" && ghostRelativeParent !== document) {
1263
+ ghostRelativeParent = ghostRelativeParent.parentNode;
1264
+ }
1265
+ if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
1266
+ if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
1267
+ rect.top += ghostRelativeParent.scrollTop;
1268
+ rect.left += ghostRelativeParent.scrollLeft;
1269
+ } else {
1270
+ ghostRelativeParent = getWindowScrollingElement();
1271
+ }
1272
+ ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
1273
+ }
1274
+ ghostEl = dragEl.cloneNode(true);
1275
+ toggleClass(ghostEl, options.ghostClass, false);
1276
+ toggleClass(ghostEl, options.fallbackClass, true);
1277
+ toggleClass(ghostEl, options.dragClass, true);
1278
+ css(ghostEl, "transition", "");
1279
+ css(ghostEl, "transform", "");
1280
+ css(ghostEl, "box-sizing", "border-box");
1281
+ css(ghostEl, "margin", 0);
1282
+ css(ghostEl, "top", rect.top);
1283
+ css(ghostEl, "left", rect.left);
1284
+ css(ghostEl, "width", rect.width);
1285
+ css(ghostEl, "height", rect.height);
1286
+ css(ghostEl, "opacity", "0.8");
1287
+ css(ghostEl, "position", PositionGhostAbsolutely ? "absolute" : "fixed");
1288
+ css(ghostEl, "zIndex", "100000");
1289
+ css(ghostEl, "pointerEvents", "none");
1290
+ Sortable.ghost = ghostEl;
1291
+ container.appendChild(ghostEl);
1292
+ css(ghostEl, "transform-origin", tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + "% " + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + "%");
1293
+ }
1294
+ },
1295
+ _onDragStart: function _onDragStart(evt, fallback) {
1296
+ var _this = this;
1297
+ var dataTransfer = evt.dataTransfer;
1298
+ var options = _this.options;
1299
+ pluginEvent2("dragStart", this, {
1300
+ evt
1301
+ });
1302
+ if (Sortable.eventCanceled) {
1303
+ this._onDrop();
1304
+ return;
1305
+ }
1306
+ pluginEvent2("setupClone", this);
1307
+ if (!Sortable.eventCanceled) {
1308
+ cloneEl = clone(dragEl);
1309
+ cloneEl.removeAttribute("id");
1310
+ cloneEl.draggable = false;
1311
+ cloneEl.style["will-change"] = "";
1312
+ this._hideClone();
1313
+ toggleClass(cloneEl, this.options.chosenClass, false);
1314
+ Sortable.clone = cloneEl;
1315
+ }
1316
+ _this.cloneId = _nextTick(function() {
1317
+ pluginEvent2("clone", _this);
1318
+ if (Sortable.eventCanceled) return;
1319
+ if (!_this.options.removeCloneOnHide) {
1320
+ rootEl.insertBefore(cloneEl, dragEl);
1321
+ }
1322
+ _this._hideClone();
1323
+ _dispatchEvent({
1324
+ sortable: _this,
1325
+ name: "clone"
1326
+ });
1327
+ });
1328
+ !fallback && toggleClass(dragEl, options.dragClass, true);
1329
+ if (fallback) {
1330
+ ignoreNextClick = true;
1331
+ _this._loopId = setInterval(_this._emulateDragOver, 50);
1332
+ } else {
1333
+ off(document, "mouseup", _this._onDrop);
1334
+ off(document, "touchend", _this._onDrop);
1335
+ off(document, "touchcancel", _this._onDrop);
1336
+ if (dataTransfer) {
1337
+ dataTransfer.effectAllowed = "move";
1338
+ options.setData && options.setData.call(_this, dataTransfer, dragEl);
1339
+ }
1340
+ on(document, "drop", _this);
1341
+ css(dragEl, "transform", "translateZ(0)");
1342
+ }
1343
+ awaitingDragStarted = true;
1344
+ _this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
1345
+ on(document, "selectstart", _this);
1346
+ moved = true;
1347
+ window.getSelection().removeAllRanges();
1348
+ if (Safari) {
1349
+ css(document.body, "user-select", "none");
1350
+ }
1351
+ },
1352
+ // Returns true - if no further action is needed (either inserted or another condition)
1353
+ _onDragOver: function _onDragOver(evt) {
1354
+ 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;
1355
+ if (_silent) return;
1356
+ function dragOverEvent(name, extra) {
1357
+ pluginEvent2(name, _this, _objectSpread2({
1358
+ evt,
1359
+ isOwner,
1360
+ axis: vertical ? "vertical" : "horizontal",
1361
+ revert,
1362
+ dragRect,
1363
+ targetRect,
1364
+ canSort,
1365
+ fromSortable,
1366
+ target,
1367
+ completed,
1368
+ onMove: function onMove(target2, after2) {
1369
+ return _onMove(rootEl, el, dragEl, dragRect, target2, getRect(target2), evt, after2);
1370
+ },
1371
+ changed
1372
+ }, extra));
1373
+ }
1374
+ function capture() {
1375
+ dragOverEvent("dragOverAnimationCapture");
1376
+ _this.captureAnimationState();
1377
+ if (_this !== fromSortable) {
1378
+ fromSortable.captureAnimationState();
1379
+ }
1380
+ }
1381
+ function completed(insertion) {
1382
+ dragOverEvent("dragOverCompleted", {
1383
+ insertion
1384
+ });
1385
+ if (insertion) {
1386
+ if (isOwner) {
1387
+ activeSortable._hideClone();
1388
+ } else {
1389
+ activeSortable._showClone(_this);
1390
+ }
1391
+ if (_this !== fromSortable) {
1392
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
1393
+ toggleClass(dragEl, options.ghostClass, true);
1394
+ }
1395
+ if (putSortable !== _this && _this !== Sortable.active) {
1396
+ putSortable = _this;
1397
+ } else if (_this === Sortable.active && putSortable) {
1398
+ putSortable = null;
1399
+ }
1400
+ if (fromSortable === _this) {
1401
+ _this._ignoreWhileAnimating = target;
1402
+ }
1403
+ _this.animateAll(function() {
1404
+ dragOverEvent("dragOverAnimationComplete");
1405
+ _this._ignoreWhileAnimating = null;
1406
+ });
1407
+ if (_this !== fromSortable) {
1408
+ fromSortable.animateAll();
1409
+ fromSortable._ignoreWhileAnimating = null;
1410
+ }
1411
+ }
1412
+ if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
1413
+ lastTarget = null;
1414
+ }
1415
+ if (!options.dragoverBubble && !evt.rootEl && target !== document) {
1416
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
1417
+ !insertion && nearestEmptyInsertDetectEvent(evt);
1418
+ }
1419
+ !options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
1420
+ return completedFired = true;
1421
+ }
1422
+ function changed() {
1423
+ newIndex = index(dragEl);
1424
+ newDraggableIndex = index(dragEl, options.draggable);
1425
+ _dispatchEvent({
1426
+ sortable: _this,
1427
+ name: "change",
1428
+ toEl: el,
1429
+ newIndex,
1430
+ newDraggableIndex,
1431
+ originalEvent: evt
1432
+ });
1433
+ }
1434
+ if (evt.preventDefault !== void 0) {
1435
+ evt.cancelable && evt.preventDefault();
1436
+ }
1437
+ target = closest(target, options.draggable, el, true);
1438
+ dragOverEvent("dragOver");
1439
+ if (Sortable.eventCanceled) return completedFired;
1440
+ if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
1441
+ return completed(false);
1442
+ }
1443
+ ignoreNextClick = false;
1444
+ 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))) {
1445
+ vertical = this._getDirection(evt, target) === "vertical";
1446
+ dragRect = getRect(dragEl);
1447
+ dragOverEvent("dragOverValid");
1448
+ if (Sortable.eventCanceled) return completedFired;
1449
+ if (revert) {
1450
+ parentEl = rootEl;
1451
+ capture();
1452
+ this._hideClone();
1453
+ dragOverEvent("revert");
1454
+ if (!Sortable.eventCanceled) {
1455
+ if (nextEl) {
1456
+ rootEl.insertBefore(dragEl, nextEl);
1457
+ } else {
1458
+ rootEl.appendChild(dragEl);
1459
+ }
1460
+ }
1461
+ return completed(true);
1462
+ }
1463
+ var elLastChild = lastChild(el, options.draggable);
1464
+ if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
1465
+ if (elLastChild === dragEl) {
1466
+ return completed(false);
1467
+ }
1468
+ if (elLastChild && el === evt.target) {
1469
+ target = elLastChild;
1470
+ }
1471
+ if (target) {
1472
+ targetRect = getRect(target);
1473
+ }
1474
+ if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
1475
+ capture();
1476
+ if (elLastChild && elLastChild.nextSibling) {
1477
+ el.insertBefore(dragEl, elLastChild.nextSibling);
1478
+ } else {
1479
+ el.appendChild(dragEl);
1480
+ }
1481
+ parentEl = el;
1482
+ changed();
1483
+ return completed(true);
1484
+ }
1485
+ } else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
1486
+ var firstChild = getChild(el, 0, options, true);
1487
+ if (firstChild === dragEl) {
1488
+ return completed(false);
1489
+ }
1490
+ target = firstChild;
1491
+ targetRect = getRect(target);
1492
+ if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
1493
+ capture();
1494
+ el.insertBefore(dragEl, firstChild);
1495
+ parentEl = el;
1496
+ changed();
1497
+ return completed(true);
1498
+ }
1499
+ } else if (target.parentNode === el) {
1500
+ targetRect = getRect(target);
1501
+ 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;
1502
+ if (lastTarget !== target) {
1503
+ targetBeforeFirstSwap = targetRect[side1];
1504
+ pastFirstInvertThresh = false;
1505
+ isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
1506
+ }
1507
+ direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
1508
+ var sibling;
1509
+ if (direction !== 0) {
1510
+ var dragIndex = index(dragEl);
1511
+ do {
1512
+ dragIndex -= direction;
1513
+ sibling = parentEl.children[dragIndex];
1514
+ } while (sibling && (css(sibling, "display") === "none" || sibling === ghostEl));
1515
+ }
1516
+ if (direction === 0 || sibling === target) {
1517
+ return completed(false);
1518
+ }
1519
+ lastTarget = target;
1520
+ lastDirection = direction;
1521
+ var nextSibling = target.nextElementSibling, after = false;
1522
+ after = direction === 1;
1523
+ var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
1524
+ if (moveVector !== false) {
1525
+ if (moveVector === 1 || moveVector === -1) {
1526
+ after = moveVector === 1;
1527
+ }
1528
+ _silent = true;
1529
+ setTimeout(_unsilent, 30);
1530
+ capture();
1531
+ if (after && !nextSibling) {
1532
+ el.appendChild(dragEl);
1533
+ } else {
1534
+ target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
1535
+ }
1536
+ if (scrolledPastTop) {
1537
+ scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
1538
+ }
1539
+ parentEl = dragEl.parentNode;
1540
+ if (targetBeforeFirstSwap !== void 0 && !isCircumstantialInvert) {
1541
+ targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
1542
+ }
1543
+ changed();
1544
+ return completed(true);
1545
+ }
1546
+ }
1547
+ if (el.contains(dragEl)) {
1548
+ return completed(false);
1549
+ }
1550
+ }
1551
+ return false;
1552
+ },
1553
+ _ignoreWhileAnimating: null,
1554
+ _offMoveEvents: function _offMoveEvents() {
1555
+ off(document, "mousemove", this._onTouchMove);
1556
+ off(document, "touchmove", this._onTouchMove);
1557
+ off(document, "pointermove", this._onTouchMove);
1558
+ off(document, "dragover", nearestEmptyInsertDetectEvent);
1559
+ off(document, "mousemove", nearestEmptyInsertDetectEvent);
1560
+ off(document, "touchmove", nearestEmptyInsertDetectEvent);
1561
+ },
1562
+ _offUpEvents: function _offUpEvents() {
1563
+ var ownerDocument = this.el.ownerDocument;
1564
+ off(ownerDocument, "mouseup", this._onDrop);
1565
+ off(ownerDocument, "touchend", this._onDrop);
1566
+ off(ownerDocument, "pointerup", this._onDrop);
1567
+ off(ownerDocument, "pointercancel", this._onDrop);
1568
+ off(ownerDocument, "touchcancel", this._onDrop);
1569
+ off(document, "selectstart", this);
1570
+ },
1571
+ _onDrop: function _onDrop(evt) {
1572
+ var el = this.el, options = this.options;
1573
+ newIndex = index(dragEl);
1574
+ newDraggableIndex = index(dragEl, options.draggable);
1575
+ pluginEvent2("drop", this, {
1576
+ evt
1577
+ });
1578
+ parentEl = dragEl && dragEl.parentNode;
1579
+ newIndex = index(dragEl);
1580
+ newDraggableIndex = index(dragEl, options.draggable);
1581
+ if (Sortable.eventCanceled) {
1582
+ this._nulling();
1583
+ return;
1584
+ }
1585
+ awaitingDragStarted = false;
1586
+ isCircumstantialInvert = false;
1587
+ pastFirstInvertThresh = false;
1588
+ clearInterval(this._loopId);
1589
+ clearTimeout(this._dragStartTimer);
1590
+ _cancelNextTick(this.cloneId);
1591
+ _cancelNextTick(this._dragStartId);
1592
+ if (this.nativeDraggable) {
1593
+ off(document, "drop", this);
1594
+ off(el, "dragstart", this._onDragStart);
1595
+ }
1596
+ this._offMoveEvents();
1597
+ this._offUpEvents();
1598
+ if (Safari) {
1599
+ css(document.body, "user-select", "");
1600
+ }
1601
+ css(dragEl, "transform", "");
1602
+ if (evt) {
1603
+ if (moved) {
1604
+ evt.cancelable && evt.preventDefault();
1605
+ !options.dropBubble && evt.stopPropagation();
1606
+ }
1607
+ ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
1608
+ if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== "clone") {
1609
+ cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
1610
+ }
1611
+ if (dragEl) {
1612
+ if (this.nativeDraggable) {
1613
+ off(dragEl, "dragend", this);
1614
+ }
1615
+ _disableDraggable(dragEl);
1616
+ dragEl.style["will-change"] = "";
1617
+ if (moved && !awaitingDragStarted) {
1618
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
1619
+ }
1620
+ toggleClass(dragEl, this.options.chosenClass, false);
1621
+ _dispatchEvent({
1622
+ sortable: this,
1623
+ name: "unchoose",
1624
+ toEl: parentEl,
1625
+ newIndex: null,
1626
+ newDraggableIndex: null,
1627
+ originalEvent: evt
1628
+ });
1629
+ if (rootEl !== parentEl) {
1630
+ if (newIndex >= 0) {
1631
+ _dispatchEvent({
1632
+ rootEl: parentEl,
1633
+ name: "add",
1634
+ toEl: parentEl,
1635
+ fromEl: rootEl,
1636
+ originalEvent: evt
1637
+ });
1638
+ _dispatchEvent({
1639
+ sortable: this,
1640
+ name: "remove",
1641
+ toEl: parentEl,
1642
+ originalEvent: evt
1643
+ });
1644
+ _dispatchEvent({
1645
+ rootEl: parentEl,
1646
+ name: "sort",
1647
+ toEl: parentEl,
1648
+ fromEl: rootEl,
1649
+ originalEvent: evt
1650
+ });
1651
+ _dispatchEvent({
1652
+ sortable: this,
1653
+ name: "sort",
1654
+ toEl: parentEl,
1655
+ originalEvent: evt
1656
+ });
1657
+ }
1658
+ putSortable && putSortable.save();
1659
+ } else {
1660
+ if (newIndex !== oldIndex) {
1661
+ if (newIndex >= 0) {
1662
+ _dispatchEvent({
1663
+ sortable: this,
1664
+ name: "update",
1665
+ toEl: parentEl,
1666
+ originalEvent: evt
1667
+ });
1668
+ _dispatchEvent({
1669
+ sortable: this,
1670
+ name: "sort",
1671
+ toEl: parentEl,
1672
+ originalEvent: evt
1673
+ });
1674
+ }
1675
+ }
1676
+ }
1677
+ if (Sortable.active) {
1678
+ if (newIndex == null || newIndex === -1) {
1679
+ newIndex = oldIndex;
1680
+ newDraggableIndex = oldDraggableIndex;
1681
+ }
1682
+ _dispatchEvent({
1683
+ sortable: this,
1684
+ name: "end",
1685
+ toEl: parentEl,
1686
+ originalEvent: evt
1687
+ });
1688
+ this.save();
1689
+ }
1690
+ }
1691
+ }
1692
+ this._nulling();
1693
+ },
1694
+ _nulling: function _nulling() {
1695
+ pluginEvent2("nulling", this);
1696
+ 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;
1697
+ var el = this.el;
1698
+ savedInputChecked.forEach(function(checkEl) {
1699
+ if (el.contains(checkEl)) {
1700
+ checkEl.checked = true;
1701
+ }
1702
+ });
1703
+ savedInputChecked.length = lastDx = lastDy = 0;
1704
+ },
1705
+ handleEvent: function handleEvent(evt) {
1706
+ switch (evt.type) {
1707
+ case "drop":
1708
+ case "dragend":
1709
+ this._onDrop(evt);
1710
+ break;
1711
+ case "dragenter":
1712
+ case "dragover":
1713
+ if (dragEl) {
1714
+ this._onDragOver(evt);
1715
+ _globalDragOver(evt);
1716
+ }
1717
+ break;
1718
+ case "selectstart":
1719
+ evt.preventDefault();
1720
+ break;
1721
+ }
1722
+ },
1723
+ /**
1724
+ * Serializes the item into an array of string.
1725
+ * @returns {String[]}
1726
+ */
1727
+ toArray: function toArray() {
1728
+ var order = [], el, children = this.el.children, i = 0, n3 = children.length, options = this.options;
1729
+ for (; i < n3; i++) {
1730
+ el = children[i];
1731
+ if (closest(el, options.draggable, this.el, false)) {
1732
+ order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
1733
+ }
1734
+ }
1735
+ return order;
1736
+ },
1737
+ /**
1738
+ * Sorts the elements according to the array.
1739
+ * @param {String[]} order order of the items
1740
+ */
1741
+ sort: function sort(order, useAnimation) {
1742
+ var items = {}, rootEl2 = this.el;
1743
+ this.toArray().forEach(function(id, i) {
1744
+ var el = rootEl2.children[i];
1745
+ if (closest(el, this.options.draggable, rootEl2, false)) {
1746
+ items[id] = el;
1747
+ }
1748
+ }, this);
1749
+ useAnimation && this.captureAnimationState();
1750
+ order.forEach(function(id) {
1751
+ if (items[id]) {
1752
+ rootEl2.removeChild(items[id]);
1753
+ rootEl2.appendChild(items[id]);
1754
+ }
1755
+ });
1756
+ useAnimation && this.animateAll();
1757
+ },
1758
+ /**
1759
+ * Save the current sorting
1760
+ */
1761
+ save: function save() {
1762
+ var store = this.options.store;
1763
+ store && store.set && store.set(this);
1764
+ },
1765
+ /**
1766
+ * 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.
1767
+ * @param {HTMLElement} el
1768
+ * @param {String} [selector] default: `options.draggable`
1769
+ * @returns {HTMLElement|null}
1770
+ */
1771
+ closest: function closest$1(el, selector) {
1772
+ return closest(el, selector || this.options.draggable, this.el, false);
1773
+ },
1774
+ /**
1775
+ * Set/get option
1776
+ * @param {string} name
1777
+ * @param {*} [value]
1778
+ * @returns {*}
1779
+ */
1780
+ option: function option(name, value) {
1781
+ var options = this.options;
1782
+ if (value === void 0) {
1783
+ return options[name];
1784
+ } else {
1785
+ var modifiedValue = PluginManager.modifyOption(this, name, value);
1786
+ if (typeof modifiedValue !== "undefined") {
1787
+ options[name] = modifiedValue;
1788
+ } else {
1789
+ options[name] = value;
1790
+ }
1791
+ if (name === "group") {
1792
+ _prepareGroup(options);
1793
+ }
1794
+ }
1795
+ },
1796
+ /**
1797
+ * Destroy
1798
+ */
1799
+ destroy: function destroy() {
1800
+ pluginEvent2("destroy", this);
1801
+ var el = this.el;
1802
+ el[expando] = null;
1803
+ off(el, "mousedown", this._onTapStart);
1804
+ off(el, "touchstart", this._onTapStart);
1805
+ off(el, "pointerdown", this._onTapStart);
1806
+ if (this.nativeDraggable) {
1807
+ off(el, "dragover", this);
1808
+ off(el, "dragenter", this);
1809
+ }
1810
+ Array.prototype.forEach.call(el.querySelectorAll("[draggable]"), function(el2) {
1811
+ el2.removeAttribute("draggable");
1812
+ });
1813
+ this._onDrop();
1814
+ this._disableDelayedDragEvents();
1815
+ sortables.splice(sortables.indexOf(this.el), 1);
1816
+ this.el = el = null;
1817
+ },
1818
+ _hideClone: function _hideClone() {
1819
+ if (!cloneHidden) {
1820
+ pluginEvent2("hideClone", this);
1821
+ if (Sortable.eventCanceled) return;
1822
+ css(cloneEl, "display", "none");
1823
+ if (this.options.removeCloneOnHide && cloneEl.parentNode) {
1824
+ cloneEl.parentNode.removeChild(cloneEl);
1825
+ }
1826
+ cloneHidden = true;
1827
+ }
1828
+ },
1829
+ _showClone: function _showClone(putSortable2) {
1830
+ if (putSortable2.lastPutMode !== "clone") {
1831
+ this._hideClone();
1832
+ return;
1833
+ }
1834
+ if (cloneHidden) {
1835
+ pluginEvent2("showClone", this);
1836
+ if (Sortable.eventCanceled) return;
1837
+ if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
1838
+ rootEl.insertBefore(cloneEl, dragEl);
1839
+ } else if (nextEl) {
1840
+ rootEl.insertBefore(cloneEl, nextEl);
1841
+ } else {
1842
+ rootEl.appendChild(cloneEl);
1843
+ }
1844
+ if (this.options.group.revertClone) {
1845
+ this.animate(dragEl, cloneEl);
1846
+ }
1847
+ css(cloneEl, "display", "");
1848
+ cloneHidden = false;
1849
+ }
1850
+ }
1851
+ };
1852
+ function _globalDragOver(evt) {
1853
+ if (evt.dataTransfer) {
1854
+ evt.dataTransfer.dropEffect = "move";
1855
+ }
1856
+ evt.cancelable && evt.preventDefault();
1857
+ }
1858
+ function _onMove(fromEl, toEl, dragEl2, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
1859
+ var evt, sortable = fromEl[expando], onMoveFn = sortable.options.onMove, retVal;
1860
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
1861
+ evt = new CustomEvent("move", {
1862
+ bubbles: true,
1863
+ cancelable: true
1864
+ });
1865
+ } else {
1866
+ evt = document.createEvent("Event");
1867
+ evt.initEvent("move", true, true);
1868
+ }
1869
+ evt.to = toEl;
1870
+ evt.from = fromEl;
1871
+ evt.dragged = dragEl2;
1872
+ evt.draggedRect = dragRect;
1873
+ evt.related = targetEl || toEl;
1874
+ evt.relatedRect = targetRect || getRect(toEl);
1875
+ evt.willInsertAfter = willInsertAfter;
1876
+ evt.originalEvent = originalEvent;
1877
+ fromEl.dispatchEvent(evt);
1878
+ if (onMoveFn) {
1879
+ retVal = onMoveFn.call(sortable, evt, originalEvent);
1880
+ }
1881
+ return retVal;
1882
+ }
1883
+ function _disableDraggable(el) {
1884
+ el.draggable = false;
1885
+ }
1886
+ function _unsilent() {
1887
+ _silent = false;
1888
+ }
1889
+ function _ghostIsFirst(evt, vertical, sortable) {
1890
+ var firstElRect = getRect(getChild(sortable.el, 0, sortable.options, true));
1891
+ var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
1892
+ var spacer = 10;
1893
+ 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;
1894
+ }
1895
+ function _ghostIsLast(evt, vertical, sortable) {
1896
+ var lastElRect = getRect(lastChild(sortable.el, sortable.options.draggable));
1897
+ var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
1898
+ var spacer = 10;
1899
+ 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;
1900
+ }
1901
+ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
1902
+ 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;
1903
+ if (!invertSwap) {
1904
+ if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
1905
+ if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {
1906
+ pastFirstInvertThresh = true;
1907
+ }
1908
+ if (!pastFirstInvertThresh) {
1909
+ if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance : mouseOnAxis > targetS2 - targetMoveDistance) {
1910
+ return -lastDirection;
1911
+ }
1912
+ } else {
1913
+ invert = true;
1914
+ }
1915
+ } else {
1916
+ if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {
1917
+ return _getInsertDirection(target);
1918
+ }
1919
+ }
1920
+ }
1921
+ invert = invert || invertSwap;
1922
+ if (invert) {
1923
+ if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
1924
+ return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
1925
+ }
1926
+ }
1927
+ return 0;
1928
+ }
1929
+ function _getInsertDirection(target) {
1930
+ if (index(dragEl) < index(target)) {
1931
+ return 1;
1932
+ } else {
1933
+ return -1;
1934
+ }
1935
+ }
1936
+ function _generateId(el) {
1937
+ var str = el.tagName + el.className + el.src + el.href + el.textContent, i = str.length, sum = 0;
1938
+ while (i--) {
1939
+ sum += str.charCodeAt(i);
1940
+ }
1941
+ return sum.toString(36);
1942
+ }
1943
+ function _saveInputCheckedState(root) {
1944
+ savedInputChecked.length = 0;
1945
+ var inputs = root.getElementsByTagName("input");
1946
+ var idx = inputs.length;
1947
+ while (idx--) {
1948
+ var el = inputs[idx];
1949
+ el.checked && savedInputChecked.push(el);
1950
+ }
1951
+ }
1952
+ function _nextTick(fn) {
1953
+ return setTimeout(fn, 0);
1954
+ }
1955
+ function _cancelNextTick(id) {
1956
+ return clearTimeout(id);
1957
+ }
1958
+ if (documentExists) {
1959
+ on(document, "touchmove", function(evt) {
1960
+ if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
1961
+ evt.preventDefault();
1962
+ }
1963
+ });
1964
+ }
1965
+ Sortable.utils = {
1966
+ on,
1967
+ off,
1968
+ css,
1969
+ find,
1970
+ is: function is(el, selector) {
1971
+ return !!closest(el, selector, el, false);
1972
+ },
1973
+ extend,
1974
+ throttle,
1975
+ closest,
1976
+ toggleClass,
1977
+ clone,
1978
+ index,
1979
+ nextTick: _nextTick,
1980
+ cancelNextTick: _cancelNextTick,
1981
+ detectDirection: _detectDirection,
1982
+ getChild,
1983
+ expando
1984
+ };
1985
+ Sortable.get = function(element) {
1986
+ return element[expando];
1987
+ };
1988
+ Sortable.mount = function() {
1989
+ for (var _len = arguments.length, plugins2 = new Array(_len), _key = 0; _key < _len; _key++) {
1990
+ plugins2[_key] = arguments[_key];
1991
+ }
1992
+ if (plugins2[0].constructor === Array) plugins2 = plugins2[0];
1993
+ plugins2.forEach(function(plugin) {
1994
+ if (!plugin.prototype || !plugin.prototype.constructor) {
1995
+ throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(plugin));
1996
+ }
1997
+ if (plugin.utils) Sortable.utils = _objectSpread2(_objectSpread2({}, Sortable.utils), plugin.utils);
1998
+ PluginManager.mount(plugin);
1999
+ });
2000
+ };
2001
+ Sortable.create = function(el, options) {
2002
+ return new Sortable(el, options);
2003
+ };
2004
+ Sortable.version = version;
2005
+ var autoScrolls = [];
2006
+ var scrollEl;
2007
+ var scrollRootEl;
2008
+ var scrolling = false;
2009
+ var lastAutoScrollX;
2010
+ var lastAutoScrollY;
2011
+ var touchEvt$1;
2012
+ var pointerElemChangedInterval;
2013
+ function AutoScrollPlugin() {
2014
+ function AutoScroll() {
2015
+ this.defaults = {
2016
+ scroll: true,
2017
+ forceAutoScrollFallback: false,
2018
+ scrollSensitivity: 30,
2019
+ scrollSpeed: 10,
2020
+ bubbleScroll: true
2021
+ };
2022
+ for (var fn in this) {
2023
+ if (fn.charAt(0) === "_" && typeof this[fn] === "function") {
2024
+ this[fn] = this[fn].bind(this);
2025
+ }
2026
+ }
2027
+ }
2028
+ AutoScroll.prototype = {
2029
+ dragStarted: function dragStarted(_ref) {
2030
+ var originalEvent = _ref.originalEvent;
2031
+ if (this.sortable.nativeDraggable) {
2032
+ on(document, "dragover", this._handleAutoScroll);
2033
+ } else {
2034
+ if (this.options.supportPointer) {
2035
+ on(document, "pointermove", this._handleFallbackAutoScroll);
2036
+ } else if (originalEvent.touches) {
2037
+ on(document, "touchmove", this._handleFallbackAutoScroll);
2038
+ } else {
2039
+ on(document, "mousemove", this._handleFallbackAutoScroll);
2040
+ }
2041
+ }
2042
+ },
2043
+ dragOverCompleted: function dragOverCompleted(_ref2) {
2044
+ var originalEvent = _ref2.originalEvent;
2045
+ if (!this.options.dragOverBubble && !originalEvent.rootEl) {
2046
+ this._handleAutoScroll(originalEvent);
2047
+ }
2048
+ },
2049
+ drop: function drop3() {
2050
+ if (this.sortable.nativeDraggable) {
2051
+ off(document, "dragover", this._handleAutoScroll);
2052
+ } else {
2053
+ off(document, "pointermove", this._handleFallbackAutoScroll);
2054
+ off(document, "touchmove", this._handleFallbackAutoScroll);
2055
+ off(document, "mousemove", this._handleFallbackAutoScroll);
2056
+ }
2057
+ clearPointerElemChangedInterval();
2058
+ clearAutoScrolls();
2059
+ cancelThrottle();
2060
+ },
2061
+ nulling: function nulling() {
2062
+ touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;
2063
+ autoScrolls.length = 0;
2064
+ },
2065
+ _handleFallbackAutoScroll: function _handleFallbackAutoScroll(evt) {
2066
+ this._handleAutoScroll(evt, true);
2067
+ },
2068
+ _handleAutoScroll: function _handleAutoScroll(evt, fallback) {
2069
+ var _this = this;
2070
+ var x = (evt.touches ? evt.touches[0] : evt).clientX, y = (evt.touches ? evt.touches[0] : evt).clientY, elem = document.elementFromPoint(x, y);
2071
+ touchEvt$1 = evt;
2072
+ if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
2073
+ autoScroll(evt, this.options, elem, fallback);
2074
+ var ogElemScroller = getParentAutoScrollElement(elem, true);
2075
+ if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
2076
+ pointerElemChangedInterval && clearPointerElemChangedInterval();
2077
+ pointerElemChangedInterval = setInterval(function() {
2078
+ var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
2079
+ if (newElem !== ogElemScroller) {
2080
+ ogElemScroller = newElem;
2081
+ clearAutoScrolls();
2082
+ }
2083
+ autoScroll(evt, _this.options, newElem, fallback);
2084
+ }, 10);
2085
+ lastAutoScrollX = x;
2086
+ lastAutoScrollY = y;
2087
+ }
2088
+ } else {
2089
+ if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {
2090
+ clearAutoScrolls();
2091
+ return;
2092
+ }
2093
+ autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
2094
+ }
2095
+ }
2096
+ };
2097
+ return _extends(AutoScroll, {
2098
+ pluginName: "scroll",
2099
+ initializeByDefault: true
2100
+ });
2101
+ }
2102
+ function clearAutoScrolls() {
2103
+ autoScrolls.forEach(function(autoScroll2) {
2104
+ clearInterval(autoScroll2.pid);
2105
+ });
2106
+ autoScrolls = [];
2107
+ }
2108
+ function clearPointerElemChangedInterval() {
2109
+ clearInterval(pointerElemChangedInterval);
2110
+ }
2111
+ var autoScroll = throttle(function(evt, options, rootEl2, isFallback) {
2112
+ if (!options.scroll) return;
2113
+ 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();
2114
+ var scrollThisInstance = false, scrollCustomFn;
2115
+ if (scrollRootEl !== rootEl2) {
2116
+ scrollRootEl = rootEl2;
2117
+ clearAutoScrolls();
2118
+ scrollEl = options.scroll;
2119
+ scrollCustomFn = options.scrollFn;
2120
+ if (scrollEl === true) {
2121
+ scrollEl = getParentAutoScrollElement(rootEl2, true);
2122
+ }
2123
+ }
2124
+ var layersOut = 0;
2125
+ var currentParent = scrollEl;
2126
+ do {
2127
+ 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;
2128
+ if (el === winScroller) {
2129
+ canScrollX = width < scrollWidth && (elCSS.overflowX === "auto" || elCSS.overflowX === "scroll" || elCSS.overflowX === "visible");
2130
+ canScrollY = height < scrollHeight && (elCSS.overflowY === "auto" || elCSS.overflowY === "scroll" || elCSS.overflowY === "visible");
2131
+ } else {
2132
+ canScrollX = width < scrollWidth && (elCSS.overflowX === "auto" || elCSS.overflowX === "scroll");
2133
+ canScrollY = height < scrollHeight && (elCSS.overflowY === "auto" || elCSS.overflowY === "scroll");
2134
+ }
2135
+ var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
2136
+ var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
2137
+ if (!autoScrolls[layersOut]) {
2138
+ for (var i = 0; i <= layersOut; i++) {
2139
+ if (!autoScrolls[i]) {
2140
+ autoScrolls[i] = {};
2141
+ }
2142
+ }
2143
+ }
2144
+ if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
2145
+ autoScrolls[layersOut].el = el;
2146
+ autoScrolls[layersOut].vx = vx;
2147
+ autoScrolls[layersOut].vy = vy;
2148
+ clearInterval(autoScrolls[layersOut].pid);
2149
+ if (vx != 0 || vy != 0) {
2150
+ scrollThisInstance = true;
2151
+ autoScrolls[layersOut].pid = setInterval(function() {
2152
+ if (isFallback && this.layer === 0) {
2153
+ Sortable.active._onTouchMove(touchEvt$1);
2154
+ }
2155
+ var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
2156
+ var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
2157
+ if (typeof scrollCustomFn === "function") {
2158
+ if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== "continue") {
2159
+ return;
2160
+ }
2161
+ }
2162
+ scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
2163
+ }.bind({
2164
+ layer: layersOut
2165
+ }), 24);
2166
+ }
2167
+ }
2168
+ layersOut++;
2169
+ } while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
2170
+ scrolling = scrollThisInstance;
2171
+ }, 30);
2172
+ var drop = function drop2(_ref) {
2173
+ var originalEvent = _ref.originalEvent, putSortable2 = _ref.putSortable, dragEl2 = _ref.dragEl, activeSortable = _ref.activeSortable, dispatchSortableEvent = _ref.dispatchSortableEvent, hideGhostForTarget = _ref.hideGhostForTarget, unhideGhostForTarget = _ref.unhideGhostForTarget;
2174
+ if (!originalEvent) return;
2175
+ var toSortable = putSortable2 || activeSortable;
2176
+ hideGhostForTarget();
2177
+ var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
2178
+ var target = document.elementFromPoint(touch.clientX, touch.clientY);
2179
+ unhideGhostForTarget();
2180
+ if (toSortable && !toSortable.el.contains(target)) {
2181
+ dispatchSortableEvent("spill");
2182
+ this.onSpill({
2183
+ dragEl: dragEl2,
2184
+ putSortable: putSortable2
2185
+ });
2186
+ }
2187
+ };
2188
+ function Revert() {
2189
+ }
2190
+ Revert.prototype = {
2191
+ startIndex: null,
2192
+ dragStart: function dragStart(_ref2) {
2193
+ var oldDraggableIndex2 = _ref2.oldDraggableIndex;
2194
+ this.startIndex = oldDraggableIndex2;
2195
+ },
2196
+ onSpill: function onSpill(_ref3) {
2197
+ var dragEl2 = _ref3.dragEl, putSortable2 = _ref3.putSortable;
2198
+ this.sortable.captureAnimationState();
2199
+ if (putSortable2) {
2200
+ putSortable2.captureAnimationState();
2201
+ }
2202
+ var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
2203
+ if (nextSibling) {
2204
+ this.sortable.el.insertBefore(dragEl2, nextSibling);
2205
+ } else {
2206
+ this.sortable.el.appendChild(dragEl2);
2207
+ }
2208
+ this.sortable.animateAll();
2209
+ if (putSortable2) {
2210
+ putSortable2.animateAll();
2211
+ }
2212
+ },
2213
+ drop
2214
+ };
2215
+ _extends(Revert, {
2216
+ pluginName: "revertOnSpill"
2217
+ });
2218
+ function Remove() {
2219
+ }
2220
+ Remove.prototype = {
2221
+ onSpill: function onSpill2(_ref4) {
2222
+ var dragEl2 = _ref4.dragEl, putSortable2 = _ref4.putSortable;
2223
+ var parentSortable = putSortable2 || this.sortable;
2224
+ parentSortable.captureAnimationState();
2225
+ dragEl2.parentNode && dragEl2.parentNode.removeChild(dragEl2);
2226
+ parentSortable.animateAll();
2227
+ },
2228
+ drop
2229
+ };
2230
+ _extends(Remove, {
2231
+ pluginName: "removeOnSpill"
2232
+ });
2233
+ Sortable.mount(new AutoScrollPlugin());
2234
+ Sortable.mount(Remove, Revert);
2235
+ var sortable_esm_default = Sortable;
2236
+
2237
+ // src/components/table/body-table.ts
2238
+ var BodyTable = class extends ShoelaceElement {
2239
+ constructor() {
2240
+ super(...arguments);
2241
+ this.expandRowByClick = false;
2242
+ this.currentInsertIndex = null;
2243
+ this.tbodyRef = e2();
2244
+ this.cleanupDragImage = () => {
2245
+ var _a;
2246
+ if ((_a = this.dragImageEl) == null ? void 0 : _a.parentNode) this.dragImageEl.parentNode.removeChild(this.dragImageEl);
2247
+ this.dragImageEl = void 0;
2248
+ };
2249
+ this.handleMove = (evt) => {
2250
+ var _a;
2251
+ const body = this.bodyRef.value;
2252
+ const tbody = this.tbodyRef.value;
2253
+ if (!body || !tbody) return true;
2254
+ const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
2255
+ if (!rows.length) return true;
2256
+ const mouseY = evt.originalEvent.clientY;
2257
+ const firstRect = rows[0].getBoundingClientRect();
2258
+ const lastRect = rows[rows.length - 1].getBoundingClientRect();
2259
+ let insertIndex = (_a = this.currentInsertIndex) != null ? _a : 0;
2260
+ if (mouseY >= lastRect.bottom) {
2261
+ insertIndex = rows.length;
2262
+ } else if (mouseY <= firstRect.top) {
2263
+ insertIndex = 0;
2264
+ } else {
2265
+ const related = evt.related;
2266
+ if (related) {
2267
+ const rect = related.getBoundingClientRect();
2268
+ const offset = mouseY - rect.top;
2269
+ const relatedIndex = rows.indexOf(related);
2270
+ if (relatedIndex >= 0) {
2271
+ insertIndex = offset > rect.height / 2 ? relatedIndex + 1 : relatedIndex;
2272
+ }
2273
+ }
2274
+ }
2275
+ insertIndex = Math.max(0, Math.min(rows.length, insertIndex));
2276
+ this.currentInsertIndex = insertIndex;
2277
+ this.requestUpdate();
2278
+ return false;
2279
+ };
2280
+ this.handleEnd = (evt) => {
2281
+ var _a, _b;
2282
+ if (this.currentInsertIndex === null) return;
2283
+ this.draggingBlock = { start: -1, end: -1 };
2284
+ this.requestUpdate();
2285
+ const rows = this.commonProps.tableInstance.getRowModel().rows;
2286
+ const fromIndex = evt.oldDraggableIndex;
2287
+ const toIndex = this.currentInsertIndex;
2288
+ const newRows = [...rows.map((r2) => r2.original)];
2289
+ const { start, end } = this.getSelectedBlock(rows, fromIndex);
2290
+ if (start <= toIndex && toIndex <= end) {
2291
+ this.currentInsertIndex = null;
2292
+ return;
2293
+ }
2294
+ const block = newRows.splice(start, end - start + 1);
2295
+ let targetIndex = toIndex;
2296
+ if (start < toIndex) {
2297
+ targetIndex -= block.length;
2298
+ }
2299
+ newRows.splice(targetIndex, 0, ...block);
2300
+ const detail = {
2301
+ fromIndex,
2302
+ toIndex,
2303
+ rows: rows.map((r2) => r2.original),
2304
+ newRows
2305
+ };
2306
+ (_b = (_a = this.commonProps).onRowReorder) == null ? void 0 : _b.call(_a, detail);
2307
+ this.currentInsertIndex = null;
2308
+ this.cleanupDragImage();
2309
+ };
2310
+ this.handleChoose = (evt) => {
2311
+ const rows = this.commonProps.tableInstance.getRowModel().rows;
2312
+ const fromIndex = evt.oldDraggableIndex;
2313
+ const { start, end } = this.getSelectedBlock(rows, fromIndex);
2314
+ this.draggingBlock = { start, end };
2315
+ this.requestUpdate();
2316
+ if (start === end) return;
2317
+ const count = end - start + 1;
2318
+ const dragImage = document.createElement("div");
2319
+ dragImage.textContent = `\u62D6\u52A8 ${count} \u884C\u6570\u636E`;
2320
+ dragImage.style.position = "fixed";
2321
+ dragImage.style.padding = "10px 8px";
2322
+ dragImage.style.color = "#212121";
2323
+ dragImage.style.fontSize = "12px";
2324
+ dragImage.style.background = "#FFFFFF";
2325
+ dragImage.style.border = "1px solid rgba(217,217,217,1)";
2326
+ dragImage.style.boxShadow = "0px 6px 16px 3px rgba(0,0,0,0.08)";
2327
+ dragImage.style.borderRadius = "2px";
2328
+ dragImage.style.lineHeight = "21px";
2329
+ document.body.appendChild(dragImage);
2330
+ this.dragImageEl = dragImage;
2331
+ const chosenEl = evt.item;
2332
+ chosenEl.addEventListener(
2333
+ "dragstart",
2334
+ (e3) => {
2335
+ var _a;
2336
+ (_a = e3.dataTransfer) == null ? void 0 : _a.setDragImage(dragImage, 10, 10);
2337
+ },
2338
+ { once: true }
2339
+ );
2340
+ };
2341
+ // 未发生拖拽时清理,防止点击行但未拖拽时一直保持拖拽样式
2342
+ this.handleUnchoose = () => {
2343
+ var _a;
2344
+ this.draggingBlock = { start: -1, end: -1 };
2345
+ (_a = this.cleanupDragImage) == null ? void 0 : _a.call(this);
2346
+ };
2347
+ this.renderTr = (row, styles = {}) => {
2348
+ const { rowSelectedMap, onRow, virtualized } = this.commonProps;
2349
+ const rowProps = (onRow == null ? void 0 : onRow(row.original, row.index)) || {};
2350
+ const _a = rowProps, { className, style: rowPropsStyle } = _a, rowRestProps = __objRest(_a, ["className", "style"]);
2351
+ const rowClassName = typeof className === "string" ? className : "";
2352
+ const rowClassMap = {
2353
+ "table-row": true,
2354
+ "table-row-selected": rowSelectedMap[row.id],
2355
+ "table-row-dragging": this.draggingBlock && row.index >= this.draggingBlock.start && row.index <= this.draggingBlock.end,
2356
+ [rowClassName]: true
2357
+ };
2358
+ const rowPropsStyleText = typeof rowPropsStyle === "string" ? rowPropsStyle : rowPropsStyle && typeof rowPropsStyle === "object" ? iterateStyles(rowPropsStyle) : void 0;
2359
+ const rowStyles = [rowPropsStyleText, iterateStyles(styles)].filter(Boolean).join(";") || "";
2360
+ return b`
2361
+ <tr
2362
+ class=${e(rowClassMap)}
2363
+ role="table-row"
2364
+ part="table-body-row"
2365
+ data-row-key=${this.commonProps.adapter.getRecordKey(row.original)}
2366
+ data-row-index=${row.index}
2367
+ @click=${this.expandRowByClick ? () => row.getCanExpand() && row.toggleExpanded() : null}
2368
+ style=${rowStyles}
2369
+ ${spread_default(rowRestProps)}
2370
+ >
2371
+ ${c(
2372
+ row.getVisibleCells(),
2373
+ (cell) => cell.id,
2374
+ (cell) => {
2375
+ var _a2, _b, _c, _e, _f;
2376
+ const { column } = cell;
2377
+ const columnDef = column.columnDef;
2378
+ const align = (_a2 = columnDef.meta) == null ? void 0 : _a2.align;
2379
+ const cellProps = ((_c = (_b = columnDef.meta) == null ? void 0 : _b.onCell) == null ? void 0 : _c.call(_b, cell.row.original, row.index)) || {};
2380
+ const _d = cellProps, {
2381
+ className: cellClassName,
2382
+ style: cellStyle
2383
+ } = _d, cellRestProps = __objRest(_d, [
2384
+ "className",
2385
+ "style"
2386
+ ]);
2387
+ const cellClassNameValue = typeof cellClassName === "string" ? cellClassName : "";
2388
+ const { styles: pinningStyles, className: pinningClassName } = column.getIsPinned() ? getCommonPinningProps(column) : {};
2389
+ const cellClassMap = {
2390
+ "table-row-cell": true,
2391
+ [pinningClassName]: pinningClassName !== void 0
2392
+ };
2393
+ if ((_e = columnDef.meta) == null ? void 0 : _e.className) {
2394
+ cellClassMap[columnDef.meta.className] = true;
2395
+ }
2396
+ if (cellClassNameValue) {
2397
+ cellClassMap[cellClassNameValue] = true;
2398
+ }
2399
+ const cellStyleText = typeof cellStyle === "string" ? cellStyle : cellStyle && typeof cellStyle === "object" ? iterateStyles(cellStyle) : void 0;
2400
+ let cellStyleResult = [cellStyleText, pinningStyles].filter(Boolean).join(";");
2401
+ if (virtualized) {
2402
+ cellStyleResult += `;width: ${column.getSize()}px`;
2403
+ }
2404
+ return b` <td
2405
+ role="gridcell"
2406
+ part="table-body-cell"
2407
+ class="${e(cellClassMap)}"
2408
+ style=${cellStyleResult || ""}
2409
+ ${spread_default(cellRestProps)}
2410
+ >
2411
+ <div
2412
+ class="${e({
2413
+ "table-cell-content": true
2414
+ })}"
2415
+ style="justify-content: ${getTableAlign(align)}"
2416
+ >
2417
+ <div
2418
+ class="${e({
2419
+ "table-cell-ellipsis": !!((_f = columnDef.meta) == null ? void 0 : _f.ellipsis)
2420
+ })}"
2421
+ >
2422
+ ${flexRender(columnDef.cell, cell.getContext())}
2423
+ </div>
2424
+ </div>
2425
+ </td>`;
2426
+ }
2427
+ )}
2428
+ </tr>
2429
+ ${row.getIsExpanded() ? b`
2430
+ <tr class="table-row table-expand-row" part="table-body-row">
2431
+ <td colspan="${row.getVisibleCells().length}" class="table-row-cell" part="table-body-cell">
2432
+ <slot name="${CUSTOM_ROW}-${this.commonProps.adapter.getRecordKey(row.original)}"></slot>
2433
+ </td>
2434
+ </tr>
2435
+ ` : ""}
2436
+ `;
2437
+ };
2438
+ }
2439
+ getSelectedBlock(rows, fromIndex) {
2440
+ const selected = this.commonProps.rowSelectedMap;
2441
+ if (!selected[rows[fromIndex].id]) {
2442
+ return { start: fromIndex, end: fromIndex };
2443
+ }
2444
+ let start = fromIndex;
2445
+ let end = fromIndex;
2446
+ while (start > 0 && selected[rows[start - 1].id]) {
2447
+ start--;
2448
+ }
2449
+ while (end < rows.length - 1 && selected[rows[end + 1].id]) {
2450
+ end++;
2451
+ }
2452
+ return { start, end };
2453
+ }
2454
+ renderIndicator() {
2455
+ const tbody = this.tbodyRef.value;
2456
+ if (!tbody || this.currentInsertIndex === null) return "";
2457
+ const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
2458
+ if (!rows.length) return "";
2459
+ let top = 0;
2460
+ if (this.currentInsertIndex >= rows.length) {
2461
+ top = rows[rows.length - 1].offsetTop + rows[rows.length - 1].offsetHeight;
2462
+ } else {
2463
+ top = rows[this.currentInsertIndex].offsetTop;
2464
+ }
2465
+ return b`
2466
+ <div
2467
+ style="
2468
+ position: absolute;
2469
+ left: 0;
2470
+ right: 0;
2471
+ top: ${top}px;
2472
+ height: 2px;
2473
+ background: #1677ff;
2474
+ pointer-events: none;
2475
+ z-index: 10;
2476
+ "
2477
+ ></div>
2478
+ `;
2479
+ }
2480
+ initSortable() {
2481
+ var _a, _b;
2482
+ const { rowDrag, virtualized } = this.commonProps;
2483
+ if (!rowDrag || virtualized) {
2484
+ (_a = this.sortable) == null ? void 0 : _a.destroy();
2485
+ this.sortable = void 0;
2486
+ return;
2487
+ }
2488
+ const el = this.tbodyRef.value;
2489
+ if (!el) return;
2490
+ (_b = this.sortable) == null ? void 0 : _b.destroy();
2491
+ this.sortable = sortable_esm_default.create(el, {
2492
+ animation: 0,
2493
+ draggable: "tr[data-row-key]",
2494
+ handle: ".row-drag-handle",
2495
+ onChoose: this.handleChoose,
2496
+ onMove: this.handleMove,
2497
+ onEnd: this.handleEnd,
2498
+ onUnchoose: this.handleUnchoose
2499
+ });
2500
+ }
2501
+ firstUpdated() {
2502
+ this.initSortable();
2503
+ }
2504
+ render() {
2505
+ var _a, _b, _c, _d, _e;
2506
+ const virtualizer = (_a = this.rowVirtualizerController) == null ? void 0 : _a.getVirtualizer();
2507
+ const { tableScroll, handleBodyScroll, bordered, tableInstance, virtualized, rowDrag } = this.commonProps;
2508
+ const { x, y } = tableScroll || {};
2509
+ const style = {
2510
+ "max-width": x ? getTableRect(x) : "100%",
2511
+ "max-height": y ? getTableRect(y) : "100%"
2512
+ };
2513
+ const columnResizeable = tableInstance.getAllLeafColumns().some((c2) => c2.getCanResize());
2514
+ const { rows } = tableInstance.getRowModel();
2515
+ return b` <div
2516
+ style=${iterateStyles(style)}
2517
+ class="table-body"
2518
+ part="table-body"
2519
+ ${n2(this.bodyRef)}
2520
+ @scroll=${handleBodyScroll}
2521
+ >
2522
+ <table
2523
+ class="${e({
2524
+ table: true,
2525
+ "table-bordered": bordered,
2526
+ "table-fixed": !columnResizeable
2527
+ })}"
2528
+ style=${o({
2529
+ width: `${tableInstance.getTotalSize()}px`,
2530
+ height: virtualized && y ? `${virtualizer == null ? void 0 : virtualizer.getTotalSize()}px` : "100%"
2531
+ })}
2532
+ >
2533
+ ${renderColGroup(tableInstance)}
2534
+ <tbody class="table-tbody" style="position: relative;" ${n2(this.tbodyRef)}>
2535
+ ${virtualized ? c(
2536
+ (_c = (_b = this.rowVirtualizerController) == null ? void 0 : _b.getVirtualizer().getVirtualItems()) != null ? _c : [],
2537
+ (item) => item.key,
2538
+ (item) => {
2539
+ const row = rows[item.index];
2540
+ return this.renderTr(row, {
2541
+ transform: `translateY(${item.start}px)`,
2542
+ position: "absolute",
2543
+ width: "100%"
2544
+ });
2545
+ }
2546
+ ) : c(
2547
+ rows,
2548
+ (row) => row.id,
2549
+ (row) => this.renderTr(row)
2550
+ )}
2551
+ ${rowDrag ? b`<tr class="table-bottom-placeholder" style="height: 2px;padding: 0;border: none;">
2552
+ <td colspan="${(_e = (_d = rows[0]) == null ? void 0 : _d.getVisibleCells().length) != null ? _e : 1}"></td>
2553
+ </tr>` : ""}
2554
+ ${this.renderIndicator()}
2555
+ </tbody>
2556
+ </table>
2557
+ ${this.emptyTemplate}
2558
+ </div>
2559
+ <style>
2560
+ .table-body {
2561
+ overflow: auto;
2562
+ width: 100%;
2563
+ box-sizing: border-box;
2564
+ direction: var(--sl-c-table-direction);
2565
+ }
2566
+ .table-row {
2567
+ display: table-row;
2568
+ }
2569
+ .table-row-dragging {
2570
+ opacity: 0.35;
2571
+ }
2572
+ .table-row > .table-row-cell {
2573
+ height: var(--sl-table-cell-line-height);
2574
+ font-size: var(--sl-table-font-size);
2575
+ padding: 0 var(--sl-table-cell-padding);
2576
+ box-sizing: border-box;
2577
+ border-inline-start: none;
2578
+ border-inline-end: none;
2579
+ border-bottom: var(--sl-table-cell-border-width) solid var(--sl-table-cell-border);
2580
+ overflow-wrap: break-word;
2581
+ color: var(--sl-table-cell-color);
2582
+ background-color: var(--sl-table-cell-background);
2583
+ vertical-align: middle;
2584
+ }
2585
+ .table-row:hover > .table-row-cell {
2586
+ background: var(--sl-table-row-background-hover);
2587
+ }
2588
+ :where(.table.table-bordered) > tbody.table-tbody > tr.table-row > td.table-row-cell {
2589
+ border-inline-end: var(--sl-table-cell-border-width) solid var(--sl-table-cell-border);
2590
+ }
2591
+ .table-row.table-row-selected > .table-row-cell {
2592
+ background-color: var(--sl-table-row-background-active);
2593
+ }
2594
+ .table-row.table-row-selected:hover > .table-row-cell {
2595
+ background-color: hsl(212.29999999999995, 100%, 95.5%);
2596
+ }
2597
+ .table-placeholder {
2598
+ position: sticky;
2599
+ left: 0;
2600
+ z-index: 1;
2601
+ padding: var(--sl-table-default-text-margin-vertical);
2602
+ color: var(--semi-color-text-2);
2603
+ font-size: 14px;
2604
+ text-align: center;
2605
+ background: transparent;
2606
+ color: var(--sl-table-default-text-color);
2607
+ border-bottom: var(--sl-table-cell-border-width) solid var(--sl-table-cell-border);
2608
+ border-inline-start: none;
2609
+ }
2610
+ .table-cell-content {
2611
+ display: flex;
2612
+ line-height: var(--sl-line-height-dense);
2613
+ word-break: break-word;
2614
+ }
2615
+ </style>`;
2616
+ }
2617
+ };
2618
+ BodyTable.styles = [tableCommonCss];
2619
+ __decorateClass([
2620
+ n({ type: Object })
2621
+ ], BodyTable.prototype, "bodyRef", 2);
2622
+ __decorateClass([
2623
+ n({ type: Function })
2624
+ ], BodyTable.prototype, "emptyTemplate", 2);
2625
+ __decorateClass([
2626
+ n({ type: Object })
2627
+ ], BodyTable.prototype, "commonProps", 2);
2628
+ __decorateClass([
2629
+ n({ type: Boolean })
2630
+ ], BodyTable.prototype, "expandRowByClick", 2);
2631
+ __decorateClass([
2632
+ n({ type: Object })
2633
+ ], BodyTable.prototype, "rowVirtualizerController", 2);
2634
+ __decorateClass([
2635
+ r()
2636
+ ], BodyTable.prototype, "currentInsertIndex", 2);
2637
+ __decorateClass([
2638
+ r()
2639
+ ], BodyTable.prototype, "draggingBlock", 2);
2640
+ BodyTable.define("sl-table-body-table");
2641
+
2642
+ export {
2643
+ BodyTable
2644
+ };
2645
+ /*! Bundled license information:
2646
+
2647
+ sortablejs/modular/sortable.esm.js:
2648
+ (**!
2649
+ * Sortable 1.15.7
2650
+ * @author RubaXa <trash@rubaxa.org>
2651
+ * @author owenm <owen23355@gmail.com>
2652
+ * @license MIT
2653
+ *)
2654
+ */