hs-admin-ui 2.7.2 → 2.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{401-BtMf7jhv.js → 401-BgqJBP_6.js} +1 -1
- package/dist/401-BgqJBP_6.js.gz +0 -0
- package/dist/{401-CaTuyjUn.mjs → 401-D7pJD_GJ.mjs} +1 -1
- package/dist/401-D7pJD_GJ.mjs.gz +0 -0
- package/dist/{404-CCM55J69.mjs → 404-D9m8SRvo.mjs} +1 -1
- package/dist/{404-CCM55J69.mjs.gz → 404-D9m8SRvo.mjs.gz} +0 -0
- package/dist/{404-DQb4XbzV.js → 404-SSgAN79T.js} +1 -1
- package/dist/{404-DQb4XbzV.js.gz → 404-SSgAN79T.js.gz} +0 -0
- package/dist/{account-DJVaw7Ip.mjs → account-0jslYcXY.mjs} +9 -9
- package/dist/account-0jslYcXY.mjs.gz +0 -0
- package/dist/{account-BkXuxvJ9.js → account-DZBO8EZR.js} +1 -1
- package/dist/account-DZBO8EZR.js.gz +0 -0
- package/dist/{aside-y0zP9yn8.js → aside-BOH-e7Ra.js} +1 -1
- package/dist/aside-BOH-e7Ra.js.gz +0 -0
- package/dist/{aside-CBp1JSif.mjs → aside-Dd72XahJ.mjs} +8 -8
- package/dist/aside-Dd72XahJ.mjs.gz +0 -0
- package/dist/{btnIndex-Cohvn3an.js → btnIndex-CDX8KBCD.js} +1 -1
- package/dist/btnIndex-CDX8KBCD.js.gz +0 -0
- package/dist/{btnIndex-BbUqJqnv.mjs → btnIndex-EJ2Qd35L.mjs} +2 -2
- package/dist/btnIndex-EJ2Qd35L.mjs.gz +0 -0
- package/dist/{classic-CBkPhefS.mjs → classic-BODpj-Vt.mjs} +2 -2
- package/dist/classic-BODpj-Vt.mjs.gz +0 -0
- package/dist/{classic-CikLX4zJ.js → classic-xTDpZ9C4.js} +1 -1
- package/dist/classic-xTDpZ9C4.js.gz +0 -0
- package/dist/{cloneConfigDialog-Bd5-a6ke.mjs → cloneConfigDialog-B0IhZ7bM.mjs} +1 -1
- package/dist/cloneConfigDialog-B0IhZ7bM.mjs.gz +0 -0
- package/dist/{cloneConfigDialog-N0oEM5vt.js → cloneConfigDialog-BlO1EDll.js} +1 -1
- package/dist/cloneConfigDialog-BlO1EDll.js.gz +0 -0
- package/dist/{columns-Dm5Mxua0.mjs → columns-CcOtATso.mjs} +2 -2
- package/dist/columns-CcOtATso.mjs.gz +0 -0
- package/dist/{columns-Blupm1El.js → columns-ChM5l9o-.js} +1 -1
- package/dist/columns-ChM5l9o-.js.gz +0 -0
- package/dist/{columnsAside-CdEN0xt9.js → columnsAside-C4XvoINn.js} +1 -1
- package/dist/columnsAside-C4XvoINn.js.gz +0 -0
- package/dist/{columnsAside-DaDQNpts.mjs → columnsAside-CRr6dhIw.mjs} +12 -12
- package/dist/columnsAside-CRr6dhIw.mjs.gz +0 -0
- package/dist/{contextmenu-CUXOCXEE.mjs → contextmenu-BSp3IlBO.mjs} +1 -1
- package/dist/contextmenu-BSp3IlBO.mjs.gz +0 -0
- package/dist/{contextmenu-JV8F29CQ.js → contextmenu-BaMv2Dxm.js} +1 -1
- package/dist/contextmenu-BaMv2Dxm.js.gz +0 -0
- package/dist/{contextmenu-BMaJqCsU.js → contextmenu-C7Gcji2g.js} +1 -1
- package/dist/contextmenu-C7Gcji2g.js.gz +0 -0
- package/dist/{contextmenu--DS2wraa.mjs → contextmenu-DT3MAx_N.mjs} +1 -1
- package/dist/contextmenu-DT3MAx_N.mjs.gz +0 -0
- package/dist/{contextmenu-BryPpJ4n.js → contextmenu-Dfls-olT.js} +1 -1
- package/dist/contextmenu-Dfls-olT.js.gz +0 -0
- package/dist/{contextmenu-BKSzPTuL.mjs → contextmenu-Dq048G2t.mjs} +1 -1
- package/dist/contextmenu-Dq048G2t.mjs.gz +0 -0
- package/dist/debug/GenerateTestUserSig-es.d.ts +34 -0
- package/dist/debug/GenerateTestUserSig-es.js +97 -0
- package/dist/debug/GenerateTestUserSig-es.js.gz +0 -0
- package/dist/debug/lib-generate-test-usersig-es.min.js +2 -0
- package/dist/debug/lib-generate-test-usersig-es.min.js.gz +0 -0
- package/dist/{defaults-hmKJs-yU.js → defaults-Nn2FQ5s6.js} +1 -1
- package/dist/defaults-Nn2FQ5s6.js.gz +0 -0
- package/dist/{defaults-Dk_D-H6Q.mjs → defaults-RmWVtgQS.mjs} +2 -2
- package/dist/defaults-RmWVtgQS.mjs.gz +0 -0
- package/dist/{dialog-DTfUglkN.mjs → dialog-BY3FvQ93.mjs} +1 -1
- package/dist/{dialog-CzvzoPy_.js → dialog-BpnBtPro.js} +1 -1
- package/dist/{dialog-CAZjSRh0.js → dialog-DUH3ds8Z.js} +1 -1
- package/dist/{dialog-CGdHwSk2.js → dialog-Dd2rZD2U.js} +1 -1
- package/dist/{dialog-pQEvQDTc.mjs → dialog-Djedcf-2.mjs} +1 -1
- package/dist/{dialog-JQWdTL7Q.mjs → dialog-Dm12jjP0.mjs} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B62B6VNK.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CNGV8wGE.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CNGV8wGE.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang--Lb1QuH7.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-VNhOVJNd.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-VNhOVJNd.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DSI0zDR5.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BylQVtzS.mjs} +4 -4
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BylQVtzS.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B2oyLSGx.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CANDqb5p.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CANDqb5p.js.gz +0 -0
- package/dist/{dictDialog-DHp4faf6.js → dictDialog-BUpdhkk_.js} +1 -1
- package/dist/{dictDialog-CSjNf2es.mjs → dictDialog-DI3ajIvf.mjs} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Ci6WtoCK.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-B2dlpLI_.mjs} +2 -2
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-B2dlpLI_.mjs.gz +0 -0
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C6C4R-Ec.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DsneOSRw.js} +1 -1
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DsneOSRw.js.gz +0 -0
- package/dist/{dictItemDialog-Cgi8a44T.mjs → dictItemDialog-DJxNGwp8.mjs} +1 -1
- package/dist/{dictItemDialog-Bgv1hkFP.js → dictItemDialog-Dxh9Srxy.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-CWRwpS0d.js → dictItemDialog.vue_vue_type_script_setup_true_lang-C-3UIURN.js} +1 -1
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-C-3UIURN.js.gz +0 -0
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-DQpJxhfR.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-DtScuL6l.mjs} +2 -2
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DtScuL6l.mjs.gz +0 -0
- package/dist/{formConfig-CyPCy8y_.js → formConfig-BcYy6nCV.js} +1 -1
- package/dist/formConfig-BcYy6nCV.js.gz +0 -0
- package/dist/{formConfig-_RcQFXJa.mjs → formConfig-w9l3Mfgi.mjs} +4 -4
- package/dist/formConfig-w9l3Mfgi.mjs.gz +0 -0
- package/dist/{header-sX0KgUl2.js → header-Cb0AZjmv.js} +1 -1
- package/dist/{header-CoOFedF-.mjs → header-Dx9cqIMo.mjs} +2 -2
- package/dist/{horizontal-Dr8Hhnhc.mjs → horizontal-Dg7zcPKN.mjs} +11 -11
- package/dist/horizontal-Dg7zcPKN.mjs.gz +0 -0
- package/dist/{horizontal-Bn6JzGvZ.js → horizontal-h9oGUj80.js} +1 -1
- package/dist/horizontal-h9oGUj80.js.gz +0 -0
- package/dist/{hsAttrBtn-BxKANJv1.mjs → hsAttrBtn-Bg_HolLV.mjs} +1 -1
- package/dist/{hsAttrBtn-CFTcgchB.js → hsAttrBtn-DfoMF5BZ.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DgXz68rV.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-Bdf2hfee.js} +1 -1
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-Bdf2hfee.js.gz +0 -0
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-CJ8NmHsC.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-TYEzGUVT.mjs} +3 -3
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-TYEzGUVT.mjs.gz +0 -0
- package/dist/{hsAttrForm-C3-Espks.mjs → hsAttrForm-BGTAOQFu.mjs} +1 -1
- package/dist/{hsAttrForm-DvpDRLx5.js → hsAttrForm-DyRrIk3y.js} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-96pzJ-BU.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-B2_WD88t.mjs} +2 -2
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-B2_WD88t.mjs.gz +0 -0
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-Dmj_ofx_.js → hsAttrForm.vue_vue_type_script_setup_true_lang-DhWyi44q.js} +1 -1
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DhWyi44q.js.gz +0 -0
- package/dist/{hsBtnConfigList-rtHaYrSp.mjs → hsBtnConfigList-BMLJ19DU.mjs} +1 -1
- package/dist/hsBtnConfigList-BMLJ19DU.mjs.gz +0 -0
- package/dist/{hsBtnConfigList-DCnoKf1H.js → hsBtnConfigList-Bfr0OiLG.js} +1 -1
- package/dist/hsBtnConfigList-Bfr0OiLG.js.gz +0 -0
- package/dist/{hsBtnItemConfig-DJdMYUdk.js → hsBtnItemConfig-Cww6JK-5.js} +1 -1
- package/dist/{hsBtnItemConfig-MZb0Ny0E.mjs → hsBtnItemConfig-uEOi2s-T.mjs} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DuJjPF7j.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BnXDbD5D.js} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BnXDbD5D.js.gz +0 -0
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bx6q3tdT.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CKC3vaQz.mjs} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CKC3vaQz.mjs.gz +0 -0
- package/dist/{hsBtnPanel--0mRPK2m.mjs → hsBtnPanel-CCjb6KCY.mjs} +1 -1
- package/dist/{hsBtnPanel-DD-XUCTw.js → hsBtnPanel-FWwH3dhy.js} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D46-PExu.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DuenIhN6.mjs} +4 -4
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DuenIhN6.mjs.gz +0 -0
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DB06jIRx.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-jxxqjJNT.js} +1 -1
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-jxxqjJNT.js.gz +0 -0
- package/dist/{hsExpand-DpwPdYqH.mjs → hsExpand-BonnpZhF.mjs} +1 -1
- package/dist/{hsExpand-BvjS5FCv.js → hsExpand-tTED2T0L.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-C0Mgq-7K.mjs → hsExpand.vue_vue_type_script_setup_true_lang-LEub1tGT.mjs} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-LEub1tGT.mjs.gz +0 -0
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-DAknQv8V.js → hsExpand.vue_vue_type_script_setup_true_lang-yiltiHJO.js} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-yiltiHJO.js.gz +0 -0
- package/dist/{hsFormConfig-CuB_DhG3.js → hsFormConfig-CU6A54rQ.js} +1 -1
- package/dist/hsFormConfig-CU6A54rQ.js.gz +0 -0
- package/dist/{hsFormConfig-J6wjRbWJ.mjs → hsFormConfig-DjOkysyG.mjs} +1 -1
- package/dist/hsFormConfig-DjOkysyG.mjs.gz +0 -0
- package/dist/{hsFormConfigList-CD4JEcU2.mjs → hsFormConfigList-CXLozAsA.mjs} +2 -2
- package/dist/hsFormConfigList-CXLozAsA.mjs.gz +0 -0
- package/dist/{hsFormConfigList-DdcQ1T0-.js → hsFormConfigList-CwuwbLsp.js} +1 -1
- package/dist/hsFormConfigList-CwuwbLsp.js.gz +0 -0
- package/dist/{hsFormPanel-DnXVaQxH.js → hsFormPanel-CqRb2s6g.js} +1 -1
- package/dist/{hsFormPanel-B7roGtyE.mjs → hsFormPanel-D1xEUZkU.mjs} +1 -1
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B6Lma1JN.mjs → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DTtJLQsy.mjs} +5 -5
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DTtJLQsy.mjs.gz +0 -0
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CrKSuouh.js → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DUe5rk9S.js} +1 -1
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DUe5rk9S.js.gz +0 -0
- package/dist/{hsFormParse-ds-EzKJj.js → hsFormParse-hft1uDKc.js} +1 -1
- package/dist/{hsFormParse-CIiy01l0.mjs → hsFormParse-jyUc0PbB.mjs} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-C0sD-fn5.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-CqVYsOYB.mjs} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-CqVYsOYB.mjs.gz +0 -0
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-D4e8hADX.js → hsFormParse.vue_vue_type_script_setup_true_lang-DW78xtSZ.js} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DW78xtSZ.js.gz +0 -0
- package/dist/{hsPanelItem-qTV_N92q.mjs → hsPanelItem-BRyrXADc.mjs} +1 -1
- package/dist/{hsPanelItem-BrPYYb8N.js → hsPanelItem-Cm6M61GA.js} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Cd8kyRJI.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CxOLETJc.mjs} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CxOLETJc.mjs.gz +0 -0
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Vd-TkZT2.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DRkX23-9.js} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DRkX23-9.js.gz +0 -0
- package/dist/{iframes-DdkWZ8jJ.js → iframes-CLXct_X9.js} +1 -1
- package/dist/iframes-CLXct_X9.js.gz +0 -0
- package/dist/{iframes-ryDOUqtA.mjs → iframes-CzLh3Bi-.mjs} +1 -1
- package/dist/iframes-CzLh3Bi-.mjs.gz +0 -0
- package/dist/{index-i6RUDmGW.mjs → index-0Mi_0CCA.mjs} +1 -1
- package/dist/index-0Mi_0CCA.mjs.gz +0 -0
- package/dist/{index-B8XSTvkt.mjs → index-B359zER4.mjs} +4 -4
- package/dist/index-B359zER4.mjs.gz +0 -0
- package/dist/{index-Z89JGNBo.js → index-B7fvcA6u.js} +1 -1
- package/dist/{index-DT2qyNKo.js → index-BDpwyE1S.js} +1 -1
- package/dist/{index-CXnpzS1z.mjs → index-BF6kBWjD.mjs} +4 -4
- package/dist/index-BF6kBWjD.mjs.gz +0 -0
- package/dist/{index-DWPzOTkD.mjs → index-BJ5t_HS0.mjs} +1 -1
- package/dist/{index-C2FhC3wc.js → index-BJzRJLD3.js} +1 -1
- package/dist/index-BJzRJLD3.js.gz +0 -0
- package/dist/{index-i_uVluGQ.js → index-BMblAabg.js} +1 -1
- package/dist/index-BMblAabg.js.gz +0 -0
- package/dist/{index-Dx3Vt9UA.js → index-BMl9otNn.js} +1 -1
- package/dist/index-BMl9otNn.js.gz +0 -0
- package/dist/{index-BUq4eGXb.mjs → index-BQWvBh3s.mjs} +1 -1
- package/dist/{index-CveF0Pnh.js → index-BW9IYh-5.js} +1 -1
- package/dist/index-BW9IYh-5.js.gz +0 -0
- package/dist/{index-C-4rpWao.mjs → index-BXIr-Mas.mjs} +2 -2
- package/dist/index-BXIr-Mas.mjs.gz +0 -0
- package/dist/{index-GvRg1lB7.js → index-B_lUHUwT.js} +1 -1
- package/dist/index-B_lUHUwT.js.gz +0 -0
- package/dist/{index-BmfroDWw.js → index-Baek9zyw.js} +1 -1
- package/dist/index-Baek9zyw.js.gz +0 -0
- package/dist/{index-MrKJsShg.js → index-Bdb_7nVU.js} +1 -1
- package/dist/index-Bdb_7nVU.js.gz +0 -0
- package/dist/{index-xAQb2zWM.mjs → index-BilBz4O-.mjs} +1 -1
- package/dist/index-BilBz4O-.mjs.gz +0 -0
- package/dist/{index-C_gH4GLt.js → index-BmIh8WLA.js} +1 -1
- package/dist/index-BmIh8WLA.js.gz +0 -0
- package/dist/{index-Bcaa_yL1.js → index-Bowl_OKA.js} +1 -1
- package/dist/index-Bowl_OKA.js.gz +0 -0
- package/dist/{index--RC_xMVQ.mjs → index-BpdECbO_.mjs} +5 -5
- package/dist/index-BpdECbO_.mjs.gz +0 -0
- package/dist/{index-CEvvg8JG.mjs → index-BqnQSmaP.mjs} +1 -1
- package/dist/{index-DryFo3e9.mjs → index-Bv0JGcyZ.mjs} +1 -1
- package/dist/index-Bv0JGcyZ.mjs.gz +0 -0
- package/dist/{index-DTZ-kI4Z.mjs → index-C1PQ8ov7.mjs} +1 -1
- package/dist/{index-Byc4xg-6.mjs → index-C2H4eL9n.mjs} +1 -1
- package/dist/index-C2H4eL9n.mjs.gz +0 -0
- package/dist/{index-BaAojnJw.js → index-C9Mtylsr.js} +1 -1
- package/dist/{index-DNwD3djU.mjs → index-CAUURfoh.mjs} +2 -2
- package/dist/{index-kWbVdOOR.js → index-CJTGDEGC.js} +1 -1
- package/dist/index-CJTGDEGC.js.gz +0 -0
- package/dist/{index-BkWWhA-w.mjs → index-CKzlbKQ-.mjs} +2 -2
- package/dist/index-CKzlbKQ-.mjs.gz +0 -0
- package/dist/{index-DmK4qau4.js → index-CPQLQgFm.js} +1 -1
- package/dist/index-CPQLQgFm.js.gz +0 -0
- package/dist/{index-DGo9I56v.js → index-CQm8nbPz.js} +55 -55
- package/dist/index-CQm8nbPz.js.gz +0 -0
- package/dist/index-CS3NPz7Q.mjs +48 -0
- package/dist/index-CS3NPz7Q.mjs.gz +0 -0
- package/dist/{index-efBOiywC.mjs → index-CWvfV9K5.mjs} +10 -10
- package/dist/index-CWvfV9K5.mjs.gz +0 -0
- package/dist/{index-CHcoJiqT.mjs → index-C_5aPoYk.mjs} +5 -5
- package/dist/index-C_5aPoYk.mjs.gz +0 -0
- package/dist/{index-DZQ1qmin.mjs → index-C_CFFORS.mjs} +1 -1
- package/dist/{index-CdSsQdlF.js → index-Cbdb0KoP.js} +1 -1
- package/dist/index-Cbye76Gn.js +128 -0
- package/dist/index-Cbye76Gn.js.gz +0 -0
- package/dist/{index-C__jbww0.mjs → index-CgPIfmdk.mjs} +1 -1
- package/dist/index-CgPIfmdk.mjs.gz +0 -0
- package/dist/{index-kOMHLDxc.js → index-CnVvS18z.js} +1 -1
- package/dist/{index-C4_CIY8K.mjs → index-Com05dNs.mjs} +3 -3
- package/dist/index-Com05dNs.mjs.gz +0 -0
- package/dist/index-CqLL22Kf.mjs +43990 -0
- package/dist/index-CqLL22Kf.mjs.gz +0 -0
- package/dist/{index-BBNXRIhE.mjs → index-Csik29EG.mjs} +2 -2
- package/dist/index-Csik29EG.mjs.gz +0 -0
- package/dist/{index-BZZQC_DH.js → index-CuqJdvbf.js} +1 -1
- package/dist/index-CuqJdvbf.js.gz +0 -0
- package/dist/{index-DTdbq4TK.js → index-D3p4tsl9.js} +1 -1
- package/dist/index-D3p4tsl9.js.gz +0 -0
- package/dist/{index-BSVIdHB0.mjs → index-D9mlPiiA.mjs} +1 -1
- package/dist/{index-ozjjZv_s.mjs → index-DA4OD1pj.mjs} +1 -1
- package/dist/index-DA4OD1pj.mjs.gz +0 -0
- package/dist/{index-Dn8OlJuS.js → index-DAKfPDAr.js} +1 -1
- package/dist/{index-BakUEpn1.js → index-DPfvVk3w.js} +1 -1
- package/dist/{index-KxkM8bFE.js → index-DdLqFaTU.js} +1 -1
- package/dist/{index-BsGaWJxG.js → index-DfvNpogZ.js} +1 -1
- package/dist/index-DfvNpogZ.js.gz +0 -0
- package/dist/{index-BDBZWZk3.js → index-Dnmrbbvr.js} +1 -1
- package/dist/index-Dnmrbbvr.js.gz +0 -0
- package/dist/{index-nG1eeRw3.mjs → index-DowyH7Km.mjs} +3 -3
- package/dist/index-DowyH7Km.mjs.gz +0 -0
- package/dist/index-Dqg_b_-8.js +1 -0
- package/dist/{index-C7uJn3_B.js → index-DufYsMc5.js} +1 -1
- package/dist/index-DufYsMc5.js.gz +0 -0
- package/dist/{index-BZ9rYml1.mjs → index-Dx9H-HyV.mjs} +12167 -12051
- package/dist/index-Dx9H-HyV.mjs.gz +0 -0
- package/dist/index-H2jriJZf.mjs +4 -0
- package/dist/{index-D30HlTY6.mjs → index-L3dY4fPH.mjs} +1 -1
- package/dist/index-L3dY4fPH.mjs.gz +0 -0
- package/dist/{index-D7TNFM8y.mjs → index-L9AJcT_t.mjs} +1 -1
- package/dist/index-L9AJcT_t.mjs.gz +0 -0
- package/dist/{index-BsR2Vs5w.mjs → index-N-VPHARP.mjs} +1 -1
- package/dist/{index-CGnL4XLd.js → index-Rxp97Rkg.js} +1 -1
- package/dist/{index-CP6-N_W4.mjs → index-WXALke45.mjs} +1 -1
- package/dist/{index-ZSDmahF_.js → index-kQP0JpPL.js} +1 -1
- package/dist/{index-DP0Af_zS.js → index-qbN1P0MP.js} +1 -1
- package/dist/index-qbN1P0MP.js.gz +0 -0
- package/dist/{index-AGsK7mIc.js → index-vfV31uiQ.js} +1 -1
- package/dist/index-vfV31uiQ.js.gz +0 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-D0DvwfhL.mjs → index.vue_vue_type_script_setup_true_lang-BLaCJvIJ.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BLaCJvIJ.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-B2l8Bcu_.js → index.vue_vue_type_script_setup_true_lang-BXNWeOB-.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BXNWeOB-.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-C51fFmoQ.mjs → index.vue_vue_type_script_setup_true_lang-BiaZe7wC.mjs} +4 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-BiaZe7wC.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-By7XhNXv.mjs → index.vue_vue_type_script_setup_true_lang-D80n5_Re.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-D80n5_Re.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DvcENAhD.js → index.vue_vue_type_script_setup_true_lang-le2UWkcG.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-le2UWkcG.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BhqWxfuJ.js → index.vue_vue_type_script_setup_true_lang-qlbFuErp.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-qlbFuErp.js.gz +0 -0
- package/dist/{link-HWn9lovV.js → link-Bc12tz-v.js} +1 -1
- package/dist/link-Bc12tz-v.js.gz +0 -0
- package/dist/{link-DE-OioHb.mjs → link-Cc7yPRi9.mjs} +1 -1
- package/dist/link-Cc7yPRi9.mjs.gz +0 -0
- package/dist/{list-BaNzHeVa.mjs → list-BvhGwPk4.mjs} +1 -1
- package/dist/list-BvhGwPk4.mjs.gz +0 -0
- package/dist/{list-jfcbuKUc.js → list-Dpnjo4-D.js} +1 -1
- package/dist/list-Dpnjo4-D.js.gz +0 -0
- package/dist/{main-B5l46E84.mjs → main-COTQSim0.mjs} +8 -8
- package/dist/main-COTQSim0.mjs.gz +0 -0
- package/dist/{main-DpB9WLac.js → main-Dw_Dc52X.js} +1 -1
- package/dist/main-Dw_Dc52X.js.gz +0 -0
- package/dist/{mobile-BMxGE9uz.js → mobile-0H7WKChe.js} +1 -1
- package/dist/mobile-0H7WKChe.js.gz +0 -0
- package/dist/{mobile-XBvvB60o.mjs → mobile-CEHlSAze.mjs} +1 -1
- package/dist/mobile-CEHlSAze.mjs.gz +0 -0
- package/dist/{parent-CoTCutfH.js → parent-wZc1qvaN.js} +1 -1
- package/dist/parent-wZc1qvaN.js.gz +0 -0
- package/dist/{parent-CLSeMxbp.mjs → parent-xcyRntEe.mjs} +2 -2
- package/dist/parent-xcyRntEe.mjs.gz +0 -0
- package/dist/{roleItem-DQODb-nH.mjs → roleItem-641RrvCX.mjs} +4 -4
- package/dist/roleItem-641RrvCX.mjs.gz +0 -0
- package/dist/{roleItem-BxJ6FWVZ.js → roleItem-BhEVW1sT.js} +1 -1
- package/dist/roleItem-BhEVW1sT.js.gz +0 -0
- package/dist/{saveForm-4SyEZlDt.js → saveForm-E_0A8Tra.js} +1 -1
- package/dist/{saveForm-NUPUbUkb.mjs → saveForm-GOgdcfbX.mjs} +1 -1
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-BcTmDAHm.mjs → saveForm.vue_vue_type_script_setup_true_lang-BbAYe7ho.mjs} +2 -2
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-BbAYe7ho.mjs.gz +0 -0
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-vhoBZDt6.js → saveForm.vue_vue_type_script_setup_true_lang-C2aPGFLG.js} +1 -1
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-C2aPGFLG.js.gz +0 -0
- package/dist/{scan-1Sm1FhZr.mjs → scan-Cjv2pIWj.mjs} +10 -10
- package/dist/scan-Cjv2pIWj.mjs.gz +0 -0
- package/dist/{scan-Dcdxm81m.js → scan-Cxx1nLmf.js} +1 -1
- package/dist/scan-Cxx1nLmf.js.gz +0 -0
- package/dist/{search-badOlGGz.js → search-BkbEzM7M.js} +1 -1
- package/dist/search-BkbEzM7M.js.gz +0 -0
- package/dist/{search-Cg-a1HjZ.mjs → search-ClUvnpEe.mjs} +7 -7
- package/dist/search-ClUvnpEe.mjs.gz +0 -0
- package/dist/{selectConfig-CnjGTmUU.mjs → selectConfig-3-ebOlYc.mjs} +1 -1
- package/dist/selectConfig-3-ebOlYc.mjs.gz +0 -0
- package/dist/{selectConfig-BlxKnKMv.js → selectConfig-Dily26t-.js} +1 -1
- package/dist/selectConfig-Dily26t-.js.gz +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/{subItem-C3pyf1hB.mjs → subItem-D4R7Hnr3.mjs} +1 -1
- package/dist/subItem-D4R7Hnr3.mjs.gz +0 -0
- package/dist/{subItem-CSO7Bz-O.js → subItem-o2WbVYUq.js} +1 -1
- package/dist/subItem-o2WbVYUq.js.gz +0 -0
- package/dist/{tagsView-fNVkqhar.mjs → tagsView-DTS-01zy.mjs} +46 -46
- package/dist/tagsView-DTS-01zy.mjs.gz +0 -0
- package/dist/{tagsView-Cli4IXRc.js → tagsView-EybB67Fb.js} +2 -2
- package/dist/tagsView-EybB67Fb.js.gz +0 -0
- package/dist/{transverse-H3Vai8yw.js → transverse-CnMmSJuM.js} +1 -1
- package/dist/transverse-CnMmSJuM.js.gz +0 -0
- package/dist/{transverse-DnMi2rX_.mjs → transverse-DP60EC6N.mjs} +2 -2
- package/dist/transverse-DP60EC6N.mjs.gz +0 -0
- package/dist/uploadAvatar-CVQpmCzJ.js +7 -0
- package/dist/uploadAvatar-CVQpmCzJ.js.gz +0 -0
- package/dist/{uploadAvatar-CLXg17cE.mjs → uploadAvatar-CdmSPBZY.mjs} +223 -301
- package/dist/uploadAvatar-CdmSPBZY.mjs.gz +0 -0
- package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js +1 -0
- package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js.gz +0 -0
- package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-Dmzfac6b.mjs +82 -0
- package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-Dmzfac6b.mjs.gz +0 -0
- package/dist/{user-OZ_219V8.mjs → user-BEKcBLbx.mjs} +10 -10
- package/dist/user-BEKcBLbx.mjs.gz +0 -0
- package/dist/{user-BWEJqg3p.js → user-XuJX_Zpd.js} +1 -1
- package/dist/user-XuJX_Zpd.js.gz +0 -0
- package/dist/{userNews-DfG4BDte.mjs → userNews-u0e7-FyY.mjs} +1 -1
- package/dist/userNews-u0e7-FyY.mjs.gz +0 -0
- package/dist/{userNews-DT97e0aU.js → userNews-zdQjeqsv.js} +1 -1
- package/dist/userNews-zdQjeqsv.js.gz +0 -0
- package/dist/{userSelect-CAnzVBMZ.mjs → userSelect-CJob1kLn.mjs} +1 -1
- package/dist/{userSelect-C3oAqwbi.js → userSelect-wlxxO4Cs.js} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-B_zFxg_g.js → userSelect.vue_vue_type_script_setup_true_lang-BnjpxhJp.js} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-BnjpxhJp.js.gz +0 -0
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-Dp46w1nS.mjs → userSelect.vue_vue_type_script_setup_true_lang-CQILgazz.mjs} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-CQILgazz.mjs.gz +0 -0
- package/dist/{vertical-ivGc6Eo3.mjs → vertical-BM68sx_z.mjs} +2 -2
- package/dist/vertical-BM68sx_z.mjs.gz +0 -0
- package/dist/{vertical-DP-orqOv.js → vertical-DI-17NLD.js} +1 -1
- package/dist/vertical-DI-17NLD.js.gz +0 -0
- package/package.json +2 -1
- package/dist/401-BtMf7jhv.js.gz +0 -0
- package/dist/401-CaTuyjUn.mjs.gz +0 -0
- package/dist/account-BkXuxvJ9.js.gz +0 -0
- package/dist/account-DJVaw7Ip.mjs.gz +0 -0
- package/dist/aside-CBp1JSif.mjs.gz +0 -0
- package/dist/aside-y0zP9yn8.js.gz +0 -0
- package/dist/btnIndex-BbUqJqnv.mjs.gz +0 -0
- package/dist/btnIndex-Cohvn3an.js.gz +0 -0
- package/dist/classic-CBkPhefS.mjs.gz +0 -0
- package/dist/classic-CikLX4zJ.js.gz +0 -0
- package/dist/cloneConfigDialog-Bd5-a6ke.mjs.gz +0 -0
- package/dist/cloneConfigDialog-N0oEM5vt.js.gz +0 -0
- package/dist/columns-Blupm1El.js.gz +0 -0
- package/dist/columns-Dm5Mxua0.mjs.gz +0 -0
- package/dist/columnsAside-CdEN0xt9.js.gz +0 -0
- package/dist/columnsAside-DaDQNpts.mjs.gz +0 -0
- package/dist/contextmenu--DS2wraa.mjs.gz +0 -0
- package/dist/contextmenu-BKSzPTuL.mjs.gz +0 -0
- package/dist/contextmenu-BMaJqCsU.js.gz +0 -0
- package/dist/contextmenu-BryPpJ4n.js.gz +0 -0
- package/dist/contextmenu-CUXOCXEE.mjs.gz +0 -0
- package/dist/contextmenu-JV8F29CQ.js.gz +0 -0
- package/dist/defaults-Dk_D-H6Q.mjs.gz +0 -0
- package/dist/defaults-hmKJs-yU.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang--Lb1QuH7.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B62B6VNK.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B2oyLSGx.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DSI0zDR5.mjs.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C6C4R-Ec.js.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Ci6WtoCK.mjs.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-CWRwpS0d.js.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DQpJxhfR.mjs.gz +0 -0
- package/dist/formConfig-CyPCy8y_.js.gz +0 -0
- package/dist/formConfig-_RcQFXJa.mjs.gz +0 -0
- package/dist/horizontal-Bn6JzGvZ.js.gz +0 -0
- package/dist/horizontal-Dr8Hhnhc.mjs.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-CJ8NmHsC.mjs.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DgXz68rV.js.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-96pzJ-BU.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-Dmj_ofx_.js.gz +0 -0
- package/dist/hsBtnConfigList-DCnoKf1H.js.gz +0 -0
- package/dist/hsBtnConfigList-rtHaYrSp.mjs.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bx6q3tdT.mjs.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DuJjPF7j.js.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D46-PExu.mjs.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DB06jIRx.js.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-C0Mgq-7K.mjs.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-DAknQv8V.js.gz +0 -0
- package/dist/hsFormConfig-CuB_DhG3.js.gz +0 -0
- package/dist/hsFormConfig-J6wjRbWJ.mjs.gz +0 -0
- package/dist/hsFormConfigList-CD4JEcU2.mjs.gz +0 -0
- package/dist/hsFormConfigList-DdcQ1T0-.js.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B6Lma1JN.mjs.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CrKSuouh.js.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-C0sD-fn5.mjs.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-D4e8hADX.js.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Cd8kyRJI.mjs.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Vd-TkZT2.js.gz +0 -0
- package/dist/iframes-DdkWZ8jJ.js.gz +0 -0
- package/dist/iframes-ryDOUqtA.mjs.gz +0 -0
- package/dist/index--RC_xMVQ.mjs.gz +0 -0
- package/dist/index-74esJND8.mjs +0 -54
- package/dist/index-74esJND8.mjs.gz +0 -0
- package/dist/index-AGsK7mIc.js.gz +0 -0
- package/dist/index-B8XSTvkt.mjs.gz +0 -0
- package/dist/index-BBNXRIhE.mjs.gz +0 -0
- package/dist/index-BDBZWZk3.js.gz +0 -0
- package/dist/index-BZ9rYml1.mjs.gz +0 -0
- package/dist/index-BZZQC_DH.js.gz +0 -0
- package/dist/index-Bcaa_yL1.js.gz +0 -0
- package/dist/index-BkWWhA-w.mjs.gz +0 -0
- package/dist/index-BmfroDWw.js.gz +0 -0
- package/dist/index-BsGaWJxG.js.gz +0 -0
- package/dist/index-Byc4xg-6.mjs.gz +0 -0
- package/dist/index-C-4rpWao.mjs.gz +0 -0
- package/dist/index-C2FhC3wc.js.gz +0 -0
- package/dist/index-C4_CIY8K.mjs.gz +0 -0
- package/dist/index-C7uJn3_B.js.gz +0 -0
- package/dist/index-CHcoJiqT.mjs.gz +0 -0
- package/dist/index-CRI2F6jG.mjs +0 -203
- package/dist/index-CRI2F6jG.mjs.gz +0 -0
- package/dist/index-CXnpzS1z.mjs.gz +0 -0
- package/dist/index-C__jbww0.mjs.gz +0 -0
- package/dist/index-C_gH4GLt.js.gz +0 -0
- package/dist/index-CveF0Pnh.js.gz +0 -0
- package/dist/index-D30HlTY6.mjs.gz +0 -0
- package/dist/index-D7TNFM8y.mjs.gz +0 -0
- package/dist/index-DGo9I56v.js.gz +0 -0
- package/dist/index-DP0Af_zS.js.gz +0 -0
- package/dist/index-DTdbq4TK.js.gz +0 -0
- package/dist/index-DmK4qau4.js.gz +0 -0
- package/dist/index-DnmwWbtK.js +0 -1
- package/dist/index-DnmwWbtK.js.gz +0 -0
- package/dist/index-DryFo3e9.mjs.gz +0 -0
- package/dist/index-Dx3Vt9UA.js.gz +0 -0
- package/dist/index-GSe9RsOo.mjs +0 -4
- package/dist/index-GvRg1lB7.js.gz +0 -0
- package/dist/index-MrKJsShg.js.gz +0 -0
- package/dist/index-efBOiywC.mjs.gz +0 -0
- package/dist/index-gfJT-kZi.js +0 -1
- package/dist/index-gfJT-kZi.js.gz +0 -0
- package/dist/index-i6RUDmGW.mjs.gz +0 -0
- package/dist/index-i_uVluGQ.js.gz +0 -0
- package/dist/index-kWbVdOOR.js.gz +0 -0
- package/dist/index-nG1eeRw3.mjs.gz +0 -0
- package/dist/index-ozjjZv_s.mjs.gz +0 -0
- package/dist/index-xAQb2zWM.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-B2l8Bcu_.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BhqWxfuJ.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-By7XhNXv.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-C51fFmoQ.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-D0DvwfhL.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DvcENAhD.js.gz +0 -0
- package/dist/link-DE-OioHb.mjs.gz +0 -0
- package/dist/link-HWn9lovV.js.gz +0 -0
- package/dist/list-BaNzHeVa.mjs.gz +0 -0
- package/dist/list-jfcbuKUc.js.gz +0 -0
- package/dist/main-B5l46E84.mjs.gz +0 -0
- package/dist/main-DpB9WLac.js.gz +0 -0
- package/dist/mobile-BMxGE9uz.js.gz +0 -0
- package/dist/mobile-XBvvB60o.mjs.gz +0 -0
- package/dist/parent-CLSeMxbp.mjs.gz +0 -0
- package/dist/parent-CoTCutfH.js.gz +0 -0
- package/dist/roleItem-BxJ6FWVZ.js.gz +0 -0
- package/dist/roleItem-DQODb-nH.mjs.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-BcTmDAHm.mjs.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-vhoBZDt6.js.gz +0 -0
- package/dist/scan-1Sm1FhZr.mjs.gz +0 -0
- package/dist/scan-Dcdxm81m.js.gz +0 -0
- package/dist/search-Cg-a1HjZ.mjs.gz +0 -0
- package/dist/search-badOlGGz.js.gz +0 -0
- package/dist/selectConfig-BlxKnKMv.js.gz +0 -0
- package/dist/selectConfig-CnjGTmUU.mjs.gz +0 -0
- package/dist/subItem-C3pyf1hB.mjs.gz +0 -0
- package/dist/subItem-CSO7Bz-O.js.gz +0 -0
- package/dist/tagsView-Cli4IXRc.js.gz +0 -0
- package/dist/tagsView-fNVkqhar.mjs.gz +0 -0
- package/dist/transverse-DnMi2rX_.mjs.gz +0 -0
- package/dist/transverse-H3Vai8yw.js.gz +0 -0
- package/dist/uploadAvatar-CLXg17cE.mjs.gz +0 -0
- package/dist/uploadAvatar-D95slvKY.js +0 -7
- package/dist/uploadAvatar-D95slvKY.js.gz +0 -0
- package/dist/user-BWEJqg3p.js.gz +0 -0
- package/dist/user-OZ_219V8.mjs.gz +0 -0
- package/dist/userNews-DT97e0aU.js.gz +0 -0
- package/dist/userNews-DfG4BDte.mjs.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-B_zFxg_g.js.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-Dp46w1nS.mjs.gz +0 -0
- package/dist/vertical-DP-orqOv.js.gz +0 -0
- package/dist/vertical-ivGc6Eo3.mjs.gz +0 -0
package/dist/index-CRI2F6jG.mjs
DELETED
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
var _ = Object.defineProperty;
|
|
2
|
-
var v = (n, e, o) => e in n ? _(n, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[e] = o;
|
|
3
|
-
var c = (n, e, o) => (v(n, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
|
-
import { ref as S, defineComponent as f, resolveComponent as d, openBlock as W, createElementBlock as x, createVNode as r, withCtx as b, createTextVNode as p, unref as k, isRef as y, withKeys as V } from "vue";
|
|
5
|
-
import { g as z, V as I } from "./index-BZ9rYml1.mjs";
|
|
6
|
-
import R from "./uploadAvatar-CLXg17cE.mjs";
|
|
7
|
-
class N {
|
|
8
|
-
/**
|
|
9
|
-
* @param url WebSocket地址
|
|
10
|
-
* @param reconnectInterval 重连间隔
|
|
11
|
-
* @param maxReconnectCount 最大重连次数
|
|
12
|
-
* 构造函数
|
|
13
|
-
*/
|
|
14
|
-
constructor(e, o = 0, i = 0) {
|
|
15
|
-
// WebSocket 实例
|
|
16
|
-
c(this, "webSocket", null);
|
|
17
|
-
// 消息
|
|
18
|
-
c(this, "message", S(""));
|
|
19
|
-
// WebSocket地址
|
|
20
|
-
c(this, "url");
|
|
21
|
-
// 重连间隔
|
|
22
|
-
c(this, "reconnectInterval");
|
|
23
|
-
// 重连次数
|
|
24
|
-
c(this, "reconnectCount", 0);
|
|
25
|
-
// 最大重连次数
|
|
26
|
-
c(this, "maxReconnectCount");
|
|
27
|
-
console.log("WebSocketService构造函数"), this.url = e, this.reconnectInterval = o, this.maxReconnectCount = i, this.connect(), this.onopen = this.onopen.bind(this), this.onmessage = this.onmessage.bind(this), this.onerror = this.onerror.bind(this), this.onclose = this.onclose.bind(this), this.send = this.send.bind(this), this.reconnect = this.reconnect.bind(this), this.close = this.close.bind(this), this.destroy = this.destroy.bind(this);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* 连接WebSocket
|
|
31
|
-
*/
|
|
32
|
-
connect() {
|
|
33
|
-
this.webSocket || (this.webSocket = new WebSocket(this.url)), console.log("连接WebSocket:", this.webSocket);
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* WebSocket连接成功时触发
|
|
37
|
-
*/
|
|
38
|
-
onopen(e) {
|
|
39
|
-
this.webSocket ? this.webSocket.onopen = () => {
|
|
40
|
-
this.reconnectCount = 0, e();
|
|
41
|
-
} : console.error("WebSocket not initialized");
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @param event
|
|
45
|
-
* 接收消息
|
|
46
|
-
*/
|
|
47
|
-
onmessage(e) {
|
|
48
|
-
this.webSocket ? this.webSocket.onmessage = e : console.error("WebSocket not initialized");
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @param message
|
|
52
|
-
* 发送消息
|
|
53
|
-
*/
|
|
54
|
-
send(e) {
|
|
55
|
-
this.webSocket && this.webSocket.readyState === WebSocket.OPEN ? this.webSocket.send(e) : console.error("WebSocket not connected");
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* WebSocket错误时触发
|
|
59
|
-
*/
|
|
60
|
-
onerror(e) {
|
|
61
|
-
this.webSocket ? this.webSocket.onerror = e : console.error("WebSocket not initialized");
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* WebSocket关闭时触发
|
|
65
|
-
*/
|
|
66
|
-
onclose(e) {
|
|
67
|
-
console.log("WebSocket关闭onclose=======2", this.webSocket), console.log("重连次数", this.reconnectCount), this.webSocket ? this.webSocket.onclose = () => {
|
|
68
|
-
if (this.reconnectInterval !== 0) {
|
|
69
|
-
if (this.reconnectCount >= this.maxReconnectCount && this.maxReconnectCount > 0) {
|
|
70
|
-
this.error({
|
|
71
|
-
code: 500,
|
|
72
|
-
message: "WebSocket reconnect count exceeds the maximum limit"
|
|
73
|
-
});
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
this.reconnectCount++, setTimeout(() => {
|
|
77
|
-
console.log("Attempting to reconnect...", this.connect, this.connect);
|
|
78
|
-
}, this.reconnectInterval), e();
|
|
79
|
-
}
|
|
80
|
-
} : console.error("WebSocket not initialized");
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* 手动重新连接 WebSocket
|
|
84
|
-
*/
|
|
85
|
-
reconnect() {
|
|
86
|
-
this.close(), this.connect();
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* 关闭WebSocket
|
|
90
|
-
*/
|
|
91
|
-
close() {
|
|
92
|
-
this.webSocket ? this.webSocket.close() : console.error("WebSocket not initialized");
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* 销毁WebSocket
|
|
96
|
-
*/
|
|
97
|
-
destroy() {
|
|
98
|
-
this.close(), this.webSocket = null;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* 报错方法
|
|
102
|
-
*/
|
|
103
|
-
error(e) {
|
|
104
|
-
return e;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
function P() {
|
|
108
|
-
function n(e, o) {
|
|
109
|
-
z(
|
|
110
|
-
R,
|
|
111
|
-
{ avatar: e, proxyId: o },
|
|
112
|
-
{
|
|
113
|
-
title: "修改头像",
|
|
114
|
-
width: "700",
|
|
115
|
-
height: "auto",
|
|
116
|
-
showFooter: !1,
|
|
117
|
-
success: ({ type: i, close: h, data: a }) => {
|
|
118
|
-
console.log("type", i, "close", h, "data", a);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
return { showPopupFn: n };
|
|
124
|
-
}
|
|
125
|
-
const F = { class: "h-full" }, L = f({
|
|
126
|
-
name: "operationlog"
|
|
127
|
-
}), B = /* @__PURE__ */ f({
|
|
128
|
-
...L,
|
|
129
|
-
setup(n) {
|
|
130
|
-
const { showPopupFn: e } = P();
|
|
131
|
-
let o = S([
|
|
132
|
-
// {
|
|
133
|
-
// name: 'test',
|
|
134
|
-
// url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png',
|
|
135
|
-
// id: '1',
|
|
136
|
-
// },
|
|
137
|
-
]);
|
|
138
|
-
function i() {
|
|
139
|
-
let s = new N("ws://127.0.0.1:11259", 3e3, 5);
|
|
140
|
-
s.onopen(() => {
|
|
141
|
-
console.log("连接成功");
|
|
142
|
-
}), s.onmessage((t) => {
|
|
143
|
-
console.log("接收消息", JSON.parse(t.data));
|
|
144
|
-
}), s.onerror((t) => {
|
|
145
|
-
console.log("连接失败", t);
|
|
146
|
-
}), s.onclose(() => {
|
|
147
|
-
console.log("WebSocket关闭onclose=======3");
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
function h() {
|
|
151
|
-
I("82be6ee10251413d9a630f3cd32a13de").then((s) => {
|
|
152
|
-
console.log("r", s);
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
const a = (s) => {
|
|
156
|
-
console.log("res", s);
|
|
157
|
-
}, m = S(""), w = () => {
|
|
158
|
-
};
|
|
159
|
-
return (s, t) => {
|
|
160
|
-
const u = d("hs-button"), g = d("bc-upload"), C = d("hs-input");
|
|
161
|
-
return W(), x("div", F, [
|
|
162
|
-
r(u, { onClick: i }, {
|
|
163
|
-
default: b(() => [
|
|
164
|
-
p("获取缓存数据")
|
|
165
|
-
]),
|
|
166
|
-
_: 1
|
|
167
|
-
}),
|
|
168
|
-
r(u, { onClick: h }, {
|
|
169
|
-
default: b(() => [
|
|
170
|
-
p("删除缓存数据")
|
|
171
|
-
]),
|
|
172
|
-
_: 1
|
|
173
|
-
}),
|
|
174
|
-
r(g, {
|
|
175
|
-
multiple: "",
|
|
176
|
-
action: "/pri/file/singlefile",
|
|
177
|
-
fileList: k(o),
|
|
178
|
-
"onUpdate:fileList": t[0] || (t[0] = (l) => y(o) ? o.value = l : o = l),
|
|
179
|
-
limit: 2,
|
|
180
|
-
proxy: "/qwp-web",
|
|
181
|
-
onOnSuccess: a
|
|
182
|
-
}, null, 8, ["fileList"]),
|
|
183
|
-
r(u, {
|
|
184
|
-
type: "primary",
|
|
185
|
-
onClick: t[1] || (t[1] = (l) => k(e)("", "/qwp-web"))
|
|
186
|
-
}, {
|
|
187
|
-
default: b(() => [
|
|
188
|
-
p("打开对话框")
|
|
189
|
-
]),
|
|
190
|
-
_: 1
|
|
191
|
-
}),
|
|
192
|
-
r(C, {
|
|
193
|
-
modelValue: m.value,
|
|
194
|
-
"onUpdate:modelValue": t[2] || (t[2] = (l) => m.value = l),
|
|
195
|
-
onKeyup: V(w, ["enter", "native"])
|
|
196
|
-
}, null, 8, ["modelValue"])
|
|
197
|
-
]);
|
|
198
|
-
};
|
|
199
|
-
}
|
|
200
|
-
});
|
|
201
|
-
export {
|
|
202
|
-
B as default
|
|
203
|
-
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index-DnmwWbtK.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DGo9I56v.js"),h=e.createElementVNode("span",null,"自定义插槽",-1),C=e.defineComponent({name:"home"}),p=e.defineComponent({...C,setup(g){e.ref(),e.ref(),e.ref();const l=s.useTagsViewRoutes(),u=s.useThemeConfig(),{themeConfig:i}=s.storeToRefs(u),{isTagsViewCurrenFull:a}=s.storeToRefs(l),r=e.reactive({info:"info",name:"name"});e.onMounted(()=>{}),e.onActivated(()=>{});const m=(o,t,n)=>{console.debug("父页面获取子组件事件:","row",o,"column:",t,"event:",n)},d=(o,t,n,c)=>{console.debug("鼠标右键:","row",o,"column:",t,"cell:",n,"event:",c)};return e.watch(()=>a.value,()=>{}),e.watch(()=>i.value.isIsDark,o=>{e.nextTick(()=>{})},{deep:!0,immediate:!0}),(o,t)=>{const n=e.resolveComponent("hs-bc-table");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(n,{onRowClick:m,onCellContextmenu:d},{[r.info]:e.withCtx(({row:c,column:f,rowIndex:_,columnIndex:w})=>[h]),[r.name]:e.withCtx(({row:c,column:f,rowIndex:_,columnIndex:w})=>[]),_:2},1024)])}}});exports.default=p;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index-GSe9RsOo.mjs
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index-gfJT-kZi.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var k=Object.defineProperty;var m=(s,e,t)=>e in s?k(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var i=(s,e,t)=>(m(s,typeof e!="symbol"?e+"":e,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),b=require("./index-DGo9I56v.js"),w=require("./uploadAvatar-D95slvKY.js");class g{constructor(e,t=0,r=0){i(this,"webSocket",null);i(this,"message",o.ref(""));i(this,"url");i(this,"reconnectInterval");i(this,"reconnectCount",0);i(this,"maxReconnectCount");console.log("WebSocketService构造函数"),this.url=e,this.reconnectInterval=t,this.maxReconnectCount=r,this.connect(),this.onopen=this.onopen.bind(this),this.onmessage=this.onmessage.bind(this),this.onerror=this.onerror.bind(this),this.onclose=this.onclose.bind(this),this.send=this.send.bind(this),this.reconnect=this.reconnect.bind(this),this.close=this.close.bind(this),this.destroy=this.destroy.bind(this)}connect(){this.webSocket||(this.webSocket=new WebSocket(this.url)),console.log("连接WebSocket:",this.webSocket)}onopen(e){this.webSocket?this.webSocket.onopen=()=>{this.reconnectCount=0,e()}:console.error("WebSocket not initialized")}onmessage(e){this.webSocket?this.webSocket.onmessage=e:console.error("WebSocket not initialized")}send(e){this.webSocket&&this.webSocket.readyState===WebSocket.OPEN?this.webSocket.send(e):console.error("WebSocket not connected")}onerror(e){this.webSocket?this.webSocket.onerror=e:console.error("WebSocket not initialized")}onclose(e){console.log("WebSocket关闭onclose=======2",this.webSocket),console.log("重连次数",this.reconnectCount),this.webSocket?this.webSocket.onclose=()=>{if(this.reconnectInterval!==0){if(this.reconnectCount>=this.maxReconnectCount&&this.maxReconnectCount>0){this.error({code:500,message:"WebSocket reconnect count exceeds the maximum limit"});return}this.reconnectCount++,setTimeout(()=>{console.log("Attempting to reconnect...",this.connect,this.connect)},this.reconnectInterval),e()}}:console.error("WebSocket not initialized")}reconnect(){this.close(),this.connect()}close(){this.webSocket?this.webSocket.close():console.error("WebSocket not initialized")}destroy(){this.close(),this.webSocket=null}error(e){return e}}function C(){function s(e,t){b.showPopup(w.default,{avatar:e,proxyId:t},{title:"修改头像",width:"700",height:"auto",showFooter:!1,success:({type:r,close:h,data:u})=>{console.log("type",r,"close",h,"data",u)}})}return{showPopupFn:s}}const v={class:"h-full"},_=o.defineComponent({name:"operationlog"}),x=o.defineComponent({..._,setup(s){const{showPopupFn:e}=C();let t=o.ref([]);function r(){let c=new g("ws://127.0.0.1:11259",3e3,5);c.onopen(()=>{console.log("连接成功")}),c.onmessage(n=>{console.log("接收消息",JSON.parse(n.data))}),c.onerror(n=>{console.log("连接失败",n)}),c.onclose(()=>{console.log("WebSocket关闭onclose=======3")})}function h(){b.removeConfig("82be6ee10251413d9a630f3cd32a13de").then(c=>{console.log("r",c)})}const u=c=>{console.log("res",c)},d=o.ref(""),p=()=>{};return(c,n)=>{const a=o.resolveComponent("hs-button"),S=o.resolveComponent("bc-upload"),f=o.resolveComponent("hs-input");return o.openBlock(),o.createElementBlock("div",v,[o.createVNode(a,{onClick:r},{default:o.withCtx(()=>[o.createTextVNode("获取缓存数据")]),_:1}),o.createVNode(a,{onClick:h},{default:o.withCtx(()=>[o.createTextVNode("删除缓存数据")]),_:1}),o.createVNode(S,{multiple:"",action:"/pri/file/singlefile",fileList:o.unref(t),"onUpdate:fileList":n[0]||(n[0]=l=>o.isRef(t)?t.value=l:t=l),limit:2,proxy:"/qwp-web",onOnSuccess:u},null,8,["fileList"]),o.createVNode(a,{type:"primary",onClick:n[1]||(n[1]=l=>o.unref(e)("","/qwp-web"))},{default:o.withCtx(()=>[o.createTextVNode("打开对话框")]),_:1}),o.createVNode(f,{modelValue:d.value,"onUpdate:modelValue":n[2]||(n[2]=l=>d.value=l),onKeyup:o.withKeys(p,["enter","native"])},null,8,["modelValue"])])}}});exports.default=x;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/link-HWn9lovV.js.gz
DELETED
|
Binary file
|
|
Binary file
|
package/dist/list-jfcbuKUc.js.gz
DELETED
|
Binary file
|
|
Binary file
|
package/dist/main-DpB9WLac.js.gz
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/scan-Dcdxm81m.js.gz
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),y=require("./index-DGo9I56v.js"),O={};O.getData=e=>new Promise((t,i)=>{let s={};Y(e).then(o=>{s.arrayBuffer=o;try{s.orientation=E(o)}catch{s.orientation=-1}t(s)}).catch(o=>{i(o)})});function Y(e){let t=null;return new Promise((i,s)=>{if(e.src)if(/^data\:/i.test(e.src))t=S(e.src),i(t);else if(/^blob\:/i.test(e.src)){var o=new FileReader;o.onload=function(h){t=h.target.result,i(t)},M(e.src,function(h){o.readAsArrayBuffer(h)})}else{var r=new XMLHttpRequest;r.onload=function(){if(this.status==200||this.status===0)t=r.response,i(t);else throw"Could not load image";r=null},r.open("GET",e.src,!0),r.responseType="arraybuffer",r.send(null)}else s("img error")})}function M(e,t){var i=new XMLHttpRequest;i.open("GET",e,!0),i.responseType="blob",i.onload=function(s){(this.status==200||this.status===0)&&t(this.response)},i.send()}function S(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/mi)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gmi,"");for(var i=atob(e),s=i.length%2==0?i.length:i.length+1,o=new ArrayBuffer(s),r=new Uint16Array(o),h=0;h<s;h++)r[h]=i.charCodeAt(h);return o}function N(e,t,i){var s="",o;for(o=t,i+=t;o<i;o++)s+=String.fromCharCode(e.getUint8(o));return s}function E(e){var t=new DataView(e),i=t.byteLength,s,o,r,h,l,p,c,n,f,d;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(f=2;f<i;){if(t.getUint8(f)===255&&t.getUint8(f+1)===225){c=f;break}f++}if(c&&(o=c+4,r=c+10,N(t,o,4)==="Exif"&&(p=t.getUint16(r),l=p===18761,(l||p===19789)&&t.getUint16(r+2,l)===42&&(h=t.getUint32(r+4,l),h>=8&&(n=r+h)))),n){for(i=t.getUint16(n,l),d=0;d<i;d++)if(f=n+d*12+2,t.getUint16(f,l)===274){f+=8,s=t.getUint16(f,l);break}}return s}const I={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 o=new RegExp(e,"i");for(var r=0;r<t.length;r++)o.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 h=this.getVersion("version");h[0]>13&&h[1]>1&&(t=-1)}else{const h=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(h){let l=h[1];l=l.split("_"),(l[0]>13||l[0]>=13&&l[1]>=4)&&(t=-1)}}let o=document.createElement("canvas"),r=o.getContext("2d");switch(r.save(),t){case 2:o.width=i,o.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:o.width=i,o.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:o.width=i,o.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:o.height=i,o.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:o.width=s,o.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:o.height=i,o.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:o.height=i,o.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:o.width=i,o.height=s}r.drawImage(e,0,0,i,s),r.restore(),o.toBlob(h=>{let l=URL.createObjectURL(h);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.getData(e).then(o=>{this.orientation=o.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(o=>{this.$emit("img-load","error"),this.$emit("img-load-error",o)})},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},o={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:e.touches[1].clientX,y:e.touches[1].clientY},h=Math.sqrt(Math.pow(i.x-o.x,2)+Math.pow(i.y-o.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),p=l-h,c=1;c=c/this.trueWidth>c/this.trueHeight?c/this.trueHeight:c/this.trueWidth,c=c>.1?.1:c;var n=c*p;if(!this.touchNow){if(this.touchNow=!0,p>0?t+=Math.abs(n):p<0&&t>Math.abs(n)&&(t-=Math.abs(n)),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,o;s=t-this.moveX,o=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,o,this.scale),h=this.getCropAxis(),l=this.trueHeight*this.scale,p=this.trueWidth*this.scale,c,n,f,d;switch(this.rotate){case 1:case-1:case 3:case-3:c=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(l-p)/2,n=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(p-l)/2,f=c-l+this.cropW,d=n-p+this.cropH;break;default:c=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,n=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,f=c-p+this.cropW,d=n-l+this.cropH;break}r.x1>=h.x1&&(s=c),r.y1>=h.y1&&(o=n),r.x2<=h.x2&&(s=f),r.y2<=h.y2&&(o=d)}this.x=s,this.y=o,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 o=this.coe;o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth;var r=o*i;r<0?t+=Math.abs(r):t>Math.abs(r)&&(t-=Math.abs(r));let h=r<0?"add":"reduce";if(h!==this.coeStatus&&(this.coeStatus=h,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,o=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)o>0?(this.cropH=o+this.cropChangeY>this.h?this.h-this.cropChangeY:o,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(o)>this.h?this.cropChangeY:Math.abs(o),this.cropOffsertY=this.cropChangeY+o>0?this.cropChangeY+o: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,o){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=o,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,o=this.h,r=0,h=0;if(this.centerBox){let c=this.getImgAxis(),n=c.x2,f=c.y2;r=c.x1>0?c.x1:0,h=c.y1>0?c.y1:0,s>n&&(s=n),o>f&&(o=f)}const[l,p]=this.checkCropLimitSize();this.$nextTick(()=>{var c=t-this.cropX,n=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-c<l?(this.cropW=l,this.cropOffsertX=this.cropOldW+this.cropChangeX-r-l):this.cropOldW-c>0?(this.cropW=s-this.cropChangeX-c<=s-r?this.cropOldW-c:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-c<=s-r?this.cropChangeX+c:r):(this.cropW=Math.abs(c)+this.cropChangeX<=s?Math.abs(c)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+c<l?this.cropW=l:this.cropOldW+c>0?(this.cropW=this.cropOldW+c+this.cropOffsertX<=s?this.cropOldW+c:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(c+this.cropOldW)<=s-r?Math.abs(c+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(c+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(c+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-n<p?(this.cropH=p,this.cropOffsertY=this.cropOldH+this.cropChangeY-h-p):this.cropOldH-n>0?(this.cropH=o-this.cropChangeY-n<=o-h?this.cropOldH-n:this.cropOldH+this.cropChangeY-h,this.cropOffsertY=o-this.cropChangeY-n<=o-h?this.cropChangeY+n:h):(this.cropH=Math.abs(n)+this.cropChangeY<=o?Math.abs(n)-this.cropOldH:o-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+n<p?this.cropH=p:this.cropOldH+n>0?(this.cropH=this.cropOldH+n+this.cropOffsertY<=o?this.cropOldH+n:o-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=o-this.cropChangeY+Math.abs(n+this.cropOldH)<=o-h?Math.abs(n+this.cropOldH):this.cropChangeY-h,this.cropOffsertY=o-this.cropChangeY+Math.abs(n+this.cropOldH)<=o-h?this.cropChangeY-Math.abs(n+this.cropOldH):h))),this.canChangeX&&this.fixed){var f=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];f<p?(this.cropH=p,this.cropW=this.fixedNumber[0]*p/this.fixedNumber[1],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):f+this.cropOffsertY>o?(this.cropH=o-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 d=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];d<l?(this.cropW=l,this.cropH=this.fixedNumber[1]*l/this.fixedNumber[0]):d+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=d}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,o,r){const h=e/t;let l=o,p=r;return l<i&&(l=i,p=Math.ceil(l/h)),p<s&&(p=s,l=Math.ceil(p*h),l<i&&(l=i,p=Math.ceil(l/h))),l<o&&(l=o,p=Math.ceil(l/h)),p<r&&(p=r,l=Math.ceil(p*h)),{width:l,height:p}},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,o;s=t-this.cropOffsertX,o=i-this.cropOffsertY,this.cropX=s,this.cropY=o,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 o,r,h=i-this.cropX,l=s-this.cropY;if(t&&(h=this.cropOffsertX,l=this.cropOffsertY),h<=0?o=0:h+this.cropW>this.w?o=this.w-this.cropW:o=h,l<=0?r=0:l+this.cropH>this.h?r=this.h-this.cropH:r=l,this.centerBox){let p=this.getImgAxis();o<=p.x1&&(o=p.x1),o+this.cropW>p.x2&&(o=p.x2-this.cropW),r<=p.y1&&(r=p.y1),r+this.cropH>p.y2&&(r=p.y2-this.cropH)}this.cropOffsertX=o,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},o=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+(o-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=t+this.trueHeight*(1-i)/2+(r-o)/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,o=this.trueWidth,r=this.trueHeight,h=this.cropOffsertX,l=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let n=t.getContext("2d"),f=1;this.high&!this.full&&(f=window.devicePixelRatio),this.enlarge!==1&!this.full&&(f=Math.abs(Number(this.enlarge)));let d=this.cropW*f,C=this.cropH*f,m=o*this.scale*f,v=r*this.scale*f,g=(this.x-h+this.trueWidth*(1-this.scale)/2)*f,u=(this.y-l+this.trueHeight*(1-this.scale)/2)*f;switch(c(d,C),n.save(),this.fillColor&&(n.fillStyle=this.fillColor,n.fillRect(0,0,t.width,t.height)),s){case 0:this.full?(c(d/this.scale,C/this.scale),n.drawImage(i,g/this.scale,u/this.scale,m/this.scale,v/this.scale)):n.drawImage(i,g,u,m,v);break;case 1:case-3:this.full?(c(d/this.scale,C/this.scale),g=g/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,u,-g-v/this.scale,m/this.scale,v/this.scale)):(g=g+(m-v)/2,u=u+(v-m)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,u,-g-v,m,v));break;case 2:case-2:this.full?(c(d/this.scale,C/this.scale),n.rotate(s*90*Math.PI/180),g=g/this.scale,u=u/this.scale,n.drawImage(i,-g-m/this.scale,-u-v/this.scale,m/this.scale,v/this.scale)):(n.rotate(s*90*Math.PI/180),n.drawImage(i,-g-m,-u-v,m,v));break;case 3:case-1:this.full?(c(d/this.scale,C/this.scale),g=g/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,-u-m/this.scale,g,m/this.scale,v/this.scale)):(g=g+(m-v)/2,u=u+(v-m)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,-u-m,g,m,v));break;default:this.full?(c(d/this.scale,C/this.scale),n.drawImage(i,g/this.scale,u/this.scale,m/this.scale,v/this.scale)):n.drawImage(i,g,u,m,v)}n.restore()}else{let n=o*this.scale,f=r*this.scale,d=t.getContext("2d");switch(d.save(),this.fillColor&&(d.fillStyle=this.fillColor,d.fillRect(0,0,t.width,t.height)),s){case 0:c(n,f),d.drawImage(i,0,0,n,f);break;case 1:case-3:c(f,n),d.rotate(s*90*Math.PI/180),d.drawImage(i,0,-f,n,f);break;case 2:case-2:c(n,f),d.rotate(s*90*Math.PI/180),d.drawImage(i,-n,-f,n,f);break;case 3:case-1:c(f,n),d.rotate(s*90*Math.PI/180),d.drawImage(i,-n,0,n,f);break;default:c(n,f),d.drawImage(i,0,0,n,f)}d.restore()}e(t)};var p=this.img.substr(0,4);p!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function c(n,f){t.width=Math.round(n),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 o=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,h=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(${o}px, ${r}px, ${h}px)rotateZ(${this.rotate*90}deg)`},s.html=`
|
|
2
|
-
<div class="show-preview" style="width: ${s.w}px; height: ${s.h}px; overflow: hidden">
|
|
3
|
-
<div style="width: ${e}px; height: ${t}px">
|
|
4
|
-
<img src=${s.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:
|
|
5
|
-
scale(${i})translate3d(${o}px, ${r}px, ${h}px)rotateZ(${this.rotate*90}deg)">
|
|
6
|
-
</div>
|
|
7
|
-
</div>`,this.$emit("realTime",s),this.$emit("real-time",s)},reload(){let e=new Image;e.onload=()=>{this.w=parseFloat(window.getComputedStyle(this.$refs.cropper).width),this.h=parseFloat(window.getComputedStyle(this.$refs.cropper).height),this.trueWidth=e.width,this.trueHeight=e.height,this.original?this.scale=1:this.scale=this.checkedMode(),this.$nextTick(()=>{this.x=-(this.trueWidth-this.trueWidth*this.scale)/2+(this.w-this.trueWidth*this.scale)/2,this.y=-(this.trueHeight-this.trueHeight*this.scale)/2+(this.h-this.trueHeight*this.scale)/2,this.loading=!1,this.autoCrop&&this.goAutoCrop(),this.$emit("img-load","success"),this.$emit("imgLoad","success"),setTimeout(()=>{this.showPreview()},20)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error")},e.src=this.imgs},checkedMode(){let e=1,t=this.trueWidth,i=this.trueHeight;const s=this.mode.split(" ");switch(s[0]){case"contain":this.trueWidth>this.w&&(e=this.w/this.trueWidth),this.trueHeight*e>this.h&&(e=this.h/this.trueHeight);break;case"cover":t=this.w,e=t/this.trueWidth,i=i*e,i<this.h&&(i=this.h,e=i/this.trueHeight);break;default:try{let o=s[0];if(o.search("px")!==-1){o=o.replace("px",""),t=parseFloat(o);const r=t/this.trueWidth;let h=1,l=s[1];l.search("px")!==-1&&(l=l.replace("px",""),i=parseFloat(l),h=i/this.trueHeight),e=Math.min(r,h)}if(o.search("%")!==-1&&(o=o.replace("%",""),t=parseFloat(o)/100*this.w,e=t/this.trueWidth),s.length===2&&o==="auto"){let r=s[1];r.search("px")!==-1&&(r=r.replace("px",""),i=parseFloat(r),e=i/this.trueHeight),r.search("%")!==-1&&(r=r.replace("%",""),i=parseFloat(r)/100*this.h,e=i/this.trueHeight)}}catch{e=1}}return e},goAutoCrop(e,t){if(this.imgs===""||this.imgs===null)return;this.clearCrop(),this.cropping=!0;let i=this.w,s=this.h;if(this.centerBox){const h=Math.abs(this.rotate)%2>0;let l=(h?this.trueHeight:this.trueWidth)*this.scale,p=(h?this.trueWidth:this.trueHeight)*this.scale;i=l<i?l:i,s=p<s?p:s}var o=e||parseFloat(this.autoCropWidth),r=t||parseFloat(this.autoCropHeight);(o===0||r===0)&&(o=i*.8,r=s*.8),o=o>i?i:o,r=r>s?s:r,this.fixed&&(r=o/this.fixedNumber[0]*this.fixedNumber[1]),r>this.h&&(r=this.h,o=r/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(o,r)},changeCrop(e,t){if(this.centerBox){let i=this.getImgAxis();e>i.x2-i.x1&&(e=i.x2-i.x1,t=e/this.fixedNumber[0]*this.fixedNumber[1]),t>i.y2-i.y1&&(t=i.y2-i.y1,e=t/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=e,this.cropH=t,this.checkCropLimitSize(),this.$nextTick(()=>{this.cropOffsertX=(this.w-this.cropW)/2,this.cropOffsertY=(this.h-this.cropH)/2,this.centerBox&&this.moveCrop(null,!0)})},refresh(){this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick(()=>{this.checkedImg()})},rotateLeft(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear(){this.rotate=0},checkoutImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s=!0;if(this.centerBox){let o=this.getImgAxis(e,t,i),r=this.getCropAxis();o.x1>=r.x1&&(s=!1),o.x2<=r.x2&&(s=!1),o.y1>=r.y1&&(s=!1),o.y2<=r.y2&&(s=!1)}return s}},mounted(){this.support="onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll";let e=this;var t=navigator.userAgent;this.isIOS=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(i,s,o){for(var r=atob(this.toDataURL(s,o).split(",")[1]),h=r.length,l=new Uint8Array(h),p=0;p<h;p++)l[p]=r.charCodeAt(p);i(new Blob([l],{type:e.type||"image/png"}))}}),this.showPreview(),this.checkedImg()},destroyed(){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.cancelScale()}},L={key:0,class:"cropper-box"},k=["src"],T={class:"cropper-view-box"},A=["src"],z={key:1};function V(e,t,i,s,o,r){return a.openBlock(),a.createElementBlock("div",{class:"vue-cropper",ref:"cropper",onMouseover:t[28]||(t[28]=(...h)=>r.scaleImg&&r.scaleImg(...h)),onMouseout:t[29]||(t[29]=(...h)=>r.cancelScale&&r.cancelScale(...h))},[e.imgs?(a.openBlock(),a.createElementBlock("div",L,[a.withDirectives(a.createElementVNode("div",{class:"cropper-box-canvas",style:a.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+e.x/e.scale+"px,"+e.y/e.scale+"px,0)rotateZ("+e.rotate*90+"deg)"})},[a.createElementVNode("img",{src:e.imgs,alt:"cropper-img",ref:"cropperImg"},null,8,k)],4),[[a.vShow,!e.loading]])])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["cropper-drag-box",{"cropper-move":e.move&&!e.crop,"cropper-crop":e.crop,"cropper-modal":e.cropping}]),onMousedown:t[0]||(t[0]=(...h)=>r.startMove&&r.startMove(...h)),onTouchstart:t[1]||(t[1]=(...h)=>r.startMove&&r.startMove(...h))},null,34),a.withDirectives(a.createElementVNode("div",{class:"cropper-crop-box",style:a.normalizeStyle({width:e.cropW+"px",height:e.cropH+"px",transform:"translate3d("+e.cropOffsertX+"px,"+e.cropOffsertY+"px,0)"})},[a.createElementVNode("span",T,[a.createElementVNode("img",{style:a.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+(e.x-e.cropOffsertX)/e.scale+"px,"+(e.y-e.cropOffsertY)/e.scale+"px,0)rotateZ("+e.rotate*90+"deg)"}),src:e.imgs,alt:"cropper-img"},null,12,A)]),a.createElementVNode("span",{class:"cropper-face cropper-move",onMousedown:t[2]||(t[2]=(...h)=>r.cropMove&&r.cropMove(...h)),onTouchstart:t[3]||(t[3]=(...h)=>r.cropMove&&r.cropMove(...h))},null,32),i.info?(a.openBlock(),a.createElementBlock("span",{key:0,class:"crop-info",style:a.normalizeStyle({top:r.cropInfo.top})},a.toDisplayString(r.cropInfo.width)+" × "+a.toDisplayString(r.cropInfo.height),5)):a.createCommentVNode("",!0),i.fixedBox?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("span",z,[a.createElementVNode("span",{class:"crop-line line-w",onMousedown:t[4]||(t[4]=h=>r.changeCropSize(h,!1,!0,0,1)),onTouchstart:t[5]||(t[5]=h=>r.changeCropSize(h,!1,!0,0,1))},null,32),a.createElementVNode("span",{class:"crop-line line-a",onMousedown:t[6]||(t[6]=h=>r.changeCropSize(h,!0,!1,1,0)),onTouchstart:t[7]||(t[7]=h=>r.changeCropSize(h,!0,!1,1,0))},null,32),a.createElementVNode("span",{class:"crop-line line-s",onMousedown:t[8]||(t[8]=h=>r.changeCropSize(h,!1,!0,0,2)),onTouchstart:t[9]||(t[9]=h=>r.changeCropSize(h,!1,!0,0,2))},null,32),a.createElementVNode("span",{class:"crop-line line-d",onMousedown:t[10]||(t[10]=h=>r.changeCropSize(h,!0,!1,2,0)),onTouchstart:t[11]||(t[11]=h=>r.changeCropSize(h,!0,!1,2,0))},null,32),a.createElementVNode("span",{class:"crop-point point1",onMousedown:t[12]||(t[12]=h=>r.changeCropSize(h,!0,!0,1,1)),onTouchstart:t[13]||(t[13]=h=>r.changeCropSize(h,!0,!0,1,1))},null,32),a.createElementVNode("span",{class:"crop-point point2",onMousedown:t[14]||(t[14]=h=>r.changeCropSize(h,!1,!0,0,1)),onTouchstart:t[15]||(t[15]=h=>r.changeCropSize(h,!1,!0,0,1))},null,32),a.createElementVNode("span",{class:"crop-point point3",onMousedown:t[16]||(t[16]=h=>r.changeCropSize(h,!0,!0,2,1)),onTouchstart:t[17]||(t[17]=h=>r.changeCropSize(h,!0,!0,2,1))},null,32),a.createElementVNode("span",{class:"crop-point point4",onMousedown:t[18]||(t[18]=h=>r.changeCropSize(h,!0,!1,1,0)),onTouchstart:t[19]||(t[19]=h=>r.changeCropSize(h,!0,!1,1,0))},null,32),a.createElementVNode("span",{class:"crop-point point5",onMousedown:t[20]||(t[20]=h=>r.changeCropSize(h,!0,!1,2,0)),onTouchstart:t[21]||(t[21]=h=>r.changeCropSize(h,!0,!1,2,0))},null,32),a.createElementVNode("span",{class:"crop-point point6",onMousedown:t[22]||(t[22]=h=>r.changeCropSize(h,!0,!0,1,2)),onTouchstart:t[23]||(t[23]=h=>r.changeCropSize(h,!0,!0,1,2))},null,32),a.createElementVNode("span",{class:"crop-point point7",onMousedown:t[24]||(t[24]=h=>r.changeCropSize(h,!1,!0,0,2)),onTouchstart:t[25]||(t[25]=h=>r.changeCropSize(h,!1,!0,0,2))},null,32),a.createElementVNode("span",{class:"crop-point point8",onMousedown:t[26]||(t[26]=h=>r.changeCropSize(h,!0,!0,2,2)),onTouchstart:t[27]||(t[27]=h=>r.changeCropSize(h,!0,!0,2,2))},null,32)]))],4),[[a.vShow,e.cropping]])],544)}const B=y._export_sfc(I,[["render",V],["__scopeId","data-v-168a3964"]]),P={class:"h-full"},$={class:"avatar-upload-preview"},R=["src"],U=a.defineComponent({__name:"uploadAvatar",props:{avatar:{default:""},close:{type:Function,default:close},proxyId:{default:""}},setup(e){const{postSinglefile:t,postUpdateFile:i}=y.useFileController(),s=e;let o=a.ref({});a.onMounted(async()=>{o.value=await y.systemStore.get("userInfo")});let{avatar:r}=a.toRefs(s);const h=a.reactive({img:"",autoCrop:!0,autoCropWidth:200,autoCropHeight:200,fixedBox:!1,outputSize:.5,outputType:"jpeg",canScale:!1,fixed:!1,fixedNumber:[1,1],full:!0,canMoveBox:!1,original:!1,centerBox:!1,infoTrue:!0,filename:""}),l=a.ref({}),p=a.ref({});a.ref(!1);let c=g=>{g=="left"&&p.value.rotateLeft(),g=="right"&&p.value.rotateRight()},n=g=>{const u=g||1;p.value.changeScale(u)},f=()=>{p.value.refresh()};const d=g=>{l.value=g};let C=()=>{},m=g=>{if(["image/png","image/jpg","image/jpeg","image/PNG","image/JPG","image/JPEG","image/gif"].includes(g.type)){const w=new FileReader;w.readAsDataURL(g),w.onload=()=>{h.img=w.result,h.filename=g.name}}else return y.ElMessage.error("图片格式有误,请重新上传"),!1},v=()=>{h.img||y.ElMessage.warning("请先选择图片"),p.value.getCropBlob(async g=>{const u=await t({data:{file:g},proxy:s.proxyId}),w=await i({data:{id:o.value.id,attchIdArrStr:u.data.id,attachType:2},proxy:s.proxyId});s.close(w)})};return a.onMounted(()=>{setTimeout(()=>{h.img=r.value},100)}),(g,u)=>{const w=a.resolveComponent("el-col"),H=a.resolveComponent("el-row"),W=a.resolveComponent("bc-icon"),x=a.resolveComponent("el-button"),X=a.resolveComponent("hs-upload");return a.openBlock(),a.createElementBlock("div",P,[a.createVNode(H,null,{default:a.withCtx(()=>[a.createVNode(w,{xs:24,md:13,style:{height:"350px"}},{default:a.withCtx(()=>[a.createVNode(B,{ref_key:"cropperRef",ref:p,img:h.img,info:!0,infoTrue:h.infoTrue,"auto-crop":h.autoCrop,"fixed-box":h.fixedBox,fixedNumber:h.fixedNumber,fixed:h.fixed,centerBox:h.centerBox,outputType:"png",onRealTime:d},null,8,["img","infoTrue","auto-crop","fixed-box","fixedNumber","fixed","centerBox"])]),_:1}),a.createVNode(w,{xs:24,md:11,style:{height:"350px"}},{default:a.withCtx(()=>[a.createElementVNode("div",$,[a.createElementVNode("img",{src:l.value.url,style:a.normalizeStyle(l.value.img)},null,12,R)])]),_:1})]),_:1}),a.createVNode(H,{class:"ptb2 py-3"},{default:a.withCtx(()=>[a.createVNode(w,{lg:2,md:2},{default:a.withCtx(()=>[a.createVNode(X,{action:"#","http-request":a.unref(C),"show-file-list":!1,"before-upload":a.unref(m),accept:"image/*"},{default:a.withCtx(()=>[a.createVNode(x,{size:"default"},{default:a.withCtx(()=>[a.createTextVNode(" 选择 "),a.createVNode(W,{name:"ele-UploadFilled"})]),_:1})]),_:1},8,["http-request","before-upload"])]),_:1}),a.createVNode(w,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",icon:"ele-Plus",onClick:u[0]||(u[0]=b=>a.unref(n)(1))})]),_:1}),a.createVNode(w,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",icon:"ele-Minus",onClick:u[1]||(u[1]=b=>a.unref(n)(-1))})]),_:1}),a.createVNode(w,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",icon:"ele-RefreshLeft",onClick:u[2]||(u[2]=b=>a.unref(c)("left"))})]),_:1}),a.createVNode(w,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",icon:"ele-RefreshRight",onClick:u[3]||(u[3]=b=>a.unref(c)("right"))})]),_:1}),a.createVNode(w,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",onClick:u[4]||(u[4]=b=>a.unref(f)())},{default:a.withCtx(()=>[a.createTextVNode("重 置")]),_:1})]),_:1}),a.createVNode(w,{lg:{span:1,offset:7},md:2},{default:a.withCtx(()=>[a.createVNode(x,{size:"default",type:"primary",onClick:u[5]||(u[5]=b=>a.unref(v)())},{default:a.withCtx(()=>[a.createTextVNode("提 交")]),_:1})]),_:1})]),_:1})])}}}),D=y._export_sfc(U,[["__scopeId","data-v-99513ec9"]]);exports.default=D;
|
|
Binary file
|
package/dist/user-BWEJqg3p.js.gz
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|