hs-admin-ui 2.9.2 → 2.9.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-DABaVMMz.mjs → 401-BC72lxYT.mjs} +1 -1
- package/dist/401-BC72lxYT.mjs.gz +0 -0
- package/dist/{401-DNDmMNE2.js → 401-s7ChyC0H.js} +1 -1
- package/dist/401-s7ChyC0H.js.gz +0 -0
- package/dist/{404-5Vh2c3rO.js → 404-5YX5NyuM.js} +1 -1
- package/dist/{404-5Vh2c3rO.js.gz → 404-5YX5NyuM.js.gz} +0 -0
- package/dist/{404-XjYERlp6.mjs → 404-kJat8vf1.mjs} +1 -1
- package/dist/{404-XjYERlp6.mjs.gz → 404-kJat8vf1.mjs.gz} +0 -0
- package/dist/{account-B2PNC5a-.mjs → account-C4Tgv2uJ.mjs} +2 -2
- package/dist/account-C4Tgv2uJ.mjs.gz +0 -0
- package/dist/{account-C3hyKDfC.js → account-CXimZdHZ.js} +1 -1
- package/dist/account-CXimZdHZ.js.gz +0 -0
- package/dist/{aside-Ctq1xr0b.js → aside-BXhufd5g.js} +1 -1
- package/dist/aside-BXhufd5g.js.gz +0 -0
- package/dist/{aside-DaFxi9zE.mjs → aside-DIm_UKNN.mjs} +2 -2
- package/dist/aside-DIm_UKNN.mjs.gz +0 -0
- package/dist/{btnIndex-BipDIj1u.js → btnIndex-2vGd3IhN.js} +1 -1
- package/dist/btnIndex-2vGd3IhN.js.gz +0 -0
- package/dist/{btnIndex-ZxhXcagT.mjs → btnIndex-DbdJ0yXB.mjs} +2 -2
- package/dist/btnIndex-DbdJ0yXB.mjs.gz +0 -0
- package/dist/{classic-UVLuKcet.js → classic-NxWfFqLj.js} +1 -1
- package/dist/classic-NxWfFqLj.js.gz +0 -0
- package/dist/{classic-Bijf5PRa.mjs → classic-ZGnX-McN.mjs} +2 -2
- package/dist/classic-ZGnX-McN.mjs.gz +0 -0
- package/dist/{cloneConfigDialog-C5euyyps.mjs → cloneConfigDialog-BJlJfdWv.mjs} +1 -1
- package/dist/cloneConfigDialog-BJlJfdWv.mjs.gz +0 -0
- package/dist/{cloneConfigDialog-C7hz8Avt.js → cloneConfigDialog-DfnDgtyh.js} +1 -1
- package/dist/cloneConfigDialog-DfnDgtyh.js.gz +0 -0
- package/dist/{columns-BH8538wd.js → columns-BPUDZCG0.js} +1 -1
- package/dist/columns-BPUDZCG0.js.gz +0 -0
- package/dist/{columns-C2I9U3YS.mjs → columns-CyaAT5Aa.mjs} +2 -2
- package/dist/columns-CyaAT5Aa.mjs.gz +0 -0
- package/dist/{columnsAside-Kim5vys_.js → columnsAside-BDDpWRSD.js} +1 -1
- package/dist/columnsAside-BDDpWRSD.js.gz +0 -0
- package/dist/{columnsAside-C8K44b75.mjs → columnsAside-CdDP-q1y.mjs} +1 -1
- package/dist/columnsAside-CdDP-q1y.mjs.gz +0 -0
- package/dist/{contextmenu-CL342KYv.mjs → contextmenu-Ba0q6mqS.mjs} +1 -1
- package/dist/contextmenu-Ba0q6mqS.mjs.gz +0 -0
- package/dist/{contextmenu-ClxVcH34.js → contextmenu-BlGlE5YI.js} +1 -1
- package/dist/contextmenu-BlGlE5YI.js.gz +0 -0
- package/dist/{contextmenu-CdiUTTCI.js → contextmenu-CcZvvT9v.js} +1 -1
- package/dist/contextmenu-CcZvvT9v.js.gz +0 -0
- package/dist/{contextmenu-BXYnbhsq.mjs → contextmenu-DimJdVxv.mjs} +1 -1
- package/dist/contextmenu-DimJdVxv.mjs.gz +0 -0
- package/dist/{contextmenu-DZyNBkoK.mjs → contextmenu-fFmT9XJ9.mjs} +1 -1
- package/dist/contextmenu-fFmT9XJ9.mjs.gz +0 -0
- package/dist/{contextmenu-uMiF5qaw.js → contextmenu-uJ1HMh30.js} +1 -1
- package/dist/contextmenu-uJ1HMh30.js.gz +0 -0
- package/dist/{defaults-CdYxZfUY.js → defaults-BSECQA2G.js} +1 -1
- package/dist/defaults-BSECQA2G.js.gz +0 -0
- package/dist/{defaults-vcZH0VGg.mjs → defaults-DP8AzzGg.mjs} +2 -2
- package/dist/defaults-DP8AzzGg.mjs.gz +0 -0
- package/dist/{dialog-IaB16f0j.js → dialog-4lMtZGfG.js} +1 -1
- package/dist/{dialog-0UXATifG.mjs → dialog-BUBxK1Ns.mjs} +1 -1
- package/dist/{dialog-BNuJ0q7P.js → dialog-BtapodA5.js} +1 -1
- package/dist/{dialog-CAAU93vc.mjs → dialog-BxOESPaa.mjs} +1 -1
- package/dist/{dialog-DPMwzlcf.mjs → dialog-Dp867TVU.mjs} +1 -1
- package/dist/{dialog-B6vfseDK.js → dialog-OavKvnuH.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CEW5_Ssx.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-D2Wuf4oG.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-D2Wuf4oG.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-C4kGIGQl.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-_GrIZlPi.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-_GrIZlPi.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DwvmSh-a.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B-0yDcny.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B-0yDcny.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-Dck4pTdW.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DIga6Hyj.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DIga6Hyj.mjs.gz +0 -0
- package/dist/{dictDialog-rz0VWb3Y.js → dictDialog-B8ya5X7t.js} +1 -1
- package/dist/{dictDialog-C6BPISb2.mjs → dictDialog-CBR6V3cP.mjs} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Ct-c3ftd.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-85oaEYyO.js} +1 -1
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-85oaEYyO.js.gz +0 -0
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-TtpnxnwU.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Ct4yI3Dr.mjs} +2 -2
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Ct4yI3Dr.mjs.gz +0 -0
- package/dist/{dictItemDialog-Bxi2zP5f.mjs → dictItemDialog-C4EZ0xka.mjs} +1 -1
- package/dist/{dictItemDialog-lBSSB-q2.js → dictItemDialog-rG8UnMgL.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-dS9iWFQp.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-CM_X9UkO.mjs} +2 -2
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-CM_X9UkO.mjs.gz +0 -0
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-BeJzdj3s.js → dictItemDialog.vue_vue_type_script_setup_true_lang-T-ApFsvq.js} +1 -1
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-T-ApFsvq.js.gz +0 -0
- package/dist/{editDialog-DgrWjH8c.mjs → editDialog-CFbyN3yi.mjs} +1 -1
- package/dist/editDialog-CFbyN3yi.mjs.gz +0 -0
- package/dist/{editDialog-xuSU5mfa.js → editDialog-DVuj1dTP.js} +1 -1
- package/dist/editDialog-DVuj1dTP.js.gz +0 -0
- package/dist/{formConfig-CLxhQbYX.mjs → formConfig-BBzaiFEA.mjs} +4 -4
- package/dist/formConfig-BBzaiFEA.mjs.gz +0 -0
- package/dist/{formConfig-BJvWs-Fp.js → formConfig-D3nf_igl.js} +1 -1
- package/dist/formConfig-D3nf_igl.js.gz +0 -0
- package/dist/{header-rMyIIEVf.js → header-CZLxYetb.js} +1 -1
- package/dist/{header-QfSVNixg.mjs → header-Cc9zX42-.mjs} +2 -2
- package/dist/{horizontal-DFA4WQJz.js → horizontal-CQ8ZfAYd.js} +1 -1
- package/dist/horizontal-CQ8ZfAYd.js.gz +0 -0
- package/dist/{horizontal-BZv5UPiP.mjs → horizontal-CRENmQrz.mjs} +2 -2
- package/dist/horizontal-CRENmQrz.mjs.gz +0 -0
- package/dist/{hsAttrBtn-DPiJ3Bhx.mjs → hsAttrBtn-CThs9A-g.mjs} +1 -1
- package/dist/{hsAttrBtn-BaM-9rxF.js → hsAttrBtn-DlZ1PREF.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-_93VOdkP.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-DTlm9VRR.mjs} +3 -3
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DTlm9VRR.mjs.gz +0 -0
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-CFMWw_lo.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-iKnLrNR7.js} +1 -1
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-iKnLrNR7.js.gz +0 -0
- package/dist/{hsAttrForm-qKG8e-RB.js → hsAttrForm-CE-ZgB9E.js} +1 -1
- package/dist/{hsAttrForm-BCOYAZzd.mjs → hsAttrForm-CeB4Y-U_.mjs} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-C25LINdH.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-D4IyYBKe.mjs} +2 -2
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-D4IyYBKe.mjs.gz +0 -0
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-DaPL0-dR.js → hsAttrForm.vue_vue_type_script_setup_true_lang-sJ3gDoqK.js} +1 -1
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-sJ3gDoqK.js.gz +0 -0
- package/dist/{hsBtnConfigList-BwTAZYMW.js → hsBtnConfigList-N5_TTvLL.js} +1 -1
- package/dist/hsBtnConfigList-N5_TTvLL.js.gz +0 -0
- package/dist/{hsBtnConfigList-DxSI0_iQ.mjs → hsBtnConfigList-wC8Hm6HR.mjs} +1 -1
- package/dist/hsBtnConfigList-wC8Hm6HR.mjs.gz +0 -0
- package/dist/{hsBtnItemConfig-D4dX9pCN.mjs → hsBtnItemConfig-BK1lfGrg.mjs} +1 -1
- package/dist/{hsBtnItemConfig-BmVIWB7c.js → hsBtnItemConfig-Cl6VihNm.js} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CEnBP6J5.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-C_ipkiQE.mjs} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-C_ipkiQE.mjs.gz +0 -0
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DWJelcVF.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DEoLVGvZ.js} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DEoLVGvZ.js.gz +0 -0
- package/dist/{hsBtnPanel-D7RT-HCP.js → hsBtnPanel--34TG-eZ.js} +1 -1
- package/dist/{hsBtnPanel-IK77_ebq.mjs → hsBtnPanel-yzfpRu8a.mjs} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CnQRv44X.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-C7JRQQvH.mjs} +4 -4
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-C7JRQQvH.mjs.gz +0 -0
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CGE2R3p2.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CBfgSdad.js} +1 -1
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CBfgSdad.js.gz +0 -0
- package/dist/{hsExpand-wq-WZeyE.mjs → hsExpand-B7Bmm708.mjs} +1 -1
- package/dist/{hsExpand-DRxhVPQ1.js → hsExpand-CB2DJveM.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-F3jh-EOV.js → hsExpand.vue_vue_type_script_setup_true_lang-BsaIbow-.js} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-BsaIbow-.js.gz +0 -0
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-DknGW04i.mjs → hsExpand.vue_vue_type_script_setup_true_lang-MHBeg4Dy.mjs} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-MHBeg4Dy.mjs.gz +0 -0
- package/dist/{hsFormConfig-Dh_WJcb9.mjs → hsFormConfig-BxbhIqoQ.mjs} +1 -1
- package/dist/hsFormConfig-BxbhIqoQ.mjs.gz +0 -0
- package/dist/{hsFormConfig-DOYLrnzi.js → hsFormConfig-DLL4K1lp.js} +1 -1
- package/dist/hsFormConfig-DLL4K1lp.js.gz +0 -0
- package/dist/{hsFormConfigList-CbFkXZef.js → hsFormConfigList-BRtZRtBd.js} +1 -1
- package/dist/hsFormConfigList-BRtZRtBd.js.gz +0 -0
- package/dist/{hsFormConfigList-DDNwYh2_.mjs → hsFormConfigList-BcZT_D0U.mjs} +2 -2
- package/dist/hsFormConfigList-BcZT_D0U.mjs.gz +0 -0
- package/dist/{hsFormPanel-CWONybNv.mjs → hsFormPanel-B3CHxt11.mjs} +1 -1
- package/dist/{hsFormPanel-ozeVPRNy.js → hsFormPanel-CGbcDI9q.js} +1 -1
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-hZd44Rrv.mjs → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Bj-Uh-kR.mjs} +5 -5
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Bj-Uh-kR.mjs.gz +0 -0
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BF0-O_vK.js → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-eAGgJAb0.js} +1 -1
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-eAGgJAb0.js.gz +0 -0
- package/dist/{hsFormParse-CSRzA1sI.mjs → hsFormParse-DLFIW3IA.mjs} +1 -1
- package/dist/{hsFormParse-DGyZ4ftB.js → hsFormParse-nXgTTo59.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-DSgk-7bv.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-BCaPlXin.mjs} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-BCaPlXin.mjs.gz +0 -0
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-F4w6K-uT.js → hsFormParse.vue_vue_type_script_setup_true_lang-Djj-YFbW.js} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-Djj-YFbW.js.gz +0 -0
- package/dist/{hsPanelItem-XULMqOdh.mjs → hsPanelItem-CpTiGadF.mjs} +1 -1
- package/dist/{hsPanelItem-s3Oh3pjj.js → hsPanelItem-CrbrRkhm.js} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DLGRHdrd.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Q4VAhdBN.js} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Q4VAhdBN.js.gz +0 -0
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DU-U8BQ3.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-TK7bBc_k.mjs} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-TK7bBc_k.mjs.gz +0 -0
- package/dist/{iframes-Dv3NZ2ui.js → iframes-CAhEuZZG.js} +1 -1
- package/dist/iframes-CAhEuZZG.js.gz +0 -0
- package/dist/{iframes-CK3KKPTs.mjs → iframes-T9G_u3bO.mjs} +1 -1
- package/dist/iframes-T9G_u3bO.mjs.gz +0 -0
- package/dist/{index-CQP-j34t.js → index-1i_nCnXJ.js} +1 -1
- package/dist/index-1i_nCnXJ.js.gz +0 -0
- package/dist/{index-CIkvzQOs.js → index-90DyQ_VN.js} +1 -1
- package/dist/{index-u1Yo69dH.mjs → index-B4jN56Lc.mjs} +2 -2
- package/dist/index-B4jN56Lc.mjs.gz +0 -0
- package/dist/{index-olSsWeVR.js → index-B5B-5cDQ.js} +1 -1
- package/dist/{index-DPBGS2YB.js → index-BM4yCDcH.js} +1 -1
- package/dist/index-BM4yCDcH.js.gz +0 -0
- package/dist/{index-DY96twF2.mjs → index-BOf6aC74.mjs} +1 -1
- package/dist/index-BOzfUUDE.js +1 -0
- package/dist/{index-YULlJWws.js → index-BP7ZNwFO.js} +1 -1
- package/dist/{index-YAw0lkyl.mjs → index-BSAdwXM7.mjs} +1 -1
- package/dist/index-BSAdwXM7.mjs.gz +0 -0
- package/dist/{index-BdGfdURt.mjs → index-BTu76-wP.mjs} +1 -1
- package/dist/{index-BaV6XrJ6.mjs → index-BWipDQt4.mjs} +5 -5
- package/dist/index-BWipDQt4.mjs.gz +0 -0
- package/dist/{index-DaWOFtu0.js → index-BdcJAEoO.js} +1 -1
- package/dist/index-BdcJAEoO.js.gz +0 -0
- package/dist/{index-DhMiq09P.mjs → index-Bg2O565w.mjs} +2 -2
- package/dist/index-Bg2O565w.mjs.gz +0 -0
- package/dist/{index-D5eBAxxo.js → index-BhDp3OZh.js} +1 -1
- package/dist/index-BhDp3OZh.js.gz +0 -0
- package/dist/{index-BxCy7cy1.js → index-BiLA_Xv6.js} +1 -1
- package/dist/index-BiLA_Xv6.js.gz +0 -0
- package/dist/{index-2c48S5uo.mjs → index-BlgLOd0T.mjs} +1 -1
- package/dist/{index-CReHz9A7.mjs → index-BlpwdBo3.mjs} +1 -1
- package/dist/index-BlpwdBo3.mjs.gz +0 -0
- package/dist/{index-BMmE7a0s.js → index-Bvpf5g2x.js} +1 -1
- package/dist/index-Bvpf5g2x.js.gz +0 -0
- package/dist/{index-CBDKI54l.mjs → index-C-JY8S1U.mjs} +1 -1
- package/dist/index-C-JY8S1U.mjs.gz +0 -0
- package/dist/index-C-j9_S_T.mjs +10 -0
- package/dist/{index-3hImetZM.js → index-C16QOftn.js} +1 -1
- package/dist/{index-cqFTCp8A.js → index-C8Ad7Dli.js} +51 -51
- package/dist/index-C8Ad7Dli.js.gz +0 -0
- package/dist/{index-D1tmqQnU.js → index-CAb6vbZP.js} +1 -1
- package/dist/{index-WhSTrYis.mjs → index-CEyPPN1j.mjs} +2 -2
- package/dist/index-CEyPPN1j.mjs.gz +0 -0
- package/dist/{index-hrzoBWUi.js → index-CHO1IM_o.js} +1 -1
- package/dist/index-CHO1IM_o.js.gz +0 -0
- package/dist/{index-30358zTj.js → index-CICyHGfe.js} +1 -1
- package/dist/{index-BLGOjdW5.js → index-CIRTqBXW.js} +1 -1
- package/dist/index-CIRTqBXW.js.gz +0 -0
- package/dist/{index-Dqz1UBao.mjs → index-CTQfru7X.mjs} +1 -1
- package/dist/{index-Bhw23yA7.js → index-CYOuSxK5.js} +1 -1
- package/dist/index-CYOuSxK5.js.gz +0 -0
- package/dist/{index-Ctg1tiu6.js → index-CbJ-_ymr.js} +1 -1
- package/dist/index-CbJ-_ymr.js.gz +0 -0
- package/dist/{index-Velw2qQe.mjs → index-CbofKP7M.mjs} +2 -2
- package/dist/index-CbofKP7M.mjs.gz +0 -0
- package/dist/{index-DkrFpxlm.mjs → index-Ch4Y1Y8k.mjs} +1 -1
- package/dist/{index-BsaRwlSX.mjs → index-CqUh9NsK.mjs} +1 -1
- package/dist/index-CqUh9NsK.mjs.gz +0 -0
- package/dist/{index-BeClB0l6.js → index-Cv_DD8M0.js} +1 -1
- package/dist/{index-fkmnq61g.mjs → index-Cxt25yII.mjs} +7224 -7191
- package/dist/index-Cxt25yII.mjs.gz +0 -0
- package/dist/{index-BSZdXgjl.js → index-CyeVl6yP.js} +1 -1
- package/dist/{index-Jq00FYtu.mjs → index-Cyu0UjTM.mjs} +1 -1
- package/dist/index-Cyu0UjTM.mjs.gz +0 -0
- package/dist/{index-h-uQQZD0.js → index-CzIOC0r-.js} +1 -1
- package/dist/{index-DhFAu0aN.js → index-D2K7mZuC.js} +1 -1
- package/dist/index-D2K7mZuC.js.gz +0 -0
- package/dist/{index-DF82wIht.mjs → index-D6RAkrId.mjs} +1 -1
- package/dist/{index-CS54LMwP.js → index-DEaS7mRm.js} +1 -1
- package/dist/index-DEaS7mRm.js.gz +0 -0
- package/dist/{index-DmlZ612x.mjs → index-DEgPEOA9.mjs} +1 -1
- package/dist/{index-DTMhI4xq.mjs → index-DV6HBCa_.mjs} +2 -2
- package/dist/index-DV6HBCa_.mjs.gz +0 -0
- package/dist/{index-DfubqjCk.mjs → index-DWyunBTt.mjs} +4 -4
- package/dist/index-DWyunBTt.mjs.gz +0 -0
- package/dist/{index-DUS_N5WI.mjs → index-DarZS6ti.mjs} +3 -3
- package/dist/index-DarZS6ti.mjs.gz +0 -0
- package/dist/{index-CRMDfiP6.mjs → index-DjXUMcFQ.mjs} +1 -1
- package/dist/{index-l3gkvqmI.mjs → index-DmWT8upx.mjs} +1 -1
- package/dist/index-DmWT8upx.mjs.gz +0 -0
- package/dist/{index-CWkPYoQq.js → index-DswZXwt-.js} +1 -1
- package/dist/index-DswZXwt-.js.gz +0 -0
- package/dist/{index-XXqlWDAN.js → index-Dt__dP8x.js} +1 -1
- package/dist/index-Dt__dP8x.js.gz +0 -0
- package/dist/{index-CqnvuzQw.js → index-Dv-xf79H.js} +1 -1
- package/dist/index-Dv-xf79H.js.gz +0 -0
- package/dist/{index-DGAQt0uk.mjs → index-PP84DPSM.mjs} +3 -3
- package/dist/index-PP84DPSM.mjs.gz +0 -0
- package/dist/{index-BWaSEYHp.mjs → index-Qaks5U80.mjs} +2 -2
- package/dist/index-Qaks5U80.mjs.gz +0 -0
- package/dist/{index-D1Ex5apz.mjs → index-UaZFn-3N.mjs} +4 -4
- package/dist/index-UaZFn-3N.mjs.gz +0 -0
- package/dist/{index-DADCy9ZN.js → index-Wnh7pX8G.js} +1 -1
- package/dist/index-Wnh7pX8G.js.gz +0 -0
- package/dist/{index-C2mbPMRg.js → index-YMyN0AOh.js} +1 -1
- package/dist/{index-Dlralgq-.mjs → index-bVWjLFKK.mjs} +2 -2
- package/dist/{index-DmaUm-RK.mjs → index-bW-1c7IZ.mjs} +1 -1
- package/dist/index-bW-1c7IZ.mjs.gz +0 -0
- package/dist/{index-BSfQAZTz.js → index-lcF4iQhC.js} +1 -1
- package/dist/index-lcF4iQhC.js.gz +0 -0
- package/dist/{index-BeBBX0xc.js → index-mtaRAxk8.js} +1 -1
- package/dist/index-mtaRAxk8.js.gz +0 -0
- package/dist/{index-_kfXvJL4.js → index-o7M8OOEy.js} +1 -1
- package/dist/index-o7M8OOEy.js.gz +0 -0
- package/dist/{index-CjznSEAz.mjs → index-uE9NsvSH.mjs} +1 -1
- package/dist/{index-BQenxjHt.mjs → index-xah3P_2O.mjs} +1 -1
- package/dist/index-xah3P_2O.mjs.gz +0 -0
- package/dist/{index-ClC71dg8.js → index-yw5_Osao.js} +1 -1
- package/dist/index-zZ5Zt026.mjs +4 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BBw8y--M.mjs → index.vue_vue_type_script_setup_true_lang-5KJq2L3J.mjs} +9 -9
- package/dist/index.vue_vue_type_script_setup_true_lang-5KJq2L3J.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-D0wdJRHH.mjs → index.vue_vue_type_script_setup_true_lang-BdOCiUoH.mjs} +4 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-BdOCiUoH.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DGvdZY5W.js → index.vue_vue_type_script_setup_true_lang-CCgTJWk0.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-CCgTJWk0.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-CD9bASen.js +1 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-CD9bASen.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BIcGNFdc.mjs → index.vue_vue_type_script_setup_true_lang-Cz8upuvn.mjs} +70 -70
- package/dist/index.vue_vue_type_script_setup_true_lang-Cz8upuvn.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-jJ28X0Fw.js +1 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-jJ28X0Fw.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-G9KGyA5e.js → index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-Batf93UZ.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-Batf93UZ.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DOYTRL8t.mjs → index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-CIxkjS9v.mjs} +24 -24
- package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-CIxkjS9v.mjs.gz +0 -0
- package/dist/{link-C6A_BmkM.mjs → link-DKyeH0ie.mjs} +1 -1
- package/dist/link-DKyeH0ie.mjs.gz +0 -0
- package/dist/{link-9uPZiGgY.js → link-Dp2Ck8ku.js} +1 -1
- package/dist/link-Dp2Ck8ku.js.gz +0 -0
- package/dist/{list-BAgb2fhA.mjs → list-BM1QeAYq.mjs} +1 -1
- package/dist/list-BM1QeAYq.mjs.gz +0 -0
- package/dist/{list-DTtIC4X4.js → list-hpfupVIw.js} +1 -1
- package/dist/list-hpfupVIw.js.gz +0 -0
- package/dist/{main-C4mNfnnS.js → main-CnQH98CV.js} +1 -1
- package/dist/main-CnQH98CV.js.gz +0 -0
- package/dist/{main-Du-6IBSw.mjs → main-DQWdNMGM.mjs} +2 -2
- package/dist/main-DQWdNMGM.mjs.gz +0 -0
- package/dist/{mobile-CjtF7fTU.js → mobile-Cc7m_QNb.js} +1 -1
- package/dist/mobile-Cc7m_QNb.js.gz +0 -0
- package/dist/{mobile-Dn2iTrIK.mjs → mobile-lGuKPCUY.mjs} +1 -1
- package/dist/mobile-lGuKPCUY.mjs.gz +0 -0
- package/dist/{parent-BU6e3sks.js → parent-CSpJqvO8.js} +1 -1
- package/dist/parent-CSpJqvO8.js.gz +0 -0
- package/dist/{parent-BrEKL5AR.mjs → parent-DSftvkDQ.mjs} +2 -2
- package/dist/parent-DSftvkDQ.mjs.gz +0 -0
- package/dist/{roleItem-ztX0g1tV.mjs → roleItem-Dy2mpfc2.mjs} +1 -1
- package/dist/roleItem-Dy2mpfc2.mjs.gz +0 -0
- package/dist/{roleItem-B9joTs1O.js → roleItem-xeKqxx6w.js} +1 -1
- package/dist/roleItem-xeKqxx6w.js.gz +0 -0
- package/dist/{saveForm-BFbkJWTL.js → saveForm-B7-4j4ef.js} +1 -1
- package/dist/{saveForm-DnI5E8As.mjs → saveForm-CkbxArFu.mjs} +1 -1
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-D020b-k-.mjs → saveForm.vue_vue_type_script_setup_true_lang-Bv15uX8O.mjs} +2 -2
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-Bv15uX8O.mjs.gz +0 -0
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-81FR95jw.js → saveForm.vue_vue_type_script_setup_true_lang-CLcFMz7L.js} +1 -1
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-CLcFMz7L.js.gz +0 -0
- package/dist/{scan-B4cgRBDd.mjs → scan-SaDlpAvK.mjs} +1 -1
- package/dist/scan-SaDlpAvK.mjs.gz +0 -0
- package/dist/{scan-B_B6bgLW.js → scan-ucNMjl9d.js} +1 -1
- package/dist/scan-ucNMjl9d.js.gz +0 -0
- package/dist/{search-ChFkAG6h.js → search-BqQ9FL0a.js} +1 -1
- package/dist/search-BqQ9FL0a.js.gz +0 -0
- package/dist/{search-C5u0wVsX.mjs → search-BsJ32ghI.mjs} +1 -1
- package/dist/search-BsJ32ghI.mjs.gz +0 -0
- package/dist/{selectConfig-CjAi1Z4v.mjs → selectConfig-FTxIJ0a_.mjs} +1 -1
- package/dist/selectConfig-FTxIJ0a_.mjs.gz +0 -0
- package/dist/{selectConfig-DAFC9xi5.js → selectConfig-NhgCSChX.js} +1 -1
- package/dist/selectConfig-NhgCSChX.js.gz +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/{subItem-Dq3HSmw0.mjs → subItem-BB0qGHJ8.mjs} +1 -1
- package/dist/subItem-BB0qGHJ8.mjs.gz +0 -0
- package/dist/{subItem-CsCp0tYJ.js → subItem-By7YaPMa.js} +1 -1
- package/dist/subItem-By7YaPMa.js.gz +0 -0
- package/dist/{tagsView-DZlvQDdW.mjs → tagsView-B0C5nmKA.mjs} +2 -2
- package/dist/tagsView-B0C5nmKA.mjs.gz +0 -0
- package/dist/{tagsView-DwJxnFdO.js → tagsView-CZgiZ-fY.js} +2 -2
- package/dist/{tagsView-DwJxnFdO.js.gz → tagsView-CZgiZ-fY.js.gz} +0 -0
- package/dist/{transverse-DBOhqpdP.js → transverse-D184GGDU.js} +1 -1
- package/dist/transverse-D184GGDU.js.gz +0 -0
- package/dist/{transverse-CdbaZVMG.mjs → transverse-DSwBqcj0.mjs} +2 -2
- package/dist/transverse-DSwBqcj0.mjs.gz +0 -0
- package/dist/types/components/business/bcFormTable/bcFormTable.vue.d.ts +3 -1
- package/dist/types/components/business/bcFormTable/utils/parseTable.d.ts +2 -1
- package/dist/types/components/business/bcFormTable/utils/store.d.ts +1 -0
- package/dist/types/components/business/bcFormTable/utils/useButon.d.ts +1 -0
- package/dist/types/components/business/bcPageConfig/components/hsSaveForm/useCloneConfigDialog.d.ts +2 -0
- package/dist/types/types/customData.d.ts +2 -0
- package/dist/types/views/config/formSetting/components/hsSaveForm/useCloneConfigDialog.d.ts +1 -0
- package/dist/types/views/config/formSetting/default/baseFormConfig.d.ts +1 -0
- package/dist/{uploadAvatar-Dzmncq8e.mjs → uploadAvatar-Cn9v-DKL.mjs} +1 -1
- package/dist/uploadAvatar-Cn9v-DKL.mjs.gz +0 -0
- package/dist/{uploadAvatar-C-Z8bnop.js → uploadAvatar-Dn6yGhT5.js} +1 -1
- package/dist/uploadAvatar-Dn6yGhT5.js.gz +0 -0
- package/dist/{user-CLTTbp7m.mjs → user-COd4KxGJ.mjs} +3 -3
- package/dist/user-COd4KxGJ.mjs.gz +0 -0
- package/dist/{user-BV9lxkgn.js → user-DK1agryH.js} +1 -1
- package/dist/user-DK1agryH.js.gz +0 -0
- package/dist/{userNews-BpQv2_p9.js → userNews-BDMqLCT4.js} +1 -1
- package/dist/userNews-BDMqLCT4.js.gz +0 -0
- package/dist/{userNews-D2osKH5W.mjs → userNews-CIXfiveo.mjs} +1 -1
- package/dist/userNews-CIXfiveo.mjs.gz +0 -0
- package/dist/{userSelect-CdorYiHq.mjs → userSelect-C5SiK4FI.mjs} +1 -1
- package/dist/{userSelect-D1xgbhqj.js → userSelect-C5pgjnLG.js} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-D8UOFN9s.mjs → userSelect.vue_vue_type_script_setup_true_lang-BrOJJ3mx.mjs} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-BrOJJ3mx.mjs.gz +0 -0
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-D7C0QaD7.js → userSelect.vue_vue_type_script_setup_true_lang-CCGm1iBz.js} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-CCGm1iBz.js.gz +0 -0
- package/dist/{vertical-BlGFuaKE.mjs → vertical-C4btuQg7.mjs} +2 -2
- package/dist/vertical-C4btuQg7.mjs.gz +0 -0
- package/dist/{vertical-DHM63xna.js → vertical-CKdbQB4E.js} +1 -1
- package/dist/vertical-CKdbQB4E.js.gz +0 -0
- package/package.json +4 -8
- package/dist/401-DABaVMMz.mjs.gz +0 -0
- package/dist/401-DNDmMNE2.js.gz +0 -0
- package/dist/account-B2PNC5a-.mjs.gz +0 -0
- package/dist/account-C3hyKDfC.js.gz +0 -0
- package/dist/aside-Ctq1xr0b.js.gz +0 -0
- package/dist/aside-DaFxi9zE.mjs.gz +0 -0
- package/dist/btnIndex-BipDIj1u.js.gz +0 -0
- package/dist/btnIndex-ZxhXcagT.mjs.gz +0 -0
- package/dist/classic-Bijf5PRa.mjs.gz +0 -0
- package/dist/classic-UVLuKcet.js.gz +0 -0
- package/dist/cloneConfigDialog-C5euyyps.mjs.gz +0 -0
- package/dist/cloneConfigDialog-C7hz8Avt.js.gz +0 -0
- package/dist/columns-BH8538wd.js.gz +0 -0
- package/dist/columns-C2I9U3YS.mjs.gz +0 -0
- package/dist/columnsAside-C8K44b75.mjs.gz +0 -0
- package/dist/columnsAside-Kim5vys_.js.gz +0 -0
- package/dist/contextmenu-BXYnbhsq.mjs.gz +0 -0
- package/dist/contextmenu-CL342KYv.mjs.gz +0 -0
- package/dist/contextmenu-CdiUTTCI.js.gz +0 -0
- package/dist/contextmenu-ClxVcH34.js.gz +0 -0
- package/dist/contextmenu-DZyNBkoK.mjs.gz +0 -0
- package/dist/contextmenu-uMiF5qaw.js.gz +0 -0
- package/dist/defaults-CdYxZfUY.js.gz +0 -0
- package/dist/defaults-vcZH0VGg.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-C4kGIGQl.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CEW5_Ssx.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-Dck4pTdW.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DwvmSh-a.js.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Ct-c3ftd.js.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-TtpnxnwU.mjs.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-BeJzdj3s.js.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-dS9iWFQp.mjs.gz +0 -0
- package/dist/editDialog-DgrWjH8c.mjs.gz +0 -0
- package/dist/editDialog-xuSU5mfa.js.gz +0 -0
- package/dist/formConfig-BJvWs-Fp.js.gz +0 -0
- package/dist/formConfig-CLxhQbYX.mjs.gz +0 -0
- package/dist/horizontal-BZv5UPiP.mjs.gz +0 -0
- package/dist/horizontal-DFA4WQJz.js.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-CFMWw_lo.js.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-_93VOdkP.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C25LINdH.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DaPL0-dR.js.gz +0 -0
- package/dist/hsBtnConfigList-BwTAZYMW.js.gz +0 -0
- package/dist/hsBtnConfigList-DxSI0_iQ.mjs.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CEnBP6J5.mjs.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DWJelcVF.js.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CGE2R3p2.js.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CnQRv44X.mjs.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-DknGW04i.mjs.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-F3jh-EOV.js.gz +0 -0
- package/dist/hsFormConfig-DOYLrnzi.js.gz +0 -0
- package/dist/hsFormConfig-Dh_WJcb9.mjs.gz +0 -0
- package/dist/hsFormConfigList-CbFkXZef.js.gz +0 -0
- package/dist/hsFormConfigList-DDNwYh2_.mjs.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BF0-O_vK.js.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-hZd44Rrv.mjs.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DSgk-7bv.mjs.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-F4w6K-uT.js.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DLGRHdrd.js.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DU-U8BQ3.mjs.gz +0 -0
- package/dist/iframes-CK3KKPTs.mjs.gz +0 -0
- package/dist/iframes-Dv3NZ2ui.js.gz +0 -0
- package/dist/index-BLGOjdW5.js.gz +0 -0
- package/dist/index-BMmE7a0s.js.gz +0 -0
- package/dist/index-BQenxjHt.mjs.gz +0 -0
- package/dist/index-BSfQAZTz.js.gz +0 -0
- package/dist/index-BWaSEYHp.mjs.gz +0 -0
- package/dist/index-BaV6XrJ6.mjs.gz +0 -0
- package/dist/index-BeBBX0xc.js.gz +0 -0
- package/dist/index-Bhw23yA7.js.gz +0 -0
- package/dist/index-BsaRwlSX.mjs.gz +0 -0
- package/dist/index-BxCy7cy1.js.gz +0 -0
- package/dist/index-CBDKI54l.mjs.gz +0 -0
- package/dist/index-CQP-j34t.js.gz +0 -0
- package/dist/index-CReHz9A7.mjs.gz +0 -0
- package/dist/index-CS54LMwP.js.gz +0 -0
- package/dist/index-CWkPYoQq.js.gz +0 -0
- package/dist/index-Cduxl4S6.mjs +0 -4
- package/dist/index-CqnvuzQw.js.gz +0 -0
- package/dist/index-Ctg1tiu6.js.gz +0 -0
- package/dist/index-Cxdmdrlb.mjs +0 -10
- package/dist/index-D1Ex5apz.mjs.gz +0 -0
- package/dist/index-D5eBAxxo.js.gz +0 -0
- package/dist/index-DADCy9ZN.js.gz +0 -0
- package/dist/index-DFM9CPAC.js +0 -1
- package/dist/index-DGAQt0uk.mjs.gz +0 -0
- package/dist/index-DPBGS2YB.js.gz +0 -0
- package/dist/index-DTMhI4xq.mjs.gz +0 -0
- package/dist/index-DUS_N5WI.mjs.gz +0 -0
- package/dist/index-DaWOFtu0.js.gz +0 -0
- package/dist/index-DfubqjCk.mjs.gz +0 -0
- package/dist/index-DhFAu0aN.js.gz +0 -0
- package/dist/index-DhMiq09P.mjs.gz +0 -0
- package/dist/index-DmaUm-RK.mjs.gz +0 -0
- package/dist/index-Jq00FYtu.mjs.gz +0 -0
- package/dist/index-Velw2qQe.mjs.gz +0 -0
- package/dist/index-WhSTrYis.mjs.gz +0 -0
- package/dist/index-XXqlWDAN.js.gz +0 -0
- package/dist/index-YAw0lkyl.mjs.gz +0 -0
- package/dist/index-_kfXvJL4.js.gz +0 -0
- package/dist/index-cqFTCp8A.js.gz +0 -0
- package/dist/index-fkmnq61g.mjs.gz +0 -0
- package/dist/index-hrzoBWUi.js.gz +0 -0
- package/dist/index-l3gkvqmI.mjs.gz +0 -0
- package/dist/index-u1Yo69dH.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BBw8y--M.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BIcGNFdc.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-D0wdJRHH.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DGvdZY5W.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-jaDqccEf.js +0 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-jaDqccEf.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-ufjcDvtA.js +0 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-ufjcDvtA.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DOYTRL8t.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-G9KGyA5e.js.gz +0 -0
- package/dist/link-9uPZiGgY.js.gz +0 -0
- package/dist/link-C6A_BmkM.mjs.gz +0 -0
- package/dist/list-BAgb2fhA.mjs.gz +0 -0
- package/dist/list-DTtIC4X4.js.gz +0 -0
- package/dist/main-C4mNfnnS.js.gz +0 -0
- package/dist/main-Du-6IBSw.mjs.gz +0 -0
- package/dist/mobile-CjtF7fTU.js.gz +0 -0
- package/dist/mobile-Dn2iTrIK.mjs.gz +0 -0
- package/dist/parent-BU6e3sks.js.gz +0 -0
- package/dist/parent-BrEKL5AR.mjs.gz +0 -0
- package/dist/roleItem-B9joTs1O.js.gz +0 -0
- package/dist/roleItem-ztX0g1tV.mjs.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-81FR95jw.js.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-D020b-k-.mjs.gz +0 -0
- package/dist/scan-B4cgRBDd.mjs.gz +0 -0
- package/dist/scan-B_B6bgLW.js.gz +0 -0
- package/dist/search-C5u0wVsX.mjs.gz +0 -0
- package/dist/search-ChFkAG6h.js.gz +0 -0
- package/dist/selectConfig-CjAi1Z4v.mjs.gz +0 -0
- package/dist/selectConfig-DAFC9xi5.js.gz +0 -0
- package/dist/subItem-CsCp0tYJ.js.gz +0 -0
- package/dist/subItem-Dq3HSmw0.mjs.gz +0 -0
- package/dist/tagsView-DZlvQDdW.mjs.gz +0 -0
- package/dist/transverse-CdbaZVMG.mjs.gz +0 -0
- package/dist/transverse-DBOhqpdP.js.gz +0 -0
- package/dist/types/components/business/bcFormTable/components/form/formDrag.vue.d.ts +0 -33
- package/dist/types/components/business/bcFormTable/components/form/formSearch.vue.d.ts +0 -33
- package/dist/uploadAvatar-C-Z8bnop.js.gz +0 -0
- package/dist/uploadAvatar-Dzmncq8e.mjs.gz +0 -0
- package/dist/user-BV9lxkgn.js.gz +0 -0
- package/dist/user-CLTTbp7m.mjs.gz +0 -0
- package/dist/userNews-BpQv2_p9.js.gz +0 -0
- package/dist/userNews-D2osKH5W.mjs.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-D7C0QaD7.js.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-D8UOFN9s.mjs.gz +0 -0
- package/dist/vertical-BlGFuaKE.mjs.gz +0 -0
- package/dist/vertical-DHM63xna.js.gz +0 -0
package/dist/style.css.gz
CHANGED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, computed as C, resolveComponent as t, openBlock as n, createElementBlock as o, Fragment as m, renderList as b, createBlock as u, withCtx as r, createVNode as i, createElementVNode as a, toDisplayString as l, withModifiers as g, createTextVNode as L } from "vue";
|
|
2
|
-
import { X as I } from "./index-
|
|
2
|
+
import { X as I } from "./index-Cxt25yII.mjs";
|
|
3
3
|
const S = ["onClick"], w = p({
|
|
4
4
|
name: "navMenuSubItem"
|
|
5
5
|
}), E = /* @__PURE__ */ p({
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-C8Ad7Dli.js"),p=["onClick"],d=e.defineComponent({name:"navMenuSubItem"}),_=e.defineComponent({...d,props:{chil:{type:Array,default:()=>[]}},setup(c){const i=c,l=e.computed(()=>i.chil),r=o=>{u.other.handleOpenLink(o)};return(o,k)=>{const n=e.resolveComponent("SvgIcon"),m=e.resolveComponent("sub-item",!0),a=e.resolveComponent("el-sub-menu"),s=e.resolveComponent("el-menu-item");return e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,t=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.children&&t.children.length>0?(e.openBlock(),e.createBlock(a,{index:t.path,key:t.path},{title:e.withCtx(()=>[e.createVNode(n,{name:t.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(t.meta.title),1)]),default:e.withCtx(()=>[e.createVNode(m,{chil:t.children},null,8,["chil"])]),_:2},1032,["index"])):(e.openBlock(),e.createBlock(s,{index:t.path,key:t.path},{default:e.withCtx(()=>[!t.meta.isLink||t.meta.isLink&&t.meta.isIframe?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(n,{name:t.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(t.meta.title),1)],64)):(e.openBlock(),e.createElementBlock("a",{key:1,class:"w100",onClick:e.withModifiers(h=>r(t),["prevent"])},[e.createVNode(n,{name:t.meta.icon},null,8,["name"]),e.createTextVNode(" "+e.toDisplayString(t.meta.title),1)],8,p))]),_:2},1032,["index"]))],64))),256)}}});exports.default=_;
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Jt, defineAsyncComponent as wn, ref as je, reactive as bn, computed as gt, onBeforeMount as yn, onUnmounted as En, onBeforeUpdate as _n, onMounted as Dn, watch as Sn, resolveComponent as Ft, openBlock as ce, createElementBlock as Le, normalizeClass as mt, createVNode as vt, withModifiers as Pe, withCtx as Tn, createElementVNode as qt, Fragment as Xt, renderList as Cn, createCommentVNode as Re, createBlock as wt, toDisplayString as In, unref as On, nextTick as bt } from "vue";
|
|
2
|
-
import { W as Yt, c as xn, L as An, s as yt, b as Vn, u as Ln, a as Pn, X as Bt, m as we, Y as Rn, d as Nn, S as be, Z as Ht, _ as Mn } from "./index-
|
|
2
|
+
import { W as Yt, c as xn, L as An, s as yt, b as Vn, u as Ln, a as Pn, X as Bt, m as we, Y as Rn, d as Nn, S as be, Z as Ht, _ as Mn } from "./index-Cxt25yII.mjs";
|
|
3
3
|
/**!
|
|
4
4
|
* Sortable 1.15.2
|
|
5
5
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -1277,7 +1277,7 @@ const ui = ["data-url", "onContextmenu", "onMousedown", "onClick"], fi = {
|
|
|
1277
1277
|
}), di = /* @__PURE__ */ Jt({
|
|
1278
1278
|
...ci,
|
|
1279
1279
|
setup(i) {
|
|
1280
|
-
const e = wn(() => import("./contextmenu-
|
|
1280
|
+
const e = wn(() => import("./contextmenu-fFmT9XJ9.mjs")), t = je([]), n = je(), a = je(), r = je(), s = Yt(), u = xn(), f = Yt(), c = An(), { themeConfig: m } = yt(u), { tagsViewRoutes: g } = yt(f), { routesList: I } = yt(c), C = Vn(), _ = Ln(), D = Pn(), d = bn({
|
|
1281
1281
|
routeActive: "",
|
|
1282
1282
|
routePath: _.path,
|
|
1283
1283
|
dropdown: { x: "", y: "" },
|
|
Binary file
|
|
@@ -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-C8Ad7Dli.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-CdiUTTCI.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-CcZvvT9v.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-C8Ad7Dli.js"),f=e.defineComponent({name:"layoutTransverse"}),p=e.defineComponent({...f,setup(d){const a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./header-CZLxYetb.js"))),c=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-CnQH98CV.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-Cxt25yII.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-Cc9zX42-.mjs")), i = n(() => import("./main-DQWdNMGM.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
|
|
@@ -18,7 +18,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
-
}, {
|
|
21
|
+
}, {
|
|
22
|
+
validate: () => any;
|
|
23
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
22
24
|
ready: (params: TableParams) => void;
|
|
23
25
|
btnClick: (params: string) => void;
|
|
24
26
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
@@ -30,6 +30,7 @@ export interface BcBoxApi {
|
|
|
30
30
|
}
|
|
31
31
|
export interface BcTableFormApi {
|
|
32
32
|
updateSearchForm: (params: ICustomData.Data) => void;
|
|
33
|
+
searchValidate: () => Promise<void>;
|
|
33
34
|
}
|
|
34
35
|
/** 对外导出表格参数实例 */
|
|
35
36
|
export interface TableParams {
|
|
@@ -95,7 +96,7 @@ export declare function getFormData(result: IFormData.Form): {
|
|
|
95
96
|
form: IFormData.FormConfig<keyof IFormData.FormItemTypeMap>[];
|
|
96
97
|
data: IFormData.Data;
|
|
97
98
|
mid?: string | undefined;
|
|
98
|
-
uid?: string | undefined;
|
|
99
|
+
uid?: string | undefined; /** 查询参数 */
|
|
99
100
|
is_auth?: string | undefined;
|
|
100
101
|
project_code?: string | undefined;
|
|
101
102
|
config_version?: number | undefined;
|
|
@@ -57,6 +57,7 @@ export declare const formTableData: Ref<{
|
|
|
57
57
|
submitUrl?: string | undefined;
|
|
58
58
|
submitUrlMethod?: ICustomData.Method | undefined;
|
|
59
59
|
submitSuccessMsg?: string | undefined;
|
|
60
|
+
columnNum?: number | undefined;
|
|
60
61
|
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
61
62
|
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
62
63
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
@@ -9,4 +9,5 @@ export interface BtnEvent {
|
|
|
9
9
|
}
|
|
10
10
|
export declare function useButon(formRef: Ref<ICustomData.ANY>, tablesRef: Ref<Record<string, VxeTableInstance>>, activeTabs: Ref<string>, props: ComponentAttr.Props<typeof BcFormTable>): {
|
|
11
11
|
btns: ComputedRef<ICustomData.Btns[]>;
|
|
12
|
+
validate: () => any;
|
|
12
13
|
};
|
package/dist/types/components/business/bcPageConfig/components/hsSaveForm/useCloneConfigDialog.d.ts
CHANGED
|
@@ -130,6 +130,7 @@ export declare function useCloneConfig(): {
|
|
|
130
130
|
submitUrl?: string | undefined;
|
|
131
131
|
submitUrlMethod?: ICustomData.Method | undefined;
|
|
132
132
|
submitSuccessMsg?: string | undefined;
|
|
133
|
+
columnNum?: number | undefined;
|
|
133
134
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
134
135
|
readonly inlineMessage: boolean;
|
|
135
136
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3615,6 +3616,7 @@ export declare function useCloneConfig(): {
|
|
|
3615
3616
|
submitUrl?: string | undefined;
|
|
3616
3617
|
submitUrlMethod?: ICustomData.Method | undefined;
|
|
3617
3618
|
submitSuccessMsg?: string | undefined;
|
|
3619
|
+
columnNum?: number | undefined;
|
|
3618
3620
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3619
3621
|
readonly inlineMessage: boolean;
|
|
3620
3622
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -89,6 +89,7 @@ export declare function useCloneConfig(): {
|
|
|
89
89
|
submitUrl?: string | undefined;
|
|
90
90
|
submitUrlMethod?: ICustomData.Method | undefined;
|
|
91
91
|
submitSuccessMsg?: string | undefined;
|
|
92
|
+
columnNum?: number | undefined;
|
|
92
93
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
93
94
|
readonly inlineMessage: boolean;
|
|
94
95
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -22,6 +22,7 @@ declare let parentFormData: Ref<{
|
|
|
22
22
|
submitUrl?: string | undefined;
|
|
23
23
|
submitUrlMethod?: import("/@/types").ICustomData.Method | undefined;
|
|
24
24
|
submitSuccessMsg?: string | undefined;
|
|
25
|
+
columnNum?: number | undefined;
|
|
25
26
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
26
27
|
readonly inlineMessage: boolean;
|
|
27
28
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openBlock as O, createElementBlock as Y, withDirectives as T, createElementVNode as w, normalizeStyle as M, vShow as k, createCommentVNode as I, normalizeClass as R, toDisplayString as N, defineComponent as F, ref as S, onMounted as z, toRefs as D, reactive as U, resolveComponent as X, createVNode as v, withCtx as x, unref as b, createTextVNode as L } from "vue";
|
|
2
2
|
import { E as j } from "./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-Dmzfac6b.mjs";
|
|
3
|
-
import { _ as B, U as V, d as A, V as q } from "./index-
|
|
3
|
+
import { _ as B, U as V, d as A, V as q } from "./index-Cxt25yII.mjs";
|
|
4
4
|
const G = {
|
|
5
5
|
data: function() {
|
|
6
6
|
return {
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
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-cqFTCp8A.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=`
|
|
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-C8Ad7Dli.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
2
|
<div class="show-preview" style="width: ${s.w}px; height: ${s.h}px; overflow: hidden">
|
|
3
3
|
<div style="width: ${e}px; height: ${t}px">
|
|
4
4
|
<img src=${s.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as R, defineAsyncComponent as k, ref as S, reactive as Q, computed as W, onMounted as X, resolveComponent as a, openBlock as F, createElementBlock as E, normalizeStyle as Y, createElementVNode as g, createVNode as l, withCtx as u, withDirectives as Z, unref as p, normalizeClass as ee, createTextVNode as y, toDisplayString as ne, pushScopeId as te, popScopeId as oe } from "vue";
|
|
2
|
-
import { a as le, H as se, c as re, s as x, U as B, $ as ce, d as ae, m as ue, E as ie, e as fe, _ as me } from "./index-
|
|
3
|
-
import { u as de } from "./index-
|
|
2
|
+
import { a as le, H as se, c as re, s as x, U as B, $ as ce, d as ae, m as ue, E as ie, e as fe, _ as me } from "./index-Cxt25yII.mjs";
|
|
3
|
+
import { u as de } from "./index-CTQfru7X.mjs";
|
|
4
4
|
const z = [
|
|
5
5
|
[
|
|
6
6
|
"requestFullscreen",
|
|
@@ -129,7 +129,7 @@ const h = s, _e = (e) => (te("data-v-5bbc849b"), e = e(), oe(), e), pe = /* @__P
|
|
|
129
129
|
}), Ce = /* @__PURE__ */ R({
|
|
130
130
|
...Se,
|
|
131
131
|
setup(e) {
|
|
132
|
-
const o = k(() => import("./userNews-
|
|
132
|
+
const o = k(() => import("./userNews-CIXfiveo.mjs")), n = k(() => import("./search-BsJ32ghI.mjs")), m = de(), f = S(), d = S(), M = le(), C = se(), q = re(), { userInfos: w } = x(C), { themeConfig: P } = x(q), v = S(), b = Q({
|
|
133
133
|
isScreenfull: !1,
|
|
134
134
|
disabledSize: "large"
|
|
135
135
|
}), I = W(() => {
|
|
Binary file
|