hs-admin-ui 5.8.0 → 5.8.2

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 (852) hide show
  1. package/dist/401-Cu4hbj-y.mjs +60 -0
  2. package/dist/401-Cu4hbj-y.mjs.gz +0 -0
  3. package/dist/401-e6A2Ni_K.js +1 -0
  4. package/dist/401-e6A2Ni_K.js.gz +0 -0
  5. package/dist/404-B_6V4gio.mjs +63 -0
  6. package/dist/404-B_6V4gio.mjs.gz +0 -0
  7. package/dist/404-D8tXpiJt.js +1 -0
  8. package/dist/404-D8tXpiJt.js.gz +0 -0
  9. package/dist/account-C4Bri9o7.mjs +561 -0
  10. package/dist/account-C4Bri9o7.mjs.gz +0 -0
  11. package/dist/account-YZB6mgfI.js +1 -0
  12. package/dist/account-YZB6mgfI.js.gz +0 -0
  13. package/dist/aside-822hUIUZ.mjs +175 -0
  14. package/dist/aside-822hUIUZ.mjs.gz +0 -0
  15. package/dist/aside-JJ4hoP95.js +1 -0
  16. package/dist/aside-JJ4hoP95.js.gz +0 -0
  17. package/dist/baseBtnConfig-BKv407ZT.mjs +265 -0
  18. package/dist/baseBtnConfig-BKv407ZT.mjs.gz +0 -0
  19. package/dist/baseBtnConfig-CIYKz-TG.js +1 -0
  20. package/dist/baseBtnConfig-CIYKz-TG.js.gz +0 -0
  21. package/dist/baseFormConfig-LID74dul.js +1 -0
  22. package/dist/baseFormConfig-LID74dul.js.gz +0 -0
  23. package/dist/baseFormConfig-mWvkOXBw.mjs +712 -0
  24. package/dist/baseFormConfig-mWvkOXBw.mjs.gz +0 -0
  25. package/dist/btnIndex-DBKxo5wm.js +1 -0
  26. package/dist/btnIndex-DBKxo5wm.js.gz +0 -0
  27. package/dist/btnIndex-DojokjEB.mjs +280 -0
  28. package/dist/btnIndex-DojokjEB.mjs.gz +0 -0
  29. package/dist/classic-C9ZLE0vr.js +1 -0
  30. package/dist/classic-C9ZLE0vr.js.gz +0 -0
  31. package/dist/classic-DMhpPcJx.mjs +80 -0
  32. package/dist/classic-DMhpPcJx.mjs.gz +0 -0
  33. package/dist/cloneConfigDialog-8WogKAAf.js +1 -0
  34. package/dist/cloneConfigDialog-8WogKAAf.js.gz +0 -0
  35. package/dist/cloneConfigDialog-g5WqqKX2.mjs +279 -0
  36. package/dist/cloneConfigDialog-g5WqqKX2.mjs.gz +0 -0
  37. package/dist/columns-BaMnHT6T.mjs +85 -0
  38. package/dist/columns-BaMnHT6T.mjs.gz +0 -0
  39. package/dist/columns-CpZTOl_l.js +1 -0
  40. package/dist/columns-CpZTOl_l.js.gz +0 -0
  41. package/dist/columnsAside-5Kj--k27.mjs +232 -0
  42. package/dist/columnsAside-5Kj--k27.mjs.gz +0 -0
  43. package/dist/columnsAside-BDLn7r6X.js +1 -0
  44. package/dist/columnsAside-BDLn7r6X.js.gz +0 -0
  45. package/dist/contextmenu-Bo5ps0Xs.js +1 -0
  46. package/dist/contextmenu-Bo5ps0Xs.js.gz +0 -0
  47. package/dist/contextmenu-BpBkYKC9.mjs +129 -0
  48. package/dist/contextmenu-BpBkYKC9.mjs.gz +0 -0
  49. package/dist/contextmenu-CRcU3xVh.js +1 -0
  50. package/dist/contextmenu-CRcU3xVh.js.gz +0 -0
  51. package/dist/contextmenu-DxwPbRgT.mjs +129 -0
  52. package/dist/contextmenu-DxwPbRgT.mjs.gz +0 -0
  53. package/dist/contextmenu-FnO_sOcr.js +1 -0
  54. package/dist/contextmenu-FnO_sOcr.js.gz +0 -0
  55. package/dist/contextmenu-j-fKcHSk.mjs +129 -0
  56. package/dist/contextmenu-j-fKcHSk.mjs.gz +0 -0
  57. package/dist/defaults-Cw_lHH11.mjs +84 -0
  58. package/dist/defaults-Cw_lHH11.mjs.gz +0 -0
  59. package/dist/defaults-DSC4cHdD.js +1 -0
  60. package/dist/defaults-DSC4cHdD.js.gz +0 -0
  61. package/dist/dialog-1AI1PpCE.js +1 -0
  62. package/dist/dialog-1AI1PpCE.js.gz +0 -0
  63. package/dist/dialog-B7RTd8ck.mjs +364 -0
  64. package/dist/dialog-B7RTd8ck.mjs.gz +0 -0
  65. package/dist/dialog-BA0JWtPl.js +1 -0
  66. package/dist/dialog-BkKDGyEK.js +1 -0
  67. package/dist/dialog-CGX8dDa8.mjs +462 -0
  68. package/dist/dialog-CGX8dDa8.mjs.gz +0 -0
  69. package/dist/dialog-Ck6NqkAB.mjs +4 -0
  70. package/dist/dialog-Cu6cPFiC.mjs +10 -0
  71. package/dist/dialog-D65Vcfqw.js +1 -0
  72. package/dist/dialog-D65Vcfqw.js.gz +0 -0
  73. package/dist/dialog-DxwrH-Ch.mjs +359 -0
  74. package/dist/dialog-DxwrH-Ch.mjs.gz +0 -0
  75. package/dist/dialog-Oq0DujLN.js +1 -0
  76. package/dist/dialog-Oq0DujLN.js.gz +0 -0
  77. package/dist/dialog-akk7J1ob.js +1 -0
  78. package/dist/dialog-s1-_PMKS.mjs +4 -0
  79. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-4ezwRojl.js +1 -0
  80. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-4ezwRojl.js.gz +0 -0
  81. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CI1btKXa.mjs +207 -0
  82. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CI1btKXa.mjs.gz +0 -0
  83. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-Bma56W2W.js +1 -0
  84. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-Bma56W2W.js.gz +0 -0
  85. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-_dVubVXH.mjs +638 -0
  86. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-_dVubVXH.mjs.gz +0 -0
  87. package/dist/dictDialog-BUHP2c4e.mjs +4 -0
  88. package/dist/dictDialog-HPytIdP3.js +1 -0
  89. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BbD6s0nr.js +1 -0
  90. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BbD6s0nr.js.gz +0 -0
  91. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-ESlByFBs.mjs +147 -0
  92. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-ESlByFBs.mjs.gz +0 -0
  93. package/dist/dictItemDialog-DfLMpsqh.mjs +4 -0
  94. package/dist/dictItemDialog-n6bblblv.js +1 -0
  95. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-C9TzOwgB.mjs +232 -0
  96. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-C9TzOwgB.mjs.gz +0 -0
  97. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-CVB8mlMG.js +1 -0
  98. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-CVB8mlMG.js.gz +0 -0
  99. package/dist/editDialog-BXcbvUA_.js +1 -0
  100. package/dist/editDialog-BXcbvUA_.js.gz +0 -0
  101. package/dist/editDialog-CQ_g4GwY.mjs +110 -0
  102. package/dist/editDialog-CQ_g4GwY.mjs.gz +0 -0
  103. package/dist/formConfig-BdiWbI13.js +1 -0
  104. package/dist/formConfig-BdiWbI13.js.gz +0 -0
  105. package/dist/formConfig-Bi8gYiZQ.mjs +410 -0
  106. package/dist/formConfig-Bi8gYiZQ.mjs.gz +0 -0
  107. package/dist/header-B1oIy8an.mjs +27 -0
  108. package/dist/header-B1oIy8an.mjs.gz +0 -0
  109. package/dist/header-BzrRMYaC.js +1 -0
  110. package/dist/horizontal-D_uD88dB.js +1 -0
  111. package/dist/horizontal-D_uD88dB.js.gz +0 -0
  112. package/dist/horizontal-DbNxOiu_.mjs +152 -0
  113. package/dist/horizontal-DbNxOiu_.mjs.gz +0 -0
  114. package/dist/hsAttrBtn-DV8999ig.js +1 -0
  115. package/dist/hsAttrBtn-Ze2zwbC-.mjs +4 -0
  116. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-D4GPbRiE.mjs +121 -0
  117. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-D4GPbRiE.mjs.gz +0 -0
  118. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DEUjTNjE.js +1 -0
  119. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DEUjTNjE.js.gz +0 -0
  120. package/dist/hsAttrForm-CFThp6i_.mjs +4 -0
  121. package/dist/hsAttrForm-CUcwrpUo.js +1 -0
  122. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C1s3vPqd.js +1 -0
  123. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C1s3vPqd.js.gz +0 -0
  124. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CvnIbirQ.mjs +267 -0
  125. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CvnIbirQ.mjs.gz +0 -0
  126. package/dist/hsBtnConfigList-35WK8EgC.mjs +104 -0
  127. package/dist/hsBtnConfigList-35WK8EgC.mjs.gz +0 -0
  128. package/dist/hsBtnConfigList-rBDlug-N.js +1 -0
  129. package/dist/hsBtnConfigList-rBDlug-N.js.gz +0 -0
  130. package/dist/hsBtnItemConfig-DTRbtU2V.mjs +4 -0
  131. package/dist/hsBtnItemConfig-DfaY8M4F.js +1 -0
  132. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BI0pPYVU.mjs +96 -0
  133. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BI0pPYVU.mjs.gz +0 -0
  134. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-C-mamdEZ.js +1 -0
  135. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-C-mamdEZ.js.gz +0 -0
  136. package/dist/hsBtnPanel-Bu-SZ8R7.mjs +4 -0
  137. package/dist/hsBtnPanel-Dynn2qmh.js +1 -0
  138. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CtCgFaLI.js +1 -0
  139. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CtCgFaLI.js.gz +0 -0
  140. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-YG9P2R37.mjs +67 -0
  141. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-YG9P2R37.mjs.gz +0 -0
  142. package/dist/hsExpand-C4tDA2pk.js +1 -0
  143. package/dist/hsExpand-CKak76Fd.mjs +4 -0
  144. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-BgrNL723.mjs +274 -0
  145. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-BgrNL723.mjs.gz +0 -0
  146. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-Bk6YB4xv.js +1 -0
  147. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-Bk6YB4xv.js.gz +0 -0
  148. package/dist/hsFormConfig-D7lg15o4.js +1 -0
  149. package/dist/hsFormConfig-D7lg15o4.js.gz +0 -0
  150. package/dist/hsFormConfig-DQUUqGqL.mjs +201 -0
  151. package/dist/hsFormConfig-DQUUqGqL.mjs.gz +0 -0
  152. package/dist/hsFormConfigList-BWLgNuJX.js +1 -0
  153. package/dist/hsFormConfigList-BWLgNuJX.js.gz +0 -0
  154. package/dist/hsFormConfigList-Bh9dnyju.mjs +291 -0
  155. package/dist/hsFormConfigList-Bh9dnyju.mjs.gz +0 -0
  156. package/dist/hsFormPanel-DXpASleV.js +1 -0
  157. package/dist/hsFormPanel-DsIrOD-V.mjs +4 -0
  158. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BKZpqSk-.mjs +201 -0
  159. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BKZpqSk-.mjs.gz +0 -0
  160. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BZdbOBKj.js +1 -0
  161. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BZdbOBKj.js.gz +0 -0
  162. package/dist/hsFormParse-DIcLN1Cq.mjs +4 -0
  163. package/dist/hsFormParse-DWP87iSD.js +1 -0
  164. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DQjZWN9b.mjs +121 -0
  165. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DQjZWN9b.mjs.gz +0 -0
  166. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DhrsZN00.js +1 -0
  167. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DhrsZN00.js.gz +0 -0
  168. package/dist/hsPanelItem-CbOabUT7.js +1 -0
  169. package/dist/hsPanelItem-___iA2jF.mjs +4 -0
  170. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DpqThhH1.js +1 -0
  171. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DpqThhH1.js.gz +0 -0
  172. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-gIxukqIm.mjs +86 -0
  173. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-gIxukqIm.mjs.gz +0 -0
  174. package/dist/iframes-BbAgyd0A.js +1 -0
  175. package/dist/iframes-BbAgyd0A.js.gz +0 -0
  176. package/dist/iframes-Dg4epToT.mjs +128 -0
  177. package/dist/iframes-Dg4epToT.mjs.gz +0 -0
  178. package/dist/index--aoN-kS-.js +1 -0
  179. package/dist/index--aoN-kS-.js.gz +0 -0
  180. package/dist/index-3b3ZxPYN.js +1 -0
  181. package/dist/index-3b3ZxPYN.js.gz +0 -0
  182. package/dist/index-4ncpQ4eO.js +1 -0
  183. package/dist/index-4ncpQ4eO.js.gz +0 -0
  184. package/dist/index-B9fWWgFC.js +1 -0
  185. package/dist/index-BE87B7un.mjs +4 -0
  186. package/dist/index-BKw8wZiw.js +1 -0
  187. package/dist/index-BLQx9ghF.mjs +11807 -0
  188. package/dist/index-BLQx9ghF.mjs.gz +0 -0
  189. package/dist/index-BNk1dWLf.js +1 -0
  190. package/dist/index-BNk1dWLf.js.gz +0 -0
  191. package/dist/index-BTlP265h.js +6 -0
  192. package/dist/index-BTlP265h.js.gz +0 -0
  193. package/dist/index-Bj9ws2oa.js +1 -0
  194. package/dist/index-Bte9KOhs.mjs +157 -0
  195. package/dist/index-Bte9KOhs.mjs.gz +0 -0
  196. package/dist/index-C-89UuEA.mjs +188 -0
  197. package/dist/index-C-89UuEA.mjs.gz +0 -0
  198. package/dist/index-C-NAwXhh.mjs +4 -0
  199. package/dist/index-C06oytBt.mjs +387 -0
  200. package/dist/index-C06oytBt.mjs.gz +0 -0
  201. package/dist/index-C7oQHdhP.js +1 -0
  202. package/dist/index-C7oQHdhP.js.gz +0 -0
  203. package/dist/index-C89vwuym.mjs +47 -0
  204. package/dist/index-C89vwuym.mjs.gz +0 -0
  205. package/dist/index-CAYOi9nH.mjs +4 -0
  206. package/dist/index-CEPxzHSb.mjs +4 -0
  207. package/dist/index-CHMnHdsv.mjs +76 -0
  208. package/dist/index-CHMnHdsv.mjs.gz +0 -0
  209. package/dist/index-CT22dNQq.mjs +96 -0
  210. package/dist/index-CT22dNQq.mjs.gz +0 -0
  211. package/dist/index-CTJnOjgx.js +1 -0
  212. package/dist/index-CTJnOjgx.js.gz +0 -0
  213. package/dist/index-CUPfJoEy.mjs +128 -0
  214. package/dist/index-CUPfJoEy.mjs.gz +0 -0
  215. package/dist/index-CX3Z6uob.mjs +50 -0
  216. package/dist/index-CX3Z6uob.mjs.gz +0 -0
  217. package/dist/index-CXH663el.js +1 -0
  218. package/dist/index-CYiP_KEu.mjs +101 -0
  219. package/dist/index-CYiP_KEu.mjs.gz +0 -0
  220. package/dist/index-Cac43KMP.js +1 -0
  221. package/dist/index-Cac43KMP.js.gz +0 -0
  222. package/dist/index-CewUJXBO.mjs +939 -0
  223. package/dist/index-CewUJXBO.mjs.gz +0 -0
  224. package/dist/index-Cjc7AzRL.mjs +255 -0
  225. package/dist/index-Cjc7AzRL.mjs.gz +0 -0
  226. package/dist/index-CkLZKJR0.js +1 -0
  227. package/dist/index-Cl57wgLQ.js +1 -0
  228. package/dist/index-Cs5Oa9hE.mjs +47 -0
  229. package/dist/index-Cs5Oa9hE.mjs.gz +0 -0
  230. package/dist/index-CvclceXR.mjs +10 -0
  231. package/dist/index-CwvMLcdB.mjs +92 -0
  232. package/dist/index-CwvMLcdB.mjs.gz +0 -0
  233. package/dist/index-D-sXaKNt.js +1 -0
  234. package/dist/index-D0jV4c9Q.mjs +66 -0
  235. package/dist/index-D0jV4c9Q.mjs.gz +0 -0
  236. package/dist/index-D5bsDNsF.js +1 -0
  237. package/dist/index-D5bsDNsF.js.gz +0 -0
  238. package/dist/index-D7tEQzig.mjs +4 -0
  239. package/dist/index-D8ZAnrId.mjs +50 -0
  240. package/dist/index-D8ZAnrId.mjs.gz +0 -0
  241. package/dist/index-D8vGfPII.js +1 -0
  242. package/dist/index-D8vGfPII.js.gz +0 -0
  243. package/dist/index-DAgSxNsj.mjs +248 -0
  244. package/dist/index-DAgSxNsj.mjs.gz +0 -0
  245. package/dist/index-DKuYylAP.js +1 -0
  246. package/dist/index-DObUWx4k.mjs +253 -0
  247. package/dist/index-DObUWx4k.mjs.gz +0 -0
  248. package/dist/index-DPsBc9z1.js +1 -0
  249. package/dist/index-DPsBc9z1.js.gz +0 -0
  250. package/dist/index-DRqpKFso.mjs +255 -0
  251. package/dist/index-DRqpKFso.mjs.gz +0 -0
  252. package/dist/index-DTXyZVqY.mjs +122 -0
  253. package/dist/index-DTXyZVqY.mjs.gz +0 -0
  254. package/dist/index-DTnNmOPu.js +1 -0
  255. package/dist/index-DWj_q_fG.mjs +251 -0
  256. package/dist/index-DWj_q_fG.mjs.gz +0 -0
  257. package/dist/index-D_mI3pFI.mjs +26 -0
  258. package/dist/index-D_mI3pFI.mjs.gz +0 -0
  259. package/dist/index-Dd7z2V3D.mjs +38 -0
  260. package/dist/index-Dd7z2V3D.mjs.gz +0 -0
  261. package/dist/index-DeAcYjhD.js +1 -0
  262. package/dist/index-DeAcYjhD.js.gz +0 -0
  263. package/dist/index-DgUcql-P.js +1 -0
  264. package/dist/index-Dh0NKHd4.js +1 -0
  265. package/dist/index-DinrE-Hu.mjs +29 -0
  266. package/dist/index-DinrE-Hu.mjs.gz +0 -0
  267. package/dist/index-Dp6MLSqu.js +1 -0
  268. package/dist/index-Dp6MLSqu.js.gz +0 -0
  269. package/dist/index-Dphk6VuR.mjs +10 -0
  270. package/dist/index-Dv-zC0a5.js +1 -0
  271. package/dist/index-Dv-zC0a5.js.gz +0 -0
  272. package/dist/index-DvYORydh.mjs +138008 -0
  273. package/dist/index-DvYORydh.mjs.gz +0 -0
  274. package/dist/index-DvzJr7ZM.js +1 -0
  275. package/dist/index-DvzJr7ZM.js.gz +0 -0
  276. package/dist/index-DwAwc5sd.mjs +4 -0
  277. package/dist/index-Dy6vmgSd.mjs +4 -0
  278. package/dist/index-Dyzi5KPQ.js +1 -0
  279. package/dist/index-Dyzi5KPQ.js.gz +0 -0
  280. package/dist/index-EOcDt029.js +1 -0
  281. package/dist/index-EOcDt029.js.gz +0 -0
  282. package/dist/index-EpVRV_uE.js +96 -0
  283. package/dist/index-EpVRV_uE.js.gz +0 -0
  284. package/dist/index-Hvnb-8MO.js +1 -0
  285. package/dist/index-Hvnb-8MO.js.gz +0 -0
  286. package/dist/index-LThBEjnE.js +1 -0
  287. package/dist/index-MbDwNKhe.js +1 -0
  288. package/dist/index-MbDwNKhe.js.gz +0 -0
  289. package/dist/index-O3pz1D1p.js +1 -0
  290. package/dist/index-O3pz1D1p.js.gz +0 -0
  291. package/dist/index-U3FwqQoO.js +1 -0
  292. package/dist/index-VkanRpZ6.mjs +89 -0
  293. package/dist/index-VkanRpZ6.mjs.gz +0 -0
  294. package/dist/index-_-H57V8y.js +1 -0
  295. package/dist/index-_KRpg9c2.js +1 -0
  296. package/dist/index-_KRpg9c2.js.gz +0 -0
  297. package/dist/index-_LeAGv5v.mjs +233 -0
  298. package/dist/index-_LeAGv5v.mjs.gz +0 -0
  299. package/dist/index-_dNqr0iA.js +1 -0
  300. package/dist/index-_dNqr0iA.js.gz +0 -0
  301. package/dist/index-pNxaAU_M.mjs +130 -0
  302. package/dist/index-pNxaAU_M.mjs.gz +0 -0
  303. package/dist/index-wihaDTAi.js +1 -0
  304. package/dist/index-wihaDTAi.js.gz +0 -0
  305. package/dist/index-yOUtMkb9.mjs +215 -0
  306. package/dist/index-yOUtMkb9.mjs.gz +0 -0
  307. package/dist/index.js +1 -1
  308. package/dist/index.mjs +14 -14
  309. package/dist/index.vue_vue_type_script_setup_true_lang-B-ExpdFb.js +1 -0
  310. package/dist/index.vue_vue_type_script_setup_true_lang-B-ExpdFb.js.gz +0 -0
  311. package/dist/index.vue_vue_type_script_setup_true_lang-B6BODu8H.mjs +69 -0
  312. package/dist/index.vue_vue_type_script_setup_true_lang-B6BODu8H.mjs.gz +0 -0
  313. package/dist/index.vue_vue_type_script_setup_true_lang-Bq4aFs1Z.mjs +195 -0
  314. package/dist/index.vue_vue_type_script_setup_true_lang-Bq4aFs1Z.mjs.gz +0 -0
  315. package/dist/index.vue_vue_type_script_setup_true_lang-Ci_LRxK8.js +1 -0
  316. package/dist/index.vue_vue_type_script_setup_true_lang-Ci_LRxK8.js.gz +0 -0
  317. package/dist/index.vue_vue_type_script_setup_true_lang-D0tOhB_n.mjs +98 -0
  318. package/dist/index.vue_vue_type_script_setup_true_lang-D0tOhB_n.mjs.gz +0 -0
  319. package/dist/index.vue_vue_type_script_setup_true_lang-DKrtlJQO.js +1 -0
  320. package/dist/index.vue_vue_type_script_setup_true_lang-DKrtlJQO.js.gz +0 -0
  321. package/dist/index.vue_vue_type_script_setup_true_lang-DPuOXaAr.mjs +238 -0
  322. package/dist/index.vue_vue_type_script_setup_true_lang-DPuOXaAr.mjs.gz +0 -0
  323. package/dist/index.vue_vue_type_script_setup_true_lang-DkpbWJIz.js +1 -0
  324. package/dist/index.vue_vue_type_script_setup_true_name_commodityClassify_lang-B1_wnNmp.mjs +241 -0
  325. package/dist/index.vue_vue_type_script_setup_true_name_commodityClassify_lang-B1_wnNmp.mjs.gz +0 -0
  326. package/dist/index.vue_vue_type_script_setup_true_name_commodityClassify_lang-CtFj2yIv.js +1 -0
  327. package/dist/index.vue_vue_type_script_setup_true_name_commodityClassify_lang-CtFj2yIv.js.gz +0 -0
  328. package/dist/link-DolyGDs-.mjs +67 -0
  329. package/dist/link-DolyGDs-.mjs.gz +0 -0
  330. package/dist/link-vY-WmGG_.js +1 -0
  331. package/dist/link-vY-WmGG_.js.gz +0 -0
  332. package/dist/list-BG_gTTFr.js +1 -0
  333. package/dist/list-BG_gTTFr.js.gz +0 -0
  334. package/dist/list-UJbQPqeE.mjs +85 -0
  335. package/dist/list-UJbQPqeE.mjs.gz +0 -0
  336. package/dist/logo-mini-BQ9BrQ1U.mjs +4 -0
  337. package/dist/logo-mini-BQ9BrQ1U.mjs.gz +0 -0
  338. package/dist/logo-mini-DwRdfcE7.js +1 -0
  339. package/dist/logo-mini-DwRdfcE7.js.gz +0 -0
  340. package/dist/main-4j1xlVPs.js +1 -0
  341. package/dist/main-4j1xlVPs.js.gz +0 -0
  342. package/dist/main-bobSOnyH.mjs +75 -0
  343. package/dist/main-bobSOnyH.mjs.gz +0 -0
  344. package/dist/mobile-CUoUJ7r0.js +1 -0
  345. package/dist/mobile-CUoUJ7r0.js.gz +0 -0
  346. package/dist/mobile-RgrqWnrM.mjs +116 -0
  347. package/dist/mobile-RgrqWnrM.mjs.gz +0 -0
  348. package/dist/mxClient/images/close.gif +0 -0
  349. package/dist/mxClient/images/minimize.gif +0 -0
  350. package/dist/mxClient/images/warning.gif +0 -0
  351. package/dist/mxClient/resources/app.txt +14 -1
  352. package/dist/mxClient/xml/layouteditor.xml +15 -0
  353. package/dist/mxClient/xml/stylesheet.xml +85 -129
  354. package/dist/mxClient/xml/wfeditor-commons.xml +195 -0
  355. package/dist/mxClient/xml/wfgraph-commons.xml +71 -0
  356. package/dist/mxClient/xml/wftoolbar-commons.xml +73 -0
  357. package/dist/parent-C_DnGtep.js +1 -0
  358. package/dist/parent-C_DnGtep.js.gz +0 -0
  359. package/dist/parent-bs7dohaC.mjs +129 -0
  360. package/dist/parent-bs7dohaC.mjs.gz +0 -0
  361. package/dist/popup-CHx4xv6J.js +1 -0
  362. package/dist/popup-CQcCxRl-.mjs +4 -0
  363. package/dist/popup.vue_vue_type_script_setup_true_name_editorPopup_lang-D3Xy3fnq.js +1 -0
  364. package/dist/popup.vue_vue_type_script_setup_true_name_editorPopup_lang-tswvdftj.mjs +37 -0
  365. package/dist/popup.vue_vue_type_script_setup_true_name_editorPopup_lang-tswvdftj.mjs.gz +0 -0
  366. package/dist/replaceRules-DH-X9Qwr.mjs +219 -0
  367. package/dist/replaceRules-DH-X9Qwr.mjs.gz +0 -0
  368. package/dist/replaceRules-ZHM9IC9J.js +1 -0
  369. package/dist/replaceRules-ZHM9IC9J.js.gz +0 -0
  370. package/dist/roleItem-DHZwl_qP.js +1 -0
  371. package/dist/roleItem-DHZwl_qP.js.gz +0 -0
  372. package/dist/roleItem-t2cIzOrp.mjs +105 -0
  373. package/dist/roleItem-t2cIzOrp.mjs.gz +0 -0
  374. package/dist/saveForm-BhvmtgD7.js +1 -0
  375. package/dist/saveForm-Cx6ELchL.mjs +4 -0
  376. package/dist/saveForm.vue_vue_type_script_setup_true_lang-DrtIapk2.mjs +359 -0
  377. package/dist/saveForm.vue_vue_type_script_setup_true_lang-DrtIapk2.mjs.gz +0 -0
  378. package/dist/saveForm.vue_vue_type_script_setup_true_lang-zwROunct.js +1 -0
  379. package/dist/saveForm.vue_vue_type_script_setup_true_lang-zwROunct.js.gz +0 -0
  380. package/dist/scan-Bzl-JZkg.mjs +955 -0
  381. package/dist/scan-Bzl-JZkg.mjs.gz +0 -0
  382. package/dist/scan-o9TM9QB5.js +1 -0
  383. package/dist/scan-o9TM9QB5.js.gz +0 -0
  384. package/dist/search--Rb_dmnO.js +1 -0
  385. package/dist/search--Rb_dmnO.js.gz +0 -0
  386. package/dist/search-DYBBP2d9.mjs +117 -0
  387. package/dist/search-DYBBP2d9.mjs.gz +0 -0
  388. package/dist/selectConfig-DRqM0Znt.mjs +544 -0
  389. package/dist/selectConfig-DRqM0Znt.mjs.gz +0 -0
  390. package/dist/selectConfig-FWdJ4BGK.js +1 -0
  391. package/dist/selectConfig-FWdJ4BGK.js.gz +0 -0
  392. package/dist/subItem-DA3eybnc.js +1 -0
  393. package/dist/subItem-DA3eybnc.js.gz +0 -0
  394. package/dist/subItem-UkDq7775.mjs +77 -0
  395. package/dist/subItem-UkDq7775.mjs.gz +0 -0
  396. package/dist/tagsView-CakVAvCL.js +8 -0
  397. package/dist/tagsView-CakVAvCL.js.gz +0 -0
  398. package/dist/tagsView-DHV4z-j5.mjs +2764 -0
  399. package/dist/tagsView-DHV4z-j5.mjs.gz +0 -0
  400. package/dist/transverse-BYRmgkLe.mjs +63 -0
  401. package/dist/transverse-BYRmgkLe.mjs.gz +0 -0
  402. package/dist/transverse-DHYhQ6PL.js +1 -0
  403. package/dist/transverse-DHYhQ6PL.js.gz +0 -0
  404. package/dist/trtcUI-BiVN9IDY.js +1 -0
  405. package/dist/trtcUI-BiVN9IDY.js.gz +0 -0
  406. package/dist/trtcUI-CZyxZu8y.mjs +20198 -0
  407. package/dist/trtcUI-CZyxZu8y.mjs.gz +0 -0
  408. package/dist/types/utils/storage.d.ts +7 -0
  409. package/dist/uploadAvatar-CfxStPVy.js +1 -0
  410. package/dist/uploadAvatar-CfxStPVy.js.gz +0 -0
  411. package/dist/uploadAvatar-DTnLl8jn.mjs +2006 -0
  412. package/dist/uploadAvatar-DTnLl8jn.mjs.gz +0 -0
  413. package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-B-YXXUWn.js +1 -0
  414. package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-B-YXXUWn.js.gz +0 -0
  415. package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-DOiOwYLl.mjs +137 -0
  416. package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-DOiOwYLl.mjs.gz +0 -0
  417. package/dist/user-Chx8O6E_.mjs +372 -0
  418. package/dist/user-Chx8O6E_.mjs.gz +0 -0
  419. package/dist/user-gP-1cMIt.js +1 -0
  420. package/dist/user-gP-1cMIt.js.gz +0 -0
  421. package/dist/userNews-BmDvYLCX.js +1 -0
  422. package/dist/userNews-BmDvYLCX.js.gz +0 -0
  423. package/dist/userNews-ZrPFs8bC.mjs +74 -0
  424. package/dist/userNews-ZrPFs8bC.mjs.gz +0 -0
  425. package/dist/userSelect-DQ5kMgrG.mjs +4 -0
  426. package/dist/userSelect-QGyW_Seh.js +1 -0
  427. package/dist/userSelect.vue_vue_type_script_setup_true_lang-55FFeTIC.mjs +100 -0
  428. package/dist/userSelect.vue_vue_type_script_setup_true_lang-55FFeTIC.mjs.gz +0 -0
  429. package/dist/userSelect.vue_vue_type_script_setup_true_lang-DWZ-y4t6.js +1 -0
  430. package/dist/userSelect.vue_vue_type_script_setup_true_lang-DWZ-y4t6.js.gz +0 -0
  431. package/dist/vertical-4s1zyg6k.mjs +130 -0
  432. package/dist/vertical-4s1zyg6k.mjs.gz +0 -0
  433. package/dist/vertical-BYjdQu-2.js +1 -0
  434. package/dist/vertical-BYjdQu-2.js.gz +0 -0
  435. package/package.json +1 -1
  436. package/dist/401-C3DjzFpZ.mjs +0 -47
  437. package/dist/401-C3DjzFpZ.mjs.gz +0 -0
  438. package/dist/401-CzElZQUZ.js +0 -1
  439. package/dist/401-CzElZQUZ.js.gz +0 -0
  440. package/dist/404-C6E4yP8W.mjs +0 -47
  441. package/dist/404-C6E4yP8W.mjs.gz +0 -0
  442. package/dist/404-DJHle8mw.js +0 -1
  443. package/dist/404-DJHle8mw.js.gz +0 -0
  444. package/dist/account-CC-Z8mgc.js +0 -1
  445. package/dist/account-CC-Z8mgc.js.gz +0 -0
  446. package/dist/account-D5qgSj9-.mjs +0 -307
  447. package/dist/account-D5qgSj9-.mjs.gz +0 -0
  448. package/dist/aside-ByahttqE.js +0 -1
  449. package/dist/aside-ByahttqE.js.gz +0 -0
  450. package/dist/aside-C5WEWFPF.mjs +0 -105
  451. package/dist/aside-C5WEWFPF.mjs.gz +0 -0
  452. package/dist/baseBtnConfig-BaYFVzAe.js +0 -1
  453. package/dist/baseBtnConfig-BaYFVzAe.js.gz +0 -0
  454. package/dist/baseBtnConfig-BpdCCSnd.mjs +0 -261
  455. package/dist/baseBtnConfig-BpdCCSnd.mjs.gz +0 -0
  456. package/dist/baseFormConfig-ESA7rrpk.js +0 -1
  457. package/dist/baseFormConfig-ESA7rrpk.js.gz +0 -0
  458. package/dist/baseFormConfig-Y-WskR6p.mjs +0 -698
  459. package/dist/baseFormConfig-Y-WskR6p.mjs.gz +0 -0
  460. package/dist/btnIndex-Ba0eo6CF.mjs +0 -247
  461. package/dist/btnIndex-Ba0eo6CF.mjs.gz +0 -0
  462. package/dist/btnIndex-CuZjbgfg.js +0 -1
  463. package/dist/btnIndex-CuZjbgfg.js.gz +0 -0
  464. package/dist/classic-B4DAiXdx.mjs +0 -61
  465. package/dist/classic-B4DAiXdx.mjs.gz +0 -0
  466. package/dist/classic-sdjmO16P.js +0 -1
  467. package/dist/classic-sdjmO16P.js.gz +0 -0
  468. package/dist/cloneConfigDialog-BNg-0b2b.mjs +0 -177
  469. package/dist/cloneConfigDialog-BNg-0b2b.mjs.gz +0 -0
  470. package/dist/cloneConfigDialog-CYa9oNC0.js +0 -1
  471. package/dist/cloneConfigDialog-CYa9oNC0.js.gz +0 -0
  472. package/dist/columns-BHPWUPkP.js +0 -1
  473. package/dist/columns-BHPWUPkP.js.gz +0 -0
  474. package/dist/columns-Be1umTAK.mjs +0 -67
  475. package/dist/columns-Be1umTAK.mjs.gz +0 -0
  476. package/dist/columnsAside-CNV56oCt.js +0 -1
  477. package/dist/columnsAside-CNV56oCt.js.gz +0 -0
  478. package/dist/columnsAside-D5leyjfE.mjs +0 -157
  479. package/dist/columnsAside-D5leyjfE.mjs.gz +0 -0
  480. package/dist/contextmenu-BIH4l7EB.mjs +0 -99
  481. package/dist/contextmenu-BIH4l7EB.mjs.gz +0 -0
  482. package/dist/contextmenu-Btvoma1S.js +0 -1
  483. package/dist/contextmenu-Btvoma1S.js.gz +0 -0
  484. package/dist/contextmenu-CkAoYBNl.mjs +0 -97
  485. package/dist/contextmenu-CkAoYBNl.mjs.gz +0 -0
  486. package/dist/contextmenu-D4SqQNwz.mjs +0 -97
  487. package/dist/contextmenu-D4SqQNwz.mjs.gz +0 -0
  488. package/dist/contextmenu-V6wwC6UO.js +0 -1
  489. package/dist/contextmenu-V6wwC6UO.js.gz +0 -0
  490. package/dist/contextmenu-cMGzajIL.js +0 -1
  491. package/dist/contextmenu-cMGzajIL.js.gz +0 -0
  492. package/dist/defaults-BL0_HoDu.mjs +0 -66
  493. package/dist/defaults-BL0_HoDu.mjs.gz +0 -0
  494. package/dist/defaults-Bi289jOk.js +0 -1
  495. package/dist/defaults-Bi289jOk.js.gz +0 -0
  496. package/dist/dialog-BRCCJXqF.js +0 -1
  497. package/dist/dialog-BVxL7_68.mjs +0 -4
  498. package/dist/dialog-BWGINvrm.mjs +0 -4
  499. package/dist/dialog-BgPR-L6-.js +0 -1
  500. package/dist/dialog-BmCwSZ2C.js +0 -1
  501. package/dist/dialog-BmCwSZ2C.js.gz +0 -0
  502. package/dist/dialog-Ch_vZTX6.mjs +0 -329
  503. package/dist/dialog-Ch_vZTX6.mjs.gz +0 -0
  504. package/dist/dialog-Cqb6ay6R.js +0 -1
  505. package/dist/dialog-Cqb6ay6R.js.gz +0 -0
  506. package/dist/dialog-DVZ-Aqm0.mjs +0 -429
  507. package/dist/dialog-DVZ-Aqm0.mjs.gz +0 -0
  508. package/dist/dialog-DeuceWcM.js +0 -1
  509. package/dist/dialog-DeuceWcM.js.gz +0 -0
  510. package/dist/dialog-UoVqSoLN.mjs +0 -319
  511. package/dist/dialog-UoVqSoLN.mjs.gz +0 -0
  512. package/dist/dialog-f0hSj8W8.mjs +0 -10
  513. package/dist/dialog-lLUzAVOH.js +0 -1
  514. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BK0YEGZq.js +0 -1
  515. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BK0YEGZq.js.gz +0 -0
  516. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DSdIxVKO.mjs +0 -179
  517. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DSdIxVKO.mjs.gz +0 -0
  518. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BLRUAfjO.js +0 -1
  519. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BLRUAfjO.js.gz +0 -0
  520. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-z8DgIbhh.mjs +0 -552
  521. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-z8DgIbhh.mjs.gz +0 -0
  522. package/dist/dictDialog-BeKwa3z7.mjs +0 -4
  523. package/dist/dictDialog-CQISdD6y.js +0 -1
  524. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CS0zxbt9.mjs +0 -122
  525. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CS0zxbt9.mjs.gz +0 -0
  526. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CkKb2R5X.js +0 -1
  527. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CkKb2R5X.js.gz +0 -0
  528. package/dist/dictItemDialog-BKFxHq_Z.mjs +0 -4
  529. package/dist/dictItemDialog-C87AG_Y4.js +0 -1
  530. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-C8UUFKgI.js +0 -1
  531. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-C8UUFKgI.js.gz +0 -0
  532. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-Dvjty9vP.mjs +0 -199
  533. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-Dvjty9vP.mjs.gz +0 -0
  534. package/dist/editDialog-B6b7yxtg.js +0 -1
  535. package/dist/editDialog-B6b7yxtg.js.gz +0 -0
  536. package/dist/editDialog-DdFMrRVw.mjs +0 -96
  537. package/dist/editDialog-DdFMrRVw.mjs.gz +0 -0
  538. package/dist/formConfig-DbbRguEc.js +0 -1
  539. package/dist/formConfig-DbbRguEc.js.gz +0 -0
  540. package/dist/formConfig-Dsho6Eux.mjs +0 -337
  541. package/dist/formConfig-Dsho6Eux.mjs.gz +0 -0
  542. package/dist/header-BJGjLKZD.js +0 -1
  543. package/dist/header-CBElncNo.mjs +0 -24
  544. package/dist/horizontal-DJZsNAoW.js +0 -1
  545. package/dist/horizontal-DJZsNAoW.js.gz +0 -0
  546. package/dist/horizontal-VYGdVZ8G.mjs +0 -109
  547. package/dist/horizontal-VYGdVZ8G.mjs.gz +0 -0
  548. package/dist/hsAttrBtn-Cedu1MRe.js +0 -1
  549. package/dist/hsAttrBtn-CwCuoCAj.mjs +0 -4
  550. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-65zu6gob.js +0 -1
  551. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-65zu6gob.js.gz +0 -0
  552. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DZgZFqUc.mjs +0 -103
  553. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DZgZFqUc.mjs.gz +0 -0
  554. package/dist/hsAttrForm-DXOF2zwM.mjs +0 -4
  555. package/dist/hsAttrForm-DrMAfknV.js +0 -1
  556. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CVTxw29l.js +0 -1
  557. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CVTxw29l.js.gz +0 -0
  558. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DvsyItna.mjs +0 -211
  559. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DvsyItna.mjs.gz +0 -0
  560. package/dist/hsBtnConfigList-BdBJyfDF.js +0 -1
  561. package/dist/hsBtnConfigList-BdBJyfDF.js.gz +0 -0
  562. package/dist/hsBtnConfigList-CfL0tmLZ.mjs +0 -87
  563. package/dist/hsBtnConfigList-CfL0tmLZ.mjs.gz +0 -0
  564. package/dist/hsBtnItemConfig-BwVPGpR_.mjs +0 -4
  565. package/dist/hsBtnItemConfig-DfeHtJga.js +0 -1
  566. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DIk4mmKQ.mjs +0 -84
  567. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DIk4mmKQ.mjs.gz +0 -0
  568. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-UHIVjq4K.js +0 -1
  569. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-UHIVjq4K.js.gz +0 -0
  570. package/dist/hsBtnPanel-7Cqt8-tk.mjs +0 -4
  571. package/dist/hsBtnPanel-Bv211PWo.js +0 -1
  572. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CLiqiKt2.mjs +0 -60
  573. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CLiqiKt2.mjs.gz +0 -0
  574. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DB9ITMgF.js +0 -1
  575. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DB9ITMgF.js.gz +0 -0
  576. package/dist/hsExpand-BTS5jac_.js +0 -1
  577. package/dist/hsExpand-CSfe00eG.mjs +0 -4
  578. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-CAOiPZxi.js +0 -1
  579. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-CAOiPZxi.js.gz +0 -0
  580. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-DS-nZz_X.mjs +0 -185
  581. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-DS-nZz_X.mjs.gz +0 -0
  582. package/dist/hsFormConfig-Dl1pgL5u.mjs +0 -177
  583. package/dist/hsFormConfig-Dl1pgL5u.mjs.gz +0 -0
  584. package/dist/hsFormConfig-vWSmQURS.js +0 -1
  585. package/dist/hsFormConfig-vWSmQURS.js.gz +0 -0
  586. package/dist/hsFormConfigList-CW_YDa3M.js +0 -1
  587. package/dist/hsFormConfigList-CW_YDa3M.js.gz +0 -0
  588. package/dist/hsFormConfigList-DqxNaYi-.mjs +0 -232
  589. package/dist/hsFormConfigList-DqxNaYi-.mjs.gz +0 -0
  590. package/dist/hsFormPanel-BbprS5zt.js +0 -1
  591. package/dist/hsFormPanel-CtWUl0fO.mjs +0 -4
  592. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-8p0-pRgu.mjs +0 -185
  593. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-8p0-pRgu.mjs.gz +0 -0
  594. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-U6ecWJaW.js +0 -1
  595. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-U6ecWJaW.js.gz +0 -0
  596. package/dist/hsFormParse-BKAvoSSj.js +0 -1
  597. package/dist/hsFormParse-DkuPpdTw.mjs +0 -4
  598. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DTfYeYqc.js +0 -1
  599. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DTfYeYqc.js.gz +0 -0
  600. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-D_6hU1ox.mjs +0 -99
  601. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-D_6hU1ox.mjs.gz +0 -0
  602. package/dist/hsPanelItem-Cb5lzMrj.js +0 -1
  603. package/dist/hsPanelItem-D9t82XS1.mjs +0 -4
  604. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-B2_3FvJw.mjs +0 -76
  605. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-B2_3FvJw.mjs.gz +0 -0
  606. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Xidx-WPO.js +0 -1
  607. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Xidx-WPO.js.gz +0 -0
  608. package/dist/iframes-DQRGT1aT.js +0 -1
  609. package/dist/iframes-DQRGT1aT.js.gz +0 -0
  610. package/dist/iframes-LR-XbqJ3.mjs +0 -102
  611. package/dist/iframes-LR-XbqJ3.mjs.gz +0 -0
  612. package/dist/index-0vzDoVhe.mjs +0 -55
  613. package/dist/index-0vzDoVhe.mjs.gz +0 -0
  614. package/dist/index-2yWECHmM.js +0 -1
  615. package/dist/index-4uQQNBNG.mjs +0 -231
  616. package/dist/index-4uQQNBNG.mjs.gz +0 -0
  617. package/dist/index-88gj3mn0.mjs +0 -210
  618. package/dist/index-88gj3mn0.mjs.gz +0 -0
  619. package/dist/index-B4FdBpUs.mjs +0 -845
  620. package/dist/index-B4FdBpUs.mjs.gz +0 -0
  621. package/dist/index-B7UBBhFE.mjs +0 -95
  622. package/dist/index-B7UBBhFE.mjs.gz +0 -0
  623. package/dist/index-BAI7yWMc.mjs +0 -220
  624. package/dist/index-BAI7yWMc.mjs.gz +0 -0
  625. package/dist/index-BCZ8Hjo-.mjs +0 -29
  626. package/dist/index-BI0ONM7L.js +0 -1
  627. package/dist/index-BI0ONM7L.js.gz +0 -0
  628. package/dist/index-BPg8gYTH.mjs +0 -229
  629. package/dist/index-BPg8gYTH.mjs.gz +0 -0
  630. package/dist/index-BSwDJeZ0.mjs +0 -35
  631. package/dist/index-BWEAKS-b.js +0 -1
  632. package/dist/index-BX_fXpkp.js +0 -1
  633. package/dist/index-BX_fXpkp.js.gz +0 -0
  634. package/dist/index-BZIFSKYm.js +0 -1
  635. package/dist/index-Ba-JjC5n.mjs +0 -4
  636. package/dist/index-BbGFm7Ao.mjs +0 -67
  637. package/dist/index-BbGFm7Ao.mjs.gz +0 -0
  638. package/dist/index-Bd_e3_GE.js +0 -1
  639. package/dist/index-Blg9Y2U9.js +0 -1
  640. package/dist/index-Bm5UnOtn.js +0 -1
  641. package/dist/index-Bm5UnOtn.js.gz +0 -0
  642. package/dist/index-BnQP1lwW.mjs +0 -65
  643. package/dist/index-BnQP1lwW.mjs.gz +0 -0
  644. package/dist/index-BpTTX_rF.js +0 -1
  645. package/dist/index-Br8I_WVO.js +0 -1
  646. package/dist/index-Br8I_WVO.js.gz +0 -0
  647. package/dist/index-BusYy-mp.mjs +0 -218
  648. package/dist/index-BusYy-mp.mjs.gz +0 -0
  649. package/dist/index-BvoDWm3Z.mjs +0 -10948
  650. package/dist/index-BvoDWm3Z.mjs.gz +0 -0
  651. package/dist/index-Bx_LwGZu.js +0 -1
  652. package/dist/index-Bx_LwGZu.js.gz +0 -0
  653. package/dist/index-C0IJWnqG.js +0 -1
  654. package/dist/index-C1sl2j1m.js +0 -1
  655. package/dist/index-C1sl2j1m.js.gz +0 -0
  656. package/dist/index-C481CFx6.js +0 -1
  657. package/dist/index-C481CFx6.js.gz +0 -0
  658. package/dist/index-C7klybIO.mjs +0 -4
  659. package/dist/index-C9GEHgo3.mjs +0 -18
  660. package/dist/index-CB7OoJax.js +0 -3
  661. package/dist/index-CB7OoJax.js.gz +0 -0
  662. package/dist/index-CCgiJ4uN.js +0 -1
  663. package/dist/index-CEX1qmH5.js +0 -1
  664. package/dist/index-CEX1qmH5.js.gz +0 -0
  665. package/dist/index-CH8cuAFT.mjs +0 -314
  666. package/dist/index-CH8cuAFT.mjs.gz +0 -0
  667. package/dist/index-CNuf_tFh.mjs +0 -141
  668. package/dist/index-CNuf_tFh.mjs.gz +0 -0
  669. package/dist/index-CQz_KRO8.js +0 -1
  670. package/dist/index-CRn2mIiv.mjs +0 -4
  671. package/dist/index-CYg78RIT.mjs +0 -220
  672. package/dist/index-CYg78RIT.mjs.gz +0 -0
  673. package/dist/index-CYl5b_sm.js +0 -1
  674. package/dist/index-CYl5b_sm.js.gz +0 -0
  675. package/dist/index-CbAHUvHt.mjs +0 -202
  676. package/dist/index-CbAHUvHt.mjs.gz +0 -0
  677. package/dist/index-CfZTy2Mp.mjs +0 -29
  678. package/dist/index-Cg-x6ulw.mjs +0 -55
  679. package/dist/index-Cg-x6ulw.mjs.gz +0 -0
  680. package/dist/index-ChR8JcLr.mjs +0 -4
  681. package/dist/index-Cp1pMJF-.mjs +0 -34
  682. package/dist/index-Cp1pMJF-.mjs.gz +0 -0
  683. package/dist/index-Cp_uQgnq.js +0 -9
  684. package/dist/index-Cp_uQgnq.js.gz +0 -0
  685. package/dist/index-Cph-Zfjt.mjs +0 -99671
  686. package/dist/index-Cph-Zfjt.mjs.gz +0 -0
  687. package/dist/index-Ct8W0-oo.js +0 -218
  688. package/dist/index-Ct8W0-oo.js.gz +0 -0
  689. package/dist/index-CxhTwYTH.js +0 -1
  690. package/dist/index-D-IQpBwX.js +0 -1
  691. package/dist/index-D-IQpBwX.js.gz +0 -0
  692. package/dist/index-D5aewzWz.mjs +0 -4
  693. package/dist/index-DABapiGx.js +0 -1
  694. package/dist/index-DABapiGx.js.gz +0 -0
  695. package/dist/index-DJKnMgpl.mjs +0 -62
  696. package/dist/index-DJKnMgpl.mjs.gz +0 -0
  697. package/dist/index-DKE2E-I4.mjs +0 -110
  698. package/dist/index-DKE2E-I4.mjs.gz +0 -0
  699. package/dist/index-DTXdab0F.mjs +0 -88
  700. package/dist/index-DTXdab0F.mjs.gz +0 -0
  701. package/dist/index-DWMdowLy.js +0 -1
  702. package/dist/index-Dd2WPnnL.mjs +0 -4
  703. package/dist/index-Dd7JzKZW.js +0 -1
  704. package/dist/index-Dd7JzKZW.js.gz +0 -0
  705. package/dist/index-DfHumbMC.mjs +0 -20
  706. package/dist/index-DhPdQOeh.js +0 -1
  707. package/dist/index-DhPdQOeh.js.gz +0 -0
  708. package/dist/index-Di1eGczS.mjs +0 -10
  709. package/dist/index-Di4BzWMZ.mjs +0 -10
  710. package/dist/index-DiF5VQ7I.js +0 -1
  711. package/dist/index-DlJbUjPS.js +0 -1
  712. package/dist/index-DlJbUjPS.js.gz +0 -0
  713. package/dist/index-Du9MiI-a.js +0 -1
  714. package/dist/index-Du9MiI-a.js.gz +0 -0
  715. package/dist/index-DwoWUQL_.js +0 -1
  716. package/dist/index-DwoWUQL_.js.gz +0 -0
  717. package/dist/index-DzIkyTWo.mjs +0 -4
  718. package/dist/index-EBopqF8B.js +0 -1
  719. package/dist/index-HKkzXSZw.mjs +0 -41
  720. package/dist/index-HKkzXSZw.mjs.gz +0 -0
  721. package/dist/index-KV9qAtGO.js +0 -1
  722. package/dist/index-KV9qAtGO.js.gz +0 -0
  723. package/dist/index-PwN_OMy9.mjs +0 -59
  724. package/dist/index-PwN_OMy9.mjs.gz +0 -0
  725. package/dist/index-YSA_C8Rg.mjs +0 -149
  726. package/dist/index-YSA_C8Rg.mjs.gz +0 -0
  727. package/dist/index-kqak3pMB.js +0 -1
  728. package/dist/index-kqak3pMB.js.gz +0 -0
  729. package/dist/index-kuyYmMvk.js +0 -1
  730. package/dist/index-kuyYmMvk.js.gz +0 -0
  731. package/dist/index-nCeC4OGd.js +0 -1
  732. package/dist/index-nCeC4OGd.js.gz +0 -0
  733. package/dist/index-sZTrvmml.js +0 -1
  734. package/dist/index-tAGtMQQ0.js +0 -1
  735. package/dist/index-tAGtMQQ0.js.gz +0 -0
  736. package/dist/index.vue_vue_type_script_setup_true_lang-BBR5YhSR.js +0 -1
  737. package/dist/index.vue_vue_type_script_setup_true_lang-BaNOzWWB.js +0 -1
  738. package/dist/index.vue_vue_type_script_setup_true_lang-BaNOzWWB.js.gz +0 -0
  739. package/dist/index.vue_vue_type_script_setup_true_lang-CKY2YlNU.mjs +0 -150
  740. package/dist/index.vue_vue_type_script_setup_true_lang-CKY2YlNU.mjs.gz +0 -0
  741. package/dist/index.vue_vue_type_script_setup_true_lang-DI4uiFZq.mjs +0 -79
  742. package/dist/index.vue_vue_type_script_setup_true_lang-DI4uiFZq.mjs.gz +0 -0
  743. package/dist/index.vue_vue_type_script_setup_true_lang-DYtu4LnX.mjs +0 -52
  744. package/dist/index.vue_vue_type_script_setup_true_lang-DYtu4LnX.mjs.gz +0 -0
  745. package/dist/index.vue_vue_type_script_setup_true_lang-M2yeRgNv.js +0 -1
  746. package/dist/index.vue_vue_type_script_setup_true_lang-M2yeRgNv.js.gz +0 -0
  747. package/dist/index.vue_vue_type_script_setup_true_lang-hT6vb7g5.js +0 -1
  748. package/dist/index.vue_vue_type_script_setup_true_lang-hT6vb7g5.js.gz +0 -0
  749. package/dist/index.vue_vue_type_script_setup_true_lang-mG2jGZ8R.mjs +0 -198
  750. package/dist/index.vue_vue_type_script_setup_true_lang-mG2jGZ8R.mjs.gz +0 -0
  751. package/dist/index.vue_vue_type_script_setup_true_name_commodityClassify_lang-D1oNPfh2.mjs +0 -207
  752. package/dist/index.vue_vue_type_script_setup_true_name_commodityClassify_lang-D1oNPfh2.mjs.gz +0 -0
  753. package/dist/index.vue_vue_type_script_setup_true_name_commodityClassify_lang-olV4cGka.js +0 -1
  754. package/dist/index.vue_vue_type_script_setup_true_name_commodityClassify_lang-olV4cGka.js.gz +0 -0
  755. package/dist/link-B4yKPKJ2.mjs +0 -50
  756. package/dist/link-B4yKPKJ2.mjs.gz +0 -0
  757. package/dist/link-BLY8zCYJ.js +0 -1
  758. package/dist/link-BLY8zCYJ.js.gz +0 -0
  759. package/dist/list-C5iK5lz3.mjs +0 -74
  760. package/dist/list-C5iK5lz3.mjs.gz +0 -0
  761. package/dist/list-HooV3Wcp.js +0 -1
  762. package/dist/list-HooV3Wcp.js.gz +0 -0
  763. package/dist/logo-mini-B38ustl2.js +0 -1
  764. package/dist/logo-mini-B38ustl2.js.gz +0 -0
  765. package/dist/logo-mini-Bl032aC-.mjs +0 -4
  766. package/dist/logo-mini-Bl032aC-.mjs.gz +0 -0
  767. package/dist/main-DHl_7vSr.js +0 -1
  768. package/dist/main-DHl_7vSr.js.gz +0 -0
  769. package/dist/main-Dx8XeUEF.mjs +0 -47
  770. package/dist/main-Dx8XeUEF.mjs.gz +0 -0
  771. package/dist/mobile-B4qMIFBM.mjs +0 -104
  772. package/dist/mobile-B4qMIFBM.mjs.gz +0 -0
  773. package/dist/mobile-DoL7y6A7.js +0 -1
  774. package/dist/mobile-DoL7y6A7.js.gz +0 -0
  775. package/dist/mxClient/xml/diagrameditor.xml +0 -167
  776. package/dist/mxClient/xml/toolbar.xml +0 -45
  777. package/dist/parent--fP9cwxC.mjs +0 -95
  778. package/dist/parent--fP9cwxC.mjs.gz +0 -0
  779. package/dist/parent-B8drpiQG.js +0 -1
  780. package/dist/parent-B8drpiQG.js.gz +0 -0
  781. package/dist/popup-8IWZw6oI.mjs +0 -4
  782. package/dist/popup-CEwx5X0E.js +0 -1
  783. package/dist/popup.vue_vue_type_script_setup_true_name_editorPopup_lang-BMtoq60y.js +0 -1
  784. package/dist/popup.vue_vue_type_script_setup_true_name_editorPopup_lang-tS32hSV2.mjs +0 -22
  785. package/dist/replaceRules-BxO4Zcbq.mjs +0 -172
  786. package/dist/replaceRules-BxO4Zcbq.mjs.gz +0 -0
  787. package/dist/replaceRules-D0euSvVK.js +0 -1
  788. package/dist/replaceRules-D0euSvVK.js.gz +0 -0
  789. package/dist/roleItem-Crrof47O.mjs +0 -83
  790. package/dist/roleItem-Crrof47O.mjs.gz +0 -0
  791. package/dist/roleItem-DG0hA6Xe.js +0 -1
  792. package/dist/roleItem-DG0hA6Xe.js.gz +0 -0
  793. package/dist/saveForm-DH99rNda.js +0 -1
  794. package/dist/saveForm-QEjqX_pq.mjs +0 -4
  795. package/dist/saveForm.vue_vue_type_script_setup_true_lang-DG_wtBvB.js +0 -1
  796. package/dist/saveForm.vue_vue_type_script_setup_true_lang-DG_wtBvB.js.gz +0 -0
  797. package/dist/saveForm.vue_vue_type_script_setup_true_lang-DnEmriTv.mjs +0 -314
  798. package/dist/saveForm.vue_vue_type_script_setup_true_lang-DnEmriTv.mjs.gz +0 -0
  799. package/dist/scan-C8tGTiMp.mjs +0 -544
  800. package/dist/scan-C8tGTiMp.mjs.gz +0 -0
  801. package/dist/scan-CtIfI5cV.js +0 -1
  802. package/dist/scan-CtIfI5cV.js.gz +0 -0
  803. package/dist/search-DQYDtPmA.mjs +0 -85
  804. package/dist/search-DQYDtPmA.mjs.gz +0 -0
  805. package/dist/search-DsG18MQl.js +0 -1
  806. package/dist/search-DsG18MQl.js.gz +0 -0
  807. package/dist/selectConfig-C8SWmdZo.mjs +0 -536
  808. package/dist/selectConfig-C8SWmdZo.mjs.gz +0 -0
  809. package/dist/selectConfig-ChxEd_LK.js +0 -1
  810. package/dist/selectConfig-ChxEd_LK.js.gz +0 -0
  811. package/dist/subItem-CoerZJ2_.js +0 -1
  812. package/dist/subItem-CoerZJ2_.js.gz +0 -0
  813. package/dist/subItem-D_0TuN5F.mjs +0 -66
  814. package/dist/subItem-D_0TuN5F.mjs.gz +0 -0
  815. package/dist/tagsView-BQ1Lv6v6.mjs +0 -1568
  816. package/dist/tagsView-BQ1Lv6v6.mjs.gz +0 -0
  817. package/dist/tagsView-BrnnaMwc.js +0 -6
  818. package/dist/tagsView-BrnnaMwc.js.gz +0 -0
  819. package/dist/transverse-DLr2eE7P.mjs +0 -51
  820. package/dist/transverse-DLr2eE7P.mjs.gz +0 -0
  821. package/dist/transverse-DRATvPb9.js +0 -1
  822. package/dist/transverse-DRATvPb9.js.gz +0 -0
  823. package/dist/trtcUI-BodpchlA.mjs +0 -20076
  824. package/dist/trtcUI-BodpchlA.mjs.gz +0 -0
  825. package/dist/trtcUI-Cp36KBeC.js +0 -116
  826. package/dist/trtcUI-Cp36KBeC.js.gz +0 -0
  827. package/dist/uploadAvatar-BWdbQFbc.js +0 -7
  828. package/dist/uploadAvatar-BWdbQFbc.js.gz +0 -0
  829. package/dist/uploadAvatar-GXrzzTqX.mjs +0 -1267
  830. package/dist/uploadAvatar-GXrzzTqX.mjs.gz +0 -0
  831. package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js +0 -1
  832. package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js.gz +0 -0
  833. package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-Dmzfac6b.mjs +0 -82
  834. package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-Dmzfac6b.mjs.gz +0 -0
  835. package/dist/user-DJABXWAE.mjs +0 -291
  836. package/dist/user-DJABXWAE.mjs.gz +0 -0
  837. package/dist/user-DYefJ-v_.js +0 -1
  838. package/dist/user-DYefJ-v_.js.gz +0 -0
  839. package/dist/userNews-BnEhK_ZW.js +0 -1
  840. package/dist/userNews-BnEhK_ZW.js.gz +0 -0
  841. package/dist/userNews-l5S5Iblm.mjs +0 -61
  842. package/dist/userNews-l5S5Iblm.mjs.gz +0 -0
  843. package/dist/userSelect-B1g_p3Mb.mjs +0 -4
  844. package/dist/userSelect-DWP142QM.js +0 -1
  845. package/dist/userSelect.vue_vue_type_script_setup_true_lang-BjoFClPf.js +0 -1
  846. package/dist/userSelect.vue_vue_type_script_setup_true_lang-BjoFClPf.js.gz +0 -0
  847. package/dist/userSelect.vue_vue_type_script_setup_true_lang-DIslcspw.mjs +0 -80
  848. package/dist/userSelect.vue_vue_type_script_setup_true_lang-DIslcspw.mjs.gz +0 -0
  849. package/dist/vertical-D4qo84xv.mjs +0 -101
  850. package/dist/vertical-D4qo84xv.mjs.gz +0 -0
  851. package/dist/vertical-D7u4yig3.js +0 -1
  852. package/dist/vertical-D7u4yig3.js.gz +0 -0
@@ -0,0 +1,2764 @@
1
+ import { defineComponent, defineAsyncComponent, ref, reactive, computed, onBeforeMount, onUnmounted, onBeforeUpdate, onMounted, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withModifiers, withCtx, createElementVNode, Fragment, renderList, createCommentVNode, createBlock, toDisplayString, unref, nextTick } from "vue";
2
+ import { a0 as useTagsViewRoutes, c as useThemeConfig, P as useRoutesList, s as storeToRefs, b as useKeepALiveNames, u as useRoute, a as useRouter, a1 as other, m as mittBus, a2 as onBeforeRouteUpdate, d as ElMessage, S as Session, a3 as isObjectValueEqual, _ as _export_sfc } from "./index-DvYORydh.mjs";
3
+ /**!
4
+ * Sortable 1.15.2
5
+ * @author RubaXa <trash@rubaxa.org>
6
+ * @author owenm <owen23355@gmail.com>
7
+ * @license MIT
8
+ */
9
+ function ownKeys(object, enumerableOnly) {
10
+ var keys = Object.keys(object);
11
+ if (Object.getOwnPropertySymbols) {
12
+ var symbols = Object.getOwnPropertySymbols(object);
13
+ if (enumerableOnly) {
14
+ symbols = symbols.filter(function(sym) {
15
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
16
+ });
17
+ }
18
+ keys.push.apply(keys, symbols);
19
+ }
20
+ return keys;
21
+ }
22
+ function _objectSpread2(target) {
23
+ for (var i = 1; i < arguments.length; i++) {
24
+ var source = arguments[i] != null ? arguments[i] : {};
25
+ if (i % 2) {
26
+ ownKeys(Object(source), true).forEach(function(key) {
27
+ _defineProperty(target, key, source[key]);
28
+ });
29
+ } else if (Object.getOwnPropertyDescriptors) {
30
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
31
+ } else {
32
+ ownKeys(Object(source)).forEach(function(key) {
33
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
34
+ });
35
+ }
36
+ }
37
+ return target;
38
+ }
39
+ function _typeof(obj) {
40
+ "@babel/helpers - typeof";
41
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
42
+ _typeof = function(obj2) {
43
+ return typeof obj2;
44
+ };
45
+ } else {
46
+ _typeof = function(obj2) {
47
+ return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
48
+ };
49
+ }
50
+ return _typeof(obj);
51
+ }
52
+ function _defineProperty(obj, key, value) {
53
+ if (key in obj) {
54
+ Object.defineProperty(obj, key, {
55
+ value,
56
+ enumerable: true,
57
+ configurable: true,
58
+ writable: true
59
+ });
60
+ } else {
61
+ obj[key] = value;
62
+ }
63
+ return obj;
64
+ }
65
+ function _extends() {
66
+ _extends = Object.assign || function(target) {
67
+ for (var i = 1; i < arguments.length; i++) {
68
+ var source = arguments[i];
69
+ for (var key in source) {
70
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
71
+ target[key] = source[key];
72
+ }
73
+ }
74
+ }
75
+ return target;
76
+ };
77
+ return _extends.apply(this, arguments);
78
+ }
79
+ function _objectWithoutPropertiesLoose(source, excluded) {
80
+ if (source == null)
81
+ return {};
82
+ var target = {};
83
+ var sourceKeys = Object.keys(source);
84
+ var key, i;
85
+ for (i = 0; i < sourceKeys.length; i++) {
86
+ key = sourceKeys[i];
87
+ if (excluded.indexOf(key) >= 0)
88
+ continue;
89
+ target[key] = source[key];
90
+ }
91
+ return target;
92
+ }
93
+ function _objectWithoutProperties(source, excluded) {
94
+ if (source == null)
95
+ return {};
96
+ var target = _objectWithoutPropertiesLoose(source, excluded);
97
+ var key, i;
98
+ if (Object.getOwnPropertySymbols) {
99
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
100
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
101
+ key = sourceSymbolKeys[i];
102
+ if (excluded.indexOf(key) >= 0)
103
+ continue;
104
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
105
+ continue;
106
+ target[key] = source[key];
107
+ }
108
+ }
109
+ return target;
110
+ }
111
+ var version = "1.15.2";
112
+ function userAgent(pattern) {
113
+ if (typeof window !== "undefined" && window.navigator) {
114
+ return !!/* @__PURE__ */ navigator.userAgent.match(pattern);
115
+ }
116
+ }
117
+ var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
118
+ var Edge = userAgent(/Edge/i);
119
+ var FireFox = userAgent(/firefox/i);
120
+ var Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);
121
+ var IOS = userAgent(/iP(ad|od|hone)/i);
122
+ var ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);
123
+ var captureMode = {
124
+ capture: false,
125
+ passive: false
126
+ };
127
+ function on(el, event, fn) {
128
+ el.addEventListener(event, fn, !IE11OrLess && captureMode);
129
+ }
130
+ function off(el, event, fn) {
131
+ el.removeEventListener(event, fn, !IE11OrLess && captureMode);
132
+ }
133
+ function matches(el, selector) {
134
+ if (!selector)
135
+ return;
136
+ selector[0] === ">" && (selector = selector.substring(1));
137
+ if (el) {
138
+ try {
139
+ if (el.matches) {
140
+ return el.matches(selector);
141
+ } else if (el.msMatchesSelector) {
142
+ return el.msMatchesSelector(selector);
143
+ } else if (el.webkitMatchesSelector) {
144
+ return el.webkitMatchesSelector(selector);
145
+ }
146
+ } catch (_) {
147
+ return false;
148
+ }
149
+ }
150
+ return false;
151
+ }
152
+ function getParentOrHost(el) {
153
+ return el.host && el !== document && el.host.nodeType ? el.host : el.parentNode;
154
+ }
155
+ function closest(el, selector, ctx, includeCTX) {
156
+ if (el) {
157
+ ctx = ctx || document;
158
+ do {
159
+ if (selector != null && (selector[0] === ">" ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
160
+ return el;
161
+ }
162
+ if (el === ctx)
163
+ break;
164
+ } while (el = getParentOrHost(el));
165
+ }
166
+ return null;
167
+ }
168
+ var R_SPACE = /\s+/g;
169
+ function toggleClass(el, name, state) {
170
+ if (el && name) {
171
+ if (el.classList) {
172
+ el.classList[state ? "add" : "remove"](name);
173
+ } else {
174
+ var className = (" " + el.className + " ").replace(R_SPACE, " ").replace(" " + name + " ", " ");
175
+ el.className = (className + (state ? " " + name : "")).replace(R_SPACE, " ");
176
+ }
177
+ }
178
+ }
179
+ function css(el, prop, val) {
180
+ var style = el && el.style;
181
+ if (style) {
182
+ if (val === void 0) {
183
+ if (document.defaultView && document.defaultView.getComputedStyle) {
184
+ val = document.defaultView.getComputedStyle(el, "");
185
+ } else if (el.currentStyle) {
186
+ val = el.currentStyle;
187
+ }
188
+ return prop === void 0 ? val : val[prop];
189
+ } else {
190
+ if (!(prop in style) && prop.indexOf("webkit") === -1) {
191
+ prop = "-webkit-" + prop;
192
+ }
193
+ style[prop] = val + (typeof val === "string" ? "" : "px");
194
+ }
195
+ }
196
+ }
197
+ function matrix(el, selfOnly) {
198
+ var appliedTransforms = "";
199
+ if (typeof el === "string") {
200
+ appliedTransforms = el;
201
+ } else {
202
+ do {
203
+ var transform = css(el, "transform");
204
+ if (transform && transform !== "none") {
205
+ appliedTransforms = transform + " " + appliedTransforms;
206
+ }
207
+ } while (!selfOnly && (el = el.parentNode));
208
+ }
209
+ var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
210
+ return matrixFn && new matrixFn(appliedTransforms);
211
+ }
212
+ function find(ctx, tagName, iterator) {
213
+ if (ctx) {
214
+ var list = ctx.getElementsByTagName(tagName), i = 0, n = list.length;
215
+ if (iterator) {
216
+ for (; i < n; i++) {
217
+ iterator(list[i], i);
218
+ }
219
+ }
220
+ return list;
221
+ }
222
+ return [];
223
+ }
224
+ function getWindowScrollingElement() {
225
+ var scrollingElement = document.scrollingElement;
226
+ if (scrollingElement) {
227
+ return scrollingElement;
228
+ } else {
229
+ return document.documentElement;
230
+ }
231
+ }
232
+ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
233
+ if (!el.getBoundingClientRect && el !== window)
234
+ return;
235
+ var elRect, top, left, bottom, right, height, width;
236
+ if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
237
+ elRect = el.getBoundingClientRect();
238
+ top = elRect.top;
239
+ left = elRect.left;
240
+ bottom = elRect.bottom;
241
+ right = elRect.right;
242
+ height = elRect.height;
243
+ width = elRect.width;
244
+ } else {
245
+ top = 0;
246
+ left = 0;
247
+ bottom = window.innerHeight;
248
+ right = window.innerWidth;
249
+ height = window.innerHeight;
250
+ width = window.innerWidth;
251
+ }
252
+ if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
253
+ container = container || el.parentNode;
254
+ if (!IE11OrLess) {
255
+ do {
256
+ if (container && container.getBoundingClientRect && (css(container, "transform") !== "none" || relativeToNonStaticParent && css(container, "position") !== "static")) {
257
+ var containerRect = container.getBoundingClientRect();
258
+ top -= containerRect.top + parseInt(css(container, "border-top-width"));
259
+ left -= containerRect.left + parseInt(css(container, "border-left-width"));
260
+ bottom = top + elRect.height;
261
+ right = left + elRect.width;
262
+ break;
263
+ }
264
+ } while (container = container.parentNode);
265
+ }
266
+ }
267
+ if (undoScale && el !== window) {
268
+ var elMatrix = matrix(container || el), scaleX = elMatrix && elMatrix.a, scaleY = elMatrix && elMatrix.d;
269
+ if (elMatrix) {
270
+ top /= scaleY;
271
+ left /= scaleX;
272
+ width /= scaleX;
273
+ height /= scaleY;
274
+ bottom = top + height;
275
+ right = left + width;
276
+ }
277
+ }
278
+ return {
279
+ top,
280
+ left,
281
+ bottom,
282
+ right,
283
+ width,
284
+ height
285
+ };
286
+ }
287
+ function isScrolledPast(el, elSide, parentSide) {
288
+ var parent = getParentAutoScrollElement(el, true), elSideVal = getRect(el)[elSide];
289
+ while (parent) {
290
+ var parentSideVal = getRect(parent)[parentSide], visible = void 0;
291
+ if (parentSide === "top" || parentSide === "left") {
292
+ visible = elSideVal >= parentSideVal;
293
+ } else {
294
+ visible = elSideVal <= parentSideVal;
295
+ }
296
+ if (!visible)
297
+ return parent;
298
+ if (parent === getWindowScrollingElement())
299
+ break;
300
+ parent = getParentAutoScrollElement(parent, false);
301
+ }
302
+ return false;
303
+ }
304
+ function getChild(el, childNum, options, includeDragEl) {
305
+ var currentChild = 0, i = 0, children = el.children;
306
+ while (i < children.length) {
307
+ if (children[i].style.display !== "none" && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
308
+ if (currentChild === childNum) {
309
+ return children[i];
310
+ }
311
+ currentChild++;
312
+ }
313
+ i++;
314
+ }
315
+ return null;
316
+ }
317
+ function lastChild(el, selector) {
318
+ var last = el.lastElementChild;
319
+ while (last && (last === Sortable.ghost || css(last, "display") === "none" || selector && !matches(last, selector))) {
320
+ last = last.previousElementSibling;
321
+ }
322
+ return last || null;
323
+ }
324
+ function index(el, selector) {
325
+ var index2 = 0;
326
+ if (!el || !el.parentNode) {
327
+ return -1;
328
+ }
329
+ while (el = el.previousElementSibling) {
330
+ if (el.nodeName.toUpperCase() !== "TEMPLATE" && el !== Sortable.clone && (!selector || matches(el, selector))) {
331
+ index2++;
332
+ }
333
+ }
334
+ return index2;
335
+ }
336
+ function getRelativeScrollOffset(el) {
337
+ var offsetLeft = 0, offsetTop = 0, winScroller = getWindowScrollingElement();
338
+ if (el) {
339
+ do {
340
+ var elMatrix = matrix(el), scaleX = elMatrix.a, scaleY = elMatrix.d;
341
+ offsetLeft += el.scrollLeft * scaleX;
342
+ offsetTop += el.scrollTop * scaleY;
343
+ } while (el !== winScroller && (el = el.parentNode));
344
+ }
345
+ return [offsetLeft, offsetTop];
346
+ }
347
+ function indexOfObject(arr, obj) {
348
+ for (var i in arr) {
349
+ if (!arr.hasOwnProperty(i))
350
+ continue;
351
+ for (var key in obj) {
352
+ if (obj.hasOwnProperty(key) && obj[key] === arr[i][key])
353
+ return Number(i);
354
+ }
355
+ }
356
+ return -1;
357
+ }
358
+ function getParentAutoScrollElement(el, includeSelf) {
359
+ if (!el || !el.getBoundingClientRect)
360
+ return getWindowScrollingElement();
361
+ var elem = el;
362
+ var gotSelf = false;
363
+ do {
364
+ if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
365
+ var elemCSS = css(elem);
366
+ if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == "auto" || elemCSS.overflowX == "scroll") || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == "auto" || elemCSS.overflowY == "scroll")) {
367
+ if (!elem.getBoundingClientRect || elem === document.body)
368
+ return getWindowScrollingElement();
369
+ if (gotSelf || includeSelf)
370
+ return elem;
371
+ gotSelf = true;
372
+ }
373
+ }
374
+ } while (elem = elem.parentNode);
375
+ return getWindowScrollingElement();
376
+ }
377
+ function extend(dst, src) {
378
+ if (dst && src) {
379
+ for (var key in src) {
380
+ if (src.hasOwnProperty(key)) {
381
+ dst[key] = src[key];
382
+ }
383
+ }
384
+ }
385
+ return dst;
386
+ }
387
+ function isRectEqual(rect1, rect2) {
388
+ 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);
389
+ }
390
+ var _throttleTimeout;
391
+ function throttle(callback, ms) {
392
+ return function() {
393
+ if (!_throttleTimeout) {
394
+ var args = arguments, _this = this;
395
+ if (args.length === 1) {
396
+ callback.call(_this, args[0]);
397
+ } else {
398
+ callback.apply(_this, args);
399
+ }
400
+ _throttleTimeout = setTimeout(function() {
401
+ _throttleTimeout = void 0;
402
+ }, ms);
403
+ }
404
+ };
405
+ }
406
+ function cancelThrottle() {
407
+ clearTimeout(_throttleTimeout);
408
+ _throttleTimeout = void 0;
409
+ }
410
+ function scrollBy(el, x, y) {
411
+ el.scrollLeft += x;
412
+ el.scrollTop += y;
413
+ }
414
+ function clone(el) {
415
+ var Polymer = window.Polymer;
416
+ var $ = window.jQuery || window.Zepto;
417
+ if (Polymer && Polymer.dom) {
418
+ return Polymer.dom(el).cloneNode(true);
419
+ } else if ($) {
420
+ return $(el).clone(true)[0];
421
+ } else {
422
+ return el.cloneNode(true);
423
+ }
424
+ }
425
+ function getChildContainingRectFromElement(container, options, ghostEl2) {
426
+ var rect = {};
427
+ Array.from(container.children).forEach(function(child) {
428
+ var _rect$left, _rect$top, _rect$right, _rect$bottom;
429
+ if (!closest(child, options.draggable, container, false) || child.animated || child === ghostEl2)
430
+ return;
431
+ var childRect = getRect(child);
432
+ rect.left = Math.min((_rect$left = rect.left) !== null && _rect$left !== void 0 ? _rect$left : Infinity, childRect.left);
433
+ rect.top = Math.min((_rect$top = rect.top) !== null && _rect$top !== void 0 ? _rect$top : Infinity, childRect.top);
434
+ rect.right = Math.max((_rect$right = rect.right) !== null && _rect$right !== void 0 ? _rect$right : -Infinity, childRect.right);
435
+ rect.bottom = Math.max((_rect$bottom = rect.bottom) !== null && _rect$bottom !== void 0 ? _rect$bottom : -Infinity, childRect.bottom);
436
+ });
437
+ rect.width = rect.right - rect.left;
438
+ rect.height = rect.bottom - rect.top;
439
+ rect.x = rect.left;
440
+ rect.y = rect.top;
441
+ return rect;
442
+ }
443
+ var expando = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
444
+ function AnimationStateManager() {
445
+ var animationStates = [], animationCallbackId;
446
+ return {
447
+ captureAnimationState: function captureAnimationState() {
448
+ animationStates = [];
449
+ if (!this.options.animation)
450
+ return;
451
+ var children = [].slice.call(this.el.children);
452
+ children.forEach(function(child) {
453
+ if (css(child, "display") === "none" || child === Sortable.ghost)
454
+ return;
455
+ animationStates.push({
456
+ target: child,
457
+ rect: getRect(child)
458
+ });
459
+ var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect);
460
+ if (child.thisAnimationDuration) {
461
+ var childMatrix = matrix(child, true);
462
+ if (childMatrix) {
463
+ fromRect.top -= childMatrix.f;
464
+ fromRect.left -= childMatrix.e;
465
+ }
466
+ }
467
+ child.fromRect = fromRect;
468
+ });
469
+ },
470
+ addAnimationState: function addAnimationState(state) {
471
+ animationStates.push(state);
472
+ },
473
+ removeAnimationState: function removeAnimationState(target) {
474
+ animationStates.splice(indexOfObject(animationStates, {
475
+ target
476
+ }), 1);
477
+ },
478
+ animateAll: function animateAll(callback) {
479
+ var _this = this;
480
+ if (!this.options.animation) {
481
+ clearTimeout(animationCallbackId);
482
+ if (typeof callback === "function")
483
+ callback();
484
+ return;
485
+ }
486
+ var animating = false, animationTime = 0;
487
+ animationStates.forEach(function(state) {
488
+ 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);
489
+ if (targetMatrix) {
490
+ toRect.top -= targetMatrix.f;
491
+ toRect.left -= targetMatrix.e;
492
+ }
493
+ target.toRect = toRect;
494
+ if (target.thisAnimationDuration) {
495
+ if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) && // Make sure animatingRect is on line between toRect & fromRect
496
+ (animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
497
+ time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);
498
+ }
499
+ }
500
+ if (!isRectEqual(toRect, fromRect)) {
501
+ target.prevFromRect = fromRect;
502
+ target.prevToRect = toRect;
503
+ if (!time) {
504
+ time = _this.options.animation;
505
+ }
506
+ _this.animate(target, animatingRect, toRect, time);
507
+ }
508
+ if (time) {
509
+ animating = true;
510
+ animationTime = Math.max(animationTime, time);
511
+ clearTimeout(target.animationResetTimer);
512
+ target.animationResetTimer = setTimeout(function() {
513
+ target.animationTime = 0;
514
+ target.prevFromRect = null;
515
+ target.fromRect = null;
516
+ target.prevToRect = null;
517
+ target.thisAnimationDuration = null;
518
+ }, time);
519
+ target.thisAnimationDuration = time;
520
+ }
521
+ });
522
+ clearTimeout(animationCallbackId);
523
+ if (!animating) {
524
+ if (typeof callback === "function")
525
+ callback();
526
+ } else {
527
+ animationCallbackId = setTimeout(function() {
528
+ if (typeof callback === "function")
529
+ 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])
590
+ return;
591
+ if (sortable[plugin.pluginName][eventNameGlobal]) {
592
+ sortable[plugin.pluginName][eventNameGlobal](_objectSpread2({
593
+ sortable
594
+ }, evt));
595
+ }
596
+ if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
597
+ sortable[plugin.pluginName][eventName](_objectSpread2({
598
+ sortable
599
+ }, evt));
600
+ }
601
+ });
602
+ },
603
+ initializePlugins: function initializePlugins(sortable, el, defaults2, options) {
604
+ plugins.forEach(function(plugin) {
605
+ var pluginName = plugin.pluginName;
606
+ if (!sortable.options[pluginName] && !plugin.initializeByDefault)
607
+ return;
608
+ var initialized = new plugin(sortable, el, sortable.options);
609
+ initialized.sortable = sortable;
610
+ initialized.options = sortable.options;
611
+ sortable[pluginName] = initialized;
612
+ _extends(defaults2, initialized.defaults);
613
+ });
614
+ for (var option2 in sortable.options) {
615
+ if (!sortable.options.hasOwnProperty(option2))
616
+ continue;
617
+ var modified = this.modifyOption(sortable, option2, sortable.options[option2]);
618
+ if (typeof modified !== "undefined") {
619
+ sortable.options[option2] = modified;
620
+ }
621
+ }
622
+ },
623
+ getEventProperties: function getEventProperties(name, sortable) {
624
+ var eventProperties = {};
625
+ plugins.forEach(function(plugin) {
626
+ if (typeof plugin.eventProperties !== "function")
627
+ return;
628
+ _extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
629
+ });
630
+ return eventProperties;
631
+ },
632
+ modifyOption: function modifyOption(sortable, name, value) {
633
+ var modifiedValue;
634
+ plugins.forEach(function(plugin) {
635
+ if (!sortable[plugin.pluginName])
636
+ return;
637
+ if (plugin.optionListeners && typeof plugin.optionListeners[name] === "function") {
638
+ modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
639
+ }
640
+ });
641
+ return modifiedValue;
642
+ }
643
+ };
644
+ function dispatchEvent(_ref) {
645
+ 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;
646
+ sortable = sortable || rootEl2 && rootEl2[expando];
647
+ if (!sortable)
648
+ return;
649
+ var evt, options = sortable.options, onName = "on" + name.charAt(0).toUpperCase() + name.substr(1);
650
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
651
+ evt = new CustomEvent(name, {
652
+ bubbles: true,
653
+ cancelable: true
654
+ });
655
+ } else {
656
+ evt = document.createEvent("Event");
657
+ evt.initEvent(name, true, true);
658
+ }
659
+ evt.to = toEl || rootEl2;
660
+ evt.from = fromEl || rootEl2;
661
+ evt.item = targetEl || rootEl2;
662
+ evt.clone = cloneEl2;
663
+ evt.oldIndex = oldIndex2;
664
+ evt.newIndex = newIndex2;
665
+ evt.oldDraggableIndex = oldDraggableIndex2;
666
+ evt.newDraggableIndex = newDraggableIndex2;
667
+ evt.originalEvent = originalEvent;
668
+ evt.pullMode = putSortable2 ? putSortable2.lastPutMode : void 0;
669
+ var allEventProperties = _objectSpread2(_objectSpread2({}, extraEventProperties), PluginManager.getEventProperties(name, sortable));
670
+ for (var option2 in allEventProperties) {
671
+ evt[option2] = allEventProperties[option2];
672
+ }
673
+ if (rootEl2) {
674
+ rootEl2.dispatchEvent(evt);
675
+ }
676
+ if (options[onName]) {
677
+ options[onName].call(sortable, evt);
678
+ }
679
+ }
680
+ var _excluded = ["evt"];
681
+ var pluginEvent2 = function pluginEvent3(eventName, sortable) {
682
+ var _ref = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, originalEvent = _ref.evt, data = _objectWithoutProperties(_ref, _excluded);
683
+ PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread2({
684
+ dragEl,
685
+ parentEl,
686
+ ghostEl,
687
+ rootEl,
688
+ nextEl,
689
+ lastDownEl,
690
+ cloneEl,
691
+ cloneHidden,
692
+ dragStarted: moved,
693
+ putSortable,
694
+ activeSortable: Sortable.active,
695
+ originalEvent,
696
+ oldIndex,
697
+ oldDraggableIndex,
698
+ newIndex,
699
+ newDraggableIndex,
700
+ hideGhostForTarget: _hideGhostForTarget,
701
+ unhideGhostForTarget: _unhideGhostForTarget,
702
+ cloneNowHidden: function cloneNowHidden() {
703
+ cloneHidden = true;
704
+ },
705
+ cloneNowShown: function cloneNowShown() {
706
+ cloneHidden = false;
707
+ },
708
+ dispatchSortableEvent: function dispatchSortableEvent(name) {
709
+ _dispatchEvent({
710
+ sortable,
711
+ name,
712
+ originalEvent
713
+ });
714
+ }
715
+ }, data));
716
+ };
717
+ function _dispatchEvent(info) {
718
+ dispatchEvent(_objectSpread2({
719
+ putSortable,
720
+ cloneEl,
721
+ targetEl: dragEl,
722
+ rootEl,
723
+ oldIndex,
724
+ oldDraggableIndex,
725
+ newIndex,
726
+ newDraggableIndex
727
+ }, info));
728
+ }
729
+ var dragEl, parentEl, ghostEl, rootEl, nextEl, lastDownEl, cloneEl, cloneHidden, oldIndex, newIndex, oldDraggableIndex, newDraggableIndex, activeGroup, putSortable, awaitingDragStarted = false, ignoreNextClick = false, sortables = [], tapEvt, touchEvt, lastDx, lastDy, tapDistanceLeft, tapDistanceTop, moved, lastTarget, lastDirection, pastFirstInvertThresh = false, isCircumstantialInvert = false, targetMoveDistance, ghostRelativeParent, ghostRelativeParentInitialScroll = [], _silent = false, savedInputChecked = [];
730
+ var documentExists = typeof document !== "undefined", PositionGhostAbsolutely = IOS, CSSFloatProperty = Edge || IE11OrLess ? "cssFloat" : "float", supportDraggable = documentExists && !ChromeForAndroid && !IOS && "draggable" in document.createElement("div"), supportCssPointerEvents = function() {
731
+ if (!documentExists)
732
+ return;
733
+ if (IE11OrLess) {
734
+ return false;
735
+ }
736
+ var el = document.createElement("x");
737
+ el.style.cssText = "pointer-events:auto";
738
+ return el.style.pointerEvents === "auto";
739
+ }(), _detectDirection = function _detectDirection2(el, options) {
740
+ 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;
741
+ if (elCSS.display === "flex") {
742
+ return elCSS.flexDirection === "column" || elCSS.flexDirection === "column-reverse" ? "vertical" : "horizontal";
743
+ }
744
+ if (elCSS.display === "grid") {
745
+ return elCSS.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
746
+ }
747
+ if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== "none") {
748
+ var touchingSideChild2 = firstChildCSS["float"] === "left" ? "left" : "right";
749
+ return child2 && (secondChildCSS.clear === "both" || secondChildCSS.clear === touchingSideChild2) ? "vertical" : "horizontal";
750
+ }
751
+ 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";
752
+ }, _dragElInRowColumn = function _dragElInRowColumn2(dragRect, targetRect, vertical) {
753
+ 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;
754
+ return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
755
+ }, _detectNearestEmptySortable = function _detectNearestEmptySortable2(x, y) {
756
+ var ret;
757
+ sortables.some(function(sortable) {
758
+ var threshold = sortable[expando].options.emptyInsertThreshold;
759
+ if (!threshold || lastChild(sortable))
760
+ return;
761
+ var rect = getRect(sortable), insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold, insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
762
+ if (insideHorizontally && insideVertically) {
763
+ return ret = sortable;
764
+ }
765
+ });
766
+ return ret;
767
+ }, _prepareGroup = function _prepareGroup2(options) {
768
+ function toFn(value, pull) {
769
+ return function(to, from, dragEl2, evt) {
770
+ var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
771
+ if (value == null && (pull || sameGroup)) {
772
+ return true;
773
+ } else if (value == null || value === false) {
774
+ return false;
775
+ } else if (pull && value === "clone") {
776
+ return value;
777
+ } else if (typeof value === "function") {
778
+ return toFn(value(to, from, dragEl2, evt), pull)(to, from, dragEl2, evt);
779
+ } else {
780
+ var otherGroup = (pull ? to : from).options.group.name;
781
+ return value === true || typeof value === "string" && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
782
+ }
783
+ };
784
+ }
785
+ var group = {};
786
+ var originalGroup = options.group;
787
+ if (!originalGroup || _typeof(originalGroup) != "object") {
788
+ originalGroup = {
789
+ name: originalGroup
790
+ };
791
+ }
792
+ group.name = originalGroup.name;
793
+ group.checkPull = toFn(originalGroup.pull, true);
794
+ group.checkPut = toFn(originalGroup.put);
795
+ group.revertClone = originalGroup.revertClone;
796
+ options.group = group;
797
+ }, _hideGhostForTarget = function _hideGhostForTarget2() {
798
+ if (!supportCssPointerEvents && ghostEl) {
799
+ css(ghostEl, "display", "none");
800
+ }
801
+ }, _unhideGhostForTarget = function _unhideGhostForTarget2() {
802
+ if (!supportCssPointerEvents && ghostEl) {
803
+ css(ghostEl, "display", "");
804
+ }
805
+ };
806
+ if (documentExists && !ChromeForAndroid) {
807
+ document.addEventListener("click", function(evt) {
808
+ if (ignoreNextClick) {
809
+ evt.preventDefault();
810
+ evt.stopPropagation && evt.stopPropagation();
811
+ evt.stopImmediatePropagation && evt.stopImmediatePropagation();
812
+ ignoreNextClick = false;
813
+ return false;
814
+ }
815
+ }, true);
816
+ }
817
+ var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent2(evt) {
818
+ if (dragEl) {
819
+ evt = evt.touches ? evt.touches[0] : evt;
820
+ var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
821
+ if (nearest) {
822
+ var event = {};
823
+ for (var i in evt) {
824
+ if (evt.hasOwnProperty(i)) {
825
+ event[i] = evt[i];
826
+ }
827
+ }
828
+ event.target = event.rootEl = nearest;
829
+ event.preventDefault = void 0;
830
+ event.stopPropagation = void 0;
831
+ nearest[expando]._onDragOver(event);
832
+ }
833
+ }
834
+ };
835
+ var _checkOutsideTargetEl = function _checkOutsideTargetEl2(evt) {
836
+ if (dragEl) {
837
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
838
+ }
839
+ };
840
+ function Sortable(el, options) {
841
+ if (!(el && el.nodeType && el.nodeType === 1)) {
842
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(el));
843
+ }
844
+ this.el = el;
845
+ this.options = options = _extends({}, options);
846
+ el[expando] = this;
847
+ var defaults2 = {
848
+ group: null,
849
+ sort: true,
850
+ disabled: false,
851
+ store: null,
852
+ handle: null,
853
+ draggable: /^[uo]l$/i.test(el.nodeName) ? ">li" : ">*",
854
+ swapThreshold: 1,
855
+ // percentage; 0 <= x <= 1
856
+ invertSwap: false,
857
+ // invert always
858
+ invertedSwapThreshold: null,
859
+ // will be set to same as swapThreshold if default
860
+ removeCloneOnHide: true,
861
+ direction: function direction() {
862
+ return _detectDirection(el, this.options);
863
+ },
864
+ ghostClass: "sortable-ghost",
865
+ chosenClass: "sortable-chosen",
866
+ dragClass: "sortable-drag",
867
+ ignore: "a, img",
868
+ filter: null,
869
+ preventOnFilter: true,
870
+ animation: 0,
871
+ easing: null,
872
+ setData: function setData(dataTransfer, dragEl2) {
873
+ dataTransfer.setData("Text", dragEl2.textContent);
874
+ },
875
+ dropBubble: false,
876
+ dragoverBubble: false,
877
+ dataIdAttr: "data-id",
878
+ delay: 0,
879
+ delayOnTouchOnly: false,
880
+ touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
881
+ forceFallback: false,
882
+ fallbackClass: "sortable-fallback",
883
+ fallbackOnBody: false,
884
+ fallbackTolerance: 0,
885
+ fallbackOffset: {
886
+ x: 0,
887
+ y: 0
888
+ },
889
+ supportPointer: Sortable.supportPointer !== false && "PointerEvent" in window && !Safari,
890
+ emptyInsertThreshold: 5
891
+ };
892
+ PluginManager.initializePlugins(this, el, defaults2);
893
+ for (var name in defaults2) {
894
+ !(name in options) && (options[name] = defaults2[name]);
895
+ }
896
+ _prepareGroup(options);
897
+ for (var fn in this) {
898
+ if (fn.charAt(0) === "_" && typeof this[fn] === "function") {
899
+ this[fn] = this[fn].bind(this);
900
+ }
901
+ }
902
+ this.nativeDraggable = options.forceFallback ? false : supportDraggable;
903
+ if (this.nativeDraggable) {
904
+ this.options.touchStartThreshold = 1;
905
+ }
906
+ if (options.supportPointer) {
907
+ on(el, "pointerdown", this._onTapStart);
908
+ } else {
909
+ on(el, "mousedown", this._onTapStart);
910
+ on(el, "touchstart", this._onTapStart);
911
+ }
912
+ if (this.nativeDraggable) {
913
+ on(el, "dragover", this);
914
+ on(el, "dragenter", this);
915
+ }
916
+ sortables.push(this.el);
917
+ options.store && options.store.get && this.sort(options.store.get(this) || []);
918
+ _extends(this, AnimationStateManager());
919
+ }
920
+ Sortable.prototype = /** @lends Sortable.prototype */
921
+ {
922
+ constructor: Sortable,
923
+ _isOutsideThisEl: function _isOutsideThisEl(target) {
924
+ if (!this.el.contains(target) && target !== this.el) {
925
+ lastTarget = null;
926
+ }
927
+ },
928
+ _getDirection: function _getDirection(evt, target) {
929
+ return typeof this.options.direction === "function" ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
930
+ },
931
+ _onTapStart: function _onTapStart(evt) {
932
+ if (!evt.cancelable)
933
+ return;
934
+ 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;
935
+ _saveInputCheckedState(el);
936
+ if (dragEl) {
937
+ return;
938
+ }
939
+ if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
940
+ return;
941
+ }
942
+ if (originalTarget.isContentEditable) {
943
+ return;
944
+ }
945
+ if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === "SELECT") {
946
+ return;
947
+ }
948
+ target = closest(target, options.draggable, el, false);
949
+ if (target && target.animated) {
950
+ return;
951
+ }
952
+ if (lastDownEl === target) {
953
+ return;
954
+ }
955
+ oldIndex = index(target);
956
+ oldDraggableIndex = index(target, options.draggable);
957
+ if (typeof filter === "function") {
958
+ if (filter.call(this, evt, target, this)) {
959
+ _dispatchEvent({
960
+ sortable: _this,
961
+ rootEl: originalTarget,
962
+ name: "filter",
963
+ targetEl: target,
964
+ toEl: el,
965
+ fromEl: el
966
+ });
967
+ pluginEvent2("filter", _this, {
968
+ evt
969
+ });
970
+ preventOnFilter && evt.cancelable && evt.preventDefault();
971
+ return;
972
+ }
973
+ } else if (filter) {
974
+ filter = filter.split(",").some(function(criteria) {
975
+ criteria = closest(originalTarget, criteria.trim(), el, false);
976
+ if (criteria) {
977
+ _dispatchEvent({
978
+ sortable: _this,
979
+ rootEl: criteria,
980
+ name: "filter",
981
+ targetEl: target,
982
+ fromEl: el,
983
+ toEl: el
984
+ });
985
+ pluginEvent2("filter", _this, {
986
+ evt
987
+ });
988
+ return true;
989
+ }
990
+ });
991
+ if (filter) {
992
+ preventOnFilter && evt.cancelable && evt.preventDefault();
993
+ return;
994
+ }
995
+ }
996
+ if (options.handle && !closest(originalTarget, options.handle, el, false)) {
997
+ return;
998
+ }
999
+ this._prepareDragStart(evt, touch, target);
1000
+ },
1001
+ _prepareDragStart: function _prepareDragStart(evt, touch, target) {
1002
+ var _this = this, el = _this.el, options = _this.options, ownerDocument = el.ownerDocument, dragStartFn;
1003
+ if (target && !dragEl && target.parentNode === el) {
1004
+ var dragRect = getRect(target);
1005
+ rootEl = el;
1006
+ dragEl = target;
1007
+ parentEl = dragEl.parentNode;
1008
+ nextEl = dragEl.nextSibling;
1009
+ lastDownEl = target;
1010
+ activeGroup = options.group;
1011
+ Sortable.dragged = dragEl;
1012
+ tapEvt = {
1013
+ target: dragEl,
1014
+ clientX: (touch || evt).clientX,
1015
+ clientY: (touch || evt).clientY
1016
+ };
1017
+ tapDistanceLeft = tapEvt.clientX - dragRect.left;
1018
+ tapDistanceTop = tapEvt.clientY - dragRect.top;
1019
+ this._lastX = (touch || evt).clientX;
1020
+ this._lastY = (touch || evt).clientY;
1021
+ dragEl.style["will-change"] = "all";
1022
+ dragStartFn = function dragStartFn2() {
1023
+ pluginEvent2("delayEnded", _this, {
1024
+ evt
1025
+ });
1026
+ if (Sortable.eventCanceled) {
1027
+ _this._onDrop();
1028
+ return;
1029
+ }
1030
+ _this._disableDelayedDragEvents();
1031
+ if (!FireFox && _this.nativeDraggable) {
1032
+ dragEl.draggable = true;
1033
+ }
1034
+ _this._triggerDragStart(evt, touch);
1035
+ _dispatchEvent({
1036
+ sortable: _this,
1037
+ name: "choose",
1038
+ originalEvent: evt
1039
+ });
1040
+ toggleClass(dragEl, options.chosenClass, true);
1041
+ };
1042
+ options.ignore.split(",").forEach(function(criteria) {
1043
+ find(dragEl, criteria.trim(), _disableDraggable);
1044
+ });
1045
+ on(ownerDocument, "dragover", nearestEmptyInsertDetectEvent);
1046
+ on(ownerDocument, "mousemove", nearestEmptyInsertDetectEvent);
1047
+ on(ownerDocument, "touchmove", nearestEmptyInsertDetectEvent);
1048
+ on(ownerDocument, "mouseup", _this._onDrop);
1049
+ on(ownerDocument, "touchend", _this._onDrop);
1050
+ on(ownerDocument, "touchcancel", _this._onDrop);
1051
+ if (FireFox && this.nativeDraggable) {
1052
+ this.options.touchStartThreshold = 4;
1053
+ dragEl.draggable = true;
1054
+ }
1055
+ pluginEvent2("delayStart", this, {
1056
+ evt
1057
+ });
1058
+ if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
1059
+ if (Sortable.eventCanceled) {
1060
+ this._onDrop();
1061
+ return;
1062
+ }
1063
+ on(ownerDocument, "mouseup", _this._disableDelayedDrag);
1064
+ on(ownerDocument, "touchend", _this._disableDelayedDrag);
1065
+ on(ownerDocument, "touchcancel", _this._disableDelayedDrag);
1066
+ on(ownerDocument, "mousemove", _this._delayedDragTouchMoveHandler);
1067
+ on(ownerDocument, "touchmove", _this._delayedDragTouchMoveHandler);
1068
+ options.supportPointer && on(ownerDocument, "pointermove", _this._delayedDragTouchMoveHandler);
1069
+ _this._dragStartTimer = setTimeout(dragStartFn, options.delay);
1070
+ } else {
1071
+ dragStartFn();
1072
+ }
1073
+ }
1074
+ },
1075
+ _delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler(e) {
1076
+ var touch = e.touches ? e.touches[0] : e;
1077
+ 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))) {
1078
+ this._disableDelayedDrag();
1079
+ }
1080
+ },
1081
+ _disableDelayedDrag: function _disableDelayedDrag() {
1082
+ dragEl && _disableDraggable(dragEl);
1083
+ clearTimeout(this._dragStartTimer);
1084
+ this._disableDelayedDragEvents();
1085
+ },
1086
+ _disableDelayedDragEvents: function _disableDelayedDragEvents() {
1087
+ var ownerDocument = this.el.ownerDocument;
1088
+ off(ownerDocument, "mouseup", this._disableDelayedDrag);
1089
+ off(ownerDocument, "touchend", this._disableDelayedDrag);
1090
+ off(ownerDocument, "touchcancel", this._disableDelayedDrag);
1091
+ off(ownerDocument, "mousemove", this._delayedDragTouchMoveHandler);
1092
+ off(ownerDocument, "touchmove", this._delayedDragTouchMoveHandler);
1093
+ off(ownerDocument, "pointermove", this._delayedDragTouchMoveHandler);
1094
+ },
1095
+ _triggerDragStart: function _triggerDragStart(evt, touch) {
1096
+ touch = touch || evt.pointerType == "touch" && evt;
1097
+ if (!this.nativeDraggable || touch) {
1098
+ if (this.options.supportPointer) {
1099
+ on(document, "pointermove", this._onTouchMove);
1100
+ } else if (touch) {
1101
+ on(document, "touchmove", this._onTouchMove);
1102
+ } else {
1103
+ on(document, "mousemove", this._onTouchMove);
1104
+ }
1105
+ } else {
1106
+ on(dragEl, "dragend", this);
1107
+ on(rootEl, "dragstart", this._onDragStart);
1108
+ }
1109
+ try {
1110
+ if (document.selection) {
1111
+ _nextTick(function() {
1112
+ document.selection.empty();
1113
+ });
1114
+ } else {
1115
+ window.getSelection().removeAllRanges();
1116
+ }
1117
+ } catch (err) {
1118
+ }
1119
+ },
1120
+ _dragStarted: function _dragStarted(fallback, evt) {
1121
+ awaitingDragStarted = false;
1122
+ if (rootEl && dragEl) {
1123
+ pluginEvent2("dragStarted", this, {
1124
+ evt
1125
+ });
1126
+ if (this.nativeDraggable) {
1127
+ on(document, "dragover", _checkOutsideTargetEl);
1128
+ }
1129
+ var options = this.options;
1130
+ !fallback && toggleClass(dragEl, options.dragClass, false);
1131
+ toggleClass(dragEl, options.ghostClass, true);
1132
+ Sortable.active = this;
1133
+ fallback && this._appendGhost();
1134
+ _dispatchEvent({
1135
+ sortable: this,
1136
+ name: "start",
1137
+ originalEvent: evt
1138
+ });
1139
+ } else {
1140
+ this._nulling();
1141
+ }
1142
+ },
1143
+ _emulateDragOver: function _emulateDragOver() {
1144
+ if (touchEvt) {
1145
+ this._lastX = touchEvt.clientX;
1146
+ this._lastY = touchEvt.clientY;
1147
+ _hideGhostForTarget();
1148
+ var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1149
+ var parent = target;
1150
+ while (target && target.shadowRoot) {
1151
+ target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1152
+ if (target === parent)
1153
+ break;
1154
+ parent = target;
1155
+ }
1156
+ dragEl.parentNode[expando]._isOutsideThisEl(target);
1157
+ if (parent) {
1158
+ do {
1159
+ if (parent[expando]) {
1160
+ var inserted = void 0;
1161
+ inserted = parent[expando]._onDragOver({
1162
+ clientX: touchEvt.clientX,
1163
+ clientY: touchEvt.clientY,
1164
+ target,
1165
+ rootEl: parent
1166
+ });
1167
+ if (inserted && !this.options.dragoverBubble) {
1168
+ break;
1169
+ }
1170
+ }
1171
+ target = parent;
1172
+ } while (parent = parent.parentNode);
1173
+ }
1174
+ _unhideGhostForTarget();
1175
+ }
1176
+ },
1177
+ _onTouchMove: function _onTouchMove(evt) {
1178
+ if (tapEvt) {
1179
+ 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);
1180
+ if (!Sortable.active && !awaitingDragStarted) {
1181
+ if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
1182
+ return;
1183
+ }
1184
+ this._onDragStart(evt, true);
1185
+ }
1186
+ if (ghostEl) {
1187
+ if (ghostMatrix) {
1188
+ ghostMatrix.e += dx - (lastDx || 0);
1189
+ ghostMatrix.f += dy - (lastDy || 0);
1190
+ } else {
1191
+ ghostMatrix = {
1192
+ a: 1,
1193
+ b: 0,
1194
+ c: 0,
1195
+ d: 1,
1196
+ e: dx,
1197
+ f: dy
1198
+ };
1199
+ }
1200
+ var cssMatrix = "matrix(".concat(ghostMatrix.a, ",").concat(ghostMatrix.b, ",").concat(ghostMatrix.c, ",").concat(ghostMatrix.d, ",").concat(ghostMatrix.e, ",").concat(ghostMatrix.f, ")");
1201
+ css(ghostEl, "webkitTransform", cssMatrix);
1202
+ css(ghostEl, "mozTransform", cssMatrix);
1203
+ css(ghostEl, "msTransform", cssMatrix);
1204
+ css(ghostEl, "transform", cssMatrix);
1205
+ lastDx = dx;
1206
+ lastDy = dy;
1207
+ touchEvt = touch;
1208
+ }
1209
+ evt.cancelable && evt.preventDefault();
1210
+ }
1211
+ },
1212
+ _appendGhost: function _appendGhost() {
1213
+ if (!ghostEl) {
1214
+ var container = this.options.fallbackOnBody ? document.body : rootEl, rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container), options = this.options;
1215
+ if (PositionGhostAbsolutely) {
1216
+ ghostRelativeParent = container;
1217
+ while (css(ghostRelativeParent, "position") === "static" && css(ghostRelativeParent, "transform") === "none" && ghostRelativeParent !== document) {
1218
+ ghostRelativeParent = ghostRelativeParent.parentNode;
1219
+ }
1220
+ if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
1221
+ if (ghostRelativeParent === document)
1222
+ ghostRelativeParent = getWindowScrollingElement();
1223
+ rect.top += ghostRelativeParent.scrollTop;
1224
+ rect.left += ghostRelativeParent.scrollLeft;
1225
+ } else {
1226
+ ghostRelativeParent = getWindowScrollingElement();
1227
+ }
1228
+ ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
1229
+ }
1230
+ ghostEl = dragEl.cloneNode(true);
1231
+ toggleClass(ghostEl, options.ghostClass, false);
1232
+ toggleClass(ghostEl, options.fallbackClass, true);
1233
+ toggleClass(ghostEl, options.dragClass, true);
1234
+ css(ghostEl, "transition", "");
1235
+ css(ghostEl, "transform", "");
1236
+ css(ghostEl, "box-sizing", "border-box");
1237
+ css(ghostEl, "margin", 0);
1238
+ css(ghostEl, "top", rect.top);
1239
+ css(ghostEl, "left", rect.left);
1240
+ css(ghostEl, "width", rect.width);
1241
+ css(ghostEl, "height", rect.height);
1242
+ css(ghostEl, "opacity", "0.8");
1243
+ css(ghostEl, "position", PositionGhostAbsolutely ? "absolute" : "fixed");
1244
+ css(ghostEl, "zIndex", "100000");
1245
+ css(ghostEl, "pointerEvents", "none");
1246
+ Sortable.ghost = ghostEl;
1247
+ container.appendChild(ghostEl);
1248
+ css(ghostEl, "transform-origin", tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + "% " + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + "%");
1249
+ }
1250
+ },
1251
+ _onDragStart: function _onDragStart(evt, fallback) {
1252
+ var _this = this;
1253
+ var dataTransfer = evt.dataTransfer;
1254
+ var options = _this.options;
1255
+ pluginEvent2("dragStart", this, {
1256
+ evt
1257
+ });
1258
+ if (Sortable.eventCanceled) {
1259
+ this._onDrop();
1260
+ return;
1261
+ }
1262
+ pluginEvent2("setupClone", this);
1263
+ if (!Sortable.eventCanceled) {
1264
+ cloneEl = clone(dragEl);
1265
+ cloneEl.removeAttribute("id");
1266
+ cloneEl.draggable = false;
1267
+ cloneEl.style["will-change"] = "";
1268
+ this._hideClone();
1269
+ toggleClass(cloneEl, this.options.chosenClass, false);
1270
+ Sortable.clone = cloneEl;
1271
+ }
1272
+ _this.cloneId = _nextTick(function() {
1273
+ pluginEvent2("clone", _this);
1274
+ if (Sortable.eventCanceled)
1275
+ return;
1276
+ if (!_this.options.removeCloneOnHide) {
1277
+ rootEl.insertBefore(cloneEl, dragEl);
1278
+ }
1279
+ _this._hideClone();
1280
+ _dispatchEvent({
1281
+ sortable: _this,
1282
+ name: "clone"
1283
+ });
1284
+ });
1285
+ !fallback && toggleClass(dragEl, options.dragClass, true);
1286
+ if (fallback) {
1287
+ ignoreNextClick = true;
1288
+ _this._loopId = setInterval(_this._emulateDragOver, 50);
1289
+ } else {
1290
+ off(document, "mouseup", _this._onDrop);
1291
+ off(document, "touchend", _this._onDrop);
1292
+ off(document, "touchcancel", _this._onDrop);
1293
+ if (dataTransfer) {
1294
+ dataTransfer.effectAllowed = "move";
1295
+ options.setData && options.setData.call(_this, dataTransfer, dragEl);
1296
+ }
1297
+ on(document, "drop", _this);
1298
+ css(dragEl, "transform", "translateZ(0)");
1299
+ }
1300
+ awaitingDragStarted = true;
1301
+ _this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
1302
+ on(document, "selectstart", _this);
1303
+ moved = true;
1304
+ if (Safari) {
1305
+ css(document.body, "user-select", "none");
1306
+ }
1307
+ },
1308
+ // Returns true - if no further action is needed (either inserted or another condition)
1309
+ _onDragOver: function _onDragOver(evt) {
1310
+ 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;
1311
+ if (_silent)
1312
+ return;
1313
+ function dragOverEvent(name, extra) {
1314
+ pluginEvent2(name, _this, _objectSpread2({
1315
+ evt,
1316
+ isOwner,
1317
+ axis: vertical ? "vertical" : "horizontal",
1318
+ revert,
1319
+ dragRect,
1320
+ targetRect,
1321
+ canSort,
1322
+ fromSortable,
1323
+ target,
1324
+ completed,
1325
+ onMove: function onMove(target2, after2) {
1326
+ return _onMove(rootEl, el, dragEl, dragRect, target2, getRect(target2), evt, after2);
1327
+ },
1328
+ changed
1329
+ }, extra));
1330
+ }
1331
+ function capture() {
1332
+ dragOverEvent("dragOverAnimationCapture");
1333
+ _this.captureAnimationState();
1334
+ if (_this !== fromSortable) {
1335
+ fromSortable.captureAnimationState();
1336
+ }
1337
+ }
1338
+ function completed(insertion) {
1339
+ dragOverEvent("dragOverCompleted", {
1340
+ insertion
1341
+ });
1342
+ if (insertion) {
1343
+ if (isOwner) {
1344
+ activeSortable._hideClone();
1345
+ } else {
1346
+ activeSortable._showClone(_this);
1347
+ }
1348
+ if (_this !== fromSortable) {
1349
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
1350
+ toggleClass(dragEl, options.ghostClass, true);
1351
+ }
1352
+ if (putSortable !== _this && _this !== Sortable.active) {
1353
+ putSortable = _this;
1354
+ } else if (_this === Sortable.active && putSortable) {
1355
+ putSortable = null;
1356
+ }
1357
+ if (fromSortable === _this) {
1358
+ _this._ignoreWhileAnimating = target;
1359
+ }
1360
+ _this.animateAll(function() {
1361
+ dragOverEvent("dragOverAnimationComplete");
1362
+ _this._ignoreWhileAnimating = null;
1363
+ });
1364
+ if (_this !== fromSortable) {
1365
+ fromSortable.animateAll();
1366
+ fromSortable._ignoreWhileAnimating = null;
1367
+ }
1368
+ }
1369
+ if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
1370
+ lastTarget = null;
1371
+ }
1372
+ if (!options.dragoverBubble && !evt.rootEl && target !== document) {
1373
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
1374
+ !insertion && nearestEmptyInsertDetectEvent(evt);
1375
+ }
1376
+ !options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
1377
+ return completedFired = true;
1378
+ }
1379
+ function changed() {
1380
+ newIndex = index(dragEl);
1381
+ newDraggableIndex = index(dragEl, options.draggable);
1382
+ _dispatchEvent({
1383
+ sortable: _this,
1384
+ name: "change",
1385
+ toEl: el,
1386
+ newIndex,
1387
+ newDraggableIndex,
1388
+ originalEvent: evt
1389
+ });
1390
+ }
1391
+ if (evt.preventDefault !== void 0) {
1392
+ evt.cancelable && evt.preventDefault();
1393
+ }
1394
+ target = closest(target, options.draggable, el, true);
1395
+ dragOverEvent("dragOver");
1396
+ if (Sortable.eventCanceled)
1397
+ return completedFired;
1398
+ if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
1399
+ return completed(false);
1400
+ }
1401
+ ignoreNextClick = false;
1402
+ 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))) {
1403
+ vertical = this._getDirection(evt, target) === "vertical";
1404
+ dragRect = getRect(dragEl);
1405
+ dragOverEvent("dragOverValid");
1406
+ if (Sortable.eventCanceled)
1407
+ return completedFired;
1408
+ if (revert) {
1409
+ parentEl = rootEl;
1410
+ capture();
1411
+ this._hideClone();
1412
+ dragOverEvent("revert");
1413
+ if (!Sortable.eventCanceled) {
1414
+ if (nextEl) {
1415
+ rootEl.insertBefore(dragEl, nextEl);
1416
+ } else {
1417
+ rootEl.appendChild(dragEl);
1418
+ }
1419
+ }
1420
+ return completed(true);
1421
+ }
1422
+ var elLastChild = lastChild(el, options.draggable);
1423
+ if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
1424
+ if (elLastChild === dragEl) {
1425
+ return completed(false);
1426
+ }
1427
+ if (elLastChild && el === evt.target) {
1428
+ target = elLastChild;
1429
+ }
1430
+ if (target) {
1431
+ targetRect = getRect(target);
1432
+ }
1433
+ if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
1434
+ capture();
1435
+ if (elLastChild && elLastChild.nextSibling) {
1436
+ el.insertBefore(dragEl, elLastChild.nextSibling);
1437
+ } else {
1438
+ el.appendChild(dragEl);
1439
+ }
1440
+ parentEl = el;
1441
+ changed();
1442
+ return completed(true);
1443
+ }
1444
+ } else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
1445
+ var firstChild = getChild(el, 0, options, true);
1446
+ if (firstChild === dragEl) {
1447
+ return completed(false);
1448
+ }
1449
+ target = firstChild;
1450
+ targetRect = getRect(target);
1451
+ if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
1452
+ capture();
1453
+ el.insertBefore(dragEl, firstChild);
1454
+ parentEl = el;
1455
+ changed();
1456
+ return completed(true);
1457
+ }
1458
+ } else if (target.parentNode === el) {
1459
+ targetRect = getRect(target);
1460
+ 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;
1461
+ if (lastTarget !== target) {
1462
+ targetBeforeFirstSwap = targetRect[side1];
1463
+ pastFirstInvertThresh = false;
1464
+ isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
1465
+ }
1466
+ direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
1467
+ var sibling;
1468
+ if (direction !== 0) {
1469
+ var dragIndex = index(dragEl);
1470
+ do {
1471
+ dragIndex -= direction;
1472
+ sibling = parentEl.children[dragIndex];
1473
+ } while (sibling && (css(sibling, "display") === "none" || sibling === ghostEl));
1474
+ }
1475
+ if (direction === 0 || sibling === target) {
1476
+ return completed(false);
1477
+ }
1478
+ lastTarget = target;
1479
+ lastDirection = direction;
1480
+ var nextSibling = target.nextElementSibling, after = false;
1481
+ after = direction === 1;
1482
+ var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
1483
+ if (moveVector !== false) {
1484
+ if (moveVector === 1 || moveVector === -1) {
1485
+ after = moveVector === 1;
1486
+ }
1487
+ _silent = true;
1488
+ setTimeout(_unsilent, 30);
1489
+ capture();
1490
+ if (after && !nextSibling) {
1491
+ el.appendChild(dragEl);
1492
+ } else {
1493
+ target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
1494
+ }
1495
+ if (scrolledPastTop) {
1496
+ scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
1497
+ }
1498
+ parentEl = dragEl.parentNode;
1499
+ if (targetBeforeFirstSwap !== void 0 && !isCircumstantialInvert) {
1500
+ targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
1501
+ }
1502
+ changed();
1503
+ return completed(true);
1504
+ }
1505
+ }
1506
+ if (el.contains(dragEl)) {
1507
+ return completed(false);
1508
+ }
1509
+ }
1510
+ return false;
1511
+ },
1512
+ _ignoreWhileAnimating: null,
1513
+ _offMoveEvents: function _offMoveEvents() {
1514
+ off(document, "mousemove", this._onTouchMove);
1515
+ off(document, "touchmove", this._onTouchMove);
1516
+ off(document, "pointermove", this._onTouchMove);
1517
+ off(document, "dragover", nearestEmptyInsertDetectEvent);
1518
+ off(document, "mousemove", nearestEmptyInsertDetectEvent);
1519
+ off(document, "touchmove", nearestEmptyInsertDetectEvent);
1520
+ },
1521
+ _offUpEvents: function _offUpEvents() {
1522
+ var ownerDocument = this.el.ownerDocument;
1523
+ off(ownerDocument, "mouseup", this._onDrop);
1524
+ off(ownerDocument, "touchend", this._onDrop);
1525
+ off(ownerDocument, "pointerup", this._onDrop);
1526
+ off(ownerDocument, "touchcancel", this._onDrop);
1527
+ off(document, "selectstart", this);
1528
+ },
1529
+ _onDrop: function _onDrop(evt) {
1530
+ var el = this.el, options = this.options;
1531
+ newIndex = index(dragEl);
1532
+ newDraggableIndex = index(dragEl, options.draggable);
1533
+ pluginEvent2("drop", this, {
1534
+ evt
1535
+ });
1536
+ parentEl = dragEl && dragEl.parentNode;
1537
+ newIndex = index(dragEl);
1538
+ newDraggableIndex = index(dragEl, options.draggable);
1539
+ if (Sortable.eventCanceled) {
1540
+ this._nulling();
1541
+ return;
1542
+ }
1543
+ awaitingDragStarted = false;
1544
+ isCircumstantialInvert = false;
1545
+ pastFirstInvertThresh = false;
1546
+ clearInterval(this._loopId);
1547
+ clearTimeout(this._dragStartTimer);
1548
+ _cancelNextTick(this.cloneId);
1549
+ _cancelNextTick(this._dragStartId);
1550
+ if (this.nativeDraggable) {
1551
+ off(document, "drop", this);
1552
+ off(el, "dragstart", this._onDragStart);
1553
+ }
1554
+ this._offMoveEvents();
1555
+ this._offUpEvents();
1556
+ if (Safari) {
1557
+ css(document.body, "user-select", "");
1558
+ }
1559
+ css(dragEl, "transform", "");
1560
+ if (evt) {
1561
+ if (moved) {
1562
+ evt.cancelable && evt.preventDefault();
1563
+ !options.dropBubble && evt.stopPropagation();
1564
+ }
1565
+ ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
1566
+ if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== "clone") {
1567
+ cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
1568
+ }
1569
+ if (dragEl) {
1570
+ if (this.nativeDraggable) {
1571
+ off(dragEl, "dragend", this);
1572
+ }
1573
+ _disableDraggable(dragEl);
1574
+ dragEl.style["will-change"] = "";
1575
+ if (moved && !awaitingDragStarted) {
1576
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
1577
+ }
1578
+ toggleClass(dragEl, this.options.chosenClass, false);
1579
+ _dispatchEvent({
1580
+ sortable: this,
1581
+ name: "unchoose",
1582
+ toEl: parentEl,
1583
+ newIndex: null,
1584
+ newDraggableIndex: null,
1585
+ originalEvent: evt
1586
+ });
1587
+ if (rootEl !== parentEl) {
1588
+ if (newIndex >= 0) {
1589
+ _dispatchEvent({
1590
+ rootEl: parentEl,
1591
+ name: "add",
1592
+ toEl: parentEl,
1593
+ fromEl: rootEl,
1594
+ originalEvent: evt
1595
+ });
1596
+ _dispatchEvent({
1597
+ sortable: this,
1598
+ name: "remove",
1599
+ toEl: parentEl,
1600
+ originalEvent: evt
1601
+ });
1602
+ _dispatchEvent({
1603
+ rootEl: parentEl,
1604
+ name: "sort",
1605
+ toEl: parentEl,
1606
+ fromEl: rootEl,
1607
+ originalEvent: evt
1608
+ });
1609
+ _dispatchEvent({
1610
+ sortable: this,
1611
+ name: "sort",
1612
+ toEl: parentEl,
1613
+ originalEvent: evt
1614
+ });
1615
+ }
1616
+ putSortable && putSortable.save();
1617
+ } else {
1618
+ if (newIndex !== oldIndex) {
1619
+ if (newIndex >= 0) {
1620
+ _dispatchEvent({
1621
+ sortable: this,
1622
+ name: "update",
1623
+ toEl: parentEl,
1624
+ originalEvent: evt
1625
+ });
1626
+ _dispatchEvent({
1627
+ sortable: this,
1628
+ name: "sort",
1629
+ toEl: parentEl,
1630
+ originalEvent: evt
1631
+ });
1632
+ }
1633
+ }
1634
+ }
1635
+ if (Sortable.active) {
1636
+ if (newIndex == null || newIndex === -1) {
1637
+ newIndex = oldIndex;
1638
+ newDraggableIndex = oldDraggableIndex;
1639
+ }
1640
+ _dispatchEvent({
1641
+ sortable: this,
1642
+ name: "end",
1643
+ toEl: parentEl,
1644
+ originalEvent: evt
1645
+ });
1646
+ this.save();
1647
+ }
1648
+ }
1649
+ }
1650
+ this._nulling();
1651
+ },
1652
+ _nulling: function _nulling() {
1653
+ pluginEvent2("nulling", this);
1654
+ 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;
1655
+ savedInputChecked.forEach(function(el) {
1656
+ el.checked = true;
1657
+ });
1658
+ savedInputChecked.length = lastDx = lastDy = 0;
1659
+ },
1660
+ handleEvent: function handleEvent(evt) {
1661
+ switch (evt.type) {
1662
+ case "drop":
1663
+ case "dragend":
1664
+ this._onDrop(evt);
1665
+ break;
1666
+ case "dragenter":
1667
+ case "dragover":
1668
+ if (dragEl) {
1669
+ this._onDragOver(evt);
1670
+ _globalDragOver(evt);
1671
+ }
1672
+ break;
1673
+ case "selectstart":
1674
+ evt.preventDefault();
1675
+ break;
1676
+ }
1677
+ },
1678
+ /**
1679
+ * Serializes the item into an array of string.
1680
+ * @returns {String[]}
1681
+ */
1682
+ toArray: function toArray() {
1683
+ var order = [], el, children = this.el.children, i = 0, n = children.length, options = this.options;
1684
+ for (; i < n; i++) {
1685
+ el = children[i];
1686
+ if (closest(el, options.draggable, this.el, false)) {
1687
+ order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
1688
+ }
1689
+ }
1690
+ return order;
1691
+ },
1692
+ /**
1693
+ * Sorts the elements according to the array.
1694
+ * @param {String[]} order order of the items
1695
+ */
1696
+ sort: function sort(order, useAnimation) {
1697
+ var items = {}, rootEl2 = this.el;
1698
+ this.toArray().forEach(function(id, i) {
1699
+ var el = rootEl2.children[i];
1700
+ if (closest(el, this.options.draggable, rootEl2, false)) {
1701
+ items[id] = el;
1702
+ }
1703
+ }, this);
1704
+ useAnimation && this.captureAnimationState();
1705
+ order.forEach(function(id) {
1706
+ if (items[id]) {
1707
+ rootEl2.removeChild(items[id]);
1708
+ rootEl2.appendChild(items[id]);
1709
+ }
1710
+ });
1711
+ useAnimation && this.animateAll();
1712
+ },
1713
+ /**
1714
+ * Save the current sorting
1715
+ */
1716
+ save: function save() {
1717
+ var store = this.options.store;
1718
+ store && store.set && store.set(this);
1719
+ },
1720
+ /**
1721
+ * 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.
1722
+ * @param {HTMLElement} el
1723
+ * @param {String} [selector] default: `options.draggable`
1724
+ * @returns {HTMLElement|null}
1725
+ */
1726
+ closest: function closest$1(el, selector) {
1727
+ return closest(el, selector || this.options.draggable, this.el, false);
1728
+ },
1729
+ /**
1730
+ * Set/get option
1731
+ * @param {string} name
1732
+ * @param {*} [value]
1733
+ * @returns {*}
1734
+ */
1735
+ option: function option(name, value) {
1736
+ var options = this.options;
1737
+ if (value === void 0) {
1738
+ return options[name];
1739
+ } else {
1740
+ var modifiedValue = PluginManager.modifyOption(this, name, value);
1741
+ if (typeof modifiedValue !== "undefined") {
1742
+ options[name] = modifiedValue;
1743
+ } else {
1744
+ options[name] = value;
1745
+ }
1746
+ if (name === "group") {
1747
+ _prepareGroup(options);
1748
+ }
1749
+ }
1750
+ },
1751
+ /**
1752
+ * Destroy
1753
+ */
1754
+ destroy: function destroy() {
1755
+ pluginEvent2("destroy", this);
1756
+ var el = this.el;
1757
+ el[expando] = null;
1758
+ off(el, "mousedown", this._onTapStart);
1759
+ off(el, "touchstart", this._onTapStart);
1760
+ off(el, "pointerdown", this._onTapStart);
1761
+ if (this.nativeDraggable) {
1762
+ off(el, "dragover", this);
1763
+ off(el, "dragenter", this);
1764
+ }
1765
+ Array.prototype.forEach.call(el.querySelectorAll("[draggable]"), function(el2) {
1766
+ el2.removeAttribute("draggable");
1767
+ });
1768
+ this._onDrop();
1769
+ this._disableDelayedDragEvents();
1770
+ sortables.splice(sortables.indexOf(this.el), 1);
1771
+ this.el = el = null;
1772
+ },
1773
+ _hideClone: function _hideClone() {
1774
+ if (!cloneHidden) {
1775
+ pluginEvent2("hideClone", this);
1776
+ if (Sortable.eventCanceled)
1777
+ return;
1778
+ css(cloneEl, "display", "none");
1779
+ if (this.options.removeCloneOnHide && cloneEl.parentNode) {
1780
+ cloneEl.parentNode.removeChild(cloneEl);
1781
+ }
1782
+ cloneHidden = true;
1783
+ }
1784
+ },
1785
+ _showClone: function _showClone(putSortable2) {
1786
+ if (putSortable2.lastPutMode !== "clone") {
1787
+ this._hideClone();
1788
+ return;
1789
+ }
1790
+ if (cloneHidden) {
1791
+ pluginEvent2("showClone", this);
1792
+ if (Sortable.eventCanceled)
1793
+ return;
1794
+ if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
1795
+ rootEl.insertBefore(cloneEl, dragEl);
1796
+ } else if (nextEl) {
1797
+ rootEl.insertBefore(cloneEl, nextEl);
1798
+ } else {
1799
+ rootEl.appendChild(cloneEl);
1800
+ }
1801
+ if (this.options.group.revertClone) {
1802
+ this.animate(dragEl, cloneEl);
1803
+ }
1804
+ css(cloneEl, "display", "");
1805
+ cloneHidden = false;
1806
+ }
1807
+ }
1808
+ };
1809
+ function _globalDragOver(evt) {
1810
+ if (evt.dataTransfer) {
1811
+ evt.dataTransfer.dropEffect = "move";
1812
+ }
1813
+ evt.cancelable && evt.preventDefault();
1814
+ }
1815
+ function _onMove(fromEl, toEl, dragEl2, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
1816
+ var evt, sortable = fromEl[expando], onMoveFn = sortable.options.onMove, retVal;
1817
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
1818
+ evt = new CustomEvent("move", {
1819
+ bubbles: true,
1820
+ cancelable: true
1821
+ });
1822
+ } else {
1823
+ evt = document.createEvent("Event");
1824
+ evt.initEvent("move", true, true);
1825
+ }
1826
+ evt.to = toEl;
1827
+ evt.from = fromEl;
1828
+ evt.dragged = dragEl2;
1829
+ evt.draggedRect = dragRect;
1830
+ evt.related = targetEl || toEl;
1831
+ evt.relatedRect = targetRect || getRect(toEl);
1832
+ evt.willInsertAfter = willInsertAfter;
1833
+ evt.originalEvent = originalEvent;
1834
+ fromEl.dispatchEvent(evt);
1835
+ if (onMoveFn) {
1836
+ retVal = onMoveFn.call(sortable, evt, originalEvent);
1837
+ }
1838
+ return retVal;
1839
+ }
1840
+ function _disableDraggable(el) {
1841
+ el.draggable = false;
1842
+ }
1843
+ function _unsilent() {
1844
+ _silent = false;
1845
+ }
1846
+ function _ghostIsFirst(evt, vertical, sortable) {
1847
+ var firstElRect = getRect(getChild(sortable.el, 0, sortable.options, true));
1848
+ var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
1849
+ var spacer = 10;
1850
+ 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;
1851
+ }
1852
+ function _ghostIsLast(evt, vertical, sortable) {
1853
+ var lastElRect = getRect(lastChild(sortable.el, sortable.options.draggable));
1854
+ var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
1855
+ var spacer = 10;
1856
+ 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;
1857
+ }
1858
+ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
1859
+ 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;
1860
+ if (!invertSwap) {
1861
+ if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
1862
+ if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {
1863
+ pastFirstInvertThresh = true;
1864
+ }
1865
+ if (!pastFirstInvertThresh) {
1866
+ if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance : mouseOnAxis > targetS2 - targetMoveDistance) {
1867
+ return -lastDirection;
1868
+ }
1869
+ } else {
1870
+ invert = true;
1871
+ }
1872
+ } else {
1873
+ if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {
1874
+ return _getInsertDirection(target);
1875
+ }
1876
+ }
1877
+ }
1878
+ invert = invert || invertSwap;
1879
+ if (invert) {
1880
+ if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
1881
+ return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
1882
+ }
1883
+ }
1884
+ return 0;
1885
+ }
1886
+ function _getInsertDirection(target) {
1887
+ if (index(dragEl) < index(target)) {
1888
+ return 1;
1889
+ } else {
1890
+ return -1;
1891
+ }
1892
+ }
1893
+ function _generateId(el) {
1894
+ var str = el.tagName + el.className + el.src + el.href + el.textContent, i = str.length, sum = 0;
1895
+ while (i--) {
1896
+ sum += str.charCodeAt(i);
1897
+ }
1898
+ return sum.toString(36);
1899
+ }
1900
+ function _saveInputCheckedState(root) {
1901
+ savedInputChecked.length = 0;
1902
+ var inputs = root.getElementsByTagName("input");
1903
+ var idx = inputs.length;
1904
+ while (idx--) {
1905
+ var el = inputs[idx];
1906
+ el.checked && savedInputChecked.push(el);
1907
+ }
1908
+ }
1909
+ function _nextTick(fn) {
1910
+ return setTimeout(fn, 0);
1911
+ }
1912
+ function _cancelNextTick(id) {
1913
+ return clearTimeout(id);
1914
+ }
1915
+ if (documentExists) {
1916
+ on(document, "touchmove", function(evt) {
1917
+ if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
1918
+ evt.preventDefault();
1919
+ }
1920
+ });
1921
+ }
1922
+ Sortable.utils = {
1923
+ on,
1924
+ off,
1925
+ css,
1926
+ find,
1927
+ is: function is(el, selector) {
1928
+ return !!closest(el, selector, el, false);
1929
+ },
1930
+ extend,
1931
+ throttle,
1932
+ closest,
1933
+ toggleClass,
1934
+ clone,
1935
+ index,
1936
+ nextTick: _nextTick,
1937
+ cancelNextTick: _cancelNextTick,
1938
+ detectDirection: _detectDirection,
1939
+ getChild
1940
+ };
1941
+ Sortable.get = function(element) {
1942
+ return element[expando];
1943
+ };
1944
+ Sortable.mount = function() {
1945
+ for (var _len = arguments.length, plugins2 = new Array(_len), _key = 0; _key < _len; _key++) {
1946
+ plugins2[_key] = arguments[_key];
1947
+ }
1948
+ if (plugins2[0].constructor === Array)
1949
+ plugins2 = plugins2[0];
1950
+ plugins2.forEach(function(plugin) {
1951
+ if (!plugin.prototype || !plugin.prototype.constructor) {
1952
+ throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(plugin));
1953
+ }
1954
+ if (plugin.utils)
1955
+ Sortable.utils = _objectSpread2(_objectSpread2({}, Sortable.utils), plugin.utils);
1956
+ PluginManager.mount(plugin);
1957
+ });
1958
+ };
1959
+ Sortable.create = function(el, options) {
1960
+ return new Sortable(el, options);
1961
+ };
1962
+ Sortable.version = version;
1963
+ var autoScrolls = [], scrollEl, scrollRootEl, scrolling = false, lastAutoScrollX, lastAutoScrollY, touchEvt$1, pointerElemChangedInterval;
1964
+ function AutoScrollPlugin() {
1965
+ function AutoScroll() {
1966
+ this.defaults = {
1967
+ scroll: true,
1968
+ forceAutoScrollFallback: false,
1969
+ scrollSensitivity: 30,
1970
+ scrollSpeed: 10,
1971
+ bubbleScroll: true
1972
+ };
1973
+ for (var fn in this) {
1974
+ if (fn.charAt(0) === "_" && typeof this[fn] === "function") {
1975
+ this[fn] = this[fn].bind(this);
1976
+ }
1977
+ }
1978
+ }
1979
+ AutoScroll.prototype = {
1980
+ dragStarted: function dragStarted(_ref) {
1981
+ var originalEvent = _ref.originalEvent;
1982
+ if (this.sortable.nativeDraggable) {
1983
+ on(document, "dragover", this._handleAutoScroll);
1984
+ } else {
1985
+ if (this.options.supportPointer) {
1986
+ on(document, "pointermove", this._handleFallbackAutoScroll);
1987
+ } else if (originalEvent.touches) {
1988
+ on(document, "touchmove", this._handleFallbackAutoScroll);
1989
+ } else {
1990
+ on(document, "mousemove", this._handleFallbackAutoScroll);
1991
+ }
1992
+ }
1993
+ },
1994
+ dragOverCompleted: function dragOverCompleted(_ref2) {
1995
+ var originalEvent = _ref2.originalEvent;
1996
+ if (!this.options.dragOverBubble && !originalEvent.rootEl) {
1997
+ this._handleAutoScroll(originalEvent);
1998
+ }
1999
+ },
2000
+ drop: function drop3() {
2001
+ if (this.sortable.nativeDraggable) {
2002
+ off(document, "dragover", this._handleAutoScroll);
2003
+ } else {
2004
+ off(document, "pointermove", this._handleFallbackAutoScroll);
2005
+ off(document, "touchmove", this._handleFallbackAutoScroll);
2006
+ off(document, "mousemove", this._handleFallbackAutoScroll);
2007
+ }
2008
+ clearPointerElemChangedInterval();
2009
+ clearAutoScrolls();
2010
+ cancelThrottle();
2011
+ },
2012
+ nulling: function nulling() {
2013
+ touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;
2014
+ autoScrolls.length = 0;
2015
+ },
2016
+ _handleFallbackAutoScroll: function _handleFallbackAutoScroll(evt) {
2017
+ this._handleAutoScroll(evt, true);
2018
+ },
2019
+ _handleAutoScroll: function _handleAutoScroll(evt, fallback) {
2020
+ var _this = this;
2021
+ var x = (evt.touches ? evt.touches[0] : evt).clientX, y = (evt.touches ? evt.touches[0] : evt).clientY, elem = document.elementFromPoint(x, y);
2022
+ touchEvt$1 = evt;
2023
+ if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
2024
+ autoScroll(evt, this.options, elem, fallback);
2025
+ var ogElemScroller = getParentAutoScrollElement(elem, true);
2026
+ if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
2027
+ pointerElemChangedInterval && clearPointerElemChangedInterval();
2028
+ pointerElemChangedInterval = setInterval(function() {
2029
+ var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
2030
+ if (newElem !== ogElemScroller) {
2031
+ ogElemScroller = newElem;
2032
+ clearAutoScrolls();
2033
+ }
2034
+ autoScroll(evt, _this.options, newElem, fallback);
2035
+ }, 10);
2036
+ lastAutoScrollX = x;
2037
+ lastAutoScrollY = y;
2038
+ }
2039
+ } else {
2040
+ if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {
2041
+ clearAutoScrolls();
2042
+ return;
2043
+ }
2044
+ autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
2045
+ }
2046
+ }
2047
+ };
2048
+ return _extends(AutoScroll, {
2049
+ pluginName: "scroll",
2050
+ initializeByDefault: true
2051
+ });
2052
+ }
2053
+ function clearAutoScrolls() {
2054
+ autoScrolls.forEach(function(autoScroll2) {
2055
+ clearInterval(autoScroll2.pid);
2056
+ });
2057
+ autoScrolls = [];
2058
+ }
2059
+ function clearPointerElemChangedInterval() {
2060
+ clearInterval(pointerElemChangedInterval);
2061
+ }
2062
+ var autoScroll = throttle(function(evt, options, rootEl2, isFallback) {
2063
+ if (!options.scroll)
2064
+ return;
2065
+ 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();
2066
+ var scrollThisInstance = false, scrollCustomFn;
2067
+ if (scrollRootEl !== rootEl2) {
2068
+ scrollRootEl = rootEl2;
2069
+ clearAutoScrolls();
2070
+ scrollEl = options.scroll;
2071
+ scrollCustomFn = options.scrollFn;
2072
+ if (scrollEl === true) {
2073
+ scrollEl = getParentAutoScrollElement(rootEl2, true);
2074
+ }
2075
+ }
2076
+ var layersOut = 0;
2077
+ var currentParent = scrollEl;
2078
+ do {
2079
+ 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;
2080
+ if (el === winScroller) {
2081
+ canScrollX = width < scrollWidth && (elCSS.overflowX === "auto" || elCSS.overflowX === "scroll" || elCSS.overflowX === "visible");
2082
+ canScrollY = height < scrollHeight && (elCSS.overflowY === "auto" || elCSS.overflowY === "scroll" || elCSS.overflowY === "visible");
2083
+ } else {
2084
+ canScrollX = width < scrollWidth && (elCSS.overflowX === "auto" || elCSS.overflowX === "scroll");
2085
+ canScrollY = height < scrollHeight && (elCSS.overflowY === "auto" || elCSS.overflowY === "scroll");
2086
+ }
2087
+ var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
2088
+ var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
2089
+ if (!autoScrolls[layersOut]) {
2090
+ for (var i = 0; i <= layersOut; i++) {
2091
+ if (!autoScrolls[i]) {
2092
+ autoScrolls[i] = {};
2093
+ }
2094
+ }
2095
+ }
2096
+ if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
2097
+ autoScrolls[layersOut].el = el;
2098
+ autoScrolls[layersOut].vx = vx;
2099
+ autoScrolls[layersOut].vy = vy;
2100
+ clearInterval(autoScrolls[layersOut].pid);
2101
+ if (vx != 0 || vy != 0) {
2102
+ scrollThisInstance = true;
2103
+ autoScrolls[layersOut].pid = setInterval((function() {
2104
+ if (isFallback && this.layer === 0) {
2105
+ Sortable.active._onTouchMove(touchEvt$1);
2106
+ }
2107
+ var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
2108
+ var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
2109
+ if (typeof scrollCustomFn === "function") {
2110
+ if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== "continue") {
2111
+ return;
2112
+ }
2113
+ }
2114
+ scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
2115
+ }).bind({
2116
+ layer: layersOut
2117
+ }), 24);
2118
+ }
2119
+ }
2120
+ layersOut++;
2121
+ } while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
2122
+ scrolling = scrollThisInstance;
2123
+ }, 30);
2124
+ var drop = function drop2(_ref) {
2125
+ var originalEvent = _ref.originalEvent, putSortable2 = _ref.putSortable, dragEl2 = _ref.dragEl, activeSortable = _ref.activeSortable, dispatchSortableEvent = _ref.dispatchSortableEvent, hideGhostForTarget = _ref.hideGhostForTarget, unhideGhostForTarget = _ref.unhideGhostForTarget;
2126
+ if (!originalEvent)
2127
+ return;
2128
+ var toSortable = putSortable2 || activeSortable;
2129
+ hideGhostForTarget();
2130
+ var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
2131
+ var target = document.elementFromPoint(touch.clientX, touch.clientY);
2132
+ unhideGhostForTarget();
2133
+ if (toSortable && !toSortable.el.contains(target)) {
2134
+ dispatchSortableEvent("spill");
2135
+ this.onSpill({
2136
+ dragEl: dragEl2,
2137
+ putSortable: putSortable2
2138
+ });
2139
+ }
2140
+ };
2141
+ function Revert() {
2142
+ }
2143
+ Revert.prototype = {
2144
+ startIndex: null,
2145
+ dragStart: function dragStart(_ref2) {
2146
+ var oldDraggableIndex2 = _ref2.oldDraggableIndex;
2147
+ this.startIndex = oldDraggableIndex2;
2148
+ },
2149
+ onSpill: function onSpill(_ref3) {
2150
+ var dragEl2 = _ref3.dragEl, putSortable2 = _ref3.putSortable;
2151
+ this.sortable.captureAnimationState();
2152
+ if (putSortable2) {
2153
+ putSortable2.captureAnimationState();
2154
+ }
2155
+ var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
2156
+ if (nextSibling) {
2157
+ this.sortable.el.insertBefore(dragEl2, nextSibling);
2158
+ } else {
2159
+ this.sortable.el.appendChild(dragEl2);
2160
+ }
2161
+ this.sortable.animateAll();
2162
+ if (putSortable2) {
2163
+ putSortable2.animateAll();
2164
+ }
2165
+ },
2166
+ drop
2167
+ };
2168
+ _extends(Revert, {
2169
+ pluginName: "revertOnSpill"
2170
+ });
2171
+ function Remove() {
2172
+ }
2173
+ Remove.prototype = {
2174
+ onSpill: function onSpill2(_ref4) {
2175
+ var dragEl2 = _ref4.dragEl, putSortable2 = _ref4.putSortable;
2176
+ var parentSortable = putSortable2 || this.sortable;
2177
+ parentSortable.captureAnimationState();
2178
+ dragEl2.parentNode && dragEl2.parentNode.removeChild(dragEl2);
2179
+ parentSortable.animateAll();
2180
+ },
2181
+ drop
2182
+ };
2183
+ _extends(Remove, {
2184
+ pluginName: "removeOnSpill"
2185
+ });
2186
+ Sortable.mount(new AutoScrollPlugin());
2187
+ Sortable.mount(Remove, Revert);
2188
+ const _hoisted_1 = ["data-url", "onContextmenu", "onMousedown", "onClick"];
2189
+ const _hoisted_2 = {
2190
+ key: 0,
2191
+ class: "iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont"
2192
+ };
2193
+ const __default__ = defineComponent({
2194
+ name: "layoutTagsView"
2195
+ });
2196
+ const _sfc_main = /* @__PURE__ */ defineComponent({
2197
+ ...__default__,
2198
+ setup(__props) {
2199
+ const Contextmenu = defineAsyncComponent(() => import("./contextmenu-j-fKcHSk.mjs"));
2200
+ const tagsRefs = ref([]);
2201
+ const scrollbarRef = ref();
2202
+ const contextmenuRef = ref();
2203
+ const tagsUlRef = ref();
2204
+ const stores = useTagsViewRoutes();
2205
+ const storesThemeConfig = useThemeConfig();
2206
+ const storesTagsViewRoutes = useTagsViewRoutes();
2207
+ const storesRoutesList = useRoutesList();
2208
+ const { themeConfig } = storeToRefs(storesThemeConfig);
2209
+ const { tagsViewRoutes } = storeToRefs(storesTagsViewRoutes);
2210
+ const { routesList } = storeToRefs(storesRoutesList);
2211
+ const storesKeepALiveNames = useKeepALiveNames();
2212
+ const route = useRoute();
2213
+ const router = useRouter();
2214
+ const state = reactive({
2215
+ routeActive: "",
2216
+ routePath: route.path,
2217
+ dropdown: { x: "", y: "" },
2218
+ sortable: "",
2219
+ tagsRefsIndex: 0,
2220
+ tagsViewList: [],
2221
+ tagsViewRoutesList: []
2222
+ });
2223
+ const setTagsStyle = computed(() => {
2224
+ return themeConfig.value.tagsStyle;
2225
+ });
2226
+ const getThemeConfig = computed(() => {
2227
+ return themeConfig.value;
2228
+ });
2229
+ const setTagsViewNameI18n = computed(() => {
2230
+ return (v) => {
2231
+ return other.setTagsViewNameI18n(v);
2232
+ };
2233
+ });
2234
+ const isActive = (v) => {
2235
+ if (getThemeConfig.value.isShareTagsView) {
2236
+ return v.path === state.routePath;
2237
+ } else {
2238
+ if (v.query && Object.keys(v.query).length || v.params && Object.keys(v.params).length) {
2239
+ return v.url ? v.url === state.routeActive : v.path === state.routeActive;
2240
+ } else {
2241
+ return v.path === state.routePath;
2242
+ }
2243
+ }
2244
+ };
2245
+ const addBrowserSetSession = (tagsViewList) => {
2246
+ Session.set("tagsViewList", tagsViewList);
2247
+ };
2248
+ const setTagsViewHighlight = (v) => {
2249
+ var _a;
2250
+ let params = v.query && Object.keys(v.query).length > 0 ? v.query : v.params;
2251
+ if (!params || Object.keys(params).length <= 0)
2252
+ return v.path;
2253
+ let path = "";
2254
+ for (let i in params) {
2255
+ path += params[i];
2256
+ }
2257
+ return `${((_a = v.meta) == null ? void 0 : _a.isDynamic) ? v.meta.isDynamicPath : v.path}-${path}`;
2258
+ };
2259
+ const solveAddTagsView = async (path, to) => {
2260
+ var _a, _b;
2261
+ let isDynamicPath = ((_a = to == null ? void 0 : to.meta) == null ? void 0 : _a.isDynamic) ? to.meta.isDynamicPath : path;
2262
+ let current = state.tagsViewList.filter(
2263
+ (v) => {
2264
+ var _a2, _b2;
2265
+ return v.path === isDynamicPath && isObjectValueEqual(
2266
+ ((_a2 = to == null ? void 0 : to.meta) == null ? void 0 : _a2.isDynamic) ? v.params ? v.params : null : v.query ? v.query : null,
2267
+ ((_b2 = to == null ? void 0 : to.meta) == null ? void 0 : _b2.isDynamic) ? (to == null ? void 0 : to.params) ? to == null ? void 0 : to.params : null : (to == null ? void 0 : to.query) ? to == null ? void 0 : to.query : null
2268
+ );
2269
+ }
2270
+ );
2271
+ if (current.length <= 0) {
2272
+ let findItem = state.tagsViewRoutesList.find((v) => v.path === isDynamicPath);
2273
+ if (!findItem)
2274
+ return false;
2275
+ if (findItem.meta.isAffix)
2276
+ return false;
2277
+ if (findItem.meta.isLink && !findItem.meta.isIframe)
2278
+ return false;
2279
+ ((_b = to == null ? void 0 : to.meta) == null ? void 0 : _b.isDynamic) ? findItem.params = to.params : findItem.query = to == null ? void 0 : to.query;
2280
+ findItem.url = setTagsViewHighlight(findItem);
2281
+ state.tagsViewList.push({ ...findItem });
2282
+ await storesKeepALiveNames.addCachedView(findItem);
2283
+ addBrowserSetSession(state.tagsViewList);
2284
+ }
2285
+ };
2286
+ const singleAddTagsView = (path, to) => {
2287
+ var _a;
2288
+ let isDynamicPath = ((_a = to == null ? void 0 : to.meta) == null ? void 0 : _a.isDynamic) ? to.meta.isDynamicPath : path;
2289
+ state.tagsViewList.forEach((v) => {
2290
+ var _a2, _b, _c;
2291
+ if (v.path === isDynamicPath && !isObjectValueEqual(
2292
+ ((_a2 = to == null ? void 0 : to.meta) == null ? void 0 : _a2.isDynamic) ? v.params ? v.params : null : v.query ? v.query : null,
2293
+ ((_b = to == null ? void 0 : to.meta) == null ? void 0 : _b.isDynamic) ? (to == null ? void 0 : to.params) ? to == null ? void 0 : to.params : null : (to == null ? void 0 : to.query) ? to == null ? void 0 : to.query : null
2294
+ )) {
2295
+ ((_c = to == null ? void 0 : to.meta) == null ? void 0 : _c.isDynamic) ? v.params = to.params : v.query = to == null ? void 0 : to.query;
2296
+ v.url = setTagsViewHighlight(v);
2297
+ addBrowserSetSession(state.tagsViewList);
2298
+ }
2299
+ });
2300
+ };
2301
+ const addTagsView = (path, to) => {
2302
+ nextTick(async () => {
2303
+ var _a, _b, _c;
2304
+ let item;
2305
+ if ((_a = to == null ? void 0 : to.meta) == null ? void 0 : _a.isDynamic) {
2306
+ if (!getThemeConfig.value.isShareTagsView)
2307
+ await solveAddTagsView(path, to);
2308
+ else
2309
+ await singleAddTagsView(path, to);
2310
+ if (state.tagsViewList.some((v) => {
2311
+ var _a2;
2312
+ return v.path === ((_a2 = to == null ? void 0 : to.meta) == null ? void 0 : _a2.isDynamicPath);
2313
+ })) {
2314
+ addBrowserSetSession(state.tagsViewList);
2315
+ return false;
2316
+ }
2317
+ item = state.tagsViewRoutesList.find((v) => {
2318
+ var _a2;
2319
+ return v.path === ((_a2 = to == null ? void 0 : to.meta) == null ? void 0 : _a2.isDynamicPath);
2320
+ });
2321
+ } else {
2322
+ if (!getThemeConfig.value.isShareTagsView)
2323
+ await solveAddTagsView(path, to);
2324
+ else
2325
+ await singleAddTagsView(path, to);
2326
+ if (state.tagsViewList.some((v) => v.path === path)) {
2327
+ addBrowserSetSession(state.tagsViewList);
2328
+ return false;
2329
+ }
2330
+ item = state.tagsViewRoutesList.find((v) => v.path === path);
2331
+ }
2332
+ if (!item)
2333
+ return false;
2334
+ if (((_b = item == null ? void 0 : item.meta) == null ? void 0 : _b.isLink) && !item.meta.isIframe)
2335
+ return false;
2336
+ if ((_c = to == null ? void 0 : to.meta) == null ? void 0 : _c.isDynamic)
2337
+ item.params = (to == null ? void 0 : to.params) ? to == null ? void 0 : to.params : route.params;
2338
+ else
2339
+ item.query = (to == null ? void 0 : to.query) ? to == null ? void 0 : to.query : route.query;
2340
+ item.url = setTagsViewHighlight(item);
2341
+ await storesKeepALiveNames.addCachedView(item);
2342
+ await state.tagsViewList.push({ ...item });
2343
+ await addBrowserSetSession(state.tagsViewList);
2344
+ });
2345
+ };
2346
+ const tagsViewmoveToCurrentTag = () => {
2347
+ nextTick(() => {
2348
+ if (tagsRefs.value.length <= 0)
2349
+ return false;
2350
+ let liDom = tagsRefs.value[state.tagsRefsIndex];
2351
+ let liIndex = state.tagsRefsIndex;
2352
+ let liLength = tagsRefs.value.length;
2353
+ let liFirst = tagsRefs.value[0];
2354
+ let liLast = tagsRefs.value[tagsRefs.value.length - 1];
2355
+ let scrollRefs = scrollbarRef.value.$refs.wrapRef;
2356
+ let scrollS = scrollRefs.scrollWidth;
2357
+ let offsetW = scrollRefs.offsetWidth;
2358
+ let scrollL = scrollRefs.scrollLeft;
2359
+ let liPrevTag = tagsRefs.value[state.tagsRefsIndex - 1];
2360
+ let liNextTag = tagsRefs.value[state.tagsRefsIndex + 1];
2361
+ let beforePrevL = 0;
2362
+ let afterNextL = 0;
2363
+ if (liDom === liFirst) {
2364
+ scrollRefs.scrollLeft = 0;
2365
+ } else if (liDom === liLast) {
2366
+ scrollRefs.scrollLeft = scrollS - offsetW;
2367
+ } else {
2368
+ if (liIndex === 0)
2369
+ beforePrevL = liFirst.offsetLeft - 5;
2370
+ else
2371
+ beforePrevL = (liPrevTag == null ? void 0 : liPrevTag.offsetLeft) - 5;
2372
+ if (liIndex === liLength)
2373
+ afterNextL = liLast.offsetLeft + liLast.offsetWidth + 5;
2374
+ else
2375
+ afterNextL = liNextTag.offsetLeft + liNextTag.offsetWidth + 5;
2376
+ if (afterNextL > scrollL + offsetW) {
2377
+ scrollRefs.scrollLeft = afterNextL - offsetW;
2378
+ } else if (beforePrevL < scrollL) {
2379
+ scrollRefs.scrollLeft = beforePrevL;
2380
+ }
2381
+ }
2382
+ scrollbarRef.value.update();
2383
+ });
2384
+ };
2385
+ const getTagsRefsIndex = (path) => {
2386
+ nextTick(async () => {
2387
+ let tagsViewList = await state.tagsViewList;
2388
+ state.tagsRefsIndex = tagsViewList.findIndex((v) => {
2389
+ if (getThemeConfig.value.isShareTagsView) {
2390
+ return v.path === path;
2391
+ } else {
2392
+ return v.url === path;
2393
+ }
2394
+ });
2395
+ tagsViewmoveToCurrentTag();
2396
+ });
2397
+ };
2398
+ const initTagsView = async () => {
2399
+ if (Session.get("tagsViewList") && getThemeConfig.value.isCacheTagsView) {
2400
+ state.tagsViewList = Session.get("tagsViewList");
2401
+ } else {
2402
+ await state.tagsViewRoutesList.map((v) => {
2403
+ var _a;
2404
+ if (((_a = v.meta) == null ? void 0 : _a.isAffix) && !v.meta.isHide) {
2405
+ v.url = setTagsViewHighlight(v);
2406
+ state.tagsViewList.push({ ...v });
2407
+ storesKeepALiveNames.addCachedView(v);
2408
+ }
2409
+ });
2410
+ await addTagsView(route.path, route);
2411
+ }
2412
+ getTagsRefsIndex(getThemeConfig.value.isShareTagsView ? state.routePath : state.routeActive);
2413
+ };
2414
+ const getTagsViewRoutes = async () => {
2415
+ state.routeActive = await setTagsViewHighlight(route);
2416
+ state.routePath = await route.meta.isDynamic ? route.meta.isDynamicPath : route.path;
2417
+ state.tagsViewList = [];
2418
+ state.tagsViewRoutesList = tagsViewRoutes.value;
2419
+ initTagsView();
2420
+ };
2421
+ const transUrlParams = (v) => {
2422
+ var _a, _b;
2423
+ let params = v.query && Object.keys(v.query).length > 0 ? v.query : v.params;
2424
+ if (!params)
2425
+ return "";
2426
+ let path = "";
2427
+ for (let [key, value] of Object.entries(params)) {
2428
+ if ((_a = v.meta) == null ? void 0 : _a.isDynamic)
2429
+ path += `/${value}`;
2430
+ else
2431
+ path += `&${key}=${value}`;
2432
+ }
2433
+ if ((_b = v.meta) == null ? void 0 : _b.isDynamic) {
2434
+ return v.isFnClick ? decodeURI(v.path) : `${v.path.split(":")[0]}${path.replace(/^\//, "")}`;
2435
+ } else {
2436
+ return `${v.path}${path.replace(/^&/, "?")}`;
2437
+ }
2438
+ };
2439
+ const refreshCurrentTagsView = async (fullPath) => {
2440
+ var _a;
2441
+ const decodeURIPath = decodeURI(fullPath);
2442
+ let item = {};
2443
+ state.tagsViewList.forEach((v) => {
2444
+ v.transUrl = transUrlParams(v);
2445
+ if (v.transUrl) {
2446
+ if (v.transUrl === transUrlParams(v))
2447
+ item = v;
2448
+ } else {
2449
+ if (v.path === decodeURIPath)
2450
+ item = v;
2451
+ }
2452
+ });
2453
+ if (!item)
2454
+ return false;
2455
+ await storesKeepALiveNames.delCachedView(item);
2456
+ mittBus.emit("onTagsViewRefreshRouterView", fullPath);
2457
+ if ((_a = item.meta) == null ? void 0 : _a.isKeepAlive)
2458
+ storesKeepALiveNames.addCachedView(item);
2459
+ };
2460
+ const closeCurrentTagsView = (path) => {
2461
+ state.tagsViewList.map((v, k, arr) => {
2462
+ var _a;
2463
+ if (!((_a = v.meta) == null ? void 0 : _a.isAffix)) {
2464
+ if (getThemeConfig.value.isShareTagsView ? v.path === path : v.url === path) {
2465
+ storesKeepALiveNames.delCachedView(v);
2466
+ state.tagsViewList.splice(k, 1);
2467
+ setTimeout(() => {
2468
+ if (state.tagsViewList.length === k && getThemeConfig.value.isShareTagsView ? state.routePath === path : state.routeActive === path) {
2469
+ if (arr[arr.length - 1].meta.isDynamic) {
2470
+ if (k !== arr.length)
2471
+ router.push({ name: arr[k].name, params: arr[k].params });
2472
+ else
2473
+ router.push({ name: arr[arr.length - 1].name, params: arr[arr.length - 1].params });
2474
+ } else {
2475
+ if (k !== arr.length)
2476
+ router.push({ path: arr[k].path, query: arr[k].query });
2477
+ else
2478
+ router.push({ path: arr[arr.length - 1].path, query: arr[arr.length - 1].query });
2479
+ }
2480
+ } else {
2481
+ if (state.tagsViewList.length !== k && getThemeConfig.value.isShareTagsView ? state.routePath === path : state.routeActive === path) {
2482
+ if (arr[k].meta.isDynamic) {
2483
+ router.push({ name: arr[k].name, params: arr[k].params });
2484
+ } else {
2485
+ router.push({ path: arr[k].path, query: arr[k].query });
2486
+ }
2487
+ }
2488
+ }
2489
+ }, 0);
2490
+ }
2491
+ }
2492
+ });
2493
+ addBrowserSetSession(state.tagsViewList);
2494
+ };
2495
+ const closeOtherTagsView = (path) => {
2496
+ if (Session.get("tagsViewList")) {
2497
+ state.tagsViewList = [];
2498
+ Session.get("tagsViewList").map((v) => {
2499
+ var _a;
2500
+ if (((_a = v.meta) == null ? void 0 : _a.isAffix) && !v.meta.isHide) {
2501
+ v.url = setTagsViewHighlight(v);
2502
+ storesKeepALiveNames.delOthersCachedViews(v);
2503
+ state.tagsViewList.push({ ...v });
2504
+ }
2505
+ });
2506
+ addTagsView(path, route);
2507
+ addBrowserSetSession(state.tagsViewList);
2508
+ }
2509
+ };
2510
+ const closeAllTagsView = () => {
2511
+ if (Session.get("tagsViewList")) {
2512
+ storesKeepALiveNames.delAllCachedViews();
2513
+ state.tagsViewList = [];
2514
+ Session.get("tagsViewList").map((v) => {
2515
+ var _a;
2516
+ if (((_a = v.meta) == null ? void 0 : _a.isAffix) && !v.meta.isHide) {
2517
+ v.url = setTagsViewHighlight(v);
2518
+ state.tagsViewList.push({ ...v });
2519
+ router.push({ path: state.tagsViewList[state.tagsViewList.length - 1].path });
2520
+ }
2521
+ });
2522
+ addBrowserSetSession(state.tagsViewList);
2523
+ }
2524
+ };
2525
+ const openCurrenFullscreen = async (path) => {
2526
+ const item = state.tagsViewList.find((v) => getThemeConfig.value.isShareTagsView ? v.path === path : v.url === path);
2527
+ if (item.meta.isDynamic)
2528
+ await router.push({ name: item.name, params: item.params });
2529
+ else
2530
+ await router.push({ name: item.name, query: item.query });
2531
+ stores.setCurrenFullscreen(true);
2532
+ };
2533
+ const getCurrentRouteItem = (item) => {
2534
+ let resItem = {};
2535
+ state.tagsViewList.forEach((v) => {
2536
+ v.transUrl = transUrlParams(v);
2537
+ if (v.transUrl) {
2538
+ if (v.transUrl === transUrlParams(v) && v.transUrl === item.commonUrl)
2539
+ resItem = v;
2540
+ } else {
2541
+ if (v.path === decodeURI(item.path))
2542
+ resItem = v;
2543
+ }
2544
+ });
2545
+ if (!resItem)
2546
+ return null;
2547
+ else
2548
+ return resItem;
2549
+ };
2550
+ const onCurrentContextmenuClick = async (item) => {
2551
+ item.commonUrl = transUrlParams(item);
2552
+ if (!getCurrentRouteItem(item))
2553
+ return ElMessage({ type: "warning", message: "请正确输入路径及完整参数(query、params)" });
2554
+ const { path, name, params, query, meta, url } = getCurrentRouteItem(item);
2555
+ switch (item.contextMenuClickId) {
2556
+ case 0:
2557
+ if (meta.isDynamic)
2558
+ await router.push({ name, params });
2559
+ else
2560
+ await router.push({ path, query });
2561
+ refreshCurrentTagsView(route.fullPath);
2562
+ break;
2563
+ case 1:
2564
+ closeCurrentTagsView(getThemeConfig.value.isShareTagsView ? path : url);
2565
+ break;
2566
+ case 2:
2567
+ if (meta.isDynamic)
2568
+ await router.push({ name, params });
2569
+ else
2570
+ await router.push({ path, query });
2571
+ closeOtherTagsView(path);
2572
+ break;
2573
+ case 3:
2574
+ closeAllTagsView();
2575
+ break;
2576
+ case 4:
2577
+ openCurrenFullscreen(getThemeConfig.value.isShareTagsView ? path : url);
2578
+ break;
2579
+ }
2580
+ };
2581
+ const onContextmenu = (v, e) => {
2582
+ const { clientX, clientY } = e;
2583
+ state.dropdown.x = clientX;
2584
+ state.dropdown.y = clientY;
2585
+ contextmenuRef.value.openContextmenu(v);
2586
+ };
2587
+ const onMousedownMenu = (v, e) => {
2588
+ var _a;
2589
+ if (!((_a = v.meta) == null ? void 0 : _a.isAffix) && e.button === 1) {
2590
+ const item = Object.assign({}, { contextMenuClickId: 1, ...v });
2591
+ onCurrentContextmenuClick(item);
2592
+ }
2593
+ };
2594
+ const onTagsClick = (v, k) => {
2595
+ state.tagsRefsIndex = k;
2596
+ router.push(v);
2597
+ if (getThemeConfig.value.layout === "columns") {
2598
+ const item = routesList.value.find((r) => r.path.indexOf(`/${v.path.split("/")[1]}`) > -1);
2599
+ !item.children ? getThemeConfig.value.isCollapse = true : getThemeConfig.value.isCollapse = false;
2600
+ }
2601
+ };
2602
+ const onHandleScroll = (e) => {
2603
+ scrollbarRef.value.$refs.wrapRef.scrollLeft += e.wheelDelta / 4;
2604
+ };
2605
+ const initSortable = async () => {
2606
+ const el = document.querySelector(".layout-navbars-tagsview-ul");
2607
+ if (!el)
2608
+ return false;
2609
+ state.sortable.el && state.sortable.destroy();
2610
+ state.sortable = Sortable.create(el, {
2611
+ animation: 300,
2612
+ dataIdAttr: "data-url",
2613
+ disabled: getThemeConfig.value.isSortableTagsView ? false : true,
2614
+ onEnd: () => {
2615
+ const sortEndList = [];
2616
+ state.sortable.toArray().map((val) => {
2617
+ state.tagsViewList.map((v) => {
2618
+ if (v.url === val)
2619
+ sortEndList.push({ ...v });
2620
+ });
2621
+ });
2622
+ addBrowserSetSession(sortEndList);
2623
+ }
2624
+ });
2625
+ };
2626
+ const onSortableResize = async () => {
2627
+ await initSortable();
2628
+ if (other.isMobile())
2629
+ state.sortable.el && state.sortable.destroy();
2630
+ };
2631
+ onBeforeMount(() => {
2632
+ onSortableResize();
2633
+ window.addEventListener("resize", onSortableResize);
2634
+ mittBus.on("onCurrentContextmenuClick", (data) => {
2635
+ data.isFnClick = true;
2636
+ onCurrentContextmenuClick(data);
2637
+ });
2638
+ mittBus.on("openOrCloseSortable", () => {
2639
+ initSortable();
2640
+ });
2641
+ mittBus.on("openShareTagsView", () => {
2642
+ if (getThemeConfig.value.isShareTagsView) {
2643
+ router.push("/home");
2644
+ state.tagsViewList = [];
2645
+ state.tagsViewRoutesList.map((v) => {
2646
+ var _a;
2647
+ if (((_a = v.meta) == null ? void 0 : _a.isAffix) && !v.meta.isHide) {
2648
+ v.url = setTagsViewHighlight(v);
2649
+ state.tagsViewList.push({ ...v });
2650
+ }
2651
+ });
2652
+ }
2653
+ });
2654
+ });
2655
+ onUnmounted(() => {
2656
+ mittBus.off("onCurrentContextmenuClick", () => {
2657
+ });
2658
+ mittBus.off("openOrCloseSortable", () => {
2659
+ });
2660
+ mittBus.off("openShareTagsView", () => {
2661
+ });
2662
+ window.removeEventListener("resize", onSortableResize);
2663
+ });
2664
+ onBeforeUpdate(() => {
2665
+ tagsRefs.value = [];
2666
+ });
2667
+ onMounted(() => {
2668
+ getTagsViewRoutes();
2669
+ initSortable();
2670
+ });
2671
+ onBeforeRouteUpdate(async (to) => {
2672
+ state.routeActive = setTagsViewHighlight(to);
2673
+ state.routePath = to.meta.isDynamic ? to.meta.isDynamicPath : to.path;
2674
+ await addTagsView(to.path, to);
2675
+ getTagsRefsIndex(getThemeConfig.value.isShareTagsView ? state.routePath : state.routeActive);
2676
+ });
2677
+ watch(
2678
+ () => tagsViewRoutes.value,
2679
+ (val) => {
2680
+ if (val.length === state.tagsViewRoutesList.length)
2681
+ return false;
2682
+ getTagsViewRoutes();
2683
+ },
2684
+ {
2685
+ deep: true
2686
+ }
2687
+ );
2688
+ return (_ctx, _cache) => {
2689
+ const _component_SvgIcon = resolveComponent("SvgIcon");
2690
+ const _component_el_scrollbar = resolveComponent("el-scrollbar");
2691
+ return openBlock(), createElementBlock("div", {
2692
+ class: normalizeClass(["layout-navbars-tagsview", { "layout-navbars-tagsview-shadow": getThemeConfig.value.layout === "classic" }])
2693
+ }, [
2694
+ createVNode(_component_el_scrollbar, {
2695
+ ref_key: "scrollbarRef",
2696
+ ref: scrollbarRef,
2697
+ onWheel: withModifiers(onHandleScroll, ["prevent"])
2698
+ }, {
2699
+ default: withCtx(() => [
2700
+ createElementVNode("ul", {
2701
+ class: normalizeClass(["layout-navbars-tagsview-ul", setTagsStyle.value]),
2702
+ ref_key: "tagsUlRef",
2703
+ ref: tagsUlRef
2704
+ }, [
2705
+ (openBlock(true), createElementBlock(Fragment, null, renderList(state.tagsViewList, (v, k) => {
2706
+ return openBlock(), createElementBlock("li", {
2707
+ key: k,
2708
+ class: normalizeClass(["layout-navbars-tagsview-ul-li", { "is-active": isActive(v) }]),
2709
+ "data-url": v.url,
2710
+ onContextmenu: withModifiers(($event) => onContextmenu(v, $event), ["prevent"]),
2711
+ onMousedown: ($event) => onMousedownMenu(v, $event),
2712
+ onClick: ($event) => onTagsClick(v, k),
2713
+ ref_for: true,
2714
+ ref: (el) => {
2715
+ if (el)
2716
+ tagsRefs.value[k] = el;
2717
+ }
2718
+ }, [
2719
+ isActive(v) ? (openBlock(), createElementBlock("i", _hoisted_2)) : createCommentVNode("", true),
2720
+ !isActive(v) && getThemeConfig.value.isTagsviewIcon ? (openBlock(), createBlock(_component_SvgIcon, {
2721
+ key: 1,
2722
+ name: v.meta.icon,
2723
+ class: "pr5"
2724
+ }, null, 8, ["name"])) : createCommentVNode("", true),
2725
+ createElementVNode("span", null, toDisplayString(setTagsViewNameI18n.value(v)), 1),
2726
+ isActive(v) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
2727
+ createVNode(_component_SvgIcon, {
2728
+ name: "ele-RefreshRight",
2729
+ class: "ml5 layout-navbars-tagsview-ul-li-refresh",
2730
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => refreshCurrentTagsView(_ctx.$route.fullPath), ["stop"]))
2731
+ }),
2732
+ !v.meta.isAffix ? (openBlock(), createBlock(_component_SvgIcon, {
2733
+ key: 0,
2734
+ name: "ele-Close",
2735
+ class: "layout-navbars-tagsview-ul-li-icon layout-icon-active",
2736
+ onClick: withModifiers(($event) => closeCurrentTagsView(getThemeConfig.value.isShareTagsView ? v.path : v.url), ["stop"])
2737
+ }, null, 8, ["onClick"])) : createCommentVNode("", true)
2738
+ ], 64)) : createCommentVNode("", true),
2739
+ !v.meta.isAffix ? (openBlock(), createBlock(_component_SvgIcon, {
2740
+ key: 3,
2741
+ name: "ele-Close",
2742
+ class: "layout-navbars-tagsview-ul-li-icon layout-icon-three",
2743
+ onClick: withModifiers(($event) => closeCurrentTagsView(getThemeConfig.value.isShareTagsView ? v.path : v.url), ["stop"])
2744
+ }, null, 8, ["onClick"])) : createCommentVNode("", true)
2745
+ ], 42, _hoisted_1);
2746
+ }), 128))
2747
+ ], 2)
2748
+ ]),
2749
+ _: 1
2750
+ }, 512),
2751
+ createVNode(unref(Contextmenu), {
2752
+ dropdown: state.dropdown,
2753
+ ref_key: "contextmenuRef",
2754
+ ref: contextmenuRef,
2755
+ onCurrentContextmenuClick
2756
+ }, null, 8, ["dropdown"])
2757
+ ], 2);
2758
+ };
2759
+ }
2760
+ });
2761
+ const tagsView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7db64969"]]);
2762
+ export {
2763
+ tagsView as default
2764
+ };