hs-admin-ui 10.4.7 → 10.4.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{401-DQjCP0dl.js → 401-CWRltcrC.js} +1 -1
- package/dist/{401-BoX51cZ6.mjs → 401-DlO-2Zyf.mjs} +1 -1
- package/dist/{404-fqxX90wL.js → 404-BCu7GJr6.js} +1 -1
- package/dist/404-BCu7GJr6.js.gz +0 -0
- package/dist/{404-ga4pNz2O.mjs → 404-DhbpSOL4.mjs} +1 -1
- package/dist/{404-ga4pNz2O.mjs.gz → 404-DhbpSOL4.mjs.gz} +0 -0
- package/dist/{account-BUe6VIub.js → account-CoSPqbfu.js} +1 -1
- package/dist/{account-nxdsv1-L.mjs → account-Rn6F6Vxu.mjs} +2 -2
- package/dist/{aside-a1PxoeCK.mjs → aside-ChnGyXul.mjs} +3 -3
- package/dist/{aside-CJs-7IN7.js → aside-W9cjg2qW.js} +1 -1
- package/dist/{btnIndex-BIPqaCiv.js → btnIndex-BVF0_E98.js} +1 -1
- package/dist/{btnIndex-Y6CDvM2m.mjs → btnIndex-DK49cfRx.mjs} +2 -2
- package/dist/btnIndex-DK49cfRx.mjs.gz +0 -0
- package/dist/{classic-CO144B6Z.js → classic-DE2QVzDo.js} +1 -1
- package/dist/{classic-GzpRwS61.mjs → classic-Dw6FD03I.mjs} +5 -5
- package/dist/{columns-X3QL3J7b.js → columns-BZnBVpgV.js} +1 -1
- package/dist/{columns-BgKQp_SA.mjs → columns-Bvz3KJPn.mjs} +5 -5
- package/dist/{columnsAside-CuM43LKb.js → columnsAside-BgjgZN3X.js} +1 -1
- package/dist/{columnsAside-yDNQYi0Y.mjs → columnsAside-Ckt6K1gn.mjs} +1 -1
- package/dist/{contextmenu-DF64SuFD.mjs → contextmenu-4U9VWK8A.mjs} +1 -1
- package/dist/{contextmenu-D1Ftj-tC.mjs → contextmenu-BB2kN1hu.mjs} +1 -1
- package/dist/{contextmenu-DVLywy2K.js → contextmenu-CRvKBUpx.js} +1 -1
- package/dist/{contextmenu-Ddack6Dp.js → contextmenu-D4KF50fH.js} +1 -1
- package/dist/{copyMenuConfig-BRXZG-pq.js → copyMenuConfig-Bhqbo16i.js} +1 -1
- package/dist/{copyMenuConfig-xT8qFWTN.mjs → copyMenuConfig-qzVbO1ir.mjs} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-Cvi9CF6i.mjs → copyMenuConfig.vue_vue_type_script_setup_true_lang-BmFwFeUH.mjs} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-SoGVSqW1.js → copyMenuConfig.vue_vue_type_script_setup_true_lang-Btbh5BJy.js} +1 -1
- package/dist/{copySystem-DRjvQIZP.js → copySystem-O66KDaPM.js} +1 -1
- package/dist/{copySystem-CDz0mLeo.mjs → copySystem-SvYMQsFS.mjs} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-Br7QZdSn.js → copySystem.vue_vue_type_script_setup_true_lang-B7hHfyOX.js} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-DjmEtke9.mjs → copySystem.vue_vue_type_script_setup_true_lang-BEIcQH0r.mjs} +1 -1
- package/dist/{defaults-B6-SjhNU.js → defaults-C44lfQb8.js} +1 -1
- package/dist/{defaults-CGaP4vgx.mjs → defaults-D-mgAjtT.mjs} +4 -4
- package/dist/{dialog-Co0DAC5N.js → dialog-BpXi54l-.js} +1 -1
- package/dist/{dialog-CsTXWS4A.mjs → dialog-CKLN_xpl.mjs} +1 -1
- package/dist/{dialog-C_39g_aJ.js → dialog-C_o_mir2.js} +1 -1
- package/dist/{dialog-D5EUmlj5.mjs → dialog-D-dmEif-.mjs} +1 -1
- package/dist/{dialog-DeHG3eCg.mjs → dialog-bMKKWnS_.mjs} +1 -1
- package/dist/{dialog-BEK8lH2u.js → dialog-u164BaY5.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-D8Ov_rgO.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DCXocIdb.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DzLLLZVm.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DqM0O-MF.mjs} +2 -2
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DijXx2uA.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-C6nOV_hZ.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-C6nOV_hZ.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-D6QDNZze.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-L8YimePj.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-L8YimePj.js.gz +0 -0
- package/dist/{dictDialog-BipGZmcp.mjs → dictDialog-5LhvmGhU.mjs} +1 -1
- package/dist/{dictDialog-BQ5GlmEC.js → dictDialog-DtX6fatM.js} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-oSmDCE0J.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BiUxGjOc.mjs} +2 -2
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BVlKa0zP.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CgQntBew.js} +1 -1
- package/dist/{dictItemDialog-4yHEkcHP.js → dictItemDialog-CUMr7Qyb.js} +1 -1
- package/dist/{dictItemDialog-D3YW4bR2.mjs → dictItemDialog-DcggpRAN.mjs} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-C4wqnReU.js → dictItemDialog.vue_vue_type_script_setup_true_lang-Dbh9p2ze.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-DuPC7MHX.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-bHIzEEE2.mjs} +2 -2
- package/dist/{formConfig-ZjNrqYgf.mjs → formConfig-CLQ9H_H7.mjs} +5 -5
- package/dist/formConfig-CLQ9H_H7.mjs.gz +0 -0
- package/dist/{formConfig-C12u5qmn.js → formConfig-Cw4wsEaL.js} +1 -1
- package/dist/formConfig-Cw4wsEaL.js.gz +0 -0
- package/dist/{header-DU805irR.js → header-BClbI2d9.js} +1 -1
- package/dist/{header-pOfsNYJG.mjs → header-SuwlHSDr.mjs} +2 -2
- package/dist/{horizontal-6mMn562d.js → horizontal-C32McDac.js} +1 -1
- package/dist/{horizontal-6550JiX9.mjs → horizontal-CzZCSOff.mjs} +2 -2
- package/dist/{hsAttrBtn-DIcPlF-g.mjs → hsAttrBtn-CpSTjwQG.mjs} +1 -1
- package/dist/{hsAttrBtn-Ba-gAfG-.js → hsAttrBtn-DyunUJ74.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DTZR2vrE.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-CcMPNlRN.mjs} +3 -3
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-BEywU8Vm.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-Cd3yHqn3.js} +1 -1
- package/dist/{hsAttrForm-DLuAEibj.js → hsAttrForm-Bmu5Iw2L.js} +1 -1
- package/dist/{hsAttrForm-Df8e5zf7.mjs → hsAttrForm-DaAtjtA8.mjs} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-g1dvlxFU.js → hsAttrForm.vue_vue_type_script_setup_true_lang-BkFw8A0R.js} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-BMPIR39f.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-CewGIYGv.mjs} +2 -2
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CewGIYGv.mjs.gz +0 -0
- package/dist/{hsBtnConfigList-DyOZ0Zu6.mjs → hsBtnConfigList-D2iGqO-w.mjs} +1 -1
- package/dist/{hsBtnConfigList-Dg1wm72q.js → hsBtnConfigList-Dlq1IzCW.js} +1 -1
- package/dist/{hsBtnItemConfig-CsIXyCKf.js → hsBtnItemConfig-B3aiDjSu.js} +1 -1
- package/dist/{hsBtnItemConfig-DeWVsT3W.mjs → hsBtnItemConfig-D7PPYHhg.mjs} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DXvYDMU4.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-D1NCum69.js} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-D7AL7XmG.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-mKeLIRcc.mjs} +1 -1
- package/dist/{hsBtnPanel-DqBdKWBO.mjs → hsBtnPanel-CDXa8Unb.mjs} +1 -1
- package/dist/{hsBtnPanel-DULKmK81.js → hsBtnPanel-DRG3Jc-N.js} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Cfu1NBqs.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BFyYR8ze.mjs} +4 -4
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DhBdqLEx.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-sxiWsDEC.js} +1 -1
- package/dist/{hsExpand-BWhDohFX.mjs → hsExpand-DPQYI0mc.mjs} +1 -1
- package/dist/{hsExpand-ChqEqzHf.js → hsExpand-uW3kGps7.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-DsUdag9Y.mjs → hsExpand.vue_vue_type_script_setup_true_lang-Btjqs45Y.mjs} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-XCYe4DS5.js → hsExpand.vue_vue_type_script_setup_true_lang-DKlWes_f.js} +1 -1
- package/dist/{hsFormConfig-DNHoQlas.mjs → hsFormConfig-DL5nY2ay.mjs} +1 -1
- package/dist/{hsFormConfig-BjRYpEhp.js → hsFormConfig-OuRBfQWD.js} +1 -1
- package/dist/{hsFormConfigList-Bk8gqvue.js → hsFormConfigList-BjE_rfDj.js} +1 -1
- package/dist/{hsFormConfigList-C599Xnyv.mjs → hsFormConfigList-By-1gVvI.mjs} +2 -2
- package/dist/hsFormConfigList-By-1gVvI.mjs.gz +0 -0
- package/dist/{hsFormPanel-C9r47XqI.mjs → hsFormPanel-BefZrvLO.mjs} +5 -5
- package/dist/hsFormPanel-BefZrvLO.mjs.gz +0 -0
- package/dist/{hsFormPanel-Lr8U4g4J.js → hsFormPanel-DjXv_0Re.js} +1 -1
- package/dist/{hsFormParse-Dr29Z9wi.mjs → hsFormParse-BdMtQl7y.mjs} +1 -1
- package/dist/{hsFormParse-CJX_TpVQ.js → hsFormParse-CbothMYn.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-6dmDHX7U.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-DXIJhmFQ.mjs} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-BXXvjs3_.js → hsFormParse.vue_vue_type_script_setup_true_lang-DYnnqDr9.js} +1 -1
- package/dist/{hsPanelItem-BtyEZt6B.js → hsPanelItem-CT4Nabv3.js} +1 -1
- package/dist/{hsPanelItem-BVC1wNir.mjs → hsPanelItem-CWU2Vm35.mjs} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CvzCiOHK.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CJHiBRT3.mjs} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-ivOZJ7XN.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CWh8vmtZ.js} +1 -1
- package/dist/{iframes-DAMtpie7.mjs → iframes-L7SsmPw1.mjs} +1 -1
- package/dist/{iframes-CTAjF5gu.js → iframes-Ohl-_o3O.js} +1 -1
- package/dist/{index copy-NggvafdW.mjs → index copy-BrEiMHPw.mjs } +1 -1
- package/dist/index copy-BrEiMHPw.mjs.gz +0 -0
- package/dist/{index copy-CE2t8JBK.js → index copy-DpJrPP2G.js } +1 -1
- package/dist/index copy-DpJrPP2G.js.gz +0 -0
- package/dist/{index-Cy_8uFVj.mjs → index-1YkODlLP.mjs} +1 -1
- package/dist/{index-DdAG1QFv.mjs → index-AEYt3Q4N.mjs} +1 -1
- package/dist/{index-XJunN8R2.mjs → index-B1JezbuS.mjs} +2 -2
- package/dist/index-B1JezbuS.mjs.gz +0 -0
- package/dist/{index-Bl92F8wg.js → index-B4YVPMCJ.js} +1 -1
- package/dist/index-B82J3yGI.mjs +4 -0
- package/dist/{index-WIS2vnmh.js → index-B92suZKa.js} +1 -1
- package/dist/{index-C3jLS5u8.mjs → index-BBga2gTD.mjs} +1 -1
- package/dist/{index-BC1UrgVS.js → index-BIuCOW4F.js} +1 -1
- package/dist/{index-B2uU0rc7.js → index-BJrgE27y.js} +1 -1
- package/dist/{index-Pvv6vp4d.mjs → index-BYSOmR1Z.mjs} +2 -2
- package/dist/{index-CkcEUjdo.mjs → index-BZ7AStrx.mjs} +1 -1
- package/dist/{index-C7KEkmLz.mjs → index-BZAaNOxV.mjs} +4 -4
- package/dist/{index-BVSIND50.mjs → index-BbjRWYS_.mjs} +2 -2
- package/dist/index-BbjRWYS_.mjs.gz +0 -0
- package/dist/{index-DrBP-ph8.js → index-Bd6qGz0w.js} +1 -1
- package/dist/{index-CO_oE5T7.js → index-BfpdFrOz.js} +1 -1
- package/dist/{index-qkxfYb0q.js → index-Bg7vDnj6.js} +1 -1
- package/dist/{index-DfdlAY-P.js → index-Bgs_X-km.js} +1 -1
- package/dist/{index-bEefoet0.js → index-BkxRcZf4.js} +1 -1
- package/dist/{index-B83ZXkRl.mjs → index-BkyjooqO.mjs} +1 -1
- package/dist/{index-Bf5wTUYY.mjs → index-Bn2lxvyj.mjs} +1 -1
- package/dist/{index-nrZyurzh.mjs → index-BqlpJe7v.mjs} +3 -3
- package/dist/{index-C-8qAUix.mjs → index-BsRIUzLy.mjs} +1 -1
- package/dist/{index-D_i-X5hv.mjs → index-Bw9IosJg.mjs} +3 -3
- package/dist/{index-DsO-QiBT.js → index-C124oAAn.js} +1 -1
- package/dist/{index-tGuCYag9.mjs → index-C31rkHJu.mjs} +13 -20
- package/dist/{index-tGuCYag9.mjs.gz → index-C31rkHJu.mjs.gz} +0 -0
- package/dist/{index-BG9uEodz.js → index-C3rV-Qum.js} +4 -4
- package/dist/{index-BG9uEodz.js.gz → index-C3rV-Qum.js.gz} +0 -0
- package/dist/{index-DZAZnpia.mjs → index-C4jJ7v-n.mjs} +4 -4
- package/dist/{index-svgvObko.mjs → index-C4ylxKiH.mjs} +1 -1
- package/dist/{index-Cox729XO.js → index-C5rV8NBS.js} +1 -1
- package/dist/{index-D1YAQFX_.mjs → index-C9-uo9U9.mjs} +1 -1
- package/dist/index-C9-uo9U9.mjs.gz +0 -0
- package/dist/{index-lZHdb0sU.js → index-CFBxZmlF.js} +1 -1
- package/dist/{index-DjHwkp1M.mjs → index-CRaSOWaw.mjs} +3 -3
- package/dist/{index-CvTTa41f.js → index-CVA6V6Ds.js} +1 -1
- package/dist/{index-D_2jbGA6.mjs → index-CX7EIsLc.mjs} +3 -3
- package/dist/{index-U24lKvjL.js → index-CZeoz2bf.js} +1 -1
- package/dist/{index-Dj-lHwXf.js → index-Ca9rNjXs.js} +1 -1
- package/dist/{index-CHQoV3ke.mjs → index-Cbi8aIZb.mjs} +1 -1
- package/dist/{index-BoVY5ZRA.mjs → index-Ce1xANKg.mjs} +1 -1
- package/dist/{index-zmR0BJPJ.mjs → index-CgoTM2s5.mjs} +1 -1
- package/dist/{index-z4fR1-6z.mjs → index-Cit0C74v.mjs} +1 -1
- package/dist/{index-CnJOic6-.js → index-CmUVb4_C.js} +1 -1
- package/dist/{index-T2kEoIa6.js → index-CqQYY51q.js} +1 -1
- package/dist/index-CqQYY51q.js.gz +0 -0
- package/dist/{index-BsilbAuJ.js → index-CrGjm8KE.js} +1 -1
- package/dist/{index-NqEIYD4C.js → index-Cu4gYR7n.js} +1 -1
- package/dist/{index-Bi9Le9pR.mjs → index-CyW8EWHz.mjs} +1 -1
- package/dist/{index-Ck7E4kCb.js → index-D0gBg7jX.js} +1 -1
- package/dist/{index-BZfZjAVP.js → index-D1ClSeuU.js} +1 -1
- package/dist/{index-D1OksbWo.mjs → index-D2IJOUXt.mjs} +1 -1
- package/dist/{index-CoVEXANY.mjs → index-D8yVXObt.mjs} +2 -2
- package/dist/{index-B6ZfY5BL.js → index-D9MR1hcy.js} +1 -1
- package/dist/{index-OvFmda3N.js → index-DHraDxlJ.js} +1 -1
- package/dist/{index-BAtrCYsN.js → index-DNZUTkgP.js} +1 -1
- package/dist/{index-DES_R-9t.js → index-DOF-iADh.js} +1 -1
- package/dist/{index-D84hgYO5.mjs → index-DVoidU85.mjs} +5 -5
- package/dist/{index-Y9K5BNy0.mjs → index-Dc6aNh-l.mjs} +1 -1
- package/dist/{index-qqtr6ugN.mjs → index-DcbUOVUT.mjs} +1 -1
- package/dist/{index-BAzDAFPE.mjs → index-DqSkIDxz.mjs} +1 -1
- package/dist/{index-QtjXNjZy.mjs → index-DqnX7Vtm.mjs} +1 -1
- package/dist/{index-B3REx4DU.js → index-DvJsSX2d.js} +1 -1
- package/dist/{index-DBj_gh5S.mjs → index-Dvez_TmF.mjs} +3 -3
- package/dist/{index-qqDmfaGK.js → index-Dx9I1sxq.js} +1 -1
- package/dist/{index-r5ZK2Et6.js → index-EFzPSaV5.js} +1 -1
- package/dist/{index-CZH8oXL0.js → index-FaK9HtBv.js} +1 -1
- package/dist/{index-Dp83KgEe.mjs → index-GAnXD0BC.mjs} +4 -4
- package/dist/index-GAnXD0BC.mjs.gz +0 -0
- package/dist/{index-C0cOBDdz.js → index-K_skky10.js} +1 -1
- package/dist/{index-Ddzt0CQp.js → index-OBnibqA6.js} +1 -1
- package/dist/{index-X_YmDGzR.mjs → index-XB3GOxau.mjs} +1 -1
- package/dist/{index-65EWbSGl.js → index-g8zb2bQa.js} +1 -1
- package/dist/index-g8zb2bQa.js.gz +0 -0
- package/dist/{index-ifCYlvdG.js → index-hAeZHY2J.js} +1 -1
- package/dist/{index-DGBDjBVV.js → index-moakTZW5.js} +1 -1
- package/dist/{index-D2n16jzm.mjs → index-oZ4MEzwn.mjs} +3 -3
- package/dist/index-oZ4MEzwn.mjs.gz +0 -0
- package/dist/{index-VHustreP.mjs → index-q5tYwmiK.mjs} +1 -1
- package/dist/{index-DrhwST9B.js → index-x54rTwyc.js} +1 -1
- package/dist/index-x54rTwyc.js.gz +0 -0
- package/dist/{index-BXYnwITY.js → index-zsIHIzxC.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DJ7z1Uw5.mjs → index.vue_vue_type_script_setup_true_lang-8_u4nN7O.mjs} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-DDZwQfbW.js → index.vue_vue_type_script_setup_true_lang-AorpR2L_.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dx2LTxYA.js → index.vue_vue_type_script_setup_true_lang-B9Y2bKyb.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DiaQi1TD.js → index.vue_vue_type_script_setup_true_lang-Bl3E7835.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BY-WFrJa.mjs → index.vue_vue_type_script_setup_true_lang-CQY84XS_.mjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DNPl48sf.mjs → index.vue_vue_type_script_setup_true_lang-CoECDIla.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-CoECDIla.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-CGZvFYgV.js → index.vue_vue_type_script_setup_true_lang-DoqyvOQs.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CqxG2_F8.mjs → index.vue_vue_type_script_setup_true_lang-HVc5BK9T.mjs} +1 -1
- package/dist/{link-CxRyNZ0M.js → link-Bf4gfDVp.js} +1 -1
- package/dist/{link-DwijUCxF.mjs → link-DIC0mNtL.mjs} +1 -1
- package/dist/{list-Wsb0URpY.mjs → list-C6fHpl0B.mjs} +1 -1
- package/dist/{list-BGzXBmJi.js → list-D7Thcf4g.js} +1 -1
- package/dist/{main-z_6SHsHY.js → main-Bcg2eShc.js} +1 -1
- package/dist/{main-CLhdjH_W.mjs → main-CNqUkjOf.mjs} +3 -3
- package/dist/{mobile-C9y3a4ga.mjs → mobile-LXO9bP32.mjs} +1 -1
- package/dist/{mobile-C6lLtAvH.js → mobile-RA6Fp3Ec.js} +1 -1
- package/dist/{parent-DT3GDpTY.js → parent-BMykCM9o.js} +1 -1
- package/dist/{parent-t8ASXVhJ.mjs → parent-CshU8H6x.mjs} +2 -2
- package/dist/{popup-CgbWJFLx.mjs → popup-BXGEqWLz.mjs} +1 -1
- package/dist/{popup-DEl06A94.js → popup-CtNXztFU.js} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_editorPopup_lang-B0B-0g36.js → popup.vue_vue_type_script_setup_true_name_editorPopup_lang-BBmfmuAn.js} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_editorPopup_lang-DqTu5nvw.mjs → popup.vue_vue_type_script_setup_true_name_editorPopup_lang-D7ZMbsxb.mjs} +1 -1
- package/dist/{roleItem-gAIl7hJ2.mjs → roleItem-Bw_8dRV3.mjs} +1 -1
- package/dist/{roleItem-DRe3dkAi.js → roleItem-CTe_Ug8I.js} +1 -1
- package/dist/{saveForm-B7AvojP8.mjs → saveForm-D-eLFhRD.mjs} +2 -2
- package/dist/{saveForm-DRlqWd8o.js → saveForm-RGc_OaZ9.js} +1 -1
- package/dist/{scan-JWLHCQ-k.mjs → scan-BqZ4QbVT.mjs} +1 -1
- package/dist/{scan-JWLHCQ-k.mjs.gz → scan-BqZ4QbVT.mjs.gz} +0 -0
- package/dist/{scan-DrBKSfE8.js → scan-M07B4EOu.js} +1 -1
- package/dist/scan-M07B4EOu.js.gz +0 -0
- package/dist/{search-okoajHVm.js → search-DmCFbLSd.js} +1 -1
- package/dist/{search-DgjXOa2c.mjs → search-Jkh2gX78.mjs} +1 -1
- package/dist/{selectConfig-gY-ITmL6.js → selectConfig-Cx4XPITQ.js} +1 -1
- package/dist/{selectConfig-Dm-L-iWg.mjs → selectConfig-aPV22Qh5.mjs} +1 -1
- package/dist/selectConfig-aPV22Qh5.mjs.gz +0 -0
- package/dist/{subItem-mQtsM3ND.mjs → subItem-CvH01cqf.mjs} +1 -1
- package/dist/{subItem-DB36MVXY.js → subItem-NEYag3pj.js} +1 -1
- package/dist/{tagsView-DNMZLjPj.mjs → tagsView-BH8XMBXS.mjs} +2 -2
- package/dist/tagsView-BH8XMBXS.mjs.gz +0 -0
- package/dist/{tagsView-8yC91czq.js → tagsView-iPawfJ85.js} +2 -2
- package/dist/tagsView-iPawfJ85.js.gz +0 -0
- package/dist/{transverse-DtCID5RI.mjs → transverse-Bdm3UbfC.mjs} +3 -3
- package/dist/{transverse-DfYZvuLw.js → transverse-COGdmQWy.js} +1 -1
- package/dist/types/utils/showPopup/index.d.ts +1 -1
- package/dist/{uploadAvatar-CdULIJKR.mjs → uploadAvatar-CW8jmION.mjs} +1 -1
- package/dist/uploadAvatar-CW8jmION.mjs.gz +0 -0
- package/dist/{uploadAvatar-nQoppcqD.js → uploadAvatar-D2bTNMfS.js} +1 -1
- package/dist/uploadAvatar-D2bTNMfS.js.gz +0 -0
- package/dist/{useSaveForm-DxtYZdnR.js → useSaveForm-CuOz29Sd.js} +1 -1
- package/dist/useSaveForm-CuOz29Sd.js.gz +0 -0
- package/dist/{useSaveForm-eCRMsR8I.mjs → useSaveForm-kXMDsEa-.mjs} +1 -1
- package/dist/useSaveForm-kXMDsEa-.mjs.gz +0 -0
- package/dist/{user-CqeEk1Ey.mjs → user-Bkev62ff.mjs} +4 -4
- package/dist/{user-SN0tdY-3.js → user-sPFEOedY.js} +1 -1
- package/dist/{userNews-CqQ-yrpn.js → userNews-BIb270wO.js} +1 -1
- package/dist/{userNews-BaoL9V1u.mjs → userNews-D3rKVf9B.mjs} +1 -1
- package/dist/{userSelect-yjFgjz3f.mjs → userSelect-BL5Rd7W5.mjs} +1 -1
- package/dist/{userSelect-DCkTIhyx.js → userSelect-CEvkVguY.js} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-DF_LfhNX.mjs → userSelect.vue_vue_type_script_setup_true_lang-64knsQTl.mjs} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-Bq6y3We-.js → userSelect.vue_vue_type_script_setup_true_lang-Iy5X6rH6.js} +1 -1
- package/dist/{vertical-Be4JGQ82.mjs → vertical-DaOEEPE2.mjs} +2 -2
- package/dist/{vertical-CRFNnrXD.js → vertical-Dk7M8p7r.js} +1 -1
- package/package.json +1 -1
- package/dist/404-fqxX90wL.js.gz +0 -0
- package/dist/btnIndex-Y6CDvM2m.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-D6QDNZze.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DijXx2uA.mjs.gz +0 -0
- package/dist/formConfig-C12u5qmn.js.gz +0 -0
- package/dist/formConfig-ZjNrqYgf.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-BMPIR39f.mjs.gz +0 -0
- package/dist/hsFormConfigList-C599Xnyv.mjs.gz +0 -0
- package/dist/hsFormPanel-C9r47XqI.mjs.gz +0 -0
- package/dist/index copy-CE2t8JBK.js.gz +0 -0
- package/dist/index copy-NggvafdW.mjs.gz +0 -0
- package/dist/index-65EWbSGl.js.gz +0 -0
- package/dist/index-BVSIND50.mjs.gz +0 -0
- package/dist/index-CKoS9oX5.mjs +0 -4
- package/dist/index-D1YAQFX_.mjs.gz +0 -0
- package/dist/index-D2n16jzm.mjs.gz +0 -0
- package/dist/index-Dp83KgEe.mjs.gz +0 -0
- package/dist/index-DrhwST9B.js.gz +0 -0
- package/dist/index-T2kEoIa6.js.gz +0 -0
- package/dist/index-XJunN8R2.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DNPl48sf.mjs.gz +0 -0
- package/dist/scan-DrBKSfE8.js.gz +0 -0
- package/dist/selectConfig-Dm-L-iWg.mjs.gz +0 -0
- package/dist/tagsView-8yC91czq.js.gz +0 -0
- package/dist/tagsView-DNMZLjPj.mjs.gz +0 -0
- package/dist/uploadAvatar-CdULIJKR.mjs.gz +0 -0
- package/dist/uploadAvatar-nQoppcqD.js.gz +0 -0
- package/dist/useSaveForm-DxtYZdnR.js.gz +0 -0
- package/dist/useSaveForm-eCRMsR8I.mjs.gz +0 -0
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-C3rV-Qum.js"),l=[{prop:"attrs",label:"selectAttrs",tooltip:"selectAttrs",type:"object",el:"title",children:[{prop:"defaultValue",label:"默认值",tooltip:"默认值",type:"string / number / boolean / object / array",el:"hs-input"},{prop:"options",label:"option配置数据",tooltip:'options 示例:string=[{label: "示例代码", value: 0}]',type:"string",el:"hs-input",attrs:{type:"textarea"}},{prop:"url",label:"url获取options",tooltip:"通过url请求获取options配置项数据",type:"string",el:"hs-input"},{prop:"paramKey",label:"请求参数key",tooltip:"请求参数key",type:"string",el:"hs-input"},{prop:"paramValue",label:"请求参数Value",tooltip:"请求参数Value",type:"string",el:"hs-input"},{prop:"multiple",label:"是否多选",tooltip:"是否多选",type:"boolean",el:"hs-switch"},{prop:"disabled",label:"是否禁用",tooltip:"是否禁用",type:"boolean",el:"hs-switch"},{prop:"value-key",label:"value 唯一标识",tooltip:"作为 value 唯一标识的键名,绑定值为对象类型时必填",type:"string",el:"hs-input"},{prop:"placeholder",label:"占位符",tooltip:"占位符,默认为“Select”",type:"string",el:"hs-input"},{prop:"size",label:"输入框尺寸",tooltip:"输入框尺寸",type:"enum",el:"hs-select",op:[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}],cel:"hs-option"},{prop:"clearable",label:"是否可以清空",tooltip:"是否可以清空选项",type:"boolean",el:"hs-switch"},{prop:"collapse-tags",label:"值按文字展示",tooltip:"多选时是否将选中值按文字的形式展示",type:"boolean",el:"hs-switch"},{prop:"collapse-tags-tooltip",label:"是否显示所选",tooltip:"当鼠标悬停于折叠标签的文本时,是否显示所有选中的标签。 要使用此属性,collapse-tags属性必须设定为 true",type:"boolean",el:"hs-switch"},{prop:"multiple-limit",label:"最多可选数",tooltip:"multiple 属性设置为 true 时,代表多选场景下用户最多可以选择的项目数, 为 0 则不限制",type:"number",el:"hs-input-number"},{prop:"name",label:"原生name属性",tooltip:"Select 输入框的原生 name 属性",type:"string",el:"hs-input"},{prop:"effect",label:"tooltip 主题",tooltip:"tooltip 主题,内置了 dark / light 两种",type:"enum / string",el:"hs-select",op:[{label:"dark",value:"dark"},{label:"light",value:"light"}],cel:"hs-option"},{prop:"autocomplete",label:"autocomplete",tooltip:"Select 输入框的原生 autocomplete 属性",type:"string",el:"hs-input"},{prop:"filterable",label:"是否可筛选",tooltip:"Select 组件是否可筛选",type:"boolean",el:"hs-switch"},{prop:"allow-create",label:"允许创建条目",tooltip:"是否允许用户创建新条目, 只有当 filterable 设置为 true 时才会生效。",type:"boolean",el:"hs-switch"},{prop:"filter-method",label:"筛选方法",tooltip:"自定义筛选方法",type:"Function",el:"hs-input"},{prop:"remote",label:"是否远程加载",tooltip:"其中的选项是否从服务器远程加载",type:"boolean",el:"hs-switch"},{prop:"remote-method",label:"远程搜索方法",tooltip:"自定义远程搜索方法",type:"Function",el:"hs-input"},{prop:"remote-show-suffix",label:"远程搜索图标",tooltip:"远程搜索方法显示后缀图标",type:"boolean",el:"hs-switch"},{prop:"loading",label:"是否正在获取",tooltip:"是否正在从远程获取数据",type:"boolean",el:"hs-switch"},{prop:"loading-text",label:"加载时文本",tooltip:"从服务器加载数据时显示的文本,默认为“Loading”",type:"string",el:"hs-input"},{prop:"no-match-text",label:"无匹配时显示",tooltip:"搜索条件无匹配时显示的文字,也可以使用 empty 插槽设置,默认是 “No matching data'”",type:"string",el:"hs-input"},{prop:"no-data-text",label:"无选项时显示",tooltip:"无选项时显示的文字,也可以使用 empty 插槽设置自定义内容,默认是 “No data”",type:"string",el:"hs-input"},{prop:"popper-class",label:"下拉菜单类名",tooltip:"选择器下拉菜单的自定义类名",type:"string",el:"hs-input"},{prop:"reserve-keyword",label:"保留关键词",tooltip:"当 multiple 和 filterable被设置为 true 时,是否在选中一个选项后保留当前的搜索关键词",type:"boolean",el:"hs-switch"},{prop:"default-first-option",label:"回车选择",tooltip:"是否在输入框按下回车时,选择第一个匹配项。 需配合 filterable 或 remote 使用",type:"boolean",el:"hs-switch"},{prop:"teleported",label:"是否插入至body",tooltip:"是否将下拉列表插入至 body 元素",type:"boolean",el:"hs-switch"},{prop:"persistent",label:"选择器未被激活",tooltip:"当下拉选择器未被激活并且persistent设置为false,选择器会被删除。",type:"boolean",el:"hs-switch"},{prop:"automatic-dropdown",label:"自动弹出选项",tooltip:"对于不可搜索的 Select,是否在输入框获得焦点后自动弹出选项菜单",type:"boolean",el:"hs-switch"},{prop:"clear-icon",label:"清除图标",tooltip:"自定义清除图标",type:"string / object",el:"hs-input"},{prop:"fit-input-width",label:"下拉框宽度",tooltip:"下拉框的宽度是否与输入框相同",type:"boolean",el:"hs-switch"},{prop:"suffix-icon",label:"后缀图标",tooltip:"自定义后缀图标组件",type:"string / object",el:"hs-input"},{prop:"suffix-transition deprecated",label:"下拉图标动画",tooltip:"下拉菜单显示/消失时后缀图标的动画",type:"boolean",el:"hs-switch"},{prop:"tag-type",label:"标签类型",tooltip:"标签类型",type:"enum",el:"hs-select",op:[{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"danger",value:"danger"}],cel:"hs-option"},{prop:"validate-event",label:"表单验证",tooltip:"是否触发表单验证",type:"boolean",el:"hs-switch"},{prop:"placement",label:"下拉框出现位置",tooltip:"下拉框出现的位置",type:"enum",el:"hs-select",op:[{label:"top",value:"top"},{label:"top-start",value:"top-start"},{label:"top-end",value:"top-end"},{label:"bottom",value:"bottom"},{label:"bottom-start",value:"bottom-start"},{label:"bottom-end",value:"bottom-end"},{label:"left",value:"left"},{label:"left-start",value:"left-start"},{label:"left-end",value:"left-end"},{label:"right",value:"right"},{label:"right-start",value:"right-start"},{label:"right-end",value:"right-end"}],cel:"hs-option"},{prop:"max-collapse-tags",label:"Tag最大数量",tooltip:"需要显示的 Tag 的最大数量 只有当 collapse-tags 设置为 true 时才会生效。",type:"number",el:"hs-input-number"},{prop:"popper-options",label:"popper参数",tooltip:"popper.js 参数",type:"objectrefer to popper.js doc",el:"hs-input"},{prop:"aria-label",label:"aria-label",tooltip:"等价于原生 input aria-label 属性",type:"string",el:"hs-input"}]},{prop:"groupAttrs",label:"optionGroupAttrs",tooltip:"optionGroupAttrs",type:"object",el:"title",children:[{prop:"isGroupEnabled",label:"是否启用分组",tooltip:"是否启用分组",type:"boolean",el:"hs-switch"},{prop:"label",label:"分组的名称",tooltip:"分组的名称",type:"string",el:"hs-input"},{prop:"disabled",label:"是否禁用分组",tooltip:"是否将该分组下所有选项置为禁用",type:"string",el:"hs-switch"}]},{prop:"optionAttrs",label:"optionAttrs",tooltip:"optionAttrs",type:"object",el:"title",children:[{prop:"value",label:"选项的值",tooltip:"选项的值",type:"string",el:"hs-input"},{prop:"label",label:"选项的标签",tooltip:"选项的标签,若不设置则默认与value相同",type:"string",el:"hs-input"},{prop:"disabled",label:"是否禁用选项",tooltip:"是否禁用该选项",type:"string",el:"hs-switch"}]},{prop:"rules",label:"rules",tooltip:"rules",type:"object",el:"title",children:[{prop:"required",label:"是否必填",tooltip:"是否必填",type:"boolean",el:"hs-switch"},{prop:"rules",label:"必填项规则",tooltip:"必填项规则",type:"array",el:"hs-input",attrs:{type:"textarea"}}]}],o={attrs:{multiple:!1,disabled:!1,"value-key":"value",clearable:!0,"collapse-tags":!1,"collapse-tags-tooltip":!1,"multiple-limit":0,effect:"light",autocomplete:"off",filterable:!0,"allow-create":!1,remote:!1,"remote-show-suffix":!1,loading:!1,"reserve-keyword":!0,"default-first-option":!1,teleported:!0,persistent:!0,"automatic-dropdown":!1,"clear-icon":"CircleClose","fit-input-width":!1,"suffix-icon":"ArrowDown","tag-type":"info","validate-event":!0,placement:"bottom-start","max-collapse-tags":1},groupAttrs:{disabled:!1,isGroupEnabled:!1},optionAttrs:{value:"value",label:"label",disabled:!1},rules:{}},p={class:"select-wrap"},a=e.defineComponent({name:"selectConfig"}),i=e.defineComponent({...a,props:{data:{type:Object,default:()=>{}},isVModel:{type:Boolean,default:!1}},setup(a){const i=a,r=e.ref(t._.isEmpty(i.data)?Object.assign(i.data,o):i.data);return(o,i)=>(e.openBlock(),e.createElementBlock("div",p,[e.createVNode(t.baseForm,{data:r.value,"onUpdate:data":i[0]||(i[0]=e=>r.value=e),config:e.unref(l),isVModel:a.isVModel,lg:12},null,8,["data","config","isVModel"])]))}}),r=t._export_sfc(i,[["__scopeId","data-v-6281a8a9"]]);exports.default=r;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, ref, openBlock, createElementBlock, createVNode, unref } from "vue";
|
2
|
-
import { e as _, O as baseForm, _ as _export_sfc } from "./index-
|
2
|
+
import { e as _, O as baseForm, _ as _export_sfc } from "./index-C31rkHJu.mjs";
|
3
3
|
const selectAttrConfig = [
|
4
4
|
{
|
5
5
|
prop: "attrs",
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, createBlock, withCtx, createVNode, createElementVNode, toDisplayString, withModifiers, createTextVNode } from "vue";
|
2
|
-
import { ad as other } from "./index-
|
2
|
+
import { ad as other } from "./index-C31rkHJu.mjs";
|
3
3
|
const _hoisted_1 = ["onClick"];
|
4
4
|
const __default__ = defineComponent({
|
5
5
|
name: "navMenuSubItem"
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-C3rV-Qum.js"),n=["onClick"],l=e.defineComponent({name:"navMenuSubItem"}),o=e.defineComponent({...l,props:{chil:{type:Array,default:()=>[]}},setup(l){const o=l,a=e.computed((()=>o.chil));return(l,o)=>{const i=e.resolveComponent("SvgIcon"),r=e.resolveComponent("sub-item",!0),c=e.resolveComponent("el-sub-menu"),m=e.resolveComponent("el-menu-item");return e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[l.children&&l.children.length>0?(e.openBlock(),e.createBlock(c,{index:l.path,key:l.path},{title:e.withCtx((()=>[e.createVNode(i,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(l.meta.title),1)])),default:e.withCtx((()=>[e.createVNode(r,{chil:l.children},null,8,["chil"])])),_:2},1032,["index"])):(e.openBlock(),e.createBlock(m,{index:l.path,key:l.path},{default:e.withCtx((()=>[!l.meta.isLink||l.meta.isLink&&l.meta.isIframe?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(i,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(l.meta.title),1)],64)):(e.openBlock(),e.createElementBlock("a",{key:1,class:"w100",onClick:e.withModifiers((e=>(e=>{t.other.handleOpenLink(e)})(l)),["prevent"])},[e.createVNode(i,{name:l.meta.icon},null,8,["name"]),e.createTextVNode(" "+e.toDisplayString(l.meta.title),1)],8,n))])),_:2},1032,["index"]))],64)))),256)}}});exports.default=o;
|
@@ -1,5 +1,5 @@
|
|
1
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 { ac as useTagsViewRoutes, c as useThemeConfig, T as useRoutesList, s as storeToRefs, b as useKeepALiveNames, u as useRoute, a as useRouter, ad as other, m as mittBus, ae as onBeforeRouteUpdate, d as ElMessage, S as Session, af as dynamicRoutes, ag as isObjectValueEqual, _ as _export_sfc } from "./index-
|
2
|
+
import { ac as useTagsViewRoutes, c as useThemeConfig, T as useRoutesList, s as storeToRefs, b as useKeepALiveNames, u as useRoute, a as useRouter, ad as other, m as mittBus, ae as onBeforeRouteUpdate, d as ElMessage, S as Session, af as dynamicRoutes, ag as isObjectValueEqual, _ as _export_sfc } from "./index-C31rkHJu.mjs";
|
3
3
|
/**!
|
4
4
|
* Sortable 1.15.2
|
5
5
|
* @author RubaXa <trash@rubaxa.org>
|
@@ -2196,7 +2196,7 @@ const __default__ = defineComponent({
|
|
2196
2196
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
2197
2197
|
...__default__,
|
2198
2198
|
setup(__props) {
|
2199
|
-
const Contextmenu = defineAsyncComponent(() => import("./contextmenu-
|
2199
|
+
const Contextmenu = defineAsyncComponent(() => import("./contextmenu-4U9VWK8A.mjs"));
|
2200
2200
|
const tagsRefs = ref([]);
|
2201
2201
|
const scrollbarRef = ref();
|
2202
2202
|
const contextmenuRef = ref();
|
Binary file
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-C3rV-Qum.js");
|
2
2
|
/**!
|
3
3
|
* Sortable 1.15.2
|
4
4
|
* @author RubaXa <trash@rubaxa.org>
|
5
5
|
* @author owenm <owen23355@gmail.com>
|
6
6
|
* @license MIT
|
7
7
|
*/
|
8
|
-
function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function o(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){a(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r.apply(this,arguments)}function l(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function s(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var u=s(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),c=s(/Edge/i),d=s(/firefox/i),h=s(/safari/i)&&!s(/chrome/i)&&!s(/android/i),f=s(/iP(ad|od|hone)/i),p=s(/chrome/i)&&s(/android/i),m={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!u&&m)}function g(e,t,n){e.removeEventListener(t,n,!u&&m)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function w(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function y(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&b(e,t):b(e,t))||o&&e===n)return e;if(e===n)break}while(e=w(e))}return null}var S,E=/\s+/g;function D(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(E," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(E," ")}}function C(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"==typeof n?"":"px")}}function T(e,t){var n="";if("string"==typeof e)n=e;else do{var o=C(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function _(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,a=o.length;if(n)for(;i<a;i++)n(o[i],i);return o}return[]}function x(){var e=document.scrollingElement;return e||document.documentElement}function k(e,t,n,o,i){if(e.getBoundingClientRect||e===window){var a,r,l,s,c,d,h;if(e!==window&&e.parentNode&&e!==x()?(r=(a=e.getBoundingClientRect()).top,l=a.left,s=a.bottom,c=a.right,d=a.height,h=a.width):(r=0,l=0,s=window.innerHeight,c=window.innerWidth,d=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!u))do{if(i&&i.getBoundingClientRect&&("none"!==C(i,"transform")||n&&"static"!==C(i,"position"))){var f=i.getBoundingClientRect();r-=f.top+parseInt(C(i,"border-top-width")),l-=f.left+parseInt(C(i,"border-left-width")),s=r+a.height,c=l+a.width;break}}while(i=i.parentNode);if(o&&e!==window){var p=T(i||e),m=p&&p.a,v=p&&p.d;p&&(s=(r/=v)+(d/=v),c=(l/=m)+(h/=m))}return{top:r,left:l,bottom:s,right:c,width:h,height:d}}}function V(e,t,n){for(var o=M(e,!0),i=k(e)[t];o;){var a=k(o)[n];if(!("top"===n||"left"===n?i>=a:i<=a))return o;if(o===x())break;o=M(o,!1)}return!1}function O(e,t,n,o){for(var i=0,a=0,r=e.children;a<r.length;){if("none"!==r[a].style.display&&r[a]!==Be.ghost&&(o||r[a]!==Be.dragged)&&y(r[a],n.draggable,e,!1)){if(i===t)return r[a];i++}a++}return null}function L(e,t){for(var n=e.lastElementChild;n&&(n===Be.ghost||"none"===C(n,"display")||t&&!b(n,t));)n=n.previousElementSibling;return n||null}function A(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Be.clone||t&&!b(e,t)||n++;return n}function I(e){var t=0,n=0,o=x();if(e)do{var i=T(e),a=i.a,r=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*r}while(e!==o&&(e=e.parentNode));return[t,n]}function M(e,t){if(!e||!e.getBoundingClientRect)return x();var n=e,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=C(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return x();if(o||t)return n;o=!0}}}while(n=n.parentNode);return x()}function P(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function N(e,t){return function(){if(!S){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),S=setTimeout((function(){S=void 0}),t)}}}function R(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function B(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function q(e,t,n){var o={};return Array.from(e.children).forEach((function(i){var a,r,l,s;if(y(i,t.draggable,e,!1)&&!i.animated&&i!==n){var u=k(i);o.left=Math.min(null!==(a=o.left)&&void 0!==a?a:1/0,u.left),o.top=Math.min(null!==(r=o.top)&&void 0!==r?r:1/0,u.top),o.right=Math.max(null!==(l=o.right)&&void 0!==l?l:-1/0,u.right),o.bottom=Math.max(null!==(s=o.bottom)&&void 0!==s?s:-1/0,u.bottom)}})),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var X="Sortable"+(new Date).getTime();function Y(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==C(e,"display")&&e!==Be.ghost){t.push({target:e,rect:k(e)});var n=o({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=T(e,!0);i&&(n.top-=i.f,n.left-=i.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var o=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var i=!1,a=0;t.forEach((function(e){var t=0,n=e.target,r=n.fromRect,l=k(n),s=n.prevFromRect,u=n.prevToRect,c=e.rect,d=T(n,!0);d&&(l.top-=d.f,l.left-=d.e),n.toRect=l,n.thisAnimationDuration&&P(s,l)&&!P(r,l)&&(c.top-l.top)/(c.left-l.left)==(r.top-l.top)/(r.left-l.left)&&(t=function(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}(c,s,u,o.options)),P(l,r)||(n.prevFromRect=r,n.prevToRect=l,t||(t=o.options.animation),o.animate(n,c,l,t)),t&&(i=!0,a=Math.max(a,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),i?e=setTimeout((function(){"function"==typeof n&&n()}),a):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,o){if(o){C(e,"transition",""),C(e,"transform","");var i=T(this.el),a=i&&i.a,r=i&&i.d,l=(t.left-n.left)/(a||1),s=(t.top-n.top)/(r||1);e.animatingX=!!l,e.animatingY=!!s,C(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),C(e,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),C(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){C(e,"transition",""),C(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),o)}}}}var j=[],F={initializeByDefault:!0},H={mount:function(e){for(var t in F)F.hasOwnProperty(t)&&!(t in e)&&(e[t]=F[t]);j.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),j.push(e)},pluginEvent:function(e,t,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var a=e+"Global";j.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][a]&&t[i.pluginName][a](o({sortable:t},n)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](o({sortable:t},n)))}))},initializePlugins:function(e,t,n,o){for(var i in j.forEach((function(o){var i=o.pluginName;if(e.options[i]||o.initializeByDefault){var a=new o(e,t,e.options);a.sortable=e,a.options=e.options,e[i]=a,r(n,a.defaults)}})),e.options)if(e.options.hasOwnProperty(i)){var a=this.modifyOption(e,i,e.options[i]);void 0!==a&&(e.options[i]=a)}},getEventProperties:function(e,t){var n={};return j.forEach((function(o){"function"==typeof o.eventProperties&&r(n,o.eventProperties.call(t[o.pluginName],e))})),n},modifyOption:function(e,t,n){var o;return j.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(o=i.optionListeners[t].call(e[i.pluginName],n))})),o}};var W=["evt"],U=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,a=l(n,W);H.pluginEvent.bind(Be)(e,t,o({dragEl:$,parentEl:G,ghostEl:K,rootEl:Z,nextEl:Q,lastDownEl:J,cloneEl:ee,cloneHidden:te,dragStarted:pe,putSortable:le,activeSortable:Be.active,originalEvent:i,oldIndex:ne,oldDraggableIndex:ie,newIndex:oe,newDraggableIndex:ae,hideGhostForTarget:Me,unhideGhostForTarget:Pe,cloneNowHidden:function(){te=!0},cloneNowShown:function(){te=!1},dispatchSortableEvent:function(e){z({sortable:t,name:e,originalEvent:i})}},a))};function z(e){!function(e){var t=e.sortable,n=e.rootEl,i=e.name,a=e.targetEl,r=e.cloneEl,l=e.toEl,s=e.fromEl,d=e.oldIndex,h=e.newIndex,f=e.oldDraggableIndex,p=e.newDraggableIndex,m=e.originalEvent,v=e.putSortable,g=e.extraEventProperties;if(t=t||n&&n[X]){var b,w=t.options,y="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||u||c?(b=document.createEvent("Event")).initEvent(i,!0,!0):b=new CustomEvent(i,{bubbles:!0,cancelable:!0}),b.to=l||n,b.from=s||n,b.item=a||n,b.clone=r,b.oldIndex=d,b.newIndex=h,b.oldDraggableIndex=f,b.newDraggableIndex=p,b.originalEvent=m,b.pullMode=v?v.lastPutMode:void 0;var S=o(o({},g),H.getEventProperties(i,t));for(var E in S)b[E]=S[E];n&&n.dispatchEvent(b),w[y]&&w[y].call(t,b)}}(o({putSortable:le,cloneEl:ee,targetEl:$,rootEl:Z,oldIndex:ne,oldDraggableIndex:ie,newIndex:oe,newDraggableIndex:ae},e))}var $,G,K,Z,Q,J,ee,te,ne,oe,ie,ae,re,le,se,ue,ce,de,he,fe,pe,me,ve,ge,be,we=!1,ye=!1,Se=[],Ee=!1,De=!1,Ce=[],Te=!1,_e=[],xe="undefined"!=typeof document,ke=f,Ve=c||u?"cssFloat":"float",Oe=xe&&!p&&!f&&"draggable"in document.createElement("div"),Le=function(){if(xe){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ae=function(e,t){var n=C(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=O(e,0,t),a=O(e,1,t),r=i&&C(i),l=a&&C(a),s=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+k(i).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+k(a).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&r.float&&"none"!==r.float){var c="left"===r.float?"left":"right";return!a||"both"!==l.clear&&l.clear!==c?"horizontal":"vertical"}return i&&("block"===r.display||"flex"===r.display||"table"===r.display||"grid"===r.display||s>=o&&"none"===n[Ve]||a&&"none"===n[Ve]&&s+u>o)?"vertical":"horizontal"},Ie=function(e){function t(e,n){return function(o,i,a,r){var l=o.options.group.name&&i.options.group.name&&o.options.group.name===i.options.group.name;if(null==e&&(n||l))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(o,i,a,r),n)(o,i,a,r);var s=(n?o:i).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var n={},o=e.group;o&&"object"==i(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},Me=function(){!Le&&K&&C(K,"display","none")},Pe=function(){!Le&&K&&C(K,"display","")};xe&&!p&&document.addEventListener("click",(function(e){if(ye)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ye=!1,!1}),!0);var Ne=function(e){if($){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,a=e.clientY,Se.some((function(e){var t=e[X].options.emptyInsertThreshold;if(t&&!L(e)){var n=k(e),o=i>=n.left-t&&i<=n.right+t,l=a>=n.top-t&&a<=n.bottom+t;return o&&l?r=e:void 0}})),r);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[X]._onDragOver(n)}}var i,a,r},Re=function(e){$&&$.parentNode[X]._isOutsideThisEl(e.target)};function Be(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=r({},t),e[X]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ae(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Be.supportPointer&&"PointerEvent"in window&&!h,emptyInsertThreshold:5};for(var o in H.initializePlugins(this,e,n),n)!(o in t)&&(t[o]=n[o]);for(var i in Ie(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&Oe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Se.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),r(this,Y())}function qe(e,t,n,o,i,a,r,l){var s,d,h=e[X],f=h.options.onMove;return!window.CustomEvent||u||c?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=i||t,s.relatedRect=a||k(t),s.willInsertAfter=l,s.originalEvent=r,e.dispatchEvent(s),f&&(d=f.call(h,s,r)),d}function Xe(e){e.draggable=!1}function Ye(){Te=!1}function je(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function Fe(e){return setTimeout(e,0)}function He(e){return clearTimeout(e)}Be.prototype={constructor:Be,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(me=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,$):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,i=o.preventOnFilter,a=e.type,r=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(r||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,u=o.filter;if(function(e){_e.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&_e.push(o)}}(n),!$&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||o.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!h||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=y(l,o.draggable,n,!1))&&l.animated||J===l)){if(ne=A(l),ie=A(l,o.draggable),"function"==typeof u){if(u.call(this,e,l,this))return z({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),U("filter",t,{evt:e}),void(i&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(o){if(o=y(s,o.trim(),n,!1))return z({sortable:t,rootEl:o,name:"filter",targetEl:l,fromEl:n,toEl:n}),U("filter",t,{evt:e}),!0}))))return void(i&&e.cancelable&&e.preventDefault());o.handle&&!y(s,o.handle,n,!1)||this._prepareDragStart(e,r,l)}}},_prepareDragStart:function(e,t,n){var o,i=this,a=i.el,r=i.options,l=a.ownerDocument;if(n&&!$&&n.parentNode===a){var s=k(n);if(Z=a,G=($=n).parentNode,Q=$.nextSibling,J=n,re=r.group,Be.dragged=$,se={target:$,clientX:(t||e).clientX,clientY:(t||e).clientY},he=se.clientX-s.left,fe=se.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,$.style["will-change"]="all",o=function(){U("delayEnded",i,{evt:e}),Be.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!d&&i.nativeDraggable&&($.draggable=!0),i._triggerDragStart(e,t),z({sortable:i,name:"choose",originalEvent:e}),D($,r.chosenClass,!0))},r.ignore.split(",").forEach((function(e){_($,e.trim(),Xe)})),v(l,"dragover",Ne),v(l,"mousemove",Ne),v(l,"touchmove",Ne),v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),U("delayStart",this,{evt:e}),!r.delay||r.delayOnTouchOnly&&!t||this.nativeDraggable&&(c||u))o();else{if(Be.eventCanceled)return void this._onDrop();v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),r.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(o,r.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){$&&Xe($),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;g(e,"mouseup",this._disableDelayedDrag),g(e,"touchend",this._disableDelayedDrag),g(e,"touchcancel",this._disableDelayedDrag),g(e,"mousemove",this._delayedDragTouchMoveHandler),g(e,"touchmove",this._delayedDragTouchMoveHandler),g(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,t?"touchmove":"mousemove",this._onTouchMove):(v($,"dragend",this),v(Z,"dragstart",this._onDragStart));try{document.selection?Fe((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(we=!1,Z&&$){U("dragStarted",this,{evt:t}),this.nativeDraggable&&v(document,"dragover",Re);var n=this.options;!e&&D($,n.dragClass,!1),D($,n.ghostClass,!0),Be.active=this,e&&this._appendGhost(),z({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ue){this._lastX=ue.clientX,this._lastY=ue.clientY,Me();for(var e=document.elementFromPoint(ue.clientX,ue.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ue.clientX,ue.clientY))!==t;)t=e;if($.parentNode[X]._isOutsideThisEl(e),t)do{if(t[X]){if(t[X]._onDragOver({clientX:ue.clientX,clientY:ue.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Pe()}},_onTouchMove:function(e){if(se){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=K&&T(K,!0),r=K&&a&&a.a,l=K&&a&&a.d,s=ke&&be&&I(be),u=(i.clientX-se.clientX+o.x)/(r||1)+(s?s[0]-Ce[0]:0)/(r||1),c=(i.clientY-se.clientY+o.y)/(l||1)+(s?s[1]-Ce[1]:0)/(l||1);if(!Be.active&&!we){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(K){a?(a.e+=u-(ce||0),a.f+=c-(de||0)):a={a:1,b:0,c:0,d:1,e:u,f:c};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");C(K,"webkitTransform",d),C(K,"mozTransform",d),C(K,"msTransform",d),C(K,"transform",d),ce=u,de=c,ue=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!K){var e=this.options.fallbackOnBody?document.body:Z,t=k($,!0,ke,!0,e),n=this.options;if(ke){for(be=e;"static"===C(be,"position")&&"none"===C(be,"transform")&&be!==document;)be=be.parentNode;be!==document.body&&be!==document.documentElement?(be===document&&(be=x()),t.top+=be.scrollTop,t.left+=be.scrollLeft):be=x(),Ce=I(be)}D(K=$.cloneNode(!0),n.ghostClass,!1),D(K,n.fallbackClass,!0),D(K,n.dragClass,!0),C(K,"transition",""),C(K,"transform",""),C(K,"box-sizing","border-box"),C(K,"margin",0),C(K,"top",t.top),C(K,"left",t.left),C(K,"width",t.width),C(K,"height",t.height),C(K,"opacity","0.8"),C(K,"position",ke?"absolute":"fixed"),C(K,"zIndex","100000"),C(K,"pointerEvents","none"),Be.ghost=K,e.appendChild(K),C(K,"transform-origin",he/parseInt(K.style.width)*100+"% "+fe/parseInt(K.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,i=n.options;U("dragStart",this,{evt:e}),Be.eventCanceled?this._onDrop():(U("setupClone",this),Be.eventCanceled||((ee=B($)).removeAttribute("id"),ee.draggable=!1,ee.style["will-change"]="",this._hideClone(),D(ee,this.options.chosenClass,!1),Be.clone=ee),n.cloneId=Fe((function(){U("clone",n),Be.eventCanceled||(n.options.removeCloneOnHide||Z.insertBefore(ee,$),n._hideClone(),z({sortable:n,name:"clone"}))})),!t&&D($,i.dragClass,!0),t?(ye=!0,n._loopId=setInterval(n._emulateDragOver,50)):(g(document,"mouseup",n._onDrop),g(document,"touchend",n._onDrop),g(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(n,o,$)),v(document,"drop",n),C($,"transform","translateZ(0)")),we=!0,n._dragStartId=Fe(n._dragStarted.bind(n,t,e)),v(document,"selectstart",n),pe=!0,h&&C(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,i,a,r=this.el,l=e.target,s=this.options,u=s.group,c=Be.active,d=re===u,h=s.sort,f=le||c,p=this,m=!1;if(!Te){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),l=y(l,s.draggable,r,!0),Y("dragOver"),Be.eventCanceled)return m;if($.contains(e.target)||l.animated&&l.animatingX&&l.animatingY||p._ignoreWhileAnimating===l)return F(!1);if(ye=!1,c&&!s.disabled&&(d?h||(i=G!==Z):le===this||(this.lastPutMode=re.checkPull(this,c,$,e))&&u.checkPut(this,c,$,e))){if(a="vertical"===this._getDirection(e,l),t=k($),Y("dragOverValid"),Be.eventCanceled)return m;if(i)return G=Z,j(),this._hideClone(),Y("revert"),Be.eventCanceled||(Q?Z.insertBefore($,Q):Z.appendChild($)),F(!0);var v=L(r,s.draggable);if(!v||function(e,t,n){var o=k(L(n.el,n.options.draggable)),i=q(n.el,n.options,K),a=10;return t?e.clientX>i.right+a||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+a||e.clientX>o.right&&e.clientY>o.top}(e,a,this)&&!v.animated){if(v===$)return F(!1);if(v&&r===e.target&&(l=v),l&&(n=k(l)),!1!==qe(Z,r,$,t,l,n,e,!!l))return j(),v&&v.nextSibling?r.insertBefore($,v.nextSibling):r.appendChild($),G=r,H(),F(!0)}else if(v&&function(e,t,n){var o=k(O(n.el,0,n.options,!0)),i=q(n.el,n.options,K),a=10;return t?e.clientX<i.left-a||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-a||e.clientY<o.bottom&&e.clientX<o.left}(e,a,this)){var g=O(r,0,s,!0);if(g===$)return F(!1);if(n=k(l=g),!1!==qe(Z,r,$,t,l,n,e,!1))return j(),r.insertBefore($,g),G=r,H(),F(!0)}else if(l.parentNode===r){n=k(l);var b,w,S,E=$.parentNode!==r,T=!function(e,t,n){var o=n?e.left:e.top,i=n?e.right:e.bottom,a=n?e.width:e.height,r=n?t.left:t.top,l=n?t.right:t.bottom,s=n?t.width:t.height;return o===r||i===l||o+a/2===r+s/2}($.animated&&$.toRect||t,l.animated&&l.toRect||n,a),_=a?"top":"left",x=V(l,"top","top")||V($,"top","top"),I=x?x.scrollTop:void 0;if(me!==l&&(w=n[_],Ee=!1,De=!T&&s.invertSwap||E),b=function(e,t,n,o,i,a,r,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,c=o?n.top:n.left,d=o?n.bottom:n.right,h=!1;if(!r)if(l&&ge<u*i){if(!Ee&&(1===ve?s>c+u*a/2:s<d-u*a/2)&&(Ee=!0),Ee)h=!0;else if(1===ve?s<c+ge:s>d-ge)return-ve}else if(s>c+u*(1-i)/2&&s<d-u*(1-i)/2)return function(e){return A($)<A(e)?1:-1}(t);if((h=h||r)&&(s<c+u*a/2||s>d-u*a/2))return s>c+u/2?1:-1;return 0}(e,l,n,a,T?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,De,me===l),0!==b){var M=A($);do{M-=b,S=G.children[M]}while(S&&("none"===C(S,"display")||S===K))}if(0===b||S===l)return F(!1);me=l,ve=b;var P=l.nextElementSibling,N=!1,B=qe(Z,r,$,t,l,n,e,N=1===b);if(!1!==B)return 1!==B&&-1!==B||(N=1===B),Te=!0,setTimeout(Ye,30),j(),N&&!P?r.appendChild($):l.parentNode.insertBefore($,N?P:l),x&&R(x,0,I-x.scrollTop),G=$.parentNode,void 0===w||De||(ge=Math.abs(w-k(l)[_])),H(),F(!0)}if(r.contains($))return F(!1)}return!1}function Y(s,u){U(s,p,o({evt:e,isOwner:d,axis:a?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:h,fromSortable:f,target:l,completed:F,onMove:function(n,o){return qe(Z,r,$,t,n,k(n),e,o)},changed:H},u))}function j(){Y("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function F(t){return Y("dragOverCompleted",{insertion:t}),t&&(d?c._hideClone():c._showClone(p),p!==f&&(D($,le?le.options.ghostClass:c.options.ghostClass,!1),D($,s.ghostClass,!0)),le!==p&&p!==Be.active?le=p:p===Be.active&&le&&(le=null),f===p&&(p._ignoreWhileAnimating=l),p.animateAll((function(){Y("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(l===$&&!$.animated||l===r&&!l.animated)&&(me=null),s.dragoverBubble||e.rootEl||l===document||($.parentNode[X]._isOutsideThisEl(e.target),!t&&Ne(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function H(){oe=A($),ae=A($,s.draggable),z({sortable:p,name:"change",toEl:r,newIndex:oe,newDraggableIndex:ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){g(document,"mousemove",this._onTouchMove),g(document,"touchmove",this._onTouchMove),g(document,"pointermove",this._onTouchMove),g(document,"dragover",Ne),g(document,"mousemove",Ne),g(document,"touchmove",Ne)},_offUpEvents:function(){var e=this.el.ownerDocument;g(e,"mouseup",this._onDrop),g(e,"touchend",this._onDrop),g(e,"pointerup",this._onDrop),g(e,"touchcancel",this._onDrop),g(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;oe=A($),ae=A($,n.draggable),U("drop",this,{evt:e}),G=$&&$.parentNode,oe=A($),ae=A($,n.draggable),Be.eventCanceled||(we=!1,De=!1,Ee=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),He(this.cloneId),He(this._dragStartId),this.nativeDraggable&&(g(document,"drop",this),g(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),h&&C(document.body,"user-select",""),C($,"transform",""),e&&(pe&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),K&&K.parentNode&&K.parentNode.removeChild(K),(Z===G||le&&"clone"!==le.lastPutMode)&&ee&&ee.parentNode&&ee.parentNode.removeChild(ee),$&&(this.nativeDraggable&&g($,"dragend",this),Xe($),$.style["will-change"]="",pe&&!we&&D($,le?le.options.ghostClass:this.options.ghostClass,!1),D($,this.options.chosenClass,!1),z({sortable:this,name:"unchoose",toEl:G,newIndex:null,newDraggableIndex:null,originalEvent:e}),Z!==G?(oe>=0&&(z({rootEl:G,name:"add",toEl:G,fromEl:Z,originalEvent:e}),z({sortable:this,name:"remove",toEl:G,originalEvent:e}),z({rootEl:G,name:"sort",toEl:G,fromEl:Z,originalEvent:e}),z({sortable:this,name:"sort",toEl:G,originalEvent:e})),le&&le.save()):oe!==ne&&oe>=0&&(z({sortable:this,name:"update",toEl:G,originalEvent:e}),z({sortable:this,name:"sort",toEl:G,originalEvent:e})),Be.active&&(null!=oe&&-1!==oe||(oe=ne,ae=ie),z({sortable:this,name:"end",toEl:G,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){U("nulling",this),Z=$=G=K=Q=ee=J=te=se=ue=pe=oe=ae=ne=ie=me=ve=le=re=Be.dragged=Be.ghost=Be.clone=Be.active=null,_e.forEach((function(e){e.checked=!0})),_e.length=ce=de=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":$&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,o=0,i=n.length,a=this.options;o<i;o++)y(e=n[o],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||je(e));return t},sort:function(e,t){var n={},o=this.el;this.toArray().forEach((function(e,t){var i=o.children[t];y(i,this.options.draggable,o,!1)&&(n[e]=i)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(o.removeChild(n[e]),o.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var o=H.modifyOption(this,e,t);n[e]=void 0!==o?o:t,"group"===e&&Ie(n)},destroy:function(){U("destroy",this);var e=this.el;e[X]=null,g(e,"mousedown",this._onTapStart),g(e,"touchstart",this._onTapStart),g(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(g(e,"dragover",this),g(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Se.splice(Se.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!te){if(U("hideClone",this),Be.eventCanceled)return;C(ee,"display","none"),this.options.removeCloneOnHide&&ee.parentNode&&ee.parentNode.removeChild(ee),te=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(te){if(U("showClone",this),Be.eventCanceled)return;$.parentNode!=Z||this.options.group.revertClone?Q?Z.insertBefore(ee,Q):Z.appendChild(ee):Z.insertBefore(ee,$),this.options.group.revertClone&&this.animate($,ee),C(ee,"display",""),te=!1}}else this._hideClone()}},xe&&v(document,"touchmove",(function(e){(Be.active||we)&&e.cancelable&&e.preventDefault()})),Be.utils={on:v,off:g,css:C,find:_,is:function(e,t){return!!y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:N,closest:y,toggleClass:D,clone:B,index:A,nextTick:Fe,cancelNextTick:He,detectDirection:Ae,getChild:O},Be.get=function(e){return e[X]},Be.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Be.utils=o(o({},Be.utils),e.utils)),H.mount(e)}))},Be.create=function(e,t){return new Be(e,t)},Be.version="1.15.2";var We,Ue,ze,$e,Ge,Ke,Ze=[],Qe=!1;function Je(){Ze.forEach((function(e){clearInterval(e.pid)})),Ze=[]}function et(){clearInterval(Ke)}var tt=N((function(e,t,n,o){if(t.scroll){var i,a=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,s=t.scrollSpeed,u=x(),c=!1;Ue!==n&&(Ue=n,Je(),We=t.scroll,i=t.scrollFn,!0===We&&(We=M(n,!0)));var d=0,h=We;do{var f=h,p=k(f),m=p.top,v=p.bottom,g=p.left,b=p.right,w=p.width,y=p.height,S=void 0,E=void 0,D=f.scrollWidth,T=f.scrollHeight,_=C(f),V=f.scrollLeft,O=f.scrollTop;f===u?(S=w<D&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),E=y<T&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(S=w<D&&("auto"===_.overflowX||"scroll"===_.overflowX),E=y<T&&("auto"===_.overflowY||"scroll"===_.overflowY));var L=S&&(Math.abs(b-a)<=l&&V+w<D)-(Math.abs(g-a)<=l&&!!V),A=E&&(Math.abs(v-r)<=l&&O+y<T)-(Math.abs(m-r)<=l&&!!O);if(!Ze[d])for(var I=0;I<=d;I++)Ze[I]||(Ze[I]={});Ze[d].vx==L&&Ze[d].vy==A&&Ze[d].el===f||(Ze[d].el=f,Ze[d].vx=L,Ze[d].vy=A,clearInterval(Ze[d].pid),0==L&&0==A||(c=!0,Ze[d].pid=setInterval(function(){o&&0===this.layer&&Be.active._onTouchMove(Ge);var t=Ze[this.layer].vy?Ze[this.layer].vy*s:0,n=Ze[this.layer].vx?Ze[this.layer].vx*s:0;"function"==typeof i&&"continue"!==i.call(Be.dragged.parentNode[X],n,t,e,Ge,Ze[this.layer].el)||R(Ze[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&h!==u&&(h=M(h,!1)));Qe=c}}),30),nt=function(e){var t=e.originalEvent,n=e.putSortable,o=e.dragEl,i=e.activeSortable,a=e.dispatchSortableEvent,r=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(t){var s=n||i;r();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);l(),s&&!s.el.contains(c)&&(a("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function ot(){}function it(){}ot.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=O(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:nt},r(ot,{pluginName:"revertOnSpill"}),it.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:nt},r(it,{pluginName:"removeOnSpill"}),Be.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):t.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):(g(document,"pointermove",this._handleFallbackAutoScroll),g(document,"touchmove",this._handleFallbackAutoScroll),g(document,"mousemove",this._handleFallbackAutoScroll)),et(),Je(),clearTimeout(S),S=void 0},nulling:function(){Ge=Ue=We=Qe=Ke=ze=$e=null,Ze.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,o=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(o,i);if(Ge=e,t||this.options.forceAutoScrollFallback||c||u||h){tt(e,this.options,a,t);var r=M(a,!0);!Qe||Ke&&o===ze&&i===$e||(Ke&&et(),Ke=setInterval((function(){var a=M(document.elementFromPoint(o,i),!0);a!==r&&(r=a,Je()),tt(e,n.options,a,t)}),10),ze=o,$e=i)}else{if(!this.options.bubbleScroll||M(a,!0)===x())return void Je();tt(e,this.options,M(a,!1),!1)}}},r(e,{pluginName:"scroll",initializeByDefault:!0})}),Be.mount(it,ot);const at=["data-url","onContextmenu","onMousedown","onClick"],rt={key:0,class:"iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont"},lt=e.defineComponent({name:"layoutTagsView"}),st=e.defineComponent({...lt,setup(n){const o=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./contextmenu-DVLywy2K.js"))))),i=e.ref([]),a=e.ref(),r=e.ref(),l=e.ref(),s=t.useTagsViewRoutes(),u=t.useThemeConfig(),c=t.useTagsViewRoutes(),d=t.useRoutesList(),{themeConfig:h}=t.storeToRefs(u),{tagsViewRoutes:f}=t.storeToRefs(c),{routesList:p}=t.storeToRefs(d),m=t.useKeepALiveNames(),v=t.useRoute(),g=t.useRouter(),b=e.reactive({routeActive:"",routePath:v.path,dropdown:{x:"",y:""},sortable:"",tagsRefsIndex:0,tagsViewList:[],tagsViewRoutesList:[]}),w=e.computed((()=>h.value.tagsStyle)),y=e.computed((()=>h.value)),S=e.computed((()=>e=>t.other.setTagsViewNameI18n(e))),E=e=>y.value.isShareTagsView?e.path===b.routePath:e.query&&Object.keys(e.query).length||e.params&&Object.keys(e.params).length?e.url?e.url===b.routeActive:e.path===b.routeActive:e.path===b.routePath,D=e=>{t.Session.set("tagsViewList",e)},C=e=>{var t;let n=e.query&&Object.keys(e.query).length>0?e.query:e.params;if(!n||Object.keys(n).length<=0)return e.path;let o="";for(let i in n)o+=n[i];return`${(null==(t=e.meta)?void 0:t.isDynamic)?e.meta.isDynamicPath:e.path}-${o}`},T=async(e,n)=>{var o,i;let a=(null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?n.meta.isDynamicPath:e;if(b.tagsViewList.filter((e=>{var o,i;return e.path===a&&t.isObjectValueEqual((null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?(null==n?void 0:n.params)?null==n?void 0:n.params:null:(null==n?void 0:n.query)?null==n?void 0:n.query:null)})).length<=0){let e=b.tagsViewRoutesList.find((e=>e.path===a));if(!e)return!1;if(e.meta.isAffix)return!1;if(e.meta.isLink&&!e.meta.isIframe)return!1;(null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?e.params=n.params:e.query=null==n?void 0:n.query,e.url=C(e),b.tagsViewList.push({...e}),D(b.tagsViewList)}},_=(e,n)=>{var o;let i=(null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?n.meta.isDynamicPath:e;b.tagsViewList.forEach((e=>{var o,a,r;e.path!==i||t.isObjectValueEqual((null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(a=null==n?void 0:n.meta)?void 0:a.isDynamic)?(null==n?void 0:n.params)?null==n?void 0:n.params:null:(null==n?void 0:n.query)?null==n?void 0:n.query:null)||((null==(r=null==n?void 0:n.meta)?void 0:r.isDynamic)?e.params=n.params:e.query=null==n?void 0:n.query,e.url=C(e),D(b.tagsViewList))}))},x=(t,n)=>e.nextTick().then((async()=>{var e,o,i;let a;if(null==(e=null==n?void 0:n.meta)?void 0:e.isDynamic){if(y.value.isShareTagsView?await _(t,n):await T(t,n),b.tagsViewList.some((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)})))return D(b.tagsViewList),!1;a=b.tagsViewRoutesList.find((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)}))}else{if(y.value.isShareTagsView?await _(t,n):await T(t,n),b.tagsViewList.some((e=>e.path===t)))return D(b.tagsViewList),!1;a=b.tagsViewRoutesList.find((e=>e.path===t))}return!!a&&(!((null==(o=null==a?void 0:a.meta)?void 0:o.isLink)&&!a.meta.isIframe)&&((null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?a.params=(null==n?void 0:n.params)?null==n?void 0:n.params:v.params:a.query=(null==n?void 0:n.query)?null==n?void 0:n.query:v.query,a.url=C(a),await b.tagsViewList.push({...a}),void(await D(b.tagsViewList))))})),k=t=>e.nextTick().then((async()=>{let n=await b.tagsViewList;b.tagsRefsIndex=n.findIndex((e=>y.value.isShareTagsView?e.path===t:e.url===t)),await e.nextTick().then((async()=>{var e,t;if(i.value.length<=0)return!1;let n=i.value[b.tagsRefsIndex],o=b.tagsRefsIndex,r=i.value.length,l=i.value[0],s=i.value[i.value.length-1],u=null==(t=null==(e=a.value)?void 0:e.$refs)?void 0:t.wrapRef,c=u.scrollWidth,d=u.offsetWidth,h=u.scrollLeft,f=i.value[b.tagsRefsIndex-1],p=i.value[b.tagsRefsIndex+1],m=0,v=0;n===l?u.scrollLeft=0:n===s?u.scrollLeft=c-d:(m=0===o?l.offsetLeft-5:(null==f?void 0:f.offsetLeft)-5,v=o===r?s.offsetLeft+s.offsetWidth+5:p.offsetLeft+p.offsetWidth+5,v>h+d?u.scrollLeft=v-d:m<h&&(u.scrollLeft=m)),a.value.update()}))})),V=async()=>{b.routeActive=await C(v),b.routePath=await v.meta.isDynamic?v.meta.isDynamicPath:v.path,b.tagsViewList=[],b.tagsViewRoutesList=f.value,await(async()=>{t.Session.get("tagsViewList")&&y.value.isCacheTagsView?b.tagsViewList=t.Session.get("tagsViewList"):(await b.tagsViewRoutesList.map((e=>{var t;"/home"===e.path&&(e.meta.isAffix=!0),(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),await x(v.path,v)),await k(y.value.isShareTagsView?b.routePath:b.routeActive)})()},O=e=>{var t,n;let o=e.query&&Object.keys(e.query).length>0?e.query:e.params;if(!o)return"";let i="";for(let[a,r]of Object.entries(o))(null==(t=e.meta)?void 0:t.isDynamic)?i+=`/${r}`:i+=`&${a}=${r}`;return(null==(n=e.meta)?void 0:n.isDynamic)?e.isFnClick?decodeURI(e.path):`${e.path.split(":")[0]}${i.replace(/^\//,"")}`:`${e.path}${i.replace(/^&/,"?")}`},L=async e=>{const n=decodeURI(e);let o={};if(b.tagsViewList.forEach((e=>{e.transUrl=O(e),e.transUrl?e.transUrl===O(e)&&(o=e):e.path===n&&(o=e)})),!o)return!1;await m.delCachedView(o),t.mittBus.emit("onTagsViewRefreshRouterView",e)},A=e=>{b.tagsViewList.map(((t,n,o)=>{var i;(null==(i=t.meta)?void 0:i.isAffix)||(y.value.isShareTagsView?t.path===e:t.url===e)&&(m.delCachedView(t),b.tagsViewList.splice(n,1),setTimeout((()=>{(b.tagsViewList.length===n&&y.value.isShareTagsView?b.routePath===e:b.routeActive===e)?o[o.length-1].meta.isDynamic?n!==o.length?g.push({name:o[n].name,params:o[n].params}):g.push({name:o[o.length-1].name,params:o[o.length-1].params}):n!==o.length?g.push({path:o[n].path,query:o[n].query}):g.push({path:o[o.length-1].path,query:o[o.length-1].query}):(b.tagsViewList.length!==n&&y.value.isShareTagsView?b.routePath===e:b.routeActive===e)&&(o[n].meta.isDynamic?g.push({name:o[n].name,params:o[n].params}):g.push({path:o[n].path,query:o[n].query}))}),0))})),D(b.tagsViewList)},I=e=>{let t={};return b.tagsViewList.forEach((n=>{n.transUrl=O(n),n.transUrl?n.transUrl===O(n)&&n.transUrl===e.commonUrl&&(t=n):n.path===decodeURI(e.path)&&(t=n)})),t||null},M=async e=>{if(e.commonUrl=O(e),!I(e))return t.ElMessage({type:"warning",message:"请正确输入路径及完整参数(query、params)"});const{path:n,name:o,params:i,query:a,meta:r,url:l}=I(e);switch(e.contextMenuClickId){case 0:r.isDynamic?await g.push({name:o,params:i}):await g.push({path:n,query:a}),L(v.fullPath);break;case 1:A(y.value.isShareTagsView?n:l);break;case 2:r.isDynamic?await g.push({name:o,params:i}):await g.push({path:n,query:a}),await(async e=>{const n=b.tagsViewList.find((t=>t.path===e));m.delOthersCachedViews(n),t.Session.get("tagsViewList")&&(b.tagsViewList=[],t.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),await x(e,v),D(b.tagsViewList))})(n);break;case 3:(()=>{if(t.Session.get("tagsViewList")){m.delAllCachedViews(),b.tagsViewList=[],t.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),D(b.tagsViewList);const e=t.dynamicRoutes.find((e=>"/"===e.path));e&&g.push(e.redirect)}})();break;case 4:(async e=>{const t=b.tagsViewList.find((t=>y.value.isShareTagsView?t.path===e:t.url===e));t.meta.isDynamic?await g.push({name:t.name,params:t.params}):await g.push({name:t.name,query:t.query}),s.setCurrenFullscreen(!0)})(y.value.isShareTagsView?n:l)}},P=e=>{a.value.$refs.wrapRef.scrollLeft+=e.wheelDelta/4},N=async()=>{const e=document.querySelector(".layout-navbars-tagsview-ul");if(!e)return!1;b.sortable.el&&b.sortable.destroy(),b.sortable=Be.create(e,{animation:300,dataIdAttr:"data-url",disabled:!y.value.isSortableTagsView,onEnd:()=>{const e=[];b.sortable.toArray().map((t=>{b.tagsViewList.map((n=>{n.url===t&&e.push({...n})}))})),D(e)}})},R=async()=>{await N(),t.other.isMobile()&&b.sortable.el&&b.sortable.destroy()};return e.onBeforeMount((()=>{R(),window.addEventListener("resize",R),t.mittBus.on("onCurrentContextmenuClick",(e=>{e.isFnClick=!0,M(e)})),t.mittBus.on("openOrCloseSortable",(async()=>{await N()})),t.mittBus.on("openShareTagsView",(()=>{y.value.isShareTagsView&&(g.push("/"),b.tagsViewList=[],b.tagsViewRoutesList.map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})))}))})),e.onUnmounted((()=>{t.mittBus.off("onCurrentContextmenuClick",(()=>{})),t.mittBus.off("openOrCloseSortable",(()=>{})),t.mittBus.off("openShareTagsView",(()=>{})),window.removeEventListener("resize",R)})),e.onBeforeUpdate((()=>{i.value=[]})),e.onMounted((async()=>{await V(),await N()})),t.onBeforeRouteUpdate((async e=>{b.routeActive=C(e),b.routePath=e.meta.isDynamic?e.meta.isDynamicPath:e.path,await x(e.path,e),k(y.value.isShareTagsView?b.routePath:b.routeActive)})),e.watch((()=>f.value),(async e=>{if(e.length===b.tagsViewRoutesList.length)return!1;await V()}),{deep:!0}),(t,n)=>{const s=e.resolveComponent("SvgIcon"),u=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["layout-navbars-tagsview",{"layout-navbars-tagsview-shadow":"classic"===y.value.layout}])},[e.createVNode(u,{ref_key:"scrollbarRef",ref:a,onWheel:e.withModifiers(P,["prevent"])},{default:e.withCtx((()=>[e.createElementVNode("ul",{class:e.normalizeClass(["layout-navbars-tagsview-ul",w.value]),ref_key:"tagsUlRef",ref:l},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.tagsViewList,((o,a)=>(e.openBlock(),e.createElementBlock("li",{key:a,class:e.normalizeClass(["layout-navbars-tagsview-ul-li",{"is-active":E(o)}]),"data-url":o.url,onContextmenu:e.withModifiers((e=>((e,t)=>{const{clientX:n,clientY:o}=t;b.dropdown.x=n,b.dropdown.y=o,r.value.openContextmenu(e)})(o,e)),["prevent"]),onMousedown:e=>((e,t)=>{var n;if(!(null==(n=e.meta)?void 0:n.isAffix)&&1===t.button){const t=Object.assign({},{contextMenuClickId:1,...e});M(t)}})(o,e),onClick:e=>((e,t)=>{b.tagsRefsIndex=t,g.push(e),"columns"===y.value.layout&&(p.value.find((t=>t.path.indexOf(`/${e.path.split("/")[1]}`)>-1)).children?y.value.isCollapse=!1:y.value.isCollapse=!0)})(o,a),ref_for:!0,ref:e=>{e&&(i.value[a]=e)}},[E(o)?(e.openBlock(),e.createElementBlock("i",rt)):e.createCommentVNode("",!0),!E(o)&&y.value.isTagsviewIcon?(e.openBlock(),e.createBlock(s,{key:1,name:o.meta.icon,class:"pr5"},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(S.value(o)),1),E(o)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(s,{name:"ele-RefreshRight",class:"ml5 layout-navbars-tagsview-ul-li-refresh",onClick:n[0]||(n[0]=e.withModifiers((e=>L(t.$route.fullPath)),["stop"]))}),o.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s,{key:0,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-active",onClick:e.withModifiers((e=>A(y.value.isShareTagsView?o.path:o.url)),["stop"])},null,8,["onClick"]))],64)):e.createCommentVNode("",!0),o.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s,{key:3,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-three",onClick:e.withModifiers((e=>A(y.value.isShareTagsView?o.path:o.url)),["stop"])},null,8,["onClick"]))],42,at)))),128))],2)])),_:1},512),e.createVNode(e.unref(o),{dropdown:b.dropdown,ref_key:"contextmenuRef",ref:r,onCurrentContextmenuClick:M},null,8,["dropdown"])],2)}}}),ut=t._export_sfc(st,[["__scopeId","data-v-97b76a44"]]);exports.default=ut;
|
8
|
+
function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function o(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){a(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r.apply(this,arguments)}function l(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function s(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var u=s(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),c=s(/Edge/i),d=s(/firefox/i),h=s(/safari/i)&&!s(/chrome/i)&&!s(/android/i),f=s(/iP(ad|od|hone)/i),p=s(/chrome/i)&&s(/android/i),m={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!u&&m)}function g(e,t,n){e.removeEventListener(t,n,!u&&m)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function w(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function y(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&b(e,t):b(e,t))||o&&e===n)return e;if(e===n)break}while(e=w(e))}return null}var S,E=/\s+/g;function D(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(E," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(E," ")}}function C(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"==typeof n?"":"px")}}function T(e,t){var n="";if("string"==typeof e)n=e;else do{var o=C(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function _(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,a=o.length;if(n)for(;i<a;i++)n(o[i],i);return o}return[]}function x(){var e=document.scrollingElement;return e||document.documentElement}function k(e,t,n,o,i){if(e.getBoundingClientRect||e===window){var a,r,l,s,c,d,h;if(e!==window&&e.parentNode&&e!==x()?(r=(a=e.getBoundingClientRect()).top,l=a.left,s=a.bottom,c=a.right,d=a.height,h=a.width):(r=0,l=0,s=window.innerHeight,c=window.innerWidth,d=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!u))do{if(i&&i.getBoundingClientRect&&("none"!==C(i,"transform")||n&&"static"!==C(i,"position"))){var f=i.getBoundingClientRect();r-=f.top+parseInt(C(i,"border-top-width")),l-=f.left+parseInt(C(i,"border-left-width")),s=r+a.height,c=l+a.width;break}}while(i=i.parentNode);if(o&&e!==window){var p=T(i||e),m=p&&p.a,v=p&&p.d;p&&(s=(r/=v)+(d/=v),c=(l/=m)+(h/=m))}return{top:r,left:l,bottom:s,right:c,width:h,height:d}}}function V(e,t,n){for(var o=M(e,!0),i=k(e)[t];o;){var a=k(o)[n];if(!("top"===n||"left"===n?i>=a:i<=a))return o;if(o===x())break;o=M(o,!1)}return!1}function O(e,t,n,o){for(var i=0,a=0,r=e.children;a<r.length;){if("none"!==r[a].style.display&&r[a]!==Be.ghost&&(o||r[a]!==Be.dragged)&&y(r[a],n.draggable,e,!1)){if(i===t)return r[a];i++}a++}return null}function L(e,t){for(var n=e.lastElementChild;n&&(n===Be.ghost||"none"===C(n,"display")||t&&!b(n,t));)n=n.previousElementSibling;return n||null}function A(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Be.clone||t&&!b(e,t)||n++;return n}function I(e){var t=0,n=0,o=x();if(e)do{var i=T(e),a=i.a,r=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*r}while(e!==o&&(e=e.parentNode));return[t,n]}function M(e,t){if(!e||!e.getBoundingClientRect)return x();var n=e,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=C(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return x();if(o||t)return n;o=!0}}}while(n=n.parentNode);return x()}function P(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function N(e,t){return function(){if(!S){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),S=setTimeout((function(){S=void 0}),t)}}}function R(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function B(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function q(e,t,n){var o={};return Array.from(e.children).forEach((function(i){var a,r,l,s;if(y(i,t.draggable,e,!1)&&!i.animated&&i!==n){var u=k(i);o.left=Math.min(null!==(a=o.left)&&void 0!==a?a:1/0,u.left),o.top=Math.min(null!==(r=o.top)&&void 0!==r?r:1/0,u.top),o.right=Math.max(null!==(l=o.right)&&void 0!==l?l:-1/0,u.right),o.bottom=Math.max(null!==(s=o.bottom)&&void 0!==s?s:-1/0,u.bottom)}})),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var X="Sortable"+(new Date).getTime();function Y(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==C(e,"display")&&e!==Be.ghost){t.push({target:e,rect:k(e)});var n=o({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=T(e,!0);i&&(n.top-=i.f,n.left-=i.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var o=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var i=!1,a=0;t.forEach((function(e){var t=0,n=e.target,r=n.fromRect,l=k(n),s=n.prevFromRect,u=n.prevToRect,c=e.rect,d=T(n,!0);d&&(l.top-=d.f,l.left-=d.e),n.toRect=l,n.thisAnimationDuration&&P(s,l)&&!P(r,l)&&(c.top-l.top)/(c.left-l.left)==(r.top-l.top)/(r.left-l.left)&&(t=function(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}(c,s,u,o.options)),P(l,r)||(n.prevFromRect=r,n.prevToRect=l,t||(t=o.options.animation),o.animate(n,c,l,t)),t&&(i=!0,a=Math.max(a,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),i?e=setTimeout((function(){"function"==typeof n&&n()}),a):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,o){if(o){C(e,"transition",""),C(e,"transform","");var i=T(this.el),a=i&&i.a,r=i&&i.d,l=(t.left-n.left)/(a||1),s=(t.top-n.top)/(r||1);e.animatingX=!!l,e.animatingY=!!s,C(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),C(e,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),C(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){C(e,"transition",""),C(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),o)}}}}var j=[],F={initializeByDefault:!0},H={mount:function(e){for(var t in F)F.hasOwnProperty(t)&&!(t in e)&&(e[t]=F[t]);j.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),j.push(e)},pluginEvent:function(e,t,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var a=e+"Global";j.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][a]&&t[i.pluginName][a](o({sortable:t},n)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](o({sortable:t},n)))}))},initializePlugins:function(e,t,n,o){for(var i in j.forEach((function(o){var i=o.pluginName;if(e.options[i]||o.initializeByDefault){var a=new o(e,t,e.options);a.sortable=e,a.options=e.options,e[i]=a,r(n,a.defaults)}})),e.options)if(e.options.hasOwnProperty(i)){var a=this.modifyOption(e,i,e.options[i]);void 0!==a&&(e.options[i]=a)}},getEventProperties:function(e,t){var n={};return j.forEach((function(o){"function"==typeof o.eventProperties&&r(n,o.eventProperties.call(t[o.pluginName],e))})),n},modifyOption:function(e,t,n){var o;return j.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(o=i.optionListeners[t].call(e[i.pluginName],n))})),o}};var W=["evt"],U=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,a=l(n,W);H.pluginEvent.bind(Be)(e,t,o({dragEl:$,parentEl:G,ghostEl:K,rootEl:Z,nextEl:Q,lastDownEl:J,cloneEl:ee,cloneHidden:te,dragStarted:pe,putSortable:le,activeSortable:Be.active,originalEvent:i,oldIndex:ne,oldDraggableIndex:ie,newIndex:oe,newDraggableIndex:ae,hideGhostForTarget:Me,unhideGhostForTarget:Pe,cloneNowHidden:function(){te=!0},cloneNowShown:function(){te=!1},dispatchSortableEvent:function(e){z({sortable:t,name:e,originalEvent:i})}},a))};function z(e){!function(e){var t=e.sortable,n=e.rootEl,i=e.name,a=e.targetEl,r=e.cloneEl,l=e.toEl,s=e.fromEl,d=e.oldIndex,h=e.newIndex,f=e.oldDraggableIndex,p=e.newDraggableIndex,m=e.originalEvent,v=e.putSortable,g=e.extraEventProperties;if(t=t||n&&n[X]){var b,w=t.options,y="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||u||c?(b=document.createEvent("Event")).initEvent(i,!0,!0):b=new CustomEvent(i,{bubbles:!0,cancelable:!0}),b.to=l||n,b.from=s||n,b.item=a||n,b.clone=r,b.oldIndex=d,b.newIndex=h,b.oldDraggableIndex=f,b.newDraggableIndex=p,b.originalEvent=m,b.pullMode=v?v.lastPutMode:void 0;var S=o(o({},g),H.getEventProperties(i,t));for(var E in S)b[E]=S[E];n&&n.dispatchEvent(b),w[y]&&w[y].call(t,b)}}(o({putSortable:le,cloneEl:ee,targetEl:$,rootEl:Z,oldIndex:ne,oldDraggableIndex:ie,newIndex:oe,newDraggableIndex:ae},e))}var $,G,K,Z,Q,J,ee,te,ne,oe,ie,ae,re,le,se,ue,ce,de,he,fe,pe,me,ve,ge,be,we=!1,ye=!1,Se=[],Ee=!1,De=!1,Ce=[],Te=!1,_e=[],xe="undefined"!=typeof document,ke=f,Ve=c||u?"cssFloat":"float",Oe=xe&&!p&&!f&&"draggable"in document.createElement("div"),Le=function(){if(xe){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ae=function(e,t){var n=C(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=O(e,0,t),a=O(e,1,t),r=i&&C(i),l=a&&C(a),s=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+k(i).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+k(a).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&r.float&&"none"!==r.float){var c="left"===r.float?"left":"right";return!a||"both"!==l.clear&&l.clear!==c?"horizontal":"vertical"}return i&&("block"===r.display||"flex"===r.display||"table"===r.display||"grid"===r.display||s>=o&&"none"===n[Ve]||a&&"none"===n[Ve]&&s+u>o)?"vertical":"horizontal"},Ie=function(e){function t(e,n){return function(o,i,a,r){var l=o.options.group.name&&i.options.group.name&&o.options.group.name===i.options.group.name;if(null==e&&(n||l))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(o,i,a,r),n)(o,i,a,r);var s=(n?o:i).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var n={},o=e.group;o&&"object"==i(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},Me=function(){!Le&&K&&C(K,"display","none")},Pe=function(){!Le&&K&&C(K,"display","")};xe&&!p&&document.addEventListener("click",(function(e){if(ye)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ye=!1,!1}),!0);var Ne=function(e){if($){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,a=e.clientY,Se.some((function(e){var t=e[X].options.emptyInsertThreshold;if(t&&!L(e)){var n=k(e),o=i>=n.left-t&&i<=n.right+t,l=a>=n.top-t&&a<=n.bottom+t;return o&&l?r=e:void 0}})),r);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[X]._onDragOver(n)}}var i,a,r},Re=function(e){$&&$.parentNode[X]._isOutsideThisEl(e.target)};function Be(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=r({},t),e[X]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ae(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Be.supportPointer&&"PointerEvent"in window&&!h,emptyInsertThreshold:5};for(var o in H.initializePlugins(this,e,n),n)!(o in t)&&(t[o]=n[o]);for(var i in Ie(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&Oe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Se.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),r(this,Y())}function qe(e,t,n,o,i,a,r,l){var s,d,h=e[X],f=h.options.onMove;return!window.CustomEvent||u||c?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=i||t,s.relatedRect=a||k(t),s.willInsertAfter=l,s.originalEvent=r,e.dispatchEvent(s),f&&(d=f.call(h,s,r)),d}function Xe(e){e.draggable=!1}function Ye(){Te=!1}function je(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function Fe(e){return setTimeout(e,0)}function He(e){return clearTimeout(e)}Be.prototype={constructor:Be,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(me=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,$):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,i=o.preventOnFilter,a=e.type,r=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(r||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,u=o.filter;if(function(e){_e.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&_e.push(o)}}(n),!$&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||o.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!h||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=y(l,o.draggable,n,!1))&&l.animated||J===l)){if(ne=A(l),ie=A(l,o.draggable),"function"==typeof u){if(u.call(this,e,l,this))return z({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),U("filter",t,{evt:e}),void(i&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(o){if(o=y(s,o.trim(),n,!1))return z({sortable:t,rootEl:o,name:"filter",targetEl:l,fromEl:n,toEl:n}),U("filter",t,{evt:e}),!0}))))return void(i&&e.cancelable&&e.preventDefault());o.handle&&!y(s,o.handle,n,!1)||this._prepareDragStart(e,r,l)}}},_prepareDragStart:function(e,t,n){var o,i=this,a=i.el,r=i.options,l=a.ownerDocument;if(n&&!$&&n.parentNode===a){var s=k(n);if(Z=a,G=($=n).parentNode,Q=$.nextSibling,J=n,re=r.group,Be.dragged=$,se={target:$,clientX:(t||e).clientX,clientY:(t||e).clientY},he=se.clientX-s.left,fe=se.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,$.style["will-change"]="all",o=function(){U("delayEnded",i,{evt:e}),Be.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!d&&i.nativeDraggable&&($.draggable=!0),i._triggerDragStart(e,t),z({sortable:i,name:"choose",originalEvent:e}),D($,r.chosenClass,!0))},r.ignore.split(",").forEach((function(e){_($,e.trim(),Xe)})),v(l,"dragover",Ne),v(l,"mousemove",Ne),v(l,"touchmove",Ne),v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),U("delayStart",this,{evt:e}),!r.delay||r.delayOnTouchOnly&&!t||this.nativeDraggable&&(c||u))o();else{if(Be.eventCanceled)return void this._onDrop();v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),r.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(o,r.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){$&&Xe($),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;g(e,"mouseup",this._disableDelayedDrag),g(e,"touchend",this._disableDelayedDrag),g(e,"touchcancel",this._disableDelayedDrag),g(e,"mousemove",this._delayedDragTouchMoveHandler),g(e,"touchmove",this._delayedDragTouchMoveHandler),g(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,t?"touchmove":"mousemove",this._onTouchMove):(v($,"dragend",this),v(Z,"dragstart",this._onDragStart));try{document.selection?Fe((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(we=!1,Z&&$){U("dragStarted",this,{evt:t}),this.nativeDraggable&&v(document,"dragover",Re);var n=this.options;!e&&D($,n.dragClass,!1),D($,n.ghostClass,!0),Be.active=this,e&&this._appendGhost(),z({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ue){this._lastX=ue.clientX,this._lastY=ue.clientY,Me();for(var e=document.elementFromPoint(ue.clientX,ue.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ue.clientX,ue.clientY))!==t;)t=e;if($.parentNode[X]._isOutsideThisEl(e),t)do{if(t[X]){if(t[X]._onDragOver({clientX:ue.clientX,clientY:ue.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Pe()}},_onTouchMove:function(e){if(se){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=K&&T(K,!0),r=K&&a&&a.a,l=K&&a&&a.d,s=ke&&be&&I(be),u=(i.clientX-se.clientX+o.x)/(r||1)+(s?s[0]-Ce[0]:0)/(r||1),c=(i.clientY-se.clientY+o.y)/(l||1)+(s?s[1]-Ce[1]:0)/(l||1);if(!Be.active&&!we){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(K){a?(a.e+=u-(ce||0),a.f+=c-(de||0)):a={a:1,b:0,c:0,d:1,e:u,f:c};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");C(K,"webkitTransform",d),C(K,"mozTransform",d),C(K,"msTransform",d),C(K,"transform",d),ce=u,de=c,ue=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!K){var e=this.options.fallbackOnBody?document.body:Z,t=k($,!0,ke,!0,e),n=this.options;if(ke){for(be=e;"static"===C(be,"position")&&"none"===C(be,"transform")&&be!==document;)be=be.parentNode;be!==document.body&&be!==document.documentElement?(be===document&&(be=x()),t.top+=be.scrollTop,t.left+=be.scrollLeft):be=x(),Ce=I(be)}D(K=$.cloneNode(!0),n.ghostClass,!1),D(K,n.fallbackClass,!0),D(K,n.dragClass,!0),C(K,"transition",""),C(K,"transform",""),C(K,"box-sizing","border-box"),C(K,"margin",0),C(K,"top",t.top),C(K,"left",t.left),C(K,"width",t.width),C(K,"height",t.height),C(K,"opacity","0.8"),C(K,"position",ke?"absolute":"fixed"),C(K,"zIndex","100000"),C(K,"pointerEvents","none"),Be.ghost=K,e.appendChild(K),C(K,"transform-origin",he/parseInt(K.style.width)*100+"% "+fe/parseInt(K.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,i=n.options;U("dragStart",this,{evt:e}),Be.eventCanceled?this._onDrop():(U("setupClone",this),Be.eventCanceled||((ee=B($)).removeAttribute("id"),ee.draggable=!1,ee.style["will-change"]="",this._hideClone(),D(ee,this.options.chosenClass,!1),Be.clone=ee),n.cloneId=Fe((function(){U("clone",n),Be.eventCanceled||(n.options.removeCloneOnHide||Z.insertBefore(ee,$),n._hideClone(),z({sortable:n,name:"clone"}))})),!t&&D($,i.dragClass,!0),t?(ye=!0,n._loopId=setInterval(n._emulateDragOver,50)):(g(document,"mouseup",n._onDrop),g(document,"touchend",n._onDrop),g(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(n,o,$)),v(document,"drop",n),C($,"transform","translateZ(0)")),we=!0,n._dragStartId=Fe(n._dragStarted.bind(n,t,e)),v(document,"selectstart",n),pe=!0,h&&C(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,i,a,r=this.el,l=e.target,s=this.options,u=s.group,c=Be.active,d=re===u,h=s.sort,f=le||c,p=this,m=!1;if(!Te){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),l=y(l,s.draggable,r,!0),Y("dragOver"),Be.eventCanceled)return m;if($.contains(e.target)||l.animated&&l.animatingX&&l.animatingY||p._ignoreWhileAnimating===l)return F(!1);if(ye=!1,c&&!s.disabled&&(d?h||(i=G!==Z):le===this||(this.lastPutMode=re.checkPull(this,c,$,e))&&u.checkPut(this,c,$,e))){if(a="vertical"===this._getDirection(e,l),t=k($),Y("dragOverValid"),Be.eventCanceled)return m;if(i)return G=Z,j(),this._hideClone(),Y("revert"),Be.eventCanceled||(Q?Z.insertBefore($,Q):Z.appendChild($)),F(!0);var v=L(r,s.draggable);if(!v||function(e,t,n){var o=k(L(n.el,n.options.draggable)),i=q(n.el,n.options,K),a=10;return t?e.clientX>i.right+a||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+a||e.clientX>o.right&&e.clientY>o.top}(e,a,this)&&!v.animated){if(v===$)return F(!1);if(v&&r===e.target&&(l=v),l&&(n=k(l)),!1!==qe(Z,r,$,t,l,n,e,!!l))return j(),v&&v.nextSibling?r.insertBefore($,v.nextSibling):r.appendChild($),G=r,H(),F(!0)}else if(v&&function(e,t,n){var o=k(O(n.el,0,n.options,!0)),i=q(n.el,n.options,K),a=10;return t?e.clientX<i.left-a||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-a||e.clientY<o.bottom&&e.clientX<o.left}(e,a,this)){var g=O(r,0,s,!0);if(g===$)return F(!1);if(n=k(l=g),!1!==qe(Z,r,$,t,l,n,e,!1))return j(),r.insertBefore($,g),G=r,H(),F(!0)}else if(l.parentNode===r){n=k(l);var b,w,S,E=$.parentNode!==r,T=!function(e,t,n){var o=n?e.left:e.top,i=n?e.right:e.bottom,a=n?e.width:e.height,r=n?t.left:t.top,l=n?t.right:t.bottom,s=n?t.width:t.height;return o===r||i===l||o+a/2===r+s/2}($.animated&&$.toRect||t,l.animated&&l.toRect||n,a),_=a?"top":"left",x=V(l,"top","top")||V($,"top","top"),I=x?x.scrollTop:void 0;if(me!==l&&(w=n[_],Ee=!1,De=!T&&s.invertSwap||E),b=function(e,t,n,o,i,a,r,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,c=o?n.top:n.left,d=o?n.bottom:n.right,h=!1;if(!r)if(l&&ge<u*i){if(!Ee&&(1===ve?s>c+u*a/2:s<d-u*a/2)&&(Ee=!0),Ee)h=!0;else if(1===ve?s<c+ge:s>d-ge)return-ve}else if(s>c+u*(1-i)/2&&s<d-u*(1-i)/2)return function(e){return A($)<A(e)?1:-1}(t);if((h=h||r)&&(s<c+u*a/2||s>d-u*a/2))return s>c+u/2?1:-1;return 0}(e,l,n,a,T?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,De,me===l),0!==b){var M=A($);do{M-=b,S=G.children[M]}while(S&&("none"===C(S,"display")||S===K))}if(0===b||S===l)return F(!1);me=l,ve=b;var P=l.nextElementSibling,N=!1,B=qe(Z,r,$,t,l,n,e,N=1===b);if(!1!==B)return 1!==B&&-1!==B||(N=1===B),Te=!0,setTimeout(Ye,30),j(),N&&!P?r.appendChild($):l.parentNode.insertBefore($,N?P:l),x&&R(x,0,I-x.scrollTop),G=$.parentNode,void 0===w||De||(ge=Math.abs(w-k(l)[_])),H(),F(!0)}if(r.contains($))return F(!1)}return!1}function Y(s,u){U(s,p,o({evt:e,isOwner:d,axis:a?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:h,fromSortable:f,target:l,completed:F,onMove:function(n,o){return qe(Z,r,$,t,n,k(n),e,o)},changed:H},u))}function j(){Y("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function F(t){return Y("dragOverCompleted",{insertion:t}),t&&(d?c._hideClone():c._showClone(p),p!==f&&(D($,le?le.options.ghostClass:c.options.ghostClass,!1),D($,s.ghostClass,!0)),le!==p&&p!==Be.active?le=p:p===Be.active&&le&&(le=null),f===p&&(p._ignoreWhileAnimating=l),p.animateAll((function(){Y("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(l===$&&!$.animated||l===r&&!l.animated)&&(me=null),s.dragoverBubble||e.rootEl||l===document||($.parentNode[X]._isOutsideThisEl(e.target),!t&&Ne(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function H(){oe=A($),ae=A($,s.draggable),z({sortable:p,name:"change",toEl:r,newIndex:oe,newDraggableIndex:ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){g(document,"mousemove",this._onTouchMove),g(document,"touchmove",this._onTouchMove),g(document,"pointermove",this._onTouchMove),g(document,"dragover",Ne),g(document,"mousemove",Ne),g(document,"touchmove",Ne)},_offUpEvents:function(){var e=this.el.ownerDocument;g(e,"mouseup",this._onDrop),g(e,"touchend",this._onDrop),g(e,"pointerup",this._onDrop),g(e,"touchcancel",this._onDrop),g(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;oe=A($),ae=A($,n.draggable),U("drop",this,{evt:e}),G=$&&$.parentNode,oe=A($),ae=A($,n.draggable),Be.eventCanceled||(we=!1,De=!1,Ee=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),He(this.cloneId),He(this._dragStartId),this.nativeDraggable&&(g(document,"drop",this),g(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),h&&C(document.body,"user-select",""),C($,"transform",""),e&&(pe&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),K&&K.parentNode&&K.parentNode.removeChild(K),(Z===G||le&&"clone"!==le.lastPutMode)&&ee&&ee.parentNode&&ee.parentNode.removeChild(ee),$&&(this.nativeDraggable&&g($,"dragend",this),Xe($),$.style["will-change"]="",pe&&!we&&D($,le?le.options.ghostClass:this.options.ghostClass,!1),D($,this.options.chosenClass,!1),z({sortable:this,name:"unchoose",toEl:G,newIndex:null,newDraggableIndex:null,originalEvent:e}),Z!==G?(oe>=0&&(z({rootEl:G,name:"add",toEl:G,fromEl:Z,originalEvent:e}),z({sortable:this,name:"remove",toEl:G,originalEvent:e}),z({rootEl:G,name:"sort",toEl:G,fromEl:Z,originalEvent:e}),z({sortable:this,name:"sort",toEl:G,originalEvent:e})),le&&le.save()):oe!==ne&&oe>=0&&(z({sortable:this,name:"update",toEl:G,originalEvent:e}),z({sortable:this,name:"sort",toEl:G,originalEvent:e})),Be.active&&(null!=oe&&-1!==oe||(oe=ne,ae=ie),z({sortable:this,name:"end",toEl:G,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){U("nulling",this),Z=$=G=K=Q=ee=J=te=se=ue=pe=oe=ae=ne=ie=me=ve=le=re=Be.dragged=Be.ghost=Be.clone=Be.active=null,_e.forEach((function(e){e.checked=!0})),_e.length=ce=de=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":$&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,o=0,i=n.length,a=this.options;o<i;o++)y(e=n[o],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||je(e));return t},sort:function(e,t){var n={},o=this.el;this.toArray().forEach((function(e,t){var i=o.children[t];y(i,this.options.draggable,o,!1)&&(n[e]=i)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(o.removeChild(n[e]),o.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var o=H.modifyOption(this,e,t);n[e]=void 0!==o?o:t,"group"===e&&Ie(n)},destroy:function(){U("destroy",this);var e=this.el;e[X]=null,g(e,"mousedown",this._onTapStart),g(e,"touchstart",this._onTapStart),g(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(g(e,"dragover",this),g(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Se.splice(Se.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!te){if(U("hideClone",this),Be.eventCanceled)return;C(ee,"display","none"),this.options.removeCloneOnHide&&ee.parentNode&&ee.parentNode.removeChild(ee),te=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(te){if(U("showClone",this),Be.eventCanceled)return;$.parentNode!=Z||this.options.group.revertClone?Q?Z.insertBefore(ee,Q):Z.appendChild(ee):Z.insertBefore(ee,$),this.options.group.revertClone&&this.animate($,ee),C(ee,"display",""),te=!1}}else this._hideClone()}},xe&&v(document,"touchmove",(function(e){(Be.active||we)&&e.cancelable&&e.preventDefault()})),Be.utils={on:v,off:g,css:C,find:_,is:function(e,t){return!!y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:N,closest:y,toggleClass:D,clone:B,index:A,nextTick:Fe,cancelNextTick:He,detectDirection:Ae,getChild:O},Be.get=function(e){return e[X]},Be.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Be.utils=o(o({},Be.utils),e.utils)),H.mount(e)}))},Be.create=function(e,t){return new Be(e,t)},Be.version="1.15.2";var We,Ue,ze,$e,Ge,Ke,Ze=[],Qe=!1;function Je(){Ze.forEach((function(e){clearInterval(e.pid)})),Ze=[]}function et(){clearInterval(Ke)}var tt=N((function(e,t,n,o){if(t.scroll){var i,a=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,s=t.scrollSpeed,u=x(),c=!1;Ue!==n&&(Ue=n,Je(),We=t.scroll,i=t.scrollFn,!0===We&&(We=M(n,!0)));var d=0,h=We;do{var f=h,p=k(f),m=p.top,v=p.bottom,g=p.left,b=p.right,w=p.width,y=p.height,S=void 0,E=void 0,D=f.scrollWidth,T=f.scrollHeight,_=C(f),V=f.scrollLeft,O=f.scrollTop;f===u?(S=w<D&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),E=y<T&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(S=w<D&&("auto"===_.overflowX||"scroll"===_.overflowX),E=y<T&&("auto"===_.overflowY||"scroll"===_.overflowY));var L=S&&(Math.abs(b-a)<=l&&V+w<D)-(Math.abs(g-a)<=l&&!!V),A=E&&(Math.abs(v-r)<=l&&O+y<T)-(Math.abs(m-r)<=l&&!!O);if(!Ze[d])for(var I=0;I<=d;I++)Ze[I]||(Ze[I]={});Ze[d].vx==L&&Ze[d].vy==A&&Ze[d].el===f||(Ze[d].el=f,Ze[d].vx=L,Ze[d].vy=A,clearInterval(Ze[d].pid),0==L&&0==A||(c=!0,Ze[d].pid=setInterval(function(){o&&0===this.layer&&Be.active._onTouchMove(Ge);var t=Ze[this.layer].vy?Ze[this.layer].vy*s:0,n=Ze[this.layer].vx?Ze[this.layer].vx*s:0;"function"==typeof i&&"continue"!==i.call(Be.dragged.parentNode[X],n,t,e,Ge,Ze[this.layer].el)||R(Ze[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&h!==u&&(h=M(h,!1)));Qe=c}}),30),nt=function(e){var t=e.originalEvent,n=e.putSortable,o=e.dragEl,i=e.activeSortable,a=e.dispatchSortableEvent,r=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(t){var s=n||i;r();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);l(),s&&!s.el.contains(c)&&(a("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function ot(){}function it(){}ot.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=O(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:nt},r(ot,{pluginName:"revertOnSpill"}),it.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:nt},r(it,{pluginName:"removeOnSpill"}),Be.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):t.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):(g(document,"pointermove",this._handleFallbackAutoScroll),g(document,"touchmove",this._handleFallbackAutoScroll),g(document,"mousemove",this._handleFallbackAutoScroll)),et(),Je(),clearTimeout(S),S=void 0},nulling:function(){Ge=Ue=We=Qe=Ke=ze=$e=null,Ze.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,o=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(o,i);if(Ge=e,t||this.options.forceAutoScrollFallback||c||u||h){tt(e,this.options,a,t);var r=M(a,!0);!Qe||Ke&&o===ze&&i===$e||(Ke&&et(),Ke=setInterval((function(){var a=M(document.elementFromPoint(o,i),!0);a!==r&&(r=a,Je()),tt(e,n.options,a,t)}),10),ze=o,$e=i)}else{if(!this.options.bubbleScroll||M(a,!0)===x())return void Je();tt(e,this.options,M(a,!1),!1)}}},r(e,{pluginName:"scroll",initializeByDefault:!0})}),Be.mount(it,ot);const at=["data-url","onContextmenu","onMousedown","onClick"],rt={key:0,class:"iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont"},lt=e.defineComponent({name:"layoutTagsView"}),st=e.defineComponent({...lt,setup(n){const o=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./contextmenu-CRvKBUpx.js"))))),i=e.ref([]),a=e.ref(),r=e.ref(),l=e.ref(),s=t.useTagsViewRoutes(),u=t.useThemeConfig(),c=t.useTagsViewRoutes(),d=t.useRoutesList(),{themeConfig:h}=t.storeToRefs(u),{tagsViewRoutes:f}=t.storeToRefs(c),{routesList:p}=t.storeToRefs(d),m=t.useKeepALiveNames(),v=t.useRoute(),g=t.useRouter(),b=e.reactive({routeActive:"",routePath:v.path,dropdown:{x:"",y:""},sortable:"",tagsRefsIndex:0,tagsViewList:[],tagsViewRoutesList:[]}),w=e.computed((()=>h.value.tagsStyle)),y=e.computed((()=>h.value)),S=e.computed((()=>e=>t.other.setTagsViewNameI18n(e))),E=e=>y.value.isShareTagsView?e.path===b.routePath:e.query&&Object.keys(e.query).length||e.params&&Object.keys(e.params).length?e.url?e.url===b.routeActive:e.path===b.routeActive:e.path===b.routePath,D=e=>{t.Session.set("tagsViewList",e)},C=e=>{var t;let n=e.query&&Object.keys(e.query).length>0?e.query:e.params;if(!n||Object.keys(n).length<=0)return e.path;let o="";for(let i in n)o+=n[i];return`${(null==(t=e.meta)?void 0:t.isDynamic)?e.meta.isDynamicPath:e.path}-${o}`},T=async(e,n)=>{var o,i;let a=(null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?n.meta.isDynamicPath:e;if(b.tagsViewList.filter((e=>{var o,i;return e.path===a&&t.isObjectValueEqual((null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?(null==n?void 0:n.params)?null==n?void 0:n.params:null:(null==n?void 0:n.query)?null==n?void 0:n.query:null)})).length<=0){let e=b.tagsViewRoutesList.find((e=>e.path===a));if(!e)return!1;if(e.meta.isAffix)return!1;if(e.meta.isLink&&!e.meta.isIframe)return!1;(null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?e.params=n.params:e.query=null==n?void 0:n.query,e.url=C(e),b.tagsViewList.push({...e}),D(b.tagsViewList)}},_=(e,n)=>{var o;let i=(null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?n.meta.isDynamicPath:e;b.tagsViewList.forEach((e=>{var o,a,r;e.path!==i||t.isObjectValueEqual((null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(a=null==n?void 0:n.meta)?void 0:a.isDynamic)?(null==n?void 0:n.params)?null==n?void 0:n.params:null:(null==n?void 0:n.query)?null==n?void 0:n.query:null)||((null==(r=null==n?void 0:n.meta)?void 0:r.isDynamic)?e.params=n.params:e.query=null==n?void 0:n.query,e.url=C(e),D(b.tagsViewList))}))},x=(t,n)=>e.nextTick().then((async()=>{var e,o,i;let a;if(null==(e=null==n?void 0:n.meta)?void 0:e.isDynamic){if(y.value.isShareTagsView?await _(t,n):await T(t,n),b.tagsViewList.some((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)})))return D(b.tagsViewList),!1;a=b.tagsViewRoutesList.find((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)}))}else{if(y.value.isShareTagsView?await _(t,n):await T(t,n),b.tagsViewList.some((e=>e.path===t)))return D(b.tagsViewList),!1;a=b.tagsViewRoutesList.find((e=>e.path===t))}return!!a&&(!((null==(o=null==a?void 0:a.meta)?void 0:o.isLink)&&!a.meta.isIframe)&&((null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?a.params=(null==n?void 0:n.params)?null==n?void 0:n.params:v.params:a.query=(null==n?void 0:n.query)?null==n?void 0:n.query:v.query,a.url=C(a),await b.tagsViewList.push({...a}),void(await D(b.tagsViewList))))})),k=t=>e.nextTick().then((async()=>{let n=await b.tagsViewList;b.tagsRefsIndex=n.findIndex((e=>y.value.isShareTagsView?e.path===t:e.url===t)),await e.nextTick().then((async()=>{var e,t;if(i.value.length<=0)return!1;let n=i.value[b.tagsRefsIndex],o=b.tagsRefsIndex,r=i.value.length,l=i.value[0],s=i.value[i.value.length-1],u=null==(t=null==(e=a.value)?void 0:e.$refs)?void 0:t.wrapRef,c=u.scrollWidth,d=u.offsetWidth,h=u.scrollLeft,f=i.value[b.tagsRefsIndex-1],p=i.value[b.tagsRefsIndex+1],m=0,v=0;n===l?u.scrollLeft=0:n===s?u.scrollLeft=c-d:(m=0===o?l.offsetLeft-5:(null==f?void 0:f.offsetLeft)-5,v=o===r?s.offsetLeft+s.offsetWidth+5:p.offsetLeft+p.offsetWidth+5,v>h+d?u.scrollLeft=v-d:m<h&&(u.scrollLeft=m)),a.value.update()}))})),V=async()=>{b.routeActive=await C(v),b.routePath=await v.meta.isDynamic?v.meta.isDynamicPath:v.path,b.tagsViewList=[],b.tagsViewRoutesList=f.value,await(async()=>{t.Session.get("tagsViewList")&&y.value.isCacheTagsView?b.tagsViewList=t.Session.get("tagsViewList"):(await b.tagsViewRoutesList.map((e=>{var t;"/home"===e.path&&(e.meta.isAffix=!0),(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),await x(v.path,v)),await k(y.value.isShareTagsView?b.routePath:b.routeActive)})()},O=e=>{var t,n;let o=e.query&&Object.keys(e.query).length>0?e.query:e.params;if(!o)return"";let i="";for(let[a,r]of Object.entries(o))(null==(t=e.meta)?void 0:t.isDynamic)?i+=`/${r}`:i+=`&${a}=${r}`;return(null==(n=e.meta)?void 0:n.isDynamic)?e.isFnClick?decodeURI(e.path):`${e.path.split(":")[0]}${i.replace(/^\//,"")}`:`${e.path}${i.replace(/^&/,"?")}`},L=async e=>{const n=decodeURI(e);let o={};if(b.tagsViewList.forEach((e=>{e.transUrl=O(e),e.transUrl?e.transUrl===O(e)&&(o=e):e.path===n&&(o=e)})),!o)return!1;await m.delCachedView(o),t.mittBus.emit("onTagsViewRefreshRouterView",e)},A=e=>{b.tagsViewList.map(((t,n,o)=>{var i;(null==(i=t.meta)?void 0:i.isAffix)||(y.value.isShareTagsView?t.path===e:t.url===e)&&(m.delCachedView(t),b.tagsViewList.splice(n,1),setTimeout((()=>{(b.tagsViewList.length===n&&y.value.isShareTagsView?b.routePath===e:b.routeActive===e)?o[o.length-1].meta.isDynamic?n!==o.length?g.push({name:o[n].name,params:o[n].params}):g.push({name:o[o.length-1].name,params:o[o.length-1].params}):n!==o.length?g.push({path:o[n].path,query:o[n].query}):g.push({path:o[o.length-1].path,query:o[o.length-1].query}):(b.tagsViewList.length!==n&&y.value.isShareTagsView?b.routePath===e:b.routeActive===e)&&(o[n].meta.isDynamic?g.push({name:o[n].name,params:o[n].params}):g.push({path:o[n].path,query:o[n].query}))}),0))})),D(b.tagsViewList)},I=e=>{let t={};return b.tagsViewList.forEach((n=>{n.transUrl=O(n),n.transUrl?n.transUrl===O(n)&&n.transUrl===e.commonUrl&&(t=n):n.path===decodeURI(e.path)&&(t=n)})),t||null},M=async e=>{if(e.commonUrl=O(e),!I(e))return t.ElMessage({type:"warning",message:"请正确输入路径及完整参数(query、params)"});const{path:n,name:o,params:i,query:a,meta:r,url:l}=I(e);switch(e.contextMenuClickId){case 0:r.isDynamic?await g.push({name:o,params:i}):await g.push({path:n,query:a}),L(v.fullPath);break;case 1:A(y.value.isShareTagsView?n:l);break;case 2:r.isDynamic?await g.push({name:o,params:i}):await g.push({path:n,query:a}),await(async e=>{const n=b.tagsViewList.find((t=>t.path===e));m.delOthersCachedViews(n),t.Session.get("tagsViewList")&&(b.tagsViewList=[],t.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),await x(e,v),D(b.tagsViewList))})(n);break;case 3:(()=>{if(t.Session.get("tagsViewList")){m.delAllCachedViews(),b.tagsViewList=[],t.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),D(b.tagsViewList);const e=t.dynamicRoutes.find((e=>"/"===e.path));e&&g.push(e.redirect)}})();break;case 4:(async e=>{const t=b.tagsViewList.find((t=>y.value.isShareTagsView?t.path===e:t.url===e));t.meta.isDynamic?await g.push({name:t.name,params:t.params}):await g.push({name:t.name,query:t.query}),s.setCurrenFullscreen(!0)})(y.value.isShareTagsView?n:l)}},P=e=>{a.value.$refs.wrapRef.scrollLeft+=e.wheelDelta/4},N=async()=>{const e=document.querySelector(".layout-navbars-tagsview-ul");if(!e)return!1;b.sortable.el&&b.sortable.destroy(),b.sortable=Be.create(e,{animation:300,dataIdAttr:"data-url",disabled:!y.value.isSortableTagsView,onEnd:()=>{const e=[];b.sortable.toArray().map((t=>{b.tagsViewList.map((n=>{n.url===t&&e.push({...n})}))})),D(e)}})},R=async()=>{await N(),t.other.isMobile()&&b.sortable.el&&b.sortable.destroy()};return e.onBeforeMount((()=>{R(),window.addEventListener("resize",R),t.mittBus.on("onCurrentContextmenuClick",(e=>{e.isFnClick=!0,M(e)})),t.mittBus.on("openOrCloseSortable",(async()=>{await N()})),t.mittBus.on("openShareTagsView",(()=>{y.value.isShareTagsView&&(g.push("/"),b.tagsViewList=[],b.tagsViewRoutesList.map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})))}))})),e.onUnmounted((()=>{t.mittBus.off("onCurrentContextmenuClick",(()=>{})),t.mittBus.off("openOrCloseSortable",(()=>{})),t.mittBus.off("openShareTagsView",(()=>{})),window.removeEventListener("resize",R)})),e.onBeforeUpdate((()=>{i.value=[]})),e.onMounted((async()=>{await V(),await N()})),t.onBeforeRouteUpdate((async e=>{b.routeActive=C(e),b.routePath=e.meta.isDynamic?e.meta.isDynamicPath:e.path,await x(e.path,e),k(y.value.isShareTagsView?b.routePath:b.routeActive)})),e.watch((()=>f.value),(async e=>{if(e.length===b.tagsViewRoutesList.length)return!1;await V()}),{deep:!0}),(t,n)=>{const s=e.resolveComponent("SvgIcon"),u=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["layout-navbars-tagsview",{"layout-navbars-tagsview-shadow":"classic"===y.value.layout}])},[e.createVNode(u,{ref_key:"scrollbarRef",ref:a,onWheel:e.withModifiers(P,["prevent"])},{default:e.withCtx((()=>[e.createElementVNode("ul",{class:e.normalizeClass(["layout-navbars-tagsview-ul",w.value]),ref_key:"tagsUlRef",ref:l},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.tagsViewList,((o,a)=>(e.openBlock(),e.createElementBlock("li",{key:a,class:e.normalizeClass(["layout-navbars-tagsview-ul-li",{"is-active":E(o)}]),"data-url":o.url,onContextmenu:e.withModifiers((e=>((e,t)=>{const{clientX:n,clientY:o}=t;b.dropdown.x=n,b.dropdown.y=o,r.value.openContextmenu(e)})(o,e)),["prevent"]),onMousedown:e=>((e,t)=>{var n;if(!(null==(n=e.meta)?void 0:n.isAffix)&&1===t.button){const t=Object.assign({},{contextMenuClickId:1,...e});M(t)}})(o,e),onClick:e=>((e,t)=>{b.tagsRefsIndex=t,g.push(e),"columns"===y.value.layout&&(p.value.find((t=>t.path.indexOf(`/${e.path.split("/")[1]}`)>-1)).children?y.value.isCollapse=!1:y.value.isCollapse=!0)})(o,a),ref_for:!0,ref:e=>{e&&(i.value[a]=e)}},[E(o)?(e.openBlock(),e.createElementBlock("i",rt)):e.createCommentVNode("",!0),!E(o)&&y.value.isTagsviewIcon?(e.openBlock(),e.createBlock(s,{key:1,name:o.meta.icon,class:"pr5"},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(S.value(o)),1),E(o)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(s,{name:"ele-RefreshRight",class:"ml5 layout-navbars-tagsview-ul-li-refresh",onClick:n[0]||(n[0]=e.withModifiers((e=>L(t.$route.fullPath)),["stop"]))}),o.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s,{key:0,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-active",onClick:e.withModifiers((e=>A(y.value.isShareTagsView?o.path:o.url)),["stop"])},null,8,["onClick"]))],64)):e.createCommentVNode("",!0),o.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s,{key:3,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-three",onClick:e.withModifiers((e=>A(y.value.isShareTagsView?o.path:o.url)),["stop"])},null,8,["onClick"]))],42,at)))),128))],2)])),_:1},512),e.createVNode(e.unref(o),{dropdown:b.dropdown,ref_key:"contextmenuRef",ref:r,onCurrentContextmenuClick:M},null,8,["dropdown"])],2)}}}),ut=t._export_sfc(st,[["__scopeId","data-v-97b76a44"]]);exports.default=ut;
|
Binary file
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, onMounted, watch, nextTick, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref } from "vue";
|
2
|
-
import { c as useThemeConfig, s as storeToRefs, u as useRoute } from "./index-
|
2
|
+
import { c as useThemeConfig, s as storeToRefs, u as useRoute } from "./index-C31rkHJu.mjs";
|
3
3
|
const __default__ = defineComponent({
|
4
4
|
name: "layoutTransverse"
|
5
5
|
});
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
7
|
...__default__,
|
8
8
|
setup(__props) {
|
9
|
-
const LayoutHeader = defineAsyncComponent(() => import("./header-
|
10
|
-
const LayoutMain = defineAsyncComponent(() => import("./main-
|
9
|
+
const LayoutHeader = defineAsyncComponent(() => import("./header-SuwlHSDr.mjs"));
|
10
|
+
const LayoutMain = defineAsyncComponent(() => import("./main-CNqUkjOf.mjs"));
|
11
11
|
const layoutMainRef = ref();
|
12
12
|
const storesThemeConfig = useThemeConfig();
|
13
13
|
const { themeConfig } = storeToRefs(storesThemeConfig);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-C3rV-Qum.js"),t=e.defineComponent({name:"layoutTransverse"}),n=e.defineComponent({...t,setup(t){const n=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./header-BClbI2d9.js"))))),r=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./main-Bcg2eShc.js"))))),a=e.ref(),u=o.useThemeConfig(),{themeConfig:l}=o.storeToRefs(u),s=o.useRoute(),i=()=>{a.value.layoutMainScrollbarRef.update()},c=()=>{e.nextTick((()=>{setTimeout((()=>{i(),a.value.layoutMainScrollbarRef.wrapRef.scrollTop=0}),500)}))};return e.onMounted((()=>{c()})),e.watch((()=>s.path),(()=>{c()})),e.watch((()=>l.value.isTagsview),(()=>{e.nextTick((()=>{i()}))}),{deep:!0}),(o,t)=>{const u=e.resolveComponent("el-container");return e.openBlock(),e.createBlock(u,{class:"layout-container flex-center layout-backtop"},{default:e.withCtx((()=>[e.createVNode(e.unref(n)),e.createVNode(e.unref(r),{ref_key:"layoutMainRef",ref:a},null,512)])),_:1})}}});exports.default=n;
|
@@ -28,7 +28,7 @@ interface OptionsDef {
|
|
28
28
|
/** 是否允许窗口边缘拖动调整窗口大小 */
|
29
29
|
resize: boolean;
|
30
30
|
}
|
31
|
-
export declare function showPopup<T extends Component>(component: T, props: ICustomData.ANY, config: Config):
|
31
|
+
export declare function showPopup<T extends Component>(component: T, props: ICustomData.ANY, config: Config): Function;
|
32
32
|
export declare const popupPlugin: {
|
33
33
|
install(app: App, options?: OptionsDef): void;
|
34
34
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { openBlock, createElementBlock, withDirectives, createElementVNode, normalizeStyle, vShow, createCommentVNode, normalizeClass, toDisplayString, defineComponent, ref, onMounted, toRefs, reactive, resolveComponent, createVNode, withCtx, unref, createTextVNode } from "vue";
|
2
2
|
import { E as Exif } from "./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-DOiOwYLl.mjs";
|
3
|
-
import { _ as _export_sfc, a8 as systemStore, d as ElMessage, ab as useFileController } from "./index-
|
3
|
+
import { _ as _export_sfc, a8 as systemStore, d as ElMessage, ab as useFileController } from "./index-C31rkHJu.mjs";
|
4
4
|
const _sfc_main$1 = {
|
5
5
|
data: function() {
|
6
6
|
return {
|
Binary file
|