hs-admin-ui 2.7.5 → 2.7.7
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-CEL2hTOk.mjs → 401-BcbohUJZ.mjs} +1 -1
- package/dist/401-BcbohUJZ.mjs.gz +0 -0
- package/dist/{401-BbeQXSvh.js → 401-C698Eglh.js} +1 -1
- package/dist/401-C698Eglh.js.gz +0 -0
- package/dist/{404-DoMaUjll.js → 404-C41gdMo0.js} +1 -1
- package/dist/{404-DoMaUjll.js.gz → 404-C41gdMo0.js.gz} +0 -0
- package/dist/{404-AnSHw2Kw.mjs → 404-Cewog9Z1.mjs} +1 -1
- package/dist/404-Cewog9Z1.mjs.gz +0 -0
- package/dist/{account-kXNBTNuC.mjs → account-14Py9BoA.mjs} +2 -2
- package/dist/account-14Py9BoA.mjs.gz +0 -0
- package/dist/{account-DFpYa3cu.js → account-Dz0usOdl.js} +1 -1
- package/dist/account-Dz0usOdl.js.gz +0 -0
- package/dist/{aside-CoyVopHi.mjs → aside-Bc7sl2v3.mjs} +6 -6
- package/dist/aside-Bc7sl2v3.mjs.gz +0 -0
- package/dist/{aside-DRfcTu2b.js → aside-sSZH8TDI.js} +1 -1
- package/dist/aside-sSZH8TDI.js.gz +0 -0
- package/dist/{btnIndex-D5PVn0pK.js → btnIndex-B4m9fiDr.js} +1 -1
- package/dist/btnIndex-B4m9fiDr.js.gz +0 -0
- package/dist/{btnIndex-CGtJLC5L.mjs → btnIndex-CZRr1eG5.mjs} +2 -2
- package/dist/btnIndex-CZRr1eG5.mjs.gz +0 -0
- package/dist/{classic-BW9t9Dfu.mjs → classic-4RgVPENb.mjs} +2 -2
- package/dist/classic-4RgVPENb.mjs.gz +0 -0
- package/dist/{classic-2Nye_K-b.js → classic-B9s1z4Aq.js} +1 -1
- package/dist/classic-B9s1z4Aq.js.gz +0 -0
- package/dist/{cloneConfigDialog-Dc00ZGTX.mjs → cloneConfigDialog-C8zh37Ri.mjs} +1 -1
- package/dist/cloneConfigDialog-C8zh37Ri.mjs.gz +0 -0
- package/dist/{cloneConfigDialog-CsOUmdsd.js → cloneConfigDialog-ClG_hKE2.js} +1 -1
- package/dist/cloneConfigDialog-ClG_hKE2.js.gz +0 -0
- package/dist/{columns-tg3T816v.mjs → columns-CNyd2FLf.mjs} +2 -2
- package/dist/columns-CNyd2FLf.mjs.gz +0 -0
- package/dist/{columns-DiDcXyPA.js → columns-CauGdy9d.js} +1 -1
- package/dist/columns-CauGdy9d.js.gz +0 -0
- package/dist/{columnsAside-DPEmd0pL.js → columnsAside-CGHNbKPF.js} +1 -1
- package/dist/columnsAside-CGHNbKPF.js.gz +0 -0
- package/dist/{columnsAside-DvNVtKVK.mjs → columnsAside-DdEI_vYi.mjs} +4 -4
- package/dist/columnsAside-DdEI_vYi.mjs.gz +0 -0
- package/dist/{contextmenu-DEkEfGYR.js → contextmenu-8DD7r5FT.js} +1 -1
- package/dist/contextmenu-8DD7r5FT.js.gz +0 -0
- package/dist/{contextmenu-Did81VLG.js → contextmenu-BAT8j8Zl.js} +1 -1
- package/dist/contextmenu-BAT8j8Zl.js.gz +0 -0
- package/dist/{contextmenu-D3p7lzdd.js → contextmenu-DBNLyH0z.js} +1 -1
- package/dist/contextmenu-DBNLyH0z.js.gz +0 -0
- package/dist/{contextmenu-Da2mizfo.mjs → contextmenu-DEpaIVS3.mjs} +1 -1
- package/dist/contextmenu-DEpaIVS3.mjs.gz +0 -0
- package/dist/{contextmenu-CA4revVI.mjs → contextmenu-DjqJz7gR.mjs} +1 -1
- package/dist/contextmenu-DjqJz7gR.mjs.gz +0 -0
- package/dist/{contextmenu-CzMmW8Qg.mjs → contextmenu-WtQFlxpf.mjs} +1 -1
- package/dist/contextmenu-WtQFlxpf.mjs.gz +0 -0
- package/dist/{defaults-CTi8QPGH.mjs → defaults-CIoGR9se.mjs} +2 -2
- package/dist/defaults-CIoGR9se.mjs.gz +0 -0
- package/dist/{defaults-CHCEpRxN.js → defaults-DBOJOeNe.js} +1 -1
- package/dist/defaults-DBOJOeNe.js.gz +0 -0
- package/dist/{dialog-Dsh_HAGX.mjs → dialog-3vEWc-eh.mjs} +1 -1
- package/dist/{dialog-Wt47T9nl.mjs → dialog-BlSyBqXK.mjs} +1 -1
- package/dist/{dialog-CkOFrJK5.mjs → dialog-DFhta2xb.mjs} +1 -1
- package/dist/{dialog-DDS6U4wk.js → dialog-D_VEMEav.js} +1 -1
- package/dist/{dialog-C6DdK7UB.js → dialog-_VEeWI7_.js} +1 -1
- package/dist/{dialog-DfV_Gghk.js → dialog-g_Rhh8Ge.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DEaN9m52.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DN-6IXfR.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DN-6IXfR.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CFvBYl5_.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-WitKlLFJ.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-WitKlLFJ.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-6HZk6YNF.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CkQ1F_8z.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CkQ1F_8z.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CT1r7FcR.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CyTLm4oZ.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CyTLm4oZ.js.gz +0 -0
- package/dist/{dictDialog-DySuSeNu.js → dictDialog-BNUUXD3I.js} +1 -1
- package/dist/{dictDialog-BvXNHlti.mjs → dictDialog-Ce0DGiN5.mjs} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C2wOFdiM.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CWbaLrsL.mjs} +2 -2
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CWbaLrsL.mjs.gz +0 -0
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-B1Y_kCbx.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Cmm1dOi_.js} +1 -1
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Cmm1dOi_.js.gz +0 -0
- package/dist/{dictItemDialog-CJJmss__.mjs → dictItemDialog--cXE_LiK.mjs} +1 -1
- package/dist/{dictItemDialog-Cyaj-maC.js → dictItemDialog-W-JmUjTs.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-D-3SZpzf.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-CAq295Cd.mjs} +2 -2
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-CAq295Cd.mjs.gz +0 -0
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-DHVFguR2.js → dictItemDialog.vue_vue_type_script_setup_true_lang-DIwaq-ia.js} +1 -1
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DIwaq-ia.js.gz +0 -0
- package/dist/{formConfig-Cw9P0F3P.js → formConfig-Le-OaBsy.js} +1 -1
- package/dist/formConfig-Le-OaBsy.js.gz +0 -0
- package/dist/{formConfig-CRkuxIyz.mjs → formConfig-c7f84dXZ.mjs} +4 -4
- package/dist/formConfig-c7f84dXZ.mjs.gz +0 -0
- package/dist/{header-CmOR4n5u.js → header-C8Wfbpsu.js} +1 -1
- package/dist/{header-DwiPBldW.mjs → header-CtOKcmz8.mjs} +2 -2
- package/dist/{horizontal-BzX6juvG.js → horizontal-BvJMJArL.js} +1 -1
- package/dist/horizontal-BvJMJArL.js.gz +0 -0
- package/dist/{horizontal-BN2D8Sko.mjs → horizontal-ChN20M7N.mjs} +4 -4
- package/dist/horizontal-ChN20M7N.mjs.gz +0 -0
- package/dist/{hsAttrBtn-914CQV4B.js → hsAttrBtn-BbXroqPN.js} +1 -1
- package/dist/{hsAttrBtn-C0NuZYXa.mjs → hsAttrBtn-h-hl8OPh.mjs} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-I1UYSRro.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-7oK6NkAG.mjs} +3 -3
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-7oK6NkAG.mjs.gz +0 -0
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-C7BkB3Oi.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-C3btv2gt.js} +1 -1
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-C3btv2gt.js.gz +0 -0
- package/dist/{hsAttrForm-BKLzpBbV.js → hsAttrForm-B6p-PXmb.js} +1 -1
- package/dist/{hsAttrForm-ClQMo99H.mjs → hsAttrForm-BYh49Lmk.mjs} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-SCoZzj1r.js → hsAttrForm.vue_vue_type_script_setup_true_lang-Cj7CjGKO.js} +1 -1
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-Cj7CjGKO.js.gz +0 -0
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-7oemJ0jc.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-CsUkni5C.mjs} +2 -2
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CsUkni5C.mjs.gz +0 -0
- package/dist/{hsBtnConfigList-UwLgvbyI.mjs → hsBtnConfigList-BQwjlNhs.mjs} +1 -1
- package/dist/hsBtnConfigList-BQwjlNhs.mjs.gz +0 -0
- package/dist/{hsBtnConfigList-BiFRpi8T.js → hsBtnConfigList-DVj_lREC.js} +1 -1
- package/dist/hsBtnConfigList-DVj_lREC.js.gz +0 -0
- package/dist/{hsBtnItemConfig-DannOi5y.mjs → hsBtnItemConfig-B_7RyqmM.mjs} +1 -1
- package/dist/{hsBtnItemConfig-4Ox95hUZ.js → hsBtnItemConfig-Ce2mjNeC.js} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DlH7t7sj.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BLe1tyyA.mjs} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BLe1tyyA.mjs.gz +0 -0
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-RuwQC4JT.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-D6dKnjKT.js} +1 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-D6dKnjKT.js.gz +0 -0
- package/dist/{hsBtnPanel-CbL_fJbh.js → hsBtnPanel-B9rkk-ul.js} +1 -1
- package/dist/{hsBtnPanel-CaDy8Zhy.mjs → hsBtnPanel-BeW1oSMW.mjs} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CzOS3AYO.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CTXGar27.mjs} +4 -4
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CTXGar27.mjs.gz +0 -0
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BNohfhG9.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CrdjUp9t.js} +1 -1
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CrdjUp9t.js.gz +0 -0
- package/dist/{hsExpand-BaWcLEsa.mjs → hsExpand-DMlqS0wS.mjs} +1 -1
- package/dist/{hsExpand-D_ScymOu.js → hsExpand-GhIYHKIi.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-UYY4eiMi.js → hsExpand.vue_vue_type_script_setup_true_lang-9AwjSkPP.js} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-9AwjSkPP.js.gz +0 -0
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-k8zyb8dA.mjs → hsExpand.vue_vue_type_script_setup_true_lang-YkdDL_yf.mjs} +1 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-YkdDL_yf.mjs.gz +0 -0
- package/dist/{hsFormConfig-BfRoSXiC.mjs → hsFormConfig-BmLvh1WG.mjs} +1 -1
- package/dist/hsFormConfig-BmLvh1WG.mjs.gz +0 -0
- package/dist/{hsFormConfig-CqVT1NWA.js → hsFormConfig-j6r77uoQ.js} +1 -1
- package/dist/hsFormConfig-j6r77uoQ.js.gz +0 -0
- package/dist/{hsFormConfigList-Daoazl2Y.js → hsFormConfigList-D-ay6_G9.js} +1 -1
- package/dist/hsFormConfigList-D-ay6_G9.js.gz +0 -0
- package/dist/{hsFormConfigList-D2ZzyV3h.mjs → hsFormConfigList-c3x35vU9.mjs} +2 -2
- package/dist/hsFormConfigList-c3x35vU9.mjs.gz +0 -0
- package/dist/{hsFormPanel-ChdJrNL6.js → hsFormPanel-Dn-GL_Ui.js} +1 -1
- package/dist/{hsFormPanel-DtecyY9-.mjs → hsFormPanel-DyEwyNeJ.mjs} +1 -1
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DtZ3srcz.mjs → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CYgQ5MV5.mjs} +5 -5
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CYgQ5MV5.mjs.gz +0 -0
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-H51VBoqW.js → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-tmfFVlP1.js} +1 -1
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-tmfFVlP1.js.gz +0 -0
- package/dist/{hsFormParse-D-sfK4cE.mjs → hsFormParse-C5Go0cU3.mjs} +1 -1
- package/dist/{hsFormParse-Dqk_Wo9e.js → hsFormParse-DFAZwo5K.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-CNOLu_9r.js → hsFormParse.vue_vue_type_script_setup_true_lang-BG3lNn6s.js} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-BG3lNn6s.js.gz +0 -0
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-BF3HolPV.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-BX-fjadU.mjs} +1 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-BX-fjadU.mjs.gz +0 -0
- package/dist/{hsPanelItem-DuFpLlWE.js → hsPanelItem-B6RQMO4c.js} +1 -1
- package/dist/{hsPanelItem-CfjffsEb.mjs → hsPanelItem-tPKJbLyG.mjs} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-N2TmbWjS.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BeEFQur0.js} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BeEFQur0.js.gz +0 -0
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-R0nRZnZ7.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CEigpKsU.mjs} +1 -1
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CEigpKsU.mjs.gz +0 -0
- package/dist/{iframes-DTVYFUse.mjs → iframes-BkOdTJP9.mjs} +1 -1
- package/dist/iframes-BkOdTJP9.mjs.gz +0 -0
- package/dist/{iframes-Bz2OUtu9.js → iframes-C7BTODnn.js} +1 -1
- package/dist/iframes-C7BTODnn.js.gz +0 -0
- package/dist/{index-Cy0zEsth.mjs → index-1qv3Pv4_.mjs} +1 -1
- package/dist/{index-D5KP9W8f.mjs → index-4WsAYcV5.mjs} +1 -1
- package/dist/index-4WsAYcV5.mjs.gz +0 -0
- package/dist/{index-Ckv2XhEV.js → index-7I03Ddul.js} +1 -1
- package/dist/index-7I03Ddul.js.gz +0 -0
- package/dist/{index-B2PuqINX.mjs → index-ARUOueUL.mjs} +1 -1
- package/dist/{index-DRYYzguv.mjs → index-B9rrlTUn.mjs} +3 -3
- package/dist/index-B9rrlTUn.mjs.gz +0 -0
- package/dist/{index-Dx3ZNCYo.js → index-BLzK6Qop.js} +1 -1
- package/dist/index-BLzK6Qop.js.gz +0 -0
- package/dist/{index-NWs7VKJj.mjs → index-BSB2o1lj.mjs} +1 -1
- package/dist/index-BSB2o1lj.mjs.gz +0 -0
- package/dist/{index-B7QIvDtC.mjs → index-BSugGGQK.mjs} +1 -1
- package/dist/{index-CxDcVQxF.mjs → index-BWBRuIVF.mjs} +1 -1
- package/dist/index-BWBRuIVF.mjs.gz +0 -0
- package/dist/{index-D9Px068y.mjs → index-BX4NwfsZ.mjs} +1 -1
- package/dist/index-BX4NwfsZ.mjs.gz +0 -0
- package/dist/{index-BnWMXobA.mjs → index-BYvyRKop.mjs} +4 -4
- package/dist/index-BYvyRKop.mjs.gz +0 -0
- package/dist/{index-CA-QKaZH.js → index-BdmWJRf4.js} +1 -1
- package/dist/index-BdmWJRf4.js.gz +0 -0
- package/dist/{index-FLW8yemK.js → index-BewUxCBT.js} +1 -1
- package/dist/index-BewUxCBT.js.gz +0 -0
- package/dist/{index-ClyVlh7O.js → index-BfSec_ip.js} +1 -1
- package/dist/{index-DuECrCeo.mjs → index-BkDkWMkD.mjs} +1 -1
- package/dist/index-BkDkWMkD.mjs.gz +0 -0
- package/dist/{index-BjB-z2WF.mjs → index-BnCq0qge.mjs} +1 -1
- package/dist/index-BnCq0qge.mjs.gz +0 -0
- package/dist/{index-Bygkj_9V.mjs → index-CFe_ospS.mjs} +2 -2
- package/dist/index-CFe_ospS.mjs.gz +0 -0
- package/dist/{index-DA_4EJ-q.js → index-CFqnrsOO.js} +1 -1
- package/dist/{index-CgLxXz3t.js → index-CJuLq2tK.js} +1 -1
- package/dist/index-CJuLq2tK.js.gz +0 -0
- package/dist/{index-BN8zDufB.mjs → index-CVhW6yfq.mjs} +2 -2
- package/dist/index-CVhW6yfq.mjs.gz +0 -0
- package/dist/{index-Pz9ZfV6m.js → index-Cam1QE0F.js} +1 -1
- package/dist/{index-B84DF-qk.mjs → index-CqQ3HEE_.mjs} +1 -1
- package/dist/{index-CDR5beO3.mjs → index-CssvRIyM.mjs} +2 -2
- package/dist/index-CssvRIyM.mjs.gz +0 -0
- package/dist/index-CtJtsPiA.mjs +4 -0
- package/dist/{index-DlzApFKn.js → index-CwKj7vdX.js} +1 -1
- package/dist/index-CwKj7vdX.js.gz +0 -0
- package/dist/{index-DXEPAarM.js → index-D0uR7gMh.js} +1 -1
- package/dist/{index-CInmctWb.mjs → index-D1t5mFJ2.mjs} +1 -1
- package/dist/{index-txaRUQIl.mjs → index-D5LLa9ui.mjs} +2 -2
- package/dist/{index-CSMGiVmy.js → index-D6Ipfuyg.js} +1 -1
- package/dist/index-D6Ipfuyg.js.gz +0 -0
- package/dist/{index-Bt8q_3ES.js → index-D7QBl3o7.js} +1 -1
- package/dist/{index-D9qfSVU1.mjs → index-D9DDbeRk.mjs} +5 -5
- package/dist/index-D9DDbeRk.mjs.gz +0 -0
- package/dist/{index-BSUNKBGL.js → index-DEXQTBNr.js} +1 -1
- package/dist/index-DEXQTBNr.js.gz +0 -0
- package/dist/{index-DF_1-x2x.mjs → index-DK01IzBm.mjs} +2 -2
- package/dist/index-DK01IzBm.mjs.gz +0 -0
- package/dist/{index-CgPZgERE.mjs → index-DN4KQo1D.mjs} +1 -1
- package/dist/{index-DV94cOu2.js → index-DPVVvL_T.js} +1 -1
- package/dist/{index-CEsPAD8U.js → index-DQVkMgoE.js} +1 -1
- package/dist/index-DQVkMgoE.js.gz +0 -0
- package/dist/{index-8uSNZYS8.mjs → index-DRCV62Fc.mjs} +4 -4
- package/dist/index-DRCV62Fc.mjs.gz +0 -0
- package/dist/{index-BJJakD1Q.js → index-DYHQXGkR.js} +1 -1
- package/dist/index-DYHQXGkR.js.gz +0 -0
- package/dist/{index-DIWzvhlg.js → index-DhTmf34w.js} +1 -1
- package/dist/{index-BbsvffOV.mjs → index-DhVQ9je-.mjs} +10069 -9770
- package/dist/index-DhVQ9je-.mjs.gz +0 -0
- package/dist/{index-DuoEEiOc.js → index-DjtBylBU.js} +1 -1
- package/dist/{index-YVTSbXZ1.js → index-DlG1KFhi.js} +1 -1
- package/dist/{index-B1L5f4Uj.mjs → index-DluRS5wW.mjs} +1 -1
- package/dist/{index-D9KsDNf7.mjs → index-Dm_MsMP2.mjs} +1 -1
- package/dist/index-DoLr7xAO.mjs +10977 -0
- package/dist/index-DoLr7xAO.mjs.gz +0 -0
- package/dist/{index-DnTLzIBA.js → index-DtEMm-i2.js} +1 -1
- package/dist/index-DtEMm-i2.js.gz +0 -0
- package/dist/{index-DoeY15r1.js → index-EFK7zSC9.js} +1 -1
- package/dist/index-EFK7zSC9.js.gz +0 -0
- package/dist/{index-BMudoO8R.mjs → index-F2h7fGV1.mjs} +2 -2
- package/dist/index-F2h7fGV1.mjs.gz +0 -0
- package/dist/{index-LlqFXTXa.js → index-F9VML3KY.js} +1 -1
- package/dist/index-F9VML3KY.js.gz +0 -0
- package/dist/{index-DdLtRRgB.js → index-GePK2MXu.js} +1 -1
- package/dist/index-GePK2MXu.js.gz +0 -0
- package/dist/{index-QTuhQE3Y.mjs → index-JwJGwbq7.mjs} +1 -1
- package/dist/index-JwJGwbq7.mjs.gz +0 -0
- package/dist/{index-BywFHTtr.js → index-Xcfro54s.js} +55 -55
- package/dist/index-Xcfro54s.js.gz +0 -0
- package/dist/index-YXh5T3Xa.js +9 -0
- package/dist/index-YXh5T3Xa.js.gz +0 -0
- package/dist/{index-BSaqbKIt.mjs → index-_Rfcd0BF.mjs} +1 -1
- package/dist/index-_Rfcd0BF.mjs.gz +0 -0
- package/dist/{index-PhHGytki.mjs → index-blLxDXDS.mjs} +12068 -12175
- package/dist/index-blLxDXDS.mjs.gz +0 -0
- package/dist/{index-BbXNfGS0.mjs → index-fI-4dMYJ.mjs} +3 -3
- package/dist/index-fI-4dMYJ.mjs.gz +0 -0
- package/dist/{index-CQOjRRgy.js → index-gGi_QOh6.js} +1 -1
- package/dist/index-gGi_QOh6.js.gz +0 -0
- package/dist/{index-BKLxWpyn.js → index-jFdcQxzc.js} +1 -1
- package/dist/index-jFdcQxzc.js.gz +0 -0
- package/dist/{index-0uPN6qo2.js → index-jfi2QvZP.js} +61 -61
- package/dist/index-jfi2QvZP.js.gz +0 -0
- package/dist/{index--dURoHYe.js → index-mM3FTvkD.js} +1 -1
- package/dist/index-mM3FTvkD.js.gz +0 -0
- package/dist/{index-DRGngl1H.js → index-nwTBY-Rc.js} +1 -1
- package/dist/index-nwTBY-Rc.js.gz +0 -0
- package/dist/{index-DN5LBB-m.js → index-ozmiCwlp.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-hglYIrPG.mjs → index.vue_vue_type_script_setup_true_lang-B45FdpF6.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-B45FdpF6.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DlJWFaes.js → index.vue_vue_type_script_setup_true_lang-BAv57mIL.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BAv57mIL.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DZA7vxHe.js → index.vue_vue_type_script_setup_true_lang-Bs-Cm9Iv.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-Bs-Cm9Iv.js.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-CBl_YuBL.mjs → index.vue_vue_type_script_setup_true_lang-CNtHgxue.mjs} +4 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-CNtHgxue.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-COFi5jgA.mjs → index.vue_vue_type_script_setup_true_lang-Dz7Vlv_P.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-Dz7Vlv_P.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Bm3X6mUW.js → index.vue_vue_type_script_setup_true_lang-PU1ILPsU.js} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-PU1ILPsU.js.gz +0 -0
- package/dist/{link-DstE5aF6.mjs → link-BQZMB96l.mjs} +1 -1
- package/dist/link-BQZMB96l.mjs.gz +0 -0
- package/dist/{link-BYVoMfVH.js → link-CXn8a_yd.js} +1 -1
- package/dist/link-CXn8a_yd.js.gz +0 -0
- package/dist/{list-77nowkkH.js → list-D8MS9wpW.js} +1 -1
- package/dist/list-D8MS9wpW.js.gz +0 -0
- package/dist/{list-DWyiuAXq.mjs → list-OLsjmwhb.mjs} +1 -1
- package/dist/list-OLsjmwhb.mjs.gz +0 -0
- package/dist/{main-Cojq9d_8.mjs → main-CH0Hw8lY.mjs} +4 -4
- package/dist/main-CH0Hw8lY.mjs.gz +0 -0
- package/dist/{main-BWtPuubS.js → main-D_dTACqE.js} +1 -1
- package/dist/main-D_dTACqE.js.gz +0 -0
- package/dist/{mobile-BUS2zLRu.js → mobile-BS63nbp8.js} +1 -1
- package/dist/mobile-BS63nbp8.js.gz +0 -0
- package/dist/{mobile-DKlLMFvw.mjs → mobile-DHt6Vmn9.mjs} +1 -1
- package/dist/mobile-DHt6Vmn9.mjs.gz +0 -0
- package/dist/{parent-DmFc0Fvz.mjs → parent-dUg9KK5s.mjs} +2 -2
- package/dist/parent-dUg9KK5s.mjs.gz +0 -0
- package/dist/{parent-qQdafgwJ.js → parent-tYprw7Fs.js} +1 -1
- package/dist/parent-tYprw7Fs.js.gz +0 -0
- package/dist/{roleItem-SgiHO1_s.mjs → roleItem-D3YQHl9M.mjs} +1 -1
- package/dist/roleItem-D3YQHl9M.mjs.gz +0 -0
- package/dist/{roleItem-xwqmHKLP.js → roleItem-Dviw252O.js} +1 -1
- package/dist/roleItem-Dviw252O.js.gz +0 -0
- package/dist/{saveForm--t4LU3DI.mjs → saveForm-Bq1n5ryl.mjs} +1 -1
- package/dist/{saveForm-CbgvOHlk.js → saveForm-CqkD4auA.js} +1 -1
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-CRP0-TTk.mjs → saveForm.vue_vue_type_script_setup_true_lang-D4dPWtEP.mjs} +2 -2
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-D4dPWtEP.mjs.gz +0 -0
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-g1rU6xTx.js → saveForm.vue_vue_type_script_setup_true_lang-DEa1_TDW.js} +1 -1
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-DEa1_TDW.js.gz +0 -0
- package/dist/{scan-CB7q40M9.js → scan-BIwWdCbv.js} +1 -1
- package/dist/scan-BIwWdCbv.js.gz +0 -0
- package/dist/{scan-DHG1EEnX.mjs → scan-CsdVKahz.mjs} +1 -1
- package/dist/scan-CsdVKahz.mjs.gz +0 -0
- package/dist/{search-B_7vRhpN.js → search-CbLjVBL2.js} +1 -1
- package/dist/search-CbLjVBL2.js.gz +0 -0
- package/dist/{search-DIBu1U8u.mjs → search-DX2QNCIU.mjs} +3 -3
- package/dist/search-DX2QNCIU.mjs.gz +0 -0
- package/dist/{selectConfig-icDWADI5.mjs → selectConfig-BLKI7HAC.mjs} +1 -1
- package/dist/selectConfig-BLKI7HAC.mjs.gz +0 -0
- package/dist/{selectConfig-DNa2-HF3.js → selectConfig-Da1VHdLx.js} +1 -1
- package/dist/selectConfig-Da1VHdLx.js.gz +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/{subItem-fGD2t2u8.mjs → subItem-BVqcjpJX.mjs} +1 -1
- package/dist/subItem-BVqcjpJX.mjs.gz +0 -0
- package/dist/{subItem-C8ScXdqK.js → subItem-PvgtpvTm.js} +1 -1
- package/dist/subItem-PvgtpvTm.js.gz +0 -0
- package/dist/{tagsView-DeBwYY6U.mjs → tagsView-CD-Fs2Bp.mjs} +34 -34
- package/dist/tagsView-CD-Fs2Bp.mjs.gz +0 -0
- package/dist/{tagsView-B3YjoVWV.js → tagsView-Mr7-931h.js} +2 -2
- package/dist/tagsView-Mr7-931h.js.gz +0 -0
- package/dist/{transverse-uiac-o3T.js → transverse-Do-fiJTK.js} +1 -1
- package/dist/transverse-Do-fiJTK.js.gz +0 -0
- package/dist/{transverse-B5gx5g2o.mjs → transverse-ck-Ik5gp.mjs} +2 -2
- package/dist/transverse-ck-Ik5gp.mjs.gz +0 -0
- package/dist/types/components/business/bcFormTable/bcTable.vue.d.ts +1 -0
- package/dist/types/components/business/bcFormTable/utils/parseTable.d.ts +5 -6
- package/dist/types/views/home/type.d.ts +50 -0
- package/dist/types/views/home/useBusiness.d.ts +44 -0
- package/dist/types/views/home/useTUiApi.d.ts +14 -0
- package/dist/types/views/test/test/KeyboardDirective.d.ts +4 -0
- package/dist/types/views/test/test/MqttService.d.ts +38 -0
- package/dist/types/views/test/test/MqttServiceInstance.d.ts +4 -0
- package/dist/{uploadAvatar-_zt1_hxE.js → uploadAvatar-8_7WSYju.js} +1 -1
- package/dist/uploadAvatar-8_7WSYju.js.gz +0 -0
- package/dist/{uploadAvatar-x202E7jA.mjs → uploadAvatar-B2Pn34XF.mjs} +1 -1
- package/dist/uploadAvatar-B2Pn34XF.mjs.gz +0 -0
- package/dist/{user-GbT5E1ZM.js → user-DX-gSg6B.js} +1 -1
- package/dist/user-DX-gSg6B.js.gz +0 -0
- package/dist/{user-Dyalu_oc.mjs → user-tN8zqXBo.mjs} +10 -10
- package/dist/user-tN8zqXBo.mjs.gz +0 -0
- package/dist/{userNews-B4GnUGb_.js → userNews-C9DUGXCz.js} +1 -1
- package/dist/userNews-C9DUGXCz.js.gz +0 -0
- package/dist/{userNews-C0WR84dK.mjs → userNews-CkNi6f4g.mjs} +1 -1
- package/dist/userNews-CkNi6f4g.mjs.gz +0 -0
- package/dist/{userSelect-D7oXkiWj.js → userSelect-45_F6pgo.js} +1 -1
- package/dist/{userSelect-BMa5rcmj.mjs → userSelect-Cg8gJyyd.mjs} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-7aFN3G3e.js → userSelect.vue_vue_type_script_setup_true_lang-Cc9WG4Ej.js} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-Cc9WG4Ej.js.gz +0 -0
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-CGKIOQU9.mjs → userSelect.vue_vue_type_script_setup_true_lang-qvETHldR.mjs} +1 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-qvETHldR.mjs.gz +0 -0
- package/dist/{vertical-BAztR8jn.js → vertical-C3mwdrrq.js} +1 -1
- package/dist/vertical-C3mwdrrq.js.gz +0 -0
- package/dist/{vertical-AvNOjjHQ.mjs → vertical-kLhshmDe.mjs} +4 -4
- package/dist/vertical-kLhshmDe.mjs.gz +0 -0
- package/package.json +4 -3
- package/dist/401-BbeQXSvh.js.gz +0 -0
- package/dist/401-CEL2hTOk.mjs.gz +0 -0
- package/dist/404-AnSHw2Kw.mjs.gz +0 -0
- package/dist/account-DFpYa3cu.js.gz +0 -0
- package/dist/account-kXNBTNuC.mjs.gz +0 -0
- package/dist/aside-CoyVopHi.mjs.gz +0 -0
- package/dist/aside-DRfcTu2b.js.gz +0 -0
- package/dist/btnIndex-CGtJLC5L.mjs.gz +0 -0
- package/dist/btnIndex-D5PVn0pK.js.gz +0 -0
- package/dist/classic-2Nye_K-b.js.gz +0 -0
- package/dist/classic-BW9t9Dfu.mjs.gz +0 -0
- package/dist/cloneConfigDialog-CsOUmdsd.js.gz +0 -0
- package/dist/cloneConfigDialog-Dc00ZGTX.mjs.gz +0 -0
- package/dist/columns-DiDcXyPA.js.gz +0 -0
- package/dist/columns-tg3T816v.mjs.gz +0 -0
- package/dist/columnsAside-DPEmd0pL.js.gz +0 -0
- package/dist/columnsAside-DvNVtKVK.mjs.gz +0 -0
- package/dist/contextmenu-CA4revVI.mjs.gz +0 -0
- package/dist/contextmenu-CzMmW8Qg.mjs.gz +0 -0
- package/dist/contextmenu-D3p7lzdd.js.gz +0 -0
- package/dist/contextmenu-DEkEfGYR.js.gz +0 -0
- package/dist/contextmenu-Da2mizfo.mjs.gz +0 -0
- package/dist/contextmenu-Did81VLG.js.gz +0 -0
- package/dist/defaults-CHCEpRxN.js.gz +0 -0
- package/dist/defaults-CTi8QPGH.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CFvBYl5_.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DEaN9m52.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-6HZk6YNF.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CT1r7FcR.js.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-B1Y_kCbx.js.gz +0 -0
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C2wOFdiM.mjs.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-D-3SZpzf.mjs.gz +0 -0
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DHVFguR2.js.gz +0 -0
- package/dist/formConfig-CRkuxIyz.mjs.gz +0 -0
- package/dist/formConfig-Cw9P0F3P.js.gz +0 -0
- package/dist/horizontal-BN2D8Sko.mjs.gz +0 -0
- package/dist/horizontal-BzX6juvG.js.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-C7BkB3Oi.js.gz +0 -0
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-I1UYSRro.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-7oemJ0jc.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-SCoZzj1r.js.gz +0 -0
- package/dist/hsBtnConfigList-BiFRpi8T.js.gz +0 -0
- package/dist/hsBtnConfigList-UwLgvbyI.mjs.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DlH7t7sj.mjs.gz +0 -0
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-RuwQC4JT.js.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BNohfhG9.js.gz +0 -0
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CzOS3AYO.mjs.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-UYY4eiMi.js.gz +0 -0
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-k8zyb8dA.mjs.gz +0 -0
- package/dist/hsFormConfig-BfRoSXiC.mjs.gz +0 -0
- package/dist/hsFormConfig-CqVT1NWA.js.gz +0 -0
- package/dist/hsFormConfigList-D2ZzyV3h.mjs.gz +0 -0
- package/dist/hsFormConfigList-Daoazl2Y.js.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DtZ3srcz.mjs.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-H51VBoqW.js.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-BF3HolPV.mjs.gz +0 -0
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-CNOLu_9r.js.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-N2TmbWjS.js.gz +0 -0
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-R0nRZnZ7.mjs.gz +0 -0
- package/dist/iframes-Bz2OUtu9.js.gz +0 -0
- package/dist/iframes-DTVYFUse.mjs.gz +0 -0
- package/dist/index--dURoHYe.js.gz +0 -0
- package/dist/index-0uPN6qo2.js.gz +0 -0
- package/dist/index-5mLnycVF.mjs +0 -4
- package/dist/index-8uSNZYS8.mjs.gz +0 -0
- package/dist/index-BJJakD1Q.js.gz +0 -0
- package/dist/index-BKLxWpyn.js.gz +0 -0
- package/dist/index-BMudoO8R.mjs.gz +0 -0
- package/dist/index-BN8zDufB.mjs.gz +0 -0
- package/dist/index-BSUNKBGL.js.gz +0 -0
- package/dist/index-BSaqbKIt.mjs.gz +0 -0
- package/dist/index-BbXNfGS0.mjs.gz +0 -0
- package/dist/index-BbsvffOV.mjs.gz +0 -0
- package/dist/index-BjB-z2WF.mjs.gz +0 -0
- package/dist/index-BmzWZQyI.mjs +0 -48
- package/dist/index-BmzWZQyI.mjs.gz +0 -0
- package/dist/index-BnWMXobA.mjs.gz +0 -0
- package/dist/index-BsMsR_42.js +0 -1
- package/dist/index-Bygkj_9V.mjs.gz +0 -0
- package/dist/index-BywFHTtr.js.gz +0 -0
- package/dist/index-CA-QKaZH.js.gz +0 -0
- package/dist/index-CDR5beO3.mjs.gz +0 -0
- package/dist/index-CEsPAD8U.js.gz +0 -0
- package/dist/index-CQOjRRgy.js.gz +0 -0
- package/dist/index-CSMGiVmy.js.gz +0 -0
- package/dist/index-CgLxXz3t.js.gz +0 -0
- package/dist/index-Ckv2XhEV.js.gz +0 -0
- package/dist/index-CxDcVQxF.mjs.gz +0 -0
- package/dist/index-D5KP9W8f.mjs.gz +0 -0
- package/dist/index-D9Px068y.mjs.gz +0 -0
- package/dist/index-D9qfSVU1.mjs.gz +0 -0
- package/dist/index-DF_1-x2x.mjs.gz +0 -0
- package/dist/index-DRGngl1H.js.gz +0 -0
- package/dist/index-DRYYzguv.mjs.gz +0 -0
- package/dist/index-DdLtRRgB.js.gz +0 -0
- package/dist/index-DlzApFKn.js.gz +0 -0
- package/dist/index-DnTLzIBA.js.gz +0 -0
- package/dist/index-DoeY15r1.js.gz +0 -0
- package/dist/index-DuECrCeo.mjs.gz +0 -0
- package/dist/index-Dx3ZNCYo.js.gz +0 -0
- package/dist/index-FLW8yemK.js.gz +0 -0
- package/dist/index-LlqFXTXa.js.gz +0 -0
- package/dist/index-NWs7VKJj.mjs.gz +0 -0
- package/dist/index-PhHGytki.mjs.gz +0 -0
- package/dist/index-QTuhQE3Y.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Bm3X6mUW.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-CBl_YuBL.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-COFi5jgA.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DZA7vxHe.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DlJWFaes.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-hglYIrPG.mjs.gz +0 -0
- package/dist/link-BYVoMfVH.js.gz +0 -0
- package/dist/link-DstE5aF6.mjs.gz +0 -0
- package/dist/list-77nowkkH.js.gz +0 -0
- package/dist/list-DWyiuAXq.mjs.gz +0 -0
- package/dist/main-BWtPuubS.js.gz +0 -0
- package/dist/main-Cojq9d_8.mjs.gz +0 -0
- package/dist/mobile-BUS2zLRu.js.gz +0 -0
- package/dist/mobile-DKlLMFvw.mjs.gz +0 -0
- package/dist/parent-DmFc0Fvz.mjs.gz +0 -0
- package/dist/parent-qQdafgwJ.js.gz +0 -0
- package/dist/roleItem-SgiHO1_s.mjs.gz +0 -0
- package/dist/roleItem-xwqmHKLP.js.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-CRP0-TTk.mjs.gz +0 -0
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-g1rU6xTx.js.gz +0 -0
- package/dist/scan-CB7q40M9.js.gz +0 -0
- package/dist/scan-DHG1EEnX.mjs.gz +0 -0
- package/dist/search-B_7vRhpN.js.gz +0 -0
- package/dist/search-DIBu1U8u.mjs.gz +0 -0
- package/dist/selectConfig-DNa2-HF3.js.gz +0 -0
- package/dist/selectConfig-icDWADI5.mjs.gz +0 -0
- package/dist/subItem-C8ScXdqK.js.gz +0 -0
- package/dist/subItem-fGD2t2u8.mjs.gz +0 -0
- package/dist/tagsView-B3YjoVWV.js.gz +0 -0
- package/dist/tagsView-DeBwYY6U.mjs.gz +0 -0
- package/dist/transverse-B5gx5g2o.mjs.gz +0 -0
- package/dist/transverse-uiac-o3T.js.gz +0 -0
- package/dist/uploadAvatar-_zt1_hxE.js.gz +0 -0
- package/dist/uploadAvatar-x202E7jA.mjs.gz +0 -0
- package/dist/user-Dyalu_oc.mjs.gz +0 -0
- package/dist/user-GbT5E1ZM.js.gz +0 -0
- package/dist/userNews-B4GnUGb_.js.gz +0 -0
- package/dist/userNews-C0WR84dK.mjs.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-7aFN3G3e.js.gz +0 -0
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-CGKIOQU9.mjs.gz +0 -0
- package/dist/vertical-AvNOjjHQ.mjs.gz +0 -0
- package/dist/vertical-BAztR8jn.js.gz +0 -0
|
@@ -69,8 +69,8 @@ export declare const specialType: string[];
|
|
|
69
69
|
/** 查询条件分组标识 */
|
|
70
70
|
export declare const CUSTOME_GROUP_TIP = "custome_field_";
|
|
71
71
|
export declare function setPropertyData<T extends IFormTable.Data>(params: T): T;
|
|
72
|
-
export declare function getRender(baseData: ICustomData.FormItemConfigData['baseData']): "hs-button" | "bc-icon" | "hs-button-group" | "hs-input" | "hs-option" | "hs-option-group" | "hs-form" | "hs-form-item" | "hs-row" | "hs-col" | "hs-tree" | "hs-input-number" | "hs-switch" | "hs-radio-group" | "hs-radio-button" | "hs-checkbox-group" | "hs-checkbox-button" | "hs-rate" | "hs-autocomplete" | "hs-slider" | "hs-cascader" | "hs-cascader-panel" | "hs-color-picker" | "hs-upload" | "hs-transfer" | "hs-date-picker" | "hs-scrollbar" | "hs-calendar" | "hs-carousel" | "hs-carousel-item" | "hs-collapse" | "hs-collapse-item" | "hs-progress" | "hs-result" | "hs-tour" | "hs-tour-step" | "hs-tag" | "hs-check-tag" | "hs-affix" | "hs-tabs" | "hs-tab-pane" | "hs-steps" | "hs-step" | "hs-alert" | "hs-dialog" | "hs-drawer" | "hs-popconfirm" | "hs-popover" | "hs-tooltip" | "hs-watermark" | "hs-dropdown" | "hs-dropdown-menu" | "hs-dropdown-item" | "hs-badge" | "hs-empty" | "hs-image" | "hs-image-viewer" | "bc-btn" | "bc-box" | "bc-radio" | "bc-checkbox" | "bc-form" | "bc-table" | "bc-form-table" | "bc-form-config" | "bc-select" | "bc-tree-select" | "bc-page-config" | "bc-switch-systems" | "bc-auto-complete" | "bc-group-date" | "bc-page-tree-for-system" | "bc-upload" | "hs-config-input" | "hs-config-event" | "hs-config-select" | "hs-config-date-picker" | "hs-config-button" | "hs-config-autocomplete" | "hs-config-switch" | "hs-config-upload" | "hs-config-checkbox" | "hs-config-radio" | "hs-config-input-number" | "hs-config-cascader" | "hs-config-cascader-panel" | "hs-config-tree-select";
|
|
73
|
-
export declare function getRenderComponent(el: ICustomData.ElComponent): "hs-button" | "bc-icon" | "hs-button-group" | "hs-input" | "hs-option" | "hs-option-group" | "hs-form" | "hs-form-item" | "hs-row" | "hs-col" | "hs-tree" | "hs-input-number" | "hs-switch" | "hs-radio-group" | "hs-radio-button" | "hs-checkbox-group" | "hs-checkbox-button" | "hs-rate" | "hs-autocomplete" | "hs-slider" | "hs-cascader" | "hs-cascader-panel" | "hs-color-picker" | "hs-upload" | "hs-transfer" | "hs-date-picker" | "hs-scrollbar" | "hs-calendar" | "hs-carousel" | "hs-carousel-item" | "hs-collapse" | "hs-collapse-item" | "hs-progress" | "hs-result" | "hs-tour" | "hs-tour-step" | "hs-tag" | "hs-check-tag" | "hs-affix" | "hs-tabs" | "hs-tab-pane" | "hs-steps" | "hs-step" | "hs-alert" | "hs-dialog" | "hs-drawer" | "hs-popconfirm" | "hs-popover" | "hs-tooltip" | "hs-watermark" | "hs-dropdown" | "hs-dropdown-menu" | "hs-dropdown-item" | "hs-badge" | "hs-empty" | "hs-image" | "hs-image-viewer" | "bc-btn" | "bc-box" | "bc-radio" | "bc-checkbox" | "bc-form" | "bc-table" | "bc-form-table" | "bc-form-config" | "bc-select" | "bc-tree-select" | "bc-page-config" | "bc-switch-systems" | "bc-auto-complete" | "bc-group-date" | "bc-page-tree-for-system" | "bc-upload" | "hs-config-input" | "hs-config-event" | "hs-config-select" | "hs-config-date-picker" | "hs-config-button" | "hs-config-autocomplete" | "hs-config-switch" | "hs-config-upload" | "hs-config-checkbox" | "hs-config-radio" | "hs-config-input-number" | "hs-config-cascader" | "hs-config-cascader-panel" | "hs-config-tree-select";
|
|
72
|
+
export declare function getRender(baseData: ICustomData.FormItemConfigData['baseData']): "hs-button" | "bc-icon" | "hs-button-group" | "hs-input" | "hs-select" | "hs-option" | "hs-option-group" | "hs-form" | "hs-form-item" | "hs-row" | "hs-col" | "hs-tree" | "hs-input-number" | "hs-switch" | "hs-radio" | "hs-radio-group" | "hs-radio-button" | "hs-checkbox" | "hs-checkbox-group" | "hs-checkbox-button" | "hs-rate" | "hs-autocomplete" | "hs-slider" | "hs-cascader" | "hs-cascader-panel" | "hs-color-picker" | "hs-upload" | "hs-transfer" | "hs-date-picker" | "hs-scrollbar" | "hs-calendar" | "hs-carousel" | "hs-carousel-item" | "hs-collapse" | "hs-collapse-item" | "hs-progress" | "hs-result" | "hs-tour" | "hs-tour-step" | "hs-tag" | "hs-check-tag" | "hs-affix" | "hs-tabs" | "hs-tab-pane" | "hs-steps" | "hs-step" | "hs-alert" | "hs-dialog" | "hs-drawer" | "hs-popconfirm" | "hs-popover" | "hs-tooltip" | "hs-watermark" | "hs-dropdown" | "hs-dropdown-menu" | "hs-dropdown-item" | "hs-tree-select" | "hs-badge" | "hs-empty" | "hs-image" | "hs-image-viewer" | "bc-btn" | "bc-box" | "bc-radio" | "bc-checkbox" | "bc-form" | "bc-table" | "bc-form-table" | "bc-form-config" | "bc-select" | "bc-tree-select" | "bc-page-config" | "bc-switch-systems" | "bc-auto-complete" | "bc-group-date" | "bc-page-tree-for-system" | "bc-upload" | "hs-config-input" | "hs-config-event" | "hs-config-select" | "hs-config-date-picker" | "hs-config-button" | "hs-config-autocomplete" | "hs-config-switch" | "hs-config-upload" | "hs-config-checkbox" | "hs-config-radio" | "hs-config-input-number" | "hs-config-cascader" | "hs-config-cascader-panel" | "hs-config-tree-select";
|
|
73
|
+
export declare function getRenderComponent(el: ICustomData.ElComponent): "hs-button" | "bc-icon" | "hs-button-group" | "hs-input" | "hs-select" | "hs-option" | "hs-option-group" | "hs-form" | "hs-form-item" | "hs-row" | "hs-col" | "hs-tree" | "hs-input-number" | "hs-switch" | "hs-radio" | "hs-radio-group" | "hs-radio-button" | "hs-checkbox" | "hs-checkbox-group" | "hs-checkbox-button" | "hs-rate" | "hs-autocomplete" | "hs-slider" | "hs-cascader" | "hs-cascader-panel" | "hs-color-picker" | "hs-upload" | "hs-transfer" | "hs-date-picker" | "hs-scrollbar" | "hs-calendar" | "hs-carousel" | "hs-carousel-item" | "hs-collapse" | "hs-collapse-item" | "hs-progress" | "hs-result" | "hs-tour" | "hs-tour-step" | "hs-tag" | "hs-check-tag" | "hs-affix" | "hs-tabs" | "hs-tab-pane" | "hs-steps" | "hs-step" | "hs-alert" | "hs-dialog" | "hs-drawer" | "hs-popconfirm" | "hs-popover" | "hs-tooltip" | "hs-watermark" | "hs-dropdown" | "hs-dropdown-menu" | "hs-dropdown-item" | "hs-tree-select" | "hs-badge" | "hs-empty" | "hs-image" | "hs-image-viewer" | "bc-btn" | "bc-box" | "bc-radio" | "bc-checkbox" | "bc-form" | "bc-table" | "bc-form-table" | "bc-form-config" | "bc-select" | "bc-tree-select" | "bc-page-config" | "bc-switch-systems" | "bc-auto-complete" | "bc-group-date" | "bc-page-tree-for-system" | "bc-upload" | "hs-config-input" | "hs-config-event" | "hs-config-select" | "hs-config-date-picker" | "hs-config-button" | "hs-config-autocomplete" | "hs-config-switch" | "hs-config-upload" | "hs-config-checkbox" | "hs-config-radio" | "hs-config-input-number" | "hs-config-cascader" | "hs-config-cascader-panel" | "hs-config-tree-select";
|
|
74
74
|
/** 权限控制是否显示 */
|
|
75
75
|
export declare function isShowItem(params: Record<'isShow' | 'fieldShow', boolean> & ICustomData.Data): boolean;
|
|
76
76
|
/** 格式化搜索区域表单数据 */
|
|
@@ -86,10 +86,9 @@ export declare function getTableData(data: ICustomData.Table, formData?: ICustom
|
|
|
86
86
|
/** 调用接口获取表格数据 */
|
|
87
87
|
export declare function fetchTableData(baseData: ICustomData.TableBaseData, formData?: ICustomData.Form['formData']): Promise<any>;
|
|
88
88
|
/** 接口数据
|
|
89
|
-
* 1.
|
|
90
|
-
* 2.
|
|
91
|
-
* 3.
|
|
92
|
-
* 4. 根据配置项获取数据
|
|
89
|
+
* 1. 获取配置项信息
|
|
90
|
+
* 2. 整合配置数据信息
|
|
91
|
+
* 3. 根据配置项获取数据
|
|
93
92
|
*/
|
|
94
93
|
export declare function getLoadData(data: ICustomData.FormTable): Promise<ICustomData.FormTable>;
|
|
95
94
|
export declare function getFormData(result: IFormData.Form): {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export interface INIT_PARAM {
|
|
2
|
+
userID: string;
|
|
3
|
+
SDKAppID: number;
|
|
4
|
+
SecretKey: string;
|
|
5
|
+
/** TIM实例 */
|
|
6
|
+
tim?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IOfflinePushInfo {
|
|
9
|
+
title?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
androidOPPOChannelID?: string;
|
|
12
|
+
extension: String;
|
|
13
|
+
}
|
|
14
|
+
export interface CALL_PARAM {
|
|
15
|
+
/** 被叫用户的id */
|
|
16
|
+
userID: string;
|
|
17
|
+
/** 通话的媒体类型:1:语音通话 2:视频通话 */
|
|
18
|
+
type: number;
|
|
19
|
+
/** 数字房间号 */
|
|
20
|
+
roomID?: number;
|
|
21
|
+
/** 扩展字段: 用于在邀请信令中增加扩展信息 */
|
|
22
|
+
userData?: string;
|
|
23
|
+
/** 通话的超时时间, */
|
|
24
|
+
timeout?: number;
|
|
25
|
+
/** 自定义离线消息推送(选填) */
|
|
26
|
+
offlinePushInfo?: IOfflinePushInfo;
|
|
27
|
+
}
|
|
28
|
+
export interface GROUP_CALL_PARAM {
|
|
29
|
+
/** 目标用户的 userId 列表 */
|
|
30
|
+
userIDList: Array<string>;
|
|
31
|
+
/** 通话的媒体类型:1:语音通话 2:视频通话 */
|
|
32
|
+
type: number;
|
|
33
|
+
/** 此次群组通话的群 ID */
|
|
34
|
+
groupID: string;
|
|
35
|
+
/** 数字房间号, */
|
|
36
|
+
roomID?: number;
|
|
37
|
+
/** 扩展字段: 用于在邀请信令中增加扩展信息 */
|
|
38
|
+
userData?: string;
|
|
39
|
+
timeout?: number;
|
|
40
|
+
offlinePushInfo?: IOfflinePushInfo;
|
|
41
|
+
}
|
|
42
|
+
export interface JOIN_IN_GROUP_CALL_PARAM {
|
|
43
|
+
type: number;
|
|
44
|
+
groupID: string;
|
|
45
|
+
roomID: number;
|
|
46
|
+
}
|
|
47
|
+
export interface SET_SELF_INFO_PARAM {
|
|
48
|
+
nickName: string;
|
|
49
|
+
avatar: string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { MessageHandler } from 'element-plus';
|
|
2
|
+
export interface TUI_DATA {
|
|
3
|
+
userID: string;
|
|
4
|
+
/** 被呼叫的用户id */
|
|
5
|
+
callUserID: string;
|
|
6
|
+
/** APPID */
|
|
7
|
+
SDKAppID: number;
|
|
8
|
+
/** 密钥 */
|
|
9
|
+
SDKSecretKey: string;
|
|
10
|
+
/** 【必填】通话的媒体类型:1:语音通话 2:视频通话 */
|
|
11
|
+
type: number;
|
|
12
|
+
/** 数字房间号, 范围 [1, 2147483647] */
|
|
13
|
+
roomID: number;
|
|
14
|
+
/** 组数据 */
|
|
15
|
+
userIDList: Array<string>;
|
|
16
|
+
/** 【必填】此次群组通话的群 ID */
|
|
17
|
+
groupID: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function useBusiness(): {
|
|
20
|
+
TUIData: {
|
|
21
|
+
userID: string;
|
|
22
|
+
callUserID: string;
|
|
23
|
+
SDKAppID: number;
|
|
24
|
+
SDKSecretKey: string;
|
|
25
|
+
type: number;
|
|
26
|
+
roomID: number;
|
|
27
|
+
userIDList: string[];
|
|
28
|
+
groupID: string;
|
|
29
|
+
};
|
|
30
|
+
config: {
|
|
31
|
+
value: string;
|
|
32
|
+
TUIType: {
|
|
33
|
+
label: string;
|
|
34
|
+
value: number;
|
|
35
|
+
}[];
|
|
36
|
+
};
|
|
37
|
+
addUser: () => MessageHandler | undefined;
|
|
38
|
+
deleteUser: (index: number) => void;
|
|
39
|
+
initial: () => MessageHandler | undefined;
|
|
40
|
+
callUser: () => MessageHandler | undefined;
|
|
41
|
+
callGroupUser: () => MessageHandler | undefined;
|
|
42
|
+
userJoinInGroupCall: () => MessageHandler | undefined;
|
|
43
|
+
destroyUser: () => void;
|
|
44
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { INIT_PARAM, CALL_PARAM, GROUP_CALL_PARAM, JOIN_IN_GROUP_CALL_PARAM, SET_SELF_INFO_PARAM } from './type';
|
|
2
|
+
|
|
3
|
+
export declare function useAPI(): {
|
|
4
|
+
init: (param: INIT_PARAM) => Promise<void>;
|
|
5
|
+
call: (param: CALL_PARAM) => Promise<void>;
|
|
6
|
+
groupCall: (param: GROUP_CALL_PARAM) => Promise<void>;
|
|
7
|
+
joinInGroupCall: (param: JOIN_IN_GROUP_CALL_PARAM) => Promise<void>;
|
|
8
|
+
setCallingBell: (filePath: string) => Promise<void>;
|
|
9
|
+
setSelfInfo: (param: SET_SELF_INFO_PARAM) => Promise<void>;
|
|
10
|
+
enableMuteMode: (enable: boolean) => Promise<void>;
|
|
11
|
+
enableFloatWindow: (enable?: boolean) => Promise<void>;
|
|
12
|
+
setLanguage: (language: 'EN' | 'ZH-CN' | 'JA_JP') => void;
|
|
13
|
+
destroyed: () => Promise<void>;
|
|
14
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IClientOptions, IClientPublishOptions, IClientSubscribeOptions } from 'mqtt';
|
|
2
|
+
|
|
3
|
+
export default class MqttService {
|
|
4
|
+
private options;
|
|
5
|
+
private static instance;
|
|
6
|
+
private client;
|
|
7
|
+
private constructor();
|
|
8
|
+
static getInstance(options: IClientOptions): MqttService;
|
|
9
|
+
/**
|
|
10
|
+
* 连接
|
|
11
|
+
*/
|
|
12
|
+
connect(): void;
|
|
13
|
+
/**
|
|
14
|
+
* 断开连接
|
|
15
|
+
*/
|
|
16
|
+
disconnect(): void;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @param topic
|
|
20
|
+
* @param options
|
|
21
|
+
* 订阅主题
|
|
22
|
+
*/
|
|
23
|
+
subscribe(topic: string, options?: IClientSubscribeOptions): void;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param topic
|
|
27
|
+
* @param message
|
|
28
|
+
* @param options
|
|
29
|
+
* 发布消息
|
|
30
|
+
*/
|
|
31
|
+
publish(topic: string, message: string | Buffer, options?: IClientPublishOptions): void;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param callback
|
|
35
|
+
* 监听消息
|
|
36
|
+
*/
|
|
37
|
+
onMessage(callback: (topic: string, message: Buffer) => void): void;
|
|
38
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),O=require("./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js"),y=require("./index-BywFHTtr.js"),Y={data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10,validator:function(e){return Array.isArray(e)?Number(e[0])>=0&&Number(e[1])>=0:Number(e)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let e={};if(e.top=this.cropOffsertY>21?"-21px":"0px",e.width=this.cropW>0?this.cropW:0,e.height=this.cropH>0?this.cropH:0,this.infoTrue){let t=1;this.high&&!this.full&&(t=window.devicePixelRatio),this.enlarge!==1&!this.full&&(t=Math.abs(Number(this.enlarge))),e.width=e.width*t,e.height=e.height*t,this.full&&(e.width=e.width/this.scale,e.height=e.height/this.scale)}return e.width=e.width.toFixed(0),e.height=e.height.toFixed(0),e},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(e){e!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(e,t){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(e){e&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(e){var t=navigator.userAgent.split(" "),i="";let s=0;const h=new RegExp(e,"i");for(var r=0;r<t.length;r++)h.test(t[r])&&(i=t[r]);return i?s=i.split("/")[1].split("."):s=["0","0","0"],s},checkOrientationImage(e,t,i,s){if(this.getVersion("chrome")[0]>=81)t=-1;else if(this.getVersion("safari")[0]>=605){const o=this.getVersion("version");o[0]>13&&o[1]>1&&(t=-1)}else{const o=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(o){let l=o[1];l=l.split("_"),(l[0]>13||l[0]>=13&&l[1]>=4)&&(t=-1)}}let h=document.createElement("canvas"),r=h.getContext("2d");switch(r.save(),t){case 2:h.width=i,h.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:h.width=i,h.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:h.width=i,h.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:h.width=s,h.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:h.height=i,h.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:h.width=i,h.height=s}r.drawImage(e,0,0,i,s),r.restore(),h.toBlob(o=>{let l=URL.createObjectURL(o);URL.revokeObjectURL(this.imgs),this.imgs=l},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let e=new Image;if(e.onload=()=>{if(this.img==="")return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let i=e.width,s=e.height;O.Exif.getData(e).then(h=>{this.orientation=h.orientation||1;let r=Number(this.maxImgSize);if(!this.orientation&&i<r&s<r){this.imgs=this.img;return}i>r&&(s=s/i*r,i=r),s>r&&(i=i/s*r,s=r),this.checkOrientationImage(e,this.orientation,i,s)}).catch(h=>{this.$emit("img-load","error"),this.$emit("img-load-error",h)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},this.img.substr(0,4)!=="data"&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var i=URL.createObjectURL(this.response);e.src=i},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),e.touches.length==2&&(this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var i={x:this.touches[0].clientX,y:this.touches[0].clientY},s={x:e.touches[0].clientX,y:e.touches[0].clientY},h={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:e.touches[1].clientX,y:e.touches[1].clientY},o=Math.sqrt(Math.pow(i.x-h.x,2)+Math.pow(i.y-h.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),n=l-o,p=1;p=p/this.trueWidth>p/this.trueHeight?p/this.trueHeight:p/this.trueWidth,p=p>.1?.1:p;var c=p*n;if(!this.touchNow){if(this.touchNow=!0,n>0?t+=Math.abs(c):n<0&&t>Math.abs(c)&&(t-=Math.abs(c)),this.touches=e.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&e.touches.length===2)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.moveX,h=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,h,this.scale),o=this.getCropAxis(),l=this.trueHeight*this.scale,n=this.trueWidth*this.scale,p,c,f,g;switch(this.rotate){case 1:case-1:case 3:case-3:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(l-n)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(n-l)/2,f=p-l+this.cropW,g=c-n+this.cropH;break;default:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,f=p-n+this.cropW,g=c-l+this.cropH;break}r.x1>=o.x1&&(s=p),r.y1>=o.y1&&(h=c),r.x2<=o.x2&&(s=f),r.y2<=o.y2&&(h=g)}this.x=s,this.y=h,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(e){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(e){e.preventDefault();let t=this.scale;var i=e.deltaY||e.wheelDelta,s=navigator.userAgent.indexOf("Firefox");i=s>0?i*30:i,this.isIE&&(i=-i);var h=this.coe;h=h/this.trueWidth>h/this.trueHeight?h/this.trueHeight:h/this.trueWidth;var r=h*i;r<0?t+=Math.abs(r):t>Math.abs(r)&&(t-=Math.abs(r));let o=r<0?"add":"reduce";if(o!==this.coeStatus&&(this.coeStatus=o,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var i=20;if(i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth,e=e*i,e>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick(()=>{var s=t-this.cropX,h=i-this.cropY;if(s>0?(this.cropW=s+this.cropChangeX>this.w?this.w-this.cropChangeX:s,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(s)>this.w?this.cropChangeX:Math.abs(s),this.cropOffsertX=this.cropChangeX+s>0?this.cropChangeX+s:0),!this.fixed)h>0?(this.cropH=h+this.cropChangeY>this.h?this.h-this.cropChangeY:h,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(h)>this.h?this.cropChangeY:Math.abs(h),this.cropOffsertY=this.cropChangeY+h>0?this.cropChangeY+h:0);else{var r=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];r+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],s>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=r,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(e,t,i,s,h){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=h,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("changeCropSize",{width:this.cropW,height:this.cropH}),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let s=this.w,h=this.h,r=0,o=0;if(this.centerBox){let p=this.getImgAxis(),c=p.x2,f=p.y2;r=p.x1>0?p.x1:0,o=p.y1>0?p.y1:0,s>c&&(s=c),h>f&&(h=f)}const[l,n]=this.checkCropLimitSize();this.$nextTick(()=>{var p=t-this.cropX,c=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-p<l?(this.cropW=l,this.cropOffsertX=this.cropOldW+this.cropChangeX-r-l):this.cropOldW-p>0?(this.cropW=s-this.cropChangeX-p<=s-r?this.cropOldW-p:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-p<=s-r?this.cropChangeX+p:r):(this.cropW=Math.abs(p)+this.cropChangeX<=s?Math.abs(p)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+p<l?this.cropW=l:this.cropOldW+p>0?(this.cropW=this.cropOldW+p+this.cropOffsertX<=s?this.cropOldW+p:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?Math.abs(p+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(p+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c<n?(this.cropH=n,this.cropOffsertY=this.cropOldH+this.cropChangeY-o-n):this.cropOldH-c>0?(this.cropH=h-this.cropChangeY-c<=h-o?this.cropOldH-c:this.cropOldH+this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY-c<=h-o?this.cropChangeY+c:o):(this.cropH=Math.abs(c)+this.cropChangeY<=h?Math.abs(c)-this.cropOldH:h-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c<n?this.cropH=n:this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=h?this.cropOldH+c:h-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?Math.abs(c+this.cropOldH):this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?this.cropChangeY-Math.abs(c+this.cropOldH):o))),this.canChangeX&&this.fixed){var f=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];f<n?(this.cropH=n,this.cropW=this.fixedNumber[0]*n/this.fixedNumber[1],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):f+this.cropOffsertY>h?(this.cropH=h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=f}if(this.canChangeY&&this.fixed){var g=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];g<l?(this.cropW=l,this.cropH=this.fixedNumber[1]*l/this.fixedNumber[0]):g+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=g}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})})},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:i}=this,s=new Array;return Array.isArray(i)?s=i:s=[i,i],e=parseFloat(s[0]),t=parseFloat(s[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(e,t,i,s,h,r){const o=e/t;let l=h,n=r;return l<i&&(l=i,n=Math.ceil(l/o)),n<s&&(n=s,l=Math.ceil(n*o),l<i&&(l=i,n=Math.ceil(l/o))),l<h&&(l=h,n=Math.ceil(l/o)),n<r&&(n=r,l=Math.ceil(n*o)),{width:l,height:n}},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1);let[e,t]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],e,t,this.cropW,this.cropH):{width:e,height:t};i>this.cropW&&(this.cropW=i,this.cropOffsertX+i>this.w&&(this.cropOffsertX=this.w-i)),s>this.cropH&&(this.cropH=s,this.cropOffsertY+s>this.h&&(this.cropOffsertY=this.h-s)),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&e.touches.length===2)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.cropOffsertX,h=i-this.cropOffsertY,this.cropX=s,this.cropY=h,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let i=0,s=0;e&&(e.preventDefault(),i="clientX"in e?e.clientX:e.touches[0].clientX,s="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick(()=>{let h,r,o=i-this.cropX,l=s-this.cropY;if(t&&(o=this.cropOffsertX,l=this.cropOffsertY),o<=0?h=0:o+this.cropW>this.w?h=this.w-this.cropW:h=o,l<=0?r=0:l+this.cropH>this.h?r=this.h-this.cropH:r=l,this.centerBox){let n=this.getImgAxis();h<=n.x1&&(h=n.x1),h+this.cropW>n.x2&&(h=n.x2-this.cropW),r<=n.y1&&(r=n.y1),r+this.cropH>n.y2&&(r=n.y2-this.cropH)}this.cropOffsertX=h,this.cropOffsertY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},h=this.trueWidth*i,r=this.trueHeight*i;switch(this.rotate){case 0:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=e+this.trueWidth*(1-i)/2+(h-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=t+this.trueHeight*(1-i)/2+(r-h)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break}return s},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(e){let t=document.createElement("canvas"),i=new Image,s=this.rotate,h=this.trueWidth,r=this.trueHeight,o=this.cropOffsertX,l=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let c=t.getContext("2d"),f=1;this.high&!this.full&&(f=window.devicePixelRatio),this.enlarge!==1&!this.full&&(f=Math.abs(Number(this.enlarge)));let g=this.cropW*f,C=this.cropH*f,m=h*this.scale*f,v=r*this.scale*f,d=(this.x-o+this.trueWidth*(1-this.scale)/2)*f,u=(this.y-l+this.trueHeight*(1-this.scale)/2)*f;switch(p(g,C),c.save(),this.fillColor&&(c.fillStyle=this.fillColor,c.fillRect(0,0,t.width,t.height)),s){case 0:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v);break;case 1:case-3:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v/this.scale,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v,m,v));break;case 2:case-2:this.full?(p(g/this.scale,C/this.scale),c.rotate(s*90*Math.PI/180),d=d/this.scale,u=u/this.scale,c.drawImage(i,-d-m/this.scale,-u-v/this.scale,m/this.scale,v/this.scale)):(c.rotate(s*90*Math.PI/180),c.drawImage(i,-d-m,-u-v,m,v));break;case 3:case-1:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m/this.scale,d,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m,d,m,v));break;default:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v)}c.restore()}else{let c=h*this.scale,f=r*this.scale,g=t.getContext("2d");switch(g.save(),this.fillColor&&(g.fillStyle=this.fillColor,g.fillRect(0,0,t.width,t.height)),s){case 0:p(c,f),g.drawImage(i,0,0,c,f);break;case 1:case-3:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,0,-f,c,f);break;case 2:case-2:p(c,f),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,-f,c,f);break;case 3:case-1:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,0,c,f);break;default:p(c,f),g.drawImage(i,0,0,c,f)}g.restore()}e(t)};var n=this.img.substr(0,4);n!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function p(c,f){t.width=Math.round(c),t.height=Math.round(f)}},getCropData(e){this.getCropChecked(t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(e){this.getCropChecked(t=>{t.toBlob(i=>e(i),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let e=this.cropW,t=this.cropH,i=this.scale;var s={};s.div={width:`${e}px`,height:`${t}px`};let h=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,o=0;s.w=e,s.h=t,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${h}px, ${r}px, ${o}px)rotateZ(${this.rotate*90}deg)`},s.html=`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),O=require("./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js"),y=require("./index-Xcfro54s.js"),Y={data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10,validator:function(e){return Array.isArray(e)?Number(e[0])>=0&&Number(e[1])>=0:Number(e)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let e={};if(e.top=this.cropOffsertY>21?"-21px":"0px",e.width=this.cropW>0?this.cropW:0,e.height=this.cropH>0?this.cropH:0,this.infoTrue){let t=1;this.high&&!this.full&&(t=window.devicePixelRatio),this.enlarge!==1&!this.full&&(t=Math.abs(Number(this.enlarge))),e.width=e.width*t,e.height=e.height*t,this.full&&(e.width=e.width/this.scale,e.height=e.height/this.scale)}return e.width=e.width.toFixed(0),e.height=e.height.toFixed(0),e},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(e){e!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(e,t){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(e){e&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(e){var t=navigator.userAgent.split(" "),i="";let s=0;const h=new RegExp(e,"i");for(var r=0;r<t.length;r++)h.test(t[r])&&(i=t[r]);return i?s=i.split("/")[1].split("."):s=["0","0","0"],s},checkOrientationImage(e,t,i,s){if(this.getVersion("chrome")[0]>=81)t=-1;else if(this.getVersion("safari")[0]>=605){const o=this.getVersion("version");o[0]>13&&o[1]>1&&(t=-1)}else{const o=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(o){let l=o[1];l=l.split("_"),(l[0]>13||l[0]>=13&&l[1]>=4)&&(t=-1)}}let h=document.createElement("canvas"),r=h.getContext("2d");switch(r.save(),t){case 2:h.width=i,h.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:h.width=i,h.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:h.width=i,h.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:h.width=s,h.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:h.height=i,h.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:h.width=i,h.height=s}r.drawImage(e,0,0,i,s),r.restore(),h.toBlob(o=>{let l=URL.createObjectURL(o);URL.revokeObjectURL(this.imgs),this.imgs=l},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let e=new Image;if(e.onload=()=>{if(this.img==="")return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let i=e.width,s=e.height;O.Exif.getData(e).then(h=>{this.orientation=h.orientation||1;let r=Number(this.maxImgSize);if(!this.orientation&&i<r&s<r){this.imgs=this.img;return}i>r&&(s=s/i*r,i=r),s>r&&(i=i/s*r,s=r),this.checkOrientationImage(e,this.orientation,i,s)}).catch(h=>{this.$emit("img-load","error"),this.$emit("img-load-error",h)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},this.img.substr(0,4)!=="data"&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var i=URL.createObjectURL(this.response);e.src=i},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),e.touches.length==2&&(this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var i={x:this.touches[0].clientX,y:this.touches[0].clientY},s={x:e.touches[0].clientX,y:e.touches[0].clientY},h={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:e.touches[1].clientX,y:e.touches[1].clientY},o=Math.sqrt(Math.pow(i.x-h.x,2)+Math.pow(i.y-h.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),n=l-o,p=1;p=p/this.trueWidth>p/this.trueHeight?p/this.trueHeight:p/this.trueWidth,p=p>.1?.1:p;var c=p*n;if(!this.touchNow){if(this.touchNow=!0,n>0?t+=Math.abs(c):n<0&&t>Math.abs(c)&&(t-=Math.abs(c)),this.touches=e.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&e.touches.length===2)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.moveX,h=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,h,this.scale),o=this.getCropAxis(),l=this.trueHeight*this.scale,n=this.trueWidth*this.scale,p,c,f,g;switch(this.rotate){case 1:case-1:case 3:case-3:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(l-n)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(n-l)/2,f=p-l+this.cropW,g=c-n+this.cropH;break;default:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,f=p-n+this.cropW,g=c-l+this.cropH;break}r.x1>=o.x1&&(s=p),r.y1>=o.y1&&(h=c),r.x2<=o.x2&&(s=f),r.y2<=o.y2&&(h=g)}this.x=s,this.y=h,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(e){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(e){e.preventDefault();let t=this.scale;var i=e.deltaY||e.wheelDelta,s=navigator.userAgent.indexOf("Firefox");i=s>0?i*30:i,this.isIE&&(i=-i);var h=this.coe;h=h/this.trueWidth>h/this.trueHeight?h/this.trueHeight:h/this.trueWidth;var r=h*i;r<0?t+=Math.abs(r):t>Math.abs(r)&&(t-=Math.abs(r));let o=r<0?"add":"reduce";if(o!==this.coeStatus&&(this.coeStatus=o,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var i=20;if(i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth,e=e*i,e>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick(()=>{var s=t-this.cropX,h=i-this.cropY;if(s>0?(this.cropW=s+this.cropChangeX>this.w?this.w-this.cropChangeX:s,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(s)>this.w?this.cropChangeX:Math.abs(s),this.cropOffsertX=this.cropChangeX+s>0?this.cropChangeX+s:0),!this.fixed)h>0?(this.cropH=h+this.cropChangeY>this.h?this.h-this.cropChangeY:h,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(h)>this.h?this.cropChangeY:Math.abs(h),this.cropOffsertY=this.cropChangeY+h>0?this.cropChangeY+h:0);else{var r=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];r+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],s>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=r,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(e,t,i,s,h){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=h,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("changeCropSize",{width:this.cropW,height:this.cropH}),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let s=this.w,h=this.h,r=0,o=0;if(this.centerBox){let p=this.getImgAxis(),c=p.x2,f=p.y2;r=p.x1>0?p.x1:0,o=p.y1>0?p.y1:0,s>c&&(s=c),h>f&&(h=f)}const[l,n]=this.checkCropLimitSize();this.$nextTick(()=>{var p=t-this.cropX,c=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-p<l?(this.cropW=l,this.cropOffsertX=this.cropOldW+this.cropChangeX-r-l):this.cropOldW-p>0?(this.cropW=s-this.cropChangeX-p<=s-r?this.cropOldW-p:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-p<=s-r?this.cropChangeX+p:r):(this.cropW=Math.abs(p)+this.cropChangeX<=s?Math.abs(p)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+p<l?this.cropW=l:this.cropOldW+p>0?(this.cropW=this.cropOldW+p+this.cropOffsertX<=s?this.cropOldW+p:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?Math.abs(p+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(p+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c<n?(this.cropH=n,this.cropOffsertY=this.cropOldH+this.cropChangeY-o-n):this.cropOldH-c>0?(this.cropH=h-this.cropChangeY-c<=h-o?this.cropOldH-c:this.cropOldH+this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY-c<=h-o?this.cropChangeY+c:o):(this.cropH=Math.abs(c)+this.cropChangeY<=h?Math.abs(c)-this.cropOldH:h-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c<n?this.cropH=n:this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=h?this.cropOldH+c:h-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?Math.abs(c+this.cropOldH):this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?this.cropChangeY-Math.abs(c+this.cropOldH):o))),this.canChangeX&&this.fixed){var f=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];f<n?(this.cropH=n,this.cropW=this.fixedNumber[0]*n/this.fixedNumber[1],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):f+this.cropOffsertY>h?(this.cropH=h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=f}if(this.canChangeY&&this.fixed){var g=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];g<l?(this.cropW=l,this.cropH=this.fixedNumber[1]*l/this.fixedNumber[0]):g+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=g}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})})},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:i}=this,s=new Array;return Array.isArray(i)?s=i:s=[i,i],e=parseFloat(s[0]),t=parseFloat(s[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(e,t,i,s,h,r){const o=e/t;let l=h,n=r;return l<i&&(l=i,n=Math.ceil(l/o)),n<s&&(n=s,l=Math.ceil(n*o),l<i&&(l=i,n=Math.ceil(l/o))),l<h&&(l=h,n=Math.ceil(l/o)),n<r&&(n=r,l=Math.ceil(n*o)),{width:l,height:n}},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1);let[e,t]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],e,t,this.cropW,this.cropH):{width:e,height:t};i>this.cropW&&(this.cropW=i,this.cropOffsertX+i>this.w&&(this.cropOffsertX=this.w-i)),s>this.cropH&&(this.cropH=s,this.cropOffsertY+s>this.h&&(this.cropOffsertY=this.h-s)),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&e.touches.length===2)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.cropOffsertX,h=i-this.cropOffsertY,this.cropX=s,this.cropY=h,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let i=0,s=0;e&&(e.preventDefault(),i="clientX"in e?e.clientX:e.touches[0].clientX,s="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick(()=>{let h,r,o=i-this.cropX,l=s-this.cropY;if(t&&(o=this.cropOffsertX,l=this.cropOffsertY),o<=0?h=0:o+this.cropW>this.w?h=this.w-this.cropW:h=o,l<=0?r=0:l+this.cropH>this.h?r=this.h-this.cropH:r=l,this.centerBox){let n=this.getImgAxis();h<=n.x1&&(h=n.x1),h+this.cropW>n.x2&&(h=n.x2-this.cropW),r<=n.y1&&(r=n.y1),r+this.cropH>n.y2&&(r=n.y2-this.cropH)}this.cropOffsertX=h,this.cropOffsertY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},h=this.trueWidth*i,r=this.trueHeight*i;switch(this.rotate){case 0:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=e+this.trueWidth*(1-i)/2+(h-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=t+this.trueHeight*(1-i)/2+(r-h)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break}return s},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(e){let t=document.createElement("canvas"),i=new Image,s=this.rotate,h=this.trueWidth,r=this.trueHeight,o=this.cropOffsertX,l=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let c=t.getContext("2d"),f=1;this.high&!this.full&&(f=window.devicePixelRatio),this.enlarge!==1&!this.full&&(f=Math.abs(Number(this.enlarge)));let g=this.cropW*f,C=this.cropH*f,m=h*this.scale*f,v=r*this.scale*f,d=(this.x-o+this.trueWidth*(1-this.scale)/2)*f,u=(this.y-l+this.trueHeight*(1-this.scale)/2)*f;switch(p(g,C),c.save(),this.fillColor&&(c.fillStyle=this.fillColor,c.fillRect(0,0,t.width,t.height)),s){case 0:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v);break;case 1:case-3:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v/this.scale,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v,m,v));break;case 2:case-2:this.full?(p(g/this.scale,C/this.scale),c.rotate(s*90*Math.PI/180),d=d/this.scale,u=u/this.scale,c.drawImage(i,-d-m/this.scale,-u-v/this.scale,m/this.scale,v/this.scale)):(c.rotate(s*90*Math.PI/180),c.drawImage(i,-d-m,-u-v,m,v));break;case 3:case-1:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m/this.scale,d,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m,d,m,v));break;default:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v)}c.restore()}else{let c=h*this.scale,f=r*this.scale,g=t.getContext("2d");switch(g.save(),this.fillColor&&(g.fillStyle=this.fillColor,g.fillRect(0,0,t.width,t.height)),s){case 0:p(c,f),g.drawImage(i,0,0,c,f);break;case 1:case-3:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,0,-f,c,f);break;case 2:case-2:p(c,f),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,-f,c,f);break;case 3:case-1:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,0,c,f);break;default:p(c,f),g.drawImage(i,0,0,c,f)}g.restore()}e(t)};var n=this.img.substr(0,4);n!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function p(c,f){t.width=Math.round(c),t.height=Math.round(f)}},getCropData(e){this.getCropChecked(t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(e){this.getCropChecked(t=>{t.toBlob(i=>e(i),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let e=this.cropW,t=this.cropH,i=this.scale;var s={};s.div={width:`${e}px`,height:`${t}px`};let h=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,o=0;s.w=e,s.h=t,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${h}px, ${r}px, ${o}px)rotateZ(${this.rotate*90}deg)`},s.html=`
|
|
2
2
|
<div class="show-preview" style="width: ${s.w}px; height: ${s.h}px; overflow: hidden">
|
|
3
3
|
<div style="width: ${e}px; height: ${t}px">
|
|
4
4
|
<img src=${s.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openBlock as O, createElementBlock as Y, withDirectives as T, createElementVNode as w, normalizeStyle as M, vShow as k, createCommentVNode as I, normalizeClass as R, toDisplayString as N, defineComponent as F, ref as S, onMounted as z, toRefs as D, reactive as U, resolveComponent as X, createVNode as v, withCtx as x, unref as b, createTextVNode as L } from "vue";
|
|
2
2
|
import { E as j } from "./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-Dmzfac6b.mjs";
|
|
3
|
-
import { _ as B, V, d as A,
|
|
3
|
+
import { _ as B, U as V, d as A, V as q } from "./index-blLxDXDS.mjs";
|
|
4
4
|
const G = {
|
|
5
5
|
data: function() {
|
|
6
6
|
return {
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-Xcfro54s.js"),I=require("./index-BfSec_ip.js"),w=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=(()=>{if(typeof document>"u")return!1;const n=w[0],r={};for(const t of w)if((t==null?void 0:t[1])in document){for(const[a,f]of t.entries())r[n[a]]=f;return r}return!1})(),C={change:i.fullscreenchange,error:i.fullscreenerror};let s={request(n=document.documentElement,r){return new Promise((t,d)=>{const a=()=>{s.off("change",a),t()};s.on("change",a);const f=n[i.requestFullscreen](r);f instanceof Promise&&f.then(a).catch(d)})},exit(){return new Promise((n,r)=>{if(!s.isFullscreen){n();return}const t=()=>{s.off("change",t),n()};s.on("change",t);const d=document[i.exitFullscreen]();d instanceof Promise&&d.then(t).catch(r)})},toggle(n,r){return s.isFullscreen?s.exit():s.request(n,r)},onchange(n){s.on("change",n)},onerror(n){s.on("error",n)},on(n,r){const t=C[n];t&&document.addEventListener(t,r,!1)},off(n,r){const t=C[n];t&&document.removeEventListener(t,r,!1)},raw:i};Object.defineProperties(s,{isFullscreen:{get:()=>!!document[i.fullscreenElement]},element:{enumerable:!0,get:()=>document[i.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[i.fullscreenEnabled]}});i||(s={isEnabled:!1});const h=s,O=n=>(e.pushScopeId("data-v-5bbc849b"),n=n(),e.popScopeId(),n),L=O(()=>e.createElementVNode("i",{class:"icon-skin iconfont",title:"布局配置"},null,-1)),D=[L],U=["title"],j={class:"layout-navbars-breadcrumb-user-link"},H=["src"],$=e.defineComponent({name:"layoutBreadcrumbUser"}),G=e.defineComponent({...$,setup(n){const r=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./userNews-C9DUGXCz.js"))),t=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./search-CbLjVBL2.js"))),d=I.useLoginController(),a=e.ref(),f=e.ref(),v=l.useRouter(),g=l.useUserInfo(),S=l.useThemeConfig(),{userInfos:_}=l.storeToRefs(g),{themeConfig:E}=l.storeToRefs(S),b=e.ref(),p=e.reactive({isScreenfull:!1,disabledSize:"large"}),k=e.computed(()=>{let o="";const{layout:c,isClassicSplitMenu:u}=E.value;return["defaults","columns"].includes(c)||c==="classic"&&!u?o="1":o="",o}),x=()=>{if(!h.isEnabled)return l.ElMessage.warning("暂不不支持全屏"),!1;h.toggle(),h.on("change",()=>{h.isFullscreen?p.isScreenfull=!0:p.isScreenfull=!1})},N=()=>{var o,c;(c=(o=e.unref(a).popperRef)==null?void 0:o.delayHide)==null||c.call(o)},F=()=>{l.mittBus.emit("openSetingsDrawer")},y=o=>{o==="logOut"?l.ElMessageBox({closeOnClickModal:!1,closeOnPressEscape:!1,title:"提示",message:"此操作将退出登录, 是否继续?",showCancelButton:!0,confirmButtonText:"确定",cancelButtonText:"取消",buttonSize:"default",beforeClose:(c,u,m)=>{c==="confirm"?(u.confirmButtonLoading=!0,u.confirmButtonText="退出中",d.postAjaxLogout().then(()=>{m()}).finally(()=>{u.confirmButtonLoading=!1})):m()}}).then(()=>{g.logout()}).catch(()=>{}):o==="wareHouse"?window.open("https://www.baidu.com"):v.push(o)},V=()=>{b.value.openSearch()},B=async(o,c)=>{p[c]=await l.systemStore.get("themeConfig").then(u=>l._.get(u,o,"large"))};return e.onMounted(async()=>{await l.systemStore.get("themeConfig")&&await B("globalComponentSize","disabledSize")}),(o,c)=>{const u=e.resolveComponent("ele-Search"),m=e.resolveComponent("el-icon"),q=e.resolveComponent("ele-Bell"),z=e.resolveComponent("el-badge"),R=e.resolveComponent("el-popover"),M=e.resolveComponent("ele-ArrowDown"),P=e.resolveComponent("el-dropdown-item"),T=e.resolveComponent("el-dropdown-menu"),A=e.resolveComponent("el-dropdown");return e.openBlock(),e.createElementBlock("div",{class:"layout-navbars-breadcrumb-user pr15",style:e.normalizeStyle({flex:k.value})},[e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:V},[e.createVNode(m,{title:"菜单搜索"},{default:e.withCtx(()=>[e.createVNode(u)]),_:1})]),e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:F},D),e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"layout-navbars-breadcrumb-user-icon",ref_key:"userNewsBadgeRef",ref:f},[e.createVNode(z,{"is-dot":!0},{default:e.withCtx(()=>[e.createVNode(m,{title:"消息"},{default:e.withCtx(()=>[e.createVNode(q)]),_:1})]),_:1})])),[[e.unref(l.ClickOutside),N]]),e.createVNode(R,{ref_key:"userNewsRef",ref:a,"virtual-ref":f.value,placement:"bottom",trigger:"click",transition:"el-zoom-in-top","virtual-triggering":"",width:300,persistent:!1},{default:e.withCtx(()=>[e.createVNode(e.unref(r))]),_:1},8,["virtual-ref"]),e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon mr10",onClick:x},[e.createElementVNode("i",{class:e.normalizeClass(["iconfont",p.isScreenfull?"icon-tuichuquanping":"icon-fullscreen"]),title:p.isScreenfull?"关全屏":"开全屏"},null,10,U)]),e.createVNode(A,{"show-timeout":70,"hide-timeout":50,onCommand:y},{dropdown:e.withCtx(()=>[e.createVNode(T,null,{default:e.withCtx(()=>[e.createVNode(P,{divided:"",command:"logOut"},{default:e.withCtx(()=>[e.createTextVNode("退出登录")]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",j,[e.createElementVNode("img",{src:e.unref(_).photo,class:"layout-navbars-breadcrumb-user-link-photo mr5"},null,8,H),e.createTextVNode(" "+e.toDisplayString(e.unref(_).name===""?"common":e.unref(_).name)+" ",1),e.createVNode(m,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(M)]),_:1})])]),_:1}),e.createVNode(e.unref(t),{ref_key:"searchRef",ref:b},null,512)],4)}}}),J=l._export_sfc(G,[["__scopeId","data-v-5bbc849b"]]);exports.default=J;
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as R, defineAsyncComponent as k, ref as S, reactive as Q, computed as W, onMounted as X, resolveComponent as a, openBlock as F, createElementBlock as E, normalizeStyle as Y, createElementVNode as g, createVNode as l, withCtx as u, withDirectives as Z, unref as p, normalizeClass as ee, createTextVNode as y, toDisplayString as ne, pushScopeId as te, popScopeId as oe } from "vue";
|
|
2
|
-
import { a as le, J as se, c as re, s as x,
|
|
3
|
-
import { u as de } from "./index-
|
|
2
|
+
import { a as le, J as se, c as re, s as x, U as B, $ as ce, d as ae, m as ue, E as ie, e as fe, _ as me } from "./index-blLxDXDS.mjs";
|
|
3
|
+
import { u as de } from "./index-D1t5mFJ2.mjs";
|
|
4
4
|
const z = [
|
|
5
5
|
[
|
|
6
6
|
"requestFullscreen",
|
|
@@ -129,7 +129,7 @@ const h = s, _e = (e) => (te("data-v-5bbc849b"), e = e(), oe(), e), pe = /* @__P
|
|
|
129
129
|
}), Ce = /* @__PURE__ */ R({
|
|
130
130
|
...Se,
|
|
131
131
|
setup(e) {
|
|
132
|
-
const o = k(() => import("./userNews-
|
|
132
|
+
const o = k(() => import("./userNews-CkNi6f4g.mjs")), n = k(() => import("./search-DX2QNCIU.mjs")), m = de(), f = S(), d = S(), M = le(), C = se(), q = re(), { userInfos: w } = x(C), { themeConfig: P } = x(q), v = S(), b = Q({
|
|
133
133
|
isScreenfull: !1,
|
|
134
134
|
disabledSize: "large"
|
|
135
135
|
}), I = W(() => {
|
|
@@ -168,22 +168,22 @@ const h = s, _e = (e) => (te("data-v-5bbc849b"), e = e(), oe(), e), pe = /* @__P
|
|
|
168
168
|
C.logout();
|
|
169
169
|
}).catch(() => {
|
|
170
170
|
}) : t === "wareHouse" ? window.open("https://www.baidu.com") : M.push(t);
|
|
171
|
-
},
|
|
171
|
+
}, U = () => {
|
|
172
172
|
v.value.openSearch();
|
|
173
|
-
},
|
|
173
|
+
}, D = async (t, r) => {
|
|
174
174
|
b[r] = await B.get("themeConfig").then((c) => fe.get(c, t, "large"));
|
|
175
175
|
};
|
|
176
176
|
return X(async () => {
|
|
177
|
-
await B.get("themeConfig") && await
|
|
177
|
+
await B.get("themeConfig") && await D("globalComponentSize", "disabledSize");
|
|
178
178
|
}), (t, r) => {
|
|
179
|
-
const c = a("ele-Search"), _ = a("el-icon"), V = a("ele-Bell"), H = a("el-badge"), j = a("el-popover"),
|
|
179
|
+
const c = a("ele-Search"), _ = a("el-icon"), V = a("ele-Bell"), H = a("el-badge"), j = a("el-popover"), $ = a("ele-ArrowDown"), J = a("el-dropdown-item"), G = a("el-dropdown-menu"), K = a("el-dropdown");
|
|
180
180
|
return F(), E("div", {
|
|
181
181
|
class: "layout-navbars-breadcrumb-user pr15",
|
|
182
182
|
style: Y({ flex: I.value })
|
|
183
183
|
}, [
|
|
184
184
|
g("div", {
|
|
185
185
|
class: "layout-navbars-breadcrumb-user-icon",
|
|
186
|
-
onClick:
|
|
186
|
+
onClick: U
|
|
187
187
|
}, [
|
|
188
188
|
l(_, { title: "菜单搜索" }, {
|
|
189
189
|
default: u(() => [
|
|
@@ -248,7 +248,7 @@ const h = s, _e = (e) => (te("data-v-5bbc849b"), e = e(), oe(), e), pe = /* @__P
|
|
|
248
248
|
dropdown: u(() => [
|
|
249
249
|
l(G, null, {
|
|
250
250
|
default: u(() => [
|
|
251
|
-
l(
|
|
251
|
+
l(J, {
|
|
252
252
|
divided: "",
|
|
253
253
|
command: "logOut"
|
|
254
254
|
}, {
|
|
@@ -270,7 +270,7 @@ const h = s, _e = (e) => (te("data-v-5bbc849b"), e = e(), oe(), e), pe = /* @__P
|
|
|
270
270
|
y(" " + ne(p(w).name === "" ? "common" : p(w).name) + " ", 1),
|
|
271
271
|
l(_, { class: "el-icon--right" }, {
|
|
272
272
|
default: u(() => [
|
|
273
|
-
l(
|
|
273
|
+
l($)
|
|
274
274
|
]),
|
|
275
275
|
_: 1
|
|
276
276
|
})
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-Xcfro54s.js"),d=o=>(e.pushScopeId("data-v-8abed4d4"),o=o(),e.popScopeId(),o),r={class:"layout-navbars-breadcrumb-user-news"},m={class:"head-box"},p=d(()=>e.createElementVNode("div",{class:"head-box-title"},"通知",-1)),_={class:"content-box"},u={class:"content-box-msg"},b={class:"content-box-time"},k=e.defineComponent({name:"layoutBreadcrumbUserNews"}),v=e.defineComponent({...k,setup(o){const t=e.reactive({newsList:[{label:"关于版本发布的通知",value:"华速消息",time:"2023-12-28"},{label:"关于学习交流的通知",value:"华速消息",time:"2023-12-28"}]}),c=()=>{t.newsList=[]},s=()=>{window.open("https://www.baidu.com")};return(w,y)=>{const l=e.resolveComponent("el-empty");return e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("div",m,[p,t.newsList.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"head-box-btn",onClick:c},"全部已读")):e.createCommentVNode("",!0)]),e.createElementVNode("div",_,[t.newsList.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.newsList,(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:"content-box-item",key:a},[e.createElementVNode("div",null,e.toDisplayString(n.label),1),e.createElementVNode("div",u,e.toDisplayString(n.value),1),e.createElementVNode("div",b,e.toDisplayString(n.time),1)]))),128)):(e.openBlock(),e.createBlock(l,{key:1,description:"暂无通知"}))]),t.newsList.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"foot-box",onClick:s},"前往通知中心")):e.createCommentVNode("",!0)])}}}),h=i._export_sfc(v,[["__scopeId","data-v-8abed4d4"]]);exports.default=h;
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, reactive as p, resolveComponent as u, openBlock as e, createElementBlock as s, createElementVNode as t, createCommentVNode as i, Fragment as b, renderList as h, toDisplayString as a, createBlock as v, pushScopeId as w, popScopeId as k } from "vue";
|
|
2
|
-
import { _ as x } from "./index-
|
|
2
|
+
import { _ as x } from "./index-blLxDXDS.mjs";
|
|
3
3
|
const y = (n) => (w("data-v-8abed4d4"), n = n(), k(), n), f = { class: "layout-navbars-breadcrumb-user-news" }, C = { class: "head-box" }, L = /* @__PURE__ */ y(() => /* @__PURE__ */ t("div", { class: "head-box-title" }, "通知", -1)), g = { class: "content-box" }, B = { class: "content-box-msg" }, I = { class: "content-box-time" }, N = l({
|
|
4
4
|
name: "layoutBreadcrumbUserNews"
|
|
5
5
|
}), S = /* @__PURE__ */ l({
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./userSelect.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./userSelect.vue_vue_type_script_setup_true_lang-Cc9WG4Ej.js");exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),f=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),f=require("./index-Xcfro54s.js"),h=(o,n)=>Object.assign(o,{other_log_info:{title:n}}),v=(o={})=>(o=h(o,"获取全部用户列表"),f.request({url:"/scmp-web/pri/user/list_all",method:"get",params:o}));function V(){return{getListAll:v}}const b={class:"h-full flex flex-col"},x={class:"flex justify-between items-center"},w=e.createElementVNode("span",null,"* 双击选择",-1),y={class:"flex-1"},N={class:"flex justify-center items-center py-[5px]"},C=e.defineComponent({__name:"userSelect",emits:["refresh","success"],setup(o,{emit:n}){const{getListAll:u}=V(),d=n,l=e.ref([]),c=async()=>{let a={qry_like_info:s.value};const t=await u(a);console.log(t),t.code===1&&(l.value=t.data)};e.onMounted(()=>{c()});const s=e.ref("");return(a,t)=>{const _=e.resolveComponent("hs-input"),r=e.resolveComponent("el-table-column"),m=e.resolveComponent("el-table"),p=e.resolveComponent("hs-button");return e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("div",x,[e.createVNode(_,{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=i=>s.value=i),placeholder:"请输入姓名,回车检索",clearable:"",class:"max-w-56",onKeydown:e.withKeys(c,["enter"])},null,8,["modelValue"]),w]),e.createElementVNode("div",y,[e.createVNode(m,{data:l.value,style:{width:"100%",height:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{prop:"name",label:"name"}),e.createVNode(r,{prop:"account",label:"account",width:"180"})]),_:1},8,["data"])]),e.createElementVNode("div",N,[e.createVNode(p,{size:"default",type:"default",class:"ml10",onClick:t[1]||(t[1]=i=>d("success","close"))},{default:e.withCtx(()=>[e.createTextVNode(" 取消 ")]),_:1})])])}}});exports._sfc_main=C;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as d, onMounted as w, resolveComponent as s, openBlock as y, createElementBlock as g, createElementVNode as l, createVNode as o, withKeys as V, withCtx as m, createTextVNode as k } from "vue";
|
|
2
|
-
import { w as C } from "./index-
|
|
2
|
+
import { w as C } from "./index-blLxDXDS.mjs";
|
|
3
3
|
const j = (t, n) => Object.assign(t, { other_log_info: { title: n } }), q = (t = {}) => (t = j(t, "获取全部用户列表"), C({
|
|
4
4
|
url: "/scmp-web/pri/user/list_all",
|
|
5
5
|
method: "get",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-Xcfro54s.js"),y=e.defineComponent({name:"navMenuVertical"}),x=e.defineComponent({...y,props:{menuList:{type:Array,default:()=>[]}},setup(m){const p=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./subItem-PvgtpvTm.js"))),d=m,h=l.useThemeConfig(),{themeConfig:r}=l.storeToRefs(h),c=l.useRoute(),i=e.reactive({defaultActive:c.meta.isDynamic?c.meta.isDynamicPath:c.path,isCollapse:!1}),f=e.computed(()=>d.menuList),C=e.computed(()=>r.value),u=o=>{const{path:s,meta:n}=o,a=n!=null&&n.isDynamic?n.isDynamicPath.split("/"):s.split("/");return a.length>=4&&(n!=null&&n.isHide)?a.splice(0,3).join("/"):s},_=o=>{l.other.handleOpenLink(o)};return e.onMounted(()=>{i.defaultActive=u(c)}),l.onBeforeRouteUpdate(o=>{i.defaultActive=u(o),document.body.clientWidth<1e3&&(r.value.isCollapse=!1)}),e.watch(()=>r.value.isCollapse,o=>{document.body.clientWidth<=1e3?i.isCollapse=!1:i.isCollapse=o},{immediate:!0}),(o,s)=>{const n=e.resolveComponent("SvgIcon"),a=e.resolveComponent("el-sub-menu"),k=e.resolveComponent("el-menu-item"),g=e.resolveComponent("el-menu");return e.openBlock(),e.createBlock(g,{router:"","default-active":i.defaultActive,"background-color":"transparent",collapse:i.isCollapse,"unique-opened":C.value.isUniqueOpened,"collapse-transition":!1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,t=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.children&&t.children.length>0?(e.openBlock(),e.createBlock(a,{index:t.path,key:t.path},{title:e.withCtx(()=>[e.createVNode(n,{name:t.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(t.meta.title),1)]),default:e.withCtx(()=>[e.createVNode(e.unref(p),{chil:t.children},null,8,["chil"])]),_:2},1032,["index"])):(e.openBlock(),e.createBlock(k,{index:t.path,key:t.path},e.createSlots({default:e.withCtx(()=>[e.createVNode(n,{name:t.meta.icon},null,8,["name"])]),_:2},[!t.meta.isLink||t.meta.isLink&&t.meta.isIframe?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(t.meta.title),1)]),key:"0"}:{name:"title",fn:e.withCtx(()=>[e.createElementVNode("a",{class:"w100",onClick:e.withModifiers(B=>_(t),["prevent"])},e.toDisplayString(t.meta.title),9,["onClick"])]),key:"1"}]),1032,["index"]))],64))),256))]),_:1},8,["default-active","collapse","unique-opened"])}}});exports.default=x;
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as g, defineAsyncComponent as I, reactive as T, computed as _, onMounted as W, watch as q, resolveComponent as u, openBlock as s, createBlock as m, withCtx as o, createElementBlock as C, Fragment as k, renderList as v, createVNode as p, createElementVNode as d, toDisplayString as f, unref as M, createSlots as P, withModifiers as R } from "vue";
|
|
2
|
-
import { c as V, s as E, u as H,
|
|
2
|
+
import { c as V, s as E, u as H, Y as N, X as O } from "./index-blLxDXDS.mjs";
|
|
3
3
|
const U = g({
|
|
4
4
|
name: "navMenuVertical"
|
|
5
|
-
}),
|
|
5
|
+
}), Y = /* @__PURE__ */ g({
|
|
6
6
|
...U,
|
|
7
7
|
props: {
|
|
8
8
|
// 菜单列表
|
|
@@ -12,7 +12,7 @@ const U = g({
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
setup(y) {
|
|
15
|
-
const L = I(() => import("./subItem-
|
|
15
|
+
const L = I(() => import("./subItem-BVqcjpJX.mjs")), x = y, A = V(), { themeConfig: r } = E(A), l = H(), i = T({
|
|
16
16
|
defaultActive: l.meta.isDynamic ? l.meta.isDynamicPath : l.path,
|
|
17
17
|
isCollapse: !1
|
|
18
18
|
}), b = _(() => x.menuList), S = _(() => r.value), h = (n) => {
|
|
@@ -97,5 +97,5 @@ const U = g({
|
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
99
|
export {
|
|
100
|
-
|
|
100
|
+
Y as default
|
|
101
101
|
};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hs-admin-ui",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.7",
|
|
4
4
|
"description": "vue3 + typescript5 + vite5 的框架",
|
|
5
5
|
"author": "wgd",
|
|
6
6
|
"private": false,
|
|
@@ -30,9 +30,8 @@
|
|
|
30
30
|
"lint-fix": "eslint --fix --ext .js --ext .jsx --ext .vue src/"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@tencentcloud/call-uikit-vue": "latest",
|
|
34
33
|
"@element-plus/icons-vue": "^2.3.1",
|
|
35
|
-
"@
|
|
34
|
+
"@tencentcloud/call-uikit-vue": "latest",
|
|
36
35
|
"async-validator": "4.2.5",
|
|
37
36
|
"axios": "^1.6.8",
|
|
38
37
|
"browser-tool": "^1.2.2",
|
|
@@ -44,6 +43,8 @@
|
|
|
44
43
|
"localforage": "^1.10.0",
|
|
45
44
|
"lodash": "^4.17.21",
|
|
46
45
|
"mitt": "^3.0.1",
|
|
46
|
+
"mqtt": "^5.5.0",
|
|
47
|
+
"mqtt-packet": "^9.0.0",
|
|
47
48
|
"nprogress": "^0.2.0",
|
|
48
49
|
"pinia": "^2.1.7",
|
|
49
50
|
"qrcodejs2-fixes": "^0.0.2",
|
package/dist/401-BbeQXSvh.js.gz
DELETED
|
Binary file
|
package/dist/401-CEL2hTOk.mjs.gz
DELETED
|
Binary file
|
package/dist/404-AnSHw2Kw.mjs.gz
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|