hs-admin-ui 14.7.0 → 14.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{401-BMNbsyF9.js → 401-D0AnigLv.js} +1 -1
- package/dist/{401-DG07v61x.mjs → 401-Dt9xE4Fw.mjs} +1 -1
- package/dist/{404-Bn3CBvnV.mjs → 404-BjPWDVzi.mjs} +1 -1
- package/dist/404-BjPWDVzi.mjs.gz +0 -0
- package/dist/{404-DeJDDdpg.js → 404-D1Ylaj48.js} +1 -1
- package/dist/{404-DeJDDdpg.js.gz → 404-D1Ylaj48.js.gz} +0 -0
- package/dist/{account-SbCBkQMZ.mjs → account-B-qSr8WK.mjs} +1 -1
- package/dist/{account-CBnNQs5n.js → account-DKr9_7IF.js} +1 -1
- package/dist/{aside-Bvb4LXHl.js → aside-CUkouA4N.js} +1 -1
- package/dist/{aside-BJCa2vyy.mjs → aside-DEoi_mpX.mjs} +3 -3
- package/dist/{baseFormConfig-CtFAmy2n.js → baseFormConfig-CFAmUVg_.js} +1 -1
- package/dist/{baseFormConfig-BCgmwrGD.mjs → baseFormConfig-CxQshD8D.mjs} +1 -1
- package/dist/baseFormConfig-CxQshD8D.mjs.gz +0 -0
- package/dist/{baseTableConfig-7Hpf03RS.mjs → baseTableConfig-DRrUyKzS.mjs} +1 -1
- package/dist/baseTableConfig-DRrUyKzS.mjs.gz +0 -0
- package/dist/{baseTableConfig-CMOwP1p2.js → baseTableConfig-DV60ycxs.js} +1 -1
- package/dist/baseTableConfig-DV60ycxs.js.gz +0 -0
- package/dist/{bcFormConfig-D-3HK8Ce.mjs → bcFormConfig-BkWXe3aL.mjs} +1 -1
- package/dist/{bcFormConfig-BuQnuH-q.js → bcFormConfig-C3JKWrbH.js} +1 -1
- package/dist/{bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-Buk67QKX.js → bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-3O3288Fq.js} +1 -1
- package/dist/{bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-H0S3r1hj.mjs → bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-XThcTHOz.mjs} +2 -2
- package/dist/{bcSwitchSystems.vue_vue_type_script_setup_true_lang-DydqyNmq.js → bcSwitchSystems.vue_vue_type_script_setup_true_lang-BGuwBHC8.js} +1 -1
- package/dist/{bcSwitchSystems.vue_vue_type_script_setup_true_lang-wS0__ZAH.mjs → bcSwitchSystems.vue_vue_type_script_setup_true_lang-t0mbpb4Z.mjs} +2 -2
- package/dist/{btnIndex-D95XPM4B.mjs → btnIndex-CVpa26xG.mjs} +3 -3
- package/dist/btnIndex-CVpa26xG.mjs.gz +0 -0
- package/dist/{btnIndex-B20MYb79.js → btnIndex-U0Wg9QnT.js} +1 -1
- package/dist/{classic-DWVKtqDz.mjs → classic-Bp8P6DjP.mjs} +5 -5
- package/dist/{classic-zcIPEzj2.js → classic-D5-ZeoXm.js} +1 -1
- package/dist/{cloneConfigDialog-CwLeyVd3.js → cloneConfigDialog-C5QaWpN6.js} +1 -1
- package/dist/cloneConfigDialog-C5QaWpN6.js.gz +0 -0
- package/dist/{cloneConfigDialog-Bx7CUmX-.mjs → cloneConfigDialog-idJE5KXX.mjs} +3 -3
- package/dist/cloneConfigDialog-idJE5KXX.mjs.gz +0 -0
- package/dist/{columns-HdG3Ugve.js → columns-DOJGS0gT.js} +1 -1
- package/dist/{columns-CgAstmU4.mjs → columns-pCesW5nS.mjs} +5 -5
- package/dist/{columnsAside-D1pdWY2S.mjs → columnsAside-B_mO68om.mjs} +1 -1
- package/dist/{columnsAside-CGMkvcHu.js → columnsAside-C5BTxt2W.js} +1 -1
- package/dist/{contextmenu-DVYXF4pa.js → contextmenu-C7l2BQqB.js} +1 -1
- package/dist/{contextmenu-SGtI0T7Y.mjs → contextmenu-CCw0BuWf.mjs} +1 -1
- package/dist/{contextmenu-B65aTF9N.js → contextmenu-ClVIzbtL.js} +1 -1
- package/dist/{contextmenu-8tozX5u4.mjs → contextmenu-DnsWRN1B.mjs} +1 -1
- package/dist/{copyMenuConfig-DigDE4L_.js → copyMenuConfig-BP0J4j-b.js} +1 -1
- package/dist/{copyMenuConfig-d2A8a7Qc.mjs → copyMenuConfig-MhL7csTl.mjs} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-JAAVjR6V.mjs → copyMenuConfig.vue_vue_type_script_setup_true_lang-BIOHHvRF.mjs} +2 -2
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-DJdDrx-O.js → copyMenuConfig.vue_vue_type_script_setup_true_lang-BZ8I0Uzy.js} +1 -1
- package/dist/{copySystem-CipJH4UB.js → copySystem-B1H-bxp1.js} +1 -1
- package/dist/{copySystem-CpA94ikP.mjs → copySystem-qXIEt-n3.mjs} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-CM6-yBCh.mjs → copySystem.vue_vue_type_script_setup_true_lang-BvbQXwKr.mjs} +2 -2
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-BZJP_wJt.js → copySystem.vue_vue_type_script_setup_true_lang-D95Hi1J1.js} +1 -1
- package/dist/{defaults-B2mLNhz8.js → defaults-B-QaiyiZ.js} +1 -1
- package/dist/{defaults-BP5mFBAG.mjs → defaults-CC25U6u4.mjs} +4 -4
- package/dist/{dialog-CEf3FOx6.mjs → dialog-BFWZkGRL.mjs} +1 -1
- package/dist/{dialog-BUn5XQcP.mjs → dialog-BbJ5FJvu.mjs} +1 -1
- package/dist/{dialog-jKJO42qd.js → dialog-DJ4Ba4E9.js} +1 -1
- package/dist/{dialog-RIZ8_H6G.js → dialog-DMtqnWQL.js} +1 -1
- package/dist/{dialog-D_E2mZJh.js → dialog-DjXTT07z.js} +1 -1
- package/dist/{dialog-Cz7-nJ38.mjs → dialog-U8GgAM2W.mjs} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CsWtx-vj.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BpReZIrQ.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-PwiLRNNG.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DEhUOWnq.mjs} +3 -3
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-YvhECgcy.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-MvgyOcz4.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-MvgyOcz4.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CbREaEMN.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-xpAhNcHu.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-xpAhNcHu.js.gz +0 -0
- package/dist/{dictDialog-De3tAk-b.mjs → dictDialog-Cuhdd-hZ.mjs} +1 -1
- package/dist/{dictDialog-BnrsZshl.js → dictDialog-FVFAhBii.js} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CB_5-0ca.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BhBri9Hi.js} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-K_7HdA4d.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-f1qIbcki.mjs} +2 -2
- package/dist/{dictItemDialog--9Wl1gw2.js → dictItemDialog-BCgVdY3G.js} +1 -1
- package/dist/{dictItemDialog-C45L17CC.mjs → dictItemDialog-CBgw29L0.mjs} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-DTGMK4Dk.js → dictItemDialog.vue_vue_type_script_setup_true_lang-CDkFle__.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-nI52R_J0.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-DiK9Nr3I.mjs} +2 -2
- package/dist/{formConfig-C74ZfKZc.js → formConfig-BYEIq_B8.js} +1 -1
- package/dist/formConfig-BYEIq_B8.js.gz +0 -0
- package/dist/{formConfig-DpYVxOyk.mjs → formConfig-DukrdQdk.mjs} +6 -6
- package/dist/formConfig-DukrdQdk.mjs.gz +0 -0
- package/dist/{header-WDdvP0OC.js → header-D0xtjJkz.js} +1 -1
- package/dist/{header-CSnzEvoL.mjs → header-Dj6vddTE.mjs} +2 -2
- package/dist/{horizontal-D87BiThY.js → horizontal-DFJi1nQM.js} +1 -1
- package/dist/{horizontal-Bzo8AMl6.mjs → horizontal-rlmmhnZb.mjs} +2 -2
- package/dist/{hsAttrBtn-CV9s2lYW.js → hsAttrBtn-BZGrzCEb.js} +1 -1
- package/dist/{hsAttrBtn-BS3OO0WU.mjs → hsAttrBtn-wqvEX__x.mjs} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DlKOOI-d.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-BWhRAqS3.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-CC-ZNy01.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-D4dbqJCz.mjs} +4 -4
- package/dist/{hsAttrForm-RhYx5CdL.js → hsAttrForm-D-xkYwtx.js} +1 -1
- package/dist/{hsAttrForm-CX8NqFJc.mjs → hsAttrForm-D13Bf5Hd.mjs} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-DVWF0m7c.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-C65sqlOx.mjs} +4 -4
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C65sqlOx.mjs.gz +0 -0
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-DCkWA6P1.js → hsAttrForm.vue_vue_type_script_setup_true_lang-ukD-MlPN.js} +1 -1
- package/dist/{hsBtnConfigList-C4Wyc_HR.js → hsBtnConfigList-DCPFD8ZT.js} +1 -1
- package/dist/{hsBtnConfigList-DvUq75eH.mjs → hsBtnConfigList-DC_sCmaE.mjs} +1 -1
- package/dist/{hsBtnItemConfig-BeCeBQ8x.js → hsBtnItemConfig-BtMa2Ina.js} +1 -1
- package/dist/{hsBtnItemConfig-C_Jva_WY.mjs → hsBtnItemConfig-Bxug-FrG.mjs} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-FRRL7t88.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-C0M7TGgv.mjs} +3 -3
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-C4quDCnp.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Cw0rxwMI.js} +1 -1
- package/dist/{hsBtnPanel-Cc_3cru_.js → hsBtnPanel-BnNSUHA6.js} +1 -1
- package/dist/{hsBtnPanel-Cc955slp.mjs → hsBtnPanel-CnXG4dEJ.mjs} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-fvs9Yw5l.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Dn6hZmDT.js} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-6fl4zOAI.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-ElRDIZgU.mjs} +4 -4
- package/dist/{hsExpand-ChHHHkdb.js → hsExpand-Br2EEZAa.js} +1 -1
- package/dist/{hsExpand-BEHKJ4Km.mjs → hsExpand-DMZk1PUJ.mjs} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-CmVh8_re.js → hsExpand.vue_vue_type_script_setup_true_lang-ABoC0aAj.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-Dlm7eBGh.mjs → hsExpand.vue_vue_type_script_setup_true_lang-C02npH0A.mjs} +1 -1
- package/dist/{hsFormConfig-B55l2t_N.mjs → hsFormConfig-CU4MNHrM.mjs} +1 -1
- package/dist/{hsFormConfig-C0z4EzyX.js → hsFormConfig-DnoasOLj.js} +1 -1
- package/dist/{hsFormConfigList-CQprYtB6.js → hsFormConfigList-Bwdo4XHA.js} +1 -1
- package/dist/{hsFormConfigList-B7bSZdNf.mjs → hsFormConfigList-DHPwB4ns.mjs} +2 -2
- package/dist/hsFormConfigList-DHPwB4ns.mjs.gz +0 -0
- package/dist/{hsFormPanel-lzJC1V5V.js → hsFormPanel-BB9i9aQI.js} +1 -1
- package/dist/{hsFormPanel-DcraLPIE.mjs → hsFormPanel-CUYHfyqu.mjs} +6 -6
- package/dist/hsFormPanel-CUYHfyqu.mjs.gz +0 -0
- package/dist/{hsFormParse-Cnc2s4XK.js → hsFormParse-CpQaKfhE.js} +1 -1
- package/dist/{hsFormParse-CCWHos7o.mjs → hsFormParse-pLxlPDwZ.mjs} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-5sHeujut.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-D_0R8jHT.mjs} +3 -3
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-CSul2GG-.js → hsFormParse.vue_vue_type_script_setup_true_lang-Du74zG_N.js} +1 -1
- package/dist/{hsPanelItem-DJUkKEBn.mjs → hsPanelItem-BIztLa3E.mjs} +1 -1
- package/dist/{hsPanelItem-4Ggmz57w.js → hsPanelItem-daLT4J7A.js} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-87_cs_2M.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DgCXhteR.mjs} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BJoLpF2R.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-I5163oi9.js} +1 -1
- package/dist/{index copy-8T9U4Im_.js → index copy-C6POS4OA.js } +1 -1
- package/dist/{index copy-BCgZ9Mdh.mjs → index copy-qasLxhKk.mjs } +1 -1
- package/dist/{index-XHxNnlrW.js → index--MNBzAGU.js} +1 -1
- package/dist/{index-BDVKiiOO.mjs → index-B0ughRDh.mjs} +1 -1
- package/dist/{index-CzGkRysY.js → index-B1P29z2e.js} +1 -1
- package/dist/{index-CHJcFZrA.js → index-B1VuJKrL.js} +1 -1
- package/dist/{index-mgDzNKaK.mjs → index-B82FetWv.mjs} +3 -3
- package/dist/{index-Bc2QvL_Y.mjs → index-BAAwqbCq.mjs} +1 -1
- package/dist/{index-Ctac9DhP.js → index-BAIh0p78.js} +5 -5
- package/dist/{index-Ctac9DhP.js.gz → index-BAIh0p78.js.gz} +0 -0
- package/dist/{index-nVLLgI1e.js → index-BGby3_sQ.js} +1 -1
- package/dist/index-BIgnSPCb.js +1 -0
- package/dist/{index-CE9XOWRX.js → index-BJzPreHV.js} +1 -1
- package/dist/{index-DO12AioS.mjs → index-BNdJ5VFB.mjs} +1 -1
- package/dist/{index-aEvd0TJc.mjs → index-BcvaTRHp.mjs} +1 -1
- package/dist/{index-DlBlFm7T.js → index-BdG6bwHK.js} +1 -1
- package/dist/index-Bhw9gFnd.mjs +4 -0
- package/dist/{index-DIUjnKjo.mjs → index-BiodTxgQ.mjs} +3 -3
- package/dist/{index-CPh_-7A3.mjs → index-BkigQxm_.mjs} +1 -1
- package/dist/{index-0c_tadpy.mjs → index-Bkuic_9y.mjs} +5 -5
- package/dist/{index-B-wVKPeJ.mjs → index-Bnw9T5kP.mjs} +4 -4
- package/dist/index-Bnw9T5kP.mjs.gz +0 -0
- package/dist/{index-BgRFWHYU.js → index-BoxdrTtD.js} +1 -1
- package/dist/{index-Cd1tv4HM.js → index-Bwd6XI7H.js} +1 -1
- package/dist/{index-BiRqhtSh.mjs → index-ByGIKRJM.mjs} +1 -1
- package/dist/{index-D3cubeKb.js → index-C3pC0PO7.js} +1 -1
- package/dist/{index-BOW5o3Ef.mjs → index-C4oymfM4.mjs} +1 -1
- package/dist/{index-DDUigNqa.js → index-C8v6a3yk.js} +1 -1
- package/dist/{index-B2zgU4Ae.js → index-CC8DbdMF.js} +1 -1
- package/dist/{index-BO7jnm66.mjs → index-CD9QgZ-c.mjs} +3 -3
- package/dist/{index-vamGQgS9.js → index-CDla234b.js} +1 -1
- package/dist/{index-Cx876U60.js → index-CLUGYawi.js} +1 -1
- package/dist/{index-B9LqepHg.js → index-CMCZLfEr.js} +1 -1
- package/dist/{index-Z5QzxHHA.js → index-CP6QMwam.js} +1 -1
- package/dist/index-CP6QMwam.js.gz +0 -0
- package/dist/{index-zS5jAh8_.js → index-CPtLpV1w.js} +1 -1
- package/dist/{index-Bfe1hd9c.mjs → index-CRoqeJW3.mjs} +1 -1
- package/dist/{index-D_Xeavyp.js → index-CT4AQenc.js} +1 -1
- package/dist/{index-BGxwzlbg.js → index-CYTeBRkh.js} +1 -1
- package/dist/index-CYTeBRkh.js.gz +0 -0
- package/dist/{index-D1z0u72B.js → index-C_QnnEew.js} +1 -1
- package/dist/{index-jR4pG9Df.js → index-CaGd5M17.js} +1 -1
- package/dist/{index-CdJW1Ww4.mjs → index-CcKKTFG0.mjs} +1 -1
- package/dist/{index-BgD7QZe5.mjs → index-CcvY5Lh3.mjs} +6 -3
- package/dist/{index-B0FOtifx.js → index-CeP3lbjg.js} +1 -1
- package/dist/{index-Ctir2xWm.mjs → index-CfCqrmCW.mjs} +2 -2
- package/dist/{index-DEcSzeDw.mjs → index-Ch1i8kE1.mjs} +2 -2
- package/dist/index-Ch1i8kE1.mjs.gz +0 -0
- package/dist/index-CmBsu76F.js +1 -0
- package/dist/{index-CcUOQOje.mjs → index-CoRPHWa3.mjs} +1 -1
- package/dist/{index-ChHHMO2V.mjs → index-Cr2ajvle.mjs} +1 -1
- package/dist/{index-BdTZB86n.mjs → index-CweEBRMk.mjs} +1 -1
- package/dist/{index-D1ghGH5p.mjs → index-CxTmvQtI.mjs} +1 -1
- package/dist/{index-BdzTJY0s.mjs → index-CyVgqpQW.mjs} +10 -10
- package/dist/index-CyVgqpQW.mjs.gz +0 -0
- package/dist/{index-BZ12NUxP.js → index-D0s2BCdv.js} +1 -1
- package/dist/{index-CS0DR8mY.js → index-D400uexF.js} +1 -1
- package/dist/{index-Ct4DW5V2.mjs → index-D5QO6ZOg.mjs} +3 -3
- package/dist/{index-DGS__xFt.js → index-D6MLKG7d.js} +1 -1
- package/dist/index-DHHcO6BG.js +1 -0
- package/dist/{index-B3ImmDjX.mjs → index-DONIb4St.mjs} +4 -4
- package/dist/{index-fBIOCP-i.js → index-DQevSKPr.js} +1 -1
- package/dist/index-DRPU_MKa.js +1 -0
- package/dist/index-DRPU_MKa.js.gz +0 -0
- package/dist/{index-DyovEDls.mjs → index-DT03xtZy.mjs} +1 -1
- package/dist/{index-BEkzC2lS.mjs → index-Ddf7PDQu.mjs} +4 -4
- package/dist/{uploadAvatar-BUP65NVq.mjs → index-Dle5t9nr.mjs} +157 -8
- package/dist/index-Dle5t9nr.mjs.gz +0 -0
- package/dist/index-DrsCPbc2.js +1 -0
- package/dist/{index-BhHYt6OG.mjs → index-Du13z9uB.mjs} +4 -4
- package/dist/index-Du13z9uB.mjs.gz +0 -0
- package/dist/{index-DT9_0Q9S.js → index-Dxdi7MJz.js} +1 -1
- package/dist/{index-sAET3LO7.js → index-Dy3RzFY-.js} +1 -1
- package/dist/{index-Cr0YHey-.js → index-DznIu8I-.js} +1 -1
- package/dist/{index-Cg5pv7bM.js → index-GA-bNrwy.js} +1 -1
- package/dist/{index-Cp3jFtWK.js → index-LtS282W-.js} +1 -1
- package/dist/index-M7laIL8M.mjs +14 -0
- package/dist/{index-B3oDUazc.mjs → index-N0NTkzpi.mjs} +4 -4
- package/dist/index-PCI3lWru.mjs +38 -0
- package/dist/{index-DapESYAl.js → index-QfSubczm.js} +1 -1
- package/dist/{index-COThYuBw.mjs → index-Vq6FDIty.mjs} +5 -5
- package/dist/{index-CwGX1hh8.js → index-WXShGbQ2.js} +1 -1
- package/dist/{index-VXD4wF1s.js → index-Y8vo48Zm.js} +1 -1
- package/dist/{index-CUs07Pvy.js → index-axEORR9X.js} +1 -1
- package/dist/{index-Ca4tpl36.mjs → index-beUYJL8H.mjs} +1 -1
- package/dist/{index-H3LemiMl.mjs → index-feq0FF6W.mjs} +1 -1
- package/dist/{index-BS5epFvv.mjs → index-fz3_33YG.mjs} +1 -1
- package/dist/{index-CSS-8EuA.mjs → index-lF4bHilZ.mjs} +132 -112
- package/dist/index-lF4bHilZ.mjs.gz +0 -0
- package/dist/{index-D88FMk9a.mjs → index-qZ1HIhlv.mjs} +4 -4
- package/dist/{index-DmycxewC.mjs → index-tNxjIReb.mjs} +1 -1
- package/dist/{index-DAhIZCNt.mjs → index-yFO2vqjB.mjs} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BEj8ALus.mjs → index.vue_vue_type_script_setup_true_lang-1fpvFvAe.mjs} +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-vVPLjGUP.js → index.vue_vue_type_script_setup_true_lang-Berhqgio.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BWNbE7J6.mjs → index.vue_vue_type_script_setup_true_lang-C8JpeLDs.mjs} +4 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-C8JpeLDs.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dp17_51Z.mjs → index.vue_vue_type_script_setup_true_lang-CIHaOL2A.mjs} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-oKop8oht.js → index.vue_vue_type_script_setup_true_lang-CS-xBXYj.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-ByrxeKFF.js → index.vue_vue_type_script_setup_true_lang-DK5RFYYl.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BVRAt1_8.js → index.vue_vue_type_script_setup_true_lang-DqgKj0xy.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BvHEQ2cA.mjs → index.vue_vue_type_script_setup_true_lang-bfg0A7aJ.mjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_name_iconSelector_lang-DBheRBIs.mjs → index.vue_vue_type_script_setup_true_name_iconSelector_lang-BM_a1FDB.mjs} +2 -2
- package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-BM_a1FDB.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_name_iconSelector_lang-BLCyf-fN.js → index.vue_vue_type_script_setup_true_name_iconSelector_lang-BqQCrztm.js} +1 -1
- package/dist/{link-BvEESi2y.js → link-BB6c_SON.js} +1 -1
- package/dist/{link-Dh0PVQrG.mjs → link-DmGSPAHs.mjs} +1 -1
- package/dist/{list-D2gMd9va.js → list-BZ4q_t8g.js} +1 -1
- package/dist/{list-B7bwQIAf.mjs → list-BcAm4A26.mjs} +1 -1
- package/dist/{main-DnxtofrY.js → main-B_dtgINv.js} +1 -1
- package/dist/{main-CspIbXNH.mjs → main-C_czno4v.mjs} +3 -3
- package/dist/{mobile-c5duAZav.mjs → mobile-Cnw7f9_7.mjs} +1 -1
- package/dist/{mobile-CfVOtzpZ.js → mobile-DXHBWTyQ.js} +1 -1
- package/dist/{parent-LFJvwwZw.js → parent-DGMLY2-D.js} +1 -1
- package/dist/{parent-8xiv6jr_.mjs → parent-to5Q6Mbl.mjs} +1 -1
- package/dist/{popup-5uo64U3S.js → popup-Ch1qFD0l.js} +1 -1
- package/dist/{popup-DcphaT_U.mjs → popup-K8HKQzI_.mjs} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_replaceRules_lang-tcuXJaxX.js → popup.vue_vue_type_script_setup_true_name_replaceRules_lang-D5UAPjA4.js} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_replaceRules_lang-Bc8DtEDP.mjs → popup.vue_vue_type_script_setup_true_name_replaceRules_lang-vY2kC-d_.mjs} +1 -1
- package/dist/{roleItem-CDLXDTeH.mjs → roleItem-BFVUZ8Wu.mjs} +1 -1
- package/dist/{roleItem-2yeXVr5v.js → roleItem-uLkUpYBF.js} +1 -1
- package/dist/{saveForm-CVcp_L9K.mjs → saveForm-Bk-zTgql.mjs} +3 -3
- package/dist/{saveForm-CKLrIO4h.js → saveForm-D-X-b0IO.js} +1 -1
- package/dist/{scan-CA-c5aJi.mjs → scan-Cigvaeeh.mjs} +1 -1
- package/dist/scan-Cigvaeeh.mjs.gz +0 -0
- package/dist/{scan-pS5APpHP.js → scan-DKcMpEjL.js} +1 -1
- package/dist/scan-DKcMpEjL.js.gz +0 -0
- package/dist/{search-C1d5aW0-.mjs → search-BdCqUJYq.mjs} +1 -1
- package/dist/{search-DuLTuqoI.js → search-zbczAJwb.js} +1 -1
- package/dist/{selectConfig-CbUE_WFM.js → selectConfig-DiiKlmLE.js} +1 -1
- package/dist/{selectConfig-8KbKARGn.mjs → selectConfig-WfUJiZ6M.mjs} +1 -1
- package/dist/selectConfig-WfUJiZ6M.mjs.gz +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/{subItem-CaklDqm2.mjs → subItem-CyNqi4sn.mjs} +1 -1
- package/dist/{subItem-jhzCZK9g.js → subItem-_d8vjQ_H.js} +1 -1
- package/dist/{tagsView-CM1yraW5.js → tagsView-BLYoOlKU.js} +2 -2
- package/dist/tagsView-BLYoOlKU.js.gz +0 -0
- package/dist/{tagsView-CraYDEiG.mjs → tagsView-Cz90C6Yd.mjs} +2 -2
- package/dist/{tagsView-CraYDEiG.mjs.gz → tagsView-Cz90C6Yd.mjs.gz} +0 -0
- package/dist/{transverse-CkgRBKPA.mjs → transverse-C-12bh1z.mjs} +3 -3
- package/dist/{transverse-NxI4FPgq.js → transverse-DmG7i1Lo.js} +1 -1
- package/dist/{user-iLplwO6H.js → user-31MAQMD4.js} +1 -1
- package/dist/{user-DiV8MfOQ.mjs → user-Drg6_Bee.mjs} +3 -3
- package/dist/{userNews-Bd87Spta.mjs → userNews-CqUZHJKQ.mjs} +1 -1
- package/dist/{userNews-CVhJCGVx.js → userNews-Dh6_n4HO.js} +1 -1
- package/dist/{userSelect-DIktRT06.mjs → userSelect-C90tn6Rq.mjs} +1 -1
- package/dist/{userSelect-BdpIz2vF.js → userSelect-DBTw4fhp.js} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-BgNboBgV.mjs → userSelect.vue_vue_type_script_setup_true_lang-CJRBjJMl.mjs} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-CvHpOkNN.js → userSelect.vue_vue_type_script_setup_true_lang-Cwq7J0vm.js} +1 -1
- package/dist/{vertical-S1VQPVpO.js → vertical-BjE2s-F4.js} +1 -1
- package/dist/{vertical-CsCnQXAb.mjs → vertical-CSKP1joS.mjs} +2 -2
- package/package.json +1 -1
- package/dist/404-Bn3CBvnV.mjs.gz +0 -0
- package/dist/auth_test-DE3g3zb7.js +0 -1
- package/dist/auth_test-DinGxEsf.mjs +0 -24
- package/dist/baseFormConfig-BCgmwrGD.mjs.gz +0 -0
- package/dist/baseTableConfig-7Hpf03RS.mjs.gz +0 -0
- package/dist/baseTableConfig-CMOwP1p2.js.gz +0 -0
- package/dist/btnIndex-D95XPM4B.mjs.gz +0 -0
- package/dist/cloneConfigDialog-Bx7CUmX-.mjs.gz +0 -0
- package/dist/cloneConfigDialog-CwLeyVd3.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CbREaEMN.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-YvhECgcy.mjs.gz +0 -0
- package/dist/formConfig-C74ZfKZc.js.gz +0 -0
- package/dist/formConfig-DpYVxOyk.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DVWF0m7c.mjs.gz +0 -0
- package/dist/hsFormConfigList-B7bSZdNf.mjs.gz +0 -0
- package/dist/hsFormPanel-DcraLPIE.mjs.gz +0 -0
- package/dist/index copy-DGNpsaor.mjs +0 -10585
- package/dist/index copy-DGNpsaor.mjs.gz +0 -0
- package/dist/index copy-DvBlwQ4H.js +0 -6
- package/dist/index copy-DvBlwQ4H.js.gz +0 -0
- package/dist/index-2zEvP2NX.js +0 -1
- package/dist/index-B-wVKPeJ.mjs.gz +0 -0
- package/dist/index-BGxwzlbg.js.gz +0 -0
- package/dist/index-BdzTJY0s.mjs.gz +0 -0
- package/dist/index-BgP_1Y7h.mjs +0 -130
- package/dist/index-BhHYt6OG.mjs.gz +0 -0
- package/dist/index-CSS-8EuA.mjs.gz +0 -0
- package/dist/index-DEcSzeDw.mjs.gz +0 -0
- package/dist/index-Dsgu_XO6.js +0 -1
- package/dist/index-Dv7fAEaK.mjs +0 -4
- package/dist/index-DvItclFd.js +0 -1
- package/dist/index-Z5QzxHHA.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BWNbE7J6.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-DBheRBIs.mjs.gz +0 -0
- package/dist/scan-CA-c5aJi.mjs.gz +0 -0
- package/dist/scan-pS5APpHP.js.gz +0 -0
- package/dist/selectConfig-8KbKARGn.mjs.gz +0 -0
- package/dist/tagsView-CM1yraW5.js.gz +0 -0
- package/dist/uploadAvatar-BUP65NVq.mjs.gz +0 -0
- package/dist/uploadAvatar-Cdzbmt8E.js +0 -1
- package/dist/uploadAvatar-Cdzbmt8E.js.gz +0 -0
- package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_8e10f7e4_lang-B-YXXUWn.js +0 -1
- package/dist/uploadAvatar.vue_vue_type_style_index_0_scoped_8e10f7e4_lang-DOiOwYLl.mjs +0 -137
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, createElementBlock, openBlock, withDirectives, createElementVNode, vShow } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { X as useElementSize, Y as SmoothSignature, _ as _export_sfc } from "./index-lF4bHilZ.mjs";
|
|
3
3
|
const _hoisted_1 = { class: "wrap1" };
|
|
4
4
|
const _hoisted_2 = { class: "wrap2" };
|
|
5
|
+
const __default__ = defineComponent({
|
|
6
|
+
name: "signature"
|
|
7
|
+
});
|
|
5
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
-
|
|
9
|
+
...__default__,
|
|
7
10
|
props: {
|
|
8
11
|
showFull: {
|
|
9
12
|
type: Boolean,
|
|
@@ -163,7 +166,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
163
166
|
};
|
|
164
167
|
}
|
|
165
168
|
});
|
|
166
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
169
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8300751a"]]);
|
|
167
170
|
export {
|
|
168
171
|
index as default
|
|
169
172
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-BAIh0p78.js"),o={class:"system-menu-container layout-padding"},l={class:"h-full overflow-hidden flex flex-col rounded"},d={class:"grid grid-cols-6 gap-2 px-3"},a={class:"w-full flex flex-row justify-between gap-2 bg-white rounded p-4 h-full overflow-hidden"},r={class:"flex-1 flex flex-col gap-2"},n={class:"text-right"},c={class:"flex flex-col overflow-hidden",style:{width:"350px"}},s={class:"log-wrapper h-0 flex-1 shrink-0 overflow-hidden overflow-y-auto mt-1 bg-gray-300"},i=e.defineComponent({name:"rtc"}),p=e.defineComponent({...i,setup(i){const p=e.reactive({sdkAppId:"1400829659",userId:"456",roomId:888,sdkSecretKey:"b838ac1178ea1bff2ab8ea72291a2c63709a1b4e2cce2afecc918f12c4912ac3",userSig:"",logs:[],roomState:"exited"}),u=e.ref(),m=e=>{p.logs=[...e.toReversed()]},g=e=>{p.roomState=e},V=()=>{var e;u.value&&(u.value,null==(e=u.value)||e.handleEnter())},x=()=>{u.value&&(u.value,u.value.handleExit())},f=()=>{u.value&&(u.value.logs=[])},h=()=>{let e=t.genTestUserSig(p.userId);p.userSig=e.userSig},N=()=>{};return(i,v)=>{const y=e.resolveComponent("el-input"),S=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("div",l,[e.createElementVNode("div",d,[e.createVNode(y,{class:"col-span-3",modelValue:p.sdkAppId,"onUpdate:modelValue":v[0]||(v[0]=e=>p.sdkAppId=e),readonly:"",placeholder:"sdkAppId",type:"number"},{prepend:e.withCtx((()=>v[5]||(v[5]=[e.createTextVNode("SDKAppID")]))),_:1},8,["modelValue"]),e.createVNode(y,{class:"col-span-3",modelValue:p.sdkSecretKey,"onUpdate:modelValue":v[1]||(v[1]=e=>p.sdkSecretKey=e),readonly:"",placeholder:"sdkSecretKey",type:"string"},{prepend:e.withCtx((()=>v[6]||(v[6]=[e.createTextVNode("SDKSecretKey")]))),_:1},8,["modelValue"]),e.createVNode(y,{modelValue:p.userId,"onUpdate:modelValue":v[2]||(v[2]=e=>p.userId=e),placeholder:"userID"},{prepend:e.withCtx((()=>v[7]||(v[7]=[e.createTextVNode("UserID")]))),_:1},8,["modelValue"]),e.createVNode(y,{modelValue:p.roomId,"onUpdate:modelValue":v[3]||(v[3]=e=>p.roomId=e),placeholder:"roomID",type:"number"},{prepend:e.withCtx((()=>v[8]||(v[8]=[e.createTextVNode("RoomID")]))),_:1},8,["modelValue"]),e.createVNode(y,{class:"col-span-2",modelValue:p.userSig,"onUpdate:modelValue":v[4]||(v[4]=e=>p.userSig=e),placeholder:"userSig"},{prepend:e.withCtx((()=>v[9]||(v[9]=[e.createTextVNode("UserSig")]))),append:e.withCtx((()=>[e.createVNode(S,{type:"primary",onClick:h},{default:e.withCtx((()=>v[10]||(v[10]=[e.createTextVNode("生成UserSig")]))),_:1,__:[10]})])),_:1},8,["modelValue"])]),e.createElementVNode("div",a,[e.createElementVNode("div",r,[v[14]||(v[14]=e.createElementVNode("div",{class:"flex-1 bg-gray-300 p-2 rounded text-gray text-lg"},"业务内容",-1)),e.createElementVNode("div",n,[e.createVNode(S,{size:"default",loading:"entering"===p.roomState,disabled:"entered"===p.roomState,onClick:V},{default:e.withCtx((()=>v[11]||(v[11]=[e.createTextVNode(" 进入房间 ")]))),_:1,__:[11]},8,["loading","disabled"]),e.createVNode(S,{size:"default",loading:"exiting"===p.roomState,onClick:x},{default:e.withCtx((()=>v[12]||(v[12]=[e.createTextVNode(" 离开房间 ")]))),_:1,__:[12]},8,["loading"]),e.createVNode(S,{size:"default",onClick:f},{default:e.withCtx((()=>v[13]||(v[13]=[e.createTextVNode("清空日志")]))),_:1,__:[13]})])]),e.createElementVNode("div",c,[e.createVNode(t.trtcUI,{style:{height:"500px"},ref_key:"TRTCRef",ref:u,appId:p.sdkAppId,userId:p.userId,roomId:`${p.roomId}`,userSig:p.userSig,onUpdateLog:m,onChangeRoomState:g,onUserHangingUp:N},null,8,["appId","userId","roomId","userSig"]),e.createElementVNode("div",s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.logs,((t,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:"log"},["success"===t.type?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[v[15]||(v[15]=e.createElementVNode("span",null,"🟩 ",-1)),e.createTextVNode(e.toDisplayString(t.content),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[v[16]||(v[16]=e.createElementVNode("span",null,"🟥 ",-1)),e.createTextVNode(e.toDisplayString(t.content),1)],64))])))),128))])])])])])}}});exports.default=p;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, shallowRef, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, mergeProps, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { s as showPopup$1 } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./popup.vue_vue_type_script_setup_true_name_replaceRules_lang-
|
|
2
|
+
import { s as showPopup$1 } from "./index-lF4bHilZ.mjs";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./popup.vue_vue_type_script_setup_true_name_replaceRules_lang-vY2kC-d_.mjs";
|
|
4
4
|
function showPopup(row) {
|
|
5
5
|
return new Promise((resolve) => {
|
|
6
6
|
showPopup$1(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { reactive, ref, defineComponent, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createBlock, createCommentVNode, unref, withCtx, createTextVNode, withKeys, createElementVNode, renderList, toDisplayString } from "vue";
|
|
2
|
-
import { c as _, b as ElMessage, w as getDataType, _ as _export_sfc } from "./index-
|
|
3
|
-
import { u as usePostMan } from "./index-
|
|
2
|
+
import { c as _, b as ElMessage, w as getDataType, _ as _export_sfc } from "./index-lF4bHilZ.mjs";
|
|
3
|
+
import { u as usePostMan } from "./index-CoRPHWa3.mjs";
|
|
4
4
|
const postMan = usePostMan();
|
|
5
5
|
let textareaRef = ref();
|
|
6
6
|
let state = reactive({
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-BAIh0p78.js"),o={},r={class:"system-menu-container layout-padding"};const n=t._export_sfc(o,[["render",function(t,o){const n=e.resolveComponent("hs-select");return e.openBlock(),e.createElementBlock("div",r,[e.createVNode(n)])}]]);exports.default=n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./index-
|
|
2
|
+
import { _ as _export_sfc } from "./index-lF4bHilZ.mjs";
|
|
3
3
|
const _hoisted_1 = { class: "layout-footer pb15" };
|
|
4
4
|
const __default__ = defineComponent({
|
|
5
5
|
name: "layoutFooter"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ref, watch, defineComponent, useModel, resolveComponent, createElementBlock, openBlock, Fragment, createTextVNode, createVNode, createElementVNode, unref, isRef, withCtx, toDisplayString, computed, mergeModels, createBlock, renderList, createCommentVNode, normalizeClass, withModifiers, onMounted, withDirectives, resolveDynamicComponent, vShow, mergeProps, renderSlot, inject, reactive, onUnmounted, Transition, normalizeStyle, provide } from "vue";
|
|
2
|
-
import { S as Session, c as _, i as inputAttrConfigMap, d as v4, z as datePickerAttrConfigMap, h as selectAttrConfigMap, b as ElMessage, f as useKeyStroke, E as ElMessageBox, t as to, _ as _export_sfc, A as lodashExports, l as treeToList, n as useMenuController, H as HsMessageBox, k as HsMessage, s as showPopup, o as copyText, q as isDev } from "./index-
|
|
2
|
+
import { S as Session, c as _, i as inputAttrConfigMap, d as v4, z as datePickerAttrConfigMap, h as selectAttrConfigMap, b as ElMessage, f as useKeyStroke, E as ElMessageBox, t as to, _ as _export_sfc, A as lodashExports, l as treeToList, n as useMenuController, H as HsMessageBox, k as HsMessage, s as showPopup, o as copyText, q as isDev } from "./index-lF4bHilZ.mjs";
|
|
3
3
|
import { u as useConfigInfo } from "./useConfigInfo-PTkkdx-l.mjs";
|
|
4
|
-
import { u as useFieldConfigController } from "./index-
|
|
5
|
-
import { _ as _sfc_main$m } from "./bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { b as bcFormConfig } from "./bcFormConfig-
|
|
7
|
-
import { f as formItemConfig, p as parentFormData, d as formItemAspectConfig, e as emptyFormItemData, a as config$1, c as compConfig, g as parentFormConfig, h as formTitleConfig } from "./baseFormConfig-
|
|
8
|
-
import { u as usePostMan } from "./index-
|
|
4
|
+
import { u as useFieldConfigController } from "./index-BNdJ5VFB.mjs";
|
|
5
|
+
import { _ as _sfc_main$m } from "./bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-XThcTHOz.mjs";
|
|
6
|
+
import { b as bcFormConfig } from "./bcFormConfig-BkWXe3aL.mjs";
|
|
7
|
+
import { f as formItemConfig, p as parentFormData, d as formItemAspectConfig, e as emptyFormItemData, a as config$1, c as compConfig, g as parentFormConfig, h as formTitleConfig } from "./baseFormConfig-CxQshD8D.mjs";
|
|
8
|
+
import { u as usePostMan } from "./index-CoRPHWa3.mjs";
|
|
9
9
|
import { s as shortcutList } from "./shortcutList-BXBGQdNn.mjs";
|
|
10
|
-
import { _ as _sfc_main$k, t as tableConfig, b as tableColumnRule, c as tableItemConfig, d as tableItemAspectData, e as baseData, g as emptyTableItemData, h as tableItemType, i as tableTitleConfig, j as baseConfig } from "./baseTableConfig-
|
|
11
|
-
import { _ as _sfc_main$l } from "./index.vue_vue_type_script_setup_true_name_iconSelector_lang-
|
|
12
|
-
import { u as useBtnConfigController } from "./index-
|
|
13
|
-
import { u as useSystemController } from "./index-
|
|
10
|
+
import { _ as _sfc_main$k, t as tableConfig, b as tableColumnRule, c as tableItemConfig, d as tableItemAspectData, e as baseData, g as emptyTableItemData, h as tableItemType, i as tableTitleConfig, j as baseConfig } from "./baseTableConfig-DRrUyKzS.mjs";
|
|
11
|
+
import { _ as _sfc_main$l } from "./index.vue_vue_type_script_setup_true_name_iconSelector_lang-BM_a1FDB.mjs";
|
|
12
|
+
import { u as useBtnConfigController } from "./index-CxTmvQtI.mjs";
|
|
13
|
+
import { u as useSystemController } from "./index-beUYJL8H.mjs";
|
|
14
14
|
const fieldConfig$5 = useFieldConfigController();
|
|
15
15
|
function useHsPage(formTableRef) {
|
|
16
16
|
const configInfo = useConfigInfo();
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r={};const t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r={};const t=require("./index-BAIh0p78.js")._export_sfc(r,[["render",function(r,t){return e.openBlock(),e.createElementBlock("div",null,"配置页面")}]]);exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-3O3288Fq.js"),a=require("./formConfig-BYEIq_B8.js"),n=require("./index-BAIh0p78.js"),r=require("./index-DznIu8I-.js"),o=require("./useConfigInfo-2zEYLSSs.js"),u=n.useMenuController(),l=r.useFieldConfigController();const c={class:"system-user-container layout-padding"},s={class:"flex-1"},i=e.defineComponent({name:"formSetting"}),d=e.defineComponent({...i,setup(n){const r=e.ref();let i=e.ref({});const{currentPage:d,onChangeSystem:f,changeNode:v,reGetFormByMenuFn:g,sysData:m}=function(t,a){const n=o.useConfigInfo();let r=e.ref("");const c=e.ref({});let s=e.ref();const i=e.ref(),d=e=>{u.getMenuList({project_code:e.project_code}).then((e=>{1==e.code&&(i.value=f(e.data||[]))})).catch((e=>{}))},f=e=>e.map((e=>(e.label=e.meta.title,e.value=e.name,e.children&&e.children.length>0&&(e.children=f(e.children||[])),e))),v=e=>{l.getFormByMenu(e).then((e=>{1==e.code&&(e.data.length>0?(c.value=e.data||[],t.value&&(t.value.initData(c.value),t.value.saveFormRef.initConfig(e.data))):(c.value=[],t.value&&(t.value.initData(c.value),t.value.saveFormRef.initConfig([]))))}))};return{currentPage:r,onChangeSystem:e=>{s.value=e,c.value={},r.value="",a.value={},d(e)},menuData:i,changeNode:e=>{if(a.value.id==e.id)return;r.value=e.value,a.value=e,n.$patch({form_menu:e});let t={menu_id:e.id,project_code:s.value.project_code};v(t)},currentPageData:a,reGetFormByMenuFn:()=>{let e={menu_id:a.value.id,project_code:s.value.project_code};v(e)},sysData:s}}(r,i);return(n,o)=>{const u=e.resolveComponent("el-card");return e.openBlock(),e.createElementBlock("div",c,[e.createVNode(u,{shadow:"hover",class:"layout-padding-auto"},{default:e.withCtx((()=>[e.createVNode(t._sfc_main,{onChangeNode:e.unref(v),onChangeSystem:e.unref(f)},null,8,["onChangeNode","onChangeSystem"]),e.withDirectives(e.createElementVNode("div",s,[e.createVNode(a.default,{ref_key:"formRef",ref:r,class:"h-full",currentPageData:e.unref(i),onRefresh:e.unref(g),sysData:e.unref(m)},null,8,["currentPageData","onRefresh","sysData"])],512),[[e.vShow,e.unref(d)]])])),_:1})])}}}),f=n._export_sfc(d,[["__scopeId","data-v-a1cd6eed"]]);exports.default=f;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import roleItem from "./roleItem-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./userSelect.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { s as showPopup, _ as _export_sfc } from "./index-
|
|
2
|
+
import roleItem from "./roleItem-BFVUZ8Wu.mjs";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./userSelect.vue_vue_type_script_setup_true_lang-CJRBjJMl.mjs";
|
|
4
|
+
import { s as showPopup, _ as _export_sfc } from "./index-lF4bHilZ.mjs";
|
|
5
5
|
const _hoisted_1 = { class: "system-menu-container layout-padding" };
|
|
6
6
|
const __default__ = defineComponent({
|
|
7
7
|
name: "systemRole"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-BAIh0p78.js"),o={class:"layout-footer pb15"},r=e.defineComponent({name:"layoutFooter"}),a=e.defineComponent({...r,setup:t=>(t,r)=>(e.openBlock(),e.createElementBlock("div",o,r[0]||(r[0]=[e.createElementVNode("div",{class:"layout-footer-warp"},[e.createElementVNode("div",null,"hs-admin "),e.createElementVNode("div",{class:"mt5"},"杭州市华速科技公司版权所有")],-1)])))}),l=t._export_sfc(a,[["__scopeId","data-v-51817e7c"]]);exports.default=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t={class:"system-menu-container layout-padding"},o=e.defineComponent({name:"auth"}),n=e.defineComponent({...o,setup:o=>(o,n)=>{const s=e.resolveComponent("bc-system-auth");return e.openBlock(),e.createElementBlock("div",t,[e.createVNode(s,{projectCode:"lsms","show-company":"",class:"h-full auth-manage"})])}});exports.default=n;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref, defineComponent, resolveComponent, resolveDirective, createElementBlock, openBlock, withDirectives, createVNode, unref, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import { r as request, s as showPopup, k as HsMessage, H as HsMessageBox } from "./index-
|
|
3
|
-
import { u as useSystemController } from "./index-
|
|
4
|
-
import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as _sfc_main$1 } from "./copySystem.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { r as request, s as showPopup, k as HsMessage, H as HsMessageBox } from "./index-lF4bHilZ.mjs";
|
|
3
|
+
import { u as useSystemController } from "./index-beUYJL8H.mjs";
|
|
4
|
+
import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_setup_true_lang-bfg0A7aJ.mjs";
|
|
5
|
+
import { _ as _sfc_main$1 } from "./copySystem.vue_vue_type_script_setup_true_lang-BvbQXwKr.mjs";
|
|
6
6
|
const assign = (params, title) => {
|
|
7
7
|
return Object.assign(params, { other_log_info: { title } });
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-BAIh0p78.js"),o=require("./popup.vue_vue_type_script_setup_true_name_replaceRules_lang-D5UAPjA4.js");const n={class:"system-user-container layout-padding"},r=e.defineComponent({name:"systemUser"}),s=e.defineComponent({...r,setup(r){const s=e.shallowRef();async function i(e){s.value=e}function l(e){var t,o;return(null==(o=null==(t=null==e?void 0:e.roleList)?void 0:t.map((e=>e.role_name)))?void 0:o.join(","))||""}function u(e){(function(e){return new Promise((n=>{t.showPopup(o._sfc_main,{row:e},{title:e?"修改":"新增",width:"600px",height:"500px",success:({data:e})=>n(e),showFooter:!1})}))})(e).then((e=>{var t;"refresh"==e&&(null==(t=s.value)||t.search())}))}return(t,o)=>{const r=e.resolveComponent("bc-button"),s=e.resolveComponent("bc-box");return e.openBlock(),e.createElementBlock("div",n,[e.createVNode(s,{type:"1",id:"9ebece96-e96a-4f0f-9af5-95860e550088",isAuth:!1,onReady:i},{roleList:e.withCtx((({row:t})=>[e.createTextVNode(e.toDisplayString(l(t)),1)])),btn_add:e.withCtx((t=>[e.createVNode(r,e.mergeProps(t,{onClick:o[0]||(o[0]=e=>u())}),null,16)])),table_btn_edit:e.withCtx((({row:t,btnData:o})=>[e.createVNode(r,e.mergeProps(o,{onClick:e=>u(t)}),null,16,["onClick"])])),_:1})])}}});exports.default=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),e=require("./index-BAIh0p78.js"),i={};i.getData=t=>new Promise(((e,i)=>{let s={};(function(t){let e=null;return new Promise(((i,s)=>{if(t.src)if(/^data\:/i.test(t.src))e=function(t,e){e=e||t.match(/^data\:([^\;]+)\;base64,/im)[1]||"",t=t.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var i=atob(t),s=i.length%2==0?i.length:i.length+1,o=new ArrayBuffer(s),h=new Uint16Array(o),r=0;r<s;r++)h[r]=i.charCodeAt(r);return o}(t.src),i(e);else if(/^blob\:/i.test(t.src)){var o=new FileReader;o.onload=function(t){e=t.target.result,i(e)},function(t,e){var i=new XMLHttpRequest;i.open("GET",t,!0),i.responseType="blob",i.onload=function(t){200!=this.status&&0!==this.status||e(this.response)},i.send()}(t.src,(function(t){o.readAsArrayBuffer(t)}))}else{var h=new XMLHttpRequest;h.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";e=h.response,i(e),h=null},h.open("GET",t.src,!0),h.responseType="arraybuffer",h.send(null)}else s("img error")}))})(t).then((t=>{s.arrayBuffer=t;try{s.orientation=function(t){var e,i,s,o,h,r,a,c,n,p=new DataView(t),l=p.byteLength;if(255===p.getUint8(0)&&216===p.getUint8(1))for(c=2;c<l;){if(255===p.getUint8(c)&&225===p.getUint8(c+1)){r=c;break}c++}r&&(i=r+10,"Exif"===function(t,e,i){var s,o="";for(s=e,i+=e;s<i;s++)o+=String.fromCharCode(t.getUint8(s));return o}(p,r+4,4)&&((o=18761===(h=p.getUint16(i)))||19789===h)&&42===p.getUint16(i+2,o)&&(s=p.getUint32(i+4,o))>=8&&(a=i+s));if(a)for(l=p.getUint16(a,o),n=0;n<l;n++)if(c=a+12*n+2,274===p.getUint16(c,o)){c+=8,e=p.getUint16(c,o);break}return e}(t)}catch{s.orientation=-1}e(s)})).catch((t=>{i(t)}))}));const s={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,imgIsQqualCrop:!1}},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(t){return Array.isArray(t)?Number(t[0])>=0&&Number(t[1])>=0:Number(t)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let t={};if(t.top=this.cropOffsertY>21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){let e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:()=>!!window.ActiveXObject||"ActiveXObject"in window,passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(t){""!==t&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(t,e){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(t){t&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(t){var e=navigator.userAgent.split(" "),i="";let s=0;const o=new RegExp(t,"i");for(var h=0;h<e.length;h++)o.test(e[h])&&(i=e[h]);return s=i?i.split("/")[1].split("."):["0","0","0"],s},checkOrientationImage(t,e,i,s){if(this.getVersion("chrome")[0]>=81)e=-1;else if(this.getVersion("safari")[0]>=605){const t=this.getVersion("version");t[0]>13&&t[1]>1&&(e=-1)}else{const t=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(t){let i=t[1];i=i.split("_"),(i[0]>13||i[0]>=13&&i[1]>=4)&&(e=-1)}}let o=document.createElement("canvas"),h=o.getContext("2d");switch(h.save(),e){case 2:o.width=i,o.height=s,h.translate(i,0),h.scale(-1,1);break;case 3:o.width=i,o.height=s,h.translate(i/2,s/2),h.rotate(180*Math.PI/180),h.translate(-i/2,-s/2);break;case 4:o.width=i,o.height=s,h.translate(0,s),h.scale(1,-1);break;case 5:o.height=i,o.width=s,h.rotate(.5*Math.PI),h.scale(1,-1);break;case 6:o.width=s,o.height=i,h.translate(s/2,i/2),h.rotate(90*Math.PI/180),h.translate(-i/2,-s/2);break;case 7:o.height=i,o.width=s,h.rotate(.5*Math.PI),h.translate(i,-s),h.scale(-1,1);break;case 8:o.height=i,o.width=s,h.translate(s/2,i/2),h.rotate(-90*Math.PI/180),h.translate(-i/2,-s/2);break;default:o.width=i,o.height=s}h.drawImage(t,0,0,i,s),h.restore(),o.toBlob((t=>{let e=URL.createObjectURL(t);URL.revokeObjectURL(this.imgs),this.imgs=e}),"image/"+this.outputType,1)},checkedImg(){if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let t=new Image;if(t.onload=()=>{if(""===this.img)return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let e=t.width,s=t.height;i.getData(t).then((i=>{this.orientation=i.orientation||1;let o=Number(this.maxImgSize);!this.orientation&&e<o&s<o?this.imgs=this.img:(e>o&&(s=s/e*o,e=o),s>o&&(e=e/s*o,s=o),this.checkOrientationImage(t,this.orientation,e,s))})).catch((t=>{this.$emit("img-load","error"),this.$emit("img-load-error",t)}))},t.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},"data"!==this.img.substr(0,4)&&(t.crossOrigin=""),this.isIE){var e=new XMLHttpRequest;e.onload=function(){var e=URL.createObjectURL(this.response);t.src=e},e.open("GET",this.img,!0),e.responseType="blob",e.send()}else t.src=this.img},startMove(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in t?t.clientX:t.touches[0].clientX)-this.x,this.moveY=("clientY"in t?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.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=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(t){t.preventDefault();let e=this.scale;var i=this.touches[0].clientX,s=this.touches[0].clientY,o=t.touches[0].clientX,h=t.touches[0].clientY,r=this.touches[1].clientX,a=this.touches[1].clientY,c=t.touches[1].clientX,n=t.touches[1].clientY,p=Math.sqrt(Math.pow(i-r,2)+Math.pow(s-a,2)),l=Math.sqrt(Math.pow(o-c,2)+Math.pow(h-n,2))-p,d=1,u=(d=(d=d/this.trueWidth>d/this.trueHeight?d/this.trueHeight:d/this.trueWidth)>.1?.1:d)*l;if(!this.touchNow){if(this.touchNow=!0,l>0?e+=Math.abs(u):l<0&&e>Math.abs(u)&&(e-=Math.abs(u)),this.touches=t.touches,setTimeout((()=>{this.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e}},cancelTouchScale(t){window.removeEventListener("touchmove",this.touchScale)},moveImg(t){if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let e,i,s="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY;e=s-this.moveX,i=o-this.moveY,this.$nextTick((()=>{if(this.centerBox){let t,s,o,h,r=this.getImgAxis(e,i,this.scale),a=this.getCropAxis(),c=this.trueHeight*this.scale,n=this.trueWidth*this.scale;switch(this.rotate){case 1:case-1:case 3:case-3:t=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(c-n)/2,s=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(n-c)/2,o=t-c+this.cropW,h=s-n+this.cropH;break;default:t=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,s=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,o=t-n+this.cropW,h=s-c+this.cropH}r.x1>=a.x1&&(e=t),r.y1>=a.y1&&(i=s),r.x2<=a.x2&&(e=o),r.y2<=a.y2&&(i=h)}this.x=e,this.y=i,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}))},leaveImg(t){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(t){t.preventDefault();let e=this.scale;var i=t.deltaY||t.wheelDelta;i=navigator.userAgent.indexOf("Firefox")>0?30*i:i,this.isIE&&(i=-i);var s=this.coe,o=(s=s/this.trueWidth>s/this.trueHeight?s/this.trueHeight:s/this.trueWidth)*i;o<0?e+=Math.abs(o):e>Math.abs(o)&&(e-=Math.abs(o));let h=o<0?"add":"reduce";if(h!==this.coeStatus&&(this.coeStatus=h,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((()=>{this.scaling=!1,this.coe=this.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},changeScale(t){let e=this.scale;t=t||1;var i=20;if((t*=i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((()=>{var t=e-this.cropX,s=i-this.cropY;if(t>0?(this.cropW=t+this.cropChangeX>this.w?this.w-this.cropChangeX:t,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(t)>this.w?this.cropChangeX:Math.abs(t),this.cropOffsertX=this.cropChangeX+t>0?this.cropChangeX+t:0),this.fixed){var o=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];o+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.cropOffsertX=t>0?this.cropChangeX:this.cropChangeX-this.cropW):this.cropH=o,this.cropOffsertY=this.cropOffsertY}else s>0?(this.cropH=s+this.cropChangeY>this.h?this.h-this.cropChangeY:s,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(s)>this.h?this.cropChangeY:Math.abs(s),this.cropOffsertY=this.cropChangeY+s>0?this.cropChangeY+s:0)}))},changeCropSize(t,e,i,s,o){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=o,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.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(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;let s=this.w,o=this.h,h=0,r=0;if(this.centerBox){let t=this.getImgAxis(),e=t.x2,i=t.y2;h=t.x1>0?t.x1:0,r=t.y1>0?t.y1:0,s>e&&(s=e),o>i&&(o=i)}const[a,c]=this.checkCropLimitSize();this.$nextTick((()=>{var t=e-this.cropX,n=i-this.cropY;if(this.canChangeX&&(1===this.changeCropTypeX?this.cropOldW-t<a?(this.cropW=a,this.cropOffsertX=this.cropOldW+this.cropChangeX-h-a):this.cropOldW-t>0?(this.cropW=s-this.cropChangeX-t<=s-h?this.cropOldW-t:this.cropOldW+this.cropChangeX-h,this.cropOffsertX=s-this.cropChangeX-t<=s-h?this.cropChangeX+t:h):(this.cropW=Math.abs(t)+this.cropChangeX<=s?Math.abs(t)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):2===this.changeCropTypeX&&(this.cropOldW+t<a?this.cropW=a:this.cropOldW+t>0?(this.cropW=this.cropOldW+t+this.cropOffsertX<=s?this.cropOldW+t:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(t+this.cropOldW)<=s-h?Math.abs(t+this.cropOldW):this.cropChangeX-h,this.cropOffsertX=s-this.cropChangeX+Math.abs(t+this.cropOldW)<=s-h?this.cropChangeX-Math.abs(t+this.cropOldW):h))),this.canChangeY&&(1===this.changeCropTypeY?this.cropOldH-n<c?(this.cropH=c,this.cropOffsertY=this.cropOldH+this.cropChangeY-r-c):this.cropOldH-n>0?(this.cropH=o-this.cropChangeY-n<=o-r?this.cropOldH-n:this.cropOldH+this.cropChangeY-r,this.cropOffsertY=o-this.cropChangeY-n<=o-r?this.cropChangeY+n:r):(this.cropH=Math.abs(n)+this.cropChangeY<=o?Math.abs(n)-this.cropOldH:o-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):2===this.changeCropTypeY&&(this.cropOldH+n<c?this.cropH=c:this.cropOldH+n>0?(this.cropH=this.cropOldH+n+this.cropOffsertY<=o?this.cropOldH+n:o-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=o-this.cropChangeY+Math.abs(n+this.cropOldH)<=o-r?Math.abs(n+this.cropOldH):this.cropChangeY-r,this.cropOffsertY=o-this.cropChangeY+Math.abs(n+this.cropOldH)<=o-r?this.cropChangeY-Math.abs(n+this.cropOldH):r))),this.canChangeX&&this.fixed){var p=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];p<c?(this.cropH=c,this.cropW=this.fixedNumber[0]*c/this.fixedNumber[1],1===this.changeCropTypeX&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):p+this.cropOffsertY>o?(this.cropH=o-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],1===this.changeCropTypeX&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=p}if(this.canChangeY&&this.fixed){var l=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];l<a?(this.cropW=a,this.cropH=this.fixedNumber[1]*a/this.fixedNumber[0]):l+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=l}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})}))},checkCropLimitSize(){let{cropW:t,cropH:e,limitMinSize:i}=this,s=new Array;return s=Array.isArray(i)?i:[i,i],t=parseFloat(s[0]),e=parseFloat(s[1]),[t,e]},changeCropEnd(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(t,e,i,s,o,h){const r=t/e;let a=o,c=h;return a<i&&(a=i,c=Math.ceil(a/r)),c<s&&(c=s,a=Math.ceil(c*r),a<i&&(a=i,c=Math.ceil(a/r))),a<o&&(a=o,c=Math.ceil(a/r)),c<h&&(c=h,a=Math.ceil(c*r)),{width:a,height:c}},endCrop(){0===this.cropW&&0===this.cropH&&(this.cropping=!1);let[t,e]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],t,e,this.cropW,this.cropH):{width:t,height:e};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(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let e,i,s="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY;e=s-this.cropOffsertX,i=o-this.cropOffsertY,this.cropX=e,this.cropY=i,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(t,e){let i=0,s=0;t&&(t.preventDefault(),i="clientX"in t?t.clientX:t.touches[0].clientX,s="clientY"in t?t.clientY:t.touches[0].clientY),this.$nextTick((()=>{let t,o,h=i-this.cropX,r=s-this.cropY;if(e&&(h=this.cropOffsertX,r=this.cropOffsertY),t=h<=0?0:h+this.cropW>this.w?this.w-this.cropW:h,o=r<=0?0:r+this.cropH>this.h?this.h-this.cropH:r,this.centerBox){let e=this.getImgAxis();t<=e.x1&&(t=e.x1),t+this.cropW>e.x2&&(t=e.x2-this.cropW),o<=e.y1&&(o=e.y1),o+this.cropH>e.y2&&(o=e.y2-this.cropH)}this.cropOffsertX=t,this.cropOffsertY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})}))},getImgAxis(t,e,i){t=t||this.x,e=e||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*i,h=this.trueHeight*i;switch(this.rotate){case 0:s.x1=t+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=e+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=t+this.trueWidth*(1-i)/2+(o-h)/2,s.x2=s.x1+this.trueHeight*i,s.y1=e+this.trueHeight*(1-i)/2+(h-o)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=t+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=e+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i}return s},getCropAxis(){let t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop(t){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(t){let e=document.createElement("canvas"),i=e.getContext("2d"),s=new Image,o=this.rotate,h=this.trueWidth,r=this.trueHeight,a=this.cropOffsertX,c=this.cropOffsertY;s.onload=()=>{if(0!==this.cropW){let t=1;this.high&!this.full&&(t=window.devicePixelRatio),1!==this.enlarge&!this.full&&(t=Math.abs(Number(this.enlarge)));let e=this.cropW*t,n=this.cropH*t,l=h*this.scale*t,d=r*this.scale*t,u=(this.x-a+this.trueWidth*(1-this.scale)/2)*t,g=(this.y-c+this.trueHeight*(1-this.scale)/2)*t;switch(p(e,n),i.save(),o){case 0:this.full?(p(e/this.scale,n/this.scale),i.drawImage(s,u/this.scale,g/this.scale,l/this.scale,d/this.scale)):i.drawImage(s,u,g,l,d);break;case 1:case-3:this.full?(p(e/this.scale,n/this.scale),u=u/this.scale+(l/this.scale-d/this.scale)/2,g=g/this.scale+(d/this.scale-l/this.scale)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,g,-u-d/this.scale,l/this.scale,d/this.scale)):(u+=(l-d)/2,g+=(d-l)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,g,-u-d,l,d));break;case 2:case-2:this.full?(p(e/this.scale,n/this.scale),i.rotate(90*o*Math.PI/180),u/=this.scale,g/=this.scale,i.drawImage(s,-u-l/this.scale,-g-d/this.scale,l/this.scale,d/this.scale)):(i.rotate(90*o*Math.PI/180),i.drawImage(s,-u-l,-g-d,l,d));break;case 3:case-1:this.full?(p(e/this.scale,n/this.scale),u=u/this.scale+(l/this.scale-d/this.scale)/2,g=g/this.scale+(d/this.scale-l/this.scale)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,-g-l/this.scale,u,l/this.scale,d/this.scale)):(u+=(l-d)/2,g+=(d-l)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,-g-l,u,l,d));break;default:this.full?(p(e/this.scale,n/this.scale),i.drawImage(s,u/this.scale,g/this.scale,l/this.scale,d/this.scale)):i.drawImage(s,u,g,l,d)}i.restore()}else{let t=h*this.scale,e=r*this.scale;switch(i.save(),o){case 0:p(t,e),i.drawImage(s,0,0,t,e);break;case 1:case-3:p(e,t),i.rotate(90*o*Math.PI/180),i.drawImage(s,0,-e,t,e);break;case 2:case-2:p(t,e),i.rotate(90*o*Math.PI/180),i.drawImage(s,-t,-e,t,e);break;case 3:case-1:p(e,t),i.rotate(90*o*Math.PI/180),i.drawImage(s,-t,0,t,e);break;default:p(t,e),i.drawImage(s,0,0,t,e)}i.restore()}t(e)},"data"!==this.img.substr(0,4)&&(s.crossOrigin="Anonymous"),s.src=this.imgs;const n=this.fillColor;function p(t,s){e.width=Math.round(t),e.height=Math.round(s),n&&(i.fillStyle=n,i.fillRect(0,0,e.width,e.height))}},getCropData(t){this.getCropChecked((e=>{t(e.toDataURL("image/"+this.outputType,this.outputSize))}))},getCropBlob(t){this.getCropChecked((e=>{e.toBlob((e=>t(e)),"image/"+this.outputType,this.outputSize)}))},showPreview(){if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((()=>{this.isCanShow=!0}),16);let t=this.cropW,e=this.cropH,i=this.scale;var s={};s.div={width:`${t}px`,height:`${e}px`};let o=(this.x-this.cropOffsertX)/i,h=(this.y-this.cropOffsertY)/i;s.w=t,s.h=e,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${o}px, ${h}px, 0px)rotateZ(${90*this.rotate}deg)`},s.html=`\n <div class="show-preview" style="width: ${s.w}px; height: ${s.h}px; overflow: hidden">\n <div style="width: ${t}px; height: ${e}px">\n <img src=${s.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:\n scale(${i})translate3d(${o}px, ${h}px, 0px)rotateZ(${90*this.rotate}deg)">\n </div>\n </div>`,this.$emit("realTime",s),this.$emit("real-time",s)},reload(){let t=new Image;t.onload=()=>{this.w=parseFloat(window.getComputedStyle(this.$refs.cropper).width),this.h=parseFloat(window.getComputedStyle(this.$refs.cropper).height),this.trueWidth=t.width,this.trueHeight=t.height,this.original?this.scale=1:this.scale=this.checkedMode(),this.$nextTick((()=>{this.x=-(this.trueWidth-this.trueWidth*this.scale)/2+(this.w-this.trueWidth*this.scale)/2,this.y=-(this.trueHeight-this.trueHeight*this.scale)/2+(this.h-this.trueHeight*this.scale)/2,this.loading=!1,this.autoCrop&&this.goAutoCrop(),this.$emit("img-load","success"),this.$emit("imgLoad","success"),setTimeout((()=>{this.showPreview()}),20)}))},t.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error")},t.src=this.imgs},checkedMode(){let t=1,e=this.trueWidth,i=this.trueHeight;const s=this.mode.split(" ");switch(s[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":e=this.w,t=e/this.trueWidth,i*=t,i<this.h&&(i=this.h,t=i/this.trueHeight);break;default:try{let o=s[0];if(-1!==o.search("px")){o=o.replace("px",""),e=parseFloat(o);const h=e/this.trueWidth;let r=1,a=s[1];-1!==a.search("px")&&(a=a.replace("px",""),i=parseFloat(a),r=i/this.trueHeight),t=Math.min(h,r)}if(-1!==o.search("%")&&(o=o.replace("%",""),e=parseFloat(o)/100*this.w,t=e/this.trueWidth),2===s.length&&"auto"===o){let e=s[1];-1!==e.search("px")&&(e=e.replace("px",""),i=parseFloat(e),t=i/this.trueHeight),-1!==e.search("%")&&(e=e.replace("%",""),i=parseFloat(e)/100*this.h,t=i/this.trueHeight)}}catch(o){t=1}}return t},goAutoCrop(t,e){if(""===this.imgs||null===this.imgs)return;this.clearCrop(),this.cropping=!0;let i=this.w,s=this.h;if(this.centerBox){const t=Math.abs(this.rotate)%2>0;let e=(t?this.trueHeight:this.trueWidth)*this.scale,o=(t?this.trueWidth:this.trueHeight)*this.scale;i=e<i?e:i,s=o<s?o:s}var o=t||parseFloat(this.autoCropWidth),h=e||parseFloat(this.autoCropHeight);0!==o&&0!==h||(o=.8*i,h=.8*s),o=o>i?i:o,h=h>s?s:h,this.fixed&&(h=o/this.fixedNumber[0]*this.fixedNumber[1]),h>this.h&&(o=(h=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(o,h)},changeCrop(t,e){if(this.centerBox){let i=this.getImgAxis();t>i.x2-i.x1&&(e=(t=i.x2-i.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>i.y2-i.y1&&(t=(e=i.y2-i.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.checkCropLimitSize(),this.$nextTick((()=>{this.cropOffsertX=(this.w-this.cropW)/2,this.cropOffsertY=(this.h-this.cropH)/2,this.centerBox&&this.moveCrop(null,!0)}))},refresh(){this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((()=>{this.checkedImg()}))},rotateLeft(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear(){this.rotate=0},checkoutImgAxis(t,e,i){t=t||this.x,e=e||this.y,i=i||this.scale;let s=!0;if(this.centerBox){let o=this.getImgAxis(t,e,i),h=this.getCropAxis();o.x1>=h.x1&&(s=!1),o.x2<=h.x2&&(s=!1),o.y1>=h.y1&&(s=!1),o.y2<=h.y2&&(s=!1),s||this.changeImgScale(o,h,i)}return s},changeImgScale(t,e,i){let s=this.trueWidth,o=this.trueHeight,h=s*i,r=o*i;if(h>=this.cropW&&r>=this.cropH)this.scale=i;else{const t=this.cropW/s,e=this.cropH/o,i=this.cropH<=o*t?t:e;this.scale=i,h=s*i,r=o*i}this.imgIsQqualCrop||(t.x1>=e.x1&&(this.isRotateRightOrLeft?this.x=e.x1-(s-h)/2-(h-r)/2:this.x=e.x1-(s-h)/2),t.x2<=e.x2&&(this.isRotateRightOrLeft?this.x=e.x1-(s-h)/2-(h-r)/2-r+this.cropW:this.x=e.x2-(s-h)/2-h),t.y1>=e.y1&&(this.isRotateRightOrLeft?this.y=e.y1-(o-r)/2-(r-h)/2:this.y=e.y1-(o-r)/2),t.y2<=e.y2&&(this.isRotateRightOrLeft?this.y=e.y2-(o-r)/2-(r-h)/2-h:this.y=e.y2-(o-r)/2-r)),(h<this.cropW||r<this.cropH)&&(this.imgIsQqualCrop=!0)}},mounted(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";let t=this;var e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,i,s){for(var o=atob(this.toDataURL(i,s).split(",")[1]),h=o.length,r=new Uint8Array(h),a=0;a<h;a++)r[a]=o.charCodeAt(a);e(new Blob([r],{type:t.type||"image/png"}))}}),this.showPreview(),this.checkedImg()},destroyed(){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.cancelScale()}},o={key:0,class:"cropper-box"},h=["src"],r={class:"cropper-view-box"},a=["src"],c={key:1};const n=e._export_sfc(s,[["render",function(e,i,s,n,p,l){return t.openBlock(),t.createElementBlock("div",{class:"vue-cropper",ref:"cropper",onMouseover:i[28]||(i[28]=(...t)=>l.scaleImg&&l.scaleImg(...t)),onMouseout:i[29]||(i[29]=(...t)=>l.cancelScale&&l.cancelScale(...t))},[e.imgs?(t.openBlock(),t.createElementBlock("div",o,[t.withDirectives(t.createElementVNode("div",{class:"cropper-box-canvas",style:t.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+e.x/e.scale+"px,"+e.y/e.scale+"px,0)rotateZ("+90*e.rotate+"deg)"})},[t.createElementVNode("img",{src:e.imgs,alt:"cropper-img",ref:"cropperImg"},null,8,h)],4),[[t.vShow,!e.loading]])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["cropper-drag-box",{"cropper-move":e.move&&!e.crop,"cropper-crop":e.crop,"cropper-modal":e.cropping}]),onMousedown:i[0]||(i[0]=(...t)=>l.startMove&&l.startMove(...t)),onTouchstart:i[1]||(i[1]=(...t)=>l.startMove&&l.startMove(...t))},null,34),t.withDirectives(t.createElementVNode("div",{class:"cropper-crop-box",style:t.normalizeStyle({width:e.cropW+"px",height:e.cropH+"px",transform:"translate3d("+e.cropOffsertX+"px,"+e.cropOffsertY+"px,0)"})},[t.createElementVNode("span",r,[t.createElementVNode("img",{style:t.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+(e.x-e.cropOffsertX)/e.scale+"px,"+(e.y-e.cropOffsertY)/e.scale+"px,0)rotateZ("+90*e.rotate+"deg)"}),src:e.imgs,alt:"cropper-img"},null,12,a)]),t.createElementVNode("span",{class:"cropper-face cropper-move",onMousedown:i[2]||(i[2]=(...t)=>l.cropMove&&l.cropMove(...t)),onTouchstart:i[3]||(i[3]=(...t)=>l.cropMove&&l.cropMove(...t))},null,32),s.info?(t.openBlock(),t.createElementBlock("span",{key:0,class:"crop-info",style:t.normalizeStyle({top:l.cropInfo.top})},t.toDisplayString(l.cropInfo.width)+" × "+t.toDisplayString(l.cropInfo.height),5)):t.createCommentVNode("",!0),s.fixedBox?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",c,[t.createElementVNode("span",{class:"crop-line line-w",onMousedown:i[4]||(i[4]=t=>l.changeCropSize(t,!1,!0,0,1)),onTouchstart:i[5]||(i[5]=t=>l.changeCropSize(t,!1,!0,0,1))},null,32),t.createElementVNode("span",{class:"crop-line line-a",onMousedown:i[6]||(i[6]=t=>l.changeCropSize(t,!0,!1,1,0)),onTouchstart:i[7]||(i[7]=t=>l.changeCropSize(t,!0,!1,1,0))},null,32),t.createElementVNode("span",{class:"crop-line line-s",onMousedown:i[8]||(i[8]=t=>l.changeCropSize(t,!1,!0,0,2)),onTouchstart:i[9]||(i[9]=t=>l.changeCropSize(t,!1,!0,0,2))},null,32),t.createElementVNode("span",{class:"crop-line line-d",onMousedown:i[10]||(i[10]=t=>l.changeCropSize(t,!0,!1,2,0)),onTouchstart:i[11]||(i[11]=t=>l.changeCropSize(t,!0,!1,2,0))},null,32),t.createElementVNode("span",{class:"crop-point point1",onMousedown:i[12]||(i[12]=t=>l.changeCropSize(t,!0,!0,1,1)),onTouchstart:i[13]||(i[13]=t=>l.changeCropSize(t,!0,!0,1,1))},null,32),t.createElementVNode("span",{class:"crop-point point2",onMousedown:i[14]||(i[14]=t=>l.changeCropSize(t,!1,!0,0,1)),onTouchstart:i[15]||(i[15]=t=>l.changeCropSize(t,!1,!0,0,1))},null,32),t.createElementVNode("span",{class:"crop-point point3",onMousedown:i[16]||(i[16]=t=>l.changeCropSize(t,!0,!0,2,1)),onTouchstart:i[17]||(i[17]=t=>l.changeCropSize(t,!0,!0,2,1))},null,32),t.createElementVNode("span",{class:"crop-point point4",onMousedown:i[18]||(i[18]=t=>l.changeCropSize(t,!0,!1,1,0)),onTouchstart:i[19]||(i[19]=t=>l.changeCropSize(t,!0,!1,1,0))},null,32),t.createElementVNode("span",{class:"crop-point point5",onMousedown:i[20]||(i[20]=t=>l.changeCropSize(t,!0,!1,2,0)),onTouchstart:i[21]||(i[21]=t=>l.changeCropSize(t,!0,!1,2,0))},null,32),t.createElementVNode("span",{class:"crop-point point6",onMousedown:i[22]||(i[22]=t=>l.changeCropSize(t,!0,!0,1,2)),onTouchstart:i[23]||(i[23]=t=>l.changeCropSize(t,!0,!0,1,2))},null,32),t.createElementVNode("span",{class:"crop-point point7",onMousedown:i[24]||(i[24]=t=>l.changeCropSize(t,!1,!0,0,2)),onTouchstart:i[25]||(i[25]=t=>l.changeCropSize(t,!1,!0,0,2))},null,32),t.createElementVNode("span",{class:"crop-point point8",onMousedown:i[26]||(i[26]=t=>l.changeCropSize(t,!0,!0,2,2)),onTouchstart:i[27]||(i[27]=t=>l.changeCropSize(t,!0,!0,2,2))},null,32)]))],4),[[t.vShow,e.cropping]])],544)}],["__scopeId","data-v-8e42ffcf"]]),p={class:"h-full"},l={class:"avatar-upload-preview"},d=["src"],u=t.defineComponent({name:"cropper"}),g=t.defineComponent({...u,props:{avatar:{default:""},close:{type:Function,default:close},proxyId:{default:""}},setup(i){const{postSinglefile:s,postUpdateFile:o}=e.useFileController(),h=i;let r=t.ref({});t.onMounted((async()=>{r.value=await e.systemStore.get("userInfo")}));let{avatar:a}=t.toRefs(h);const c=t.reactive({img:"",autoCrop:!0,autoCropWidth:200,autoCropHeight:200,fixedBox:!1,outputSize:.5,outputType:"jpeg",canScale:!1,fixed:!1,fixedNumber:[1,1],full:!0,canMoveBox:!1,original:!1,centerBox:!1,infoTrue:!0,filename:""}),u=t.ref({}),g=t.ref({});t.ref(!1);let f=t=>{"left"==t&&g.value.rotateLeft(),"right"==t&&g.value.rotateRight()},m=t=>{const e=t||1;g.value.changeScale(e)},w=()=>{g.value.refresh()};const v=t=>{u.value=t};let x=()=>{},C=t=>{if(!["image/png","image/jpg","image/jpeg","image/PNG","image/JPG","image/JPEG","image/gif"].includes(t.type))return e.ElMessage.error("图片格式有误,请重新上传"),!1;{const e=new FileReader;e.readAsDataURL(t),e.onload=()=>{c.img=e.result,c.filename=t.name}}},y=()=>{c.img||e.ElMessage.warning("请先选择图片"),g.value.getCropBlob((async t=>{const e=await s({data:{file:t},proxy:h.proxyId}),i=await o({data:{id:r.value.id,attchIdArrStr:e.data.id,attachType:2},proxy:h.proxyId});h.close(i)}))};return t.onMounted((()=>{setTimeout((()=>{c.img=a.value}),100)})),(e,i)=>{const s=t.resolveComponent("el-col"),o=t.resolveComponent("el-row"),h=t.resolveComponent("bc-icon"),r=t.resolveComponent("el-button"),a=t.resolveComponent("hs-upload");return t.openBlock(),t.createElementBlock("div",p,[t.createVNode(o,null,{default:t.withCtx((()=>[t.createVNode(s,{xs:24,md:13,style:{height:"350px"}},{default:t.withCtx((()=>[t.createVNode(n,{ref_key:"cropperRef",ref:g,img:c.img,info:!0,infoTrue:c.infoTrue,"auto-crop":c.autoCrop,"fixed-box":c.fixedBox,fixedNumber:c.fixedNumber,fixed:c.fixed,centerBox:c.centerBox,outputType:"png",onRealTime:v},null,8,["img","infoTrue","auto-crop","fixed-box","fixedNumber","fixed","centerBox"])])),_:1}),t.createVNode(s,{xs:24,md:11,style:{height:"350px"}},{default:t.withCtx((()=>[t.createElementVNode("div",l,[t.createElementVNode("img",{src:u.value.url,style:t.normalizeStyle(u.value.img)},null,12,d)])])),_:1})])),_:1}),t.createVNode(o,{class:"ptb2 py-3"},{default:t.withCtx((()=>[t.createVNode(s,{lg:2,md:2},{default:t.withCtx((()=>[t.createVNode(a,{action:"#","http-request":t.unref(x),"show-file-list":!1,"before-upload":t.unref(C),accept:"image/*"},{default:t.withCtx((()=>[t.createVNode(r,{size:"default"},{default:t.withCtx((()=>[i[6]||(i[6]=t.createTextVNode(" 选择 ")),t.createVNode(h,{name:"ele-UploadFilled"})])),_:1,__:[6]})])),_:1},8,["http-request","before-upload"])])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-Plus",onClick:i[0]||(i[0]=e=>t.unref(m)(1))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-Minus",onClick:i[1]||(i[1]=e=>t.unref(m)(-1))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-RefreshLeft",onClick:i[2]||(i[2]=e=>t.unref(f)("left"))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-RefreshRight",onClick:i[3]||(i[3]=e=>t.unref(f)("right"))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",onClick:i[4]||(i[4]=e=>t.unref(w)())},{default:t.withCtx((()=>i[7]||(i[7]=[t.createTextVNode("重 置")]))),_:1,__:[7]})])),_:1}),t.createVNode(s,{lg:{span:1,offset:7},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",type:"primary",onClick:i[5]||(i[5]=e=>t.unref(y)())},{default:t.withCtx((()=>i[8]||(i[8]=[t.createTextVNode("提 交")]))),_:1,__:[8]})])),_:1})])),_:1})])}}}),f=e._export_sfc(g,[["__scopeId","data-v-730d1d41"]]);exports.default=f;
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, reactive, onMounted, resolveComponent, resolveDirective, createElementBlock, openBlock, createVNode, withCtx, createElementVNode, withDirectives, createTextVNode, createBlock, unref } from "vue";
|
|
2
|
-
import { E as ElMessageBox, b as ElMessage } from "./index-
|
|
2
|
+
import { E as ElMessageBox, b as ElMessage } from "./index-lF4bHilZ.mjs";
|
|
3
3
|
const _hoisted_1 = { class: "system-dic-container layout-padding" };
|
|
4
4
|
const _hoisted_2 = { class: "system-user-search mb15" };
|
|
5
5
|
const __default__ = defineComponent({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref, toValue, defineComponent, onMounted, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, unref, createTextVNode } from "vue";
|
|
2
|
-
import { E as ElMessageBox, b as ElMessage, s as showPopup } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-
|
|
4
|
-
import { u as useFieldConfigController } from "./index-
|
|
5
|
-
import { u as useDataPermissionController } from "./index-
|
|
2
|
+
import { E as ElMessageBox, b as ElMessage, s as showPopup } from "./index-lF4bHilZ.mjs";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DEhUOWnq.mjs";
|
|
4
|
+
import { u as useFieldConfigController } from "./index-BNdJ5VFB.mjs";
|
|
5
|
+
import { u as useDataPermissionController } from "./index-BcvaTRHp.mjs";
|
|
6
6
|
const fieldController = useFieldConfigController();
|
|
7
7
|
const dataPermissionController = useDataPermissionController();
|
|
8
8
|
function useDataAuth(tableApi) {
|
|
@@ -1,6 +1,139 @@
|
|
|
1
1
|
import { createElementBlock, openBlock, createCommentVNode, createElementVNode, withDirectives, normalizeStyle, vShow, normalizeClass, toDisplayString, defineComponent, ref, onMounted, toRefs, reactive, resolveComponent, createVNode, withCtx, unref, createTextVNode } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { _ as _export_sfc, T as systemStore, b as ElMessage, U as useFileController } from "./index-lF4bHilZ.mjs";
|
|
3
|
+
const Exif = {};
|
|
4
|
+
Exif.getData = (img) => new Promise((reslove, reject) => {
|
|
5
|
+
let obj = {};
|
|
6
|
+
getImageData(img).then((data) => {
|
|
7
|
+
obj.arrayBuffer = data;
|
|
8
|
+
try {
|
|
9
|
+
obj.orientation = getOrientation(data);
|
|
10
|
+
} catch {
|
|
11
|
+
obj.orientation = -1;
|
|
12
|
+
}
|
|
13
|
+
reslove(obj);
|
|
14
|
+
}).catch((error2) => {
|
|
15
|
+
reject(error2);
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
function getImageData(img) {
|
|
19
|
+
let data = null;
|
|
20
|
+
return new Promise((reslove, reject) => {
|
|
21
|
+
if (img.src) {
|
|
22
|
+
if (/^data\:/i.test(img.src)) {
|
|
23
|
+
data = base64ToArrayBuffer(img.src);
|
|
24
|
+
reslove(data);
|
|
25
|
+
} else if (/^blob\:/i.test(img.src)) {
|
|
26
|
+
var fileReader = new FileReader();
|
|
27
|
+
fileReader.onload = function(e) {
|
|
28
|
+
data = e.target.result;
|
|
29
|
+
reslove(data);
|
|
30
|
+
};
|
|
31
|
+
objectURLToBlob(img.src, function(blob) {
|
|
32
|
+
fileReader.readAsArrayBuffer(blob);
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
var http = new XMLHttpRequest();
|
|
36
|
+
http.onload = function() {
|
|
37
|
+
if (this.status == 200 || this.status === 0) {
|
|
38
|
+
data = http.response;
|
|
39
|
+
reslove(data);
|
|
40
|
+
} else {
|
|
41
|
+
throw "Could not load image";
|
|
42
|
+
}
|
|
43
|
+
http = null;
|
|
44
|
+
};
|
|
45
|
+
http.open("GET", img.src, true);
|
|
46
|
+
http.responseType = "arraybuffer";
|
|
47
|
+
http.send(null);
|
|
48
|
+
}
|
|
49
|
+
} else {
|
|
50
|
+
reject("img error");
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function objectURLToBlob(url, callback) {
|
|
55
|
+
var http = new XMLHttpRequest();
|
|
56
|
+
http.open("GET", url, true);
|
|
57
|
+
http.responseType = "blob";
|
|
58
|
+
http.onload = function(e) {
|
|
59
|
+
if (this.status == 200 || this.status === 0) {
|
|
60
|
+
callback(this.response);
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
http.send();
|
|
64
|
+
}
|
|
65
|
+
function base64ToArrayBuffer(base64, contentType) {
|
|
66
|
+
contentType = contentType || base64.match(/^data\:([^\;]+)\;base64,/mi)[1] || "";
|
|
67
|
+
base64 = base64.replace(/^data\:([^\;]+)\;base64,/gmi, "");
|
|
68
|
+
var binary = atob(base64);
|
|
69
|
+
var len = binary.length % 2 == 0 ? binary.length : binary.length + 1;
|
|
70
|
+
var buffer = new ArrayBuffer(len);
|
|
71
|
+
var view = new Uint16Array(buffer);
|
|
72
|
+
for (var i = 0; i < len; i++) {
|
|
73
|
+
view[i] = binary.charCodeAt(i);
|
|
74
|
+
}
|
|
75
|
+
return buffer;
|
|
76
|
+
}
|
|
77
|
+
function getStringFromCharCode(dataView, start, length) {
|
|
78
|
+
var str = "";
|
|
79
|
+
var i;
|
|
80
|
+
for (i = start, length += start; i < length; i++) {
|
|
81
|
+
str += String.fromCharCode(dataView.getUint8(i));
|
|
82
|
+
}
|
|
83
|
+
return str;
|
|
84
|
+
}
|
|
85
|
+
function getOrientation(arrayBuffer) {
|
|
86
|
+
var dataView = new DataView(arrayBuffer);
|
|
87
|
+
var length = dataView.byteLength;
|
|
88
|
+
var orientation;
|
|
89
|
+
var exifIDCode;
|
|
90
|
+
var tiffOffset;
|
|
91
|
+
var firstIFDOffset;
|
|
92
|
+
var littleEndian;
|
|
93
|
+
var endianness;
|
|
94
|
+
var app1Start;
|
|
95
|
+
var ifdStart;
|
|
96
|
+
var offset;
|
|
97
|
+
var i;
|
|
98
|
+
if (dataView.getUint8(0) === 255 && dataView.getUint8(1) === 216) {
|
|
99
|
+
offset = 2;
|
|
100
|
+
while (offset < length) {
|
|
101
|
+
if (dataView.getUint8(offset) === 255 && dataView.getUint8(offset + 1) === 225) {
|
|
102
|
+
app1Start = offset;
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
offset++;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
if (app1Start) {
|
|
109
|
+
exifIDCode = app1Start + 4;
|
|
110
|
+
tiffOffset = app1Start + 10;
|
|
111
|
+
if (getStringFromCharCode(dataView, exifIDCode, 4) === "Exif") {
|
|
112
|
+
endianness = dataView.getUint16(tiffOffset);
|
|
113
|
+
littleEndian = endianness === 18761;
|
|
114
|
+
if (littleEndian || endianness === 19789) {
|
|
115
|
+
if (dataView.getUint16(tiffOffset + 2, littleEndian) === 42) {
|
|
116
|
+
firstIFDOffset = dataView.getUint32(tiffOffset + 4, littleEndian);
|
|
117
|
+
if (firstIFDOffset >= 8) {
|
|
118
|
+
ifdStart = tiffOffset + firstIFDOffset;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if (ifdStart) {
|
|
125
|
+
length = dataView.getUint16(ifdStart, littleEndian);
|
|
126
|
+
for (i = 0; i < length; i++) {
|
|
127
|
+
offset = ifdStart + i * 12 + 2;
|
|
128
|
+
if (dataView.getUint16(offset, littleEndian) === 274) {
|
|
129
|
+
offset += 8;
|
|
130
|
+
orientation = dataView.getUint16(offset, littleEndian);
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return orientation;
|
|
136
|
+
}
|
|
4
137
|
const _sfc_main$1 = {
|
|
5
138
|
data: function() {
|
|
6
139
|
return {
|
|
@@ -1769,8 +1902,11 @@ const VueCropper = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_ren
|
|
|
1769
1902
|
const _hoisted_1 = { class: "h-full" };
|
|
1770
1903
|
const _hoisted_2 = { class: "avatar-upload-preview" };
|
|
1771
1904
|
const _hoisted_3 = ["src"];
|
|
1905
|
+
const __default__ = defineComponent({
|
|
1906
|
+
name: "cropper"
|
|
1907
|
+
});
|
|
1772
1908
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1773
|
-
|
|
1909
|
+
...__default__,
|
|
1774
1910
|
props: {
|
|
1775
1911
|
avatar: { default: "" },
|
|
1776
1912
|
close: { type: Function, default: close },
|
|
@@ -1781,7 +1917,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1781
1917
|
const props = __props;
|
|
1782
1918
|
let userInfos = ref({});
|
|
1783
1919
|
onMounted(async () => {
|
|
1784
|
-
userInfos.value = await systemStore.get(
|
|
1920
|
+
userInfos.value = await systemStore.get(
|
|
1921
|
+
"userInfo"
|
|
1922
|
+
);
|
|
1785
1923
|
});
|
|
1786
1924
|
let { avatar } = toRefs(props);
|
|
1787
1925
|
const options = reactive({
|
|
@@ -1843,7 +1981,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1843
1981
|
let requestUpload = () => {
|
|
1844
1982
|
};
|
|
1845
1983
|
let beforeUpload = (file) => {
|
|
1846
|
-
let img = [
|
|
1984
|
+
let img = [
|
|
1985
|
+
"image/png",
|
|
1986
|
+
"image/jpg",
|
|
1987
|
+
"image/jpeg",
|
|
1988
|
+
"image/PNG",
|
|
1989
|
+
"image/JPG",
|
|
1990
|
+
"image/JPEG",
|
|
1991
|
+
"image/gif"
|
|
1992
|
+
];
|
|
1847
1993
|
if (!img.includes(file.type)) {
|
|
1848
1994
|
ElMessage.error("图片格式有误,请重新上传");
|
|
1849
1995
|
return false;
|
|
@@ -1861,7 +2007,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1861
2007
|
ElMessage.warning("请先选择图片");
|
|
1862
2008
|
}
|
|
1863
2009
|
cropperRef.value.getCropBlob(async (data) => {
|
|
1864
|
-
const photoRes = await postSinglefile({
|
|
2010
|
+
const photoRes = await postSinglefile({
|
|
2011
|
+
data: { file: data },
|
|
2012
|
+
proxy: props.proxyId
|
|
2013
|
+
});
|
|
1865
2014
|
const res = await postUpdateFile({
|
|
1866
2015
|
data: {
|
|
1867
2016
|
id: userInfos.value.id,
|
|
@@ -2053,7 +2202,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2053
2202
|
};
|
|
2054
2203
|
}
|
|
2055
2204
|
});
|
|
2056
|
-
const
|
|
2205
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-730d1d41"]]);
|
|
2057
2206
|
export {
|
|
2058
|
-
|
|
2207
|
+
index as default
|
|
2059
2208
|
};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-BAIh0p78.js"),l={class:"wrap1"},a={class:"wrap2"},n=e.defineComponent({name:"signature"}),o=e.defineComponent({...n,props:{showFull:{type:Boolean,default:!0}},emits:["save"],setup(n,{emit:o}){const s=e.ref(null),{width:c,height:i}=t.useElementSize(s),r=n,u=e.ref(!1),v=e.ref(null),d=e.ref(null),m=e.ref(null),f=e.ref(null),h=o,p=()=>{var e,t;u.value=!u.value,null==(e=null==m?void 0:m.value)||e.clear(),null==(t=null==f?void 0:f.value)||t.clear()},E=()=>{m.value.clear()},g=()=>{f.value.clear()},w=()=>{m.value.undo()},N=()=>{f.value.undo()},V=()=>{const e=m.value;if(e.isEmpty())return void alert("isEmpty");const t=e.getJPG();h("save",t)},k=()=>{const e=f.value;if(e.isEmpty())return void alert("isEmpty");const t=e.getRotateCanvas(-90).toDataURL();h("save",t)};return e.onMounted((()=>{u.value=r.showFull,setTimeout((()=>{(()=>{const e=d.value,l={width:c.value-30,height:200,minWidth:2,maxWidth:6,openSmooth:!1,bgColor:"#ffffff"};m.value=new t.SmoothSignature(e,l)})(),(()=>{const e=v.value,l={width:c.value-120,height:i.value-60,minWidth:3,maxWidth:10,openSmooth:!1,bgColor:"#ffffff"};f.value=new t.SmoothSignature(e,l)})()}),100)})),(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:"h-full w-full sign-finish",ref_key:"signFinish",ref:s},[e.withDirectives(e.createElementVNode("div",l,[n[0]||(n[0]=e.createElementVNode("span",{class:"sign-title"},"请在区域内签字",-1)),e.createElementVNode("canvas",{class:"canvas1",ref_key:"canvas1",ref:d},null,512),e.createElementVNode("div",{class:"actions"},[e.createElementVNode("button",{class:"danger",onClick:E},"清除"),e.createElementVNode("button",{class:"warning",onClick:w},"撤销"),e.createElementVNode("button",{class:"primary",onClick:p},"横屏"),e.createElementVNode("button",{class:"success",onClick:V},"保存")])],512),[[e.vShow,u.value]]),e.withDirectives(e.createElementVNode("div",a,[e.createElementVNode("div",{class:"actionsWrap"},[e.createElementVNode("div",{class:"actions"},[e.createElementVNode("button",{class:"danger",onClick:g},"清除"),e.createElementVNode("button",{class:"warning",onClick:N},"撤销"),e.createElementVNode("button",{class:"primary",onClick:p},"竖屏"),e.createElementVNode("button",{class:"success",onClick:k},"保存")])]),e.createElementVNode("canvas",{class:"canvas",ref_key:"canvas2",ref:v},null,512)],512),[[e.vShow,!u.value]])],512))}}),s=t._export_sfc(o,[["__scopeId","data-v-8300751a"]]);exports.default=s;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { reactive, defineComponent, onMounted, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, createElementVNode, createBlock, createCommentVNode, unref, createTextVNode, Fragment, renderList, normalizeClass, toDisplayString } from "vue";
|
|
2
|
-
import { b as ElMessage, c as _, E as ElMessageBox, s as showPopup, _ as _export_sfc } from "./index-
|
|
3
|
-
import { u as useDictController } from "./index-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-
|
|
5
|
-
import { _ as _sfc_main$2 } from "./dictItemDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { b as ElMessage, c as _, E as ElMessageBox, s as showPopup, _ as _export_sfc } from "./index-lF4bHilZ.mjs";
|
|
3
|
+
import { u as useDictController } from "./index-Cr2ajvle.mjs";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-f1qIbcki.mjs";
|
|
5
|
+
import { _ as _sfc_main$2 } from "./dictItemDialog.vue_vue_type_script_setup_true_lang-DiK9Nr3I.mjs";
|
|
6
6
|
const dictController = useDictController();
|
|
7
7
|
function useDataDict() {
|
|
8
8
|
const dict = reactive({
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.vue_vue_type_script_setup_true_name_iconSelector_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.vue_vue_type_script_setup_true_name_iconSelector_lang-BqQCrztm.js");exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.vue_vue_type_script_setup_true_lang-Berhqgio.js");exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./index-
|
|
1
|
+
"use strict";const e=require("./index-BAIh0p78.js"),t=(e,t)=>Object.assign(e,{other_log_info:{title:t}}),i=(i={})=>(i=t(i,"保存新表格字段设置"),e.request({url:"/scmp-web/pri/field_config/add_field",method:"post",data:i})),o=(i={})=>(i=t(i,"根据菜单id查询字段信息"),e.request({url:"/scmp-web/pri/field_config/get_field_by_menu",method:"get",params:i})),l=(i={})=>(i=t(i,"查询新表格字段配置列表"),e.request({url:"/scmp-web/pri/field_config/get_field_list_page",method:"get",params:i})),d=(i={})=>(i=t(i,"删除新表格字段配置"),e.request({url:"/scmp-web/pri/field_config/del_field_by_id",method:"post",data:i})),s=(i={})=>(i=t(i,"保存新表格字段设置"),e.request({url:"/scmp-web/pri/field_config/save_field_4_table",method:"post",data:i})),r=(i={})=>(i=t(i,"保存新表单字段设置"),e.request({url:"/scmp-web/pri/field_config/save_field_4_form",method:"post",data:i})),p=(i={})=>(i=t(i,"根据菜单id查询字段信息"),e.request({url:"/scmp-web/pri/field_config/get_table_by_menu",method:"get",params:i})),_=(i={})=>(i=t(i,"根据菜单id查询字段信息"),e.request({url:"/scmp-web/pri/field_config/get_form_by_menu",method:"get",params:i})),a=(i={})=>(i=t(i,"查询字段池匹配字段"),e.request({url:"/scmp-web/pri/field_config/get_field_pool_list",method:"get",params:i})),f=(i={})=>(i=t(i,"根据表名和系统名称查询字段配置"),e.request({url:"/scmp-web/pri/field_config/get_field_by_table",method:"get",params:i})),g=(i={})=>(i=t(i,"保存表格字段池在配置页面使用"),e.request({url:"/scmp-web/pri/field_config/save_field_pool_4_config",method:"post",data:i})),m=(i={})=>(i=t(i,"根据字段代码集合获取字段池信息"),e.request({url:"/scmp-web/pri/field_config/get_pool_by_field_map",method:"post",data:i})),c=(i={})=>(i=t(i,"批量保存表格字段池在配置页面使用"),e.request({url:"/scmp-web/pri/field_config/save_field_pool_batch_4_config",method:"post",data:i})),u=(i={})=>(i=t(i,"删除字段池"),e.request({url:"/scmp-web/pri/field_config/del_field_pool_by_id",method:"post",data:i})),n=(i={})=>(i=t(i,"保存表格字段池"),e.request({url:"/scmp-web/pri/field_config/save_field_pool",method:"post",data:i})),b=(i={})=>(i=t(i,"保存表格字段池"),e.request({url:"/scmp-web/pri/field_config/save_config_relate",method:"post",data:i})),h=(i={})=>(i=t(i,"保存表格字段池"),e.request({url:"/scmp-web/pri/field_config/del_config_relate",method:"post",data:i})),q=(i={})=>(i=t(i,"保存表格字段池"),e.request({url:"/scmp-web/pri/field_config/get_config_relate",method:"post",data:i}));exports.useFieldConfigController=function(){return{postAddField:i,getFieldByMenu:o,getFieldListPage:l,postDelFieldById:d,postSaveField4Table:s,postSaveField4Form:r,getTableByMenu:p,getFormByMenu:_,getFieldPoolList:a,getFieldByTable:f,postSaveFieldPool4Config:g,getPoolByFieldMap:m,postSaveFieldPoolBatch4Config:c,postDelFieldPoolById:u,postSaveFieldPool:n,postSaveConfigRelate:b,postDelConfigRelate:h,postgGtConfigRelate:q}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-BAIh0p78.js"),o=require("./index-DznIu8I-.js"),l=require("./index.vue_vue_type_script_setup_true_lang-Berhqgio.js"),i=o.useFieldConfigController();const a={class:"system-menu-container layout-padding"},n=e.defineComponent({name:"fieldPool"}),d=e.defineComponent({...n,setup(o){const n=e.ref(),d=e=>{n.value=e},{addField:r,editField:c,deleteField:s}=function(o){const a=e.reactive({}),n=(e,i)=>{t.showPopup(l._sfc_main,{dialog_type:e,row:i},{title:"add"==e?"新增字典配置":"编辑字段配置",mask:!0,async success({type:e,close:t,data:l}){var i;"cancel"==e?t():"confirm"==e&&"success"==await l()&&(t(),null==(i=o.value)||i.fetchTableData({}))}})};return{poolData:a,addField:()=>{n("add")},editField:e=>{n("edit",e)},deleteField:l=>{t.ElMessageBox.confirm(`确认删除【${l.field_name}】字段吗?`,"提示",{confirmButtonText:"确认",cancelButtonText:"取消",closeOnClickModal:!1,type:"warning"}).then((()=>{i.postDelFieldPoolById({id:l.id}).then((l=>{var i,a;if(1!=l.code)return t.ElMessage.warning(l.msg);t.ElMessage.success("删除成功");let n=e.toValue(null==(i=o.value)?void 0:i.formData)||{};null==(a=o.value)||a.fetchTableData(n)}))}))}}}(n);return(t,o)=>{const l=e.resolveComponent("hs-button"),i=e.resolveComponent("bc-box");return e.openBlock(),e.createElementBlock("div",a,[e.createVNode(i,{id:"1710819624063",type:"1",projectCode:"scmp",isAuth:!1,mid:"3ec707509a534ef28ed3ab4744b1121f",onReady:d},{btn_add:e.withCtx((()=>[e.createVNode(l,{size:"default",type:"primary",onClick:e.unref(r)},{default:e.withCtx((()=>o[0]||(o[0]=[e.createTextVNode("新增")]))),_:1,__:[0]},8,["onClick"])])),field_type:e.withCtx((({row:t})=>[e.createTextVNode(e.toDisplayString("2"==t.field_type?"查询条件字段或表单字段":"表格字段"),1)])),table_btn_edit:e.withCtx((({row:t})=>[e.createVNode(l,{type:"primary",size:"small",text:"",onClick:o=>e.unref(c)(t)},{default:e.withCtx((()=>o[1]||(o[1]=[e.createTextVNode("编辑")]))),_:2,__:[1]},1032,["onClick"])])),table_btn_delete:e.withCtx((({row:t})=>[e.createVNode(l,{type:"primary",size:"small",text:"",onClick:o=>e.unref(s)(t)},{default:e.withCtx((()=>o[2]||(o[2]=[e.createTextVNode("删除")]))),_:2,__:[2]},1032,["onClick"])])),_:1})])}}});exports.default=d;
|