hs-admin-ui 4.9.0 → 4.9.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-DDPG86fC.js → 401-DpufmV9S.js} +1 -1
- package/dist/401-DpufmV9S.js.gz +0 -0
- package/dist/{401-Cu91d09E.mjs → 401-Jgbn7_GX.mjs} +1 -1
- package/dist/401-Jgbn7_GX.mjs.gz +0 -0
- package/dist/{404-BxF_Sv44.mjs → 404-DpzTZ2hs.mjs} +1 -1
- package/dist/{404-BxF_Sv44.mjs.gz → 404-DpzTZ2hs.mjs.gz} +0 -0
- package/dist/{404-CEiMQQ46.js → 404-Dvqr_BG0.js} +1 -1
- package/dist/{404-CEiMQQ46.js.gz → 404-Dvqr_BG0.js.gz} +0 -0
- package/dist/{account-Do7wn2kZ.js → account-CRk6JQqH.js} +1 -1
- package/dist/account-CRk6JQqH.js.gz +0 -0
- package/dist/{account-hNgYj6X9.mjs → account-CbmSG6Z-.mjs} +2 -2
- package/dist/account-CbmSG6Z-.mjs.gz +0 -0
- package/dist/{aside-CsZlZKga.mjs → aside-BNACkfl0.mjs} +2 -2
- package/dist/aside-BNACkfl0.mjs.gz +0 -0
- package/dist/{aside-BvnEsEzs.js → aside-C5wG7mJ9.js} +1 -1
- package/dist/aside-C5wG7mJ9.js.gz +0 -0
- package/dist/baseFormConfig-ESA7rrpk.js +1 -0
- package/dist/baseFormConfig-ESA7rrpk.js.gz +0 -0
- package/dist/{baseFormConfig-CJopFcw0.mjs → baseFormConfig-Y-WskR6p.mjs} +11 -4
- package/dist/baseFormConfig-Y-WskR6p.mjs.gz +0 -0
- package/dist/{bianjiqi-ovD-QOe-.mjs → bianjiqi-CXqp6x3V.mjs} +3 -3
- package/dist/bianjiqi-CXqp6x3V.mjs.gz +0 -0
- package/dist/bianjiqi-D6ARkwWD.js +1 -0
- package/dist/bianjiqi-D6ARkwWD.js.gz +0 -0
- package/dist/{btnIndex-B1QEAu_7.js → btnIndex-BOknxN72.js} +1 -1
- package/dist/btnIndex-BOknxN72.js.gz +0 -0
- package/dist/{btnIndex-DW0KyGKi.mjs → btnIndex-C_Zk3XLi.mjs} +2 -2
- package/dist/btnIndex-C_Zk3XLi.mjs.gz +0 -0
- package/dist/{classic-rsOAPUSS.js → classic-Cc-8rpkL.js} +1 -1
- package/dist/classic-Cc-8rpkL.js.gz +0 -0
- package/dist/{classic-FtS3BzGP.mjs → classic-CxJ3nEAF.mjs} +2 -2
- package/dist/classic-CxJ3nEAF.mjs.gz +0 -0
- package/dist/{cloneConfigDialog-CgwHHj45.js → cloneConfigDialog-BLPSMHZT.js} +1 -1
- package/dist/cloneConfigDialog-BLPSMHZT.js.gz +0 -0
- package/dist/{cloneConfigDialog-B57pw5o-.mjs → cloneConfigDialog-DqhAQ2Lu.mjs} +1 -1
- package/dist/cloneConfigDialog-DqhAQ2Lu.mjs.gz +0 -0
- package/dist/{columns-CcOff10B.mjs → columns-x82-K5d3.mjs} +2 -2
- package/dist/columns-x82-K5d3.mjs.gz +0 -0
- package/dist/{columns-C4baHny5.js → columns-yK3vAWGp.js} +1 -1
- package/dist/columns-yK3vAWGp.js.gz +0 -0
- package/dist/{columnsAside-DUc4rzSD.js → columnsAside-C8glkuKl.js} +1 -1
- package/dist/columnsAside-C8glkuKl.js.gz +0 -0
- package/dist/{columnsAside-gRphLzTx.mjs → columnsAside-CV7igKHd.mjs} +1 -1
- package/dist/columnsAside-CV7igKHd.mjs.gz +0 -0
- package/dist/{contextmenu-C16h3lLN.mjs → contextmenu-2KqXj-XU.mjs} +1 -1
- package/dist/contextmenu-2KqXj-XU.mjs.gz +0 -0
- package/dist/{contextmenu-buAVwU_b.js → contextmenu-BRX7J9So.js} +1 -1
- package/dist/contextmenu-BRX7J9So.js.gz +0 -0
- package/dist/{contextmenu-CzxQ_0Dn.js → contextmenu-Bsh4Mlov.js} +1 -1
- package/dist/contextmenu-Bsh4Mlov.js.gz +0 -0
- package/dist/{contextmenu-BqwS1X4z.mjs → contextmenu-CmIwdbel.mjs} +1 -1
- package/dist/contextmenu-CmIwdbel.mjs.gz +0 -0
- package/dist/{contextmenu-C-WvQCUH.mjs → contextmenu-D69BwX1T.mjs} +1 -1
- package/dist/contextmenu-D69BwX1T.mjs.gz +0 -0
- package/dist/{contextmenu-Bil62dnr.js → contextmenu-DhrMck81.js} +1 -1
- package/dist/contextmenu-DhrMck81.js.gz +0 -0
- package/dist/{defaults-BwgWruD-.mjs → defaults-CtCJraol.mjs} +2 -2
- package/dist/defaults-CtCJraol.mjs.gz +0 -0
- package/dist/{defaults-B0XcitfV.js → defaults-DqpZefMC.js} +1 -1
- package/dist/defaults-DqpZefMC.js.gz +0 -0
- package/dist/{dialog-B14CiaXT.js → dialog-6uPgYIxM.js} +1 -1
- package/dist/{dialog-DYzRvY95.mjs → dialog-Cb2y8QsF.mjs} +1 -1
- package/dist/{dialog-Dq__PmWZ.mjs → dialog-DC830QsM.mjs} +1 -1
- package/dist/{dialog-DxWoQuvh.js → dialog-DRDq6v0V.js} +1 -1
- package/dist/{dialog-CBUniUsY.js → dialog-PeJSYg2P.js} +1 -1
- package/dist/{dialog-DjWP7oep.mjs → dialog-f9IEpP9B.mjs} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-2tdUBOII.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BAaYQvG7.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BAaYQvG7.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-FWIevTI-.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-Bme4J_zr.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-Bme4J_zr.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CXqkAlav.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-6g4X8lco.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-6g4X8lco.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-19QhHkzC.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DaMjZ3Ax.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DaMjZ3Ax.js.gz +0 -0
- package/dist/{dictDialog-By-xab8L.mjs → dictDialog-C0N43TF0.mjs} +1 -1
- package/dist/{dictDialog-BAk1tQw5.js → dictDialog-D6zfCwFh.js} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DJTCENQ4.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Cl7DH8nY.mjs} +2 -2
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Cl7DH8nY.mjs.gz +0 -0
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C4nW5PBm.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-D1AZlgSp.js} +1 -1
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-D1AZlgSp.js.gz +0 -0
- package/dist/{dictItemDialog-Cey1PTOs.js → dictItemDialog-Cuj36r9G.js} +1 -1
- package/dist/{dictItemDialog-Bqi1jffo.mjs → dictItemDialog-mZew2Q1T.mjs} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-DfL7fLMN.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-DIAV4VlF.mjs} +2 -2
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DIAV4VlF.mjs.gz +0 -0
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-C7D-KngB.js → dictItemDialog.vue_vue_type_script_setup_true_lang-DNA8SN1M.js} +1 -1
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DNA8SN1M.js.gz +0 -0
- package/dist/{editDialog-DWRi7Cd6.mjs → editDialog-DC0ob7dl.mjs} +1 -1
- package/dist/editDialog-DC0ob7dl.mjs.gz +0 -0
- package/dist/{editDialog-Drf0sE1E.js → editDialog-J1b2U-Qg.js} +1 -1
- package/dist/editDialog-J1b2U-Qg.js.gz +0 -0
- package/dist/{formConfig-F1Jyya2Z.mjs → formConfig-CJuEMyKg.mjs} +4 -4
- package/dist/formConfig-CJuEMyKg.mjs.gz +0 -0
- package/dist/{formConfig-B91yHcas.js → formConfig-D-nwg8Nv.js} +1 -1
- package/dist/formConfig-D-nwg8Nv.js.gz +0 -0
- package/dist/{header-C4tLT68w.js → header-CjUMYK0c.js} +1 -1
- package/dist/{header-7Frzw3SG.mjs → header-D51ddfPz.mjs} +2 -2
- package/dist/{horizontal-DEJl8P0v.js → horizontal-CQSAoTaO.js} +1 -1
- package/dist/horizontal-CQSAoTaO.js.gz +0 -0
- package/dist/{horizontal-BWOMwOWJ.mjs → horizontal-D3nri8e6.mjs} +11 -11
- package/dist/horizontal-D3nri8e6.mjs.gz +0 -0
- package/dist/{hsAttrBtn-CAipBrWx.mjs → hsAttrBtn-CKVKQKQ0.mjs} +1 -1
- package/dist/{hsAttrBtn-UrJwO6Sa.js → hsAttrBtn-DjQz2-WG.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-BAjG3NAE.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-BS1hg8QL.mjs} +3 -3
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-BS1hg8QL.mjs.gz +0 -0
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DNNy4CEQ.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-CQeAZ0dP.js} +1 -1
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-CQeAZ0dP.js.gz +0 -0
- package/dist/{hsAttrForm-DCGS0k8q.js → hsAttrForm-DaV7Yquv.js} +1 -1
- package/dist/{hsAttrForm-Ga2ZpaE3.mjs → hsAttrForm-mHKjTI7r.mjs} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-CJ1iD1uA.js → hsAttrForm.vue_vue_type_script_setup_true_lang-DZwpg_Wy.js} +1 -1
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DZwpg_Wy.js.gz +0 -0
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-D4JtPOvp.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-fEP2yHIX.mjs} +3 -3
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-fEP2yHIX.mjs.gz +0 -0
- package/dist/{hsBtnConfigList-kz2WrSlp.js → hsBtnConfigList-B5sYBKRX.js} +1 -1
- package/dist/hsBtnConfigList-B5sYBKRX.js.gz +0 -0
- package/dist/{hsBtnConfigList-kgWdybCR.mjs → hsBtnConfigList-Bmwjd-ac.mjs} +1 -1
- package/dist/hsBtnConfigList-Bmwjd-ac.mjs.gz +0 -0
- package/dist/{hsBtnItemConfig-BhvmNHXK.mjs → hsBtnItemConfig-Dj9pAQX4.mjs} +1 -1
- package/dist/{hsBtnItemConfig-CtLJwryP.js → hsBtnItemConfig-MQoSRixP.js} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DnxJXGVq.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-C2TxEoyf.js} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-C2TxEoyf.js.gz +0 -0
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CnfQz7Zb.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DPySeEcD.mjs} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DPySeEcD.mjs.gz +0 -0
- package/dist/{hsBtnPanel-CvwCxxDg.mjs → hsBtnPanel-CQsoP2AH.mjs} +1 -1
- package/dist/{hsBtnPanel-DO5xEYem.js → hsBtnPanel-aIWadDN-.js} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DrVi0prb.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BJt5L_oP.js} +1 -1
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BJt5L_oP.js.gz +0 -0
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Dt_kgncS.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DDP8tZbI.mjs} +4 -4
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DDP8tZbI.mjs.gz +0 -0
- package/dist/{hsExpand-BAq8Yeg1.mjs → hsExpand-CRzXNc3_.mjs} +1 -1
- package/dist/{hsExpand-VhTGJRik.js → hsExpand-D-Cbz42f.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-io_BvlTx.mjs → hsExpand.vue_vue_type_script_setup_true_lang-72AJxxmk.mjs} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-72AJxxmk.mjs.gz +0 -0
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-CJjGM4db.js → hsExpand.vue_vue_type_script_setup_true_lang-C5idiTrZ.js} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-C5idiTrZ.js.gz +0 -0
- package/dist/{hsFormConfig-DI1t3DvR.mjs → hsFormConfig-DfIR9pey.mjs} +1 -1
- package/dist/hsFormConfig-DfIR9pey.mjs.gz +0 -0
- package/dist/{hsFormConfig-ihCGepof.js → hsFormConfig-DiM2e7kJ.js} +1 -1
- package/dist/hsFormConfig-DiM2e7kJ.js.gz +0 -0
- package/dist/{hsFormConfigList-Cu8szDb9.js → hsFormConfigList-DF7Hl-C3.js} +1 -1
- package/dist/hsFormConfigList-DF7Hl-C3.js.gz +0 -0
- package/dist/{hsFormConfigList-DUK6l0MX.mjs → hsFormConfigList-QpLnFOB8.mjs} +3 -3
- package/dist/hsFormConfigList-QpLnFOB8.mjs.gz +0 -0
- package/dist/{hsFormPanel-CBGG7nL9.js → hsFormPanel-CW7c1EnS.js} +1 -1
- package/dist/{hsFormPanel-Cj5RY3jY.mjs → hsFormPanel-DlmH_V2w.mjs} +1 -1
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BjsB4_E7.mjs → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Bup03jd5.mjs} +6 -6
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Bup03jd5.mjs.gz +0 -0
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D6-QjIp5.js → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DljPIFAx.js} +1 -1
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DljPIFAx.js.gz +0 -0
- package/dist/{hsFormParse-5o6DcHaU.mjs → hsFormParse-CZu-rd5o.mjs} +1 -1
- package/dist/{hsFormParse-B3mHt3IV.js → hsFormParse-j5Rcnote.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-DJmFpumq.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-B109q7ww.mjs} +2 -2
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-B109q7ww.mjs.gz +0 -0
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-DViAxuWr.js → hsFormParse.vue_vue_type_script_setup_true_lang-PHWarw1G.js} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-PHWarw1G.js.gz +0 -0
- package/dist/{hsPanelItem-sXaF30mP.mjs → hsPanelItem-bQmXYQPd.mjs} +1 -1
- package/dist/{hsPanelItem-Ck5gFo07.js → hsPanelItem-gPKeJkeC.js} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BQtM-Jzu.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-WYVHSpYX.js} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-WYVHSpYX.js.gz +0 -0
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-B_Lo2ZgU.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-ftd7mYU4.mjs} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-ftd7mYU4.mjs.gz +0 -0
- package/dist/{iframes-Bl9xdOw8.mjs → iframes-DT9O0e1T.mjs} +1 -1
- package/dist/iframes-DT9O0e1T.mjs.gz +0 -0
- package/dist/{iframes-B0EtNGod.js → iframes-DWHqwXQf.js} +1 -1
- package/dist/iframes-DWHqwXQf.js.gz +0 -0
- package/dist/{index-YDz_P2a8.js → index-2LLJH7mz.js} +1 -1
- package/dist/index-2LLJH7mz.js.gz +0 -0
- package/dist/{index-CPpChk5P.js → index-2hwq79k-.js} +1 -1
- package/dist/{index-D8J9JJG7.js → index-9F29loRt.js} +1 -1
- package/dist/index-9F29loRt.js.gz +0 -0
- package/dist/{index-nAj4paqi.js → index-B38sU7Zx.js} +1 -1
- package/dist/index-B38sU7Zx.js.gz +0 -0
- package/dist/{index-D1CuNVbW.mjs → index-B7BkiuQP.mjs} +1 -1
- package/dist/{index-C5PPiy2a.mjs → index-B7tFiU44.mjs} +1 -1
- package/dist/{index-ODPzWBFM.js → index-B8AeDzR9.js} +1 -1
- package/dist/{index-BmIiZyRl.mjs → index-BA7Zi8Tf.mjs} +1 -1
- package/dist/{index-BL7b9gTf.mjs → index-BAobYqW2.mjs} +1 -1
- package/dist/index-BGwInryu.js +3 -0
- package/dist/index-BGwInryu.js.gz +0 -0
- package/dist/{index-BNhIcpXJ.mjs → index-BL0V3HfI.mjs} +1 -1
- package/dist/index-BL0V3HfI.mjs.gz +0 -0
- package/dist/{index-BSQMyoDF.js → index-BOWA0c-9.js} +1 -1
- package/dist/{index-Rqb5Gc1R.js → index-BQ7MHU1m.js} +1 -1
- package/dist/{index-oiYYIlX1.js → index-BR0Y9F7F.js} +50 -50
- package/dist/index-BR0Y9F7F.js.gz +0 -0
- package/dist/{index-D5lNFsgP.mjs → index-BYBsBZCI.mjs} +3 -3
- package/dist/index-BYBsBZCI.mjs.gz +0 -0
- package/dist/{index-wyrJDdbS.mjs → index-BYQ2fzxT.mjs} +6142 -5974
- package/dist/index-BYQ2fzxT.mjs.gz +0 -0
- package/dist/{index-Dc1IYh20.js → index-BYVxUmqW.js} +1 -1
- package/dist/index-BYVxUmqW.js.gz +0 -0
- package/dist/{index-C-j6YGkD.mjs → index-BZ0BT99D.mjs} +1 -1
- package/dist/index-BZ0BT99D.mjs.gz +0 -0
- package/dist/{index-auxY0b1U.mjs → index-BaSJ169t.mjs} +1 -1
- package/dist/index-BaSJ169t.mjs.gz +0 -0
- package/dist/{index-DkaQYL_d.mjs → index-BgTnceUL.mjs} +2 -2
- package/dist/index-BgTnceUL.mjs.gz +0 -0
- package/dist/{index-DIxtR4Ul.js → index-BhJMBew5.js} +1 -1
- package/dist/{index-D2RVoDvb.js → index-BnPwpKIX.js} +1 -1
- package/dist/index-BnPwpKIX.js.gz +0 -0
- package/dist/{index-BwXRCHCp.js → index-BuXAjFKs.js} +1 -1
- package/dist/index-BuXAjFKs.js.gz +0 -0
- package/dist/{index-F4njQsqK.mjs → index-Bw6nv7ll.mjs} +2 -2
- package/dist/index-Bw6nv7ll.mjs.gz +0 -0
- package/dist/{index-Clgsej2j.mjs → index-BwqZBjqI.mjs} +1 -1
- package/dist/index-BwqZBjqI.mjs.gz +0 -0
- package/dist/{index-BptUUi-m.js → index-Bz-MxNdu.js} +1 -1
- package/dist/index-Bz-MxNdu.js.gz +0 -0
- package/dist/{index-BCSO-e5x.mjs → index-C8Jv193K.mjs} +2 -2
- package/dist/index-C8Jv193K.mjs.gz +0 -0
- package/dist/{index-B9hH04MV.js → index-C9yrks9v.js} +1 -1
- package/dist/index-C9yrks9v.js.gz +0 -0
- package/dist/{index-DiRR2s0y.js → index-CBOPEqz-.js} +1 -1
- package/dist/index-CBOPEqz-.js.gz +0 -0
- package/dist/{index-DRKqWiJs.mjs → index-CE8tHF_5.mjs} +1 -1
- package/dist/index-CE8tHF_5.mjs.gz +0 -0
- package/dist/{index-C9ITpo8B.js → index-CM2WQNlI.js} +1 -1
- package/dist/{index-CUvkmQ0J.js → index-CPJXD4jK.js} +1 -1
- package/dist/index-CPJXD4jK.js.gz +0 -0
- package/dist/{index-BHe2HfOc.mjs → index-CUHew_oq.mjs} +4 -4
- package/dist/index-CUHew_oq.mjs.gz +0 -0
- package/dist/{index-19gFSegc.mjs → index-CV4_jbAx.mjs} +1 -1
- package/dist/{index-BqSt97jc.js → index-Ca98zar0.js} +1 -1
- package/dist/index-Ca98zar0.js.gz +0 -0
- package/dist/{index-CUF8z619.js → index-CagA_Gsw.js} +1 -1
- package/dist/index-CeoQ6Gn0.mjs +214 -0
- package/dist/index-CeoQ6Gn0.mjs.gz +0 -0
- package/dist/{index-BSx1Obl0.js → index-CiGAh7VX.js} +1 -1
- package/dist/index-CiGAh7VX.js.gz +0 -0
- package/dist/{index-DNQK5LNR.mjs → index-CkU_9W6B.mjs} +1 -1
- package/dist/{index-DvY_3ldt.js → index-ClBfSuJc.js} +1 -1
- package/dist/index-ClBfSuJc.js.gz +0 -0
- package/dist/{index-C-FdR6gA.mjs → index-CnDfD4K9.mjs} +4 -4
- package/dist/index-CnDfD4K9.mjs.gz +0 -0
- package/dist/index-CrGtmSmx.js +1 -0
- package/dist/index-CrGtmSmx.js.gz +0 -0
- package/dist/{index-CLk9ThjT.js → index-CwcAaFWd.js} +1 -1
- package/dist/index-CwcAaFWd.js.gz +0 -0
- package/dist/{index-dP9obqDF.js → index-D0jlY7Dh.js} +1 -1
- package/dist/index-D0jlY7Dh.js.gz +0 -0
- package/dist/{index-CVbPEuNY.js → index-D25JdneL.js} +1 -1
- package/dist/index-D25JdneL.js.gz +0 -0
- package/dist/{index-BydvLJXC.mjs → index-D2hKVvq2.mjs} +1 -1
- package/dist/index-D2hKVvq2.mjs.gz +0 -0
- package/dist/{index-CcGTXYRP.js → index-D5SXbskF.js} +1 -1
- package/dist/{index-j8JQai5g.mjs → index-DAIdmWeL.mjs} +1 -1
- package/dist/{index-3XvRQxnk.mjs → index-DJlAnEHn.mjs} +2 -2
- package/dist/index-DJlAnEHn.mjs.gz +0 -0
- package/dist/index-DKI98eE2.mjs +4 -0
- package/dist/{index-DRoc5VRC.js → index-DRv9Bszf.js} +1 -1
- package/dist/index-DRv9Bszf.js.gz +0 -0
- package/dist/{index-CMlLk3At.js → index-DUynEo4W.js} +1 -1
- package/dist/{index-DwEy2G6A.js → index-DjO-EP9L.js} +1 -1
- package/dist/{index-BOT-UOOc.mjs → index-DjiPGPcv.mjs} +3 -3
- package/dist/index-DjiPGPcv.mjs.gz +0 -0
- package/dist/{index-D4bX0ZXe.mjs → index-DmP4L338.mjs} +1 -1
- package/dist/index-DmP4L338.mjs.gz +0 -0
- package/dist/{index-r0BnW8Xm.js → index-Dmtc49S1.js} +1 -1
- package/dist/index-Dmtc49S1.js.gz +0 -0
- package/dist/{index-Cs1pRs4u.js → index-DtDvAW_6.js} +1 -1
- package/dist/index-DtDvAW_6.js.gz +0 -0
- package/dist/{index-BBVoPn2F.mjs → index-DtZwQnhI.mjs} +1 -1
- package/dist/{index-DUC6hJ1X.mjs → index-DxRU0FVJ.mjs} +1 -1
- package/dist/index-GVhqcvsS.mjs +65 -0
- package/dist/index-GVhqcvsS.mjs.gz +0 -0
- package/dist/{index-CAuWC51p.mjs → index-QianMMMC.mjs} +1 -1
- package/dist/index-QianMMMC.mjs.gz +0 -0
- package/dist/{index-Dju6Sjs5.mjs → index-TMOmLpd1.mjs} +2 -2
- package/dist/index-TMOmLpd1.mjs.gz +0 -0
- package/dist/{index-Bglfs3BA.mjs → index-_52TY67z.mjs} +2 -2
- package/dist/index-_52TY67z.mjs.gz +0 -0
- package/dist/{index-D3CIAs8r.mjs → index-_bQp38OM.mjs} +1 -1
- package/dist/index-_bQp38OM.mjs.gz +0 -0
- package/dist/{index-C0nomWj5.js → index-bsQomZLn.js} +1 -1
- package/dist/index-bsQomZLn.js.gz +0 -0
- package/dist/{index-CGz9SEYx.mjs → index-lL0MLMTz.mjs} +2 -2
- package/dist/index-lL0MLMTz.mjs.gz +0 -0
- package/dist/{index-KSHy9tMS.mjs → index-mtksezM5.mjs} +2 -2
- package/dist/{index-D5y9P9lk.mjs → index-oNciNd5G.mjs} +5 -5
- package/dist/index-oNciNd5G.mjs.gz +0 -0
- package/dist/{index-BOImuIY7.js → index-q2FWM3IJ.js} +1 -1
- package/dist/index-q2FWM3IJ.js.gz +0 -0
- package/dist/{index-DweLhj8B.js → index-yrOUXcOB.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-DZBZkavd.js → index.vue_vue_type_script_setup_true_lang-BhqHwN4x.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BhqHwN4x.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BqgWI6E4.mjs → index.vue_vue_type_script_setup_true_lang-BjsS2JTE.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BjsS2JTE.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dbt0B1Ll.js → index.vue_vue_type_script_setup_true_lang-BsRLd-_t.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-STkcQgge.mjs → index.vue_vue_type_script_setup_true_lang-CWuqMb_H.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-CWuqMb_H.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-xKoTv6NI.js → index.vue_vue_type_script_setup_true_lang-CioF9chM.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-CioF9chM.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BJ9BXbYf.mjs → index.vue_vue_type_script_setup_true_lang-DEIRCAkJ.mjs} +4 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-DEIRCAkJ.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-7eCz4xWJ.js → index.vue_vue_type_script_setup_true_lang-DRneNm8i.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-DRneNm8i.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-CXth0psj.mjs → index.vue_vue_type_script_setup_true_lang-kdGcTwUs.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-kdGcTwUs.mjs.gz +0 -0
- package/dist/{link-BgmlSogs.js → link-7j76qunu.js} +1 -1
- package/dist/link-7j76qunu.js.gz +0 -0
- package/dist/{link-B94kcb9e.mjs → link-CkVUSPs3.mjs} +1 -1
- package/dist/link-CkVUSPs3.mjs.gz +0 -0
- package/dist/{list-CGg7Dst8.js → list-CXgJKiB_.js} +1 -1
- package/dist/list-CXgJKiB_.js.gz +0 -0
- package/dist/{list-BX0EoMXc.mjs → list-Cmb7WC_X.mjs} +1 -1
- package/dist/list-Cmb7WC_X.mjs.gz +0 -0
- package/dist/{main-BvbqfYcC.mjs → main-Cw7Cmk4E.mjs} +4 -4
- package/dist/main-Cw7Cmk4E.mjs.gz +0 -0
- package/dist/{main-DC3IrpZX.js → main-DuH8otMn.js} +1 -1
- package/dist/main-DuH8otMn.js.gz +0 -0
- package/dist/{mobile-CttNGlBT.mjs → mobile-CQawPJ3U.mjs} +1 -1
- package/dist/mobile-CQawPJ3U.mjs.gz +0 -0
- package/dist/{mobile-Cq0eCB1e.js → mobile-DepRSboy.js} +1 -1
- package/dist/mobile-DepRSboy.js.gz +0 -0
- package/dist/mxClient/xml/demo.xml +1 -2
- package/dist/mxClient/xml/stylesheet.xml +6 -6
- package/dist/{parent-CFRMs_yz.js → parent-CVSVXYVl.js} +1 -1
- package/dist/parent-CVSVXYVl.js.gz +0 -0
- package/dist/{parent-B1VcqA6j.mjs → parent-SFDGrY_f.mjs} +2 -2
- package/dist/parent-SFDGrY_f.mjs.gz +0 -0
- package/dist/{popup-BsfpSZSl.mjs → popup-8IWZw6oI.mjs} +1 -1
- package/dist/{popup-BwCMNpQm.js → popup-CEwx5X0E.js} +1 -1
- package/dist/popup.vue_vue_type_script_setup_true_name_editorPopup_lang-BMtoq60y.js +1 -0
- package/dist/popup.vue_vue_type_script_setup_true_name_editorPopup_lang-tS32hSV2.mjs +22 -0
- package/dist/{replaceRules-Dpyo-94e.js → replaceRules-BTauqxqF.js} +1 -1
- package/dist/replaceRules-BTauqxqF.js.gz +0 -0
- package/dist/{replaceRules-DJ4r90YF.mjs → replaceRules-JeyiVWuZ.mjs} +1 -1
- package/dist/replaceRules-JeyiVWuZ.mjs.gz +0 -0
- package/dist/{roleItem-DbNjLJf3.mjs → roleItem-B8CFeHsc.mjs} +1 -1
- package/dist/roleItem-B8CFeHsc.mjs.gz +0 -0
- package/dist/{roleItem-CE_yOqGh.js → roleItem-COTWCgWX.js} +1 -1
- package/dist/roleItem-COTWCgWX.js.gz +0 -0
- package/dist/{saveForm-DcRej0YT.js → saveForm-BNrHqu9x.js} +1 -1
- package/dist/{saveForm-DadkiWkw.mjs → saveForm-Dtx2mAOa.mjs} +1 -1
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-CVeUNwA8.js → saveForm.vue_vue_type_script_setup_true_lang-D1chzsKh.js} +1 -1
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-D1chzsKh.js.gz +0 -0
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-DN5GDu-M.mjs → saveForm.vue_vue_type_script_setup_true_lang-DukRfGsQ.mjs} +2 -2
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-DukRfGsQ.mjs.gz +0 -0
- package/dist/{scan-j4a5rBJ2.mjs → scan-CWfPEYqb.mjs} +1 -1
- package/dist/scan-CWfPEYqb.mjs.gz +0 -0
- package/dist/{scan-D9OwhTde.js → scan-_9kEan6n.js} +1 -1
- package/dist/scan-_9kEan6n.js.gz +0 -0
- package/dist/{search-BIznPkg0.mjs → search-AP4fv7e-.mjs} +3 -3
- package/dist/search-AP4fv7e-.mjs.gz +0 -0
- package/dist/{search-DpIFRTQ1.js → search-BTf9aNIf.js} +1 -1
- package/dist/search-BTf9aNIf.js.gz +0 -0
- package/dist/{selectConfig-B38qta49.js → selectConfig-CapuJAl0.js} +1 -1
- package/dist/selectConfig-CapuJAl0.js.gz +0 -0
- package/dist/{selectConfig-DCjzN1Zp.mjs → selectConfig-D6yU992B.mjs} +1 -1
- package/dist/selectConfig-D6yU992B.mjs.gz +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/{subItem-BxmUZWd3.mjs → subItem-BzO3qJBo.mjs} +1 -1
- package/dist/subItem-BzO3qJBo.mjs.gz +0 -0
- package/dist/{subItem-CeVW4yds.js → subItem-DB7bV3vT.js} +1 -1
- package/dist/subItem-DB7bV3vT.js.gz +0 -0
- package/dist/{tagsView-DK1NgsqV.js → tagsView-CnHmc9-8.js} +2 -2
- package/dist/{tagsView-DK1NgsqV.js.gz → tagsView-CnHmc9-8.js.gz} +0 -0
- package/dist/{tagsView-D6wLa_Jq.mjs → tagsView-PtoT4QhM.mjs} +46 -46
- package/dist/tagsView-PtoT4QhM.mjs.gz +0 -0
- package/dist/{transverse-MTxU3Lqm.mjs → transverse-CT00OfhO.mjs} +2 -2
- package/dist/transverse-CT00OfhO.mjs.gz +0 -0
- package/dist/{transverse-Fd3SJwgJ.js → transverse-DfpT1DIN.js} +1 -1
- package/dist/transverse-DfpT1DIN.js.gz +0 -0
- package/dist/{trtcUI-C6c75Pup.js → trtcUI-BpGS3sBo.js} +1 -1
- package/dist/trtcUI-BpGS3sBo.js.gz +0 -0
- package/dist/{trtcUI-BWpsH_L9.mjs → trtcUI-RSZBsRNX.mjs} +1 -1
- package/dist/trtcUI-RSZBsRNX.mjs.gz +0 -0
- package/dist/types/components/business/bcForm/baseForm.vue.d.ts +1 -1
- package/dist/types/components/business/bcForm/type.d.ts +2 -0
- package/dist/types/components/business/bcTable/components/form/formSearchBtn.vue.d.ts +3 -0
- package/dist/types/components/business/bcTable/utils/parseTable.d.ts +3 -1
- package/dist/types/types/form.d.ts +2 -0
- package/dist/types/types/formItem/autocomplete.d.ts +1 -1
- package/dist/types/types/formItem/checkbox.d.ts +1 -1
- package/dist/types/types/formItem/input.d.ts +1 -1
- package/dist/types/types/formItem/inputNumber.d.ts +1 -1
- package/dist/types/types/formItem/radio.d.ts +1 -1
- package/dist/types/types/formItem/selelct.d.ts +1 -1
- package/dist/types/types/formItem/treeSelect.d.ts +1 -1
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/mxgraph.d.ts +140 -41
- package/dist/{uploadAvatar-Erp8HEEg.js → uploadAvatar-CSiWg3ZE.js} +1 -1
- package/dist/uploadAvatar-CSiWg3ZE.js.gz +0 -0
- package/dist/{uploadAvatar-CzRIcWIa.mjs → uploadAvatar-CmVtbcCl.mjs} +1 -1
- package/dist/uploadAvatar-CmVtbcCl.mjs.gz +0 -0
- package/dist/{user-B1z1Z9bS.js → user-BvFXZood.js} +1 -1
- package/dist/user-BvFXZood.js.gz +0 -0
- package/dist/{user-B-ICJc_t.mjs → user-sVTtkxVs.mjs} +7 -7
- package/dist/user-sVTtkxVs.mjs.gz +0 -0
- package/dist/{userNews-CCuIagV8.mjs → userNews-BJyDlhgH.mjs} +1 -1
- package/dist/userNews-BJyDlhgH.mjs.gz +0 -0
- package/dist/{userNews-D2Pe38_T.js → userNews-FNteFWFK.js} +1 -1
- package/dist/userNews-FNteFWFK.js.gz +0 -0
- package/dist/{userSelect-DFWO7p7T.mjs → userSelect-BgRjlogM.mjs} +1 -1
- package/dist/{userSelect-BxTfFdi2.js → userSelect-DECS4Rh-.js} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-Jf5XOEQN.mjs → userSelect.vue_vue_type_script_setup_true_lang-BxXljNoz.mjs} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-BxXljNoz.mjs.gz +0 -0
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-BunzIhUP.js → userSelect.vue_vue_type_script_setup_true_lang-DzQDTXZq.js} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-DzQDTXZq.js.gz +0 -0
- package/dist/{vertical-Cki1dxmI.mjs → vertical-BUcsktQt.mjs} +4 -4
- package/dist/vertical-BUcsktQt.mjs.gz +0 -0
- package/dist/{vertical-CaF8oSxm.js → vertical-BYaafla5.js} +1 -1
- package/dist/vertical-BYaafla5.js.gz +0 -0
- package/dist/{xml-jiazai-IMF8_nro.mjs → xml-jiazai-B6kKLHQN.mjs} +1 -1
- package/dist/xml-jiazai-B6kKLHQN.mjs.gz +0 -0
- package/dist/xml-jiazai-BEeulvSw.js +15 -0
- package/dist/xml-jiazai-BEeulvSw.js.gz +0 -0
- package/dist/{xml-tanchuang-CwzL6Mxq.mjs → xml-tanchuang-D0-6ratj.mjs} +10 -10
- package/dist/xml-tanchuang-D0-6ratj.mjs.gz +0 -0
- package/dist/xml-tanchuang-Du4KPgSd.js +15 -0
- package/dist/xml-tanchuang-Du4KPgSd.js.gz +0 -0
- package/package.json +1 -1
- package/dist/401-Cu91d09E.mjs.gz +0 -0
- package/dist/401-DDPG86fC.js.gz +0 -0
- package/dist/account-Do7wn2kZ.js.gz +0 -0
- package/dist/account-hNgYj6X9.mjs.gz +0 -0
- package/dist/aside-BvnEsEzs.js.gz +0 -0
- package/dist/aside-CsZlZKga.mjs.gz +0 -0
- package/dist/baseFormConfig-CJopFcw0.mjs.gz +0 -0
- package/dist/baseFormConfig-CXJSHh8H.js +0 -1
- package/dist/baseFormConfig-CXJSHh8H.js.gz +0 -0
- package/dist/bianjiqi-CrE6it4j.js +0 -1
- package/dist/bianjiqi-CrE6it4j.js.gz +0 -0
- package/dist/bianjiqi-ovD-QOe-.mjs.gz +0 -0
- package/dist/btnIndex-B1QEAu_7.js.gz +0 -0
- package/dist/btnIndex-DW0KyGKi.mjs.gz +0 -0
- package/dist/classic-FtS3BzGP.mjs.gz +0 -0
- package/dist/classic-rsOAPUSS.js.gz +0 -0
- package/dist/cloneConfigDialog-B57pw5o-.mjs.gz +0 -0
- package/dist/cloneConfigDialog-CgwHHj45.js.gz +0 -0
- package/dist/columns-C4baHny5.js.gz +0 -0
- package/dist/columns-CcOff10B.mjs.gz +0 -0
- package/dist/columnsAside-DUc4rzSD.js.gz +0 -0
- package/dist/columnsAside-gRphLzTx.mjs.gz +0 -0
- package/dist/contextmenu-Bil62dnr.js.gz +0 -0
- package/dist/contextmenu-BqwS1X4z.mjs.gz +0 -0
- package/dist/contextmenu-C-WvQCUH.mjs.gz +0 -0
- package/dist/contextmenu-C16h3lLN.mjs.gz +0 -0
- package/dist/contextmenu-CzxQ_0Dn.js.gz +0 -0
- package/dist/contextmenu-buAVwU_b.js.gz +0 -0
- package/dist/defaults-B0XcitfV.js.gz +0 -0
- package/dist/defaults-BwgWruD-.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-2tdUBOII.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-FWIevTI-.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-19QhHkzC.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CXqkAlav.mjs.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C4nW5PBm.js.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DJTCENQ4.mjs.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-C7D-KngB.js.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DfL7fLMN.mjs.gz +0 -0
- package/dist/editDialog-DWRi7Cd6.mjs.gz +0 -0
- package/dist/editDialog-Drf0sE1E.js.gz +0 -0
- package/dist/formConfig-B91yHcas.js.gz +0 -0
- package/dist/formConfig-F1Jyya2Z.mjs.gz +0 -0
- package/dist/horizontal-BWOMwOWJ.mjs.gz +0 -0
- package/dist/horizontal-DEJl8P0v.js.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-BAjG3NAE.mjs.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DNNy4CEQ.js.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CJ1iD1uA.js.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-D4JtPOvp.mjs.gz +0 -0
- package/dist/hsBtnConfigList-kgWdybCR.mjs.gz +0 -0
- package/dist/hsBtnConfigList-kz2WrSlp.js.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CnfQz7Zb.mjs.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DnxJXGVq.js.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DrVi0prb.js.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Dt_kgncS.mjs.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-CJjGM4db.js.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-io_BvlTx.mjs.gz +0 -0
- package/dist/hsFormConfig-DI1t3DvR.mjs.gz +0 -0
- package/dist/hsFormConfig-ihCGepof.js.gz +0 -0
- package/dist/hsFormConfigList-Cu8szDb9.js.gz +0 -0
- package/dist/hsFormConfigList-DUK6l0MX.mjs.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BjsB4_E7.mjs.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D6-QjIp5.js.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DJmFpumq.mjs.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DViAxuWr.js.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BQtM-Jzu.js.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-B_Lo2ZgU.mjs.gz +0 -0
- package/dist/iframes-B0EtNGod.js.gz +0 -0
- package/dist/iframes-Bl9xdOw8.mjs.gz +0 -0
- package/dist/index-3XvRQxnk.mjs.gz +0 -0
- package/dist/index-5s23m6Gh.mjs +0 -10
- package/dist/index-B9hH04MV.js.gz +0 -0
- package/dist/index-BCSO-e5x.mjs.gz +0 -0
- package/dist/index-BHe2HfOc.mjs.gz +0 -0
- package/dist/index-BNhIcpXJ.mjs.gz +0 -0
- package/dist/index-BOImuIY7.js.gz +0 -0
- package/dist/index-BOT-UOOc.mjs.gz +0 -0
- package/dist/index-BPWoLeDu.mjs +0 -195
- package/dist/index-BPWoLeDu.mjs.gz +0 -0
- package/dist/index-BSx1Obl0.js.gz +0 -0
- package/dist/index-Bglfs3BA.mjs.gz +0 -0
- package/dist/index-BptUUi-m.js.gz +0 -0
- package/dist/index-BqSt97jc.js.gz +0 -0
- package/dist/index-BwXRCHCp.js.gz +0 -0
- package/dist/index-BydvLJXC.mjs.gz +0 -0
- package/dist/index-C-FdR6gA.mjs.gz +0 -0
- package/dist/index-C-j6YGkD.mjs.gz +0 -0
- package/dist/index-C0nomWj5.js.gz +0 -0
- package/dist/index-CAuWC51p.mjs.gz +0 -0
- package/dist/index-CGz9SEYx.mjs.gz +0 -0
- package/dist/index-CLk9ThjT.js.gz +0 -0
- package/dist/index-CUvkmQ0J.js.gz +0 -0
- package/dist/index-CVbPEuNY.js.gz +0 -0
- package/dist/index-Clgsej2j.mjs.gz +0 -0
- package/dist/index-Cn6h3hgx.js +0 -1
- package/dist/index-Cs1pRs4u.js.gz +0 -0
- package/dist/index-D2RVoDvb.js.gz +0 -0
- package/dist/index-D3CIAs8r.mjs.gz +0 -0
- package/dist/index-D4bX0ZXe.mjs.gz +0 -0
- package/dist/index-D5lNFsgP.mjs.gz +0 -0
- package/dist/index-D5y9P9lk.mjs.gz +0 -0
- package/dist/index-D8J9JJG7.js.gz +0 -0
- package/dist/index-DRKqWiJs.mjs.gz +0 -0
- package/dist/index-DRoc5VRC.js.gz +0 -0
- package/dist/index-Dc1IYh20.js.gz +0 -0
- package/dist/index-DiRR2s0y.js.gz +0 -0
- package/dist/index-Dju6Sjs5.mjs.gz +0 -0
- package/dist/index-DkaQYL_d.mjs.gz +0 -0
- package/dist/index-DvY_3ldt.js.gz +0 -0
- package/dist/index-Dy7FKdT5.mjs +0 -4
- package/dist/index-F4njQsqK.mjs.gz +0 -0
- package/dist/index-YDz_P2a8.js.gz +0 -0
- package/dist/index-auxY0b1U.mjs.gz +0 -0
- package/dist/index-dP9obqDF.js.gz +0 -0
- package/dist/index-jzErjyHY.js +0 -1
- package/dist/index-jzErjyHY.js.gz +0 -0
- package/dist/index-nAj4paqi.js.gz +0 -0
- package/dist/index-oiYYIlX1.js.gz +0 -0
- package/dist/index-r0BnW8Xm.js.gz +0 -0
- package/dist/index-wyrJDdbS.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-7eCz4xWJ.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BJ9BXbYf.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BqgWI6E4.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-CXth0psj.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DZBZkavd.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-STkcQgge.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-xKoTv6NI.js.gz +0 -0
- package/dist/link-B94kcb9e.mjs.gz +0 -0
- package/dist/link-BgmlSogs.js.gz +0 -0
- package/dist/list-BX0EoMXc.mjs.gz +0 -0
- package/dist/list-CGg7Dst8.js.gz +0 -0
- package/dist/main-BvbqfYcC.mjs.gz +0 -0
- package/dist/main-DC3IrpZX.js.gz +0 -0
- package/dist/mobile-Cq0eCB1e.js.gz +0 -0
- package/dist/mobile-CttNGlBT.mjs.gz +0 -0
- package/dist/mxClient/xml/demo1.xml +0 -2
- package/dist/mxgraph-C0c4tUwL.js +0 -1
- package/dist/mxgraph-C0c4tUwL.js.gz +0 -0
- package/dist/mxgraph-DdCggzKh.mjs +0 -56
- package/dist/mxgraph-DdCggzKh.mjs.gz +0 -0
- package/dist/parent-B1VcqA6j.mjs.gz +0 -0
- package/dist/parent-CFRMs_yz.js.gz +0 -0
- package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-B5Kv5eDV.mjs +0 -15
- package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-CvXqD25H.js +0 -1
- package/dist/replaceRules-DJ4r90YF.mjs.gz +0 -0
- package/dist/replaceRules-Dpyo-94e.js.gz +0 -0
- package/dist/roleItem-CE_yOqGh.js.gz +0 -0
- package/dist/roleItem-DbNjLJf3.mjs.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-CVeUNwA8.js.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-DN5GDu-M.mjs.gz +0 -0
- package/dist/scan-D9OwhTde.js.gz +0 -0
- package/dist/scan-j4a5rBJ2.mjs.gz +0 -0
- package/dist/search-BIznPkg0.mjs.gz +0 -0
- package/dist/search-DpIFRTQ1.js.gz +0 -0
- package/dist/selectConfig-B38qta49.js.gz +0 -0
- package/dist/selectConfig-DCjzN1Zp.mjs.gz +0 -0
- package/dist/subItem-BxmUZWd3.mjs.gz +0 -0
- package/dist/subItem-CeVW4yds.js.gz +0 -0
- package/dist/tagsView-D6wLa_Jq.mjs.gz +0 -0
- package/dist/transverse-Fd3SJwgJ.js.gz +0 -0
- package/dist/transverse-MTxU3Lqm.mjs.gz +0 -0
- package/dist/trtcUI-BWpsH_L9.mjs.gz +0 -0
- package/dist/trtcUI-C6c75Pup.js.gz +0 -0
- package/dist/uploadAvatar-CzRIcWIa.mjs.gz +0 -0
- package/dist/uploadAvatar-Erp8HEEg.js.gz +0 -0
- package/dist/user-B-ICJc_t.mjs.gz +0 -0
- package/dist/user-B1z1Z9bS.js.gz +0 -0
- package/dist/userNews-CCuIagV8.mjs.gz +0 -0
- package/dist/userNews-D2Pe38_T.js.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-BunzIhUP.js.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-Jf5XOEQN.mjs.gz +0 -0
- package/dist/vertical-CaF8oSxm.js.gz +0 -0
- package/dist/vertical-Cki1dxmI.mjs.gz +0 -0
- package/dist/xml-jiazai-IMF8_nro.mjs.gz +0 -0
- package/dist/xml-jiazai-haYUgTH7.js +0 -15
- package/dist/xml-jiazai-haYUgTH7.js.gz +0 -0
- package/dist/xml-tanchuang-CwzL6Mxq.mjs.gz +0 -0
- package/dist/xml-tanchuang-JRw7CLxp.js +0 -15
- package/dist/xml-tanchuang-JRw7CLxp.js.gz +0 -0
|
@@ -1,54 +1,153 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
declare const mxgraph: {
|
|
2
|
+
mxLanguage: any;
|
|
3
|
+
mxBasePath: any;
|
|
4
|
+
mxClient: any;
|
|
5
|
+
mxLoadResources: any;
|
|
6
|
+
mxForceIncludes: any;
|
|
7
|
+
mxResourceExtension: any;
|
|
8
|
+
mxLoadStylesheets: any;
|
|
9
|
+
mxLog: any;
|
|
10
|
+
mxObjectIdentity: any;
|
|
11
|
+
mxDictionary: any;
|
|
7
12
|
mxResources: any;
|
|
8
|
-
mxEdgeHandler: any;
|
|
9
|
-
mxGuide: any;
|
|
10
|
-
mxPanningManager: any;
|
|
11
|
-
mxEffects: any;
|
|
12
|
-
mxObjectCodec: any;
|
|
13
|
-
mxSwimlaneManager: any;
|
|
14
|
-
mxUndoManager: any;
|
|
15
|
-
mxCellRenderer: any;
|
|
16
|
-
mxCylinder: any;
|
|
17
|
-
mxGraphHandler: any;
|
|
18
13
|
mxPoint: any;
|
|
14
|
+
mxRectangle: any;
|
|
15
|
+
mxEffects: any;
|
|
16
|
+
mxUtils: any;
|
|
19
17
|
mxConstants: any;
|
|
20
|
-
|
|
21
|
-
mxEvent: any;
|
|
22
|
-
mxGeometry: any;
|
|
23
|
-
mxImage: any;
|
|
24
|
-
mxGraphView: any;
|
|
18
|
+
mxEventObject: any;
|
|
25
19
|
mxMouseEvent: any;
|
|
26
|
-
mxVertexHandler: any;
|
|
27
|
-
mxRectangle: any;
|
|
28
20
|
mxEventSource: any;
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
mxEvent: any;
|
|
22
|
+
mxXmlRequest: any;
|
|
23
|
+
mxClipboard: any;
|
|
24
|
+
mxWindow: any;
|
|
25
|
+
mxForm: any;
|
|
26
|
+
mxImage: any;
|
|
27
|
+
mxDivResizer: any;
|
|
28
|
+
mxDragSource: any;
|
|
29
|
+
mxToolbar: any;
|
|
30
|
+
mxUndoableEdit: any;
|
|
31
|
+
mxUndoManager: any;
|
|
32
|
+
mxUrlConverter: any;
|
|
33
|
+
mxPanningManager: any;
|
|
34
|
+
mxPopupMenu: any;
|
|
35
|
+
mxAutoSaveManager: any;
|
|
36
|
+
mxAnimation: any;
|
|
37
|
+
mxMorphing: any;
|
|
38
|
+
mxImageBundle: any;
|
|
39
|
+
mxImageExport: any;
|
|
40
|
+
mxAbstractCanvas2D: any;
|
|
41
|
+
mxXmlCanvas2D: any;
|
|
42
|
+
mxSvgCanvas2D: any;
|
|
43
|
+
mxVmlCanvas2D: any;
|
|
44
|
+
mxGuide: any;
|
|
45
|
+
mxStencil: any;
|
|
31
46
|
mxShape: any;
|
|
47
|
+
mxStencilRegistry: any;
|
|
48
|
+
mxMarker: any;
|
|
32
49
|
mxActor: any;
|
|
33
|
-
|
|
50
|
+
mxCloud: any;
|
|
51
|
+
mxRectangleShape: any;
|
|
52
|
+
mxEllipse: any;
|
|
53
|
+
mxDoubleEllipse: any;
|
|
54
|
+
mxRhombus: any;
|
|
55
|
+
mxPolyline: any;
|
|
56
|
+
mxArrow: any;
|
|
57
|
+
mxArrowConnector: any;
|
|
58
|
+
mxText: any;
|
|
59
|
+
mxTriangle: any;
|
|
60
|
+
mxHexagon: any;
|
|
61
|
+
mxLine: any;
|
|
62
|
+
mxImageShape: any;
|
|
63
|
+
mxLabel: any;
|
|
64
|
+
mxCylinder: any;
|
|
65
|
+
mxConnector: any;
|
|
66
|
+
mxSwimlane: any;
|
|
67
|
+
mxGraphLayout: any;
|
|
68
|
+
mxStackLayout: any;
|
|
69
|
+
mxPartitionLayout: any;
|
|
70
|
+
mxCompactTreeLayout: any;
|
|
71
|
+
mxRadialTreeLayout: any;
|
|
72
|
+
mxFastOrganicLayout: any;
|
|
73
|
+
mxCircleLayout: any;
|
|
74
|
+
mxParallelEdgeLayout: any;
|
|
75
|
+
mxCompositeLayout: any;
|
|
76
|
+
mxEdgeLabelLayout: any;
|
|
77
|
+
mxGraphAbstractHierarchyCell: any;
|
|
78
|
+
mxGraphHierarchyNode: any;
|
|
79
|
+
mxGraphHierarchyEdge: any;
|
|
80
|
+
mxGraphHierarchyModel: any;
|
|
81
|
+
mxSwimlaneModel: any;
|
|
82
|
+
mxHierarchicalLayoutStage: any;
|
|
83
|
+
mxMedianHybridCrossingReduction: any;
|
|
84
|
+
mxMinimumCycleRemover: any;
|
|
85
|
+
mxCoordinateAssignment: any;
|
|
86
|
+
mxSwimlaneOrdering: any;
|
|
87
|
+
mxHierarchicalLayout: any;
|
|
88
|
+
mxHierarchicalEdgeStyle: any;
|
|
89
|
+
mxSwimlaneLayout: any;
|
|
34
90
|
mxGraphModel: any;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
91
|
+
mxRootChange: any;
|
|
92
|
+
mxChildChange: any;
|
|
93
|
+
mxTerminalChange: any;
|
|
94
|
+
mxValueChange: any;
|
|
95
|
+
mxStyleChange: any;
|
|
96
|
+
mxGeometryChange: any;
|
|
97
|
+
mxCollapseChange: any;
|
|
98
|
+
mxVisibleChange: any;
|
|
99
|
+
mxCellAttributeChange: any;
|
|
100
|
+
mxCell: any;
|
|
101
|
+
mxGeometry: any;
|
|
102
|
+
mxCellPath: any;
|
|
41
103
|
mxPerimeter: any;
|
|
104
|
+
mxPrintPreview: any;
|
|
105
|
+
mxStylesheet: any;
|
|
106
|
+
mxCellState: any;
|
|
107
|
+
mxGraphSelectionModel: any;
|
|
108
|
+
mxSelectionChange: any;
|
|
109
|
+
mxCellEditor: any;
|
|
110
|
+
mxCellRenderer: any;
|
|
42
111
|
mxEdgeStyle: any;
|
|
43
|
-
|
|
112
|
+
mxStyleRegistry: any;
|
|
113
|
+
mxGraphView: any;
|
|
114
|
+
mxCurrentRootChange: any;
|
|
115
|
+
mxGraph: any;
|
|
116
|
+
mxCellOverlay: any;
|
|
117
|
+
mxOutline: any;
|
|
118
|
+
mxMultiplicity: any;
|
|
44
119
|
mxLayoutManager: any;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
120
|
+
mxSwimlaneManager: any;
|
|
121
|
+
mxTemporaryCellStates: any;
|
|
122
|
+
mxCellStatePreview: any;
|
|
123
|
+
mxConnectionConstraint: any;
|
|
124
|
+
mxGraphHandler: any;
|
|
125
|
+
mxPanningHandler: any;
|
|
126
|
+
mxPopupMenuHandler: any;
|
|
127
|
+
mxCellMarker: any;
|
|
128
|
+
mxSelectionCellsHandler: any;
|
|
52
129
|
mxConnectionHandler: any;
|
|
130
|
+
mxConstraintHandler: any;
|
|
131
|
+
mxRubberband: any;
|
|
132
|
+
mxHandle: any;
|
|
133
|
+
mxVertexHandler: any;
|
|
134
|
+
mxEdgeHandler: any;
|
|
135
|
+
mxElbowEdgeHandler: any;
|
|
136
|
+
mxEdgeSegmentHandler: any;
|
|
137
|
+
mxKeyHandler: any;
|
|
138
|
+
mxTooltipHandler: any;
|
|
139
|
+
mxCellTracker: any;
|
|
140
|
+
mxCellHighlight: any;
|
|
141
|
+
mxDefaultKeyHandler: any;
|
|
142
|
+
mxDefaultPopupMenu: any;
|
|
143
|
+
mxDefaultToolbar: any;
|
|
144
|
+
mxEditor: any;
|
|
145
|
+
mxCodecRegistry: any;
|
|
146
|
+
mxCodec: any;
|
|
147
|
+
mxObjectCodec: any;
|
|
148
|
+
mxGenericChangeCodec: any;
|
|
149
|
+
mxStylesheetCodec: any;
|
|
150
|
+
mxDefaultToolbarCodec: any;
|
|
53
151
|
};
|
|
54
|
-
export
|
|
152
|
+
export { mxgraph };
|
|
153
|
+
export default mxgraph;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),O=require("./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js"),y=require("./index-oiYYIlX1.js"),Y={data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10,validator:function(e){return Array.isArray(e)?Number(e[0])>=0&&Number(e[1])>=0:Number(e)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let e={};if(e.top=this.cropOffsertY>21?"-21px":"0px",e.width=this.cropW>0?this.cropW:0,e.height=this.cropH>0?this.cropH:0,this.infoTrue){let t=1;this.high&&!this.full&&(t=window.devicePixelRatio),this.enlarge!==1&!this.full&&(t=Math.abs(Number(this.enlarge))),e.width=e.width*t,e.height=e.height*t,this.full&&(e.width=e.width/this.scale,e.height=e.height/this.scale)}return e.width=e.width.toFixed(0),e.height=e.height.toFixed(0),e},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(e){e!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(e,t){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(e){e&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(e){var t=navigator.userAgent.split(" "),i="";let s=0;const h=new RegExp(e,"i");for(var r=0;r<t.length;r++)h.test(t[r])&&(i=t[r]);return i?s=i.split("/")[1].split("."):s=["0","0","0"],s},checkOrientationImage(e,t,i,s){if(this.getVersion("chrome")[0]>=81)t=-1;else if(this.getVersion("safari")[0]>=605){const o=this.getVersion("version");o[0]>13&&o[1]>1&&(t=-1)}else{const o=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(o){let l=o[1];l=l.split("_"),(l[0]>13||l[0]>=13&&l[1]>=4)&&(t=-1)}}let h=document.createElement("canvas"),r=h.getContext("2d");switch(r.save(),t){case 2:h.width=i,h.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:h.width=i,h.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:h.width=i,h.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:h.width=s,h.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:h.height=i,h.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:h.width=i,h.height=s}r.drawImage(e,0,0,i,s),r.restore(),h.toBlob(o=>{let l=URL.createObjectURL(o);URL.revokeObjectURL(this.imgs),this.imgs=l},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let e=new Image;if(e.onload=()=>{if(this.img==="")return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let i=e.width,s=e.height;O.Exif.getData(e).then(h=>{this.orientation=h.orientation||1;let r=Number(this.maxImgSize);if(!this.orientation&&i<r&s<r){this.imgs=this.img;return}i>r&&(s=s/i*r,i=r),s>r&&(i=i/s*r,s=r),this.checkOrientationImage(e,this.orientation,i,s)}).catch(h=>{this.$emit("img-load","error"),this.$emit("img-load-error",h)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},this.img.substr(0,4)!=="data"&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var i=URL.createObjectURL(this.response);e.src=i},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),e.touches.length==2&&(this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var i={x:this.touches[0].clientX,y:this.touches[0].clientY},s={x:e.touches[0].clientX,y:e.touches[0].clientY},h={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:e.touches[1].clientX,y:e.touches[1].clientY},o=Math.sqrt(Math.pow(i.x-h.x,2)+Math.pow(i.y-h.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),n=l-o,p=1;p=p/this.trueWidth>p/this.trueHeight?p/this.trueHeight:p/this.trueWidth,p=p>.1?.1:p;var c=p*n;if(!this.touchNow){if(this.touchNow=!0,n>0?t+=Math.abs(c):n<0&&t>Math.abs(c)&&(t-=Math.abs(c)),this.touches=e.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&e.touches.length===2)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.moveX,h=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,h,this.scale),o=this.getCropAxis(),l=this.trueHeight*this.scale,n=this.trueWidth*this.scale,p,c,f,g;switch(this.rotate){case 1:case-1:case 3:case-3:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(l-n)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(n-l)/2,f=p-l+this.cropW,g=c-n+this.cropH;break;default:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,f=p-n+this.cropW,g=c-l+this.cropH;break}r.x1>=o.x1&&(s=p),r.y1>=o.y1&&(h=c),r.x2<=o.x2&&(s=f),r.y2<=o.y2&&(h=g)}this.x=s,this.y=h,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(e){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(e){e.preventDefault();let t=this.scale;var i=e.deltaY||e.wheelDelta,s=navigator.userAgent.indexOf("Firefox");i=s>0?i*30:i,this.isIE&&(i=-i);var h=this.coe;h=h/this.trueWidth>h/this.trueHeight?h/this.trueHeight:h/this.trueWidth;var r=h*i;r<0?t+=Math.abs(r):t>Math.abs(r)&&(t-=Math.abs(r));let o=r<0?"add":"reduce";if(o!==this.coeStatus&&(this.coeStatus=o,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var i=20;if(i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth,e=e*i,e>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick(()=>{var s=t-this.cropX,h=i-this.cropY;if(s>0?(this.cropW=s+this.cropChangeX>this.w?this.w-this.cropChangeX:s,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(s)>this.w?this.cropChangeX:Math.abs(s),this.cropOffsertX=this.cropChangeX+s>0?this.cropChangeX+s:0),!this.fixed)h>0?(this.cropH=h+this.cropChangeY>this.h?this.h-this.cropChangeY:h,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(h)>this.h?this.cropChangeY:Math.abs(h),this.cropOffsertY=this.cropChangeY+h>0?this.cropChangeY+h:0);else{var r=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];r+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],s>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=r,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(e,t,i,s,h){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=h,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("changeCropSize",{width:this.cropW,height:this.cropH}),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let s=this.w,h=this.h,r=0,o=0;if(this.centerBox){let p=this.getImgAxis(),c=p.x2,f=p.y2;r=p.x1>0?p.x1:0,o=p.y1>0?p.y1:0,s>c&&(s=c),h>f&&(h=f)}const[l,n]=this.checkCropLimitSize();this.$nextTick(()=>{var p=t-this.cropX,c=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-p<l?(this.cropW=l,this.cropOffsertX=this.cropOldW+this.cropChangeX-r-l):this.cropOldW-p>0?(this.cropW=s-this.cropChangeX-p<=s-r?this.cropOldW-p:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-p<=s-r?this.cropChangeX+p:r):(this.cropW=Math.abs(p)+this.cropChangeX<=s?Math.abs(p)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+p<l?this.cropW=l:this.cropOldW+p>0?(this.cropW=this.cropOldW+p+this.cropOffsertX<=s?this.cropOldW+p:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?Math.abs(p+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(p+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c<n?(this.cropH=n,this.cropOffsertY=this.cropOldH+this.cropChangeY-o-n):this.cropOldH-c>0?(this.cropH=h-this.cropChangeY-c<=h-o?this.cropOldH-c:this.cropOldH+this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY-c<=h-o?this.cropChangeY+c:o):(this.cropH=Math.abs(c)+this.cropChangeY<=h?Math.abs(c)-this.cropOldH:h-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c<n?this.cropH=n:this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=h?this.cropOldH+c:h-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?Math.abs(c+this.cropOldH):this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?this.cropChangeY-Math.abs(c+this.cropOldH):o))),this.canChangeX&&this.fixed){var f=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];f<n?(this.cropH=n,this.cropW=this.fixedNumber[0]*n/this.fixedNumber[1],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):f+this.cropOffsertY>h?(this.cropH=h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=f}if(this.canChangeY&&this.fixed){var g=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];g<l?(this.cropW=l,this.cropH=this.fixedNumber[1]*l/this.fixedNumber[0]):g+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=g}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})})},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:i}=this,s=new Array;return Array.isArray(i)?s=i:s=[i,i],e=parseFloat(s[0]),t=parseFloat(s[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(e,t,i,s,h,r){const o=e/t;let l=h,n=r;return l<i&&(l=i,n=Math.ceil(l/o)),n<s&&(n=s,l=Math.ceil(n*o),l<i&&(l=i,n=Math.ceil(l/o))),l<h&&(l=h,n=Math.ceil(l/o)),n<r&&(n=r,l=Math.ceil(n*o)),{width:l,height:n}},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1);let[e,t]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],e,t,this.cropW,this.cropH):{width:e,height:t};i>this.cropW&&(this.cropW=i,this.cropOffsertX+i>this.w&&(this.cropOffsertX=this.w-i)),s>this.cropH&&(this.cropH=s,this.cropOffsertY+s>this.h&&(this.cropOffsertY=this.h-s)),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&e.touches.length===2)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.cropOffsertX,h=i-this.cropOffsertY,this.cropX=s,this.cropY=h,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let i=0,s=0;e&&(e.preventDefault(),i="clientX"in e?e.clientX:e.touches[0].clientX,s="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick(()=>{let h,r,o=i-this.cropX,l=s-this.cropY;if(t&&(o=this.cropOffsertX,l=this.cropOffsertY),o<=0?h=0:o+this.cropW>this.w?h=this.w-this.cropW:h=o,l<=0?r=0:l+this.cropH>this.h?r=this.h-this.cropH:r=l,this.centerBox){let n=this.getImgAxis();h<=n.x1&&(h=n.x1),h+this.cropW>n.x2&&(h=n.x2-this.cropW),r<=n.y1&&(r=n.y1),r+this.cropH>n.y2&&(r=n.y2-this.cropH)}this.cropOffsertX=h,this.cropOffsertY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},h=this.trueWidth*i,r=this.trueHeight*i;switch(this.rotate){case 0:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=e+this.trueWidth*(1-i)/2+(h-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=t+this.trueHeight*(1-i)/2+(r-h)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break}return s},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(e){let t=document.createElement("canvas"),i=new Image,s=this.rotate,h=this.trueWidth,r=this.trueHeight,o=this.cropOffsertX,l=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let c=t.getContext("2d"),f=1;this.high&!this.full&&(f=window.devicePixelRatio),this.enlarge!==1&!this.full&&(f=Math.abs(Number(this.enlarge)));let g=this.cropW*f,C=this.cropH*f,m=h*this.scale*f,v=r*this.scale*f,d=(this.x-o+this.trueWidth*(1-this.scale)/2)*f,u=(this.y-l+this.trueHeight*(1-this.scale)/2)*f;switch(p(g,C),c.save(),this.fillColor&&(c.fillStyle=this.fillColor,c.fillRect(0,0,t.width,t.height)),s){case 0:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v);break;case 1:case-3:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v/this.scale,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v,m,v));break;case 2:case-2:this.full?(p(g/this.scale,C/this.scale),c.rotate(s*90*Math.PI/180),d=d/this.scale,u=u/this.scale,c.drawImage(i,-d-m/this.scale,-u-v/this.scale,m/this.scale,v/this.scale)):(c.rotate(s*90*Math.PI/180),c.drawImage(i,-d-m,-u-v,m,v));break;case 3:case-1:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m/this.scale,d,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m,d,m,v));break;default:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v)}c.restore()}else{let c=h*this.scale,f=r*this.scale,g=t.getContext("2d");switch(g.save(),this.fillColor&&(g.fillStyle=this.fillColor,g.fillRect(0,0,t.width,t.height)),s){case 0:p(c,f),g.drawImage(i,0,0,c,f);break;case 1:case-3:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,0,-f,c,f);break;case 2:case-2:p(c,f),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,-f,c,f);break;case 3:case-1:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,0,c,f);break;default:p(c,f),g.drawImage(i,0,0,c,f)}g.restore()}e(t)};var n=this.img.substr(0,4);n!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function p(c,f){t.width=Math.round(c),t.height=Math.round(f)}},getCropData(e){this.getCropChecked(t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(e){this.getCropChecked(t=>{t.toBlob(i=>e(i),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let e=this.cropW,t=this.cropH,i=this.scale;var s={};s.div={width:`${e}px`,height:`${t}px`};let h=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,o=0;s.w=e,s.h=t,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${h}px, ${r}px, ${o}px)rotateZ(${this.rotate*90}deg)`},s.html=`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),O=require("./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js"),y=require("./index-BR0Y9F7F.js"),Y={data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10,validator:function(e){return Array.isArray(e)?Number(e[0])>=0&&Number(e[1])>=0:Number(e)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let e={};if(e.top=this.cropOffsertY>21?"-21px":"0px",e.width=this.cropW>0?this.cropW:0,e.height=this.cropH>0?this.cropH:0,this.infoTrue){let t=1;this.high&&!this.full&&(t=window.devicePixelRatio),this.enlarge!==1&!this.full&&(t=Math.abs(Number(this.enlarge))),e.width=e.width*t,e.height=e.height*t,this.full&&(e.width=e.width/this.scale,e.height=e.height/this.scale)}return e.width=e.width.toFixed(0),e.height=e.height.toFixed(0),e},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(e){e!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(e,t){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(e){e&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(e){var t=navigator.userAgent.split(" "),i="";let s=0;const h=new RegExp(e,"i");for(var r=0;r<t.length;r++)h.test(t[r])&&(i=t[r]);return i?s=i.split("/")[1].split("."):s=["0","0","0"],s},checkOrientationImage(e,t,i,s){if(this.getVersion("chrome")[0]>=81)t=-1;else if(this.getVersion("safari")[0]>=605){const o=this.getVersion("version");o[0]>13&&o[1]>1&&(t=-1)}else{const o=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(o){let l=o[1];l=l.split("_"),(l[0]>13||l[0]>=13&&l[1]>=4)&&(t=-1)}}let h=document.createElement("canvas"),r=h.getContext("2d");switch(r.save(),t){case 2:h.width=i,h.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:h.width=i,h.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:h.width=i,h.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:h.width=s,h.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:h.height=i,h.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:h.width=i,h.height=s}r.drawImage(e,0,0,i,s),r.restore(),h.toBlob(o=>{let l=URL.createObjectURL(o);URL.revokeObjectURL(this.imgs),this.imgs=l},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let e=new Image;if(e.onload=()=>{if(this.img==="")return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let i=e.width,s=e.height;O.Exif.getData(e).then(h=>{this.orientation=h.orientation||1;let r=Number(this.maxImgSize);if(!this.orientation&&i<r&s<r){this.imgs=this.img;return}i>r&&(s=s/i*r,i=r),s>r&&(i=i/s*r,s=r),this.checkOrientationImage(e,this.orientation,i,s)}).catch(h=>{this.$emit("img-load","error"),this.$emit("img-load-error",h)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},this.img.substr(0,4)!=="data"&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var i=URL.createObjectURL(this.response);e.src=i},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),e.touches.length==2&&(this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var i={x:this.touches[0].clientX,y:this.touches[0].clientY},s={x:e.touches[0].clientX,y:e.touches[0].clientY},h={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:e.touches[1].clientX,y:e.touches[1].clientY},o=Math.sqrt(Math.pow(i.x-h.x,2)+Math.pow(i.y-h.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),n=l-o,p=1;p=p/this.trueWidth>p/this.trueHeight?p/this.trueHeight:p/this.trueWidth,p=p>.1?.1:p;var c=p*n;if(!this.touchNow){if(this.touchNow=!0,n>0?t+=Math.abs(c):n<0&&t>Math.abs(c)&&(t-=Math.abs(c)),this.touches=e.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&e.touches.length===2)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.moveX,h=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,h,this.scale),o=this.getCropAxis(),l=this.trueHeight*this.scale,n=this.trueWidth*this.scale,p,c,f,g;switch(this.rotate){case 1:case-1:case 3:case-3:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(l-n)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(n-l)/2,f=p-l+this.cropW,g=c-n+this.cropH;break;default:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,f=p-n+this.cropW,g=c-l+this.cropH;break}r.x1>=o.x1&&(s=p),r.y1>=o.y1&&(h=c),r.x2<=o.x2&&(s=f),r.y2<=o.y2&&(h=g)}this.x=s,this.y=h,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(e){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(e){e.preventDefault();let t=this.scale;var i=e.deltaY||e.wheelDelta,s=navigator.userAgent.indexOf("Firefox");i=s>0?i*30:i,this.isIE&&(i=-i);var h=this.coe;h=h/this.trueWidth>h/this.trueHeight?h/this.trueHeight:h/this.trueWidth;var r=h*i;r<0?t+=Math.abs(r):t>Math.abs(r)&&(t-=Math.abs(r));let o=r<0?"add":"reduce";if(o!==this.coeStatus&&(this.coeStatus=o,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var i=20;if(i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth,e=e*i,e>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick(()=>{var s=t-this.cropX,h=i-this.cropY;if(s>0?(this.cropW=s+this.cropChangeX>this.w?this.w-this.cropChangeX:s,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(s)>this.w?this.cropChangeX:Math.abs(s),this.cropOffsertX=this.cropChangeX+s>0?this.cropChangeX+s:0),!this.fixed)h>0?(this.cropH=h+this.cropChangeY>this.h?this.h-this.cropChangeY:h,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(h)>this.h?this.cropChangeY:Math.abs(h),this.cropOffsertY=this.cropChangeY+h>0?this.cropChangeY+h:0);else{var r=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];r+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],s>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=r,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(e,t,i,s,h){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=h,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("changeCropSize",{width:this.cropW,height:this.cropH}),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let s=this.w,h=this.h,r=0,o=0;if(this.centerBox){let p=this.getImgAxis(),c=p.x2,f=p.y2;r=p.x1>0?p.x1:0,o=p.y1>0?p.y1:0,s>c&&(s=c),h>f&&(h=f)}const[l,n]=this.checkCropLimitSize();this.$nextTick(()=>{var p=t-this.cropX,c=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-p<l?(this.cropW=l,this.cropOffsertX=this.cropOldW+this.cropChangeX-r-l):this.cropOldW-p>0?(this.cropW=s-this.cropChangeX-p<=s-r?this.cropOldW-p:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-p<=s-r?this.cropChangeX+p:r):(this.cropW=Math.abs(p)+this.cropChangeX<=s?Math.abs(p)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+p<l?this.cropW=l:this.cropOldW+p>0?(this.cropW=this.cropOldW+p+this.cropOffsertX<=s?this.cropOldW+p:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?Math.abs(p+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(p+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c<n?(this.cropH=n,this.cropOffsertY=this.cropOldH+this.cropChangeY-o-n):this.cropOldH-c>0?(this.cropH=h-this.cropChangeY-c<=h-o?this.cropOldH-c:this.cropOldH+this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY-c<=h-o?this.cropChangeY+c:o):(this.cropH=Math.abs(c)+this.cropChangeY<=h?Math.abs(c)-this.cropOldH:h-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c<n?this.cropH=n:this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=h?this.cropOldH+c:h-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?Math.abs(c+this.cropOldH):this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?this.cropChangeY-Math.abs(c+this.cropOldH):o))),this.canChangeX&&this.fixed){var f=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];f<n?(this.cropH=n,this.cropW=this.fixedNumber[0]*n/this.fixedNumber[1],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):f+this.cropOffsertY>h?(this.cropH=h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=f}if(this.canChangeY&&this.fixed){var g=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];g<l?(this.cropW=l,this.cropH=this.fixedNumber[1]*l/this.fixedNumber[0]):g+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=g}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})})},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:i}=this,s=new Array;return Array.isArray(i)?s=i:s=[i,i],e=parseFloat(s[0]),t=parseFloat(s[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(e,t,i,s,h,r){const o=e/t;let l=h,n=r;return l<i&&(l=i,n=Math.ceil(l/o)),n<s&&(n=s,l=Math.ceil(n*o),l<i&&(l=i,n=Math.ceil(l/o))),l<h&&(l=h,n=Math.ceil(l/o)),n<r&&(n=r,l=Math.ceil(n*o)),{width:l,height:n}},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1);let[e,t]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],e,t,this.cropW,this.cropH):{width:e,height:t};i>this.cropW&&(this.cropW=i,this.cropOffsertX+i>this.w&&(this.cropOffsertX=this.w-i)),s>this.cropH&&(this.cropH=s,this.cropOffsertY+s>this.h&&(this.cropOffsertY=this.h-s)),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&e.touches.length===2)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.cropOffsertX,h=i-this.cropOffsertY,this.cropX=s,this.cropY=h,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let i=0,s=0;e&&(e.preventDefault(),i="clientX"in e?e.clientX:e.touches[0].clientX,s="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick(()=>{let h,r,o=i-this.cropX,l=s-this.cropY;if(t&&(o=this.cropOffsertX,l=this.cropOffsertY),o<=0?h=0:o+this.cropW>this.w?h=this.w-this.cropW:h=o,l<=0?r=0:l+this.cropH>this.h?r=this.h-this.cropH:r=l,this.centerBox){let n=this.getImgAxis();h<=n.x1&&(h=n.x1),h+this.cropW>n.x2&&(h=n.x2-this.cropW),r<=n.y1&&(r=n.y1),r+this.cropH>n.y2&&(r=n.y2-this.cropH)}this.cropOffsertX=h,this.cropOffsertY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},h=this.trueWidth*i,r=this.trueHeight*i;switch(this.rotate){case 0:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=e+this.trueWidth*(1-i)/2+(h-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=t+this.trueHeight*(1-i)/2+(r-h)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break}return s},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(e){let t=document.createElement("canvas"),i=new Image,s=this.rotate,h=this.trueWidth,r=this.trueHeight,o=this.cropOffsertX,l=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let c=t.getContext("2d"),f=1;this.high&!this.full&&(f=window.devicePixelRatio),this.enlarge!==1&!this.full&&(f=Math.abs(Number(this.enlarge)));let g=this.cropW*f,C=this.cropH*f,m=h*this.scale*f,v=r*this.scale*f,d=(this.x-o+this.trueWidth*(1-this.scale)/2)*f,u=(this.y-l+this.trueHeight*(1-this.scale)/2)*f;switch(p(g,C),c.save(),this.fillColor&&(c.fillStyle=this.fillColor,c.fillRect(0,0,t.width,t.height)),s){case 0:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v);break;case 1:case-3:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v/this.scale,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v,m,v));break;case 2:case-2:this.full?(p(g/this.scale,C/this.scale),c.rotate(s*90*Math.PI/180),d=d/this.scale,u=u/this.scale,c.drawImage(i,-d-m/this.scale,-u-v/this.scale,m/this.scale,v/this.scale)):(c.rotate(s*90*Math.PI/180),c.drawImage(i,-d-m,-u-v,m,v));break;case 3:case-1:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m/this.scale,d,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m,d,m,v));break;default:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v)}c.restore()}else{let c=h*this.scale,f=r*this.scale,g=t.getContext("2d");switch(g.save(),this.fillColor&&(g.fillStyle=this.fillColor,g.fillRect(0,0,t.width,t.height)),s){case 0:p(c,f),g.drawImage(i,0,0,c,f);break;case 1:case-3:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,0,-f,c,f);break;case 2:case-2:p(c,f),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,-f,c,f);break;case 3:case-1:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,0,c,f);break;default:p(c,f),g.drawImage(i,0,0,c,f)}g.restore()}e(t)};var n=this.img.substr(0,4);n!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function p(c,f){t.width=Math.round(c),t.height=Math.round(f)}},getCropData(e){this.getCropChecked(t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(e){this.getCropChecked(t=>{t.toBlob(i=>e(i),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let e=this.cropW,t=this.cropH,i=this.scale;var s={};s.div={width:`${e}px`,height:`${t}px`};let h=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,o=0;s.w=e,s.h=t,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${h}px, ${r}px, ${o}px)rotateZ(${this.rotate*90}deg)`},s.html=`
|
|
2
2
|
<div class="show-preview" style="width: ${s.w}px; height: ${s.h}px; overflow: hidden">
|
|
3
3
|
<div style="width: ${e}px; height: ${t}px">
|
|
4
4
|
<img src=${s.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openBlock as O, createElementBlock as Y, withDirectives as T, createElementVNode as w, normalizeStyle as M, vShow as k, createCommentVNode as I, normalizeClass as R, toDisplayString as N, defineComponent as F, ref as S, onMounted as z, toRefs as D, reactive as U, resolveComponent as H, createVNode as v, withCtx as x, unref as b, createTextVNode as L } from "vue";
|
|
2
2
|
import { E as j } from "./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-Dmzfac6b.mjs";
|
|
3
|
-
import { _ as B,
|
|
3
|
+
import { _ as B, X as V, d as A, Y as q } from "./index-BYQ2fzxT.mjs";
|
|
4
4
|
const G = {
|
|
5
5
|
data: function() {
|
|
6
6
|
return {
|
|
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-BR0Y9F7F.js"),I=require("./index-DjO-EP9L.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-FNteFWFK.js"))),t=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./search-BTf9aNIf.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 J, computed as Q, onMounted as
|
|
2
|
-
import { a as le, K 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 J, computed as Q, onMounted as W, 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, K as se, c as re, s as x, X as B, a2 as ce, d as ae, m as ue, E as ie, e as fe, _ as me } from "./index-BYQ2fzxT.mjs";
|
|
3
|
+
import { u as de } from "./index-B7tFiU44.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-BJyDlhgH.mjs")), n = k(() => import("./search-AP4fv7e-.mjs")), m = de(), f = S(), d = S(), M = le(), C = se(), q = re(), { userInfos: w } = x(C), { themeConfig: P } = x(q), v = S(), b = J({
|
|
133
133
|
isScreenfull: !1,
|
|
134
134
|
disabledSize: "large"
|
|
135
135
|
}), I = 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 W(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"), K = a("ele-ArrowDown"),
|
|
179
|
+
const c = a("ele-Search"), _ = a("el-icon"), V = a("ele-Bell"), H = a("el-badge"), j = a("el-popover"), K = a("ele-ArrowDown"), X = a("el-dropdown-item"), $ = a("el-dropdown-menu"), G = a("el-dropdown");
|
|
180
180
|
return F(), E("div", {
|
|
181
181
|
class: "layout-navbars-breadcrumb-user pr15",
|
|
182
182
|
style: Y({ flex: I.value })
|
|
@@ -248,7 +248,7 @@ const h = s, _e = (e) => (te("data-v-5bbc849b"), e = e(), oe(), e), pe = /* @__P
|
|
|
248
248
|
dropdown: u(() => [
|
|
249
249
|
l($, null, {
|
|
250
250
|
default: u(() => [
|
|
251
|
-
l(
|
|
251
|
+
l(X, {
|
|
252
252
|
divided: "",
|
|
253
253
|
command: "logOut"
|
|
254
254
|
}, {
|
|
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-BYQ2fzxT.mjs";
|
|
3
3
|
const y = (n) => (w("data-v-8abed4d4"), n = n(), k(), n), f = { class: "layout-navbars-breadcrumb-user-news" }, C = { class: "head-box" }, L = /* @__PURE__ */ y(() => /* @__PURE__ */ t("div", { class: "head-box-title" }, "通知", -1)), g = { class: "content-box" }, B = { class: "content-box-msg" }, I = { class: "content-box-time" }, N = l({
|
|
4
4
|
name: "layoutBreadcrumbUserNews"
|
|
5
5
|
}), S = /* @__PURE__ */ l({
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-BR0Y9F7F.js"),d=o=>(e.pushScopeId("data-v-8abed4d4"),o=o(),e.popScopeId(),o),r={class:"layout-navbars-breadcrumb-user-news"},m={class:"head-box"},p=d(()=>e.createElementVNode("div",{class:"head-box-title"},"通知",-1)),_={class:"content-box"},u={class:"content-box-msg"},b={class:"content-box-time"},k=e.defineComponent({name:"layoutBreadcrumbUserNews"}),v=e.defineComponent({...k,setup(o){const t=e.reactive({newsList:[{label:"关于版本发布的通知",value:"华速消息",time:"2023-12-28"},{label:"关于学习交流的通知",value:"华速消息",time:"2023-12-28"}]}),c=()=>{t.newsList=[]},s=()=>{window.open("https://www.baidu.com")};return(w,y)=>{const l=e.resolveComponent("el-empty");return e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("div",m,[p,t.newsList.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"head-box-btn",onClick:c},"全部已读")):e.createCommentVNode("",!0)]),e.createElementVNode("div",_,[t.newsList.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.newsList,(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:"content-box-item",key:a},[e.createElementVNode("div",null,e.toDisplayString(n.label),1),e.createElementVNode("div",u,e.toDisplayString(n.value),1),e.createElementVNode("div",b,e.toDisplayString(n.time),1)]))),128)):(e.openBlock(),e.createBlock(l,{key:1,description:"暂无通知"}))]),t.newsList.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"foot-box",onClick:s},"前往通知中心")):e.createCommentVNode("",!0)])}}}),h=i._export_sfc(v,[["__scopeId","data-v-8abed4d4"]]);exports.default=h;
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./userSelect.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./userSelect.vue_vue_type_script_setup_true_lang-DzQDTXZq.js");exports.default=e._sfc_main;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as d, onMounted as w, resolveComponent as s, openBlock as y, createElementBlock as g, createElementVNode as l, createVNode as o, withKeys as V, withCtx as m, createTextVNode as k } from "vue";
|
|
2
|
-
import { w as C } from "./index-
|
|
2
|
+
import { w as C } from "./index-BYQ2fzxT.mjs";
|
|
3
3
|
const j = (t, n) => Object.assign(t, { other_log_info: { title: n } }), q = (t = {}) => (t = j(t, "获取全部用户列表"), C({
|
|
4
4
|
url: "/scmp-web/pri/user/list_all",
|
|
5
5
|
method: "get",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),f=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),f=require("./index-BR0Y9F7F.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,8 +1,8 @@
|
|
|
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, a0 as N, $ as O } from "./index-BYQ2fzxT.mjs";
|
|
3
3
|
const U = g({
|
|
4
4
|
name: "navMenuVertical"
|
|
5
|
-
}),
|
|
5
|
+
}), z = /* @__PURE__ */ g({
|
|
6
6
|
...U,
|
|
7
7
|
props: {
|
|
8
8
|
// 菜单列表
|
|
@@ -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-BzO3qJBo.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) => {
|
|
@@ -97,5 +97,5 @@ const U = g({
|
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
99
|
export {
|
|
100
|
-
|
|
100
|
+
z as default
|
|
101
101
|
};
|
|
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-BR0Y9F7F.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-DB7bV3vT.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 se, ref as B, onMounted as ue, openBlock as Ee, createElementBlock as de, createElementVNode as A } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { W as Se } from "./index-BYQ2fzxT.mjs";
|
|
3
3
|
const ce = { class: "system-menu-container layout-padding" }, Le = {
|
|
4
4
|
class: "h-full bg-white p-4 flex flex-col",
|
|
5
5
|
style: { background: "url('../../../../public/mxClient/images/grid.gif')" }
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),ie=require("./index-BR0Y9F7F.js"),ue={class:"system-menu-container layout-padding"},se={class:"h-full bg-white p-4 flex flex-col",style:{background:"url('../../../../public/mxClient/images/grid.gif')"}},Ee=i.defineComponent({name:"mxEditor"}),de=Object.assign(Ee,{setup(Se){const{mxClient:O,mxUtils:E,mxGraphModel:F,mxImage:W,mxConnectionHandler:Z,mxPoint:P,mxLayoutManager:q,mxStackLayout:K,mxSwimlaneManager:z,mxEvent:j,mxConstants:n,mxEdgeStyle:J,mxPerimeter:Y,mxEditor:Q}=ie.mxgraph,X=i.ref(),$=i.ref(),B=i.ref();i.onMounted(()=>{y()});function y(){if(Z.prototype.connectImage=new W(O.basePath+"/images/connector.gif",16,16),!O.isBrowserSupported())E.error("Browser is not supported!",200,!1);else{var M=E.load(O.basePath+"/editors/config/keyhandler-commons.xml").getDocumentElement(),V=new Q(M);V.setGraphContainer(B.value);var e=V.graph,m=e.getModel();e.border=80,e.getView().translate=new P(e.border/2,e.border/2),e.setResizeContainer(!0),e.graphHandler.setRemoveCellsFromParent(!1);var t=e.getStylesheet().getDefaultVertexStyle();if(t[n.STYLE_SHAPE]=n.SHAPE_SWIMLANE,t[n.STYLE_VERTICAL_ALIGN]="middle",t[n.STYLE_LABEL_BACKGROUNDCOLOR]="white",t[n.STYLE_FONTSIZE]=11,t[n.STYLE_STARTSIZE]=22,t[n.STYLE_HORIZONTAL]=!1,t[n.STYLE_FONTCOLOR]="black",t[n.STYLE_STROKECOLOR]="black",delete t[n.STYLE_FILLCOLOR],t=E.clone(t),t[n.STYLE_SHAPE]=n.SHAPE_RECTANGLE,t[n.STYLE_FONTSIZE]=10,t[n.STYLE_ROUNDED]=!0,t[n.STYLE_HORIZONTAL]=!0,t[n.STYLE_VERTICAL_ALIGN]="middle",delete t[n.STYLE_STARTSIZE],t[n.STYLE_LABEL_BACKGROUNDCOLOR]="none",e.getStylesheet().putCellStyle("process",t),t=E.clone(t),t[n.STYLE_SHAPE]=n.SHAPE_ELLIPSE,t[n.STYLE_PERIMETER]=Y.EllipsePerimeter,delete t[n.STYLE_ROUNDED],e.getStylesheet().putCellStyle("state",t),t=E.clone(t),t[n.STYLE_SHAPE]=n.SHAPE_RHOMBUS,t[n.STYLE_PERIMETER]=Y.RhombusPerimeter,t[n.STYLE_VERTICAL_ALIGN]="top",t[n.STYLE_SPACING_TOP]=40,t[n.STYLE_SPACING_RIGHT]=64,e.getStylesheet().putCellStyle("condition",t),t=E.clone(t),t[n.STYLE_SHAPE]=n.SHAPE_DOUBLE_ELLIPSE,t[n.STYLE_PERIMETER]=Y.EllipsePerimeter,t[n.STYLE_SPACING_TOP]=28,t[n.STYLE_FONTSIZE]=14,t[n.STYLE_FONTSTYLE]=1,delete t[n.STYLE_SPACING_RIGHT],e.getStylesheet().putCellStyle("end",t),t=e.getStylesheet().getDefaultEdgeStyle(),t[n.STYLE_EDGE]=J.ElbowConnector,t[n.STYLE_ENDARROW]=n.ARROW_BLOCK,t[n.STYLE_ROUNDED]=!0,t[n.STYLE_FONTCOLOR]="black",t[n.STYLE_STROKECOLOR]="black",t=E.clone(t),t[n.STYLE_DASHED]=!0,t[n.STYLE_ENDARROW]=n.ARROW_OPEN,t[n.STYLE_STARTARROW]=n.ARROW_OVAL,e.getStylesheet().putCellStyle("crossover",t),e.alternateEdgeStyle="elbow=vertical",e.isEnabled()){e.setConnectable(!0),e.setAllowDanglingEdges(!1);var h=e.isValidSource;e.isValidSource=function(r){if(h.apply(this,arguments)){var l=this.getModel().getStyle(r);return l==null||!(l=="end"||l.indexOf("end")==0)}return!1},e.isValidTarget=function(r){var l=this.getModel().getStyle(r);return!this.getModel().isEdge(r)&&!this.isSwimlane(r)&&(l==null||!(l=="state"||l.indexOf("state")==0))},e.setDropEnabled(!0),e.setSplitEnabled(!1),e.isValidDropTarget=function(r,l,S){if(this.isSplitEnabled()&&this.isSplitTarget(r,l,S))return!0;for(var f=this.getModel(),s=!1,x=!1,C=!1,A=0;A<l.length;A++){var oe=f.getParent(l[A]);s=s||this.isPool(oe),x=x||this.isPool(l[A]),C=C||!(s||x)}return!x&&C!=s&&(s&&this.isPool(r)||C&&this.isPool(f.getParent(r)))},e.isPool=function(r){var l=this.getModel(),S=l.getParent(r);return S!=null&&l.getParent(S)==l.getRoot()},e.model.getStyle=function(r){var l=F.prototype.getStyle.apply(this,arguments);return e.isCellCollapsed(r)&&(l!=null?l+=";":l="",l+="horizontal=1;align=left;spacingLeft=14;"),l};var p=function(r,l){for(var S=l.getProperty("cells"),f=0;f<S.length;f++){var s=e.model.getGeometry(S[f]);s.alternateBounds!=null&&(s.width=s.alternateBounds.width)}};e.addListener(j.FOLD_CELLS,p)}new z(e);var T=new K(e,!1);T.resizeParent=!0,T.fill=!0,T.isVertexIgnored=function(r){return!e.isSwimlane(r)};var ee=new q(e);ee.getLayout=function(r){return!m.isEdge(r)&&e.getModel().getChildCount(r)>0&&(m.getParent(r)==m.getRoot()||e.isPool(r))?(T.fill=e.isPool(r),T):null};var d=e.getDefaultParent();m.beginUpdate();try{var g=e.insertVertex(d,null,"Pool 1",0,0,640,0);g.setConnectable(!1);var o=e.insertVertex(g,null,"Lane A",0,0,640,110);o.setConnectable(!1);var a=e.insertVertex(g,null,"Lane B",0,0,640,110);a.setConnectable(!1);var I=e.insertVertex(d,null,"Pool 2",0,0,640,0);I.setConnectable(!1);var u=e.insertVertex(I,null,"Lane A",0,0,640,140);u.setConnectable(!1);var c=e.insertVertex(I,null,"Lane B",0,0,640,110);c.setConnectable(!1);var te=e.insertVertex(o,null,null,40,40,30,30,"state"),ne=e.insertVertex(o,null,"A",560,40,30,30,"end"),N=e.insertVertex(o,null,`Contact
|
|
2
|
+
Provider`,90,30,80,50,"process"),L=e.insertVertex(o,null,`Complete
|
|
3
|
+
Appropriate
|
|
4
|
+
Request`,190,30,80,50,"process"),b=e.insertVertex(o,null,`Receive and
|
|
5
|
+
Acknowledge`,385,30,80,50,"process"),le=e.insertVertex(c,null,null,40,40,30,30,"state"),w=e.insertVertex(c,null,`Receive
|
|
6
|
+
Request`,90,30,80,50,"process"),k=e.insertVertex(c,null,`Refer to Tap
|
|
7
|
+
Systems
|
|
8
|
+
Coordinator`,190,30,80,50,"process"),D=e.insertVertex(a,null,`Request 1st-
|
|
9
|
+
Gate
|
|
10
|
+
Information`,190,30,80,50,"process"),_=e.insertVertex(a,null,`Receive 1st-
|
|
11
|
+
Gate
|
|
12
|
+
Information`,290,30,80,50,"process"),U=e.insertVertex(u,null,`Receive and
|
|
13
|
+
Acknowledge`,290,20,80,50,"process"),G=e.insertVertex(u,null,`Contract
|
|
14
|
+
Constraints?`,400,20,50,50,"condition"),v=e.insertVertex(u,null,`Tap for gas
|
|
15
|
+
delivery?`,480,20,50,50,"condition"),re=e.insertVertex(u,null,"B",560,30,30,30,"end"),H=e.insertVertex(u,null,"C",560,84,30,30,"end"),R=null;e.insertEdge(o,null,null,te,N),e.insertEdge(o,null,null,N,L),e.insertEdge(o,null,null,L,b),e.insertEdge(c,null,null,le,w),e.insertEdge(c,null,null,w,k),e.insertEdge(d,null,null,k,D),e.insertEdge(a,null,null,D,_),e.insertEdge(u,null,null,U,G),e.insertEdge(u,null,"No",G,v,"verticalAlign=bottom"),e.insertEdge(d,null,"Yes",G,b,"verticalAlign=bottom;horizontal=0;labelBackgroundColor=white;"),e.insertEdge(u,null,"Yes",v,re,"verticalAlign=bottom"),R=e.insertEdge(u,null,"No",v,H,"verticalAlign=top"),R.geometry.points=[new P(v.geometry.x+v.geometry.width/2,H.geometry.y+H.geometry.height/2)],e.insertEdge(d,null,null,N,w,"crossover"),e.insertEdge(d,null,null,D,L,"crossover"),R=e.insertEdge(o,null,null,L,_,"crossover"),R.geometry.points=[new P(_.geometry.x+_.geometry.width/2+20,L.geometry.y+L.geometry.height*4/5)],e.insertEdge(d,null,null,_,U),e.insertEdge(o,null,null,b,ne)}finally{m.endUpdate()}}}return(M,V)=>(i.openBlock(),i.createElementBlock("div",ue,[i.createElementVNode("div",se,[i.createElementVNode("div",{ref_key:"buttonRef",ref:X},null,512),i.createElementVNode("div",{ref_key:"mxEditorToolRef",ref:$},null,512),i.createElementVNode("div",{ref_key:"mxEditorRef",ref:B,class:"flex-1"},null,512)])]))}});exports.default=de;
|
|
Binary file
|