hs-admin-ui 2.7.1 → 2.7.3
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-DJx98OZe.js → 401-BGiubDDG.js} +1 -1
- package/dist/401-BGiubDDG.js.gz +0 -0
- package/dist/{401-6sy1SV7A.mjs → 401-CdjLE3Xt.mjs} +1 -1
- package/dist/401-CdjLE3Xt.mjs.gz +0 -0
- package/dist/{404-C5LCepot.mjs → 404-ClW_lHgn.mjs} +1 -1
- package/dist/{404-C5LCepot.mjs.gz → 404-ClW_lHgn.mjs.gz} +0 -0
- package/dist/{404-NqEBJst5.js → 404-DCRwpNX0.js} +1 -1
- package/dist/404-DCRwpNX0.js.gz +0 -0
- package/dist/{account-0hMfRnwO.js → account-COKVmxD4.js} +1 -1
- package/dist/account-COKVmxD4.js.gz +0 -0
- package/dist/{account-BdrdvMtD.mjs → account-DOykGp1J.mjs} +2 -2
- package/dist/account-DOykGp1J.mjs.gz +0 -0
- package/dist/{aside-CQEOAhWQ.mjs → aside-Cs7AvDMO.mjs} +2 -2
- package/dist/aside-Cs7AvDMO.mjs.gz +0 -0
- package/dist/{aside-BSk6fgU3.js → aside-DoTHCIa2.js} +1 -1
- package/dist/aside-DoTHCIa2.js.gz +0 -0
- package/dist/{btnIndex-CqOsiuZb.mjs → btnIndex-BKVd2J_k.mjs} +2 -2
- package/dist/btnIndex-BKVd2J_k.mjs.gz +0 -0
- package/dist/{btnIndex-Dcm0J8Lg.js → btnIndex-DyMzTt_G.js} +1 -1
- package/dist/btnIndex-DyMzTt_G.js.gz +0 -0
- package/dist/{classic-D93DrrgX.js → classic-C3N9YWR2.js} +1 -1
- package/dist/classic-C3N9YWR2.js.gz +0 -0
- package/dist/{classic-Dw-STnNX.mjs → classic-fMoGirBS.mjs} +2 -2
- package/dist/classic-fMoGirBS.mjs.gz +0 -0
- package/dist/{cloneConfigDialog-DvA1TP1R.mjs → cloneConfigDialog-BkKUJqYt.mjs} +1 -1
- package/dist/cloneConfigDialog-BkKUJqYt.mjs.gz +0 -0
- package/dist/{cloneConfigDialog-BsxnjOhF.js → cloneConfigDialog-Dzk9iFlb.js} +1 -1
- package/dist/cloneConfigDialog-Dzk9iFlb.js.gz +0 -0
- package/dist/{columns-B6ZvvNjj.js → columns-DAaHNy_v.js} +1 -1
- package/dist/columns-DAaHNy_v.js.gz +0 -0
- package/dist/{columns-CSB8OLDm.mjs → columns-DK6HF-zZ.mjs} +2 -2
- package/dist/columns-DK6HF-zZ.mjs.gz +0 -0
- package/dist/{columnsAside-DDQy_p-Y.js → columnsAside-CKVopkBz.js} +1 -1
- package/dist/columnsAside-CKVopkBz.js.gz +0 -0
- package/dist/{columnsAside-qWg6xmRG.mjs → columnsAside-Qo1Qw7XB.mjs} +7 -7
- package/dist/columnsAside-Qo1Qw7XB.mjs.gz +0 -0
- package/dist/{contextmenu-DL1-EtTo.mjs → contextmenu-B7WkNk8F.mjs} +1 -1
- package/dist/contextmenu-B7WkNk8F.mjs.gz +0 -0
- package/dist/{contextmenu-BCDUg4NJ.js → contextmenu-BiN7r5V-.js} +1 -1
- package/dist/contextmenu-BiN7r5V-.js.gz +0 -0
- package/dist/{contextmenu-DjId0tVP.js → contextmenu-BjOl-kOV.js} +1 -1
- package/dist/contextmenu-BjOl-kOV.js.gz +0 -0
- package/dist/{contextmenu-BGps-I8D.js → contextmenu-CvVARb4k.js} +1 -1
- package/dist/contextmenu-CvVARb4k.js.gz +0 -0
- package/dist/{contextmenu-CucHZwh7.mjs → contextmenu-CxmAw3zT.mjs} +1 -1
- package/dist/contextmenu-CxmAw3zT.mjs.gz +0 -0
- package/dist/{contextmenu-1IYIUuyh.mjs → contextmenu-Dww3tb27.mjs} +1 -1
- package/dist/contextmenu-Dww3tb27.mjs.gz +0 -0
- package/dist/{defaults-DZGM5-0m.mjs → defaults-CUF9Ti5D.mjs} +2 -2
- package/dist/defaults-CUF9Ti5D.mjs.gz +0 -0
- package/dist/{defaults-CfmQMkry.js → defaults-DBJrhFwH.js} +1 -1
- package/dist/defaults-DBJrhFwH.js.gz +0 -0
- package/dist/{dialog-CGeXcdXM.js → dialog-BVBrpLRI.js} +1 -1
- package/dist/{dialog-Dn6vYsli.mjs → dialog-BgYY3WCP.mjs} +1 -1
- package/dist/{dialog-C5pyXimZ.mjs → dialog-CQ2m9kYe.mjs} +1 -1
- package/dist/{dialog-DrhEiZGn.js → dialog-CS66gy9U.js} +1 -1
- package/dist/{dialog-BTBfy6MP.js → dialog-Ch8US565.js} +1 -1
- package/dist/{dialog-lpHnG3do.mjs → dialog-DgVLTS-r.mjs} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B288fKW6.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CHevxHKI.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CHevxHKI.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-C0mrUlva.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-HMarRYxy.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-HMarRYxy.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DJ_B3qQX.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DcG3WTCE.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DcG3WTCE.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CKfY2EvN.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DveYuELK.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DveYuELK.js.gz +0 -0
- package/dist/{dictDialog-Bo0s-TBY.mjs → dictDialog-DLWub3Fx.mjs} +1 -1
- package/dist/{dictDialog-DoKPYVa6.js → dictDialog-DQK_Ir4f.js} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DZo_37lp.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BXATyArr.mjs} +2 -2
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BXATyArr.mjs.gz +0 -0
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CDUxktN5.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BhoYMAdh.js} +1 -1
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BhoYMAdh.js.gz +0 -0
- package/dist/{dictItemDialog-CD5oFwvs.mjs → dictItemDialog-C6eQ3TnU.mjs} +1 -1
- package/dist/{dictItemDialog-BAl4ANmX.js → dictItemDialog-CsFEDTSV.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-D4lFaEKL.js → dictItemDialog.vue_vue_type_script_setup_true_lang-BS3DkpuF.js} +1 -1
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-BS3DkpuF.js.gz +0 -0
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-CUS80aKV.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-DG2XETmn.mjs} +2 -2
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DG2XETmn.mjs.gz +0 -0
- package/dist/{formConfig-B3cPI1fG.mjs → formConfig-CbOIG0HV.mjs} +4 -4
- package/dist/formConfig-CbOIG0HV.mjs.gz +0 -0
- package/dist/{formConfig-D656W8CF.js → formConfig-DcYMC1Hj.js} +1 -1
- package/dist/formConfig-DcYMC1Hj.js.gz +0 -0
- package/dist/{header-Bb4If1P3.mjs → header-BOet1W57.mjs} +2 -2
- package/dist/{header-Cj8OjiLK.js → header-fWGW8JHq.js} +1 -1
- package/dist/{horizontal-B537yj7d.js → horizontal-CsrvzxOj.js} +1 -1
- package/dist/horizontal-CsrvzxOj.js.gz +0 -0
- package/dist/{horizontal-BBTl3Ll0.mjs → horizontal-Dhf1wTal.mjs} +15 -15
- package/dist/horizontal-Dhf1wTal.mjs.gz +0 -0
- package/dist/{hsAttrBtn-C9dFWmG0.mjs → hsAttrBtn-CjKZkYX-.mjs} +1 -1
- package/dist/{hsAttrBtn-DrIkRhIS.js → hsAttrBtn-Dsi08YV4.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DIwRjnqt.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-BcSAXUjv.js} +1 -1
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-BcSAXUjv.js.gz +0 -0
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-CbFKC0ro.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-DNjrVzwM.mjs} +3 -3
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DNjrVzwM.mjs.gz +0 -0
- package/dist/{hsAttrForm-DT6c5czr.mjs → hsAttrForm-BafOQ5lj.mjs} +1 -1
- package/dist/{hsAttrForm-BnqMZNkS.js → hsAttrForm-D8l15nnx.js} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-CYO3U-El.js → hsAttrForm.vue_vue_type_script_setup_true_lang-BiMUYI-9.js} +1 -1
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-BiMUYI-9.js.gz +0 -0
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-GdQJ7kJ0.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-DH5bmGKg.mjs} +2 -2
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DH5bmGKg.mjs.gz +0 -0
- package/dist/{hsBtnConfigList-B7f9rL_3.js → hsBtnConfigList-CiMoqGu_.js} +1 -1
- package/dist/hsBtnConfigList-CiMoqGu_.js.gz +0 -0
- package/dist/{hsBtnConfigList-B3nw_zIN.mjs → hsBtnConfigList-DZ6wz_0j.mjs} +1 -1
- package/dist/hsBtnConfigList-DZ6wz_0j.mjs.gz +0 -0
- package/dist/{hsBtnItemConfig-DvXwoTQb.js → hsBtnItemConfig-CKUQPR-N.js} +1 -1
- package/dist/{hsBtnItemConfig-B-jhKyrH.mjs → hsBtnItemConfig-jtXxqShb.mjs} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-bUJJj6cK.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-B1_OzUgU.js} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-B1_OzUgU.js.gz +0 -0
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bhy3ciok.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CA-KhuRw.mjs} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CA-KhuRw.mjs.gz +0 -0
- package/dist/{hsBtnPanel-DaGFP3D4.js → hsBtnPanel-BYZzVlqd.js} +1 -1
- package/dist/{hsBtnPanel-D-FZ-tei.mjs → hsBtnPanel-DilbHMcA.mjs} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-iAlzZmap.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BIdXmF-Y.mjs} +4 -4
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BIdXmF-Y.mjs.gz +0 -0
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DjxVjGW5.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Dnb0d3A9.js} +1 -1
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Dnb0d3A9.js.gz +0 -0
- package/dist/{hsExpand-BRWaWzOn.mjs → hsExpand-BzY77YLI.mjs} +1 -1
- package/dist/{hsExpand-s2UjShdq.js → hsExpand-D6-9uYqV.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-BwLf8hUn.js → hsExpand.vue_vue_type_script_setup_true_lang-BPWVjFnp.js} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-BPWVjFnp.js.gz +0 -0
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-CLhyxFh_.mjs → hsExpand.vue_vue_type_script_setup_true_lang-EV-7kYjd.mjs} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-EV-7kYjd.mjs.gz +0 -0
- package/dist/{hsFormConfig-Cw5rcwQv.mjs → hsFormConfig-BNxh-tLZ.mjs} +1 -1
- package/dist/hsFormConfig-BNxh-tLZ.mjs.gz +0 -0
- package/dist/{hsFormConfig-QtjtIUEi.js → hsFormConfig-DFIlc740.js} +1 -1
- package/dist/hsFormConfig-DFIlc740.js.gz +0 -0
- package/dist/{hsFormConfigList-iBkaFysd.js → hsFormConfigList-BTC7kCAK.js} +1 -1
- package/dist/hsFormConfigList-BTC7kCAK.js.gz +0 -0
- package/dist/{hsFormConfigList-DYZohSiX.mjs → hsFormConfigList-C4Q9-WMI.mjs} +2 -2
- package/dist/hsFormConfigList-C4Q9-WMI.mjs.gz +0 -0
- package/dist/{hsFormPanel-RK2_vAwo.js → hsFormPanel-BIZBL1lh.js} +1 -1
- package/dist/{hsFormPanel-BjN19hLP.mjs → hsFormPanel-CtoM6yYW.mjs} +1 -1
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Bv1TNZ4s.js → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BFrzTn9F.js} +1 -1
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BFrzTn9F.js.gz +0 -0
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CRhB-Hw6.mjs → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-C2spOwW_.mjs} +5 -5
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-C2spOwW_.mjs.gz +0 -0
- package/dist/{hsFormParse-BeacHOTL.mjs → hsFormParse-2TV2x7Hg.mjs} +1 -1
- package/dist/{hsFormParse-DP3buYzd.js → hsFormParse-DX78rDc9.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-B0Tfs23M.js → hsFormParse.vue_vue_type_script_setup_true_lang-BIXVt5Z2.js} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-BIXVt5Z2.js.gz +0 -0
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-_gcscH6y.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-DtxBtwKN.mjs} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DtxBtwKN.mjs.gz +0 -0
- package/dist/{hsPanelItem-DDCOZtpg.mjs → hsPanelItem-CcY3plaH.mjs} +1 -1
- package/dist/{hsPanelItem-Cmd4mtKQ.js → hsPanelItem-OZIQ2hZ0.js} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-vO8OReq9.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BCfQuqgH.mjs} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BCfQuqgH.mjs.gz +0 -0
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DI15OVNT.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Mg3e0Nt6.js} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Mg3e0Nt6.js.gz +0 -0
- package/dist/{iframes-BCDq7zKS.js → iframes-CN-6SIZf.js} +1 -1
- package/dist/iframes-CN-6SIZf.js.gz +0 -0
- package/dist/{iframes-D1N4APVp.mjs → iframes-Dz_vMPIL.mjs} +1 -1
- package/dist/iframes-Dz_vMPIL.mjs.gz +0 -0
- package/dist/{index-CTkQE1uc.mjs → index-1qel-XV1.mjs} +2 -2
- package/dist/{index-Bue9ROTL.mjs → index-2lTfcWjw.mjs} +4 -4
- package/dist/index-2lTfcWjw.mjs.gz +0 -0
- package/dist/{index-DGLmwNVd.js → index-B2deFMQm.js} +1 -1
- package/dist/{index-DaahtoM_.mjs → index-B8G5nWOq.mjs} +18 -17
- package/dist/index-B8G5nWOq.mjs.gz +0 -0
- package/dist/{index-UtK3Dlud.js → index-B8kx6GdL.js} +1 -1
- package/dist/index-B8kx6GdL.js.gz +0 -0
- package/dist/index-B8tAzO43.mjs +203 -0
- package/dist/index-B8tAzO43.mjs.gz +0 -0
- package/dist/{index-HXxYo8jI.mjs → index-B9Qe6hRm.mjs} +1 -1
- package/dist/index-B9Qe6hRm.mjs.gz +0 -0
- package/dist/{index-_Lhoh8ug.mjs → index-BDuJXzg5.mjs} +1 -1
- package/dist/{index-BFk2dV1A.js → index-BL8Wjy3a.js} +53 -53
- package/dist/index-BL8Wjy3a.js.gz +0 -0
- package/dist/{index-DKV53zKA.js → index-BMLOniyg.js} +1 -1
- package/dist/{index-BEVtN6IC.js → index-BSMYcdW6.js} +1 -1
- package/dist/{index-CzHPWhvG.mjs → index-BUGv5I_A.mjs} +1 -1
- package/dist/{index-BuFU71CG.mjs → index-B_95_LCk.mjs} +1 -1
- package/dist/index-B_95_LCk.mjs.gz +0 -0
- package/dist/{index-bN0JwRAZ.js → index-Bo8NERah.js} +1 -1
- package/dist/index-Bo8NERah.js.gz +0 -0
- package/dist/{index-C9I2xyjg.mjs → index-BrwAO1YP.mjs} +1 -1
- package/dist/{index-DfF4dvXM.js → index-BsYhSy2L.js} +1 -1
- package/dist/{index-BH8THavh.mjs → index-By_moDJt.mjs} +2 -2
- package/dist/index-By_moDJt.mjs.gz +0 -0
- package/dist/{index-D7G17DyS.js → index-Byv2pj-6.js} +1 -1
- package/dist/index-Byv2pj-6.js.gz +0 -0
- package/dist/{index-TsrFVBev.js → index-C2M3n_Xm.js} +1 -1
- package/dist/{index-BW5MO4s_.js → index-C3AeR_Ic.js} +1 -1
- package/dist/index-C3AeR_Ic.js.gz +0 -0
- package/dist/{index-5dOifxKu.mjs → index-C9rnkw0q.mjs} +6232 -6213
- package/dist/index-C9rnkw0q.mjs.gz +0 -0
- package/dist/{index-CNhDtKO5.mjs → index-CB-PuYOO.mjs} +1 -1
- package/dist/index-CB-PuYOO.mjs.gz +0 -0
- package/dist/{index-Dc5RfILb.js → index-CPpc2kvK.js} +1 -1
- package/dist/index-CPpc2kvK.js.gz +0 -0
- package/dist/{index-DAM9Li0x.js → index-CTCBCucR.js} +1 -1
- package/dist/index-CTCBCucR.js.gz +0 -0
- package/dist/{index-CBRnvmJ-.mjs → index-C_eEr7ho.mjs} +3 -3
- package/dist/index-C_eEr7ho.mjs.gz +0 -0
- package/dist/{index-CpcPxaEL.js → index-Ck7TrfJa.js} +1 -1
- package/dist/{index-ud6yKSYX.mjs → index-CpZsqoLX.mjs} +1 -1
- package/dist/{index-B5syXI5P.mjs → index-CqxTpBs5.mjs} +1 -1
- package/dist/{index-ClpsxFM2.js → index-D3HCSgPE.js} +1 -1
- package/dist/index-D3HCSgPE.js.gz +0 -0
- package/dist/{index-B_dFeRcy.js → index-D4EksXjL.js} +1 -1
- package/dist/index-D4EksXjL.js.gz +0 -0
- package/dist/{index-CsdLPeHg.mjs → index-D6RaWM5c.mjs} +1 -1
- package/dist/index-D6RaWM5c.mjs.gz +0 -0
- package/dist/{index-BvLbVpVN.mjs → index-D9UoCUGv.mjs} +2 -2
- package/dist/index-D9UoCUGv.mjs.gz +0 -0
- package/dist/{index-B4Z1pi1Z.js → index-DAtiOay3.js} +1 -1
- package/dist/index-DAtiOay3.js.gz +0 -0
- package/dist/{index-D1SpqYWy.mjs → index-DCKCJjnw.mjs} +2 -2
- package/dist/index-DCKCJjnw.mjs.gz +0 -0
- package/dist/{index-C3Ils_Vm.mjs → index-DDJ8nWGp.mjs} +1 -1
- package/dist/{index-m0_qlIeJ.js → index-DEZd76Ap.js} +1 -1
- package/dist/{index-u1ebO2u8.mjs → index-DK3vO2OY.mjs} +1 -1
- package/dist/index-DK3vO2OY.mjs.gz +0 -0
- package/dist/{index-DyZlAetO.js → index-DLSTwGv6.js} +1 -1
- package/dist/index-DLSTwGv6.js.gz +0 -0
- package/dist/{index-BWOrguvF.js → index-DP01yqrE.js} +1 -1
- package/dist/index-DP01yqrE.js.gz +0 -0
- package/dist/{index-ClZx7uBu.mjs → index-DQRyM-Aj.mjs} +1 -1
- package/dist/index-DQRyM-Aj.mjs.gz +0 -0
- package/dist/{index-CeWcfnxK.js → index-DXibzv8R.js} +1 -1
- package/dist/{index-WAyoF_nH.js → index-DZt-xJFI.js} +1 -1
- package/dist/index-DZt-xJFI.js.gz +0 -0
- package/dist/{index-Bal8V9wn.mjs → index-Da3bpKq9.mjs} +2 -2
- package/dist/index-Da3bpKq9.mjs.gz +0 -0
- package/dist/{index-BILno7wp.js → index-DcLomlD1.js} +1 -1
- package/dist/index-DcLomlD1.js.gz +0 -0
- package/dist/{index-DBM1q-W6.js → index-Dg1QJFL0.js} +1 -1
- package/dist/{index-BaTwqNan.js → index-DmPx3rnx.js} +1 -1
- package/dist/index-DmPx3rnx.js.gz +0 -0
- package/dist/index-DuTxJCfr.mjs +4 -0
- package/dist/{index-BYNdBACG.js → index-DujUpFFN.js} +1 -1
- package/dist/index-DujUpFFN.js.gz +0 -0
- package/dist/{index-Df-JqaIz.mjs → index-Dw89-UYa.mjs} +2 -2
- package/dist/index-Dw89-UYa.mjs.gz +0 -0
- package/dist/{index-DLgYuPKy.js → index-FLamzhCR.js} +1 -1
- package/dist/index-FLamzhCR.js.gz +0 -0
- package/dist/{index-CrBVDUvz.mjs → index-HjSMX77E.mjs} +1 -1
- package/dist/index-HjSMX77E.mjs.gz +0 -0
- package/dist/index-J1dw6gzf.js +1 -0
- package/dist/index-J1dw6gzf.js.gz +0 -0
- package/dist/{index-hBHMaQoW.mjs → index-LZRGcIxZ.mjs} +5 -5
- package/dist/index-LZRGcIxZ.mjs.gz +0 -0
- package/dist/{index-Bo0I-7hm.js → index-OVcMHbWp.js} +1 -1
- package/dist/{index-qhsYA7aF.js → index-OcKs1lAb.js} +1 -1
- package/dist/index-OcKs1lAb.js.gz +0 -0
- package/dist/{index-DvhopM4h.mjs → index-RBTTZtz5.mjs} +1 -1
- package/dist/index-Rte0nUyl.js +1 -0
- package/dist/index-Rte0nUyl.js.gz +0 -0
- package/dist/{index-8CKrOyk6.mjs → index-S1lsCcLX.mjs} +4 -4
- package/dist/index-S1lsCcLX.mjs.gz +0 -0
- package/dist/{index-BcNxr_ZR.mjs → index-d-6E3Muu.mjs} +3 -3
- package/dist/index-d-6E3Muu.mjs.gz +0 -0
- package/dist/{index-BBAkYd3L.mjs → index-f6tU1bZ_.mjs} +1 -1
- package/dist/index-f6tU1bZ_.mjs.gz +0 -0
- package/dist/{index-CfgeYVS9.js → index-sVFO1reS.js} +1 -1
- package/dist/index-sVFO1reS.js.gz +0 -0
- package/dist/{index-LCsuhS45.mjs → index-wy_Wi24Z.mjs} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-DvTsZFCl.mjs → index.vue_vue_type_script_setup_true_lang-Bo7C-vQP.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-Bo7C-vQP.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dpaub3i2.js → index.vue_vue_type_script_setup_true_lang-BxKPbpB-.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BxKPbpB-.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-B_e54JDa.js → index.vue_vue_type_script_setup_true_lang-C2XYJeG1.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-C2XYJeG1.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BcZi47jy.js → index.vue_vue_type_script_setup_true_lang-DKzfgNU9.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-DKzfgNU9.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DcZ0s749.mjs → index.vue_vue_type_script_setup_true_lang-lzjgQI87.mjs} +4 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-lzjgQI87.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BMK_SJJU.mjs → index.vue_vue_type_script_setup_true_lang-oYV_NLix.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-oYV_NLix.mjs.gz +0 -0
- package/dist/{link-C4sKGAgm.js → link-Kg0Y8sQG.js} +1 -1
- package/dist/link-Kg0Y8sQG.js.gz +0 -0
- package/dist/{link-C-P8XPYU.mjs → link-nfEFlhGm.mjs} +1 -1
- package/dist/link-nfEFlhGm.mjs.gz +0 -0
- package/dist/{list-DMFZCcqh.mjs → list-Dezq3a0h.mjs} +1 -1
- package/dist/list-Dezq3a0h.mjs.gz +0 -0
- package/dist/{list-DzSZdGMg.js → list-lfdZ1gHg.js} +1 -1
- package/dist/list-lfdZ1gHg.js.gz +0 -0
- package/dist/{main-CH-jbZ1x.mjs → main-D5THxBlc.mjs} +2 -2
- package/dist/main-D5THxBlc.mjs.gz +0 -0
- package/dist/{main-Cb_zMJMY.js → main-ppA4zEem.js} +1 -1
- package/dist/main-ppA4zEem.js.gz +0 -0
- package/dist/{mobile-CQ-pbMoC.js → mobile-BvH8BuZS.js} +1 -1
- package/dist/mobile-BvH8BuZS.js.gz +0 -0
- package/dist/{mobile-BYhtvcnl.mjs → mobile-CPLlxZXn.mjs} +1 -1
- package/dist/mobile-CPLlxZXn.mjs.gz +0 -0
- package/dist/{parent-BpIOs42n.js → parent-COxgjsXV.js} +1 -1
- package/dist/parent-COxgjsXV.js.gz +0 -0
- package/dist/{parent-Ci-niF8H.mjs → parent-DyJfzRUw.mjs} +2 -2
- package/dist/parent-DyJfzRUw.mjs.gz +0 -0
- package/dist/{roleItem-BJ7EIwir.mjs → roleItem-ARuvs5t8.mjs} +1 -1
- package/dist/roleItem-ARuvs5t8.mjs.gz +0 -0
- package/dist/{roleItem-Cg7wx_rh.js → roleItem-DqBOVSLJ.js} +1 -1
- package/dist/roleItem-DqBOVSLJ.js.gz +0 -0
- package/dist/{saveForm-CWRjOziw.js → saveForm-8kPQLu6R.js} +1 -1
- package/dist/{saveForm-D5eft8K9.mjs → saveForm-hhKnnIaO.mjs} +1 -1
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-BvIAos__.js → saveForm.vue_vue_type_script_setup_true_lang-BHc9wjj_.js} +1 -1
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-BHc9wjj_.js.gz +0 -0
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-zoyfCPmn.mjs → saveForm.vue_vue_type_script_setup_true_lang-DED1pMfw.mjs} +2 -2
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-DED1pMfw.mjs.gz +0 -0
- package/dist/{scan-CP0oeX69.js → scan-Drk4sVSA.js} +1 -1
- package/dist/scan-Drk4sVSA.js.gz +0 -0
- package/dist/{scan-D6Tq6vC0.mjs → scan-vv8XlqHH.mjs} +1 -1
- package/dist/scan-vv8XlqHH.mjs.gz +0 -0
- package/dist/{search-BkrjWx7c.js → search-DeCnSarI.js} +1 -1
- package/dist/search-DeCnSarI.js.gz +0 -0
- package/dist/{search-gNdg67Wf.mjs → search-DjvbtR3U.mjs} +1 -1
- package/dist/search-DjvbtR3U.mjs.gz +0 -0
- package/dist/{selectConfig-C7ixlOGQ.mjs → selectConfig-BSVWxIaT.mjs} +1 -1
- package/dist/selectConfig-BSVWxIaT.mjs.gz +0 -0
- package/dist/{selectConfig-7dgLjWOZ.js → selectConfig-pTU2rQg5.js} +1 -1
- package/dist/selectConfig-pTU2rQg5.js.gz +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/{subItem-B_l-4GCk.js → subItem-Bl27tCL5.js} +1 -1
- package/dist/subItem-Bl27tCL5.js.gz +0 -0
- package/dist/{subItem-K4YQnF2Q.mjs → subItem-DrS8tgBc.mjs} +1 -1
- package/dist/subItem-DrS8tgBc.mjs.gz +0 -0
- package/dist/{tagsView-DDD8TXH8.mjs → tagsView--DaBfMgr.mjs} +46 -46
- package/dist/tagsView--DaBfMgr.mjs.gz +0 -0
- package/dist/{tagsView-CGUYqUT6.js → tagsView-CMn3BIke.js} +2 -2
- package/dist/tagsView-CMn3BIke.js.gz +0 -0
- package/dist/{transverse-V6B1EMqR.js → transverse-CODYQOcc.js} +1 -1
- package/dist/transverse-CODYQOcc.js.gz +0 -0
- package/dist/{transverse-nolvkrSa.mjs → transverse-DZnnYu9J.mjs} +2 -2
- package/dist/transverse-DZnnYu9J.mjs.gz +0 -0
- package/dist/types/components/business/bcFormTable/components/contextBody/useContextMenu.d.ts +4 -3
- package/dist/types/components/business/bcFormTable/components/table/useTable.d.ts +1 -0
- package/dist/types/components/business/bcFormTable/utils/onTableKey.d.ts +1 -0
- package/dist/types/views/test/test/WebSocketService.d.ts +65 -0
- package/dist/{uploadAvatar-BEp2f3mB.mjs → uploadAvatar-CGyCLeje.mjs} +16 -16
- package/dist/uploadAvatar-CGyCLeje.mjs.gz +0 -0
- package/dist/{uploadAvatar-CF7gz4xb.js → uploadAvatar-eNxQ2Xoa.js} +1 -1
- package/dist/uploadAvatar-eNxQ2Xoa.js.gz +0 -0
- package/dist/{user-C0T_QfH8.js → user-C9rr90fW.js} +1 -1
- package/dist/user-C9rr90fW.js.gz +0 -0
- package/dist/{user-CN1CKaWa.mjs → user-DEOB761E.mjs} +7 -7
- package/dist/user-DEOB761E.mjs.gz +0 -0
- package/dist/{userNews-CkpWjIHZ.mjs → userNews-CAWr8zxz.mjs} +1 -1
- package/dist/userNews-CAWr8zxz.mjs.gz +0 -0
- package/dist/{userNews-BBuJjtC1.js → userNews-CkLLTPzI.js} +1 -1
- package/dist/userNews-CkLLTPzI.js.gz +0 -0
- package/dist/{userSelect-q5Ju_O9S.mjs → userSelect-1X05XJHP.mjs} +1 -1
- package/dist/{userSelect-BBxMpw_P.js → userSelect-eQQl-Jaz.js} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-Bq5AVqTs.mjs → userSelect.vue_vue_type_script_setup_true_lang-BHn-nQbc.mjs} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-BHn-nQbc.mjs.gz +0 -0
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-C2wM2Bt0.js → userSelect.vue_vue_type_script_setup_true_lang-DSM9KYbt.js} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-DSM9KYbt.js.gz +0 -0
- package/dist/{vertical-1tsT57Zy.js → vertical-BOqyBpUP.js} +1 -1
- package/dist/vertical-BOqyBpUP.js.gz +0 -0
- package/dist/{vertical-CTRjLeEX.mjs → vertical-Bp2YkJWQ.mjs} +3 -3
- package/dist/vertical-Bp2YkJWQ.mjs.gz +0 -0
- package/package.json +2 -1
- package/dist/401-6sy1SV7A.mjs.gz +0 -0
- package/dist/401-DJx98OZe.js.gz +0 -0
- package/dist/404-NqEBJst5.js.gz +0 -0
- package/dist/account-0hMfRnwO.js.gz +0 -0
- package/dist/account-BdrdvMtD.mjs.gz +0 -0
- package/dist/aside-BSk6fgU3.js.gz +0 -0
- package/dist/aside-CQEOAhWQ.mjs.gz +0 -0
- package/dist/btnIndex-CqOsiuZb.mjs.gz +0 -0
- package/dist/btnIndex-Dcm0J8Lg.js.gz +0 -0
- package/dist/classic-D93DrrgX.js.gz +0 -0
- package/dist/classic-Dw-STnNX.mjs.gz +0 -0
- package/dist/cloneConfigDialog-BsxnjOhF.js.gz +0 -0
- package/dist/cloneConfigDialog-DvA1TP1R.mjs.gz +0 -0
- package/dist/columns-B6ZvvNjj.js.gz +0 -0
- package/dist/columns-CSB8OLDm.mjs.gz +0 -0
- package/dist/columnsAside-DDQy_p-Y.js.gz +0 -0
- package/dist/columnsAside-qWg6xmRG.mjs.gz +0 -0
- package/dist/contextmenu-1IYIUuyh.mjs.gz +0 -0
- package/dist/contextmenu-BCDUg4NJ.js.gz +0 -0
- package/dist/contextmenu-BGps-I8D.js.gz +0 -0
- package/dist/contextmenu-CucHZwh7.mjs.gz +0 -0
- package/dist/contextmenu-DL1-EtTo.mjs.gz +0 -0
- package/dist/contextmenu-DjId0tVP.js.gz +0 -0
- package/dist/defaults-CfmQMkry.js.gz +0 -0
- package/dist/defaults-DZGM5-0m.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B288fKW6.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-C0mrUlva.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CKfY2EvN.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DJ_B3qQX.mjs.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CDUxktN5.js.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DZo_37lp.mjs.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-CUS80aKV.mjs.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-D4lFaEKL.js.gz +0 -0
- package/dist/formConfig-B3cPI1fG.mjs.gz +0 -0
- package/dist/formConfig-D656W8CF.js.gz +0 -0
- package/dist/horizontal-B537yj7d.js.gz +0 -0
- package/dist/horizontal-BBTl3Ll0.mjs.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-CbFKC0ro.mjs.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DIwRjnqt.js.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CYO3U-El.js.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-GdQJ7kJ0.mjs.gz +0 -0
- package/dist/hsBtnConfigList-B3nw_zIN.mjs.gz +0 -0
- package/dist/hsBtnConfigList-B7f9rL_3.js.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bhy3ciok.mjs.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-bUJJj6cK.js.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DjxVjGW5.js.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-iAlzZmap.mjs.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-BwLf8hUn.js.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-CLhyxFh_.mjs.gz +0 -0
- package/dist/hsFormConfig-Cw5rcwQv.mjs.gz +0 -0
- package/dist/hsFormConfig-QtjtIUEi.js.gz +0 -0
- package/dist/hsFormConfigList-DYZohSiX.mjs.gz +0 -0
- package/dist/hsFormConfigList-iBkaFysd.js.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Bv1TNZ4s.js.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CRhB-Hw6.mjs.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-B0Tfs23M.js.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-_gcscH6y.mjs.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DI15OVNT.js.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-vO8OReq9.mjs.gz +0 -0
- package/dist/iframes-BCDq7zKS.js.gz +0 -0
- package/dist/iframes-D1N4APVp.mjs.gz +0 -0
- package/dist/index-5dOifxKu.mjs.gz +0 -0
- package/dist/index-8CKrOyk6.mjs.gz +0 -0
- package/dist/index-B0V_McTg.js +0 -1
- package/dist/index-B0V_McTg.js.gz +0 -0
- package/dist/index-B4STkssn.mjs +0 -87
- package/dist/index-B4STkssn.mjs.gz +0 -0
- package/dist/index-B4Z1pi1Z.js.gz +0 -0
- package/dist/index-BBAkYd3L.mjs.gz +0 -0
- package/dist/index-BFk2dV1A.js.gz +0 -0
- package/dist/index-BH8THavh.mjs.gz +0 -0
- package/dist/index-BILno7wp.js.gz +0 -0
- package/dist/index-BW5MO4s_.js.gz +0 -0
- package/dist/index-BWOrguvF.js.gz +0 -0
- package/dist/index-BYNdBACG.js.gz +0 -0
- package/dist/index-B_dFeRcy.js.gz +0 -0
- package/dist/index-BaTwqNan.js.gz +0 -0
- package/dist/index-Bal8V9wn.mjs.gz +0 -0
- package/dist/index-BcNxr_ZR.mjs.gz +0 -0
- package/dist/index-BjpLz9Sz.js +0 -1
- package/dist/index-BjpLz9Sz.js.gz +0 -0
- package/dist/index-BuFU71CG.mjs.gz +0 -0
- package/dist/index-Bue9ROTL.mjs.gz +0 -0
- package/dist/index-BvLbVpVN.mjs.gz +0 -0
- package/dist/index-CBRnvmJ-.mjs.gz +0 -0
- package/dist/index-CNhDtKO5.mjs.gz +0 -0
- package/dist/index-CROSNyTQ.mjs +0 -4
- package/dist/index-CfgeYVS9.js.gz +0 -0
- package/dist/index-ClZx7uBu.mjs.gz +0 -0
- package/dist/index-ClpsxFM2.js.gz +0 -0
- package/dist/index-CrBVDUvz.mjs.gz +0 -0
- package/dist/index-CsdLPeHg.mjs.gz +0 -0
- package/dist/index-D1SpqYWy.mjs.gz +0 -0
- package/dist/index-D7G17DyS.js.gz +0 -0
- package/dist/index-DAM9Li0x.js.gz +0 -0
- package/dist/index-DLgYuPKy.js.gz +0 -0
- package/dist/index-DaahtoM_.mjs.gz +0 -0
- package/dist/index-Dc5RfILb.js.gz +0 -0
- package/dist/index-Df-JqaIz.mjs.gz +0 -0
- package/dist/index-DyZlAetO.js.gz +0 -0
- package/dist/index-HXxYo8jI.mjs.gz +0 -0
- package/dist/index-UtK3Dlud.js.gz +0 -0
- package/dist/index-WAyoF_nH.js.gz +0 -0
- package/dist/index-bN0JwRAZ.js.gz +0 -0
- package/dist/index-hBHMaQoW.mjs.gz +0 -0
- package/dist/index-qhsYA7aF.js.gz +0 -0
- package/dist/index-u1ebO2u8.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BMK_SJJU.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-B_e54JDa.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BcZi47jy.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DcZ0s749.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Dpaub3i2.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DvTsZFCl.mjs.gz +0 -0
- package/dist/link-C-P8XPYU.mjs.gz +0 -0
- package/dist/link-C4sKGAgm.js.gz +0 -0
- package/dist/list-DMFZCcqh.mjs.gz +0 -0
- package/dist/list-DzSZdGMg.js.gz +0 -0
- package/dist/main-CH-jbZ1x.mjs.gz +0 -0
- package/dist/main-Cb_zMJMY.js.gz +0 -0
- package/dist/mobile-BYhtvcnl.mjs.gz +0 -0
- package/dist/mobile-CQ-pbMoC.js.gz +0 -0
- package/dist/parent-BpIOs42n.js.gz +0 -0
- package/dist/parent-Ci-niF8H.mjs.gz +0 -0
- package/dist/roleItem-BJ7EIwir.mjs.gz +0 -0
- package/dist/roleItem-Cg7wx_rh.js.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-BvIAos__.js.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-zoyfCPmn.mjs.gz +0 -0
- package/dist/scan-CP0oeX69.js.gz +0 -0
- package/dist/scan-D6Tq6vC0.mjs.gz +0 -0
- package/dist/search-BkrjWx7c.js.gz +0 -0
- package/dist/search-gNdg67Wf.mjs.gz +0 -0
- package/dist/selectConfig-7dgLjWOZ.js.gz +0 -0
- package/dist/selectConfig-C7ixlOGQ.mjs.gz +0 -0
- package/dist/subItem-B_l-4GCk.js.gz +0 -0
- package/dist/subItem-K4YQnF2Q.mjs.gz +0 -0
- package/dist/tagsView-CGUYqUT6.js.gz +0 -0
- package/dist/tagsView-DDD8TXH8.mjs.gz +0 -0
- package/dist/transverse-V6B1EMqR.js.gz +0 -0
- package/dist/transverse-nolvkrSa.mjs.gz +0 -0
- package/dist/uploadAvatar-BEp2f3mB.mjs.gz +0 -0
- package/dist/uploadAvatar-CF7gz4xb.js.gz +0 -0
- package/dist/user-C0T_QfH8.js.gz +0 -0
- package/dist/user-CN1CKaWa.mjs.gz +0 -0
- package/dist/userNews-BBuJjtC1.js.gz +0 -0
- package/dist/userNews-CkpWjIHZ.mjs.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-Bq5AVqTs.mjs.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-C2wM2Bt0.js.gz +0 -0
- package/dist/vertical-1tsT57Zy.js.gz +0 -0
- package/dist/vertical-CTRjLeEX.mjs.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),y=require("./index-BFk2dV1A.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=`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),y=require("./index-BL8Wjy3a.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
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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-BL8Wjy3a.js"),I=require("./index-B2deFMQm.js"),w=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=(()=>{if(typeof document>"u")return!1;const n=w[0],r={};for(const t of w)if((t==null?void 0:t[1])in document){for(const[a,f]of t.entries())r[n[a]]=f;return r}return!1})(),C={change:i.fullscreenchange,error:i.fullscreenerror};let s={request(n=document.documentElement,r){return new Promise((t,d)=>{const a=()=>{s.off("change",a),t()};s.on("change",a);const f=n[i.requestFullscreen](r);f instanceof Promise&&f.then(a).catch(d)})},exit(){return new Promise((n,r)=>{if(!s.isFullscreen){n();return}const t=()=>{s.off("change",t),n()};s.on("change",t);const d=document[i.exitFullscreen]();d instanceof Promise&&d.then(t).catch(r)})},toggle(n,r){return s.isFullscreen?s.exit():s.request(n,r)},onchange(n){s.on("change",n)},onerror(n){s.on("error",n)},on(n,r){const t=C[n];t&&document.addEventListener(t,r,!1)},off(n,r){const t=C[n];t&&document.removeEventListener(t,r,!1)},raw:i};Object.defineProperties(s,{isFullscreen:{get:()=>!!document[i.fullscreenElement]},element:{enumerable:!0,get:()=>document[i.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[i.fullscreenEnabled]}});i||(s={isEnabled:!1});const h=s,O=n=>(e.pushScopeId("data-v-5bbc849b"),n=n(),e.popScopeId(),n),L=O(()=>e.createElementVNode("i",{class:"icon-skin iconfont",title:"布局配置"},null,-1)),D=[L],U=["title"],j={class:"layout-navbars-breadcrumb-user-link"},H=["src"],$=e.defineComponent({name:"layoutBreadcrumbUser"}),G=e.defineComponent({...$,setup(n){const r=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./userNews-CkLLTPzI.js"))),t=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./search-DeCnSarI.js"))),d=I.useLoginController(),a=e.ref(),f=e.ref(),v=l.useRouter(),g=l.useUserInfo(),S=l.useThemeConfig(),{userInfos:_}=l.storeToRefs(g),{themeConfig:E}=l.storeToRefs(S),b=e.ref(),p=e.reactive({isScreenfull:!1,disabledSize:"large"}),k=e.computed(()=>{let o="";const{layout:c,isClassicSplitMenu:u}=E.value;return["defaults","columns"].includes(c)||c==="classic"&&!u?o="1":o="",o}),x=()=>{if(!h.isEnabled)return l.ElMessage.warning("暂不不支持全屏"),!1;h.toggle(),h.on("change",()=>{h.isFullscreen?p.isScreenfull=!0:p.isScreenfull=!1})},N=()=>{var o,c;(c=(o=e.unref(a).popperRef)==null?void 0:o.delayHide)==null||c.call(o)},F=()=>{l.mittBus.emit("openSetingsDrawer")},y=o=>{o==="logOut"?l.ElMessageBox({closeOnClickModal:!1,closeOnPressEscape:!1,title:"提示",message:"此操作将退出登录, 是否继续?",showCancelButton:!0,confirmButtonText:"确定",cancelButtonText:"取消",buttonSize:"default",beforeClose:(c,u,m)=>{c==="confirm"?(u.confirmButtonLoading=!0,u.confirmButtonText="退出中",d.postAjaxLogout().then(()=>{m()}).finally(()=>{u.confirmButtonLoading=!1})):m()}}).then(()=>{g.logout()}).catch(()=>{}):o==="wareHouse"?window.open("https://www.baidu.com"):v.push(o)},V=()=>{b.value.openSearch()},B=async(o,c)=>{p[c]=await l.systemStore.get("themeConfig").then(u=>l._.get(u,o,"large"))};return e.onMounted(async()=>{await l.systemStore.get("themeConfig")&&await B("globalComponentSize","disabledSize")}),(o,c)=>{const u=e.resolveComponent("ele-Search"),m=e.resolveComponent("el-icon"),q=e.resolveComponent("ele-Bell"),z=e.resolveComponent("el-badge"),R=e.resolveComponent("el-popover"),M=e.resolveComponent("ele-ArrowDown"),P=e.resolveComponent("el-dropdown-item"),T=e.resolveComponent("el-dropdown-menu"),A=e.resolveComponent("el-dropdown");return e.openBlock(),e.createElementBlock("div",{class:"layout-navbars-breadcrumb-user pr15",style:e.normalizeStyle({flex:k.value})},[e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:V},[e.createVNode(m,{title:"菜单搜索"},{default:e.withCtx(()=>[e.createVNode(u)]),_:1})]),e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:F},D),e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"layout-navbars-breadcrumb-user-icon",ref_key:"userNewsBadgeRef",ref:f},[e.createVNode(z,{"is-dot":!0},{default:e.withCtx(()=>[e.createVNode(m,{title:"消息"},{default:e.withCtx(()=>[e.createVNode(q)]),_:1})]),_:1})])),[[e.unref(l.ClickOutside),N]]),e.createVNode(R,{ref_key:"userNewsRef",ref:a,"virtual-ref":f.value,placement:"bottom",trigger:"click",transition:"el-zoom-in-top","virtual-triggering":"",width:300,persistent:!1},{default:e.withCtx(()=>[e.createVNode(e.unref(r))]),_:1},8,["virtual-ref"]),e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon mr10",onClick:x},[e.createElementVNode("i",{class:e.normalizeClass(["iconfont",p.isScreenfull?"icon-tuichuquanping":"icon-fullscreen"]),title:p.isScreenfull?"关全屏":"开全屏"},null,10,U)]),e.createVNode(A,{"show-timeout":70,"hide-timeout":50,onCommand:y},{dropdown:e.withCtx(()=>[e.createVNode(T,null,{default:e.withCtx(()=>[e.createVNode(P,{divided:"",command:"logOut"},{default:e.withCtx(()=>[e.createTextVNode("退出登录")]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",j,[e.createElementVNode("img",{src:e.unref(_).photo,class:"layout-navbars-breadcrumb-user-link-photo mr5"},null,8,H),e.createTextVNode(" "+e.toDisplayString(e.unref(_).name===""?"common":e.unref(_).name)+" ",1),e.createVNode(m,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(M)]),_:1})])]),_:1}),e.createVNode(e.unref(t),{ref_key:"searchRef",ref:b},null,512)],4)}}}),J=l._export_sfc(G,[["__scopeId","data-v-5bbc849b"]]);exports.default=J;
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as R, defineAsyncComponent as k, ref as S, reactive as K, computed as Q, onMounted as
|
|
2
|
-
import { a as le, I as se, c as re, s as x,
|
|
3
|
-
import { u as de } from "./index-
|
|
1
|
+
import { defineComponent as R, defineAsyncComponent as k, ref as S, reactive as K, computed as Q, 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, I as se, c as re, s as x, W as B, a0 as ce, d as ae, m as ue, E as ie, e as fe, _ as me } from "./index-C9rnkw0q.mjs";
|
|
3
|
+
import { u as de } from "./index-BrwAO1YP.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-CAWr8zxz.mjs")), n = k(() => import("./search-DjvbtR3U.mjs")), m = de(), f = S(), d = S(), M = le(), C = se(), q = re(), { userInfos: w } = x(C), { themeConfig: I } = x(q), v = S(), b = K({
|
|
133
133
|
isScreenfull: !1,
|
|
134
134
|
disabledSize: "large"
|
|
135
135
|
}), P = Q(() => {
|
|
@@ -173,10 +173,10 @@ const h = s, _e = (e) => (te("data-v-5bbc849b"), e = e(), oe(), e), pe = /* @__P
|
|
|
173
173
|
}, U = async (t, r) => {
|
|
174
174
|
b[r] = await B.get("themeConfig").then((c) => fe.get(c, t, "large"));
|
|
175
175
|
};
|
|
176
|
-
return
|
|
176
|
+
return X(async () => {
|
|
177
177
|
await B.get("themeConfig") && await U("globalComponentSize", "disabledSize");
|
|
178
178
|
}), (t, r) => {
|
|
179
|
-
const c = a("ele-Search"), _ = a("el-icon"), V = a("ele-Bell"), H = a("el-badge"), j = a("el-popover"),
|
|
179
|
+
const c = a("ele-Search"), _ = a("el-icon"), V = a("ele-Bell"), H = a("el-badge"), j = a("el-popover"), W = a("ele-ArrowDown"), $ = a("el-dropdown-item"), G = a("el-dropdown-menu"), J = a("el-dropdown");
|
|
180
180
|
return F(), E("div", {
|
|
181
181
|
class: "layout-navbars-breadcrumb-user pr15",
|
|
182
182
|
style: Y({ flex: P.value })
|
|
@@ -270,7 +270,7 @@ const h = s, _e = (e) => (te("data-v-5bbc849b"), e = e(), oe(), e), pe = /* @__P
|
|
|
270
270
|
y(" " + ne(p(w).name === "" ? "common" : p(w).name) + " ", 1),
|
|
271
271
|
l(_, { class: "el-icon--right" }, {
|
|
272
272
|
default: u(() => [
|
|
273
|
-
l(
|
|
273
|
+
l(W)
|
|
274
274
|
]),
|
|
275
275
|
_: 1
|
|
276
276
|
})
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, reactive as p, resolveComponent as u, openBlock as e, createElementBlock as s, createElementVNode as t, createCommentVNode as i, Fragment as b, renderList as h, toDisplayString as a, createBlock as v, pushScopeId as w, popScopeId as k } from "vue";
|
|
2
|
-
import { _ as x } from "./index-
|
|
2
|
+
import { _ as x } from "./index-C9rnkw0q.mjs";
|
|
3
3
|
const y = (n) => (w("data-v-8abed4d4"), n = n(), k(), n), f = { class: "layout-navbars-breadcrumb-user-news" }, C = { class: "head-box" }, L = /* @__PURE__ */ y(() => /* @__PURE__ */ t("div", { class: "head-box-title" }, "通知", -1)), g = { class: "content-box" }, B = { class: "content-box-msg" }, I = { class: "content-box-time" }, N = l({
|
|
4
4
|
name: "layoutBreadcrumbUserNews"
|
|
5
5
|
}), S = /* @__PURE__ */ l({
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-BL8Wjy3a.js"),d=o=>(e.pushScopeId("data-v-8abed4d4"),o=o(),e.popScopeId(),o),r={class:"layout-navbars-breadcrumb-user-news"},m={class:"head-box"},p=d(()=>e.createElementVNode("div",{class:"head-box-title"},"通知",-1)),_={class:"content-box"},u={class:"content-box-msg"},b={class:"content-box-time"},k=e.defineComponent({name:"layoutBreadcrumbUserNews"}),v=e.defineComponent({...k,setup(o){const t=e.reactive({newsList:[{label:"关于版本发布的通知",value:"华速消息",time:"2023-12-28"},{label:"关于学习交流的通知",value:"华速消息",time:"2023-12-28"}]}),c=()=>{t.newsList=[]},s=()=>{window.open("https://www.baidu.com")};return(w,y)=>{const l=e.resolveComponent("el-empty");return e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("div",m,[p,t.newsList.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"head-box-btn",onClick:c},"全部已读")):e.createCommentVNode("",!0)]),e.createElementVNode("div",_,[t.newsList.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.newsList,(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:"content-box-item",key:a},[e.createElementVNode("div",null,e.toDisplayString(n.label),1),e.createElementVNode("div",u,e.toDisplayString(n.value),1),e.createElementVNode("div",b,e.toDisplayString(n.time),1)]))),128)):(e.openBlock(),e.createBlock(l,{key:1,description:"暂无通知"}))]),t.newsList.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"foot-box",onClick:s},"前往通知中心")):e.createCommentVNode("",!0)])}}}),h=i._export_sfc(v,[["__scopeId","data-v-8abed4d4"]]);exports.default=h;
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./userSelect.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./userSelect.vue_vue_type_script_setup_true_lang-DSM9KYbt.js");exports.default=e._sfc_main;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as d, onMounted as w, resolveComponent as s, openBlock as y, createElementBlock as g, createElementVNode as l, createVNode as o, withKeys as V, withCtx as m, createTextVNode as k } from "vue";
|
|
2
|
-
import { w as C } from "./index-
|
|
2
|
+
import { w as C } from "./index-C9rnkw0q.mjs";
|
|
3
3
|
const j = (t, n) => Object.assign(t, { other_log_info: { title: n } }), q = (t = {}) => (t = j(t, "获取全部用户列表"), C({
|
|
4
4
|
url: "/scmp-web/pri/user/list_all",
|
|
5
5
|
method: "get",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),f=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),f=require("./index-BL8Wjy3a.js"),h=(o,n)=>Object.assign(o,{other_log_info:{title:n}}),v=(o={})=>(o=h(o,"获取全部用户列表"),f.request({url:"/scmp-web/pri/user/list_all",method:"get",params:o}));function V(){return{getListAll:v}}const b={class:"h-full flex flex-col"},x={class:"flex justify-between items-center"},w=e.createElementVNode("span",null,"* 双击选择",-1),y={class:"flex-1"},N={class:"flex justify-center items-center py-[5px]"},C=e.defineComponent({__name:"userSelect",emits:["refresh","success"],setup(o,{emit:n}){const{getListAll:u}=V(),d=n,l=e.ref([]),c=async()=>{let a={qry_like_info:s.value};const t=await u(a);console.log(t),t.code===1&&(l.value=t.data)};e.onMounted(()=>{c()});const s=e.ref("");return(a,t)=>{const _=e.resolveComponent("hs-input"),r=e.resolveComponent("el-table-column"),m=e.resolveComponent("el-table"),p=e.resolveComponent("hs-button");return e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("div",x,[e.createVNode(_,{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=i=>s.value=i),placeholder:"请输入姓名,回车检索",clearable:"",class:"max-w-56",onKeydown:e.withKeys(c,["enter"])},null,8,["modelValue"]),w]),e.createElementVNode("div",y,[e.createVNode(m,{data:l.value,style:{width:"100%",height:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{prop:"name",label:"name"}),e.createVNode(r,{prop:"account",label:"account",width:"180"})]),_:1},8,["data"])]),e.createElementVNode("div",N,[e.createVNode(p,{size:"default",type:"default",class:"ml10",onClick:t[1]||(t[1]=i=>d("success","close"))},{default:e.withCtx(()=>[e.createTextVNode(" 取消 ")]),_:1})])])}}});exports._sfc_main=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-BL8Wjy3a.js"),y=e.defineComponent({name:"navMenuVertical"}),x=e.defineComponent({...y,props:{menuList:{type:Array,default:()=>[]}},setup(m){const p=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./subItem-Bl27tCL5.js"))),d=m,h=l.useThemeConfig(),{themeConfig:r}=l.storeToRefs(h),c=l.useRoute(),i=e.reactive({defaultActive:c.meta.isDynamic?c.meta.isDynamicPath:c.path,isCollapse:!1}),f=e.computed(()=>d.menuList),C=e.computed(()=>r.value),u=o=>{const{path:s,meta:n}=o,a=n!=null&&n.isDynamic?n.isDynamicPath.split("/"):s.split("/");return a.length>=4&&(n!=null&&n.isHide)?a.splice(0,3).join("/"):s},_=o=>{l.other.handleOpenLink(o)};return e.onMounted(()=>{i.defaultActive=u(c)}),l.onBeforeRouteUpdate(o=>{i.defaultActive=u(o),document.body.clientWidth<1e3&&(r.value.isCollapse=!1)}),e.watch(()=>r.value.isCollapse,o=>{document.body.clientWidth<=1e3?i.isCollapse=!1:i.isCollapse=o},{immediate:!0}),(o,s)=>{const n=e.resolveComponent("SvgIcon"),a=e.resolveComponent("el-sub-menu"),k=e.resolveComponent("el-menu-item"),g=e.resolveComponent("el-menu");return e.openBlock(),e.createBlock(g,{router:"","default-active":i.defaultActive,"background-color":"transparent",collapse:i.isCollapse,"unique-opened":C.value.isUniqueOpened,"collapse-transition":!1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.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(e.unref(p),{chil:t.children},null,8,["chil"])]),_:2},1032,["index"])):(e.openBlock(),e.createBlock(k,{index:t.path,key:t.path},e.createSlots({default:e.withCtx(()=>[e.createVNode(n,{name:t.meta.icon},null,8,["name"])]),_:2},[!t.meta.isLink||t.meta.isLink&&t.meta.isIframe?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(t.meta.title),1)]),key:"0"}:{name:"title",fn:e.withCtx(()=>[e.createElementVNode("a",{class:"w100",onClick:e.withModifiers(B=>_(t),["prevent"])},e.toDisplayString(t.meta.title),9,["onClick"])]),key:"1"}]),1032,["index"]))],64))),256))]),_:1},8,["default-active","collapse","unique-opened"])}}});exports.default=x;
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g, defineAsyncComponent as I, reactive as T, computed as _, onMounted as W, watch as q, resolveComponent as u, openBlock as s, createBlock as m, withCtx as o, createElementBlock as C, Fragment as k, renderList as v, createVNode as p, createElementVNode as d, toDisplayString as f, unref as M, createSlots as P, withModifiers as R } from "vue";
|
|
2
|
-
import { c as V, s as E, u as H,
|
|
2
|
+
import { c as V, s as E, u as H, Z as N, Y as O } from "./index-C9rnkw0q.mjs";
|
|
3
3
|
const U = g({
|
|
4
4
|
name: "navMenuVertical"
|
|
5
5
|
}), Z = /* @__PURE__ */ g({
|
|
@@ -12,7 +12,7 @@ const U = g({
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
setup(y) {
|
|
15
|
-
const L = I(() => import("./subItem-
|
|
15
|
+
const L = I(() => import("./subItem-DrS8tgBc.mjs")), x = y, A = V(), { themeConfig: r } = E(A), l = H(), i = T({
|
|
16
16
|
defaultActive: l.meta.isDynamic ? l.meta.isDynamicPath : l.path,
|
|
17
17
|
isCollapse: !1
|
|
18
18
|
}), b = _(() => x.menuList), S = _(() => r.value), h = (n) => {
|
|
@@ -83,7 +83,7 @@ const U = g({
|
|
|
83
83
|
fn: o(() => [
|
|
84
84
|
d("a", {
|
|
85
85
|
class: "w100",
|
|
86
|
-
onClick: R((
|
|
86
|
+
onClick: R((j) => D(e), ["prevent"])
|
|
87
87
|
}, f(e.meta.title), 9, ["onClick"])
|
|
88
88
|
]),
|
|
89
89
|
key: "1"
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hs-admin-ui",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.3",
|
|
4
4
|
"description": "vue3 + typescript5 + vite5 的框架",
|
|
5
5
|
"author": "wgd",
|
|
6
6
|
"private": false,
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@element-plus/icons-vue": "^2.3.1",
|
|
34
|
+
"@types/ws": "^8.5.10",
|
|
34
35
|
"async-validator": "4.2.5",
|
|
35
36
|
"axios": "^1.6.8",
|
|
36
37
|
"browser-tool": "^1.2.2",
|
package/dist/401-6sy1SV7A.mjs.gz
DELETED
|
Binary file
|
package/dist/401-DJx98OZe.js.gz
DELETED
|
Binary file
|
package/dist/404-NqEBJst5.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
|
|
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/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CKfY2EvN.js.gz
DELETED
|
Binary file
|
package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DJ_B3qQX.mjs.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
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index-B0V_McTg.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("./index-BFk2dV1A.js"),v=require("./index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DOBxUiCI.js"),x={class:"system-menu-container layout-padding"},b={class:"h-full p-4 flex flex-col"},h={class:"flex"},C={class:"flex-1"},g=e.defineComponent({name:"commodityClassify"}),y=e.defineComponent({...g,setup(N){const c=e.ref(),i=e.ref(!0);function l(t){c.value=t,i.value=!1,console.debug("formData2",t)}function s(){var t;console.debug("formData2",(t=c.value)==null?void 0:t.data)}function u(){var t;(t=c.value)==null||t.submit()}function r(){m.showPopup(v._sfc_main,null,{confirmButtonText:"提交",cancelButtonText:"关闭",success({type:t,close:o,data:n}){console.log("type",t),console.log("data",n),typeof o=="function"&&o()}})}return(t,o)=>{const n=e.resolveComponent("hs-button"),d=e.resolveComponent("bc-upload"),_=e.resolveComponent("bc-box"),f=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",x,[e.withDirectives((e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("div",h,[e.createVNode(n,{onClick:s},{default:e.withCtx(()=>[e.createTextVNode("获取数据")]),_:1}),e.createVNode(n,{onClick:o[0]||(o[0]=a=>u())},{default:e.withCtx(()=>[e.createTextVNode("提交数据")]),_:1}),e.createVNode(n,{onClick:r},{default:e.withCtx(()=>[e.createTextVNode("显示弹窗")]),_:1})]),e.createElementVNode("div",C,[e.createVNode(_,{type:"2",id:"1710932923938",mid:"2142c46ccabc4fc78606bc7fe5e2e62c",uid:"0fe5a02ad3fa456e971a2539a5ccf3c3",onReady:l},{instruct_picture_url:e.withCtx(({data:a})=>[e.createVNode(d,{action:"/pri/file/upload_file",proxy:"/qwp-web",fileList:a.data.form_data_update_other.instruct_picture_url,"onUpdate:fileList":p=>a.data.form_data_update_other.instruct_picture_url=p,annex:!1,limit:5},null,8,["fileList","onUpdate:fileList"])]),_:1})])])),[[f,i.value]])])}}});exports.default=y;
|
|
Binary file
|