hs-admin-ui 14.1.5 → 14.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{401-DlTzQcWx.mjs → 401-C1fo1Ee9.mjs} +1 -1
- package/dist/{401-B6Gt1BBO.js → 401-CmvGCQJO.js} +1 -1
- package/dist/{404-CK9J1Lht.mjs → 404-B3pwgTdA.mjs} +1 -1
- package/dist/{404-CK9J1Lht.mjs.gz → 404-B3pwgTdA.mjs.gz} +0 -0
- package/dist/{404-BZUDiZA0.js → 404-V5KqgMur.js} +1 -1
- package/dist/{404-BZUDiZA0.js.gz → 404-V5KqgMur.js.gz} +0 -0
- package/dist/{account-DxqcJLrO.js → account-BgZ5dJUD.js} +1 -1
- package/dist/{account-DmO07g72.mjs → account-BjIQEAmm.mjs} +1 -1
- package/dist/{aside-C4MYDwYM.js → aside-BVho1urD.js} +1 -1
- package/dist/{aside-BOUH-v2L.mjs → aside-Bzq5HiYS.mjs} +3 -3
- package/dist/{auth_test-Yfnh8uB5.mjs → auth_test-06aDaVhu.mjs} +1 -1
- package/dist/{auth_test-AosdDJN2.js → auth_test-CE18wAdl.js} +1 -1
- package/dist/{baseFormConfig-Cyezjhc0.js → baseFormConfig-BoLgmtz5.js} +1 -1
- package/dist/{baseFormConfig-CYgY_ahh.mjs → baseFormConfig-BpLjycjL.mjs} +1 -1
- package/dist/baseFormConfig-BpLjycjL.mjs.gz +0 -0
- package/dist/{baseTableConfig-IyqEQDlH.js → baseTableConfig-cNEG8HEP.js} +1 -1
- package/dist/baseTableConfig-cNEG8HEP.js.gz +0 -0
- package/dist/{baseTableConfig-DvNs67Vo.mjs → baseTableConfig-oj7hBzbC.mjs} +1 -1
- package/dist/baseTableConfig-oj7hBzbC.mjs.gz +0 -0
- package/dist/{bcFormConfig-27Nf6pV-.js → bcFormConfig-B0c99XEq.js} +1 -1
- package/dist/{bcFormConfig-CRsYLZVw.mjs → bcFormConfig-BJDf5fpw.mjs} +1 -1
- package/dist/{bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-k7GGqG52.mjs → bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-D2M641Yt.mjs} +2 -2
- package/dist/{bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-DQGa55TK.js → bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-DVX_8GJa.js} +1 -1
- package/dist/{bcSwitchSystems.vue_vue_type_script_setup_true_lang-BmmmDMHS.js → bcSwitchSystems.vue_vue_type_script_setup_true_lang-DQuLFo28.js} +1 -1
- package/dist/{bcSwitchSystems.vue_vue_type_script_setup_true_lang-2JwyATnG.mjs → bcSwitchSystems.vue_vue_type_script_setup_true_lang-MwenIFYK.mjs} +2 -2
- package/dist/{btnIndex-CS4JKnvB.js → btnIndex-BM5xNdBh.js} +1 -1
- package/dist/{btnIndex-Be_D7pvR.mjs → btnIndex-BX2308V_.mjs} +3 -3
- package/dist/btnIndex-BX2308V_.mjs.gz +0 -0
- package/dist/{classic-By2LXgX1.mjs → classic-BW8BQCbU.mjs} +5 -5
- package/dist/{classic-NhxGlYvx.js → classic-YTvE8k6U.js} +1 -1
- package/dist/{cloneConfigDialog-DqPMAZev.js → cloneConfigDialog-BqaQs6zm.js} +1 -1
- package/dist/cloneConfigDialog-BqaQs6zm.js.gz +0 -0
- package/dist/{cloneConfigDialog-C7YihchH.mjs → cloneConfigDialog-CK3WdAhu.mjs} +3 -3
- package/dist/cloneConfigDialog-CK3WdAhu.mjs.gz +0 -0
- package/dist/{columns-Bt-Epe7a.js → columns-DW_rYQ9A.js} +1 -1
- package/dist/{columns-BG1SgSM-.mjs → columns-wI6aL33I.mjs} +5 -5
- package/dist/{columnsAside-spkka3Gp.js → columnsAside-CNT6EpkS.js} +1 -1
- package/dist/{columnsAside-CmXCEjrm.mjs → columnsAside-p48zJ-P8.mjs} +1 -1
- package/dist/{contextmenu-DuNZHCkZ.mjs → contextmenu-CDmROmpa.mjs} +1 -1
- package/dist/{contextmenu-B77TIwEO.js → contextmenu-D36Nl_y7.js} +1 -1
- package/dist/{contextmenu-Be9QH_gu.js → contextmenu-DcnbyL66.js} +1 -1
- package/dist/{contextmenu-D4Ca30De.mjs → contextmenu-rTUnaysL.mjs} +1 -1
- package/dist/{copyMenuConfig-DOLa4oSX.mjs → copyMenuConfig-CFcQzRtT.mjs} +1 -1
- package/dist/{copyMenuConfig-Dqc1yixS.js → copyMenuConfig-owgVbo45.js} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-DMILWbAb.js → copyMenuConfig.vue_vue_type_script_setup_true_lang-PdcZJoGC.js} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-B3nN1NGh.mjs → copyMenuConfig.vue_vue_type_script_setup_true_lang-vFbNjfao.mjs} +2 -2
- package/dist/{copySystem-Db0ua4ST.mjs → copySystem-C80xx2x6.mjs} +1 -1
- package/dist/{copySystem-CrXjfz6E.js → copySystem-D61ZE3_F.js} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-CFJcf0XG.js → copySystem.vue_vue_type_script_setup_true_lang-BD_IDJeK.js} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-DbklrHKI.mjs → copySystem.vue_vue_type_script_setup_true_lang-C4QgVX32.mjs} +2 -2
- package/dist/{defaults-CNaVz9md.mjs → defaults-RgEU7StW.mjs} +4 -4
- package/dist/{defaults-DnszYI94.js → defaults-TCkwGR5s.js} +1 -1
- package/dist/{dialog-BSpZDs72.js → dialog-BrpUPb-i.js} +1 -1
- package/dist/{dialog-CkA49l_n.js → dialog-CoiMvFGq.js} +1 -1
- package/dist/{dialog-BVFjUT2p.mjs → dialog-CrdTUaX_.mjs} +1 -1
- package/dist/{dialog-JiJEyMkA.mjs → dialog-D4d2ZlOA.mjs} +1 -1
- package/dist/{dialog-kc7UwQR0.js → dialog-DFSmO89U.js} +1 -1
- package/dist/{dialog-CNnpgNmL.mjs → dialog-Fq2KNk3i.mjs} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-3TrusA6k.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BkflM-nL.mjs} +3 -3
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-wILXWkkq.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CCnlv8t2.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B5mqQ9At.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BH7OBNfK.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BH7OBNfK.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DvMQttcb.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-Bk5FEFzE.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-Bk5FEFzE.mjs.gz +0 -0
- package/dist/{dictDialog-EzqHXiJW.mjs → dictDialog-BoDJBFRY.mjs} +1 -1
- package/dist/{dictDialog-D0zkGiXf.js → dictDialog-C_WQ2KEP.js} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CA7LgywB.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CKRxNiAt.mjs} +2 -2
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-D8XvPJDl.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CP254yjn.js} +1 -1
- package/dist/{dictItemDialog-Cg8ZZCmp.js → dictItemDialog-BRv1R2BM.js} +1 -1
- package/dist/{dictItemDialog-DfR8NALi.mjs → dictItemDialog-CA8iZn2R.mjs} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-DTH6qoD-.js → dictItemDialog.vue_vue_type_script_setup_true_lang-B_8xwDpw.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-BDJTp-fY.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-TW9rvRFM.mjs} +2 -2
- package/dist/{formConfig-CwNAsrX0.mjs → formConfig-DINRB7lK.mjs} +6 -6
- package/dist/formConfig-DINRB7lK.mjs.gz +0 -0
- package/dist/{formConfig-C3heMQM8.js → formConfig-Dy5mpMAi.js} +1 -1
- package/dist/formConfig-Dy5mpMAi.js.gz +0 -0
- package/dist/{header-BAhR0p0F.mjs → header-6YKu0hIE.mjs} +2 -2
- package/dist/{header-DtR04MZG.js → header-CdlssXqq.js} +1 -1
- package/dist/{horizontal-CeIL8vyY.mjs → horizontal-9NXZQGsU.mjs} +2 -2
- package/dist/{horizontal-DnZca44Z.js → horizontal-wlaaAVd7.js} +1 -1
- package/dist/{hsAttrBtn-BlvV-jug.js → hsAttrBtn-BApTqqLC.js} +1 -1
- package/dist/{hsAttrBtn-BB6qkk2f.mjs → hsAttrBtn-BHHAe9Hi.mjs} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DPBHB9d2.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-BoKjDkpd.mjs} +4 -4
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-D9UiVxWJ.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-xsD5yCWh.js} +1 -1
- package/dist/{hsAttrForm-Cb77uaQh.mjs → hsAttrForm-CG0Tk0XH.mjs} +1 -1
- package/dist/{hsAttrForm-BAH2iYMW.js → hsAttrForm-CpZ9heKf.js} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-BJS-KT3Z.js → hsAttrForm.vue_vue_type_script_setup_true_lang-B1_ak3Dg.js} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-0gVblkUj.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-BemuLgdo.mjs} +4 -4
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-BemuLgdo.mjs.gz +0 -0
- package/dist/{hsBtnConfigList-C2vrkG9T.mjs → hsBtnConfigList-CX74siZJ.mjs} +1 -1
- package/dist/{hsBtnConfigList-DXluMcEc.js → hsBtnConfigList-glGUiNB_.js} +1 -1
- package/dist/{hsBtnItemConfig-B9dMvc6c.mjs → hsBtnItemConfig-CHLuXvE_.mjs} +1 -1
- package/dist/{hsBtnItemConfig-DGACuJCc.js → hsBtnItemConfig-DNFtWgkA.js} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DLBHpP8Z.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CuxJHgTA.mjs} +3 -3
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-D5PMVL8h.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-D5BLkh9z.js} +1 -1
- package/dist/{hsBtnPanel-FU8kYzh7.js → hsBtnPanel-BA6kcBpq.js} +1 -1
- package/dist/{hsBtnPanel-p0C1asVl.mjs → hsBtnPanel-CBOTPA7g.mjs} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-j8AaXzp4.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B8407ihv.js} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BEtTbmfz.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CVkn-tXk.mjs} +4 -4
- package/dist/{hsExpand-BRIyu2hI.js → hsExpand-D2HrM_Zm.js} +1 -1
- package/dist/{hsExpand-l23IPHoG.mjs → hsExpand-D_re98eu.mjs} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-DL3QTMrD.mjs → hsExpand.vue_vue_type_script_setup_true_lang-BgDzpcPf.mjs} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-Wnrq3fmx.js → hsExpand.vue_vue_type_script_setup_true_lang-CrsQKuEL.js} +1 -1
- package/dist/{hsFormConfig-DiJ9x2H6.mjs → hsFormConfig-CPbOKOM7.mjs} +1 -1
- package/dist/{hsFormConfig-D8-SZhvz.js → hsFormConfig-l8oHdRq3.js} +1 -1
- package/dist/{hsFormConfigList-BaslTlfh.mjs → hsFormConfigList-12sPdkhD.mjs} +2 -2
- package/dist/hsFormConfigList-12sPdkhD.mjs.gz +0 -0
- package/dist/{hsFormConfigList-DBGjfVVH.js → hsFormConfigList-CJq2liH9.js} +1 -1
- package/dist/{hsFormPanel-D-u3hnqz.mjs → hsFormPanel-BQey4cCE.mjs} +6 -6
- package/dist/hsFormPanel-BQey4cCE.mjs.gz +0 -0
- package/dist/{hsFormPanel-BH2AIqko.js → hsFormPanel-C6DjvXwJ.js} +1 -1
- package/dist/{hsFormParse-BPyHg-gV.mjs → hsFormParse-CcTuSOGY.mjs} +1 -1
- package/dist/{hsFormParse-nD9_LM41.js → hsFormParse-DjpeifqY.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-3hnrizgg.js → hsFormParse.vue_vue_type_script_setup_true_lang-Bpz9sJP1.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-nFokvS8U.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-CCgviFCh.mjs} +3 -3
- package/dist/{hsPanelItem-DqxkWkhT.js → hsPanelItem-DiHrmG57.js} +1 -1
- package/dist/{hsPanelItem-C28V77VF.mjs → hsPanelItem-dVgbR0x6.mjs} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-N3setjfo.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CK-OnO-V.js} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-xCr2xdqd.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CzqGk_0Q.mjs} +1 -1
- package/dist/{index copy-Bsugs3op.js → index copy-CjdezOs5.js } +1 -1
- package/dist/{index copy-B63EPe-i.mjs → index copy-DeDyxhqA.mjs } +1 -1
- package/dist/index copy-DeDyxhqA.mjs.gz +0 -0
- package/dist/{index copy-D11o6JaI.mjs → index copy-YTmZnQMW.mjs } +1 -1
- package/dist/{index copy-jzlU2Pan.js → index copy-kV-9XyYx.js } +1 -1
- package/dist/index copy-kV-9XyYx.js.gz +0 -0
- package/dist/{index-2SPNRGyY.js → index-24Hz-2D1.js} +1 -1
- package/dist/{index-BcM_u1Jd.js → index-2n93UQV6.js} +1 -1
- package/dist/{index-jpxIL5t5.mjs → index-4lYocuFR.mjs} +4 -4
- package/dist/index-4lYocuFR.mjs.gz +0 -0
- package/dist/{index-J4zi_7gi.js → index-5AxYOMSq.js} +1 -1
- package/dist/{index-DodcVJmo.mjs → index-5CBOrfsv.mjs} +1 -1
- package/dist/{index-2WzWYua5.mjs → index-5a8KYSrI.mjs} +1 -1
- package/dist/{index-BdIL_F0Y.mjs → index-5j3wMrcv.mjs} +10 -10
- package/dist/index-5j3wMrcv.mjs.gz +0 -0
- package/dist/{index-BLU8_9p1.js → index-6UBAl6cT.js} +1 -1
- package/dist/{index-GS8b5CM-.mjs → index-7OqWsTxe.mjs} +1 -1
- package/dist/{index-CoPxeNyo.mjs → index-8F8Ok-Fk.mjs} +1 -1
- package/dist/{index-BXlNjJXI.mjs → index-A4MbEgM3.mjs} +1 -1
- package/dist/{index-TsjJKV8k.js → index-B3Hwfp0c.js} +1 -1
- package/dist/{index-Bf1Z2Xeh.mjs → index-B62YUbjs.mjs} +1 -1
- package/dist/{index-DsVfOAtO.mjs → index-B7hOk0dk.mjs} +1 -1
- package/dist/{index-BPRP3Z7S.mjs → index-B9-QqDeF.mjs} +4 -4
- package/dist/{index-Dmxaba_w.js → index-B9e0i3dk.js} +1 -1
- package/dist/{index-C636Yb-C.js → index-BAGyULNg.js} +1 -1
- package/dist/index-BAGyULNg.js.gz +0 -0
- package/dist/{index-fu8hzB0f.js → index-BBeGio6C.js} +1 -1
- package/dist/{index-B2Pdyl8m.js → index-BCS54nSP.js} +1 -1
- package/dist/{index-Bg8dwnf5.mjs → index-BFVA4nsk.mjs} +3 -3
- package/dist/{index-DVtP_cym.js → index-BGJ4s9Bj.js} +1 -1
- package/dist/{index-Bb6J9hrE.js → index-BVpIm9uz.js} +1 -1
- package/dist/{index-DAM-8m0H.mjs → index-BWGW-vOY.mjs} +4 -4
- package/dist/{index-kRuUMzpO.mjs → index-BWVQx4Fm.mjs} +4 -4
- package/dist/index-BWVQx4Fm.mjs.gz +0 -0
- package/dist/{index-CmuDetM9.js → index-B_9tFtNI.js} +1 -1
- package/dist/{index-B2gHgP5U.js → index-Ba7qsgd5.js} +1 -1
- package/dist/{index-B8mBlIPl.js → index-Bg6q2Skr.js} +1 -1
- package/dist/{index-40ZEW-_d.js → index-BmTgzUVC.js} +1 -1
- package/dist/{index-B__eGtdE.js → index-BndQptXx.js} +1 -1
- package/dist/{index-CtUUjYHh.mjs → index-Bsgatnf_.mjs} +4 -4
- package/dist/{index-D2d4G4X1.mjs → index-BzioiVZF.mjs} +1 -1
- package/dist/{index-B9elssRc.js → index-C-1V4LW9.js} +1 -1
- package/dist/{index-B9y9M3xC.js → index-C6ZtmFzx.js} +5 -5
- package/dist/{index-B9y9M3xC.js.gz → index-C6ZtmFzx.js.gz} +0 -0
- package/dist/{index-Lq9zMsTt.mjs → index-C99oj96k.mjs} +5 -5
- package/dist/{index-DADvF5dT.js → index-C9JdB7Oi.js} +1 -1
- package/dist/{index--e9yfN0g.js → index-CAClQk0v.js} +1 -1
- package/dist/{index-HMLLIsd1.mjs → index-CENI5Xid.mjs} +1 -1
- package/dist/{index-DbQ8kVWi.js → index-CGtii6Rc.js} +1 -1
- package/dist/{index-D_9RBAjV.js → index-CNK1WtsB.js} +1 -1
- package/dist/{index-BtWUtpw4.mjs → index-CRvupHkd.mjs} +1 -1
- package/dist/{index-CNj96cdw.js → index-CSXzwK02.js} +1 -1
- package/dist/{index-B5uicGSF.js → index-Cg5zFAH_.js} +1 -1
- package/dist/{index-DOkmDyDh.mjs → index-Ci808FyL.mjs} +1 -1
- package/dist/{index-BVGQhHqq.js → index-Ck988VVZ.js} +1 -1
- package/dist/{index-1pkIaqYQ.js → index-CmdxeZZ0.js} +1 -1
- package/dist/{index-BL-Ai75x.js → index-CpGW2rQl.js} +1 -1
- package/dist/{index-CF2mCfQN.mjs → index-CrEPJXoG.mjs} +24 -14
- package/dist/{index-CF2mCfQN.mjs.gz → index-CrEPJXoG.mjs.gz} +0 -0
- package/dist/{index-DHss0bCi.mjs → index-D0kreJhr.mjs} +1 -1
- package/dist/{index-C4CaJ5qB.js → index-D2zJGMQR.js} +1 -1
- package/dist/{index-CaxsgCsM.js → index-D5gzvtXQ.js} +1 -1
- package/dist/{index-G6O4-1bY.mjs → index-DCiFhItJ.mjs} +1 -1
- package/dist/{index-Bzf5JDfw.mjs → index-DIRtaZSD.mjs} +1 -1
- package/dist/{index-Blwmz8Tq.mjs → index-DNjQnyyR.mjs} +1 -1
- package/dist/{index-B7RUlQx0.mjs → index-DPQ2qo4I.mjs} +5 -5
- package/dist/{index-Dk2X3Of8.mjs → index-DSznlijf.mjs} +1 -1
- package/dist/{index-DQICwBz9.mjs → index-DUwXCcQE.mjs} +3 -3
- package/dist/{index-eDhyD4yT.mjs → index-DXgQrcNV.mjs} +1 -1
- package/dist/{index-CSWeImBG.js → index-DccWmci1.js} +1 -1
- package/dist/{index-_3VRwBx5.mjs → index-DddLss63.mjs} +2 -2
- package/dist/{index-en6vyZks.js → index-DfbVNH3x.js} +1 -1
- package/dist/{index-C7cbuor2.js → index-DnfvyLxX.js} +1 -1
- package/dist/{index-DvFgw9Z7.js → index-DoFKuiNk.js} +1 -1
- package/dist/{index-DszkLnAN.js → index-Dp0n7XUS.js} +1 -1
- package/dist/index-Dp0n7XUS.js.gz +0 -0
- package/dist/{index-A4qBeznw.mjs → index-Dv_XrY67.mjs} +1 -1
- package/dist/{index-Bck4qEuO.mjs → index-F93bAjet.mjs} +3 -3
- package/dist/{index-DhIKdvON.js → index-IrETz_z-.js} +1 -1
- package/dist/{index-BUaPPPfA.js → index-Vc9iRJnP.js} +1 -1
- package/dist/{index-BDvPDVZD.mjs → index-ZEe3W2Bo.mjs} +1 -1
- package/dist/{index-ZUDNYDAX.js → index-drgT2soY.js} +1 -1
- package/dist/{index-CydHOgIu.mjs → index-epEseXd9.mjs} +4 -4
- package/dist/{index-DRlwedHP.mjs → index-hHzggMnZ.mjs} +1 -1
- package/dist/{index-D_qbOb2o.mjs → index-i62pQsJ5.mjs} +2 -2
- package/dist/index-i62pQsJ5.mjs.gz +0 -0
- package/dist/{index-DU3IuQa8.mjs → index-jXRLcHu5.mjs} +1 -1
- package/dist/{index-BAiUL9Qd.mjs → index-uk8AdeqL.mjs} +1 -1
- package/dist/{index-R3WaW5gx.js → index-zN6j2TdP.js} +1 -1
- package/dist/{index-D7cLm0Oc.mjs → index-zP4kqb3L.mjs} +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-P3H2htE7.js → index.vue_vue_type_script_setup_true_lang-BCValE4D.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DOtq00-i.js → index.vue_vue_type_script_setup_true_lang-BDKEvYw1.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CP_CNsiv.js → index.vue_vue_type_script_setup_true_lang-BdjAIFMY.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-umOacTOB.mjs → index.vue_vue_type_script_setup_true_lang-CKbmg7al.mjs} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-D8mnBG04.mjs → index.vue_vue_type_script_setup_true_lang-DBbWKQqr.mjs} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-CW5S00SU.js → index.vue_vue_type_script_setup_true_lang-eEJ8rdQb.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BAnMmVeD.mjs → index.vue_vue_type_script_setup_true_lang-k5FRP4dP.mjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CGnCnn6W.mjs → index.vue_vue_type_script_setup_true_lang-mDhSumg9.mjs} +3 -3
- package/dist/index.vue_vue_type_script_setup_true_lang-mDhSumg9.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_name_iconSelector_lang-0bAFEzw0.mjs → index.vue_vue_type_script_setup_true_name_iconSelector_lang-ClwtYDLd.mjs} +2 -2
- package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-ClwtYDLd.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_name_iconSelector_lang-Chr01ABS.js → index.vue_vue_type_script_setup_true_name_iconSelector_lang-DcmJy4sz.js} +1 -1
- package/dist/{link-GnA5kA_w.mjs → link-Dg8XTkKd.mjs} +1 -1
- package/dist/{link-BW1_J5iF.js → link-GloiANOA.js} +1 -1
- package/dist/{list-50PiJZ1M.js → list-CZsLtnH-.js} +1 -1
- package/dist/{list-XKH1Y-Gt.mjs → list-TTS8lSS2.mjs} +1 -1
- package/dist/{main-DpLKtSqL.mjs → main-BdtraM2J.mjs} +3 -3
- package/dist/{main-IEl7qv2y.js → main-DoFOkirw.js} +1 -1
- package/dist/{mobile-01W9Q7Mw.mjs → mobile-B9WWssCY.mjs} +1 -1
- package/dist/{mobile-CKkh4M_Q.js → mobile-Cn3lh0cv.js} +1 -1
- package/dist/{parent-C822aqcE.js → parent-DFigT0a1.js} +1 -1
- package/dist/{parent-YvGjNvOq.mjs → parent-De0M1Dhp.mjs} +1 -1
- package/dist/{popup-J5YX6i9M.js → popup-BtcoSS8z.js} +1 -1
- package/dist/{popup-C30QS_PG.mjs → popup-DexJN1u1.mjs} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_replaceRules_lang-Du8pGlsS.js → popup.vue_vue_type_script_setup_true_name_replaceRules_lang-C-AC8V0u.js} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_replaceRules_lang-B33MYHVD.mjs → popup.vue_vue_type_script_setup_true_name_replaceRules_lang-CeNulFwh.mjs} +1 -1
- package/dist/{roleItem-DhkfppkQ.js → roleItem-CEz8Mel-.js} +1 -1
- package/dist/{roleItem-DmgN6Pon.mjs → roleItem-CmivusPN.mjs} +1 -1
- package/dist/{saveForm-DSr8i1tX.mjs → saveForm-CV2PNZXF.mjs} +3 -3
- package/dist/{saveForm-BpCYpsvf.js → saveForm-DXepv2eu.js} +1 -1
- package/dist/{scan-CohHPKlG.js → scan-CI1FJLhq.js} +1 -1
- package/dist/scan-CI1FJLhq.js.gz +0 -0
- package/dist/{scan-DqnZouUd.mjs → scan-CjCzGMqQ.mjs} +1 -1
- package/dist/scan-CjCzGMqQ.mjs.gz +0 -0
- package/dist/{search-BpJHncEk.mjs → search-BtNxEGkY.mjs} +1 -1
- package/dist/{search-CnSlA3Ag.js → search-D8IumqEb.js} +1 -1
- package/dist/{selectConfig-qOORWJ7W.js → selectConfig-CxUMmZB3.js} +1 -1
- package/dist/{selectConfig-BKerbAWt.mjs → selectConfig-lviR_DDb.mjs} +1 -1
- package/dist/selectConfig-lviR_DDb.mjs.gz +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/{subItem-B9Yb3NSo.mjs → subItem-B_l-VWeB.mjs} +1 -1
- package/dist/{subItem-fYYTFedC.js → subItem-BlI0bWhX.js} +1 -1
- package/dist/{tagsView-Bnxznihl.js → tagsView-CByRSByq.js} +2 -2
- package/dist/tagsView-CByRSByq.js.gz +0 -0
- package/dist/{tagsView-D-XWLga_.mjs → tagsView-DWrfJj5F.mjs} +2 -2
- package/dist/tagsView-DWrfJj5F.mjs.gz +0 -0
- package/dist/{transverse-CEZvX5WR.mjs → transverse-DqSj9Aep.mjs} +3 -3
- package/dist/{transverse-Cs4Gok7G.js → transverse-XOfZa-mm.js} +1 -1
- package/dist/types/components/business/bcForm/type.d.ts +7 -3
- package/dist/types/components/business/bcTable/utils/type.d.ts +4 -0
- package/dist/types/components/business/bcTable/utils/useTable.d.ts +1 -0
- package/dist/types/utils/tree.d.ts +7 -4
- package/dist/{uploadAvatar-C9hbi2Ba.js → uploadAvatar-D1crUQ_y.js} +1 -1
- package/dist/uploadAvatar-D1crUQ_y.js.gz +0 -0
- package/dist/{uploadAvatar-ukxgOTaM.mjs → uploadAvatar-Dr8gHXIZ.mjs} +1 -1
- package/dist/uploadAvatar-Dr8gHXIZ.mjs.gz +0 -0
- package/dist/{user-CpAXbw5w.js → user-DYUqdJuQ.js} +1 -1
- package/dist/{user-B28s_-yv.mjs → user-hchVGuJM.mjs} +3 -3
- package/dist/{userNews-BbzYdlWK.mjs → userNews-COoLDMRZ.mjs} +1 -1
- package/dist/{userNews-DNhJRAsp.js → userNews-grCVCEIC.js} +1 -1
- package/dist/{userSelect-Br6crkA7.mjs → userSelect-BKqTJrRh.mjs} +1 -1
- package/dist/{userSelect-D6KXxwne.js → userSelect-Fn3AgDI6.js} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-BNRidRNi.mjs → userSelect.vue_vue_type_script_setup_true_lang-C3ma2fiF.mjs} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-DbqDyG-Z.js → userSelect.vue_vue_type_script_setup_true_lang-DmNGa8rt.js} +1 -1
- package/dist/{vertical-CHCAVsJj.mjs → vertical-Dl9ebRVS.mjs} +2 -2
- package/dist/{vertical-D5wbfP97.js → vertical-iD-kONVK.js} +1 -1
- package/package.json +1 -1
- package/dist/baseFormConfig-CYgY_ahh.mjs.gz +0 -0
- package/dist/baseTableConfig-DvNs67Vo.mjs.gz +0 -0
- package/dist/baseTableConfig-IyqEQDlH.js.gz +0 -0
- package/dist/btnIndex-Be_D7pvR.mjs.gz +0 -0
- package/dist/cloneConfigDialog-C7YihchH.mjs.gz +0 -0
- package/dist/cloneConfigDialog-DqPMAZev.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B5mqQ9At.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DvMQttcb.mjs.gz +0 -0
- package/dist/formConfig-C3heMQM8.js.gz +0 -0
- package/dist/formConfig-CwNAsrX0.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-0gVblkUj.mjs.gz +0 -0
- package/dist/hsFormConfigList-BaslTlfh.mjs.gz +0 -0
- package/dist/hsFormPanel-D-u3hnqz.mjs.gz +0 -0
- package/dist/index copy-B63EPe-i.mjs.gz +0 -0
- package/dist/index copy-jzlU2Pan.js.gz +0 -0
- package/dist/index-BdIL_F0Y.mjs.gz +0 -0
- package/dist/index-C636Yb-C.js.gz +0 -0
- package/dist/index-D_qbOb2o.mjs.gz +0 -0
- package/dist/index-DszkLnAN.js.gz +0 -0
- package/dist/index-jpxIL5t5.mjs.gz +0 -0
- package/dist/index-kRuUMzpO.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-CGnCnn6W.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-0bAFEzw0.mjs.gz +0 -0
- package/dist/scan-CohHPKlG.js.gz +0 -0
- package/dist/scan-DqnZouUd.mjs.gz +0 -0
- package/dist/selectConfig-BKerbAWt.mjs.gz +0 -0
- package/dist/tagsView-Bnxznihl.js.gz +0 -0
- package/dist/tagsView-D-XWLga_.mjs.gz +0 -0
- package/dist/test/images/merge.png +0 -0
- package/dist/test/images/symbols/event.png +0 -0
- package/dist/uploadAvatar-C9hbi2Ba.js.gz +0 -0
- package/dist/uploadAvatar-ukxgOTaM.mjs.gz +0 -0
package/dist/style.css.gz
CHANGED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, createElementBlock, openBlock, Fragment, renderList, createBlock, withCtx, createVNode, createElementVNode, toDisplayString, withModifiers, createTextVNode } from "vue";
|
|
2
|
-
import { a0 as other } from "./index-
|
|
2
|
+
import { a0 as other } from "./index-CrEPJXoG.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-C6ZtmFzx.js"),n=["onClick"],l=e.defineComponent({name:"navMenuSubItem"}),o=e.defineComponent({...l,props:{chil:{type:Array,default:()=>[]}},setup(l){const o=l,a=e.computed((()=>o.chil));return(l,o)=>{const i=e.resolveComponent("SvgIcon"),r=e.resolveComponent("sub-item",!0),c=e.resolveComponent("el-sub-menu"),m=e.resolveComponent("el-menu-item");return e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[l.children&&l.children.length>0?(e.openBlock(),e.createBlock(c,{index:`${l.path}?project=his`,key:l.path},{title:e.withCtx((()=>[e.createVNode(i,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(l.meta.title),1)])),default:e.withCtx((()=>[e.createVNode(r,{chil:l.children},null,8,["chil"])])),_:2},1032,["index"])):(e.openBlock(),e.createBlock(m,{index:`${l.path}?project=his`,key:l.path},{default:e.withCtx((()=>[!l.meta.isLink||l.meta.isLink&&l.meta.isIframe?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(i,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(l.meta.title),1)],64)):(e.openBlock(),e.createElementBlock("a",{key:1,class:"w100",onClick:e.withModifiers((e=>(e=>{t.other.handleOpenLink(e)})(l)),["prevent"])},[e.createVNode(i,{name:l.meta.icon},null,8,["name"]),e.createTextVNode(" "+e.toDisplayString(l.meta.title),1)],8,n))])),_:2},1032,["index"]))],64)))),256)}}});exports.default=o;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("vue-router"),n=require("pinia"),o=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("vue-router"),n=require("pinia"),o=require("./index-C6ZtmFzx.js");
|
|
2
2
|
/**!
|
|
3
3
|
* Sortable 1.15.6
|
|
4
4
|
* @author RubaXa <trash@rubaxa.org>
|
|
5
5
|
* @author owenm <owen23355@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
*/
|
|
8
|
-
function i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function r(e){return(r="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 l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return s=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},s.apply(this,arguments)}function u(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 c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var d=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),h=c(/Edge/i),p=c(/firefox/i),f=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),m=c(/iP(ad|od|hone)/i),g=c(/chrome/i)&&c(/android/i),v={capture:!1,passive:!1};function b(e,t,n){e.addEventListener(t,n,!d&&v)}function w(e,t,n){e.removeEventListener(t,n,!d&&v)}function y(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 D(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function S(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&y(e,t):y(e,t))||o&&e===n)return e;if(e===n)break}while(e=D(e))}return null}var E,C=/\s+/g;function _(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(C," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(C," ")}}function T(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 x(e,t){var n="";if("string"==typeof e)n=e;else do{var o=T(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 k(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 V(){var e=document.scrollingElement;return e||document.documentElement}function O(e,t,n,o,i){if(e.getBoundingClientRect||e===window){var a,r,l,s,u,c,h;if(e!==window&&e.parentNode&&e!==V()?(r=(a=e.getBoundingClientRect()).top,l=a.left,s=a.bottom,u=a.right,c=a.height,h=a.width):(r=0,l=0,s=window.innerHeight,u=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!d))do{if(i&&i.getBoundingClientRect&&("none"!==T(i,"transform")||n&&"static"!==T(i,"position"))){var p=i.getBoundingClientRect();r-=p.top+parseInt(T(i,"border-top-width")),l-=p.left+parseInt(T(i,"border-left-width")),s=r+a.height,u=l+a.width;break}}while(i=i.parentNode);if(o&&e!==window){var f=x(i||e),m=f&&f.a,g=f&&f.d;f&&(s=(r/=g)+(c/=g),u=(l/=m)+(h/=m))}return{top:r,left:l,bottom:s,right:u,width:h,height:c}}}function A(e,t,n){for(var o=N(e,!0),i=O(e)[t];o;){if(!(i>=O(o)[n]))return o;if(o===V())break;o=N(o,!1)}return!1}function L(e,t,n,o){for(var i=0,a=0,r=e.children;a<r.length;){if("none"!==r[a].style.display&&r[a]!==Xe.ghost&&(o||r[a]!==Xe.dragged)&&S(r[a],n.draggable,e,!1)){if(i===t)return r[a];i++}a++}return null}function P(e,t){for(var n=e.lastElementChild;n&&(n===Xe.ghost||"none"===T(n,"display")||t&&!y(n,t));)n=n.previousElementSibling;return n||null}function I(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Xe.clone||t&&!y(e,t)||n++;return n}function M(e){var t=0,n=0,o=V();if(e)do{var i=x(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 N(e,t){if(!e||!e.getBoundingClientRect)return V();var n=e,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=T(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 V();if(o||t)return n;o=!0}}}while(n=n.parentNode);return V()}function R(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 B(e,t){return function(){if(!E){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),E=setTimeout((function(){E=void 0}),t)}}}function q(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function X(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 Y(e,t,n){var o={};return Array.from(e.children).forEach((function(i){var a,r,l,s;if(S(i,t.draggable,e,!1)&&!i.animated&&i!==n){var u=O(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 j="Sortable"+(new Date).getTime();function F(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==T(e,"display")&&e!==Xe.ghost){t.push({target:e,rect:O(e)});var n=a({},t[t.length-1].rect);if(e.thisAnimationDuration){var o=x(e,!0);o&&(n.top-=o.f,n.left-=o.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=O(n),s=n.prevFromRect,u=n.prevToRect,c=e.rect,d=x(n,!0);d&&(l.top-=d.f,l.left-=d.e),n.toRect=l,n.thisAnimationDuration&&R(s,l)&&!R(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)),R(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){T(e,"transition",""),T(e,"transform","");var i=x(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,T(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),T(e,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),T(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){T(e,"transition",""),T(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),o)}}}}var H=[],W={initializeByDefault:!0},U={mount:function(e){for(var t in W)W.hasOwnProperty(t)&&!(t in e)&&(e[t]=W[t]);H.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),H.push(e)},pluginEvent:function(e,t,n){var o=this;this.eventCanceled=!1,n.cancel=function(){o.eventCanceled=!0};var i=e+"Global";H.forEach((function(o){t[o.pluginName]&&(t[o.pluginName][i]&&t[o.pluginName][i](a({sortable:t},n)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](a({sortable:t},n)))}))},initializePlugins:function(e,t,n,o){for(var i in H.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,s(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 H.forEach((function(o){"function"==typeof o.eventProperties&&s(n,o.eventProperties.call(t[o.pluginName],e))})),n},modifyOption:function(e,t,n){var o;return H.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(o=i.optionListeners[t].call(e[i.pluginName],n))})),o}};var z=["evt"],$=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.evt,i=u(n,z);U.pluginEvent.bind(Xe)(e,t,a({dragEl:K,parentEl:Z,ghostEl:Q,rootEl:J,nextEl:ee,lastDownEl:te,cloneEl:ne,cloneHidden:oe,dragStarted:ge,putSortable:ue,activeSortable:Xe.active,originalEvent:o,oldIndex:ie,oldDraggableIndex:re,newIndex:ae,newDraggableIndex:le,hideGhostForTarget:Ne,unhideGhostForTarget:Re,cloneNowHidden:function(){oe=!0},cloneNowShown:function(){oe=!1},dispatchSortableEvent:function(e){G({sortable:t,name:e,originalEvent:o})}},i))};function G(e){!function(e){var t=e.sortable,n=e.rootEl,o=e.name,i=e.targetEl,r=e.cloneEl,l=e.toEl,s=e.fromEl,u=e.oldIndex,c=e.newIndex,p=e.oldDraggableIndex,f=e.newDraggableIndex,m=e.originalEvent,g=e.putSortable,v=e.extraEventProperties;if(t=t||n&&n[j]){var b,w=t.options,y="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||d||h?(b=document.createEvent("Event")).initEvent(o,!0,!0):b=new CustomEvent(o,{bubbles:!0,cancelable:!0}),b.to=l||n,b.from=s||n,b.item=i||n,b.clone=r,b.oldIndex=u,b.newIndex=c,b.oldDraggableIndex=p,b.newDraggableIndex=f,b.originalEvent=m,b.pullMode=g?g.lastPutMode:void 0;var D=a(a({},v),U.getEventProperties(o,t));for(var S in D)b[S]=D[S];n&&n.dispatchEvent(b),w[y]&&w[y].call(t,b)}}(a({putSortable:ue,cloneEl:ne,targetEl:K,rootEl:J,oldIndex:ie,oldDraggableIndex:re,newIndex:ae,newDraggableIndex:le},e))}var K,Z,Q,J,ee,te,ne,oe,ie,ae,re,le,se,ue,ce,de,he,pe,fe,me,ge,ve,be,we,ye,De=!1,Se=!1,Ee=[],Ce=!1,_e=!1,Te=[],xe=!1,ke=[],Ve="undefined"!=typeof document,Oe=m,Ae=h||d?"cssFloat":"float",Le=Ve&&!g&&!m&&"draggable"in document.createElement("div"),Pe=function(){if(Ve){if(d)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ie=function(e,t){var n=T(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=L(e,0,t),a=L(e,1,t),r=i&&T(i),l=a&&T(a),s=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+O(i).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+O(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[Ae]||a&&"none"===n[Ae]&&s+u>o)?"vertical":"horizontal"},Me=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"==r(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},Ne=function(){!Pe&&Q&&T(Q,"display","none")},Re=function(){!Pe&&Q&&T(Q,"display","")};Ve&&!g&&document.addEventListener("click",(function(e){if(Se)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Se=!1,!1}),!0);var Be=function(e){if(K){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,a=e.clientY,Ee.some((function(e){var t=e[j].options.emptyInsertThreshold;if(t&&!P(e)){var n=O(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[j]._onDragOver(n)}}var i,a,r},qe=function(e){K&&K.parentNode[j]._isOutsideThisEl(e.target)};function Xe(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=s({},t),e[j]=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 Ie(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!==Xe.supportPointer&&"PointerEvent"in window&&(!f||m),emptyInsertThreshold:5};for(var o in U.initializePlugins(this,e,n),n)!(o in t)&&(t[o]=n[o]);for(var i in Me(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&Le,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?b(e,"pointerdown",this._onTapStart):(b(e,"mousedown",this._onTapStart),b(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(b(e,"dragover",this),b(e,"dragenter",this)),Ee.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),s(this,F())}function Ye(e,t,n,o,i,a,r,l){var s,u,c=e[j],p=c.options.onMove;return!window.CustomEvent||d||h?(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||O(t),s.willInsertAfter=l,s.originalEvent=r,e.dispatchEvent(s),p&&(u=p.call(c,s,r)),u}function je(e){e.draggable=!1}function Fe(){xe=!1}function He(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 We(e){return setTimeout(e,0)}function Ue(e){return clearTimeout(e)}Xe.prototype={constructor:Xe,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ve=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,K):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){ke.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&ke.push(o)}}(n),!K&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||o.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!f||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=S(l,o.draggable,n,!1))&&l.animated||te===l)){if(ie=I(l),re=I(l,o.draggable),"function"==typeof u){if(u.call(this,e,l,this))return G({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),$("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(o){if(o=S(s,o.trim(),n,!1))return G({sortable:t,rootEl:o,name:"filter",targetEl:l,fromEl:n,toEl:n}),$("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());o.handle&&!S(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&&!K&&n.parentNode===a){var s=O(n);if(J=a,Z=(K=n).parentNode,ee=K.nextSibling,te=n,se=r.group,Xe.dragged=K,ce={target:K,clientX:(t||e).clientX,clientY:(t||e).clientY},fe=ce.clientX-s.left,me=ce.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,K.style["will-change"]="all",o=function(){$("delayEnded",i,{evt:e}),Xe.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!p&&i.nativeDraggable&&(K.draggable=!0),i._triggerDragStart(e,t),G({sortable:i,name:"choose",originalEvent:e}),_(K,r.chosenClass,!0))},r.ignore.split(",").forEach((function(e){k(K,e.trim(),je)})),b(l,"dragover",Be),b(l,"mousemove",Be),b(l,"touchmove",Be),r.supportPointer?(b(l,"pointerup",i._onDrop),!this.nativeDraggable&&b(l,"pointercancel",i._onDrop)):(b(l,"mouseup",i._onDrop),b(l,"touchend",i._onDrop),b(l,"touchcancel",i._onDrop)),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,K.draggable=!0),$("delayStart",this,{evt:e}),!r.delay||r.delayOnTouchOnly&&!t||this.nativeDraggable&&(h||d))o();else{if(Xe.eventCanceled)return void this._onDrop();r.supportPointer?(b(l,"pointerup",i._disableDelayedDrag),b(l,"pointercancel",i._disableDelayedDrag)):(b(l,"mouseup",i._disableDelayedDrag),b(l,"touchend",i._disableDelayedDrag),b(l,"touchcancel",i._disableDelayedDrag)),b(l,"mousemove",i._delayedDragTouchMoveHandler),b(l,"touchmove",i._delayedDragTouchMoveHandler),r.supportPointer&&b(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(){K&&je(K),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;w(e,"mouseup",this._disableDelayedDrag),w(e,"touchend",this._disableDelayedDrag),w(e,"touchcancel",this._disableDelayedDrag),w(e,"pointerup",this._disableDelayedDrag),w(e,"pointercancel",this._disableDelayedDrag),w(e,"mousemove",this._delayedDragTouchMoveHandler),w(e,"touchmove",this._delayedDragTouchMoveHandler),w(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?b(document,"pointermove",this._onTouchMove):b(document,t?"touchmove":"mousemove",this._onTouchMove):(b(K,"dragend",this),b(J,"dragstart",this._onDragStart));try{document.selection?We((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(De=!1,J&&K){$("dragStarted",this,{evt:t}),this.nativeDraggable&&b(document,"dragover",qe);var n=this.options;!e&&_(K,n.dragClass,!1),_(K,n.ghostClass,!0),Xe.active=this,e&&this._appendGhost(),G({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(de){this._lastX=de.clientX,this._lastY=de.clientY,Ne();for(var e=document.elementFromPoint(de.clientX,de.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(de.clientX,de.clientY))!==t;)t=e;if(K.parentNode[j]._isOutsideThisEl(e),t)do{if(t[j]){if(t[j]._onDragOver({clientX:de.clientX,clientY:de.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=D(t));Re()}},_onTouchMove:function(e){if(ce){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=Q&&x(Q,!0),r=Q&&a&&a.a,l=Q&&a&&a.d,s=Oe&&ye&&M(ye),u=(i.clientX-ce.clientX+o.x)/(r||1)+(s?s[0]-Te[0]:0)/(r||1),c=(i.clientY-ce.clientY+o.y)/(l||1)+(s?s[1]-Te[1]:0)/(l||1);if(!Xe.active&&!De){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Q){a?(a.e+=u-(he||0),a.f+=c-(pe||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,")");T(Q,"webkitTransform",d),T(Q,"mozTransform",d),T(Q,"msTransform",d),T(Q,"transform",d),he=u,pe=c,de=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Q){var e=this.options.fallbackOnBody?document.body:J,t=O(K,!0,Oe,!0,e),n=this.options;if(Oe){for(ye=e;"static"===T(ye,"position")&&"none"===T(ye,"transform")&&ye!==document;)ye=ye.parentNode;ye!==document.body&&ye!==document.documentElement?(ye===document&&(ye=V()),t.top+=ye.scrollTop,t.left+=ye.scrollLeft):ye=V(),Te=M(ye)}_(Q=K.cloneNode(!0),n.ghostClass,!1),_(Q,n.fallbackClass,!0),_(Q,n.dragClass,!0),T(Q,"transition",""),T(Q,"transform",""),T(Q,"box-sizing","border-box"),T(Q,"margin",0),T(Q,"top",t.top),T(Q,"left",t.left),T(Q,"width",t.width),T(Q,"height",t.height),T(Q,"opacity","0.8"),T(Q,"position",Oe?"absolute":"fixed"),T(Q,"zIndex","100000"),T(Q,"pointerEvents","none"),Xe.ghost=Q,e.appendChild(Q),T(Q,"transform-origin",fe/parseInt(Q.style.width)*100+"% "+me/parseInt(Q.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,i=n.options;$("dragStart",this,{evt:e}),Xe.eventCanceled?this._onDrop():($("setupClone",this),Xe.eventCanceled||((ne=X(K)).removeAttribute("id"),ne.draggable=!1,ne.style["will-change"]="",this._hideClone(),_(ne,this.options.chosenClass,!1),Xe.clone=ne),n.cloneId=We((function(){$("clone",n),Xe.eventCanceled||(n.options.removeCloneOnHide||J.insertBefore(ne,K),n._hideClone(),G({sortable:n,name:"clone"}))})),!t&&_(K,i.dragClass,!0),t?(Se=!0,n._loopId=setInterval(n._emulateDragOver,50)):(w(document,"mouseup",n._onDrop),w(document,"touchend",n._onDrop),w(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(n,o,K)),b(document,"drop",n),T(K,"transform","translateZ(0)")),De=!0,n._dragStartId=We(n._dragStarted.bind(n,t,e)),b(document,"selectstart",n),ge=!0,window.getSelection().removeAllRanges(),f&&T(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,o,i,r=this.el,l=e.target,s=this.options,u=s.group,c=Xe.active,d=se===u,h=s.sort,p=ue||c,f=this,m=!1;if(!xe){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),l=S(l,s.draggable,r,!0),B("dragOver"),Xe.eventCanceled)return m;if(K.contains(e.target)||l.animated&&l.animatingX&&l.animatingY||f._ignoreWhileAnimating===l)return F(!1);if(Se=!1,c&&!s.disabled&&(d?h||(o=Z!==J):ue===this||(this.lastPutMode=se.checkPull(this,c,K,e))&&u.checkPut(this,c,K,e))){if(i="vertical"===this._getDirection(e,l),t=O(K),B("dragOverValid"),Xe.eventCanceled)return m;if(o)return Z=J,X(),this._hideClone(),B("revert"),Xe.eventCanceled||(ee?J.insertBefore(K,ee):J.appendChild(K)),F(!0);var g=P(r,s.draggable);if(!g||function(e,t,n){var o=O(P(n.el,n.options.draggable)),i=Y(n.el,n.options,Q),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,i,this)&&!g.animated){if(g===K)return F(!1);if(g&&r===e.target&&(l=g),l&&(n=O(l)),!1!==Ye(J,r,K,t,l,n,e,!!l))return X(),g&&g.nextSibling?r.insertBefore(K,g.nextSibling):r.appendChild(K),Z=r,H(),F(!0)}else if(g&&function(e,t,n){var o=O(L(n.el,0,n.options,!0)),i=Y(n.el,n.options,Q),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,i,this)){var v=L(r,0,s,!0);if(v===K)return F(!1);if(n=O(l=v),!1!==Ye(J,r,K,t,l,n,e,!1))return X(),r.insertBefore(K,v),Z=r,H(),F(!0)}else if(l.parentNode===r){n=O(l);var b,w,y,D=K.parentNode!==r,E=!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}(K.animated&&K.toRect||t,l.animated&&l.toRect||n,i),C=i?"top":"left",x=A(l,"top","top")||A(K,"top","top"),k=x?x.scrollTop:void 0;if(ve!==l&&(w=n[C],Ce=!1,_e=!E&&s.invertSwap||D),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&&we<u*i){if(!Ce&&(1===be?s>c+u*a/2:s<d-u*a/2)&&(Ce=!0),Ce)h=!0;else if(1===be?s<c+we:s>d-we)return-be}else if(s>c+u*(1-i)/2&&s<d-u*(1-i)/2)return function(e){return I(K)<I(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,i,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,_e,ve===l),0!==b){var V=I(K);do{V-=b,y=Z.children[V]}while(y&&("none"===T(y,"display")||y===Q))}if(0===b||y===l)return F(!1);ve=l,be=b;var M=l.nextElementSibling,N=!1,R=Ye(J,r,K,t,l,n,e,N=1===b);if(!1!==R)return 1!==R&&-1!==R||(N=1===R),xe=!0,setTimeout(Fe,30),X(),N&&!M?r.appendChild(K):l.parentNode.insertBefore(K,N?M:l),x&&q(x,0,k-x.scrollTop),Z=K.parentNode,void 0===w||_e||(we=Math.abs(w-O(l)[C])),H(),F(!0)}if(r.contains(K))return F(!1)}return!1}function B(s,u){$(s,f,a({evt:e,isOwner:d,axis:i?"vertical":"horizontal",revert:o,dragRect:t,targetRect:n,canSort:h,fromSortable:p,target:l,completed:F,onMove:function(n,o){return Ye(J,r,K,t,n,O(n),e,o)},changed:H},u))}function X(){B("dragOverAnimationCapture"),f.captureAnimationState(),f!==p&&p.captureAnimationState()}function F(t){return B("dragOverCompleted",{insertion:t}),t&&(d?c._hideClone():c._showClone(f),f!==p&&(_(K,ue?ue.options.ghostClass:c.options.ghostClass,!1),_(K,s.ghostClass,!0)),ue!==f&&f!==Xe.active?ue=f:f===Xe.active&&ue&&(ue=null),p===f&&(f._ignoreWhileAnimating=l),f.animateAll((function(){B("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(l===K&&!K.animated||l===r&&!l.animated)&&(ve=null),s.dragoverBubble||e.rootEl||l===document||(K.parentNode[j]._isOutsideThisEl(e.target),!t&&Be(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function H(){ae=I(K),le=I(K,s.draggable),G({sortable:f,name:"change",toEl:r,newIndex:ae,newDraggableIndex:le,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){w(document,"mousemove",this._onTouchMove),w(document,"touchmove",this._onTouchMove),w(document,"pointermove",this._onTouchMove),w(document,"dragover",Be),w(document,"mousemove",Be),w(document,"touchmove",Be)},_offUpEvents:function(){var e=this.el.ownerDocument;w(e,"mouseup",this._onDrop),w(e,"touchend",this._onDrop),w(e,"pointerup",this._onDrop),w(e,"pointercancel",this._onDrop),w(e,"touchcancel",this._onDrop),w(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ae=I(K),le=I(K,n.draggable),$("drop",this,{evt:e}),Z=K&&K.parentNode,ae=I(K),le=I(K,n.draggable),Xe.eventCanceled||(De=!1,_e=!1,Ce=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ue(this.cloneId),Ue(this._dragStartId),this.nativeDraggable&&(w(document,"drop",this),w(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&T(document.body,"user-select",""),T(K,"transform",""),e&&(ge&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Q&&Q.parentNode&&Q.parentNode.removeChild(Q),(J===Z||ue&&"clone"!==ue.lastPutMode)&&ne&&ne.parentNode&&ne.parentNode.removeChild(ne),K&&(this.nativeDraggable&&w(K,"dragend",this),je(K),K.style["will-change"]="",ge&&!De&&_(K,ue?ue.options.ghostClass:this.options.ghostClass,!1),_(K,this.options.chosenClass,!1),G({sortable:this,name:"unchoose",toEl:Z,newIndex:null,newDraggableIndex:null,originalEvent:e}),J!==Z?(ae>=0&&(G({rootEl:Z,name:"add",toEl:Z,fromEl:J,originalEvent:e}),G({sortable:this,name:"remove",toEl:Z,originalEvent:e}),G({rootEl:Z,name:"sort",toEl:Z,fromEl:J,originalEvent:e}),G({sortable:this,name:"sort",toEl:Z,originalEvent:e})),ue&&ue.save()):ae!==ie&&ae>=0&&(G({sortable:this,name:"update",toEl:Z,originalEvent:e}),G({sortable:this,name:"sort",toEl:Z,originalEvent:e})),Xe.active&&(null!=ae&&-1!==ae||(ae=ie,le=re),G({sortable:this,name:"end",toEl:Z,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){$("nulling",this),J=K=Z=Q=ee=ne=te=oe=ce=de=ge=ae=le=ie=re=ve=be=ue=se=Xe.dragged=Xe.ghost=Xe.clone=Xe.active=null,ke.forEach((function(e){e.checked=!0})),ke.length=he=pe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":K&&(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++)S(e=n[o],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||He(e));return t},sort:function(e,t){var n={},o=this.el;this.toArray().forEach((function(e,t){var i=o.children[t];S(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 S(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=U.modifyOption(this,e,t);n[e]=void 0!==o?o:t,"group"===e&&Me(n)},destroy:function(){$("destroy",this);var e=this.el;e[j]=null,w(e,"mousedown",this._onTapStart),w(e,"touchstart",this._onTapStart),w(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(w(e,"dragover",this),w(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Ee.splice(Ee.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!oe){if($("hideClone",this),Xe.eventCanceled)return;T(ne,"display","none"),this.options.removeCloneOnHide&&ne.parentNode&&ne.parentNode.removeChild(ne),oe=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(oe){if($("showClone",this),Xe.eventCanceled)return;K.parentNode!=J||this.options.group.revertClone?ee?J.insertBefore(ne,ee):J.appendChild(ne):J.insertBefore(ne,K),this.options.group.revertClone&&this.animate(K,ne),T(ne,"display",""),oe=!1}}else this._hideClone()}},Ve&&b(document,"touchmove",(function(e){(Xe.active||De)&&e.cancelable&&e.preventDefault()})),Xe.utils={on:b,off:w,css:T,find:k,is:function(e,t){return!!S(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:B,closest:S,toggleClass:_,clone:X,index:I,nextTick:We,cancelNextTick:Ue,detectDirection:Ie,getChild:L,expando:j},Xe.get=function(e){return e[j]},Xe.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&&(Xe.utils=a(a({},Xe.utils),e.utils)),U.mount(e)}))},Xe.create=function(e,t){return new Xe(e,t)},Xe.version="1.15.6";var ze,$e,Ge,Ke,Ze,Qe,Je=[],et=!1;function tt(){Je.forEach((function(e){clearInterval(e.pid)})),Je=[]}function nt(){clearInterval(Qe)}var ot=B((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=V(),c=!1;$e!==n&&($e=n,tt(),ze=t.scroll,i=t.scrollFn,!0===ze&&(ze=N(n,!0)));var d=0,h=ze;do{var p=h,f=O(p),m=f.top,g=f.bottom,v=f.left,b=f.right,w=f.width,y=f.height,D=void 0,S=void 0,E=p.scrollWidth,C=p.scrollHeight,_=T(p),x=p.scrollLeft,k=p.scrollTop;p===u?(D=w<E&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),S=y<C&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(D=w<E&&("auto"===_.overflowX||"scroll"===_.overflowX),S=y<C&&("auto"===_.overflowY||"scroll"===_.overflowY));var A=D&&(Math.abs(b-a)<=l&&x+w<E)-(Math.abs(v-a)<=l&&!!x),L=S&&(Math.abs(g-r)<=l&&k+y<C)-(Math.abs(m-r)<=l&&!!k);if(!Je[d])for(var P=0;P<=d;P++)Je[P]||(Je[P]={});Je[d].vx==A&&Je[d].vy==L&&Je[d].el===p||(Je[d].el=p,Je[d].vx=A,Je[d].vy=L,clearInterval(Je[d].pid),0==A&&0==L||(c=!0,Je[d].pid=setInterval(function(){o&&0===this.layer&&Xe.active._onTouchMove(Ze);var t=Je[this.layer].vy?Je[this.layer].vy*s:0,n=Je[this.layer].vx?Je[this.layer].vx*s:0;"function"==typeof i&&"continue"!==i.call(Xe.dragged.parentNode[j],n,t,e,Ze,Je[this.layer].el)||q(Je[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&h!==u&&(h=N(h,!1)));et=c}}),30),it=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 at(){}function rt(){}at.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=L(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:it},s(at,{pluginName:"revertOnSpill"}),rt.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:it},s(rt,{pluginName:"removeOnSpill"}),Xe.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?b(document,"dragover",this._handleAutoScroll):this.options.supportPointer?b(document,"pointermove",this._handleFallbackAutoScroll):t.touches?b(document,"touchmove",this._handleFallbackAutoScroll):b(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?w(document,"dragover",this._handleAutoScroll):(w(document,"pointermove",this._handleFallbackAutoScroll),w(document,"touchmove",this._handleFallbackAutoScroll),w(document,"mousemove",this._handleFallbackAutoScroll)),nt(),tt(),clearTimeout(E),E=void 0},nulling:function(){Ze=$e=ze=et=Qe=Ge=Ke=null,Je.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(Ze=e,t||this.options.forceAutoScrollFallback||h||d||f){ot(e,this.options,a,t);var r=N(a,!0);!et||Qe&&o===Ge&&i===Ke||(Qe&&nt(),Qe=setInterval((function(){var a=N(document.elementFromPoint(o,i),!0);a!==r&&(r=a,tt()),ot(e,n.options,a,t)}),10),Ge=o,Ke=i)}else{if(!this.options.bubbleScroll||N(a,!0)===V())return void tt();ot(e,this.options,N(a,!1),!1)}}},s(e,{pluginName:"scroll",initializeByDefault:!0})}),Xe.mount(rt,at);const lt=["data-url","onContextmenu","onMousedown","onClick"],st={key:0,class:"iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont"},ut=e.defineComponent({name:"layoutTagsView"}),ct=e.defineComponent({...ut,setup(i){const a=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./contextmenu-B77TIwEO.js"))))),r=e.ref([]),l=e.ref(),s=e.ref(),u=e.ref(),c=o.useTagsViewRoutes(),d=o.useThemeConfig(),h=o.useTagsViewRoutes(),p=o.useRoutesList(),{themeConfig:f}=n.storeToRefs(d),{tagsViewRoutes:m}=n.storeToRefs(h),{routesList:g}=n.storeToRefs(p),v=o.useKeepALiveNames(),b=t.useRoute(),w=t.useRouter(),y=e.reactive({routeActive:"",routePath:b.path,dropdown:{x:"",y:""},sortable:"",tagsRefsIndex:0,tagsViewList:[],tagsViewRoutesList:[]}),D=e.computed((()=>f.value.tagsStyle)),S=e.computed((()=>f.value)),E=e.computed((()=>e=>o.other.setTagsViewNameI18n(e))),C=e=>S.value.isShareTagsView?e.path===y.routePath:e.query&&Object.keys(e.query).length||e.params&&Object.keys(e.params).length?e.url?e.url===y.routeActive:e.path===y.routeActive:e.path===y.routePath,_=e=>{o.Session.set("tagsViewList",e)},T=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}`},x=async(e,t)=>{var n,i;let a=(null==(n=null==t?void 0:t.meta)?void 0:n.isDynamic)?t.meta.isDynamicPath:e;if(y.tagsViewList.filter((e=>{var n,i;return e.path===a&&o.isObjectValueEqual((null==(n=null==t?void 0:t.meta)?void 0:n.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(i=null==t?void 0:t.meta)?void 0:i.isDynamic)?(null==t?void 0:t.params)?null==t?void 0:t.params:null:(null==t?void 0:t.query)?null==t?void 0:t.query:null)})).length<=0){let e=y.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==t?void 0:t.meta)?void 0:i.isDynamic)?e.params=t.params:e.query=null==t?void 0:t.query,e.url=T(e),y.tagsViewList.push({...e}),_(y.tagsViewList)}},k=(e,t)=>{var n;let i=(null==(n=null==t?void 0:t.meta)?void 0:n.isDynamic)?t.meta.isDynamicPath:e;y.tagsViewList.forEach((e=>{var n,a,r;e.path!==i||o.isObjectValueEqual((null==(n=null==t?void 0:t.meta)?void 0:n.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(a=null==t?void 0:t.meta)?void 0:a.isDynamic)?(null==t?void 0:t.params)?null==t?void 0:t.params:null:(null==t?void 0:t.query)?null==t?void 0:t.query:null)||((null==(r=null==t?void 0:t.meta)?void 0:r.isDynamic)?e.params=t.params:e.query=null==t?void 0:t.query,e.url=T(e),_(y.tagsViewList))}))},V=(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(S.value.isShareTagsView?await k(t,n):await x(t,n),y.tagsViewList.some((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)})))return _(y.tagsViewList),!1;a=y.tagsViewRoutesList.find((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)}))}else{if(S.value.isShareTagsView?await k(t,n):await x(t,n),y.tagsViewList.some((e=>e.path===t)))return _(y.tagsViewList),!1;a=y.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:b.params:a.query=(null==n?void 0:n.query)?null==n?void 0:n.query:b.query,a.url=T(a),await y.tagsViewList.push({...a}),void(await _(y.tagsViewList))))})),O=t=>e.nextTick().then((async()=>{let n=await y.tagsViewList;y.tagsRefsIndex=n.findIndex((e=>S.value.isShareTagsView?e.path===t:e.url===t)),await e.nextTick().then((async()=>{var e,t;if(r.value.length<=0)return!1;let n=r.value[y.tagsRefsIndex],o=y.tagsRefsIndex,i=r.value.length,a=r.value[0],s=r.value[r.value.length-1],u=null==(t=null==(e=l.value)?void 0:e.$refs)?void 0:t.wrapRef,c=u.scrollWidth,d=u.offsetWidth,h=u.scrollLeft,p=r.value[y.tagsRefsIndex-1],f=r.value[y.tagsRefsIndex+1],m=0,g=0;n===a?u.scrollLeft=0:n===s?u.scrollLeft=c-d:(m=0===o?a.offsetLeft-5:(null==p?void 0:p.offsetLeft)-5,g=o===i?s.offsetLeft+s.offsetWidth+5:f.offsetLeft+f.offsetWidth+5,g>h+d?u.scrollLeft=g-d:m<h&&(u.scrollLeft=m)),l.value.update()}))})),A=async()=>{y.routeActive=await T(b),y.routePath=await b.meta.isDynamic?b.meta.isDynamicPath:b.path,y.tagsViewList=[],y.tagsViewRoutesList=m.value,await(async()=>{o.Session.get("tagsViewList")&&S.value.isCacheTagsView?y.tagsViewList=o.Session.get("tagsViewList"):(await y.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=T(e),y.tagsViewList.push({...e}))})),await V(b.path,b)),await O(S.value.isShareTagsView?y.routePath:y.routeActive)})()},L=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(/^&/,"?")}`},P=async e=>{const t=decodeURI(e);let n={};if(y.tagsViewList.forEach((e=>{e.transUrl=L(e),e.transUrl?e.transUrl===L(e)&&(n=e):e.path===t&&(n=e)})),!n)return!1;await v.delCachedView(n),o.mittBus.emit("onTagsViewRefreshRouterView",e)},I=e=>{y.tagsViewList.map(((t,n,o)=>{var i;(null==(i=t.meta)?void 0:i.isAffix)||(S.value.isShareTagsView?t.path===e:t.url===e)&&(v.delCachedView(t),y.tagsViewList.splice(n,1),setTimeout((()=>{(y.tagsViewList.length===n&&S.value.isShareTagsView?y.routePath===e:y.routeActive===e)?o[o.length-1].meta.isDynamic?n!==o.length?w.push({name:o[n].name,params:o[n].params}):w.push({name:o[o.length-1].name,params:o[o.length-1].params}):n!==o.length?w.push({path:o[n].path,query:o[n].query}):w.push({path:o[o.length-1].path,query:o[o.length-1].query}):(y.tagsViewList.length!==n&&S.value.isShareTagsView?y.routePath===e:y.routeActive===e)&&(o[n].meta.isDynamic?w.push({name:o[n].name,params:o[n].params}):w.push({path:o[n].path,query:o[n].query}))}),0))})),_(y.tagsViewList)},M=e=>{let t={};return y.tagsViewList.forEach((n=>{n.transUrl=L(n),n.transUrl?n.transUrl===L(n)&&n.transUrl===e.commonUrl&&(t=n):n.path===decodeURI(e.path)&&(t=n)})),t||null},N=async e=>{if(e.commonUrl=L(e),!M(e))return o.ElMessage({type:"warning",message:"请正确输入路径及完整参数(query、params)"});const{path:t,name:n,params:i,query:a,meta:r,url:l}=M(e);switch(e.contextMenuClickId){case 0:r.isDynamic?await w.push({name:n,params:i}):await w.push({path:t,query:a}),P(b.fullPath);break;case 1:I(S.value.isShareTagsView?t:l);break;case 2:r.isDynamic?await w.push({name:n,params:i}):await w.push({path:t,query:a}),await(async e=>{const t=y.tagsViewList.find((t=>t.path===e));v.delOthersCachedViews(t),o.Session.get("tagsViewList")&&(y.tagsViewList=[],o.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=T(e),y.tagsViewList.push({...e}))})),await V(e,b),_(y.tagsViewList))})(t);break;case 3:(()=>{if(o.Session.get("tagsViewList")){v.delAllCachedViews(),y.tagsViewList=[],o.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=T(e),y.tagsViewList.push({...e}))})),_(y.tagsViewList);const e=o.dynamicRoutes.find((e=>"/"===e.path));e&&w.push(e.redirect)}})();break;case 4:(async e=>{const t=y.tagsViewList.find((t=>S.value.isShareTagsView?t.path===e:t.url===e));t.meta.isDynamic?await w.push({name:t.name,params:t.params}):await w.push({name:t.name,query:t.query}),c.setCurrenFullscreen(!0)})(S.value.isShareTagsView?t:l)}},R=e=>{l.value.$refs.wrapRef.scrollLeft+=e.wheelDelta/4},B=async()=>{const e=document.querySelector(".layout-navbars-tagsview-ul");if(!e)return!1;y.sortable.el&&y.sortable.destroy(),y.sortable=Xe.create(e,{animation:300,dataIdAttr:"data-url",disabled:!S.value.isSortableTagsView,onEnd:()=>{const e=[];y.sortable.toArray().map((t=>{y.tagsViewList.map((n=>{n.url===t&&e.push({...n})}))})),_(e)}})},q=async()=>{await B(),o.other.isMobile()&&y.sortable.el&&y.sortable.destroy()};return e.onBeforeMount((()=>{q(),window.addEventListener("resize",q),o.mittBus.on("onCurrentContextmenuClick",(e=>{e.isFnClick=!0,N(e)})),o.mittBus.on("openOrCloseSortable",(async()=>{await B()})),o.mittBus.on("openShareTagsView",(()=>{S.value.isShareTagsView&&(w.push("/"),y.tagsViewList=[],y.tagsViewRoutesList.map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=T(e),y.tagsViewList.push({...e}))})))}))})),e.onUnmounted((()=>{o.mittBus.off("onCurrentContextmenuClick",(()=>{})),o.mittBus.off("openOrCloseSortable",(()=>{})),o.mittBus.off("openShareTagsView",(()=>{})),window.removeEventListener("resize",q)})),e.onBeforeUpdate((()=>{r.value=[]})),e.onMounted((async()=>{await A(),await B()})),t.onBeforeRouteUpdate((async e=>{y.routeActive=T(e),y.routePath=e.meta.isDynamic?e.meta.isDynamicPath:e.path,await V(e.path,e),O(S.value.isShareTagsView?y.routePath:y.routeActive)})),e.watch((()=>m.value),(async e=>{if(e.length===y.tagsViewRoutesList.length)return!1;await A()}),{deep:!0}),(t,n)=>{const o=e.resolveComponent("SvgIcon"),i=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["layout-navbars-tagsview",{"layout-navbars-tagsview-shadow":"classic"===S.value.layout}])},[e.createVNode(i,{ref_key:"scrollbarRef",ref:l,onWheel:e.withModifiers(R,["prevent"])},{default:e.withCtx((()=>[e.createElementVNode("ul",{class:e.normalizeClass(["layout-navbars-tagsview-ul",D.value]),ref_key:"tagsUlRef",ref:u},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.tagsViewList,((i,a)=>(e.openBlock(),e.createElementBlock("li",{key:a,class:e.normalizeClass(["layout-navbars-tagsview-ul-li",{"is-active":C(i)}]),"data-url":i.url,onContextmenu:e.withModifiers((e=>((e,t)=>{const{clientX:n,clientY:o}=t;y.dropdown.x=n,y.dropdown.y=o,s.value.openContextmenu(e)})(i,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});N(t)}})(i,e),onClick:e=>((e,t)=>{y.tagsRefsIndex=t,w.push(e),"columns"===S.value.layout&&(g.value.find((t=>t.path.indexOf(`/${e.path.split("/")[1]}`)>-1)).children?S.value.isCollapse=!1:S.value.isCollapse=!0)})(i,a),ref_for:!0,ref:e=>{e&&(r.value[a]=e)}},[C(i)?(e.openBlock(),e.createElementBlock("i",st)):e.createCommentVNode("",!0),!C(i)&&S.value.isTagsviewIcon?(e.openBlock(),e.createBlock(o,{key:1,name:i.meta.icon,class:"pr5"},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(E.value(i)),1),C(i)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(o,{name:"ele-RefreshRight",class:"ml5 layout-navbars-tagsview-ul-li-refresh",onClick:n[0]||(n[0]=e.withModifiers((e=>P(t.$route.fullPath)),["stop"]))}),i.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(o,{key:0,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-active",onClick:e.withModifiers((e=>I(S.value.isShareTagsView?i.path:i.url)),["stop"])},null,8,["onClick"]))],64)):e.createCommentVNode("",!0),i.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(o,{key:3,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-three",onClick:e.withModifiers((e=>I(S.value.isShareTagsView?i.path:i.url)),["stop"])},null,8,["onClick"]))],42,lt)))),128))],2)])),_:1},512),e.createVNode(e.unref(a),{dropdown:y.dropdown,ref_key:"contextmenuRef",ref:s,onCurrentContextmenuClick:N},null,8,["dropdown"])],2)}}}),dt=o._export_sfc(ct,[["__scopeId","data-v-97b76a44"]]);exports.default=dt;
|
|
8
|
+
function i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function r(e){return(r="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 l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return s=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},s.apply(this,arguments)}function u(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 c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var d=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),h=c(/Edge/i),p=c(/firefox/i),f=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),m=c(/iP(ad|od|hone)/i),g=c(/chrome/i)&&c(/android/i),v={capture:!1,passive:!1};function b(e,t,n){e.addEventListener(t,n,!d&&v)}function w(e,t,n){e.removeEventListener(t,n,!d&&v)}function y(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 D(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function S(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&y(e,t):y(e,t))||o&&e===n)return e;if(e===n)break}while(e=D(e))}return null}var E,C=/\s+/g;function _(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(C," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(C," ")}}function T(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 x(e,t){var n="";if("string"==typeof e)n=e;else do{var o=T(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 k(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 V(){var e=document.scrollingElement;return e||document.documentElement}function O(e,t,n,o,i){if(e.getBoundingClientRect||e===window){var a,r,l,s,u,c,h;if(e!==window&&e.parentNode&&e!==V()?(r=(a=e.getBoundingClientRect()).top,l=a.left,s=a.bottom,u=a.right,c=a.height,h=a.width):(r=0,l=0,s=window.innerHeight,u=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!d))do{if(i&&i.getBoundingClientRect&&("none"!==T(i,"transform")||n&&"static"!==T(i,"position"))){var p=i.getBoundingClientRect();r-=p.top+parseInt(T(i,"border-top-width")),l-=p.left+parseInt(T(i,"border-left-width")),s=r+a.height,u=l+a.width;break}}while(i=i.parentNode);if(o&&e!==window){var f=x(i||e),m=f&&f.a,g=f&&f.d;f&&(s=(r/=g)+(c/=g),u=(l/=m)+(h/=m))}return{top:r,left:l,bottom:s,right:u,width:h,height:c}}}function A(e,t,n){for(var o=N(e,!0),i=O(e)[t];o;){if(!(i>=O(o)[n]))return o;if(o===V())break;o=N(o,!1)}return!1}function L(e,t,n,o){for(var i=0,a=0,r=e.children;a<r.length;){if("none"!==r[a].style.display&&r[a]!==Xe.ghost&&(o||r[a]!==Xe.dragged)&&S(r[a],n.draggable,e,!1)){if(i===t)return r[a];i++}a++}return null}function P(e,t){for(var n=e.lastElementChild;n&&(n===Xe.ghost||"none"===T(n,"display")||t&&!y(n,t));)n=n.previousElementSibling;return n||null}function I(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Xe.clone||t&&!y(e,t)||n++;return n}function M(e){var t=0,n=0,o=V();if(e)do{var i=x(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 N(e,t){if(!e||!e.getBoundingClientRect)return V();var n=e,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=T(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 V();if(o||t)return n;o=!0}}}while(n=n.parentNode);return V()}function R(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 B(e,t){return function(){if(!E){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),E=setTimeout((function(){E=void 0}),t)}}}function q(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function X(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 Y(e,t,n){var o={};return Array.from(e.children).forEach((function(i){var a,r,l,s;if(S(i,t.draggable,e,!1)&&!i.animated&&i!==n){var u=O(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 j="Sortable"+(new Date).getTime();function F(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==T(e,"display")&&e!==Xe.ghost){t.push({target:e,rect:O(e)});var n=a({},t[t.length-1].rect);if(e.thisAnimationDuration){var o=x(e,!0);o&&(n.top-=o.f,n.left-=o.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=O(n),s=n.prevFromRect,u=n.prevToRect,c=e.rect,d=x(n,!0);d&&(l.top-=d.f,l.left-=d.e),n.toRect=l,n.thisAnimationDuration&&R(s,l)&&!R(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)),R(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){T(e,"transition",""),T(e,"transform","");var i=x(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,T(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),T(e,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),T(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){T(e,"transition",""),T(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),o)}}}}var H=[],W={initializeByDefault:!0},U={mount:function(e){for(var t in W)W.hasOwnProperty(t)&&!(t in e)&&(e[t]=W[t]);H.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),H.push(e)},pluginEvent:function(e,t,n){var o=this;this.eventCanceled=!1,n.cancel=function(){o.eventCanceled=!0};var i=e+"Global";H.forEach((function(o){t[o.pluginName]&&(t[o.pluginName][i]&&t[o.pluginName][i](a({sortable:t},n)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](a({sortable:t},n)))}))},initializePlugins:function(e,t,n,o){for(var i in H.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,s(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 H.forEach((function(o){"function"==typeof o.eventProperties&&s(n,o.eventProperties.call(t[o.pluginName],e))})),n},modifyOption:function(e,t,n){var o;return H.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(o=i.optionListeners[t].call(e[i.pluginName],n))})),o}};var z=["evt"],$=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.evt,i=u(n,z);U.pluginEvent.bind(Xe)(e,t,a({dragEl:K,parentEl:Z,ghostEl:Q,rootEl:J,nextEl:ee,lastDownEl:te,cloneEl:ne,cloneHidden:oe,dragStarted:ge,putSortable:ue,activeSortable:Xe.active,originalEvent:o,oldIndex:ie,oldDraggableIndex:re,newIndex:ae,newDraggableIndex:le,hideGhostForTarget:Ne,unhideGhostForTarget:Re,cloneNowHidden:function(){oe=!0},cloneNowShown:function(){oe=!1},dispatchSortableEvent:function(e){G({sortable:t,name:e,originalEvent:o})}},i))};function G(e){!function(e){var t=e.sortable,n=e.rootEl,o=e.name,i=e.targetEl,r=e.cloneEl,l=e.toEl,s=e.fromEl,u=e.oldIndex,c=e.newIndex,p=e.oldDraggableIndex,f=e.newDraggableIndex,m=e.originalEvent,g=e.putSortable,v=e.extraEventProperties;if(t=t||n&&n[j]){var b,w=t.options,y="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||d||h?(b=document.createEvent("Event")).initEvent(o,!0,!0):b=new CustomEvent(o,{bubbles:!0,cancelable:!0}),b.to=l||n,b.from=s||n,b.item=i||n,b.clone=r,b.oldIndex=u,b.newIndex=c,b.oldDraggableIndex=p,b.newDraggableIndex=f,b.originalEvent=m,b.pullMode=g?g.lastPutMode:void 0;var D=a(a({},v),U.getEventProperties(o,t));for(var S in D)b[S]=D[S];n&&n.dispatchEvent(b),w[y]&&w[y].call(t,b)}}(a({putSortable:ue,cloneEl:ne,targetEl:K,rootEl:J,oldIndex:ie,oldDraggableIndex:re,newIndex:ae,newDraggableIndex:le},e))}var K,Z,Q,J,ee,te,ne,oe,ie,ae,re,le,se,ue,ce,de,he,pe,fe,me,ge,ve,be,we,ye,De=!1,Se=!1,Ee=[],Ce=!1,_e=!1,Te=[],xe=!1,ke=[],Ve="undefined"!=typeof document,Oe=m,Ae=h||d?"cssFloat":"float",Le=Ve&&!g&&!m&&"draggable"in document.createElement("div"),Pe=function(){if(Ve){if(d)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ie=function(e,t){var n=T(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=L(e,0,t),a=L(e,1,t),r=i&&T(i),l=a&&T(a),s=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+O(i).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+O(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[Ae]||a&&"none"===n[Ae]&&s+u>o)?"vertical":"horizontal"},Me=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"==r(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},Ne=function(){!Pe&&Q&&T(Q,"display","none")},Re=function(){!Pe&&Q&&T(Q,"display","")};Ve&&!g&&document.addEventListener("click",(function(e){if(Se)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Se=!1,!1}),!0);var Be=function(e){if(K){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,a=e.clientY,Ee.some((function(e){var t=e[j].options.emptyInsertThreshold;if(t&&!P(e)){var n=O(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[j]._onDragOver(n)}}var i,a,r},qe=function(e){K&&K.parentNode[j]._isOutsideThisEl(e.target)};function Xe(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=s({},t),e[j]=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 Ie(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!==Xe.supportPointer&&"PointerEvent"in window&&(!f||m),emptyInsertThreshold:5};for(var o in U.initializePlugins(this,e,n),n)!(o in t)&&(t[o]=n[o]);for(var i in Me(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&Le,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?b(e,"pointerdown",this._onTapStart):(b(e,"mousedown",this._onTapStart),b(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(b(e,"dragover",this),b(e,"dragenter",this)),Ee.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),s(this,F())}function Ye(e,t,n,o,i,a,r,l){var s,u,c=e[j],p=c.options.onMove;return!window.CustomEvent||d||h?(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||O(t),s.willInsertAfter=l,s.originalEvent=r,e.dispatchEvent(s),p&&(u=p.call(c,s,r)),u}function je(e){e.draggable=!1}function Fe(){xe=!1}function He(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 We(e){return setTimeout(e,0)}function Ue(e){return clearTimeout(e)}Xe.prototype={constructor:Xe,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ve=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,K):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){ke.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&ke.push(o)}}(n),!K&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||o.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!f||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=S(l,o.draggable,n,!1))&&l.animated||te===l)){if(ie=I(l),re=I(l,o.draggable),"function"==typeof u){if(u.call(this,e,l,this))return G({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),$("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(o){if(o=S(s,o.trim(),n,!1))return G({sortable:t,rootEl:o,name:"filter",targetEl:l,fromEl:n,toEl:n}),$("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());o.handle&&!S(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&&!K&&n.parentNode===a){var s=O(n);if(J=a,Z=(K=n).parentNode,ee=K.nextSibling,te=n,se=r.group,Xe.dragged=K,ce={target:K,clientX:(t||e).clientX,clientY:(t||e).clientY},fe=ce.clientX-s.left,me=ce.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,K.style["will-change"]="all",o=function(){$("delayEnded",i,{evt:e}),Xe.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!p&&i.nativeDraggable&&(K.draggable=!0),i._triggerDragStart(e,t),G({sortable:i,name:"choose",originalEvent:e}),_(K,r.chosenClass,!0))},r.ignore.split(",").forEach((function(e){k(K,e.trim(),je)})),b(l,"dragover",Be),b(l,"mousemove",Be),b(l,"touchmove",Be),r.supportPointer?(b(l,"pointerup",i._onDrop),!this.nativeDraggable&&b(l,"pointercancel",i._onDrop)):(b(l,"mouseup",i._onDrop),b(l,"touchend",i._onDrop),b(l,"touchcancel",i._onDrop)),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,K.draggable=!0),$("delayStart",this,{evt:e}),!r.delay||r.delayOnTouchOnly&&!t||this.nativeDraggable&&(h||d))o();else{if(Xe.eventCanceled)return void this._onDrop();r.supportPointer?(b(l,"pointerup",i._disableDelayedDrag),b(l,"pointercancel",i._disableDelayedDrag)):(b(l,"mouseup",i._disableDelayedDrag),b(l,"touchend",i._disableDelayedDrag),b(l,"touchcancel",i._disableDelayedDrag)),b(l,"mousemove",i._delayedDragTouchMoveHandler),b(l,"touchmove",i._delayedDragTouchMoveHandler),r.supportPointer&&b(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(){K&&je(K),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;w(e,"mouseup",this._disableDelayedDrag),w(e,"touchend",this._disableDelayedDrag),w(e,"touchcancel",this._disableDelayedDrag),w(e,"pointerup",this._disableDelayedDrag),w(e,"pointercancel",this._disableDelayedDrag),w(e,"mousemove",this._delayedDragTouchMoveHandler),w(e,"touchmove",this._delayedDragTouchMoveHandler),w(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?b(document,"pointermove",this._onTouchMove):b(document,t?"touchmove":"mousemove",this._onTouchMove):(b(K,"dragend",this),b(J,"dragstart",this._onDragStart));try{document.selection?We((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(De=!1,J&&K){$("dragStarted",this,{evt:t}),this.nativeDraggable&&b(document,"dragover",qe);var n=this.options;!e&&_(K,n.dragClass,!1),_(K,n.ghostClass,!0),Xe.active=this,e&&this._appendGhost(),G({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(de){this._lastX=de.clientX,this._lastY=de.clientY,Ne();for(var e=document.elementFromPoint(de.clientX,de.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(de.clientX,de.clientY))!==t;)t=e;if(K.parentNode[j]._isOutsideThisEl(e),t)do{if(t[j]){if(t[j]._onDragOver({clientX:de.clientX,clientY:de.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=D(t));Re()}},_onTouchMove:function(e){if(ce){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=Q&&x(Q,!0),r=Q&&a&&a.a,l=Q&&a&&a.d,s=Oe&&ye&&M(ye),u=(i.clientX-ce.clientX+o.x)/(r||1)+(s?s[0]-Te[0]:0)/(r||1),c=(i.clientY-ce.clientY+o.y)/(l||1)+(s?s[1]-Te[1]:0)/(l||1);if(!Xe.active&&!De){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Q){a?(a.e+=u-(he||0),a.f+=c-(pe||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,")");T(Q,"webkitTransform",d),T(Q,"mozTransform",d),T(Q,"msTransform",d),T(Q,"transform",d),he=u,pe=c,de=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Q){var e=this.options.fallbackOnBody?document.body:J,t=O(K,!0,Oe,!0,e),n=this.options;if(Oe){for(ye=e;"static"===T(ye,"position")&&"none"===T(ye,"transform")&&ye!==document;)ye=ye.parentNode;ye!==document.body&&ye!==document.documentElement?(ye===document&&(ye=V()),t.top+=ye.scrollTop,t.left+=ye.scrollLeft):ye=V(),Te=M(ye)}_(Q=K.cloneNode(!0),n.ghostClass,!1),_(Q,n.fallbackClass,!0),_(Q,n.dragClass,!0),T(Q,"transition",""),T(Q,"transform",""),T(Q,"box-sizing","border-box"),T(Q,"margin",0),T(Q,"top",t.top),T(Q,"left",t.left),T(Q,"width",t.width),T(Q,"height",t.height),T(Q,"opacity","0.8"),T(Q,"position",Oe?"absolute":"fixed"),T(Q,"zIndex","100000"),T(Q,"pointerEvents","none"),Xe.ghost=Q,e.appendChild(Q),T(Q,"transform-origin",fe/parseInt(Q.style.width)*100+"% "+me/parseInt(Q.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,i=n.options;$("dragStart",this,{evt:e}),Xe.eventCanceled?this._onDrop():($("setupClone",this),Xe.eventCanceled||((ne=X(K)).removeAttribute("id"),ne.draggable=!1,ne.style["will-change"]="",this._hideClone(),_(ne,this.options.chosenClass,!1),Xe.clone=ne),n.cloneId=We((function(){$("clone",n),Xe.eventCanceled||(n.options.removeCloneOnHide||J.insertBefore(ne,K),n._hideClone(),G({sortable:n,name:"clone"}))})),!t&&_(K,i.dragClass,!0),t?(Se=!0,n._loopId=setInterval(n._emulateDragOver,50)):(w(document,"mouseup",n._onDrop),w(document,"touchend",n._onDrop),w(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(n,o,K)),b(document,"drop",n),T(K,"transform","translateZ(0)")),De=!0,n._dragStartId=We(n._dragStarted.bind(n,t,e)),b(document,"selectstart",n),ge=!0,window.getSelection().removeAllRanges(),f&&T(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,o,i,r=this.el,l=e.target,s=this.options,u=s.group,c=Xe.active,d=se===u,h=s.sort,p=ue||c,f=this,m=!1;if(!xe){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),l=S(l,s.draggable,r,!0),B("dragOver"),Xe.eventCanceled)return m;if(K.contains(e.target)||l.animated&&l.animatingX&&l.animatingY||f._ignoreWhileAnimating===l)return F(!1);if(Se=!1,c&&!s.disabled&&(d?h||(o=Z!==J):ue===this||(this.lastPutMode=se.checkPull(this,c,K,e))&&u.checkPut(this,c,K,e))){if(i="vertical"===this._getDirection(e,l),t=O(K),B("dragOverValid"),Xe.eventCanceled)return m;if(o)return Z=J,X(),this._hideClone(),B("revert"),Xe.eventCanceled||(ee?J.insertBefore(K,ee):J.appendChild(K)),F(!0);var g=P(r,s.draggable);if(!g||function(e,t,n){var o=O(P(n.el,n.options.draggable)),i=Y(n.el,n.options,Q),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,i,this)&&!g.animated){if(g===K)return F(!1);if(g&&r===e.target&&(l=g),l&&(n=O(l)),!1!==Ye(J,r,K,t,l,n,e,!!l))return X(),g&&g.nextSibling?r.insertBefore(K,g.nextSibling):r.appendChild(K),Z=r,H(),F(!0)}else if(g&&function(e,t,n){var o=O(L(n.el,0,n.options,!0)),i=Y(n.el,n.options,Q),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,i,this)){var v=L(r,0,s,!0);if(v===K)return F(!1);if(n=O(l=v),!1!==Ye(J,r,K,t,l,n,e,!1))return X(),r.insertBefore(K,v),Z=r,H(),F(!0)}else if(l.parentNode===r){n=O(l);var b,w,y,D=K.parentNode!==r,E=!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}(K.animated&&K.toRect||t,l.animated&&l.toRect||n,i),C=i?"top":"left",x=A(l,"top","top")||A(K,"top","top"),k=x?x.scrollTop:void 0;if(ve!==l&&(w=n[C],Ce=!1,_e=!E&&s.invertSwap||D),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&&we<u*i){if(!Ce&&(1===be?s>c+u*a/2:s<d-u*a/2)&&(Ce=!0),Ce)h=!0;else if(1===be?s<c+we:s>d-we)return-be}else if(s>c+u*(1-i)/2&&s<d-u*(1-i)/2)return function(e){return I(K)<I(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,i,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,_e,ve===l),0!==b){var V=I(K);do{V-=b,y=Z.children[V]}while(y&&("none"===T(y,"display")||y===Q))}if(0===b||y===l)return F(!1);ve=l,be=b;var M=l.nextElementSibling,N=!1,R=Ye(J,r,K,t,l,n,e,N=1===b);if(!1!==R)return 1!==R&&-1!==R||(N=1===R),xe=!0,setTimeout(Fe,30),X(),N&&!M?r.appendChild(K):l.parentNode.insertBefore(K,N?M:l),x&&q(x,0,k-x.scrollTop),Z=K.parentNode,void 0===w||_e||(we=Math.abs(w-O(l)[C])),H(),F(!0)}if(r.contains(K))return F(!1)}return!1}function B(s,u){$(s,f,a({evt:e,isOwner:d,axis:i?"vertical":"horizontal",revert:o,dragRect:t,targetRect:n,canSort:h,fromSortable:p,target:l,completed:F,onMove:function(n,o){return Ye(J,r,K,t,n,O(n),e,o)},changed:H},u))}function X(){B("dragOverAnimationCapture"),f.captureAnimationState(),f!==p&&p.captureAnimationState()}function F(t){return B("dragOverCompleted",{insertion:t}),t&&(d?c._hideClone():c._showClone(f),f!==p&&(_(K,ue?ue.options.ghostClass:c.options.ghostClass,!1),_(K,s.ghostClass,!0)),ue!==f&&f!==Xe.active?ue=f:f===Xe.active&&ue&&(ue=null),p===f&&(f._ignoreWhileAnimating=l),f.animateAll((function(){B("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(l===K&&!K.animated||l===r&&!l.animated)&&(ve=null),s.dragoverBubble||e.rootEl||l===document||(K.parentNode[j]._isOutsideThisEl(e.target),!t&&Be(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function H(){ae=I(K),le=I(K,s.draggable),G({sortable:f,name:"change",toEl:r,newIndex:ae,newDraggableIndex:le,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){w(document,"mousemove",this._onTouchMove),w(document,"touchmove",this._onTouchMove),w(document,"pointermove",this._onTouchMove),w(document,"dragover",Be),w(document,"mousemove",Be),w(document,"touchmove",Be)},_offUpEvents:function(){var e=this.el.ownerDocument;w(e,"mouseup",this._onDrop),w(e,"touchend",this._onDrop),w(e,"pointerup",this._onDrop),w(e,"pointercancel",this._onDrop),w(e,"touchcancel",this._onDrop),w(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ae=I(K),le=I(K,n.draggable),$("drop",this,{evt:e}),Z=K&&K.parentNode,ae=I(K),le=I(K,n.draggable),Xe.eventCanceled||(De=!1,_e=!1,Ce=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ue(this.cloneId),Ue(this._dragStartId),this.nativeDraggable&&(w(document,"drop",this),w(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&T(document.body,"user-select",""),T(K,"transform",""),e&&(ge&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Q&&Q.parentNode&&Q.parentNode.removeChild(Q),(J===Z||ue&&"clone"!==ue.lastPutMode)&&ne&&ne.parentNode&&ne.parentNode.removeChild(ne),K&&(this.nativeDraggable&&w(K,"dragend",this),je(K),K.style["will-change"]="",ge&&!De&&_(K,ue?ue.options.ghostClass:this.options.ghostClass,!1),_(K,this.options.chosenClass,!1),G({sortable:this,name:"unchoose",toEl:Z,newIndex:null,newDraggableIndex:null,originalEvent:e}),J!==Z?(ae>=0&&(G({rootEl:Z,name:"add",toEl:Z,fromEl:J,originalEvent:e}),G({sortable:this,name:"remove",toEl:Z,originalEvent:e}),G({rootEl:Z,name:"sort",toEl:Z,fromEl:J,originalEvent:e}),G({sortable:this,name:"sort",toEl:Z,originalEvent:e})),ue&&ue.save()):ae!==ie&&ae>=0&&(G({sortable:this,name:"update",toEl:Z,originalEvent:e}),G({sortable:this,name:"sort",toEl:Z,originalEvent:e})),Xe.active&&(null!=ae&&-1!==ae||(ae=ie,le=re),G({sortable:this,name:"end",toEl:Z,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){$("nulling",this),J=K=Z=Q=ee=ne=te=oe=ce=de=ge=ae=le=ie=re=ve=be=ue=se=Xe.dragged=Xe.ghost=Xe.clone=Xe.active=null,ke.forEach((function(e){e.checked=!0})),ke.length=he=pe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":K&&(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++)S(e=n[o],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||He(e));return t},sort:function(e,t){var n={},o=this.el;this.toArray().forEach((function(e,t){var i=o.children[t];S(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 S(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=U.modifyOption(this,e,t);n[e]=void 0!==o?o:t,"group"===e&&Me(n)},destroy:function(){$("destroy",this);var e=this.el;e[j]=null,w(e,"mousedown",this._onTapStart),w(e,"touchstart",this._onTapStart),w(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(w(e,"dragover",this),w(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Ee.splice(Ee.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!oe){if($("hideClone",this),Xe.eventCanceled)return;T(ne,"display","none"),this.options.removeCloneOnHide&&ne.parentNode&&ne.parentNode.removeChild(ne),oe=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(oe){if($("showClone",this),Xe.eventCanceled)return;K.parentNode!=J||this.options.group.revertClone?ee?J.insertBefore(ne,ee):J.appendChild(ne):J.insertBefore(ne,K),this.options.group.revertClone&&this.animate(K,ne),T(ne,"display",""),oe=!1}}else this._hideClone()}},Ve&&b(document,"touchmove",(function(e){(Xe.active||De)&&e.cancelable&&e.preventDefault()})),Xe.utils={on:b,off:w,css:T,find:k,is:function(e,t){return!!S(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:B,closest:S,toggleClass:_,clone:X,index:I,nextTick:We,cancelNextTick:Ue,detectDirection:Ie,getChild:L,expando:j},Xe.get=function(e){return e[j]},Xe.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&&(Xe.utils=a(a({},Xe.utils),e.utils)),U.mount(e)}))},Xe.create=function(e,t){return new Xe(e,t)},Xe.version="1.15.6";var ze,$e,Ge,Ke,Ze,Qe,Je=[],et=!1;function tt(){Je.forEach((function(e){clearInterval(e.pid)})),Je=[]}function nt(){clearInterval(Qe)}var ot=B((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=V(),c=!1;$e!==n&&($e=n,tt(),ze=t.scroll,i=t.scrollFn,!0===ze&&(ze=N(n,!0)));var d=0,h=ze;do{var p=h,f=O(p),m=f.top,g=f.bottom,v=f.left,b=f.right,w=f.width,y=f.height,D=void 0,S=void 0,E=p.scrollWidth,C=p.scrollHeight,_=T(p),x=p.scrollLeft,k=p.scrollTop;p===u?(D=w<E&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),S=y<C&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(D=w<E&&("auto"===_.overflowX||"scroll"===_.overflowX),S=y<C&&("auto"===_.overflowY||"scroll"===_.overflowY));var A=D&&(Math.abs(b-a)<=l&&x+w<E)-(Math.abs(v-a)<=l&&!!x),L=S&&(Math.abs(g-r)<=l&&k+y<C)-(Math.abs(m-r)<=l&&!!k);if(!Je[d])for(var P=0;P<=d;P++)Je[P]||(Je[P]={});Je[d].vx==A&&Je[d].vy==L&&Je[d].el===p||(Je[d].el=p,Je[d].vx=A,Je[d].vy=L,clearInterval(Je[d].pid),0==A&&0==L||(c=!0,Je[d].pid=setInterval(function(){o&&0===this.layer&&Xe.active._onTouchMove(Ze);var t=Je[this.layer].vy?Je[this.layer].vy*s:0,n=Je[this.layer].vx?Je[this.layer].vx*s:0;"function"==typeof i&&"continue"!==i.call(Xe.dragged.parentNode[j],n,t,e,Ze,Je[this.layer].el)||q(Je[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&h!==u&&(h=N(h,!1)));et=c}}),30),it=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 at(){}function rt(){}at.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=L(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:it},s(at,{pluginName:"revertOnSpill"}),rt.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:it},s(rt,{pluginName:"removeOnSpill"}),Xe.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?b(document,"dragover",this._handleAutoScroll):this.options.supportPointer?b(document,"pointermove",this._handleFallbackAutoScroll):t.touches?b(document,"touchmove",this._handleFallbackAutoScroll):b(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?w(document,"dragover",this._handleAutoScroll):(w(document,"pointermove",this._handleFallbackAutoScroll),w(document,"touchmove",this._handleFallbackAutoScroll),w(document,"mousemove",this._handleFallbackAutoScroll)),nt(),tt(),clearTimeout(E),E=void 0},nulling:function(){Ze=$e=ze=et=Qe=Ge=Ke=null,Je.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(Ze=e,t||this.options.forceAutoScrollFallback||h||d||f){ot(e,this.options,a,t);var r=N(a,!0);!et||Qe&&o===Ge&&i===Ke||(Qe&&nt(),Qe=setInterval((function(){var a=N(document.elementFromPoint(o,i),!0);a!==r&&(r=a,tt()),ot(e,n.options,a,t)}),10),Ge=o,Ke=i)}else{if(!this.options.bubbleScroll||N(a,!0)===V())return void tt();ot(e,this.options,N(a,!1),!1)}}},s(e,{pluginName:"scroll",initializeByDefault:!0})}),Xe.mount(rt,at);const lt=["data-url","onContextmenu","onMousedown","onClick"],st={key:0,class:"iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont"},ut=e.defineComponent({name:"layoutTagsView"}),ct=e.defineComponent({...ut,setup(i){const a=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./contextmenu-D36Nl_y7.js"))))),r=e.ref([]),l=e.ref(),s=e.ref(),u=e.ref(),c=o.useTagsViewRoutes(),d=o.useThemeConfig(),h=o.useTagsViewRoutes(),p=o.useRoutesList(),{themeConfig:f}=n.storeToRefs(d),{tagsViewRoutes:m}=n.storeToRefs(h),{routesList:g}=n.storeToRefs(p),v=o.useKeepALiveNames(),b=t.useRoute(),w=t.useRouter(),y=e.reactive({routeActive:"",routePath:b.path,dropdown:{x:"",y:""},sortable:"",tagsRefsIndex:0,tagsViewList:[],tagsViewRoutesList:[]}),D=e.computed((()=>f.value.tagsStyle)),S=e.computed((()=>f.value)),E=e.computed((()=>e=>o.other.setTagsViewNameI18n(e))),C=e=>S.value.isShareTagsView?e.path===y.routePath:e.query&&Object.keys(e.query).length||e.params&&Object.keys(e.params).length?e.url?e.url===y.routeActive:e.path===y.routeActive:e.path===y.routePath,_=e=>{o.Session.set("tagsViewList",e)},T=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}`},x=async(e,t)=>{var n,i;let a=(null==(n=null==t?void 0:t.meta)?void 0:n.isDynamic)?t.meta.isDynamicPath:e;if(y.tagsViewList.filter((e=>{var n,i;return e.path===a&&o.isObjectValueEqual((null==(n=null==t?void 0:t.meta)?void 0:n.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(i=null==t?void 0:t.meta)?void 0:i.isDynamic)?(null==t?void 0:t.params)?null==t?void 0:t.params:null:(null==t?void 0:t.query)?null==t?void 0:t.query:null)})).length<=0){let e=y.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==t?void 0:t.meta)?void 0:i.isDynamic)?e.params=t.params:e.query=null==t?void 0:t.query,e.url=T(e),y.tagsViewList.push({...e}),_(y.tagsViewList)}},k=(e,t)=>{var n;let i=(null==(n=null==t?void 0:t.meta)?void 0:n.isDynamic)?t.meta.isDynamicPath:e;y.tagsViewList.forEach((e=>{var n,a,r;e.path!==i||o.isObjectValueEqual((null==(n=null==t?void 0:t.meta)?void 0:n.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(a=null==t?void 0:t.meta)?void 0:a.isDynamic)?(null==t?void 0:t.params)?null==t?void 0:t.params:null:(null==t?void 0:t.query)?null==t?void 0:t.query:null)||((null==(r=null==t?void 0:t.meta)?void 0:r.isDynamic)?e.params=t.params:e.query=null==t?void 0:t.query,e.url=T(e),_(y.tagsViewList))}))},V=(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(S.value.isShareTagsView?await k(t,n):await x(t,n),y.tagsViewList.some((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)})))return _(y.tagsViewList),!1;a=y.tagsViewRoutesList.find((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)}))}else{if(S.value.isShareTagsView?await k(t,n):await x(t,n),y.tagsViewList.some((e=>e.path===t)))return _(y.tagsViewList),!1;a=y.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:b.params:a.query=(null==n?void 0:n.query)?null==n?void 0:n.query:b.query,a.url=T(a),await y.tagsViewList.push({...a}),void(await _(y.tagsViewList))))})),O=t=>e.nextTick().then((async()=>{let n=await y.tagsViewList;y.tagsRefsIndex=n.findIndex((e=>S.value.isShareTagsView?e.path===t:e.url===t)),await e.nextTick().then((async()=>{var e,t;if(r.value.length<=0)return!1;let n=r.value[y.tagsRefsIndex],o=y.tagsRefsIndex,i=r.value.length,a=r.value[0],s=r.value[r.value.length-1],u=null==(t=null==(e=l.value)?void 0:e.$refs)?void 0:t.wrapRef,c=u.scrollWidth,d=u.offsetWidth,h=u.scrollLeft,p=r.value[y.tagsRefsIndex-1],f=r.value[y.tagsRefsIndex+1],m=0,g=0;n===a?u.scrollLeft=0:n===s?u.scrollLeft=c-d:(m=0===o?a.offsetLeft-5:(null==p?void 0:p.offsetLeft)-5,g=o===i?s.offsetLeft+s.offsetWidth+5:f.offsetLeft+f.offsetWidth+5,g>h+d?u.scrollLeft=g-d:m<h&&(u.scrollLeft=m)),l.value.update()}))})),A=async()=>{y.routeActive=await T(b),y.routePath=await b.meta.isDynamic?b.meta.isDynamicPath:b.path,y.tagsViewList=[],y.tagsViewRoutesList=m.value,await(async()=>{o.Session.get("tagsViewList")&&S.value.isCacheTagsView?y.tagsViewList=o.Session.get("tagsViewList"):(await y.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=T(e),y.tagsViewList.push({...e}))})),await V(b.path,b)),await O(S.value.isShareTagsView?y.routePath:y.routeActive)})()},L=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(/^&/,"?")}`},P=async e=>{const t=decodeURI(e);let n={};if(y.tagsViewList.forEach((e=>{e.transUrl=L(e),e.transUrl?e.transUrl===L(e)&&(n=e):e.path===t&&(n=e)})),!n)return!1;await v.delCachedView(n),o.mittBus.emit("onTagsViewRefreshRouterView",e)},I=e=>{y.tagsViewList.map(((t,n,o)=>{var i;(null==(i=t.meta)?void 0:i.isAffix)||(S.value.isShareTagsView?t.path===e:t.url===e)&&(v.delCachedView(t),y.tagsViewList.splice(n,1),setTimeout((()=>{(y.tagsViewList.length===n&&S.value.isShareTagsView?y.routePath===e:y.routeActive===e)?o[o.length-1].meta.isDynamic?n!==o.length?w.push({name:o[n].name,params:o[n].params}):w.push({name:o[o.length-1].name,params:o[o.length-1].params}):n!==o.length?w.push({path:o[n].path,query:o[n].query}):w.push({path:o[o.length-1].path,query:o[o.length-1].query}):(y.tagsViewList.length!==n&&S.value.isShareTagsView?y.routePath===e:y.routeActive===e)&&(o[n].meta.isDynamic?w.push({name:o[n].name,params:o[n].params}):w.push({path:o[n].path,query:o[n].query}))}),0))})),_(y.tagsViewList)},M=e=>{let t={};return y.tagsViewList.forEach((n=>{n.transUrl=L(n),n.transUrl?n.transUrl===L(n)&&n.transUrl===e.commonUrl&&(t=n):n.path===decodeURI(e.path)&&(t=n)})),t||null},N=async e=>{if(e.commonUrl=L(e),!M(e))return o.ElMessage({type:"warning",message:"请正确输入路径及完整参数(query、params)"});const{path:t,name:n,params:i,query:a,meta:r,url:l}=M(e);switch(e.contextMenuClickId){case 0:r.isDynamic?await w.push({name:n,params:i}):await w.push({path:t,query:a}),P(b.fullPath);break;case 1:I(S.value.isShareTagsView?t:l);break;case 2:r.isDynamic?await w.push({name:n,params:i}):await w.push({path:t,query:a}),await(async e=>{const t=y.tagsViewList.find((t=>t.path===e));v.delOthersCachedViews(t),o.Session.get("tagsViewList")&&(y.tagsViewList=[],o.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=T(e),y.tagsViewList.push({...e}))})),await V(e,b),_(y.tagsViewList))})(t);break;case 3:(()=>{if(o.Session.get("tagsViewList")){v.delAllCachedViews(),y.tagsViewList=[],o.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=T(e),y.tagsViewList.push({...e}))})),_(y.tagsViewList);const e=o.dynamicRoutes.find((e=>"/"===e.path));e&&w.push(e.redirect)}})();break;case 4:(async e=>{const t=y.tagsViewList.find((t=>S.value.isShareTagsView?t.path===e:t.url===e));t.meta.isDynamic?await w.push({name:t.name,params:t.params}):await w.push({name:t.name,query:t.query}),c.setCurrenFullscreen(!0)})(S.value.isShareTagsView?t:l)}},R=e=>{l.value.$refs.wrapRef.scrollLeft+=e.wheelDelta/4},B=async()=>{const e=document.querySelector(".layout-navbars-tagsview-ul");if(!e)return!1;y.sortable.el&&y.sortable.destroy(),y.sortable=Xe.create(e,{animation:300,dataIdAttr:"data-url",disabled:!S.value.isSortableTagsView,onEnd:()=>{const e=[];y.sortable.toArray().map((t=>{y.tagsViewList.map((n=>{n.url===t&&e.push({...n})}))})),_(e)}})},q=async()=>{await B(),o.other.isMobile()&&y.sortable.el&&y.sortable.destroy()};return e.onBeforeMount((()=>{q(),window.addEventListener("resize",q),o.mittBus.on("onCurrentContextmenuClick",(e=>{e.isFnClick=!0,N(e)})),o.mittBus.on("openOrCloseSortable",(async()=>{await B()})),o.mittBus.on("openShareTagsView",(()=>{S.value.isShareTagsView&&(w.push("/"),y.tagsViewList=[],y.tagsViewRoutesList.map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=T(e),y.tagsViewList.push({...e}))})))}))})),e.onUnmounted((()=>{o.mittBus.off("onCurrentContextmenuClick",(()=>{})),o.mittBus.off("openOrCloseSortable",(()=>{})),o.mittBus.off("openShareTagsView",(()=>{})),window.removeEventListener("resize",q)})),e.onBeforeUpdate((()=>{r.value=[]})),e.onMounted((async()=>{await A(),await B()})),t.onBeforeRouteUpdate((async e=>{y.routeActive=T(e),y.routePath=e.meta.isDynamic?e.meta.isDynamicPath:e.path,await V(e.path,e),O(S.value.isShareTagsView?y.routePath:y.routeActive)})),e.watch((()=>m.value),(async e=>{if(e.length===y.tagsViewRoutesList.length)return!1;await A()}),{deep:!0}),(t,n)=>{const o=e.resolveComponent("SvgIcon"),i=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["layout-navbars-tagsview",{"layout-navbars-tagsview-shadow":"classic"===S.value.layout}])},[e.createVNode(i,{ref_key:"scrollbarRef",ref:l,onWheel:e.withModifiers(R,["prevent"])},{default:e.withCtx((()=>[e.createElementVNode("ul",{class:e.normalizeClass(["layout-navbars-tagsview-ul",D.value]),ref_key:"tagsUlRef",ref:u},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.tagsViewList,((i,a)=>(e.openBlock(),e.createElementBlock("li",{key:a,class:e.normalizeClass(["layout-navbars-tagsview-ul-li",{"is-active":C(i)}]),"data-url":i.url,onContextmenu:e.withModifiers((e=>((e,t)=>{const{clientX:n,clientY:o}=t;y.dropdown.x=n,y.dropdown.y=o,s.value.openContextmenu(e)})(i,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});N(t)}})(i,e),onClick:e=>((e,t)=>{y.tagsRefsIndex=t,w.push(e),"columns"===S.value.layout&&(g.value.find((t=>t.path.indexOf(`/${e.path.split("/")[1]}`)>-1)).children?S.value.isCollapse=!1:S.value.isCollapse=!0)})(i,a),ref_for:!0,ref:e=>{e&&(r.value[a]=e)}},[C(i)?(e.openBlock(),e.createElementBlock("i",st)):e.createCommentVNode("",!0),!C(i)&&S.value.isTagsviewIcon?(e.openBlock(),e.createBlock(o,{key:1,name:i.meta.icon,class:"pr5"},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(E.value(i)),1),C(i)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(o,{name:"ele-RefreshRight",class:"ml5 layout-navbars-tagsview-ul-li-refresh",onClick:n[0]||(n[0]=e.withModifiers((e=>P(t.$route.fullPath)),["stop"]))}),i.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(o,{key:0,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-active",onClick:e.withModifiers((e=>I(S.value.isShareTagsView?i.path:i.url)),["stop"])},null,8,["onClick"]))],64)):e.createCommentVNode("",!0),i.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(o,{key:3,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-three",onClick:e.withModifiers((e=>I(S.value.isShareTagsView?i.path:i.url)),["stop"])},null,8,["onClick"]))],42,lt)))),128))],2)])),_:1},512),e.createVNode(e.unref(a),{dropdown:y.dropdown,ref_key:"contextmenuRef",ref:s,onCurrentContextmenuClick:N},null,8,["dropdown"])],2)}}}),dt=o._export_sfc(ct,[["__scopeId","data-v-97b76a44"]]);exports.default=dt;
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, reactive, computed, onBeforeMount, onUnmounted, onBeforeUpdate, onMounted, watch, resolveComponent, createElementBlock, openBlock, normalizeClass, createVNode, withModifiers, withCtx, createElementVNode, Fragment, renderList, createCommentVNode, createBlock, toDisplayString, unref, nextTick } from "vue";
|
|
2
2
|
import { useRoute, useRouter, onBeforeRouteUpdate } from "vue-router";
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
|
-
import { $ as useTagsViewRoutes, a as useThemeConfig, C as useRoutesList, u as useKeepALiveNames, a0 as other, m as mittBus, b as ElMessage, a1 as isObjectValueEqual, S as Session, a2 as dynamicRoutes, _ as _export_sfc } from "./index-
|
|
4
|
+
import { $ as useTagsViewRoutes, a as useThemeConfig, C as useRoutesList, u as useKeepALiveNames, a0 as other, m as mittBus, b as ElMessage, a1 as isObjectValueEqual, S as Session, a2 as dynamicRoutes, _ as _export_sfc } from "./index-CrEPJXoG.mjs";
|
|
5
5
|
/**!
|
|
6
6
|
* Sortable 1.15.6
|
|
7
7
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -2170,7 +2170,7 @@ const __default__ = defineComponent({
|
|
|
2170
2170
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
2171
2171
|
...__default__,
|
|
2172
2172
|
setup(__props) {
|
|
2173
|
-
const Contextmenu = defineAsyncComponent(() => import("./contextmenu-
|
|
2173
|
+
const Contextmenu = defineAsyncComponent(() => import("./contextmenu-rTUnaysL.mjs"));
|
|
2174
2174
|
const tagsRefs = ref([]);
|
|
2175
2175
|
const scrollbarRef = ref();
|
|
2176
2176
|
const contextmenuRef = ref();
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, onMounted, watch, nextTick, resolveComponent, createBlock, openBlock, withCtx, createVNode, unref } from "vue";
|
|
2
2
|
import { useRoute } from "vue-router";
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
|
-
import { a as useThemeConfig } from "./index-
|
|
4
|
+
import { a as useThemeConfig } from "./index-CrEPJXoG.mjs";
|
|
5
5
|
const __default__ = defineComponent({
|
|
6
6
|
name: "layoutTransverse"
|
|
7
7
|
});
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
...__default__,
|
|
10
10
|
setup(__props) {
|
|
11
|
-
const LayoutHeader = defineAsyncComponent(() => import("./header-
|
|
12
|
-
const LayoutMain = defineAsyncComponent(() => import("./main-
|
|
11
|
+
const LayoutHeader = defineAsyncComponent(() => import("./header-6YKu0hIE.mjs"));
|
|
12
|
+
const LayoutMain = defineAsyncComponent(() => import("./main-BdtraM2J.mjs"));
|
|
13
13
|
const layoutMainRef = ref();
|
|
14
14
|
const storesThemeConfig = useThemeConfig();
|
|
15
15
|
const { themeConfig } = storeToRefs(storesThemeConfig);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("vue-router"),t=require("pinia"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("vue-router"),t=require("pinia"),r=require("./index-C6ZtmFzx.js"),n=e.defineComponent({name:"layoutTransverse"}),a=e.defineComponent({...n,setup(n){const a=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./header-CdlssXqq.js"))))),u=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./main-DoFOkirw.js"))))),i=e.ref(),l=r.useThemeConfig(),{themeConfig:s}=t.storeToRefs(l),c=o.useRoute(),f=()=>{i.value.layoutMainScrollbarRef.update()},p=()=>{e.nextTick((()=>{setTimeout((()=>{f(),i.value.layoutMainScrollbarRef.wrapRef.scrollTop=0}),500)}))};return e.onMounted((()=>{p()})),e.watch((()=>c.path),(()=>{p()})),e.watch((()=>s.value.isTagsview),(()=>{e.nextTick((()=>{f()}))}),{deep:!0}),(o,t)=>{const r=e.resolveComponent("el-container");return e.openBlock(),e.createBlock(r,{class:"layout-container flex-center layout-backtop"},{default:e.withCtx((()=>[e.createVNode(e.unref(a)),e.createVNode(e.unref(u),{ref_key:"layoutMainRef",ref:i},null,512)])),_:1})}}});exports.default=a;
|
|
@@ -8,11 +8,14 @@ export interface IFormInstance {
|
|
|
8
8
|
* @deprecated 该功能已弃用,请使用getDataInstance方法
|
|
9
9
|
*/
|
|
10
10
|
data: ComputedRef<IFormData.Data>;
|
|
11
|
-
/**
|
|
11
|
+
/** 表单数据,【推荐使用getFullData新方法】
|
|
12
12
|
* @param fieldID 字段ID
|
|
13
13
|
* @returns IFormData.Data
|
|
14
14
|
*/
|
|
15
15
|
getData: (fieldID?: string) => IFormData.Data;
|
|
16
|
+
/** 获取当前实例的配置id
|
|
17
|
+
*/
|
|
18
|
+
getConfigId: () => string;
|
|
16
19
|
/** 表单所有数据即使是多层级
|
|
17
20
|
* @returns IFormData.Data
|
|
18
21
|
*/
|
|
@@ -25,6 +28,7 @@ export interface IFormInstance {
|
|
|
25
28
|
*/
|
|
26
29
|
setData: (fieldID: string, params: ICustomData.ANY, field?: string) => Promise<void>;
|
|
27
30
|
/** 合并表单数据,只合并表单存在字段值,表单不存在字段值不会追加到表单中,保证数据不被污染
|
|
31
|
+
* 【推荐使用merageAllData新方法】
|
|
28
32
|
* @param fieldID 字段ID
|
|
29
33
|
* @param params 数据
|
|
30
34
|
* @param extend 合并函数的扩展字段,在合并数据时需要额外追加的字段,默认值 ['id']
|
|
@@ -32,7 +36,7 @@ export interface IFormInstance {
|
|
|
32
36
|
*/
|
|
33
37
|
mergeData: (fieldID: string, params: ICustomData.ANY, extend?: string[]) => Promise<void>;
|
|
34
38
|
/** 合并表单所有数据,只合并表单存在字段值,表单不存在字段值不会追加到表单中,保证数据不被污染
|
|
35
|
-
*
|
|
39
|
+
* 【注意:每次调用该函数。都是表单刚创建时的原始数据与新值进行合并处理,若要进行数据的不断迭代更新需先获取当前数据合并后在传入】
|
|
36
40
|
* @param params 数据
|
|
37
41
|
* @param extend 合并函数的扩展字段,在合并数据时需要额外追加的字段,默认值 ['id']
|
|
38
42
|
* @returns Promise<IFormData.Data>
|
|
@@ -130,5 +134,5 @@ export interface IFormInstance {
|
|
|
130
134
|
*/
|
|
131
135
|
getOptionMap: <T extends string>(field: T) => T extends '-1' ? ICustomData.Data : ICustomData.Data[] | undefined;
|
|
132
136
|
}
|
|
133
|
-
export interface BcFormApi extends Pick<IFormInstance, 'getData' | 'setData' | 'getInstance' | 'getDataInstance' | 'getItemConfig' | 'getOptions' | 'setOptionMap' | 'getOptionMap'> {
|
|
137
|
+
export interface BcFormApi extends Pick<IFormInstance, 'getData' | 'setData' | 'getConfigId' | 'getInstance' | 'getDataInstance' | 'getItemConfig' | 'getOptions' | 'setOptionMap' | 'getOptionMap'> {
|
|
134
138
|
}
|
|
@@ -72,6 +72,8 @@ export interface BcTableApi {
|
|
|
72
72
|
reset: (noSearch?: boolean | Function) => Promise<void>;
|
|
73
73
|
/** vxtable表格实例方法 */
|
|
74
74
|
getApi: (table_id?: string) => VxeTableInstance;
|
|
75
|
+
/** 获取当前实例的配置 id */
|
|
76
|
+
getConfigId: () => string;
|
|
75
77
|
/** 获取当前表格配置的id,
|
|
76
78
|
* @param index 索引位置, 默认为0, 当传值为 -1 时,返回所有表格id
|
|
77
79
|
*/
|
|
@@ -241,6 +243,8 @@ export interface TableInstance extends TableParams {
|
|
|
241
243
|
reset: (noSearch?: boolean | Function) => Promise<void>;
|
|
242
244
|
/** vxtable表格实例方法 */
|
|
243
245
|
getApi: (table_id?: string) => VxeTableInstance;
|
|
246
|
+
/** 获取当前实例的配置 id */
|
|
247
|
+
getConfigId: () => string;
|
|
244
248
|
/** 获取当前表格配置的id,
|
|
245
249
|
* @param index 索引位置, 默认为0, 当传值为 -1 时,返回所有表格id
|
|
246
250
|
*/
|
|
@@ -6459,6 +6459,7 @@ export declare function useTable(props: Record<'data', ICustomData.FormTable | u
|
|
|
6459
6459
|
insertAfter: (rows: ICustomData.Data | ICustomData.Data[], records: ICustomData.Data, uuid?: string) => Promise<void>;
|
|
6460
6460
|
setRow: (rows: ICustomData.Data | ICustomData.Data[], uuid?: string) => Promise<void>;
|
|
6461
6461
|
getApi: (table_id?: string) => VxeTableInstance;
|
|
6462
|
+
getConfigId: () => string;
|
|
6462
6463
|
getTab: (index?: number) => ICustomData.ANY;
|
|
6463
6464
|
setTab: (index?: number) => void;
|
|
6464
6465
|
hideBtn: (field: string | string[], isShow?: boolean) => void;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { default as ICustomData } from '../types/customData';
|
|
2
2
|
import { IFormInstance } from '../components/business/bcTable/utils/parseTable';
|
|
3
3
|
|
|
4
|
-
/** 属性结构数据展平一维数据
|
|
5
|
-
|
|
4
|
+
/** 属性结构数据展平一维数据
|
|
5
|
+
* @param menus 树结构数据
|
|
6
|
+
* @param isCloneDeep 是否进行深拷贝
|
|
7
|
+
*/
|
|
8
|
+
export declare function treeToList<T extends Record<'children', T[]>>(menus: T[], isCloneDeep?: boolean): T[];
|
|
6
9
|
/** 获取多表单数据数据,用于处理force_update_list字段合并问题
|
|
7
|
-
* @param params
|
|
10
|
+
* @param params 通过getData|getFullData方法获取的表单数据
|
|
8
11
|
*/
|
|
9
12
|
export declare function getMergeData(params: ICustomData.Data[]): ICustomData.Data;
|
|
10
13
|
/** 获取多表单数据数据,用于处理force_update_list字段合并问题
|
|
11
|
-
* @param Instance
|
|
14
|
+
* @param Instance 表单实例
|
|
12
15
|
*/
|
|
13
16
|
export declare function getFormInstanceData(Instance: IFormInstance[]): any;
|
|
14
17
|
/**
|