hs-admin-ui 2.7.1 → 2.7.2
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-BtMf7jhv.js} +1 -1
- package/dist/401-BtMf7jhv.js.gz +0 -0
- package/dist/{401-6sy1SV7A.mjs → 401-CaTuyjUn.mjs} +1 -1
- package/dist/401-CaTuyjUn.mjs.gz +0 -0
- package/dist/{404-C5LCepot.mjs → 404-CCM55J69.mjs} +1 -1
- package/dist/{404-C5LCepot.mjs.gz → 404-CCM55J69.mjs.gz} +0 -0
- package/dist/{404-NqEBJst5.js → 404-DQb4XbzV.js} +1 -1
- package/dist/{404-NqEBJst5.js.gz → 404-DQb4XbzV.js.gz} +0 -0
- package/dist/{account-0hMfRnwO.js → account-BkXuxvJ9.js} +1 -1
- package/dist/account-BkXuxvJ9.js.gz +0 -0
- package/dist/{account-BdrdvMtD.mjs → account-DJVaw7Ip.mjs} +2 -2
- package/dist/account-DJVaw7Ip.mjs.gz +0 -0
- package/dist/{aside-CQEOAhWQ.mjs → aside-CBp1JSif.mjs} +2 -2
- package/dist/aside-CBp1JSif.mjs.gz +0 -0
- package/dist/{aside-BSk6fgU3.js → aside-y0zP9yn8.js} +1 -1
- package/dist/aside-y0zP9yn8.js.gz +0 -0
- package/dist/{btnIndex-CqOsiuZb.mjs → btnIndex-BbUqJqnv.mjs} +2 -2
- package/dist/btnIndex-BbUqJqnv.mjs.gz +0 -0
- package/dist/{btnIndex-Dcm0J8Lg.js → btnIndex-Cohvn3an.js} +1 -1
- package/dist/btnIndex-Cohvn3an.js.gz +0 -0
- package/dist/{classic-Dw-STnNX.mjs → classic-CBkPhefS.mjs} +2 -2
- package/dist/classic-CBkPhefS.mjs.gz +0 -0
- package/dist/{classic-D93DrrgX.js → classic-CikLX4zJ.js} +1 -1
- package/dist/classic-CikLX4zJ.js.gz +0 -0
- package/dist/{cloneConfigDialog-DvA1TP1R.mjs → cloneConfigDialog-Bd5-a6ke.mjs} +1 -1
- package/dist/cloneConfigDialog-Bd5-a6ke.mjs.gz +0 -0
- package/dist/{cloneConfigDialog-BsxnjOhF.js → cloneConfigDialog-N0oEM5vt.js} +1 -1
- package/dist/cloneConfigDialog-N0oEM5vt.js.gz +0 -0
- package/dist/{columns-B6ZvvNjj.js → columns-Blupm1El.js} +1 -1
- package/dist/columns-Blupm1El.js.gz +0 -0
- package/dist/{columns-CSB8OLDm.mjs → columns-Dm5Mxua0.mjs} +2 -2
- package/dist/columns-Dm5Mxua0.mjs.gz +0 -0
- package/dist/{columnsAside-DDQy_p-Y.js → columnsAside-CdEN0xt9.js} +1 -1
- package/dist/columnsAside-CdEN0xt9.js.gz +0 -0
- package/dist/{columnsAside-qWg6xmRG.mjs → columnsAside-DaDQNpts.mjs} +7 -7
- package/dist/columnsAside-DaDQNpts.mjs.gz +0 -0
- package/dist/{contextmenu-DL1-EtTo.mjs → contextmenu--DS2wraa.mjs} +1 -1
- package/dist/contextmenu--DS2wraa.mjs.gz +0 -0
- package/dist/{contextmenu-CucHZwh7.mjs → contextmenu-BKSzPTuL.mjs} +1 -1
- package/dist/contextmenu-BKSzPTuL.mjs.gz +0 -0
- package/dist/{contextmenu-BCDUg4NJ.js → contextmenu-BMaJqCsU.js} +1 -1
- package/dist/contextmenu-BMaJqCsU.js.gz +0 -0
- package/dist/{contextmenu-DjId0tVP.js → contextmenu-BryPpJ4n.js} +1 -1
- package/dist/contextmenu-BryPpJ4n.js.gz +0 -0
- package/dist/{contextmenu-1IYIUuyh.mjs → contextmenu-CUXOCXEE.mjs} +1 -1
- package/dist/contextmenu-CUXOCXEE.mjs.gz +0 -0
- package/dist/{contextmenu-BGps-I8D.js → contextmenu-JV8F29CQ.js} +1 -1
- package/dist/contextmenu-JV8F29CQ.js.gz +0 -0
- package/dist/{defaults-DZGM5-0m.mjs → defaults-Dk_D-H6Q.mjs} +2 -2
- package/dist/defaults-Dk_D-H6Q.mjs.gz +0 -0
- package/dist/{defaults-CfmQMkry.js → defaults-hmKJs-yU.js} +1 -1
- package/dist/defaults-hmKJs-yU.js.gz +0 -0
- package/dist/{dialog-DrhEiZGn.js → dialog-CAZjSRh0.js} +1 -1
- package/dist/{dialog-CGeXcdXM.js → dialog-CGdHwSk2.js} +1 -1
- package/dist/{dialog-BTBfy6MP.js → dialog-CzvzoPy_.js} +1 -1
- package/dist/{dialog-lpHnG3do.mjs → dialog-DTfUglkN.mjs} +1 -1
- package/dist/{dialog-Dn6vYsli.mjs → dialog-JQWdTL7Q.mjs} +1 -1
- package/dist/{dialog-C5pyXimZ.mjs → dialog-pQEvQDTc.mjs} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-C0mrUlva.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang--Lb1QuH7.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang--Lb1QuH7.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B288fKW6.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B62B6VNK.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B62B6VNK.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CKfY2EvN.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B2oyLSGx.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B2oyLSGx.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DJ_B3qQX.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DSI0zDR5.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DSI0zDR5.mjs.gz +0 -0
- package/dist/{dictDialog-Bo0s-TBY.mjs → dictDialog-CSjNf2es.mjs} +1 -1
- package/dist/{dictDialog-DoKPYVa6.js → dictDialog-DHp4faf6.js} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CDUxktN5.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C6C4R-Ec.js} +1 -1
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C6C4R-Ec.js.gz +0 -0
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DZo_37lp.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Ci6WtoCK.mjs} +2 -2
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Ci6WtoCK.mjs.gz +0 -0
- package/dist/{dictItemDialog-BAl4ANmX.js → dictItemDialog-Bgv1hkFP.js} +1 -1
- package/dist/{dictItemDialog-CD5oFwvs.mjs → dictItemDialog-Cgi8a44T.mjs} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-D4lFaEKL.js → dictItemDialog.vue_vue_type_script_setup_true_lang-CWRwpS0d.js} +1 -1
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-CWRwpS0d.js.gz +0 -0
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-CUS80aKV.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-DQpJxhfR.mjs} +2 -2
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DQpJxhfR.mjs.gz +0 -0
- package/dist/{formConfig-D656W8CF.js → formConfig-CyPCy8y_.js} +1 -1
- package/dist/formConfig-CyPCy8y_.js.gz +0 -0
- package/dist/{formConfig-B3cPI1fG.mjs → formConfig-_RcQFXJa.mjs} +4 -4
- package/dist/formConfig-_RcQFXJa.mjs.gz +0 -0
- package/dist/{header-Bb4If1P3.mjs → header-CoOFedF-.mjs} +2 -2
- package/dist/{header-Cj8OjiLK.js → header-sX0KgUl2.js} +1 -1
- package/dist/{horizontal-B537yj7d.js → horizontal-Bn6JzGvZ.js} +1 -1
- package/dist/horizontal-Bn6JzGvZ.js.gz +0 -0
- package/dist/{horizontal-BBTl3Ll0.mjs → horizontal-Dr8Hhnhc.mjs} +15 -15
- package/dist/horizontal-Dr8Hhnhc.mjs.gz +0 -0
- package/dist/{hsAttrBtn-C9dFWmG0.mjs → hsAttrBtn-BxKANJv1.mjs} +1 -1
- package/dist/{hsAttrBtn-DrIkRhIS.js → hsAttrBtn-CFTcgchB.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-CbFKC0ro.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-CJ8NmHsC.mjs} +3 -3
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-CJ8NmHsC.mjs.gz +0 -0
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DIwRjnqt.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-DgXz68rV.js} +1 -1
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DgXz68rV.js.gz +0 -0
- package/dist/{hsAttrForm-DT6c5czr.mjs → hsAttrForm-C3-Espks.mjs} +1 -1
- package/dist/{hsAttrForm-BnqMZNkS.js → hsAttrForm-DvpDRLx5.js} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-GdQJ7kJ0.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-96pzJ-BU.mjs} +2 -2
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-96pzJ-BU.mjs.gz +0 -0
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-CYO3U-El.js → hsAttrForm.vue_vue_type_script_setup_true_lang-Dmj_ofx_.js} +1 -1
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-Dmj_ofx_.js.gz +0 -0
- package/dist/{hsBtnConfigList-B7f9rL_3.js → hsBtnConfigList-DCnoKf1H.js} +1 -1
- package/dist/hsBtnConfigList-DCnoKf1H.js.gz +0 -0
- package/dist/{hsBtnConfigList-B3nw_zIN.mjs → hsBtnConfigList-rtHaYrSp.mjs} +1 -1
- package/dist/hsBtnConfigList-rtHaYrSp.mjs.gz +0 -0
- package/dist/{hsBtnItemConfig-DvXwoTQb.js → hsBtnItemConfig-DJdMYUdk.js} +1 -1
- package/dist/{hsBtnItemConfig-B-jhKyrH.mjs → hsBtnItemConfig-MZb0Ny0E.mjs} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bhy3ciok.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bx6q3tdT.mjs} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bx6q3tdT.mjs.gz +0 -0
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-bUJJj6cK.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DuJjPF7j.js} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DuJjPF7j.js.gz +0 -0
- package/dist/{hsBtnPanel-D-FZ-tei.mjs → hsBtnPanel--0mRPK2m.mjs} +1 -1
- package/dist/{hsBtnPanel-DaGFP3D4.js → hsBtnPanel-DD-XUCTw.js} +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-D46-PExu.mjs} +4 -4
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D46-PExu.mjs.gz +0 -0
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DjxVjGW5.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DB06jIRx.js} +1 -1
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DB06jIRx.js.gz +0 -0
- package/dist/{hsExpand-s2UjShdq.js → hsExpand-BvjS5FCv.js} +1 -1
- package/dist/{hsExpand-BRWaWzOn.mjs → hsExpand-DpwPdYqH.mjs} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-CLhyxFh_.mjs → hsExpand.vue_vue_type_script_setup_true_lang-C0Mgq-7K.mjs} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-C0Mgq-7K.mjs.gz +0 -0
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-BwLf8hUn.js → hsExpand.vue_vue_type_script_setup_true_lang-DAknQv8V.js} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-DAknQv8V.js.gz +0 -0
- package/dist/{hsFormConfig-QtjtIUEi.js → hsFormConfig-CuB_DhG3.js} +1 -1
- package/dist/hsFormConfig-CuB_DhG3.js.gz +0 -0
- package/dist/{hsFormConfig-Cw5rcwQv.mjs → hsFormConfig-J6wjRbWJ.mjs} +1 -1
- package/dist/hsFormConfig-J6wjRbWJ.mjs.gz +0 -0
- package/dist/{hsFormConfigList-DYZohSiX.mjs → hsFormConfigList-CD4JEcU2.mjs} +2 -2
- package/dist/hsFormConfigList-CD4JEcU2.mjs.gz +0 -0
- package/dist/{hsFormConfigList-iBkaFysd.js → hsFormConfigList-DdcQ1T0-.js} +1 -1
- package/dist/hsFormConfigList-DdcQ1T0-.js.gz +0 -0
- package/dist/{hsFormPanel-BjN19hLP.mjs → hsFormPanel-B7roGtyE.mjs} +1 -1
- package/dist/{hsFormPanel-RK2_vAwo.js → hsFormPanel-DnXVaQxH.js} +1 -1
- 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-B6Lma1JN.mjs} +5 -5
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B6Lma1JN.mjs.gz +0 -0
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Bv1TNZ4s.js → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CrKSuouh.js} +1 -1
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CrKSuouh.js.gz +0 -0
- package/dist/{hsFormParse-BeacHOTL.mjs → hsFormParse-CIiy01l0.mjs} +1 -1
- package/dist/{hsFormParse-DP3buYzd.js → hsFormParse-ds-EzKJj.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-_gcscH6y.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-C0sD-fn5.mjs} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-C0sD-fn5.mjs.gz +0 -0
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-B0Tfs23M.js → hsFormParse.vue_vue_type_script_setup_true_lang-D4e8hADX.js} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-D4e8hADX.js.gz +0 -0
- package/dist/{hsPanelItem-Cmd4mtKQ.js → hsPanelItem-BrPYYb8N.js} +1 -1
- package/dist/{hsPanelItem-DDCOZtpg.mjs → hsPanelItem-qTV_N92q.mjs} +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-Cd8kyRJI.mjs} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Cd8kyRJI.mjs.gz +0 -0
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DI15OVNT.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Vd-TkZT2.js} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Vd-TkZT2.js.gz +0 -0
- package/dist/{iframes-BCDq7zKS.js → iframes-DdkWZ8jJ.js} +1 -1
- package/dist/iframes-DdkWZ8jJ.js.gz +0 -0
- package/dist/{iframes-D1N4APVp.mjs → iframes-ryDOUqtA.mjs} +1 -1
- package/dist/iframes-ryDOUqtA.mjs.gz +0 -0
- package/dist/{index-D1SpqYWy.mjs → index--RC_xMVQ.mjs} +2 -2
- package/dist/index--RC_xMVQ.mjs.gz +0 -0
- package/dist/{index-u1ebO2u8.mjs → index-74esJND8.mjs} +1 -1
- package/dist/index-74esJND8.mjs.gz +0 -0
- package/dist/{index-B4Z1pi1Z.js → index-AGsK7mIc.js} +1 -1
- package/dist/index-AGsK7mIc.js.gz +0 -0
- package/dist/{index-Bue9ROTL.mjs → index-B8XSTvkt.mjs} +4 -4
- package/dist/index-B8XSTvkt.mjs.gz +0 -0
- package/dist/{index-Bal8V9wn.mjs → index-BBNXRIhE.mjs} +2 -2
- package/dist/index-BBNXRIhE.mjs.gz +0 -0
- package/dist/{index-bN0JwRAZ.js → index-BDBZWZk3.js} +1 -1
- package/dist/index-BDBZWZk3.js.gz +0 -0
- package/dist/{index-CzHPWhvG.mjs → index-BSVIdHB0.mjs} +1 -1
- package/dist/{index-C3Ils_Vm.mjs → index-BUq4eGXb.mjs} +1 -1
- package/dist/{index-5dOifxKu.mjs → index-BZ9rYml1.mjs} +6232 -6213
- package/dist/index-BZ9rYml1.mjs.gz +0 -0
- package/dist/{index-ClpsxFM2.js → index-BZZQC_DH.js} +1 -1
- package/dist/index-BZZQC_DH.js.gz +0 -0
- package/dist/{index-m0_qlIeJ.js → index-BaAojnJw.js} +1 -1
- package/dist/{index-DKV53zKA.js → index-BakUEpn1.js} +1 -1
- package/dist/{index-DyZlAetO.js → index-Bcaa_yL1.js} +1 -1
- package/dist/index-Bcaa_yL1.js.gz +0 -0
- package/dist/{index-Df-JqaIz.mjs → index-BkWWhA-w.mjs} +2 -2
- package/dist/index-BkWWhA-w.mjs.gz +0 -0
- package/dist/{index-Dc5RfILb.js → index-BmfroDWw.js} +1 -1
- package/dist/index-BmfroDWw.js.gz +0 -0
- package/dist/{index-BILno7wp.js → index-BsGaWJxG.js} +1 -1
- package/dist/index-BsGaWJxG.js.gz +0 -0
- package/dist/{index-C9I2xyjg.mjs → index-BsR2Vs5w.mjs} +1 -1
- package/dist/{index-DaahtoM_.mjs → index-Byc4xg-6.mjs} +18 -17
- package/dist/index-Byc4xg-6.mjs.gz +0 -0
- package/dist/{index-BvLbVpVN.mjs → index-C-4rpWao.mjs} +2 -2
- package/dist/index-C-4rpWao.mjs.gz +0 -0
- package/dist/{index-WAyoF_nH.js → index-C2FhC3wc.js} +1 -1
- package/dist/index-C2FhC3wc.js.gz +0 -0
- package/dist/{index-CBRnvmJ-.mjs → index-C4_CIY8K.mjs} +3 -3
- package/dist/index-C4_CIY8K.mjs.gz +0 -0
- package/dist/index-C7uJn3_B.js +1 -0
- package/dist/index-C7uJn3_B.js.gz +0 -0
- package/dist/{index-DvhopM4h.mjs → index-CEvvg8JG.mjs} +1 -1
- package/dist/{index-CpcPxaEL.js → index-CGnL4XLd.js} +1 -1
- package/dist/{index-hBHMaQoW.mjs → index-CHcoJiqT.mjs} +5 -5
- package/dist/index-CHcoJiqT.mjs.gz +0 -0
- package/dist/{index-ud6yKSYX.mjs → index-CP6-N_W4.mjs} +1 -1
- package/dist/index-CRI2F6jG.mjs +203 -0
- package/dist/index-CRI2F6jG.mjs.gz +0 -0
- package/dist/{index-8CKrOyk6.mjs → index-CXnpzS1z.mjs} +4 -4
- package/dist/index-CXnpzS1z.mjs.gz +0 -0
- package/dist/{index-BBAkYd3L.mjs → index-C__jbww0.mjs} +1 -1
- package/dist/index-C__jbww0.mjs.gz +0 -0
- package/dist/{index-D7G17DyS.js → index-C_gH4GLt.js} +1 -1
- package/dist/index-C_gH4GLt.js.gz +0 -0
- package/dist/{index-TsrFVBev.js → index-CdSsQdlF.js} +1 -1
- package/dist/{index-qhsYA7aF.js → index-CveF0Pnh.js} +1 -1
- package/dist/index-CveF0Pnh.js.gz +0 -0
- package/dist/{index-BuFU71CG.mjs → index-D30HlTY6.mjs} +1 -1
- package/dist/index-D30HlTY6.mjs.gz +0 -0
- package/dist/{index-CNhDtKO5.mjs → index-D7TNFM8y.mjs} +1 -1
- package/dist/index-D7TNFM8y.mjs.gz +0 -0
- package/dist/{index-BFk2dV1A.js → index-DGo9I56v.js} +53 -53
- package/dist/index-DGo9I56v.js.gz +0 -0
- package/dist/{index-CTkQE1uc.mjs → index-DNwD3djU.mjs} +2 -2
- package/dist/{index-CfgeYVS9.js → index-DP0Af_zS.js} +1 -1
- package/dist/index-DP0Af_zS.js.gz +0 -0
- package/dist/{index-CeWcfnxK.js → index-DT2qyNKo.js} +1 -1
- package/dist/{index-_Lhoh8ug.mjs → index-DTZ-kI4Z.mjs} +1 -1
- package/dist/{index-BaTwqNan.js → index-DTdbq4TK.js} +1 -1
- package/dist/index-DTdbq4TK.js.gz +0 -0
- package/dist/{index-LCsuhS45.mjs → index-DWPzOTkD.mjs} +1 -1
- package/dist/{index-B5syXI5P.mjs → index-DZQ1qmin.mjs} +1 -1
- package/dist/{index-BYNdBACG.js → index-DmK4qau4.js} +1 -1
- package/dist/index-DmK4qau4.js.gz +0 -0
- package/dist/{index-DGLmwNVd.js → index-Dn8OlJuS.js} +1 -1
- package/dist/{index-UtK3Dlud.js → index-DnmwWbtK.js} +1 -1
- package/dist/index-DnmwWbtK.js.gz +0 -0
- package/dist/{index-CrBVDUvz.mjs → index-DryFo3e9.mjs} +1 -1
- package/dist/index-DryFo3e9.mjs.gz +0 -0
- package/dist/{index-DLgYuPKy.js → index-Dx3Vt9UA.js} +1 -1
- package/dist/index-Dx3Vt9UA.js.gz +0 -0
- package/dist/index-GSe9RsOo.mjs +4 -0
- package/dist/{index-B_dFeRcy.js → index-GvRg1lB7.js} +1 -1
- package/dist/index-GvRg1lB7.js.gz +0 -0
- package/dist/{index-BEVtN6IC.js → index-KxkM8bFE.js} +1 -1
- package/dist/{index-DAM9Li0x.js → index-MrKJsShg.js} +1 -1
- package/dist/index-MrKJsShg.js.gz +0 -0
- package/dist/{index-DBM1q-W6.js → index-Z89JGNBo.js} +1 -1
- package/dist/{index-Bo0I-7hm.js → index-ZSDmahF_.js} +1 -1
- package/dist/{index-BH8THavh.mjs → index-efBOiywC.mjs} +2 -2
- package/dist/index-efBOiywC.mjs.gz +0 -0
- package/dist/index-gfJT-kZi.js +1 -0
- package/dist/index-gfJT-kZi.js.gz +0 -0
- package/dist/{index-CsdLPeHg.mjs → index-i6RUDmGW.mjs} +1 -1
- package/dist/index-i6RUDmGW.mjs.gz +0 -0
- package/dist/{index-BWOrguvF.js → index-i_uVluGQ.js} +1 -1
- package/dist/index-i_uVluGQ.js.gz +0 -0
- package/dist/{index-DfF4dvXM.js → index-kOMHLDxc.js} +1 -1
- package/dist/{index-BW5MO4s_.js → index-kWbVdOOR.js} +1 -1
- package/dist/index-kWbVdOOR.js.gz +0 -0
- package/dist/{index-BcNxr_ZR.mjs → index-nG1eeRw3.mjs} +3 -3
- package/dist/index-nG1eeRw3.mjs.gz +0 -0
- package/dist/{index-HXxYo8jI.mjs → index-ozjjZv_s.mjs} +1 -1
- package/dist/index-ozjjZv_s.mjs.gz +0 -0
- package/dist/{index-ClZx7uBu.mjs → index-xAQb2zWM.mjs} +1 -1
- package/dist/index-xAQb2zWM.mjs.gz +0 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-BcZi47jy.js → index.vue_vue_type_script_setup_true_lang-B2l8Bcu_.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-B2l8Bcu_.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-B_e54JDa.js → index.vue_vue_type_script_setup_true_lang-BhqWxfuJ.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BhqWxfuJ.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BMK_SJJU.mjs → index.vue_vue_type_script_setup_true_lang-By7XhNXv.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-By7XhNXv.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DcZ0s749.mjs → index.vue_vue_type_script_setup_true_lang-C51fFmoQ.mjs} +4 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-C51fFmoQ.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DvTsZFCl.mjs → index.vue_vue_type_script_setup_true_lang-D0DvwfhL.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-D0DvwfhL.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dpaub3i2.js → index.vue_vue_type_script_setup_true_lang-DvcENAhD.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-DvcENAhD.js.gz +0 -0
- package/dist/{link-C-P8XPYU.mjs → link-DE-OioHb.mjs} +1 -1
- package/dist/link-DE-OioHb.mjs.gz +0 -0
- package/dist/{link-C4sKGAgm.js → link-HWn9lovV.js} +1 -1
- package/dist/link-HWn9lovV.js.gz +0 -0
- package/dist/{list-DMFZCcqh.mjs → list-BaNzHeVa.mjs} +1 -1
- package/dist/list-BaNzHeVa.mjs.gz +0 -0
- package/dist/{list-DzSZdGMg.js → list-jfcbuKUc.js} +1 -1
- package/dist/list-jfcbuKUc.js.gz +0 -0
- package/dist/{main-CH-jbZ1x.mjs → main-B5l46E84.mjs} +2 -2
- package/dist/main-B5l46E84.mjs.gz +0 -0
- package/dist/{main-Cb_zMJMY.js → main-DpB9WLac.js} +1 -1
- package/dist/main-DpB9WLac.js.gz +0 -0
- package/dist/{mobile-CQ-pbMoC.js → mobile-BMxGE9uz.js} +1 -1
- package/dist/mobile-BMxGE9uz.js.gz +0 -0
- package/dist/{mobile-BYhtvcnl.mjs → mobile-XBvvB60o.mjs} +1 -1
- package/dist/mobile-XBvvB60o.mjs.gz +0 -0
- package/dist/{parent-Ci-niF8H.mjs → parent-CLSeMxbp.mjs} +2 -2
- package/dist/parent-CLSeMxbp.mjs.gz +0 -0
- package/dist/{parent-BpIOs42n.js → parent-CoTCutfH.js} +1 -1
- package/dist/parent-CoTCutfH.js.gz +0 -0
- package/dist/{roleItem-Cg7wx_rh.js → roleItem-BxJ6FWVZ.js} +1 -1
- package/dist/roleItem-BxJ6FWVZ.js.gz +0 -0
- package/dist/{roleItem-BJ7EIwir.mjs → roleItem-DQODb-nH.mjs} +1 -1
- package/dist/roleItem-DQODb-nH.mjs.gz +0 -0
- package/dist/{saveForm-CWRjOziw.js → saveForm-4SyEZlDt.js} +1 -1
- package/dist/{saveForm-D5eft8K9.mjs → saveForm-NUPUbUkb.mjs} +1 -1
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-zoyfCPmn.mjs → saveForm.vue_vue_type_script_setup_true_lang-BcTmDAHm.mjs} +2 -2
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-BcTmDAHm.mjs.gz +0 -0
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-BvIAos__.js → saveForm.vue_vue_type_script_setup_true_lang-vhoBZDt6.js} +1 -1
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-vhoBZDt6.js.gz +0 -0
- package/dist/{scan-D6Tq6vC0.mjs → scan-1Sm1FhZr.mjs} +1 -1
- package/dist/scan-1Sm1FhZr.mjs.gz +0 -0
- package/dist/{scan-CP0oeX69.js → scan-Dcdxm81m.js} +1 -1
- package/dist/scan-Dcdxm81m.js.gz +0 -0
- package/dist/{search-gNdg67Wf.mjs → search-Cg-a1HjZ.mjs} +1 -1
- package/dist/search-Cg-a1HjZ.mjs.gz +0 -0
- package/dist/{search-BkrjWx7c.js → search-badOlGGz.js} +1 -1
- package/dist/search-badOlGGz.js.gz +0 -0
- package/dist/{selectConfig-7dgLjWOZ.js → selectConfig-BlxKnKMv.js} +1 -1
- package/dist/selectConfig-BlxKnKMv.js.gz +0 -0
- package/dist/{selectConfig-C7ixlOGQ.mjs → selectConfig-CnjGTmUU.mjs} +1 -1
- package/dist/selectConfig-CnjGTmUU.mjs.gz +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/{subItem-K4YQnF2Q.mjs → subItem-C3pyf1hB.mjs} +1 -1
- package/dist/subItem-C3pyf1hB.mjs.gz +0 -0
- package/dist/{subItem-B_l-4GCk.js → subItem-CSO7Bz-O.js} +1 -1
- package/dist/subItem-CSO7Bz-O.js.gz +0 -0
- package/dist/{tagsView-CGUYqUT6.js → tagsView-Cli4IXRc.js} +2 -2
- package/dist/tagsView-Cli4IXRc.js.gz +0 -0
- package/dist/{tagsView-DDD8TXH8.mjs → tagsView-fNVkqhar.mjs} +46 -46
- package/dist/tagsView-fNVkqhar.mjs.gz +0 -0
- package/dist/{transverse-nolvkrSa.mjs → transverse-DnMi2rX_.mjs} +2 -2
- package/dist/transverse-DnMi2rX_.mjs.gz +0 -0
- package/dist/{transverse-V6B1EMqR.js → transverse-H3Vai8yw.js} +1 -1
- package/dist/transverse-H3Vai8yw.js.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-CLXg17cE.mjs} +16 -16
- package/dist/uploadAvatar-CLXg17cE.mjs.gz +0 -0
- package/dist/{uploadAvatar-CF7gz4xb.js → uploadAvatar-D95slvKY.js} +1 -1
- package/dist/uploadAvatar-D95slvKY.js.gz +0 -0
- package/dist/{user-C0T_QfH8.js → user-BWEJqg3p.js} +1 -1
- package/dist/user-BWEJqg3p.js.gz +0 -0
- package/dist/{user-CN1CKaWa.mjs → user-OZ_219V8.mjs} +7 -7
- package/dist/user-OZ_219V8.mjs.gz +0 -0
- package/dist/{userNews-BBuJjtC1.js → userNews-DT97e0aU.js} +1 -1
- package/dist/userNews-DT97e0aU.js.gz +0 -0
- package/dist/{userNews-CkpWjIHZ.mjs → userNews-DfG4BDte.mjs} +1 -1
- package/dist/userNews-DfG4BDte.mjs.gz +0 -0
- package/dist/{userSelect-BBxMpw_P.js → userSelect-C3oAqwbi.js} +1 -1
- package/dist/{userSelect-q5Ju_O9S.mjs → userSelect-CAnzVBMZ.mjs} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-C2wM2Bt0.js → userSelect.vue_vue_type_script_setup_true_lang-B_zFxg_g.js} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-B_zFxg_g.js.gz +0 -0
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-Bq5AVqTs.mjs → userSelect.vue_vue_type_script_setup_true_lang-Dp46w1nS.mjs} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-Dp46w1nS.mjs.gz +0 -0
- package/dist/{vertical-1tsT57Zy.js → vertical-DP-orqOv.js} +1 -1
- package/dist/vertical-DP-orqOv.js.gz +0 -0
- package/dist/{vertical-CTRjLeEX.mjs → vertical-ivGc6Eo3.mjs} +3 -3
- package/dist/vertical-ivGc6Eo3.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/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-DGo9I56v.js"),O={};O.getData=e=>new Promise((t,i)=>{let s={};Y(e).then(o=>{s.arrayBuffer=o;try{s.orientation=E(o)}catch{s.orientation=-1}t(s)}).catch(o=>{i(o)})});function Y(e){let t=null;return new Promise((i,s)=>{if(e.src)if(/^data\:/i.test(e.src))t=S(e.src),i(t);else if(/^blob\:/i.test(e.src)){var o=new FileReader;o.onload=function(h){t=h.target.result,i(t)},M(e.src,function(h){o.readAsArrayBuffer(h)})}else{var r=new XMLHttpRequest;r.onload=function(){if(this.status==200||this.status===0)t=r.response,i(t);else throw"Could not load image";r=null},r.open("GET",e.src,!0),r.responseType="arraybuffer",r.send(null)}else s("img error")})}function M(e,t){var i=new XMLHttpRequest;i.open("GET",e,!0),i.responseType="blob",i.onload=function(s){(this.status==200||this.status===0)&&t(this.response)},i.send()}function S(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/mi)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gmi,"");for(var i=atob(e),s=i.length%2==0?i.length:i.length+1,o=new ArrayBuffer(s),r=new Uint16Array(o),h=0;h<s;h++)r[h]=i.charCodeAt(h);return o}function N(e,t,i){var s="",o;for(o=t,i+=t;o<i;o++)s+=String.fromCharCode(e.getUint8(o));return s}function E(e){var t=new DataView(e),i=t.byteLength,s,o,r,h,l,p,c,n,f,d;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(f=2;f<i;){if(t.getUint8(f)===255&&t.getUint8(f+1)===225){c=f;break}f++}if(c&&(o=c+4,r=c+10,N(t,o,4)==="Exif"&&(p=t.getUint16(r),l=p===18761,(l||p===19789)&&t.getUint16(r+2,l)===42&&(h=t.getUint32(r+4,l),h>=8&&(n=r+h)))),n){for(i=t.getUint16(n,l),d=0;d<i;d++)if(f=n+d*12+2,t.getUint16(f,l)===274){f+=8,s=t.getUint16(f,l);break}}return s}const I={data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10,validator:function(e){return Array.isArray(e)?Number(e[0])>=0&&Number(e[1])>=0:Number(e)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let e={};if(e.top=this.cropOffsertY>21?"-21px":"0px",e.width=this.cropW>0?this.cropW:0,e.height=this.cropH>0?this.cropH:0,this.infoTrue){let t=1;this.high&&!this.full&&(t=window.devicePixelRatio),this.enlarge!==1&!this.full&&(t=Math.abs(Number(this.enlarge))),e.width=e.width*t,e.height=e.height*t,this.full&&(e.width=e.width/this.scale,e.height=e.height/this.scale)}return e.width=e.width.toFixed(0),e.height=e.height.toFixed(0),e},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(e){e!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(e,t){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(e){e&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(e){var t=navigator.userAgent.split(" "),i="";let s=0;const o=new RegExp(e,"i");for(var r=0;r<t.length;r++)o.test(t[r])&&(i=t[r]);return i?s=i.split("/")[1].split("."):s=["0","0","0"],s},checkOrientationImage(e,t,i,s){if(this.getVersion("chrome")[0]>=81)t=-1;else if(this.getVersion("safari")[0]>=605){const h=this.getVersion("version");h[0]>13&&h[1]>1&&(t=-1)}else{const h=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(h){let l=h[1];l=l.split("_"),(l[0]>13||l[0]>=13&&l[1]>=4)&&(t=-1)}}let o=document.createElement("canvas"),r=o.getContext("2d");switch(r.save(),t){case 2:o.width=i,o.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:o.width=i,o.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:o.width=i,o.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:o.height=i,o.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:o.width=s,o.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:o.height=i,o.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:o.height=i,o.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:o.width=i,o.height=s}r.drawImage(e,0,0,i,s),r.restore(),o.toBlob(h=>{let l=URL.createObjectURL(h);URL.revokeObjectURL(this.imgs),this.imgs=l},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let e=new Image;if(e.onload=()=>{if(this.img==="")return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let i=e.width,s=e.height;O.getData(e).then(o=>{this.orientation=o.orientation||1;let r=Number(this.maxImgSize);if(!this.orientation&&i<r&s<r){this.imgs=this.img;return}i>r&&(s=s/i*r,i=r),s>r&&(i=i/s*r,s=r),this.checkOrientationImage(e,this.orientation,i,s)}).catch(o=>{this.$emit("img-load","error"),this.$emit("img-load-error",o)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},this.img.substr(0,4)!=="data"&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var i=URL.createObjectURL(this.response);e.src=i},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),e.touches.length==2&&(this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var i={x:this.touches[0].clientX,y:this.touches[0].clientY},s={x:e.touches[0].clientX,y:e.touches[0].clientY},o={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:e.touches[1].clientX,y:e.touches[1].clientY},h=Math.sqrt(Math.pow(i.x-o.x,2)+Math.pow(i.y-o.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),p=l-h,c=1;c=c/this.trueWidth>c/this.trueHeight?c/this.trueHeight:c/this.trueWidth,c=c>.1?.1:c;var n=c*p;if(!this.touchNow){if(this.touchNow=!0,p>0?t+=Math.abs(n):p<0&&t>Math.abs(n)&&(t-=Math.abs(n)),this.touches=e.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&e.touches.length===2)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,o;s=t-this.moveX,o=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,o,this.scale),h=this.getCropAxis(),l=this.trueHeight*this.scale,p=this.trueWidth*this.scale,c,n,f,d;switch(this.rotate){case 1:case-1:case 3:case-3:c=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(l-p)/2,n=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(p-l)/2,f=c-l+this.cropW,d=n-p+this.cropH;break;default:c=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,n=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,f=c-p+this.cropW,d=n-l+this.cropH;break}r.x1>=h.x1&&(s=c),r.y1>=h.y1&&(o=n),r.x2<=h.x2&&(s=f),r.y2<=h.y2&&(o=d)}this.x=s,this.y=o,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(e){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(e){e.preventDefault();let t=this.scale;var i=e.deltaY||e.wheelDelta,s=navigator.userAgent.indexOf("Firefox");i=s>0?i*30:i,this.isIE&&(i=-i);var o=this.coe;o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth;var r=o*i;r<0?t+=Math.abs(r):t>Math.abs(r)&&(t-=Math.abs(r));let h=r<0?"add":"reduce";if(h!==this.coeStatus&&(this.coeStatus=h,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var i=20;if(i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth,e=e*i,e>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick(()=>{var s=t-this.cropX,o=i-this.cropY;if(s>0?(this.cropW=s+this.cropChangeX>this.w?this.w-this.cropChangeX:s,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(s)>this.w?this.cropChangeX:Math.abs(s),this.cropOffsertX=this.cropChangeX+s>0?this.cropChangeX+s:0),!this.fixed)o>0?(this.cropH=o+this.cropChangeY>this.h?this.h-this.cropChangeY:o,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(o)>this.h?this.cropChangeY:Math.abs(o),this.cropOffsertY=this.cropChangeY+o>0?this.cropChangeY+o:0);else{var r=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];r+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],s>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=r,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(e,t,i,s,o){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=o,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("changeCropSize",{width:this.cropW,height:this.cropH}),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let s=this.w,o=this.h,r=0,h=0;if(this.centerBox){let c=this.getImgAxis(),n=c.x2,f=c.y2;r=c.x1>0?c.x1:0,h=c.y1>0?c.y1:0,s>n&&(s=n),o>f&&(o=f)}const[l,p]=this.checkCropLimitSize();this.$nextTick(()=>{var c=t-this.cropX,n=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-c<l?(this.cropW=l,this.cropOffsertX=this.cropOldW+this.cropChangeX-r-l):this.cropOldW-c>0?(this.cropW=s-this.cropChangeX-c<=s-r?this.cropOldW-c:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-c<=s-r?this.cropChangeX+c:r):(this.cropW=Math.abs(c)+this.cropChangeX<=s?Math.abs(c)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+c<l?this.cropW=l:this.cropOldW+c>0?(this.cropW=this.cropOldW+c+this.cropOffsertX<=s?this.cropOldW+c:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(c+this.cropOldW)<=s-r?Math.abs(c+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(c+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(c+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-n<p?(this.cropH=p,this.cropOffsertY=this.cropOldH+this.cropChangeY-h-p):this.cropOldH-n>0?(this.cropH=o-this.cropChangeY-n<=o-h?this.cropOldH-n:this.cropOldH+this.cropChangeY-h,this.cropOffsertY=o-this.cropChangeY-n<=o-h?this.cropChangeY+n:h):(this.cropH=Math.abs(n)+this.cropChangeY<=o?Math.abs(n)-this.cropOldH:o-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+n<p?this.cropH=p:this.cropOldH+n>0?(this.cropH=this.cropOldH+n+this.cropOffsertY<=o?this.cropOldH+n:o-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=o-this.cropChangeY+Math.abs(n+this.cropOldH)<=o-h?Math.abs(n+this.cropOldH):this.cropChangeY-h,this.cropOffsertY=o-this.cropChangeY+Math.abs(n+this.cropOldH)<=o-h?this.cropChangeY-Math.abs(n+this.cropOldH):h))),this.canChangeX&&this.fixed){var f=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];f<p?(this.cropH=p,this.cropW=this.fixedNumber[0]*p/this.fixedNumber[1],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):f+this.cropOffsertY>o?(this.cropH=o-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=f}if(this.canChangeY&&this.fixed){var d=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];d<l?(this.cropW=l,this.cropH=this.fixedNumber[1]*l/this.fixedNumber[0]):d+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=d}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})})},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:i}=this,s=new Array;return Array.isArray(i)?s=i:s=[i,i],e=parseFloat(s[0]),t=parseFloat(s[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(e,t,i,s,o,r){const h=e/t;let l=o,p=r;return l<i&&(l=i,p=Math.ceil(l/h)),p<s&&(p=s,l=Math.ceil(p*h),l<i&&(l=i,p=Math.ceil(l/h))),l<o&&(l=o,p=Math.ceil(l/h)),p<r&&(p=r,l=Math.ceil(p*h)),{width:l,height:p}},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1);let[e,t]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],e,t,this.cropW,this.cropH):{width:e,height:t};i>this.cropW&&(this.cropW=i,this.cropOffsertX+i>this.w&&(this.cropOffsertX=this.w-i)),s>this.cropH&&(this.cropH=s,this.cropOffsertY+s>this.h&&(this.cropOffsertY=this.h-s)),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&e.touches.length===2)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,o;s=t-this.cropOffsertX,o=i-this.cropOffsertY,this.cropX=s,this.cropY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let i=0,s=0;e&&(e.preventDefault(),i="clientX"in e?e.clientX:e.touches[0].clientX,s="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick(()=>{let o,r,h=i-this.cropX,l=s-this.cropY;if(t&&(h=this.cropOffsertX,l=this.cropOffsertY),h<=0?o=0:h+this.cropW>this.w?o=this.w-this.cropW:o=h,l<=0?r=0:l+this.cropH>this.h?r=this.h-this.cropH:r=l,this.centerBox){let p=this.getImgAxis();o<=p.x1&&(o=p.x1),o+this.cropW>p.x2&&(o=p.x2-this.cropW),r<=p.y1&&(r=p.y1),r+this.cropH>p.y2&&(r=p.y2-this.cropH)}this.cropOffsertX=o,this.cropOffsertY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*i,r=this.trueHeight*i;switch(this.rotate){case 0:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=e+this.trueWidth*(1-i)/2+(o-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=t+this.trueHeight*(1-i)/2+(r-o)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break}return s},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(e){let t=document.createElement("canvas"),i=new Image,s=this.rotate,o=this.trueWidth,r=this.trueHeight,h=this.cropOffsertX,l=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let n=t.getContext("2d"),f=1;this.high&!this.full&&(f=window.devicePixelRatio),this.enlarge!==1&!this.full&&(f=Math.abs(Number(this.enlarge)));let d=this.cropW*f,C=this.cropH*f,m=o*this.scale*f,v=r*this.scale*f,g=(this.x-h+this.trueWidth*(1-this.scale)/2)*f,u=(this.y-l+this.trueHeight*(1-this.scale)/2)*f;switch(c(d,C),n.save(),this.fillColor&&(n.fillStyle=this.fillColor,n.fillRect(0,0,t.width,t.height)),s){case 0:this.full?(c(d/this.scale,C/this.scale),n.drawImage(i,g/this.scale,u/this.scale,m/this.scale,v/this.scale)):n.drawImage(i,g,u,m,v);break;case 1:case-3:this.full?(c(d/this.scale,C/this.scale),g=g/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,u,-g-v/this.scale,m/this.scale,v/this.scale)):(g=g+(m-v)/2,u=u+(v-m)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,u,-g-v,m,v));break;case 2:case-2:this.full?(c(d/this.scale,C/this.scale),n.rotate(s*90*Math.PI/180),g=g/this.scale,u=u/this.scale,n.drawImage(i,-g-m/this.scale,-u-v/this.scale,m/this.scale,v/this.scale)):(n.rotate(s*90*Math.PI/180),n.drawImage(i,-g-m,-u-v,m,v));break;case 3:case-1:this.full?(c(d/this.scale,C/this.scale),g=g/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,-u-m/this.scale,g,m/this.scale,v/this.scale)):(g=g+(m-v)/2,u=u+(v-m)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,-u-m,g,m,v));break;default:this.full?(c(d/this.scale,C/this.scale),n.drawImage(i,g/this.scale,u/this.scale,m/this.scale,v/this.scale)):n.drawImage(i,g,u,m,v)}n.restore()}else{let n=o*this.scale,f=r*this.scale,d=t.getContext("2d");switch(d.save(),this.fillColor&&(d.fillStyle=this.fillColor,d.fillRect(0,0,t.width,t.height)),s){case 0:c(n,f),d.drawImage(i,0,0,n,f);break;case 1:case-3:c(f,n),d.rotate(s*90*Math.PI/180),d.drawImage(i,0,-f,n,f);break;case 2:case-2:c(n,f),d.rotate(s*90*Math.PI/180),d.drawImage(i,-n,-f,n,f);break;case 3:case-1:c(f,n),d.rotate(s*90*Math.PI/180),d.drawImage(i,-n,0,n,f);break;default:c(n,f),d.drawImage(i,0,0,n,f)}d.restore()}e(t)};var p=this.img.substr(0,4);p!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function c(n,f){t.width=Math.round(n),t.height=Math.round(f)}},getCropData(e){this.getCropChecked(t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(e){this.getCropChecked(t=>{t.toBlob(i=>e(i),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let e=this.cropW,t=this.cropH,i=this.scale;var s={};s.div={width:`${e}px`,height:`${t}px`};let o=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,h=0;s.w=e,s.h=t,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${o}px, ${r}px, ${h}px)rotateZ(${this.rotate*90}deg)`},s.html=`
|
|
2
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-DGo9I56v.js"),I=require("./index-Dn8OlJuS.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-DT97e0aU.js"))),t=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./search-badOlGGz.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-BZ9rYml1.mjs";
|
|
3
|
+
import { u as de } from "./index-BsR2Vs5w.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-DfG4BDte.mjs")), n = k(() => import("./search-Cg-a1HjZ.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 +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-DGo9I56v.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,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-BZ9rYml1.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("./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-B_zFxg_g.js");exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),f=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),f=require("./index-DGo9I56v.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,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-BZ9rYml1.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";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-DGo9I56v.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-CSO7Bz-O.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-BZ9rYml1.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-C3pyf1hB.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.2",
|
|
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
|
|
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
|