hs-admin-ui 10.7.5 → 10.7.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{401-BZnI7BWL.js → 401-e9YpdQgS.js} +1 -1
- package/dist/{401-CCNjiJis.mjs → 401-rBlkb54y.mjs} +1 -1
- package/dist/{404-CLIiWkAK.js → 404-CweQrd-B.js} +1 -1
- package/dist/{404-CLIiWkAK.js.gz → 404-CweQrd-B.js.gz} +0 -0
- package/dist/{404-Cjjyirkv.mjs → 404-rQt17-On.mjs} +1 -1
- package/dist/404-rQt17-On.mjs.gz +0 -0
- package/dist/{account-D97ZN5R4.js → account-BB4NovsI.js} +1 -1
- package/dist/{account-Dq8stR3j.mjs → account-CiAGVeGN.mjs} +2 -2
- package/dist/{aside-DIoSeydI.js → aside-BQ_v7YKl.js} +1 -1
- package/dist/{aside-JhQq3ozw.mjs → aside-CKL1MkZ4.mjs} +3 -3
- package/dist/{btnIndex-32uPMmBG.js → btnIndex-CP83vKOI.js} +1 -1
- package/dist/{btnIndex-LII47T6h.mjs → btnIndex-CaKpEtEs.mjs} +2 -2
- package/dist/btnIndex-CaKpEtEs.mjs.gz +0 -0
- package/dist/{classic-AWXgtpB4.js → classic-BNv0G3lM.js} +1 -1
- package/dist/{classic-BxNQkp6F.mjs → classic-DO_RG3WQ.mjs} +5 -5
- package/dist/{columns-BAaaLPVM.mjs → columns-BKWRU-32.mjs} +5 -5
- package/dist/{columns-Dw649_nM.js → columns-D2U8Cm2i.js} +1 -1
- package/dist/{columnsAside-BSUIap5_.js → columnsAside-BlCRHZXB.js} +1 -1
- package/dist/{columnsAside-ZdC-TGqP.mjs → columnsAside-ClBw040v.mjs} +1 -1
- package/dist/{contextmenu-DZDTo3SK.mjs → contextmenu-BRhuaIXD.mjs} +1 -1
- package/dist/{contextmenu-DAzgAZKP.js → contextmenu-DLW6T2hY.js} +1 -1
- package/dist/{contextmenu-BV-FacNQ.js → contextmenu-DM2LpzkE.js} +1 -1
- package/dist/{contextmenu-BE91W4he.mjs → contextmenu-DcH8pPOz.mjs} +1 -1
- package/dist/{copyMenuConfig-D5u9fgQY.js → copyMenuConfig-D3puOTcr.js} +1 -1
- package/dist/{copyMenuConfig-Cw3i5Zks.mjs → copyMenuConfig-nxCJBJM2.mjs} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-Dm4SoqtS.js → copyMenuConfig.vue_vue_type_script_setup_true_lang-1QCbPx85.js} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-CzpHjsC7.mjs → copyMenuConfig.vue_vue_type_script_setup_true_lang-CuWQ1Udt.mjs} +1 -1
- package/dist/{copySystem-BVHnS-mc.js → copySystem-B4v5VCV9.js} +1 -1
- package/dist/{copySystem-CHqE3Snr.mjs → copySystem-CGFEaPaw.mjs} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-D70Ra_3Z.js → copySystem.vue_vue_type_script_setup_true_lang-C_N_5zhb.js} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-CeuqoIGZ.mjs → copySystem.vue_vue_type_script_setup_true_lang-Df57dCAa.mjs} +1 -1
- package/dist/{defaults-HhoJzlRC.mjs → defaults-CJPeJ3Ea.mjs} +4 -4
- package/dist/{defaults-B_SmI6iM.js → defaults-cfH50763.js} +1 -1
- package/dist/{dialog-ClULyvsf.mjs → dialog-BVsgowYb.mjs} +1 -1
- package/dist/{dialog-Cwtfg3lO.js → dialog-C7hwgLSN.js} +1 -1
- package/dist/{dialog-Xk36xHuO.js → dialog-CPnknqXK.js} +1 -1
- package/dist/{dialog-C-A0-xiT.js → dialog-DHVJDYKC.js} +1 -1
- package/dist/{dialog-B0wIPvIV.mjs → dialog-DVFdwb7Z.mjs} +1 -1
- package/dist/{dialog-BgHkJRCe.mjs → dialog-RO6JINdg.mjs} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DKdTn5oB.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DtURDbN2.mjs} +2 -2
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-09IWQmRR.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-j73ZcWRU.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CHyAYVa9.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-885q0wF0.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-885q0wF0.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CTcWZbYh.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-Cov6vxFG.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-Cov6vxFG.mjs.gz +0 -0
- package/dist/{dictDialog-V7wMKdxf.js → dictDialog-2RTVO4kM.js} +1 -1
- package/dist/{dictDialog-CZhCbFGx.mjs → dictDialog-DXkjWVrf.mjs} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-N13p5xxG.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BnxxV0UL.mjs} +2 -2
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C4dVJYVN.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-rTokykRH.js} +1 -1
- package/dist/{dictItemDialog-Dsuq80wg.mjs → dictItemDialog-B3BA58Is.mjs} +1 -1
- package/dist/{dictItemDialog-CcL1BhE1.js → dictItemDialog-B46-fYK9.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-Dmg_Lagu.js → dictItemDialog.vue_vue_type_script_setup_true_lang-DH8rP8Ee.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-BSf0Lf99.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-ySZjnO-r.mjs} +2 -2
- package/dist/{formConfig-BUtmPO48.mjs → formConfig-CCLcquGa.mjs} +5 -5
- package/dist/formConfig-CCLcquGa.mjs.gz +0 -0
- package/dist/{formConfig-C46Q047a.js → formConfig-YvjDbN9U.js} +1 -1
- package/dist/formConfig-YvjDbN9U.js.gz +0 -0
- package/dist/{header-hSw1awxx.js → header-4fZ1Ogfi.js} +1 -1
- package/dist/{header-BNfqah0R.mjs → header-DPjNYviC.mjs} +2 -2
- package/dist/{horizontal-DHzs9oWI.js → horizontal-CCZv1_7p.js} +1 -1
- package/dist/{horizontal-CegHE2R_.mjs → horizontal-NBGvXkWc.mjs} +2 -2
- package/dist/{hsAttrBtn-CQLs5OXs.js → hsAttrBtn-_GEeT78h.js} +1 -1
- package/dist/{hsAttrBtn-fIQn3ZfD.mjs → hsAttrBtn-gVh-Bp1u.mjs} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-BEcbwbbc.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-BwB0QK9T.mjs} +3 -3
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DNHjtArk.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-Dw-MUUa5.js} +1 -1
- package/dist/{hsAttrForm-BfmFdbGj.mjs → hsAttrForm-Bo3A_0z7.mjs} +1 -1
- package/dist/{hsAttrForm-cR7m31s5.js → hsAttrForm-C0sfJnGm.js} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-CUJO375x.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-CRYJ0CsA.mjs} +2 -2
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CRYJ0CsA.mjs.gz +0 -0
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-xyqTrMkf.js → hsAttrForm.vue_vue_type_script_setup_true_lang-DNaOiZQz.js} +1 -1
- package/dist/{hsBtnConfigList-AZtC-78f.mjs → hsBtnConfigList-CP4Bwawu.mjs} +1 -1
- package/dist/{hsBtnConfigList-BG4b9OXY.js → hsBtnConfigList-DQA-zeBl.js} +1 -1
- package/dist/{hsBtnItemConfig-DaFaf2mv.mjs → hsBtnItemConfig-CRFIzea5.mjs} +1 -1
- package/dist/{hsBtnItemConfig-BL3q8fWR.js → hsBtnItemConfig-Fjd7sspZ.js} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-B85BQkqt.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CGH6xHmd.mjs} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BO5RIEpi.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DHZUtquH.js} +1 -1
- package/dist/{hsBtnPanel-zjwnU3z2.js → hsBtnPanel-DKlN4YAJ.js} +1 -1
- package/dist/{hsBtnPanel-yyUII2qb.mjs → hsBtnPanel-DZkHPRWe.mjs} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DxbkfBzo.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D58szz3w.js} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DIU3Tkjc.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D8NZY38Y.mjs} +4 -4
- package/dist/{hsExpand-BIxZMMYg.mjs → hsExpand-DeyrRaea.mjs} +1 -1
- package/dist/{hsExpand-DhkDDAMN.js → hsExpand-yOekl3R9.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-Dm6C5OLv.js → hsExpand.vue_vue_type_script_setup_true_lang-BiDNHHjc.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-saa7vH4L.mjs → hsExpand.vue_vue_type_script_setup_true_lang-CaCTxX_N.mjs} +1 -1
- package/dist/{hsFormConfig-COMYUS-i.js → hsFormConfig-Bun69H-j.js} +1 -1
- package/dist/{hsFormConfig-BTNwI16z.mjs → hsFormConfig-XQ8MYhTn.mjs} +1 -1
- package/dist/{hsFormConfigList-CayPuDzp.js → hsFormConfigList-CmgI4S_q.js} +1 -1
- package/dist/{hsFormConfigList-6Yz_Oecf.mjs → hsFormConfigList-DC4iRLXW.mjs} +2 -2
- package/dist/hsFormConfigList-DC4iRLXW.mjs.gz +0 -0
- package/dist/{hsFormPanel-DKdIxxa6.mjs → hsFormPanel-B6e-BVl4.mjs} +5 -5
- package/dist/hsFormPanel-B6e-BVl4.mjs.gz +0 -0
- package/dist/{hsFormPanel-P_BpnKq4.js → hsFormPanel-DopG1WvK.js} +1 -1
- package/dist/{hsFormParse-nHe23aaD.mjs → hsFormParse-DNC1OoX8.mjs} +1 -1
- package/dist/{hsFormParse-D4MlwI5s.js → hsFormParse-nLdic5iq.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-CItAOZU4.js → hsFormParse.vue_vue_type_script_setup_true_lang-D-JN2A0b.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-TwPCFAQ5.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-DkGJrh49.mjs} +1 -1
- package/dist/{hsPanelItem-C7ni72Vp.mjs → hsPanelItem-BaX2j18x.mjs} +1 -1
- package/dist/{hsPanelItem-CP8DafHP.js → hsPanelItem-bTaIb63p.js} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DYqcXRRz.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CN0git7f.mjs} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CKkt78lw.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-rUw-0-zv.js} +1 -1
- package/dist/{iframes-CRnBgMy4.js → iframes-BlAA1n60.js} +1 -1
- package/dist/{iframes-Dnj7pfg4.mjs → iframes-CstlaD72.mjs} +1 -1
- package/dist/{index copy-CZhXyvV6.js → index copy-DBrxkeX8.js } +1 -1
- package/dist/index copy-DBrxkeX8.js.gz +0 -0
- package/dist/{index copy-BdAd7Duw.mjs → index copy-FD_CZ4Sg.mjs } +1 -1
- package/dist/index copy-FD_CZ4Sg.mjs.gz +0 -0
- package/dist/{index-B03cCzZH.js → index-B0jClkJj.js} +1 -1
- package/dist/{index-CXUYSeic.mjs → index-B2N6E_YX.mjs} +3 -3
- package/dist/{index-BqXAO_3Z.js → index-BC1EzD6u.js} +1 -1
- package/dist/{index-VG1BFbMO.js → index-BC65M0zz.js} +1 -1
- package/dist/{index-DuZm-Fnz.mjs → index-BDB3aYQy.mjs} +1 -1
- package/dist/{index-BhMIgk7-.js → index-BDKtjh_U.js} +1 -1
- package/dist/{index-BhMIgk7-.js.gz → index-BDKtjh_U.js.gz} +0 -0
- package/dist/{index-DCl8ubzj.mjs → index-BEA3ej07.mjs} +1 -1
- package/dist/{index-CfrfMNx-.js → index-BMXxarY6.js} +1 -1
- package/dist/{index-B716qVJx.mjs → index-BMY2qdmV.mjs} +1 -1
- package/dist/{index-CZ2Bc4sP.js → index-BSo5VKGF.js} +1 -1
- package/dist/{index-qCpxe643.mjs → index-BUjpR6Wz.mjs} +1 -1
- package/dist/{index-Jfh7OZ8Q.js → index-BUpd6G7H.js} +1 -1
- package/dist/{index-C9Ye1fIh.mjs → index-BXWaU-k-.mjs} +1 -1
- package/dist/index-BXWaU-k-.mjs.gz +0 -0
- package/dist/{index-CQYBpFIc.js → index-BZBrUh1t.js} +1 -1
- package/dist/index-BZBrUh1t.js.gz +0 -0
- package/dist/{index-CNmQUyaL.js → index-BerS25j1.js} +1 -1
- package/dist/{index-BFF1V_Ma.mjs → index-BoXDHfwC.mjs} +3 -3
- package/dist/{index-CnYJY5wL.js → index-Bq1mMXla.js} +1 -1
- package/dist/{index-C6katWpn.mjs → index-BsGnrs5Y.mjs} +1 -1
- package/dist/{index-BPF0gJRF.js → index-Byz0vhsr.js} +1 -1
- package/dist/{index-B9ka906c.mjs → index-C0C2G9Wf.mjs} +2 -2
- package/dist/index-C0C2G9Wf.mjs.gz +0 -0
- package/dist/{index-Bubkt97i.mjs → index-C0Jshy39.mjs} +1 -1
- package/dist/{index-B2XI--w7.mjs → index-C0XS5t8m.mjs} +4 -4
- package/dist/{index-B1g7NEV6.js → index-C0qFnBb4.js} +1 -1
- package/dist/{index-CElkyzT7.js → index-C2uKNhDP.js} +1 -1
- package/dist/{index-fBk16_fV.js → index-C3hBGIPS.js} +1 -1
- package/dist/{index-DCVHAKEI.js → index-C4Emzna5.js} +1 -1
- package/dist/{index-D3Qur_SU.mjs → index-C7nxgjWF.mjs} +1 -1
- package/dist/{index-BR4TIcdt.mjs → index-CB0GXLIU.mjs} +1 -1
- package/dist/{index-DVsjyUxB.mjs → index-CE_LPS1_.mjs} +1 -1
- package/dist/{index-Zrfm2gwr.mjs → index-CMhDa2Ww.mjs} +1 -1
- package/dist/{index-BJcuzDUJ.js → index-CXMa0iaM.js} +1 -1
- package/dist/index-CYcCgabT.mjs +4 -0
- package/dist/{index-m1c_R79y.js → index-Ca5JVqJy.js} +1 -1
- package/dist/{index-ByJ2hM9N.mjs → index-Cc6d9Z-G.mjs} +1 -1
- package/dist/{index-Bxd6jfPx.mjs → index-CdntyOME.mjs} +3 -3
- package/dist/{index-6UJONUzt.js → index-Cs2o1kM-.js} +1 -1
- package/dist/index-Cs2o1kM-.js.gz +0 -0
- package/dist/{index-CziE0qqC.mjs → index-CuEBKqKs.mjs} +2 -2
- package/dist/{index-B4m6x6dZ.js → index-Cxca_9nT.js} +1 -1
- package/dist/{index-jIIZu_ij.js → index-CyDrruZW.js} +1 -1
- package/dist/{index-D-QCmhC1.js → index-D4pomGDa.js} +1 -1
- package/dist/{index-DnSJVaFk.js → index-D7bOPv7a.js} +1 -1
- package/dist/{index-Brx91bqC.js → index-D8B0iDVF.js} +1 -1
- package/dist/{index-BRrRQQe3.js → index-D90JoHXT.js} +1 -1
- package/dist/{index-pmn7YTbs.js → index-DDbhlKBe.js} +1 -1
- package/dist/{index-B9uIO9e2.mjs → index-DEBb06W3.mjs} +3 -3
- package/dist/{index-f31IbDi6.mjs → index-DHhvX6gP.mjs} +2 -2
- package/dist/index-DHhvX6gP.mjs.gz +0 -0
- package/dist/{index-B23XRwCF.mjs → index-DLJwvJzA.mjs} +4 -4
- package/dist/{index-YcAsTrfr.mjs → index-DNfmfCH2.mjs} +4 -4
- package/dist/index-DNfmfCH2.mjs.gz +0 -0
- package/dist/{index-DHs5Mivb.mjs → index-DQH9LH3R.mjs} +1 -1
- package/dist/{index-D9c82Au0.mjs → index-DQ_7RPdq.mjs} +1 -1
- package/dist/{index-B3WcRyqi.mjs → index-DSKac8HP.mjs} +1 -1
- package/dist/{index-YRaYLUpj.mjs → index-DV59wKZS.mjs} +13 -13
- package/dist/{index-YRaYLUpj.mjs.gz → index-DV59wKZS.mjs.gz} +0 -0
- package/dist/{index-DpSCPpmt.mjs → index-DWju7q7d.mjs} +5 -5
- package/dist/{index-COGC1g5N.js → index-DXTmnLJk.js} +1 -1
- package/dist/{index-DdoX1MNs.mjs → index-D_wjvqI6.mjs} +3 -3
- package/dist/index-D_wjvqI6.mjs.gz +0 -0
- package/dist/{index-BRybLJv7.js → index-DbnKgkLs.js} +1 -1
- package/dist/{index-BdkymISO.js → index-DeqzMbYR.js} +1 -1
- package/dist/{index-sInEoGkz.mjs → index-DiOPXKiS.mjs} +1 -1
- package/dist/{index-BaLzRrcp.js → index-Dii82rmb.js} +1 -1
- package/dist/{index-DQTqmsO1.mjs → index-Dj8V9Rtn.mjs} +3 -3
- package/dist/{index-BnBBD1Sq.js → index-Docwli8J.js} +1 -1
- package/dist/{index-DSvd9vKx.mjs → index-Dq__sqwl.mjs} +1 -1
- package/dist/{index-Czsn8LGL.mjs → index-Dw9XGlui.mjs} +1 -1
- package/dist/{index-C1fheejm.mjs → index-Dwl2YSTM.mjs} +2 -2
- package/dist/{index-UnTgoLLR.js → index-Hhrr2RTK.js} +1 -1
- package/dist/{index-Dn0xUAhK.js → index-J8iWPG72.js} +1 -1
- package/dist/{index-BTsCq4dN.js → index-VbkIsax6.js} +1 -1
- package/dist/{index-fqiMtDP9.js → index-ZpO4zNuc.js} +1 -1
- package/dist/{index-Bb_l3DAF.js → index-_ieUd0L5.js} +1 -1
- package/dist/{index-C50XIRoU.mjs → index-e0g1In9m.mjs} +1 -1
- package/dist/{index-D-FXXkLw.mjs → index-gXsDa8-g.mjs} +1 -1
- package/dist/{index-BEsFCVbj.js → index-hZ6iUEPj.js} +1 -1
- package/dist/{index-DSVHqeTU.js → index-qs0H7DKm.js} +4 -4
- package/dist/{index-DSVHqeTU.js.gz → index-qs0H7DKm.js.gz} +0 -0
- package/dist/{index-C2aTOUcp.mjs → index-r8z7Z2Xg.mjs} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DMvCC07e.js → index.vue_vue_type_script_setup_true_lang-BUYjdeHJ.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Bwo-3q_I.mjs → index.vue_vue_type_script_setup_true_lang-CFy4qwO9.mjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-C9DXBMsI.mjs → index.vue_vue_type_script_setup_true_lang-CkqH3JmY.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-CkqH3JmY.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-ITb9ngc5.js → index.vue_vue_type_script_setup_true_lang-CqnI47Ek.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CTgomWe4.js → index.vue_vue_type_script_setup_true_lang-Daof3OEY.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-XM5bZdtO.mjs → index.vue_vue_type_script_setup_true_lang-DdnNXfqd.mjs} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-Czeic8Vr.mjs → index.vue_vue_type_script_setup_true_lang-qVg98vrW.mjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DYAbfJoE.js → index.vue_vue_type_script_setup_true_lang-tYSUHKEl.js} +1 -1
- package/dist/{link-DmXeputc.mjs → link-B4UkDx8D.mjs} +1 -1
- package/dist/{link-CHn6bxoZ.js → link-BUTz6BjF.js} +1 -1
- package/dist/{list-dV0KApnK.mjs → list-BU0qh9xH.mjs} +1 -1
- package/dist/{list-DfBDOTkj.js → list-Bjg_96tv.js} +1 -1
- package/dist/{main-DqeVPx1o.js → main-B-C4ji9f.js} +1 -1
- package/dist/{main-DtEP4UiO.mjs → main-CbHNc7c4.mjs} +3 -3
- package/dist/{mobile-CgD4H9og.js → mobile-BSMXqtV2.js} +1 -1
- package/dist/{mobile-LkLPIF8m.mjs → mobile-BsAMXW4X.mjs} +1 -1
- package/dist/{parent-P-rKIxjh.mjs → parent-BJuxiwrM.mjs} +2 -2
- package/dist/{parent-GlZxFo6A.js → parent-Dxw089QB.js} +1 -1
- package/dist/{popup-DmTz6Fjm.mjs → popup-3dj2f87s.mjs} +1 -1
- package/dist/{popup-BOLjR4fT.js → popup-kePdiaWR.js} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_editorPopup_lang-Hf55Mde3.js → popup.vue_vue_type_script_setup_true_name_editorPopup_lang-CGKQX3v-.js} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_editorPopup_lang-UTSLHdsc.mjs → popup.vue_vue_type_script_setup_true_name_editorPopup_lang-DC72aQx-.mjs} +1 -1
- package/dist/{roleItem-DAHa15oH.js → roleItem--w8aueAN.js} +1 -1
- package/dist/{roleItem-BN5wXRwS.mjs → roleItem-DZzHKH1n.mjs} +1 -1
- package/dist/{saveForm-DnKlTx3i.js → saveForm-BTYt56tq.js} +1 -1
- package/dist/{saveForm-8US9u2oE.mjs → saveForm-DeJ6FpyD.mjs} +2 -2
- package/dist/{scan-CC-wZuQ1.js → scan-B_oc2w2O.js} +1 -1
- package/dist/{scan-CC-wZuQ1.js.gz → scan-B_oc2w2O.js.gz} +0 -0
- package/dist/{scan-OaQBmiWr.mjs → scan-Dhm0MJV1.mjs} +1 -1
- package/dist/scan-Dhm0MJV1.mjs.gz +0 -0
- package/dist/{search-CT4Xm5DL.js → search-BITNyIOZ.js} +1 -1
- package/dist/{search-BC4W2kk8.mjs → search-BW_PYSw-.mjs} +1 -1
- package/dist/{selectConfig-CCqivaES.js → selectConfig-CasoJoS-.js} +1 -1
- package/dist/{selectConfig-BRNIduez.mjs → selectConfig-z2XozQJ1.mjs} +1 -1
- package/dist/selectConfig-z2XozQJ1.mjs.gz +0 -0
- package/dist/{subItem-DoZC0m11.mjs → subItem-DOpmCLF8.mjs} +1 -1
- package/dist/{subItem-pVrip6O8.js → subItem-Dphkcuba.js} +1 -1
- package/dist/{tagsView-BlQngFeb.mjs → tagsView-BUZGI3en.mjs} +2 -2
- package/dist/tagsView-BUZGI3en.mjs.gz +0 -0
- package/dist/{tagsView-CD5Ij6XU.js → tagsView-DKXm4YSX.js} +2 -2
- package/dist/tagsView-DKXm4YSX.js.gz +0 -0
- package/dist/{transverse-ntGZKFln.mjs → transverse-D43Ol-z9.mjs} +3 -3
- package/dist/{transverse-BS3JXBCv.js → transverse-DTLcwd7T.js} +1 -1
- package/dist/{uploadAvatar-C6B-3jLg.mjs → uploadAvatar-DZcYEP8L.mjs} +1 -1
- package/dist/uploadAvatar-DZcYEP8L.mjs.gz +0 -0
- package/dist/{uploadAvatar-hcFOZkhB.js → uploadAvatar-YTX_63xE.js} +1 -1
- package/dist/uploadAvatar-YTX_63xE.js.gz +0 -0
- package/dist/{useSaveForm-BafQ3KFq.js → useSaveForm-CLpu6siv.js} +1 -1
- package/dist/useSaveForm-CLpu6siv.js.gz +0 -0
- package/dist/{useSaveForm-VHloBgqq.mjs → useSaveForm-D3gffH-h.mjs} +1 -1
- package/dist/useSaveForm-D3gffH-h.mjs.gz +0 -0
- package/dist/{user-B7qFm43G.js → user-B9eRlD6E.js} +1 -1
- package/dist/{user-BDyPaTdb.mjs → user-DiMQTZsb.mjs} +4 -4
- package/dist/{userNews-RoinwB5N.mjs → userNews-DEvntIWn.mjs} +1 -1
- package/dist/{userNews-WxdXF7W7.js → userNews-DXdPM01D.js} +1 -1
- package/dist/{userSelect-B13c98K9.js → userSelect-CRnCKslN.js} +1 -1
- package/dist/{userSelect-BwV0AaEK.mjs → userSelect-Cm6zI-1X.mjs} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-C3pGX7Ym.mjs → userSelect.vue_vue_type_script_setup_true_lang-C7Feb5Wn.mjs} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-DvXz7524.js → userSelect.vue_vue_type_script_setup_true_lang-DtZqOatO.js} +1 -1
- package/dist/{vertical-BhRZdUbr.mjs → vertical-D_fUcUMq.mjs} +2 -2
- package/dist/{vertical-TmCS6tMM.js → vertical-owMwImvW.js} +1 -1
- package/package.json +1 -1
- package/dist/404-Cjjyirkv.mjs.gz +0 -0
- package/dist/btnIndex-LII47T6h.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CHyAYVa9.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CTcWZbYh.mjs.gz +0 -0
- package/dist/formConfig-BUtmPO48.mjs.gz +0 -0
- package/dist/formConfig-C46Q047a.js.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CUJO375x.mjs.gz +0 -0
- package/dist/hsFormConfigList-6Yz_Oecf.mjs.gz +0 -0
- package/dist/hsFormPanel-DKdIxxa6.mjs.gz +0 -0
- package/dist/index copy-BdAd7Duw.mjs.gz +0 -0
- package/dist/index copy-CZhXyvV6.js.gz +0 -0
- package/dist/index-6UJONUzt.js.gz +0 -0
- package/dist/index-B9ka906c.mjs.gz +0 -0
- package/dist/index-BbtWli5t.mjs +0 -4
- package/dist/index-C9Ye1fIh.mjs.gz +0 -0
- package/dist/index-CQYBpFIc.js.gz +0 -0
- package/dist/index-DdoX1MNs.mjs.gz +0 -0
- package/dist/index-YcAsTrfr.mjs.gz +0 -0
- package/dist/index-f31IbDi6.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-C9DXBMsI.mjs.gz +0 -0
- package/dist/scan-OaQBmiWr.mjs.gz +0 -0
- package/dist/selectConfig-BRNIduez.mjs.gz +0 -0
- package/dist/tagsView-BlQngFeb.mjs.gz +0 -0
- package/dist/tagsView-CD5Ij6XU.js.gz +0 -0
- package/dist/uploadAvatar-C6B-3jLg.mjs.gz +0 -0
- package/dist/uploadAvatar-hcFOZkhB.js.gz +0 -0
- package/dist/useSaveForm-BafQ3KFq.js.gz +0 -0
- package/dist/useSaveForm-VHloBgqq.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-qs0H7DKm.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-DV59wKZS.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-DV59wKZS.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-qs0H7DKm.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 r=e.resolveComponent("SvgIcon"),i=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}?project=mdss`,key:l.path},{title:e.withCtx((()=>[e.createVNode(r,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(l.meta.title),1)])),default:e.withCtx((()=>[e.createVNode(i,{chil:l.children},null,8,["chil"])])),_:2},1032,["index"])):(e.openBlock(),e.createBlock(m,{index:`${l.path}?project=mdss`,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(r,{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(r,{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-DV59wKZS.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-DcH8pPOz.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-qs0H7DKm.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-DAzgAZKP.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-DLW6T2hY.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-DV59wKZS.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-DPjNYviC.mjs"));
|
10
|
+
const LayoutMain = defineAsyncComponent(() => import("./main-CbHNc7c4.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-qs0H7DKm.js"),t=e.defineComponent({name:"layoutTransverse"}),n=e.defineComponent({...t,setup(t){const n=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./header-4fZ1Ogfi.js"))))),r=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./main-B-C4ji9f.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;
|
@@ -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-DV59wKZS.mjs";
|
4
4
|
const _sfc_main$1 = {
|
5
5
|
data: function() {
|
6
6
|
return {
|
Binary file
|