hs-admin-ui 2.7.2 → 2.7.4
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-BtMf7jhv.js → 401-BgqJBP_6.js} +1 -1
- package/dist/401-BgqJBP_6.js.gz +0 -0
- package/dist/{401-CaTuyjUn.mjs → 401-D7pJD_GJ.mjs} +1 -1
- package/dist/401-D7pJD_GJ.mjs.gz +0 -0
- package/dist/{404-CCM55J69.mjs → 404-D9m8SRvo.mjs} +1 -1
- package/dist/{404-CCM55J69.mjs.gz → 404-D9m8SRvo.mjs.gz} +0 -0
- package/dist/{404-DQb4XbzV.js → 404-SSgAN79T.js} +1 -1
- package/dist/{404-DQb4XbzV.js.gz → 404-SSgAN79T.js.gz} +0 -0
- package/dist/{account-DJVaw7Ip.mjs → account-0jslYcXY.mjs} +9 -9
- package/dist/account-0jslYcXY.mjs.gz +0 -0
- package/dist/{account-BkXuxvJ9.js → account-DZBO8EZR.js} +1 -1
- package/dist/account-DZBO8EZR.js.gz +0 -0
- package/dist/{aside-y0zP9yn8.js → aside-BOH-e7Ra.js} +1 -1
- package/dist/aside-BOH-e7Ra.js.gz +0 -0
- package/dist/{aside-CBp1JSif.mjs → aside-Dd72XahJ.mjs} +8 -8
- package/dist/aside-Dd72XahJ.mjs.gz +0 -0
- package/dist/{btnIndex-Cohvn3an.js → btnIndex-CDX8KBCD.js} +1 -1
- package/dist/btnIndex-CDX8KBCD.js.gz +0 -0
- package/dist/{btnIndex-BbUqJqnv.mjs → btnIndex-EJ2Qd35L.mjs} +2 -2
- package/dist/btnIndex-EJ2Qd35L.mjs.gz +0 -0
- package/dist/{classic-CBkPhefS.mjs → classic-BODpj-Vt.mjs} +2 -2
- package/dist/classic-BODpj-Vt.mjs.gz +0 -0
- package/dist/{classic-CikLX4zJ.js → classic-xTDpZ9C4.js} +1 -1
- package/dist/classic-xTDpZ9C4.js.gz +0 -0
- package/dist/{cloneConfigDialog-Bd5-a6ke.mjs → cloneConfigDialog-B0IhZ7bM.mjs} +1 -1
- package/dist/cloneConfigDialog-B0IhZ7bM.mjs.gz +0 -0
- package/dist/{cloneConfigDialog-N0oEM5vt.js → cloneConfigDialog-BlO1EDll.js} +1 -1
- package/dist/cloneConfigDialog-BlO1EDll.js.gz +0 -0
- package/dist/{columns-Dm5Mxua0.mjs → columns-CcOtATso.mjs} +2 -2
- package/dist/columns-CcOtATso.mjs.gz +0 -0
- package/dist/{columns-Blupm1El.js → columns-ChM5l9o-.js} +1 -1
- package/dist/columns-ChM5l9o-.js.gz +0 -0
- package/dist/{columnsAside-CdEN0xt9.js → columnsAside-C4XvoINn.js} +1 -1
- package/dist/columnsAside-C4XvoINn.js.gz +0 -0
- package/dist/{columnsAside-DaDQNpts.mjs → columnsAside-CRr6dhIw.mjs} +12 -12
- package/dist/columnsAside-CRr6dhIw.mjs.gz +0 -0
- package/dist/{contextmenu-CUXOCXEE.mjs → contextmenu-BSp3IlBO.mjs} +1 -1
- package/dist/contextmenu-BSp3IlBO.mjs.gz +0 -0
- package/dist/{contextmenu-JV8F29CQ.js → contextmenu-BaMv2Dxm.js} +1 -1
- package/dist/contextmenu-BaMv2Dxm.js.gz +0 -0
- package/dist/{contextmenu-BMaJqCsU.js → contextmenu-C7Gcji2g.js} +1 -1
- package/dist/contextmenu-C7Gcji2g.js.gz +0 -0
- package/dist/{contextmenu--DS2wraa.mjs → contextmenu-DT3MAx_N.mjs} +1 -1
- package/dist/contextmenu-DT3MAx_N.mjs.gz +0 -0
- package/dist/{contextmenu-BryPpJ4n.js → contextmenu-Dfls-olT.js} +1 -1
- package/dist/contextmenu-Dfls-olT.js.gz +0 -0
- package/dist/{contextmenu-BKSzPTuL.mjs → contextmenu-Dq048G2t.mjs} +1 -1
- package/dist/contextmenu-Dq048G2t.mjs.gz +0 -0
- package/dist/debug/GenerateTestUserSig-es.d.ts +34 -0
- package/dist/debug/GenerateTestUserSig-es.js +97 -0
- package/dist/debug/GenerateTestUserSig-es.js.gz +0 -0
- package/dist/debug/lib-generate-test-usersig-es.min.js +2 -0
- package/dist/debug/lib-generate-test-usersig-es.min.js.gz +0 -0
- package/dist/{defaults-hmKJs-yU.js → defaults-Nn2FQ5s6.js} +1 -1
- package/dist/defaults-Nn2FQ5s6.js.gz +0 -0
- package/dist/{defaults-Dk_D-H6Q.mjs → defaults-RmWVtgQS.mjs} +2 -2
- package/dist/defaults-RmWVtgQS.mjs.gz +0 -0
- package/dist/{dialog-DTfUglkN.mjs → dialog-BY3FvQ93.mjs} +1 -1
- package/dist/{dialog-CzvzoPy_.js → dialog-BpnBtPro.js} +1 -1
- package/dist/{dialog-CAZjSRh0.js → dialog-DUH3ds8Z.js} +1 -1
- package/dist/{dialog-CGdHwSk2.js → dialog-Dd2rZD2U.js} +1 -1
- package/dist/{dialog-pQEvQDTc.mjs → dialog-Djedcf-2.mjs} +1 -1
- package/dist/{dialog-JQWdTL7Q.mjs → dialog-Dm12jjP0.mjs} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B62B6VNK.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CNGV8wGE.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CNGV8wGE.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang--Lb1QuH7.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-VNhOVJNd.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-VNhOVJNd.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DSI0zDR5.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BylQVtzS.mjs} +4 -4
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BylQVtzS.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B2oyLSGx.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CANDqb5p.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CANDqb5p.js.gz +0 -0
- package/dist/{dictDialog-DHp4faf6.js → dictDialog-BUpdhkk_.js} +1 -1
- package/dist/{dictDialog-CSjNf2es.mjs → dictDialog-DI3ajIvf.mjs} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Ci6WtoCK.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-B2dlpLI_.mjs} +2 -2
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-B2dlpLI_.mjs.gz +0 -0
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C6C4R-Ec.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DsneOSRw.js} +1 -1
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DsneOSRw.js.gz +0 -0
- package/dist/{dictItemDialog-Cgi8a44T.mjs → dictItemDialog-DJxNGwp8.mjs} +1 -1
- package/dist/{dictItemDialog-Bgv1hkFP.js → dictItemDialog-Dxh9Srxy.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-CWRwpS0d.js → dictItemDialog.vue_vue_type_script_setup_true_lang-C-3UIURN.js} +1 -1
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-C-3UIURN.js.gz +0 -0
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-DQpJxhfR.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-DtScuL6l.mjs} +2 -2
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DtScuL6l.mjs.gz +0 -0
- package/dist/{formConfig-CyPCy8y_.js → formConfig-BcYy6nCV.js} +1 -1
- package/dist/formConfig-BcYy6nCV.js.gz +0 -0
- package/dist/{formConfig-_RcQFXJa.mjs → formConfig-w9l3Mfgi.mjs} +4 -4
- package/dist/formConfig-w9l3Mfgi.mjs.gz +0 -0
- package/dist/{header-sX0KgUl2.js → header-Cb0AZjmv.js} +1 -1
- package/dist/{header-CoOFedF-.mjs → header-Dx9cqIMo.mjs} +2 -2
- package/dist/{horizontal-Dr8Hhnhc.mjs → horizontal-Dg7zcPKN.mjs} +11 -11
- package/dist/horizontal-Dg7zcPKN.mjs.gz +0 -0
- package/dist/{horizontal-Bn6JzGvZ.js → horizontal-h9oGUj80.js} +1 -1
- package/dist/horizontal-h9oGUj80.js.gz +0 -0
- package/dist/{hsAttrBtn-BxKANJv1.mjs → hsAttrBtn-Bg_HolLV.mjs} +1 -1
- package/dist/{hsAttrBtn-CFTcgchB.js → hsAttrBtn-DfoMF5BZ.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DgXz68rV.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-Bdf2hfee.js} +1 -1
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-Bdf2hfee.js.gz +0 -0
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-CJ8NmHsC.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-TYEzGUVT.mjs} +3 -3
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-TYEzGUVT.mjs.gz +0 -0
- package/dist/{hsAttrForm-C3-Espks.mjs → hsAttrForm-BGTAOQFu.mjs} +1 -1
- package/dist/{hsAttrForm-DvpDRLx5.js → hsAttrForm-DyRrIk3y.js} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-96pzJ-BU.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-B2_WD88t.mjs} +2 -2
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-B2_WD88t.mjs.gz +0 -0
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-Dmj_ofx_.js → hsAttrForm.vue_vue_type_script_setup_true_lang-DhWyi44q.js} +1 -1
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DhWyi44q.js.gz +0 -0
- package/dist/{hsBtnConfigList-rtHaYrSp.mjs → hsBtnConfigList-BMLJ19DU.mjs} +1 -1
- package/dist/hsBtnConfigList-BMLJ19DU.mjs.gz +0 -0
- package/dist/{hsBtnConfigList-DCnoKf1H.js → hsBtnConfigList-Bfr0OiLG.js} +1 -1
- package/dist/hsBtnConfigList-Bfr0OiLG.js.gz +0 -0
- package/dist/{hsBtnItemConfig-DJdMYUdk.js → hsBtnItemConfig-Cww6JK-5.js} +1 -1
- package/dist/{hsBtnItemConfig-MZb0Ny0E.mjs → hsBtnItemConfig-uEOi2s-T.mjs} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DuJjPF7j.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BnXDbD5D.js} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BnXDbD5D.js.gz +0 -0
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bx6q3tdT.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CKC3vaQz.mjs} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CKC3vaQz.mjs.gz +0 -0
- package/dist/{hsBtnPanel--0mRPK2m.mjs → hsBtnPanel-CCjb6KCY.mjs} +1 -1
- package/dist/{hsBtnPanel-DD-XUCTw.js → hsBtnPanel-FWwH3dhy.js} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D46-PExu.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DuenIhN6.mjs} +4 -4
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DuenIhN6.mjs.gz +0 -0
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DB06jIRx.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-jxxqjJNT.js} +1 -1
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-jxxqjJNT.js.gz +0 -0
- package/dist/{hsExpand-DpwPdYqH.mjs → hsExpand-BonnpZhF.mjs} +1 -1
- package/dist/{hsExpand-BvjS5FCv.js → hsExpand-tTED2T0L.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-C0Mgq-7K.mjs → hsExpand.vue_vue_type_script_setup_true_lang-LEub1tGT.mjs} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-LEub1tGT.mjs.gz +0 -0
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-DAknQv8V.js → hsExpand.vue_vue_type_script_setup_true_lang-yiltiHJO.js} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-yiltiHJO.js.gz +0 -0
- package/dist/{hsFormConfig-CuB_DhG3.js → hsFormConfig-CU6A54rQ.js} +1 -1
- package/dist/hsFormConfig-CU6A54rQ.js.gz +0 -0
- package/dist/{hsFormConfig-J6wjRbWJ.mjs → hsFormConfig-DjOkysyG.mjs} +1 -1
- package/dist/hsFormConfig-DjOkysyG.mjs.gz +0 -0
- package/dist/{hsFormConfigList-CD4JEcU2.mjs → hsFormConfigList-CXLozAsA.mjs} +2 -2
- package/dist/hsFormConfigList-CXLozAsA.mjs.gz +0 -0
- package/dist/{hsFormConfigList-DdcQ1T0-.js → hsFormConfigList-CwuwbLsp.js} +1 -1
- package/dist/hsFormConfigList-CwuwbLsp.js.gz +0 -0
- package/dist/{hsFormPanel-DnXVaQxH.js → hsFormPanel-CqRb2s6g.js} +1 -1
- package/dist/{hsFormPanel-B7roGtyE.mjs → hsFormPanel-D1xEUZkU.mjs} +1 -1
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B6Lma1JN.mjs → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DTtJLQsy.mjs} +5 -5
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DTtJLQsy.mjs.gz +0 -0
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CrKSuouh.js → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DUe5rk9S.js} +1 -1
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DUe5rk9S.js.gz +0 -0
- package/dist/{hsFormParse-ds-EzKJj.js → hsFormParse-hft1uDKc.js} +1 -1
- package/dist/{hsFormParse-CIiy01l0.mjs → hsFormParse-jyUc0PbB.mjs} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-C0sD-fn5.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-CqVYsOYB.mjs} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-CqVYsOYB.mjs.gz +0 -0
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-D4e8hADX.js → hsFormParse.vue_vue_type_script_setup_true_lang-DW78xtSZ.js} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DW78xtSZ.js.gz +0 -0
- package/dist/{hsPanelItem-qTV_N92q.mjs → hsPanelItem-BRyrXADc.mjs} +1 -1
- package/dist/{hsPanelItem-BrPYYb8N.js → hsPanelItem-Cm6M61GA.js} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Cd8kyRJI.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CxOLETJc.mjs} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CxOLETJc.mjs.gz +0 -0
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Vd-TkZT2.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DRkX23-9.js} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DRkX23-9.js.gz +0 -0
- package/dist/{iframes-DdkWZ8jJ.js → iframes-CLXct_X9.js} +1 -1
- package/dist/iframes-CLXct_X9.js.gz +0 -0
- package/dist/{iframes-ryDOUqtA.mjs → iframes-CzLh3Bi-.mjs} +1 -1
- package/dist/iframes-CzLh3Bi-.mjs.gz +0 -0
- package/dist/{index-i6RUDmGW.mjs → index-0Mi_0CCA.mjs} +1 -1
- package/dist/index-0Mi_0CCA.mjs.gz +0 -0
- package/dist/{index-B8XSTvkt.mjs → index-B359zER4.mjs} +4 -4
- package/dist/index-B359zER4.mjs.gz +0 -0
- package/dist/{index-Z89JGNBo.js → index-B7fvcA6u.js} +1 -1
- package/dist/{index-DT2qyNKo.js → index-BDpwyE1S.js} +1 -1
- package/dist/{index-CXnpzS1z.mjs → index-BF6kBWjD.mjs} +4 -4
- package/dist/index-BF6kBWjD.mjs.gz +0 -0
- package/dist/{index-DWPzOTkD.mjs → index-BJ5t_HS0.mjs} +1 -1
- package/dist/{index-C2FhC3wc.js → index-BJzRJLD3.js} +1 -1
- package/dist/index-BJzRJLD3.js.gz +0 -0
- package/dist/{index-i_uVluGQ.js → index-BMblAabg.js} +1 -1
- package/dist/index-BMblAabg.js.gz +0 -0
- package/dist/{index-Dx3Vt9UA.js → index-BMl9otNn.js} +1 -1
- package/dist/index-BMl9otNn.js.gz +0 -0
- package/dist/{index-BUq4eGXb.mjs → index-BQWvBh3s.mjs} +1 -1
- package/dist/{index-CveF0Pnh.js → index-BW9IYh-5.js} +1 -1
- package/dist/index-BW9IYh-5.js.gz +0 -0
- package/dist/{index-C-4rpWao.mjs → index-BXIr-Mas.mjs} +2 -2
- package/dist/index-BXIr-Mas.mjs.gz +0 -0
- package/dist/{index-GvRg1lB7.js → index-B_lUHUwT.js} +1 -1
- package/dist/index-B_lUHUwT.js.gz +0 -0
- package/dist/{index-BmfroDWw.js → index-Baek9zyw.js} +1 -1
- package/dist/index-Baek9zyw.js.gz +0 -0
- package/dist/{index-MrKJsShg.js → index-Bdb_7nVU.js} +1 -1
- package/dist/index-Bdb_7nVU.js.gz +0 -0
- package/dist/{index-xAQb2zWM.mjs → index-BilBz4O-.mjs} +1 -1
- package/dist/index-BilBz4O-.mjs.gz +0 -0
- package/dist/{index-C_gH4GLt.js → index-BmIh8WLA.js} +1 -1
- package/dist/index-BmIh8WLA.js.gz +0 -0
- package/dist/{index-Bcaa_yL1.js → index-Bowl_OKA.js} +1 -1
- package/dist/index-Bowl_OKA.js.gz +0 -0
- package/dist/{index--RC_xMVQ.mjs → index-BpdECbO_.mjs} +5 -5
- package/dist/index-BpdECbO_.mjs.gz +0 -0
- package/dist/{index-CEvvg8JG.mjs → index-BqnQSmaP.mjs} +1 -1
- package/dist/{index-DryFo3e9.mjs → index-Bv0JGcyZ.mjs} +1 -1
- package/dist/index-Bv0JGcyZ.mjs.gz +0 -0
- package/dist/{index-DTZ-kI4Z.mjs → index-C1PQ8ov7.mjs} +1 -1
- package/dist/{index-Byc4xg-6.mjs → index-C2H4eL9n.mjs} +1 -1
- package/dist/index-C2H4eL9n.mjs.gz +0 -0
- package/dist/{index-BaAojnJw.js → index-C9Mtylsr.js} +1 -1
- package/dist/{index-DNwD3djU.mjs → index-CAUURfoh.mjs} +2 -2
- package/dist/{index-kWbVdOOR.js → index-CJTGDEGC.js} +1 -1
- package/dist/index-CJTGDEGC.js.gz +0 -0
- package/dist/{index-BkWWhA-w.mjs → index-CKzlbKQ-.mjs} +2 -2
- package/dist/index-CKzlbKQ-.mjs.gz +0 -0
- package/dist/{index-DmK4qau4.js → index-CPQLQgFm.js} +1 -1
- package/dist/index-CPQLQgFm.js.gz +0 -0
- package/dist/{index-DGo9I56v.js → index-CQm8nbPz.js} +55 -55
- package/dist/index-CQm8nbPz.js.gz +0 -0
- package/dist/index-CS3NPz7Q.mjs +48 -0
- package/dist/index-CS3NPz7Q.mjs.gz +0 -0
- package/dist/{index-efBOiywC.mjs → index-CWvfV9K5.mjs} +10 -10
- package/dist/index-CWvfV9K5.mjs.gz +0 -0
- package/dist/{index-CHcoJiqT.mjs → index-C_5aPoYk.mjs} +5 -5
- package/dist/index-C_5aPoYk.mjs.gz +0 -0
- package/dist/{index-DZQ1qmin.mjs → index-C_CFFORS.mjs} +1 -1
- package/dist/{index-CdSsQdlF.js → index-Cbdb0KoP.js} +1 -1
- package/dist/index-Cbye76Gn.js +128 -0
- package/dist/index-Cbye76Gn.js.gz +0 -0
- package/dist/{index-C__jbww0.mjs → index-CgPIfmdk.mjs} +1 -1
- package/dist/index-CgPIfmdk.mjs.gz +0 -0
- package/dist/{index-kOMHLDxc.js → index-CnVvS18z.js} +1 -1
- package/dist/{index-C4_CIY8K.mjs → index-Com05dNs.mjs} +3 -3
- package/dist/index-Com05dNs.mjs.gz +0 -0
- package/dist/index-CqLL22Kf.mjs +43990 -0
- package/dist/index-CqLL22Kf.mjs.gz +0 -0
- package/dist/{index-BBNXRIhE.mjs → index-Csik29EG.mjs} +2 -2
- package/dist/index-Csik29EG.mjs.gz +0 -0
- package/dist/{index-BZZQC_DH.js → index-CuqJdvbf.js} +1 -1
- package/dist/index-CuqJdvbf.js.gz +0 -0
- package/dist/{index-DTdbq4TK.js → index-D3p4tsl9.js} +1 -1
- package/dist/index-D3p4tsl9.js.gz +0 -0
- package/dist/{index-BSVIdHB0.mjs → index-D9mlPiiA.mjs} +1 -1
- package/dist/{index-ozjjZv_s.mjs → index-DA4OD1pj.mjs} +1 -1
- package/dist/index-DA4OD1pj.mjs.gz +0 -0
- package/dist/{index-Dn8OlJuS.js → index-DAKfPDAr.js} +1 -1
- package/dist/{index-BakUEpn1.js → index-DPfvVk3w.js} +1 -1
- package/dist/{index-KxkM8bFE.js → index-DdLqFaTU.js} +1 -1
- package/dist/{index-BsGaWJxG.js → index-DfvNpogZ.js} +1 -1
- package/dist/index-DfvNpogZ.js.gz +0 -0
- package/dist/{index-BDBZWZk3.js → index-Dnmrbbvr.js} +1 -1
- package/dist/index-Dnmrbbvr.js.gz +0 -0
- package/dist/{index-nG1eeRw3.mjs → index-DowyH7Km.mjs} +3 -3
- package/dist/index-DowyH7Km.mjs.gz +0 -0
- package/dist/index-Dqg_b_-8.js +1 -0
- package/dist/{index-C7uJn3_B.js → index-DufYsMc5.js} +1 -1
- package/dist/index-DufYsMc5.js.gz +0 -0
- package/dist/{index-BZ9rYml1.mjs → index-Dx9H-HyV.mjs} +12167 -12051
- package/dist/index-Dx9H-HyV.mjs.gz +0 -0
- package/dist/index-H2jriJZf.mjs +4 -0
- package/dist/{index-D30HlTY6.mjs → index-L3dY4fPH.mjs} +1 -1
- package/dist/index-L3dY4fPH.mjs.gz +0 -0
- package/dist/{index-D7TNFM8y.mjs → index-L9AJcT_t.mjs} +1 -1
- package/dist/index-L9AJcT_t.mjs.gz +0 -0
- package/dist/{index-BsR2Vs5w.mjs → index-N-VPHARP.mjs} +1 -1
- package/dist/{index-CGnL4XLd.js → index-Rxp97Rkg.js} +1 -1
- package/dist/{index-CP6-N_W4.mjs → index-WXALke45.mjs} +1 -1
- package/dist/{index-ZSDmahF_.js → index-kQP0JpPL.js} +1 -1
- package/dist/{index-DP0Af_zS.js → index-qbN1P0MP.js} +1 -1
- package/dist/index-qbN1P0MP.js.gz +0 -0
- package/dist/{index-AGsK7mIc.js → index-vfV31uiQ.js} +1 -1
- package/dist/index-vfV31uiQ.js.gz +0 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-D0DvwfhL.mjs → index.vue_vue_type_script_setup_true_lang-BLaCJvIJ.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BLaCJvIJ.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-B2l8Bcu_.js → index.vue_vue_type_script_setup_true_lang-BXNWeOB-.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BXNWeOB-.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-C51fFmoQ.mjs → index.vue_vue_type_script_setup_true_lang-BiaZe7wC.mjs} +4 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-BiaZe7wC.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-By7XhNXv.mjs → index.vue_vue_type_script_setup_true_lang-D80n5_Re.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-D80n5_Re.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DvcENAhD.js → index.vue_vue_type_script_setup_true_lang-le2UWkcG.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-le2UWkcG.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BhqWxfuJ.js → index.vue_vue_type_script_setup_true_lang-qlbFuErp.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-qlbFuErp.js.gz +0 -0
- package/dist/{link-HWn9lovV.js → link-Bc12tz-v.js} +1 -1
- package/dist/link-Bc12tz-v.js.gz +0 -0
- package/dist/{link-DE-OioHb.mjs → link-Cc7yPRi9.mjs} +1 -1
- package/dist/link-Cc7yPRi9.mjs.gz +0 -0
- package/dist/{list-BaNzHeVa.mjs → list-BvhGwPk4.mjs} +1 -1
- package/dist/list-BvhGwPk4.mjs.gz +0 -0
- package/dist/{list-jfcbuKUc.js → list-Dpnjo4-D.js} +1 -1
- package/dist/list-Dpnjo4-D.js.gz +0 -0
- package/dist/{main-B5l46E84.mjs → main-COTQSim0.mjs} +8 -8
- package/dist/main-COTQSim0.mjs.gz +0 -0
- package/dist/{main-DpB9WLac.js → main-Dw_Dc52X.js} +1 -1
- package/dist/main-Dw_Dc52X.js.gz +0 -0
- package/dist/{mobile-BMxGE9uz.js → mobile-0H7WKChe.js} +1 -1
- package/dist/mobile-0H7WKChe.js.gz +0 -0
- package/dist/{mobile-XBvvB60o.mjs → mobile-CEHlSAze.mjs} +1 -1
- package/dist/mobile-CEHlSAze.mjs.gz +0 -0
- package/dist/{parent-CoTCutfH.js → parent-wZc1qvaN.js} +1 -1
- package/dist/parent-wZc1qvaN.js.gz +0 -0
- package/dist/{parent-CLSeMxbp.mjs → parent-xcyRntEe.mjs} +2 -2
- package/dist/parent-xcyRntEe.mjs.gz +0 -0
- package/dist/{roleItem-DQODb-nH.mjs → roleItem-641RrvCX.mjs} +4 -4
- package/dist/roleItem-641RrvCX.mjs.gz +0 -0
- package/dist/{roleItem-BxJ6FWVZ.js → roleItem-BhEVW1sT.js} +1 -1
- package/dist/roleItem-BhEVW1sT.js.gz +0 -0
- package/dist/{saveForm-4SyEZlDt.js → saveForm-E_0A8Tra.js} +1 -1
- package/dist/{saveForm-NUPUbUkb.mjs → saveForm-GOgdcfbX.mjs} +1 -1
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-BcTmDAHm.mjs → saveForm.vue_vue_type_script_setup_true_lang-BbAYe7ho.mjs} +2 -2
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-BbAYe7ho.mjs.gz +0 -0
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-vhoBZDt6.js → saveForm.vue_vue_type_script_setup_true_lang-C2aPGFLG.js} +1 -1
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-C2aPGFLG.js.gz +0 -0
- package/dist/{scan-1Sm1FhZr.mjs → scan-Cjv2pIWj.mjs} +10 -10
- package/dist/scan-Cjv2pIWj.mjs.gz +0 -0
- package/dist/{scan-Dcdxm81m.js → scan-Cxx1nLmf.js} +1 -1
- package/dist/scan-Cxx1nLmf.js.gz +0 -0
- package/dist/{search-badOlGGz.js → search-BkbEzM7M.js} +1 -1
- package/dist/search-BkbEzM7M.js.gz +0 -0
- package/dist/{search-Cg-a1HjZ.mjs → search-ClUvnpEe.mjs} +7 -7
- package/dist/search-ClUvnpEe.mjs.gz +0 -0
- package/dist/{selectConfig-CnjGTmUU.mjs → selectConfig-3-ebOlYc.mjs} +1 -1
- package/dist/selectConfig-3-ebOlYc.mjs.gz +0 -0
- package/dist/{selectConfig-BlxKnKMv.js → selectConfig-Dily26t-.js} +1 -1
- package/dist/selectConfig-Dily26t-.js.gz +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/{subItem-C3pyf1hB.mjs → subItem-D4R7Hnr3.mjs} +1 -1
- package/dist/subItem-D4R7Hnr3.mjs.gz +0 -0
- package/dist/{subItem-CSO7Bz-O.js → subItem-o2WbVYUq.js} +1 -1
- package/dist/subItem-o2WbVYUq.js.gz +0 -0
- package/dist/{tagsView-fNVkqhar.mjs → tagsView-DTS-01zy.mjs} +46 -46
- package/dist/tagsView-DTS-01zy.mjs.gz +0 -0
- package/dist/{tagsView-Cli4IXRc.js → tagsView-EybB67Fb.js} +2 -2
- package/dist/tagsView-EybB67Fb.js.gz +0 -0
- package/dist/{transverse-H3Vai8yw.js → transverse-CnMmSJuM.js} +1 -1
- package/dist/transverse-CnMmSJuM.js.gz +0 -0
- package/dist/{transverse-DnMi2rX_.mjs → transverse-DP60EC6N.mjs} +2 -2
- package/dist/transverse-DP60EC6N.mjs.gz +0 -0
- package/dist/uploadAvatar-CVQpmCzJ.js +7 -0
- package/dist/uploadAvatar-CVQpmCzJ.js.gz +0 -0
- package/dist/{uploadAvatar-CLXg17cE.mjs → uploadAvatar-CdmSPBZY.mjs} +223 -301
- package/dist/uploadAvatar-CdmSPBZY.mjs.gz +0 -0
- package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js +1 -0
- package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js.gz +0 -0
- package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-Dmzfac6b.mjs +82 -0
- package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-Dmzfac6b.mjs.gz +0 -0
- package/dist/{user-OZ_219V8.mjs → user-BEKcBLbx.mjs} +10 -10
- package/dist/user-BEKcBLbx.mjs.gz +0 -0
- package/dist/{user-BWEJqg3p.js → user-XuJX_Zpd.js} +1 -1
- package/dist/user-XuJX_Zpd.js.gz +0 -0
- package/dist/{userNews-DfG4BDte.mjs → userNews-u0e7-FyY.mjs} +1 -1
- package/dist/userNews-u0e7-FyY.mjs.gz +0 -0
- package/dist/{userNews-DT97e0aU.js → userNews-zdQjeqsv.js} +1 -1
- package/dist/userNews-zdQjeqsv.js.gz +0 -0
- package/dist/{userSelect-CAnzVBMZ.mjs → userSelect-CJob1kLn.mjs} +1 -1
- package/dist/{userSelect-C3oAqwbi.js → userSelect-wlxxO4Cs.js} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-B_zFxg_g.js → userSelect.vue_vue_type_script_setup_true_lang-BnjpxhJp.js} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-BnjpxhJp.js.gz +0 -0
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-Dp46w1nS.mjs → userSelect.vue_vue_type_script_setup_true_lang-CQILgazz.mjs} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-CQILgazz.mjs.gz +0 -0
- package/dist/{vertical-ivGc6Eo3.mjs → vertical-BM68sx_z.mjs} +2 -2
- package/dist/vertical-BM68sx_z.mjs.gz +0 -0
- package/dist/{vertical-DP-orqOv.js → vertical-DI-17NLD.js} +1 -1
- package/dist/vertical-DI-17NLD.js.gz +0 -0
- package/package.json +2 -1
- package/dist/401-BtMf7jhv.js.gz +0 -0
- package/dist/401-CaTuyjUn.mjs.gz +0 -0
- package/dist/account-BkXuxvJ9.js.gz +0 -0
- package/dist/account-DJVaw7Ip.mjs.gz +0 -0
- package/dist/aside-CBp1JSif.mjs.gz +0 -0
- package/dist/aside-y0zP9yn8.js.gz +0 -0
- package/dist/btnIndex-BbUqJqnv.mjs.gz +0 -0
- package/dist/btnIndex-Cohvn3an.js.gz +0 -0
- package/dist/classic-CBkPhefS.mjs.gz +0 -0
- package/dist/classic-CikLX4zJ.js.gz +0 -0
- package/dist/cloneConfigDialog-Bd5-a6ke.mjs.gz +0 -0
- package/dist/cloneConfigDialog-N0oEM5vt.js.gz +0 -0
- package/dist/columns-Blupm1El.js.gz +0 -0
- package/dist/columns-Dm5Mxua0.mjs.gz +0 -0
- package/dist/columnsAside-CdEN0xt9.js.gz +0 -0
- package/dist/columnsAside-DaDQNpts.mjs.gz +0 -0
- package/dist/contextmenu--DS2wraa.mjs.gz +0 -0
- package/dist/contextmenu-BKSzPTuL.mjs.gz +0 -0
- package/dist/contextmenu-BMaJqCsU.js.gz +0 -0
- package/dist/contextmenu-BryPpJ4n.js.gz +0 -0
- package/dist/contextmenu-CUXOCXEE.mjs.gz +0 -0
- package/dist/contextmenu-JV8F29CQ.js.gz +0 -0
- package/dist/defaults-Dk_D-H6Q.mjs.gz +0 -0
- package/dist/defaults-hmKJs-yU.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang--Lb1QuH7.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B62B6VNK.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B2oyLSGx.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DSI0zDR5.mjs.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C6C4R-Ec.js.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Ci6WtoCK.mjs.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-CWRwpS0d.js.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DQpJxhfR.mjs.gz +0 -0
- package/dist/formConfig-CyPCy8y_.js.gz +0 -0
- package/dist/formConfig-_RcQFXJa.mjs.gz +0 -0
- package/dist/horizontal-Bn6JzGvZ.js.gz +0 -0
- package/dist/horizontal-Dr8Hhnhc.mjs.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-CJ8NmHsC.mjs.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DgXz68rV.js.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-96pzJ-BU.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-Dmj_ofx_.js.gz +0 -0
- package/dist/hsBtnConfigList-DCnoKf1H.js.gz +0 -0
- package/dist/hsBtnConfigList-rtHaYrSp.mjs.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bx6q3tdT.mjs.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DuJjPF7j.js.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D46-PExu.mjs.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DB06jIRx.js.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-C0Mgq-7K.mjs.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-DAknQv8V.js.gz +0 -0
- package/dist/hsFormConfig-CuB_DhG3.js.gz +0 -0
- package/dist/hsFormConfig-J6wjRbWJ.mjs.gz +0 -0
- package/dist/hsFormConfigList-CD4JEcU2.mjs.gz +0 -0
- package/dist/hsFormConfigList-DdcQ1T0-.js.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B6Lma1JN.mjs.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CrKSuouh.js.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-C0sD-fn5.mjs.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-D4e8hADX.js.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Cd8kyRJI.mjs.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Vd-TkZT2.js.gz +0 -0
- package/dist/iframes-DdkWZ8jJ.js.gz +0 -0
- package/dist/iframes-ryDOUqtA.mjs.gz +0 -0
- package/dist/index--RC_xMVQ.mjs.gz +0 -0
- package/dist/index-74esJND8.mjs +0 -54
- package/dist/index-74esJND8.mjs.gz +0 -0
- package/dist/index-AGsK7mIc.js.gz +0 -0
- package/dist/index-B8XSTvkt.mjs.gz +0 -0
- package/dist/index-BBNXRIhE.mjs.gz +0 -0
- package/dist/index-BDBZWZk3.js.gz +0 -0
- package/dist/index-BZ9rYml1.mjs.gz +0 -0
- package/dist/index-BZZQC_DH.js.gz +0 -0
- package/dist/index-Bcaa_yL1.js.gz +0 -0
- package/dist/index-BkWWhA-w.mjs.gz +0 -0
- package/dist/index-BmfroDWw.js.gz +0 -0
- package/dist/index-BsGaWJxG.js.gz +0 -0
- package/dist/index-Byc4xg-6.mjs.gz +0 -0
- package/dist/index-C-4rpWao.mjs.gz +0 -0
- package/dist/index-C2FhC3wc.js.gz +0 -0
- package/dist/index-C4_CIY8K.mjs.gz +0 -0
- package/dist/index-C7uJn3_B.js.gz +0 -0
- package/dist/index-CHcoJiqT.mjs.gz +0 -0
- package/dist/index-CRI2F6jG.mjs +0 -203
- package/dist/index-CRI2F6jG.mjs.gz +0 -0
- package/dist/index-CXnpzS1z.mjs.gz +0 -0
- package/dist/index-C__jbww0.mjs.gz +0 -0
- package/dist/index-C_gH4GLt.js.gz +0 -0
- package/dist/index-CveF0Pnh.js.gz +0 -0
- package/dist/index-D30HlTY6.mjs.gz +0 -0
- package/dist/index-D7TNFM8y.mjs.gz +0 -0
- package/dist/index-DGo9I56v.js.gz +0 -0
- package/dist/index-DP0Af_zS.js.gz +0 -0
- package/dist/index-DTdbq4TK.js.gz +0 -0
- package/dist/index-DmK4qau4.js.gz +0 -0
- package/dist/index-DnmwWbtK.js +0 -1
- package/dist/index-DnmwWbtK.js.gz +0 -0
- package/dist/index-DryFo3e9.mjs.gz +0 -0
- package/dist/index-Dx3Vt9UA.js.gz +0 -0
- package/dist/index-GSe9RsOo.mjs +0 -4
- package/dist/index-GvRg1lB7.js.gz +0 -0
- package/dist/index-MrKJsShg.js.gz +0 -0
- package/dist/index-efBOiywC.mjs.gz +0 -0
- package/dist/index-gfJT-kZi.js +0 -1
- package/dist/index-gfJT-kZi.js.gz +0 -0
- package/dist/index-i6RUDmGW.mjs.gz +0 -0
- package/dist/index-i_uVluGQ.js.gz +0 -0
- package/dist/index-kWbVdOOR.js.gz +0 -0
- package/dist/index-nG1eeRw3.mjs.gz +0 -0
- package/dist/index-ozjjZv_s.mjs.gz +0 -0
- package/dist/index-xAQb2zWM.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-B2l8Bcu_.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BhqWxfuJ.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-By7XhNXv.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-C51fFmoQ.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-D0DvwfhL.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DvcENAhD.js.gz +0 -0
- package/dist/link-DE-OioHb.mjs.gz +0 -0
- package/dist/link-HWn9lovV.js.gz +0 -0
- package/dist/list-BaNzHeVa.mjs.gz +0 -0
- package/dist/list-jfcbuKUc.js.gz +0 -0
- package/dist/main-B5l46E84.mjs.gz +0 -0
- package/dist/main-DpB9WLac.js.gz +0 -0
- package/dist/mobile-BMxGE9uz.js.gz +0 -0
- package/dist/mobile-XBvvB60o.mjs.gz +0 -0
- package/dist/parent-CLSeMxbp.mjs.gz +0 -0
- package/dist/parent-CoTCutfH.js.gz +0 -0
- package/dist/roleItem-BxJ6FWVZ.js.gz +0 -0
- package/dist/roleItem-DQODb-nH.mjs.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-BcTmDAHm.mjs.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-vhoBZDt6.js.gz +0 -0
- package/dist/scan-1Sm1FhZr.mjs.gz +0 -0
- package/dist/scan-Dcdxm81m.js.gz +0 -0
- package/dist/search-Cg-a1HjZ.mjs.gz +0 -0
- package/dist/search-badOlGGz.js.gz +0 -0
- package/dist/selectConfig-BlxKnKMv.js.gz +0 -0
- package/dist/selectConfig-CnjGTmUU.mjs.gz +0 -0
- package/dist/subItem-C3pyf1hB.mjs.gz +0 -0
- package/dist/subItem-CSO7Bz-O.js.gz +0 -0
- package/dist/tagsView-Cli4IXRc.js.gz +0 -0
- package/dist/tagsView-fNVkqhar.mjs.gz +0 -0
- package/dist/transverse-DnMi2rX_.mjs.gz +0 -0
- package/dist/transverse-H3Vai8yw.js.gz +0 -0
- package/dist/uploadAvatar-CLXg17cE.mjs.gz +0 -0
- package/dist/uploadAvatar-D95slvKY.js +0 -7
- package/dist/uploadAvatar-D95slvKY.js.gz +0 -0
- package/dist/user-BWEJqg3p.js.gz +0 -0
- package/dist/user-OZ_219V8.mjs.gz +0 -0
- package/dist/userNews-DT97e0aU.js.gz +0 -0
- package/dist/userNews-DfG4BDte.mjs.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-B_zFxg_g.js.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-Dp46w1nS.mjs.gz +0 -0
- package/dist/vertical-DP-orqOv.js.gz +0 -0
- package/dist/vertical-ivGc6Eo3.mjs.gz +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("vue"),x=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("vue"),x=require("./index-CQm8nbPz.js");/**!
|
|
2
2
|
* Sortable 1.15.2
|
|
3
3
|
* @author RubaXa <trash@rubaxa.org>
|
|
4
4
|
* @author owenm <owen23355@gmail.com>
|
|
5
5
|
* @license MIT
|
|
6
|
-
*/function It(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(i);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),t.push.apply(t,n)}return t}function se(i){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?It(Object(t),!0).forEach(function(n){Jt(i,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(t)):It(Object(t)).forEach(function(n){Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(t,n))})}return i}function Ue(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ue=function(e){return typeof e}:Ue=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(i)}function Jt(i,e,t){return e in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}function ue(){return ue=Object.assign||function(i){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n])}return i},ue.apply(this,arguments)}function en(i,e){if(i==null)return{};var t={},n=Object.keys(i),a,r;for(r=0;r<n.length;r++)a=n[r],!(e.indexOf(a)>=0)&&(t[a]=i[a]);return t}function tn(i,e){if(i==null)return{};var t=en(i,e),n,a;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(i);for(a=0;a<r.length;a++)n=r[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(i,n)&&(t[n]=i[n])}return t}var nn="1.15.2";function le(i){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(i)}var ce=le(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Be=le(/Edge/i),Vt=le(/firefox/i),Ne=le(/safari/i)&&!le(/chrome/i)&&!le(/android/i),kt=le(/iP(ad|od|hone)/i),Mt=le(/chrome/i)&&le(/android/i),Ft={capture:!1,passive:!1};function A(i,e,t){i.addEventListener(e,t,!ce&&Ft)}function O(i,e,t){i.removeEventListener(e,t,!ce&&Ft)}function Qe(i,e){if(e){if(e[0]===">"&&(e=e.substring(1)),i)try{if(i.matches)return i.matches(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e)}catch{return!1}return!1}}function an(i){return i.host&&i!==document&&i.host.nodeType?i.host:i.parentNode}function ae(i,e,t,n){if(i){t=t||document;do{if(e!=null&&(e[0]===">"?i.parentNode===t&&Qe(i,e):Qe(i,e))||n&&i===t)return i;if(i===t)break}while(i=an(i))}return null}var Ot=/\s+/g;function G(i,e,t){if(i&&e)if(i.classList)i.classList[t?"add":"remove"](e);else{var n=(" "+i.className+" ").replace(Ot," ").replace(" "+e+" "," ");i.className=(n+(t?" "+e:"")).replace(Ot," ")}}function y(i,e,t){var n=i&&i.style;if(n){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(i,""):i.currentStyle&&(t=i.currentStyle),e===void 0?t:t[e];!(e in n)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),n[e]=t+(typeof t=="string"?"":"px")}}function Ve(i,e){var t="";if(typeof i=="string")t=i;else do{var n=y(i,"transform");n&&n!=="none"&&(t=n+" "+t)}while(!e&&(i=i.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(t)}function Bt(i,e,t){if(i){var n=i.getElementsByTagName(e),a=0,r=n.length;if(t)for(;a<r;a++)t(n[a],a);return n}return[]}function oe(){var i=document.scrollingElement;return i||document.documentElement}function F(i,e,t,n,a){if(!(!i.getBoundingClientRect&&i!==window)){var r,s,u,c,f,v,g;if(i!==window&&i.parentNode&&i!==oe()?(r=i.getBoundingClientRect(),s=r.top,u=r.left,c=r.bottom,f=r.right,v=r.height,g=r.width):(s=0,u=0,c=window.innerHeight,f=window.innerWidth,v=window.innerHeight,g=window.innerWidth),(e||t)&&i!==window&&(a=a||i.parentNode,!ce))do if(a&&a.getBoundingClientRect&&(y(a,"transform")!=="none"||t&&y(a,"position")!=="static")){var V=a.getBoundingClientRect();s-=V.top+parseInt(y(a,"border-top-width")),u-=V.left+parseInt(y(a,"border-left-width")),c=s+r.height,f=u+r.width;break}while(a=a.parentNode);if(n&&i!==window){var I=Ve(a||i),D=I&&I.a,_=I&&I.d;I&&(s/=_,u/=D,g/=D,v/=_,c=s+v,f=u+g)}return{top:s,left:u,bottom:c,right:f,width:g,height:v}}}function xt(i,e,t){for(var n=ge(i,!0),a=F(i)[e];n;){var r=F(n)[t],s=void 0;if(t==="top"||t==="left"?s=a>=r:s=a<=r,!s)return n;if(n===oe())break;n=ge(n,!1)}return!1}function Oe(i,e,t,n){for(var a=0,r=0,s=i.children;r<s.length;){if(s[r].style.display!=="none"&&s[r]!==E.ghost&&(n||s[r]!==E.dragged)&&ae(s[r],t.draggable,i,!1)){if(a===e)return s[r];a++}r++}return null}function Dt(i,e){for(var t=i.lastElementChild;t&&(t===E.ghost||y(t,"display")==="none"||e&&!Qe(t,e));)t=t.previousElementSibling;return t||null}function ee(i,e){var t=0;if(!i||!i.parentNode)return-1;for(;i=i.previousElementSibling;)i.nodeName.toUpperCase()!=="TEMPLATE"&&i!==E.clone&&(!e||Qe(i,e))&&t++;return t}function At(i){var e=0,t=0,n=oe();if(i)do{var a=Ve(i),r=a.a,s=a.d;e+=i.scrollLeft*r,t+=i.scrollTop*s}while(i!==n&&(i=i.parentNode));return[e,t]}function rn(i,e){for(var t in i)if(i.hasOwnProperty(t)){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===i[t][n])return Number(t)}return-1}function ge(i,e){if(!i||!i.getBoundingClientRect)return oe();var t=i,n=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var a=y(t);if(t.clientWidth<t.scrollWidth&&(a.overflowX=="auto"||a.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(a.overflowY=="auto"||a.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return oe();if(n||e)return t;n=!0}}while(t=t.parentNode);return oe()}function on(i,e){if(i&&e)for(var t in e)e.hasOwnProperty(t)&&(i[t]=e[t]);return i}function ct(i,e){return Math.round(i.top)===Math.round(e.top)&&Math.round(i.left)===Math.round(e.left)&&Math.round(i.height)===Math.round(e.height)&&Math.round(i.width)===Math.round(e.width)}var Re;function qt(i,e){return function(){if(!Re){var t=arguments,n=this;t.length===1?i.call(n,t[0]):i.apply(n,t),Re=setTimeout(function(){Re=void 0},e)}}}function sn(){clearTimeout(Re),Re=void 0}function Xt(i,e,t){i.scrollLeft+=e,i.scrollTop+=t}function Yt(i){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(i).cloneNode(!0):t?t(i).clone(!0)[0]:i.cloneNode(!0)}function Ht(i,e,t){var n={};return Array.from(i.children).forEach(function(a){var r,s,u,c;if(!(!ae(a,e.draggable,i,!1)||a.animated||a===t)){var f=F(a);n.left=Math.min((r=n.left)!==null&&r!==void 0?r:1/0,f.left),n.top=Math.min((s=n.top)!==null&&s!==void 0?s:1/0,f.top),n.right=Math.max((u=n.right)!==null&&u!==void 0?u:-1/0,f.right),n.bottom=Math.max((c=n.bottom)!==null&&c!==void 0?c:-1/0,f.bottom)}}),n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}var Z="Sortable"+new Date().getTime();function ln(){var i=[],e;return{captureAnimationState:function(){if(i=[],!!this.options.animation){var n=[].slice.call(this.el.children);n.forEach(function(a){if(!(y(a,"display")==="none"||a===E.ghost)){i.push({target:a,rect:F(a)});var r=se({},i[i.length-1].rect);if(a.thisAnimationDuration){var s=Ve(a,!0);s&&(r.top-=s.f,r.left-=s.e)}a.fromRect=r}})}},addAnimationState:function(n){i.push(n)},removeAnimationState:function(n){i.splice(rn(i,{target:n}),1)},animateAll:function(n){var a=this;if(!this.options.animation){clearTimeout(e),typeof n=="function"&&n();return}var r=!1,s=0;i.forEach(function(u){var c=0,f=u.target,v=f.fromRect,g=F(f),V=f.prevFromRect,I=f.prevToRect,D=u.rect,_=Ve(f,!0);_&&(g.top-=_.f,g.left-=_.e),f.toRect=g,f.thisAnimationDuration&&ct(V,g)&&!ct(v,g)&&(D.top-g.top)/(D.left-g.left)===(v.top-g.top)/(v.left-g.left)&&(c=cn(D,V,I,a.options)),ct(g,v)||(f.prevFromRect=v,f.prevToRect=g,c||(c=a.options.animation),a.animate(f,D,g,c)),c&&(r=!0,s=Math.max(s,c),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},c),f.thisAnimationDuration=c)}),clearTimeout(e),r?e=setTimeout(function(){typeof n=="function"&&n()},s):typeof n=="function"&&n(),i=[]},animate:function(n,a,r,s){if(s){y(n,"transition",""),y(n,"transform","");var u=Ve(this.el),c=u&&u.a,f=u&&u.d,v=(a.left-r.left)/(c||1),g=(a.top-r.top)/(f||1);n.animatingX=!!v,n.animatingY=!!g,y(n,"transform","translate3d("+v+"px,"+g+"px,0)"),this.forRepaintDummy=un(n),y(n,"transition","transform "+s+"ms"+(this.options.easing?" "+this.options.easing:"")),y(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){y(n,"transition",""),y(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},s)}}}}function un(i){return i.offsetWidth}function cn(i,e,t,n){return Math.sqrt(Math.pow(e.top-i.top,2)+Math.pow(e.left-i.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*n.animation}var _e=[],ft={initializeByDefault:!0},qe={mount:function(e){for(var t in ft)ft.hasOwnProperty(t)&&!(t in e)&&(e[t]=ft[t]);_e.forEach(function(n){if(n.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),_e.push(e)},pluginEvent:function(e,t,n){var a=this;this.eventCanceled=!1,n.cancel=function(){a.eventCanceled=!0};var r=e+"Global";_e.forEach(function(s){t[s.pluginName]&&(t[s.pluginName][r]&&t[s.pluginName][r](se({sortable:t},n)),t.options[s.pluginName]&&t[s.pluginName][e]&&t[s.pluginName][e](se({sortable:t},n)))})},initializePlugins:function(e,t,n,a){_e.forEach(function(u){var c=u.pluginName;if(!(!e.options[c]&&!u.initializeByDefault)){var f=new u(e,t,e.options);f.sortable=e,f.options=e.options,e[c]=f,ue(n,f.defaults)}});for(var r in e.options)if(e.options.hasOwnProperty(r)){var s=this.modifyOption(e,r,e.options[r]);typeof s<"u"&&(e.options[r]=s)}},getEventProperties:function(e,t){var n={};return _e.forEach(function(a){typeof a.eventProperties=="function"&&ue(n,a.eventProperties.call(t[a.pluginName],e))}),n},modifyOption:function(e,t,n){var a;return _e.forEach(function(r){e[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[t]=="function"&&(a=r.optionListeners[t].call(e[r.pluginName],n))}),a}};function fn(i){var e=i.sortable,t=i.rootEl,n=i.name,a=i.targetEl,r=i.cloneEl,s=i.toEl,u=i.fromEl,c=i.oldIndex,f=i.newIndex,v=i.oldDraggableIndex,g=i.newDraggableIndex,V=i.originalEvent,I=i.putSortable,D=i.extraEventProperties;if(e=e||t&&t[Z],!!e){var _,d=e.options,te="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!ce&&!Be?_=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(n,!0,!0)),_.to=s||t,_.from=u||t,_.item=a||t,_.clone=r,_.oldIndex=c,_.newIndex=f,_.oldDraggableIndex=v,_.newDraggableIndex=g,_.originalEvent=V,_.pullMode=I?I.lastPutMode:void 0;var C=se(se({},D),qe.getEventProperties(n,e));for(var U in C)_[U]=C[U];t&&t.dispatchEvent(_),d[te]&&d[te].call(e,_)}}var dn=["evt"],j=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.evt,r=tn(n,dn);qe.pluginEvent.bind(E)(e,t,se({dragEl:p,parentEl:R,ghostEl:T,rootEl:L,nextEl:Ee,lastDownEl:ze,cloneEl:N,cloneHidden:pe,dragStarted:Ae,putSortable:H,activeSortable:E.active,originalEvent:a,oldIndex:Ie,oldDraggableIndex:ke,newIndex:K,newDraggableIndex:he,hideGhostForTarget:Ut,unhideGhostForTarget:zt,cloneNowHidden:function(){pe=!0},cloneNowShown:function(){pe=!1},dispatchSortableEvent:function(u){$({sortable:t,name:u,originalEvent:a})}},r))};function $(i){fn(se({putSortable:H,cloneEl:N,targetEl:p,rootEl:L,oldIndex:Ie,oldDraggableIndex:ke,newIndex:K,newDraggableIndex:he},i))}var p,R,T,L,Ee,ze,N,pe,Ie,K,ke,he,He,H,Ce=!1,Je=!1,et=[],be,ie,dt,ht,Pt,Lt,Ae,Te,Me,Fe=!1,We=!1,Ge,W,pt=[],bt=!1,tt=[],it=typeof document<"u",$e=kt,Nt=Be||ce?"cssFloat":"float",hn=it&&!Mt&&!kt&&"draggable"in document.createElement("div"),Wt=function(){if(it){if(ce)return!1;var i=document.createElement("x");return i.style.cssText="pointer-events:auto",i.style.pointerEvents==="auto"}}(),$t=function(e,t){var n=y(e),a=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=Oe(e,0,t),s=Oe(e,1,t),u=r&&y(r),c=s&&y(s),f=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+F(r).width,v=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+F(s).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&u.float&&u.float!=="none"){var g=u.float==="left"?"left":"right";return s&&(c.clear==="both"||c.clear===g)?"vertical":"horizontal"}return r&&(u.display==="block"||u.display==="flex"||u.display==="table"||u.display==="grid"||f>=a&&n[Nt]==="none"||s&&n[Nt]==="none"&&f+v>a)?"vertical":"horizontal"},pn=function(e,t,n){var a=n?e.left:e.top,r=n?e.right:e.bottom,s=n?e.width:e.height,u=n?t.left:t.top,c=n?t.right:t.bottom,f=n?t.width:t.height;return a===u||r===c||a+s/2===u+f/2},gn=function(e,t){var n;return et.some(function(a){var r=a[Z].options.emptyInsertThreshold;if(!(!r||Dt(a))){var s=F(a),u=e>=s.left-r&&e<=s.right+r,c=t>=s.top-r&&t<=s.bottom+r;if(u&&c)return n=a}}),n},jt=function(e){function t(r,s){return function(u,c,f,v){var g=u.options.group.name&&c.options.group.name&&u.options.group.name===c.options.group.name;if(r==null&&(s||g))return!0;if(r==null||r===!1)return!1;if(s&&r==="clone")return r;if(typeof r=="function")return t(r(u,c,f,v),s)(u,c,f,v);var V=(s?u:c).options.group.name;return r===!0||typeof r=="string"&&r===V||r.join&&r.indexOf(V)>-1}}var n={},a=e.group;(!a||Ue(a)!="object")&&(a={name:a}),n.name=a.name,n.checkPull=t(a.pull,!0),n.checkPut=t(a.put),n.revertClone=a.revertClone,e.group=n},Ut=function(){!Wt&&T&&y(T,"display","none")},zt=function(){!Wt&&T&&y(T,"display","")};it&&!Mt&&document.addEventListener("click",function(i){if(Je)return i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.stopImmediatePropagation&&i.stopImmediatePropagation(),Je=!1,!1},!0);var ye=function(e){if(p){e=e.touches?e.touches[0]:e;var t=gn(e.clientX,e.clientY);if(t){var n={};for(var a in e)e.hasOwnProperty(a)&&(n[a]=e[a]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Z]._onDragOver(n)}}},mn=function(e){p&&p.parentNode[Z]._isOutsideThisEl(e.target)};function E(i,e){if(!(i&&i.nodeType&&i.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(i));this.el=i,this.options=e=ue({},e),i[Z]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(i.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return $t(i,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(s,u){s.setData("Text",u.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:E.supportPointer!==!1&&"PointerEvent"in window&&!Ne,emptyInsertThreshold:5};qe.initializePlugins(this,i,t);for(var n in t)!(n in e)&&(e[n]=t[n]);jt(e);for(var a in this)a.charAt(0)==="_"&&typeof this[a]=="function"&&(this[a]=this[a].bind(this));this.nativeDraggable=e.forceFallback?!1:hn,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?A(i,"pointerdown",this._onTapStart):(A(i,"mousedown",this._onTapStart),A(i,"touchstart",this._onTapStart)),this.nativeDraggable&&(A(i,"dragover",this),A(i,"dragenter",this)),et.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),ue(this,ln())}E.prototype={constructor:E,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Te=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,p):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,a=this.options,r=a.preventOnFilter,s=e.type,u=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,c=(u||e).target,f=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||c,v=a.filter;if(_n(n),!p&&!(/mousedown|pointerdown/.test(s)&&e.button!==0||a.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&Ne&&c&&c.tagName.toUpperCase()==="SELECT")&&(c=ae(c,a.draggable,n,!1),!(c&&c.animated)&&ze!==c)){if(Ie=ee(c),ke=ee(c,a.draggable),typeof v=="function"){if(v.call(this,e,c,this)){$({sortable:t,rootEl:f,name:"filter",targetEl:c,toEl:n,fromEl:n}),j("filter",t,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(v&&(v=v.split(",").some(function(g){if(g=ae(f,g.trim(),n,!1),g)return $({sortable:t,rootEl:g,name:"filter",targetEl:c,fromEl:n,toEl:n}),j("filter",t,{evt:e}),!0}),v)){r&&e.cancelable&&e.preventDefault();return}a.handle&&!ae(f,a.handle,n,!1)||this._prepareDragStart(e,u,c)}}},_prepareDragStart:function(e,t,n){var a=this,r=a.el,s=a.options,u=r.ownerDocument,c;if(n&&!p&&n.parentNode===r){var f=F(n);if(L=r,p=n,R=p.parentNode,Ee=p.nextSibling,ze=n,He=s.group,E.dragged=p,be={target:p,clientX:(t||e).clientX,clientY:(t||e).clientY},Pt=be.clientX-f.left,Lt=be.clientY-f.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,p.style["will-change"]="all",c=function(){if(j("delayEnded",a,{evt:e}),E.eventCanceled){a._onDrop();return}a._disableDelayedDragEvents(),!Vt&&a.nativeDraggable&&(p.draggable=!0),a._triggerDragStart(e,t),$({sortable:a,name:"choose",originalEvent:e}),G(p,s.chosenClass,!0)},s.ignore.split(",").forEach(function(v){Bt(p,v.trim(),gt)}),A(u,"dragover",ye),A(u,"mousemove",ye),A(u,"touchmove",ye),A(u,"mouseup",a._onDrop),A(u,"touchend",a._onDrop),A(u,"touchcancel",a._onDrop),Vt&&this.nativeDraggable&&(this.options.touchStartThreshold=4,p.draggable=!0),j("delayStart",this,{evt:e}),s.delay&&(!s.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(Be||ce))){if(E.eventCanceled){this._onDrop();return}A(u,"mouseup",a._disableDelayedDrag),A(u,"touchend",a._disableDelayedDrag),A(u,"touchcancel",a._disableDelayedDrag),A(u,"mousemove",a._delayedDragTouchMoveHandler),A(u,"touchmove",a._delayedDragTouchMoveHandler),s.supportPointer&&A(u,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(c,s.delay)}else c()}},_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(){p&>(p),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;O(e,"mouseup",this._disableDelayedDrag),O(e,"touchend",this._disableDelayedDrag),O(e,"touchcancel",this._disableDelayedDrag),O(e,"mousemove",this._delayedDragTouchMoveHandler),O(e,"touchmove",this._delayedDragTouchMoveHandler),O(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?A(document,"pointermove",this._onTouchMove):t?A(document,"touchmove",this._onTouchMove):A(document,"mousemove",this._onTouchMove):(A(p,"dragend",this),A(L,"dragstart",this._onDragStart));try{document.selection?Ke(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Ce=!1,L&&p){j("dragStarted",this,{evt:t}),this.nativeDraggable&&A(document,"dragover",mn);var n=this.options;!e&&G(p,n.dragClass,!1),G(p,n.ghostClass,!0),E.active=this,e&&this._appendGhost(),$({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ie){this._lastX=ie.clientX,this._lastY=ie.clientY,Ut();for(var e=document.elementFromPoint(ie.clientX,ie.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ie.clientX,ie.clientY),e!==t);)t=e;if(p.parentNode[Z]._isOutsideThisEl(e),t)do{if(t[Z]){var n=void 0;if(n=t[Z]._onDragOver({clientX:ie.clientX,clientY:ie.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);zt()}},_onTouchMove:function(e){if(be){var t=this.options,n=t.fallbackTolerance,a=t.fallbackOffset,r=e.touches?e.touches[0]:e,s=T&&Ve(T,!0),u=T&&s&&s.a,c=T&&s&&s.d,f=$e&&W&&At(W),v=(r.clientX-be.clientX+a.x)/(u||1)+(f?f[0]-pt[0]:0)/(u||1),g=(r.clientY-be.clientY+a.y)/(c||1)+(f?f[1]-pt[1]:0)/(c||1);if(!E.active&&!Ce){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(T){s?(s.e+=v-(dt||0),s.f+=g-(ht||0)):s={a:1,b:0,c:0,d:1,e:v,f:g};var V="matrix(".concat(s.a,",").concat(s.b,",").concat(s.c,",").concat(s.d,",").concat(s.e,",").concat(s.f,")");y(T,"webkitTransform",V),y(T,"mozTransform",V),y(T,"msTransform",V),y(T,"transform",V),dt=v,ht=g,ie=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!T){var e=this.options.fallbackOnBody?document.body:L,t=F(p,!0,$e,!0,e),n=this.options;if($e){for(W=e;y(W,"position")==="static"&&y(W,"transform")==="none"&&W!==document;)W=W.parentNode;W!==document.body&&W!==document.documentElement?(W===document&&(W=oe()),t.top+=W.scrollTop,t.left+=W.scrollLeft):W=oe(),pt=At(W)}T=p.cloneNode(!0),G(T,n.ghostClass,!1),G(T,n.fallbackClass,!0),G(T,n.dragClass,!0),y(T,"transition",""),y(T,"transform",""),y(T,"box-sizing","border-box"),y(T,"margin",0),y(T,"top",t.top),y(T,"left",t.left),y(T,"width",t.width),y(T,"height",t.height),y(T,"opacity","0.8"),y(T,"position",$e?"absolute":"fixed"),y(T,"zIndex","100000"),y(T,"pointerEvents","none"),E.ghost=T,e.appendChild(T),y(T,"transform-origin",Pt/parseInt(T.style.width)*100+"% "+Lt/parseInt(T.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,a=e.dataTransfer,r=n.options;if(j("dragStart",this,{evt:e}),E.eventCanceled){this._onDrop();return}j("setupClone",this),E.eventCanceled||(N=Yt(p),N.removeAttribute("id"),N.draggable=!1,N.style["will-change"]="",this._hideClone(),G(N,this.options.chosenClass,!1),E.clone=N),n.cloneId=Ke(function(){j("clone",n),!E.eventCanceled&&(n.options.removeCloneOnHide||L.insertBefore(N,p),n._hideClone(),$({sortable:n,name:"clone"}))}),!t&&G(p,r.dragClass,!0),t?(Je=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),a&&(a.effectAllowed="move",r.setData&&r.setData.call(n,a,p)),A(document,"drop",n),y(p,"transform","translateZ(0)")),Ce=!0,n._dragStartId=Ke(n._dragStarted.bind(n,t,e)),A(document,"selectstart",n),Ae=!0,Ne&&y(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,n=e.target,a,r,s,u=this.options,c=u.group,f=E.active,v=He===c,g=u.sort,V=H||f,I,D=this,_=!1;if(bt)return;function d(we,at){j(we,D,se({evt:e,isOwner:v,axis:I?"vertical":"horizontal",revert:s,dragRect:a,targetRect:r,canSort:g,fromSortable:V,target:n,completed:C,onMove:function(De,ot){return je(L,t,p,a,De,F(De),e,ot)},changed:U},at))}function te(){d("dragOverAnimationCapture"),D.captureAnimationState(),D!==V&&V.captureAnimationState()}function C(we){return d("dragOverCompleted",{insertion:we}),we&&(v?f._hideClone():f._showClone(D),D!==V&&(G(p,H?H.options.ghostClass:f.options.ghostClass,!1),G(p,u.ghostClass,!0)),H!==D&&D!==E.active?H=D:D===E.active&&H&&(H=null),V===D&&(D._ignoreWhileAnimating=n),D.animateAll(function(){d("dragOverAnimationComplete"),D._ignoreWhileAnimating=null}),D!==V&&(V.animateAll(),V._ignoreWhileAnimating=null)),(n===p&&!p.animated||n===t&&!n.animated)&&(Te=null),!u.dragoverBubble&&!e.rootEl&&n!==document&&(p.parentNode[Z]._isOutsideThisEl(e.target),!we&&ye(e)),!u.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),_=!0}function U(){K=ee(p),he=ee(p,u.draggable),$({sortable:D,name:"change",toEl:t,newIndex:K,newDraggableIndex:he,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),n=ae(n,u.draggable,t,!0),d("dragOver"),E.eventCanceled)return _;if(p.contains(e.target)||n.animated&&n.animatingX&&n.animatingY||D._ignoreWhileAnimating===n)return C(!1);if(Je=!1,f&&!u.disabled&&(v?g||(s=R!==L):H===this||(this.lastPutMode=He.checkPull(this,f,p,e))&&c.checkPut(this,f,p,e))){if(I=this._getDirection(e,n)==="vertical",a=F(p),d("dragOverValid"),E.eventCanceled)return _;if(s)return R=L,te(),this._hideClone(),d("revert"),E.eventCanceled||(Ee?L.insertBefore(p,Ee):L.appendChild(p)),C(!0);var B=Dt(t,u.draggable);if(!B||yn(e,I,this)&&!B.animated){if(B===p)return C(!1);if(B&&t===e.target&&(n=B),n&&(r=F(n)),je(L,t,p,a,n,r,e,!!n)!==!1)return te(),B&&B.nextSibling?t.insertBefore(p,B.nextSibling):t.appendChild(p),R=t,U(),C(!0)}else if(B&&bn(e,I,this)){var q=Oe(t,0,u,!0);if(q===p)return C(!1);if(n=q,r=F(n),je(L,t,p,a,n,r,e,!1)!==!1)return te(),t.insertBefore(p,q),R=t,U(),C(!0)}else if(n.parentNode===t){r=F(n);var k=0,re,fe=p.parentNode!==t,X=!pn(p.animated&&p.toRect||a,n.animated&&n.toRect||r,I),me=I?"top":"left",ne=xt(n,"top","top")||xt(p,"top","top"),ve=ne?ne.scrollTop:void 0;Te!==n&&(re=r[me],Fe=!1,We=!X&&u.invertSwap||fe),k=En(e,n,r,I,X?1:u.swapThreshold,u.invertedSwapThreshold==null?u.swapThreshold:u.invertedSwapThreshold,We,Te===n);var Q;if(k!==0){var z=ee(p);do z-=k,Q=R.children[z];while(Q&&(y(Q,"display")==="none"||Q===T))}if(k===0||Q===n)return C(!1);Te=n,Me=k;var de=n.nextElementSibling,J=!1;J=k===1;var Se=je(L,t,p,a,n,r,e,J);if(Se!==!1)return(Se===1||Se===-1)&&(J=Se===1),bt=!0,setTimeout(wn,30),te(),J&&!de?t.appendChild(p):n.parentNode.insertBefore(p,J?de:n),ne&&Xt(ne,0,ve-ne.scrollTop),R=p.parentNode,re!==void 0&&!We&&(Ge=Math.abs(re-F(n)[me])),U(),C(!0)}if(t.contains(p))return C(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",ye),O(document,"mousemove",ye),O(document,"touchmove",ye)},_offUpEvents:function(){var e=this.el.ownerDocument;O(e,"mouseup",this._onDrop),O(e,"touchend",this._onDrop),O(e,"pointerup",this._onDrop),O(e,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;if(K=ee(p),he=ee(p,n.draggable),j("drop",this,{evt:e}),R=p&&p.parentNode,K=ee(p),he=ee(p,n.draggable),E.eventCanceled){this._nulling();return}Ce=!1,We=!1,Fe=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),yt(this.cloneId),yt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Ne&&y(document.body,"user-select",""),y(p,"transform",""),e&&(Ae&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),T&&T.parentNode&&T.parentNode.removeChild(T),(L===R||H&&H.lastPutMode!=="clone")&&N&&N.parentNode&&N.parentNode.removeChild(N),p&&(this.nativeDraggable&&O(p,"dragend",this),gt(p),p.style["will-change"]="",Ae&&!Ce&&G(p,H?H.options.ghostClass:this.options.ghostClass,!1),G(p,this.options.chosenClass,!1),$({sortable:this,name:"unchoose",toEl:R,newIndex:null,newDraggableIndex:null,originalEvent:e}),L!==R?(K>=0&&($({rootEl:R,name:"add",toEl:R,fromEl:L,originalEvent:e}),$({sortable:this,name:"remove",toEl:R,originalEvent:e}),$({rootEl:R,name:"sort",toEl:R,fromEl:L,originalEvent:e}),$({sortable:this,name:"sort",toEl:R,originalEvent:e})),H&&H.save()):K!==Ie&&K>=0&&($({sortable:this,name:"update",toEl:R,originalEvent:e}),$({sortable:this,name:"sort",toEl:R,originalEvent:e})),E.active&&((K==null||K===-1)&&(K=Ie,he=ke),$({sortable:this,name:"end",toEl:R,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){j("nulling",this),L=p=R=T=Ee=N=ze=pe=be=ie=Ae=K=he=Ie=ke=Te=Me=H=He=E.dragged=E.ghost=E.clone=E.active=null,tt.forEach(function(e){e.checked=!0}),tt.length=dt=ht=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":p&&(this._onDragOver(e),vn(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,a=0,r=n.length,s=this.options;a<r;a++)t=n[a],ae(t,s.draggable,this.el,!1)&&e.push(t.getAttribute(s.dataIdAttr)||Dn(t));return e},sort:function(e,t){var n={},a=this.el;this.toArray().forEach(function(r,s){var u=a.children[s];ae(u,this.options.draggable,a,!1)&&(n[r]=u)},this),t&&this.captureAnimationState(),e.forEach(function(r){n[r]&&(a.removeChild(n[r]),a.appendChild(n[r]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return ae(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(t===void 0)return n[e];var a=qe.modifyOption(this,e,t);typeof a<"u"?n[e]=a:n[e]=t,e==="group"&&jt(n)},destroy:function(){j("destroy",this);var e=this.el;e[Z]=null,O(e,"mousedown",this._onTapStart),O(e,"touchstart",this._onTapStart),O(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(O(e,"dragover",this),O(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),et.splice(et.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!pe){if(j("hideClone",this),E.eventCanceled)return;y(N,"display","none"),this.options.removeCloneOnHide&&N.parentNode&&N.parentNode.removeChild(N),pe=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(pe){if(j("showClone",this),E.eventCanceled)return;p.parentNode==L&&!this.options.group.revertClone?L.insertBefore(N,p):Ee?L.insertBefore(N,Ee):L.appendChild(N),this.options.group.revertClone&&this.animate(p,N),y(N,"display",""),pe=!1}}};function vn(i){i.dataTransfer&&(i.dataTransfer.dropEffect="move"),i.cancelable&&i.preventDefault()}function je(i,e,t,n,a,r,s,u){var c,f=i[Z],v=f.options.onMove,g;return window.CustomEvent&&!ce&&!Be?c=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(c=document.createEvent("Event"),c.initEvent("move",!0,!0)),c.to=e,c.from=i,c.dragged=t,c.draggedRect=n,c.related=a||e,c.relatedRect=r||F(e),c.willInsertAfter=u,c.originalEvent=s,i.dispatchEvent(c),v&&(g=v.call(f,c,s)),g}function gt(i){i.draggable=!1}function wn(){bt=!1}function bn(i,e,t){var n=F(Oe(t.el,0,t.options,!0)),a=Ht(t.el,t.options,T),r=10;return e?i.clientX<a.left-r||i.clientY<n.top&&i.clientX<n.right:i.clientY<a.top-r||i.clientY<n.bottom&&i.clientX<n.left}function yn(i,e,t){var n=F(Dt(t.el,t.options.draggable)),a=Ht(t.el,t.options,T),r=10;return e?i.clientX>a.right+r||i.clientY>n.bottom&&i.clientX>n.left:i.clientY>a.bottom+r||i.clientX>n.right&&i.clientY>n.top}function En(i,e,t,n,a,r,s,u){var c=n?i.clientY:i.clientX,f=n?t.height:t.width,v=n?t.top:t.left,g=n?t.bottom:t.right,V=!1;if(!s){if(u&&Ge<f*a){if(!Fe&&(Me===1?c>v+f*r/2:c<g-f*r/2)&&(Fe=!0),Fe)V=!0;else if(Me===1?c<v+Ge:c>g-Ge)return-Me}else if(c>v+f*(1-a)/2&&c<g-f*(1-a)/2)return Sn(e)}return V=V||s,V&&(c<v+f*r/2||c>g-f*r/2)?c>v+f/2?1:-1:0}function Sn(i){return ee(p)<ee(i)?1:-1}function Dn(i){for(var e=i.tagName+i.className+i.src+i.href+i.textContent,t=e.length,n=0;t--;)n+=e.charCodeAt(t);return n.toString(36)}function _n(i){tt.length=0;for(var e=i.getElementsByTagName("input"),t=e.length;t--;){var n=e[t];n.checked&&tt.push(n)}}function Ke(i){return setTimeout(i,0)}function yt(i){return clearTimeout(i)}it&&A(document,"touchmove",function(i){(E.active||Ce)&&i.cancelable&&i.preventDefault()});E.utils={on:A,off:O,css:y,find:Bt,is:function(e,t){return!!ae(e,t,e,!1)},extend:on,throttle:qt,closest:ae,toggleClass:G,clone:Yt,index:ee,nextTick:Ke,cancelNextTick:yt,detectDirection:$t,getChild:Oe};E.get=function(i){return i[Z]};E.mount=function(){for(var i=arguments.length,e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(E.utils=se(se({},E.utils),n.utils)),qe.mount(n)})};E.create=function(i,e){return new E(i,e)};E.version=nn;var M=[],Pe,Et,St=!1,mt,vt,nt,Le;function Tn(){function i(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return i.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?A(document,"dragover",this._handleAutoScroll):this.options.supportPointer?A(document,"pointermove",this._handleFallbackAutoScroll):n.touches?A(document,"touchmove",this._handleFallbackAutoScroll):A(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),Rt(),Ze(),sn()},nulling:function(){nt=Et=Pe=St=Le=mt=vt=null,M.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var a=this,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,u=document.elementFromPoint(r,s);if(nt=t,n||this.options.forceAutoScrollFallback||Be||ce||Ne){wt(t,this.options,u,n);var c=ge(u,!0);St&&(!Le||r!==mt||s!==vt)&&(Le&&Rt(),Le=setInterval(function(){var f=ge(document.elementFromPoint(r,s),!0);f!==c&&(c=f,Ze()),wt(t,a.options,f,n)},10),mt=r,vt=s)}else{if(!this.options.bubbleScroll||ge(u,!0)===oe()){Ze();return}wt(t,this.options,ge(u,!1),!1)}}},ue(i,{pluginName:"scroll",initializeByDefault:!0})}function Ze(){M.forEach(function(i){clearInterval(i.pid)}),M=[]}function Rt(){clearInterval(Le)}var wt=qt(function(i,e,t,n){if(e.scroll){var a=(i.touches?i.touches[0]:i).clientX,r=(i.touches?i.touches[0]:i).clientY,s=e.scrollSensitivity,u=e.scrollSpeed,c=oe(),f=!1,v;Et!==t&&(Et=t,Ze(),Pe=e.scroll,v=e.scrollFn,Pe===!0&&(Pe=ge(t,!0)));var g=0,V=Pe;do{var I=V,D=F(I),_=D.top,d=D.bottom,te=D.left,C=D.right,U=D.width,B=D.height,q=void 0,k=void 0,re=I.scrollWidth,fe=I.scrollHeight,X=y(I),me=I.scrollLeft,ne=I.scrollTop;I===c?(q=U<re&&(X.overflowX==="auto"||X.overflowX==="scroll"||X.overflowX==="visible"),k=B<fe&&(X.overflowY==="auto"||X.overflowY==="scroll"||X.overflowY==="visible")):(q=U<re&&(X.overflowX==="auto"||X.overflowX==="scroll"),k=B<fe&&(X.overflowY==="auto"||X.overflowY==="scroll"));var ve=q&&(Math.abs(C-a)<=s&&me+U<re)-(Math.abs(te-a)<=s&&!!me),Q=k&&(Math.abs(d-r)<=s&&ne+B<fe)-(Math.abs(_-r)<=s&&!!ne);if(!M[g])for(var z=0;z<=g;z++)M[z]||(M[z]={});(M[g].vx!=ve||M[g].vy!=Q||M[g].el!==I)&&(M[g].el=I,M[g].vx=ve,M[g].vy=Q,clearInterval(M[g].pid),(ve!=0||Q!=0)&&(f=!0,M[g].pid=setInterval((function(){n&&this.layer===0&&E.active._onTouchMove(nt);var de=M[this.layer].vy?M[this.layer].vy*u:0,J=M[this.layer].vx?M[this.layer].vx*u:0;typeof v=="function"&&v.call(E.dragged.parentNode[Z],J,de,i,nt,M[this.layer].el)!=="continue"||Xt(M[this.layer].el,J,de)}).bind({layer:g}),24))),g++}while(e.bubbleScroll&&V!==c&&(V=ge(V,!1)));St=f}},30),Gt=function(e){var t=e.originalEvent,n=e.putSortable,a=e.dragEl,r=e.activeSortable,s=e.dispatchSortableEvent,u=e.hideGhostForTarget,c=e.unhideGhostForTarget;if(t){var f=n||r;u();var v=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,g=document.elementFromPoint(v.clientX,v.clientY);c(),f&&!f.el.contains(g)&&(s("spill"),this.onSpill({dragEl:a,putSortable:n}))}};function _t(){}_t.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 a=Oe(this.sortable.el,this.startIndex,this.options);a?this.sortable.el.insertBefore(t,a):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:Gt};ue(_t,{pluginName:"revertOnSpill"});function Tt(){}Tt.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable,a=n||this.sortable;a.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),a.animateAll()},drop:Gt};ue(Tt,{pluginName:"removeOnSpill"});E.mount(new Tn);E.mount(Tt,_t);const Cn=["data-url","onContextmenu","onMousedown","onClick"],In={key:0,class:"iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont"},Vn=m.defineComponent({name:"layoutTagsView"}),On=m.defineComponent({...Vn,setup(i){const e=m.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./contextmenu-BryPpJ4n.js"))),t=m.ref([]),n=m.ref(),a=m.ref(),r=m.ref(),s=x.useTagsViewRoutes(),u=x.useThemeConfig(),c=x.useTagsViewRoutes(),f=x.useRoutesList(),{themeConfig:v}=x.storeToRefs(u),{tagsViewRoutes:g}=x.storeToRefs(c),{routesList:V}=x.storeToRefs(f),I=x.useKeepALiveNames(),D=x.useRoute(),_=x.useRouter(),d=m.reactive({routeActive:"",routePath:D.path,dropdown:{x:"",y:""},sortable:"",tagsRefsIndex:0,tagsViewList:[],tagsViewRoutesList:[]}),te=m.computed(()=>v.value.tagsStyle),C=m.computed(()=>v.value),U=m.computed(()=>l=>x.other.setTagsViewNameI18n(l)),B=l=>C.value.isShareTagsView?l.path===d.routePath:l.query&&Object.keys(l.query).length||l.params&&Object.keys(l.params).length?l.url?l.url===d.routeActive:l.path===d.routeActive:l.path===d.routePath,q=l=>{x.Session.set("tagsViewList",l)},k=l=>{var b;let o=l.query&&Object.keys(l.query).length>0?l.query:l.params;if(!o||Object.keys(o).length<=0)return l.path;let h="";for(let w in o)h+=o[w];return`${(b=l.meta)!=null&&b.isDynamic?l.meta.isDynamicPath:l.path}-${h}`},re=async(l,o)=>{var w,P;let h=(w=o==null?void 0:o.meta)!=null&&w.isDynamic?o.meta.isDynamicPath:l;if(d.tagsViewList.filter(S=>{var Y,xe;return S.path===h&&x.isObjectValueEqual((Y=o==null?void 0:o.meta)!=null&&Y.isDynamic?S.params?S.params:null:S.query?S.query:null,(xe=o==null?void 0:o.meta)!=null&&xe.isDynamic?o!=null&&o.params?o==null?void 0:o.params:null:o!=null&&o.query?o==null?void 0:o.query:null)}).length<=0){let S=d.tagsViewRoutesList.find(Y=>Y.path===h);if(!S||S.meta.isAffix||S.meta.isLink&&!S.meta.isIframe)return!1;(P=o==null?void 0:o.meta)!=null&&P.isDynamic?S.params=o.params:S.query=o==null?void 0:o.query,S.url=k(S),d.tagsViewList.push({...S}),await I.addCachedView(S),q(d.tagsViewList)}},fe=(l,o)=>{var b;let h=(b=o==null?void 0:o.meta)!=null&&b.isDynamic?o.meta.isDynamicPath:l;d.tagsViewList.forEach(w=>{var P,S,Y;w.path===h&&!x.isObjectValueEqual((P=o==null?void 0:o.meta)!=null&&P.isDynamic?w.params?w.params:null:w.query?w.query:null,(S=o==null?void 0:o.meta)!=null&&S.isDynamic?o!=null&&o.params?o==null?void 0:o.params:null:o!=null&&o.query?o==null?void 0:o.query:null)&&((Y=o==null?void 0:o.meta)!=null&&Y.isDynamic?w.params=o.params:w.query=o==null?void 0:o.query,w.url=k(w),q(d.tagsViewList))})},X=(l,o)=>{m.nextTick(async()=>{var b,w,P;let h;if((b=o==null?void 0:o.meta)!=null&&b.isDynamic){if(C.value.isShareTagsView?await fe(l,o):await re(l,o),d.tagsViewList.some(S=>{var Y;return S.path===((Y=o==null?void 0:o.meta)==null?void 0:Y.isDynamicPath)}))return q(d.tagsViewList),!1;h=d.tagsViewRoutesList.find(S=>{var Y;return S.path===((Y=o==null?void 0:o.meta)==null?void 0:Y.isDynamicPath)})}else{if(C.value.isShareTagsView?await fe(l,o):await re(l,o),d.tagsViewList.some(S=>S.path===l))return q(d.tagsViewList),!1;h=d.tagsViewRoutesList.find(S=>S.path===l)}if(!h||(w=h==null?void 0:h.meta)!=null&&w.isLink&&!h.meta.isIframe)return!1;(P=o==null?void 0:o.meta)!=null&&P.isDynamic?h.params=o!=null&&o.params?o==null?void 0:o.params:D.params:h.query=o!=null&&o.query?o==null?void 0:o.query:D.query,h.url=k(h),await I.addCachedView(h),await d.tagsViewList.push({...h}),await q(d.tagsViewList)})},me=()=>{m.nextTick(()=>{if(t.value.length<=0)return!1;let l=t.value[d.tagsRefsIndex],o=d.tagsRefsIndex,h=t.value.length,b=t.value[0],w=t.value[t.value.length-1],P=n.value.$refs.wrapRef,S=P.scrollWidth,Y=P.offsetWidth,xe=P.scrollLeft,ut=t.value[d.tagsRefsIndex-1],Ct=t.value[d.tagsRefsIndex+1],Xe=0,Ye=0;l===b?P.scrollLeft=0:l===w?P.scrollLeft=S-Y:(o===0?Xe=b.offsetLeft-5:Xe=(ut==null?void 0:ut.offsetLeft)-5,o===h?Ye=w.offsetLeft+w.offsetWidth+5:Ye=Ct.offsetLeft+Ct.offsetWidth+5,Ye>xe+Y?P.scrollLeft=Ye-Y:Xe<xe&&(P.scrollLeft=Xe)),n.value.update()})},ne=l=>{m.nextTick(async()=>{let o=await d.tagsViewList;d.tagsRefsIndex=o.findIndex(h=>C.value.isShareTagsView?h.path===l:h.url===l),me()})},ve=async()=>{x.Session.get("tagsViewList")&&C.value.isCacheTagsView?d.tagsViewList=x.Session.get("tagsViewList"):(await d.tagsViewRoutesList.map(l=>{var o;(o=l.meta)!=null&&o.isAffix&&!l.meta.isHide&&(l.url=k(l),d.tagsViewList.push({...l}),I.addCachedView(l))}),await X(D.path,D)),ne(C.value.isShareTagsView?d.routePath:d.routeActive)},Q=async()=>{d.routeActive=await k(D),d.routePath=await D.meta.isDynamic?D.meta.isDynamicPath:D.path,d.tagsViewList=[],d.tagsViewRoutesList=g.value,ve()},z=l=>{var b,w;let o=l.query&&Object.keys(l.query).length>0?l.query:l.params;if(!o)return"";let h="";for(let[P,S]of Object.entries(o))(b=l.meta)!=null&&b.isDynamic?h+=`/${S}`:h+=`&${P}=${S}`;return(w=l.meta)!=null&&w.isDynamic?l.isFnClick?decodeURI(l.path):`${l.path.split(":")[0]}${h.replace(/^\//,"")}`:`${l.path}${h.replace(/^&/,"?")}`},de=async l=>{var b;const o=decodeURI(l);let h={};if(d.tagsViewList.forEach(w=>{w.transUrl=z(w),w.transUrl?w.transUrl===z(w)&&(h=w):w.path===o&&(h=w)}),!h)return!1;await I.delCachedView(h),x.mittBus.emit("onTagsViewRefreshRouterView",l),(b=h.meta)!=null&&b.isKeepAlive&&I.addCachedView(h)},J=l=>{d.tagsViewList.map((o,h,b)=>{var w;(w=o.meta)!=null&&w.isAffix||(C.value.isShareTagsView?o.path===l:o.url===l)&&(I.delCachedView(o),d.tagsViewList.splice(h,1),setTimeout(()=>{(d.tagsViewList.length===h&&C.value.isShareTagsView?d.routePath===l:d.routeActive===l)?b[b.length-1].meta.isDynamic?h!==b.length?_.push({name:b[h].name,params:b[h].params}):_.push({name:b[b.length-1].name,params:b[b.length-1].params}):h!==b.length?_.push({path:b[h].path,query:b[h].query}):_.push({path:b[b.length-1].path,query:b[b.length-1].query}):(d.tagsViewList.length!==h&&C.value.isShareTagsView?d.routePath===l:d.routeActive===l)&&(b[h].meta.isDynamic?_.push({name:b[h].name,params:b[h].params}):_.push({path:b[h].path,query:b[h].query}))},0))}),q(d.tagsViewList)},Se=l=>{x.Session.get("tagsViewList")&&(d.tagsViewList=[],x.Session.get("tagsViewList").map(o=>{var h;(h=o.meta)!=null&&h.isAffix&&!o.meta.isHide&&(o.url=k(o),I.delOthersCachedViews(o),d.tagsViewList.push({...o}))}),X(l,D),q(d.tagsViewList))},we=()=>{x.Session.get("tagsViewList")&&(I.delAllCachedViews(),d.tagsViewList=[],x.Session.get("tagsViewList").map(l=>{var o;(o=l.meta)!=null&&o.isAffix&&!l.meta.isHide&&(l.url=k(l),d.tagsViewList.push({...l}),_.push({path:d.tagsViewList[d.tagsViewList.length-1].path}))}),q(d.tagsViewList))},at=async l=>{const o=d.tagsViewList.find(h=>C.value.isShareTagsView?h.path===l:h.url===l);o.meta.isDynamic?await _.push({name:o.name,params:o.params}):await _.push({name:o.name,query:o.query}),s.setCurrenFullscreen(!0)},rt=l=>{let o={};return d.tagsViewList.forEach(h=>{h.transUrl=z(h),h.transUrl?h.transUrl===z(h)&&h.transUrl===l.commonUrl&&(o=h):h.path===decodeURI(l.path)&&(o=h)}),o||null},De=async l=>{if(l.commonUrl=z(l),!rt(l))return x.ElMessage({type:"warning",message:"请正确输入路径及完整参数(query、params)"});const{path:o,name:h,params:b,query:w,meta:P,url:S}=rt(l);switch(l.contextMenuClickId){case 0:P.isDynamic?await _.push({name:h,params:b}):await _.push({path:o,query:w}),de(D.fullPath);break;case 1:J(C.value.isShareTagsView?o:S);break;case 2:P.isDynamic?await _.push({name:h,params:b}):await _.push({path:o,query:w}),Se(o);break;case 3:we();break;case 4:at(C.value.isShareTagsView?o:S);break}},ot=(l,o)=>{const{clientX:h,clientY:b}=o;d.dropdown.x=h,d.dropdown.y=b,a.value.openContextmenu(l)},Kt=(l,o)=>{var h;if(!((h=l.meta)!=null&&h.isAffix)&&o.button===1){const b=Object.assign({},{contextMenuClickId:1,...l});De(b)}},Zt=(l,o)=>{d.tagsRefsIndex=o,_.push(l),C.value.layout==="columns"&&(V.value.find(b=>b.path.indexOf(`/${l.path.split("/")[1]}`)>-1).children?C.value.isCollapse=!1:C.value.isCollapse=!0)},Qt=l=>{n.value.$refs.wrapRef.scrollLeft+=l.wheelDelta/4},st=async()=>{const l=document.querySelector(".layout-navbars-tagsview-ul");if(!l)return!1;d.sortable.el&&d.sortable.destroy(),d.sortable=E.create(l,{animation:300,dataIdAttr:"data-url",disabled:!C.value.isSortableTagsView,onEnd:()=>{const o=[];d.sortable.toArray().map(h=>{d.tagsViewList.map(b=>{b.url===h&&o.push({...b})})}),q(o)}})},lt=async()=>{await st(),x.other.isMobile()&&d.sortable.el&&d.sortable.destroy()};return m.onBeforeMount(()=>{lt(),window.addEventListener("resize",lt),x.mittBus.on("onCurrentContextmenuClick",l=>{l.isFnClick=!0,De(l)}),x.mittBus.on("openOrCloseSortable",()=>{st()}),x.mittBus.on("openShareTagsView",()=>{C.value.isShareTagsView&&(_.push("/home"),d.tagsViewList=[],d.tagsViewRoutesList.map(l=>{var o;(o=l.meta)!=null&&o.isAffix&&!l.meta.isHide&&(l.url=k(l),d.tagsViewList.push({...l}))}))})}),m.onUnmounted(()=>{x.mittBus.off("onCurrentContextmenuClick",()=>{}),x.mittBus.off("openOrCloseSortable",()=>{}),x.mittBus.off("openShareTagsView",()=>{}),window.removeEventListener("resize",lt)}),m.onBeforeUpdate(()=>{t.value=[]}),m.onMounted(()=>{Q(),st()}),x.onBeforeRouteUpdate(async l=>{d.routeActive=k(l),d.routePath=l.meta.isDynamic?l.meta.isDynamicPath:l.path,await X(l.path,l),ne(C.value.isShareTagsView?d.routePath:d.routeActive)}),m.watch(()=>g.value,l=>{if(l.length===d.tagsViewRoutesList.length)return!1;Q()},{deep:!0}),(l,o)=>{const h=m.resolveComponent("SvgIcon"),b=m.resolveComponent("el-scrollbar");return m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(["layout-navbars-tagsview",{"layout-navbars-tagsview-shadow":C.value.layout==="classic"}])},[m.createVNode(b,{ref_key:"scrollbarRef",ref:n,onWheel:m.withModifiers(Qt,["prevent"])},{default:m.withCtx(()=>[m.createElementVNode("ul",{class:m.normalizeClass(["layout-navbars-tagsview-ul",te.value]),ref_key:"tagsUlRef",ref:r},[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(d.tagsViewList,(w,P)=>(m.openBlock(),m.createElementBlock("li",{key:P,class:m.normalizeClass(["layout-navbars-tagsview-ul-li",{"is-active":B(w)}]),"data-url":w.url,onContextmenu:m.withModifiers(S=>ot(w,S),["prevent"]),onMousedown:S=>Kt(w,S),onClick:S=>Zt(w,P),ref_for:!0,ref:S=>{S&&(t.value[P]=S)}},[B(w)?(m.openBlock(),m.createElementBlock("i",In)):m.createCommentVNode("",!0),!B(w)&&C.value.isTagsviewIcon?(m.openBlock(),m.createBlock(h,{key:1,name:w.meta.icon,class:"pr5"},null,8,["name"])):m.createCommentVNode("",!0),m.createElementVNode("span",null,m.toDisplayString(U.value(w)),1),B(w)?(m.openBlock(),m.createElementBlock(m.Fragment,{key:2},[m.createVNode(h,{name:"ele-RefreshRight",class:"ml5 layout-navbars-tagsview-ul-li-refresh",onClick:o[0]||(o[0]=m.withModifiers(S=>de(l.$route.fullPath),["stop"]))}),w.meta.isAffix?m.createCommentVNode("",!0):(m.openBlock(),m.createBlock(h,{key:0,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-active",onClick:m.withModifiers(S=>J(C.value.isShareTagsView?w.path:w.url),["stop"])},null,8,["onClick"]))],64)):m.createCommentVNode("",!0),w.meta.isAffix?m.createCommentVNode("",!0):(m.openBlock(),m.createBlock(h,{key:3,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-three",onClick:m.withModifiers(S=>J(C.value.isShareTagsView?w.path:w.url),["stop"])},null,8,["onClick"]))],42,Cn))),128))],2)]),_:1},512),m.createVNode(m.unref(e),{dropdown:d.dropdown,ref_key:"contextmenuRef",ref:a,onCurrentContextmenuClick:De},null,8,["dropdown"])],2)}}}),xn=x._export_sfc(On,[["__scopeId","data-v-7db64969"]]);exports.default=xn;
|
|
6
|
+
*/function It(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(i);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),t.push.apply(t,n)}return t}function se(i){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?It(Object(t),!0).forEach(function(n){Jt(i,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(t)):It(Object(t)).forEach(function(n){Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(t,n))})}return i}function Ue(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ue=function(e){return typeof e}:Ue=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(i)}function Jt(i,e,t){return e in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}function ue(){return ue=Object.assign||function(i){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n])}return i},ue.apply(this,arguments)}function en(i,e){if(i==null)return{};var t={},n=Object.keys(i),a,r;for(r=0;r<n.length;r++)a=n[r],!(e.indexOf(a)>=0)&&(t[a]=i[a]);return t}function tn(i,e){if(i==null)return{};var t=en(i,e),n,a;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(i);for(a=0;a<r.length;a++)n=r[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(i,n)&&(t[n]=i[n])}return t}var nn="1.15.2";function le(i){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(i)}var ce=le(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Be=le(/Edge/i),Vt=le(/firefox/i),Ne=le(/safari/i)&&!le(/chrome/i)&&!le(/android/i),kt=le(/iP(ad|od|hone)/i),Mt=le(/chrome/i)&&le(/android/i),Ft={capture:!1,passive:!1};function A(i,e,t){i.addEventListener(e,t,!ce&&Ft)}function O(i,e,t){i.removeEventListener(e,t,!ce&&Ft)}function Qe(i,e){if(e){if(e[0]===">"&&(e=e.substring(1)),i)try{if(i.matches)return i.matches(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e)}catch{return!1}return!1}}function an(i){return i.host&&i!==document&&i.host.nodeType?i.host:i.parentNode}function ae(i,e,t,n){if(i){t=t||document;do{if(e!=null&&(e[0]===">"?i.parentNode===t&&Qe(i,e):Qe(i,e))||n&&i===t)return i;if(i===t)break}while(i=an(i))}return null}var Ot=/\s+/g;function G(i,e,t){if(i&&e)if(i.classList)i.classList[t?"add":"remove"](e);else{var n=(" "+i.className+" ").replace(Ot," ").replace(" "+e+" "," ");i.className=(n+(t?" "+e:"")).replace(Ot," ")}}function y(i,e,t){var n=i&&i.style;if(n){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(i,""):i.currentStyle&&(t=i.currentStyle),e===void 0?t:t[e];!(e in n)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),n[e]=t+(typeof t=="string"?"":"px")}}function Ve(i,e){var t="";if(typeof i=="string")t=i;else do{var n=y(i,"transform");n&&n!=="none"&&(t=n+" "+t)}while(!e&&(i=i.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(t)}function Bt(i,e,t){if(i){var n=i.getElementsByTagName(e),a=0,r=n.length;if(t)for(;a<r;a++)t(n[a],a);return n}return[]}function oe(){var i=document.scrollingElement;return i||document.documentElement}function F(i,e,t,n,a){if(!(!i.getBoundingClientRect&&i!==window)){var r,s,u,c,f,v,g;if(i!==window&&i.parentNode&&i!==oe()?(r=i.getBoundingClientRect(),s=r.top,u=r.left,c=r.bottom,f=r.right,v=r.height,g=r.width):(s=0,u=0,c=window.innerHeight,f=window.innerWidth,v=window.innerHeight,g=window.innerWidth),(e||t)&&i!==window&&(a=a||i.parentNode,!ce))do if(a&&a.getBoundingClientRect&&(y(a,"transform")!=="none"||t&&y(a,"position")!=="static")){var V=a.getBoundingClientRect();s-=V.top+parseInt(y(a,"border-top-width")),u-=V.left+parseInt(y(a,"border-left-width")),c=s+r.height,f=u+r.width;break}while(a=a.parentNode);if(n&&i!==window){var I=Ve(a||i),D=I&&I.a,_=I&&I.d;I&&(s/=_,u/=D,g/=D,v/=_,c=s+v,f=u+g)}return{top:s,left:u,bottom:c,right:f,width:g,height:v}}}function xt(i,e,t){for(var n=ge(i,!0),a=F(i)[e];n;){var r=F(n)[t],s=void 0;if(t==="top"||t==="left"?s=a>=r:s=a<=r,!s)return n;if(n===oe())break;n=ge(n,!1)}return!1}function Oe(i,e,t,n){for(var a=0,r=0,s=i.children;r<s.length;){if(s[r].style.display!=="none"&&s[r]!==E.ghost&&(n||s[r]!==E.dragged)&&ae(s[r],t.draggable,i,!1)){if(a===e)return s[r];a++}r++}return null}function Dt(i,e){for(var t=i.lastElementChild;t&&(t===E.ghost||y(t,"display")==="none"||e&&!Qe(t,e));)t=t.previousElementSibling;return t||null}function ee(i,e){var t=0;if(!i||!i.parentNode)return-1;for(;i=i.previousElementSibling;)i.nodeName.toUpperCase()!=="TEMPLATE"&&i!==E.clone&&(!e||Qe(i,e))&&t++;return t}function At(i){var e=0,t=0,n=oe();if(i)do{var a=Ve(i),r=a.a,s=a.d;e+=i.scrollLeft*r,t+=i.scrollTop*s}while(i!==n&&(i=i.parentNode));return[e,t]}function rn(i,e){for(var t in i)if(i.hasOwnProperty(t)){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===i[t][n])return Number(t)}return-1}function ge(i,e){if(!i||!i.getBoundingClientRect)return oe();var t=i,n=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var a=y(t);if(t.clientWidth<t.scrollWidth&&(a.overflowX=="auto"||a.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(a.overflowY=="auto"||a.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return oe();if(n||e)return t;n=!0}}while(t=t.parentNode);return oe()}function on(i,e){if(i&&e)for(var t in e)e.hasOwnProperty(t)&&(i[t]=e[t]);return i}function ct(i,e){return Math.round(i.top)===Math.round(e.top)&&Math.round(i.left)===Math.round(e.left)&&Math.round(i.height)===Math.round(e.height)&&Math.round(i.width)===Math.round(e.width)}var Re;function qt(i,e){return function(){if(!Re){var t=arguments,n=this;t.length===1?i.call(n,t[0]):i.apply(n,t),Re=setTimeout(function(){Re=void 0},e)}}}function sn(){clearTimeout(Re),Re=void 0}function Xt(i,e,t){i.scrollLeft+=e,i.scrollTop+=t}function Yt(i){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(i).cloneNode(!0):t?t(i).clone(!0)[0]:i.cloneNode(!0)}function Ht(i,e,t){var n={};return Array.from(i.children).forEach(function(a){var r,s,u,c;if(!(!ae(a,e.draggable,i,!1)||a.animated||a===t)){var f=F(a);n.left=Math.min((r=n.left)!==null&&r!==void 0?r:1/0,f.left),n.top=Math.min((s=n.top)!==null&&s!==void 0?s:1/0,f.top),n.right=Math.max((u=n.right)!==null&&u!==void 0?u:-1/0,f.right),n.bottom=Math.max((c=n.bottom)!==null&&c!==void 0?c:-1/0,f.bottom)}}),n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}var Z="Sortable"+new Date().getTime();function ln(){var i=[],e;return{captureAnimationState:function(){if(i=[],!!this.options.animation){var n=[].slice.call(this.el.children);n.forEach(function(a){if(!(y(a,"display")==="none"||a===E.ghost)){i.push({target:a,rect:F(a)});var r=se({},i[i.length-1].rect);if(a.thisAnimationDuration){var s=Ve(a,!0);s&&(r.top-=s.f,r.left-=s.e)}a.fromRect=r}})}},addAnimationState:function(n){i.push(n)},removeAnimationState:function(n){i.splice(rn(i,{target:n}),1)},animateAll:function(n){var a=this;if(!this.options.animation){clearTimeout(e),typeof n=="function"&&n();return}var r=!1,s=0;i.forEach(function(u){var c=0,f=u.target,v=f.fromRect,g=F(f),V=f.prevFromRect,I=f.prevToRect,D=u.rect,_=Ve(f,!0);_&&(g.top-=_.f,g.left-=_.e),f.toRect=g,f.thisAnimationDuration&&ct(V,g)&&!ct(v,g)&&(D.top-g.top)/(D.left-g.left)===(v.top-g.top)/(v.left-g.left)&&(c=cn(D,V,I,a.options)),ct(g,v)||(f.prevFromRect=v,f.prevToRect=g,c||(c=a.options.animation),a.animate(f,D,g,c)),c&&(r=!0,s=Math.max(s,c),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},c),f.thisAnimationDuration=c)}),clearTimeout(e),r?e=setTimeout(function(){typeof n=="function"&&n()},s):typeof n=="function"&&n(),i=[]},animate:function(n,a,r,s){if(s){y(n,"transition",""),y(n,"transform","");var u=Ve(this.el),c=u&&u.a,f=u&&u.d,v=(a.left-r.left)/(c||1),g=(a.top-r.top)/(f||1);n.animatingX=!!v,n.animatingY=!!g,y(n,"transform","translate3d("+v+"px,"+g+"px,0)"),this.forRepaintDummy=un(n),y(n,"transition","transform "+s+"ms"+(this.options.easing?" "+this.options.easing:"")),y(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){y(n,"transition",""),y(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},s)}}}}function un(i){return i.offsetWidth}function cn(i,e,t,n){return Math.sqrt(Math.pow(e.top-i.top,2)+Math.pow(e.left-i.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*n.animation}var _e=[],ft={initializeByDefault:!0},qe={mount:function(e){for(var t in ft)ft.hasOwnProperty(t)&&!(t in e)&&(e[t]=ft[t]);_e.forEach(function(n){if(n.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),_e.push(e)},pluginEvent:function(e,t,n){var a=this;this.eventCanceled=!1,n.cancel=function(){a.eventCanceled=!0};var r=e+"Global";_e.forEach(function(s){t[s.pluginName]&&(t[s.pluginName][r]&&t[s.pluginName][r](se({sortable:t},n)),t.options[s.pluginName]&&t[s.pluginName][e]&&t[s.pluginName][e](se({sortable:t},n)))})},initializePlugins:function(e,t,n,a){_e.forEach(function(u){var c=u.pluginName;if(!(!e.options[c]&&!u.initializeByDefault)){var f=new u(e,t,e.options);f.sortable=e,f.options=e.options,e[c]=f,ue(n,f.defaults)}});for(var r in e.options)if(e.options.hasOwnProperty(r)){var s=this.modifyOption(e,r,e.options[r]);typeof s<"u"&&(e.options[r]=s)}},getEventProperties:function(e,t){var n={};return _e.forEach(function(a){typeof a.eventProperties=="function"&&ue(n,a.eventProperties.call(t[a.pluginName],e))}),n},modifyOption:function(e,t,n){var a;return _e.forEach(function(r){e[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[t]=="function"&&(a=r.optionListeners[t].call(e[r.pluginName],n))}),a}};function fn(i){var e=i.sortable,t=i.rootEl,n=i.name,a=i.targetEl,r=i.cloneEl,s=i.toEl,u=i.fromEl,c=i.oldIndex,f=i.newIndex,v=i.oldDraggableIndex,g=i.newDraggableIndex,V=i.originalEvent,I=i.putSortable,D=i.extraEventProperties;if(e=e||t&&t[Z],!!e){var _,d=e.options,te="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!ce&&!Be?_=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(n,!0,!0)),_.to=s||t,_.from=u||t,_.item=a||t,_.clone=r,_.oldIndex=c,_.newIndex=f,_.oldDraggableIndex=v,_.newDraggableIndex=g,_.originalEvent=V,_.pullMode=I?I.lastPutMode:void 0;var C=se(se({},D),qe.getEventProperties(n,e));for(var U in C)_[U]=C[U];t&&t.dispatchEvent(_),d[te]&&d[te].call(e,_)}}var dn=["evt"],j=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.evt,r=tn(n,dn);qe.pluginEvent.bind(E)(e,t,se({dragEl:p,parentEl:R,ghostEl:T,rootEl:L,nextEl:Ee,lastDownEl:ze,cloneEl:N,cloneHidden:pe,dragStarted:Ae,putSortable:H,activeSortable:E.active,originalEvent:a,oldIndex:Ie,oldDraggableIndex:ke,newIndex:K,newDraggableIndex:he,hideGhostForTarget:Ut,unhideGhostForTarget:zt,cloneNowHidden:function(){pe=!0},cloneNowShown:function(){pe=!1},dispatchSortableEvent:function(u){$({sortable:t,name:u,originalEvent:a})}},r))};function $(i){fn(se({putSortable:H,cloneEl:N,targetEl:p,rootEl:L,oldIndex:Ie,oldDraggableIndex:ke,newIndex:K,newDraggableIndex:he},i))}var p,R,T,L,Ee,ze,N,pe,Ie,K,ke,he,He,H,Ce=!1,Je=!1,et=[],be,ie,dt,ht,Pt,Lt,Ae,Te,Me,Fe=!1,We=!1,Ge,W,pt=[],bt=!1,tt=[],it=typeof document<"u",$e=kt,Nt=Be||ce?"cssFloat":"float",hn=it&&!Mt&&!kt&&"draggable"in document.createElement("div"),Wt=function(){if(it){if(ce)return!1;var i=document.createElement("x");return i.style.cssText="pointer-events:auto",i.style.pointerEvents==="auto"}}(),$t=function(e,t){var n=y(e),a=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=Oe(e,0,t),s=Oe(e,1,t),u=r&&y(r),c=s&&y(s),f=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+F(r).width,v=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+F(s).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&u.float&&u.float!=="none"){var g=u.float==="left"?"left":"right";return s&&(c.clear==="both"||c.clear===g)?"vertical":"horizontal"}return r&&(u.display==="block"||u.display==="flex"||u.display==="table"||u.display==="grid"||f>=a&&n[Nt]==="none"||s&&n[Nt]==="none"&&f+v>a)?"vertical":"horizontal"},pn=function(e,t,n){var a=n?e.left:e.top,r=n?e.right:e.bottom,s=n?e.width:e.height,u=n?t.left:t.top,c=n?t.right:t.bottom,f=n?t.width:t.height;return a===u||r===c||a+s/2===u+f/2},gn=function(e,t){var n;return et.some(function(a){var r=a[Z].options.emptyInsertThreshold;if(!(!r||Dt(a))){var s=F(a),u=e>=s.left-r&&e<=s.right+r,c=t>=s.top-r&&t<=s.bottom+r;if(u&&c)return n=a}}),n},jt=function(e){function t(r,s){return function(u,c,f,v){var g=u.options.group.name&&c.options.group.name&&u.options.group.name===c.options.group.name;if(r==null&&(s||g))return!0;if(r==null||r===!1)return!1;if(s&&r==="clone")return r;if(typeof r=="function")return t(r(u,c,f,v),s)(u,c,f,v);var V=(s?u:c).options.group.name;return r===!0||typeof r=="string"&&r===V||r.join&&r.indexOf(V)>-1}}var n={},a=e.group;(!a||Ue(a)!="object")&&(a={name:a}),n.name=a.name,n.checkPull=t(a.pull,!0),n.checkPut=t(a.put),n.revertClone=a.revertClone,e.group=n},Ut=function(){!Wt&&T&&y(T,"display","none")},zt=function(){!Wt&&T&&y(T,"display","")};it&&!Mt&&document.addEventListener("click",function(i){if(Je)return i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.stopImmediatePropagation&&i.stopImmediatePropagation(),Je=!1,!1},!0);var ye=function(e){if(p){e=e.touches?e.touches[0]:e;var t=gn(e.clientX,e.clientY);if(t){var n={};for(var a in e)e.hasOwnProperty(a)&&(n[a]=e[a]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Z]._onDragOver(n)}}},mn=function(e){p&&p.parentNode[Z]._isOutsideThisEl(e.target)};function E(i,e){if(!(i&&i.nodeType&&i.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(i));this.el=i,this.options=e=ue({},e),i[Z]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(i.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return $t(i,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(s,u){s.setData("Text",u.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:E.supportPointer!==!1&&"PointerEvent"in window&&!Ne,emptyInsertThreshold:5};qe.initializePlugins(this,i,t);for(var n in t)!(n in e)&&(e[n]=t[n]);jt(e);for(var a in this)a.charAt(0)==="_"&&typeof this[a]=="function"&&(this[a]=this[a].bind(this));this.nativeDraggable=e.forceFallback?!1:hn,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?A(i,"pointerdown",this._onTapStart):(A(i,"mousedown",this._onTapStart),A(i,"touchstart",this._onTapStart)),this.nativeDraggable&&(A(i,"dragover",this),A(i,"dragenter",this)),et.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),ue(this,ln())}E.prototype={constructor:E,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Te=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,p):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,a=this.options,r=a.preventOnFilter,s=e.type,u=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,c=(u||e).target,f=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||c,v=a.filter;if(_n(n),!p&&!(/mousedown|pointerdown/.test(s)&&e.button!==0||a.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&Ne&&c&&c.tagName.toUpperCase()==="SELECT")&&(c=ae(c,a.draggable,n,!1),!(c&&c.animated)&&ze!==c)){if(Ie=ee(c),ke=ee(c,a.draggable),typeof v=="function"){if(v.call(this,e,c,this)){$({sortable:t,rootEl:f,name:"filter",targetEl:c,toEl:n,fromEl:n}),j("filter",t,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(v&&(v=v.split(",").some(function(g){if(g=ae(f,g.trim(),n,!1),g)return $({sortable:t,rootEl:g,name:"filter",targetEl:c,fromEl:n,toEl:n}),j("filter",t,{evt:e}),!0}),v)){r&&e.cancelable&&e.preventDefault();return}a.handle&&!ae(f,a.handle,n,!1)||this._prepareDragStart(e,u,c)}}},_prepareDragStart:function(e,t,n){var a=this,r=a.el,s=a.options,u=r.ownerDocument,c;if(n&&!p&&n.parentNode===r){var f=F(n);if(L=r,p=n,R=p.parentNode,Ee=p.nextSibling,ze=n,He=s.group,E.dragged=p,be={target:p,clientX:(t||e).clientX,clientY:(t||e).clientY},Pt=be.clientX-f.left,Lt=be.clientY-f.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,p.style["will-change"]="all",c=function(){if(j("delayEnded",a,{evt:e}),E.eventCanceled){a._onDrop();return}a._disableDelayedDragEvents(),!Vt&&a.nativeDraggable&&(p.draggable=!0),a._triggerDragStart(e,t),$({sortable:a,name:"choose",originalEvent:e}),G(p,s.chosenClass,!0)},s.ignore.split(",").forEach(function(v){Bt(p,v.trim(),gt)}),A(u,"dragover",ye),A(u,"mousemove",ye),A(u,"touchmove",ye),A(u,"mouseup",a._onDrop),A(u,"touchend",a._onDrop),A(u,"touchcancel",a._onDrop),Vt&&this.nativeDraggable&&(this.options.touchStartThreshold=4,p.draggable=!0),j("delayStart",this,{evt:e}),s.delay&&(!s.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(Be||ce))){if(E.eventCanceled){this._onDrop();return}A(u,"mouseup",a._disableDelayedDrag),A(u,"touchend",a._disableDelayedDrag),A(u,"touchcancel",a._disableDelayedDrag),A(u,"mousemove",a._delayedDragTouchMoveHandler),A(u,"touchmove",a._delayedDragTouchMoveHandler),s.supportPointer&&A(u,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(c,s.delay)}else c()}},_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(){p&>(p),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;O(e,"mouseup",this._disableDelayedDrag),O(e,"touchend",this._disableDelayedDrag),O(e,"touchcancel",this._disableDelayedDrag),O(e,"mousemove",this._delayedDragTouchMoveHandler),O(e,"touchmove",this._delayedDragTouchMoveHandler),O(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?A(document,"pointermove",this._onTouchMove):t?A(document,"touchmove",this._onTouchMove):A(document,"mousemove",this._onTouchMove):(A(p,"dragend",this),A(L,"dragstart",this._onDragStart));try{document.selection?Ke(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Ce=!1,L&&p){j("dragStarted",this,{evt:t}),this.nativeDraggable&&A(document,"dragover",mn);var n=this.options;!e&&G(p,n.dragClass,!1),G(p,n.ghostClass,!0),E.active=this,e&&this._appendGhost(),$({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ie){this._lastX=ie.clientX,this._lastY=ie.clientY,Ut();for(var e=document.elementFromPoint(ie.clientX,ie.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ie.clientX,ie.clientY),e!==t);)t=e;if(p.parentNode[Z]._isOutsideThisEl(e),t)do{if(t[Z]){var n=void 0;if(n=t[Z]._onDragOver({clientX:ie.clientX,clientY:ie.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);zt()}},_onTouchMove:function(e){if(be){var t=this.options,n=t.fallbackTolerance,a=t.fallbackOffset,r=e.touches?e.touches[0]:e,s=T&&Ve(T,!0),u=T&&s&&s.a,c=T&&s&&s.d,f=$e&&W&&At(W),v=(r.clientX-be.clientX+a.x)/(u||1)+(f?f[0]-pt[0]:0)/(u||1),g=(r.clientY-be.clientY+a.y)/(c||1)+(f?f[1]-pt[1]:0)/(c||1);if(!E.active&&!Ce){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(T){s?(s.e+=v-(dt||0),s.f+=g-(ht||0)):s={a:1,b:0,c:0,d:1,e:v,f:g};var V="matrix(".concat(s.a,",").concat(s.b,",").concat(s.c,",").concat(s.d,",").concat(s.e,",").concat(s.f,")");y(T,"webkitTransform",V),y(T,"mozTransform",V),y(T,"msTransform",V),y(T,"transform",V),dt=v,ht=g,ie=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!T){var e=this.options.fallbackOnBody?document.body:L,t=F(p,!0,$e,!0,e),n=this.options;if($e){for(W=e;y(W,"position")==="static"&&y(W,"transform")==="none"&&W!==document;)W=W.parentNode;W!==document.body&&W!==document.documentElement?(W===document&&(W=oe()),t.top+=W.scrollTop,t.left+=W.scrollLeft):W=oe(),pt=At(W)}T=p.cloneNode(!0),G(T,n.ghostClass,!1),G(T,n.fallbackClass,!0),G(T,n.dragClass,!0),y(T,"transition",""),y(T,"transform",""),y(T,"box-sizing","border-box"),y(T,"margin",0),y(T,"top",t.top),y(T,"left",t.left),y(T,"width",t.width),y(T,"height",t.height),y(T,"opacity","0.8"),y(T,"position",$e?"absolute":"fixed"),y(T,"zIndex","100000"),y(T,"pointerEvents","none"),E.ghost=T,e.appendChild(T),y(T,"transform-origin",Pt/parseInt(T.style.width)*100+"% "+Lt/parseInt(T.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,a=e.dataTransfer,r=n.options;if(j("dragStart",this,{evt:e}),E.eventCanceled){this._onDrop();return}j("setupClone",this),E.eventCanceled||(N=Yt(p),N.removeAttribute("id"),N.draggable=!1,N.style["will-change"]="",this._hideClone(),G(N,this.options.chosenClass,!1),E.clone=N),n.cloneId=Ke(function(){j("clone",n),!E.eventCanceled&&(n.options.removeCloneOnHide||L.insertBefore(N,p),n._hideClone(),$({sortable:n,name:"clone"}))}),!t&&G(p,r.dragClass,!0),t?(Je=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),a&&(a.effectAllowed="move",r.setData&&r.setData.call(n,a,p)),A(document,"drop",n),y(p,"transform","translateZ(0)")),Ce=!0,n._dragStartId=Ke(n._dragStarted.bind(n,t,e)),A(document,"selectstart",n),Ae=!0,Ne&&y(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,n=e.target,a,r,s,u=this.options,c=u.group,f=E.active,v=He===c,g=u.sort,V=H||f,I,D=this,_=!1;if(bt)return;function d(we,at){j(we,D,se({evt:e,isOwner:v,axis:I?"vertical":"horizontal",revert:s,dragRect:a,targetRect:r,canSort:g,fromSortable:V,target:n,completed:C,onMove:function(De,ot){return je(L,t,p,a,De,F(De),e,ot)},changed:U},at))}function te(){d("dragOverAnimationCapture"),D.captureAnimationState(),D!==V&&V.captureAnimationState()}function C(we){return d("dragOverCompleted",{insertion:we}),we&&(v?f._hideClone():f._showClone(D),D!==V&&(G(p,H?H.options.ghostClass:f.options.ghostClass,!1),G(p,u.ghostClass,!0)),H!==D&&D!==E.active?H=D:D===E.active&&H&&(H=null),V===D&&(D._ignoreWhileAnimating=n),D.animateAll(function(){d("dragOverAnimationComplete"),D._ignoreWhileAnimating=null}),D!==V&&(V.animateAll(),V._ignoreWhileAnimating=null)),(n===p&&!p.animated||n===t&&!n.animated)&&(Te=null),!u.dragoverBubble&&!e.rootEl&&n!==document&&(p.parentNode[Z]._isOutsideThisEl(e.target),!we&&ye(e)),!u.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),_=!0}function U(){K=ee(p),he=ee(p,u.draggable),$({sortable:D,name:"change",toEl:t,newIndex:K,newDraggableIndex:he,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),n=ae(n,u.draggable,t,!0),d("dragOver"),E.eventCanceled)return _;if(p.contains(e.target)||n.animated&&n.animatingX&&n.animatingY||D._ignoreWhileAnimating===n)return C(!1);if(Je=!1,f&&!u.disabled&&(v?g||(s=R!==L):H===this||(this.lastPutMode=He.checkPull(this,f,p,e))&&c.checkPut(this,f,p,e))){if(I=this._getDirection(e,n)==="vertical",a=F(p),d("dragOverValid"),E.eventCanceled)return _;if(s)return R=L,te(),this._hideClone(),d("revert"),E.eventCanceled||(Ee?L.insertBefore(p,Ee):L.appendChild(p)),C(!0);var B=Dt(t,u.draggable);if(!B||yn(e,I,this)&&!B.animated){if(B===p)return C(!1);if(B&&t===e.target&&(n=B),n&&(r=F(n)),je(L,t,p,a,n,r,e,!!n)!==!1)return te(),B&&B.nextSibling?t.insertBefore(p,B.nextSibling):t.appendChild(p),R=t,U(),C(!0)}else if(B&&bn(e,I,this)){var q=Oe(t,0,u,!0);if(q===p)return C(!1);if(n=q,r=F(n),je(L,t,p,a,n,r,e,!1)!==!1)return te(),t.insertBefore(p,q),R=t,U(),C(!0)}else if(n.parentNode===t){r=F(n);var k=0,re,fe=p.parentNode!==t,X=!pn(p.animated&&p.toRect||a,n.animated&&n.toRect||r,I),me=I?"top":"left",ne=xt(n,"top","top")||xt(p,"top","top"),ve=ne?ne.scrollTop:void 0;Te!==n&&(re=r[me],Fe=!1,We=!X&&u.invertSwap||fe),k=En(e,n,r,I,X?1:u.swapThreshold,u.invertedSwapThreshold==null?u.swapThreshold:u.invertedSwapThreshold,We,Te===n);var Q;if(k!==0){var z=ee(p);do z-=k,Q=R.children[z];while(Q&&(y(Q,"display")==="none"||Q===T))}if(k===0||Q===n)return C(!1);Te=n,Me=k;var de=n.nextElementSibling,J=!1;J=k===1;var Se=je(L,t,p,a,n,r,e,J);if(Se!==!1)return(Se===1||Se===-1)&&(J=Se===1),bt=!0,setTimeout(wn,30),te(),J&&!de?t.appendChild(p):n.parentNode.insertBefore(p,J?de:n),ne&&Xt(ne,0,ve-ne.scrollTop),R=p.parentNode,re!==void 0&&!We&&(Ge=Math.abs(re-F(n)[me])),U(),C(!0)}if(t.contains(p))return C(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",ye),O(document,"mousemove",ye),O(document,"touchmove",ye)},_offUpEvents:function(){var e=this.el.ownerDocument;O(e,"mouseup",this._onDrop),O(e,"touchend",this._onDrop),O(e,"pointerup",this._onDrop),O(e,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;if(K=ee(p),he=ee(p,n.draggable),j("drop",this,{evt:e}),R=p&&p.parentNode,K=ee(p),he=ee(p,n.draggable),E.eventCanceled){this._nulling();return}Ce=!1,We=!1,Fe=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),yt(this.cloneId),yt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Ne&&y(document.body,"user-select",""),y(p,"transform",""),e&&(Ae&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),T&&T.parentNode&&T.parentNode.removeChild(T),(L===R||H&&H.lastPutMode!=="clone")&&N&&N.parentNode&&N.parentNode.removeChild(N),p&&(this.nativeDraggable&&O(p,"dragend",this),gt(p),p.style["will-change"]="",Ae&&!Ce&&G(p,H?H.options.ghostClass:this.options.ghostClass,!1),G(p,this.options.chosenClass,!1),$({sortable:this,name:"unchoose",toEl:R,newIndex:null,newDraggableIndex:null,originalEvent:e}),L!==R?(K>=0&&($({rootEl:R,name:"add",toEl:R,fromEl:L,originalEvent:e}),$({sortable:this,name:"remove",toEl:R,originalEvent:e}),$({rootEl:R,name:"sort",toEl:R,fromEl:L,originalEvent:e}),$({sortable:this,name:"sort",toEl:R,originalEvent:e})),H&&H.save()):K!==Ie&&K>=0&&($({sortable:this,name:"update",toEl:R,originalEvent:e}),$({sortable:this,name:"sort",toEl:R,originalEvent:e})),E.active&&((K==null||K===-1)&&(K=Ie,he=ke),$({sortable:this,name:"end",toEl:R,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){j("nulling",this),L=p=R=T=Ee=N=ze=pe=be=ie=Ae=K=he=Ie=ke=Te=Me=H=He=E.dragged=E.ghost=E.clone=E.active=null,tt.forEach(function(e){e.checked=!0}),tt.length=dt=ht=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":p&&(this._onDragOver(e),vn(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,a=0,r=n.length,s=this.options;a<r;a++)t=n[a],ae(t,s.draggable,this.el,!1)&&e.push(t.getAttribute(s.dataIdAttr)||Dn(t));return e},sort:function(e,t){var n={},a=this.el;this.toArray().forEach(function(r,s){var u=a.children[s];ae(u,this.options.draggable,a,!1)&&(n[r]=u)},this),t&&this.captureAnimationState(),e.forEach(function(r){n[r]&&(a.removeChild(n[r]),a.appendChild(n[r]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return ae(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(t===void 0)return n[e];var a=qe.modifyOption(this,e,t);typeof a<"u"?n[e]=a:n[e]=t,e==="group"&&jt(n)},destroy:function(){j("destroy",this);var e=this.el;e[Z]=null,O(e,"mousedown",this._onTapStart),O(e,"touchstart",this._onTapStart),O(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(O(e,"dragover",this),O(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),et.splice(et.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!pe){if(j("hideClone",this),E.eventCanceled)return;y(N,"display","none"),this.options.removeCloneOnHide&&N.parentNode&&N.parentNode.removeChild(N),pe=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(pe){if(j("showClone",this),E.eventCanceled)return;p.parentNode==L&&!this.options.group.revertClone?L.insertBefore(N,p):Ee?L.insertBefore(N,Ee):L.appendChild(N),this.options.group.revertClone&&this.animate(p,N),y(N,"display",""),pe=!1}}};function vn(i){i.dataTransfer&&(i.dataTransfer.dropEffect="move"),i.cancelable&&i.preventDefault()}function je(i,e,t,n,a,r,s,u){var c,f=i[Z],v=f.options.onMove,g;return window.CustomEvent&&!ce&&!Be?c=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(c=document.createEvent("Event"),c.initEvent("move",!0,!0)),c.to=e,c.from=i,c.dragged=t,c.draggedRect=n,c.related=a||e,c.relatedRect=r||F(e),c.willInsertAfter=u,c.originalEvent=s,i.dispatchEvent(c),v&&(g=v.call(f,c,s)),g}function gt(i){i.draggable=!1}function wn(){bt=!1}function bn(i,e,t){var n=F(Oe(t.el,0,t.options,!0)),a=Ht(t.el,t.options,T),r=10;return e?i.clientX<a.left-r||i.clientY<n.top&&i.clientX<n.right:i.clientY<a.top-r||i.clientY<n.bottom&&i.clientX<n.left}function yn(i,e,t){var n=F(Dt(t.el,t.options.draggable)),a=Ht(t.el,t.options,T),r=10;return e?i.clientX>a.right+r||i.clientY>n.bottom&&i.clientX>n.left:i.clientY>a.bottom+r||i.clientX>n.right&&i.clientY>n.top}function En(i,e,t,n,a,r,s,u){var c=n?i.clientY:i.clientX,f=n?t.height:t.width,v=n?t.top:t.left,g=n?t.bottom:t.right,V=!1;if(!s){if(u&&Ge<f*a){if(!Fe&&(Me===1?c>v+f*r/2:c<g-f*r/2)&&(Fe=!0),Fe)V=!0;else if(Me===1?c<v+Ge:c>g-Ge)return-Me}else if(c>v+f*(1-a)/2&&c<g-f*(1-a)/2)return Sn(e)}return V=V||s,V&&(c<v+f*r/2||c>g-f*r/2)?c>v+f/2?1:-1:0}function Sn(i){return ee(p)<ee(i)?1:-1}function Dn(i){for(var e=i.tagName+i.className+i.src+i.href+i.textContent,t=e.length,n=0;t--;)n+=e.charCodeAt(t);return n.toString(36)}function _n(i){tt.length=0;for(var e=i.getElementsByTagName("input"),t=e.length;t--;){var n=e[t];n.checked&&tt.push(n)}}function Ke(i){return setTimeout(i,0)}function yt(i){return clearTimeout(i)}it&&A(document,"touchmove",function(i){(E.active||Ce)&&i.cancelable&&i.preventDefault()});E.utils={on:A,off:O,css:y,find:Bt,is:function(e,t){return!!ae(e,t,e,!1)},extend:on,throttle:qt,closest:ae,toggleClass:G,clone:Yt,index:ee,nextTick:Ke,cancelNextTick:yt,detectDirection:$t,getChild:Oe};E.get=function(i){return i[Z]};E.mount=function(){for(var i=arguments.length,e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(E.utils=se(se({},E.utils),n.utils)),qe.mount(n)})};E.create=function(i,e){return new E(i,e)};E.version=nn;var M=[],Pe,Et,St=!1,mt,vt,nt,Le;function Tn(){function i(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return i.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?A(document,"dragover",this._handleAutoScroll):this.options.supportPointer?A(document,"pointermove",this._handleFallbackAutoScroll):n.touches?A(document,"touchmove",this._handleFallbackAutoScroll):A(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),Rt(),Ze(),sn()},nulling:function(){nt=Et=Pe=St=Le=mt=vt=null,M.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var a=this,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,u=document.elementFromPoint(r,s);if(nt=t,n||this.options.forceAutoScrollFallback||Be||ce||Ne){wt(t,this.options,u,n);var c=ge(u,!0);St&&(!Le||r!==mt||s!==vt)&&(Le&&Rt(),Le=setInterval(function(){var f=ge(document.elementFromPoint(r,s),!0);f!==c&&(c=f,Ze()),wt(t,a.options,f,n)},10),mt=r,vt=s)}else{if(!this.options.bubbleScroll||ge(u,!0)===oe()){Ze();return}wt(t,this.options,ge(u,!1),!1)}}},ue(i,{pluginName:"scroll",initializeByDefault:!0})}function Ze(){M.forEach(function(i){clearInterval(i.pid)}),M=[]}function Rt(){clearInterval(Le)}var wt=qt(function(i,e,t,n){if(e.scroll){var a=(i.touches?i.touches[0]:i).clientX,r=(i.touches?i.touches[0]:i).clientY,s=e.scrollSensitivity,u=e.scrollSpeed,c=oe(),f=!1,v;Et!==t&&(Et=t,Ze(),Pe=e.scroll,v=e.scrollFn,Pe===!0&&(Pe=ge(t,!0)));var g=0,V=Pe;do{var I=V,D=F(I),_=D.top,d=D.bottom,te=D.left,C=D.right,U=D.width,B=D.height,q=void 0,k=void 0,re=I.scrollWidth,fe=I.scrollHeight,X=y(I),me=I.scrollLeft,ne=I.scrollTop;I===c?(q=U<re&&(X.overflowX==="auto"||X.overflowX==="scroll"||X.overflowX==="visible"),k=B<fe&&(X.overflowY==="auto"||X.overflowY==="scroll"||X.overflowY==="visible")):(q=U<re&&(X.overflowX==="auto"||X.overflowX==="scroll"),k=B<fe&&(X.overflowY==="auto"||X.overflowY==="scroll"));var ve=q&&(Math.abs(C-a)<=s&&me+U<re)-(Math.abs(te-a)<=s&&!!me),Q=k&&(Math.abs(d-r)<=s&&ne+B<fe)-(Math.abs(_-r)<=s&&!!ne);if(!M[g])for(var z=0;z<=g;z++)M[z]||(M[z]={});(M[g].vx!=ve||M[g].vy!=Q||M[g].el!==I)&&(M[g].el=I,M[g].vx=ve,M[g].vy=Q,clearInterval(M[g].pid),(ve!=0||Q!=0)&&(f=!0,M[g].pid=setInterval((function(){n&&this.layer===0&&E.active._onTouchMove(nt);var de=M[this.layer].vy?M[this.layer].vy*u:0,J=M[this.layer].vx?M[this.layer].vx*u:0;typeof v=="function"&&v.call(E.dragged.parentNode[Z],J,de,i,nt,M[this.layer].el)!=="continue"||Xt(M[this.layer].el,J,de)}).bind({layer:g}),24))),g++}while(e.bubbleScroll&&V!==c&&(V=ge(V,!1)));St=f}},30),Gt=function(e){var t=e.originalEvent,n=e.putSortable,a=e.dragEl,r=e.activeSortable,s=e.dispatchSortableEvent,u=e.hideGhostForTarget,c=e.unhideGhostForTarget;if(t){var f=n||r;u();var v=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,g=document.elementFromPoint(v.clientX,v.clientY);c(),f&&!f.el.contains(g)&&(s("spill"),this.onSpill({dragEl:a,putSortable:n}))}};function _t(){}_t.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 a=Oe(this.sortable.el,this.startIndex,this.options);a?this.sortable.el.insertBefore(t,a):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:Gt};ue(_t,{pluginName:"revertOnSpill"});function Tt(){}Tt.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable,a=n||this.sortable;a.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),a.animateAll()},drop:Gt};ue(Tt,{pluginName:"removeOnSpill"});E.mount(new Tn);E.mount(Tt,_t);const Cn=["data-url","onContextmenu","onMousedown","onClick"],In={key:0,class:"iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont"},Vn=m.defineComponent({name:"layoutTagsView"}),On=m.defineComponent({...Vn,setup(i){const e=m.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./contextmenu-Dfls-olT.js"))),t=m.ref([]),n=m.ref(),a=m.ref(),r=m.ref(),s=x.useTagsViewRoutes(),u=x.useThemeConfig(),c=x.useTagsViewRoutes(),f=x.useRoutesList(),{themeConfig:v}=x.storeToRefs(u),{tagsViewRoutes:g}=x.storeToRefs(c),{routesList:V}=x.storeToRefs(f),I=x.useKeepALiveNames(),D=x.useRoute(),_=x.useRouter(),d=m.reactive({routeActive:"",routePath:D.path,dropdown:{x:"",y:""},sortable:"",tagsRefsIndex:0,tagsViewList:[],tagsViewRoutesList:[]}),te=m.computed(()=>v.value.tagsStyle),C=m.computed(()=>v.value),U=m.computed(()=>l=>x.other.setTagsViewNameI18n(l)),B=l=>C.value.isShareTagsView?l.path===d.routePath:l.query&&Object.keys(l.query).length||l.params&&Object.keys(l.params).length?l.url?l.url===d.routeActive:l.path===d.routeActive:l.path===d.routePath,q=l=>{x.Session.set("tagsViewList",l)},k=l=>{var b;let o=l.query&&Object.keys(l.query).length>0?l.query:l.params;if(!o||Object.keys(o).length<=0)return l.path;let h="";for(let w in o)h+=o[w];return`${(b=l.meta)!=null&&b.isDynamic?l.meta.isDynamicPath:l.path}-${h}`},re=async(l,o)=>{var w,P;let h=(w=o==null?void 0:o.meta)!=null&&w.isDynamic?o.meta.isDynamicPath:l;if(d.tagsViewList.filter(S=>{var Y,xe;return S.path===h&&x.isObjectValueEqual((Y=o==null?void 0:o.meta)!=null&&Y.isDynamic?S.params?S.params:null:S.query?S.query:null,(xe=o==null?void 0:o.meta)!=null&&xe.isDynamic?o!=null&&o.params?o==null?void 0:o.params:null:o!=null&&o.query?o==null?void 0:o.query:null)}).length<=0){let S=d.tagsViewRoutesList.find(Y=>Y.path===h);if(!S||S.meta.isAffix||S.meta.isLink&&!S.meta.isIframe)return!1;(P=o==null?void 0:o.meta)!=null&&P.isDynamic?S.params=o.params:S.query=o==null?void 0:o.query,S.url=k(S),d.tagsViewList.push({...S}),await I.addCachedView(S),q(d.tagsViewList)}},fe=(l,o)=>{var b;let h=(b=o==null?void 0:o.meta)!=null&&b.isDynamic?o.meta.isDynamicPath:l;d.tagsViewList.forEach(w=>{var P,S,Y;w.path===h&&!x.isObjectValueEqual((P=o==null?void 0:o.meta)!=null&&P.isDynamic?w.params?w.params:null:w.query?w.query:null,(S=o==null?void 0:o.meta)!=null&&S.isDynamic?o!=null&&o.params?o==null?void 0:o.params:null:o!=null&&o.query?o==null?void 0:o.query:null)&&((Y=o==null?void 0:o.meta)!=null&&Y.isDynamic?w.params=o.params:w.query=o==null?void 0:o.query,w.url=k(w),q(d.tagsViewList))})},X=(l,o)=>{m.nextTick(async()=>{var b,w,P;let h;if((b=o==null?void 0:o.meta)!=null&&b.isDynamic){if(C.value.isShareTagsView?await fe(l,o):await re(l,o),d.tagsViewList.some(S=>{var Y;return S.path===((Y=o==null?void 0:o.meta)==null?void 0:Y.isDynamicPath)}))return q(d.tagsViewList),!1;h=d.tagsViewRoutesList.find(S=>{var Y;return S.path===((Y=o==null?void 0:o.meta)==null?void 0:Y.isDynamicPath)})}else{if(C.value.isShareTagsView?await fe(l,o):await re(l,o),d.tagsViewList.some(S=>S.path===l))return q(d.tagsViewList),!1;h=d.tagsViewRoutesList.find(S=>S.path===l)}if(!h||(w=h==null?void 0:h.meta)!=null&&w.isLink&&!h.meta.isIframe)return!1;(P=o==null?void 0:o.meta)!=null&&P.isDynamic?h.params=o!=null&&o.params?o==null?void 0:o.params:D.params:h.query=o!=null&&o.query?o==null?void 0:o.query:D.query,h.url=k(h),await I.addCachedView(h),await d.tagsViewList.push({...h}),await q(d.tagsViewList)})},me=()=>{m.nextTick(()=>{if(t.value.length<=0)return!1;let l=t.value[d.tagsRefsIndex],o=d.tagsRefsIndex,h=t.value.length,b=t.value[0],w=t.value[t.value.length-1],P=n.value.$refs.wrapRef,S=P.scrollWidth,Y=P.offsetWidth,xe=P.scrollLeft,ut=t.value[d.tagsRefsIndex-1],Ct=t.value[d.tagsRefsIndex+1],Xe=0,Ye=0;l===b?P.scrollLeft=0:l===w?P.scrollLeft=S-Y:(o===0?Xe=b.offsetLeft-5:Xe=(ut==null?void 0:ut.offsetLeft)-5,o===h?Ye=w.offsetLeft+w.offsetWidth+5:Ye=Ct.offsetLeft+Ct.offsetWidth+5,Ye>xe+Y?P.scrollLeft=Ye-Y:Xe<xe&&(P.scrollLeft=Xe)),n.value.update()})},ne=l=>{m.nextTick(async()=>{let o=await d.tagsViewList;d.tagsRefsIndex=o.findIndex(h=>C.value.isShareTagsView?h.path===l:h.url===l),me()})},ve=async()=>{x.Session.get("tagsViewList")&&C.value.isCacheTagsView?d.tagsViewList=x.Session.get("tagsViewList"):(await d.tagsViewRoutesList.map(l=>{var o;(o=l.meta)!=null&&o.isAffix&&!l.meta.isHide&&(l.url=k(l),d.tagsViewList.push({...l}),I.addCachedView(l))}),await X(D.path,D)),ne(C.value.isShareTagsView?d.routePath:d.routeActive)},Q=async()=>{d.routeActive=await k(D),d.routePath=await D.meta.isDynamic?D.meta.isDynamicPath:D.path,d.tagsViewList=[],d.tagsViewRoutesList=g.value,ve()},z=l=>{var b,w;let o=l.query&&Object.keys(l.query).length>0?l.query:l.params;if(!o)return"";let h="";for(let[P,S]of Object.entries(o))(b=l.meta)!=null&&b.isDynamic?h+=`/${S}`:h+=`&${P}=${S}`;return(w=l.meta)!=null&&w.isDynamic?l.isFnClick?decodeURI(l.path):`${l.path.split(":")[0]}${h.replace(/^\//,"")}`:`${l.path}${h.replace(/^&/,"?")}`},de=async l=>{var b;const o=decodeURI(l);let h={};if(d.tagsViewList.forEach(w=>{w.transUrl=z(w),w.transUrl?w.transUrl===z(w)&&(h=w):w.path===o&&(h=w)}),!h)return!1;await I.delCachedView(h),x.mittBus.emit("onTagsViewRefreshRouterView",l),(b=h.meta)!=null&&b.isKeepAlive&&I.addCachedView(h)},J=l=>{d.tagsViewList.map((o,h,b)=>{var w;(w=o.meta)!=null&&w.isAffix||(C.value.isShareTagsView?o.path===l:o.url===l)&&(I.delCachedView(o),d.tagsViewList.splice(h,1),setTimeout(()=>{(d.tagsViewList.length===h&&C.value.isShareTagsView?d.routePath===l:d.routeActive===l)?b[b.length-1].meta.isDynamic?h!==b.length?_.push({name:b[h].name,params:b[h].params}):_.push({name:b[b.length-1].name,params:b[b.length-1].params}):h!==b.length?_.push({path:b[h].path,query:b[h].query}):_.push({path:b[b.length-1].path,query:b[b.length-1].query}):(d.tagsViewList.length!==h&&C.value.isShareTagsView?d.routePath===l:d.routeActive===l)&&(b[h].meta.isDynamic?_.push({name:b[h].name,params:b[h].params}):_.push({path:b[h].path,query:b[h].query}))},0))}),q(d.tagsViewList)},Se=l=>{x.Session.get("tagsViewList")&&(d.tagsViewList=[],x.Session.get("tagsViewList").map(o=>{var h;(h=o.meta)!=null&&h.isAffix&&!o.meta.isHide&&(o.url=k(o),I.delOthersCachedViews(o),d.tagsViewList.push({...o}))}),X(l,D),q(d.tagsViewList))},we=()=>{x.Session.get("tagsViewList")&&(I.delAllCachedViews(),d.tagsViewList=[],x.Session.get("tagsViewList").map(l=>{var o;(o=l.meta)!=null&&o.isAffix&&!l.meta.isHide&&(l.url=k(l),d.tagsViewList.push({...l}),_.push({path:d.tagsViewList[d.tagsViewList.length-1].path}))}),q(d.tagsViewList))},at=async l=>{const o=d.tagsViewList.find(h=>C.value.isShareTagsView?h.path===l:h.url===l);o.meta.isDynamic?await _.push({name:o.name,params:o.params}):await _.push({name:o.name,query:o.query}),s.setCurrenFullscreen(!0)},rt=l=>{let o={};return d.tagsViewList.forEach(h=>{h.transUrl=z(h),h.transUrl?h.transUrl===z(h)&&h.transUrl===l.commonUrl&&(o=h):h.path===decodeURI(l.path)&&(o=h)}),o||null},De=async l=>{if(l.commonUrl=z(l),!rt(l))return x.ElMessage({type:"warning",message:"请正确输入路径及完整参数(query、params)"});const{path:o,name:h,params:b,query:w,meta:P,url:S}=rt(l);switch(l.contextMenuClickId){case 0:P.isDynamic?await _.push({name:h,params:b}):await _.push({path:o,query:w}),de(D.fullPath);break;case 1:J(C.value.isShareTagsView?o:S);break;case 2:P.isDynamic?await _.push({name:h,params:b}):await _.push({path:o,query:w}),Se(o);break;case 3:we();break;case 4:at(C.value.isShareTagsView?o:S);break}},ot=(l,o)=>{const{clientX:h,clientY:b}=o;d.dropdown.x=h,d.dropdown.y=b,a.value.openContextmenu(l)},Kt=(l,o)=>{var h;if(!((h=l.meta)!=null&&h.isAffix)&&o.button===1){const b=Object.assign({},{contextMenuClickId:1,...l});De(b)}},Zt=(l,o)=>{d.tagsRefsIndex=o,_.push(l),C.value.layout==="columns"&&(V.value.find(b=>b.path.indexOf(`/${l.path.split("/")[1]}`)>-1).children?C.value.isCollapse=!1:C.value.isCollapse=!0)},Qt=l=>{n.value.$refs.wrapRef.scrollLeft+=l.wheelDelta/4},st=async()=>{const l=document.querySelector(".layout-navbars-tagsview-ul");if(!l)return!1;d.sortable.el&&d.sortable.destroy(),d.sortable=E.create(l,{animation:300,dataIdAttr:"data-url",disabled:!C.value.isSortableTagsView,onEnd:()=>{const o=[];d.sortable.toArray().map(h=>{d.tagsViewList.map(b=>{b.url===h&&o.push({...b})})}),q(o)}})},lt=async()=>{await st(),x.other.isMobile()&&d.sortable.el&&d.sortable.destroy()};return m.onBeforeMount(()=>{lt(),window.addEventListener("resize",lt),x.mittBus.on("onCurrentContextmenuClick",l=>{l.isFnClick=!0,De(l)}),x.mittBus.on("openOrCloseSortable",()=>{st()}),x.mittBus.on("openShareTagsView",()=>{C.value.isShareTagsView&&(_.push("/home"),d.tagsViewList=[],d.tagsViewRoutesList.map(l=>{var o;(o=l.meta)!=null&&o.isAffix&&!l.meta.isHide&&(l.url=k(l),d.tagsViewList.push({...l}))}))})}),m.onUnmounted(()=>{x.mittBus.off("onCurrentContextmenuClick",()=>{}),x.mittBus.off("openOrCloseSortable",()=>{}),x.mittBus.off("openShareTagsView",()=>{}),window.removeEventListener("resize",lt)}),m.onBeforeUpdate(()=>{t.value=[]}),m.onMounted(()=>{Q(),st()}),x.onBeforeRouteUpdate(async l=>{d.routeActive=k(l),d.routePath=l.meta.isDynamic?l.meta.isDynamicPath:l.path,await X(l.path,l),ne(C.value.isShareTagsView?d.routePath:d.routeActive)}),m.watch(()=>g.value,l=>{if(l.length===d.tagsViewRoutesList.length)return!1;Q()},{deep:!0}),(l,o)=>{const h=m.resolveComponent("SvgIcon"),b=m.resolveComponent("el-scrollbar");return m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(["layout-navbars-tagsview",{"layout-navbars-tagsview-shadow":C.value.layout==="classic"}])},[m.createVNode(b,{ref_key:"scrollbarRef",ref:n,onWheel:m.withModifiers(Qt,["prevent"])},{default:m.withCtx(()=>[m.createElementVNode("ul",{class:m.normalizeClass(["layout-navbars-tagsview-ul",te.value]),ref_key:"tagsUlRef",ref:r},[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(d.tagsViewList,(w,P)=>(m.openBlock(),m.createElementBlock("li",{key:P,class:m.normalizeClass(["layout-navbars-tagsview-ul-li",{"is-active":B(w)}]),"data-url":w.url,onContextmenu:m.withModifiers(S=>ot(w,S),["prevent"]),onMousedown:S=>Kt(w,S),onClick:S=>Zt(w,P),ref_for:!0,ref:S=>{S&&(t.value[P]=S)}},[B(w)?(m.openBlock(),m.createElementBlock("i",In)):m.createCommentVNode("",!0),!B(w)&&C.value.isTagsviewIcon?(m.openBlock(),m.createBlock(h,{key:1,name:w.meta.icon,class:"pr5"},null,8,["name"])):m.createCommentVNode("",!0),m.createElementVNode("span",null,m.toDisplayString(U.value(w)),1),B(w)?(m.openBlock(),m.createElementBlock(m.Fragment,{key:2},[m.createVNode(h,{name:"ele-RefreshRight",class:"ml5 layout-navbars-tagsview-ul-li-refresh",onClick:o[0]||(o[0]=m.withModifiers(S=>de(l.$route.fullPath),["stop"]))}),w.meta.isAffix?m.createCommentVNode("",!0):(m.openBlock(),m.createBlock(h,{key:0,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-active",onClick:m.withModifiers(S=>J(C.value.isShareTagsView?w.path:w.url),["stop"])},null,8,["onClick"]))],64)):m.createCommentVNode("",!0),w.meta.isAffix?m.createCommentVNode("",!0):(m.openBlock(),m.createBlock(h,{key:3,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-three",onClick:m.withModifiers(S=>J(C.value.isShareTagsView?w.path:w.url),["stop"])},null,8,["onClick"]))],42,Cn))),128))],2)]),_:1},512),m.createVNode(m.unref(e),{dropdown:d.dropdown,ref_key:"contextmenuRef",ref:a,onCurrentContextmenuClick:De},null,8,["dropdown"])],2)}}}),xn=x._export_sfc(On,[["__scopeId","data-v-7db64969"]]);exports.default=xn;
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-CQm8nbPz.js"),f=e.defineComponent({name:"layoutTransverse"}),p=e.defineComponent({...f,setup(d){const a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./header-Cb0AZjmv.js"))),c=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-Dw_Dc52X.js"))),t=e.ref(),s=o.useThemeConfig(),{themeConfig:u}=o.storeToRefs(s),l=o.useRoute(),n=()=>{t.value.layoutMainScrollbarRef.update()},r=()=>{e.nextTick(()=>{setTimeout(()=>{n(),t.value.layoutMainScrollbarRef.wrapRef.scrollTop=0},500)})};return e.onMounted(()=>{r()}),e.watch(()=>l.path,()=>{r()}),e.watch(()=>u.value.isTagsview,()=>{e.nextTick(()=>{n()})},{deep:!0}),(m,_)=>{const i=e.resolveComponent("el-container");return e.openBlock(),e.createBlock(i,{class:"layout-container flex-center layout-backtop"},{default:e.withCtx(()=>[e.createVNode(e.unref(a)),e.createVNode(e.unref(c),{ref_key:"layoutMainRef",ref:t},null,512)]),_:1})}}});exports.default=p;
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as l, defineAsyncComponent as n, ref as d, onMounted as y, watch as a, nextTick as r, resolveComponent as h, openBlock as T, createBlock as C, withCtx as R, createVNode as c, unref as s } from "vue";
|
|
2
|
-
import { c as v, s as M, u as g } from "./index-
|
|
2
|
+
import { c as v, s as M, u as g } from "./index-Dx9H-HyV.mjs";
|
|
3
3
|
const k = l({
|
|
4
4
|
name: "layoutTransverse"
|
|
5
5
|
}), H = /* @__PURE__ */ l({
|
|
6
6
|
...k,
|
|
7
7
|
setup(x) {
|
|
8
|
-
const u = n(() => import("./header-
|
|
8
|
+
const u = n(() => import("./header-Dx9cqIMo.mjs")), i = n(() => import("./main-COTQSim0.mjs")), e = d(), f = v(), { themeConfig: p } = M(f), m = g(), o = () => {
|
|
9
9
|
e.value.layoutMainScrollbarRef.update();
|
|
10
10
|
}, t = () => {
|
|
11
11
|
r(() => {
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),O=require("./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js"),y=require("./index-CQm8nbPz.js"),Y={data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10,validator:function(e){return Array.isArray(e)?Number(e[0])>=0&&Number(e[1])>=0:Number(e)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let e={};if(e.top=this.cropOffsertY>21?"-21px":"0px",e.width=this.cropW>0?this.cropW:0,e.height=this.cropH>0?this.cropH:0,this.infoTrue){let t=1;this.high&&!this.full&&(t=window.devicePixelRatio),this.enlarge!==1&!this.full&&(t=Math.abs(Number(this.enlarge))),e.width=e.width*t,e.height=e.height*t,this.full&&(e.width=e.width/this.scale,e.height=e.height/this.scale)}return e.width=e.width.toFixed(0),e.height=e.height.toFixed(0),e},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(e){e!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(e,t){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(e){e&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(e){var t=navigator.userAgent.split(" "),i="";let s=0;const h=new RegExp(e,"i");for(var r=0;r<t.length;r++)h.test(t[r])&&(i=t[r]);return i?s=i.split("/")[1].split("."):s=["0","0","0"],s},checkOrientationImage(e,t,i,s){if(this.getVersion("chrome")[0]>=81)t=-1;else if(this.getVersion("safari")[0]>=605){const o=this.getVersion("version");o[0]>13&&o[1]>1&&(t=-1)}else{const o=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(o){let l=o[1];l=l.split("_"),(l[0]>13||l[0]>=13&&l[1]>=4)&&(t=-1)}}let h=document.createElement("canvas"),r=h.getContext("2d");switch(r.save(),t){case 2:h.width=i,h.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:h.width=i,h.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:h.width=i,h.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:h.width=s,h.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:h.height=i,h.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:h.width=i,h.height=s}r.drawImage(e,0,0,i,s),r.restore(),h.toBlob(o=>{let l=URL.createObjectURL(o);URL.revokeObjectURL(this.imgs),this.imgs=l},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let e=new Image;if(e.onload=()=>{if(this.img==="")return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let i=e.width,s=e.height;O.Exif.getData(e).then(h=>{this.orientation=h.orientation||1;let r=Number(this.maxImgSize);if(!this.orientation&&i<r&s<r){this.imgs=this.img;return}i>r&&(s=s/i*r,i=r),s>r&&(i=i/s*r,s=r),this.checkOrientationImage(e,this.orientation,i,s)}).catch(h=>{this.$emit("img-load","error"),this.$emit("img-load-error",h)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},this.img.substr(0,4)!=="data"&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var i=URL.createObjectURL(this.response);e.src=i},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),e.touches.length==2&&(this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var i={x:this.touches[0].clientX,y:this.touches[0].clientY},s={x:e.touches[0].clientX,y:e.touches[0].clientY},h={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:e.touches[1].clientX,y:e.touches[1].clientY},o=Math.sqrt(Math.pow(i.x-h.x,2)+Math.pow(i.y-h.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),n=l-o,p=1;p=p/this.trueWidth>p/this.trueHeight?p/this.trueHeight:p/this.trueWidth,p=p>.1?.1:p;var c=p*n;if(!this.touchNow){if(this.touchNow=!0,n>0?t+=Math.abs(c):n<0&&t>Math.abs(c)&&(t-=Math.abs(c)),this.touches=e.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&e.touches.length===2)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.moveX,h=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,h,this.scale),o=this.getCropAxis(),l=this.trueHeight*this.scale,n=this.trueWidth*this.scale,p,c,f,g;switch(this.rotate){case 1:case-1:case 3:case-3:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(l-n)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(n-l)/2,f=p-l+this.cropW,g=c-n+this.cropH;break;default:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,f=p-n+this.cropW,g=c-l+this.cropH;break}r.x1>=o.x1&&(s=p),r.y1>=o.y1&&(h=c),r.x2<=o.x2&&(s=f),r.y2<=o.y2&&(h=g)}this.x=s,this.y=h,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(e){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(e){e.preventDefault();let t=this.scale;var i=e.deltaY||e.wheelDelta,s=navigator.userAgent.indexOf("Firefox");i=s>0?i*30:i,this.isIE&&(i=-i);var h=this.coe;h=h/this.trueWidth>h/this.trueHeight?h/this.trueHeight:h/this.trueWidth;var r=h*i;r<0?t+=Math.abs(r):t>Math.abs(r)&&(t-=Math.abs(r));let o=r<0?"add":"reduce";if(o!==this.coeStatus&&(this.coeStatus=o,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var i=20;if(i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth,e=e*i,e>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick(()=>{var s=t-this.cropX,h=i-this.cropY;if(s>0?(this.cropW=s+this.cropChangeX>this.w?this.w-this.cropChangeX:s,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(s)>this.w?this.cropChangeX:Math.abs(s),this.cropOffsertX=this.cropChangeX+s>0?this.cropChangeX+s:0),!this.fixed)h>0?(this.cropH=h+this.cropChangeY>this.h?this.h-this.cropChangeY:h,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(h)>this.h?this.cropChangeY:Math.abs(h),this.cropOffsertY=this.cropChangeY+h>0?this.cropChangeY+h:0);else{var r=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];r+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],s>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=r,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(e,t,i,s,h){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=h,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("changeCropSize",{width:this.cropW,height:this.cropH}),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let s=this.w,h=this.h,r=0,o=0;if(this.centerBox){let p=this.getImgAxis(),c=p.x2,f=p.y2;r=p.x1>0?p.x1:0,o=p.y1>0?p.y1:0,s>c&&(s=c),h>f&&(h=f)}const[l,n]=this.checkCropLimitSize();this.$nextTick(()=>{var p=t-this.cropX,c=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-p<l?(this.cropW=l,this.cropOffsertX=this.cropOldW+this.cropChangeX-r-l):this.cropOldW-p>0?(this.cropW=s-this.cropChangeX-p<=s-r?this.cropOldW-p:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-p<=s-r?this.cropChangeX+p:r):(this.cropW=Math.abs(p)+this.cropChangeX<=s?Math.abs(p)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+p<l?this.cropW=l:this.cropOldW+p>0?(this.cropW=this.cropOldW+p+this.cropOffsertX<=s?this.cropOldW+p:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?Math.abs(p+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(p+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c<n?(this.cropH=n,this.cropOffsertY=this.cropOldH+this.cropChangeY-o-n):this.cropOldH-c>0?(this.cropH=h-this.cropChangeY-c<=h-o?this.cropOldH-c:this.cropOldH+this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY-c<=h-o?this.cropChangeY+c:o):(this.cropH=Math.abs(c)+this.cropChangeY<=h?Math.abs(c)-this.cropOldH:h-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c<n?this.cropH=n:this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=h?this.cropOldH+c:h-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?Math.abs(c+this.cropOldH):this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?this.cropChangeY-Math.abs(c+this.cropOldH):o))),this.canChangeX&&this.fixed){var f=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];f<n?(this.cropH=n,this.cropW=this.fixedNumber[0]*n/this.fixedNumber[1],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):f+this.cropOffsertY>h?(this.cropH=h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=f}if(this.canChangeY&&this.fixed){var g=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];g<l?(this.cropW=l,this.cropH=this.fixedNumber[1]*l/this.fixedNumber[0]):g+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=g}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})})},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:i}=this,s=new Array;return Array.isArray(i)?s=i:s=[i,i],e=parseFloat(s[0]),t=parseFloat(s[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(e,t,i,s,h,r){const o=e/t;let l=h,n=r;return l<i&&(l=i,n=Math.ceil(l/o)),n<s&&(n=s,l=Math.ceil(n*o),l<i&&(l=i,n=Math.ceil(l/o))),l<h&&(l=h,n=Math.ceil(l/o)),n<r&&(n=r,l=Math.ceil(n*o)),{width:l,height:n}},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1);let[e,t]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],e,t,this.cropW,this.cropH):{width:e,height:t};i>this.cropW&&(this.cropW=i,this.cropOffsertX+i>this.w&&(this.cropOffsertX=this.w-i)),s>this.cropH&&(this.cropH=s,this.cropOffsertY+s>this.h&&(this.cropOffsertY=this.h-s)),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&e.touches.length===2)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.cropOffsertX,h=i-this.cropOffsertY,this.cropX=s,this.cropY=h,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let i=0,s=0;e&&(e.preventDefault(),i="clientX"in e?e.clientX:e.touches[0].clientX,s="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick(()=>{let h,r,o=i-this.cropX,l=s-this.cropY;if(t&&(o=this.cropOffsertX,l=this.cropOffsertY),o<=0?h=0:o+this.cropW>this.w?h=this.w-this.cropW:h=o,l<=0?r=0:l+this.cropH>this.h?r=this.h-this.cropH:r=l,this.centerBox){let n=this.getImgAxis();h<=n.x1&&(h=n.x1),h+this.cropW>n.x2&&(h=n.x2-this.cropW),r<=n.y1&&(r=n.y1),r+this.cropH>n.y2&&(r=n.y2-this.cropH)}this.cropOffsertX=h,this.cropOffsertY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},h=this.trueWidth*i,r=this.trueHeight*i;switch(this.rotate){case 0:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=e+this.trueWidth*(1-i)/2+(h-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=t+this.trueHeight*(1-i)/2+(r-h)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break}return s},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(e){let t=document.createElement("canvas"),i=new Image,s=this.rotate,h=this.trueWidth,r=this.trueHeight,o=this.cropOffsertX,l=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let c=t.getContext("2d"),f=1;this.high&!this.full&&(f=window.devicePixelRatio),this.enlarge!==1&!this.full&&(f=Math.abs(Number(this.enlarge)));let g=this.cropW*f,C=this.cropH*f,m=h*this.scale*f,v=r*this.scale*f,d=(this.x-o+this.trueWidth*(1-this.scale)/2)*f,u=(this.y-l+this.trueHeight*(1-this.scale)/2)*f;switch(p(g,C),c.save(),this.fillColor&&(c.fillStyle=this.fillColor,c.fillRect(0,0,t.width,t.height)),s){case 0:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v);break;case 1:case-3:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v/this.scale,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v,m,v));break;case 2:case-2:this.full?(p(g/this.scale,C/this.scale),c.rotate(s*90*Math.PI/180),d=d/this.scale,u=u/this.scale,c.drawImage(i,-d-m/this.scale,-u-v/this.scale,m/this.scale,v/this.scale)):(c.rotate(s*90*Math.PI/180),c.drawImage(i,-d-m,-u-v,m,v));break;case 3:case-1:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m/this.scale,d,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m,d,m,v));break;default:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v)}c.restore()}else{let c=h*this.scale,f=r*this.scale,g=t.getContext("2d");switch(g.save(),this.fillColor&&(g.fillStyle=this.fillColor,g.fillRect(0,0,t.width,t.height)),s){case 0:p(c,f),g.drawImage(i,0,0,c,f);break;case 1:case-3:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,0,-f,c,f);break;case 2:case-2:p(c,f),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,-f,c,f);break;case 3:case-1:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,0,c,f);break;default:p(c,f),g.drawImage(i,0,0,c,f)}g.restore()}e(t)};var n=this.img.substr(0,4);n!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function p(c,f){t.width=Math.round(c),t.height=Math.round(f)}},getCropData(e){this.getCropChecked(t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(e){this.getCropChecked(t=>{t.toBlob(i=>e(i),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let e=this.cropW,t=this.cropH,i=this.scale;var s={};s.div={width:`${e}px`,height:`${t}px`};let h=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,o=0;s.w=e,s.h=t,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${h}px, ${r}px, ${o}px)rotateZ(${this.rotate*90}deg)`},s.html=`
|
|
2
|
+
<div class="show-preview" style="width: ${s.w}px; height: ${s.h}px; overflow: hidden">
|
|
3
|
+
<div style="width: ${e}px; height: ${t}px">
|
|
4
|
+
<img src=${s.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:
|
|
5
|
+
scale(${i})translate3d(${h}px, ${r}px, ${o}px)rotateZ(${this.rotate*90}deg)">
|
|
6
|
+
</div>
|
|
7
|
+
</div>`,this.$emit("realTime",s),this.$emit("real-time",s)},reload(){let e=new Image;e.onload=()=>{this.w=parseFloat(window.getComputedStyle(this.$refs.cropper).width),this.h=parseFloat(window.getComputedStyle(this.$refs.cropper).height),this.trueWidth=e.width,this.trueHeight=e.height,this.original?this.scale=1:this.scale=this.checkedMode(),this.$nextTick(()=>{this.x=-(this.trueWidth-this.trueWidth*this.scale)/2+(this.w-this.trueWidth*this.scale)/2,this.y=-(this.trueHeight-this.trueHeight*this.scale)/2+(this.h-this.trueHeight*this.scale)/2,this.loading=!1,this.autoCrop&&this.goAutoCrop(),this.$emit("img-load","success"),this.$emit("imgLoad","success"),setTimeout(()=>{this.showPreview()},20)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error")},e.src=this.imgs},checkedMode(){let e=1,t=this.trueWidth,i=this.trueHeight;const s=this.mode.split(" ");switch(s[0]){case"contain":this.trueWidth>this.w&&(e=this.w/this.trueWidth),this.trueHeight*e>this.h&&(e=this.h/this.trueHeight);break;case"cover":t=this.w,e=t/this.trueWidth,i=i*e,i<this.h&&(i=this.h,e=i/this.trueHeight);break;default:try{let h=s[0];if(h.search("px")!==-1){h=h.replace("px",""),t=parseFloat(h);const r=t/this.trueWidth;let o=1,l=s[1];l.search("px")!==-1&&(l=l.replace("px",""),i=parseFloat(l),o=i/this.trueHeight),e=Math.min(r,o)}if(h.search("%")!==-1&&(h=h.replace("%",""),t=parseFloat(h)/100*this.w,e=t/this.trueWidth),s.length===2&&h==="auto"){let r=s[1];r.search("px")!==-1&&(r=r.replace("px",""),i=parseFloat(r),e=i/this.trueHeight),r.search("%")!==-1&&(r=r.replace("%",""),i=parseFloat(r)/100*this.h,e=i/this.trueHeight)}}catch{e=1}}return e},goAutoCrop(e,t){if(this.imgs===""||this.imgs===null)return;this.clearCrop(),this.cropping=!0;let i=this.w,s=this.h;if(this.centerBox){const o=Math.abs(this.rotate)%2>0;let l=(o?this.trueHeight:this.trueWidth)*this.scale,n=(o?this.trueWidth:this.trueHeight)*this.scale;i=l<i?l:i,s=n<s?n:s}var h=e||parseFloat(this.autoCropWidth),r=t||parseFloat(this.autoCropHeight);(h===0||r===0)&&(h=i*.8,r=s*.8),h=h>i?i:h,r=r>s?s:r,this.fixed&&(r=h/this.fixedNumber[0]*this.fixedNumber[1]),r>this.h&&(r=this.h,h=r/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(h,r)},changeCrop(e,t){if(this.centerBox){let i=this.getImgAxis();e>i.x2-i.x1&&(e=i.x2-i.x1,t=e/this.fixedNumber[0]*this.fixedNumber[1]),t>i.y2-i.y1&&(t=i.y2-i.y1,e=t/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=e,this.cropH=t,this.checkCropLimitSize(),this.$nextTick(()=>{this.cropOffsertX=(this.w-this.cropW)/2,this.cropOffsertY=(this.h-this.cropH)/2,this.centerBox&&this.moveCrop(null,!0)})},refresh(){this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick(()=>{this.checkedImg()})},rotateLeft(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear(){this.rotate=0},checkoutImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s=!0;if(this.centerBox){let h=this.getImgAxis(e,t,i),r=this.getCropAxis();h.x1>=r.x1&&(s=!1),h.x2<=r.x2&&(s=!1),h.y1>=r.y1&&(s=!1),h.y2<=r.y2&&(s=!1)}return s}},mounted(){this.support="onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll";let e=this;var t=navigator.userAgent;this.isIOS=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(i,s,h){for(var r=atob(this.toDataURL(s,h).split(",")[1]),o=r.length,l=new Uint8Array(o),n=0;n<o;n++)l[n]=r.charCodeAt(n);i(new Blob([l],{type:e.type||"image/png"}))}}),this.showPreview(),this.checkedImg()},destroyed(){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.cancelScale()}},M={key:0,class:"cropper-box"},S=["src"],N={class:"cropper-view-box"},I=["src"],E={key:1};function k(e,t,i,s,h,r){return a.openBlock(),a.createElementBlock("div",{class:"vue-cropper",ref:"cropper",onMouseover:t[28]||(t[28]=(...o)=>r.scaleImg&&r.scaleImg(...o)),onMouseout:t[29]||(t[29]=(...o)=>r.cancelScale&&r.cancelScale(...o))},[e.imgs?(a.openBlock(),a.createElementBlock("div",M,[a.withDirectives(a.createElementVNode("div",{class:"cropper-box-canvas",style:a.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+e.x/e.scale+"px,"+e.y/e.scale+"px,0)rotateZ("+e.rotate*90+"deg)"})},[a.createElementVNode("img",{src:e.imgs,alt:"cropper-img",ref:"cropperImg"},null,8,S)],4),[[a.vShow,!e.loading]])])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["cropper-drag-box",{"cropper-move":e.move&&!e.crop,"cropper-crop":e.crop,"cropper-modal":e.cropping}]),onMousedown:t[0]||(t[0]=(...o)=>r.startMove&&r.startMove(...o)),onTouchstart:t[1]||(t[1]=(...o)=>r.startMove&&r.startMove(...o))},null,34),a.withDirectives(a.createElementVNode("div",{class:"cropper-crop-box",style:a.normalizeStyle({width:e.cropW+"px",height:e.cropH+"px",transform:"translate3d("+e.cropOffsertX+"px,"+e.cropOffsertY+"px,0)"})},[a.createElementVNode("span",N,[a.createElementVNode("img",{style:a.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+(e.x-e.cropOffsertX)/e.scale+"px,"+(e.y-e.cropOffsertY)/e.scale+"px,0)rotateZ("+e.rotate*90+"deg)"}),src:e.imgs,alt:"cropper-img"},null,12,I)]),a.createElementVNode("span",{class:"cropper-face cropper-move",onMousedown:t[2]||(t[2]=(...o)=>r.cropMove&&r.cropMove(...o)),onTouchstart:t[3]||(t[3]=(...o)=>r.cropMove&&r.cropMove(...o))},null,32),i.info?(a.openBlock(),a.createElementBlock("span",{key:0,class:"crop-info",style:a.normalizeStyle({top:r.cropInfo.top})},a.toDisplayString(r.cropInfo.width)+" × "+a.toDisplayString(r.cropInfo.height),5)):a.createCommentVNode("",!0),i.fixedBox?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("span",E,[a.createElementVNode("span",{class:"crop-line line-w",onMousedown:t[4]||(t[4]=o=>r.changeCropSize(o,!1,!0,0,1)),onTouchstart:t[5]||(t[5]=o=>r.changeCropSize(o,!1,!0,0,1))},null,32),a.createElementVNode("span",{class:"crop-line line-a",onMousedown:t[6]||(t[6]=o=>r.changeCropSize(o,!0,!1,1,0)),onTouchstart:t[7]||(t[7]=o=>r.changeCropSize(o,!0,!1,1,0))},null,32),a.createElementVNode("span",{class:"crop-line line-s",onMousedown:t[8]||(t[8]=o=>r.changeCropSize(o,!1,!0,0,2)),onTouchstart:t[9]||(t[9]=o=>r.changeCropSize(o,!1,!0,0,2))},null,32),a.createElementVNode("span",{class:"crop-line line-d",onMousedown:t[10]||(t[10]=o=>r.changeCropSize(o,!0,!1,2,0)),onTouchstart:t[11]||(t[11]=o=>r.changeCropSize(o,!0,!1,2,0))},null,32),a.createElementVNode("span",{class:"crop-point point1",onMousedown:t[12]||(t[12]=o=>r.changeCropSize(o,!0,!0,1,1)),onTouchstart:t[13]||(t[13]=o=>r.changeCropSize(o,!0,!0,1,1))},null,32),a.createElementVNode("span",{class:"crop-point point2",onMousedown:t[14]||(t[14]=o=>r.changeCropSize(o,!1,!0,0,1)),onTouchstart:t[15]||(t[15]=o=>r.changeCropSize(o,!1,!0,0,1))},null,32),a.createElementVNode("span",{class:"crop-point point3",onMousedown:t[16]||(t[16]=o=>r.changeCropSize(o,!0,!0,2,1)),onTouchstart:t[17]||(t[17]=o=>r.changeCropSize(o,!0,!0,2,1))},null,32),a.createElementVNode("span",{class:"crop-point point4",onMousedown:t[18]||(t[18]=o=>r.changeCropSize(o,!0,!1,1,0)),onTouchstart:t[19]||(t[19]=o=>r.changeCropSize(o,!0,!1,1,0))},null,32),a.createElementVNode("span",{class:"crop-point point5",onMousedown:t[20]||(t[20]=o=>r.changeCropSize(o,!0,!1,2,0)),onTouchstart:t[21]||(t[21]=o=>r.changeCropSize(o,!0,!1,2,0))},null,32),a.createElementVNode("span",{class:"crop-point point6",onMousedown:t[22]||(t[22]=o=>r.changeCropSize(o,!0,!0,1,2)),onTouchstart:t[23]||(t[23]=o=>r.changeCropSize(o,!0,!0,1,2))},null,32),a.createElementVNode("span",{class:"crop-point point7",onMousedown:t[24]||(t[24]=o=>r.changeCropSize(o,!1,!0,0,2)),onTouchstart:t[25]||(t[25]=o=>r.changeCropSize(o,!1,!0,0,2))},null,32),a.createElementVNode("span",{class:"crop-point point8",onMousedown:t[26]||(t[26]=o=>r.changeCropSize(o,!0,!0,2,2)),onTouchstart:t[27]||(t[27]=o=>r.changeCropSize(o,!0,!0,2,2))},null,32)]))],4),[[a.vShow,e.cropping]])],544)}const L=y._export_sfc(Y,[["render",k],["__scopeId","data-v-168a3964"]]),T={class:"h-full"},z={class:"avatar-upload-preview"},V=["src"],A=a.defineComponent({__name:"uploadAvatar",props:{avatar:{default:""},close:{type:Function,default:close},proxyId:{default:""}},setup(e){const{postSinglefile:t,postUpdateFile:i}=y.useFileController(),s=e;let h=a.ref({});a.onMounted(async()=>{h.value=await y.systemStore.get("userInfo")});let{avatar:r}=a.toRefs(s);const o=a.reactive({img:"",autoCrop:!0,autoCropWidth:200,autoCropHeight:200,fixedBox:!1,outputSize:.5,outputType:"jpeg",canScale:!1,fixed:!1,fixedNumber:[1,1],full:!0,canMoveBox:!1,original:!1,centerBox:!1,infoTrue:!0,filename:""}),l=a.ref({}),n=a.ref({});a.ref(!1);let p=d=>{d=="left"&&n.value.rotateLeft(),d=="right"&&n.value.rotateRight()},c=d=>{const u=d||1;n.value.changeScale(u)},f=()=>{n.value.refresh()};const g=d=>{l.value=d};let C=()=>{},m=d=>{if(["image/png","image/jpg","image/jpeg","image/PNG","image/JPG","image/JPEG","image/gif"].includes(d.type)){const w=new FileReader;w.readAsDataURL(d),w.onload=()=>{o.img=w.result,o.filename=d.name}}else return y.ElMessage.error("图片格式有误,请重新上传"),!1},v=()=>{o.img||y.ElMessage.warning("请先选择图片"),n.value.getCropBlob(async d=>{const u=await t({data:{file:d},proxy:s.proxyId}),w=await i({data:{id:h.value.id,attchIdArrStr:u.data.id,attachType:2},proxy:s.proxyId});s.close(w)})};return a.onMounted(()=>{setTimeout(()=>{o.img=r.value},100)}),(d,u)=>{const w=a.resolveComponent("el-col"),W=a.resolveComponent("el-row"),H=a.resolveComponent("bc-icon"),x=a.resolveComponent("el-button"),X=a.resolveComponent("hs-upload");return a.openBlock(),a.createElementBlock("div",T,[a.createVNode(W,null,{default:a.withCtx(()=>[a.createVNode(w,{xs:24,md:13,style:{height:"350px"}},{default:a.withCtx(()=>[a.createVNode(L,{ref_key:"cropperRef",ref:n,img:o.img,info:!0,infoTrue:o.infoTrue,"auto-crop":o.autoCrop,"fixed-box":o.fixedBox,fixedNumber:o.fixedNumber,fixed:o.fixed,centerBox:o.centerBox,outputType:"png",onRealTime:g},null,8,["img","infoTrue","auto-crop","fixed-box","fixedNumber","fixed","centerBox"])]),_:1}),a.createVNode(w,{xs:24,md:11,style:{height:"350px"}},{default:a.withCtx(()=>[a.createElementVNode("div",z,[a.createElementVNode("img",{src:l.value.url,style:a.normalizeStyle(l.value.img)},null,12,V)])]),_:1})]),_:1}),a.createVNode(W,{class:"ptb2 py-3"},{default:a.withCtx(()=>[a.createVNode(w,{lg:2,md:2},{default:a.withCtx(()=>[a.createVNode(X,{action:"#","http-request":a.unref(C),"show-file-list":!1,"before-upload":a.unref(m),accept:"image/*"},{default:a.withCtx(()=>[a.createVNode(x,{size:"default"},{default:a.withCtx(()=>[a.createTextVNode(" 选择 "),a.createVNode(H,{name:"ele-UploadFilled"})]),_:1})]),_:1},8,["http-request","before-upload"])]),_:1}),a.createVNode(w,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",icon:"ele-Plus",onClick:u[0]||(u[0]=b=>a.unref(c)(1))})]),_:1}),a.createVNode(w,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",icon:"ele-Minus",onClick:u[1]||(u[1]=b=>a.unref(c)(-1))})]),_:1}),a.createVNode(w,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",icon:"ele-RefreshLeft",onClick:u[2]||(u[2]=b=>a.unref(p)("left"))})]),_:1}),a.createVNode(w,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",icon:"ele-RefreshRight",onClick:u[3]||(u[3]=b=>a.unref(p)("right"))})]),_:1}),a.createVNode(w,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",onClick:u[4]||(u[4]=b=>a.unref(f)())},{default:a.withCtx(()=>[a.createTextVNode("重 置")]),_:1})]),_:1}),a.createVNode(w,{lg:{span:1,offset:7},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",type:"primary",onClick:u[5]||(u[5]=b=>a.unref(v)())},{default:a.withCtx(()=>[a.createTextVNode("提 交")]),_:1})]),_:1})]),_:1})])}}}),B=y._export_sfc(A,[["__scopeId","data-v-99513ec9"]]);exports.default=B;
|
|
Binary file
|